
:root{font-family:'Segoe UI',system-ui,sans-serif;color:#344b3e;--cream:#fff9ed;--green:#344f40;--gold:#e8bd65;--safe:env(safe-area-inset-bottom,0px)}*{box-sizing:border-box}body{margin:0;overflow:hidden;background:#acc6b3}button{font:inherit;cursor:pointer;border:0;-webkit-tap-highlight-color:transparent;color:inherit}button:focus-visible{outline:3px solid #d69637;outline-offset:4px}button:disabled{opacity:.5;cursor:default}[hidden]{display:none!important}#world,#garden{position:fixed;inset:0;width:100%;height:100%;touch-action:none}#garden{display:block}.hud{position:fixed;top:max(25px,env(safe-area-inset-top));left:32px;right:32px;display:flex;justify-content:space-between;gap:20px;align-items:center;pointer-events:none}.hud>*{pointer-events:auto}.identity{display:flex;gap:12px;align-items:center}.brand-icon{font-size:44px;color:#f8efd8;text-shadow:0 2px 10px #344b3e33}.identity h1{font:500 24px Georgia,serif;margin:3px 0 0;letter-spacing:-.5px}.eyebrow{font-size:10px;letter-spacing:2.3px;font-weight:700}.resources{display:flex;gap:9px}.resource{height:48px;display:flex;align-items:center;gap:9px;padding:0 18px;background:#fff9edf0;border:1px solid #fff8;box-shadow:0 5px 24px #42593913;border-radius:17px;font-size:18px;backdrop-filter:blur(12px)}.resource small{font-size:10px;color:#87917d}.coin-icon{color:#d9a745;border:2px solid #e9c87d;font-size:19px;border-radius:50%;width:24px;height:24px;line-height:17px;text-align:center}.level>span{background:#506c4c;color:#fff6db;border-radius:12px;width:30px;height:30px;display:grid;place-items:center;font-size:15px}.level>div{width:76px;text-align:left}.level small{font-size:8px;letter-spacing:1px}.xp-track{height:4px;background:#dee3ce;border-radius:9px;margin-top:6px;overflow:hidden}.xp-track i{display:block;height:100%;background:#7e9c68;transition:width .4s;width:0}#quest{position:fixed;top:104px;left:32px;display:flex;align-items:center;gap:12px;background:#fff9edea;padding:15px 14px;border-radius:17px;box-shadow:0 8px 30px #4259390d;max-width:320px;backdrop-filter:blur(10px)}.quest-icon{font-size:26px;background:#ebeedb;width:44px;height:44px;border-radius:13px;display:grid;place-items:center}#quest>div{display:flex;flex-direction:column;gap:4px}#quest small{font-size:8px;letter-spacing:1.5px;color:#89917b}#quest b{font-size:12px}#quest-progress{font-size:10px;color:#7d8774}#claim{background:transparent;font-size:24px;padding:9px}#quest.ready{border:1px solid #d3ae54}#quest.ready #claim{background:#e9c474;border-radius:12px}.view-controls{position:fixed;right:30px;top:112px;display:flex;flex-direction:column;gap:8px}.view-controls button,.round{width:42px;height:42px;display:grid;place-items:center;background:#fff9edeb;border:1px solid #fff8;box-shadow:0 4px 18px #4259390e;border-radius:14px;font-size:23px;position:relative}.view-controls button:hover{background:#fffdf5;transform:translateY(-1px)}.control-divider{height:5px}.off-dot{position:absolute;width:6px;height:6px;background:#b3b6a5;bottom:7px;right:8px;border-radius:50%}.welcome{position:fixed;left:7vw;top:28%;max-width:430px;padding:30px 35px 32px;background:linear-gradient(120deg,#fff9edeb,#fff9edb5);border:1px solid #fffa;border-radius:26px;backdrop-filter:blur(10px);box-shadow:0 20px 80px #344b3e12}.welcome .eyebrow{font-size:8px;letter-spacing:2px;color:#7b8b70}.welcome h2{font:500 clamp(45px,5.5vw,75px)/1.04 Georgia,serif;margin:20px 0;letter-spacing:-3px}.welcome em{font-weight:400;color:#708a59}.welcome p{font-size:13px;line-height:1.8;color:#72806a}.primary{background:var(--green);color:var(--cream);border-radius:14px;padding:17px 20px;font-size:13px;font-weight:600;display:flex;align-items:center;justify-content:space-between;gap:36px;box-shadow:0 7px 18px #344f4022}.primary:hover{background:#45634d}.primary span{font-size:20px}.welcome .primary{margin-top:24px;width:100%}.welcome>small{display:block;margin:15px 0 0;text-align:center;color:#8a907e;font-size:9px}.gesture-hint{position:fixed;bottom:calc(12px + var(--safe));left:50%;transform:translateX(-50%);font-size:9px;white-space:nowrap;color:#465f49;text-shadow:0 1px 8px #fff}.gesture-hint span{padding:0 10px}#hint{position:fixed;left:50%;bottom:calc(154px + var(--safe));transform:translateX(-50%);background:#344f40ed;color:#fff8e8;padding:12px 14px;border-radius:14px;display:flex;align-items:center;gap:12px;font-size:11px;box-shadow:0 7px 25px #334c4020;max-width:90vw;width:max-content}#hint>span:first-child{color:#e5c47d;font-size:21px}#hint-close{background:transparent;color:#e7ead9;font-size:19px;margin-left:5px}#labels,#floaters{position:fixed;inset:0;pointer-events:none;overflow:hidden}.plant-label{position:absolute;transform:translate(-50%,-100%);display:flex;align-items:center;gap:4px;background:#fff9eff2;padding:5px 7px;border-radius:9px;color:#3a5641;box-shadow:0 2px 8px #324b3220;font-size:9px;white-space:nowrap}.plant-label.ready{background:#fff1bf;border:1px solid #e4c365;animation:bob 2.2s ease-in-out infinite}.plant-label.water{background:#e1f5f5}.plant-label.locked{background:#f9f4e5bd;color:#62705a}.plant-label .bar{width:22px;height:3px;background:#d6dfc6;border-radius:3px}.plant-label i{height:3px;display:block;background:#86a875;border-radius:3px}.floater{position:absolute;color:#fff8d3;font-size:22px;font-weight:800;text-shadow:0 2px 4px #4e6741;animation:float 1.6s ease-out forwards}.sheet{position:fixed;z-index:30;bottom:0;left:50%;transform:translateX(-50%);width:min(670px,100%);background:#fffaf0;border-radius:27px 27px 0 0;padding:0 27px calc(25px + var(--safe));box-shadow:0 -15px 80px #2336292b;max-height:80dvh;overflow:auto;animation:rise .25s ease-out}.sheet-handle{height:4px;width:34px;border-radius:4px;background:#d9ddcc;margin:10px auto 21px}.sheet-heading{display:flex;justify-content:space-between;align-items:center;margin-bottom:20px}.sheet-heading .eyebrow{font-size:8px;color:#8a947c}.sheet h2{font:500 27px Georgia,serif;margin:5px 0 0}.sheet .round{background:#edf0e1;box-shadow:none;border:0}#scrim{position:fixed;inset:0;background:#243c2a44;backdrop-filter:blur(2px);z-index:25}.crop-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}.crop-card{padding:16px 10px;border:1px solid #e4e6d7;border-radius:16px;display:flex;flex-direction:column;align-items:center;gap:7px;background:#f5f5e9;position:relative}.crop-card.chosen{background:#e9eedb;border:2px solid #7a9564;padding:15px 9px}.crop-card .crop-icon{font-size:35px;line-height:1.4}.crop-card b{font-size:12px}.crop-card small{font-size:9px;color:#899077}.crop-card .price{font-size:11px;color:#8e722f;margin-top:5px}.crop-card.locked{opacity:.55}.sheet-note{font-size:11px;color:#849077;line-height:1.8;margin:20px 0 0}.shop-list{display:flex;flex-direction:column;gap:9px}.shop-item{display:flex;align-items:center;gap:13px;padding:12px;background:#f0f2e4;border-radius:15px}.shop-item>span{font-size:33px;width:49px;text-align:center}.shop-item>div{flex:1}.shop-item b{font-size:13px}.shop-item p{font-size:10px;color:#7c886f;margin:5px 0 0}.shop-item button{border-radius:10px;background:#3c5946;color:#fff5db;padding:11px 13px;font-size:11px}.settings-row{display:flex;justify-content:space-between;align-items:center;gap:10px;border-bottom:1px solid #e3e7d7;padding:15px 0;font-size:12px}.settings-row select{padding:10px;border:1px solid #d3dcc7;background:#f6f7eb;border-radius:9px;color:#40553e}.stats{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin-bottom:15px}.stats>div{background:#eef1e1;border-radius:14px;padding:18px;text-align:center}.stats strong{display:block;font:500 30px Georgia,serif}.stats small{font-size:10px;color:#859174}.secondary{background:#e5ebd8;border-radius:10px;padding:12px 16px;font-size:12px}.settings-actions{display:flex;gap:10px;margin-top:17px}#toast{position:fixed;z-index:50;left:50%;top:95px;transform:translate(-50%,-12px);max-width:88vw;width:max-content;background:#fff9ed;color:#40533a;padding:15px 23px;border:1px solid #fff;border-radius:15px;box-shadow:0 7px 35px #20372528;font-size:12px;pointer-events:none;opacity:0;transition:.25s;text-align:center}#toast.show{opacity:1;transform:translate(-50%,0)}#save-status{position:fixed;left:24px;bottom:18px;font-size:8px;color:#476c4c;opacity:0;transition:opacity .4s}#loading{position:fixed;inset:0;z-index:100;background:#f6f5e9;display:flex;flex-direction:column;justify-content:center;align-items:center;text-align:center;padding:30px}.loading-mark{font-size:65px;color:#81986a;animation:turn 12s linear infinite}#loading h1{font:500 32px Georgia,serif;margin:25px 0 8px}#loading p{font-size:12px;color:#8a947c;line-height:1.8;max-width:450px}.loading-line{width:160px;height:3px;background:#e2e7d7;border-radius:4px;margin-top:28px;overflow:hidden}.loading-line i{display:block;height:3px;width:40%;background:#8ba376;animation:load 1.5s infinite}body.night{color:#f7efda}body.night .resource,body.night #quest,body.night .view-controls button{color:#344b3e}body.night .gesture-hint{color:#f5ebce;text-shadow:none}body.night .welcome{color:#344b3e}body.night .sheet{color:#344b3e}@keyframes load{from{transform:translateX(-100%)}to{transform:translateX(350%)}}@keyframes turn{to{transform:rotate(360deg)}}@keyframes rise{from{transform:translate(-50%,30px);opacity:0}}@keyframes bob{50%{margin-top:-3px}}@keyframes float{to{transform:translateY(-80px);opacity:0}}
@media(max-width:700px){.hud{top:max(14px,env(safe-area-inset-top));left:16px;right:16px;gap:9px;align-items:flex-start;flex-wrap:wrap}.identity{gap:8px}.brand-icon{font-size:32px}.identity h1{font-size:20px}.identity .eyebrow{font-size:7px;letter-spacing:1.4px}.resources{gap:6px;width:100%;justify-content:flex-end}.resource{height:37px;padding:0 11px;border-radius:12px;font-size:15px;gap:6px}.level{margin-right:auto}.level>span{width:25px;height:25px;font-size:12px;border-radius:8px}.level>div{width:65px}.resource small{font-size:9px}.coin-icon{width:20px;height:20px;line-height:14px;font-size:16px}#quest{top:116px;left:16px;padding:10px;gap:8px;max-width:268px;border-radius:14px}.quest-icon{width:33px;height:36px;font-size:21px;border-radius:10px}#quest b{font-size:11px}#quest small{font-size:7px}#quest-progress{font-size:9px}#claim{font-size:18px;padding:5px}.view-controls{right:14px;top:117px;gap:6px}.view-controls button{width:34px;height:34px;border-radius:11px;font-size:20px}.welcome{left:22px;right:22px;top:auto;bottom:32px;padding:25px 27px;max-width:370px}.welcome h2{font-size:53px;margin:16px 0;letter-spacing:-2px}.welcome p{font-size:12px}.welcome .primary{margin-top:19px}.gesture-hint{bottom:calc(9px + var(--safe));font-size:8px}#hint{bottom:calc(112px + var(--safe));font-size:10px;padding:9px 10px;gap:7px;max-width:calc(100vw - 28px)}#hint-text{max-width:280px;line-height:1.5}#hint>span:first-child{font-size:18px}#save-status{display:none}.sheet{padding-left:18px;padding-right:18px}.sheet h2{font-size:25px}.crop-card{padding:12px 5px}.crop-card.chosen{padding:11px 4px}.crop-card .crop-icon{font-size:30px}.crop-card b{font-size:11px}.crop-card small{font-size:8px}.sheet-heading{margin-bottom:15px}#toast{top:185px;font-size:11px;padding:12px 15px}.plant-label{font-size:8px;padding:4px 5px}.shop-item{gap:8px}.shop-item p{font-size:9px}.shop-item button{padding:10px;font-size:10px}}
@media(max-height:550px) and (min-width:650px){.hud{top:12px}.view-controls{top:80px;gap:4px}.view-controls button{width:31px;height:31px;font-size:18px}#quest{top:80px;padding:10px}.gesture-hint{bottom:6px}#hint{bottom:106px}.welcome{top:95px;padding:18px 25px}.welcome h2{font-size:43px;margin:12px 0}.welcome p{display:none}.welcome .primary{margin-top:14px}}
@media(prefers-reduced-motion:reduce){*{animation:none!important;transition:none!important}}
@media(max-height:550px) and (min-width:650px){.identity h1{font-size:18px}.brand-icon{font-size:28px}.identity .eyebrow{font-size:7px}.resource{height:35px;font-size:14px;padding:0 12px}.hud{left:18px;right:18px}#quest{display:none}#hint{display:none}}

/* Walk mode: dual touch controls remain clear of the garden tools. */
.walk-switch{position:fixed;top:190px;left:16px;display:flex;gap:7px;z-index:5}.walk-switch button,#walk-action{background:#fff8ecee;color:#344f40;border:1px solid #fff;border-radius:14px;padding:12px;font-size:11px;box-shadow:0 5px 20px #344f4020}
#walk-stick{position:fixed;left:28px;bottom:150px;width:108px;height:108px;border:2px solid #fff9;border-radius:50%;background:#fdf8e736;touch-action:none;display:grid;place-items:center;z-index:5;user-select:none}#walk-stick i{width:44px;height:44px;background:#fff9e9b8;border:2px solid #fff;border-radius:50%;pointer-events:none}#walk-stick span{position:absolute;bottom:-20px;font-size:8px;letter-spacing:2px;color:#344f40}
#walk-action{position:fixed;right:20px;bottom:180px;z-index:5;max-width:130px}#walk-pose{position:fixed;right:20px;bottom:240px;z-index:5;max-width:130px}#walk-pose[hidden]{display:none}#walk-help{position:fixed;bottom:126px;left:50%;transform:translateX(-50%);white-space:nowrap;font-size:9px;background:#fff9edcc;padding:5px 9px;border-radius:8px;color:#344f40}#crosshair{position:fixed;top:48%;left:50%;font-size:30px;color:#fff;pointer-events:none;text-shadow:0 1px 4px #234}
body:not([data-view=overview]) #hint,body:not([data-view=overview]) .gesture-hint,body:not([data-view=overview]) #zoom-in,body:not([data-view=overview]) #zoom-out,body:not([data-view=overview]) #home-view{display:none}body[data-view=overview] #walk-stick,body[data-view=overview] #walk-action,body[data-view=overview] #walk-pose,body[data-view=overview] #walk-help,body[data-view=overview] #crosshair{display:none}body[data-view=third] #crosshair{display:none}
@media(min-width:701px){.walk-switch{top:200px;left:32px}#walk-help:after{content:' · PC: WASD / Pfeile · E: Beet · V: Perspektive'}}
@media(max-height:550px){.walk-switch{top:65px;left:16px}#walk-stick{bottom:92px;width:88px;height:88px;left:22px}#walk-action{bottom:112px;right:65px}#walk-help{bottom:90px;font-size:8px}.walk-switch button{padding:9px;font-size:10px}}

.walk-switch{flex-wrap:wrap;max-width:calc(100vw - 85px)}body[data-indoors=true] .plant-label{display:none}

/* Separate,touch-safe movement buttons also work while a second finger looks around. */
#walk-ui{position:fixed;inset:0;z-index:10;pointer-events:none}
#walk-ui button,#walk-stick{pointer-events:auto;touch-action:none;-webkit-user-select:none;user-select:none;-webkit-touch-callout:none}
#walk-pad{position:fixed;left:max(18px,env(safe-area-inset-left));bottom:calc(144px + var(--safe));display:grid;grid-template-columns:repeat(3,48px);grid-template-rows:repeat(2,48px);gap:5px;pointer-events:none}
#walk-pad button{background:#fff4dfed;border:2px solid #fff;border-radius:15px;font-size:21px;color:#345840;box-shadow:0 4px 14px #294e3940;padding:0}
#walk-pad button[data-pressed=true]{background:#496e4e;color:#fff;transform:scale(.94)}
#move-forward{grid-column:2}#move-left{grid-column:1;grid-row:2}#move-back{grid-column:2;grid-row:2}#move-right{grid-column:3;grid-row:2}
#walk-stick{left:36px;bottom:calc(272px + var(--safe));width:86px;height:86px;opacity:.75}
#walk-help{font-size:9px;max-width:96vw;white-space:normal;text-align:center;bottom:calc(112px + var(--safe))}
#walk-action{bottom:calc(168px + var(--safe));right:max(14px,env(safe-area-inset-right));max-width:125px}#walk-pose{bottom:calc(226px + var(--safe));right:max(14px,env(safe-area-inset-right));max-width:125px}
body[data-view=overview] #walk-pad{display:none}
@media(max-height:550px){#walk-pad{bottom:calc(96px + var(--safe));grid-template-columns:repeat(3,42px);grid-template-rows:repeat(2,42px)}#walk-stick{display:none}#walk-action{bottom:106px}#walk-pose{bottom:158px}#walk-help{bottom:76px}.walk-switch{top:65px}}

/* Calm{width:24px;height:24px;display:block}
.walk-switch{padding:4px;gap:3px;background:#fffaf0ee;border:1px solid #fff9;border-radius:18px;box-shadow:0 4px 20px #29433516;backdrop-filter:blur(12px)}
.walk-switch button{background:transparent;border:0;box-shadow:none;border-radius:13px;font-size:12px;font-weight:600;padding:12px 13px}
#perspective{background:#e6edde}.walk-switch button:hover{background:#e6edde}
#walk-stick{display:none}
#walk-pad button{background:#faf8eef0;border:1px solid #fff9;font-size:18px;border-radius:16px;box-shadow:0 3px 12px #29433520}
#walk-pad:before{content:'LAUFEN';position:absolute;top:-23px;left:0;right:0;text-align:center;font-size:9px;letter-spacing:1.8px;font-weight:700;color:#344f40;text-shadow:0 1px 5px #fff}
#walk-action{background:#385944;color:#fffaf0;border:1px solid #fff4;padding:16px 18px;border-radius:18px;font-size:12px;font-weight:600;box-shadow:0 5px 18px #29433525}#walk-pose{background:#7a5a3c;color:#fffaf0;border:1px solid #fff4;padding:14px 18px;border-radius:18px;font-size:12px;font-weight:600;box-shadow:0 5px 18px #29433525}
#walk-help{background:#fffaf0d9;border-radius:12px;padding:8px 12px;font-size:10px;line-height:1.5;color:#526350}
.resource small{color:#596c57}.sheet-note,.shop-item p,.crop-card small{color:#64715e}.plant-label{font-size:10px;font-weight:500;padding:6px 9px;border:1px solid #fff8;box-shadow:0 3px 10px #29433518}
@media(max-width:700px){
 .identity h1{font-size:21px}.identity .eyebrow{font-size:8px;letter-spacing:1.5px}.hud{gap:10px}.resources{gap:7px}.resource{height:39px}.level small{font-size:10px;letter-spacing:0}.level>div{width:69px}
 #quest{top:118px;padding:10px 12px;max-width:calc(100vw - 76px);border:1px solid #fff8}.quest-icon,#quest small{display:none}#quest b{font-size:12px}#quest-progress{font-size:10px;line-height:1.3}#claim{padding:8px;margin-left:8px}
 .walk-switch{top:189px;left:16px;max-width:calc(100vw - 76px);width:auto;flex-wrap:nowrap}.walk-switch button{font-size:10px;padding:11px 9px;white-space:nowrap}
 .gesture-hint{display:none}
 #walk-help{bottom:calc(105px + var(--safe));font-size:9px;white-space:nowrap;padding:7px 10px}
 #walk-pad{bottom:calc(149px + var(--safe))}#walk-action{bottom:calc(160px + var(--safe));max-width:132px}.view-controls button{width:36px;height:36px}
}
@media(max-height:550px){.walk-switch{top:64px}#walk-pad{bottom:calc(100px + var(--safe))}#walk-pad:before{display:none}#walk-help{display:none}#walk-action{bottom:115px}}

/* Movement controls: analogue touch stick and uncluttered desktop hints. */
@media (pointer:coarse){#walk-stick{display:block!important;left:22px;bottom:calc(153px + env(safe-area-inset-bottom));width:108px;height:108px;touch-action:none}#walk-pad{display:none!important}}
@media (pointer:fine){#walk-pad,#walk-stick{display:none!important}#walk-help{font-size:12px}}
@media (pointer:coarse) and (max-height:550px){#walk-stick{bottom:95px;width:90px;height:90px}}
#world{touch-action:none}#walk-action{transition:background .15s,transform .15s}#walk-action:active{transform:scale(.96)}

#free-stick{position:fixed;width:128px;height:128px;border:2px solid rgba(255,255,255,.55);border-radius:50%;background:rgba(43,71,60,.18);pointer-events:none;z-index:8;box-shadow:0 8px 22px #18372d33}#free-stick i{position:absolute;left:50%;top:50%;width:46px;height:46px;margin:-23px;border-radius:50%;background:linear-gradient(145deg,#fff8df,#d8b878);box-shadow:0 3px 10px #18372d66}

/* Sakura edition — restrained,thumb-friendly controls. */
:root{--ink:#304d41;--cream:#fffaf0;--sage:#dfe8d8}
button{-webkit-tap-highlight-color:transparent;touch-action:manipulation;transition:background 60ms,transform 60ms}
button:active{transform:scale(.97)}
.hud,.walk-switch,#quest,.view-controls,#hint{backdrop-filter:none!important}
.walk-switch{top:88px;left:24px;max-width:calc(100vw - 48px);border-radius:16px;background:#fffaf0f5;padding:4px;gap:2px}
.walk-switch button{min-height:42px;color:var(--ink);font:600 12px system-ui,sans-serif;padding:10px 16px;touch-action:manipulation!important}
#quest{top:151px;left:24px;border-radius:16px;background:#fffaf0ed;box-shadow:0 3px 12px #24433112}
.view-controls{top:88px;right:24px;background:#fffaf0ed}

.gesture-hint,#save-status,#walk-pad{display:none!important}

#walk-action{min-height:48px;max-width:155px;bottom:calc(125px + var(--safe));right:24px;touch-action:manipulation!important;border-radius:16px;background:#345b49;font:600 13px system-ui,sans-serif;box-shadow:0 3px 12px #24433122}
#walk-help{bottom:calc(89px + var(--safe));font:11px system-ui,sans-serif;background:#fffaf0dc}
#free-stick{background:#345b492b;border-color:#fffaf0a0;box-shadow:none}#free-stick i{background:#fffaf0d9;box-shadow:0 2px 8px #24433122}
#walk-stick i{background:#fffaf0ce}#walk-stick span{display:none}
body:not([data-started=true]) #walk-ui{display:none}

body[data-indoors=true] #quest{display:none}
body[data-view=overview] #walk-action{display:block}
#hint{bottom:calc(190px + var(--safe));max-width:310px;background:#fffaf0ed;border-radius:16px}
@media(max-width:700px){
 body[data-started=true] .identity{display:none}.hud{top:calc(12px + env(safe-area-inset-top));left:12px;right:12px;gap:0;display:block}.resources{display:flex;justify-content:space-between;gap:8px}.resource{height:40px;border-radius:14px;padding:8px 12px;background:#fffaf0f5;box-shadow:0 2px 9px #24433112}.level>div{width:64px}
 .walk-switch{top:calc(64px + env(safe-area-inset-top));left:12px;width:calc(100vw - 24px);max-width:none;box-sizing:border-box;display:grid;grid-template-columns:repeat(4,1fr);gap:0;padding:3px;flex-wrap:nowrap}
 .walk-switch button{padding:9px 2px;font-size:10px;min-height:40px;white-space:nowrap}
 #quest{top:calc(122px + env(safe-area-inset-top));left:12px;max-width:calc(100vw - 72px);padding:9px 11px}#quest b{font-size:11px}#quest-progress{font-size:10px}#claim{padding:7px}
 .view-controls{top:calc(121px + env(safe-area-inset-top));right:12px;padding:3px;gap:2px;border-radius:14px}.view-controls button{width:36px;height:36px}
 
 #walk-action{right:16px;bottom:calc(130px + var(--safe));max-width:142px;font-size:12px;padding:13px 16px}#walk-help{display:none}
}
@media(pointer:coarse){#walk-stick{display:grid!important;left:22px;bottom:calc(112px + var(--safe));width:96px;height:96px;opacity:.8;box-shadow:none}}
@media(max-height:550px){
 .hud{top:8px;left:14px;right:14px}.identity,#quest{display:none!important}.resources{justify-content:flex-start;gap:8px}.resource{height:36px}
 .walk-switch{top:55px;left:14px;width:410px;max-width:calc(100vw - 76px)}.walk-switch button{min-height:36px;font-size:11px}
 .view-controls{top:12px;right:14px}#walk-help{display:none}
 #walk-action{bottom:calc(90px + var(--safe));right:22px}#walk-stick{bottom:calc(86px + var(--safe))!important;width:86px!important;height:86px!important}#hint{bottom:110px}
}
/* Island gameplay: compact touch targets. (Beim Korb-Ausbau am 22.09. war hier das Kommentarende
   mit weggeloescht - dadurch war bis Zeile 98 alles auskommentiert: Quickbar, Bauknoepfe,
   Aktionsknoepfe und die Marktschilder waren weg bzw. klebten oben links.) */
#island-ui{pointer-events:none}#quickbar{position:fixed;bottom:max(18px,env(safe-area-inset-bottom));left:50%;transform:translateX(-50%);display:flex;gap:6px;padding:7px;background:#f8f4e8ee;border:1px solid #ffffffaa;border-radius:22px;box-shadow:0 8px 28px #38473525;pointer-events:auto}#quickbar button{position:relative;width:69px;height:76px;border:1px solid #d7dccb;border-radius:15px;background:#fffaf0;color:#4e5949;display:flex;align-items:center;justify-content:center;flex-direction:column;padding:5px}#quickbar button.selected{border:2px solid #7a966c;background:#e6eedb}#quickbar small{position:absolute;left:6px;top:3px;font-size:10px}#quickbar span{font-size:25px}#quickbar em{font-size:9px;font-style:normal;margin-top:5px}#island-actions{position:fixed;bottom:110px;left:50%;transform:translateX(-50%);display:flex;gap:8px;pointer-events:auto}#island-actions button,#placement-controls button{border:1px solid #d9dfcd;background:#faf8ed;color:#4c5c46;border-radius:14px;padding:12px;min-height:44px;box-shadow:0 3px 12px #33442215}#island-context{position:fixed;bottom:165px;left:50%;transform:translateX(-50%);white-space:nowrap;background:#faf7e9de;border-radius:16px;padding:8px 14px;font-size:12px;color:#53614e}#event-banner{position:fixed;top:95px;left:50%;transform:translateX(-50%);background:#e8edf7e8;border-radius:18px;padding:11px 18px;color:#374966;font-size:13px;white-space:nowrap}#placement-controls{position:fixed;bottom:210px;left:50%;transform:translateX(-50%);display:flex;gap:6px;pointer-events:auto;white-space:nowrap}#placement-controls[hidden],#event-banner[hidden]{display:none}.world-shop-label{position:fixed;transform:translate(-50%,-50%);background:#fcf4dfed;color:#5e604e;padding:5px 10px;border-radius:10px;font-size:11px;pointer-events:none;white-space:nowrap}.valuation{display:flex;justify-content:space-between;padding:16px;background:#edf1e4;border-radius:12px}.gesture-hint{display:none!important}@media(max-width:600px){#quickbar{gap:3px;padding:5px;bottom:10px}#quickbar button{width:49px;height:64px}#quickbar em{font-size:8px}#quickbar span{font-size:22px}#island-actions{bottom:91px}#island-context{bottom:143px;font-size:10px}#placement-controls{bottom:183px;gap:3px}#placement-controls button{font-size:10px;padding:9px}#event-banner{top:135px;font-size:11px;padding:8px 12px}}

/* Keep the six-slot touch bar clear of the existing movement controls. */
#island-context{bottom:205px;max-width:calc(100vw - 32px);text-align:center;pointer-events:none}
#event-banner{top:188px;max-width:calc(100vw - 28px);font-size:12px}
@media(max-width:600px){#event-banner{top:calc(60px + env(safe-area-inset-top))}#island-context{bottom:205px;font-size:11px}#placement-controls{bottom:250px;max-width:calc(100vw - 20px);flex-wrap:wrap}#quickbar{gap:3px}#quickbar button{width:46px;min-width:0}#walk-action{bottom:145px!important}}
@media(max-height:550px){#event-banner{top:70px;left:50%;max-width:300px}#island-context{bottom:170px}#placement-controls{bottom:205px}}

/* Kopfleiste nach Adems Vorbild: vier dicke Tasten mit Symbol,fester Unterkante
   und spuerbarem Druck. Die Beschriftung kommt weiter aus walk.mjs. */
.walk-switch{background:none;border:0;box-shadow:none;padding:0;gap:9px;display:flex;flex-wrap:nowrap;align-items:flex-end;width:auto;max-width:calc(100vw - 48px)}
.walk-switch button{--face:#6f8f6a;--edge:#4c6a48;position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;min-height:56px;min-width:74px;padding:7px 14px 8px;border:2px solid #fffffff0;border-radius:18px;background:linear-gradient(#ffffff38,#00000022) var(--face);color:#fffaf0;font:800 11px/1.15 system-ui,sans-serif;letter-spacing:.2px;text-shadow:0 1px 0 #00000038;box-shadow:0 4px 0 var(--edge),0 8px 16px #1f362b30;transition:transform .12s cubic-bezier(.34,1.56,.64,1),box-shadow .12s ease,filter .12s ease;animation:knopf-ein .42s cubic-bezier(.34,1.56,.64,1) both}
.walk-switch button:before{content:'';font-size:19px;line-height:1.1;text-shadow:0 1px 2px #00000040;transition:transform .16s cubic-bezier(.34,1.56,.64,1)}
#perspective{--face:#6f8f6a;--edge:#4c6a48;background:linear-gradient(#ffffff38,#00000022) var(--face)}
#perspective:before{content:'👁️'}
#overview{--face:#6e93b3;--edge:#4c6c89}
#overview:before{content:'🗺️'}
.walk-switch button:nth-child(2){animation-delay:.05s}
.walk-switch button:hover{transform:translateY(-2px);box-shadow:0 6px 0 var(--edge),0 11px 20px #1f362b33;filter:saturate(1.12)}
.walk-switch button:hover:before{transform:scale(1.14) rotate(-4deg)}
.walk-switch button:active{transform:translateY(4px);box-shadow:0 0 0 var(--edge),0 3px 7px #1f362b2e;filter:brightness(1.06)}
.walk-switch button:active:before{transform:scale(.92)}
/* Die aktive Ansicht traegt einen hellen Ring und atmet leicht. */
body[data-view=first] #perspective,body[data-view=overview] #overview{box-shadow:0 0 0 3px #fffaf0d0,0 4px 0 var(--edge),0 9px 18px #1f362b38;filter:brightness(1.1);animation:knopf-ein .42s cubic-bezier(.34,1.56,.64,1) both,knopf-atmen 2.6s ease-in-out .5s infinite}
@keyframes knopf-ein{from{transform:translateY(-16px) scale(.8);opacity:0}60%{transform:translateY(2px) scale(1.05);opacity:1}to{transform:none;opacity:1}}
@keyframes knopf-atmen{50%{transform:translateY(-2px)}}
@media(max-width:700px){
 .walk-switch{display:grid;grid-template-columns:repeat(4,1fr);gap:6px;padding:0;width:calc(100vw - 24px);max-width:none}
 .walk-switch button{min-width:0;min-height:54px;padding:6px 3px 7px;font-size:9.5px;border-radius:16px;letter-spacing:0;white-space:nowrap}
 .walk-switch button:before{font-size:17px}
}
@media(max-height:550px){
 .walk-switch{gap:5px}
 .walk-switch button{min-height:40px;padding:5px 9px 6px;font-size:10px;border-radius:13px;gap:0;box-shadow:0 3px 0 var(--edge),0 6px 12px #1f362b2e}
 .walk-switch button:before{font-size:14px}
}

/* Sprungtaste: in Ich-Sicht,Figuransicht und Uebersicht erreichbar,neben
   der Aktionstaste,damit der rechte Daumen beides trifft. */
#walk-jump{--face:#e0a84f;--edge:#ab7a2b;position:fixed;z-index:11;right:187px;bottom:calc(125px + var(--safe));display:flex;flex-direction:column;align-items:center;justify-content:center;gap:1px;width:64px;min-height:54px;padding:6px 4px 7px;border:2px solid #fffffff0;border-radius:18px;background:linear-gradient(#ffffff38,#00000022) var(--face);color:#fffaf0;font:800 10px/1.15 system-ui,sans-serif;text-shadow:0 1px 0 #00000038;box-shadow:0 4px 0 var(--edge),0 8px 16px #1f362b30;transition:transform .12s cubic-bezier(.34,1.56,.64,1),box-shadow .12s ease;pointer-events:auto;touch-action:manipulation!important}
#walk-jump:before{content:'⤒';font-size:20px;line-height:1;transition:transform .16s cubic-bezier(.34,1.56,.64,1)}
#walk-jump:hover{transform:translateY(-2px);box-shadow:0 6px 0 var(--edge),0 11px 20px #1f362b33}
#walk-jump:hover:before{transform:translateY(-3px)}
#walk-jump:active{transform:translateY(4px);box-shadow:0 0 0 var(--edge),0 3px 7px #1f362b2e}
#walk-jump:active:before{transform:translateY(-5px) scale(1.1)}
body[data-indoors=true] #walk-jump{display:none}
@media(max-width:700px){#walk-jump{right:166px;bottom:calc(130px + var(--safe))}}
@media(max-width:600px){#walk-jump{bottom:calc(145px + var(--safe))}}
@media(max-height:550px){#walk-jump{right:172px;bottom:calc(90px + var(--safe));min-height:44px;width:58px;border-radius:14px;box-shadow:0 3px 0 var(--edge),0 6px 12px #1f362b2e}#walk-jump:before{font-size:17px}}

/* Botanisches Archiv: eine Zeile je Pflanze,sieben Felder,Praemie rechts.
   Auf dem Handy rutscht die Praemie unter die Felder,damit nichts abgeschnitten wird. */
#archive-open em{font-style:normal;font-size:10px;color:#7b8a71;margin-left:6px}
#archive-open.ready{background:#fdf2cd;border-color:#d9b862;box-shadow:0 0 0 2px #e8c97b55}
.archiv-kopf{font-size:12px;color:#77856d;margin:0 0 14px}
.archiv-kopf strong{font:500 21px Georgia,serif;color:#3f5741}
.archiv-liste{display:flex;flex-direction:column;gap:8px}
.archiv-zeile{display:flex;align-items:center;gap:12px;padding:11px 13px;background:#f1f3e5;border:1px solid transparent;border-radius:15px}
.archiv-zeile.voll{background:#e9f0dc;border-color:#b3c79b}
.archiv-zeile.meister{margin-top:10px;background:#f6f0e0;border-color:#e0cb96}
.archiv-pflanze{display:flex;align-items:center;gap:8px;width:118px;flex:none}
.archiv-pflanze span{font-size:25px}
.archiv-pflanze b{font-size:12px}
.archiv-felder{flex:1;display:flex;gap:5px;min-width:0}
.archiv-felder>i{flex:1;min-width:0;display:flex;flex-direction:column;align-items:center;gap:3px;padding:5px 2px;background:#fffaf0;border:1px dashed #d3d9c6;border-radius:9px;font-style:normal}
.archiv-felder>i.da{background:#fff5d6;border:1px solid #dcbc6e}
.archiv-felder>i em{font-style:normal;font-size:13px;line-height:1;color:#c2c8b4}
.archiv-felder>i.da em{color:#c08c2c}
.archiv-felder>i small{font-size:7px;line-height:1.2;color:#8b9480;text-align:center;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:100%}
.archiv-felder>small{font-size:10px;color:#8b9480}
.archiv-praemie{width:168px;flex:none;text-align:right;font-size:10px;color:#8b9480}
.archiv-praemie .primary{padding:10px 12px;font-size:11px;gap:0;justify-content:center}
.archiv-praemie .erledigt{color:#6f8b5c;font-weight:600}
@media(max-width:600px){
 .archiv-zeile{flex-wrap:wrap;gap:8px;padding:9px}
 .archiv-pflanze{width:auto;flex:1}
 .archiv-praemie{width:auto;text-align:right}
 .archiv-felder{order:3;flex-basis:100%;gap:3px}
 .archiv-felder>i small{display:none}
 .archiv-felder>i{padding:7px 2px}
}

/* Angeln. Waehrend des Minispiels gehoert der untere Rand ihm allein: Quickbar,
   Inselknoepfe und der normale Aktionsknopf verschwinden, es bleibt genau ein
   grosser Knopf. Das ist Adems "nur ein Haupt-Action-Button", auch hier. */
body[data-angeln] #quickbar,body[data-angeln] #island-actions,body[data-angeln] #walk-action,
body[data-angeln] #walk-pose,body[data-angeln] #walk-jump,body[data-angeln] .gesture-hint{display:none!important}
#angel-ui[hidden]{display:none}
#angel-ui{pointer-events:none}
#angel-tafel{position:fixed;left:50%;transform:translateX(-50%);bottom:calc(112px + var(--safe));
 width:min(340px,calc(100vw - 32px));background:#faf7e9ee;border:1px solid #ffffffaa;border-radius:18px;
 padding:11px 14px;box-shadow:0 8px 28px #38473528;text-align:center;pointer-events:none}
#angel-tafel b{display:block;font-size:15px;color:#344f40;letter-spacing:.2px}
#angel-tafel span{display:block;font-size:11px;color:#64715e;margin-top:2px;min-height:14px}
.angel-balken{position:relative;height:11px;margin-top:8px;border-radius:7px;background:#e4e6d8;overflow:hidden}
.angel-balken[hidden]{display:none}
.angel-balken i{display:block;height:100%;width:0;border-radius:7px;background:linear-gradient(90deg,#8fbf7e,#5d9a63)}
/* Die Marke zeigt beim Wurf, wo der weiteste Wurf liegt - man zielt auf sie. */
.angel-balken u{position:absolute;top:-2px;width:2px;height:15px;background:#c58b3a;transform:translateX(-1px)}
.angel-balken.spannung i{background:linear-gradient(90deg,#e8c56d,#d98a4e)}
.angel-balken.spannung.warnung i{background:linear-gradient(90deg,#e08b62,#c9483a)}
.angel-balken.spannung.warnung{box-shadow:0 0 0 2px #c9483a55}
#angel-knoepfe{position:fixed;left:50%;transform:translateX(-50%);bottom:max(18px,env(safe-area-inset-bottom));
 display:flex;gap:9px;align-items:stretch;pointer-events:auto}
#angel-knopf{min-width:min(228px,60vw);min-height:60px;border:1px solid #ffffffaa;border-radius:18px;
 background:#385944;color:#fffaf0;font:600 15px system-ui,sans-serif;box-shadow:0 6px 20px #29433530;
 touch-action:none;user-select:none;-webkit-user-select:none}
#angel-knopf:disabled{opacity:.5}
#angel-knopf:active{transform:scale(.97)}
#angel-knopf.biss{background:#c9483a;animation:angelPuls .38s ease-in-out infinite alternate}
@keyframes angelPuls{from{box-shadow:0 6px 20px #29433530}to{box-shadow:0 6px 26px #c9483a88}}
#angel-stop{min-height:60px;padding:0 15px;border:1px solid #d9dfcd;border-radius:18px;background:#faf8ed;color:#4c5c46;font-size:12px}
.sheet-trenner{margin:16px 0 8px;font-size:11px;letter-spacing:1.4px;text-transform:uppercase;color:#8b9480;font-weight:600}
.angel-fang{display:flex;align-items:center;gap:13px;padding:13px;border:1px solid #e3e6d6;border-radius:16px;background:#fffaf0}
.angel-fang>span{font-size:38px;line-height:1}
.angel-fang b{font-size:16px;color:#344f40}
.angel-fang p{margin:3px 0 0;font-size:11px;color:#64715e}
@media(max-width:600px){#angel-tafel{bottom:calc(104px + var(--safe))}#angel-knopf{min-width:min(200px,56vw);min-height:56px;font-size:14px}#angel-stop{min-height:56px}}
@media(max-height:550px){#angel-tafel{bottom:92px;padding:8px 12px}#angel-tafel b{font-size:13px}#angel-knopf{min-height:48px}#angel-stop{min-height:48px}}

/* Bausystem: Steuerleiste ueber der Schnellleiste, Hinweisfeld darueber. */
#bau-ui{pointer-events:none}
#bau-controls{position:fixed;bottom:210px;left:50%;transform:translateX(-50%);display:flex;gap:6px;pointer-events:auto;white-space:nowrap;width:max-content}
#bau-controls button{border:1px solid #d9dfcd;background:#faf8ed;color:#4c5c46;border-radius:14px;padding:12px;min-height:44px;box-shadow:0 3px 12px #33442215}
#bau-controls button.primary{background:#7a966c;border-color:#7a966c;color:#fff}
#bau-controls button:disabled{opacity:.45}
#bau-hinweis{position:fixed;bottom:262px;left:50%;transform:translateX(-50%);display:flex;align-items:center;gap:10px;background:#faf7e9ee;border:1px solid #e3e6d5;border-radius:18px;padding:8px 10px 8px 16px;font-size:13px;color:#53614e;pointer-events:auto;white-space:nowrap;max-width:calc(100vw - 24px)}
#bau-hinweis button{border:none;background:#a4623f;color:#fff;border-radius:12px;padding:9px 14px;min-height:38px;font-size:12px}
#bau-hinweis button[hidden],#bau-controls[hidden],#bau-hinweis[hidden]{display:none}
#bau-teile{position:fixed;bottom:262px;left:50%;transform:translateX(-50%);display:flex;gap:6px;pointer-events:auto;max-width:calc(100vw - 16px);overflow-x:auto;scrollbar-width:none}
#bau-teile[hidden]{display:none}
#bau-teile button{display:flex;flex-direction:column;align-items:center;gap:1px;min-width:62px;min-height:62px;border:2px solid #d9dfcd;background:#faf8ed;color:#4c5c46;border-radius:16px;padding:6px 8px;box-shadow:0 3px 12px #33442215;font:inherit}
#bau-teile button span{font-size:22px;line-height:1.1}#bau-teile button b{font-size:11px;font-weight:600}#bau-teile button small{font-size:10px;opacity:.75}
#bau-teile button span svg{width:34px;height:34px;display:block}@media(max-width:420px){#bau-teile button span svg{width:30px;height:30px}}
#bau-teile button.an{border-color:#7a966c;background:#e8f0dc}
#bau-ui:has(#bau-teile:not([hidden])) #bau-hinweis{bottom:338px}
#bau-bloecke{position:fixed;bottom:262px;left:50%;transform:translateX(-50%);display:flex;flex-direction:column;align-items:center;gap:6px;pointer-events:auto;max-width:calc(100vw - 16px)}
#bau-bloecke[hidden]{display:none}
#bau-bloecke button{display:flex;align-items:center;border:2px solid #d9dfcd;background:#faf8ed;color:#4c5c46;box-shadow:0 3px 12px #33442215;font:inherit}
#bau-bloecke button.an{border-color:#7a966c;background:#e8f0dc}
.bau-pinsel{display:flex;gap:5px;background:#faf7e9cc;border-radius:16px;padding:3px}
.bau-pinsel button{gap:5px;border-radius:13px;padding:4px 10px 4px 7px;min-height:34px}
.bau-pinsel svg{width:20px;height:20px;fill:#7a966c;display:block}.bau-pinsel b{font-size:11px;font-weight:600}
.bau-pinsel button.an svg{fill:#4f6f45}
#bau-bloecke.nur-eins .bau-pinsel{opacity:.4;pointer-events:none}
.bau-klotzreihe{display:flex;gap:6px;max-width:calc(100vw - 16px);overflow-x:auto;scrollbar-width:none;padding:2px}
.bau-klotzreihe button{flex-direction:column;gap:1px;min-width:60px;min-height:60px;border-radius:16px;padding:5px 6px}
.bau-klotzreihe img{width:34px;height:34px;display:block;pointer-events:none}.bau-klotzreihe b{font-size:10.5px;font-weight:600;white-space:nowrap}
#bau-ui:has(#bau-bloecke:not([hidden])) #bau-hinweis{bottom:378px}
.crop-icon .bau-swatch{width:40px;height:auto;display:block;margin:auto}
#bau-menu,#bau-abriss{border:1px solid #d9dfcd;background:#faf8ed;color:#4c5c46;border-radius:14px;padding:12px;min-height:44px;box-shadow:0 3px 12px #33442215}
body[data-angeln] #bau-menu,body[data-angeln] #bau-abriss{display:none}
@media(max-width:600px){#bau-controls{bottom:250px;gap:3px;max-width:calc(100vw - 20px);flex-wrap:wrap}#bau-controls button{font-size:10px;padding:9px}#bau-hinweis{bottom:306px;font-size:11px;padding:6px 8px 6px 12px}
 #bau-teile{bottom:304px;gap:4px}#bau-teile button{min-width:52px;min-height:54px;padding:4px 5px}#bau-teile button span{font-size:19px}#bau-teile button b{font-size:9.5px}#bau-ui:has(#bau-teile:not([hidden])) #bau-hinweis{bottom:368px}
 #bau-bloecke{bottom:304px;gap:4px}.bau-klotzreihe{gap:4px}.bau-klotzreihe button{min-width:50px;min-height:52px;padding:3px 4px}.bau-klotzreihe img{width:28px;height:28px}.bau-klotzreihe b{font-size:9px}
 .bau-pinsel button{padding:3px 7px 3px 5px;min-height:30px}.bau-pinsel b{font-size:10px}#bau-ui:has(#bau-bloecke:not([hidden])) #bau-hinweis{bottom:402px}}
@media(max-height:550px){#bau-controls{bottom:205px}#bau-hinweis{bottom:255px}#bau-teile{bottom:255px}#bau-ui:has(#bau-teile:not([hidden])) #bau-hinweis{bottom:322px}
 #bau-bloecke{bottom:255px;flex-direction:row;max-width:calc(100vw - 24px)}.bau-pinsel{flex-direction:column;gap:2px}.bau-pinsel button{min-height:22px;padding:1px 6px}.bau-pinsel b{display:none}.bau-pinsel svg{width:16px;height:16px}
 .bau-klotzreihe button{min-width:48px;min-height:48px;padding:3px}.bau-klotzreihe img{width:26px;height:26px}.bau-klotzreihe b{font-size:8.5px}#bau-ui:has(#bau-bloecke:not([hidden])) #bau-hinweis{bottom:362px}}

/* Favoritenstern im Beetschild: dezent, aber als einziges Teil im Schild anklickbar. */
.plant-label .txt{display:flex;align-items:center;gap:4px}
.plant-label .fav{pointer-events:auto;border:0;background:none;font:inherit;font-size:12px;line-height:1;padding:3px 4px;margin:-3px -3px -3px 0;color:#bcc4b2;cursor:pointer;touch-action:manipulation;transition:color .18s ease,transform .18s ease}
.plant-label .fav:hover,.plant-label .fav:focus-visible{color:#dfae4b;transform:scale(1.18)}
.plant-label.favorit{box-shadow:0 2px 8px #324b3220,0 0 0 1px #e8bd6599}
.plant-label.favorit .fav{color:#dfae4b}
/* Kreatureninsel: Kampfansicht – Gegner oben rechts, eigener Begleiter unten links, Menue rechts */
body:has(#expedition-kampf:not([hidden])) :is(#walk-stick,#walk-action,#walk-pose,#walk-help,#island-actions,#quickbar,#quest,#hud,.view-controls,#walk-jump,#team-leiste,#event-banner,#uhr){display:none!important}
#expedition-kampf{position:fixed;inset:0;z-index:20;pointer-events:none;color:#f4ecff;font-size:14px;transition:opacity .6s ease}
#expedition-kampf[hidden]{display:none}
#expedition-kampf>*{pointer-events:auto}
.ek-text{position:absolute;top:max(12px,env(safe-area-inset-top));left:50%;transform:translateX(-50%);width:max-content;max-width:min(460px,calc(100vw - 640px));min-width:180px;margin:0;padding:8px 16px;border-radius:16px;background:#130c21d9;border:1px solid #b98cff38;color:#fbf2ff;text-align:center;font-size:13.5px;line-height:1.35;box-shadow:0 6px 22px #05020c80;pointer-events:none}
.ek-text:empty{display:none}
.ek-karte{position:absolute;display:flex;align-items:center;gap:11px;padding:9px 13px 9px 9px;border-radius:18px;background:linear-gradient(#241839f0,#160f27f0);border:1px solid #b98cff4d;box-shadow:0 8px 28px #06030d99,inset 0 0 20px #7d4bd41f;animation:ekEin .45s ease-out both}
.ek-gegner{top:max(12px,env(safe-area-inset-top));right:max(12px,env(safe-area-inset-right));width:min(300px,calc(100vw - 24px))}
.ek-selbst{left:max(12px,env(safe-area-inset-left));bottom:max(12px,env(safe-area-inset-bottom));width:min(300px,calc(100vw - 290px))}
.ek-bild{flex:none;width:58px;height:58px;border-radius:14px;overflow:hidden;background:radial-gradient(circle at 50% 40%,#46307a,#1a1130 75%);border:1px solid #b98cff55}
.ek-bild img{width:100%;height:100%;object-fit:contain;display:block}
.ek-info{flex:1;min-width:0}
.ek-info b{display:flex;justify-content:space-between;align-items:baseline;gap:10px;font-size:15.5px;font-weight:700;letter-spacing:.01em}
.ek-info b span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.ek-info b small{flex:none;font-size:12.5px;font-weight:600;color:#dccbf8}
.ek-balken{height:8px;margin:6px 0 4px;border-radius:9px;overflow:hidden;background:#0b0715;box-shadow:inset 0 0 0 1px #ffffff14}
.ek-balken i{display:block;height:100%;border-radius:9px;background:var(--q,#6fe08a);box-shadow:0 0 8px var(--q,#6fe08a);transition:width .35s,background .35s}
.ek-boss-b{--q:#ff5fb0!important}.ek-boss-b i{background:linear-gradient(90deg,#ff4fa8,#ff9ad4)}
.ek-unter{display:flex;flex-wrap:wrap;align-items:center;gap:6px;font-size:12.5px;color:#dccbf8}
.ek-stern{color:#ffb35c}
.ek-vt{margin-left:auto;display:inline-flex;align-items:center;gap:4px;color:#ff8fcf;font-size:11px}
.ek-vt .ek-balken{width:48px;height:5px;margin:0}.ek-vertrauen{--q:#ff8fcf!important}
.ek-boss .ek-unter span{padding:2px 7px;border-radius:9px;background:#34255099;color:#e7d9ff;font-size:11px}
.ek-boss .ek-unter .ek-warn{background:#ff4fa8;color:#fff;animation:ekWarn .8s ease-in-out infinite alternate}
.ek-zahl{text-align:right;font-size:12.5px;font-weight:600;color:#efe6ff;font-variant-numeric:tabular-nums}
.ek-punkte{display:flex;gap:6px;margin-top:4px}
.ek-punkte i{width:9px;height:9px;border-radius:50%;background:#8a6fc0}
.ek-punkte i.an{background:#d6b8ff;box-shadow:0 0 0 2px #1a1130,0 0 0 3px #d6b8ff,0 0 8px #b98cff}
.ek-punkte i.kette{border-radius:3px;transform:rotate(45deg) scale(.85)}.ek-punkte i.kette.leer{display:none}
/* Duo (Adem 28.09.): die drei Zusatzplaetze als kleine Herzen in Taccotuesday-Rot */
.ek-punkte i.duo{border-radius:50% 50% 2px 50%;transform:rotate(45deg) scale(.8);box-shadow:0 0 0 1.5px #d3202a inset}.ek-punkte i.duo.an{background:#d3202a}
.ek-punkte i.ko{background:#3a2d4f}.ek-punkte i.leer{background:none;box-shadow:inset 0 0 0 1px #ffffff2e}
.ek-menue{position:absolute;right:max(12px,env(safe-area-inset-right));bottom:max(12px,env(safe-area-inset-bottom));width:min(250px,44vw);max-height:calc(100vh - 130px);overflow-y:auto;display:flex;flex-direction:column;gap:8px;padding:2px;transition:opacity .12s;animation:ekEin .15s ease-out both}
.ek-menue em{font-style:normal;font-size:11.5px;font-weight:700;letter-spacing:.08em;text-transform:uppercase;color:#cdb6f5;padding:0 6px;text-shadow:0 1px 6px #000}
.ek-menue button{position:relative;display:flex;align-items:center;gap:12px;min-height:52px;padding:8px 36px 8px 14px;border-radius:16px;background:linear-gradient(#251939f2,#170f28f2);border:1.5px solid #b98cff38;color:#f6efff;font:inherit;font-size:16px;font-weight:700;text-align:left;box-shadow:0 6px 20px #05020c80;cursor:pointer;transition:border-color .12s,background .12s,transform .12s}
.ek-menue button.an{border-color:#b98cff;background:linear-gradient(#36235bf2,#20143af2);box-shadow:0 0 0 1px #b98cff66,0 0 18px #9a6bff55,0 6px 20px #05020c80}
.ek-menue button.an::after{content:'▶';position:absolute;right:14px;top:50%;transform:translateY(-50%);font-size:11px;color:#dcc4ff}
.ek-menue button:active{transform:scale(.98)}
.ek-menue button:disabled{opacity:.42;cursor:default}
.ek-menue .ek-zurueck{min-height:42px;font-size:14px;background:#140d23e6}
.ek-ikon{flex:none;width:26px;height:26px;display:grid;place-items:center;color:#c9a5ff;font-size:20px}
.ek-ikon svg{width:24px;height:24px;fill:none;stroke:currentColor;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round}
.ek-ikon img{width:30px;height:30px;border-radius:50%;object-fit:contain;background:#2b1d48}
.ek-el{width:12px;height:12px;border-radius:50%;background:var(--el,#b98cff);box-shadow:0 0 8px var(--el,#b98cff)}
.ek-name{flex:1;min-width:0;display:flex;flex-direction:column}
.ek-name small{font-size:11px;font-weight:500;color:#c9b6e6}
.ek-belegt{opacity:.55;pointer-events:none}
/* Nach dem Einblenden spielen die Karten beim Menuewechsel nicht erneut ab. */
.ek-ruhig .ek-karte{animation:none}
.ek-titel{position:absolute;top:max(12px,env(safe-area-inset-top));left:50%;transform:translateX(-50%);padding:6px 16px;border-radius:999px;background:#1d1430d9;border:1px solid #ff7fc366;color:#ffd9ef;font-size:13px;font-weight:700;letter-spacing:.04em;white-space:nowrap;box-shadow:0 0 18px #ff5fb04d;animation:ekEinT .6s ease-out both;pointer-events:none}
.ek-boss .ek-text{top:calc(max(12px,env(safe-area-inset-top)) + 42px)}
.ek-boss .ek-gegner{top:calc(max(12px,env(safe-area-inset-top)) + 42px)}
@media (max-width:900px){.ek-text{left:12px;transform:none;max-width:calc(100vw - 340px);min-width:0;text-align:left}}
@media (max-width:640px){
 .ek-gegner{width:min(280px,calc(100vw - 24px))}
 .ek-text,.ek-boss .ek-text{top:calc(max(12px,env(safe-area-inset-top)) + 92px);max-width:calc(100vw - 24px);width:calc(100vw - 24px);min-width:0}
 .ek-boss .ek-text{top:calc(max(12px,env(safe-area-inset-top)) + 134px)}
 .ek-selbst{width:calc(100vw - 44vw - 32px);padding:7px 9px 7px 7px;gap:8px}
 .ek-bild{width:44px;height:44px;border-radius:12px}
 .ek-info b{font-size:14px}
 .ek-menue button{min-height:46px;font-size:14.5px;gap:9px;padding-left:11px}
}
@media (max-height:520px){
 .ek-bild{width:44px;height:44px}
 .ek-menue{gap:6px;max-height:calc(100vh - 90px)}.ek-menue button{min-height:42px;font-size:14.5px}
}
@keyframes ekEin{from{opacity:0;transform:translateY(8px)}}
.ek-boss .ek-titel{animation-name:ekEinT}@keyframes ekEinT{from{opacity:0;transform:translate(-50%,-8px)}}
@keyframes ekWarn{to{box-shadow:0 0 10px #ff4fa8}}
/* 4. Gen.: Zustands-Abzeichen, EP-Leiste, EP-Fenster und Lern-Dialog (expedition.mjs). */
.ek-status{flex:none;margin-left:auto;padding:1px 6px;border-radius:7px;font-style:normal;font-size:10.5px;font-weight:800;letter-spacing:.05em;color:#fff;background:#6d5a8f}
.ek-st-BURN{background:#e0673a}.ek-st-POISON,.ek-st-BAD_POISON{background:#9b4fc9}.ek-st-SLEEP{background:#7b86a8}.ek-st-PARALYSIS{background:#d6b21f;color:#231a05}.ek-st-FREEZE{background:#5fb8e0;color:#07202b}
.ek-ep{height:4px;margin-top:4px;border-radius:4px;overflow:hidden;background:#0b0715}
.ek-ep i{display:block;height:100%;background:#6fc3ff;box-shadow:0 0 6px #6fc3ff}
#expedition-ep{position:fixed;inset:0;z-index:40;display:grid;place-items:center;padding:16px;background:#07030fa6;color:#f4ecff;font-size:14px}
#expedition-ep[hidden]{display:none}
.ep-karte{width:min(440px,100%);max-height:calc(100vh - 32px);overflow-y:auto;padding:16px;border-radius:20px;background:linear-gradient(#241839f7,#160f27f7);border:1px solid #b98cff55;box-shadow:0 12px 40px #05020cb3;animation:ekEin .3s ease-out both}
.ep-karte h3{margin:0 0 12px;font-size:20px;display:flex;flex-direction:column;gap:2px}
.ep-karte h3 small,.ep-karte p{font-size:12.5px;font-weight:500;color:#dccbf8}
.ep-zeile{display:flex;align-items:center;gap:10px;padding:7px;border-radius:14px;transition:background .3s}
.ep-zeile .ek-bild{width:46px;height:46px}
.ep-info{flex:1;min-width:0}
.ep-info b{display:flex;justify-content:space-between;gap:8px;font-size:15px}
.ep-info b small{color:#dccbf8;font-weight:600}
.ep-balken{height:8px;margin:5px 0 2px;border-radius:8px;overflow:hidden;background:#0b0715;box-shadow:inset 0 0 0 1px #ffffff14}
.ep-balken i{display:block;height:100%;background:linear-gradient(90deg,#4fa8ff,#8fdcff);box-shadow:0 0 8px #6fc3ff;transition:width .65s ease-out}
.ep-zahl{font-size:11.5px;color:#bfe6ff}
.ep-zeile.hoch{animation:epHoch .7s ease-out}
@keyframes epHoch{30%{background:#ffe27a33;box-shadow:0 0 0 1px #ffe27a88}}
.ep-text{min-height:1.4em;margin:10px 2px;line-height:1.45}
.ep-karte button{width:100%;min-height:52px;margin-top:8px;padding:8px 14px;border-radius:16px;background:linear-gradient(#36235bf2,#20143af2);border:1.5px solid #b98cff66;color:#f6efff;font:inherit;font-size:16px;font-weight:700;text-align:left;cursor:pointer;display:flex;flex-direction:column;justify-content:center}
.ep-karte button:focus-visible,.ep-karte button:hover{border-color:#b98cff;box-shadow:0 0 16px #9a6bff55}
.ep-karte button small{font-size:11.5px;font-weight:500;color:#c9b6e6}
.ep-karte .ep-nein{background:#140d23e6}
.ep-weiter{align-items:center}
.bk-art .bk-ep{opacity:.8;font-size:10px}
/* Boss-HUD Vaeloryx (sternenwelt.mjs): Name > Rang > HP > Phase. Violett, Gold nur als Akzent. */
#vael-hud{position:fixed;top:max(10px,env(safe-area-inset-top));left:50%;z-index:21;width:min(500px,calc(100vw - 24px));padding:10px 16px 11px;border-radius:18px;background:linear-gradient(#1b1030e6,#0e0820e0);border:1px solid #a47cff45;box-shadow:0 10px 32px #05020c99,inset 0 0 24px #8a4dff1f;color:#fff;text-align:center;pointer-events:none;transform:translateX(-50%);opacity:0;visibility:hidden;transition:opacity .5s ease,transform .8s cubic-bezier(.2,.8,.2,1),visibility 0s .5s}
#vael-hud.an{opacity:1;visibility:visible;transition-delay:0s}
#vael-hud.intro{transform:translate(-50%,26vh) scale(1.3);background:#0e082099;box-shadow:0 0 60px #9a5cff55}
#vael-hud.intro :is(.vh-balken,.vh-zeile,.vh-status){opacity:0}
#vael-hud :is(.vh-balken,.vh-zeile,.vh-status){transition:opacity .5s ease .3s}
.vh-name{font-size:22px;font-weight:800;letter-spacing:.24em;text-transform:uppercase;line-height:1.15;text-shadow:0 0 14px #b07cffaa}
.vh-titel{font-size:11.5px;font-weight:600;letter-spacing:.14em;text-transform:uppercase;color:#d9c9f5}
.vh-rang{display:inline-block;margin:6px 0 8px;padding:2px 12px;border-radius:999px;background:#3a1f6a80;border:1px solid #e8c26a66;color:#f3d48a;font-size:11px;font-weight:800;letter-spacing:.16em}
.vh-balken{position:relative;height:14px;border-radius:8px;overflow:hidden;background:#07040f;box-shadow:inset 0 0 0 1px #ffffff1c,0 0 12px #9a5cff33}
.vh-balken i{position:absolute;left:0;top:0;bottom:0;width:100%;border-radius:8px}
.vh-spur{background:#f4e6ffcc;transition:width .9s ease .45s}
.vh-hp{background:linear-gradient(90deg,#6f2cff,#b44dff 60%,#e36bff);box-shadow:0 0 10px #b04dff;transition:width .4s ease-out,background .6s}
#vael-hud[data-phase="2"] .vh-hp{background:linear-gradient(90deg,#8a24e0,#d443d8 60%,#ff6fc8)}
#vael-hud[data-phase="3"] .vh-hp{background:linear-gradient(90deg,#b0124f,#e8306e 60%,#ff6f9a);box-shadow:0 0 12px #ff2a6a}
.vh-zeile{display:flex;justify-content:space-between;margin-top:5px;font-size:12.5px;font-weight:700}
.vh-phase{color:#e3cfff;letter-spacing:.06em}.vh-zahl{font-variant-numeric:tabular-nums}
.vh-status{display:flex;flex-wrap:wrap;justify-content:center;gap:6px;margin-top:6px}.vh-status:empty{display:none}
.vh-status span{padding:2px 8px;border-radius:9px;background:#34255099;color:#e7d9ff;font-size:11px}
.vh-status .vh-warn{background:#ff4fa8;color:#fff;animation:ekWarn .8s ease-in-out infinite alternate}
.vh-ruf{position:absolute;top:100%;left:50%;transform:translate(-50%,4px) scale(.9);opacity:0;font-size:26px;font-weight:900;letter-spacing:.3em;white-space:nowrap;text-shadow:0 0 18px #ff4fd8,0 2px 6px #000;transition:opacity .35s,transform .5s cubic-bezier(.2,.8,.2,1)}
#vael-hud.ruf .vh-ruf{opacity:1;transform:translate(-50%,14px) scale(1)}
#vael-hud.puls{animation:vhPuls .9s ease-out}
@keyframes vhPuls{30%{border-color:#ff7fe0;box-shadow:0 0 0 2px #ff4fd855,0 0 42px #ff4fd8aa,inset 0 0 30px #ff4fd844}}
#vael-vignette{position:fixed;inset:0;z-index:19;pointer-events:none;opacity:0;transition:opacity .8s;background:radial-gradient(ellipse at 50% 50%,transparent 58%,#12031f8c 100%)}
#vael-vignette.an{opacity:1}
/* In der Zone unter der Kopfleiste (Muenzen), im Kampf ganz oben; Uhr, Quest und Banner treten zurueck. */
body:not(.vael-kampf) #vael-hud{top:calc(max(10px,env(safe-area-inset-top)) + 54px)}
body:has(#vael-hud.an) :is(#event-banner,#uhr,#quest){display:none!important}
body:has(#vael-hud.an) #toast{top:calc(max(10px,env(safe-area-inset-top)) + 206px)}
/* Im Vaeloryx-Kampf ersetzt das Boss-HUD Gegnerkarte und Titelpille. */
body.vael-kampf #expedition-kampf :is(.ek-gegner,.ek-titel){display:none}
body.vael-kampf #expedition-kampf .ek-text{top:calc(max(10px,env(safe-area-inset-top)) + 178px);left:50%;transform:translateX(-50%);width:max-content;max-width:min(460px,calc(100vw - 24px));text-align:center}
@media (max-width:640px){
 #vael-hud{padding:8px 12px 9px}.vh-name{font-size:18px}
 body:not(.vael-kampf) #vael-hud{left:12px;transform:none;width:calc(100vw - 72px)}
 body:not(.vael-kampf) #vael-hud.intro{transform:translate(18px,24vh) scale(1.08)}
 body.vael-kampf #expedition-kampf .ek-text{top:calc(max(10px,env(safe-area-inset-top)) + 166px)}
}
@media (prefers-reduced-motion:reduce){#vael-hud,#vael-hud *{transition-duration:.01s!important;animation:none!important}}
/* Inszenierungen der letzten Insel: Lichtpuls, Bildschirmfunken, Kinobalken, Titel */
#endinsel-szene{position:fixed;inset:0;z-index:30;pointer-events:none}
#endinsel-szene[hidden]{display:none}
.es-puls{position:absolute;inset:0;opacity:0;mix-blend-mode:screen}
.es-funken{position:absolute;inset:0;width:100%;height:100%}
.es-balken{position:absolute;left:0;right:0;height:0;background:#07040d;transition:height .7s ease}
.es-oben{top:0}.es-unten{bottom:0}
#endinsel-szene.mit-balken .es-balken{height:9vh}
.es-titel,.es-text{position:absolute;left:50%;transform:translate(-50%,10px);width:min(560px,calc(100vw - 32px));text-align:center;opacity:0;transition:opacity .9s ease,transform .9s ease;color:#fff3fb;text-shadow:0 2px 18px #ff5fb0aa,0 0 3px #000}
.es-titel{top:26vh;font-size:clamp(22px,6vw,34px);font-weight:700;letter-spacing:.03em}
.es-text{bottom:calc(9vh + 18px);font-size:clamp(14px,4vw,18px)}
.es-titel.an,.es-text.an{opacity:1;transform:translate(-50%,0)}
body.ei-szene :is(#hud,.view-controls,#walk-stick,#walk-action,#walk-jump,#walk-pose,#walk-help,#island-actions,#quickbar,#quest,#team-leiste,#expedition-kampf){opacity:0!important;pointer-events:none!important}
.ei-truhe p{margin:0 0 10px}.ei-truhe ul{list-style:none;padding:0;margin:0 0 14px;display:grid;gap:6px}
.ei-truhe li{display:flex;align-items:center;gap:10px;padding:8px 11px;border-radius:12px;background:#fff6e2;border:1px solid #f1dfb4}
.ei-truhe li span{font-size:20px;width:26px;text-align:center}
.ei-truhe button{width:100%}
@media (prefers-reduced-motion:reduce){.es-titel,.es-text,.es-balken{transition:none}.ek-status .ek-warn{animation:none}}
#expedition-kranz{position:fixed;inset:0;z-index:40;display:grid;place-content:center;justify-items:center;gap:10px;background:#1f2e2466;touch-action:none;user-select:none}
#expedition-kranz canvas{width:min(300px,80vw);height:auto;aspect-ratio:1;border-radius:50%;background:#fff9edea;box-shadow:0 10px 50px #1d2b2240}
#expedition-kranz p{margin:0;background:#fff9ed;color:#344f40;padding:8px 14px;border-radius:12px;font-size:13px;text-align:center;max-width:80vw}
/* Fang: nach dem Tippen wird die Ebene durchsichtig, Text + drei Knospen stehen unten rechts (statt Menue), das Wesen bleibt frei. */
.kranz-knospen{display:none;gap:10px;justify-content:center}
.kranz-knospen i{width:22px;height:22px;border-radius:50%;background:radial-gradient(circle at 40% 35%,#b8f28a,#5f8a3d);box-shadow:0 2px 8px #0005,inset 0 -2px 0 #0002;transition:background .2s,transform .2s}
.kranz-knospen i.auf{background:radial-gradient(circle at 50% 50%,#ffe8a3 0 22%,#f7a8c4 24%);animation:knospeAuf .35s cubic-bezier(.3,1.8,.5,1) both}
.kranz-knospen i.welk{background:radial-gradient(circle at 40% 35%,#c8c2b4,#7d776c);transform:scale(.8) rotate(25deg)}
#expedition-kranz.gold .kranz-knospen i.auf{background:radial-gradient(circle at 50% 50%,#fff 0 22%,#ffc93a 24%);box-shadow:0 0 14px #ffd34dcc}
#expedition-kranz.aus .kranz-knospen{animation:knospenNein .4s ease-in-out}
@keyframes knospeAuf{0%{transform:scale(.5)}100%{transform:scale(1.15)}}
@keyframes knospenNein{0%,100%{transform:none}20%,60%{transform:translateX(-6px)}40%,80%{transform:translateX(6px)}}
#expedition-kranz.wurf{background:none;pointer-events:none;place-content:end;justify-content:end;padding:0 max(12px,env(safe-area-inset-right)) max(14px,env(safe-area-inset-bottom)) 0;width:min(250px,44vw);left:auto}
#expedition-kranz.wurf canvas{display:none}
#expedition-kranz.wurf .kranz-knospen{display:flex}
#expedition-kranz.wurf p{font-size:15px;font-weight:700;background:#130c21d9;color:#fbf2ff;border:1px solid #b98cff38;box-shadow:0 6px 22px #05020c80}
#expedition-kranz.gold p{color:#ffd34d;border-color:#ffd34d88;box-shadow:0 0 22px #ffd34d55}
#expedition-kranz.aus p{color:#ffb4a3}
#expedition-kampf.ek-fang .ek-menue{opacity:0;pointer-events:none}
.ex-h{font:500 17px Georgia,serif;margin:20px 0 8px;display:flex;justify-content:space-between;align-items:baseline}.ex-h small{font:11px 'Segoe UI',sans-serif;color:#87917d}
.ex-karte{background:#f6f1e3;border:1px solid #ece4cf;border-radius:16px;padding:11px 13px;margin-bottom:8px}.ex-aktiv{border-color:var(--gold);box-shadow:0 0 0 2px #e8bd6555}
.ex-kopf{display:flex;justify-content:space-between;align-items:center}.ex-kopf span{font-size:12px;background:#506c4c;color:#fff6db;border-radius:9px;padding:2px 8px}
.ex-klein{font-size:11px;color:#6f7a68;margin:5px 0}.ex-el{display:inline-block;width:9px;height:9px;border-radius:50%;background:var(--el);margin-right:5px;vertical-align:0}
.ex-reihe{display:flex;flex-wrap:wrap;gap:6px;align-items:center;margin-top:6px}.ex-reihe button{min-height:36px;padding:5px 10px;border-radius:11px;background:#fff9ed;border:1px solid #e6dcc4;font-size:12px}.ex-reihe button small{font-size:9px;margin-left:3px;color:#87917d}
.ex-marke{font-size:11px;background:var(--gold);border-radius:9px;padding:5px 9px;font-weight:600}.ex-reihe .ex-leise{background:none;border-color:transparent;color:#a0806a;margin-left:auto}
.ex-siegel-reihe{justify-content:space-around}.ex-siegel{display:flex;flex-direction:column;align-items:center;font-size:26px;opacity:.45}.ex-siegel.da{opacity:1}.ex-siegel small{font-size:10px;color:#6f7a68}
.ex-ringe{list-style:none;padding:0;margin:0}.ex-ringe li{padding:6px 0;border-bottom:1px solid #ece4cf;font-size:13px}.ex-ringe small{display:block;color:#87917d;font-size:11px}
.ex-buch{display:grid;grid-template-columns:repeat(auto-fill,minmax(104px,1fr));gap:6px}.ex-art{font-style:normal;background:#f6f1e3;border-radius:12px;padding:7px 9px;border-left:4px solid var(--el,#d8d0bc);font-size:12px}.ex-art small{display:block;font-size:9px;color:#87917d}.ex-art.freund{background:#eaf1df}.ex-art.leer{opacity:.5}
/* Rechte Spalte (Menue, Archiv, Auftrag), Rucksack mit Ausklapper, Namen nur aus der Naehe, Wegweiser */
.view-controls{align-items:flex-end}
.view-controls #archive-open{font-size:19px;padding:0}
.view-controls #archive-open em{position:absolute;right:-5px;bottom:-6px;margin:0;font:600 8px system-ui,sans-serif;color:#5e6b55;background:#fffaf0;border:1px solid #e3dcc6;border-radius:7px;padding:1px 3px}
.view-controls #quest{position:static!important;display:flex!important;max-width:210px!important;margin-top:4px;padding:8px 10px!important;gap:8px;border-radius:14px;cursor:pointer;text-align:left;box-shadow:0 3px 12px #24433112}
.view-controls #quest .quest-icon,.view-controls #quest small{display:none}
.view-controls #quest b{font-size:11px}.view-controls #quest #quest-progress{font-size:10px}
.view-controls #quest #claim{width:auto;height:auto;padding:6px;font-size:17px;border:0;box-shadow:none;background:transparent}
.view-controls #quest.ready #claim{background:#e9c474}
.view-controls #quest.weg{outline:2px solid #e8bd65;outline-offset:1px}
.view-controls #quest.weg::after{content:'🧭';font-size:13px;margin-left:-2px}
body[data-indoors=true] .view-controls #quest{display:none!important}
@media(max-height:550px){.view-controls #quest{max-width:180px!important;padding:6px 8px!important}.view-controls #quest #quest-progress{display:none}}
#quickbar .rucksack{margin-left:8px}
#quickbar .rucksack::before{content:'';position:absolute;left:-7px;top:18%;bottom:18%;width:1px;background:#d9d1bb}
#quickbar .rs-mehr{width:24px!important;min-width:24px;padding:0;font-size:18px;line-height:1;color:#6d7a62;background:transparent;border:0;box-shadow:none;letter-spacing:-1px}
#quickbar .rs-mehr.offen{color:#304d41;background:#eef0e2;border-radius:10px}
#rucksack-inhalt{position:fixed;right:max(12px,calc(50% - 190px));bottom:calc(92px + var(--safe,0px));z-index:6;background:#fffaf0f2;border:1px solid #fff8;border-radius:14px;box-shadow:0 6px 20px #2443311c;padding:9px 11px;max-width:230px;color:#344b3e;font:500 11px system-ui,sans-serif;pointer-events:auto}
#rucksack-inhalt[hidden]{display:none}
#rucksack-inhalt>b{display:block;font-size:10px;letter-spacing:.5px;color:#6d7a62;margin-bottom:6px}
#rucksack-inhalt>div{display:flex;flex-wrap:wrap;gap:5px}
#rucksack-inhalt span{position:relative;display:grid;place-items:center;width:32px;height:32px;background:#eef0e2;border-radius:9px;font-size:18px}
#rucksack-inhalt span em{position:absolute;right:-3px;bottom:-4px;font:600 9px system-ui;font-style:normal;background:#fff;border-radius:6px;padding:0 3px}
#rucksack-inhalt small{display:block;margin-top:7px;color:#7d8774}
.world-shop-label{transition:opacity .3s}.world-shop-label.fern{opacity:0}
.world-shop-label.korb-leer{background:#e4e1d8ed;color:#8a8a80}.world-shop-label.korb-voll{background:#f3cf6aee;color:#5a3d10;font-weight:700;box-shadow:0 0 0 2px #fff3c4}
#wegweiser{position:fixed;transform:translate(-50%,-100%);display:flex;flex-direction:column;align-items:center;gap:2px;pointer-events:none;z-index:5}
#wegweiser[hidden]{display:none}
#wegweiser span{background:#304d41;color:#fffaf0;font:600 11px system-ui,sans-serif;padding:5px 10px;border-radius:10px;white-space:nowrap;order:-1;box-shadow:0 3px 10px #24433122}
#wegweiser i{font-style:normal;color:#e8bd65;font-size:18px;text-shadow:0 1px 3px #0005;animation:wegwipp 1.2s ease-in-out infinite}
#wegweiser.rand{transform:translate(-50%,-50%)}#wegweiser.rand i{animation:none}
@keyframes wegwipp{50%{translate:0 4px}}
/* Bootzeiger (02.10.): wie der Wegweiser, aber blau - Boot, Leuchtturm, letzte Insel */
#bootzeiger{position:fixed;transform:translate(-50%,-100%);display:flex;flex-direction:column;align-items:center;gap:2px;pointer-events:none;z-index:5}
#bootzeiger[hidden]{display:none}
#bootzeiger span{background:#1f5f86;color:#fff;font:700 12px system-ui,sans-serif;padding:6px 11px;border-radius:11px;white-space:nowrap;order:-1;box-shadow:0 3px 12px #0b2a3d44,0 0 0 2px #ffffffaa}
#bootzeiger i{font-style:normal;color:#7fd3ff;font-size:20px;text-shadow:0 1px 3px #0006;animation:wegwipp 1.2s ease-in-out infinite}
#bootzeiger.rand{transform:translate(-50%,-50%)}#bootzeiger.rand i{animation:none}
.ex-nest button.ex-art{text-align:left;cursor:pointer;border-top:0;border-right:0;border-bottom:0;color:inherit}.ex-nest .ex-art.gewaehlt{background:#fff3d6;box-shadow:0 0 0 2px var(--gold)}.ex-nest .ex-art b{display:block;font-size:12px}
.ex-sort button.an{background:var(--gold);border-color:var(--gold)}.ex-nest-wahl{border-color:var(--gold)}
/* Teamleiste: die Begleiter als runde Bilder ueber der Schnellleiste */
#team-leiste{position:fixed;z-index:6;left:50%;transform:translateX(-50%);bottom:calc(max(18px,env(safe-area-inset-bottom)) + 78px);display:flex;gap:8px;pointer-events:auto}
#team-leiste button{position:relative;width:50px;height:50px;padding:0;border-radius:50%;border:2px solid #ffffffcc;background:radial-gradient(circle at 50% 35%,#fffaf0,#e9e1f3);box-shadow:0 5px 16px #2c243a33;cursor:pointer;overflow:visible}
#team-leiste button.tl-aktiv{border-color:#f2c25c;box-shadow:0 0 0 2px #f2c25c66,0 5px 16px #2c243a40}
#team-leiste img,#team-leiste span{display:block;width:100%;height:100%;border-radius:50%;object-fit:cover}
#team-leiste b{position:absolute;right:-4px;top:-4px;min-width:18px;height:18px;padding:0 4px;border-radius:9px;background:#5b4a86;color:#fff;font:700 10px/18px system-ui,sans-serif;box-sizing:border-box}
#team-leiste i{position:absolute;left:8px;right:8px;bottom:-5px;height:5px;border-radius:3px;background:#2c243a55;overflow:hidden}
#team-leiste em{display:block;height:100%;background:#7cc68a;border-radius:3px}
#team-leiste .tl-herz{align-self:center;text-decoration:none;color:#d3202a;font:700 14px system-ui,sans-serif;text-shadow:0 1px 4px #fff}
#team-leiste button.tl-duo{width:42px;height:42px;align-self:center;border-color:#ffb0bb;cursor:default}
@media(max-width:600px){#team-leiste button.tl-duo{width:36px;height:36px}#team-leiste .tl-herz{font-size:11px;margin:0 -2px}}
@media(max-width:600px){#team-leiste{bottom:calc(max(12px,env(safe-area-inset-bottom)) + 68px);gap:6px}#team-leiste button{width:44px;height:44px}}
/* Werkzeuge sagen, wofuer sie sind */
#quickbar button{position:relative}
#quickbar .qb-zweck{position:absolute;left:50%;top:auto;bottom:0;height:auto;display:block;transform:translateX(-50%);font:700 8.5px/1 system-ui,sans-serif;letter-spacing:.02em;color:#5a6b5c;background:#fffaf0e6;padding:1px 4px;border-radius:6px;pointer-events:none;white-space:nowrap}
/* Mutations-Schilder + Nesthaus als Box */
.ex-tags{display:inline-flex;flex-wrap:wrap;gap:3px;margin:3px 0 1px}.ex-tag{font-style:normal;font-size:9px;font-weight:600;letter-spacing:.2px;padding:2px 6px;border-radius:7px;background:var(--mf);color:#4a4636;box-shadow:inset 0 0 0 1px #0000000d}.ex-tag.regen,.nb-zelle.regen,.nb-platz.regen,.nb-detail.regen .nb-gross{background:linear-gradient(120deg,#ffd6e7,#fff2c2,#d4f7de,#d3ecff,#e7d8ff,#ffd6e7);background-size:300% 100%;animation:nb-regen 5s linear infinite}
@keyframes nb-regen{to{background-position:300% 0}}
.nb-team{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin-bottom:12px}
/* Skin-Zusatzplaetze 4 + 5: klein, mit Kette, unter dem Hauptteam */
.nb-leinen{display:grid;grid-template-columns:1fr 1fr;gap:6px;margin:-4px 0 12px;opacity:.72}.nb-leinen.an{opacity:1}
.nb-duo{grid-template-columns:repeat(3,minmax(0,1fr))}.nb-duo .nb-kette{background:#fdeef0;border-color:#e89aa4}.nb-duo .nb-kette>i{color:#d3202a}
.nb-draussen .nb-kette{background:#eaf7e6;border-color:#8cc97d}.nb-draussen .nb-kette>i{color:#3c9a2c}.nb-auto{margin-left:6px;padding:1px 8px;border-radius:9px;border:1px solid #8cc97d;background:#fff;color:#3c9a2c;font-size:10px;font-weight:700;cursor:pointer}
.nb-leinen>small{grid-column:1/-1;font-size:10px;color:#6e6a86;font-weight:700}
.nb-kette{position:relative;display:flex;align-items:center;gap:6px;min-width:0;padding:5px 8px 5px 22px;border-radius:12px;background:#eef0fb;border:1.5px dashed #9fa6d6;color:inherit;text-align:left;cursor:pointer;font-size:11px}
.nb-kette>i{position:absolute;left:6px;top:50%;transform:translateY(-50%);font-style:normal;font-size:11px}
.nb-kette img{width:30px;height:30px;flex:none;border-radius:50%;background:#fff}
.nb-kette b{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;min-width:0}.nb-kette small{font-size:9px;color:#87917d;white-space:nowrap}
.nb-kette.gewaehlt{background:#fff3d6;border-color:var(--gold)}.nb-kette.leer{cursor:default;color:#9a97ad;min-height:40px}
@media (max-width:480px){.nb-kette{display:grid;grid-template-columns:30px minmax(0,1fr);column-gap:6px;align-items:center}.nb-kette img{grid-row:span 2}.nb-kette b{align-self:end}.nb-kette small{align-self:start;overflow:hidden;text-overflow:ellipsis}}
.nb-platz{display:flex;flex-direction:column;align-items:center;gap:2px;min-width:0;padding:9px 6px 8px;border-radius:16px;background:#f6f1e3;border:1.5px solid #ece4cf;color:inherit;text-align:center;cursor:pointer}
.nb-platz b{font-size:12px;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.nb-platz small{font-size:9px;color:#87917d}.nb-platz .ex-tags{justify-content:center}
.nb-platz.aktiv{border-color:var(--gold);box-shadow:0 0 0 2px #e8bd6555}.nb-platz.gewaehlt{background:#fff3d6;border-color:var(--gold)}
.nb-platz.ziel{border:1.5px dashed #9a8fc9;background:#f1eefb;animation:nb-puls 1.2s ease-in-out infinite}@keyframes nb-puls{50%{box-shadow:0 0 0 4px #b8aee455}}
.nb-platz.leer{justify-content:center;min-height:118px;border-style:dashed;background:none;color:#b0a88f;font-size:11px;cursor:default}
.nb-rund{width:64px;height:64px;border-radius:50%;background:radial-gradient(circle at 50% 40%,#fffdf6,#ebe3cc);box-shadow:inset 0 0 0 2px #fff;display:grid;place-items:center;overflow:hidden}.nb-rund img{width:100%;height:100%}
.nb-platz.gold .nb-rund{box-shadow:inset 0 0 0 2px #ffd36a,0 0 10px #ffd36a88}
.nb-puste{width:78%;height:4px;border-radius:3px;background:#e6dcc4;overflow:hidden;margin-top:2px}.nb-puste em{display:block;height:100%;background:#8fbf73}
.nb-leiste{display:flex;align-items:center;gap:8px;margin:4px 0 8px}.nb-leiste button{width:34px;height:34px;border-radius:50%;border:1px solid #e6dcc4;background:#fff9ed;font-size:18px;line-height:1}.nb-leiste button:disabled{opacity:.35}.nb-leiste b{font-size:13px;min-width:66px;text-align:center}.nb-leiste small{margin-left:auto;font-size:10px;color:#87917d}
.nb-chips{display:flex;flex-wrap:wrap;gap:5px;margin-bottom:9px}.nb-chips span{flex-basis:100%;height:0}.nb-chips button{min-height:30px;padding:4px 10px;border-radius:15px;background:#fff9ed;border:1px solid #e6dcc4;font-size:11px}.nb-chips button.an{background:var(--gold);border-color:var(--gold)}
.nb-gitter{display:grid;grid-template-columns:repeat(auto-fill,minmax(76px,1fr));gap:6px}
.nb-zelle{position:relative;aspect-ratio:1/1.12;display:flex;flex-direction:column;align-items:center;justify-content:flex-end;padding:0 3px 4px;border-radius:13px;background:#f6f1e3;border:1.5px solid #ece4cf;border-bottom:3px solid var(--el,#d8d0bc);color:inherit;cursor:pointer;overflow:hidden}
.nb-zelle img{position:absolute;inset:2px 6px 16px;width:calc(100% - 12px);height:calc(100% - 18px);object-fit:contain}
img[data-bild]:not([src]){visibility:hidden}
.nb-zelle small{position:relative;font-size:9px;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.nb-zelle.gold{border-color:#ffd36a;background:radial-gradient(circle at 50% 35%,#fff7dc,#f6ecd0)}.nb-zelle.gold::after{content:'✨';position:absolute;right:4px;top:3px;font-size:10px}
.nb-zelle.regen{border-color:#d9c4f7}.nb-zelle.regen::after{content:'✨';position:absolute;right:4px;top:3px;font-size:10px}
.nb-zelle.gewaehlt{box-shadow:0 0 0 2.5px var(--gold);background-color:#fff3d6}
.nb-lv{position:absolute;left:4px;top:4px;font-size:9px;background:#fffaf0e6;border-radius:6px;padding:1px 4px}
.nb-gr{position:absolute;left:4px;bottom:18px;font-style:normal;font-size:8px;font-weight:600;background:#fffaf0e6;border-radius:5px;padding:1px 3px;color:#8a6d45}
.nb-punkte{position:absolute;right:4px;bottom:18px;display:flex;gap:2px}.nb-punkte i{width:8px;height:8px;border-radius:50%;background:var(--mf);box-shadow:0 0 0 1px #fff,0 0 5px var(--mf)}
.nb-leer{padding:12px 0}.nb-hinweis{font-size:11px;color:#6d63a3;background:#f1eefb;border-radius:10px;padding:7px 10px;margin:-4px 0 10px}
.nb-detail{position:sticky;bottom:-25px;z-index:2;display:flex;gap:11px;margin:12px -6px 0;padding:11px 12px 14px;border-radius:18px 18px 0 0;background:#fffaf0;border:1.5px solid var(--gold);box-shadow:0 -10px 30px #2336291f}
.nb-gross{flex:0 0 92px;height:92px;border-radius:16px;background:radial-gradient(circle at 50% 40%,#fffdf6,#ebe3cc);display:grid;place-items:center;overflow:hidden}.nb-gross img{width:100%;height:100%}
.nb-detail.gold .nb-gross{box-shadow:inset 0 0 0 2px #ffd36a,0 0 12px #ffd36a77}
.nb-info{flex:1;min-width:0}.nb-info .ex-klein{margin:3px 0}
.nb-werte{display:flex;flex-wrap:wrap;gap:4px;margin:4px 0}.nb-werte span{font-size:10px;background:#f6f1e3;border-radius:8px;padding:3px 7px;color:#6f7a66}.nb-werte b{color:#344b3e}
/* Detailfeld EP + Attacken (30.09.) */
.nb-ep{margin:6px 0;padding:8px 10px;border-radius:12px;background:linear-gradient(180deg,#fbf7ea,#f3ecd8);box-shadow:inset 0 0 0 1px #e6dcc0}
.nb-ep-kopf{display:flex;justify-content:space-between;align-items:baseline;gap:8px;font-size:11px;color:#344b3e}.nb-ep-kopf small{font-size:10px;color:#8a8f7c}
.nb-ep-balken{height:7px;margin:5px 0 6px;border-radius:99px;background:#e2dcc6;overflow:hidden;box-shadow:inset 0 1px 2px rgba(0,0,0,.12)}
.nb-ep-balken i{display:block;height:100%;border-radius:inherit;background:linear-gradient(90deg,#7fb3e8,#5a8fd6);transition:width .4s}
.nb-ep.max .nb-ep-balken i{background:linear-gradient(90deg,#ffe08a,#f5b85a,#ffe08a);box-shadow:0 0 8px rgba(245,184,90,.7)}
.nb-ep.max .nb-ep-kopf b{color:#b07a1c}
.nb-ep-tags{display:flex;flex-wrap:wrap;gap:4px}.nb-ep-tags span{font-size:10px;padding:2px 7px;border-radius:8px;background:#fff;color:#5d6a55;box-shadow:0 0 0 1px #e8e0c8}.nb-ep-tags .warn{background:#fde6df;color:#a4452d}
.nb-atk{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:5px;margin:6px 0}
.nb-atk span{position:relative;display:flex;flex-direction:column;gap:1px;padding:6px 8px 6px 11px;border-radius:10px;background:#fff;box-shadow:0 1px 3px rgba(60,70,40,.12),inset 0 0 0 1px #ece5cf;overflow:hidden}
.nb-atk span::before{content:"";position:absolute;left:0;top:0;bottom:0;width:4px;background:var(--el,#9aa38a)}
.nb-atk b{font-size:11px;color:#344b3e;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.nb-atk small{font-size:9.5px;color:#8a8f7c}
.nb-atk em{position:relative;font-style:normal;font-size:9.5px;color:#6f7a66;padding-bottom:4px}
.nb-atk em i{position:absolute;left:0;bottom:0;height:3px;border-radius:99px;background:var(--el,#9aa38a);opacity:.75}
.nb-evo{display:inline-block;margin:2px 0;font-size:10.5px;padding:3px 9px;border-radius:99px;background:linear-gradient(90deg,#efe4ff,#ffe9f4);color:#6b4a8e}
.nb-detail .ex-reihe button.an{background:#e7e2f7;border-color:#9a8fc9}.nb-detail .ex-reihe .warn{color:#b4553c;border-color:#e8b9a8;background:#fff1ec}.nb-detail .ex-reihe .ex-leise{margin-left:0}
@media(max-width:420px){.nb-gitter{grid-template-columns:repeat(4,1fr)}.nb-rund{width:54px;height:54px}.nb-gross{flex-basis:72px;height:72px}}
/* Expeditionsbuch: Reiter, Team-Karten mit Bild, Beutel-Kacheln, Reise, Wesenbuch */
.bk{--bk-rand:#ece2c8}
.bk-tabs{position:sticky;top:-2px;z-index:3;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:4px;padding:5px;margin:0 0 6px;background:#f3ead4;border-radius:20px;box-shadow:inset 0 1px 3px #8a7a5626}
.bk-tabs button{display:flex;flex-direction:column;align-items:center;gap:1px;min-width:0;min-height:48px;padding:5px 2px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;border-radius:16px;background:none;color:#7d7560;font-size:11px;font-weight:600;transition:background .2s,transform .2s}
.bk-tabs button span{font-size:19px;line-height:1.1;filter:saturate(.7)}
.bk-tabs button.an{background:#fffaf0;color:#344f40;box-shadow:0 3px 10px #8a7a5630;transform:translateY(-1px)}.bk-tabs button.an span{filter:none}
.bk-hinweis{font-size:12px;color:#6d6552;background:#fbf3df;border:1.5px dashed #e6d6ad;border-radius:14px;padding:9px 12px;margin:10px 0}.bk-hinweis.licht{background:#f3f0fc;border-color:#d6cff0;color:#5f578f}
.bk-karte{position:relative;background:linear-gradient(160deg,color-mix(in srgb,var(--el) 16%,#fffaf0),#fffaf0 55%);border:2px solid color-mix(in srgb,var(--el) 30%,#efe5cc);border-radius:22px;padding:12px 12px 10px;margin-bottom:12px;box-shadow:0 4px 14px #7a6a4418}
.bk-karte.aktiv{border-color:var(--gold);box-shadow:0 0 0 3px #e8bd6540,0 6px 18px #b8904a2a}
.bk-karte.leer{display:flex;align-items:center;gap:10px;min-height:64px;background:none;border:2px dashed #e3d7b8;box-shadow:none;color:#ab9f82;font-size:12px}.bk-karte.leer span{font-size:24px;opacity:.6}
.bk-band{position:absolute;right:14px;top:-10px;background:var(--gold);color:#4b3a17;font-size:10px;font-weight:700;border-radius:10px;padding:3px 9px;box-shadow:0 2px 6px #b8904a55}
.bk-oben{display:flex;gap:11px;align-items:center}
.bk-bild{flex:0 0 78px;height:78px;border-radius:50%;background:radial-gradient(circle at 50% 38%,#fffefa 40%,color-mix(in srgb,var(--el) 30%,#efe6cf));box-shadow:inset 0 0 0 3px #fff,0 3px 10px #7a6a4426;display:grid;place-items:center;overflow:hidden}.bk-bild img{width:100%;height:100%;object-fit:contain}
.bk-karte.gold .bk-bild{box-shadow:inset 0 0 0 3px #ffd36a,0 0 14px #ffd36a99}.bk-karte.regen .bk-bild{box-shadow:inset 0 0 0 3px #e3cdfb,0 0 14px #c7a8f588}
.bk-mitte{flex:1;min-width:0}
.bk-kopf{display:flex;justify-content:space-between;align-items:center;gap:6px}.bk-kopf b{font:600 16px Georgia,serif;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.bk-lv{flex:none;font-size:11px;font-weight:700;background:#506c4c;color:#fff6db;border-radius:10px;padding:2px 8px}
.bk-chips{display:flex;flex-wrap:wrap;gap:3px;margin:4px 0 2px}.bk-chips i{font-style:normal;font-size:9.5px;font-weight:600;color:#6f6a58;background:#fff;border:1px solid #eee3c8;border-radius:8px;padding:1px 7px}
.bk-chips .bk-el{background:var(--el);border-color:transparent;color:#fff;text-shadow:0 1px 1px #0003}.bk-chips .bk-talent{color:#7a5f9e;border-color:#e2d7f2;background:#f7f3fd}
.bk-wert{display:grid;grid-template-columns:34px 1fr auto;align-items:center;gap:6px;margin-top:4px}.bk-wert small{font-size:10px;font-weight:600;color:#7b7563}.bk-wert small:last-child{font-variant-numeric:tabular-nums;min-width:38px;text-align:right}
.bk-bar{display:block;height:9px;border-radius:6px;background:#ebe3cd;box-shadow:inset 0 1px 2px #7a6a4422;overflow:hidden}.bk-bar em{display:block;height:100%;border-radius:6px;transition:width .35s}
.bk-bar.gut em{background:linear-gradient(#9fd07f,#76b35a)}.bk-bar.mittel em{background:linear-gradient(#f4d772,#e2b742)}.bk-bar.knapp em{background:linear-gradient(#f39c86,#dc6c55)}
.bk-wert.ep{margin-top:3px}.bk-bar.ep{height:6px}.bk-bar.ep em{background:linear-gradient(#a9bff0,#7e9ad8)}
/* Potenzial (28.09.): Anzeige nur mit Potenzial-Brille; Farben je Stufe, 100/100/100 mit Goldrand */
.pz{margin-top:8px;padding:8px 10px;border-radius:12px;background:#f6f1e3;border:1.5px solid #e4dac0;--pz:#9a9585}
.pz-kopf{display:flex;align-items:center;gap:8px}.pz-kopf b{font-size:11px;letter-spacing:.08em;color:#5b6152}
.pz-gesamt{margin-left:auto;font-size:20px;font-weight:800;color:var(--pz);font-variant-numeric:tabular-nums}
.pz-schalter{min-height:36px;min-width:64px;border-radius:18px;font-size:12px;font-weight:700;border:1.5px solid #cfc3a3;background:#fffaf0;color:#6f6a58}
.pz-schalter.an{background:linear-gradient(135deg,#6fe3ef,#a78bfa);border-color:#7c6ad6;color:#fff}
.pz-reihe{display:flex;flex-wrap:wrap;gap:6px;margin-top:6px}.pz-reihe span{font-size:12px;background:#ebe3cd;border-radius:8px;padding:4px 8px;color:#7b7563}
.pz-tipp{display:block;margin-top:6px;font-size:11px;color:#8a826b}
.pz-wert{display:grid;grid-template-columns:86px 1fr 52px;align-items:center;gap:8px;margin-top:6px}
.pz-wert small{font-size:12px;font-weight:600;color:#6f6a58}.pz-wert b{font-size:16px;text-align:right;color:var(--pz);font-variant-numeric:tabular-nums}
.pz-bar{display:block;height:12px;border-radius:7px;background:#e6ddc4;overflow:hidden;box-shadow:inset 0 1px 2px #7a6a4422}
.pz-bar em{display:block;height:100%;border-radius:7px;background:var(--pz);transition:width .5s}
.pz-grau{--pz:#9a9585}.pz-gruen{--pz:#5ea84a}.pz-blau{--pz:#3f86d6}.pz-violett{--pz:#8a5cd6}.pz-gold{--pz:#d19a18}
.pz-perfekt{--pz:#d19a18;border-color:#e2b53c;background:linear-gradient(135deg,#fff8e1,#eafcff);box-shadow:0 0 12px #f1c65a66,0 0 18px #6fe3ef33;animation:pz-glanz 3.2s ease-in-out infinite}
.pz-perfekt .pz-kopf b{color:#b98309}.pz-perfekt .pz-bar em{background:linear-gradient(90deg,#f1c65a,#6fe3ef)}
.pz-wert.pz-perfekt{animation:none;box-shadow:none;background:none;border:0}
@keyframes pz-glanz{0%,100%{box-shadow:0 0 10px #f1c65a55,0 0 16px #6fe3ef22}50%{box-shadow:0 0 16px #f1c65a88,0 0 24px #6fe3ef44}}
.pz-scan{position:relative;overflow:hidden}.pz-scan::after{content:'';position:absolute;inset:0;background:linear-gradient(90deg,transparent,#6fe3ef55,#a78bfa44,transparent);transform:translateX(-100%);animation:pz-scan 1.1s ease-out 1;pointer-events:none}
.pz-scan .pz-bar em{animation:pz-fuellen .9s ease-out 1}
@keyframes pz-scan{to{transform:translateX(100%)}}@keyframes pz-fuellen{from{width:0}}
.view-controls #brille-knopf{font-size:19px;padding:0;position:relative;transition:background .2s,box-shadow .2s}
.view-controls #brille-knopf span{transition:filter .2s,opacity .2s}
.view-controls #brille-knopf:not(.an) span{filter:grayscale(1);opacity:.55}
.bk-atk{display:flex;flex-wrap:wrap;gap:4px;margin:9px 0 0}.bk-atk i{font-style:normal;font-size:10.5px;font-weight:600;color:#4f5b49;background:#fff;border:1px solid #eee3c8;border-left:4px solid var(--el);border-radius:9px;padding:3px 8px}
.bk-atk .bk-evo{border:1px dashed #e0c681;background:#fff8e3;color:#8a6d2c}
.bk-fuss{display:flex;flex-wrap:wrap;align-items:center;gap:6px;margin-top:9px;padding-top:8px;border-top:1.5px dotted #e8dcbd}
.bk-mit{min-height:36px;padding:5px 14px;border-radius:14px;background:var(--gold);color:#4b3a17;font-size:12px;font-weight:700;box-shadow:0 3px 0 #c99a45}
.bk-mit:active{transform:translateY(2px);box-shadow:0 1px 0 #c99a45}
/* Aufstiegsform (Claude 27.09.) */
.bk-auf{min-height:36px;padding:5px 12px;margin-left:6px;border-radius:14px;background:#7d63f0;color:#fff;font-size:12px;font-weight:700;box-shadow:0 3px 0 #4e3aa8}
.bk-auf.an{background:#3a2f5c;box-shadow:0 3px 0 #211a38}
.bk-auf:active{transform:translateY(2px);box-shadow:0 1px 0 #4e3aa8}
.bk-stein{min-height:36px;padding:5px 12px;margin-left:6px;border-radius:14px;background:#2fa3b8;color:#fff;font-size:12px;font-weight:700;box-shadow:0 3px 0 #1d6f7e}
.bk-stein small{margin-left:4px;padding:0 6px;border-radius:8px;background:#ffffff33}
.bk-stein:disabled{background:#a9b8bb;box-shadow:0 3px 0 #7f8c8f;opacity:.8}
.bk-stein:active:not(:disabled){transform:translateY(2px);box-shadow:0 1px 0 #1d6f7e}
.bk-naschen{display:flex;align-items:center;gap:5px}.bk-naschen>small{font-size:10px;color:#8b846f;margin-right:1px}
.bk-nasch{position:relative;width:38px;height:36px;border-radius:13px;background:#fff;border:1.5px solid #eee3c8;font-size:17px;line-height:1;box-shadow:0 2px 0 #e6dab9}
.bk-nasch small{position:absolute;right:-5px;top:-7px;min-width:17px;font-size:9px;font-weight:700;background:#506c4c;color:#fff;border-radius:9px;padding:1px 4px;line-height:1.3}
.bk-nasch:disabled{opacity:.4;box-shadow:none}.bk-nasch:disabled small{background:#b3aa93}.bk-nasch:not(:disabled):active{transform:translateY(2px);box-shadow:none}
.bk-frei{margin-left:auto;min-height:32px;padding:4px 8px;border-radius:11px;background:none;color:#a38b74;font-size:11px}.bk-frei.warn{color:#b4553c;background:#fff1ec;border:1px solid #e8b9a8;font-weight:600}
/* Inselarbeit im Expeditionsbuch (Claude 26.09.) */
.bk-arbeit{display:flex;flex-wrap:wrap;align-items:center;gap:5px;margin-top:7px}.bk-arbeit>small{font-size:11px;color:#8a7b5c;width:100%}
.bk-arbeit button{min-height:32px;padding:4px 9px;border-radius:11px;background:#eef6e4;color:#48622f;font-size:11.5px;font-weight:600;border:1.5px solid #cfe3b7}
.bk-arbeit button:active{transform:translateY(1px)}
.bk-postenreihe{display:grid;gap:6px;margin:4px 0 2px}
.bk-posten{display:flex;align-items:center;gap:10px;padding:7px 10px;border-radius:14px;background:#fffaf0;border:1.5px dashed #e6d6ad}
.bk-posten.belegt{border-style:solid;border-color:#cfe3b7;background:#f4faec}
.bk-posten>div{flex:1;min-width:0;display:flex;flex-direction:column}.bk-posten b{font-size:13px;color:#4b3a17}.bk-posten small{font-size:11.5px;color:#7d7156}
.bk-posten-ic{font-size:22px;width:30px;text-align:center}
.bk-posten button{min-height:32px;padding:4px 10px;border-radius:11px;background:var(--gold);color:#4b3a17;font-size:11.5px;font-weight:700}.bk-posten button:disabled{opacity:.45}
.bk-geld{display:inline-flex;align-items:center;gap:6px;margin:4px 0 0;background:#fff4d6;border:1.5px solid #f0d99a;border-radius:16px;padding:6px 13px;font-size:13px;color:#6a5424}.bk-geld b{font-size:16px}
.bk-muenze{display:inline-block;width:12px;height:12px;border-radius:50%;background:radial-gradient(circle at 35% 35%,#fff1b8,#e8bd65 60%,#c9973f);box-shadow:0 0 0 1px #b9893a55;vertical-align:-1px}
.bk-waren{display:grid;grid-template-columns:repeat(auto-fill,minmax(140px,1fr));gap:9px}
.bk-ware{display:flex;flex-direction:column;align-items:center;text-align:center;background:#fffaf0;border:2px solid var(--bk-rand);border-radius:20px;padding:12px 10px 10px;box-shadow:0 4px 12px #7a6a4414}
.bk-icon{position:relative;display:grid;place-items:center;width:58px;height:58px;border-radius:50%;background:radial-gradient(circle at 50% 40%,#fff,#f4e9cd);font-size:30px;box-shadow:inset 0 0 0 2px #fff}
.bk-icon i{position:absolute;right:-6px;bottom:-2px;font-style:normal;font-size:10px;font-weight:700;background:#506c4c;color:#fff;border-radius:9px;padding:1px 6px;box-shadow:0 0 0 2px #fffaf0}
.bk-ware b{margin-top:7px;font-size:13px}.bk-ware p{flex:1;margin:3px 0 8px;font-size:10.5px;line-height:1.35;color:#7b7563}
.bk-kauf{display:flex;gap:5px;width:100%}.bk-kauf button{flex:1;display:flex;align-items:center;justify-content:center;gap:4px;min-height:34px;border-radius:12px;background:var(--gold);color:#4b3a17;font-size:12px;font-weight:700;box-shadow:0 3px 0 #c99a45}
.bk-kauf button+button{flex:0 0 44px;background:#fff4d6;box-shadow:0 3px 0 #e6cf92}.bk-kauf button:disabled{opacity:.45;box-shadow:none}.bk-kauf button:not(:disabled):active{transform:translateY(2px);box-shadow:none}
.bk-siegelreihe{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}
.bk-siegel{display:flex;flex-direction:column;align-items:center;text-align:center;gap:2px;padding:12px 6px 10px;border-radius:20px;background:#f6f1e3;border:2px dashed #e3d7b8;color:#9d957f}
.bk-siegel i{display:grid;place-items:center;width:50px;height:50px;border-radius:50%;background:#ece4cf;font-style:normal;font-size:24px;font-weight:700;color:#bdb39a}
.bk-siegel b{font-size:11px}.bk-siegel small{font-size:9.5px}
.bk-siegel.da{background:linear-gradient(170deg,#fff4d6,#fffaf0);border:2px solid #f0d99a;color:#5d4b20}.bk-siegel.da i{background:radial-gradient(circle,#fff8e0,#f6dd9c);box-shadow:0 0 12px #f0c96a88}
.bk-ringe{list-style:none;padding:0;margin:0;display:grid;gap:7px}
.bk-ringe li{display:flex;gap:10px;align-items:center;background:#fffaf0;border:2px solid var(--bk-rand);border-radius:16px;padding:9px 12px}
.bk-ringe li>i{flex:none;display:grid;place-items:center;width:30px;height:30px;border-radius:50%;font-style:normal;font-size:14px;background:#e5f0dc;color:#4f7d3f;font-weight:700}
.bk-ringe li.zu>i{background:#efe8d8}.bk-ringe li.zu{opacity:.8}
.bk-ringe b{display:block;font-size:13px}.bk-ringe small{display:block;font-size:11px;color:#87917d}
.bk-buch{display:grid;grid-template-columns:repeat(auto-fill,minmax(92px,1fr));gap:8px}
.bk-art{position:relative;display:flex;flex-direction:column;align-items:center;font-style:normal;text-align:center;padding:18px 5px 8px;border-radius:18px;background:linear-gradient(170deg,color-mix(in srgb,var(--el) 20%,#fffaf0),#fffaf0 70%);border:2px solid color-mix(in srgb,var(--el) 28%,#efe5cc)}
.bk-art img,.bk-art>span{width:62px;height:62px;object-fit:contain}
.bk-art>span{display:grid;place-items:center;border-radius:50%;background:#e7dfca;color:#fffaf0;font:700 28px Georgia,serif}
.bk-art em{position:absolute;left:8px;top:5px;font-style:normal;font-size:9px;font-weight:700;color:#a49a80}.bk-art u{position:absolute;right:7px;top:4px;text-decoration:none;font-size:11px}
.bk-art b{font-size:11.5px;margin-top:3px;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.bk-art small{font-size:9px;color:#8b846f}
.bk-art.leer{background:#f4efe2;border:2px dashed #e1d6b9}.bk-art.leer b{color:#b0a78e}
.bk-art.freund{box-shadow:0 0 0 2px #cfe6bd}
.bk-form{border-style:dashed;background:linear-gradient(170deg,color-mix(in srgb,var(--el) 12%,#fffaf0),#fffaf0 70%)}.bk-form small{color:#7a6fae}
/* Umrandung nach Seltenheit (häufig bleibt schlicht) */
.bk-art.s1{border-color:#cfc6ae}
.bk-art.s2{border:3px solid #5fbf6a}
.bk-art.s3{border:3px solid #3f9be0}
.bk-art.s4{border:3px solid #9a5ce0;box-shadow:0 0 8px #9a5ce055}
.bk-art.s5{border:3px solid #e8b420;box-shadow:0 0 10px #f3c84a88;background:linear-gradient(170deg,#fff3c4,#fffaf0 70%)}
.bk-form.s2,.bk-form.s3,.bk-form.s4,.bk-form.s5{border-style:dashed}
.bk-art.freund.s2,.bk-art.freund.s3,.bk-art.freund.s4,.bk-art.freund.s5{box-shadow:0 0 0 2px #cfe6bd}
@media(max-width:420px){.bk-bild{flex-basis:66px;height:66px}.bk-naschen>small{display:none}.bk-karte.aktiv .bk-naschen>small{display:inline}.bk-nasch{width:34px}.bk-mit{padding:5px 12px}.bk-frei{padding:4px 4px}.bk-waren{grid-template-columns:1fr 1fr}.bk-buch{grid-template-columns:repeat(3,1fr)}}
/* Rechte Leiste: keine gemeinsame Tafel mehr, Knoepfe und Aufgabe schweben einzeln */
.view-controls{background:none!important;padding:0!important;box-shadow:none!important;gap:6px!important}
.view-controls .control-divider{display:none}
.view-controls button{background:#fffaf0f2;border:1px solid #fff;box-shadow:0 2px 8px #24433124,0 0 0 1px #3a5a4414;color:#344b3e}
.view-controls #quest{background:#fffaf0f2!important;border:1px solid #fff!important;box-shadow:0 2px 8px #24433124,0 0 0 1px #3a5a4414!important;margin-top:2px}

/* Mythisches Haendlerangebot (Himmelranke, 27.09.): leicht abgesetzt, kein Blinken, kein Druck */
.shop-item.mythisch{background:linear-gradient(135deg,#ebe6fb,#e0f1f3);box-shadow:inset 0 0 0 1.5px #bfaef0}.shop-item.mythisch p{color:#5d5a86}.mythisch-tag{display:inline-block;margin-left:6px;padding:2px 6px;border-radius:6px;background:#56479e;color:#ffe3a0;font-size:8px;font-weight:700;letter-spacing:.8px;vertical-align:1px}
/* Eier nach Seltenheit (27.09.), Farben wie im Wesenbuch */
.shop-item[class*=ei-s]{--ei:#cfc6ae;box-shadow:inset 0 0 0 2px var(--ei)}.ei-s2{--ei:#5fbf6a!important}.ei-s3{--ei:#3f9be0!important}.ei-s4{--ei:#9a5ce0!important;background:linear-gradient(135deg,#f1e8fd,#fffaf0)}
.ei-tag{display:inline-block;margin-left:6px;padding:2px 6px;border-radius:6px;background:var(--ei);color:#fff;font-size:8px;font-weight:700;letter-spacing:.8px;vertical-align:1px}.ei-s1 .ei-tag{color:#5a513c}
/* Claude 27.09.: Startwahl beim neuen Spielstand (Figur + Startbegleiter) */
#startwahl{position:fixed;inset:0;z-index:110;overflow-y:auto;-webkit-overflow-scrolling:touch;background:radial-gradient(circle at 30% 10%,#fffdf5,#f1efdf 60%,#e2ead8);display:flex;justify-content:center;align-items:flex-start;padding:max(22px,env(safe-area-inset-top)) 16px calc(24px + var(--safe))}
.sw-karte{width:100%;max-width:560px;margin:auto 0;text-align:center}
.sw-karte h2{font:500 clamp(30px,6vw,44px)/1.05 Georgia,serif;letter-spacing:-1.5px;margin:14px 0 14px}
.sw-karte h2 em{color:#6f8f5c}
.sw-reihe{display:grid;gap:10px;margin-bottom:18px}.sw-figuren{grid-template-columns:repeat(2,1fr)}.sw-begleiter{grid-template-columns:repeat(3,1fr)}
.sw-wahl{display:flex;flex-direction:column;align-items:center;gap:3px;padding:10px 6px 12px;background:#fff9edee;border-radius:20px;box-shadow:0 6px 22px #42593914,inset 0 0 0 1.5px #fff;transition:transform .15s,box-shadow .15s}
.sw-wahl:active{transform:scale(.97)}
.sw-wahl[aria-pressed=true]{box-shadow:0 8px 26px #42593926,inset 0 0 0 3px #6f8f5c;background:#fffdf6}
.sw-wahl b{font:600 16px Georgia,serif}.sw-wahl small{font-size:11px;color:#7b8574;line-height:1.25}
.sw-bild{position:relative;display:block;width:100%;aspect-ratio:1;max-width:150px;border-radius:16px;background:radial-gradient(circle at 50% 60%,#fff,#eef0e2)}
.sw-bild img{width:100%;height:100%;object-fit:contain}.sw-bild img:not([src]){visibility:hidden}
.sw-bild i{position:absolute;right:4px;top:4px;font-style:normal;font-size:15px;width:26px;height:26px;display:grid;place-items:center;border-radius:50%;background:#fff}
.sw-zappio .sw-bild{background:radial-gradient(circle at 50% 60%,#fffbe6,#f7ebb4)}.sw-aquarin .sw-bild{background:radial-gradient(circle at 50% 60%,#f2fbff,#c9e8f7)}.sw-pyroni .sw-bild{background:radial-gradient(circle at 50% 60%,#fff6ec,#fbd7b8)}
#sw-los{margin:4px auto 0;max-width:340px}
.sw-hinweis{display:block;margin-top:10px;font-size:11px;color:#87917d}
/* Spielername (29.09.) */
.sw-name{display:block;width:100%;max-width:340px;margin:0 auto 18px;padding:14px 18px;border:0;border-radius:18px;background:#fff9edee;box-shadow:0 6px 22px #42593914,inset 0 0 0 1.5px #fff;font:600 20px Georgia,serif;text-align:center;color:#33402c;outline:none}
.sw-name:focus{box-shadow:0 8px 26px #42593926,inset 0 0 0 3px #6f8f5c;background:#fffdf6}
.name-frage{position:fixed;inset:0;z-index:120;display:flex;justify-content:center;align-items:center;padding:16px;background:#f5f2e4f2;-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px)}
.name-frage .sw-karte{max-width:420px}.name-frage .primary{margin:0 auto;width:100%;max-width:340px}
.nf-text{margin:-4px 0 16px;font-size:14px;color:#6c7564;line-height:1.4}
/* Charakter-Design (29.09.): Farben je Bereich, Vorschau links */
.sw-design{margin-bottom:18px}.sw-design[hidden]{display:none}
.sw-design-inhalt{display:grid;grid-template-columns:150px 1fr;gap:12px;align-items:start;text-align:left;padding:12px;border-radius:20px;background:#fff9edee;box-shadow:0 6px 22px #42593914,inset 0 0 0 1.5px #fff}
.sw-vorschau{position:sticky;top:0;display:block;aspect-ratio:1;border-radius:16px;background:radial-gradient(circle at 50% 60%,#fff,#eef0e2)}
.sw-vorschau img{width:100%;height:100%;object-fit:contain}.sw-vorschau img:not([src]){visibility:hidden}
.sw-teile{display:flex;flex-direction:column;gap:8px;min-width:0}
.sw-teil b{display:block;font:600 13px Georgia,serif;color:#33402c;margin-bottom:4px}
.sw-farben{display:flex;flex-wrap:wrap;gap:6px}
.sw-farbe{width:28px;height:28px;padding:0;border:0;border-radius:50%;background:var(--f);box-shadow:inset 0 0 0 1.5px #0000001a;cursor:pointer;transition:transform .12s}
.sw-farbe:active{transform:scale(.9)}
.sw-farbe[aria-pressed=true]{box-shadow:0 0 0 2.5px #fffdf6,0 0 0 4.5px #6f8f5c}
.sw-eigene{position:relative;width:28px;height:28px;border-radius:50%;cursor:pointer;background:radial-gradient(circle,var(--f,transparent) 0 55%,transparent 57%),conic-gradient(#e0504a,#f2cd48,#6fb35a,#3fa3a0,#4a78c8,#8a5cc2,#e0504a);box-shadow:inset 0 0 0 1.5px #0000001a}
.sw-eigene.an{background:var(--f);box-shadow:0 0 0 2.5px #fffdf6,0 0 0 4.5px #6f8f5c}
.sw-eigene input{position:absolute;inset:0;width:100%;height:100%;opacity:0;cursor:pointer;border:0;padding:0}
.sw-eigene:focus-within{outline:2px solid #6f8f5c;outline-offset:2px}
.sw-formen{display:flex;flex-wrap:wrap;gap:6px}
.sw-form{padding:5px 11px;border:1.5px solid #d6dccb;border-radius:999px;background:#fffdf6;color:#33402c;font:600 12px/1.2 system-ui,sans-serif;cursor:pointer}
.sw-form[aria-pressed=true]{background:#6f8f5c;border-color:#6f8f5c;color:#fffdf6}
.sw-design-knoepfe{display:flex;justify-content:center;gap:8px;margin-top:10px}
.sw-klein{padding:9px 16px;border:0;border-radius:14px;background:#fff9edee;box-shadow:0 4px 14px #42593914,inset 0 0 0 1.5px #fff;font:600 13px Georgia,serif;color:#33402c;cursor:pointer}
.sw-klein:active{transform:scale(.96)}
@media (max-width:420px){.sw-design-inhalt{grid-template-columns:1fr;padding:10px}.sw-vorschau{z-index:2;width:120px;margin:0 auto;box-shadow:0 4px 14px #42593922}.sw-farbe,.sw-eigene{width:30px;height:30px}}
@media (max-width:420px){.sw-reihe{gap:7px}.sw-wahl{padding:7px 4px 10px;border-radius:16px}.sw-wahl b{font-size:14px}.sw-wahl small{font-size:10px}}
/* Reiten (Claude 27.09.): Knopf zum Aufsitzen, sitzt ueber dem Aktionsknopf (Lage setzt expedition.mjs) */
#reit-knopf{position:fixed;right:max(14px,env(safe-area-inset-right));bottom:calc(226px + var(--safe,0px));z-index:6;max-width:132px;background:#5a4a8a;color:#fffaf0;border:1px solid #fff4;padding:14px 18px;border-radius:18px;font-size:12px;font-weight:600;box-shadow:0 5px 18px #29433525;transition:transform .15s}
#reit-knopf:active{transform:scale(.96)}#reit-knopf[data-art=wasser]{background:#2f6f8f}#reit-knopf[data-art=flug]{background:#8a5a9a}
#reit-knopf[hidden],body[data-view=overview] #reit-knopf,body[data-angeln] #reit-knopf,body:has(#expedition-kampf:not([hidden])) #reit-knopf{display:none!important}
body.ei-szene #reit-knopf{opacity:0!important;pointer-events:none!important}

/* Sternenwelt (Claude, 27.09.): Beet- und Laden-Schilder von daheim drueben ausblenden */
body.in-sternenwelt .plant-label, body.in-sternenwelt .world-shop-label {display: none !important}
/* Tageszyklus-Anzeige (27.09.) */
#uhr{position:fixed;z-index:40;left:50%;top:calc(env(safe-area-inset-top,0px) + 6px);transform:translateX(-50%);padding:3px 8px;border-radius:999px;background:#fff9edb3;color:#40533a;font-size:10px;font-variant-numeric:tabular-nums;pointer-events:none;white-space:nowrap;backdrop-filter:blur(4px);-webkit-backdrop-filter:blur(4px)}body.night #uhr{background:#1d2a3ab3;color:#e7ecf6}
/* Fahr-Knoepfe (Claude 28.09.): nur beim Reiten/Fliegen, gross genug fuer den Daumen, gedrueckt halten. */
#ride-ctl{position:fixed;right:max(16px,env(safe-area-inset-right));bottom:calc(var(--hud-unten,0px) + 196px + var(--safe,0px));z-index:6;display:flex;flex-direction:column;gap:10px;align-items:flex-end;touch-action:none;user-select:none;-webkit-user-select:none}
#ride-ctl[hidden],#ride-ctl button[hidden],body[data-view=overview] #ride-ctl,body:has(#expedition-kampf:not([hidden])) #ride-ctl{display:none!important}
#ride-ctl button{min-width:56px;height:56px;padding:0 14px;border-radius:18px;border:1px solid #fff6;background:#5a4a8aee;color:#fffaf0;font:600 20px/1 system-ui,sans-serif;box-shadow:0 4px 0 #3a2f5c,0 8px 16px #1f362b33;touch-action:none;transition:transform .08s,box-shadow .08s}
#ride-ctl button[data-lang=true]{font-size:14px}
#ride-ctl #ride-down{background:#3f6d8aee;box-shadow:0 4px 0 #284a5e,0 8px 16px #1f362b33}
#ride-ctl #ride-boost{background:#c9793aee;box-shadow:0 4px 0 #8a4f22,0 8px 16px #1f362b33;font-size:14px}
#ride-ctl button[data-pressed=true]{transform:translateY(3px);box-shadow:0 1px 0 #0003,0 3px 8px #1f362b2e;filter:brightness(1.12)}
body[data-ride=true] #walk-jump{display:none!important}
#ride-hint{position:fixed;left:50%;top:calc(env(safe-area-inset-top,0px) + 120px);transform:translateX(-50%);z-index:7;max-width:80vw;padding:8px 14px;border-radius:12px;background:#243a2fdd;color:#fffaf0;font:600 13px/1.3 system-ui,sans-serif;pointer-events:none;text-align:center}
#ride-hint[hidden]{display:none}
#ride-debug{position:fixed;left:8px;top:8px;z-index:50;margin:0;padding:6px 8px;background:#000b;color:#9f9;font:11px/1.35 monospace;pointer-events:none;white-space:pre}
#ride-debug[hidden]{display:none}
@media(max-height:550px){#ride-ctl{bottom:calc(96px + var(--safe,0px));flex-direction:row;gap:8px}#ride-ctl button{height:48px;min-width:48px}}
.bk-art .bk-spawn{font-size:9px;color:#5f7d3a;font-weight:700;white-space:nowrap}
/* Kampf neu (Adem 09.10.): Kopfleiste oben statt Karten, Text schmal darunter, Menue bleibt */
#expedition-kopf{position:fixed;left:0;right:0;top:0;z-index:20;pointer-events:none}
#expedition-kopf[hidden]{display:none}
#expedition-kampf .ek-karte{display:none}
#expedition-kampf .ek-titel,#expedition-kampf.ek-boss .ek-titel{top:calc(max(6px,env(safe-area-inset-top)) + 100px)}
#expedition-kampf .ek-text,#expedition-kampf.ek-boss .ek-text{top:calc(max(6px,env(safe-area-inset-top)) + 100px);left:50%;transform:translateX(-50%);width:max-content;max-width:min(520px,calc(100vw - 24px));min-width:0;text-align:center;padding:6px 14px;font-size:13.5px}
#expedition-kampf.ek-boss .ek-text{top:calc(max(6px,env(safe-area-inset-top)) + 140px)}
@media (orientation:landscape) and (max-height:520px){#expedition-kampf .ek-text{left:calc(50% - 130px);max-width:calc(100vw - 300px)}}
.kk-zusatz .ek-unter{font-size:11px;gap:4px}
body.vael-kampf #expedition-kampf .ek-text{top:calc(max(10px,env(safe-area-inset-top)) + 178px)}
