.fj-shell{--fj-ink:#233e32;--fj-green:#315c46;display:flex;flex-direction:column;height:100vh;height:100dvh;min-width:0;background:#faf6e9;color:var(--fj-ink);font:16px/1.45 system-ui,sans-serif;overflow:hidden}
.fj-shell *{box-sizing:border-box}.fj-shell [hidden]{display:none!important}.fj-shell button,.fj-shell a{font:inherit}.fj-shell button{cursor:pointer;touch-action:manipulation}.fj-shell button:disabled{cursor:default;opacity:.55}.fj-shell :is(button,a,[tabindex]):focus-visible{outline:3px solid #cf8a2d;outline-offset:3px}
.fj-skip{position:absolute;z-index:9;left:12px;transform:translateY(-130%);padding:8px 12px;background:white;color:#233e32}.fj-skip:focus{transform:none}
.fj-header{display:flex;align-items:center;justify-content:space-between;gap:15px;flex:none;padding:10px clamp(14px,2.7vw,35px);background:#193b31;color:#fff8df;border-bottom:2px solid #b4975e}.fj-header h1{margin:0;font:600 clamp(21px,2.2vw,32px)/1.15 Georgia,serif}.fj-header p{margin:0 0 3px;font-size:12px;color:#dce5d3}.fj-header nav{display:flex;gap:8px}.fj-header .fj-button{background:transparent;color:#fff5d4;border:1px solid #9aaa91;min-width:44px;font-size:13px}
.fj-layout{display:grid;grid-template-columns:minmax(0,1fr) clamp(320px,34vw,460px);flex:1;min-height:0}.fj-world{display:grid;grid-template-rows:minmax(0,1fr) auto;min-width:0;min-height:0;background:#c0cfbe}#journey-stage{position:relative;min-width:0;min-height:0;overflow:hidden}#journey-stage canvas{display:block;width:100%;height:100%}.fj-caption{display:flex;align-items:baseline;flex-wrap:wrap;gap:5px 13px;background:#263e33;color:#fcf5df;padding:12px clamp(14px,2vw,24px);font-size:clamp(14px,1.2vw,17px);max-height:30vh;overflow:auto}.fj-caption:empty{display:none}.fj-caption strong{color:#f5d58d;font-size:14px}.fj-caption span{flex:1 1 190px;min-width:0}.fj-panel{min-width:0;min-height:0;overflow:auto;overscroll-behavior:contain;scrollbar-gutter:stable;border-left:1px solid #b6ba9d}.fj-panel-inner{padding:clamp(16px,2.6vw,30px)}.fj-panel h2{margin:14px 0 10px;font:600 clamp(25px,2.7vw,37px)/1.12 Georgia,serif}.fj-instruction{margin:0 0 16px}.fj-actions,.fj-choices{display:grid;gap:9px}.fj-actions{margin-top:15px}.fj-button,.fj-choice{min-height:46px;padding:10px 13px;border:1px solid #315c46;border-radius:7px;background:#315c46;color:#fff9e9;line-height:1.35;font-weight:650!important}.fj-button:hover{background:#244532}.fj-quiet{background:transparent;color:#31533d;border-color:#a4ae94;font-weight:500!important}.fj-quiet:hover{background:#e8eddc}.fj-choice{display:grid;gap:6px;background:#fffdf5;color:#2b4936;text-align:left;border-color:#b0b69a}.fj-choice span{font-size:14px;font-weight:400;line-height:1.45}.fj-choice:hover{background:#eaf0df;border-color:#698168}.fj-note,.fj-credit{font-size:13px;color:#4a6250}.fj-note{padding:10px 12px;background:#f0eddb;border-left:3px solid #a18b50}.fj-credit{font-size:12px}.fj-credit a{color:#295e48}.fj-kicker{font-size:13px;font-weight:700;color:#4d6a4f}.fj-outline{font-size:13px;color:#47624d}.fj-outline summary{cursor:pointer;min-height:28px;font-weight:650}.fj-outline ol{padding-left:23px}.fj-outline li{padding:3px 0}.fj-outline [aria-current=step]{font-weight:750;color:#183b2d}.fj-outline p{border-top:1px solid #cbd0b7;padding-top:8px}.fj-anthem{padding:13px;border:1px solid #b6bea4;border-radius:7px;background:#f3f2e1}.fj-anthem progress{width:100%;accent-color:#375c41}.fj-reading{height:100%;display:flex;flex-direction:column;justify-content:center;align-items:center;padding:25px;text-align:center;background:#e8e8d7}.fj-reading-dome{font-size:100px;color:#637b60}.fj-reading h2{font-family:Georgia,serif;font-size:32px;margin:5px}.fj-reading p{max-width:34rem;margin:5px}
.fj-progress{display:grid;gap:4px;margin-top:8px}.fj-progress progress{width:100%;accent-color:#375c41}
@media(max-width:720px) and (orientation:portrait){.fj-header{padding:7px 10px;gap:8px}.fj-header h1{font-size:19px}.fj-header p{font-size:11px}.fj-header nav{gap:4px;flex-direction:column}.fj-header .fj-button{min-height:34px;padding:5px 8px;font-size:11px}.fj-layout{grid-template-columns:minmax(0,1fr);grid-template-rows:minmax(0,43%) minmax(0,1fr)}.fj-panel{border-left:0;border-top:1px solid #b6ba9d}.fj-panel-inner{padding:13px 15px 24px}.fj-caption{padding:7px 11px;max-height:18dvh}.fj-reading-dome{font-size:50px}.fj-reading h2{font-size:22px}}
@media(max-height:520px) and (orientation:landscape){.fj-header{padding:4px 12px}.fj-header p{display:none}.fj-header h1{font-size:22px}.fj-layout{grid-template-columns:minmax(0,1fr) minmax(260px,38%)}.fj-panel-inner{padding:12px 15px}.fj-caption{padding:5px 11px;max-height:27dvh}}
@media(prefers-reduced-motion:reduce){.fj-shell *{scroll-behavior:auto!important;animation:none!important;transition:none!important}}
