:root {
    --paper: #e7d2ad;
    --paper-deep: #c49b61;
    --ink: #1d150f;
    --muted-ink: #60462d;
    --red: #5b1f17;
    --red-bright: #7b2b20;
    --brass: #b8782b;
    --brass-light: #d8a85a;
    --copper: #8d5130;
    --aged-steel: #4b453d;
    --night: #080706;
    --panel-shadow: 0 12px 30px rgba(0, 0, 0, .5), inset 0 0 0 1px rgba(255, 245, 214, .3);
    --pipe-shadow: inset 0 1px 0 rgba(255, 235, 172, .36), inset 0 -1px 0 rgba(42, 23, 14, .42);
}

* {
    box-sizing: border-box;
}

html {
    min-width: 320px;
    background: var(--night);
}

body {
    margin: 0;
    color: #f6ead5;
    background: var(--night);
    font-family: Georgia, "Times New Roman", serif;
}

a {
    color: inherit;
}

.scene {
    position: relative;
    min-height: 100vh;
    padding: 16px;
    overflow-x: hidden;
    background-color: var(--night);
    background-position: center;
    background-size: cover;
}

.scene::before {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    background:
        radial-gradient(circle at 50% 25%, rgba(244, 171, 82, .18), transparent 34rem),
        linear-gradient(90deg, rgba(0, 0, 0, .62), transparent 24%, transparent 76%, rgba(0, 0, 0, .66)),
        linear-gradient(0deg, rgba(0, 0, 0, .62), transparent 22%, rgba(0, 0, 0, .38));
    z-index: 0;
}

.scene > * {
    position: relative;
    z-index: 1;
}

.scene-landing {
    background-image:
        linear-gradient(rgba(15, 10, 6, .08), rgba(15, 10, 6, .15)),
        url("/images/tno-landingscreen.jpeg");
    background-position: center center;
}

.scene-cafe {
    background-image:
        linear-gradient(90deg, rgba(8, 6, 4, .62), rgba(8, 6, 4, .2) 48%, rgba(8, 6, 4, .68)),
        linear-gradient(0deg, rgba(8, 6, 4, .72), rgba(8, 6, 4, .08) 42%, rgba(8, 6, 4, .44)),
        url("/images/maten-van-willekeur.jpeg");
    background-position: center center;
}

.scene-dumpshop {
    background-image:
        linear-gradient(rgba(20, 12, 7, .38), rgba(20, 12, 7, .72)),
        url("/images/redactievloer.png");
}

.scene-dumpshop-intro {
    background:
        radial-gradient(circle at 50% 20%, rgba(101, 58, 27, .32), transparent 38%),
        linear-gradient(135deg, #120b08 0%, #22130c 45%, #0c0806 100%);
}

.scene-dashboard {
    background-image:
        linear-gradient(rgba(13, 9, 6, .2), rgba(13, 9, 6, .24)),
        url("/images/redactievloer.png");
    background-position: center top;
}

.scene-dashboard.scene-dashboard-alt {
    background-image:
        linear-gradient(rgba(13, 9, 6, .2), rgba(13, 9, 6, .24)),
        url("/images/redactievloer2.png");
}

.scene-dashboard.scene-dashboard-third {
    background-image:
        linear-gradient(rgba(13, 9, 6, .2), rgba(13, 9, 6, .24)),
        url("/images/redactievloer3.png");
}

.scene-dashboard.scene-dashboard-fourth {
    background-image:
        linear-gradient(rgba(13, 9, 6, .2), rgba(13, 9, 6, .24)),
        url("/images/redactievloer4.png");
}

.scene-dashboard.scene-dashboard-fifth {
    background-image:
        linear-gradient(rgba(13, 9, 6, .2), rgba(13, 9, 6, .24)),
        url("/images/redactievloer5.png");
}

.kerbert-intro-page {
    min-height: 100vh;
    display: grid;
    place-items: center;
    padding: 24px;
}

.kerbert-intro-card {
    width: min(1120px, 96vw);
    display: grid;
    grid-template-columns: minmax(280px, .94fr) minmax(280px, .76fr);
    gap: 18px;
    align-items: stretch;
    background: linear-gradient(180deg, rgba(239, 212, 158, .92), rgba(184, 122, 61, .84));
    border: 2px solid rgba(74, 39, 22, .9);
    box-shadow: 0 18px 50px rgba(0, 0, 0, .48), inset 0 0 0 1px rgba(255, 241, 199, .45);
    padding: 16px;
    backdrop-filter: blur(1px);
}

.kerbert-intro-card-explain {
    grid-template-columns: minmax(280px, .9fr) minmax(300px, .78fr);
}

.kerbert-intro-image {
    width: 100%;
    height: 100%;
    max-height: min(82vh, 940px);
    object-fit: contain;
    background: #120b08;
    border: 1px solid rgba(74, 39, 22, .72);
    box-shadow: inset 0 0 0 1px rgba(255, 241, 199, .14);
}

.kerbert-intro-copy {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 14px 16px;
    color: #2b190f;
}

.kerbert-step-label {
    align-self: flex-start;
    margin: 0 0 12px;
    padding: 5px 10px;
    background: rgba(54, 31, 18, .12);
    border: 1px solid rgba(74, 39, 22, .32);
    color: #4a2818;
    font-weight: 800;
    text-transform: uppercase;
    font-size: .76rem;
}

.kerbert-intro-card h1 {
    margin: 0 0 12px;
    color: #24150e;
    font-size: 2.7rem;
}

.kerbert-intro-copy p {
    line-height: 1.5;
    margin: 0 0 12px;
}

.kerbert-intro-quote {
    color: #3b2014;
    font-size: 1.35rem;
    font-weight: 700;
    margin: 0 0 20px;
}

@media (max-width: 860px) {
    .kerbert-intro-card,
    .kerbert-intro-card-explain {
        grid-template-columns: 1fr;
    }

    .kerbert-intro-image {
        max-height: 52vh;
    }

    .kerbert-intro-card h1 {
        font-size: 2rem;
    }
}

.scene-game {
    background-image:
        linear-gradient(rgba(13, 9, 6, .18), rgba(13, 9, 6, .3)),
        url("/images/redactievloer.png");
    background-position: center top;
}

.scene-register {
    background-image:
        linear-gradient(90deg, rgba(8, 6, 4, .62), rgba(8, 6, 4, .18) 42%, rgba(8, 6, 4, .64)),
        linear-gradient(0deg, rgba(8, 6, 4, .64), rgba(8, 6, 4, .08) 55%, rgba(8, 6, 4, .34)),
        url("/images/rina-oddel-receptie.png");
    background-position: center top;
}

.scene-rina {
    background-image:
        linear-gradient(90deg, rgba(8, 6, 4, .58), rgba(8, 6, 4, .08) 44%, rgba(8, 6, 4, .58)),
        linear-gradient(0deg, rgba(8, 6, 4, .68), rgba(8, 6, 4, .06) 54%, rgba(8, 6, 4, .28)),
        url("/images/rina-roddelt.png");
    background-position: center top, center top, center 220px;
    background-repeat: no-repeat;
}

.scene-rina.scene-rina-second {
    background-image:
        linear-gradient(90deg, rgba(8, 6, 4, .58), rgba(8, 6, 4, .08) 44%, rgba(8, 6, 4, .58)),
        linear-gradient(0deg, rgba(8, 6, 4, .68), rgba(8, 6, 4, .06) 54%, rgba(8, 6, 4, .28)),
        url("/images/rina-roddelt-2.png");
}

.scene-rina.scene-rina-third {
    background-image:
        linear-gradient(90deg, rgba(8, 6, 4, .58), rgba(8, 6, 4, .08) 44%, rgba(8, 6, 4, .58)),
        linear-gradient(0deg, rgba(8, 6, 4, .68), rgba(8, 6, 4, .06) 54%, rgba(8, 6, 4, .28)),
        url("/images/rina-roddel-3.png");
}

.scene-rina.scene-rina-fourth {
    background-image:
        linear-gradient(90deg, rgba(8, 6, 4, .58), rgba(8, 6, 4, .08) 44%, rgba(8, 6, 4, .58)),
        linear-gradient(0deg, rgba(8, 6, 4, .68), rgba(8, 6, 4, .06) 54%, rgba(8, 6, 4, .28)),
        url("/images/rina-roddel-4.png");
}

.scene-rina.scene-rina-away {
    background-image:
        linear-gradient(90deg, rgba(8, 6, 4, .58), rgba(8, 6, 4, .08) 44%, rgba(8, 6, 4, .58)),
        linear-gradient(0deg, rgba(8, 6, 4, .68), rgba(8, 6, 4, .06) 54%, rgba(8, 6, 4, .28)),
        url("/images/rina-is-even-weg.png");
}

.landing-layout {
    display: grid;
    grid-template-columns: 280px minmax(360px, 1fr) 310px;
    gap: 22px;
    min-height: calc(100vh - 58px);
    max-width: 1660px;
    margin: 0 auto;
}

.panel-stack {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.left-rail,
.right-rail {
    align-self: start;
}

.right-rail {
    justify-self: end;
    width: 100%;
}

.news-panel,
.top-masthead,
.location-card,
.main-nav,
.footer-bar {
    border: 2px solid #703f1e;
    border-image: linear-gradient(90deg, #4b2415, var(--brass), #5b2d19, var(--brass-light), #4b2415) 1;
    background:
        linear-gradient(rgba(255, 255, 255, .2), rgba(255, 255, 255, 0) 48%),
        radial-gradient(circle at 92% 12%, rgba(141, 81, 48, .12), transparent 5.6rem),
        linear-gradient(135deg, rgba(83, 46, 24, .12), transparent 34%),
        var(--paper);
    color: var(--ink);
    box-shadow: var(--panel-shadow);
}

.news-panel {
    position: relative;
    padding: 13px 16px 15px;
    overflow: hidden;
}

.news-panel > h2::before {
    content: "";
    position: absolute;
    left: 50%;
    top: -12px;
    width: min(150px, 64%);
    height: 9px;
    border: 1px solid rgba(69, 35, 18, .54);
    border-radius: 999px;
    background:
        linear-gradient(90deg, rgba(65, 32, 17, .18), rgba(224, 171, 83, .76), rgba(76, 43, 24, .22));
    box-shadow: var(--pipe-shadow);
    transform: translateX(-50%);
    opacity: .72;
}

.news-panel::before,
.news-panel::after,
.location-card::before,
.location-card::after {
    content: "";
    position: absolute;
    width: 58px;
    height: 58px;
    border: 0;
    border-radius: 0;
    background-repeat: no-repeat;
    background-size: contain;
    opacity: .74;
    pointer-events: none;
}

.news-panel::before,
.location-card::before {
    top: -1px;
    left: -1px;
    background-image: url("/images/steampunk/rader-randje-links-clean.png");
}

.news-panel::after,
.location-card::after {
    top: -1px;
    right: -1px;
    background-image: url("/images/steampunk/rader-randje-rechts-clean.png");
}

.news-panel h2 {
    position: relative;
    margin: 0;
    padding: 7px 38px 10px;
    border-bottom: 1px solid rgba(78, 43, 22, .34);
    text-align: center;
    text-transform: uppercase;
    font-size: 16px;
    line-height: 1.1;
}

.news-panel h2::after {
    content: "";
    position: absolute;
    right: -10px;
    bottom: -8px;
    width: 74px;
    height: 10px;
    border-radius: 999px;
    background:
        linear-gradient(90deg, rgba(63, 34, 18, .32), rgba(216, 168, 90, .76), rgba(72, 42, 24, .36));
    box-shadow: var(--pipe-shadow);
    opacity: .78;
}

.panel-body {
    position: relative;
    padding-top: 12px;
}

.panel-body::after {
    content: "";
    position: absolute;
    right: -26px;
    bottom: -32px;
    width: 112px;
    height: 112px;
    border-radius: 50%;
    background:
        radial-gradient(circle, transparent 0 25%, rgba(74, 48, 29, .2) 26% 37%, transparent 38% 49%, rgba(93, 58, 31, .14) 50% 55%, transparent 56%),
        conic-gradient(from 8deg, rgba(91, 58, 33, .24) 0 13deg, transparent 13deg 24deg);
    opacity: .76;
    pointer-events: none;
}

.panel-body p {
    margin: 0 0 10px;
    line-height: 1.35;
}

.role-label,
.feature-heading,
.special-title {
    color: var(--red);
    text-transform: uppercase;
    font-weight: 900;
}

.role-label {
    font-size: 18px;
}

.feature-heading {
    font-size: 18px;
}

.special-title {
    font-size: 22px;
    letter-spacing: .04em;
}

.stat-list {
    display: grid;
    gap: 12px;
    margin: 14px 0 0;
}

.stat-list div {
    display: flex;
    justify-content: space-between;
    gap: 14px;
    border-bottom: 1px solid rgba(74, 39, 18, .2);
    padding-bottom: 8px;
}

.stat-list dt {
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
}

.stat-list dd {
    margin: 0;
    font-weight: 900;
    white-space: nowrap;
}

.compact-stats {
    gap: 8px;
}

.button {
    position: relative;
    overflow: hidden;
    display: block;
    margin-top: 14px;
    padding: 12px 34px 12px 16px;
    border: 1px solid #32120d;
    background:
        linear-gradient(rgba(255, 255, 255, .14), rgba(255, 255, 255, 0)),
        linear-gradient(#843528, #531b15);
    color: #f8ddb0;
    text-align: center;
    text-decoration: none;
    text-transform: uppercase;
    font-weight: 900;
    box-shadow: inset 0 0 0 1px rgba(255, 232, 174, .18), 0 4px 10px rgba(0, 0, 0, .35);
}

.button::after {
    content: "";
    position: absolute;
    top: 3px;
    right: 3px;
    width: 22px;
    height: 22px;
    background: url("/images/steampunk/bout-randje-soft.png") top right / contain no-repeat;
    opacity: .58;
    pointer-events: none;
}

.button.primary {
    font-size: 18px;
}

.button.ghost {
    background:
        linear-gradient(rgba(255, 255, 255, .08), rgba(255, 255, 255, 0)),
        rgba(50, 24, 15, .82);
    color: #eec98f;
}

.button.subtle {
    font-size: 13px;
}

.button.compact {
    padding: 10px 30px 10px 12px;
    font-size: 13px;
}

.button[disabled] {
    cursor: not-allowed;
    opacity: .62;
    filter: saturate(.55);
}

.button.is-maxed[disabled] {
    border-color: rgba(94, 94, 94, .48);
    background:
        linear-gradient(rgba(255, 255, 255, .16), rgba(255, 255, 255, 0)),
        #777;
    color: #f3f0e8;
}

.button.secondary {
    background:
        linear-gradient(rgba(255, 255, 255, .1), rgba(255, 255, 255, 0)),
        rgba(67, 42, 25, .82);
    color: #f1d5a6;
}

.button.earn-link {
    background:
        linear-gradient(rgba(255, 255, 255, .12), rgba(255, 255, 255, 0)),
        linear-gradient(#6f6230, #3f3a1f);
    color: #f7e6ba;
}

.shop-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.shop-actions .button {
    margin-top: 0;
}

.landing-center {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: center;
    min-height: 100%;
    padding: 18vh 0 6vh;
    text-align: center;
}

.landing-title {
    margin-bottom: 18px;
    text-shadow: 0 3px 15px rgba(0, 0, 0, .84);
}

.landing-title h1 {
    margin: 0;
    color: #f3bf72;
    font-size: clamp(42px, 6vw, 78px);
    line-height: .95;
    text-transform: uppercase;
    font-weight: 900;
}

.landing-title p,
.top-masthead p {
    margin: 8px 0 0;
    text-transform: uppercase;
    font-weight: 900;
    letter-spacing: .03em;
}

.landing-actions {
    width: min(460px, 100%);
}

.deadline {
    margin: 8px 0 0;
    text-align: center;
    font-size: 42px;
    line-height: 1;
    font-weight: 900;
}

.deadline-expired {
    color: var(--red);
}

.leaderboard,
.mission-list,
.quick-links,
.news-list {
    display: grid;
    gap: 10px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.leaderboard li,
.mission-list li,
.news-list li {
    position: relative;
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding-bottom: 9px;
    border-bottom: 1px solid rgba(74, 39, 18, .22);
}

.leaderboard li::before,
.mission-list li::before,
.news-list li::before {
    content: "";
    flex: 0 0 7px;
    width: 7px;
    height: 7px;
    align-self: .45em;
    border-radius: 50%;
    background: radial-gradient(circle, #e5b75b 0 24%, #8d4b23 56%, #35180f 100%);
    box-shadow: 0 0 0 1px rgba(74, 39, 18, .36);
}

.leaderboard .you {
    color: var(--red);
    font-weight: 900;
}

.leaderboard strong {
    white-space: nowrap;
}

.mission-list span,
.mission-list a,
.news-list a {
    line-height: 1.35;
}

.mission-list small {
    display: block;
    margin-top: 2px;
    color: var(--red);
    font-size: .72rem;
}

.mission-list a {
    color: var(--ink);
    text-decoration: none;
}

.mission-list a:hover,
.mission-list a:focus-visible {
    color: var(--red);
    text-decoration: underline;
}

.news-list li {
    display: grid;
}

.news-list a {
    color: var(--red);
    font-weight: 900;
    text-decoration: none;
}

.news-list a:hover,
.news-list a:focus-visible {
    text-decoration: underline;
}

.quick-links {
    gap: 8px;
}

.article-kicker {
    color: var(--red);
    font-weight: 900;
    text-transform: uppercase;
}

.external-news-image {
    display: block;
    width: min(100%, 680px);
    max-height: 320px;
    object-fit: cover;
    border: 1px solid rgba(74, 39, 18, .32);
    box-shadow: 0 10px 22px rgba(31, 19, 12, .18);
    margin: 0 0 16px;
}

.external-news-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 16px;
}

.newspaper-open-button {
    margin-top: 12px;
}

.newspaper-layout {
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(260px, .8fr);
    gap: 16px;
    align-items: start;
}

.newspaper-front,
.newspaper-layout > .news-panel:nth-child(2) {
    min-width: 0;
}

.newspaper-front {
    grid-column: 1 / 2;
}

.newspaper-layout > .news-panel:nth-child(2) {
    grid-column: 1 / 2;
}

.newspaper-sidebar {
    display: grid;
    gap: 14px;
    grid-column: 2 / 3;
    grid-row: 1 / span 2;
}

.newspaper-lead h2 {
    margin: 6px 0 10px;
    font-size: clamp(30px, 4vw, 54px);
    line-height: .98;
}

.newspaper-lead img,
.newspaper-teaser img {
    display: block;
    width: 100%;
    object-fit: cover;
    border: 1px solid rgba(74, 39, 18, .3);
    box-shadow: 0 10px 22px rgba(31, 19, 12, .16);
}

.newspaper-lead img {
    max-height: 340px;
    margin-bottom: 14px;
}

.newspaper-article-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 14px;
}

.newspaper-teaser {
    min-width: 0;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(74, 39, 18, .18);
}

.newspaper-teaser img {
    aspect-ratio: 16 / 9;
    margin-bottom: 10px;
}

.newspaper-teaser h3 {
    margin: 4px 0 8px;
    font-size: 1.08rem;
    line-height: 1.12;
}

.newspaper-teaser p:not(.article-kicker),
.newspaper-lead p:not(.article-kicker) {
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
}

.newspaper-teaser p:not(.article-kicker) {
    -webkit-line-clamp: 4;
}

.newspaper-lead p:not(.article-kicker) {
    -webkit-line-clamp: 7;
}

.newspaper-teaser a {
    color: var(--red);
    font-weight: 900;
    text-decoration: none;
}

.newspaper-teaser a:hover,
.newspaper-teaser a:focus-visible {
    text-decoration: underline;
}

.boodoku {
    display: grid;
    gap: 12px;
}

.boodoku-heading h3 {
    font-size: 1.35rem;
    line-height: 1;
    margin: 2px 0 0;
    text-transform: uppercase;
}

.boodoku-stats {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px;
}

.boodoku-stats span,
.boodoku-rule-strip span,
.boodoku-message {
    background: rgba(255, 250, 236, .74);
    border: 1px solid rgba(82, 47, 25, .18);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .38);
}

.boodoku-stats span {
    display: grid;
    gap: 2px;
    padding: 7px 8px;
}

.boodoku-stats strong {
    color: var(--red);
    font-size: 1.15rem;
}

.boodoku-rule-strip {
    display: grid;
    gap: 6px;
    grid-template-columns: 1fr;
}

.boodoku-rule-strip span {
    color: #5b3920;
    font-size: .88rem;
    font-weight: 900;
    padding: 6px 8px;
}

.boodoku-message {
    color: #7c3e39;
    font-weight: 900;
    line-height: 1.2;
    margin: 0;
    min-height: 48px;
    padding: 10px 12px;
}

.boodoku-grid {
    background:
        linear-gradient(135deg, rgba(246, 239, 220, .94), rgba(232, 219, 191, .88)),
        var(--paper-texture);
    border: 2px solid rgba(82, 47, 25, .36);
    box-shadow:
        0 12px 24px rgba(31, 19, 12, .14),
        inset 0 0 0 2px rgba(255, 255, 255, .38);
    display: grid;
    gap: clamp(4px, .65vw, 7px);
    grid-template-columns: repeat(var(--boodoku-size), minmax(0, 1fr));
    padding: clamp(8px, 1.4vw, 13px);
    width: 100%;
}

.boodoku-cell {
    align-items: center;
    aspect-ratio: 1;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, .22), rgba(255, 255, 255, 0)),
        var(--boodoku-cell-color);
    border: 1px solid rgba(59, 34, 17, .18);
    border-radius: 6px;
    box-shadow: inset 0 -2px 0 rgba(0, 0, 0, .07);
    cursor: pointer;
    display: grid;
    justify-items: center;
    min-width: 0;
    padding: 0;
    position: relative;
    transition: transform .12s ease, filter .12s ease;
}

.boodoku-cell:hover,
.boodoku-cell:focus-visible {
    filter: saturate(1.08) brightness(1.04);
    transform: translateY(-1px);
}

.boodoku-cell.is-given {
    box-shadow:
        inset 0 0 0 2px rgba(255, 250, 225, .7),
        inset 0 -2px 0 rgba(0, 0, 0, .08);
}

.boodoku-mark {
    display: block;
    height: 76%;
    position: relative;
    width: 76%;
}

.boodoku-cell.has-x .boodoku-mark::before,
.boodoku-cell.has-x .boodoku-mark::after {
    background: rgba(255, 255, 255, .88);
    border-radius: 999px;
    box-shadow: 0 1px 2px rgba(61, 35, 19, .16);
    content: "";
    height: 14%;
    left: 0;
    position: absolute;
    top: 43%;
    width: 100%;
}

.boodoku-cell.has-x .boodoku-mark::before {
    transform: rotate(45deg);
}

.boodoku-cell.has-x .boodoku-mark::after {
    transform: rotate(-45deg);
}

.boodoku-cell.has-ghost .boodoku-mark {
    background: #fff7e9;
    border: 2px solid rgba(75, 43, 24, .62);
    border-radius: 50% 50% 44% 44%;
    box-shadow:
        inset 0 -8px 0 rgba(223, 209, 190, .72),
        0 2px 4px rgba(45, 24, 11, .18);
    height: 70%;
    width: 68%;
}

.boodoku-cell.has-ghost .boodoku-mark::before {
    background:
        radial-gradient(circle at 32% 42%, #332015 0 8%, transparent 9%),
        radial-gradient(circle at 68% 42%, #332015 0 8%, transparent 9%);
    content: "";
    inset: 0;
    position: absolute;
}

.boodoku-cell.has-ghost .boodoku-mark::after {
    background:
        radial-gradient(circle at 16% 100%, var(--boodoku-cell-color) 0 20%, transparent 21%),
        radial-gradient(circle at 50% 100%, var(--boodoku-cell-color) 0 20%, transparent 21%),
        radial-gradient(circle at 84% 100%, var(--boodoku-cell-color) 0 20%, transparent 21%);
    bottom: -3px;
    content: "";
    height: 26%;
    left: -2px;
    position: absolute;
    width: calc(100% + 4px);
}

.boodoku-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.boodoku.is-complete .boodoku-grid {
    box-shadow:
        0 0 0 3px rgba(223, 181, 70, .38),
        0 14px 30px rgba(31, 19, 12, .18);
}

.boodoku.is-complete .boodoku-cell {
    background:
        linear-gradient(135deg, rgba(255, 255, 255, .16), rgba(255, 255, 255, 0)),
        #bfc3c7;
    cursor: default;
    filter: grayscale(.88) saturate(.18);
}

.boodoku.is-complete .boodoku-cell:hover,
.boodoku.is-complete .boodoku-cell:focus-visible {
    filter: grayscale(.88) saturate(.18);
    transform: none;
}

.boodoku-shake {
    animation: boodoku-shake .24s ease;
}

@keyframes boodoku-shake {
    0%,
    100% {
        transform: translateX(0);
    }

    35% {
        transform: translateX(-3px);
    }

    70% {
        transform: translateX(3px);
    }
}

@media (max-width: 820px) {
    .newspaper-layout {
        grid-template-columns: 1fr;
    }

    .newspaper-front,
    .newspaper-layout > .news-panel:nth-child(2),
    .newspaper-sidebar {
        grid-column: auto;
        grid-row: auto;
    }

    .boodoku-stats {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

.bakkie-hero {
    margin-bottom: 16px;
}

.bakkie-banner {
    margin: 0 0 12px;
    border: 2px solid rgba(66, 35, 17, .84);
    background: #1b100b;
    box-shadow: var(--panel-shadow);
}

.bakkie-banner img {
    display: block;
    width: 100%;
    min-height: 86px;
    max-height: 150px;
    object-fit: cover;
}

.bakkie-hero .news-panel {
    background:
        radial-gradient(circle at 98% 4%, rgba(73, 45, 25, .22), transparent 5.4rem),
        linear-gradient(90deg, rgba(92, 48, 24, .22), transparent 18%, transparent 82%, rgba(92, 48, 24, .18)),
        linear-gradient(rgba(247, 228, 186, .9), rgba(222, 188, 126, .86)),
        url("/images/bakkie-snooi/koffiebonen-achtergrond.png") center / cover;
}

.bakkie-hero .news-panel::before {
    width: 78px;
    height: 78px;
    opacity: .86;
}

.bakkie-hero .news-panel::after {
    width: 78px;
    height: 78px;
    opacity: .86;
}

.bakkie-hero .panel-body::before {
    content: "";
    position: absolute;
    top: 4px;
    left: -12px;
    width: 96px;
    height: 96px;
    border-radius: 50%;
    background:
        radial-gradient(circle, transparent 0 27%, rgba(70, 43, 23, .2) 28% 39%, transparent 40%),
        conic-gradient(from 12deg, rgba(78, 47, 25, .22) 0 12deg, transparent 12deg 24deg);
    opacity: .72;
    pointer-events: none;
}

.bakkie-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(240px, .8fr);
    gap: 18px;
    align-items: center;
}

.bakkie-title {
    margin: 0 0 10px;
    color: var(--ink);
    font-size: 34px;
    line-height: 1;
}

.bakkie-showcase {
    display: grid;
    gap: 10px;
    justify-items: center;
}

.bakkie-ready-image {
    width: min(100%, 320px);
    border: 3px solid rgba(60, 32, 16, .84);
    border-image: linear-gradient(90deg, #3f2114, var(--brass-light), #6b3a21, var(--brass)) 1;
    box-shadow: 0 12px 24px rgba(28, 12, 6, .34);
}

.bakkie-big-beans {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.bakkie-big-beans img {
    width: 92px;
    max-width: 30%;
    height: auto;
    filter: drop-shadow(0 8px 8px rgba(50, 21, 13, .26));
}

.brew-action {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 14px;
}

.brew-action .button[disabled] {
    opacity: .62;
    cursor: not-allowed;
}

.brew-action span {
    color: var(--muted-ink);
    font-weight: 800;
}

.brew-status {
    display: grid;
    gap: 8px;
    margin: 14px 0 0;
}

.brew-status div {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    border-bottom: 1px solid rgba(74, 39, 18, .18);
    padding-bottom: 6px;
}

.brew-status dt {
    color: var(--red);
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
}

.brew-status dd {
    margin: 0;
    color: var(--ink);
    font-weight: 800;
    text-align: right;
}

.bakkie-tabs {
    display: grid;
    grid-template-columns: repeat(8, minmax(0, 1fr));
    gap: 8px;
    margin: 0 0 16px;
}

.bakkie-tabs a {
    border: 2px solid #6f3b1c;
    padding: 10px 8px;
    background: rgba(231, 210, 173, .94);
    color: var(--red);
    text-align: center;
    font-size: 13px;
    font-weight: 900;
    text-decoration: none;
    text-transform: uppercase;
    box-shadow: var(--panel-shadow);
}

.bakkie-tabs a:hover,
.bakkie-tabs a:focus-visible {
    background: #f1d9a6;
    outline: 2px solid var(--brass-light);
}

.anchor-target {
    position: relative;
    top: -16px;
}

.bakkie-layout {
    display: grid;
    grid-template-columns: 1.2fr .9fr .9fr;
    gap: 16px;
    margin-bottom: 16px;
}

.bean-row {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
    margin-bottom: 12px;
}

.compact-beans {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.bean-progress {
    height: 14px;
    border: 1px solid rgba(79, 43, 20, .34);
    margin-bottom: 8px;
    background: rgba(255, 248, 226, .38);
    box-shadow: inset 0 1px 2px rgba(50, 21, 13, .22);
}

.bean-progress span {
    display: block;
    height: 100%;
    background: linear-gradient(90deg, #7b4a24, #d4a24d);
}

.bean-row figure {
    margin: 0;
    border: 1px solid rgba(79, 43, 20, .24);
    padding: 8px;
    background: rgba(255, 248, 226, .32);
    text-align: center;
}

.bean-row img {
    width: 72px;
    max-width: 100%;
    height: auto;
}

.bean-row figcaption {
    margin-top: 6px;
    color: var(--muted-ink);
    font-size: 12px;
    font-weight: 800;
}

.bean-row figure span {
    display: inline-block;
    margin-top: 5px;
    border: 1px solid rgba(79, 43, 20, .24);
    padding: 3px 6px;
    color: var(--ink);
    background: rgba(231, 210, 173, .7);
    font-size: 11px;
    font-weight: 900;
    text-transform: uppercase;
}

.bean-stock-list figure {
    min-height: 132px;
}

.bean-stock-list figure span {
    min-width: 42px;
    background: rgba(42, 25, 14, .08);
    color: var(--red);
    font-weight: 900;
}

.bean-row figure a {
    display: block;
    margin-top: 7px;
    color: var(--red);
    font-size: 11px;
    font-weight: 900;
    text-decoration: none;
    text-transform: uppercase;
}

.bean-row figure a:hover,
.bean-row figure a:focus-visible {
    text-decoration: underline;
}

.bean-owned span {
    color: #1d5b24;
}

.bean-missing span {
    color: #7b241a;
}

.bean-mystery span {
    color: #5b1f7a;
}

.bakkie-recipe-list {
    margin-bottom: 16px;
}

.bakkie-recipe-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.bakkie-recipe-card {
    display: flex;
    flex-direction: column;
    gap: 12px;
    border: 1px solid rgba(79, 43, 20, .28);
    padding: 14px;
    background: rgba(255, 248, 226, .46);
    box-shadow: inset 0 0 0 1px rgba(255, 248, 226, .35);
}

.bakkie-recipe-card.is-locked {
    background: rgba(205, 201, 190, .56);
    filter: grayscale(.72);
}

.bakkie-recipe-card > header {
    display: flex;
    align-items: start;
    justify-content: space-between;
    gap: 12px;
}

.bakkie-recipe-card h3,
.bakkie-recipe-card h4,
.bakkie-recipe-card p {
    margin: 0;
}

.recipe-stars,
.recipe-lock-message {
    color: var(--red);
    font-weight: 900;
}

.recipe-stars {
    flex: 0 0 auto;
    text-align: right;
}

.recipe-ingredient-list {
    display: grid;
    gap: 6px;
}

.recipe-ingredient {
    display: grid;
    grid-template-columns: 34px minmax(0, 1fr) auto;
    gap: 9px;
    align-items: center;
    border: 1px solid rgba(79, 43, 20, .18);
    padding: 6px 8px;
    background: rgba(255, 255, 255, .22);
}

.recipe-ingredient img {
    width: 30px;
    height: 30px;
    object-fit: contain;
}

.recipe-ingredient.is-ready strong {
    color: #1d5b24;
}

.recipe-ingredient.is-missing strong {
    color: #7b241a;
}

.recipe-extra-pit {
    display: grid;
    gap: 9px;
    border-top: 1px solid rgba(79, 43, 20, .2);
    padding-top: 12px;
}

@media (max-width: 760px) {
    .bakkie-recipe-grid {
        grid-template-columns: 1fr;
    }

    .bakkie-recipe-card > header {
        display: grid;
    }

    .recipe-stars {
        text-align: left;
    }
}

.recipe-table {
    display: grid;
    gap: 0;
    border: 1px solid rgba(79, 43, 20, .24);
}

.recipe-table div {
    display: grid;
    grid-template-columns: .8fr 1.5fr .8fr;
}

.recipe-table div + div {
    border-top: 1px solid rgba(79, 43, 20, .18);
}

.recipe-table strong,
.recipe-table span {
    padding: 9px;
    color: var(--ink);
    line-height: 1.25;
}

.recipe-table strong {
    color: var(--red);
    text-transform: uppercase;
}

.bean-rules {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    margin-bottom: 12px;
}

.bean-rules div {
    border: 1px solid rgba(79, 43, 20, .24);
    padding: 10px;
    background: rgba(255, 248, 226, .32);
}

.bean-rules img {
    width: 58px;
    height: auto;
    float: right;
    margin-left: 8px;
}

.bean-rules strong {
    display: block;
    color: var(--red);
    text-transform: uppercase;
}

.bean-rules span {
    display: block;
    margin-top: 6px;
    color: var(--muted-ink);
    font-size: 13px;
    line-height: 1.3;
}

.bakkie-options {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin-bottom: 12px;
}

.bakkie-options div {
    position: relative;
    border: 1px solid rgba(79, 43, 20, .24);
    padding: 12px;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, .2), transparent 46%),
        rgba(255, 248, 226, .32);
    box-shadow: inset 0 0 0 1px rgba(255, 248, 226, .2);
}

.bakkie-options strong {
    display: block;
    color: var(--red);
    text-transform: uppercase;
}

.bakkie-options span {
    display: inline-block;
    margin-top: 6px;
    color: var(--ink);
    font-weight: 900;
}

.dumpshop-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    margin-bottom: 18px;
}

.dumpshop-catalog-shell {
    display: grid;
    gap: 16px;
    margin-bottom: 18px;
}

.catalog-control-panel {
    display: grid;
    grid-template-columns: minmax(180px, .7fr) minmax(260px, 1.4fr) minmax(220px, .9fr);
    gap: 12px;
    align-items: stretch;
}

.catalog-control-panel > * {
    min-width: 0;
}

.catalog-shop-note,
.catalog-section-header,
.sell-catalog {
    border: 1px solid rgba(96, 65, 17, .28);
    background: rgba(245, 231, 201, .72);
    box-shadow: inset 0 0 0 1px rgba(255, 246, 220, .48);
}

.catalog-shop-note {
    display: grid;
    gap: 6px;
    padding: 10px 12px;
}

.catalog-shop-note p {
    margin: 0;
}

.catalog-section-header {
    margin-bottom: 12px;
    padding: 9px 11px;
}

.catalog-section-header p {
    margin: 0;
    color: rgba(45, 29, 18, .82);
    font-weight: 800;
}

.catalog-product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(236px, 1fr));
    gap: 12px;
}

.dumpshop-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0 0 16px;
}

.dumpshop-tabs a {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: 2px solid #6f3b1c;
    padding: 10px 14px;
    background: rgba(231, 210, 173, .94);
    color: var(--red);
    font-size: 13px;
    font-weight: 900;
    text-decoration: none;
    text-transform: uppercase;
    box-shadow: var(--panel-shadow);
}

.dumpshop-tabs a.has-tab-alert::after {
    content: "";
    width: 9px;
    height: 9px;
    border: 1px solid rgba(255, 238, 203, .95);
    border-radius: 999px;
    background: #d92217;
    box-shadow:
        0 0 0 1px rgba(100, 0, 0, .35),
        0 0 9px rgba(217, 34, 23, .65);
}

.tab-status-pill {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    min-height: 22px;
    padding: 2px 7px;
    border: 1px solid rgba(111, 59, 28, .45);
    border-radius: 999px;
    background: rgba(255, 244, 207, .72);
    color: #4b2415;
    font-size: 11px;
    line-height: 1;
    white-space: nowrap;
    text-transform: none;
}

.tab-status-pill span {
    color: #8d1c15;
    font-weight: 900;
}

.dumpshop-tabs a:hover,
.dumpshop-tabs a:focus-visible {
    background: #f1d9a6;
    outline: 2px solid var(--brass-light);
}

.habbekrats-layout {
    display: grid;
    grid-template-columns: minmax(280px, 1.4fr) minmax(240px, .8fr);
    gap: 16px;
    align-items: center;
}

.habbekrats-card-frame {
    position: relative;
    margin: 0;
    overflow: hidden;
    background: transparent;
    box-shadow: none;
}

.habbekrats-card-image {
    display: block;
    width: 100%;
}

.habbekrats-stamp-grid {
    position: absolute;
    top: 28.2%;
    left: 4.3%;
    display: grid;
    width: 62.6%;
    height: 59.5%;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    grid-template-rows: repeat(3, minmax(0, 1fr));
    gap: 2.5%;
    place-items: center;
    pointer-events: none;
}

.habbekrats-card-frame.is-extended .habbekrats-stamp-grid {
    top: 24%;
    height: 69.5%;
    grid-template-rows: repeat(5, minmax(0, 1fr));
}

.habbekrats-stamp-grid img {
    width: 92%;
    max-height: 96%;
    border-radius: 50%;
    object-fit: contain;
    filter: drop-shadow(0 5px 5px rgba(20, 9, 3, .38));
}

.habbekrats-details {
    display: grid;
    gap: 10px;
}

.shop-offer {
    position: relative;
    display: grid;
    grid-template-columns: 88px minmax(0, 1fr);
    gap: 12px;
    align-items: start;
    padding: 10px;
    border: 1px solid rgba(96, 65, 17, .38);
    background:
        linear-gradient(135deg, rgba(255, 255, 255, .28), transparent 46%),
        linear-gradient(180deg, rgba(248, 235, 137, .78), rgba(230, 203, 90, .58));
    box-shadow: inset 0 0 0 1px rgba(255, 246, 185, .42), 0 5px 12px rgba(78, 40, 23, .12);
}

.catalog-product-grid .shop-offer {
    grid-template-columns: 72px minmax(0, 1fr);
    grid-template-rows: auto 1fr;
    min-height: 100%;
}

.catalog-product-grid .shop-offer > img,
.catalog-product-grid .trade-item-icon {
    width: 72px;
    max-height: 78px;
    object-fit: contain;
}

.catalog-product-grid .shop-offer .feature-heading {
    margin-bottom: 4px;
    font-size: 1rem;
    line-height: 1.15;
}

.catalog-product-grid .shop-offer p:not(.feature-heading) {
    margin-bottom: 8px;
    font-size: 13px;
    line-height: 1.35;
}

.catalog-product-grid .mission-details {
    gap: 5px;
    margin-bottom: 10px;
}

.catalog-product-grid .mission-details div {
    gap: 8px;
    padding-bottom: 4px;
}

.catalog-product-grid .mission-details dt,
.catalog-product-grid .mission-details dd,
.catalog-product-grid .mission-details dd small {
    font-size: 11px;
}

.catalog-product-grid .shop-actions {
    margin-top: auto;
}

.kerbert-deal-offer {
    border-color: #7a4a0b;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, .34), transparent 42%),
        radial-gradient(circle at 90% 12%, rgba(139, 85, 21, .16), transparent 4.5rem),
        linear-gradient(180deg, rgba(249, 230, 93, .92), rgba(228, 190, 61, .78));
    box-shadow: inset 0 0 0 1px rgba(255, 248, 185, .72), 0 8px 16px rgba(78, 40, 23, .2);
    margin-bottom: 14px;
}

.shop-offer::after {
    content: "";
    position: absolute;
    top: 5px;
    right: 5px;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: radial-gradient(circle, #e5b75b 0 24%, #8d4b23 56%, #35180f 100%);
    opacity: .58;
}

.shop-offer > img {
    width: 88px;
    max-width: 100%;
    height: auto;
}

.shop-offer-sold-out {
    border-style: dashed;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, .12), transparent 46%),
        rgba(218, 203, 174, .18);
}

.shop-offer-sold-out > img,
.shop-offer-sold-out .bean-bundle-icons {
    filter: grayscale(.34) sepia(.12);
    opacity: .74;
}

.shop-offer-sold-out .feature-heading::after {
    content: " uitverkocht";
    color: rgba(92, 63, 43, .78);
    font-size: .74em;
    font-weight: 800;
    text-transform: uppercase;
}

.bean-bundle-icons {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    align-items: center;
}

.catalog-product-grid .bean-bundle-icons {
    align-content: start;
    width: 72px;
}

.bean-bundle-icons img {
    width: 42px;
    height: auto;
}

.catalog-product-grid .bean-bundle-icons img {
    width: 30px;
}

.trade-item-icon {
    display: grid;
    width: 76px;
    height: 62px;
    place-items: center;
    border: 2px solid rgba(91, 57, 32, .52);
    background:
        linear-gradient(135deg, rgba(255, 245, 210, .32), transparent 45%),
        #9b6a3f;
    color: #f7e4bd;
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 2rem;
    font-weight: 900;
    box-shadow: inset 0 0 0 2px rgba(58, 33, 18, .26);
}

.trade-item-chip {
    display: inline-grid;
    width: 22px;
    height: 18px;
    place-items: center;
    border: 1px solid #5b3920;
    background: #9b6a3f;
    color: #f7e4bd;
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 13px;
    font-weight: 900;
    line-height: 1;
    box-shadow: 1px 1px 0 rgba(91, 57, 32, .28);
}

.reward-item-image {
    display: inline-flex;
    align-items: center;
    position: relative;
}

.reward-item-image img {
    width: 30px;
    max-height: 22px;
    object-fit: contain;
    filter: drop-shadow(1px 1px 0 rgba(91, 57, 32, .3));
}

.blueprint-lock-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(280px, .65fr);
    gap: 18px;
    margin-bottom: 18px;
}

.scene-blueprint-guide {
    background-image:
        linear-gradient(rgba(12, 8, 5, .48), rgba(12, 8, 5, .68)),
        url("/images/blueprints/blauwdrukken-op-tno.jpeg");
    background-size: cover;
    background-position: center;
}

.scene-kerbert-blueprints {
    background-image:
        linear-gradient(rgba(12, 8, 5, .34), rgba(12, 8, 5, .7)),
        url("/images/blueprints/kerbert-legt-uit-over-blauwdrukken.jpeg");
    background-size: cover;
    background-position: center top;
}

.blueprint-guide-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
    margin-bottom: 18px;
}

.blueprint-info-panel,
.blueprint-guide-grid .news-panel {
    border-color: rgba(25, 55, 82, .72);
    background:
        linear-gradient(135deg, rgba(246, 248, 232, .68), rgba(177, 207, 222, .82)),
        rgba(189, 217, 231, .78);
}

.blueprint-info-panel h2,
.blueprint-guide-grid .news-panel h2 {
    color: #183854;
}

.blueprint-button,
.button.blueprint-button {
    border-color: rgba(8, 28, 48, .9);
    background:
        linear-gradient(rgba(255, 255, 255, .13), rgba(255, 255, 255, 0)),
        #143a5a;
    color: #f3f0dc;
}

.blueprint-button:hover,
.blueprint-button:focus-visible {
    background:
        linear-gradient(rgba(255, 255, 255, .18), rgba(255, 255, 255, 0)),
        #1d4f78;
}

.blueprint-info-button {
    min-width: 44px;
}

.blueprint-next-step {
    position: relative;
}

.blueprint-next-step::after {
    content: "";
    position: absolute;
    right: 18px;
    bottom: 16px;
    width: 74px;
    height: 74px;
    border: 2px dashed rgba(20, 58, 90, .32);
    border-radius: 50%;
    background:
        radial-gradient(circle, rgba(20, 58, 90, .2) 0 18%, transparent 19%),
        repeating-conic-gradient(from 8deg, rgba(20, 58, 90, .16) 0 7deg, transparent 7deg 22deg);
    opacity: .48;
    pointer-events: none;
}

.character-explain-card {
    max-width: 620px;
    margin: min(34vh, 340px) 0 40px auto;
    padding: 24px;
    border: 2px solid rgba(190, 136, 66, .74);
    background:
        linear-gradient(135deg, rgba(255, 249, 225, .93), rgba(226, 196, 137, .86)),
        rgba(246, 230, 182, .9);
    box-shadow: 0 18px 40px rgba(10, 5, 2, .48), inset 0 0 0 1px rgba(255, 248, 215, .58);
}

.character-explain-card h2 {
    margin: 0 0 12px;
    color: var(--red);
    font-family: Georgia, 'Times New Roman', serif;
    font-size: clamp(28px, 4vw, 46px);
    line-height: 1.05;
}

.character-explain-card p {
    font-size: 18px;
}

.character-explain-card .kerbert-explain-copy {
    color: #1c1208;
    text-shadow: none;
}

.blueprint-explain-stage {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(340px, 520px);
    gap: 18px;
    align-items: start;
    margin: 18px 0 40px;
}

.blueprint-explain-image {
    display: grid;
    place-items: center;
    min-height: 420px;
    margin: 0;
    padding: 12px;
    border: 2px solid rgba(190, 136, 66, .66);
    background: rgba(12, 7, 4, .68);
    box-shadow: 0 18px 40px rgba(10, 5, 2, .48), inset 0 0 0 1px rgba(255, 248, 215, .22);
}

.blueprint-explain-image img {
    display: block;
    width: 100%;
    max-height: min(76vh, 780px);
    object-fit: contain;
}

.blueprint-explain-copy-card {
    max-width: none;
    margin: 0;
}

.blueprint-explain-copy-card h2 {
    font-size: clamp(24px, 3vw, 36px);
}

.blueprint-explain-copy-card form {
    margin: 0;
}

.blueprint-preview {
    margin: 0 0 14px;
    border: 2px solid rgba(52, 37, 27, .55);
    background: rgba(20, 24, 29, .18);
    box-shadow: inset 0 0 0 1px rgba(255, 245, 210, .28), 0 10px 22px rgba(28, 16, 10, .18);
}

.blueprint-preview img {
    display: block;
    width: 100%;
    height: auto;
}

.blueprint-progress {
    margin: 12px 0 10px;
}

.blueprint-roll-offer img {
    width: 104px;
}

@media (max-width: 980px) {
    .blueprint-explain-stage {
        grid-template-columns: 1fr;
    }

    .blueprint-explain-image {
        min-height: 0;
    }
}

.trade-stock-list {
    display: grid;
    gap: 9px;
    margin: 0 0 14px;
    padding: 0;
    list-style: none;
}

.trade-stock-list li {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 10px;
    align-items: start;
    padding: 9px 10px;
    border: 1px solid rgba(91, 57, 32, .24);
    background: rgba(255, 248, 226, .52);
}

.trade-stock-list li > span:nth-child(2) {
    display: grid;
    gap: 3px;
}

.trade-stock-list small {
    color: rgba(45, 29, 18, .72);
}

.sell-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 10px 0;
    border-top: 1px solid rgba(91, 57, 32, .22);
}

.sell-row div {
    display: grid;
    gap: 3px;
}

.sell-item-image {
    width: 62px;
    max-height: 50px;
    object-fit: contain;
    flex: 0 0 auto;
    filter: drop-shadow(1px 2px 0 rgba(91, 57, 32, .24));
}

.sell-row span,
.sell-row small {
    color: rgba(45, 29, 18, .78);
}

.sell-catalog {
    margin-top: 16px;
    padding: 12px;
}

.sell-catalog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 10px;
}

.sell-catalog .sell-row {
    padding: 9px;
    border: 1px solid rgba(74, 39, 18, .18);
    background: rgba(255, 250, 231, .48);
}

.admin-economy-list {
    display: grid;
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.admin-economy-list li {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 12px;
    align-items: start;
    padding: 9px 0;
    border-bottom: 1px solid rgba(91, 57, 32, .18);
}

.admin-economy-list li > span {
    display: grid;
    gap: 3px;
}

.admin-economy-list small {
    color: rgba(45, 29, 18, .7);
}

.admin-economy-list li > strong {
    white-space: nowrap;
    color: var(--red);
}

.shop-wallet {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin: 0 0 14px;
    padding: 9px 10px;
    border: 1px solid rgba(91, 57, 32, .42);
    background: rgba(255, 248, 226, .72);
    color: rgba(45, 29, 18, .86);
    font-weight: 900;
    text-transform: uppercase;
}

.shop-wallet strong {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: var(--red);
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 1.2rem;
}

.stock-refresh-note {
    margin: -4px 0 16px;
    padding: 8px 10px;
    border-left: 3px solid rgba(29, 61, 92, .72);
    background: rgba(221, 234, 240, .46);
    color: rgba(39, 36, 28, .82);
    font-size: .9rem;
    font-style: italic;
}

.ed-helper-action {
    margin: 0 0 16px;
    padding: 10px 12px;
    border: 1px solid rgba(111, 64, 28, .35);
    background: rgba(255, 246, 213, .72);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .18);
}

.ed-helper-action p {
    margin: 0 0 8px;
    color: rgba(43, 31, 22, .86);
}

.ed-helper-action strong {
    color: var(--red);
}

.shop-ed-action {
    background: rgba(246, 229, 164, .8);
    border-color: rgba(130, 82, 26, .46);
}

.mission-board {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    margin-bottom: 18px;
}

.mission-card {
    transition: background .18s ease, border-color .18s ease, filter .18s ease;
}

.mission-card-open {
    border-color: rgba(123, 43, 32, .62);
}

.mission-card-completed {
    border-color: rgba(76, 71, 63, .48);
    background:
        linear-gradient(135deg, rgba(255, 255, 255, .18), transparent 42%),
        repeating-linear-gradient(0deg, rgba(64, 60, 54, .045) 0 1px, transparent 1px 22px),
        rgba(198, 190, 174, .9);
    color: rgba(42, 38, 31, .82);
}

.mission-card-completed h2,
.mission-card-completed .panel-body,
.mission-card-completed .mission-details dd,
.mission-card-completed .mission-details dt {
    color: rgba(50, 45, 38, .78);
}

.mission-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
}

.mission-location-action {
    margin-top: 12px;
}

.press-mission-panel {
    overflow: hidden;
}

.press-search-scene,
.press-detail-scene {
    position: relative;
    margin: 14px 0 10px;
    border: 2px solid rgba(83, 53, 31, .62);
    background: rgba(27, 18, 12, .78);
    box-shadow: inset 0 0 0 1px rgba(255, 240, 190, .18), 0 16px 30px rgba(30, 17, 10, .24);
}

.press-search-scene img,
.press-detail-scene img {
    display: block;
    width: 100%;
    height: auto;
}

.press-detail-scene {
    max-width: 560px;
}

.press-hotspot {
    position: absolute;
    left: 29%;
    top: 31%;
    width: 34%;
    height: 42%;
    border: 2px solid transparent;
    border-radius: 999px;
    background: transparent;
    cursor: pointer;
}

.press-hotspot span {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
}

.press-hotspot:hover,
.press-hotspot:focus-visible {
    border-color: rgba(243, 210, 122, .7);
    background: radial-gradient(circle, rgba(243, 210, 122, .18), rgba(243, 210, 122, .03) 58%, transparent 72%);
    outline: none;
}

.scene-glazen-tong {
    background-image:
        linear-gradient(rgba(26, 19, 14, .48), rgba(26, 19, 14, .58)),
        url('/images/glazen-tong/glazen-tong.jpeg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.glazen-tong-hero {
    background:
        linear-gradient(135deg, rgba(34, 23, 16, .88), rgba(76, 45, 25, .76)),
        url('/images/glazen-tong/glazen-tong.jpeg') center/cover;
    color: #f7ead2;
}

.glazen-tong-shell {
    position: relative;
    min-height: 620px;
    border: 1px solid rgba(211, 166, 92, .42);
    background: rgba(25, 18, 13, .86);
    overflow: hidden;
}

.glazen-tong-cabinet-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: .92;
}

.glazen-tong-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    width: min(820px, 78vw);
    margin: 140px auto 120px;
}

.glazen-tong-slot {
    min-height: 128px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px;
    border: 1px solid rgba(179, 119, 55, .34);
    background: rgba(24, 14, 8, .62);
    color: #f8ead0;
    text-align: center;
}

.glazen-tong-slot img {
    max-width: 72px;
    max-height: 58px;
    object-fit: contain;
    filter: drop-shadow(0 8px 10px rgba(0, 0, 0, .42));
}

.glazen-tong-slot span {
    color: rgba(248, 234, 208, .54);
}

.mission-status-line dd {
    display: inline-flex;
    align-items: center;
    justify-content: flex-end;
    gap: 7px;
}

.mission-status-lamp {
    flex: 0 0 auto;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: 1px solid rgba(46, 27, 14, .42);
}

.mission-status-lamp.open {
    background: radial-gradient(circle, #ff765d 0 20%, #c83220 42%, #76190f 100%);
    box-shadow: 0 0 7px rgba(198, 50, 32, .52);
}

.mission-status-lamp.completed {
    background: radial-gradient(circle, #d7d0c4 0 18%, #8d877c 45%, #555048 100%);
    box-shadow: inset 0 1px 1px rgba(255, 255, 255, .5);
}

.dossier-board .news-panel {
    background:
        linear-gradient(135deg, rgba(255, 255, 255, .22), transparent 40%),
        repeating-linear-gradient(0deg, rgba(92, 57, 31, .06) 0 1px, transparent 1px 22px),
        radial-gradient(circle at 92% 18%, rgba(141, 81, 48, .16), transparent 5.2rem),
        var(--paper);
}

.dossier-board .news-panel.dossier-panel-locked {
    background:
        linear-gradient(135deg, rgba(255, 255, 255, .18), transparent 42%),
        repeating-linear-gradient(0deg, rgba(69, 65, 58, .08) 0 1px, transparent 1px 22px),
        linear-gradient(160deg, rgba(170, 165, 153, .42), rgba(105, 99, 90, .34)),
        #c8c1b4;
    border-color: rgba(76, 71, 63, .52);
    color: #51493f;
}

.dossier-board .news-panel.dossier-panel-locked h2,
.dossier-board .news-panel.dossier-panel-locked dt {
    color: #5d554c;
}

.dossier-board .news-panel.dossier-panel-locked .button {
    filter: grayscale(.8);
}

.dossier-status-ribbon {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin: 0 0 12px;
    padding: 5px 10px;
    border: 1px solid rgba(79, 43, 20, .42);
    background:
        linear-gradient(rgba(255, 255, 255, .22), rgba(255, 255, 255, 0)),
        rgba(85, 52, 29, .16);
    color: var(--muted-ink);
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
    box-shadow: var(--pipe-shadow);
}

.dossier-status-ribbon::before {
    content: "";
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: radial-gradient(circle, #e5b75b 0 24%, #8d4b23 56%, #35180f 100%);
}

.dossier-status-ribbon.active {
    background:
        linear-gradient(rgba(255, 255, 255, .18), rgba(255, 255, 255, 0)),
        rgba(123, 43, 32, .86);
    color: #fff4d4;
}

.dossier-status-ribbon.locked {
    background:
        linear-gradient(rgba(255, 255, 255, .2), rgba(255, 255, 255, 0)),
        rgba(84, 80, 73, .25);
    color: #5d554c;
}

.dossier-status-ribbon.locked::before {
    background: radial-gradient(circle, #d9d4ca 0 18%, #918b81 45%, #5b554d 100%);
}

.mission-details {
    display: grid;
    gap: 8px;
    margin: 0 0 12px;
}

.mission-details div {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    border-bottom: 1px solid rgba(74, 39, 18, .18);
    padding-bottom: 6px;
}

.mission-details dt {
    color: var(--red);
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
}

.mission-details dd {
    margin: 0;
    color: var(--ink);
    font-weight: 800;
    text-align: right;
}

.mission-details dd small {
    display: block;
    margin-top: 2px;
    color: var(--muted-ink);
    font-size: 12px;
    font-weight: 700;
}

.mission-hint {
    padding: 8px 10px;
    border-left: 3px solid var(--red);
    background: rgba(247, 225, 181, .52);
    color: var(--brown);
    font-weight: 800;
}

.city-map-panel {
    margin: 0 0 18px;
    padding: 12px;
    border: 2px solid rgba(65, 36, 18, .7);
    border-image: linear-gradient(90deg, #3f2114, var(--brass-light), #6b3a21, var(--brass)) 1;
    background:
        radial-gradient(circle at 100% 0, rgba(96, 55, 30, .18), transparent 7rem),
        linear-gradient(rgba(255, 248, 226, .78), rgba(234, 202, 143, .72)),
        repeating-linear-gradient(45deg, rgba(98, 62, 29, .08) 0 8px, transparent 8px 16px);
    box-shadow: inset 0 0 0 2px rgba(255, 244, 204, .42), 0 10px 28px rgba(22, 12, 6, .28);
}

.map-legend {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0 0 10px;
}

.map-legend span {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 6px 10px;
    border: 1px solid rgba(76, 41, 19, .4);
    background:
        linear-gradient(135deg, rgba(255, 255, 255, .2), transparent 48%),
        rgba(255, 248, 226, .46);
    color: var(--ink);
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
    box-shadow: var(--pipe-shadow);
}

.legend-dot {
    width: 10px;
    height: 10px;
    border: 1px solid rgba(83, 43, 19, .82);
    border-radius: 50%;
    background: #c08136;
}

.legend-dot.active {
    background: var(--red-bright);
}

.legend-dot.locked {
    background: #8e8e8e;
}

.legend-line {
    width: 24px;
    height: 6px;
    border-top: 2px solid rgba(70, 116, 133, .55);
    border-bottom: 2px solid rgba(70, 116, 133, .22);
}

.city-map-canvas {
    position: relative;
    min-height: 520px;
    overflow: hidden;
    border: 1px solid rgba(73, 42, 20, .5);
    background:
        repeating-linear-gradient(0deg, rgba(79, 43, 20, .06) 0 1px, transparent 1px 42px),
        repeating-linear-gradient(90deg, rgba(79, 43, 20, .06) 0 1px, transparent 1px 42px),
        linear-gradient(90deg, transparent 0 40%, rgba(70, 116, 133, .28) 40% 49%, transparent 49%),
        radial-gradient(circle at 48% 70%, rgba(130, 82, 36, .3) 0 17%, transparent 18%),
        linear-gradient(180deg, rgba(251, 235, 186, .9), rgba(195, 151, 84, .72));
}

.city-map-canvas::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(rgba(248, 224, 176, .28), rgba(184, 126, 55, .16)),
        url("/images/gohes-city-centrum.png") center / cover no-repeat;
    opacity: .58;
    pointer-events: none;
    z-index: 0;
}

.city-map-canvas::before {
    content: "";
    position: absolute;
    inset: 14px;
    border: 1px dashed rgba(78, 43, 22, .24);
    pointer-events: none;
    z-index: 4;
}

.map-water,
.map-square {
    position: absolute;
    color: rgba(50, 31, 18, .68);
    font-family: Georgia, 'Times New Roman', serif;
    font-weight: 900;
    letter-spacing: .04em;
    text-transform: uppercase;
    z-index: 1;
}

.map-damrak {
    top: 24px;
    left: 42%;
    writing-mode: vertical-rl;
}

.map-square {
    left: 42%;
    bottom: 20%;
}

.map-pin {
    position: absolute;
    display: grid;
    min-width: 150px;
    max-width: 210px;
    gap: 3px;
    padding: 12px 14px 10px;
    border: 2px solid rgba(76, 41, 19, .82);
    background:
        linear-gradient(135deg, rgba(255, 255, 255, .28), transparent 42%),
        rgba(249, 226, 176, .94);
    color: var(--ink);
    text-decoration: none;
    box-shadow: 0 5px 14px rgba(30, 15, 8, .28), inset 0 0 0 1px rgba(255, 248, 219, .34);
    z-index: 2;
}

.map-pin::before {
    content: "";
    position: absolute;
    top: 4px;
    left: 5px;
    width: 11px;
    height: 11px;
    border: 2px solid rgba(83, 43, 19, .82);
    border-radius: 50%;
    background: #c08136;
}

.map-pin strong {
    color: var(--red);
    font-size: 15px;
    line-height: 1.05;
    text-transform: uppercase;
}

.map-pin small {
    color: var(--muted-ink);
    font-weight: 900;
}

.map-pin-active {
    border-color: rgba(109, 35, 22, .95);
    background:
        linear-gradient(rgba(255, 236, 190, .96), rgba(231, 184, 108, .94));
    box-shadow: 0 7px 18px rgba(30, 15, 8, .34), inset 0 0 0 2px rgba(255, 248, 219, .48);
}

.map-pin-active::after {
    content: "Speelbaar";
    justify-self: start;
    margin-top: 2px;
    padding: 2px 6px;
    border: 1px solid rgba(109, 35, 22, .45);
    background: rgba(122, 40, 25, .9);
    color: #fff4d4;
    font-size: 11px;
    font-weight: 900;
    text-transform: uppercase;
}

.map-pin-locked {
    border-color: rgba(80, 80, 80, .78);
    background:
        linear-gradient(135deg, rgba(255, 255, 255, .2), transparent 42%),
        rgba(214, 205, 184, .9);
    filter: saturate(.7);
}

.map-pin-locked::before {
    background: #8e8e8e;
}

.map-pin-locked strong {
    color: #4d4d4d;
}

.map-location-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.location-context {
    margin-bottom: 16px;
}

.location-context .panel-body {
    display: grid;
    gap: 10px;
}

.map-redactiegebouw {
    top: 40%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.map-atrium {
    top: 60%;
    left: 47%;
}

.map-lift {
    top: 48%;
    left: 57%;
}

.map-glazen-tong {
    top: 51%;
    left: 34%;
}

.map-voliere {
    top: 22%;
    left: 50%;
}

.map-victoriaans-hotel {
    top: 55%;
    right: 10%;
}

.map-bibliotheek {
    top: 34%;
    left: 31%;
}

.map-dumpshop {
    top: 74%;
    left: 18%;
}

.map-maten {
    top: 73%;
    right: 23%;
}

.quick-links li {
    padding-bottom: 8px;
    border-bottom: 1px solid rgba(74, 39, 18, .18);
    font-weight: 800;
}

.attention-link {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.attention-dot,
.status-activity-dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    flex: 0 0 auto;
    border: 1px solid rgba(255, 238, 203, .9);
    border-radius: 999px;
    background: #d92217;
    box-shadow:
        0 0 0 1px rgba(80, 18, 13, .45),
        0 0 7px rgba(217, 34, 23, .55);
}

.location-links li {
    display: grid;
    gap: 4px;
}

.location-links span,
.location-links small {
    color: var(--muted-ink);
    font-size: 12px;
    font-weight: 700;
    line-height: 1.35;
}

.location-links small a {
    color: var(--red);
    text-decoration: none;
}

.location-links small a:hover,
.location-links small a:focus-visible {
    text-decoration: underline;
}

.progress-row {
    display: grid;
    gap: 6px;
    margin-bottom: 12px;
}

.progress-row div {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    font-size: 14px;
}

.progress-row span,
.progress-row strong {
    font-weight: 800;
}

.progress-row i {
    position: relative;
    overflow: hidden;
    display: block;
    height: 13px;
    border: 1px solid rgba(70, 38, 19, .58);
    border-radius: 999px;
    background:
        repeating-linear-gradient(90deg, rgba(70, 38, 19, .2) 0 2px, transparent 2px 13px),
        rgba(80, 49, 24, .14);
    box-shadow: var(--pipe-shadow);
}

.progress-row i::before {
    content: "";
    display: block;
    width: var(--progress);
    height: 100%;
    border-radius: inherit;
    background:
        linear-gradient(rgba(255, 255, 255, .28), rgba(255, 255, 255, 0)),
        linear-gradient(90deg, #835022, #d19a4d);
}

.dark-panel {
    background:
        linear-gradient(rgba(255, 255, 255, .08), rgba(255, 255, 255, 0)),
        #211612;
    color: #f0d8ad;
}

.dark-panel h2 {
    border-bottom-color: rgba(218, 167, 92, .26);
    color: #e9bf7d;
}

.dashboard-top {
    display: grid;
    grid-template-columns: 260px minmax(360px, 1fr) 300px;
    gap: 18px;
    max-width: 1660px;
    margin: 0 auto 10px;
    align-items: stretch;
}

.top-masthead {
    position: relative;
    display: grid;
    place-items: center;
    padding: 13px 18px;
    text-align: center;
    overflow: hidden;
}

.top-masthead::after {
    content: "";
    position: absolute;
    top: -2px;
    right: -2px;
    width: 118px;
    height: 118px;
    background:
        linear-gradient(90deg, rgba(231, 210, 173, .28), rgba(231, 210, 173, .02)),
        url("/images/steampunk/rader-randje-rechts-clean.png") top right / 96px 96px no-repeat;
    opacity: .62;
    pointer-events: none;
}

.top-masthead::before {
    content: "";
    position: absolute;
    left: -8px;
    bottom: -4px;
    width: 34px;
    height: 132px;
    background: url("/images/steampunk/tandwiel-deco-soft.png") left bottom / cover no-repeat;
    opacity: .34;
    pointer-events: none;
}

.top-masthead h1 {
    position: relative;
    z-index: 1;
    margin: 0;
    font-size: clamp(34px, 5vw, 68px);
    line-height: .9;
    text-transform: uppercase;
}

.top-masthead p {
    position: relative;
    z-index: 1;
}

.main-nav {
    position: relative;
    overflow: hidden;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    max-width: 1660px;
    margin: 0 auto 12px;
    background:
        linear-gradient(rgba(255, 255, 255, .08), rgba(255, 255, 255, 0)),
        repeating-linear-gradient(90deg, transparent 0 78px, rgba(216, 168, 90, .12) 78px 82px),
        #5a261b;
    box-shadow: var(--pipe-shadow), 0 8px 20px rgba(0, 0, 0, .26);
}

.main-nav::before,
.main-nav::after {
    content: "";
    position: absolute;
    top: 0;
    width: 26px;
    height: 26px;
    background: url("/images/steampunk/bout-randje-soft.png") top right / contain no-repeat;
    opacity: .55;
    pointer-events: none;
}

.main-nav::before {
    left: 0;
    transform: scaleX(-1);
}

.main-nav::after {
    right: 0;
}

.main-nav a {
    position: relative;
    z-index: 1;
    padding: 12px 17px;
    border-right: 1px solid rgba(232, 187, 113, .28);
    color: #f3d8a9;
    text-decoration: none;
    font-weight: 800;
}

.main-nav a.has-nav-dot {
    padding-right: 27px;
}

.nav-activity-dot {
    position: absolute;
    top: 7px;
    right: 8px;
    width: 9px;
    height: 9px;
    border: 1px solid rgba(255, 238, 203, .9);
    border-radius: 999px;
    background: #d92217;
    box-shadow:
        0 0 0 1px rgba(80, 18, 13, .5),
        0 0 8px rgba(217, 34, 23, .65);
    pointer-events: none;
}

.has-nav-dot-muted .nav-activity-dot {
    background: #8e8e8e;
    box-shadow:
        0 0 0 1px rgba(55, 55, 55, .45),
        0 0 7px rgba(120, 120, 120, .55);
}

.main-nav a:hover,
.main-nav a:focus-visible,
.main-nav a.active {
    background:
        linear-gradient(rgba(255, 255, 255, .14), rgba(255, 255, 255, 0)),
        #7b3324;
    color: #fff4d4;
}

.main-nav a.active {
    box-shadow: inset 0 -3px 0 rgba(238, 201, 143, .82);
}

.main-nav a:last-child {
    border-right: 0;
}

.nav-form {
    display: contents;
}

.nav-form button {
    position: relative;
    z-index: 1;
    padding: 12px 17px;
    border: 0;
    border-right: 1px solid rgba(232, 187, 113, .28);
    background: transparent;
    color: #f3d8a9;
    font: inherit;
    font-weight: 800;
    cursor: pointer;
}

.nav-form button:hover,
.nav-form button:focus-visible {
    background:
        linear-gradient(rgba(255, 255, 255, .14), rgba(255, 255, 255, 0)),
        #7b3324;
    color: #fff4d4;
}

.signed-in-strip {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
    max-width: 1660px;
    margin: -5px auto 10px;
    padding: 0 2px;
    color: #f2d39d;
    font-size: 12px;
    font-weight: 800;
}

.online-user-count,
.signed-in-name {
    display: inline-flex;
    min-width: 0;
    align-items: center;
    gap: 6px;
}

.signed-in-name {
    margin-left: auto;
}

.signed-in-name strong {
    max-width: min(48vw, 340px);
    overflow: hidden;
    color: #fff4d4;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.redaction-status {
    display: grid;
    grid-template-columns: repeat(2, minmax(140px, .7fr)) minmax(250px, 1.18fr) minmax(190px, .9fr) minmax(260px, 1.42fr);
    gap: 8px;
    max-width: 1660px;
    margin: -4px auto 16px;
}

.redaction-status a {
    position: relative;
    overflow: hidden;
    min-height: 62px;
    padding: 10px 12px;
    border: 1px solid rgba(85, 45, 24, .52);
    background:
        linear-gradient(135deg, rgba(255, 248, 226, .2), rgba(83, 46, 24, .18)),
        rgba(233, 204, 150, .9);
    color: var(--ink);
    text-decoration: none;
    box-shadow: inset 0 0 0 1px rgba(255, 246, 214, .22), 0 5px 12px rgba(0, 0, 0, .18);
}

.redaction-status a::after {
    content: "";
    position: absolute;
    top: 3px;
    right: 3px;
    width: 20px;
    height: 20px;
    background: url("/images/steampunk/bout-randje-soft.png") top right / contain no-repeat;
    opacity: .42;
    pointer-events: none;
}

.redaction-status span,
.redaction-status small {
    display: block;
}

.redaction-status span {
    color: var(--red);
    font-size: 11px;
    font-weight: 900;
    text-transform: uppercase;
}

.redaction-status strong {
    display: block;
    margin-top: 4px;
    color: var(--ink);
    font-size: 18px;
    line-height: 1.1;
}

.status-rank i,
.status-blueprints i {
    display: block;
    height: 8px;
    margin-top: 8px;
    border: 1px solid rgba(70, 38, 19, .42);
    border-radius: 999px;
    background:
        linear-gradient(90deg, #7b3a23 var(--progress), rgba(80, 49, 24, .16) var(--progress));
    box-shadow: inset 0 1px 2px rgba(47, 26, 14, .32);
}

.status-blueprints {
    display: grid;
    align-content: start;
}

.status-blueprints small {
    margin-top: 5px;
    color: var(--muted-ink);
    font-size: 12px;
    font-weight: 800;
    line-height: 1.15;
}

.status-missions {
    display: grid;
    gap: 2px;
}

.status-missions.is-complete {
    border-color: rgba(76, 71, 63, .48);
    background:
        linear-gradient(135deg, rgba(255, 255, 255, .12), rgba(70, 66, 59, .12)),
        rgba(198, 190, 174, .9);
    color: rgba(42, 38, 31, .82);
    filter: grayscale(.28);
}

.status-missions.is-complete span,
.status-missions.is-complete strong,
.status-missions.is-complete small {
    color: rgba(50, 45, 38, .74);
}

.status-missions strong {
    position: absolute;
    top: 9px;
    right: 44px;
    margin: 0;
    color: var(--red);
}

.status-activity-dot {
    position: absolute;
    top: 13px;
    right: 28px;
}

.status-missions small {
    color: var(--muted-ink);
    font-size: 12px;
    font-weight: 800;
    line-height: 1.25;
}

.dashboard-layout {
    display: grid;
    grid-template-columns: 270px minmax(440px, 1fr) 290px;
    gap: 18px;
    max-width: 1660px;
    margin: 0 auto;
    align-items: start;
}

.dashboard-feedback {
    max-width: 1660px;
    margin: 12px auto;
}

.dashboard-focus-strip {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
    max-width: 1660px;
    margin: 12px auto 14px;
}

.focus-card {
    position: relative;
    display: grid;
    gap: 4px;
    min-height: 82px;
    padding: 12px 14px;
    border: 1px solid rgba(74, 39, 18, .36);
    background:
        linear-gradient(135deg, rgba(255, 255, 255, .18), rgba(255, 255, 255, 0) 48%),
        rgba(231, 210, 173, .94);
    color: var(--ink);
    text-decoration: none;
    box-shadow: 0 6px 16px rgba(0, 0, 0, .28), inset 0 0 0 1px rgba(255, 245, 214, .34);
}

.focus-card::after {
    content: "";
    position: absolute;
    top: 10px;
    right: 10px;
    width: 11px;
    height: 11px;
    border-radius: 50%;
    background: radial-gradient(circle, #b7aa8d 0 28%, #6e6759 62%, #373127 100%);
    box-shadow: 0 0 0 1px rgba(74, 39, 18, .32);
}

.focus-card span {
    color: var(--red);
    font-size: 11px;
    font-weight: 900;
    text-transform: uppercase;
}

.focus-card strong {
    color: var(--ink);
    font-size: 24px;
    line-height: 1;
}

.focus-card small {
    max-width: 92%;
    color: var(--muted-ink);
    font-size: 12px;
    font-weight: 800;
    line-height: 1.22;
}

.focus-card.is-hot {
    border-color: rgba(91, 31, 23, .58);
    background:
        linear-gradient(135deg, rgba(255, 255, 255, .2), rgba(255, 255, 255, 0) 48%),
        linear-gradient(90deg, rgba(123, 43, 32, .16), rgba(231, 210, 173, .96) 56%);
}

.focus-card.is-hot::after {
    background: radial-gradient(circle, #f0d064 0 24%, #b65a28 56%, #5b1f17 100%);
}

.focus-card.is-locked,
.focus-card.is-quiet {
    filter: saturate(.72);
}

.focus-card.is-quiet {
    opacity: .82;
}

.focus-card:hover,
.focus-card:focus-visible {
    outline: 2px solid rgba(216, 168, 90, .76);
    transform: translateY(-1px);
}

.story-next-step {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    max-width: 1660px;
    margin: 0 auto 14px;
    padding: 14px 16px;
    border: 1px solid rgba(164, 119, 34, .48);
    background:
        linear-gradient(90deg, rgba(255, 251, 216, .94), rgba(246, 223, 128, .96) 42%, rgba(220, 174, 76, .9)),
        #f4da7e;
    box-shadow: 0 8px 22px rgba(0, 0, 0, .26), inset 0 0 0 1px rgba(255, 245, 214, .32);
}

.story-next-step.story-next-step-build {
    border-color: rgba(58, 92, 132, .52);
    background:
        linear-gradient(90deg, rgba(214, 235, 255, .9), rgba(154, 196, 229, .96) 42%, rgba(93, 135, 174, .92)),
        #9fc5e8;
    box-shadow: 0 8px 22px rgba(0, 0, 0, .26), inset 0 0 0 1px rgba(239, 248, 255, .38);
}

.story-next-step > div {
    display: grid;
    gap: 5px;
    min-width: 0;
}

.story-next-step span {
    color: var(--red);
    font-size: 11px;
    font-weight: 900;
    text-transform: uppercase;
}

.story-next-step h2 {
    margin: 0;
    color: var(--ink);
    font-size: 20px;
    line-height: 1.1;
}

.story-next-step p {
    max-width: 920px;
    margin: 0;
    color: var(--muted-ink);
    font-weight: 700;
    line-height: 1.35;
}

.story-next-step strong {
    color: var(--red);
    font-size: 13px;
}

.story-next-step .button {
    flex: 0 0 auto;
}

.redaction-floor {
    position: relative;
    min-height: 500px;
}

.location-card {
    position: absolute;
    width: 220px;
    padding: 16px 18px;
    text-align: center;
}

.location-card strong {
    display: block;
    text-transform: uppercase;
    font-size: 18px;
    line-height: 1.05;
}

.location-card span {
    display: block;
    margin-top: 8px;
    color: var(--muted-ink);
    font-weight: 700;
    line-height: 1.3;
}

.location-card.postkamer {
    left: 4%;
    top: 8%;
}

.location-card.cafe {
    left: 28%;
    top: 6%;
}

.location-card.library {
    right: 29%;
    top: 7%;
}

.location-card.dumpshop {
    right: 4%;
    top: 8%;
}

.bottom-widgets {
    display: grid;
    grid-template-columns: 1.15fr .75fr .95fr .8fr;
    gap: 18px;
    max-width: 1660px;
    margin: 14px auto 0;
    align-items: stretch;
}

.package-row {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 8px;
}

.package-summary {
    margin-top: 0;
    color: var(--muted-ink);
    font-weight: 700;
}

.package-row span {
    position: relative;
    min-height: 80px;
    padding: 10px;
    border: 1px solid rgba(79, 43, 20, .28);
    background:
        linear-gradient(135deg, rgba(255, 255, 255, .18), transparent 46%),
        rgba(255, 248, 226, .24);
    box-shadow: inset 0 0 0 1px rgba(255, 248, 226, .22);
    text-align: center;
    font-size: 13px;
    line-height: 1.25;
}

.package-row img {
    display: block;
    width: 100%;
    height: 54px;
    margin: 0 auto 6px;
    object-fit: contain;
    filter: drop-shadow(0 4px 5px rgba(37, 20, 10, .28));
}

.package-row img.is-opened {
    opacity: .54;
    filter: grayscale(.35) drop-shadow(0 3px 4px rgba(37, 20, 10, .18));
}

.package-row span::after {
    content: "";
    position: absolute;
    top: 4px;
    right: 4px;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: radial-gradient(circle, #e5b75b 0 24%, #8d4b23 56%, #35180f 100%);
    opacity: .64;
}

.package-row b {
    display: inline-block;
    margin-top: 8px;
    color: var(--red);
    text-transform: uppercase;
}

.dashboard-bean-summary {
    margin: 12px 0;
    padding: 10px;
    border: 1px solid rgba(213, 162, 77, .35);
    background: rgba(20, 14, 10, .42);
}

.dashboard-bean-summary p {
    margin: 0 0 8px;
    color: #f0d49b;
    font-weight: 900;
}

.dashboard-bean-summary div {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.dashboard-bean-summary span {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 4px 7px;
    border: 1px solid rgba(213, 162, 77, .35);
    background: rgba(255, 235, 185, .09);
    color: #f5dfb6;
    font-size: .82rem;
    font-weight: 900;
}

.dashboard-bean-summary img {
    width: 28px;
    height: auto;
}

.inline-action-form {
    display: inline;
}

.inline-action-form button {
    appearance: none;
    border: 0;
    padding: 0;
    color: var(--red);
    background: transparent;
    font: inherit;
    font-weight: 800;
    text-transform: uppercase;
    cursor: pointer;
}

.inline-action-form button:hover,
.inline-action-form button:focus-visible {
    text-decoration: underline;
}

.bean-forage {
    position: fixed;
    right: 18px;
    bottom: 18px;
    z-index: 30;
    display: grid;
    gap: 8px;
    max-width: min(260px, calc(100vw - 36px));
    padding: 10px;
    border: 2px solid rgba(91, 57, 32, .72);
    background:
        linear-gradient(rgba(255, 255, 255, .16), rgba(255, 255, 255, 0)),
        #e6c996;
    box-shadow: 0 12px 28px rgba(0, 0, 0, .35), inset 0 0 0 1px rgba(255, 245, 215, .32);
}

.bean-forage p {
    margin: 0;
    color: var(--ink);
    font-size: .86rem;
    font-weight: 800;
}

.bean-forage form {
    margin: 0;
}

.bean-forage button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    width: 100%;
    border: 1px solid rgba(91, 57, 32, .42);
    padding: 7px 10px;
    background: rgba(117, 37, 28, .92);
    color: #f7e7bd;
    font: inherit;
    font-weight: 900;
    text-transform: uppercase;
    cursor: pointer;
}

.bean-forage button:hover,
.bean-forage button:focus-visible {
    background: #5f1d18;
}

.bean-forage img {
    width: 18px;
    height: 18px;
    image-rendering: auto;
}

.bean-forage.bean-forage-lost-item {
    background: transparent;
    border: 0;
    bottom: 14px;
    box-shadow: none;
    max-width: min(360px, calc(100vw - 28px));
    padding: 0;
    right: 14px;
    width: auto;
    z-index: 45;
}

.bean-forage.bean-forage-lost-item button {
    align-items: center;
    background:
        linear-gradient(rgba(255, 255, 255, .18), rgba(255, 255, 255, 0) 48%),
        rgba(231, 202, 151, .97);
    border: 2px solid #6e3f1f;
    box-shadow: 0 16px 30px rgba(0, 0, 0, .42), inset 0 0 0 1px rgba(255, 243, 205, .42);
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-width: min(330px, calc(100vw - 28px));
    padding: 12px;
}

.bean-forage.bean-forage-lost-item button:hover,
.bean-forage.bean-forage-lost-item button:focus-visible {
    background:
        linear-gradient(rgba(255, 255, 255, .22), rgba(255, 255, 255, 0) 48%),
        rgba(241, 215, 168, .98);
}

.bean-forage.bean-forage-lost-item img {
    height: auto;
    max-height: 300px;
    max-width: min(250px, 72vw);
    object-fit: contain;
    width: auto;
}

.bean-forage.bean-forage-lost-item span {
    color: #5b1f17;
    font-size: 15px;
    font-weight: 900;
}

.signature {
    margin-top: 10px;
    color: var(--muted-ink);
    font-weight: 800;
}

.footer-bar {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
    max-width: 1660px;
    margin: 10px auto 0;
    padding: 8px 12px;
    background: rgba(18, 14, 11, .86);
    color: #d3b582;
    font-size: 13px;
}

.auth-scene {
    display: grid;
    place-items: center;
}

.auth-shell {
    width: min(520px, 100%);
}

.auth-masthead {
    margin-bottom: 14px;
}

.auth-form {
    display: grid;
    gap: 14px;
}

.bot-field {
    height: 0;
    margin: 0;
    opacity: 0;
    overflow: hidden;
    pointer-events: none;
    position: absolute;
    transform: translateX(-9999px);
    width: 0;
}

.auth-form label {
    display: grid;
    gap: 6px;
    color: var(--red);
    font-weight: 900;
    text-transform: uppercase;
}

.auth-form input[type="email"],
.auth-form input[type="password"],
.auth-form input[type="text"],
.auth-form select,
.auth-form textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid rgba(70, 38, 19, .45);
    background:
        repeating-linear-gradient(0deg, transparent 0 28px, rgba(61, 86, 122, .15) 28px 29px),
        #f8e8c6;
    color: var(--ink);
    font: inherit;
}

.password-reveal-field {
    position: relative;
}

.password-reveal-field input {
    padding-right: 50px;
}

.password-reveal-button {
    align-items: center;
    background: rgba(255, 248, 226, .78);
    border: 1px solid rgba(70, 38, 19, .38);
    color: var(--red);
    cursor: pointer;
    display: inline-flex;
    height: 34px;
    justify-content: center;
    padding: 0;
    position: absolute;
    right: 7px;
    top: 50%;
    transform: translateY(-50%);
    width: 38px;
}

.password-reveal-button svg {
    fill: none;
    height: 20px;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 2;
    width: 20px;
}

.password-reveal-button[aria-pressed="true"] {
    background: #f2d88b;
}

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

.admin-list-item {
    border-bottom: 1px solid rgba(70, 38, 19, .24);
    padding: 0 0 14px;
}

.admin-list-item + .admin-list-item {
    padding-top: 14px;
}

.admin-list-item h2 {
    color: var(--ink);
    font-size: 1.05rem;
    margin: 0 0 6px;
}

.admin-list-item small {
    display: block;
    color: var(--red);
    font-weight: 800;
    margin-top: 10px;
}

.compact-form {
    margin-bottom: 18px;
}

.admin-external-news-list {
    display: grid;
    gap: 14px;
}

.external-admin-article {
    display: grid;
    grid-template-columns: 96px minmax(0, 1fr);
    gap: 14px;
}

.admin-external-news-image {
    width: 96px;
    aspect-ratio: 1;
    object-fit: cover;
    border: 1px solid rgba(74, 39, 18, .28);
}

.image-placeholder {
    display: grid;
    place-items: center;
    background: rgba(216, 196, 151, .32);
    color: var(--red);
    font-size: .7rem;
    font-weight: 900;
    text-align: center;
    padding: 8px;
}

.inline-admin-form {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
    margin-top: 10px;
}

.admin-lost-item-row {
    align-items: start;
    display: grid;
    gap: 16px;
    grid-template-columns: 104px minmax(0, 1fr);
}

.admin-lost-item-thumb {
    background: rgba(32, 19, 12, .84);
    border: 1px solid rgba(92, 57, 31, .4);
    height: 92px;
    object-fit: contain;
    padding: 6px;
    width: 92px;
}

.admin-item-meta {
    color: var(--muted);
    font-size: .82rem;
    font-weight: 900;
    letter-spacing: .08em;
    margin: -2px 0 10px;
    text-transform: uppercase;
}

.admin-actions {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.dialogue-exchange {
    background:
        repeating-linear-gradient(0deg, transparent 0 28px, rgba(61, 86, 122, .12) 28px 29px),
        rgba(248, 232, 198, .78);
    border: 1px solid rgba(70, 38, 19, .3);
    margin: 14px 0;
    padding: 14px;
}

.dialogue-options {
    display: grid;
    gap: 10px;
}

.dialogue-options button {
    background: linear-gradient(180deg, #f4dba4, #c89051);
    border: 1px solid rgba(70, 38, 19, .55);
    color: var(--ink);
    cursor: pointer;
    font: inherit;
    font-weight: 900;
    padding: 12px;
    text-align: left;
}

.dialogue-options button:hover,
.dialogue-options button:focus-visible {
    filter: brightness(1.06);
    outline: 2px solid rgba(120, 47, 30, .35);
}

.dialogue-options .dialogue-important-choice {
    background: linear-gradient(180deg, #d7ecdf, #8dbda0);
    border-color: rgba(37, 87, 66, .65);
    box-shadow: inset 0 0 0 1px rgba(244, 255, 238, .45);
}

.checkbox-row {
    display: flex !important;
    align-items: center;
    gap: 8px;
    color: var(--ink) !important;
    text-transform: none !important;
}

.form-message {
    margin-bottom: 12px;
    padding: 10px 12px;
    border: 1px solid #7b2b20;
    background: #f0c4b8;
    color: #4a1711;
    font-weight: 800;
}

.auth-link {
    display: block;
    margin-top: 16px;
    color: var(--red);
    font-weight: 900;
}

.profile-shell {
    max-width: 1180px;
    margin: 0 auto;
}

.profile-masthead {
    margin-bottom: 12px;
}

.profile-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    margin-bottom: 18px;
}

.ed-helper-grid {
    display: grid;
    gap: 10px;
}

.ed-helper-card {
    display: grid;
    grid-template-columns: 112px minmax(0, 1fr);
    align-items: start;
    gap: 12px;
    padding: 10px 0;
    border-top: 1px solid rgba(91, 57, 32, .18);
}

.ed-helper-card:first-child {
    border-top: 0;
    padding-top: 0;
}

.ed-helper-card img {
    width: 112px;
    height: 112px;
    max-width: 112px;
    max-height: 112px;
    object-fit: contain;
    align-self: start;
    filter: drop-shadow(1px 2px 0 rgba(57, 30, 16, .18));
}

.ed-helper-card h3 {
    margin: 0 0 3px;
    font-size: 1rem;
    line-height: 1.12;
}

.ed-helper-card strong {
    display: block;
    margin-bottom: 4px;
    color: var(--red);
    font-size: .78rem;
    line-height: 1.2;
    text-transform: uppercase;
}

.ed-helper-card p {
    margin: 0 0 8px;
    font-size: .9rem;
    line-height: 1.35;
}

.ed-helper-card.is-disabled {
    opacity: .68;
}

.ed-helper-card.is-on img {
    filter: drop-shadow(0 0 6px rgba(201, 146, 58, .54)) drop-shadow(1px 2px 0 rgba(57, 30, 16, .18));
}

.ed-helper-disabled,
.ed-helper-enabled {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    font-weight: 800;
    font-size: .82rem;
}

.ed-helper-disabled {
    color: rgba(45, 29, 18, .68);
}

.ed-helper-enabled {
    color: #28703f;
}

.scene-rina .profile-shell {
    max-width: 1480px;
}

.rina-dialogue-grid {
    grid-template-columns: minmax(290px, 430px) minmax(280px, 1fr) minmax(290px, 390px);
    align-items: start;
    min-height: clamp(520px, calc(100vh - 245px), 780px);
}

.scene-rina .news-panel {
    background:
        linear-gradient(rgba(255, 255, 255, .2), rgba(255, 255, 255, 0) 48%),
        radial-gradient(circle at 92% 12%, rgba(141, 81, 48, .1), transparent 5.6rem),
        linear-gradient(135deg, rgba(83, 46, 24, .12), transparent 34%),
        rgba(231, 210, 173, .88);
}

.rina-reception-panel {
    grid-column: 1;
}

.rina-notebook-panel {
    grid-column: 3;
    justify-self: end;
    margin-top: 58px;
    width: 100%;
}

.profile-action-row {
    display: flex;
    justify-content: flex-end;
    margin: -4px 0 18px;
}

.ledger-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0 0 16px;
}

.ledger-filters a {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 8px 12px;
    border: 1px solid rgba(91, 57, 32, .5);
    background: rgba(245, 229, 191, .86);
    color: var(--ink);
    font-weight: 900;
    text-decoration: none;
    text-transform: uppercase;
    box-shadow: 2px 2px 0 rgba(40, 24, 14, .28);
}

.ledger-filters a span {
    display: inline-grid;
    place-items: center;
    min-width: 22px;
    height: 22px;
    padding: 0 6px;
    border: 1px solid rgba(91, 57, 32, .46);
    background: rgba(255, 248, 226, .76);
    color: var(--red);
    font-size: .82rem;
}

.ledger-filters a:hover,
.ledger-filters a:focus-visible,
.ledger-filters a.active {
    background: var(--red);
    color: #f7e2b5;
}

.ledger-filters a:hover span,
.ledger-filters a:focus-visible span,
.ledger-filters a.active span {
    border-color: rgba(247, 226, 181, .64);
    background: rgba(40, 24, 14, .24);
    color: #f7e2b5;
}

.ledger-summary {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    margin: -4px 0 16px;
}

.ledger-summary span {
    position: relative;
    padding: 10px 12px;
    border: 1px solid rgba(91, 57, 32, .42);
    background:
        linear-gradient(135deg, rgba(255, 255, 255, .24), transparent 46%),
        rgba(255, 248, 226, .72);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .28);
    color: rgba(45, 29, 18, .82);
    font-size: .88rem;
    font-weight: 800;
    text-transform: uppercase;
}

.ledger-summary strong {
    display: block;
    color: var(--red);
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 1.28rem;
    line-height: 1.05;
}

.ledger-day-list {
    display: grid;
    gap: 18px;
}

.ledger-day {
    display: grid;
    gap: 10px;
}

.ledger-day h2 {
    display: inline-flex;
    align-items: center;
    justify-self: start;
    margin: 0;
    padding: 5px 12px;
    border: 1px solid rgba(91, 57, 32, .42);
    background: rgba(82, 45, 24, .13);
    color: var(--red);
    font-family: Georgia, 'Times New Roman', serif;
    font-size: .95rem;
    letter-spacing: 0;
    text-transform: uppercase;
}

.reward-list {
    display: grid;
    gap: 10px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.reward-list li {
    position: relative;
    display: flex;
    justify-content: space-between;
    gap: 14px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(74, 39, 18, .22);
}

.reward-list li::before {
    content: "";
    flex: 0 0 7px;
    width: 7px;
    height: 7px;
    align-self: .48em;
    border-radius: 50%;
    background: radial-gradient(circle, #e5b75b 0 24%, #8d4b23 56%, #35180f 100%);
    opacity: .7;
}

.reward-list strong {
    color: var(--red);
    white-space: nowrap;
}

.reward-list li.story-progress-upcoming {
    opacity: .68;
}

.reward-list li.story-progress-upcoming::before {
    background: radial-gradient(circle, #d5d1c7 0 24%, #8c867a 56%, #4f4a43 100%);
}

.reward-list li.story-progress-upcoming span,
.reward-list li.story-progress-upcoming small,
.reward-list li.story-progress-upcoming strong {
    color: rgba(67, 61, 54, .72);
}

.ledger-list li > span {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.ledger-list strong {
    display: inline-grid;
    gap: 2px;
    justify-items: end;
}

.ledger-list .reward-bean img {
    width: 30px;
    max-height: 23px;
    object-fit: contain;
}

.leaderboard-table {
    display: grid;
    gap: 10px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.leaderboard-table li {
    position: relative;
    display: grid;
    grid-template-columns: 48px minmax(0, 1fr) auto;
    gap: 14px;
    align-items: center;
    padding: 12px;
    border: 1px solid rgba(74, 39, 18, .18);
    background:
        linear-gradient(135deg, rgba(255, 255, 255, .16), transparent 46%),
        rgba(255, 248, 226, .26);
}

.leaderboard-table .you {
    border-color: rgba(123, 43, 32, .55);
    background: rgba(245, 220, 174, .46);
}

.leaderboard-rank {
    display: grid;
    place-items: center;
    width: 36px;
    height: 36px;
    border: 1px solid #5b3920;
    background: #f5e5bf;
    color: var(--red);
    font-weight: 900;
}

.leaderboard-name {
    display: grid;
    gap: 3px;
}

.leaderboard-name strong {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.online-dot {
    display: inline-block;
    width: 10px;
    height: 10px;
    border: 1px solid rgba(57, 30, 16, .32);
    border-radius: 50%;
    background: rgba(95, 86, 74, .42);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .38);
}

.online-dot.is-online {
    border-color: rgba(28, 101, 57, .48);
    background: #28b463;
    box-shadow: 0 0 0 3px rgba(40, 180, 99, .18), inset 0 1px 0 rgba(255, 255, 255, .55);
}

.leaderboard-name small {
    color: var(--muted-ink);
    font-weight: 800;
}

.reward-list small {
    display: block;
    margin-top: 2px;
    color: var(--muted-ink);
    font-size: .78rem;
    font-weight: 700;
}

.leaderboard-score {
    color: var(--red);
    font-weight: 900;
    white-space: nowrap;
}

.leaderboard-score small {
    display: block;
    margin-top: 3px;
    color: var(--muted-ink);
    font-size: .76rem;
    font-weight: 800;
}

.admin-player-list li {
    grid-template-columns: 48px minmax(0, 1fr) minmax(150px, auto);
}

.postkamer-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    margin-bottom: 18px;
}

.package-card {
    isolation: isolate;
}

.package-card .panel-body {
    padding-top: 16px;
}

.package-card .panel-body::before {
    content: "";
    position: absolute;
    top: 4px;
    left: 14px;
    right: 14px;
    z-index: -1;
    height: 14px;
    border: 1px solid rgba(65, 35, 18, .3);
    border-radius: 999px;
    background:
        linear-gradient(90deg, rgba(58, 31, 18, .34), rgba(224, 171, 83, .72), rgba(62, 34, 20, .28));
    box-shadow: var(--pipe-shadow);
    opacity: .62;
}

.postkamer-beans {
    margin: 16px 0;
}

.postkamer-beans .bean-row {
    background: rgba(247, 225, 181, .7);
}

.package-clue {
    position: relative;
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 12px 0;
    padding: 9px 12px 9px 13px;
    border: 1px solid rgba(91, 57, 32, .28);
    background:
        linear-gradient(90deg, rgba(255, 248, 226, .28), transparent 52%),
        rgba(247, 225, 181, .62);
    color: var(--brown);
    font-weight: 900;
    box-shadow: inset 0 0 0 1px rgba(255, 245, 214, .22);
}

.package-clue::after {
    content: "";
    position: absolute;
    right: 9px;
    top: 50%;
    width: 10px;
    height: 10px;
    border: 1px solid rgba(67, 36, 20, .46);
    border-radius: 50%;
    background:
        radial-gradient(circle, var(--brass-light) 0 24%, var(--copper) 58%, #35180f 100%);
    transform: translateY(-50%);
    opacity: .78;
}

.package-clue-icon {
    display: inline-grid;
    place-items: center;
    width: 28px;
    height: 28px;
    flex: 0 0 auto;
    border: 1px solid rgba(67, 36, 20, .42);
    border-radius: 50%;
    background: rgba(255, 248, 226, .72);
    color: var(--red);
    font-family: Georgia, 'Times New Roman', serif;
    font-weight: 900;
}

.package-scan-result {
    margin: 10px 0;
    padding: 9px 11px;
    border-left: 4px solid rgba(29, 61, 92, .78);
    background:
        linear-gradient(90deg, rgba(221, 234, 240, .74), rgba(255, 248, 226, .34));
    color: rgba(39, 36, 28, .86);
    font-size: .9rem;
    font-weight: 800;
}

.package-scan-result strong {
    color: var(--blue);
}

.active-scanner-card {
    display: grid;
    grid-template-columns: 74px minmax(0, 1fr);
    gap: 12px;
    align-items: center;
    margin: 12px 0;
    padding: 10px;
    border: 1px solid rgba(80, 47, 22, .28);
    background:
        linear-gradient(135deg, rgba(255, 255, 255, .28), transparent 48%),
        rgba(249, 226, 176, .62);
}

.active-scanner-card img {
    width: 74px;
    height: 54px;
    object-fit: contain;
    mix-blend-mode: multiply;
}

.active-scanner-card p {
    margin: 0;
    color: var(--muted-ink);
    font-size: .9rem;
}

.active-scanner-card strong {
    display: block;
    color: var(--red);
}

.cheque-panel {
    border-color: #7a4a0b;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, .34), transparent 42%),
        radial-gradient(circle at 90% 12%, rgba(139, 85, 21, .16), transparent 4.5rem),
        linear-gradient(180deg, rgba(249, 230, 93, .92), rgba(228, 190, 61, .78));
    box-shadow: inset 0 0 0 1px rgba(255, 248, 185, .72), 0 8px 16px rgba(78, 40, 23, .2);
}

.dossier-reward-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin: 12px 0;
    padding: 10px 12px;
    border: 1px solid rgba(122, 74, 11, .72);
    background:
        linear-gradient(135deg, rgba(255, 255, 255, .34), transparent 44%),
        linear-gradient(180deg, rgba(249, 230, 93, .9), rgba(228, 190, 61, .74));
    box-shadow: inset 0 0 0 1px rgba(255, 248, 185, .7), 0 6px 12px rgba(78, 40, 23, .14);
}

.dossier-reward-card span,
.dossier-reward-card strong {
    color: var(--red);
    font-size: .82rem;
    font-weight: 900;
    text-transform: uppercase;
}

.dossier-reward-card form {
    margin: 0;
}

.collection-reward-card {
    margin: 0 0 2px;
}

.collection-shelf {
    display: grid;
    gap: 14px;
}

.collection-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0 0 14px;
}

.collection-tab {
    border: 1px solid rgba(94, 50, 26, .32);
    border-radius: 999px;
    background: rgba(255, 248, 226, .72);
    color: var(--muted-ink);
    cursor: default;
    font: inherit;
    font-size: 12px;
    font-weight: 900;
    padding: 7px 12px;
    text-transform: uppercase;
}

.collection-tab.is-active {
    background: var(--red);
    border-color: var(--red);
    color: #fff6dd;
}

.collection-tab.is-disabled {
    opacity: .48;
}

.collection-card {
    display: grid;
    gap: 12px;
}

.collection-card header {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    align-items: center;
    border-bottom: 1px solid rgba(82, 45, 22, .18);
    padding-bottom: 8px;
}

.collection-card header strong {
    color: var(--red);
    text-transform: uppercase;
}

.collection-card header span {
    font-weight: 900;
    color: var(--muted-ink);
}

.collection-item-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(86px, 112px));
    gap: 10px;
}

.collection-item-grid figure {
    display: grid;
    gap: 7px;
    justify-items: center;
    margin: 0;
    padding: 7px;
    border: 1px solid rgba(80, 47, 22, .2);
    background: rgba(255, 248, 226, .58);
}

.collection-item-grid img {
    width: 64px;
    height: 64px;
    object-fit: contain;
    background: rgba(37, 22, 15, .9);
}

.collection-item-grid figcaption {
    color: var(--ink);
    font-size: 11px;
    font-weight: 900;
    line-height: 1.2;
    text-align: center;
}

.package-reward {
    color: var(--muted-ink);
    font-size: .94rem;
}

.package-card .button[disabled] {
    opacity: .58;
    cursor: not-allowed;
}

.package-illustration {
    position: relative;
    overflow: hidden;
    display: grid;
    place-items: center;
    min-height: 140px;
    margin: 0 0 12px;
    margin-bottom: 12px;
    border: 1px solid rgba(79, 43, 20, .38);
    background:
        url("/images/steampunk/tandwiel-deco-soft.png") right bottom / 78px 120px no-repeat,
        repeating-linear-gradient(90deg, rgba(80, 46, 25, .13) 0 1px, transparent 1px 22px),
        linear-gradient(rgba(255, 255, 255, .18), rgba(255, 255, 255, 0)),
        #d1a66d;
    box-shadow: inset 0 0 28px rgba(73, 39, 18, .18), 0 5px 12px rgba(35, 19, 11, .16);
}

.package-illustration img {
    position: relative;
    z-index: 1;
    display: block;
    width: 100%;
    max-width: 230px;
    height: 126px;
    object-fit: contain;
    filter: drop-shadow(0 7px 10px rgba(37, 20, 10, .32));
}

.package-illustration.is-opened img {
    opacity: .58;
    filter: grayscale(.34) drop-shadow(0 5px 8px rgba(37, 20, 10, .2));
}

.game-shell {
    max-width: 1420px;
    margin: 0 auto;
}

.game-masthead {
    margin-bottom: 12px;
}

.game-masthead h1 {
    color: var(--ink);
}

.game-nav {
    margin-bottom: 14px;
}

.game-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 310px;
    gap: 18px;
    align-items: start;
}

.copy-desk {
    isolation: isolate;
    min-height: 560px;
}

.copy-desk > h2::after {
    right: 6px;
    width: 96px;
}

.copy-desk .panel-body {
    padding-top: 18px;
}

.copy-desk .panel-body::before {
    content: "";
    position: absolute;
    top: -4px;
    left: 18px;
    right: 18px;
    z-index: -1;
    height: 20px;
    border: 1px solid rgba(61, 33, 18, .36);
    border-radius: 999px;
    background:
        linear-gradient(90deg, rgba(67, 35, 19, .36), rgba(217, 162, 79, .75), rgba(69, 37, 20, .34));
    box-shadow: var(--pipe-shadow);
    opacity: .72;
}

.copy-desk .panel-body::after {
    right: -36px;
    bottom: 78px;
    width: 150px;
    height: 150px;
    background: url("/images/steampunk/tandwiel-deco-soft.png") center / contain no-repeat;
    opacity: .16;
}

.copy-count {
    color: var(--red);
    font-weight: 900;
    text-transform: uppercase;
}

.round-progress {
    position: relative;
    overflow: hidden;
    height: 12px;
    margin: 0 0 14px;
    border: 1px solid rgba(70, 38, 19, .48);
    border-radius: 999px;
    background:
        repeating-linear-gradient(90deg, rgba(91, 57, 32, .22) 0 1px, transparent 1px 16px),
        rgba(80, 49, 24, .14);
    box-shadow: inset 0 1px 3px rgba(47, 26, 14, .38);
}

.round-progress::before {
    content: "";
    display: block;
    width: var(--progress);
    height: 100%;
    background: linear-gradient(90deg, #6d351e, #d39a48);
}

.copy-slip {
    position: relative;
    margin: 0 0 18px;
    padding: 28px 28px 28px 58px;
    border: 1px solid rgba(70, 38, 19, .3);
    background:
        linear-gradient(90deg, transparent 0 39px, rgba(145, 38, 28, .42) 39px 41px, transparent 41px),
        repeating-linear-gradient(0deg, transparent 0 31px, rgba(61, 86, 122, .22) 31px 32px),
        linear-gradient(#f8e8c6, #dfc792);
    box-shadow: inset 0 0 36px rgba(90, 52, 25, .13), 0 10px 22px rgba(0, 0, 0, .22);
}

.copy-slip::after {
    content: "";
    position: absolute;
    top: 12px;
    right: 14px;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background:
        radial-gradient(circle, transparent 0 26%, rgba(78, 47, 25, .22) 27% 40%, transparent 41% 51%, rgba(78, 47, 25, .14) 52% 58%, transparent 59%),
        conic-gradient(from 6deg, rgba(102, 62, 32, .24) 0 14deg, transparent 14deg 26deg);
    opacity: .72;
    pointer-events: none;
}

.copy-slip::before {
    content: "";
    position: absolute;
    top: 16px;
    bottom: 16px;
    left: 18px;
    width: 12px;
    background:
        radial-gradient(circle, rgba(76, 43, 22, .45) 0 3px, transparent 4px) 0 0 / 12px 42px;
    opacity: .65;
}

.copy-slip h2 {
    margin: 0 0 12px;
    border: 0;
    padding: 0;
    color: var(--ink);
    text-align: left;
    text-transform: none;
    font-size: clamp(25px, 4vw, 42px);
    line-height: 1.02;
}

.copy-slip p {
    max-width: 820px;
    color: var(--muted-ink);
    font-size: 18px;
    line-height: 1.55;
}

.finished-slip {
    min-height: 260px;
    display: grid;
    align-content: center;
}

.final-report {
    min-height: 360px;
}

.final-score {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    margin: 20px 0 0;
}

.final-score div {
    padding: 14px;
    border: 1px solid rgba(79, 43, 20, .28);
    background: rgba(255, 248, 226, .3);
}

.final-score dt {
    color: var(--red);
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
}

.final-score dd {
    margin: 6px 0 0;
    color: var(--ink);
    font-size: 28px;
    font-weight: 900;
}

.department-choices {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    padding: 12px;
    border: 1px solid rgba(73, 39, 20, .26);
    background:
        linear-gradient(rgba(255, 248, 226, .2), rgba(82, 45, 24, .08)),
        repeating-linear-gradient(90deg, rgba(91, 57, 32, .12) 0 1px, transparent 1px 26px);
    box-shadow: inset 0 0 18px rgba(64, 35, 18, .16);
}

.department-choices button {
    position: relative;
    overflow: hidden;
    min-height: 118px;
    padding: 16px 34px 15px 14px;
    border: 2px solid #6f3b1c;
    border-radius: 2px;
    background:
        url("/images/steampunk/bout-randje-soft.png") top right / 28px 28px no-repeat,
        linear-gradient(rgba(255, 255, 255, .2), rgba(255, 255, 255, 0)),
        #d8bd86;
    color: var(--ink);
    font-family: inherit;
    text-align: left;
    cursor: pointer;
    box-shadow: inset 0 0 0 1px rgba(255, 245, 214, .28), 0 6px 14px rgba(0, 0, 0, .22);
}

.department-choices button::before {
    content: "";
    position: absolute;
    left: 10px;
    right: 10px;
    bottom: 9px;
    height: 3px;
    border-radius: 999px;
    background:
        linear-gradient(90deg, transparent, rgba(97, 54, 28, .48), transparent);
    opacity: .74;
}

.department-choices button::after {
    content: "";
    position: absolute;
    right: 10px;
    bottom: 11px;
    width: 14px;
    height: 14px;
    border: 1px solid rgba(57, 30, 16, .48);
    border-radius: 50%;
    background:
        radial-gradient(circle, var(--brass-light) 0 24%, var(--copper) 56%, #35180f 100%);
    box-shadow: 0 0 0 2px rgba(255, 235, 185, .16);
}

.department-choices button:hover,
.department-choices button:focus {
    outline: 2px solid var(--brass-light);
    background:
        url("/images/steampunk/bout-randje-soft.png") top right / 28px 28px no-repeat,
        linear-gradient(rgba(255, 255, 255, .28), rgba(255, 255, 255, 0)),
        #e4c994;
    transform: translateY(-1px);
}

.department-choices button.is-disabled-by-ed {
    cursor: not-allowed;
    opacity: .58;
    filter: grayscale(.85);
    background:
        url("/images/steampunk/bout-randje-soft.png") top right / 28px 28px no-repeat,
        linear-gradient(145deg, rgba(196, 188, 171, .94), rgba(136, 128, 114, .82));
    transform: none;
}

.department-choices button.is-disabled-by-ed::after {
    background: radial-gradient(circle, #c4c4c4 0 30%, #777 62%, #333 100%);
}

.department-choices button.is-disabled-by-ed:hover,
.department-choices button.is-disabled-by-ed:focus {
    outline: none;
    box-shadow: inset 0 0 0 1px rgba(60, 48, 35, .25);
    transform: none;
}

.department-choices strong {
    display: block;
    color: var(--red);
    text-transform: uppercase;
    font-size: 15px;
    line-height: 1.1;
}

.department-choices span {
    display: block;
    margin-top: 7px;
    color: var(--muted-ink);
    font-size: 13px;
    line-height: 1.28;
}

.department-choices small {
    display: block;
    margin-top: .45rem;
    color: #4b4035;
    font-size: .78rem;
    font-weight: 700;
}

.ed-helper-note {
    margin: .8rem 0 0;
    color: #4a3926;
    font-weight: 700;
}

.game-feedback {
    display: grid;
    gap: 4px;
    margin: 0 0 14px;
    padding: 13px 16px;
    border: 2px solid #703f1e;
    background: rgba(231, 210, 173, .94);
    color: var(--ink);
    box-shadow: var(--panel-shadow);
}

.game-feedback strong {
    color: var(--red);
    text-transform: uppercase;
}

.game-feedback span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.kerbert-quote {
    margin: 4px 0 0;
    padding: 8px 10px;
    border-left: 3px solid var(--red);
    background: rgba(78, 43, 25, .1);
    color: rgba(45, 29, 18, .86);
    font-family: Georgia, 'Times New Roman', serif;
    font-weight: 700;
}

.reward-summary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.reward-chips {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
}

.reward-chip {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 3px 7px;
    border: 1px solid rgba(91, 57, 32, .58);
    border-radius: 3px;
    background: rgba(255, 245, 218, .66);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .36);
    font-size: 13px;
    font-weight: 700;
}

.reward-chip img {
    width: 26px;
    max-height: 20px;
    object-fit: contain;
    filter: drop-shadow(1px 1px 0 rgba(91, 57, 32, .3));
}

.bean-event-list li > span {
    align-items: center;
    display: inline-flex;
    gap: 8px;
}

.currency-event-list li > span {
    align-items: center;
    display: inline-flex;
    gap: 8px;
}

.bean-event-list .reward-bean img {
    width: 28px;
    max-height: 22px;
    object-fit: contain;
    filter: drop-shadow(1px 1px 0 rgba(91, 57, 32, .3));
}

.bean-event-list strong,
.currency-event-list strong {
    display: inline-grid;
    gap: 2px;
    justify-items: end;
}

.reward-bean {
    position: relative;
    display: inline-flex;
    align-items: center;
}

.reward-money {
    position: relative;
    display: inline-flex;
    align-items: center;
}

.reward-chip .money-icon {
    margin-left: 0;
    transform: scale(.86);
    transform-origin: center;
}

.reward-money.money-gain::after,
.reward-money.money-spend::after,
.reward-bean.bean-gain::after,
.reward-bean.bean-spend::after {
    position: absolute;
    right: -8px;
    bottom: -5px;
    z-index: 2;
    width: 15px;
    height: 15px;
    border: 2px solid currentColor;
    border-radius: 50%;
    color: #fff;
    font-family: Arial, sans-serif;
    font-size: 14px;
    font-weight: 900;
    line-height: 11px;
    text-align: center;
    box-shadow: 1px 1px 0 rgba(91, 57, 32, .38);
}

.reward-money.money-gain::after {
    content: "+";
    border-color: #245b28;
    background: #3d8b3f;
}

.reward-money.money-spend::after {
    content: "-";
    border-color: #7b241a;
    background: #b33a2b;
}

.reward-bean.bean-gain::after {
    content: "+";
    border-color: #245b28;
    background: #3d8b3f;
}

.reward-bean.bean-spend::after {
    content: "-";
    border-color: #7b241a;
    background: #b33a2b;
}

.rina-assistant {
    align-items: flex-end;
    bottom: 14px;
    display: flex;
    gap: 10px;
    max-width: min(520px, calc(100vw - 24px));
    pointer-events: none;
    position: fixed;
    right: 14px;
    z-index: 40;
}

.rina-assistant img {
    display: block;
    filter: drop-shadow(0 16px 18px rgba(0, 0, 0, .46));
    height: auto;
    max-height: 290px;
    max-width: min(230px, 38vw);
    object-fit: contain;
    pointer-events: none;
}

.rina-assistant.assistant-kerbert img {
    max-height: 300px;
    max-width: min(255px, 40vw);
}

.rina-assistant-message {
    align-self: center;
    background:
        linear-gradient(rgba(255, 255, 255, .2), rgba(255, 255, 255, 0) 44%),
        rgba(238, 214, 174, .96);
    border: 2px solid #7b4a21;
    border-radius: 8px;
    box-shadow: 0 12px 28px rgba(0, 0, 0, .42), inset 0 0 0 1px rgba(255, 245, 214, .48);
    color: var(--ink);
    display: grid;
    gap: 6px;
    line-height: 1.28;
    max-width: 280px;
    padding: 13px 15px;
    pointer-events: auto;
    position: relative;
}

.rina-assistant.assistant-kerbert .rina-assistant-message {
    background:
        linear-gradient(rgba(255, 244, 205, .22), rgba(255, 244, 205, 0) 46%),
        rgba(219, 190, 139, .97);
    border-color: #4e2817;
}

.rina-assistant-message::after {
    content: none;
}

.rina-assistant-message strong {
    color: var(--red);
    font-size: 15px;
    text-transform: uppercase;
}

.rina-assistant.assistant-kerbert .rina-assistant-message strong,
.rina-assistant.assistant-kerbert .rina-assistant-message a {
    color: #5b1f17;
}

.rina-assistant-message span {
    font-size: 15px;
}

.rina-assistant-message a {
    color: var(--red);
    font-weight: 900;
    text-decoration: underline;
}

.rina-assistant-close {
    background: #5b1f17;
    border: 1px solid rgba(255, 232, 180, .62);
    border-radius: 50%;
    box-shadow: 0 4px 12px rgba(0, 0, 0, .35);
    color: #f7e5bf;
    cursor: pointer;
    font-size: 20px;
    font-weight: 900;
    height: 30px;
    line-height: 1;
    pointer-events: auto;
    position: absolute;
    right: 0;
    top: -6px;
    width: 30px;
    z-index: 2;
}

.rina-assistant-close:hover,
.rina-assistant-close:focus-visible {
    background: #7b2b20;
    outline: 2px solid rgba(255, 232, 180, .68);
}

.game-feedback.correct {
    border-color: #2f6b34;
    background:
        linear-gradient(rgba(255, 255, 255, .2), rgba(255, 255, 255, 0)),
        #d9ebc9;
    color: #163d19;
}

.game-feedback.correct strong {
    color: #1d5b24;
}

.game-feedback.neutral {
    border-color: #8d6438;
    background:
        linear-gradient(rgba(255, 255, 255, .18), rgba(255, 255, 255, 0)),
        #ead8b8;
    color: #3b2517;
}

.game-feedback.neutral strong {
    color: #6b3b20;
}

.game-feedback.wrong {
    border-color: #7b2b20;
    background:
        linear-gradient(rgba(255, 255, 255, .16), rgba(255, 255, 255, 0)),
        #f0c4b8;
    color: #4a1711;
}

.game-feedback.wrong strong {
    color: #7b241a;
}

.star-icon,
.star-add-icon {
    --star-size: 17px;
    position: relative;
    display: inline-block;
    width: var(--star-size);
    height: var(--star-size);
    margin-left: 5px;
    background:
        linear-gradient(145deg, #f3d58c, #ad7326);
    clip-path: polygon(50% 0, 61% 35%, 98% 35%, 68% 56%, 79% 92%, 50% 70%, 21% 92%, 32% 56%, 2% 35%, 39% 35%);
    filter: drop-shadow(1px 1px 0 rgba(67, 37, 19, .72));
    vertical-align: -3px;
}

.star-icon::after,
.star-add-icon::after {
    content: "";
    position: absolute;
    inset: 3px;
    background: rgba(255, 245, 196, .35);
    clip-path: inherit;
}

.star-add-icon {
    --star-size: 18px;
    width: 30px;
    margin-left: 2px;
    background: none;
    clip-path: none;
    filter: none;
    overflow: visible;
}

.star-add-icon::before {
    content: "+";
    position: absolute;
    right: -1px;
    bottom: -5px;
    z-index: 2;
    width: 17px;
    height: 17px;
    border: 2px solid #245b28;
    border-radius: 50%;
    background: #3d8b3f;
    color: #fff;
    font-family: Arial, sans-serif;
    font-size: 15px;
    font-weight: 900;
    line-height: 13px;
    text-align: center;
    box-shadow: 1px 1px 0 rgba(91, 57, 32, .35);
}

.star-add-icon::after {
    inset: 0 auto auto 0;
    width: var(--star-size);
    height: var(--star-size);
    background:
        linear-gradient(145deg, rgba(255, 246, 186, .62), rgba(255, 246, 186, .12) 42%, transparent 43%),
        linear-gradient(145deg, #f3d58c, #ad7326);
    clip-path: polygon(50% 0, 61% 35%, 98% 35%, 68% 56%, 79% 92%, 50% 70%, 21% 92%, 32% 56%, 2% 35%, 39% 35%);
    filter: drop-shadow(1px 1px 0 rgba(67, 37, 19, .72));
}

.article-icon {
    position: relative;
    display: inline-block;
    width: 15px;
    height: 17px;
    margin-left: 5px;
    border: 1px solid #5b3920;
    background:
        repeating-linear-gradient(0deg, transparent 0 4px, rgba(80, 56, 38, .42) 4px 5px),
        #f5e5bf;
    vertical-align: -3px;
    box-shadow: 2px 2px 0 rgba(91, 57, 32, .22);
}

.article-icon::before {
    content: "";
    position: absolute;
    top: -1px;
    right: -1px;
    border-top: 5px solid #c99f62;
    border-left: 5px solid transparent;
}

.money-icon {
    position: relative;
    display: inline-block;
    width: 24px;
    height: 16px;
    margin-left: 5px;
    vertical-align: -3px;
}

.money-icon::before,
.money-icon::after {
    content: "";
    position: absolute;
    width: 18px;
    height: 11px;
    border: 1px solid #5b3920;
    background:
        radial-gradient(circle at 50% 50%, rgba(91, 57, 32, .18) 0 3px, transparent 4px),
        linear-gradient(#d9ebc9, #a9c57b);
    box-shadow: 1px 1px 0 rgba(91, 57, 32, .28);
}

.money-icon::before {
    left: 1px;
    top: 4px;
    transform: rotate(-8deg);
}

.money-icon::after {
    left: 5px;
    top: 1px;
    transform: rotate(5deg);
}

@media (max-width: 1180px) {
    .landing-layout,
    .dashboard-top,
    .dashboard-layout,
    .bottom-widgets {
        grid-template-columns: 1fr;
    }

    .landing-center {
        order: -1;
        min-height: 58vh;
        padding: 18vh 0 5vh;
    }

    .redaction-floor {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
        min-height: auto;
    }

    .location-card {
        position: relative;
        inset: auto;
        width: auto;
    }

    .main-nav {
        justify-content: flex-start;
    }

    .redaction-status {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .dashboard-focus-strip {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .story-next-step {
        align-items: stretch;
        flex-direction: column;
    }

    .story-next-step .button {
        width: fit-content;
    }

    .status-rank,
    .status-blueprints,
    .status-missions {
        grid-column: span 2;
    }

    .game-layout {
        grid-template-columns: 1fr;
    }

    .department-choices {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .profile-grid {
        grid-template-columns: 1fr;
    }

    .rina-dialogue-grid {
        grid-template-columns: 1fr;
        min-height: 0;
    }

    .rina-reception-panel,
    .rina-notebook-panel {
        grid-column: auto;
        margin-top: 0;
    }

    .postkamer-grid {
        grid-template-columns: 1fr;
    }

    .blueprint-lock-grid,
    .dumpshop-grid,
    .catalog-control-panel {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 720px) {
    .scene {
        padding: 10px;
        background-position: center top;
    }

    .scene::before {
        background:
            linear-gradient(90deg, rgba(0, 0, 0, .58), rgba(0, 0, 0, .22), rgba(0, 0, 0, .58)),
            linear-gradient(0deg, rgba(0, 0, 0, .74), rgba(0, 0, 0, .08) 48%, rgba(0, 0, 0, .48));
    }

    .landing-layout,
    .dashboard-top,
    .dashboard-layout,
    .bottom-widgets,
    .panel-stack {
        gap: 12px;
    }

    .landing-title h1,
    .top-masthead h1 {
        font-size: 36px;
    }

    .deadline {
        font-size: 34px;
    }

    .redaction-floor,
    .package-row,
    .ledger-summary {
        grid-template-columns: 1fr;
    }

    .main-nav a {
        width: 50%;
        padding: 10px;
        font-size: 14px;
    }

    .main-nav a.has-nav-dot {
        padding-right: 24px;
    }

    .redaction-status {
        grid-template-columns: 1fr;
    }

    .dashboard-focus-strip {
        grid-template-columns: 1fr;
    }

    .story-next-step {
        gap: 12px;
    }

    .story-next-step .button {
        width: 100%;
    }

    .status-rank,
    .status-blueprints,
    .status-missions {
        grid-column: auto;
    }

    .rina-assistant {
        align-items: flex-end;
        left: 10px;
        right: 10px;
    }

    .rina-assistant img {
        max-height: 190px;
        max-width: 34vw;
    }

    .rina-assistant-message {
        max-width: none;
        padding: 11px 13px;
    }

    .rina-assistant-message span {
        font-size: 14px;
    }

    .department-choices {
        grid-template-columns: 1fr;
    }

    .copy-slip {
        padding: 18px 18px 18px 42px;
    }

    .final-score {
        grid-template-columns: 1fr;
    }

    .shop-offer {
        grid-template-columns: 72px minmax(0, 1fr);
    }

    .catalog-product-grid {
        grid-template-columns: 1fr;
    }

    .catalog-product-grid .shop-offer {
        grid-template-columns: 64px minmax(0, 1fr);
    }

    .shop-offer > img,
    .catalog-product-grid .shop-offer > img,
    .blueprint-roll-offer img {
        width: 64px;
    }

    .catalog-product-grid .bean-bundle-icons {
        width: 64px;
    }

    .catalog-product-grid .bean-bundle-icons img {
        width: 26px;
    }

    .sell-catalog-grid {
        grid-template-columns: 1fr;
    }

    .sell-row {
        align-items: flex-start;
        flex-wrap: wrap;
    }
}

.onboarding-scene {
    --onboarding-image: none;
    align-items: stretch;
    background:
        linear-gradient(90deg, rgba(0, 0, 0, .72), rgba(0, 0, 0, .08) 34%, rgba(0, 0, 0, .08) 66%, rgba(0, 0, 0, .58)),
        linear-gradient(0deg, rgba(0, 0, 0, .78), rgba(0, 0, 0, .06) 46%, rgba(0, 0, 0, .46)),
        var(--onboarding-image) center center / cover no-repeat;
    color: var(--ink);
    display: grid;
    min-height: 100vh;
    padding: 24px;
}

.onboarding-card {
    align-self: start;
    background:
        linear-gradient(135deg, rgba(43, 25, 16, .70), rgba(82, 49, 30, .56)),
        var(--paper-texture);
    border: 2px solid rgba(88, 47, 26, .86);
    box-shadow:
        0 18px 34px rgba(0, 0, 0, .42),
        inset 0 0 0 1px rgba(255, 246, 211, .52);
    justify-self: start;
    max-width: calc(100vw - 48px);
    padding: 20px;
    position: relative;
    text-shadow: 0 2px 5px rgba(0, 0, 0, .82);
    width: min(430px, 42vw);
    z-index: 1;
}

.onboarding-card::before,
.onboarding-card::after {
    background: #bc762b;
    border: 2px solid rgba(78, 40, 18, .86);
    border-radius: 50%;
    box-shadow: inset 0 1px 1px rgba(255, 229, 158, .76);
    content: "";
    height: 10px;
    position: absolute;
    top: 10px;
    width: 10px;
}

.onboarding-card::before {
    left: 10px;
}

.onboarding-card::after {
    right: 10px;
}

.onboarding-card-bottom-left {
    align-self: end;
    margin-bottom: 32px;
}

.onboarding-card-top-left {
    margin-top: 12px;
}

.onboarding-step,
.onboarding-speaker {
    color: #fff2c7;
    font-weight: 900;
    margin: 0;
    text-transform: uppercase;
}

.onboarding-step {
    font-size: 13px;
    letter-spacing: .08em;
    padding-left: 18px;
}

.onboarding-card h1 {
    border-bottom: 1px solid rgba(255, 231, 177, .42);
    color: #fffaf0;
    font-size: clamp(30px, 4vw, 54px);
    line-height: .95;
    margin: 8px 0 12px;
    padding-bottom: 10px;
}

.onboarding-text {
    color: #fff8e7;
    font-size: 22px;
    line-height: 1.26;
    margin: 12px 0 18px;
}

.onboarding-card .button {
    width: 100%;
}

.story-intro-page,
.lift-page {
    align-items: center;
    background: #120c09;
    color: #fff8e7;
    display: grid;
    min-height: 100vh;
    overflow: hidden;
    padding: 18px;
    position: relative;
}

.story-intro-image,
.lift-image {
    inset: 0;
    margin: 0;
    position: absolute;
}

.story-intro-image img,
.lift-image img {
    background: #120c09;
    height: 100%;
    object-fit: contain;
    object-position: center;
    width: 100%;
}

.story-intro-card,
.lift-card {
    align-self: end;
    background:
        linear-gradient(135deg, rgba(43, 25, 16, .76), rgba(82, 49, 30, .62)),
        var(--paper-texture);
    border: 2px solid rgba(88, 47, 26, .86);
    box-shadow:
        0 18px 34px rgba(0, 0, 0, .46),
        inset 0 0 0 1px rgba(255, 246, 211, .52);
    justify-self: start;
    max-width: min(560px, calc(100vw - 36px));
    padding: 20px;
    position: relative;
    text-shadow: 0 2px 5px rgba(0, 0, 0, .82);
    z-index: 1;
}

.story-intro-card h1,
.lift-card h1 {
    border-bottom: 1px solid rgba(255, 231, 177, .42);
    color: #fffaf0;
    font-size: clamp(28px, 4vw, 50px);
    line-height: .98;
    margin: 8px 0 12px;
    padding-bottom: 10px;
}

.lift-card p {
    color: #fff8e7;
    font-size: 22px;
    line-height: 1.28;
    margin: 12px 0 18px;
}

.story-intro-card .button,
.lift-card .button {
    width: 100%;
}

.lift-hotspot {
    background: rgba(246, 203, 86, 0);
    border: 2px solid transparent;
    display: block;
    height: var(--hotspot-height);
    left: var(--hotspot-left);
    position: absolute;
    top: var(--hotspot-top);
    width: var(--hotspot-width);
    z-index: 3;
}

.lift-hotspot:focus-visible,
.lift-hotspot:hover {
    background: rgba(246, 203, 86, .14);
    border-color: rgba(255, 225, 126, .82);
    box-shadow: 0 0 22px rgba(246, 203, 86, .32);
    outline: none;
}

.lift-overview-link {
    background:
        linear-gradient(135deg, rgba(50, 30, 19, .94), rgba(97, 58, 32, .92)),
        var(--paper-texture);
    border: 2px solid rgba(234, 188, 91, .76);
    box-shadow: 0 12px 24px rgba(0, 0, 0, .38), inset 0 0 0 1px rgba(255, 239, 190, .32);
    color: #ffe9a3;
    font-weight: 900;
    left: 18px;
    padding: 12px 18px;
    position: absolute;
    text-decoration: none;
    text-transform: uppercase;
    top: 18px;
    z-index: 4;
}

.lift-map-arrow {
    align-items: end;
    bottom: 20px;
    color: #3f2115;
    display: grid;
    font-weight: 950;
    height: 118px;
    justify-items: center;
    left: 50%;
    letter-spacing: .02em;
    position: absolute;
    text-align: center;
    text-decoration: none;
    text-transform: uppercase;
    transform: translateX(-50%);
    width: min(420px, 86vw);
    z-index: 4;
}

.lift-map-arrow::before {
    border-left: 112px solid transparent;
    border-right: 112px solid transparent;
    border-top: 84px solid #f0c24a;
    bottom: 0;
    content: "";
    filter: drop-shadow(0 12px 18px rgba(0, 0, 0, .5));
    height: 0;
    position: absolute;
    width: 0;
}

.lift-map-arrow span {
    background-color: #efbf43;
    background-image: linear-gradient(180deg, #fff0a8 0%, #f0c24a 56%, #d99620 100%);
    border: 3px solid #4a2410;
    box-shadow: 0 10px 22px rgba(0, 0, 0, .55), inset 0 0 0 2px rgba(255, 246, 190, .75);
    color: #2c160d;
    min-width: min(340px, 76vw);
    padding: 12px 20px;
    position: relative;
    text-shadow: 0 1px 0 rgba(255, 248, 204, .65);
    z-index: 1;
}

@media (max-width: 720px) {
    .onboarding-scene {
        background-position: center top;
        padding: 12px;
    }

    .onboarding-card {
        align-self: end;
        margin: 0;
        max-width: none;
        width: 100%;
    }

    .onboarding-card h1 {
        font-size: 32px;
    }

    .onboarding-text {
        font-size: 18px;
    }

    .story-intro-page,
    .lift-page {
        padding: 12px;
    }

    .story-intro-card,
    .lift-card {
        max-width: none;
        width: 100%;
    }

    .lift-card p {
        font-size: 18px;
    }

    .lift-overview-link {
        font-size: 14px;
        left: 12px;
        top: 12px;
    }

    .lift-map-arrow {
        bottom: 12px;
        height: 100px;
    }

    .lift-map-arrow::before {
        border-left-width: 86px;
        border-right-width: 86px;
        border-top-width: 68px;
    }
}

.promotion-modal {
    background: rgba(18, 12, 8, .82);
    display: grid;
    inset: 0;
    overflow: hidden;
    padding: 18px;
    place-items: center;
    position: fixed;
    z-index: 90;
}

.promotion-card {
    background:
        linear-gradient(135deg, rgba(250, 227, 166, .96), rgba(229, 195, 124, .94)),
        var(--paper-texture);
    border: 2px solid rgba(92, 47, 28, .86);
    box-shadow: 0 24px 60px rgba(0, 0, 0, .52), inset 0 0 0 1px rgba(255, 251, 226, .82);
    color: #3b2015;
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(290px, .85fr);
    max-height: calc(100vh - 36px);
    max-width: min(1040px, calc(100vw - 36px));
    overflow: auto;
}

.promotion-image {
    background: #150e0a;
    min-height: 320px;
}

.promotion-image img {
    display: block;
    height: 100%;
    max-height: calc(100vh - 40px);
    object-fit: contain;
    width: 100%;
}

.promotion-copy {
    align-self: center;
    background:
        linear-gradient(135deg, #f7e2a8 0%, #e7c47b 52%, #c89142 100%),
        var(--paper-texture);
    border-left: 2px solid rgba(93, 49, 21, .78);
    box-shadow: inset 0 0 0 2px rgba(255, 250, 217, .7), 0 18px 40px rgba(38, 18, 9, .34);
    padding: clamp(20px, 4vw, 42px);
}

.promotion-kicker {
    color: #7b2d22;
    font-weight: 900;
    letter-spacing: .08em;
    margin: 0 0 8px;
    text-transform: uppercase;
}

.promotion-copy h2 {
    color: #6e241c;
    font-size: clamp(28px, 4vw, 48px);
    line-height: 1;
    margin: 0 0 16px;
}

.promotion-copy p {
    font-size: 20px;
    line-height: 1.32;
    margin: 0 0 14px;
}

.promotion-copy button {
    background: linear-gradient(180deg, #8b3f2d, #5b211c);
    border: 2px solid #3b1512;
    box-shadow: 0 10px 18px rgba(49, 20, 14, .28), inset 0 0 0 1px rgba(255, 222, 152, .36);
    color: #fff4d4;
    cursor: pointer;
    font: inherit;
    font-weight: 900;
    margin-top: 6px;
    padding: 12px 18px;
}

.promotion-confetti {
    inset: 0;
    pointer-events: none;
    position: absolute;
}

.promotion-confetti span {
    animation: promotion-confetti-fall 4s var(--delay) ease-in both;
    background: #f6c64b;
    height: 14px;
    position: absolute;
    top: -12vh;
    transform: translateX(0) rotate(0deg);
    width: 8px;
}

.promotion-confetti span:nth-child(3n) {
    background: #4aa6d8;
}

.promotion-confetti span:nth-child(4n) {
    background: #e85555;
}

.promotion-confetti span:nth-child(5n) {
    background: #72c96f;
}

@keyframes promotion-confetti-fall {
    0% {
        opacity: 0;
        transform: translate3d(0, -8vh, 0) rotate(0deg);
    }

    12% {
        opacity: 1;
    }

    100% {
        opacity: 0;
        transform: translate3d(var(--drift), 116vh, 0) rotate(var(--spin));
    }
}

@media (max-width: 760px) {
    .promotion-card {
        grid-template-columns: 1fr;
    }

    .promotion-image img {
        max-height: 46vh;
    }

    .promotion-copy p {
        font-size: 18px;
    }
}
