/* The build derives the stylesheet version from the live site. */

@font-face {
    font-family: "UnifrakturCook";
    src: url("https://cindercube.net/resource/fonts/UnifrakturCook-Bold.ttf") format("truetype");
    font-style: normal;
    font-weight: bold;
    font-display: swap;
}

@font-face {
    font-family: "IM Fell English";
    src: url("https://cindercube.net/resource/fonts/IMFellEnglish-Regular.ttf") format("truetype");
    font-style: normal;
    font-weight: normal;
    font-display: swap;
}

@font-face {
    font-family: "EB Garamond";
    src: url("https://cindercube.net/resource/fonts/EBGaramond-VariableFont_wght.ttf") format(truetype) tech(variations),
    url("https://cindercube.net/resource/fonts/EBGaramond-VariableFont_wght.ttf") format("truetype");
    font-style: normal;
    font-weight: 400 800;
    font-display: swap;
}

@font-face {
    font-family: "inter";
    src: url("https://cindercube.net/resource/fonts/Inter-VariableFont_slnt%2Cwght.ttf") format(truetype) tech(variations),
    url("https://cindercube.net/resource/fonts/Inter-VariableFont_slnt%2Cwght.ttf") format("truetype");
    font-style: normal;
    font-weight: 100 900;
    font-display: swap;
}

@font-face {
    font-family: "Open Sans";
    src: url("https://cindercube.net/resource/fonts/OpenSans-VariableFont_wdth%2Cwght.ttf") format(truetype) tech(variations),
    url("https://cindercube.net/resource/fonts/OpenSans-VariableFont_wdth%2Cwght.ttf") format("truetype");
    font-style: normal;
    font-weight: 300 800;
    font-display: swap;
}

@font-face {
    font-family: "Homemade Apple";
    src: url("https://cindercube.net/resource/fonts/HomemadeApple-Regular.ttf") format("truetype");
    font-style: normal;
    font-weight: normal;
    font-display: swap;
}

@font-face {
    font-family: "Press Start 2P";
    src: url("https://cindercube.net/resource/fonts/PressStart2P-Regular.ttf") format("truetype");
    font-style: normal;
    font-weight: normal;
    font-display: swap;
}

@font-face {
    font-family: "Cutive Mono";
    src: url("https://cindercube.net/resource/fonts/CutiveMono-Regular.ttf") format("truetype");
    font-style: normal;
    font-weight: normal;
    font-display: swap;
}

@font-face {
    font-family: "Clarity City";
    src: url("https://cindercube.net/resource/fonts/ClarityCity-VariableFont_wght.ttf") format("truetype") tech(variations),
    url("https://cindercube.net/resource/fonts/ClarityCity-VariableFont_wght.ttf") format("truetype");
    font-style: normal;
    font-weight: 100 900;
    font-display: swap;
}

@font-face {
    font-family: "Gideon Roman";
    src: url("https://cindercube.net/resource/fonts/GideonRoman-Regular.ttf") format("truetype");
    font-style: normal;
    font-weight: normal;
    font-display: swap;
}

body {
    background-color: #ffe2bf;
    background-image: linear-gradient(135deg, #fff3df 0%, #ffe2bf 70%, #d9823b 100%);
    background-attachment: fixed;
    color: #24170f;
    font-family: "IM Fell English", monospace;
    font-weight: 400;
}

.homepage-intro .center {
    position: relative;
    z-index: 1;
}

.homepage-intro.page-leaving .center {
    opacity: 0;
    transition: opacity 0.2s ease;
}

.page-intro {
    position: fixed;
    z-index: 2;
    inset: 0;
    pointer-events: none;
    background: #000;
}

html.internal-navigation .page-intro {
    background: transparent;
}

.homepage-intro.bar-complete .page-intro {
    animation: intro-screen 0.1s ease-out both;
}

.page-intro-line {
    position: absolute;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 6px;
    background: #ff8a1f;
    box-shadow: 0 0 8px #ff8a1f, 0 0 28px #ff8a1f, 0 0 64px #ff8a1f;
    transform-origin: center center;
    transform: scaleX(0.08);
    animation: intro-line-progress 12s cubic-bezier(0.22, 1, 0.36, 1) forwards;
    transition: transform 0.2s cubic-bezier(0.22, 1, 0.36, 1);
}

.homepage-intro.page-loaded .page-intro-line {
    animation: none;
}

@keyframes intro-line-progress {
    0% {
        transform: scaleX(0.08);
    }

    100% {
        transform: scaleX(0.85);
    }
}

@keyframes intro-screen {
    0% {
        opacity: 1;
    }

    100% {
        opacity: 0;
        visibility: hidden;
    }
}

@media (prefers-reduced-motion: reduce) {

    .homepage-intro,
    .homepage-intro .center,
    .homepage-intro .page-intro,
    .homepage-intro .page-intro-line {
        animation: none;
    }

    .homepage-intro .page-intro {
        display: none;
    }
}

.center {
    margin: auto;
    width: calc(100% - 40px);
    max-width: 1360px;
}

.logo {
    box-shadow: 0 0 12px 0 #00000088;
    width: 150px;
    height: 150px;
    background-color: #00000033;
    background-image: linear-gradient(to top, orange, black);
    background-repeat: no-repeat;
    transition: background-position 0.3s ease, color 0.3s ease, border 0.3s ease;
    color: black;
}

.logo:hover {
    background-position-y: 150px;
}

.logo:active {
    background-color: #00000088;
}


.landing-title {
    font-family: "inter", sans-serif;
    font-size: 96px;
    text-align: start;
    margin: 0;
    padding: 0;
}

.no-link-deco>a {
    color: black;
    text-decoration: none;
    /* no underline */
}

.landing-subtitle {
    font-family: "inter", sans-serif;
    margin: 0;
    padding: 0;
    text-align: start;
}

.landing-title-box {
    box-shadow: 0 0 12px 0 #00000088;
    height: 150px;
    padding-left: 20px;
    width: 100%;
    box-sizing: border-box;
    background-color: #00000033;
    background-image: linear-gradient(to top, orange, black);
    background-repeat: no-repeat;
    transition: background-position 0.3s ease, color 0.3s ease;
    color: white;
}

.landing-title-box:hover {
    background-position-y: 150px;
    color: black;
}

.landing-title-box:active {
    background-color: #00000088;
}

.header-container {
    display: grid;
    grid-template-columns: 150px minmax(0, 1fr);
    gap: 20px;
}

.divider-container {
    height: 100px;
    border: 1px solid black;
    box-shadow: 0 0 12px 0 #00000088;
    box-sizing: border-box;
    margin-top: 20px;
    align-items: center;
    display: flex;
    background-color: black;
}

.divider-title {
    font-family: "inter", sans-serif;
    font-size: 60px;
    margin-left: 20px;
    color: white;
}

.page-title {
    position: relative;
    min-height: 132px;
    margin-top: 20px;
    padding: 18px 28px;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: space-between;
    overflow: hidden;
    border: 0;
    border-radius: 0;
    background: linear-gradient(90deg, #000 0%, #090704 62%, #5a2505 86%, orange 100%);
    box-shadow: 0 0 12px #00000088;
}

.page-title::after {
    content: "";
    position: absolute;
    inset: 0 0 0 58%;
    background: linear-gradient(90deg, #00000000 0%, #ffa50033 62%, #ffa50099 100%);
    pointer-events: none;
}

.page-title-copy {
    position: relative;
    z-index: 1;
}

.page-title h1 {
    margin: 0;
    color: white;
    font-family: "inter", sans-serif;
    font-size: 60px;
    line-height: 0.95;
}

.page-title-icon {
    position: relative;
    z-index: 1;
    width: 104px;
    height: 104px;
    object-fit: cover;
    border-radius: 18px;
    box-shadow: 0 12px 28px #00000099;
}

.body-container {
    margin-top: 20px;
    display: flex;
    gap: 20px;
}

.body-header-4 {
    font-family: "inter", sans-serif;
    text-align: start;
}

.category-box-3 {
    border: 1px solid #00000033;
    box-sizing: border-box;
    width: min(100%, 388px);
    height: 388px;
    text-align: left;
    padding: 20px;
    background-image: linear-gradient(to top, black, black);
    background-position-y: 388px;
    background-repeat: no-repeat;
    transition: background-position 0.3s ease, color 0.3s ease;
}

.category-box-3-alt {
    border: 1px solid #00000033;
    /*background-color: #00000033;*/
    box-sizing: border-box;
    padding-left: 20px;
    padding-right: 20px;
    width: min(100%, 388px);
}

.category-box-3-alt>p,
.category-box-3-alt>li,
.category-box-3-alt>div>p,
.category-box-3-alt>div>li {
    font-size: 10pt;
}

.body-image-1 {
    height: 184px;
    width: 184px;
    display: block;
    object-fit: cover;
}

.body-text-1 {
    margin-top: 5px;
    text-decoration: none;
    font-weight: bold;
    text-align: center;
}

.body-container-vert {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 32px 30px;
    align-content: baseline;
}

.glass-btn-container {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.btn-socket {
    width: 184px;
    height: 188px;
    border-radius: 10%;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding-bottom: 2px;
    box-sizing: border-box;
    background: #00000012;
    box-shadow: inset 0 -3px 6px #00000026, inset 0 2px 4px #ffffff33;
    border: 1px solid #0000001a;
    overflow: visible;
}

.glass-img-btn {
    position: relative;
    display: block;
    width: 184px;
    height: 184px;
    border-radius: 10%;
    overflow: hidden;
    padding: 0;
    box-sizing: border-box;
    border: 1.5px solid #ffffff59;
    cursor: pointer;
    background: #ffffff00;
    box-shadow: 0 2px 6px #00000026;
    transition: transform 0.08s cubic-bezier(0.2, 0, 0, 1),
        box-shadow 0.08s cubic-bezier(0.2, 0, 0, 1),
        border-color 0.3s ease,
        background-color 0.2s ease;
}

.glass-img-btn img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    image-rendering: -webkit-optimize-contrast;
    transition: filter 0.15s ease;
}

.glass-img-btn::before,
.glass-img-btn::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 10%;
    pointer-events: none;
}

.glass-img-btn::before {
    z-index: 2;
    background: linear-gradient(to bottom, #ffffff80 0%, #ffffff33 20%, #ffffff00 45%);
    box-shadow: inset 0 4px 6px #ffffff99;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.glass-img-btn::after {
    z-index: 1;
    background: radial-gradient(circle 60px at var(--mouse-x, 10%) var(--mouse-y, 10%),
            #ffffff8c 0%, #ffffff1f 50%, #00000000 100%);
    box-shadow: inset 0 -2px 6px #00000026;
    opacity: 0.65;
    transition: opacity 0.3s ease;
}

.glass-img-btn:hover {
    border-color: #ffffff8c;
    background-color: #ffffff1f;
}

.glass-img-btn:hover img {
    filter: brightness(1.05);
}

.glass-img-btn:hover::before,
.glass-img-btn:hover::after {
    opacity: 1;
}

.glass-img-btn:active {
    transform: translateY(-4px);
    box-shadow: 0 0 0 #00000000;
    border-color: #ffffff33;
    background-color: #0000001f;
}

.glass-img-btn:active::before {
    opacity: 0.5;
}

.glass-img-btn:active img {
    filter: brightness(0.9);
}

.glass-img-btn:focus-visible {
    outline: 3px solid #ff8a1f;
    outline-offset: 4px;
}

h3 {
    font-family: "inter", sans-serif;
}

.btn-label {
    color: inherit;
    font-family: inherit;
    font-size: 2em;
    font-family: "UnifrakturCook", sans-serif;
    /* text-transform: lowercase; */
    letter-spacing: normal;
}

.list-container {
    border: 1px solid #00000033;
    padding: 20px;
    margin-top: 20px;
}

.post-archive-filters {
    display: flex;
    align-items: end;
    gap: 12px;
    margin-bottom: 12px;
}

.post-archive-filter {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    gap: 2px;
    color: #6b5848;
    font-family: "EB Garamond", serif;
    font-size: 0.95rem;
}

.post-archive-search {
    min-width: 0;
}

.post-archive-filter-menu {
    position: relative;
    flex: 0 0 auto;
    color: #6b5848;
    font-family: "EB Garamond", serif;
    font-size: 0.95rem;
}

.post-archive-filter-menu summary {
    padding: 4px 0;
    color: #6b5848;
    cursor: pointer;
    list-style-position: inside;
    white-space: nowrap;
}

.post-archive-filter-panel {
    position: absolute;
    z-index: 1;
    top: 100%;
    right: 0;
    width: min(360px, calc(100vw - 48px));
    box-sizing: border-box;
    padding: 14px;
    background: #fff3df;
    box-shadow: 0 4px 14px #24170f26;
}

.post-archive-tag-filter {
    margin: 0;
    padding: 0;
    border: 0;
}

.post-archive-filter-dates {
    display: flex;
    gap: 16px;
    margin-top: 12px;
}

.post-archive-filter-dates .post-archive-filter {
    min-width: 0;
}

.post-archive-tag-options {
    display: flex;
    flex-wrap: wrap;
    gap: 4px 12px;
}

.post-archive-tag-options label {
    display: inline-flex;
    flex-direction: row;
    align-items: center;
    gap: 4px;
    color: #6b5848;
    cursor: pointer;
}

.post-archive-tag-options input[type="checkbox"] {
    width: auto;
    min-height: 0;
    margin: 0;
    accent-color: #a8794f;
}

.post-archive-filter-hint {
    color: #867463;
    font-size: 0.85rem;
}

.post-archive-filter input:not([type="checkbox"]),
.post-archive-filter select {
    box-sizing: border-box;
    width: 100%;
    min-height: 34px;
    padding: 4px 0;
    border: 0;
    border-bottom: 1px solid #24170f33;
    border-radius: 0;
    background: transparent;
    color: #4b3b2e;
    font: inherit;
}

.post-archive-filter input:focus-visible,
.post-archive-filter select:focus-visible {
    outline: 2px solid #a8794f;
    outline-offset: 1px;
}

.post-archive-results {
    margin: 0 0 16px;
    color: #6b5848;
    font-family: "EB Garamond", serif;
    font-size: 0.95rem;
}

.contact-container {
    width: 100%;
    box-sizing: border-box;
    border-color: #00000066;
    background: #fff0dc;
    text-align: center;
}

.contact-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    max-width: 760px;
    margin: 20px auto 32px;
    padding: 0;
    list-style: none;
}

.contact-links a {
    display: inline-flex;
    width: auto;
    height: auto;
    min-height: 38px;
    align-items: center;
    justify-content: center;
    gap: 4px;
    padding: 4px 8px;
    border-radius: 10px;
    box-sizing: border-box;
    background: linear-gradient(145deg, #ffffffa8, #ffffff30 48%, #ffffff12);
    box-shadow: inset 0 2px 4px #ffffffa6, inset 0 -2px 5px #0000001c,
        0 3px 8px #00000026;
    color: #4a2d19;
    font-family: "Inter", sans-serif;
    font-size: 0.8rem;
    font-weight: 650;
    line-height: 1.25;
    text-align: center;
    text-decoration: none;
}

.contact-links a > * {
    position: relative;
    z-index: 3;
}

.contact-links a:hover,
.contact-links a:focus-visible {
    transform: translateY(-2px);
    border-color: #ffb45a;
    background: linear-gradient(145deg, #ffca7caa, #ff8a1f66 48%, #ff8a1f33);
    box-shadow: inset 0 0 12px #ff8a1f, inset 0 2px 5px #ffffffc2,
        inset 0 -2px 5px #0000001c;
}

.contact-links img {
    display: block;
    width: 20px;
    height: 20px;
    flex: 0 0 20px;
    object-fit: contain;
}

.games-container {
    border-color: #00000066;
    background: #fff0dc;
}

.games-list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.games-slide + .games-slide {
    margin-top: 16px;
}

.game-slide-card {
    display: flex;
    flex-direction: row;
    gap: 18px;
    width: min(100%, 700px);
    max-width: 100%;
    margin-inline: auto;
    padding: 12px;
    border: 0;
    border-radius: 16px;
    box-sizing: border-box;
    background: linear-gradient(145deg, #fff8eb, #e6c99f);
    box-shadow: 0 12px 22px #00000033;
    color: #24170f;
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.game-slide-card:hover,
.game-slide-card:focus-visible {
    transform: translateY(-4px);
    box-shadow: 0 18px 26px #00000044;
}

.game-slide-card:focus-visible {
    outline: 3px solid #8a3f14;
    outline-offset: 5px;
}

.games-list img {
    display: block;
    flex: 0 0 315px;
    width: 315px;
    height: 250px;
    object-fit: cover;
    border-radius: 10px;
    box-sizing: border-box;
}

.game-slide-caption {
    display: flex;
    min-width: 0;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 10px;
    padding: 6px 4px;
}

.game-slide-title {
    font-family: "EB Garamond", serif;
    font-size: clamp(1.5rem, 4vw, 2.2rem);
    font-weight: 700;
    line-height: 1.1;
}

.game-slide-action {
    color: #7b2e12;
    font-family: "Inter", sans-serif;
    font-size: 0.9rem;
    font-weight: 700;
    white-space: nowrap;
}

.game-slide-description {
    font-family: "Inter", sans-serif;
    font-size: 0.95rem;
    line-height: 1.45;
}

.game-description {
    margin: 0 0 18px;
}

.games-carousel-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    width: min(100%, 720px);
    margin: 22px auto 0;
}

.games-carousel-controls[hidden] {
    display: none;
}

.games-carousel-arrow.glass-text-btn {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    flex: 0 0 auto;
    padding: 9px 13px;
    border: 1.5px solid #ffffff80;
    border-radius: 10px;
    background: linear-gradient(145deg, #ffffffa8, #ffffff30 48%, #ffffff12);
    box-shadow: inset 0 2px 4px #ffffffa6, inset 0 -2px 5px #0000001c,
        0 3px 8px #00000026;
    backdrop-filter: blur(8px);
    color: #24170f;
    font: inherit;
    font-weight: bold;
    cursor: pointer;
    transition: transform 0.12s ease, box-shadow 0.12s ease,
        background-color 0.2s ease, border-color 0.2s ease;
}

.games-carousel-toggle {
    flex: 0 0 76px;
    width: 76px;
    height: 40px;
    box-sizing: border-box;
    text-align: center;
    white-space: nowrap;
}

.games-carousel-arrow.glass-text-btn:hover {
    border-color: #ffffffc2;
    background-color: #ffffff40;
    box-shadow: inset 0 2px 5px #ffffffc2, inset 0 -2px 5px #0000001c,
        0 5px 12px #00000030;
}

.games-carousel-arrow.glass-text-btn:active {
    transform: translateY(2px) scale(0.98);
    box-shadow: inset 0 2px 6px #00000026, 0 1px 3px #00000020;
}

.games-carousel-arrow.glass-text-btn:focus-visible {
    outline: 3px solid #ff8a1f;
    outline-offset: 3px;
}

.games-carousel-arrow:focus-visible,
.games-carousel-thumbnails button:focus-visible {
    outline: 3px solid #8a3f14;
    outline-offset: 3px;
}

.games-carousel-thumbnails {
    display: flex;
    flex: 1 1 auto;
    justify-content: center;
    gap: 8px;
    min-width: 0;
    overflow-x: auto;
    padding: 5px;
}

.games-carousel-thumbnails button {
    flex: 0 0 76px;
    width: 76px;
    height: auto;
    padding: 0;
    border: 2px solid #5a3a1a;
    border-radius: 2px;
    box-sizing: border-box;
    background: #fff8eb;
    cursor: pointer;
    box-shadow: 0 2px 0 #3f2810;
}

.games-carousel-thumbnails img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 315 / 250;
    object-fit: cover;
}

.more-games {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #5a3a1a66;
}

.more-games h2 {
    margin: 0 0 14px;
    color: #3f2810;
    font-family: "EB Garamond", serif;
    font-size: 1.7rem;
}

.more-games-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 150px), 1fr));
    gap: 14px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.more-games-list a {
    display: flex;
    height: 100%;
    flex-direction: column;
    gap: 7px;
    padding: 7px;
    border: 0;
    border-radius: 12px;
    box-sizing: border-box;
    background: linear-gradient(145deg, #fff8eb, #e6c99f);
    box-shadow: 0 8px 18px #00000026;
    color: #24170f;
    text-decoration: none;
}

.more-games-list a:hover,
.more-games-list a:focus-visible {
    transform: translateY(-2px);
    box-shadow: 0 12px 22px #00000033;
}

.more-games-list a:focus-visible {
    outline: 3px solid #8a3f14;
    outline-offset: 3px;
}

.more-games-list img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 315 / 250;
    object-fit: cover;
    border-radius: 7px;
}

.more-games-list span {
    font-family: "EB Garamond", serif;
    font-size: 1.1rem;
    font-weight: 700;
    line-height: 1.15;
}

.games-carousel-thumbnails button:hover {
    transform: translateY(-2px);
}

.games-carousel-thumbnails button[aria-current="true"] {
    border-color: #a9491c;
    box-shadow: 0 0 0 2px #a9491c66, 0 3px 0 #3f2810;
}

.games-carousel.is-enhanced .games-list {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
}

.games-carousel.is-enhanced .games-slide {
    grid-area: 1 / 1;
    min-width: 0;
    opacity: 0;
    visibility: hidden;
    transform: translateX(18px) scale(0.98);
    transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s;
}

.games-carousel.is-enhanced .games-slide + .games-slide {
    margin-top: 0;
}

.games-carousel.is-enhanced .games-slide.is-active {
    position: relative;
    z-index: 1;
    opacity: 1;
    visibility: visible;
    transform: translateX(0) scale(1);
}

.game-page-art {
    width: min(100%, 420px);
    max-width: 100%;
    height: auto;
    margin: 0 auto 18px;
    border: 3px solid #5a3a1a;
    box-sizing: border-box;
    background: linear-gradient(145deg, #fff8eb, #e6c99f);
    box-shadow: 0 5px 0 #3f2810, 0 12px 22px #00000033;
}

.game-embed {
    min-width: 0;
    background: #ffffff;
}

.game-embed h2 {
    margin: 0 0 10px;
    font-family: "inter", sans-serif;
    font-size: 1.15rem;
}

.game-embed iframe {
    display: block;
    width: 100%;
    height: 167px;
    border: 0;
}

.game-embed iframe.game-player {
    height: auto;
    aspect-ratio: 1160 / 820;
}

@media (max-width: 700px) {
    .games-carousel-controls {
        gap: 6px;
    }

    .games-carousel-arrow {
        padding: 8px;
        font-size: 0.9rem;
    }

    .games-carousel-thumbnails {
        justify-content: flex-start;
        gap: 6px;
    }

    .games-carousel-thumbnails button {
        flex-basis: 64px;
        width: 64px;
    }

    .page-title {
        min-height: 112px;
        padding: 16px 18px;
    }

    .page-title h1 {
        font-size: 40px;
    }

    .page-title-icon {
        width: 76px;
        height: 76px;
    }
}

@media (max-width: 600px) {
    .game-slide-card {
        flex-direction: column;
        gap: 0;
        width: min(100%, 341px);
    }

    .games-list img {
        flex-basis: auto;
        width: 100%;
        max-width: 100%;
        height: auto;
        aspect-ratio: 315 / 250;
    }

    .game-slide-caption {
        align-self: stretch;
        padding: 14px 6px 4px;
    }
}

.contact-form-wrapper {
    width: 100%;
    box-sizing: border-box;
    max-width: 680px;
    margin: 0 auto;
    text-align: left;
}

.contact-form {
    display: grid;
    gap: 16px;
    font-family: "IM Fell English", serif;
}

.contact-form-field {
    display: grid;
    gap: 6px;
    font-family: inherit;
}

.contact-form-field label {
    color: #4a2d19;
    font-family: inherit;
    font-size: 1rem;
    font-weight: 400;
}

.contact-form-field label span {
    color: #755e4b;
    font-weight: 400;
}

.contact-form-field input,
.contact-form-field textarea {
    width: 100%;
    box-sizing: border-box;
    padding: 10px 12px;
    border: 1px solid #b78b61;
    border-radius: 8px;
    background: #fff;
    color: #24170f;
    font-family: inherit;
    font-size: 1rem;
}

.contact-form-field textarea {
    min-height: 140px;
    resize: vertical;
}

.contact-form-field input:focus-visible,
.contact-form-field textarea:focus-visible {
    outline: 3px solid #c35d2280;
    outline-offset: 2px;
    border-color: #8c3f18;
}

.contact-form button.glass-text-btn {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    justify-self: center;
    padding: 11px 24px;
    border: 1.5px solid #ffffff80;
    border-radius: 10px;
    background: linear-gradient(145deg, #ffffffa8, #ffffff30 48%, #ffffff12);
    box-shadow: inset 0 2px 4px #ffffffa6, inset 0 -2px 5px #0000001c,
        0 3px 8px #00000026;
    backdrop-filter: blur(8px);
    color: #3e2817;
    font: inherit;
    font-weight: 700;
    cursor: pointer;
    transition: transform 0.12s ease, box-shadow 0.12s ease,
        background-color 0.2s ease, border-color 0.2s ease;
}

.contact-form button.glass-text-btn:hover,
.contact-form button.glass-text-btn:focus-visible {
    transform: translateY(-2px);
    border-color: #ffb45a;
    background: linear-gradient(145deg, #ffca7caa, #ff8a1f66 48%, #ff8a1f33);
    box-shadow: inset 0 0 12px #ff8a1f, inset 0 2px 5px #ffffffc2,
        inset 0 -2px 5px #0000001c;
}

.contact-form button.glass-text-btn:active {
    transform: translateY(2px) scale(0.98);
    box-shadow: inset 0 2px 6px #00000026;
}

.contact-form button.glass-text-btn:focus-visible {
    outline: 3px solid #ff8a1f;
    outline-offset: 3px;
}

.contact-form button.glass-text-btn:disabled {
    cursor: wait;
    opacity: 0.7;
}

.contact-form-status {
    min-height: 1.5em;
    margin: 0;
    color: #4a2d19;
    text-align: center;
}

.contact-form-status--error {
    color: #a12622;
}

.drawing-box {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    width: 490px;
    min-height: 490px;
    padding: 18px 18px 14px;
    border: 1px solid black;
    box-sizing: border-box;
    box-shadow: 0 0 12px 0 #00000088;
    background: black;
    gap: 12px;
}

.drawing-img {
    display: block;
    max-height: 400px;
    max-width: 400px;
    border-radius: 5%;
}

.drawing-title {
    margin: 0;
    color: #f4ebdf;
    font-family: "EB Garamond", serif;
    font-size: 1.2rem;
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: 0.03em;
    text-align: center;
}

.bottomtext {
    color: #342317;
    font-size: 12px;
}

.bottomtext>a {
    color: #24170f;
}

#clicker {
    background-color: lightgreen;
}

.beeg-beeg-button {
    background-color: deepskyblue;
    font-size: 24px;
    font-weight: bold;
    font-family: "inter", sans-serif;
    padding: 16px;
    border-radius: 32px;
    border-color: deepskyblue;
    box-shadow: 0 0 12px 0 #00000088;
    color: white;
    text-shadow: -1px 1px 2px darkgrey;
}

.beeg-beeg-button:hover {
    filter: brightness(70%);
}

.beeg-beeg-button:active {
    filter: brightness(50%);
}

.tags {
    font-style: italic;
    color: #4b3b2e;
}

/* ==========================================================================
   Layout containers for page content and bookshelf navigation
   ========================================================================== */
.layout-container {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: space-between;
    gap: 32px;
    margin-top: 20px;
}

.layout-main {
    flex: 1 1 0;
    min-width: 0;
}

.layout-nook {
    flex: 0 0 auto;
}

.is-homepage .layout-container {
    --nook-height: 680px;
    gap: 16px;
}

/* On the homepage, pin the nook column to the bottom of the flex row so the
   bookshelf floor lines up with the hearth-scene floor */
.is-homepage .layout-nook {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.is-homepage .nook {
    height: var(--nook-height);
    margin: 0;
}

/* Standalone bookshelf on subpages sits cleanly on the side and stays sticky on desktop */
body:not(.is-homepage) .layout-nook {
    position: sticky;
    top: 20px;
    align-self: flex-start;
}

body:not(.is-homepage) .layout-nook .nook {
    margin: 0;
    padding: 0 0 10px;
}

/* ==========================================================================
   Bookshelf, Reading Nook, and Fireplace styles
   ========================================================================== */

/* The case: wooden frame on the sides and top, dark backing inside */
.bookshelf {
    width: 100%;
    max-width: 180px;
    margin: 2rem auto;
    box-sizing: border-box;
    background: #1d120a;
    border: solid #5a3a1a;
    border-width: 8px 8px 0;
    border-radius: 4px 4px 0 0;
    box-shadow: 0 10px 0 #3f2810;
    /* thickness of the bottom plinth */
}

/* Each <ul> is one shelf: books on top, a wooden board along the bottom */
.bookshelf ul {
    list-style: none;
    margin: 0;
    padding: 26px 6px 0;
    /* top room so a pulled-out book isn't clipped */
    height: 220px;
    /* same height for every shelf */
    box-sizing: border-box;
    display: flex;
    align-items: flex-end;
    /* books sit on the board */
    justify-content: center;
    gap: 3px;
    border-bottom: 12px solid #8a5a2b;
    box-shadow: inset 0 10px 12px -6px rgba(0, 0, 0, .6),
        /* shadow under the shelf above */
        0 4px 6px rgba(0, 0, 0, .45);
    /* shadow cast on the shelf below */
    position: relative;
}

.bookshelf ul.leftalign {
    justify-content: flex-start;
}

.bookshelf ul.leftalign .tilted a {
    transform-origin: bottom left;
    --lean: -4deg;
}

.bookshelf ul.leftalign .tilted:not(.tilted + *) a {
    margin-inline-start: calc(var(--h) * sin(4deg));
}

.bookshelf ul.rightalign {
    justify-content: flex-end;
}

.bookshelf ul.rightalign .tilted a {
    --lean: 4deg;
    transform-origin: bottom right;
}

.bookshelf ul.rightalign li.tilted:has(+ :not(.tilted)) a {
    margin-inline-end: calc(var(--h) * sin(4deg));
}

.bookshelf a {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: var(--w);
    height: var(--h);
    background:
        linear-gradient(180deg, rgba(20, 10, 5, .15), rgba(20, 10, 5, .55) 78%, rgba(20, 10, 5, .72)),
        linear-gradient(90deg, rgba(255, 255, 255, .12), transparent 25%, transparent 70%, rgba(0, 0, 0, .25)),
        var(--bg) center / cover,
        var(--c);
    color: var(--ink, #fff9ef);
    font: inherit;
    font-family: "IM Fell English", serif;
    font-size: 1rem;
    letter-spacing: 0;
    text-decoration: none;
    border-radius: 2px 2px 0 0;
    transform: rotate(var(--lean, 0deg));
    transition: transform .18s ease;
}

.bookshelf .book-drawing {
    font-family: "Homemade Apple", serif;
    --ink: #ffe0a3;
    --c: #7a2e1d;
    --h: 188px;
    --w: 40px;
    --bg: url("https://cindercube.net/resource/page_icons/art_background.PNG");
}

.bookshelf .book-games {
    font-family: "Clarity City", sans-serif;
    font-weight: lighter;
    text-transform: lowercase;
    --ink: #ffd6b0;
    --c: #2f4a5a;
    --h: 172px;
    --w: 46px;
    --bg: url("https://cindercube.net/resource/page_icons/game_background.jpg");
}

.bookshelf .book-code {
    font-family: "Cutive Mono", monospace;
    text-transform: lowercase;
    --ink: #d4f0c9;
    --c: #3d5a3a;
    --h: 184px;
    --w: 38px;
    --bg: url("https://cindercube.net/resource/page_icons/code_background.jpg");
}

.bookshelf .book-music {
    font-family: "UnifrakturCook", serif;
    --ink: #ffe2a0;
    --c: #6b2d5c;
    --h: 176px;
    --w: 44px;
    --bg: url("https://cindercube.net/resource/page_icons/music_background.jpg");
}

.bookshelf .book-lego {
    font-family: "Open Sans", sans-serif;
    font-weight: bolder;
    text-transform: uppercase;
    --ink: #fff0bd;
    --c: #a03a1a;
    --h: 172px;
    --w: 38px;
    --bg: url("https://cindercube.net/resource/page_icons/lego_background.jpg");
}

.bookshelf .book-archive {
    font-family: "Gideon Roman", serif;
    font-size: 1.1rem;
    --ink: #131f1d;
    --c: #5b3a1e;
    --h: 190px;
    --w: 46px;
    --bg: url("https://cindercube.net/resource/page_icons/archive_background.jpg");
}

.bookshelf .book-sitemap {
    font-family: "Press Start 2P", monospace;
    font-size: .8rem;
    --ink: #f1d9ff;
    --c: #3a3a4f;
    --h: 180px;
    --w: 44px;
    --bg: url("https://cindercube.net/resource/page_icons/sitemap_background.jpg");
}

.bookshelf .book-contact {
    font-family: "Homemade Apple", serif;
    --ink: #fff1b8;
    --c: #8a5a12;
    --h: 186px;
    --w: 48px;
    --bg: url("https://cindercube.net/resource/page_icons/contact_background.jpg");
}

.bookshelf .book-archive span {
    font-weight: bold;
    -webkit-text-stroke: .25px currentColor;
    text-shadow: 0 0 2px rgba(255, 255, 255, .9), 0 0 6px rgba(255, 255, 255, .65);
}

.bookshelf .book-lego span,
.bookshelf .book-sitemap span,
.bookshelf .book-contact span {
    text-shadow: 0 1px 1px rgba(0, 0, 0, .55);
}

/* two decorative bands near the top and bottom of each spine */
.bookshelf a::before,
.bookshelf a::after {
   content: "";
   position: absolute;
   left: 0;
   right: 0;
   height: 3px;
   background: rgba(255, 244, 224, .5);
}

.bookshelf a::before {
   top: 16px;
}

.bookshelf a::after {
   bottom: 16px;
}

/* icon badge at the top of each spine: the matching foreground artwork */
.bookshelf .icon {
   position: absolute;
   top: 32px;
   left: 50%;
   width: 28px;
   height: 28px;
   flex: none;
   object-fit: contain;
   filter: drop-shadow(0 1px 2px rgba(0, 0, 0, .35));
   transform: translateX(-50%);
}

/* spine text reads top-to-bottom */
.bookshelf a span {
   position: absolute;
    /* Center between the icon bottom and the lower stripe. */
   top: calc(50% + 21.25px);
   left: 50%;
   writing-mode: vertical-rl;
   font-weight: 700;
   line-height: 1;
   text-shadow: 0 1px 1px rgba(0, 0, 0, .55);
   transform: translate(-50%, -50%);
}

/* pull the book off the shelf */
.bookshelf a:hover,
.bookshelf a:focus-visible {
   transform: translateY(-18px) rotate(var(--lean, 0deg));
}

.bookshelf a:focus-visible {
    outline: 2px solid #ffd27a;
    outline-offset: 2px;
}

/* the page you're currently on sits slightly out */
.bookshelf a[aria-current="page"] {
    transform: translateY(-7px) rotate(var(--lean, 0deg));
}

/* decorative glowing cinder cube to fill the last shelf */
.bookshelf .cube {
    width: 38px;
    height: 38px;
    margin-left: 6px;
    border-radius: 3px;
    background: linear-gradient(160deg, #ffc15a, #d2451e 70%, #8f2a10);
    box-shadow: 0 0 14px rgba(255, 120, 40, .55);
}

/* the reading nook: fireplace + armchair + bookshelf standing on one floor line */
.nook {
    --nook-scale: 1;
    zoom: var(--nook-scale);
    display: flex;
    align-items: flex-end;
    justify-content: center;
    gap: 1rem;
    width: fit-content;
    margin: 2rem auto;
    padding: 0 1rem 10px;
    /* 10px = thickness of the shelf's plinth */
    border-bottom: 2px solid #c5a077;
    /* the floor */
    box-sizing: border-box;
}

.nook .bookshelf {
    margin: 0;
    flex: 0 0 180px;
}

.nook .armchair {
    flex: 0 0 440px;
    width: 440px;
    height: 440px;
    /* legs land on the floor line, level with the plinth */
    margin-bottom: -10px;
    margin-left: -70px;
}

.hearth-row .armchair {
    flex: 0 0 300px;
    width: 350px;
    height: 350px;
    margin-bottom: -10px;
}

/* hearth row: blog post + fireplace + armchair sitting side-by-side on the homepage */
.hearth-row {
    display: flex;
    align-items: flex-end;
    justify-content: center;
    gap: 1rem;
    width: fit-content;
    margin: 2rem auto 0;
    /* no bottom margin — flush with layout-main bottom */
    box-sizing: border-box;
}

.hearth-row .category-box-3-alt {
    align-self: stretch;
}

.hearth-scene-frame {
    position: relative;
    top: -2rem;
    display: flex;
    flex: 0 0 auto;
    align-self: flex-start;
    align-items: flex-end;
    height: var(--nook-height);
}

/* decorative scene: fireplace + armchair with the shared floor underline */
.hearth-scene {
    display: flex;
    align-items: flex-end;
    padding-bottom: 10px;
    border-bottom: 2px solid #c5a077;
}

@media (max-width: 1450px) {
    .is-homepage .hearth-scene {
        zoom: .8;
    }
}

@media (max-width: 1270px) {
    .is-homepage .hearth-row {
        flex-direction: column;
        align-items: center;
    }

    .is-homepage .hearth-scene-frame {
        align-self: center;
    }

    .is-homepage .layout-main {
        width: 100%;
    }

    .is-homepage .layout-nook {
        position: static;
        width: 100%;
        display: flex;
        justify-content: center;
        margin-top: 1.5rem;
    }
}

/* the furnace artwork, dark firebox, animated flames, and rising cinders */
.hearth-row .fireplace {
    position: relative;
    width: 420px;
    height: 540px;
    margin-bottom: -10px;
    box-sizing: border-box;
}

.fireplace .furnace {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: fill;
}

.fireplace .opening {
    position: absolute;
    z-index: 1;
    bottom: 86px;
    left: 126px;
    right: 126px;
    height: 27%;
    rotate: -2deg;
    border-radius: 80px 80px 10px 10px;
    background: radial-gradient(120% 90% at 50% 100%, #1a0e06, #000 72%);
    box-shadow: inset 0 0 30px rgba(0, 0, 0, .9), inset 0 -12px 24px rgba(255, 120, 40, .3);
    overflow: hidden;
}

.fireplace .log {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    width: 93px;
    height: 19px;
    border-radius: 10px;
    background: linear-gradient(#4a2c18, #2c1a0e);
}

.fireplace .flame {
    position: absolute;
    bottom: 16px;
    border-radius: 50% 50% 50% 50% / 62% 62% 38% 38%;
    filter: blur(1px);
    animation: flicker 1.6s ease-in-out infinite;
    transform-origin: bottom center;
}

.fireplace .flame.f1 {
    left: 30%;
    width: 63px;
    height: 124px;
    background: radial-gradient(circle at 50% 80%, #fff3b0, #ffb23e 42%, #e0521a 76%, transparent 100%);
    animation-duration: 1.4s;
}

.fireplace .flame.f2 {
    left: 50%;
    margin-left: -25px;
    width: 50px;
    height: 97px;
    background: radial-gradient(circle at 50% 80%, #fff7d0, #ffc85c 42%, #e8621f 76%, transparent 100%);
    animation-duration: 1.8s;
    animation-delay: .3s;
}

.fireplace .flame.f3 {
    right: 27%;
    width: 55px;
    height: 111px;
    background: radial-gradient(circle at 50% 80%, #fff3b0, #ffb23e 42%, #d94a17 76%, transparent 100%);
    animation-duration: 1.5s;
    animation-delay: .15s;
}

@keyframes flicker {

    0%,
    100% {
        transform: scaleY(1) scaleX(1) translateY(0);
    }

    50% {
        transform: scaleY(1.14) scaleX(.9) translateY(-5px);
    }
}

/* cinders drifting up out of the fire */
.fireplace .ember {
    position: absolute;
    bottom: 26px;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: #ffb347;
    box-shadow: 0 0 6px 2px rgba(255, 150, 50, .9);
    opacity: 0;
    animation: ember-rise linear infinite;
}

.fireplace .ember-one {
    left: 38%;
    --drift: -14px;
    animation-duration: 2.4s;
    animation-delay: 0s;
}

.fireplace .ember-two {
    left: 48%;
    --drift: 6px;
    animation-duration: 2.9s;
    animation-delay: .6s;
}

.fireplace .ember-three {
    left: 58%;
    --drift: -6px;
    animation-duration: 2.2s;
    animation-delay: 1.1s;
}

.fireplace .ember-four {
    left: 44%;
    --drift: 18px;
    animation-duration: 3.1s;
    animation-delay: 1.7s;
}

.fireplace .ember-five {
    left: 53%;
    --drift: -18px;
    animation-duration: 2.6s;
    animation-delay: 2.2s;
}

@keyframes ember-rise {
    0% {
        transform: translate(0, 0) scale(1);
        opacity: 0;
    }

    12% {
        opacity: 1;
    }

    100% {
        transform: translate(var(--drift, 12px), -180px) scale(.25);
        opacity: 0;
    }
}

/* Responsive scaling for the hearth decorations only */
@media (max-width: 960px) {
    .is-homepage .hearth-scene {
        zoom: .68;
    }
}

@media (max-width: 760px) {
    .is-homepage .hearth-scene {
        zoom: .62;
    }
}

@media (max-width: 600px) {
    .is-homepage .hearth-scene {
        zoom: .48;
    }
}

@media (max-width: 460px) {
    .is-homepage .hearth-scene {
        zoom: .38;
    }
}

@media (max-width: 860px) {
    .header-container {
        grid-template-columns: 110px minmax(0, 1fr);
        gap: 14px;
    }

    .logo,
    .landing-title-box {
        height: 110px;
    }

    .logo {
        width: 110px;
    }

    .landing-title-box {
        padding-left: 12px;
    }

    .landing-title {
        font-size: clamp(2rem, 7vw, 4rem);
    }

    .layout-container {
        flex-direction: column;
        align-items: stretch;
        gap: 16px;
        margin-top: 0;
    }

    .layout-main {
        width: 100%;
    }

    .layout-nook,
    body:not(.is-homepage) .layout-nook {
        position: static;
        order: -1;
        display: flex;
        width: 100%;
        justify-content: center;
        margin-top: 0;
    }

    .layout-nook .nook,
    body:not(.is-homepage) .layout-nook .nook {
        display: block;
        width: 100%;
        height: auto;
        margin: 0;
        padding: 0;
        border: 0;
        zoom: 1;
    }

    .bookshelf {
        display: grid;
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 8px;
        width: 100%;
        max-width: none;
        margin: 0;
        padding: 0 0 8px;
        border: 0;
        border-bottom: 10px solid #8a5a2b;
        border-radius: 0;
        background: none;
        box-shadow: 0 4px 5px #3f281055;
    }

    .bookshelf ul {
        display: contents;
    }

    .bookshelf ul.leftalign,
    .bookshelf ul.rightalign {
        justify-content: initial;
    }

    .bookshelf ul.leftalign .tilted a,
    .bookshelf ul.rightalign .tilted a {
        margin-inline: 0;
        transform-origin: center;
        --lean: 0deg;
        transform: none;
    }

    .bookshelf ul.leftalign .tilted:not(.tilted + *) a {
        margin-inline-start: 0;
    }

    .bookshelf ul.rightalign li.tilted:has(+ :not(.tilted)) a {
        margin-inline-end: 0;
    }

    .bookshelf a {
        width: 100%;
        height: 62px;
        min-width: 0;
        padding: 8px 10px;
        box-sizing: border-box;
        flex-direction: row;
        justify-content: flex-start;
        gap: 9px;
        overflow: hidden;
        border-radius: 4px 4px 0 0;
        box-shadow: inset 5px 0 rgba(20, 10, 5, .26),
            inset 0 -2px rgba(255, 244, 224, .45), 0 2px 3px #0000004d;
        transform: none;
    }

    .bookshelf a::before {
        top: 0;
        bottom: 0;
        left: 5px;
        right: auto;
        width: 3px;
        height: auto;
    }

    .bookshelf a::after {
        top: 0;
        bottom: 0;
        left: auto;
        right: 5px;
        width: 3px;
        height: auto;
    }

    .bookshelf a span {
        position: static;
        min-width: 0;
        writing-mode: horizontal-tb;
        line-height: 1;
        overflow-wrap: anywhere;
        transform: none;
    }

    .bookshelf .icon {
        position: static;
        width: 28px;
        height: 28px;
        flex: 0 0 28px;
        transform: none;
    }

    .bookshelf li.tilted a {
        transform: none;
    }

    .bookshelf ul.leftalign .tilted a:hover,
    .bookshelf ul.leftalign .tilted a:focus-visible,
    .bookshelf ul.rightalign .tilted a:hover,
    .bookshelf ul.rightalign .tilted a:focus-visible {
        transform: translateY(-3px);
    }

    .bookshelf ul.leftalign .tilted a[aria-current="page"],
    .bookshelf ul.rightalign .tilted a[aria-current="page"] {
        transform: translateY(-2px);
    }

    .bookshelf a:hover,
    .bookshelf a:focus-visible {
        transform: translateY(-3px);
    }

    .bookshelf a[aria-current="page"] {
        transform: translateY(-2px);
    }

    .is-homepage .layout-nook {
        margin-top: 0;
    }

    .is-homepage .nook {
        height: auto;
    }

    .is-homepage .hearth-scene-frame {
        top: 0;
        height: auto;
    }

    .bookshelf .cube {
        display: none;
    }

    .body-container-vert {
        grid-template-columns: repeat(auto-fit, minmax(min(100%, 184px), 1fr));
    }

    .body-container {
        flex-wrap: wrap;
        justify-content: center;
    }

    .category-box-3,
    .category-box-3-alt {
        width: min(100%, 388px);
    }

    .drawing-box {
        flex: 1 1 340px;
        width: min(100%, 490px);
        min-height: 0;
    }

    .drawing-img {
        height: auto;
        max-width: 100%;
    }

    .layout-main img {
        max-width: 100%;
        height: auto;
    }

    .layout-main iframe {
        max-width: 100%;
        box-sizing: border-box;
    }

    .divider-title {
        font-size: clamp(2rem, 8vw, 3.75rem);
        margin-left: 12px;
    }
}

@media (max-width: 600px) {
    body {
        margin: 0;
    }

    .center {
        width: calc(100% - 24px);
    }

    .header-container {
        grid-template-columns: 72px minmax(0, 1fr);
        gap: 10px;
    }

    .logo,
    .landing-title-box {
        height: 72px;
    }

    .logo {
        width: 72px;
    }

    .landing-title-box {
        padding-left: 10px;
    }

    .landing-title {
        font-size: clamp(1.6rem, 8vw, 2.8rem);
    }

    .landing-subtitle {
        font-size: 0.75rem;
    }

    .bookshelf {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 7px;
        border-bottom-width: 8px;
    }

    .bookshelf a {
        height: 56px;
        padding: 7px 8px;
        gap: 7px;
        font-size: 0.9rem;
    }

    .bookshelf .icon {
        width: 25px;
        height: 25px;
        flex-basis: 25px;
    }

    .page-title {
        min-height: 92px;
        margin-top: 12px;
        padding: 12px 14px;
    }

    .page-title h1 {
        font-size: clamp(1.65rem, 8vw, 2.5rem);
    }

    .page-title-icon {
        width: 64px;
        height: 64px;
    }

    .list-container {
        padding: 12px;
    }

    .post-archive-filters {
        align-items: stretch;
        flex-direction: column;
    }

    .post-archive-filter-dates {
        flex-direction: column;
        gap: 8px;
    }

    .body-container {
        gap: 12px;
    }

    .body-container-vert {
        grid-template-columns: minmax(0, 1fr);
    }

    .contact-links {
        gap: 6px;
        margin: 16px auto 24px;
    }

    .is-homepage .hearth-row {
        width: 100%;
    }

    .hearth-row .category-box-3-alt {
        padding-inline: 12px;
    }

    .divider-container {
        height: auto;
        min-height: 72px;
        margin-top: 16px;
    }

    .post-archive-filter-panel {
        right: 0;
        width: min(360px, calc(100vw - 48px));
        box-sizing: border-box;
    }
}

@media (prefers-reduced-motion: reduce) {
    .bookshelf a {
        transition: none;
    }

    .game-slide-card,
    .games-carousel.is-enhanced .games-slide {
        transition: none;
    }

    .games-carousel-thumbnails button {
        transition: none;
    }

    .fireplace .flame {
        animation: none;
    }

    .fireplace .ember {
        animation: none;
        opacity: .5;
    }
}