.bs-journey{box-sizing:border-box;margin:.35rem 0 .85rem;color:#efe9dd;max-width:100%;scroll-margin-top:6rem}
.bs-journey summary{cursor:pointer;width:fit-content;max-width:100%;font-weight:650}
.bs-journey :focus-visible{outline:2px solid #ffd88c;outline-offset:3px}
.bs-journey-body,.bs-regex-exit{box-sizing:border-box;padding:.75rem 1rem;margin-top:.35rem;background:#222521;border:1px solid #655c49;border-radius:.4rem}
.bs-journey-body h2{margin:.1rem 0 .4rem}.bs-journey-body p{margin:.35rem 0 .6rem;max-width:72ch}
.bs-journey-route,.bs-tour-chapter{padding:.45rem 0;border-top:1px solid #49483f;scroll-margin-top:6rem}
.bs-journey-route>div{padding:.45rem 0 .1rem}.bs-tour-chapter figure>img{max-width:100%;height:auto}.bs-tour-chapter{margin-top:.45rem}
.bs-journey .bs-tour-chapter ol{margin:.4rem 0 .65rem;padding-inline-start:1.65rem;max-width:76ch}
@media(min-width:850px){.bs-tour-chapter[open]>div{display:grid;grid-template-columns:minmax(0,1.3fr) minmax(0,1fr);align-items:start;gap:.45rem 1.4rem;max-width:72rem}.bs-tour-chapter[open]>div>p{grid-column:1/-1}.bs-tour-chapter[open]>div>img{justify-self:start;margin-top:.4rem}}.bs-tour-chapter li+li{margin-top:.35rem}
[data-bs-site-tour] ol{margin:.2rem 0;padding-left:1.35rem}
[data-bs-site-tour].bs-tour-enhanced ol{list-style:none;padding-left:0}
.bs-tour-controls,.bs-journey-links{display:flex;align-items:center;gap:.45rem .75rem;flex-wrap:wrap}
.bs-journey-links{margin:.55rem 0 .1rem}.bs-journey-links a:not(.bs-tour-primary){color:#f4d396}
.bs-journey [hidden],.bs-journey[hidden]{display:none}
.bs-tour-controls button,.bs-tour-dock button{padding:.35rem .65rem;min-height:2.4rem;background:#302a22;color:#f5e6ca;border:1px solid #847055;border-radius:.35rem;cursor:pointer}
.bs-tour-controls button:disabled{opacity:.55}
.bs-tour-highlight{outline:3px solid #eac578!important;outline-offset:3px}
.bs-tour-dock{position:fixed;bottom:max(.5rem,env(safe-area-inset-bottom));left:50%;transform:translateX(-50%);z-index:90;box-sizing:border-box;display:flex;align-items:center;gap:.5rem;max-width:min(94vw,48rem);width:max-content;padding:.4rem .65rem;color:#f6ead3;background:#24231f;border:1px solid #c6a463;border-radius:.4rem;box-shadow:0 2px 9px #0008}
.bs-tour-dock[hidden]{display:none}
@media(max-width:600px){.bs-tour-dock{font-size:.875rem;flex-wrap:wrap}.bs-tour-dock span{flex:1 1 10rem}.bs-journey-body{padding:.6rem}.bs-journey summary{line-height:1.35}}


/* Wegweiser shares the site's interface palette. */
.bs-guide-page{--ink:var(--bsh-ui-accent);--tint:var(--bsh-ui-card)}
.bs-guide-heading{display:flex;align-items:baseline;justify-content:space-between;gap:.45rem 1rem;flex-wrap:wrap;margin-bottom:.75rem}
.bs-guide-heading h2{margin:0;font-size:clamp(1.3rem,2vw,2rem)}
.bs-guide-heading nav{font-size:.92em}
.bs-guide-layout{display:grid;grid-template-columns:minmax(14rem, .8fr) minmax(0,2fr);gap:clamp(.65rem,1.8vw,1.6rem);align-items:start}
.bs-guide-menu{display:grid;gap:.45rem;min-width:0}
.bs-guide-page .bs-guide-tile{box-sizing:border-box;display:grid;grid-template-columns:2.7rem 1fr auto;align-items:center;gap:.7rem;min-height:3.85rem;padding:.5rem .85rem;color:#efe9dd;text-decoration:none;border:1px solid #444740;border-inline-start:3px solid var(--ink);border-radius:6px;background:linear-gradient(115deg,var(--tint),#191b1d);line-height:1.28;font-weight:650}
.bs-guide-tile img{width:2.7rem;height:2.7rem;object-fit:contain}
.bs-guide-tile>span,.bs-guide-tile>b{color:var(--ink)}
.bs-guide-tile b{font-size:1.35rem}
.bs-guide-page .bs-guide-tile:is([aria-current],:hover){border-color:var(--ink);box-shadow:inset 0 0 0 1px var(--ink);color:var(--ink)}
.bs-guide-tile:focus-visible,.bs-guide-page .bs-choice:focus-visible{outline:2px solid #ffda92;outline-offset:3px}
.bs-guide-content,.bs-guide-page .bs-tour-chapter,.bs-lesson-grid>*{min-width:0}
.bs-guide-page .bs-journey-route{padding:0;border:1px solid #514c40;border-radius:8px;background:#1a1c1c;overflow:clip;scroll-margin-block:5rem}
.bs-route-hero{position:relative;isolation:isolate;background:#15191a;border-bottom:1px solid #555044}
.bs-route-hero>img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;z-index:-2}
.bs-route-hero::before{content:"";position:absolute;inset:0;background:linear-gradient(100deg,#101416fa 6%,#101416ed 48%,#10141691);z-index:-1}
.bs-route-hero>div{padding:clamp(1rem,2.1vw,1.85rem)}
.bs-route-hero h3{margin:0;color:#fff4de;font-size:clamp(1.35rem,2vw,2rem);line-height:1.15}
.bs-route-hero p{max-width:65ch;margin:.65rem 0 1rem}
.bs-tour-controls button.bs-locate{background:linear-gradient(#ffe4a8,#e8ba72);border:1px solid #ffdc99;color:#251b0f;font-weight:750;border-radius:5px}
.bs-guide-page .bs-choices,.bs-hud-buttons{display:flex;flex-wrap:wrap;gap:.4rem;align-items:center}
.bs-journey-route>.bs-choices{padding:.75rem clamp(.8rem,2vw,1.5rem);border-bottom:1px solid #41433e}
.bs-guide-page .bs-choice,.bs-hud-buttons button{display:inline-flex;align-items:center;text-decoration:none;padding:.38rem .7rem;min-height:2.25rem;border-radius:5px;border:1px solid #605d51;background:#232625;color:#ece8dd;font:inherit;line-height:1.25}
.bs-guide-page .bs-choice[aria-current],.bs-hud-buttons button[aria-pressed=true]{color:var(--ink);border-color:var(--ink);background:var(--tint);box-shadow:inset 0 -2px var(--ink)}
.bs-guide-page nav.bs-choices .bs-choice {
    min-height: 2.75rem;
    padding: .45rem .75rem;
    border-color: var(--bsh-ui-line);
    background: var(--bsh-ui-card);
    color: #f0eeea;
    font-weight: 650;
    text-decoration: none;
}
.bs-guide-page nav.bs-choices .bs-choice:is(:hover,[aria-current]) {
    border-color: var(--ink);
    background: var(--bsh-ui-accent-tint);
    color: var(--ink);
    box-shadow: none;
}
.bs-guide-page .bs-tour-chapter{border:0;margin:0;padding:clamp(.8rem,2vw,1.5rem)}
.bs-tour-chapter>h4{margin:0 0 .75rem;color:var(--ink);font-size:1.2rem}
.bs-lesson-grid{display:grid;grid-template-columns:minmax(0,.95fr) minmax(0,1.15fr);gap:1.3rem;align-items:start}
.bs-journey .bs-lesson-grid ol{margin:0;padding-left:1.5rem}
.bs-lesson-grid li::marker{font-weight:bold;color:var(--ink)}
.bs-lesson-grid li p{margin:.25rem 0 .85rem;font-size:.95em;line-height:1.45}
.bs-lesson-grid figure{margin:0;padding:.6rem;background:#111515;border:1px solid #393d38;border-radius:5px}
.bs-lesson-grid figcaption{font-size:.85em;margin-top:.4rem}
.bs-work-example{border:1px solid #514c40;border-radius:6px;background:#141817;padding:.85rem}
.bs-work-example header{display:flex;align-items:center;gap:.65rem}
.bs-work-example header img{width:3.25rem;height:3.25rem;object-fit:contain}
.bs-work-example h4,.bs-work-example p{margin:.25rem 0 .5rem}
.bs-work-example small{color:#d7c6a9}
.bs-work-example table{margin:.65rem 0;width:100%;font-size:.9em;border-collapse:collapse}
.bs-work-example :is(th,td){text-align:start;padding:.24rem .35rem;border-bottom:1px solid #40423f}
.bs-work-link{display:inline-block;margin-top:.5rem}
.bs-craft-pair{display:grid;gap:.5rem;margin:.75rem 0}
.bs-craft-pair article{background:#242824;border-inline-start:3px solid var(--ink);padding:.55rem .7rem}
.bs-craft-pair img{width:2rem;height:2rem;object-fit:contain;vertical-align:middle;margin-right:.45rem}
.bs-craft-pair [data-price]{font-size:.88em;color:#e4c28b}
.bs-work-hud{grid-column:1/-1}
.bs-lesson-grid:has(.bs-work-hud){grid-template-columns:1fr}
.bs-lesson-grid:has(.bs-work-hud)>ol{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,12rem),1fr));gap:1.5rem}
.bs-work-hud .bs-proxied-choice{display:none!important}
.bs-hud-buttons{margin:.55rem 0}
.bs-hud-buttons strong{flex-basis:100%}
.bs-guide-page [hidden],.bs-journey .bs-journey-links[hidden]{display:none!important}
[data-bs-site-tour].bs-tour-enhanced[open]>.bs-journey-body{display:grid;grid-template-columns:minmax(0,1.3fr) minmax(14rem,.85fr);align-items:center;gap:.8rem 1.6rem;padding:clamp(.85rem,2vw,1.5rem);border-left:3px solid #e8ba72;background:linear-gradient(110deg,#242922,#191d1f)}
[data-bs-site-tour] .bs-journey-body ol{margin:0}
[data-bs-site-tour] li[data-target]>strong{font-size:1.2em;color:#ffedc9}
[data-bs-site-tour] .bs-tour-controls{justify-content:flex-start;align-items:center;gap:.4rem}
.bs-tour-controls .bs-step-count{order:-2;flex-basis:100%;color:#e4c28b;font-weight:650}
.bs-tour-controls .bs-locate{order:-1}
.bs-tour-controls .bs-exit{border-color:transparent;background:transparent;text-decoration:underline}
[data-bs-site-tour] .bs-journey-links{grid-column:1/-1}
.bs-tour-highlight{outline:3px solid #ffda8d!important;outline-offset:4px;box-shadow:0 0 0 7px #302318!important;scroll-margin-block:6rem}
@media(max-width:1100px){.bs-lesson-grid{grid-template-columns:1fr}}
@media(max-width:760px){.bs-guide-layout{display:block}.bs-route-hero>div{padding:1rem}.bs-guide-tile{scroll-margin:5rem}.bs-journey-route{margin-bottom:.55rem}.bs-guide-heading{display:block}.bs-guide-heading nav{margin-top:.35rem}[data-bs-site-tour].bs-tour-enhanced[open]>.bs-journey-body{grid-template-columns:1fr}.bs-guide-page .bs-guide-tile{min-height:3rem}.bs-work-example .bs-choices{gap:.3rem}.bs-hud-buttons button{white-space:normal}}

.bs-guide-page .bs-work-example .bs-explain {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    min-height: 2.75rem;
    margin-bottom: .5rem;
    padding: .4rem .7rem;
    border: 1px solid var(--bsh-ui-line);
    border-radius: 5px;
    background: var(--bsh-ui-card);
    color: var(--ink);
    font: inherit;
    font-size: .9em;
    cursor: pointer;
}
.bs-guide-page .bs-work-example .bs-explain::after {
    content: "";
    width: .38em;
    height: .38em;
    border: solid currentColor;
    border-width: 0 2px 2px 0;
    transform: translateY(-.1em) rotate(45deg);
}
.bs-guide-page .bs-work-example .bs-explain[aria-expanded=true]::after {
    transform: translateY(.1em) rotate(225deg);
}
.bs-guide-page .bs-work-example .bs-explain:is(:hover,[aria-expanded=true]) { border-color: var(--ink); }
.bs-work-example .bs-explanation{border-left:2px solid var(--ink);padding:.35rem .65rem;background:var(--tint)}
.bs-work-hud .bs-hud-demo-tabs[data-hud-demo-tabs]{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:.45rem}
.bs-work-hud [data-hud-demo-tabs] button{display:flex;align-items:center;justify-content:center;gap:.45rem;min-height:3rem;padding:.4rem;border-left:3px solid var(--hud-ink);color:var(--hud-ink)}
.bs-work-hud [aria-controls="hud-demo-campaign"]{--hud-ink:var(--bsh-ui-accent);--hud-icon:url(../modules/site/images/topics/shrine.webp)}
.bs-work-hud [aria-controls="hud-demo-lexicon"]{--hud-ink:var(--bsh-ui-accent);--hud-icon:url(../modules/site/images/home/book-of-specialisation.webp)}
.bs-work-hud [aria-controls="hud-demo-atlas"]{--hud-ink:var(--bsh-ui-accent);--hud-icon:url(../modules/site/images/topics/waystones.webp)}
.bs-work-hud [data-hud-demo-tabs] button::before{content:"";width:1.75rem;height:1.75rem;background:var(--hud-icon) center/contain no-repeat}
.bs-work-hud [data-hud-demo-tabs] button[aria-pressed=true]{border-color:var(--hud-ink);box-shadow:inset 0 -2px var(--hud-ink)}
.bs-work-hud .bs-hud-stage{background:linear-gradient(100deg,#10141626,#10141660),var(--hud-scene) center/cover no-repeat}
.bs-work-hud .bs-hud-stage::before,.bs-work-hud .bs-hud-stage::after{display:none}
.bs-work-hud .bs-hud-stage{--hud-scene:url(../modules/site/images/areas/clearfell-encampment.webp)}
.bs-work-hud [data-scene=a1-devourer]{--hud-scene:url(../modules/site/images/areas/mud-burrow.webp)}
.bs-work-hud [data-scene=a1-riverbank]{--hud-scene:url(../modules/site/images/areas/riverbank.webp)}
.bs-work-hud .bs-hud-stage-search{--hud-scene:url(../modules/site/images/home/area-kingsmarch.webp)}
.bs-work-hud .bs-hud-stage-atlas{--hud-scene:url(../modules/site/images/home/guide-atlas.webp)}
@media(max-width:480px){.bs-work-hud [data-hud-demo-tabs] button{flex-direction:column;gap:.15rem}.bs-work-hud [data-hud-demo-tabs]{font-size:.9em}}

#tour-atlas-einstieg { scroll-margin-top: 5rem; }
