:root {
    color: #1c1915;
    background: #f3efe6;
    font-family: Georgia, "Iowan Old Style", "Palatino Linotype", serif;
}
body { margin: 0; }
main {
    max-width: 26rem;
    margin: 0 auto;
    padding: 1.75rem 1rem 4rem;
}
h1, h2 { font-weight: 500; letter-spacing: -0.02em; text-align: center; }
h2 {
    font-size: 1.35rem;
    margin: 1.6rem 0 0.2rem;
    text-align: center;
}
p { line-height: 1.55; }
a { color: #1f4d3a; }
.path-name { margin: 0.2rem 0 0; font-family: Georgia, serif; font-size: 1.35rem; }
.mark {
    margin: 0 0 1rem;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    font-size: 0.72rem;
    font-family: "Segoe UI", sans-serif;
    color: #6d6458;
}
.level {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.45rem;
    margin: 0.15rem 0 0.35rem;
    font-family: "Segoe UI", sans-serif;
    font-size: 0.78rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #6d6458;
}
.level i, .level-compact i {
    display: inline-block;
    width: 0.48rem;
    height: 0.48rem;
    border-radius: 50%;
    background: #e2d9cb;
    font-style: normal;
}
.level i.on, .level-compact i.on { background: #1f4d3a; }
.level-compact {
    display: flex;
    justify-content: center;
    gap: 0.22rem;
    width: fit-content;
    margin: 0.22rem auto 0;
    padding: 0.12rem 0.32rem 0.14rem;
    border-radius: 999px;
    background: #f3efe6;
}
.warum {
    margin: 0.15rem auto 0.2rem;
    max-width: 22rem;
    text-align: center;
    font-family: Georgia, "Iowan Old Style", serif;
    font-size: 0.98rem;
    line-height: 1.45;
    color: #3d3832;
}
.voraussetzung {
    margin: 0.15rem 0 0.85rem;
    text-align: center;
    font-family: "Segoe UI", sans-serif;
    font-size: 0.95rem;
    line-height: 1.45;
    color: #3d3832;
}
.voraussetzung.is-ready { color: #1f4d3a; }
.gap {
    margin: 0.7rem 0 0;
    font-family: "Segoe UI", sans-serif;
    font-size: 0.95rem;
    line-height: 1.45;
    color: #3d3832;
}
.gap a { font-weight: 600; }
.brauchst {
    margin: 0.15rem auto 0.9rem;
    max-width: 20rem;
    text-align: center;
    font-family: "Segoe UI", sans-serif;
    font-size: 0.95rem;
    line-height: 1.45;
    color: #3d3832;
}
.kicker {
    font-family: "Segoe UI", sans-serif;
    font-size: 0.78rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #6d6458;
    text-align: center;
    margin: 0 0 0.8rem;
}
.site-nav {
    display: flex;
    justify-content: center;
    gap: 1.1rem;
    margin: 0 0 0.8rem;
    font-family: "Segoe UI", sans-serif;
}
.site-nav a {
    color: #6d6458;
    text-decoration: none;
    padding: 0.35rem 0.1rem;
}
.site-nav a.is-on {
    color: #1f4d3a;
    font-weight: 650;
    border-bottom: 2px solid #1f4d3a;
}
.profile-tabs {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin: 0.4rem 0 1rem;
    font-family: "Segoe UI", sans-serif;
}
.profile-tabs a {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
}
.profile-tabs a.is-on {
    font-weight: 650;
    text-decoration: none;
}
.profile-mark {
    display: none;
}
@media (min-width: 960px) {
    .profile-mark {
        display: block;
        position: fixed;
        top: 0.8rem;
        right: 1.25rem;
        z-index: 7;
        font-family: "Segoe UI", sans-serif;
    }
    .profile-mark summary {
        cursor: pointer;
        list-style: none;
        min-height: 44px;
        min-width: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 0 0.8rem;
        border: 1px solid #e4ddd0;
        border-radius: 999px;
        background: #fffdf8;
        color: #1f4d3a;
    }
    .profile-mark summary::-webkit-details-marker { display: none; }
    .profile-mark a {
        display: block;
        padding: 0.45rem 0.8rem;
        background: #fffdf8;
        min-height: 44px;
    }
}
.stand-calc { margin: 0.6rem auto 0; max-width: 28rem; text-align: center; scroll-margin-top: 1rem; }
.stand-calc summary { cursor: pointer; color: #1f4d3a; font-family: "Segoe UI", sans-serif; }
.stand-calc p { margin: 0.7rem 0; }
.phase-mark {
    font-family: "Segoe UI", sans-serif;
    font-size: 0.78rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #1f4d3a;
    text-align: center;
    margin: 0 0 0.55rem;
}
.stand-links li { margin: 0.45rem 0; }
.stand-links a { color: #1f4d3a; }
.stand-block { margin: 1.4rem auto 0; max-width: 34rem; text-align: left; }
.stand-block h2 { font-size: 1.15rem; margin: 0 0 0.35rem; text-align: center; }
.stand-list { padding-left: 1.1rem; }
.stand-block .slip h3 { font-size: 1rem; margin: 0.2rem 0; }
.sticky-action {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 5;
    padding: 0.65rem 1rem calc(0.65rem + env(safe-area-inset-bottom));
    background: #f7f3ea;
    border-top: 1px solid #e4ddd0;
}
.sticky-action .primary-action { margin: 0; }
.sticky-action .button-primary { display: block; text-align: center; }
body:has(.sticky-action) main { padding-bottom: 5.5rem; }
@media (min-width: 960px) {
    .sticky-action {
        left: auto;
        right: 1.25rem;
        bottom: auto;
        top: 5.5rem;
        width: 16rem;
        border: 1px solid #e4ddd0;
        border-radius: 1rem;
    }
    body:has(.sticky-action) main { padding-bottom: 2rem; }
}
@media (max-width: 959px) {
    .site-nav {
        position: fixed;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 6;
        margin: 0;
        padding: 0.15rem 0.4rem calc(0.15rem + env(safe-area-inset-bottom));
        background: #f7f3ea;
        border-top: 1px solid #e4ddd0;
        justify-content: space-around;
    }
    .site-nav a {
        min-height: 44px;
        min-width: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    body:has(.site-nav) main {
        padding-bottom: calc(4.4rem + env(safe-area-inset-bottom));
    }
    .sticky-action {
        bottom: calc(3.4rem + env(safe-area-inset-bottom));
    }
    body:has(.site-nav):has(.sticky-action) main {
        padding-bottom: calc(8.6rem + env(safe-area-inset-bottom));
    }
}
.hero { text-align: center; }
.medal {
    position: relative;
    width: 7.5rem;
    height: 7.5rem;
    margin: 0 auto;
}
.medal .ring { width: 100%; height: 100%; display: block; }
.medal .check { stroke: transparent; }
.medal-label {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-family: "Segoe UI", sans-serif;
    pointer-events: none;
}
.medal-label strong {
    font-size: 1.8rem;
    font-weight: 650;
    line-height: 1;
}
.medal-label span {
    margin-top: 0.15rem;
    font-size: 0.75rem;
    color: #6d6458;
}
.medal-skill { width: 6.25rem; height: 6.25rem; margin-bottom: 0.35rem; }
.medal-skill .medal-label strong { font-size: 1.45rem; }
.hero-caption {
    margin: 0.35rem 0 0.15rem;
    font-family: "Segoe UI", sans-serif;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-size: 0.78rem;
    color: #6d6458;
}
.heute { margin: 0.2rem 0 1rem; }
.heute ol { margin: 0.3rem 0 0.4rem; padding-left: 1.2rem; }
.heute li { margin: 0.28rem 0; }
.achievements { margin: 0.2rem 0 0; text-align: center; font-family: "Segoe UI", sans-serif; color: #6d6458; font-size: 0.92rem; }
.etappe { margin: 1.4rem 0 0.15rem; font-size: 0.95rem; letter-spacing: 0.04em; text-transform: uppercase; color: #6d6458; text-align: center; }
.features { position: relative; display: flex; justify-content: flex-end; margin: 0 0 0.2rem; }
.features summary { cursor: pointer; font-family: "Segoe UI", sans-serif; color: #1f4d3a; }
.feature-panel {
    display: none;
    position: absolute;
    top: calc(100% + 0.35rem);
    right: 0;
    z-index: 30;
    width: 14.5rem;
    padding: 0.55rem;
    background: #fffdf8;
    border: 1px solid #e4dccb;
    border-radius: 12px;
    box-shadow: 0 10px 28px rgba(28, 25, 21, 0.14);
}
.features[open] .feature-panel { display: flex; flex-direction: column; gap: 0.35rem; }
.more-quiet { margin: 1.4rem 0 2rem; text-align: center; }
.more-quiet summary { cursor: pointer; font-family: "Segoe UI", sans-serif; color: #6d6458; }
.more-quiet .feature-panel {
    position: static;
    width: auto;
    margin: 0.4rem auto 0;
    padding: 0;
    background: transparent;
    border: 0;
    box-shadow: none;
}
.more-quiet .feature-panel a {
    background: transparent;
    color: #1f4d3a;
    padding: 0.35rem 0.2rem;
}
.feature-panel a {
    display: block;
    text-align: center;
    text-decoration: none;
    background: #1f4d3a;
    color: #f7f3ea;
    border-radius: 999px;
    padding: 0.55rem 0.6rem;
    font-family: "Segoe UI", sans-serif;
    font-size: 0.92rem;
}
.stage h2 .summary-count { font-size: 0.85rem; color: #6d6458; font-family: "Segoe UI", sans-serif; }
.stage h2 .stage-mark {
    display: inline-block;
    width: 0.85rem;
    height: 0.85rem;
    margin-left: 0.4rem;
    border-radius: 50%;
    vertical-align: 0.05rem;
}
.stage.metal-1 h2 .stage-mark { background: #8d5a2b; }
.stage.metal-2 h2 .stage-mark { background: #f7f4ee; box-shadow: inset 0 0 0 2px #3c3935; }
.stage.metal-3 h2 .stage-mark { background: #c6a15a; }
.stand, .stand-detail {
    margin: 0.2rem auto 0.35rem;
    max-width: 24rem;
    text-align: center;
    font-family: Georgia, "Times New Roman", serif;
}
.stand-detail { font-family: "Segoe UI", sans-serif; font-size: 0.92rem; color: #6d6458; }
.readiness {
    margin: 0 0 0.9rem;
    text-align: center;
    font-family: "Segoe UI", sans-serif;
    color: #1f4d3a;
}
.hero-done {
    font-family: "Segoe UI", sans-serif;
    color: #1d5c38;
}
.ring-track, .ring-value { fill: none; stroke-width: 3.4; }
.ring-track { stroke: #e2d9cb; }
.ring-value {
    stroke: #1f4d3a;
    stroke-linecap: round;
    stroke-dashoffset: 100;
    transform-box: fill-box;
    transform-origin: center;
    transform: rotate(-90deg);
}
.ring.is-animated .ring-value { animation: ring-fill 0.85s ease forwards; }
@keyframes ring-fill { to { stroke-dashoffset: var(--goal); } }
.ring-offen .ring-value { stroke: transparent; }
.ring-angefangen .ring-track { stroke: #e7d3ae; }
.ring-angefangen .ring-value { stroke: #b56a12; }
.ring-sitzt .ring-track { fill: none; stroke: #1f4d3a; }
.ring-sitzt .ring-value { stroke: #1f4d3a; }
.check { fill: none; stroke: transparent; }
.ring-sitzt { animation: ring-pop 0.35s ease; }
@keyframes ring-pop { from { transform: scale(0.86); } to { transform: scale(1); } }
.guest-note {
    margin: 0.2rem auto 1rem;
    max-width: 18rem;
    text-align: center;
    font-family: "Segoe UI", sans-serif;
    font-size: 0.95rem;
    color: #3d3832;
}
.legend {
    margin: 0.2rem auto 1.1rem;
    max-width: 18rem;
    text-align: center;
    font-family: "Segoe UI", sans-serif;
    font-size: 0.88rem;
    color: #5c564c;
}
.card {
    background: #fffdf8;
    border: 1px solid #e2d9cb;
    border-radius: 14px;
    padding: 0.2rem 1.15rem 0.4rem;
}
.card h1 { font-size: 1.55rem; text-align: center; }
.stage-done { margin-top: 0.8rem; }
.stage-done summary {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    list-style: none;
    cursor: pointer;
    padding: 0.7rem 0.2rem;
    font-family: "Segoe UI", sans-serif;
}
.stage-done summary::-webkit-details-marker { display: none; }
.summary-check {
    width: 1.35rem;
    height: 1.35rem;
    border-radius: 50%;
    background: #1f4d3a;
    flex: none;
    position: relative;
}
.summary-check::after {
    content: "";
    position: absolute;
    left: 0.38rem;
    top: 0.28rem;
    width: 0.32rem;
    height: 0.58rem;
    border: solid #f7f3ea;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}
.summary-title { font-weight: 650; }
.summary-count { margin-left: auto; color: #6d6458; font-size: 0.85rem; }
.trail {
    position: relative;
    width: 280px;
    margin: 0.4rem auto 0.6rem;
}
.trail-line {
    position: absolute;
    inset: 0;
    overflow: visible;
    z-index: 0;
}
.trail-line path { fill: none; stroke-linecap: round; stroke-linejoin: round; }
.bank { stroke: #e6d9c6; stroke-width: 22; }
.track { stroke: #c6b294; stroke-width: 8; }
.terrain-brueche .bank { stroke: #d5e6ef; stroke-width: 18; }
.terrain-brueche .track { stroke: #8eb0c4; stroke-width: 3; }
.terrain-prozent .bank { stroke: #ddd4c6; stroke-width: 16; }
.terrain-prozent .track { stroke: #b7a48a; stroke-width: 5; }
.terrain-potenz .bank, .terrain-potenz .track { stroke: transparent; }
.terrain-potenz .rail { stroke: #8d7356; stroke-width: 4; }
.terrain-potenz .rung { stroke: #c4a882; stroke-width: 3; }
.terrain-linear .bank { stroke: #ddd2c2; stroke-width: 18; }
.terrain-linear .track { stroke: #1f4d3a; stroke-width: 3; opacity: 0.45; }
.terrain-quadrat .bank { stroke: #e4d8c8; stroke-width: 16; }
.terrain-quadrat .track { stroke: #1f4d3a; stroke-width: 2.5; opacity: 0.55; }
.terrain-betrag .bank { stroke: #eadfd2; stroke-width: 16; }
.terrain-betrag .track { stroke: #1f4d3a; stroke-width: 3; }
.terrain-betrag .axis { stroke: #b56a12; stroke-width: 1.4; stroke-dasharray: 4 4; }
.stop {
    position: absolute;
    width: 8.4rem;
    transform: translate(-50%, -2.2rem);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    text-decoration: none;
    color: #1c1915;
    z-index: 1;
}
.stone {
    position: relative;
    width: 4.55rem;
    height: 4.55rem;
    border-radius: 50%;
    background: #f7f3ea;
    box-shadow: 0 1px 0 #e4d9c8;
}
.stop .ring { position: absolute; inset: 0; width: 100%; height: 100%; background: transparent; }
.glyph-svg {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 3.15rem;
    height: 3.15rem;
    transform: translate(-50%, -50%);
    z-index: 1;
}
.walker-svg {
    position: absolute;
    left: 50%;
    top: -1.55rem;
    width: 1.7rem;
    height: 2.15rem;
    transform: translateX(-50%);
    z-index: 2;
}
.stop.is-next .stone {
    transform: scale(1.1);
    box-shadow: 0 8px 0 rgba(31, 77, 58, 0.16);
}
.stop.is-ahead .glyph-svg { opacity: 0.45; }
.stop.is-ahead .stop-label { color: #b3a898; }
.stop.is-ahead .ring-track { stroke: #efe6d8; }
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}
.stop .medal {
    position: absolute;
    top: -0.15rem;
    left: -0.1rem;
    width: 1.05rem;
    height: 1.05rem;
    border-radius: 50%;
    z-index: 4;
    box-shadow: 0 1px 0 rgba(28, 25, 21, 0.18);
}
.stop.metal-1 .medal { background: #8d5a2b; }
.stop.metal-2 .medal { background: #f7f4ee; box-shadow: inset 0 0 0 2px #3c3935, 0 1px 0 rgba(28, 25, 21, 0.18); }
.stop.metal-3 .medal { background: #c6a15a; }
.stop.state-sitzt .stone::after {
    content: "";
    position: absolute;
    right: -0.05rem;
    bottom: 0.05rem;
    width: 0.95rem;
    height: 0.95rem;
    border-radius: 50%;
    background: #1f4d3a;
    z-index: 2;
}
.stop.state-sitzt .stone::before {
    content: "";
    position: absolute;
    right: 0.28rem;
    bottom: 0.32rem;
    width: 0.22rem;
    height: 0.4rem;
    border: solid #f7f3ea;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
    z-index: 3;
}
.summit {
    margin: 0.4rem auto 0;
    text-align: center;
    opacity: 0.45;
}
.summit.is-reached { opacity: 1; }
.summit-svg { width: 7.5rem; height: 3.4rem; }
.summit p {
    margin: 0;
    font-family: "Segoe UI", sans-serif;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-size: 0.78rem;
    color: #6d6458;
}
.summit .walker-svg { position: relative; left: auto; top: auto; transform: none; display: block; margin: 0 auto -0.4rem; }
.stop-label {
    position: relative;
    z-index: 1;
    margin-top: 0.3rem;
    padding: 0 0.2rem;
    background: #f3efe6;
    font-family: "Segoe UI", sans-serif;
    font-size: 0.78rem;
    line-height: 1.25;
    color: #3d3832;
}
.terrain-betrag .label-right .stop-label { transform: translateX(2.4rem); }
.terrain-betrag .label-left .stop-label { transform: translateX(-2.4rem); }
.button {
    display: inline-block;
    background: #1f4d3a;
    color: #f7f3ea;
    text-decoration: none;
    padding: 0.7rem 1.2rem;
    border-radius: 6px;
    font-family: "Segoe UI", sans-serif;
}
.why-next { margin: 0.45rem 0 0.2rem; text-align: center; font-family: "Segoe UI", sans-serif; }
.button-next,
.button-primary {
    display: block;
    border-radius: 999px;
    padding: 0.95rem 1.2rem;
    font-size: 1.02rem;
    text-align: center;
}
.button-secondary {
    display: inline-block;
    background: transparent;
    color: #1f4d3a;
    border: 1px solid #1f4d3a;
    border-radius: 999px;
    padding: 0.65rem 1rem;
    text-decoration: none;
    font-family: "Segoe UI", sans-serif;
}
a.button-text {
    color: #1f4d3a;
    background: none;
    text-decoration: underline;
    text-underline-offset: 0.15em;
    font-family: "Segoe UI", sans-serif;
}
.primary-action { margin: 0.35rem 0 0.15rem; text-align: center; }
.script-excerpt {
    margin: 0.4rem auto 1rem;
    max-width: 32rem;
    padding: 0.75rem 0.95rem 0.35rem;
    background: #fffdf8;
    border-left: 3px solid #1f4d3a;
    text-align: left;
}
.script-excerpt p { margin: 0.35rem 0; }
.diagnose-start { margin: 0.7rem 0 0.35rem; }
.next-quiet { margin: 0.85rem 0 0.15rem; font-family: "Segoe UI", sans-serif; font-size: 0.98rem; }
.next-quiet a { color: #1f4d3a; }
.block-card {
    margin: 0.35rem auto 0.7rem;
    max-width: 36rem;
    text-align: left;
}
.block-card summary {
    cursor: pointer;
    font-family: Georgia, serif;
    font-size: 1.2rem;
    line-height: 1.35;
}
.block-card summary .summary-count,
.stage h2 .summary-count {
    display: block;
    margin-top: 0.15rem;
    font-family: "Segoe UI", sans-serif;
    font-size: 0.85rem;
    color: #6d6458;
    font-weight: 400;
}
@media (min-width: 720px) {
    .block-card summary .summary-count,
    .stage h2 .summary-count { display: inline; margin-top: 0; }
}
.time-line { margin: 0.9rem 0 0.2rem; font-family: "Segoe UI", sans-serif; color: #6d6458; }
.time-line a { color: #1f4d3a; margin: 0 0.15rem; }
.time-row a {
    display: block;
    text-align: center;
    text-decoration: none;
    background: #fffdf8;
    color: #1f4d3a;
    border-radius: 999px;
    padding: 0.7rem 0.8rem;
    min-height: 2.75rem;
    font-family: "Segoe UI", sans-serif;
}
.layer-chip { margin: 0.2rem auto 0.8rem; max-width: 28rem; text-align: center; }
.layer-chip summary { cursor: pointer; color: #1f4d3a; font-family: "Segoe UI", sans-serif; }
.layers { display: flex; gap: 0.4rem; margin: 0.8rem 0 0.3rem; }
.layer-chip .layers { justify-content: center; }
.layers a {
    flex: 1;
    text-align: center;
    text-decoration: none;
    background: #f3efe6;
    color: #1f4d3a;
    border-radius: 999px;
    padding: 0.65rem 0.3rem;
    min-height: 2.6rem;
    font-family: "Segoe UI", sans-serif;
}
.layers a.is-on { background: #1f4d3a; color: #f7f3ea; }
.layers span.is-locked {
    flex: 1;
    text-align: center;
    background: #f3efe6;
    color: #b3a898;
    border-radius: 999px;
    padding: 0.65rem 0.3rem;
    min-height: 2.6rem;
    font-family: "Segoe UI", sans-serif;
}
.info {
    position: relative;
    flex: none;
}
.info summary {
    display: grid;
    place-items: center;
    width: 2.6rem;
    height: 2.6rem;
    border-radius: 50%;
    border: 1px solid #c4b8a4;
    background: #fffdf8;
    color: #1f4d3a;
    font-family: Georgia, "Times New Roman", serif;
    font-style: italic;
    cursor: help;
    list-style: none;
}
.info summary::-webkit-details-marker { display: none; }
.info-pop {
    display: none;
    position: absolute;
    right: 0;
    top: calc(100% + 0.35rem);
    width: 16rem;
    padding: 0.7rem 0.8rem;
    background: #fffdf8;
    border: 1px solid #e4dccb;
    border-radius: 12px;
    text-align: left;
    font-style: normal;
    font-family: "Segoe UI", sans-serif;
    font-size: 0.92rem;
    line-height: 1.45;
    color: #1c1915;
    z-index: 5;
    box-shadow: 0 8px 20px rgba(28, 25, 21, 0.12);
}
.info:hover .info-pop,
.info[open] .info-pop { display: block; }
.mode-row { display: flex; gap: 0.4rem; margin: 0.8rem 0 0.35rem; }
.mode-row .button { flex: 1; text-align: center; padding: 0.75rem 0.35rem; min-height: 2.75rem; }
.ring-move { margin: 1rem 0 0.2rem; font-family: Georgia, serif; font-size: 1.35rem; }
.achievement-now { margin: 0.35rem 0 0; font-family: Georgia, serif; font-size: 1.2rem; }
.checkpoint-result { margin: 0.8rem 0 0.2rem; }
.promise { margin: 0.4rem 0 1rem; padding-left: 1.15rem; }
.promise li { margin: 0.2rem 0; }
.mix-count { margin: 0.35rem 0 0; font-family: Georgia, serif; font-size: 1.35rem; }
.mix-count strong { font-size: 1.8rem; }
.actions { margin-top: 1.25rem; text-align: center; }
.actions .button {
    display: block;
    border-radius: 999px;
    padding: 0.95rem 1.2rem;
    font-size: 1.05rem;
}
.refresh {
    margin-top: 1.5rem;
    text-align: center;
    font-family: "Segoe UI", sans-serif;
    font-size: 0.85rem;
}
.falle {
    margin: 0.8rem 0;
    padding: 0.7rem 0.85rem;
    border-radius: 8px;
    background: #f8efe2;
    color: #6d4a12;
}
.falle p { margin: 0; }
.falle strong {
    display: block;
    margin-bottom: 0.2rem;
    font-family: "Segoe UI", sans-serif;
    font-size: 0.78rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}
.hint {
    margin: 0.45rem 0;
    border: 1px solid #e2d9cb;
    border-radius: 8px;
    background: #fffdf8;
    padding: 0.55rem 0.8rem;
}
.hint summary {
    cursor: pointer;
    font-family: "Segoe UI", sans-serif;
    font-size: 0.92rem;
    color: #1f4d3a;
}
.hint p { margin: 0.45rem 0 0.15rem; }
.check { margin-top: 1.25rem; }
.check .card { margin-bottom: 0; }
.answer {
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
    margin-top: 1rem;
}
.answer label {
    font-family: "Segoe UI", sans-serif;
    font-size: 0.85rem;
    color: #6d6458;
}
.answer input {
    font: 1.15rem Georgia, serif;
    min-height: 3.25rem;
    padding: 0.85rem 0.9rem;
    border: 1px solid #e2d9cb;
    border-radius: 8px;
    background: #fffdf8;
    color: #1c1915;
}
.answer .button {
    border: 0;
    cursor: pointer;
    min-height: 3.25rem;
    font-size: 1.05rem;
}
.scratch {
    margin: 0.4rem 0 1rem;
    padding: 0.15rem 0.85rem 0.7rem;
    background: #fffdf8;
    border-radius: 14px;
}
.scratch summary { cursor: pointer; font-family: "Segoe UI", sans-serif; padding: 0.55rem 0; }
.scratch-tools { display: flex; gap: 0.4rem; margin-bottom: 0.55rem; }
.scratch-tools button, .scratch [data-clear] {
    min-height: 2.75rem;
    border: 0;
    border-radius: 999px;
    background: #f3efe6;
    font: inherit;
    padding: 0 0.9rem;
}
.scratch-tools button.is-on { background: #1f4d3a; color: #f7f3ea; }
.scratch label { display: block; margin: 0.25rem 0; font-family: "Segoe UI", sans-serif; font-size: 0.92rem; }
.scratch input, .scratch textarea {
    width: 100%;
    box-sizing: border-box;
    margin-top: 0.2rem;
    border: 1px solid #e2d9cb;
    border-radius: 10px;
    background: #fff;
    font: inherit;
    padding: 0.45rem 0.6rem;
}
.scratch-draw { width: 100%; height: auto; background: #f3efe6; border-radius: 10px; }
.scratch-graph { min-height: 9rem; }
.paths { margin: 0.6rem 0 1rem; }
.paths p { margin: 0.35rem 0; }
.model { margin: 0.4rem 0 0.8rem; }
.model p { margin: 0 0 0.35rem; }
.model-term { font-family: Georgia, "Times New Roman", serif; font-size: 1.35rem; text-align: center; }
.scratch-read { margin: 0.35rem 0 0.5rem; font-family: "Segoe UI", sans-serif; }
.scratch .filled, .card .filled { fill: #1f4d3a; stroke: #1f4d3a; }
.scratch .empty, .card .empty { fill: #fffdf8; stroke: #c4b8a4; stroke-width: 1.4; }
.scratch .axis, .card .axis, .scratch .tick, .card .tick { stroke: #6d6458; stroke-width: 1.4; }
.scratch .tick-label, .card .tick-label { fill: #6d6458; font-size: 13px; font-family: "Segoe UI", sans-serif; }
.card .eq { fill: #1c1915; font-size: 22px; font-family: Georgia, "Times New Roman", serif; }
.scratch .link { fill: none; stroke: #b56a12; stroke-width: 2; }
.errors { margin: 0.4rem 0 1rem; padding-left: 1.2rem; }
.errors li { margin: 0.7rem 0; }
.errors p { margin: 0.15rem 0; }
.exam {
    margin: 0.15rem 0 0.45rem;
    text-align: center;
    font-family: Georgia, serif;
    color: #1f4d3a;
}
.checkpoint {
    margin: 0.15rem 0 1.1rem;
    text-align: center;
    font-family: "Segoe UI", sans-serif;
    font-size: 0.92rem;
}
.checkpoint.is-due a { font-weight: 650; }
.map-link { text-align: center; margin: 0.2rem 0 1rem; font-family: "Segoe UI", sans-serif; font-size: 0.92rem; }
.map-legend {
    display: flex;
    justify-content: center;
    gap: 0.9rem;
    margin: 0 0 0.6rem;
    font-family: "Segoe UI", sans-serif;
    font-size: 0.78rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #6d6458;
}
.map-legend { flex-wrap: wrap; }
.map-legend .state-offen::before,
.map-legend .state-bereit::before,
.map-legend .state-angefangen::before,
.map-legend .state-geuebt::before,
.map-legend .state-sitzt::before,
.map-legend .state-vorlaeufig::before,
.map-legend .state-unsicher::before {
    content: "";
    display: inline-block;
    width: 0.48rem;
    height: 0.48rem;
    margin-right: 0.28rem;
    border-radius: 50%;
    background: #e2d9cb;
    vertical-align: 0;
}
.map-legend .state-bereit::before { background: #8fbfa8; }
.map-legend .state-geuebt::before { background: #c4a15a; }
.map-legend .state-angefangen::before { background: #6d4a12; }
.map-legend .state-sitzt::before { background: #1f4d3a; }
.map-legend .state-vorlaeufig::before { background: #b7d4c6; }
.map-legend .state-unsicher::before { background: #e7a06a; }
.map-wrap { margin: 0 -0.2rem 1rem; }
.knowledge-map { width: 100%; height: auto; display: block; }
.map-edges path { fill: none; stroke: #c4b8a4; stroke-width: 1.3; }
.map-node circle { fill: #e2d9cb; stroke: #c4b8a4; stroke-width: 1.4; }
.map-node.state-bereit circle { fill: #e7f0ea; stroke: #1f4d3a; }
.map-node.state-vorlaeufig circle { fill: #b7d4c6; stroke: #1f4d3a; }
.map-node.state-unsicher circle { fill: #f6d7c3; stroke: #9a3412; }
.map-node.state-angefangen circle { fill: #f8efe2; stroke: #6d4a12; }
.map-node.state-geuebt circle { fill: #f3e6c8; stroke: #8a5a10; }
.why-stand { margin: 0.6rem 0 0; }
.why-stand summary { cursor: pointer; }
.map-node.state-sitzt circle { fill: #1f4d3a; stroke: #1f4d3a; }
.map-node.map-next circle { stroke: #9a3412; stroke-width: 3.2; }
.map-node.map-selected text { font-weight: 700; }
.map-focus {
    background: #fffdf8;
    border: 1px solid #e4dccb;
    border-radius: 12px;
    padding: 0.85rem 1rem;
    margin: 0.4rem 0 0.9rem;
}
.map-focus h2 { margin: 0 0 0.35rem; font-size: 1.15rem; }
.map-now { margin: 0 0 0.35rem; color: #9a3412; }
.map-node text { font-family: "Segoe UI", sans-serif; font-size: 15px; fill: #1c1915; }
.map-hit { fill: transparent; pointer-events: all; }
.map-list { margin: 0 0 1rem; }
.map-list summary {
    cursor: pointer;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.05rem;
}
.map-list li { margin: 0.15rem 0 0.55rem; }
.map-list a {
    display: inline-block;
    min-height: 32px;
    line-height: 32px;
    font-size: 1.05rem;
}
@media (max-width: 520px) {
    .map-board { display: flex; flex-direction: column; }
    .map-list { order: 1; }
    .map-wrap { order: 2; }
}
.stack-frame {
    width: 100%;
    min-height: 40rem;
    border: 0;
    border-radius: 12px;
    background: #fffdf8;
}
.stack-note {
    margin: 0.4rem auto 0.8rem;
    max-width: 22rem;
    text-align: center;
    font-family: "Segoe UI", sans-serif;
    font-size: 0.98rem;
    line-height: 1.45;
}
@media (max-width: 520px) {
    .actions {
        position: sticky;
        bottom: 0;
        z-index: 3;
        margin-top: 0.6rem;
        padding: 0.75rem 0 0.2rem;
        background: linear-gradient(to top, #f3efe6 68%, rgba(243, 239, 230, 0));
    }
    .card, .feedback, .falle, .gap, .voraussetzung {
        overflow-wrap: anywhere;
    }
    mjx-container {
        max-width: 100%;
    }
    .actions-inline {
        position: static;
        background: none;
        padding: 0;
    }
}
.feedback {
    font-family: "Segoe UI", sans-serif;
    border-radius: 8px;
    padding: 0.75rem 0.9rem;
}
.feedback-yes { background: #e5f0e8; color: #1f4d3a; }
.feedback-no { background: #f8efe2; color: #6d4a12; }
.notice {
    font-family: "Segoe UI", sans-serif;
    font-size: 0.92rem;
    color: #5c564c;
    text-align: center;
}
.back { margin: 0 0 0.8rem; font-family: "Segoe UI", sans-serif; font-size: 0.92rem; }
.sheet {
    margin: 0.15rem 0 0.8rem;
    padding: 0.85rem 0.85rem 0.35rem 1.05rem;
    background: #fffdf6;
    border: 1px solid #e4d5c0;
    border-left: 3px solid #c45c54;
    border-radius: 2px 12px 10px 3px;
    box-shadow: 3px 4px 0 #efe4d2;
}
.sheet h1 {
    margin: 0 0 0.3rem;
    text-align: left;
    font-size: 1.38rem;
}
.sheet > .legend {
    max-width: none;
    margin: 0 0 0.75rem;
    text-align: left;
}
.sheet-section {
    margin: 0.7rem 0 0.15rem;
    text-align: left;
    font-family: "Segoe UI", sans-serif;
    font-size: 0.75rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #8a5a4a;
}
.slips { list-style: none; margin: 0; padding: 0; }
.slip {
    margin: 0 0 0.55rem;
    padding: 0.1rem 0 0.6rem;
    border-bottom: 1px dashed #ddcfbb;
}
.slip h2 {
    margin: 0.05rem 0 0.15rem;
    text-align: left;
    font-size: 1.05rem;
    color: #1f4d3a;
}
.slip .rule p { margin: 0.2rem 0; }
.slip label {
    display: block;
    margin-top: 0.35rem;
    font-family: "Segoe UI", sans-serif;
    font-size: 0.72rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #6d6458;
}
.slip textarea {
    display: block;
    width: 100%;
    box-sizing: border-box;
    margin-top: 0.15rem;
    padding: 0.28rem 0.1rem 0.15rem;
    border: 0;
    border-radius: 0;
    border-bottom: 1px solid #cfc1ab;
    background-color: transparent;
    background-image: repeating-linear-gradient(to bottom, transparent 0, transparent 1.35rem, #eadfce 1.35rem, #eadfce calc(1.35rem + 1px));
    font-family: "Segoe UI", sans-serif;
    font-size: 1rem;
    line-height: 1.35rem;
    color: #1d4e89;
    resize: vertical;
}
.sheet .actions { margin-top: 0.35rem; }
mjx-container { font-size: 1.05em; }
@media (prefers-reduced-motion: reduce) {
    .ring.is-animated .ring-value { animation: none; stroke-dashoffset: var(--goal); }
    .ring-sitzt { animation: none; }
}
