/* NATURE IDLE | STYLESHEETS | Original cascade order preserved. */

/* =============== ORIGINAL FILE: style.css =============== */
:root{--bg:#0b0f0d;--panel:#121915;--panel2:#17201b;--line:#26322b;--text:#edf5ef;--muted:#9eaaa2;--green:#63e69a;--green2:#2e9f63;--yellow:#e5bd58;--red:#d76a6a;--shadow:0 20px 60px rgba(0,0,0,.3)}
*{box-sizing:border-box}body{margin:0;background:radial-gradient(circle at 50% -20%,#1b3b2a 0,#0b0f0d 40%);color:var(--text);font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;min-height:100vh}.topbar{height:72px;border-bottom:1px solid var(--line);display:flex;align-items:center;gap:24px;padding:0 5%;background:rgba(11,15,13,.88);backdrop-filter:blur(14px);position:sticky;top:0;z-index:10}.logo{color:#fff;text-decoration:none;font-weight:800;font-size:20px;margin-right:auto}.topbar nav{display:flex;gap:6px}.nav-btn,.icon-btn,select{background:#111813;color:var(--muted);border:1px solid var(--line);border-radius:10px;padding:9px 12px;cursor:pointer}.nav-btn.active,.nav-btn:hover{color:#fff;border-color:#3c5b49;background:#18241d}.header-actions{display:flex;gap:8px}.icon-btn{width:38px;font-weight:800}.view{display:none;max-width:1450px;margin:0 auto;padding:50px 22px 90px}.active-view{display:block}.hero{text-align:center;padding:55px 0 35px}.eyebrow{color:var(--green);font-size:12px;letter-spacing:3px;font-weight:800}.hero h1,.page-head h1{font-size:clamp(34px,6vw,64px);line-height:1;margin:12px 0}.hero p,.page-head p{color:var(--muted);font-size:17px}.mode-row{display:flex;justify-content:center;align-items:center;gap:10px;margin:20px auto 0;color:var(--muted);font-size:13px}.mode-select{min-width:130px;background:#111813;color:#fff;border:1px solid #304138;border-radius:10px;padding:9px 12px}.search-wrap{max-width:760px;margin:32px auto 10px;display:flex;position:relative}.search-wrap input,.filters input{flex:1;background:#101612;border:1px solid #304138;color:#fff;border-radius:14px 0 0 14px;padding:17px;font-size:16px;outline:none}.search-wrap input:focus,.filters input:focus{border-color:var(--green)}.primary{border:0;background:var(--green);color:#07100a;font-weight:800;padding:0 25px;border-radius:0 14px 14px 0;cursor:pointer}.suggestions{position:absolute;top:60px;left:0;right:110px;background:#121915;border:1px solid var(--line);border-radius:12px;overflow:hidden;text-align:left;z-index:5}.suggestion{padding:12px 15px;cursor:pointer}.suggestion:hover{background:#1c2921}.hidden{display:none!important}.result-message{min-height:30px;color:var(--green);font-weight:700}.hint-card{max-width:1000px;margin:0 auto 24px;background:rgba(18,25,21,.88);border:1px solid var(--line);border-radius:18px;padding:18px 20px;box-shadow:var(--shadow)}.hint-head{display:flex;justify-content:space-between;align-items:center;gap:15px}.hint-head h2{margin:4px 0 0;font-size:20px}.hint-progress{padding:7px 10px;border-radius:999px;background:#18241d;color:var(--green);font-size:12px;font-weight:800;white-space:nowrap}.hint-list{display:grid;gap:9px;margin-top:15px}.hint-item{display:flex;align-items:flex-start;gap:10px;padding:11px 13px;border:1px solid #304138;background:#101612;border-radius:12px}.hint-item .hint-icon{font-size:18px;line-height:1.2}.hint-item strong{display:block;margin-bottom:2px}.hint-item span{color:#d4ddd7}.next-hint-message{margin-top:13px;color:var(--muted);font-size:13px}.next-hint-message.ready{color:var(--green);font-weight:700}.next-hint-message.done{color:var(--green);font-weight:700}.hint-item+ .hint-item{margin-top:0}
.guess-table-card{background:rgba(18,25,21,.88);border:1px solid var(--line);border-radius:20px;overflow:hidden;box-shadow:var(--shadow)}.section-head{padding:18px 20px;display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid var(--line)}.section-head h2{margin:0;font-size:18px}.section-head span{color:var(--muted);font-size:13px}.streak{font-size:18px!important;color:#fff!important}.table-scroll{overflow-x:auto}table{width:100%;border-collapse:collapse;min-width:850px}th,td{padding:14px 12px;text-align:center;border-bottom:1px solid #202a24;font-size:13px}th{color:var(--muted);font-size:11px;text-transform:uppercase;letter-spacing:.7px}.animal-name{text-align:left;font-weight:700}.hint{border-radius:8px;padding:7px 8px}.range-hint{display:inline-flex;flex-direction:column;gap:5px;min-width:100px;align-items:center}.range-status{font-size:11px}.range-chips{display:inline-flex;gap:5px;flex-wrap:wrap;justify-content:center}.range-chip{padding:4px 7px;border-radius:7px;font-size:12px;line-height:1.2}.range-chip.match{background:#183d29;color:#76efa7}.range-chip.nomatch{background:#2b2424;color:#b7a7a7}.correct{background:#183d29;color:#76efa7}.wrong{background:#382021;color:#f08b8b}.near{background:#493b1b;color:#f1ce65}.page-head{display:flex;justify-content:space-between;align-items:end;gap:20px;margin-bottom:30px}.collection-progress{font-size:22px;background:#121915;border:1px solid var(--line);padding:15px 18px;border-radius:14px}.collection-progress strong{color:var(--green)}.filters{display:flex;gap:10px;margin-bottom:25px}.filters input{border-radius:12px}.filters select{min-width:180px}.animal-grid,.life-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:16px}.animal-card{background:#121915;border:1px solid var(--line);border-radius:16px;overflow:hidden;cursor:pointer;transition:.18s}.animal-card:hover{transform:translateY(-3px);border-color:#4b6b58}.animal-art{height:150px;display:grid;place-items:center;background:linear-gradient(145deg,#17251c,#0e1411);font-size:70px}.animal-info{padding:15px}.animal-info h3{margin:0 0 5px}.scientific{font-style:italic;color:var(--muted);font-size:13px}.badge{display:inline-block;margin-top:10px;padding:4px 7px;border-radius:999px;background:#1a2d21;color:var(--green);font-size:11px}.life-stats{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;margin-bottom:25px}.stat{background:#121915;border:1px solid var(--line);border-radius:16px;padding:18px;display:grid;gap:7px}.stat span{font-size:22px}.stat strong{font-size:30px}.stat small{color:var(--muted)}.life-row{display:grid;grid-template-columns:1fr auto auto;gap:12px;align-items:center;background:#121915;border:1px solid var(--line);border-radius:14px;padding:14px 16px;margin-bottom:10px}.life-row button{background:#18241d;border:1px solid #385340;color:#b9e7c8;border-radius:9px;padding:8px 10px;cursor:pointer}.modal{position:fixed;inset:0;background:rgba(0,0,0,.72);display:grid;place-items:center;padding:20px;z-index:20}.modal-card{position:relative;background:#111813;border:1px solid var(--line);border-radius:20px;padding:28px;max-width:560px;width:100%;box-shadow:var(--shadow)}.modal-card.wide{max-width:800px}.modal-close{position:absolute;right:14px;top:10px;background:none;border:0;color:#aaa;font-size:30px;cursor:pointer}.detail{display:grid;grid-template-columns:220px 1fr;gap:25px}.detail-art{background:#17251c;border-radius:16px;display:grid;place-items:center;font-size:100px;min-height:220px}.detail h2{font-size:32px;margin:0 0 4px}.detail dl{display:grid;grid-template-columns:150px 1fr;gap:9px;margin-top:20px}.detail dt{color:var(--muted)}.detail dd{margin:0}.life-checks{margin-top:20px;display:flex;gap:10px;flex-wrap:wrap}.life-checks button.active{background:#2b6845;color:#fff;border-color:#4da66f}.empty{grid-column:1/-1;color:var(--muted);padding:30px;text-align:center}
@media(max-width:800px){.topbar{height:auto;min-height:64px;flex-wrap:wrap;padding:10px 16px;gap:8px}.logo{width:100%}.topbar nav{order:3;width:100%;overflow:auto}.header-actions{position:absolute;right:12px;top:10px}.header-actions select{max-width:120px}.view{padding:30px 14px 70px}.hero{padding:25px 0}.search-wrap{display:grid;grid-template-columns:1fr 90px}.search-wrap input{border-radius:12px 0 0 12px}.primary{padding:0 10px}.life-stats{grid-template-columns:repeat(2,1fr)}.page-head{align-items:start;flex-direction:column}.detail{grid-template-columns:1fr}.detail-art{min-height:160px}.filters{flex-direction:column}}


.mode-description{
  max-width:760px;
  margin:10px auto 0;
  padding:10px 14px;
  border:1px solid rgba(255,255,255,.08);
  border-radius:12px;
  font-size:.9rem;
  line-height:1.45;
  opacity:.78;
  background:rgba(255,255,255,.03);
}

@media (max-width:700px){
  .mode-description{font-size:.82rem}
}


/* V4 interface improvements */
.game-layout{display:grid;grid-template-columns:minmax(0,1fr) 270px;gap:20px;align-items:start;margin-top:4px}
.hint-sidebar{position:sticky;top:92px;max-height:calc(100vh - 112px);overflow:auto;margin:0}
.hint-sidebar .hint-head{position:sticky;top:0;background:rgba(18,25,21,.97);z-index:2;padding-bottom:8px}
.mode-select:disabled{opacity:.65;cursor:not-allowed;border-color:#334037}
.mode-lock-message{max-width:760px;margin:8px auto 0;color:var(--muted);font-size:12px;min-height:18px}
.mode-lock-message.locked{color:var(--yellow);font-weight:700}
.result-message.warning{color:var(--yellow)}
.result-message.error{color:var(--red)}
.result-message.success{color:var(--green)}
.duplicate-note{display:inline-flex;align-items:center;gap:7px;padding:6px 10px;border:1px solid rgba(229,189,88,.28);background:rgba(229,189,88,.08);border-radius:999px}
.hint-empty{padding:18px 14px;border:1px dashed #304138;border-radius:12px;color:var(--muted);font-size:13px;line-height:1.45;background:#101612}
@media(max-width:1000px){.game-layout{grid-template-columns:1fr}.hint-sidebar{position:relative;top:auto;max-height:none;order:-1}}
@media(max-width:700px){.game-layout{gap:14px}.hint-sidebar{padding:15px}.hint-sidebar .hint-head{position:relative;padding-bottom:0}}

.knowledge-item{padding:10px 11px;border:1px solid #304138;background:#101612;border-radius:11px}
.knowledge-label{display:block;color:var(--muted);font-size:10px;text-transform:uppercase;letter-spacing:.7px;margin-bottom:4px}
.knowledge-value{font-size:13px;font-weight:700;color:#dff7e7;line-height:1.35}
.knowledge-value.partial{color:#f1ce65}
.knowledge-source{font-size:10px;color:#708078;margin-top:3px}
.hint-sidebar .hint-list{gap:7px}

.solution-btn{width:100%;margin-top:10px;padding:11px 14px;border-radius:11px;border:1px solid rgba(229,189,88,.45);background:rgba(229,189,88,.10);color:#f1ce65;font-weight:800;cursor:pointer}
.solution-btn:hover{background:rgba(229,189,88,.18)}
.solution-btn.hidden{display:none}


/* V9 settings and animal pools */
.settings-card{max-width:620px}.settings-card h2{margin:8px 0}.settings-subtitle{color:var(--muted);margin:0 0 18px}.class-settings{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;max-height:52vh;overflow:auto}.class-toggle{display:flex;align-items:center;gap:10px;padding:12px;border:1px solid var(--line);border-radius:12px;background:#101612;cursor:pointer}.class-toggle:has(input:checked){border-color:#3f7656;background:#14251b}.class-toggle input{accent-color:var(--green);width:18px;height:18px}.class-toggle span{display:grid}.class-toggle strong{font-size:14px}.class-toggle small{color:var(--muted);font-size:11px}.settings-footer{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-top:18px;padding-top:14px;border-top:1px solid var(--line);color:var(--muted);font-size:12px}.settings-save{border:0;border-radius:10px;background:var(--green);color:#07100a;font-weight:800;padding:10px 16px;cursor:pointer}.settings-save:disabled{opacity:.45;cursor:not-allowed}.settings-error{color:var(--red);font-size:12px;min-height:18px;margin-top:10px}@media(max-width:600px){.class-settings{grid-template-columns:1fr}}

.wallet{display:flex;align-items:center;gap:5px;padding:7px 10px;border:1px solid #304138;border-radius:10px;background:#101612;font-size:13px;white-space:nowrap}.wallet strong{color:#dff7e7}
.hint-sidebar{font-size:12px}.hint-sidebar h2{font-size:16px;margin:2px 0}.hint-sidebar .knowledge-item{padding:7px 8px}.hint-sidebar .knowledge-source{display:none}.hint-sidebar .next-hint-message{font-size:11px;margin-top:8px}
.shop-title{margin:10px 0 6px;font-size:10px;text-transform:uppercase;letter-spacing:.7px;color:var(--muted)}.hint-shop{display:grid;gap:5px}.buy-hint{display:flex;justify-content:space-between;gap:6px;width:100%;padding:7px 8px;border:1px solid #304138;border-radius:9px;background:#151d18;color:#dfe9e2;cursor:pointer;font-size:11px}.buy-hint:hover:not(:disabled){border-color:#5a8067}.buy-hint:disabled{opacity:.45;cursor:not-allowed}.buy-hint strong{font-size:10px}.help-timeline{margin-top:14px;padding:12px;border:1px solid #304138;border-radius:10px;background:#101612}.help-timeline p{margin:7px 0 0;line-height:1.45}


/* V14 Nature Idle platform */
.nature-hero{text-align:center;max-width:850px;margin:45px auto 36px}.nature-hero h1{font-size:clamp(38px,6vw,72px);line-height:1.02;margin:10px 0 16px;letter-spacing:-2px}.nature-hero p{color:var(--muted);font-size:18px;line-height:1.6;max-width:720px;margin:auto}.world-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;max-width:1100px;margin:0 auto}.world-card{position:relative;min-height:330px;padding:26px;border:1px solid var(--line);border-radius:24px;background:linear-gradient(145deg,#141d17,#0d120f);display:flex;flex-direction:column;box-shadow:var(--shadow);overflow:hidden}.world-card.available{border-color:#376448;background:radial-gradient(circle at 85% 10%,rgba(87,203,124,.12),transparent 34%),linear-gradient(145deg,#142019,#0d120f)}.world-icon{font-size:58px;margin-bottom:24px}.world-card h2{font-size:27px;margin:5px 0 9px}.world-card p{color:var(--muted);line-height:1.55;margin:0 0 25px}.world-status{align-self:flex-start;padding:5px 8px;border-radius:999px;border:1px solid #3b463f;color:#89958d;font-size:10px;font-weight:900;letter-spacing:1px}.world-status.live{color:var(--green);border-color:#376448;background:#14261a}.world-button{margin-top:auto;width:100%;border:1px solid #35463b;background:#18231c;color:#dce7df;border-radius:12px;padding:12px;font-weight:800;cursor:pointer}.available .world-button{background:var(--green);color:#07100a;border-color:var(--green)}.world-button:disabled{cursor:not-allowed;opacity:.55}.home-panels{max-width:1100px;margin:20px auto;display:grid;grid-template-columns:1fr 1fr;gap:18px}.feature-panel{display:flex;align-items:center;gap:16px;padding:18px 20px;border:1px solid var(--line);border-radius:18px;background:#111813}.feature-panel>span{font-size:30px}.feature-panel h3{margin:0 0 4px}.feature-panel p{margin:0;color:var(--muted);font-size:13px;line-height:1.5}.mini-action{margin-left:auto;white-space:nowrap;border:1px solid #3f7656;background:#14251b;color:var(--green);padding:9px 11px;border-radius:10px;cursor:pointer}.submission-count{padding:13px 16px;border:1px solid var(--line);border-radius:14px;background:#121915}.submission-count strong{color:var(--green);font-size:22px}.submission-count small{color:var(--muted)}.contribute-layout{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(260px,.7fr);gap:22px;align-items:start}.submission-form,.review-info{border:1px solid var(--line);border-radius:20px;background:#111813;padding:22px}.submission-form{display:grid;grid-template-columns:1fr 1fr;gap:15px}.submission-form label{display:grid;gap:7px;color:#cbd6ce;font-size:12px;font-weight:700}.submission-form input,.submission-form select,.submission-form textarea{width:100%;box-sizing:border-box;border:1px solid #304138;border-radius:11px;background:#0d130f;color:#fff;padding:11px 12px;font:inherit}.submission-form textarea{resize:vertical}.submission-form .full{grid-column:1/-1}.submit-row{display:flex!important;grid-template-columns:auto 1fr!important;align-items:center;gap:14px!important}.primary.standalone{border-radius:11px;padding:11px 18px}.review-info{position:sticky;top:92px}.review-info h2{margin:0 0 10px}.review-info p{color:var(--muted);line-height:1.6}.review-flow{display:grid;gap:8px;margin:18px 0}.review-flow span{padding:9px 11px;border:1px solid #304138;border-radius:10px;background:#101612}.small-note{font-size:12px}.submission-success{color:var(--green);font-weight:700}.logo{cursor:pointer}@media(max-width:900px){.world-grid{grid-template-columns:1fr}.world-card{min-height:250px}.home-panels{grid-template-columns:1fr}.contribute-layout{grid-template-columns:1fr}.review-info{position:static}.submission-form{grid-template-columns:1fr}.submission-form .full{grid-column:auto}.submit-row{grid-template-columns:1fr!important}.feature-panel{align-items:flex-start;flex-wrap:wrap}.mini-action{margin-left:46px}}
/* V15 progress, leaderboard and map */
.dex-percent{font-size:1rem;font-weight:800;margin-top:4px;opacity:.8}.stats-grid{display:grid;grid-template-columns:repeat(6,minmax(120px,1fr));gap:14px;margin:22px 0}.stat.big{min-height:128px}.meta-grid{display:grid;grid-template-columns:1.2fr 1fr;gap:18px}.meta-card{background:var(--card,#fff);border:1px solid rgba(127,127,127,.18);border-radius:22px;padding:22px;box-shadow:0 12px 35px rgba(0,0,0,.05)}.league-teaser{padding:10px 14px;border-radius:999px;background:rgba(120,180,90,.12)}.unlock-list{display:grid;gap:10px;margin-top:16px}.unlock-item{display:grid;grid-template-columns:1fr auto;gap:12px;padding:12px 14px;border-radius:14px;background:rgba(127,127,127,.08)}.unlock-item.done{background:rgba(60,180,100,.14)}.leader-row{display:grid;grid-template-columns:35px 1fr auto;align-items:center;padding:14px;border-radius:14px;background:rgba(60,180,100,.12);margin:14px 0}.world-map{display:grid;grid-template-columns:repeat(4,1fr);gap:14px;margin:22px 0}.continent-card{min-height:145px;border:1px solid rgba(127,127,127,.18);border-radius:22px;background:var(--card,#fff);padding:18px;text-align:left;cursor:pointer}.continent-card:hover{transform:translateY(-2px)}.continent-card strong{display:block;font-size:1.1rem;margin:8px 0}.continent-card .percent{font-size:1.7rem;font-weight:900}.map-legend{display:flex;gap:18px;flex-wrap:wrap;margin-bottom:18px}.locked-option{color:#999}.size-missing{opacity:.55}@media(max-width:1000px){.stats-grid{grid-template-columns:repeat(3,1fr)}.world-map{grid-template-columns:repeat(2,1fr)}.meta-grid{grid-template-columns:1fr}}@media(max-width:620px){.stats-grid{grid-template-columns:repeat(2,1fr)}.world-map{grid-template-columns:1fr}}

/* V16 achievements + dark map/leaderboard polish */
.meta-card,.continent-card{background:linear-gradient(145deg,#141d17,#0d120f)!important;border:1px solid #2b3b31!important;color:#dfe9e2;box-shadow:0 14px 38px rgba(0,0,0,.22)!important}
.meta-card h2,.continent-card strong,.continent-card .percent{color:#e8f3eb}.leader-row{background:#14251b;border:1px solid #376448;color:#e7f5eb}.leader-row b{color:var(--green)}.small-note{color:var(--muted)}
.continent-card{transition:.18s ease}.continent-card:hover{border-color:#4f7e5f!important;background:linear-gradient(145deg,#17271d,#0f1712)!important}.continent-card .percent{color:var(--green)}.continent-card small{color:var(--muted)}
.achievement-section{margin-top:28px}.page-head.compact{margin-bottom:14px}.achievement-tree{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}.achievement-node{position:relative;display:flex;gap:14px;min-height:145px;padding:18px;border:1px solid #2c3b32;border-radius:18px;background:linear-gradient(145deg,#121a15,#0d120f)}.achievement-node.done{border-color:#47785a;background:radial-gradient(circle at 90% 10%,rgba(87,203,124,.12),transparent 40%),linear-gradient(145deg,#142019,#0d120f)}.achievement-icon{display:grid;place-items:center;flex:0 0 42px;height:42px;border-radius:13px;background:#1a251e;font-size:21px}.achievement-node.done .achievement-icon{background:#17301f}.achievement-copy{display:flex;flex-direction:column;min-width:0}.achievement-copy small{font-size:9px;letter-spacing:1px;color:#6f8076}.achievement-copy strong{margin:3px 0 5px;color:#e8f3eb}.achievement-copy span{font-size:11px;line-height:1.4;color:var(--muted)}.achievement-copy em{font-style:normal;font-size:10px;color:#8fa097;margin-top:6px}.achievement-node.done .achievement-copy em{color:var(--green)}.achievement-bar{height:5px;margin-top:auto;background:#202d25;border-radius:999px;overflow:hidden}.achievement-bar i{display:block;height:100%;background:var(--green);border-radius:999px}.map-animal-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin-top:18px}.map-animal{display:flex;gap:11px;align-items:center;padding:12px;border:1px solid #2d3c33;border-radius:13px;background:#101612}.map-animal>span{font-size:25px}.map-animal div{display:grid;min-width:0}.map-animal strong{font-size:12px;color:#e4efe7}.map-animal small{font-size:9px;color:#718078;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.map-animal em{font-size:9px;font-style:normal;color:#89a092;margin-top:3px}.map-animal.discovered{border-color:#345b42;background:#122019}.map-animal.unknown{opacity:.68}@media(max-width:900px){.achievement-tree,.map-animal-grid{grid-template-columns:repeat(2,1fr)}}@media(max-width:620px){.achievement-tree,.map-animal-grid{grid-template-columns:1fr}}
.dex-tabs{display:flex;gap:8px;padding:7px;background:#0e1511;border:1px solid var(--line);border-radius:16px;margin:-8px 0 26px;overflow-x:auto}.dex-tab{border:0;background:transparent;color:var(--muted);padding:11px 16px;border-radius:11px;font-weight:800;white-space:nowrap;cursor:pointer}.dex-tab:hover{color:#e7f5eb;background:#152019}.dex-tab.active{background:#1b3324;color:var(--green);box-shadow:inset 0 0 0 1px #315a3e}.dex-panel{display:none}.dex-panel.active{display:block}.sub-head{display:flex;justify-content:space-between;align-items:end;margin-bottom:22px}.sub-head h2{margin:4px 0 6px;font-size:26px}.sub-head p{margin:0;color:var(--muted)}.big-progress{height:14px;border-radius:999px;background:#0b100d;border:1px solid #26342b;overflow:hidden;margin:18px 0 12px}.big-progress i{display:block;height:100%;width:0;background:linear-gradient(90deg,#4c9d68,var(--green));border-radius:inherit;transition:width .35s ease}.stat.future{opacity:.55}.dex-progress-grid{grid-template-columns:repeat(3,1fr)}@media(max-width:800px){.dex-tabs{margin-top:0}.dex-progress-grid{grid-template-columns:repeat(2,1fr)}}

.dev-solution-btn{width:100%;margin-top:8px;padding:10px 14px;border-radius:11px;border:1px dashed #4d6a58;background:#101612;color:#9eaea4;font-weight:700;cursor:pointer}.dev-solution-btn:hover{border-color:var(--green);color:var(--green)}.solution-reveal{margin-top:10px;padding:13px 14px;border:1px solid #3f7656;border-radius:12px;background:#132219;display:grid;gap:3px}.solution-reveal span{font-size:11px;color:#9fb1a5}.solution-reveal strong{font-size:15px;color:#e9f7ed}.solution-reveal em{font-size:11px;color:var(--muted)}

/* V16.3 victory + living achievement tree */
.result-message.success:has(.victory-card){max-width:760px;margin:20px auto 30px;color:inherit}.victory-card{position:relative;overflow:hidden;text-align:center;padding:26px 24px 24px;border:1px solid #4b9a65;border-radius:22px;background:radial-gradient(circle at 50% 0,rgba(91,211,128,.2),transparent 42%),linear-gradient(145deg,#16261c,#0e1511);box-shadow:0 18px 60px rgba(0,0,0,.3),0 0 0 1px rgba(91,211,128,.08) inset}.victory-burst{font-size:38px;margin-bottom:5px}.victory-card h2{margin:7px 0 14px;color:#f3fff6;font-size:24px}.victory-animal{font-size:22px;color:#fff;margin:5px 0}.victory-animal strong{font-size:25px}.victory-meta{display:flex;justify-content:center;gap:10px;flex-wrap:wrap;margin-top:17px}.victory-meta span{padding:8px 12px;border:1px solid #345b42;border-radius:999px;background:#101a13;color:#bce8c8;font-size:12px}
.achievement-tree{display:block;position:relative;max-width:1100px;margin:28px auto 0;padding:0 10px 28px}.tree-crown{position:relative;z-index:3;width:max-content;max-width:90%;margin:0 auto 18px;text-align:center;padding:15px 24px;border:1px solid #3d694c;border-radius:24px;background:radial-gradient(circle at 50% 0,rgba(87,203,124,.18),transparent 65%),#122019}.tree-crown>span{display:block;font-size:34px}.tree-crown strong{display:block;color:#effbf2;font-size:17px}.tree-crown small{display:block;color:#8fa097;margin-top:3px}.tree-trunk{width:12px;height:58px;margin:0 auto;background:linear-gradient(90deg,#3a2a1d,#6d4a2d,#3a2a1d);border-radius:9px}.achievement-branches{display:grid;grid-template-columns:repeat(3,1fr);gap:28px;position:relative}.achievement-branches:before{content:"";position:absolute;top:0;left:16%;right:16%;height:5px;border-radius:9px;background:#65472e}.achievement-branch{position:relative;padding-top:34px}.branch-stem{position:absolute;top:0;left:50%;width:5px;height:100%;transform:translateX(-50%);background:linear-gradient(#65472e,#3e3023);border-radius:5px;opacity:.9}.branch-title{position:relative;z-index:2;width:max-content;margin:0 auto 18px;padding:8px 12px;border:1px solid #345b42;border-radius:999px;background:#142019;color:#aee0bc;font-size:10px;font-weight:900;letter-spacing:1.5px}.branch-title span{margin-right:6px}.tree-node{position:relative;z-index:2;display:flex;gap:10px;align-items:flex-start;width:92%;min-height:118px;margin:0 auto 22px;padding:14px;border:1px solid #2c3b32;border-radius:17px;background:linear-gradient(145deg,#121a15,#0d120f);box-shadow:0 8px 25px rgba(0,0,0,.18)}.tree-node:nth-of-type(even){transform:translateX(-7px)}.tree-node:nth-of-type(odd){transform:translateX(7px)}.tree-node.done{border-color:#47785a;background:radial-gradient(circle at 90% 10%,rgba(87,203,124,.14),transparent 42%),linear-gradient(145deg,#142019,#0d120f)}.tree-node.done:after{content:"🍃";position:absolute;right:-9px;top:-11px;font-size:18px;filter:drop-shadow(0 2px 5px #000)}.twig{position:absolute;top:30px;left:50%;width:42px;height:4px;background:#59402b;z-index:-1}.tree-node:nth-of-type(even) .twig{transform:translateX(-100%) rotate(10deg);transform-origin:right}.tree-node:nth-of-type(odd) .twig{transform:rotate(-10deg);transform-origin:left}.tree-node .achievement-copy strong{font-size:12px}.tree-node .achievement-copy span{font-size:10px}.tree-node .achievement-icon{flex-basis:38px;height:38px;font-size:18px}.tree-node.done .achievement-icon{background:#17301f}
@media(max-width:850px){.achievement-branches{grid-template-columns:1fr;gap:8px}.achievement-branches:before{display:none}.achievement-branch{padding-top:18px}.branch-stem{left:22px}.tree-node{width:calc(100% - 45px);margin-left:45px;transform:none!important}.twig,.tree-node:nth-of-type(even) .twig,.tree-node:nth-of-type(odd) .twig{left:-25px;width:28px;transform:none}.tree-trunk{height:30px}.victory-card h2{font-size:20px}}
/* V17 growing bottom-up achievement tree */
.tree-stage-badge{padding:12px 16px;border:1px solid #365842;border-radius:16px;background:#111a14;text-align:right}.tree-stage-badge small{display:block;color:#718078;font-size:9px;letter-spacing:1.5px}.tree-stage-badge strong{display:block;color:#c8efd3;margin-top:4px}.tree-devbar{display:flex;align-items:center;gap:10px;flex-wrap:wrap;max-width:1100px;margin:0 auto 16px;padding:10px 12px;border:1px dashed #415647;border-radius:14px;background:#0e1511}.tree-devbar span{margin-right:auto;color:#8fa097;font-size:11px}.secondary,.ghost-btn{border:1px solid #365842;border-radius:10px;padding:9px 12px;background:#17231b;color:#dff5e5;font-weight:750;cursor:pointer}.ghost-btn{background:transparent;color:#8fa097}.achievement-preview{margin-top:18px}.growing-tree{max-width:1180px;min-height:720px;margin:20px auto 0;padding:18px 18px 0;display:flex!important;flex-direction:column}.tree-canopy-label{order:0;align-self:center;text-align:center;padding:12px 20px;border:1px solid #3e6b4d;border-radius:22px;background:radial-gradient(circle at 50% 20%,rgba(85,202,122,.18),transparent 70%),#112018;z-index:5}.tree-canopy-label>span{font-size:30px;display:block}.tree-canopy-label strong{display:block;color:#e9faee}.tree-canopy-label small{color:#8fa097}.tree-growth-area{position:relative;display:flex;flex-direction:column;flex:1;justify-content:flex-end;padding-top:22px}.tree-crown-branches{display:grid;grid-template-columns:repeat(3,1fr);gap:26px;align-items:end;position:relative;z-index:3}.growth-branch{position:relative;display:flex;flex-direction:column-reverse;gap:16px;padding:18px 12px 42px}.growth-branch:after{content:"";position:absolute;left:50%;bottom:0;width:7px;height:calc(100% - 28px);transform:translateX(-50%);border-radius:8px;background:linear-gradient(#765136,#513722)}.growth-branch.discover:after{transform:translateX(-50%) rotate(-8deg);transform-origin:bottom}.growth-branch.world:after{transform:translateX(-50%) rotate(8deg);transform-origin:bottom}.growth-branch-title{position:relative;z-index:3;align-self:center;padding:6px 10px;border:1px solid #365842;border-radius:999px;background:#132019;color:#a8d9b5;font-size:10px;font-weight:900;letter-spacing:1px}.growth-node{position:relative;z-index:4;display:flex;gap:10px;width:92%;min-height:112px;padding:13px;border:1px solid #31513c;border-radius:17px;background:linear-gradient(145deg,#142019,#0d130f);box-shadow:0 10px 25px rgba(0,0,0,.2)}.growth-node:nth-child(even){align-self:flex-start}.growth-node:nth-child(odd){align-self:flex-end}.growth-node:after{content:"";position:absolute;bottom:-11px;left:50%;width:35px;height:4px;background:#65452d;z-index:-1}.growth-node.done{border-color:#4b7a59}.growth-node.done .leaf{filter:drop-shadow(0 0 7px rgba(98,220,130,.35))}.growth-node.next{border-style:dashed;opacity:.9}.growth-node .leaf{font-size:22px}.growth-node>div{display:flex;flex-direction:column;flex:1}.growth-node small{font-size:8px;letter-spacing:1.2px;color:#70b783;font-weight:900}.growth-node strong{font-size:12px;color:#e7f4ea;margin:3px 0}.growth-node p{font-size:10px;line-height:1.35;color:#89998f;margin:0 0 8px}.growth-node em{font-size:9px;color:#7fa68a;font-style:normal;margin-top:5px}.living-trunk{position:relative;z-index:2;width:58px;height:145px;margin:-8px auto 0;background:linear-gradient(90deg,#3b291d,#735037 45%,#4b3222);clip-path:polygon(36% 0,66% 0,76% 100%,20% 100%);border-radius:20px}.living-trunk i{position:absolute;width:3px;height:100%;background:rgba(34,22,15,.35);transform:rotate(3deg)}.living-trunk i:nth-child(1){left:22px}.living-trunk i:nth-child(2){left:35px;transform:rotate(-4deg)}.living-trunk i:nth-child(3){left:44px}.tree-roots{position:relative;height:75px;margin-top:-7px;text-align:center}.tree-roots span{position:absolute;top:0;left:50%;width:170px;height:9px;border-radius:50%;background:#563923;transform-origin:left}.tree-roots span:nth-child(1){transform:rotate(12deg)}.tree-roots span:nth-child(2){transform:rotate(168deg)}.tree-roots span:nth-child(3){width:120px;transform:rotate(90deg)}.tree-roots strong{position:relative;top:38px;color:#a9b8ae;font-size:11px;background:#0b0f0d;padding:5px 10px;border-radius:999px}.growth-branch.dormant{opacity:.28}
@media(max-width:850px){.tree-crown-branches{grid-template-columns:1fr;gap:4px}.growth-branch{padding-bottom:20px}.growth-branch:after,.growth-branch.discover:after,.growth-branch.world:after{transform:translateX(-50%);}.living-trunk{height:90px}.growing-tree{padding-inline:0}.tree-devbar{align-items:stretch}.tree-devbar span{width:100%}}
/* V17.2: individueller, staerker verzweigter Erfolgsbaum */
.growth-branch{min-height:190px;justify-content:flex-start;transform-origin:bottom center}
.growth-branch.alive{opacity:1}
.growth-branch:after{height:calc(70px + (var(--growth) * 58px));max-height:100%;bottom:0}
.growth-branch.discover{transform:rotate(-3deg)}
.growth-branch.world{transform:rotate(3deg)}
.growth-branch.play{transform:scaleY(calc(.92 + (var(--growth) * .012)))}
.growth-branch .growth-node{transform:rotate(0deg)}
.growth-branch.discover .growth-node:nth-of-type(even){transform:translateX(-8%) rotate(-2deg)}
.growth-branch.discover .growth-node:nth-of-type(odd){transform:translateX(5%) rotate(1deg)}
.growth-branch.world .growth-node:nth-of-type(even){transform:translateX(8%) rotate(2deg)}
.growth-branch.world .growth-node:nth-of-type(odd){transform:translateX(-5%) rotate(-1deg)}
.growth-branch.play .growth-node:nth-of-type(even){transform:translateX(-4%)}
.growth-branch.play .growth-node:nth-of-type(odd){transform:translateX(4%)}
.growth-branch-title small{margin-left:5px;color:#718078}
@media(max-width:850px){.growth-branch.discover,.growth-branch.world,.growth-branch.play{transform:none}.growth-branch{min-height:auto}.growth-branch:after{height:calc(100% - 28px)}}

/* V17.3 – Nature Points rewards */
.achievement-reward{display:inline-flex;margin:.15rem 0 .55rem;padding:.22rem .5rem;border-radius:999px;background:rgba(121,190,96,.12);font-size:.78rem;font-weight:800;color:var(--accent,#9bd77c)}
.achievement-reward-toast{position:fixed;right:22px;bottom:22px;z-index:9999;display:flex;gap:12px;align-items:center;max-width:min(430px,calc(100vw - 32px));padding:15px 18px;border:1px solid rgba(151,220,121,.28);border-radius:16px;background:rgba(17,27,22,.96);box-shadow:0 18px 55px rgba(0,0,0,.35);transform:translateY(24px);opacity:0;pointer-events:none;transition:.25s ease}
.achievement-reward-toast.show{transform:translateY(0);opacity:1}.achievement-reward-toast>span{font-size:2rem}.achievement-reward-toast div{display:grid;gap:2px}.achievement-reward-toast small{font-size:.68rem;letter-spacing:.12em;opacity:.7}.achievement-reward-toast strong{font-size:.95rem}.achievement-reward-toast em{font-style:normal;font-weight:900;color:var(--accent,#9bd77c)}
@media(max-width:650px){.achievement-reward-toast{left:16px;right:16px;bottom:16px}}

/* NatureDex species detail page */
#animalModal .modal-card.wide{width:min(980px,94vw);max-height:92vh;overflow:auto;padding:0}
#animalModal .modal-close{position:sticky;top:14px;float:right;margin:14px 14px -48px 0;z-index:8}
.species-page{padding:28px}
.species-hero{display:grid;grid-template-columns:120px 1fr auto;gap:22px;align-items:center;padding:14px 8px 28px;border-bottom:1px solid var(--line)}
.species-art{width:112px;height:112px;border-radius:28px;display:grid;place-items:center;font-size:58px;background:linear-gradient(145deg,rgba(115,255,168,.13),rgba(115,255,168,.03));border:1px solid rgba(115,255,168,.2)}
.species-title h2{font-size:clamp(28px,5vw,46px);margin:4px 0}.species-title .scientific{font-size:16px}
.species-number{text-align:right}.species-number small{display:block;opacity:.55;font-size:10px;letter-spacing:.16em}.species-number strong{font-size:25px}
.dex-status-row{display:flex;gap:8px;flex-wrap:wrap;margin-top:14px}.dex-status{padding:7px 10px;border-radius:999px;font-size:12px;background:rgba(255,255,255,.06);border:1px solid var(--line)}.dex-status.discovered,.dex-status.wild{background:rgba(115,255,168,.1)}
.species-section{padding:24px 4px;border-bottom:1px solid var(--line)}.species-section:last-child{border-bottom:0}
.species-section-head{display:flex;gap:12px;align-items:center;margin-bottom:15px}.species-section-head>span{font-size:26px}.species-section-head small{font-size:10px;letter-spacing:.16em;opacity:.55}.species-section-head h3{margin:2px 0 0;font-size:20px}
.species-fact-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.species-fact-grid.compact{grid-template-columns:repeat(4,minmax(0,1fr))}
.species-fact{padding:15px;border:1px solid var(--line);border-radius:16px;background:rgba(255,255,255,.025)}.species-fact>span{display:block;font-size:21px;margin-bottom:8px}.species-fact small{display:block;opacity:.55;margin-bottom:4px}.species-fact strong{font-size:14px;line-height:1.45}
.taxonomy-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:0}.taxonomy-grid>div{padding:14px;border:1px solid var(--line);border-radius:14px}.taxonomy-grid dt{font-size:11px;opacity:.55;margin-bottom:5px}.taxonomy-grid dd{margin:0;font-weight:700}
.sighting-section p,.sources-section p{opacity:.7;line-height:1.6}.sighting-section .life-checks{margin-top:14px}
@media(max-width:720px){.species-page{padding:18px}.species-hero{grid-template-columns:74px 1fr}.species-art{width:70px;height:70px;font-size:38px;border-radius:20px}.species-number{grid-column:1/-1;text-align:left}.species-fact-grid,.species-fact-grid.compact,.taxonomy-grid{grid-template-columns:1fr 1fr}}
@media(max-width:480px){.species-fact-grid,.species-fact-grid.compact,.taxonomy-grid{grid-template-columns:1fr}}

.wallet-group{display:flex;gap:7px}.play-type-switch{display:flex;justify-content:center;gap:8px;margin:18px 0 10px}.play-type-btn{border-radius:999px;padding:10px 16px}.play-type-btn.active{border-color:var(--green);background:rgba(115,255,168,.1)}.expedition-box{max-width:760px;margin:0 auto 16px;padding:14px;border:1px solid var(--line);border-radius:16px;background:#121915}.expedition-box.hidden{display:none}.expedition-box span{display:block;color:var(--muted);margin:5px 0 10px}.expedition-box>div{display:flex;gap:8px;flex-wrap:wrap}

/* Nature Map: discovered species are visible directly on each continent */
.continent-card-rich{text-align:left;display:block;min-height:155px}
.continent-card-head{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:9px;margin-bottom:6px}
.continent-globe{font-size:24px}.continent-card-rich .percent{font-weight:900;color:var(--green)}
.continent-animals{display:flex;flex-wrap:wrap;gap:6px;margin-top:12px}
.map-species-chip{display:inline-flex;align-items:center;gap:4px;padding:6px 8px;border:1px solid #355342;border-radius:999px;background:#16231b;color:#e5f4ea;font-size:11px;font-weight:700}
.map-more{padding:6px 8px;border-radius:999px;background:#243128;color:var(--green);font-size:11px;font-weight:800}
.continent-empty{margin-top:12px;padding:9px;border:1px dashed #304138;border-radius:10px;color:var(--muted);font-size:11px}

/* Nature Map V19.4 */
.nature-world{position:relative;min-height:570px;border:1px solid var(--line);border-radius:24px;overflow:hidden;background:radial-gradient(circle at 48% 42%,#173329 0,#0c211b 48%,#081713 100%)}
.nature-world:before{content:"";position:absolute;inset:0;background-image:radial-gradient(circle,#345546 1px,transparent 1px);background-size:24px 24px;opacity:.18;pointer-events:none}
.map-land{position:absolute;text-align:left;border:1px solid #476957;background:#172b21;border-radius:42% 58% 48% 52% / 55% 42% 58% 45%;padding:14px;min-height:115px;color:#eef8f1;overflow:visible}
.map-land:hover{transform:translateY(-2px);border-color:#72b68d}.map-land-title{font-size:13px;font-weight:900;display:block}.map-land>small{color:var(--green);font-weight:800}
.north-america{left:5%;top:12%;width:24%;height:28%}.south-america{left:22%;top:47%;width:17%;height:35%}.europe{left:43%;top:14%;width:14%;height:16%}.africa{left:43%;top:35%;width:19%;height:31%}.asia{left:58%;top:10%;width:34%;height:34%}.oceania{left:74%;top:54%;width:20%;height:22%}.antarctica{left:20%;bottom:3%;width:62%;height:10%;border-radius:50%}
.map-marker-cloud{display:flex;flex-wrap:wrap;gap:4px;margin-top:8px}.animal-map-marker{display:inline-flex;align-items:center;gap:3px;padding:4px 6px;border-radius:999px;background:#0d1c16;border:1px solid #426653;font-size:14px}.animal-map-marker b{font-size:9px;max-width:70px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.map-no-species{display:block;margin-top:8px;font-size:9px;color:#81968a}
@media(max-width:760px){.nature-world{min-height:720px}.map-land{position:relative!important;left:auto!important;top:auto!important;bottom:auto!important;width:auto!important;height:auto!important;min-height:80px;margin:8px;border-radius:18px}.nature-world{padding:6px}.animal-map-marker b{max-width:none}}

.suggestion.keyboard-active{outline:2px solid currentColor;outline-offset:-2px;filter:brightness(1.18)}
/* V20 sightings + photo journal */
.animal-card.wild-discovered{border-color:#c7a94b;box-shadow:0 0 0 1px rgba(224,190,79,.18),0 10px 30px rgba(0,0,0,.16)}
.animal-card.wild-discovered .animal-info h3{color:#e7c85f}.photo-badge{display:inline-block;margin:8px 0 0 7px;font-size:11px;color:#d8e7dc}
.wild-life-row{border-color:#8f7939}.wild-life-row strong{color:#e7c85f}.life-row{grid-template-columns:1fr auto}
.sighting-form{display:grid;gap:14px;margin-top:18px}.sighting-form>label{display:grid;gap:7px;color:#b8c7bd;font-size:13px}.sighting-form input[type=text],.sighting-form input[type=date],.sighting-form input[name=country],.sighting-form textarea{width:100%;box-sizing:border-box;background:#0d1410;border:1px solid #304137;border-radius:10px;color:#fff;padding:11px 12px}.sighting-form textarea{min-height:90px;resize:vertical}.sighting-type{display:flex;gap:10px;flex-wrap:wrap}.sighting-type label{background:#17221b;border:1px solid #304137;border-radius:10px;padding:10px 12px}.photo-upload{border:1px dashed #496052;border-radius:12px;padding:14px}.photo-upload input{margin-top:7px}.sighting-photo{display:flex;align-items:center;gap:12px}.sighting-photo img{width:120px;height:90px;object-fit:cover;border-radius:12px;border:1px solid #415448}.sighting-photo span{color:#e7c85f;font-weight:700}.sighting-actions{display:flex;gap:10px;flex-wrap:wrap}.privacy-note{color:#8ea095}.dex-status.wild{border-color:#8f7939;color:#e7c85f}
@media(max-width:650px){.sighting-type{display:grid}.sighting-actions{display:grid}.sighting-actions button{width:100%}}

/* V20.2 structured game help */
#helpModal .modal-card{max-width:820px;max-height:90vh;overflow:auto;padding:30px}
.help-guide h2{margin:4px 0 8px;font-size:30px}.help-kicker{color:var(--green);font-size:11px;font-weight:800;letter-spacing:1.5px}.help-intro{color:#c4cec7;line-height:1.6;margin:0 0 24px}.help-section{border-top:1px solid var(--line);padding-top:20px;margin-top:20px}.help-section h3{margin:0 0 13px;font-size:18px}.help-section>p,.help-card p{color:#b5c0b9;line-height:1.55;margin:7px 0 0}.help-grid.two{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.help-card{background:#151f19;border:1px solid #28372e;border-radius:14px;padding:15px}.help-card strong{font-size:15px}.help-modes{display:grid;gap:9px}.help-modes>div{display:grid;grid-template-columns:120px 1fr;gap:14px;background:#151f19;border:1px solid #28372e;border-radius:12px;padding:13px 14px}.help-modes b{color:#e5f4e9}.help-modes span{color:#b5c0b9;line-height:1.5;font-size:13px}.help-note{margin-top:22px;background:#242318;border:1px solid #4b4728;color:#d8d19a;border-radius:12px;padding:12px 14px;font-size:12px;line-height:1.5}@media(max-width:650px){#helpModal .modal-card{padding:24px 18px}.help-grid.two{grid-template-columns:1fr}.help-modes>div{grid-template-columns:1fr;gap:5px}.help-guide h2{font-size:25px}}

/* V20.3 NatureDex encyclopedia status system */
.dex-filters{display:grid;grid-template-columns:minmax(230px,1.6fr) repeat(3,minmax(150px,.7fr));gap:10px;align-items:center}.dex-filters input,.dex-filters select{width:100%;box-sizing:border-box}.dex-icon-legend{display:flex;gap:9px;flex-wrap:wrap;margin:-8px 0 18px;color:#8fa097;font-size:10px}.dex-icon-legend span{padding:6px 9px;border:1px solid #293a30;border-radius:999px;background:#101612}.dex-icon-legend .gold-key{border-color:#75642f;color:#e2c766}.animal-card{position:relative;overflow:hidden;transition:border-color .2s ease,box-shadow .2s ease,transform .2s ease}.animal-card.dex-unlocked:not(.wild-discovered){border-color:#3d7651;background:radial-gradient(circle at 85% 10%,rgba(87,203,124,.10),transparent 38%),#111813}.animal-card.dex-unlocked:not(.wild-discovered) .animal-info h3{color:#bce9c8}.animal-card.wild-discovered{border:2px solid #d4b64f!important;box-shadow:0 0 0 2px rgba(212,182,79,.10),0 0 22px rgba(212,182,79,.16),0 10px 30px rgba(0,0,0,.2)!important}.animal-card.wild-discovered:before{content:"★";position:absolute;right:10px;top:9px;z-index:3;font-size:16px;filter:drop-shadow(0 2px 4px #000)}.dex-card-status{position:absolute;right:10px;bottom:10px;display:flex;gap:5px;z-index:4}.dex-card-status span{display:grid;place-items:center;width:28px;height:28px;border:1px solid #425349;border-radius:9px;background:rgba(10,15,12,.92);font-size:15px;box-shadow:0 3px 10px rgba(0,0,0,.25)}.wild-discovered .dex-card-status span{border-color:#78682f}.mini-progress{height:4px;margin-top:6px;background:#202d25;border-radius:999px;overflow:hidden}.mini-progress i{display:block;height:100%;background:var(--green);border-radius:inherit}.dex-progress-grid{grid-template-columns:repeat(3,1fr)}
@media(max-width:950px){.dex-filters{grid-template-columns:1fr 1fr}.dex-filters input{grid-column:1/-1}}@media(max-width:620px){.dex-filters{grid-template-columns:1fr}.dex-filters input{grid-column:auto}.dex-progress-grid{grid-template-columns:1fr 1fr}.dex-card-status{right:8px;bottom:8px}.dex-card-status span{width:25px;height:25px;font-size:13px}}


/* V20.4 clearer discovery states + custom zookeeper icon */
.animal-card.dex-locked{background:#171a18!important;border-color:#343a36!important;filter:saturate(.28);opacity:.66}.animal-card.dex-locked .animal-art{filter:grayscale(.82);opacity:.62}.animal-card.dex-locked .animal-info h3{color:#8b938e!important}.animal-card.dex-locked .scientific{color:#666e69!important}.animal-card.dex-unlocked:not(.wild-discovered){background:radial-gradient(circle at 82% 12%,rgba(91,230,139,.18),transparent 42%),linear-gradient(145deg,#14291b,#101a14)!important;border:2px solid #4f9c68!important;box-shadow:0 0 0 1px rgba(83,191,119,.08),0 8px 24px rgba(0,0,0,.16)}.animal-card.dex-unlocked:not(.wild-discovered) .animal-info h3{color:#d5f7df!important}.zookeeper-icon{width:20px;height:20px;display:block;color:#e4a85b}.dex-card-status .zoo-status-icon{border-color:#805f35;background:rgba(37,26,13,.94)}.dex-status.zoo{display:inline-flex;align-items:center;gap:6px}.dex-status.zoo .zookeeper-icon{width:18px;height:18px}.sighting-type label{display:flex;align-items:center;gap:8px}.sighting-type .zookeeper-icon{width:22px;height:22px}.legend-zookeeper{display:inline-block;width:17px;height:17px;vertical-align:-4px;background:currentColor;mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3E%3Ccircle cx='12' cy='8' r='4'/%3E%3Cpath d='M5 26c.5-7 2.7-11 7-11s6.5 4 7 11h-3c-.3-4.5-1.5-7-4-7s-3.7 2.5-4 7H5zm18-21h2v21h-2zM20 7h8v2h-8zM21 4h2v6h-2zm3-1h2v7h-2zm3 1h2v6h-2z'/%3E%3C/svg%3E") center/contain no-repeat;color:#e4a85b}.dex-icon-legend>span{display:inline-flex;align-items:center;gap:5px}

/* V20.5: Kontinent-Gruppierung im Artenlexikon */
#anidexGrid:has(.dex-continent-group){display:block}
.dex-continent-group{margin:0 0 34px}
.dex-continent-head{display:flex;align-items:end;justify-content:space-between;gap:18px;margin:0 0 14px;padding:0 2px 12px;border-bottom:1px solid #2a3b31}
.dex-continent-head h2{margin:3px 0 0;font-size:24px}
.dex-continent-head strong{color:#a9dcb8;font-size:13px;background:#142219;border:1px solid #34533f;padding:7px 10px;border-radius:999px;white-space:nowrap}
.dex-continent-kicker{font-size:10px;letter-spacing:1.2px;color:#73887a;font-weight:800}
.dex-continent-grid{margin:0}
@media(max-width:650px){.dex-continent-head{align-items:flex-start;flex-direction:column;gap:8px}.dex-continent-head h2{font-size:21px}}

/* V21 Expedition adventure mode */
.expedition-box{padding:20px;background:linear-gradient(145deg,#111b15,#15251b);border-color:#315640;box-shadow:0 16px 40px rgba(0,0,0,.18)}
.expedition-head{display:flex;gap:15px;align-items:flex-start;text-align:left}.expedition-head h3{margin:2px 0 5px;font-size:21px}.expedition-head p{margin:0;color:var(--muted);line-height:1.5}.expedition-compass{width:54px;height:54px;display:grid;place-items:center;border-radius:16px;background:rgba(115,255,168,.09);border:1px solid #355c44;font-size:30px;flex:0 0 auto}
.expedition-start-area{margin-top:18px;padding:16px;border-radius:16px;background:rgba(0,0,0,.16);border:1px solid var(--line)}.expedition-start-area>label{display:block;font-weight:800;margin-bottom:9px}.expedition-destinations select{width:100%;padding:12px 14px;border-radius:12px;background:#0f1712;color:var(--text);border:1px solid #385442;font-weight:700}.expedition-pay{display:flex;gap:9px;flex-wrap:wrap;margin-top:12px}.expedition-start-area>small{display:block;color:var(--muted);margin-top:10px;line-height:1.45}
.expedition-active{margin-top:17px;padding:15px;border-radius:15px;border:1px solid #4e795c;background:rgba(115,255,168,.07);display:grid;gap:4px;text-align:left}.expedition-active>span{margin:0!important;font-size:10px;letter-spacing:.14em;color:var(--green)!important;font-weight:900}.expedition-active strong{font-size:18px}.expedition-active small{color:var(--muted)}
.expedition-launch{display:grid;justify-items:center;gap:5px;padding:8px}.expedition-launch>div{font-size:34px}.expedition-launch strong{font-size:20px}.expedition-launch span{font-weight:800;color:var(--green)}.expedition-launch small{opacity:.7}.expedition-abandon{margin-top:12px}.dev-expedition-ticket{margin-top:12px;opacity:.65;font-size:11px}
@media(max-width:600px){.expedition-head{align-items:center}.expedition-head p{font-size:13px}.expedition-pay{display:grid}.expedition-pay button{width:100%}}

/* V21.1 Daily statistics by difficulty */
.difficulty-stats-card{margin-top:18px}.difficulty-stats{display:grid;gap:8px;margin-top:16px}.difficulty-stat-row{display:grid;grid-template-columns:minmax(125px,1.35fr) repeat(5,minmax(72px,.7fr));gap:8px;align-items:center;padding:12px 14px;border:1px solid #2b3d32;border-radius:13px;background:#111914}.difficulty-stat-name{display:flex!important;flex-direction:row!important;align-items:center;gap:9px}.difficulty-stat-name>span{font-size:20px}.difficulty-stat-row>div{display:grid;gap:2px}.difficulty-stat-row b{font-size:15px;color:#e7f4ea}.difficulty-stat-row small{font-size:9px;text-transform:uppercase;letter-spacing:.07em;color:#7f9386}.difficulty-stat-name strong{font-size:14px}
@media(max-width:760px){.difficulty-stat-row{grid-template-columns:1.2fr repeat(2,1fr)}.difficulty-stat-name{grid-row:span 2}.difficulty-stat-row>div:nth-child(n+4){margin-top:4px}}

/* V21.5 ticket progression */
.ticket-guide{margin:14px 0;padding:14px 16px;border:1px solid var(--line,#d9e4dc);border-radius:16px;background:rgba(255,255,255,.55)}
.ticket-guide>strong{display:block;margin-bottom:9px}.ticket-guide-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.ticket-guide-grid span{padding:9px 10px;border-radius:11px;background:rgba(64,122,83,.08);font-size:.9rem}.ticket-guide-grid b{float:right}.ticket-guide small{display:block;margin-top:10px;font-weight:700}.ticket-guide p{margin:7px 0 0;font-size:.82rem;opacity:.7}@media(max-width:760px){.ticket-guide-grid{grid-template-columns:1fr}}

/* V21.7 privacy + expedition visual polish */
.sighting-form select[name=country]{width:100%;box-sizing:border-box;background:#0d1410!important;border:1px solid #304137!important;border-radius:10px;color:#fff!important;padding:11px 12px;font:inherit;appearance:auto}.sighting-form select[name=country] option{background:#101612;color:#fff}.field-visibility{font-size:10px;color:#8fa097;font-weight:500}.field-visibility.private{color:#7fdba1}.privacy-note{padding:10px 12px;border:1px solid #294534;border-radius:10px;background:#101a14;color:#9fb4a6}
.expedition-box,.expedition-start-area,.expedition-active,.ticket-guide{color:var(--text)}.expedition-destinations select{background:#0d1711!important;color:#e9f5ed!important;border:1px solid #3c6b4d!important;box-shadow:inset 0 0 0 1px rgba(115,255,168,.03)}.expedition-destinations select option{background:#101813!important;color:#e9f5ed!important}.expedition-pay button:not(.primary),.expedition-abandon,.dev-expedition-ticket{background:#16231b!important;color:#cce8d5!important;border:1px solid #3a6048!important;border-radius:10px;padding:10px 14px;cursor:pointer}.expedition-pay .primary{border-radius:10px;padding:10px 14px}.expedition-pay button:hover,.expedition-abandon:hover,.dev-expedition-ticket:hover{border-color:var(--green)!important}.ticket-guide{background:#0f1813;border:1px solid #294534;border-radius:14px;padding:14px;margin-top:16px}
/* V22 progression + photo safety */
.level-panel{display:flex;align-items:center;gap:18px;padding:20px;margin:18px 0 22px;border:1px solid rgba(132,204,22,.28);border-radius:22px;background:linear-gradient(135deg,rgba(20,83,45,.82),rgba(10,45,30,.92));box-shadow:0 18px 45px rgba(0,0,0,.18)}
.level-orb{width:72px;height:72px;display:grid;place-items:center;flex:0 0 auto;border-radius:50%;font-size:1.65rem;font-weight:900;background:radial-gradient(circle at 35% 30%,#bef264,#65a30d 62%,#365314);color:#10220f;border:3px solid rgba(236,252,203,.65);box-shadow:0 0 28px rgba(132,204,22,.24)}
.level-copy{flex:1}.level-copy small{letter-spacing:.14em;opacity:.72}.level-copy h2{margin:3px 0 10px}.level-copy span{font-size:.86rem;opacity:.78}.level-progress{height:10px;border-radius:999px;background:rgba(0,0,0,.3);overflow:hidden;margin-bottom:7px}.level-progress i{display:block;height:100%;border-radius:inherit;background:linear-gradient(90deg,#84cc16,#d9f99d)}
.photo-coming-soon{display:flex;flex-direction:column;gap:5px;padding:14px 16px;border:1px dashed rgba(148,163,184,.42);border-radius:14px;background:rgba(15,23,42,.34);opacity:.9}.photo-coming-soon strong{color:#d9f99d}.photo-coming-soon span{font-size:.86rem;line-height:1.45;opacity:.75}
.growth-branch.legends{border-color:rgba(250,204,21,.28)}.growth-branch.legends .growth-branch-title{color:#fde68a}
.stat.big em{display:block;font-size:.72rem;font-style:normal;opacity:.68;margin-top:3px}
@media(max-width:650px){.level-panel{align-items:flex-start}.level-orb{width:58px;height:58px;font-size:1.3rem}}

/* V22.1: clearer growing achievement tree + separate Nature Legends hall */
.growing-tree{min-height:0!important;display:block!important;max-width:1180px;margin:18px auto;padding:0!important}.tree-summary{display:grid;grid-template-columns:170px 1fr;gap:24px;align-items:center;padding:20px;border:1px solid #31513c;border-radius:22px;background:linear-gradient(145deg,#101a14,#0c120e);margin-bottom:18px}.tree-summary small{color:#79b98b;letter-spacing:1.4px;font-weight:900}.tree-summary h2{margin:4px 0;color:#d9f5e1}.tree-summary p{color:#8fa097;margin:0}.tree-visual{height:145px;position:relative;display:grid;place-items:start center}.tree-crown{width:105px;height:82px;border-radius:52% 48% 45% 55%;display:grid;place-items:center;font-size:42px;background:radial-gradient(circle,#285c36,#15341f);box-shadow:0 0 28px rgba(76,190,108,.2);z-index:2}.tree-trunk{position:absolute;top:68px;width:28px;height:62px;background:linear-gradient(90deg,#4b3222,#795238,#3d291d);clip-path:polygon(35% 0,65% 0,82% 100%,18% 100%)}.tree-ground{position:absolute;bottom:6px;width:140px;height:13px;border-radius:50%;background:#1b3824}.tree-limbs{display:grid;grid-template-columns:1fr 1fr;gap:16px}.tree-limb{position:relative;padding:16px;border:1px solid #293e31;border-radius:20px;background:#0e1511;overflow:hidden}.tree-limb header{display:flex;gap:8px;align-items:center;color:#cdebd5;margin-bottom:14px}.tree-limb header small{margin-left:auto;color:#789080}.limb-line{position:absolute;left:31px;top:58px;bottom:18px;width:5px;border-radius:8px;background:linear-gradient(#745039,#4b3222)}.limb-nodes{display:flex;flex-direction:column;gap:10px}.limb-node{position:relative;z-index:1;display:flex;gap:11px;margin-left:26px;padding:11px 12px;border:1px solid #31513c;border-radius:15px;background:#121c16}.limb-node>span{font-size:20px}.limb-node>div{flex:1}.limb-node strong{font-size:12px;color:#e2f4e7}.limb-node p{font-size:10px;color:#89998f;margin:3px 0 7px}.limb-node small{font-size:9px;color:#83a58d}.limb-node.locked{border-style:dashed;opacity:.72}.legend-hall{max-width:1180px;margin:24px auto 0;padding:22px;border:1px solid rgba(229,190,74,.42);border-radius:24px;background:radial-gradient(circle at 90% 0,rgba(229,190,74,.10),transparent 35%),linear-gradient(145deg,#19170e,#0f120d)}.legend-head{display:flex;justify-content:space-between;gap:18px;align-items:center}.legend-head small{color:#d8b94f;letter-spacing:1.5px;font-weight:900}.legend-head h2{color:#f6e7a8;margin:5px 0}.legend-head p{color:#a69d79;margin:0}.legend-head>span{font-size:44px}.legend-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:14px;margin-top:18px}.legend-card{position:relative;padding:18px;border:1px solid #64572b;border-radius:18px;background:linear-gradient(145deg,#201c0f,#12140e)}.legend-card.locked{filter:saturate(.65)}.legend-card.unlocked{box-shadow:0 0 30px rgba(229,190,74,.13);border-color:#b99a35}.legend-medal{font-size:34px}.legend-card>small{display:block;color:#d4b64f;font-size:9px;letter-spacing:1.2px;font-weight:900;margin-top:7px}.legend-card h3{color:#f2e5b4;margin:4px 0}.legend-card p{color:#a89f80;font-size:11px}.legend-card>strong{display:block;color:#d8c77e;margin-top:8px}.legend-card em{display:block;color:#9d916a;font-size:10px;font-style:normal;margin-top:5px}.victory-meta{flex-wrap:wrap}.victory-meta span:nth-child(2){color:#e9d66b;font-weight:850}@media(max-width:760px){.tree-summary{grid-template-columns:100px 1fr}.tree-limbs,.legend-grid{grid-template-columns:1fr}.tree-visual{transform:scale(.82)} }

/* V22.3 – restored visible world map */
.world-map{display:block!important;margin:22px 0}.real-world-map{border:1px solid #2b4535;border-radius:24px;overflow:hidden;background:#09130e;box-shadow:0 18px 45px rgba(0,0,0,.28)}.real-world-map svg{display:block;width:100%;height:auto;min-height:300px}.map-ocean{fill:#0b1a14}.map-region{cursor:pointer;outline:none}.map-region path{fill:#254a32;stroke:#65b77c;stroke-width:2;transition:.18s ease}.map-region:hover path,.map-region:focus path{fill:#39704b;stroke:#8ee5a7;stroke-width:3}.map-region text{fill:#eef8f1;font-size:14px;font-weight:800;text-anchor:middle;pointer-events:none}.map-region .map-pct{fill:#86d99d;font-size:13px}.map-region-cards{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:9px;margin-top:12px}.map-mini-card{display:flex;justify-content:space-between;gap:8px;align-items:center;background:#101b14;border:1px solid #294333;border-radius:12px;color:#dcebe0;padding:10px 12px;cursor:pointer}.map-mini-card span{color:#8fc7a0;font-size:12px}.map-mini-card:hover{border-color:#5aa774}.class-toggle input:not(:checked)+span{opacity:.55}.class-toggle:has(input:not(:checked)){background:#0c120e;border-color:#26332b}@media(max-width:760px){.map-region-cards{grid-template-columns:repeat(2,1fr)}.real-world-map svg{min-height:220px}.map-region text{font-size:12px}}

/* V22.5 — clearer difficulty selector + growing achievement tree */
.difficulty-picker{max-width:560px;justify-content:space-between;margin-top:24px;padding:12px 14px;border:1px solid #3b6049;border-radius:16px;background:linear-gradient(135deg,#132119,#0f1712);box-shadow:0 10px 30px rgba(0,0,0,.18)}
.difficulty-label{display:flex;align-items:center;gap:10px;text-align:left}.difficulty-label>span{font-size:24px}.difficulty-label small{display:block;font-size:8px;letter-spacing:1.7px;color:#6fa981;font-weight:900}.difficulty-label label{display:block;color:#eef8f1;font-weight:850;font-size:13px;margin-top:2px}.difficulty-picker .mode-select{min-width:175px;padding:12px 38px 12px 14px;border:1px solid #5c8d6c;background:#17261d;color:#fff;font-weight:850;font-size:14px;box-shadow:inset 0 0 0 1px rgba(93,214,130,.06)}
.tree-summary{grid-template-columns:220px 1fr!important;min-height:235px;background:radial-gradient(circle at 12% 30%,rgba(58,132,75,.16),transparent 30%),linear-gradient(145deg,#101a14,#0c120e)!important}.tree-visual{height:200px!important;overflow:visible}.tree-canopy{position:relative;width:190px;height:135px;margin-top:2px;z-index:3}.tree-canopy span{position:absolute;display:grid;place-items:center;width:78px;height:66px;border-radius:50%;background:radial-gradient(circle at 40% 35%,#397448,#183d25 65%);font-size:28px;filter:drop-shadow(0 7px 12px rgba(0,0,0,.3))}.tree-canopy span:nth-child(1){left:7px;top:48px}.tree-canopy span:nth-child(2){left:37px;top:9px}.tree-canopy span:nth-child(3){left:60px;top:40px;width:84px;height:78px;font-size:39px}.tree-canopy span:nth-child(4){right:5px;top:45px}.tree-canopy span:nth-child(5){right:31px;top:3px}.tree-visual .tree-trunk{top:108px!important;width:31px!important;height:76px!important}.tree-root{position:absolute;top:174px;width:65px;height:9px;background:#68462f;border-radius:99px;z-index:1}.tree-root.left{left:46px;transform:rotate(-12deg)}.tree-root.right{right:46px;transform:rotate(12deg)}.tree-visual .tree-ground{bottom:2px!important;width:190px!important}.tree-identity h2{font-size:28px}.tree-identity p strong{color:#c9f1d4}.tree-stage-track{height:8px;max-width:540px;margin-top:14px;background:#1c2c22;border-radius:999px;overflow:hidden}.tree-stage-track i{display:block;height:100%;background:linear-gradient(90deg,#3e9d59,#82d99b);border-radius:inherit}.tree-limbs{grid-template-columns:repeat(2,minmax(0,1fr))!important}.tree-limb{transition:.2s transform,.2s border-color}.tree-limb:hover{transform:translateY(-2px);border-color:#3e674d}.tree-limb.classes{grid-column:1/-1}.tree-limb.classes .limb-nodes{display:grid;grid-template-columns:repeat(3,1fr);padding-left:26px}.tree-limb.classes .limb-node{margin-left:0}.legend-hall{box-shadow:0 20px 60px rgba(0,0,0,.22),inset 0 0 40px rgba(229,190,74,.025)}.legend-card.future{border-style:dashed;opacity:.72;background:linear-gradient(145deg,#17160f,#10120e)}.legend-card.future .legend-medal{filter:grayscale(.4)}
@media(max-width:760px){.difficulty-picker{align-items:stretch;gap:12px}.difficulty-picker .mode-select{min-width:150px}.tree-summary{grid-template-columns:120px 1fr!important;min-height:190px}.tree-visual{transform:scale(.72)!important;transform-origin:center}.tree-limb.classes .limb-nodes{grid-template-columns:1fr}.tree-limbs{grid-template-columns:1fr!important}}
@media(max-width:520px){.difficulty-picker{flex-direction:column}.difficulty-picker .mode-select{width:100%}.tree-summary{grid-template-columns:1fr!important;text-align:center}.tree-visual{height:155px!important}.tree-identity .tree-stage-track{margin-left:auto;margin-right:auto}}
/* V22.6 – living achievement tree */
.living-tree-summary{grid-template-columns:minmax(380px,48%) 1fr!important;align-items:center!important}.living-tree-wrap{min-height:390px;display:grid;place-items:center;background:radial-gradient(circle at 50% 70%,rgba(56,126,72,.18),transparent 58%);border-radius:24px}.living-tree-svg{width:100%;max-width:520px;height:auto;overflow:visible}.tree-soil{fill:#173a24}.living-root,.living-trunk,.branch path{fill:none;stroke:#8a5a3a;stroke-linecap:round;stroke-linejoin:round}.living-root{stroke-width:7}.living-trunk{filter:drop-shadow(0 3px 1px rgba(0,0,0,.28))}.branch path{stroke-width:10}.branch text{fill:#dff8e8;font-size:13px;font-weight:800}.branch-leaf{fill:#39b967;filter:drop-shadow(0 2px 3px rgba(0,0,0,.35))}.branch-leaf.zoo{fill:#69c76f}.branch-leaf.wild{fill:#31d17c}.growth-readout{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;margin-top:18px}.growth-readout span{display:flex;justify-content:space-between;gap:12px;background:#101a14;border:1px solid #294634;border-radius:10px;padding:9px 11px;color:#a9c7b3}.growth-readout b{color:#74f0a5}.tree-structure-note{display:flex;gap:10px;align-items:center;flex-wrap:wrap;margin:16px 0;padding:12px 15px;border:1px solid #294634;border-radius:14px;background:#101713}.tree-structure-note span{padding:6px 9px;border-radius:999px;background:#173321;color:#bfe9cd;font-size:12px}@media(max-width:800px){.living-tree-summary{grid-template-columns:1fr!important}.living-tree-wrap{min-height:300px}.growth-readout{grid-template-columns:1fr}}

/* V22.7 — rebuilt living achievement tree */
.living-tree-board{display:grid;grid-template-columns:minmax(360px,46%) 1fr;gap:28px;align-items:center;padding:24px;border:1px solid #31513c;border-radius:24px;background:radial-gradient(circle at 20% 70%,rgba(55,138,76,.16),transparent 38%),linear-gradient(145deg,#101a14,#0b120e)}
.living-tree-board .living-tree-wrap{min-height:410px;background:none}.tree-story small,.root-foundation small,.trunk-progress small,.achievement-path header small{color:#62e58d;font-weight:900;letter-spacing:1.5px}.tree-story h2{font-size:32px;margin:5px 0 8px}.tree-story p{color:#9db0a3;line-height:1.6}.tree-meter{margin-top:14px}.tree-meter>span{display:flex;justify-content:space-between;color:#c9e6d2;font-size:12px}.tree-meter>i{display:block;height:8px;margin-top:6px;background:#17251c;border-radius:99px;overflow:hidden}.tree-meter>i>em{display:block;height:100%;background:linear-gradient(90deg,#36a85a,#71e59a);border-radius:inherit}.branch-meters{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin-top:16px}.branch-meters span{padding:9px;border:1px solid #294634;border-radius:10px;text-align:center;color:#bfe7ca;background:#0e1711}.living-root.waiting{stroke:#304337!important;stroke-dasharray:5 8;opacity:.55}.living-root.grown{stroke:#7d5339!important}.tree-crown-glow circle{fill:#215d34;opacity:.45}.root-foundation,.trunk-progress{margin-top:16px;padding:20px;border:1px solid #294634;border-radius:20px;background:#0e1611}.root-foundation header,.trunk-progress{display:flex;justify-content:space-between;align-items:center;gap:20px}.root-foundation h3,.trunk-progress h3{margin:3px 0 4px;font-size:21px}.root-foundation p,.trunk-progress p{margin:0;color:#8fa197}.root-foundation header>strong{font-size:25px;color:#79e59a}.root-task-grid{display:flex;flex-wrap:wrap;gap:8px;margin-top:16px}.root-task{padding:8px 10px;border:1px dashed #365040;border-radius:999px;color:#788b80;background:#101713}.root-task.done{border-style:solid;border-color:#397a4c;color:#bdeac9;background:#13301d}.trunk-number{font-size:34px;font-weight:900;color:#73e798}.achievement-branches{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin-top:16px}.achievement-path{padding:16px;border:1px solid #294634;border-radius:20px;background:#0e1611}.achievement-path.game{border-top:3px solid #63dc8b}.achievement-path.zoo{border-top:3px solid #d0a45b}.achievement-path.wild{border-top:3px solid #3ed79a}.achievement-path>header{display:flex;gap:10px;align-items:center;margin-bottom:14px}.achievement-path>header>span{font-size:30px}.achievement-path h3{margin:1px 0;font-size:18px}.achievement-path header p{margin:2px 0 0;color:#84978b;font-size:10px}.growth-achievement{display:flex;gap:10px;padding:11px;margin-top:9px;border:1px solid #2d4937;border-radius:14px;background:#111b15}.growth-achievement.next{opacity:.76;border-style:dashed}.growth-achievement>span{font-size:19px}.growth-achievement>div{min-width:0;flex:1}.growth-achievement strong{font-size:11px}.growth-achievement p{font-size:9px;color:#87988e;margin:3px 0 7px}.growth-achievement small{font-size:8px;color:#8eb49a}.path-empty{color:#84978b;font-size:11px}.achievement-error{padding:24px;border:1px solid #7a453e;border-radius:18px;background:#211411;color:#ffd4ce;display:grid;gap:8px}.level-panel{display:flex!important;align-items:center;gap:16px;max-width:1180px;margin:0 auto 16px;padding:16px 20px;border:1px solid #2f6a41;border-radius:18px;background:linear-gradient(100deg,#124c25,#0c2415)}.level-orb{width:58px;height:58px;border-radius:50%;display:grid;place-items:center;background:#78bd1f;border:2px solid #c9ef75;color:#10220d;font-size:22px;font-weight:950}.level-copy{flex:1}.level-copy small{color:#a9d7b5;letter-spacing:1.3px}.level-copy strong{display:block;font-size:18px;margin:2px 0 7px}.level-copy span{font-size:10px;color:#b9d7c1}.level-track{height:8px;max-width:540px;background:#0a2814;border-radius:99px;overflow:hidden}.level-track i{display:block;height:100%;background:#b9f24c;border-radius:inherit}
@media(max-width:900px){.living-tree-board{grid-template-columns:1fr}.achievement-branches{grid-template-columns:1fr}.living-tree-board .living-tree-wrap{min-height:320px}.branch-meters{grid-template-columns:1fr}.root-foundation header,.trunk-progress{align-items:flex-start}}
/* V22.8 developer growth preview */
.dev-growth-note{margin:0 0 12px;padding:8px 10px;border:1px dashed rgba(99,230,159,.45);border-radius:9px;background:rgba(99,230,159,.07);font-size:12px;color:#9ef0bd}.root-task.test{box-shadow:0 0 0 1px rgba(255,211,82,.45) inset}.root-task.test small{margin-left:4px}

/* V22.9 Expedition stability */
.expedition-region-progress{display:grid;grid-template-columns:repeat(auto-fit,minmax(210px,1fr));gap:8px;margin:12px 0 16px}.expedition-region-row{display:flex;justify-content:space-between;gap:12px;padding:9px 11px;border:1px solid var(--line);border-radius:10px;background:rgba(255,255,255,.02);font-size:12px}.expedition-region-row strong{color:var(--muted);font-weight:700;text-align:right}.expedition-region-row.complete{border-color:rgba(95,232,151,.45);background:rgba(95,232,151,.07)}.expedition-region-row.complete strong{color:var(--accent)}.expedition-active.completed{border-color:rgba(95,232,151,.45)}


/* V22.15 - hint workbench: full-width, compact and scroll-friendly */
.game-layout{display:block;margin-top:16px}
.hint-workbench{max-width:1200px;margin:18px auto 22px;padding:18px 20px}
.hint-workbench .hint-list{grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:9px}
.hint-workbench .knowledge-item{min-width:0;padding:10px 12px;border:1px solid #304138;background:#101612;border-radius:11px}
.hint-workbench .knowledge-value{overflow-wrap:anywhere;word-break:normal}
.hint-workbench .knowledge-source{display:block}
.hint-workbench .hint-empty{grid-column:1/-1;padding:12px 14px;border:1px dashed #304138;border-radius:11px;color:var(--muted);background:#0f1511}
.hint-shop-row{display:grid;grid-template-columns:auto 1fr;gap:14px;align-items:center;margin-top:12px;padding-top:12px;border-top:1px solid var(--line)}
.hint-shop-row .shop-title{margin:0;white-space:nowrap}
.hint-workbench .hint-shop{display:flex;flex-wrap:wrap;gap:7px}
.hint-workbench .buy-hint{width:auto;min-width:135px;flex:1 1 145px;max-width:210px;padding:8px 10px}
.hint-actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:10px}
.guess-table-card{max-width:1200px;margin:0 auto}
@media(max-width:700px){.hint-workbench{padding:15px}.hint-workbench .hint-list{grid-template-columns:repeat(2,minmax(0,1fr))}.hint-shop-row{grid-template-columns:1fr}.hint-workbench .buy-hint{max-width:none}.knowledge-source{font-size:9px}}
@media(max-width:460px){.hint-workbench .hint-list{grid-template-columns:1fr}}


/* V22.17 floating Hint Center - repaired CSS */
.game-layout{display:block;margin-top:4px}
.hint-fab{position:fixed;right:22px;bottom:24px;z-index:18;display:flex;align-items:center;gap:8px;border:1px solid rgba(99,232,151,.5);background:#153522;color:#eafff1;border-radius:999px;padding:11px 14px;box-shadow:0 12px 35px rgba(0,0,0,.38);font-weight:800;cursor:pointer;transition:.18s transform,.18s background}
.hint-fab:hover{transform:translateY(-2px);background:#1b452c}.hint-fab-icon{font-size:18px}.hint-fab-count{min-width:22px;height:22px;padding:0 6px;display:grid;place-items:center;border-radius:999px;background:var(--green);color:#07100a;font-size:11px}.hint-fab-count.zero{background:#304138;color:#aab8af}
.hint-drawer-backdrop{position:fixed;inset:0;z-index:28;background:rgba(0,0,0,.52);backdrop-filter:blur(2px)}
.hint-drawer{position:fixed;right:0;top:0;bottom:0;z-index:29;width:min(430px,92vw);background:#0f1712;border-left:1px solid #304138;box-shadow:-20px 0 55px rgba(0,0,0,.45);transform:translateX(105%);transition:transform .24s ease;display:flex;flex-direction:column}
.hint-drawer.open{transform:translateX(0)}.hint-drawer-top{display:flex;align-items:center;justify-content:space-between;padding:22px 20px 16px;border-bottom:1px solid var(--line);background:#111a14}.hint-drawer-top h2{margin:4px 0 0;font-size:22px}.hint-drawer-close{width:38px;height:38px;border:1px solid #304138;border-radius:11px;background:#17221b;color:#dce9e0;font-size:26px;line-height:1;cursor:pointer}.hint-drawer-scroll{padding:18px 20px 28px;overflow-y:auto;overscroll-behavior:contain}.hint-drawer-summary{display:flex;justify-content:space-between;align-items:center;color:#dbe8df;font-size:13px;font-weight:700}.hint-drawer .hint-list{display:grid;grid-template-columns:1fr;gap:8px;margin-top:12px}.hint-drawer .knowledge-item{padding:10px 11px}.hint-drawer .knowledge-source{display:block}.hint-drawer .hint-shop-row{display:block;margin-top:18px;padding-top:16px}.hint-drawer .shop-title{margin-bottom:9px}.hint-drawer .hint-shop{display:grid;grid-template-columns:1fr 1fr;gap:7px}.hint-drawer .buy-hint{width:100%;min-width:0;max-width:none}.hint-drawer .hint-actions{display:grid;grid-template-columns:1fr;gap:7px;margin-top:12px}
body.hint-center-open{overflow:hidden}
@media(max-width:700px){.hint-fab{right:14px;bottom:14px}.hint-drawer{top:auto;left:0;right:0;bottom:0;width:100%;height:min(76vh,720px);border-left:0;border-top:1px solid #304138;border-radius:20px 20px 0 0;transform:translateY(105%)}.hint-drawer.open{transform:translateY(0)}.hint-drawer-top{padding:16px 17px 12px}.hint-drawer-scroll{padding:14px 17px 24px}.hint-drawer .hint-shop{grid-template-columns:1fr}.hint-fab-label{display:none}}

/* V22.18 profile */
.profile-card{display:grid;grid-template-columns:auto 1fr auto;gap:20px;align-items:center;background:linear-gradient(135deg,#121b15,#101612);border:1px solid #2d4636;border-radius:22px;padding:22px;margin:0 0 22px;box-shadow:var(--shadow)}
.profile-avatar{width:86px;height:86px;border-radius:50%;border:1px solid #41664e;background:#17251c;font-size:42px;cursor:pointer}.profile-main small,.profile-level small,.profile-editor small{color:var(--green);font-size:10px;letter-spacing:1.5px;font-weight:800}.profile-name-row{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.profile-name-row h2{font-size:28px;margin:4px 0}.profile-main p{margin:2px 0 0;color:var(--muted)}.profile-edit{background:#18241d;border:1px solid #385340;color:#b9e7c8;border-radius:9px;padding:7px 10px;cursor:pointer}.profile-level{text-align:right;display:grid;gap:2px}.profile-level strong{font-size:34px;color:#fff}.profile-level span{color:var(--green);font-weight:700}.profile-editor{display:grid;grid-template-columns:minmax(220px,1fr) 2fr auto;gap:18px;align-items:end;background:#111813;border:1px solid #304138;border-radius:18px;padding:18px;margin:-10px 0 22px}.profile-editor label{display:grid;gap:7px;color:var(--muted);font-size:12px}.profile-editor input{background:#0d1410;border:1px solid #304138;border-radius:10px;padding:11px 12px;color:#fff;outline:none}.profile-editor input:focus{border-color:var(--green)}.profile-avatar-choices{display:flex;gap:7px;flex-wrap:wrap;margin-top:7px}.avatar-choice{width:38px;height:38px;border-radius:50%;border:1px solid #304138;background:#101612;font-size:20px;cursor:pointer}.avatar-choice.selected{border-color:var(--green);background:#1b3223}.profile-editor-actions{display:flex;gap:8px}.profile-editor-actions button{padding:10px 12px;border-radius:10px;cursor:pointer}.secondary{background:#1d5a38;border:1px solid #347c51;color:#fff}.ghost-btn{background:#111813;border:1px solid #304138;color:#c5d1c8}
@media(max-width:720px){.profile-card{grid-template-columns:auto 1fr}.profile-level{grid-column:1/-1;text-align:left;display:flex;align-items:baseline;gap:8px}.profile-editor{grid-template-columns:1fr}.profile-avatar{width:68px;height:68px;font-size:34px}}

/* V23 Progression Update */
.academy-card{position:relative}.academy-tags{display:flex;flex-wrap:wrap;gap:7px;margin:12px 0 16px}.academy-tags span{font-size:.78rem;padding:6px 9px;border:1px solid rgba(121,214,151,.18);border-radius:999px;background:rgba(121,214,151,.07);color:var(--muted,#aab8ad)}
.profile-legend-badge{display:inline-flex;align-items:center;justify-content:center;font-size:.72em;vertical-align:middle;margin-left:5px;filter:drop-shadow(0 0 6px rgba(255,210,90,.45))}.profile-legend-hint{display:block;margin-top:6px;line-height:1.35}.profile-editor select{width:100%;margin-top:6px}

/* V23.1 UI polish */
.growth-achievement{padding:15px 14px;gap:13px;margin-top:11px}
.growth-achievement>span{font-size:24px}
.growth-achievement strong{font-size:14px;line-height:1.3;color:#e8f4eb}
.growth-achievement p{font-size:12px;line-height:1.5;margin:5px 0 10px;color:#9cadA2}
.growth-achievement small{font-size:11px;line-height:1.4;color:#a8c8b1}
.achievement-path header p{font-size:12px;line-height:1.4}
.legend-card>small{font-size:10px}.legend-card h3{font-size:18px}.legend-card p{font-size:13px;line-height:1.5}.legend-card>strong{font-size:15px}.legend-card em{font-size:12px;line-height:1.4}
.daily-return{margin:16px auto 0;padding:12px 16px;max-width:620px;border:1px solid #315d40;border-radius:13px;background:#102018;color:#bdebc9;font-weight:800}
.daily-expedition-cta{margin:12px auto 2px;padding:11px 16px;border:1px solid #4d7659;border-radius:12px;background:#183020;color:#e5f8ea;font-weight:850;cursor:pointer}
.daily-expedition-cta:hover{border-color:#63dc8b;background:#1d3a27}
.daily-complete-card{max-width:760px;margin:18px auto 0;padding:24px;border:1px solid #3b6d49;border-radius:20px;background:radial-gradient(circle at 50% 0,rgba(99,220,139,.12),transparent 48%),#101914;text-align:center}
.daily-complete-icon{font-size:38px}.daily-complete-card h2{margin:7px 0}.daily-complete-card p{color:#a9b9af}

/* V23.2 Readability pass — scoped typography, no gameplay/layout logic changes */
body{font-size:16px}
.nav-btn,.icon-btn,select,.primary,.secondary,.ghost-btn,.profile-edit{font-size:14px}
.mode-row{font-size:14px}.mode-description{font-size:.92rem}.mode-lock-message{font-size:13px}
.wallet{font-size:14px}
.section-head h2{font-size:20px}.section-head span{font-size:14px}
th,td{font-size:14px;line-height:1.35}th{font-size:12px}.range-status{font-size:12px}.range-chip{font-size:13px}
.knowledge-label{font-size:11px}.knowledge-value{font-size:14px}.knowledge-source{font-size:11px}
.next-hint-message,.hint-empty{font-size:14px}.shop-title{font-size:11px}.buy-hint{font-size:13px;padding:9px 10px}.buy-hint strong{font-size:12px}
.hint-drawer-summary{font-size:14px}
.profile-main small,.profile-level small,.profile-editor small{font-size:11px}.profile-editor label{font-size:13px}
/* Achievement tree drawing stays untouched; only the achievement cards/readout become easier to read. */
.achievement-path h3{font-size:20px}.achievement-path header p{font-size:13px;line-height:1.45}
.growth-achievement{padding:16px 15px;gap:14px;margin-top:12px}.growth-achievement>span{font-size:25px}
.growth-achievement strong{font-size:15px;line-height:1.35}.growth-achievement p{font-size:13px;line-height:1.5;margin:6px 0 10px}.growth-achievement small{font-size:12px;line-height:1.45}.path-empty{font-size:13px}
.legend-card>small{font-size:11px}.legend-card h3{font-size:19px}.legend-card p{font-size:14px;line-height:1.55}.legend-card>strong{font-size:16px}.legend-card em{font-size:13px;line-height:1.45}
@media(max-width:700px){body{font-size:16px}th,td{font-size:13px}.growth-achievement strong{font-size:15px}.growth-achievement p{font-size:13px}.growth-achievement small{font-size:12px}}

.cloud-login{margin:14px 0;padding:16px;border:1px solid rgba(122,170,124,.35);border-radius:14px;background:rgba(40,80,55,.12)}.cloud-login-fields,.cloud-login-buttons{display:flex;gap:8px;flex-wrap:wrap;margin:10px 0}.cloud-login input{min-width:150px;flex:1;padding:10px;border-radius:8px}.cloud-login button{padding:10px;border-radius:8px}.cloud-login small{display:block;line-height:1.5}

/* Global account, V24.2 */
.global-account-btn{border:1px solid #6eaa84;background:#183529;color:#f1fff4;border-radius:12px;padding:9px 12px;cursor:pointer;max-width:185px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.global-account-backdrop{position:fixed;inset:0;background:#0009;z-index:9999;display:flex;align-items:flex-start;justify-content:flex-end;padding:80px 22px 20px}.global-account-backdrop.hidden,.global-account-dialog .hidden{display:none!important}.global-account-dialog{width:min(370px,calc(100vw - 30px));background:#10241b;border:1px solid #588669;color:#fff;border-radius:17px;padding:20px;box-shadow:0 18px 50px #0008}.global-account-heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:15px}.global-account-heading button{background:transparent;color:#fff;border:0;cursor:pointer;font-size:20px}.global-account-dialog label{display:block;font-size:13px;margin:10px 0}.global-account-dialog input:not([type=checkbox]){width:100%;box-sizing:border-box;padding:11px;border-radius:8px;border:1px solid #678676;background:#fff;color:#222;margin-top:5px}.global-account-dialog .remember-line{display:flex;align-items:center;gap:8px}.global-account-dialog button:not(.global-account-heading button){padding:9px 12px;border-radius:8px;cursor:pointer}.global-account-dialog small{display:block;margin-top:12px;color:#c6d6cc}.cloud-account-note{font-size:13px;padding:10px;color:#b7d4bf}.cloud-account-note button{color:#baf2c9;background:transparent;border:0;text-decoration:underline;cursor:pointer}@media(max-width:700px){.global-account-backdrop{padding:70px 12px 10px}.global-account-btn{max-width:110px}}

/* V25: one-account, backend-authoritative UI */
.cloud-site-notice {text-align:center;background:#12241c;color:#b9e9cd;border-bottom:1px solid #356348;padding:10px 16px;font-size:13px;}
.cloud-site-notice.error {background:#3f1e21;color:#ffccd1;}
.cloud-site-notice.hidden {display:none;}
.cloud-journal,.cloud-achievements {background:#102219;border:1px solid #34523e;border-radius:16px;padding:18px;margin:24px auto;color:#e1f5e6;max-width:900px;}
.cloud-journal-title {display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:10px;}
.cloud-journal-title h3 {margin:0;}.cloud-journal-title span,.cloud-journal-row small {color:#a1c5ae;}
.cloud-journal-row {display:flex;flex-wrap:wrap;gap:8px;align-items:center;padding:10px 0;border-top:1px solid #2c4738;font-size:13px;}
.cloud-journal-row small {flex:1;min-width:150px;overflow-wrap:anywhere;}
.cloud-journal-row button {background:transparent;color:#ffc4b9;border:1px solid #764c4b;border-radius:7px;padding:6px 9px;cursor:pointer;}
.cloud-achievement-list {display:grid;grid-template-columns:repeat(auto-fit,minmax(190px,1fr));gap:8px;}
.cloud-achievement-list > div {border:1px solid #294435;border-radius:10px;padding:8px;font-size:13px;}
#globalAccountFields button#cloudSignupBtn {background:#183829;color:#d9f7e1;border:1px solid #4a8e61;}
.cloud-site-notice:not(.hidden) + main {min-height:60vh;}

.cloud-tree-disclaimer{margin:12px auto 20px;max-width:900px;color:#b9d3c4;font-size:13px;}

/* V25.1: restored comparison grid and honest server-hint states. */
.guess-table-card .table-scroll{overflow-x:auto;scrollbar-width:thin}
.guess-table-card table{min-width:1100px}
.guess-table-card th,.guess-table-card td{vertical-align:middle;white-space:normal;min-width:112px}
.guess-table-card td:first-child,.guess-table-card th:first-child{position:sticky;left:0;z-index:1;background:#142019;min-width:146px;box-shadow:1px 0 0 #304138}
.guess-table-card .hint{display:inline-block;line-height:1.4;max-width:190px;font-size:11px;overflow-wrap:anywhere}
.guess-table-card .cloud-neutral{background:#202b24;color:#b1c3b6}
@media(max-width:700px){.guess-table-card td:first-child,.guess-table-card th:first-child{min-width:110px}.guess-table-card .hint{font-size:10px}}

/* v25.2 cloud comparison diagnostics */
.nature-build-label{font-size:11px;color:#668e7a;letter-spacing:.02em;margin:5px auto 0;text-align:center}
.cloud-comparison-health{margin:12px auto 0;max-width:760px;padding:10px 14px;border:1px solid #345443;border-radius:10px;font-size:12px;line-height:1.5;text-align:center;color:#a8cbb6}
.cloud-comparison-alert{border-color:#8d6641;background:#241d13;color:#f9d68a}
.cloud-comparison-ok{border-color:#1e4f39;background:#102119;color:#a0e2b3}

/* Spielnummern – aus public.profiles, niemals aus Browserdaten berechnet */
.player-number-badge,.player-role-badge{display:inline-flex;align-items:center;border:1px solid #385c48;border-radius:999px;padding:6px 10px;font-size:12px;font-weight:700;background:#15251b;color:#9fe3b9;white-space:nowrap}
.player-role-badge{color:#f1d78c;border-color:#6b5733;background:#2b2518}
.account-player-number{color:#2d6a45;font-size:13px;font-weight:700;margin:8px 0 14px}
body.n30-dark .account-player-number{color:#9fe3b9}

/* V25.3: Founder-only tools. Visibility is a convenience; authorization lives in Supabase. */
.founder-test-panel{margin-top:16px;border:1px solid #5a9570;padding:13px;border-radius:12px;background:#122e22}
.founder-test-panel h3{font-size:15px;margin:0 0 7px;color:#ccf9d7}
.founder-test-panel p{font-size:12px;line-height:1.5;color:#bedbc6;margin:0 0 10px}
.founder-test-panel label{display:block;font-size:12px;color:#d2e5d6}
.founder-test-panel select{margin-top:5px;width:100%;padding:9px;background:#17271f;border:1px solid #608f73;color:#fff;border-radius:8px}
.founder-buttons{display:grid;grid-template-columns:1fr 1fr;gap:7px;margin-top:10px}
.founder-buttons button{white-space:normal;min-height:40px;border:1px solid #5c966d;background:#1c3c2b;color:#e7ffea;font-size:12px}
#founderTestMessage{font-size:12px;margin-top:9px;color:#b9f1c5;line-height:1.5;overflow-wrap:anywhere}
.founder-sandbox-indicator{border:1px solid #dbb74b;padding:7px 12px;background:#382f14;color:#ffe2a0;border-radius:8px;font-size:12px;font-weight:700;margin:12px auto;max-width:720px;text-align:center}
@media(max-width:480px){.founder-buttons{grid-template-columns:1fr}}

/* V25.4: gekauftes Shopprodukt sichtbar hervorheben */
.hint-drawer .buy-hint.hint-owned{background:#173825;border-color:#47785a;color:#b7f0c8;opacity:.85}
.hint-drawer .buy-hint.hint-owned strong{color:#a4dfb8}

/* Nature Idle V25.5 — Profile enhancements */
.profile-card{position:relative;overflow:hidden;background:radial-gradient(circle at 100% 0%,rgba(76,155,88,.13),transparent 48%),linear-gradient(135deg,#15241b,#101612)}
.profile-avatar{display:flex;justify-content:center;align-items:center;overflow:hidden;flex-shrink:0;position:relative}
.profile-avatar img{width:100%;height:100%;display:block;object-fit:cover}
.profile-editor{grid-template-columns:minmax(175px,1fr) minmax(220px,1.8fr) minmax(165px,1fr) auto;align-items:start}
.profile-editor label>small{letter-spacing:normal;color:#92a99a;font-size:11px;font-weight:400;line-height:1.45}
.profile-appearance{display:grid;gap:7px;min-width:0}
.profile-upload-label{display:flex!important;align-items:center;justify-content:center;padding:10px 13px;background:#1b3727;border:1px dashed #62a87d;border-radius:11px;font-size:12px!important;color:#e1f8e8!important;cursor:pointer;text-align:center}
.profile-upload-label input{position:absolute;width:1px;height:1px;opacity:0;pointer-events:none}
.profile-upload-label:focus-within{outline:2px solid #87d6a2;outline-offset:2px}
.profile-field-feedback{font-size:12px;min-height:18px;color:#bbd3bf;display:block}
.profile-field-feedback.error{color:#ffad99}.profile-field-feedback.ok{color:#a3ecac}.profile-field-feedback.wait{color:#e8d093}
.profile-editor button:disabled{opacity:.6;cursor:wait}
.profile-summary-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px;margin-bottom:20px}
.profile-summary-chip{background:linear-gradient(135deg,#17251c,#111914);border:1px solid #2c4837;border-radius:15px;padding:14px 12px;display:grid;gap:4px}
.profile-summary-chip span{font-size:11px;color:#91b29d}.profile-summary-chip strong{font-size:20px;color:#f0f9f1;font-weight:800;font-variant-numeric:tabular-nums}
.account-profile-shortcut{margin-right:8px;background:#235c3c;color:white;border:1px solid #478762;border-radius:10px;padding:10px}
@media(max-width:1040px){.profile-editor{grid-template-columns:minmax(175px,1fr) minmax(220px,1.5fr)}.profile-editor-actions{grid-column:1/-1}.profile-summary-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:600px){.profile-editor{grid-template-columns:1fr}.profile-summary-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.profile-name-row h2{font-size:23px}.profile-appearance{min-width:0}}

/* V25.6: worldwide leaderboard and server-backed achievements */
.v256-board{margin-top:30px;padding:26px;background:linear-gradient(145deg,#16251b,#101712);border:1px solid #365742;border-radius:24px;box-shadow:0 16px 40px rgba(0,0,0,.17)}
.v256-board-header{display:flex;align-items:center;justify-content:space-between;gap:18px;flex-wrap:wrap}
.v256-board h2{font-size:clamp(23px,3vw,32px);margin:10px 0}.v256-board p{font-size:13px;color:#a3b2a7;line-height:1.5;margin:5px 0}
.v256-rank-pill{padding:11px 17px;border-radius:16px;border:1px solid #527860;background:#14281b;color:#c4f5d4;font-weight:800}
.v256-visibility{display:grid;gap:7px;padding:14px 17px;border:1px solid #354e3d;border-radius:15px;margin:18px 0;background:rgba(11,24,15,.55)}
.v256-visibility small{color:#95a79b;font-size:11px;line-height:1.45}.v256-toggle{display:flex;align-items:center;gap:10px;font-size:13px;font-weight:750;cursor:pointer}.v256-toggle input{accent-color:#63e69a;width:17px;height:17px}
.v256-tabs{display:flex;flex-wrap:wrap;gap:7px;margin:16px 0}
.v256-tabs button{font-size:12px;border-radius:999px;border:1px solid #304337;background:#101b14;color:#a8b9ad;padding:9px 14px;cursor:pointer}
.v256-tabs button.active,.v256-tabs button:hover{background:#29553a;color:#fff;border-color:#65b780}
.v256-board-results{border:1px solid #2e4435;border-radius:15px;overflow:hidden;min-height:85px}
.v256-board-results .v256-rank-row{display:grid;grid-template-columns:54px minmax(100px,1fr) 135px;align-items:center;gap:12px;padding:13px 17px;border-bottom:1px solid #294031}
.v256-board-results .v256-rank-row:last-child{border-bottom:0}.v256-rank-row.me{background:rgba(76,178,108,.14)}
.v256-place{font-weight:900;color:#e4c67c;font-size:18px}.v256-player{display:flex;align-items:center;gap:11px;min-width:0}
.v256-avatar{width:38px;height:38px;display:grid;place-items:center;border-radius:13px;background:#24352a;font-size:21px}
.v256-player-meta{display:grid;min-width:0;gap:3px}.v256-player-meta strong{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:14px}
.v256-player-meta small{color:#91ab99;font-size:11px}.v256-score{text-align:right;font-weight:900;font-size:17px;font-variant-numeric:tabular-nums}
.v256-board-footer{display:flex;justify-content:space-between;align-items:center;gap:10px;flex-wrap:wrap;margin-top:14px;font-size:12px;color:#9eb3a4}
.v256-board-footer strong{color:#e2f9e9}.v256-board-footer button{border:1px solid #3c6248;background:#17281b;color:#d8f9e1;border-radius:9px;padding:8px 13px;cursor:pointer}
.v256-board-results .v256-empty{padding:20px;text-align:center}.v256-board-results .v256-empty strong{color:#e2f9e9}
.v256-ach-heading{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap;margin:16px 0}
.v256-ach-heading h2{font-size:21px;margin:3px 0}.v256-ach-heading p{color:#94a99b;font-size:12px;margin:3px 0}
.v256-ach-summary{color:#c3f3cc;border:1px solid #3c6949;border-radius:999px;background:#1b3925;padding:8px 14px;font-size:12px;font-weight:800}
.v256-ach-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-top:12px}
.v256-ach-card{display:flex;flex-direction:column;gap:9px;background:#141e16;border:1px solid #2d4434;border-radius:16px;padding:15px}
.v256-ach-card.unlocked{border-color:#416e4c;background:#17281d}.v256-ach-card strong{color:#f0fff4;font-size:14px}.v256-ach-card small{font-size:10px;color:#9bafa0}
.v256-ach-card .v256-ach-progress{height:6px;border-radius:999px;background:#26362a;overflow:hidden}.v256-ach-card .v256-ach-progress i{display:block;height:100%;background:#6fcf88}
.v256-ach-action{display:flex;align-items:center;justify-content:space-between;gap:6px;margin-top:auto;font-size:12px;color:#c5e5cd}
.v256-ach-action button,.growth-achievement button[data-v256-claim]{border:0;border-radius:9px;padding:7px 11px;background:#67df92;color:#09140c;font-weight:850;cursor:pointer}
.v256-ach-action button:disabled,.growth-achievement button[data-v256-claim]:disabled{opacity:.5;cursor:wait}
.v256-ach-filter{display:flex;flex-wrap:wrap;gap:8px}.v256-ach-filter button{padding:7px 12px;font-size:11px;background:#19251b;border:1px solid #395740;border-radius:20px;color:#c2ddc8;cursor:pointer}
.v256-ach-filter button.active{background:#2a6140;color:#fff;border-color:#5aba79}
.v256-ach-notice{color:#c3f0cd;font-size:12px;margin:8px 0}
@media(max-width:760px){.v256-board{padding:17px 12px}.v256-rank-pill{font-size:12px}.v256-board-results .v256-rank-row{grid-template-columns:32px minmax(100px,1fr) 76px;gap:7px;padding:11px}.v256-score{font-size:14px}.v256-avatar{width:30px;height:30px;font-size:17px}.v256-ach-grid{grid-template-columns:1fr}}

/* Nature Idle V25.6 – three-path Dex and weekly leagues */
.v256-dex-overview{margin-top:20px;padding:25px;border:1px solid var(--border,#cfe0ce);border-radius:22px;background:linear-gradient(130deg,rgba(64,144,91,.09),rgba(15,112,98,.04));display:grid;gap:12px}
.v256-dex-overview h2{margin:.2em 0}.v256-dex-overview p{margin:0;color:var(--muted,#62716a)}
.v256-dex-total{display:flex;justify-content:space-between;gap:12px;align-items:center;flex-wrap:wrap}
.v256-dex-total strong{font-size:clamp(1.8rem,4vw,2.8rem)}
.v256-dex-total span{font-weight:650;color:var(--muted,#62716a)}
.v256-dex-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.v256-dex-grid>div{border-radius:14px;padding:14px;background:rgba(60,112,81,.16);border:1px solid rgba(91,177,116,.18);display:flex;flex-direction:column;gap:7px}
.v256-dex-grid strong{font-size:1.1rem}
.v256-dex-meter{height:12px;border-radius:999px;background:#d7e4d7;overflow:hidden}
.v256-dex-meter>i{display:block;height:100%;background:linear-gradient(90deg,#379d65,#1e7e9a);border-radius:999px;transition:width .3s}
.v256-dex-overview>small,.v256-league-info small{color:var(--muted,#62716a)}
.v256-league{margin-top:20px}.v256-league-info{margin:12px 0;display:grid;gap:6px}
.v256-league-metrics{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}
.v256-score small{display:block;font-weight:500;margin-top:2px;opacity:.72}
@media(max-width:580px){.v256-dex-grid{gap:6px}.v256-dex-grid>div{padding:10px;font-size:.82rem}.v256-dex-grid strong{font-size:.95rem}.v256-board-header{flex-wrap:wrap}}

/* V25.9 – Founder-only controls; no global UI redesign */
.founder259-details {margin-top:15px;border:1px solid #335c47;border-radius:12px;padding:12px;background:#0c1914;color:#e5f6eb}
.founder259-details summary {cursor:pointer;font-weight:750;padding:4px 2px}
.founder259-details p {font-size:12px;line-height:1.5;color:#bad1c1}
.founder259-details label {display:flex;flex-direction:column;gap:5px;font-size:12px;color:#d0e8d7;margin-top:10px}
.founder259-details input:not([type=checkbox]):not([type=range]),.founder259-details textarea,.founder259-details select {width:100%;box-sizing:border-box;background:#0a100e;border:1px solid #476e56;border-radius:8px;color:#f3fff4;padding:9px;font:inherit;min-height:37px}
.founder259-details input[type=range] {width:100%;accent-color:#60e193}
.founder259-grid {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:4px 10px}
.founder259-grid .founder259-full {grid-column:1/-1}
.founder259-details .founder259-confirm {display:flex;flex-direction:row;align-items:flex-start;gap:9px}
.founder259-details .founder259-confirm input {margin-top:3px}
.founder259-id {display:block;margin-top:10px;color:#b6cdbb}
#founder259SpeciesMessage {font-size:12px;margin:10px 0;white-space:pre-wrap}
.founder259-details button {cursor:pointer;white-space:normal}
@media (max-width:540px){.founder259-grid{grid-template-columns:1fr}}
.global-account-dialog {max-height:calc(100dvh - 105px);overflow-y:auto;overscroll-behavior:contain}
.global-account-dialog:has(#founder259EditorDetails[open]) {width:min(590px,calc(100vw - 30px))}
.founder259-details input[type=search]{background:#0a100e!important;color:#f3fff4!important}

/* V26.0 Founder additions */
#f260ImportTable table{border-collapse:collapse;width:100%;font-size:12px}
#f260ImportTable td,#f260ImportTable th{padding:7px;border-bottom:1px solid rgba(150,170,140,.3);text-align:left}
#f260AddStatus,#f260ImportSummary{white-space:pre-line;overflow-wrap:anywhere;padding:8px 0}
.animal-art .n260-picture{width:100%;height:100%;max-height:132px;object-fit:cover;border-radius:10px}
.species-art .n260-picture{width:100%;max-height:240px;object-fit:contain;border-radius:10px}

/* V26.1: kompakter Founder-Artenmanager */
.f261-picker {margin:6px 0;padding:9px;border:1px solid #476e56;border-radius:9px;background:#0a1510}
.f261-picker summary{cursor:pointer;font-weight:650;color:#d6f3df}
.f261-choices{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:4px 14px;padding:8px 4px}
.f261-choices label{display:flex!important;flex-direction:row!important;align-items:center;gap:8px;margin-top:3px!important}
.f261-full{grid-column:1/-1}.f261-note{color:#accbbb;font-size:12px;line-height:1.5;overflow-wrap:anywhere}
#f261TranslateStatus{font-size:12px;color:#aad9b6;padding:5px 0}
.f261-danger{border:1px solid #9e5959!important;color:#ffd0d0!important}
#f261ManageStatus{white-space:pre-line;font-size:12px}
@media(max-width:540px){.f261-choices{grid-template-columns:1fr}}
.global-account-dialog:has(#f260AddDetails[open]),
.global-account-dialog:has(#f261ManageDetails[open]) {width:min(670px,calc(100vw - 30px));}

/* V26.2 – guest daily and species modes */
.v262-mode-choices{display:flex;gap:10px;flex-wrap:wrap;margin:9px 0}.v262-mode-choices label{display:inline-flex;align-items:center;gap:6px;border:1px solid #38624f;background:#13291f;border-radius:9px;padding:9px 12px;font-size:.91rem}.v262-mode-choices input{accent-color:#6bd591}.v262-manage{margin:18px 0;padding:15px;border:1px solid #3c6451;border-radius:12px;display:grid;gap:9px}.v262-minibtn{width:auto;padding:7px 10px}.v262-guest{display:flex;gap:11px;flex-wrap:wrap;align-items:center;justify-content:center;margin:15px auto;padding:12px 16px;background:#122a22;border:1px solid #599976;border-radius:12px;max-width:850px}.v262-guest.hidden{display:none}.v262-guest strong{color:#a8f0bc}.v262-guest span{font-size:.89rem;color:#bdd6c9}.v262-guest button{border:1px solid #77b995;color:#e8fff0;background:#1a4832;border-radius:8px;padding:8px 11px}.v262-guest-note{padding:9px 12px;margin:10px 0;border:1px solid #507761;border-radius:8px;color:#d0e8d8}.v262-guest-note button{margin-left:10px}

/* V26.5 preview only. Final design polish scheduled later. */
.n265-list{display:grid;gap:8px;margin:12px 0;max-height:390px;overflow:auto}
.n265-item{display:flex;align-items:start;gap:12px;padding:11px;border:1px solid var(--border,#344c3c);border-radius:9px;background:rgba(50,90,64,.14)}
.n265-item input{margin-top:4px;flex:0 0 auto;accent-color:#70dc9f}
.n265-item div{display:grid;gap:3px}
.n265-item small{opacity:.75;line-height:1.4}
.n265-item .n265-state{font-size:12px;color:#8fceaf}
.n265-item:has(input:disabled){opacity:.65}

/* V26.6 species quality dashboard */
.n266-stats{display:grid;grid-template-columns:repeat(auto-fit,minmax(120px,1fr));gap:10px;margin:12px 0}
.n266-stat{padding:12px;border:1px solid rgba(100,140,100,.35);border-radius:12px;background:rgba(35,75,55,.20);display:flex;flex-direction:column;gap:3px}
.n266-stat strong{font-size:1.3rem}.n266-stat span{font-size:.78rem;opacity:.8}
.n266-list{display:flex;flex-direction:column;gap:7px;max-height:530px;overflow-y:auto;margin:12px 0}
.n266-row{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:11px;border:1px solid rgba(140,165,145,.23);border-radius:9px}
.n266-row-main{min-width:0;display:flex;flex-direction:column;gap:4px}.n266-row-main small{opacity:.8;overflow-wrap:anywhere}
.n266-flags{display:flex;flex-wrap:wrap;gap:5px}.n266-tag{font-size:.70rem;padding:3px 6px;border:1px solid rgba(135,165,145,.45);border-radius:99px;line-height:1.15}
.n266-row-button{flex-shrink:0}.n266-editor{border:1px solid rgba(130,180,145,.45);background:rgba(55,90,65,.12);border-radius:12px;padding:14px;margin-top:16px}
.n266-paging{font-size:.8rem;align-self:center}.n266-status{white-space:pre-wrap}
@media(max-width:640px){.n266-row{flex-direction:column;align-items:stretch}.n266-row-button{align-self:start}}

/* V26.7 – Founder-Zentrale: same functional controls, fewer scroll levels. */
.founder267-launch {display:block;width:100%;margin:12px 0;padding:13px 16px;border:1px solid #72c896;border-radius:12px;background:#1a4230;color:#eafff1;font-weight:800;cursor:pointer;text-align:center}
.founder-test-panel.founder267-collapsed {display:none!important}
.global-account-backdrop:has(.founder267-open){align-items:center;justify-content:center;padding:14px}
.global-account-dialog.founder267-open {width:min(1140px,calc(100vw - 28px));max-width:1140px;min-height:min(610px,calc(100dvh - 28px));max-height:calc(100dvh - 28px);overflow-y:auto;padding:18px 23px 23px}
.global-account-dialog.founder267-open > #globalAccountSignedIn > :not(#founderTestPanel),
.global-account-dialog.founder267-open > #cloudRefreshBtn,
.global-account-dialog.founder267-open > #cloudLoginStatus,
.global-account-dialog.founder267-open > #cloudWalletInfo {display:none!important}
.global-account-dialog.founder267-open #globalAccountSignedIn > :not(#founderTestPanel){display:none!important}
.global-account-dialog.founder267-open > .global-account-heading {margin-bottom:3px}
.global-account-dialog.founder267-open > .global-account-heading > strong{display:none}
.global-account-dialog.founder267-open #founderTestPanel {background:none;border:0;margin:0;padding:0;min-width:0}
.founder267-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;margin-bottom:15px}
.founder267-heading h2{font-size:clamp(22px,3vw,29px);line-height:1.12;margin:5px 0 7px;color:#f1fff4}
.founder267-heading p{font-size:13px;margin:0;color:#b7d9c5}
.founder267-eyebrow{font-size:10px;letter-spacing:.16em;font-weight:800;color:#78dca0}
.founder267-close {color:#d9f5e1;background:#152c20;border:1px solid #49775a;border-radius:9px;padding:9px 12px;cursor:pointer;white-space:nowrap}
.founder267-tabs {position:sticky;top:-18px;z-index:2;display:flex;gap:6px;overflow-x:auto;padding:10px 0 12px;background:#10241b;border-bottom:1px solid #375b44;scrollbar-width:thin}
.founder267-tabs button{border:1px solid #315843;border-radius:9px;background:#132b1f;color:#bedccb;padding:11px 14px;cursor:pointer;font-size:13px;font-weight:700;white-space:nowrap;flex:0 0 auto}
.founder267-tabs button.active,.founder267-tabs button[aria-selected="true"] {border-color:#65d998;background:#1d5135;color:#fff}
.founder267-tabs button:focus-visible,.founder267-close:focus-visible,.founder267-shortcut:focus-visible{outline:2px solid #8bf8ae;outline-offset:3px}
.founder267-content{padding-top:16px}
.founder267-view[hidden]{display:none!important}
.founder267-section-intro{border:1px solid #2c5340;background:#142b20;border-radius:11px;color:#b8dcc7;font-size:13px;padding:13px 15px;margin-bottom:10px}
.founder267-overview-intro h3{font-size:19px;margin:5px 0 8px}
.founder267-overview-intro p{font-size:13px;line-height:1.6;color:#b7d7c3}
.founder267-quick{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:11px;margin-top:17px}
.founder267-shortcut{min-width:0;text-align:left;display:flex;align-items:center;gap:14px;border:1px solid #355f47;border-radius:13px;background:#142b20;color:#f1fff5;padding:17px;cursor:pointer}
.founder267-shortcut:hover{background:#204733;border-color:#75bc8b}
.founder267-shortcut-icon{font-size:25px;flex-shrink:0}
.founder267-shortcut strong{display:block;font-size:14px;margin-bottom:5px}
.founder267-shortcut small{display:block;font-size:12px;color:#aacbb6;line-height:1.45}
.founder267-shortcut-arrow{margin-left:auto;font-size:20px;color:#9de9ad}
.founder267-view .founder259-details{margin-top:10px}
.founder267-view .founder259-details summary{font-size:14px;padding:6px}
.founder267-view .founder259-details[open]{border-color:#4d9168}
.global-account-dialog.founder267-open .founder259-details input:not([type=checkbox]):not([type=range]),
.global-account-dialog.founder267-open .founder259-details textarea{background:#0d1712!important;color:#edf6ed!important;border:1px solid #456c55!important}
@media(max-width:720px){.founder267-quick{grid-template-columns:1fr}.global-account-dialog.founder267-open{padding:14px}.founder267-heading{flex-wrap:wrap}.founder267-tabs{top:-14px}.founder267-close{white-space:normal}.founder267-tabs button{font-size:12px;padding:9px 11px}}

.global-account-dialog.founder267-open #globalAccountFields,.founder267-hidden-account{display:none!important}
/* Override older :has(details[open]) width rules after switching workspace tabs. */
.global-account-dialog.founder267-open {width:min(1140px,calc(100vw - 28px))!important}
.global-account-dialog:not(.founder267-open) {width:min(370px,calc(100vw - 30px))!important}
/* V26.7 Founder-Spielauswahl – minimal, gleiches Nature-Idle-Design */
.n267-notice{padding:12px;border:1px solid #48614b;border-radius:10px;background:#10241a}
.n267-small{font-size:.82rem;opacity:.86}
.n267-stats{display:flex;flex-wrap:wrap;gap:10px;margin:12px 0}
.n267-stat{flex:1 1 105px;min-width:100px;display:flex;flex-direction:column;padding:11px;background:#13251b;border:1px solid #335443;border-radius:10px}
.n267-stat strong{font-size:1.3rem;color:#d5f6df}.n267-stat span{font-size:.72rem;color:#b1c5b7}
.n267-modes{width:100%;margin:5px 0;font-size:.8rem;opacity:.85}
.n267-rows{display:flex;flex-direction:column;gap:9px;margin:12px 0}
.n267-item{border:1px solid #385443;border-radius:11px;background:#111f18;padding:12px}
.n267-item-head{display:flex;align-items:center;gap:10px}.n267-names{display:flex;flex-direction:column;gap:2px;min-width:0}
.n267-names strong{overflow-wrap:anywhere}.n267-names small{font-size:.78rem;color:#9bbba8}
.n267-flags{display:flex;gap:6px;flex-wrap:wrap;margin:10px 0}
.n267-flag{font-size:.72rem;border:1px solid #365445;border-radius:999px;padding:3px 8px;color:#c2d6c8}
.n267-flag.good{background:#1d4130;border-color:#3c8864}.n267-flag.warn{background:#3f321a;border-color:#8e6931}
.n267-controls{display:flex;flex-wrap:wrap;align-items:end;gap:15px}
.n267-controls label{display:flex;flex-direction:column;gap:6px;font-size:.77rem;flex:1 1 160px}
.n267-controls select{width:100%;max-width:270px}
.n267-controls .n267-toggle{display:flex;flex-direction:row;gap:8px;align-items:center;min-width:200px;padding-bottom:8px}
@media(max-width:600px){.n267-item{padding:9px}.n267-stats{gap:6px}.n267-stat{min-width:95px}}

/* V26.7.1: separate playable difficulty selection */
.n267-mode-fieldset{border:1px solid #385443;border-radius:9px;padding:9px 11px;margin:12px 0 8px;min-width:0}
.n267-mode-fieldset legend{padding:0 5px;font-size:.82rem;font-weight:700;color:#d4e7db}
.n267-mode-choices{display:flex;flex-wrap:wrap;gap:8px 18px}
.n267-mode-choices label{display:inline-flex;align-items:center;gap:6px;cursor:pointer;font-size:.84rem;white-space:nowrap}
.n267-mode-choices input{width:auto;accent-color:#45d58a}
.n267-easy-wrap{display:flex;flex-direction:column;gap:5px;font-size:.83rem;margin:8px 0 2px}
.n267-easy-wrap input{max-width:480px;width:100%;box-sizing:border-box}
.n267-easy-wrap small{opacity:.75;line-height:1.45}

/* Nature Idle V26.8 – single-entry Founder workspace */
.f268-head{margin:0 0 20px}.f268-head h3,.f268-toolbar h3{margin:0 0 5px}.f268-head p,.f268-toolbar p{color:#b5ccc0;line-height:1.6;margin:3px 0}
.f268-toolbar{display:flex;justify-content:space-between;gap:16px;align-items:center;flex-wrap:wrap;margin-bottom:16px}.f268-actions,.f268-paging,.f268-tools{display:flex;gap:9px;flex-wrap:wrap;align-items:center}
.f268-search{padding:14px;background:rgba(7,23,17,.28);border:1px solid #355844;border-radius:15px}.f268-search>label{display:block;font-weight:700;margin-bottom:6px}.f268-search>input{width:100%;max-width:690px;box-sizing:border-box}
.f268-note{font-size:.86rem;color:#bdd3c5;line-height:1.5;margin:10px 0 15px}.f268-list{display:grid;grid-template-columns:repeat(auto-fit,minmax(235px,1fr));gap:9px;margin:12px 0 15px}
.f268-species-row{display:flex;align-items:center;text-align:left;justify-content:space-between;gap:12px;border:1px solid #345341;background:#10241a;color:#eefaf0;padding:14px;border-radius:11px;min-width:0;cursor:pointer}
.f268-species-row:hover{border-color:#57d590;background:#183928}.f268-species-row span:first-child{display:flex;min-width:0;flex-direction:column;gap:5px}.f268-species-row strong{overflow-wrap:anywhere}.f268-species-row small{color:#b6cec1;overflow-wrap:anywhere}.f268-species-row span:last-child{font-size:.78rem;white-space:nowrap}
.f268-edithead{display:flex;justify-content:space-between;gap:14px;align-items:start;margin:0 0 11px;flex-wrap:wrap}.f268-edithead h3{margin:0}.f268-edithead p{margin:4px 0;color:#bbd3c4;font-size:.85rem}.f268-tools{margin:16px 0}.f268-tools button.active{background:#164f32;border-color:#68d99a}
.f268-legacy-tool{display:none!important}.f268-legacy-tool.f268-chosen{display:block!important}.f268-legacy-tool.f268-internal-only{display:none!important}
.f268-legacy-tool.f268-chosen>summary{display:none!important}.f268-legacy-tool.f268-chosen{padding:16px!important}
.f268-advanced{border:1px solid #345341;border-radius:12px;padding:13px;margin:18px 0}.f268-advanced summary{cursor:pointer}
.founder267-tabs{gap:10px}.founder267-tabs button{font-size:1rem!important}.founder267-content{min-height:420px}
.f268-toolbar.hidden,.f268-editor.hidden,.f268-search.hidden{display:none!important}
.n267-controls label:has(select){display:none!important}
@media(max-width:650px){.f268-list{grid-template-columns:1fr}.f268-toolbar{align-items:stretch}.f268-actions{width:100%}.f268-species-row{padding:12px}}


/* V26.8.1: eigentständige große Founder-Arbeitsoberfläche */
.f2681-locked{overflow:hidden!important}
.f2681-overlay{position:fixed;inset:0;z-index:12020;display:flex;align-items:center;justify-content:center;padding:clamp(8px,1.3vw,20px);background:rgba(2,10,6,.88);box-sizing:border-box}
.f2681-overlay.hidden{display:none!important}
.global-account-dialog.founder-workspace{position:relative;display:block;box-sizing:border-box;flex:none;width:min(1530px,100%)!important;max-width:none!important;height:min(930px,calc(100dvh - 16px));min-height:0!important;max-height:none!important;overflow:auto;overscroll-behavior:contain;border:1px solid #4b7e60;border-radius:20px;padding:clamp(14px,2vw,30px);background:#0c1c13;box-shadow:0 25px 110px rgba(0,0,0,.85);scrollbar-width:thin}
.founder-workspace #founderTestPanel{display:block!important;background:transparent;border:none;padding:0;margin:0;max-width:none;width:100%;}
.founder-workspace .founder267-tabs{top:-30px;background:#0c1c13}
.founder-workspace .founder267-content{padding-top:14px}
.founder-workspace .f268-search{min-height:380px}
.founder-workspace .f268-list{grid-template-columns:repeat(auto-fit,minmax(260px,1fr))}
.founder-workspace .founder259-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
.founder-workspace .founder259-details{width:100%;box-sizing:border-box}
.founder-workspace .f2681-modes{max-width:930px;padding:clamp(14px,2.1vw,28px);border:1px solid #3b614b;border-radius:14px;background:#12261b}
.f2681-modes h4{font-size:1.2rem;margin:0 0 10px}
.f2681-modes fieldset{border:1px solid #4c7359;padding:16px;border-radius:12px;margin:16px 0}
.f2681-modes legend{font-weight:750;padding:0 8px}
.f2681-mode-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:9px}
.f2681-mode-grid label{display:flex!important;align-items:center;gap:9px;font-size:1rem!important;border:1px solid #406b4f;background:#0b2015;border-radius:10px;padding:13px;margin:0!important;cursor:pointer}
.f2681-mode-grid input,.f2681-enable input{width:auto!important;accent-color:#6cdc98;transform:scale(1.12)}
.f2681-presets{display:flex;align-items:center;flex-wrap:wrap;gap:9px;margin:14px 0 20px;font-size:.88rem}
.f2681-presets button{background:#193526;border:1px solid #547c60;color:#e6f9eb;border-radius:9px;padding:9px 12px;cursor:pointer}
.f2681-presets button:hover{border-color:#8eefb5}
.f2681-easy-label{display:flex!important;flex-direction:column;gap:7px;font-size:1rem!important;margin:14px 0!important;max-width:620px}
.f2681-easy-label input{width:100%;color:#f2fff5!important;background:#0e1812!important;border:1px solid #538165!important}
.f2681-enable{display:flex!important;align-items:center;gap:10px;font-size:1rem!important;margin:22px 0 10px!important}
.f2681-notice{background:#172d20;border:1px solid #526c42;border-radius:9px;padding:12px;margin-bottom:17px;font-size:.88rem}
.f2681-form-actions{display:flex;flex-wrap:wrap;gap:11px}
.f2681-form-actions button{background:#204d32;color:#f5fff6;border:1px solid #569871;border-radius:10px;padding:10px 14px;cursor:pointer}
.f2681-form-actions button:disabled{opacity:.5;cursor:wait}
@media(max-width:760px){
 .global-account-dialog.founder-workspace{padding:12px;border-radius:12px;height:calc(100dvh - 16px)}
 .founder-workspace .founder259-grid{grid-template-columns:1fr}
 .f2681-mode-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
 .founder267-heading{gap:8px}.founder267-heading h2{font-size:1.3rem}
}

/* Nature Idle V26.9 – Quellenabgleich bleibt im bestehenden Import-Tab. */
.n269-source-panel {margin: 12px 0 24px;padding: 20px;border: 1px solid #426c55;border-radius: 15px;background: #0d2219;max-width:100%;color:#e5f7ed}
.n269-source-panel h3 {font-size:1.12rem;margin:0 0 8px}
.n269-source-panel p {line-height:1.5;margin: 0 0 12px}
.n269-actions {display:flex;gap:10px;flex-wrap:wrap;margin:12px 0;align-items:center}
.n269-actions button {border:1px solid #497f5c;border-radius:10px;background:#163a28;color:#e8f8eb;padding:10px 14px;cursor:pointer;font-weight:600}
.n269-actions button:disabled {opacity:.48;cursor:default}
.n269-file {font-size:.84rem;color:#d4eedf;display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.n269-file input {font-size:.75rem;max-width:230px;color:#d4eedf}
.n269-counts {padding:10px 12px;border-radius:8px;background:#122f23;font-size:.87rem;margin:10px 0}
.n269-preview {display:grid;gap:7px;max-height:280px;overflow:auto}
.n269-item {border:1px solid #294b39;border-radius:9px;padding:10px 12px;display:grid;gap:3px;overflow-wrap:anywhere;background:#10281e}
.n269-item span {color:#afd1b9;font-size:.80rem}
.n269-track {height:8px;border-radius:12px;background:#203a2d;overflow:hidden;margin:10px 0}
.n269-track div {height:100%;width:0%;background:#56d98a;transition:width .2s}
.n269-search {display:grid;gap:7px;margin:10px 0;font-size:.85rem}
.n269-search input {padding:10px;border-radius:8px;border:1px solid #3c6651;background:#0a1c14;color:#fff;max-width:450px;width:100%}
.n269-disclaimer {font-size:.81rem;color:#b9d5c2;margin:15px 0 0!important}
.n269-disclaimer a {color:#90e5aa}
#n269Status {font-size:.88rem;line-height:1.45;margin:10px 0}
@media(max-width:600px){.n269-source-panel{padding:13px}.n269-actions button{width:100%}}

/* V26.9.1: Fall back gracefully when a verified vernacular name is not available. */
.n269-name-fallback{display:block;color:#c2b49a;font-size:.76rem;margin-top:3px;}

/* V26.9.2: multilingual name lookup, within the existing Import tab. */
.n2692-panel{margin:16px 0 23px;padding:clamp(13px,2vw,22px);border:1px solid #416d56;border-radius:15px;background:#0d2219}
.n2692-panel h3{font-size:1.15rem;margin:0 0 8px}.n2692-panel p{font-size:.89rem;line-height:1.6;color:#bfdaca}
.n2692-panel a{color:#94eeb2}.n2692-actions{display:flex;flex-wrap:wrap;align-items:center;gap:10px;margin:14px 0}
.n2692-actions button{border:1px solid #47865e;border-radius:10px;background:#15432a;padding:11px 13px;color:#effef4;font-weight:700;cursor:pointer}
.n2692-actions button:disabled{opacity:.44;cursor:default}
#n2692Status{line-height:1.6;margin:13px 0;color:#d5e9dc;font-size:.88rem}
.n2692-list{max-height:370px}.n2692-list .n269-item a{font-size:.8rem;margin-top:4px}
.n2692-panel .n269-search input{width:100%}
@media(max-width:600px){.n2692-actions button{width:100%}}
/* V27.0: kompakter Zusatz im bestehenden Founder-Import, kein neuer Navigationspunkt */
.n270-panel{margin:18px 0;padding:18px;border:1px solid #35624c;border-radius:16px;background:#0d2219;color:#eaf7ef}
.n270-panel h3{font-size:1.15rem;margin:0 0 10px}.n270-panel p{line-height:1.5}
.n270-tools{display:flex;align-items:end;gap:10px;flex-wrap:wrap;margin:14px 0}
.n270-tools label{display:flex;flex-direction:column;gap:5px;font-size:.85rem}
.n270-tools select,.n270-file input,.n270-search input{max-width:100%;padding:10px;background:#13281e;border:1px solid #49795d;border-radius:8px;color:#eefcf3}
.n270-tools button{background:#143a29;border:1px solid #49795d;border-radius:9px;padding:12px;color:#eaf7ef;cursor:pointer}
.n270-tools button:disabled{opacity:.45;cursor:not-allowed}
.n270-small{font-size:.82rem;color:#a5c8b4}
.n270-status,.n270-counts{margin:8px 0;padding:9px 12px;border-radius:8px;background:#153526;font-size:.88rem}
.n270-list{max-height:300px;overflow:auto;display:grid;gap:7px;margin:10px 0}
.n270-card{padding:11px 13px;border-radius:9px;border:1px solid #315e45;display:grid;gap:5px;overflow-wrap:anywhere}
.n270-card div{color:#b5d6c3;font-size:.86rem}.n270-card small{font-size:.75rem;color:#9cbeab}
.n270-progress{height:7px;background:#173a28;border-radius:99px;overflow:hidden}.n270-progress>div{background:#58df9d;width:0;height:100%;transition:width .15s}
.n270-search{display:block;margin-top:12px;font-size:.82rem}
.n270-search input{display:block;margin-top:5px;min-width:min(420px,100%)}

/* =============== ORIGINAL FILE: map-v257.css =============== */
/* V25.7 – deliberately functional, with a clear country boundary map. */
#dexMap .world-map{display:block!important;max-width:100%;margin:16px 0 8px}
.map257-shell{border:1px solid #334c3c;border-radius:16px;background:#101b17;padding:14px}
.map257-toolbar{display:flex;flex-wrap:wrap;gap:9px;align-items:center;margin-bottom:12px}
.map257-toolbar button,.map257-toolbar select,.map257-filters button{border:1px solid #41624b;background:#16261c;color:#dcefe0;border-radius:9px;padding:10px 12px;font:inherit;cursor:pointer;max-width:100%}
.map257-toolbar select{flex:1;min-width:140px}.map257-toolbar button:disabled{opacity:.4;cursor:default}
.map257-filters{display:flex;flex-wrap:wrap;gap:7px;margin:0 0 12px}
.map257-filters button{padding:8px 12px;font-size:.88rem}.map257-filters button.active{border-color:#9fdda8;background:#26553b;color:#fff}
.map257-svg-wrap{overflow:hidden;border-radius:12px;border:1px solid #284737;background:#0c1c25}
.map257-svg-wrap svg{width:100%;height:auto;display:block;max-height:590px;min-height:250px}
.map257-ocean{fill:#102833}
.nature257-country{stroke:#e0e7e1;stroke-width:.68;vector-effect:non-scaling-stroke;cursor:pointer;outline:none;transition:fill .15s,stroke .15s}
.nature257-country.s-empty,.map257-swatch.empty{fill:#303c45}.nature257-country.s-none,.map257-swatch.none{fill:#737d82}
.nature257-country.s-low,.map257-swatch.low{fill:#245f40}.nature257-country.s-mid,.map257-swatch.mid{fill:#368b57}.nature257-country.s-high{fill:#55b87a}.nature257-country.s-max,.map257-swatch.max{fill:#9de1a6}
.nature257-country:hover,.nature257-country:focus,.nature257-country.selected{stroke:#ffe198;stroke-width:2.3;filter:brightness(1.3)}
.map257-legend{display:flex;flex-wrap:wrap;gap:9px 18px;padding:12px 0 4px;color:#d5e0d7;font-size:.79rem}
.map257-legend span{display:inline-flex;align-items:center;gap:6px}.map257-swatch{display:inline-block;width:16px;height:12px;border:1px solid #b8cbbd;border-radius:3px}
.map257-help,.map257-note{font-size:.83rem;line-height:1.55;color:#adc3b6!important}
.map257-continent-cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(125px,1fr));gap:8px;margin-top:12px}
.map257-continent-cards button{padding:11px;background:#1c3126;color:#e4f0e6;border:1px solid #3b6048;border-radius:9px;text-align:left;cursor:pointer}
.map257-continent-cards button strong,.map257-continent-cards button span{display:block}.map257-continent-cards button span{color:#9bdfae;margin-top:3px}
.map257-detail-header{display:flex;justify-content:space-between;align-items:center;gap:12px}.map257-detail-header h2{margin:4px 0}.map257-detail-header>strong{font-size:clamp(1.25rem,3vw,2rem);color:#86d79f;white-space:nowrap}
.map257-meter{height:9px;border-radius:99px;overflow:hidden;background:#42534a;margin:12px 0}.map257-meter i{height:100%;display:block;background:#72cb8a;border-radius:99px}
.map257-counter-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin:14px 0}.map257-counter-grid>div{background:rgba(95,166,114,.09);padding:10px;border-radius:10px;border:1px solid rgba(133,191,151,.22)}.map257-counter-grid span,.map257-counter-grid strong{display:block}.map257-counter-grid span{font-size:.8rem}.map257-counter-grid strong{margin-top:4px}
.map257-journal,.map257-animals{margin-top:22px}.map257-journal h3,.map257-animals h3{margin:0 0 12px}.map257-observation{display:flex;align-items:center;gap:12px;padding:9px 0;border-bottom:1px solid rgba(127,127,127,.15)}.map257-observation small{display:block;color:#94b7a5}
.map257-species-list{display:grid;grid-template-columns:repeat(auto-fit,minmax(190px,1fr));gap:7px}.map257-species{background:rgba(140,145,150,.09);border:1px solid rgba(127,127,127,.18);border-radius:9px;display:flex;align-items:center;gap:8px;text-align:left;color:inherit;padding:10px;font:inherit;cursor:pointer}.map257-species.discovered{background:rgba(67,148,91,.18)}.map257-species small{margin-left:auto;white-space:nowrap}.map257-species:hover{border-color:#77bd88}
.map257-muted{padding:14px;color:#bccdbf}
@media(max-width:630px){.map257-counter-grid{grid-template-columns:1fr 1fr}.map257-shell{padding:8px}.map257-toolbar>*{flex:1 1 100%}.map257-svg-wrap svg{min-height:175px}.map257-detail-header{align-items:start}}

.map257-registration-note{font-size:.78rem;line-height:1.45;opacity:.84;margin:10px 0 0}

/* Swatches use CSS backgrounds (SVG fill does not color HTML legend chips). */
.map257-swatch.empty{background:#303c45}.map257-swatch.none{background:#737d82}
.map257-swatch.low{background:#245f40}.map257-swatch.mid{background:#368b57}
.map257-swatch.max{background:#9de1a6}

/* V25.7.2 – Pan/zoom controls and persistent country selection. */
.map257-svg-wrap{position:relative;touch-action:none;cursor:grab;user-select:none}
.map257-svg-wrap.is-dragging,.map257-svg-wrap.is-dragging .nature257-country{cursor:grabbing}
.map257-svg-wrap svg{touch-action:none}
.map257-map-controls{position:absolute;top:12px;right:12px;display:flex;flex-direction:column;align-items:center;gap:4px;padding:6px;background:rgba(8,26,23,.95);border:1px solid #648575;border-radius:12px;box-shadow:0 3px 14px #0007;z-index:2}
.map257-map-controls button{width:38px;height:34px;border:1px solid #517b63;background:#193828;color:#f0ffef;border-radius:7px;cursor:pointer;font-size:1.25rem;line-height:1}
.map257-map-controls button:hover{background:#2b6641}.map257-map-controls button:disabled{opacity:.35;cursor:default}
#map257ZoomLevel{font-size:.7rem;white-space:nowrap;color:#dfefdf;font-variant-numeric:tabular-nums}
.map257-selected-chip{position:absolute;bottom:10px;left:10px;max-width:calc(100% - 110px);padding:7px 10px;background:rgba(10,37,29,.94);border:1px solid #e4cd6f;border-radius:8px;color:#fff0bd;pointer-events:none;z-index:2;font-size:.85rem;box-shadow:0 2px 9px #0008}
.map257-selected-label{position:absolute;transform:translate(-50%,-130%);padding:5px 9px;border:1px solid #f7e28b;border-radius:8px;background:#102b24ee;color:#fff4c4;pointer-events:none;white-space:nowrap;z-index:1;font-size:.85rem;font-weight:700;text-shadow:0 1px 2px #0008;box-shadow:0 2px 9px #0008}
.map257-selected-label[hidden]{display:none!important}
.nature257-country.selected{stroke:#ffd44f!important;stroke-width:3.5!important;filter:brightness(1.28) drop-shadow(0px 0px 2px #f9d45c)}
.nature257-country.region-selected{stroke:#aadfae;stroke-width:1.15}
@media(max-width:630px){.map257-map-controls{top:6px;right:6px;padding:4px}.map257-map-controls button{width:32px;height:30px}.map257-selected-chip{font-size:.72rem;max-width:calc(100% - 80px)}}

/* V25.8 – data-quality flag, distinct from player progress */
.map258-quality{background:#142a22;border:1px dashed #789c83;border-radius:10px;padding:12px 14px;color:#c7d9ca;line-height:1.6;font-size:.85rem;margin:14px 0}
.species-data-caveat{font-size:.82rem;line-height:1.55;margin:10px 0 2px;color:#b6cbbc}

/* =============== ORIGINAL FILE: nature-v263.css =============== */
.n263-small{font-size:.82rem;line-height:1.5;opacity:.8}
.n263-summary{padding:12px;border-radius:10px;background:rgba(107,153,111,.12);line-height:1.6}
.n263-progress{height:10px;background:rgba(155,155,155,.2);border-radius:99px;overflow:hidden;margin:12px 0}
#n263ProgressBar{height:100%;width:0%;background:#77bb85;transition:width .2s}
.n263-results{display:grid;gap:8px;max-height:350px;overflow:auto}
.n263-item{display:flex;flex-wrap:wrap;gap:10px;align-items:center;justify-content:space-between;border:1px solid rgba(145,145,145,.25);border-radius:10px;padding:10px}
.n263-item strong{display:block}
.n263-item small{display:block;opacity:.75}
.n263-item button{width:auto}

/* V26.4: klassischer Artenkatalog */
.n264-results{display:grid;gap:8px;max-height:440px;overflow:auto;margin-top:12px}
.n264-item{display:flex;gap:10px;align-items:center;justify-content:space-between;background:#112218;border:1px solid #36513d;border-radius:10px;padding:10px}
.n264-item-main{display:flex;flex-direction:column;gap:4px;min-width:0}
.n264-item-main small{color:#b2c6b8;line-height:1.35}
.n264-status{font-size:.77rem;color:#d7e7da}
.n264-status.missing{color:#f1d69a}
.n264-status.live{color:#80dca0}
.n264-item button{flex-shrink:0}
.n264-note{font-size:.85rem;color:#c7d9cb}
@media(max-width:660px){.n264-item{flex-wrap:wrap}.n264-item button{width:100%}}

/* =============== ORIGINAL FILE: nature-v271.css =============== */
/* V27.1 – compact, additive, mobile-ready Founder audit, no new top-level menus */
.n271-panel{margin:20px 0;padding:20px;border:1px solid #2c5a45;background:#0d211a;border-radius:16px;color:#eaf5ee}
.n271-panel h3{margin:0 0 8px;font-size:1.2rem}.n271-head p,.n271-note{font-size:.86rem;color:#bdd2c4;line-height:1.6}
.n271-actions,.n271-filters{display:flex;gap:10px;align-items:end;flex-wrap:wrap;margin:14px 0}
.n271-actions button{background:#143c2b;border:1px solid #448562;color:#f5fff8;padding:10px 13px;border-radius:9px;cursor:pointer}
.n271-actions button:hover:not(:disabled){background:#205940}.n271-actions button:disabled{opacity:.45;cursor:not-allowed}
#n271Status{padding:12px;background:#163528;border-radius:9px;font-size:.88rem;line-height:1.45}
.n271-stats{display:grid;grid-template-columns:repeat(auto-fit,minmax(140px,1fr));gap:9px;margin:14px 0}
.n271-stat{padding:12px;border:1px solid #32654b;border-radius:11px;display:flex;flex-direction:column;gap:3px;background:#112b20}
.n271-stat strong{font-size:1.5rem;color:#83eeb0}.n271-stat span{font-size:.8rem}.n271-stat small{font-size:.72rem;color:#a7c5b2}
.n271-filters label{display:flex;flex-direction:column;gap:5px;flex:1 1 180px;font-size:.8rem}
.n271-filters input,.n271-filters select{border-radius:8px;border:1px solid #42765d;padding:10px;background:#102a20;color:white;width:100%;min-width:0}
.n271-count{font-size:.82rem;color:#b4d1bd;margin:10px 0}.n271-list{max-height:430px;overflow-y:auto;display:grid;gap:8px}
.n271-card{padding:12px;background:#0e281d;border:1px solid #2a513d;border-radius:11px}
.n271-cardhead{display:flex;align-items:start;justify-content:space-between;gap:10px;flex-wrap:wrap}.n271-cardhead strong{font-size:.95rem}
.n271-status{font-size:.72rem;color:#b0e6bc;white-space:nowrap}.n271-card small{color:#a9c2b2}
.n271-checks{display:flex;flex-wrap:wrap;gap:6px;margin:8px 0}
.n271-checks span{border-radius:6px;padding:3px 7px;font-size:.72rem;background:#193729}
.n271-checks .n271-no{color:#f5ca7d;background:#473a23}.n271-checks .n271-yes{color:#9ee9b8}
.n271-muted{margin:6px 0 0;font-size:.78rem;line-height:1.5;color:#bed2c6}
@media(max-width:680px){.n271-panel{padding:12px}.n271-cardhead{display:block}.n271-status{display:block;margin-top:5px}}

/* =============== ORIGINAL FILE: nature-v273.css =============== */
.n273-suggestion{border:1px solid var(--line, #49604f);border-radius:12px;padding:16px;margin-top:18px;background:rgba(70,120,70,.07)}
.n273-suggestion summary,.n273-founder-inbox summary{cursor:pointer;font-weight:700}
.n273-suggestion form{display:grid;gap:10px;margin-top:12px}
.n273-suggestion label{display:grid;gap:5px}
.n273-suggestion textarea,.n273-suggestion input,.n273-suggestion select{width:100%;max-width:100%;box-sizing:border-box}
.n273-suggestion button{max-width:260px}
.n273-founder-inbox{border:1px solid var(--line,#49604f);border-radius:12px;padding:16px;margin:16px 0}
.n273-founder-inbox #n273LoadSuggestions{margin:10px 0}
.n273-review-card{padding:12px;margin:10px 0;background:rgba(70,120,70,.09);border-radius:10px;display:grid;gap:7px}
.n273-review-card p{white-space:pre-wrap;overflow-wrap:anywhere;margin:0}
.n273-review-actions{display:flex;flex-wrap:wrap;gap:8px}
.n273-review-actions button{flex:0 1 auto}

/* =============== ORIGINAL FILE: nature-hub-v1.css =============== */
/* Nature Idle Universe — functional welcome screen. Isolated from in-game styles. */
body.hub-on-home{background:#d7e6df;color:#133d2b}
body.hub-on-home .topbar{display:none}
body.hub-on-home .cloud-site-notice:not(.error){display:none}
body.hub-on-home .cloud-site-notice.error{position:relative;z-index:2}
body.hub-on-home main{position:relative;isolation:isolate}
body.hub-on-home main::before{content:"";position:fixed;z-index:-1;inset:0;background:linear-gradient(90deg,rgba(226,238,215,.06),rgba(251,248,235,.24) 44%,rgba(224,233,206,.04)),url('assets/nature-universe-scenery.webp') center center / cover no-repeat;}
#homeView.view{max-width:none;margin:0;padding:0 16px 26px;min-height:100vh;color:#133728}
#homeView .hub-shell{max-width:775px;margin:auto;padding:20px 0 4px}
#homeView .hub-brand{text-align:center;line-height:1.08;padding:0 0 15px;text-shadow:none}
#homeView .hub-brand h1{font-size:clamp(32px,4.2vw,51px);line-height:1.1;margin:0;font-weight:950;letter-spacing:-2.1px;color:#164c21;white-space:nowrap}
#homeView .hub-nature{background:linear-gradient(#78a53f,#12521e 72%);-webkit-background-clip:text;background-clip:text;color:transparent}
#homeView .hub-universe{background:linear-gradient(#f6be23,#ae5a0b 85%);-webkit-background-clip:text;background-clip:text;color:transparent}
#homeView .hub-leaf{font-size:.48em;vertical-align:top;margin-left:-5px}
#homeView .hub-brand p{font-size:clamp(13px,1.6vw,18px);margin:3px 0 0;font-weight:800;color:#1a492e}
#homeView .hub-card{background:#fffdf6f5;border-radius:23px;padding:18px;box-shadow:0 25px 70px #1f302c4d,0 2px 8px #314c3452;border:1px solid #fff;display:flex;flex-direction:column;gap:12px;}
#homeView .hub-panel{border-radius:19px;padding:17px 22px;border:1px solid rgba(51,78,42,.035)}
#homeView .hub-daily{background:linear-gradient(112deg,#fff7db 0%,#fff7e7 73%,#f5edc9 100%);padding:8px 16px 13px;overflow:hidden}
#homeView .hub-daily-top{display:flex;min-height:101px;align-items:center;position:relative;gap:11px}
#homeView .hub-calendar{align-self:stretch;object-fit:cover;object-position:center;width:145px;height:102px;border-radius:13px;mix-blend-mode:multiply;mask-image:linear-gradient(to right,#000 70%,transparent 100%)}
#homeView .hub-daily-copy{flex:1;position:relative;z-index:1}
#homeView .hub-daily h2,#homeView .hub-panel h2{font-size:clamp(19px,2.7vw,28px);font-weight:900;letter-spacing:-.6px;line-height:1.19;margin:0 0 3px;color:#133d2b}
#homeView .hub-daily p,#homeView .hub-panel-heading p{margin:0;color:#2f5440;font-size:clamp(12px,1.37vw,16px);line-height:1.38}
#homeView .hub-sun{font-size:24px;align-self:flex-start;margin:8px 1px 0 0}
#homeView .hub-action{display:flex;align-items:center;justify-content:center;gap:14px;cursor:pointer;border-radius:13px;font-family:inherit;font-size:clamp(16px,1.9vw,22px);font-weight:900;width:100%;min-height:56px;transition:transform .15s,filter .15s,box-shadow .15s;border:1px solid transparent;text-decoration:none}
#homeView .hub-action:hover{transform:translateY(-1px);filter:brightness(1.04);box-shadow:0 5px 15px #17452a26}
#homeView .hub-action:focus-visible,#homeView .hub-world:focus-visible,#homeView .hub-field:focus-within{outline:3px solid #f7b91b;outline-offset:3px}
#homeView .hub-action:disabled{opacity:.65;cursor:wait;transform:none}
#homeView .hub-action>span:last-child{margin-left:auto;font-size:26px;font-weight:400}
#homeView .hub-action-daily{background:linear-gradient(#ffdd66,#f8bd33);color:#183e2d;border-color:#d49b21;box-shadow:0 4px 8px #b2853730;padding:0 21px}
#homeView .hub-action-daily>span:not([aria-hidden]){flex:1;text-align:center}
#homeView .hub-benefits{display:flex;justify-content:space-between;gap:6px;flex-wrap:wrap;margin:10px auto 0;max-width:635px;font-size:12px;font-weight:700;color:#245038}
#homeView .hub-benefits span::first-letter{color:#268345}
#homeView .hub-login{background:linear-gradient(130deg,#f0f8e8,#eaf5e1);padding:19px 34px 12px}
#homeView .hub-panel-heading{display:flex;align-items:flex-start;gap:15px;margin-bottom:13px}
#homeView .hub-heading-icon{font-size:31px;width:48px;flex:none;text-align:center;line-height:1.1}
#homeView .hub-panel-heading>div{flex:1;min-width:0}
#homeView .hub-field{display:flex;align-items:center;gap:10px;width:100%;background:#fff;border:1px solid #d1d9d6;border-radius:12px;margin:0 0 9px;min-height:48px;padding:0 13px;box-shadow:0 1px 2px #12301c06}
#homeView .hub-field>span{font-size:16px;flex:none}
#homeView .hub-field input{display:block;flex:1;min-width:0;border:0!important;outline:none!important;background:transparent!important;box-shadow:none!important;color:#20382b!important;font:inherit;font-size:15px;padding:12px 0;margin:0;width:100%}
#homeView .hub-field input::placeholder{color:#76818b;opacity:1}
#homeView #hubTogglePassword{border:0;background:transparent;color:#536777;font-size:18px;cursor:pointer;padding:8px}
#homeView .hub-action-login{background:linear-gradient(#4e9b38,#14592d);color:#fff;border-color:#236e39;box-shadow:0 3px 6px #143f2b26;padding:0 22px;margin-top:4px}
#homeView .hub-action-login strong{flex:1;text-align:center;font-size:inherit}
#homeView .hub-action-login>span:last-child{margin-left:0}
#homeView .hub-auth-message{min-height:0;font-size:12px;margin-top:5px;color:#2f6145;text-align:center;line-height:1.4}
#homeView .hub-auth-message:not(:empty){padding:4px 6px}
#homeView .hub-auth-message.error{color:#a9272c;background:#fff3f3;border-radius:7px}
#homeView .hub-auth-message.success{color:#225e36}
#homeView .hub-separator{display:flex;align-items:center;gap:18px;color:#8a9299;font-weight:700;justify-content:center;font-size:14px;margin:0 10px}
#homeView .hub-separator:before,#homeView .hub-separator:after{content:"";height:1px;flex:1;background:#ccd1cf}
#homeView .hub-register-area{display:flex;flex-direction:column;gap:8px}
#homeView .hub-register{background:#f0f3f6;padding:13px 27px 13px}
#homeView .hub-register .hub-panel-heading{margin-bottom:9px}
#homeView .hub-register h2{font-size:clamp(18px,2.15vw,23px)}
#homeView .hub-register p{font-size:13px;color:#607080}
#homeView .hub-register .hub-heading-icon{color:#7c8490}
#homeView .hub-action-register{min-height:43px;background:linear-gradient(#fff,#e9edf2);color:#16452d;border-color:#bec8d0;box-shadow:0 2px 6px #3334;font-size:18px;padding:0 20px}
#homeView .hub-action-register strong{flex:1;text-align:center}
#homeView .hub-action-register>span:last-child{margin-left:0}
#homeView .hub-explore{background:linear-gradient(#fffbef,#fff9e9);border-radius:17px;padding:10px 9px 8px}
#homeView .hub-explore-title{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:0 5px 9px}
#homeView .hub-explore-title h2{font-size:clamp(17px,2.1vw,20px);margin:0;font-weight:900;color:#183f32}
#homeView .hub-explore-title p{margin:0;font-size:11px;color:#61717d}
#homeView .hub-world-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:9px}
#homeView .hub-world{display:flex;flex-direction:column;text-align:left;padding:0 0 8px;border:1px solid #e0e6e5;border-radius:13px;background:#fff;overflow:hidden;min-width:0;color:#163827;box-shadow:0 2px 5px #313d311b;font:inherit}
#homeView button.hub-world{cursor:pointer;transition:transform .15s,box-shadow .15s}
#homeView button.hub-world:hover{transform:translateY(-3px);box-shadow:0 5px 13px #445d3d34}
#homeView .hub-world img{width:100%;height:64px;object-fit:cover;display:block}
#homeView .hub-world-name{font-weight:850;font-size:clamp(12px,1.3vw,15px);margin:4px 7px 5px;white-space:nowrap}
#homeView .hub-world-status{font-size:clamp(9px,1vw,11px);font-weight:750;margin:auto 6px 0;padding:3px 6px;border-radius:999px;white-space:nowrap}
#homeView .hub-available{background:#dbf1cc;color:#226d2d}
#homeView .hub-available b{padding-left:10px}
#homeView .hub-future{background:#eef1f5;color:#747c87}
#homeView .hub-footer{text-align:center;color:#f8ffed;font-size:12px;font-weight:700;text-shadow:0 1px 6px #142f22;margin:12px 0}
#homeView .hub-welcome{padding:3px}
#homeView .hub-welcome .hub-action{margin-bottom:7px}
#homeView .hub-link{display:block;margin:8px auto 0;background:transparent;border:0;color:#1e6441;cursor:pointer;font:inherit;font-size:13px;font-weight:700;text-decoration:underline}
@media(max-width:650px){
 #homeView.view{padding:0 9px 18px}
 #homeView .hub-shell{padding:15px 0 0}
 #homeView .hub-brand h1{letter-spacing:-1.5px;font-size:clamp(26px,6.1vw,39px)}
 #homeView .hub-brand p{font-size:12px}
 #homeView .hub-card{padding:10px;border-radius:18px;gap:9px}
 #homeView .hub-panel{padding:14px}
 #homeView .hub-daily{padding:10px}
 #homeView .hub-daily-top{min-height:76px}
 #homeView .hub-calendar{width:84px;height:76px}
 #homeView .hub-sun{display:none}
 #homeView .hub-daily h2{font-size:19px}
 #homeView .hub-daily p{font-size:12px}
 #homeView .hub-panel-heading{gap:8px;margin-bottom:10px}
 #homeView .hub-heading-icon{font-size:25px;width:30px}
 #homeView .hub-login{padding:14px}
 #homeView .hub-register{padding:12px}
 #homeView .hub-action{min-height:51px;font-size:16px;padding:0 12px;gap:8px}
 #homeView .hub-action-register{min-height:42px}
 #homeView .hub-benefits{justify-content:center;gap:4px 11px;font-size:10px}
 #homeView .hub-world-grid{gap:5px}
 #homeView .hub-world img{height:48px}
 #homeView .hub-world-name{margin:4px 4px 3px;font-size:11px;overflow-wrap:anywhere;white-space:normal}
 #homeView .hub-world-status{margin:auto 3px 0;padding:3px;font-size:9px;white-space:normal}
 #homeView .hub-available b{display:none}
 #homeView .hub-explore-title{display:block}
 #homeView .hub-explore-title p{font-size:11px;margin-top:2px}
}
@media(max-width:360px){#homeView .hub-world-grid{grid-template-columns:repeat(2,minmax(0,1fr))}#homeView .hub-world img{height:68px}}
@media(prefers-reduced-motion:reduce){#homeView .hub-action,#homeView button.hub-world{transition:none}}

#homeView .hub-logo-leaf{font-size:.53em;vertical-align:top;margin-right:-5px}
#homeView .hub-nature,#homeView .hub-universe{-webkit-text-fill-color:transparent;text-shadow:none}

/* =============== ORIGINAL FILE: nature-universe-v29.css =============== */
/* NATURE IDLE UNIVERSE — V29 VISUAL SYSTEM
   Pure presentation layer. No gameplay, IDs, database code or flows are changed.
   Scope: every app view except the already-designed start hub. */
body:not(.hub-on-home){
  --bg:#eff4e9;--panel:#fffdf7;--panel2:#f1f7e9;
  --line:#d8e6d0;--text:#203d2d;--muted:#657c6c;
  --green:#267a42;--green2:#246d38;--yellow:#e7ad36;
  --red:#b64a47;--shadow:0 12px 36px rgba(47,82,49,.10);
  --card:#fffef9;--border:#dce8d4;
  color:var(--text);
  background:linear-gradient(180deg,rgba(245,249,238,.90),rgba(250,250,238,.95) 46%,#edf4e8 100%),
     url('assets/nature-universe-scenery.webp') center top / cover fixed no-repeat;
  font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
}
body:not(.hub-on-home) *{scrollbar-color:#a6c49e #eff5e9}
body:not(.hub-on-home) ::selection{background:#d5eab7;color:#234b34}
body:not(.hub-on-home) :focus-visible{outline:3px solid #d99d26;outline-offset:3px}
/* Main navigation: same cream/forest/gold language as landing hub. */
body:not(.hub-on-home) .topbar{
  height:auto;min-height:74px;padding:11px clamp(15px,3vw,50px);gap:14px;
  border-bottom:1px solid #d9e5d2;background:rgba(255,253,244,.95);
  box-shadow:0 7px 28px rgba(41,72,47,.10);backdrop-filter:blur(18px);
}
body:not(.hub-on-home) .topbar .logo{
  color:#27663a;font-size:clamp(17px,1.8vw,23px);font-weight:950;letter-spacing:-.7px;
  white-space:nowrap;text-shadow:0 1px 0 #fff;
}
body:not(.hub-on-home) .topbar nav{gap:5px;align-items:center}
body:not(.hub-on-home) .nav-btn{
  background:transparent;color:#4c6b55;border:1px solid transparent;
  border-radius:12px;padding:11px 13px;font-weight:750;white-space:nowrap;
  transition:background .16s,border-color .16s,color .16s,transform .16s;
}
body:not(.hub-on-home) .nav-btn:is(:hover,:focus-visible){color:#174e2b;background:#e8f2df;border-color:#d1e2cb}
body:not(.hub-on-home) .nav-btn.active{
  color:#fff;background:linear-gradient(150deg,#4b9a3f,#176239);
  border-color:#287242;box-shadow:0 4px 12px #24653930;
}
body:not(.hub-on-home) .header-actions{align-items:center;gap:7px}
body:not(.hub-on-home) .wallet{
  color:#315b3e;background:#ecf5e7;border:1px solid #d7e7cf;
  border-radius:11px;padding:9px 11px;font-size:13px;
}
body:not(.hub-on-home) .wallet strong{color:#1b5632}
body:not(.hub-on-home) .icon-btn,body:not(.hub-on-home) .topbar select{
  color:#326448;background:#fff;border:1px solid #d7e4d0;
  border-radius:11px;min-height:39px;
}
body:not(.hub-on-home) .global-account-btn{
  background:#e5f2db;color:#215f38;border:1px solid #a9cfa7;
  font-weight:800;box-shadow:none;min-height:40px;
}
/* Sections and scenic cover strips. */
body:not(.hub-on-home) .view{max-width:1410px;padding:27px clamp(14px,3vw,40px) 100px}
body:not(.hub-on-home) .hero,body:not(.hub-on-home) .view > .page-head{
  position:relative;isolation:isolate;overflow:hidden;
  background:linear-gradient(90deg,rgba(255,253,245,.97) 0%,rgba(254,252,240,.95) 60%,rgba(237,247,223,.83) 100%),
    url('assets/nature-universe-scenery.webp') center 45% / cover;
  border:1px solid rgba(255,255,255,.97);border-radius:25px;
  box-shadow:0 12px 38px rgba(47,79,48,.13),0 1px 3px #6585651a;
}
body:not(.hub-on-home) #gameView .hero{padding:35px 26px 28px;margin:0 0 20px;text-align:center}
body:not(.hub-on-home) #gameView .hero::after{
  content:none;position:absolute;right:28px;top:22px;font-size:48px;
  opacity:.22;transform:rotate(-16deg);pointer-events:none;z-index:-1;
}
body:not(.hub-on-home) .view > .page-head{
  align-items:center;min-height:172px;margin:0 0 24px;padding:30px clamp(21px,4vw,50px);
}
body:not(.hub-on-home) .eyebrow{
  display:inline-flex;align-items:center;width:fit-content;font-size:11px;
  letter-spacing:2px;color:#307a42;background:#e8f4e1;border:1px solid #c9e4c2;
  padding:6px 11px;border-radius:999px;
}
body:not(.hub-on-home) .hero h1,body:not(.hub-on-home) .page-head h1{
  color:#18442c;font-size:clamp(30px,4vw,54px);
  line-height:1.1;letter-spacing:-1.65px;font-weight:900;margin:13px 0 9px;
}
body:not(.hub-on-home) .hero p,body:not(.hub-on-home) .page-head p,
body:not(.hub-on-home) .sub-head p{color:#52705c;line-height:1.55}
body:not(.hub-on-home) h2,body:not(.hub-on-home) h3{letter-spacing:-.3px}
body:not(.hub-on-home) a{accent-color:#277a44}
/* Cards, stat panels and content groups. */
body:not(.hub-on-home) :is(.guess-table-card,.meta-card,.stat,.animal-card,.life-row,.collection-progress,
  .continent-card,.achievement-node,.map-animal,.dex-tabs,.cloud-journal,.cloud-achievements,
  .review-info,.submission-form,.v256-board,.v256-dex-overview,.profile-card,.profile-editor,
  .profile-summary-chip,.expedition-box,.ticket-guide,.hint-item,.knowledge-item,.cloud-login){
  background:#fffdf7;border:1px solid #dae7d3;color:#203d2d;
  border-radius:19px;box-shadow:0 8px 23px rgba(47,80,47,.07);
}
body:not(.hub-on-home) :is(.guess-table-card,.v256-board,.v256-dex-overview,.profile-card,.review-info,.submission-form){
  box-shadow:0 12px 35px rgba(39,72,40,.10);
}
body:not(.hub-on-home) .stat{background:linear-gradient(145deg,#fffefb,#f0f7ea)}
body:not(.hub-on-home) .stat strong,body:not(.hub-on-home) .profile-summary-chip strong{color:#1b5835}
body:not(.hub-on-home) .stat small,body:not(.hub-on-home) .profile-summary-chip span{color:#617a68}
body:not(.hub-on-home) .stat.big{border-top:4px solid #acd095;min-height:140px}
body:not(.hub-on-home) .animal-card{transition:transform .18s,box-shadow .18s,border-color .18s}
body:not(.hub-on-home) .animal-card:hover{transform:translateY(-4px);box-shadow:0 15px 28px #416c3626;border-color:#a4c898}
body:not(.hub-on-home) .animal-art{background:linear-gradient(145deg,#dfefd7,#f9f4dc)}
body:not(.hub-on-home) .badge,body:not(.hub-on-home) .player-number-badge{
  color:#22633c;background:#e6f3df;border:1px solid #cbe3c4;
}
/* Buttons and controls: accessible contrast, consistent rounding. */
body:not(.hub-on-home) :is(input:not([type=checkbox]):not([type=radio]):not([type=range]):not([type=file]),select,textarea){
  color:#264734;background:#fff;border:1px solid #cddfc9;border-radius:11px;
  box-shadow:0 1px 2px rgba(27,70,37,.05);
}
body:not(.hub-on-home) input::placeholder,body:not(.hub-on-home) textarea::placeholder{color:#809488}
body:not(.hub-on-home) :is(input,select,textarea):focus{border-color:#4b9c5b;outline-color:#e7b545}
body:not(.hub-on-home) :is(.primary,.secondary,.play-type-btn.active,.standalone){
  color:#fff;background:linear-gradient(155deg,#4e9c3d,#18683c);
  border:1px solid #317b46;box-shadow:0 4px 11px #1e6b3b26;font-weight:800;
}
body:not(.hub-on-home) button{transition:filter .15s,transform .15s,box-shadow .15s}
body:not(.hub-on-home) button:hover:not(:disabled){filter:brightness(1.045)}
body:not(.hub-on-home) .primary:disabled{opacity:.6}
body:not(.hub-on-home) .search-wrap{max-width:770px;margin:26px auto 13px;filter:drop-shadow(0 6px 14px #5082571b)}
body:not(.hub-on-home) .search-wrap input{background:#fff;color:#153d29;border:1px solid #bfd6ba;border-radius:14px 0 0 14px;padding:17px 18px}
body:not(.hub-on-home) .search-wrap .primary{border-radius:0 14px 14px 0;padding:0 28px}
body:not(.hub-on-home) .suggestions{background:#fffdf7;border:1px solid #bcd7b6;box-shadow:0 15px 30px #38624625;color:#234733}
body:not(.hub-on-home) .suggestion:hover{background:#e9f4df}
body:not(.hub-on-home) .mode-description{background:#eff6e9;border:1px solid #d5e5ce;color:#4b6956;opacity:1}
body:not(.hub-on-home) .mode-lock-message,body:not(.hub-on-home) .nature-build-label{color:#657f6a}
body:not(.hub-on-home) .difficulty-picker{color:#4d6e59}
body:not(.hub-on-home) .mode-select{background:#fff;color:#21472f;border:1px solid #c6d9bf;border-radius:12px}
body:not(.hub-on-home) .play-type-switch{
  background:#ebf4e4;border:1px solid #d1e1c8;padding:6px;border-radius:16px;width:fit-content;margin:22px auto 0;
}
body:not(.hub-on-home) .play-type-btn:not(.active){background:transparent;color:#42654e;border-color:transparent}
body:not(.hub-on-home) .play-type-btn{border-radius:11px}
/* Guess table. Preserve colored correct/near/wrong feedback. */
body:not(.hub-on-home) .guess-table-card{overflow:hidden}
body:not(.hub-on-home) .guess-table-card .section-head{
  background:linear-gradient(90deg,#e9f5e2,#fff9eb);border-bottom:1px solid #d9e5d2;
  padding:19px 23px;
}
body:not(.hub-on-home) .section-head h2{color:#254b35}
body:not(.hub-on-home) .streak{color:#975522!important}
body:not(.hub-on-home) .guess-table-card th{background:#eff6e8;color:#496c54}
body:not(.hub-on-home) .guess-table-card td{background:#fffdf9;color:#284334;border-bottom:1px solid #e6ecdf}
body:not(.hub-on-home) .guess-table-card th:first-child{background:#e4f0dc;box-shadow:1px 0 0 #d8e6d0}
body:not(.hub-on-home) .guess-table-card td:first-child{background:#fffdf7;box-shadow:1px 0 0 #d8e6d0}
body:not(.hub-on-home) .guess-table-card .correct,body:not(.hub-on-home) .guess-table-card .range-chip.match{background:#d6efd9;color:#166434}
body:not(.hub-on-home) .guess-table-card .near{background:#fff0bc;color:#72500a}
body:not(.hub-on-home) .guess-table-card .wrong,body:not(.hub-on-home) .guess-table-card .range-chip.nomatch{background:#f9e0df;color:#a33a35}
body:not(.hub-on-home) .guess-table-card .cloud-neutral{background:#eaf0e8;color:#587061}
body:not(.hub-on-home) .result-message{color:#277244}
/* NatureDex tabs and gallery. */
body:not(.hub-on-home) .dex-tabs{padding:7px;background:#fffdf7;gap:7px;margin:0 0 24px}
body:not(.hub-on-home) .dex-tab{border-radius:12px;color:#53735f}
body:not(.hub-on-home) .dex-tab:hover{background:#e9f3e2;color:#205f39}
body:not(.hub-on-home) .dex-tab.active{background:#e0f0d7;color:#175b35;box-shadow:inset 0 0 0 1px #a5cea4}
body:not(.hub-on-home) .filters{background:rgba(255,253,247,.90);border-radius:16px;padding:13px;border:1px solid #e0e8da}
body:not(.hub-on-home) .filters input{border-radius:12px}
body:not(.hub-on-home) .dex-icon-legend{color:#53745a}
body:not(.hub-on-home) .collection-progress{background:#e4f1db;color:#476750}
body:not(.hub-on-home) .collection-progress strong{color:#1e713c}
body:not(.hub-on-home) .big-progress{background:#e5f0df;border-color:#d4e2d0}
body:not(.hub-on-home) .big-progress i{background:linear-gradient(90deg,#83c163,#296e3b)}
/* Map: keep the map's saturated colors for geographic differentiation. */
body:not(.hub-on-home) .map257-shell{background:#fffdf7;border:1px solid #d7e5d1;box-shadow:0 8px 22px #436d441a;border-radius:20px}
body:not(.hub-on-home) .map257-toolbar button,body:not(.hub-on-home) .map257-filters button,
body:not(.hub-on-home) .map257-continent-cards button{
  background:#e6f3e0;border:1px solid #bfdbb8;color:#215b36;
}
body:not(.hub-on-home) .map257-filters button.active{background:#2a7044;color:#fff}
body:not(.hub-on-home) .map257-toolbar select{background:#fff;color:#224a31}
body:not(.hub-on-home) .map257-legend,body:not(.hub-on-home) .map257-help,
body:not(.hub-on-home) .map257-note{color:#54745c!important}
body:not(.hub-on-home) .map257-continent-cards button span{color:#277545}
body:not(.hub-on-home) .map257-svg-wrap{border-radius:15px;border-color:#cee1cd}
/* Profile, leaderboard, leagues. */
body:not(.hub-on-home) .profile-card{background:linear-gradient(110deg,#e9f5e0 0%,#fffaf0 78%);border-color:#cfdfc2}
body:not(.hub-on-home) .profile-main small,body:not(.hub-on-home) .profile-level small{color:#5a785c}
body:not(.hub-on-home) .profile-card h2,body:not(.hub-on-home) .profile-main h2{color:#205c35}
body:not(.hub-on-home) .profile-level{background:#e2f1d8;border:1px solid #c3dfb5;color:#2c6a3d;border-radius:17px}
body:not(.hub-on-home) .profile-level strong{color:#205d38}
body:not(.hub-on-home) .profile-summary-chip{background:linear-gradient(135deg,#fffdf7,#eef6e8)}
body:not(.hub-on-home) .profile-upload-label{background:#e4f2df;color:#1d6137!important;border-color:#91c291}
body:not(.hub-on-home) .profile-editor label>small{color:#6a846d}
body:not(.hub-on-home) .v256-board{background:#fffdf7;border-color:#dae6d1}
body:not(.hub-on-home) .v256-board p,body:not(.hub-on-home) .v256-board-footer,
body:not(.hub-on-home) .v256-player-meta small{color:#657e6a}
body:not(.hub-on-home) .v256-rank-pill{background:#e4f2d9;border-color:#bfdaa9;color:#24613a}
body:not(.hub-on-home) .v256-visibility{background:#f4f8ef;border-color:#e0e9d9}
body:not(.hub-on-home) .v256-visibility small{color:#657a67}
body:not(.hub-on-home) .v256-tabs button,body:not(.hub-on-home) .v256-board-footer button,
body:not(.hub-on-home) .v256-ach-filter button{background:#eaf4e4;color:#285b38;border-color:#c9dfc0}
body:not(.hub-on-home) .v256-tabs button:is(.active,:hover),
body:not(.hub-on-home) .v256-ach-filter button.active{background:#2b7041;color:#fff;border-color:#2b7041}
body:not(.hub-on-home) .v256-board-results{border-color:#dbe7d5;background:#fffefa}
body:not(.hub-on-home) .v256-board-results .v256-rank-row{border-bottom-color:#e3ebdf}
body:not(.hub-on-home) .v256-rank-row.me{background:#e3f3db}
body:not(.hub-on-home) .v256-avatar{background:#e0f0d6}
body:not(.hub-on-home) .v256-place{color:#a06e15}
body:not(.hub-on-home) .v256-score,body:not(.hub-on-home) .v256-board-footer strong,
body:not(.hub-on-home) .v256-board-results .v256-empty strong{color:#245e38}
body:not(.hub-on-home) .v256-dex-overview{background:linear-gradient(135deg,#fffdf6,#edf6e7)}
body:not(.hub-on-home) .v256-dex-total strong{color:#287245}
body:not(.hub-on-home) .v256-ach-card{background:#f9fbf5;border-color:#dce9d3;color:#284b31}
body:not(.hub-on-home) .v256-ach-card.unlocked{background:#e6f5df;border-color:#afd49c}
body:not(.hub-on-home) .v256-ach-card strong{color:#1c4d30}
body:not(.hub-on-home) .v256-ach-card small,body:not(.hub-on-home) .v256-ach-heading p{color:#64806b}
body:not(.hub-on-home) .v256-ach-action{color:#54725b}
body:not(.hub-on-home) .v256-ach-summary{background:#e8f5df;color:#28653a;border-color:#bfdaa9}
/* Achievements and notes. Maintain the tree's connector positioning. */
body:not(.hub-on-home) .cloud-journal,body:not(.hub-on-home) .cloud-achievements{color:#2c4e36;max-width:none}
body:not(.hub-on-home) .cloud-journal-row{border-color:#d9e5d2}
body:not(.hub-on-home) .cloud-journal-title span,body:not(.hub-on-home) .cloud-journal-row small{color:#6c826d}
body:not(.hub-on-home) .cloud-achievement-list>div{background:#f5faef;border-color:#d6e6cf}
body:not(.hub-on-home) .cloud-tree-disclaimer{color:#5b7963}
body:not(.hub-on-home) .tree-stage-badge,body:not(.hub-on-home) .submission-count{background:#e8f4de;border:1px solid #cde2bd;color:#2d663e;border-radius:17px}
body:not(.hub-on-home) .tree-crown{background:linear-gradient(#e5f4d9,#fffaf1);border-color:#bad7b0}
body:not(.hub-on-home) .tree-crown strong{color:#215b37}
body:not(.hub-on-home) .tree-crown small{color:#657d64}
body:not(.hub-on-home) .achievement-node{background:#fffef9;border-color:#d7e5d0}
body:not(.hub-on-home) .achievement-node.done{background:#e5f3dd;border-color:#a8cf9d}
body:not(.hub-on-home) .achievement-copy strong{color:#24503a}
body:not(.hub-on-home) .achievement-copy small,body:not(.hub-on-home) .achievement-copy em{color:#728772}
body:not(.hub-on-home) .map-animal{background:#fffdf7}
body:not(.hub-on-home) .map-animal strong{color:#235539}
body:not(.hub-on-home) .map-animal small,body:not(.hub-on-home) .map-animal em{color:#637b69}
/* Expedition, guesses, notes, drawer. */
body:not(.hub-on-home) .hint-fab{background:linear-gradient(#fff4cb,#f9d973);color:#584514;border:1px solid #dfbb53;box-shadow:0 5px 16px #77602a2b}
body:not(.hub-on-home) .hint-drawer{background:#fffdf7;color:#214130;border-left:1px solid #d6e6ce}
body:not(.hub-on-home) .hint-drawer-top{background:#eff7e9;border-bottom-color:#d9e8d1}
body:not(.hub-on-home) .hint-drawer-close{color:#23543b}
body:not(.hub-on-home) .hint-drawer-summary,.hint-drawer .knowledge-item{color:#42664f}
body:not(.hub-on-home) .hint-item,body:not(.hub-on-home) .knowledge-item{background:#f3f8ed;color:#294b36}
body:not(.hub-on-home) .knowledge-value{color:#28573a}
body:not(.hub-on-home) .hint-empty{background:#f3f7ed;border-color:#cbdcbe}
body:not(.hub-on-home) .hint-progress{background:#e0efda;color:#2c703d}
body:not(.hub-on-home) .hint-shop-row{background:#f5f9ef}
body:not(.hub-on-home) .cloud-account-note{color:#51745c}
body:not(.hub-on-home) .cloud-account-note button{color:#236d40}
body:not(.hub-on-home) .ticket-guide,body:not(.hub-on-home) .ticket-guide-grid span{color:#31583a}
body:not(.hub-on-home) .v262-guest{background:#fff2ce;border-color:#e4cb79;color:#755315}
/* Modals and submit UI. Leave specialist Founder workspace dark for legibility. */
body:not(.hub-on-home) .modal{background:rgba(16,42,30,.62);backdrop-filter:blur(3px)}
body:not(.hub-on-home) .modal-card{background:#fffdf7;border-color:#d3e4cc;color:#274832;box-shadow:0 24px 65px #112b2645}
body:not(.hub-on-home) .modal-close{color:#4d6e56}
body:not(.hub-on-home) .detail-art{background:#eaf4e3}
body:not(.hub-on-home) .review-info{background:linear-gradient(155deg,#eaf4e4,#fffaf0)}
body:not(.hub-on-home) .global-account-dialog:not(.founder-workspace){background:#fffdf7;color:#244b33;border-color:#cfe1c3}
body:not(.hub-on-home) .global-account-dialog:not(.founder-workspace) .global-account-heading button{color:#24503a}
body:not(.hub-on-home) .global-account-dialog:not(.founder-workspace) button#cloudLoginBtn{background:#2a7842;color:#fff;border:0;font-weight:800}
body:not(.hub-on-home) .global-account-dialog:not(.founder-workspace) button#cloudSignupBtn{background:#e7f3df;color:#26633c;border-color:#b8d5ab}
body:not(.hub-on-home) .global-account-dialog:not(.founder-workspace) small{color:#56765c}
body:not(.hub-on-home) .cloud-site-notice{background:#e4f2dd;border-color:#cfe3c9;color:#23643c}
body:not(.hub-on-home) .cloud-site-notice.error{background:#fff0e6;color:#974532}
/* Respect compact mobile navigation and never hide gameplay controls. */
@media(max-width:1110px){
 body:not(.hub-on-home) .topbar{flex-wrap:wrap;gap:8px;justify-content:space-between}
 body:not(.hub-on-home) .topbar .logo{margin-right:0}
 body:not(.hub-on-home) .topbar nav{order:3;flex:1 0 100%;justify-content:center;overflow-x:auto;padding-bottom:3px}
 body:not(.hub-on-home) .header-actions{position:static}
}
@media(max-width:680px){
 body:not(.hub-on-home){background:#f0f5ea}
 body:not(.hub-on-home) .topbar{padding:9px 12px;gap:8px;min-height:64px}
 body:not(.hub-on-home) .topbar nav{justify-content:flex-start;gap:4px;scrollbar-width:thin}
 body:not(.hub-on-home) .nav-btn{font-size:12px;padding:10px}
 body:not(.hub-on-home) .topbar .logo{font-size:19px;max-width:38%;overflow:hidden;text-overflow:ellipsis}
 body:not(.hub-on-home) .wallet{font-size:11px;padding:6px 7px}
 body:not(.hub-on-home) .header-actions{flex-wrap:wrap;justify-content:flex-end;gap:4px}
 body:not(.hub-on-home) .header-actions select{max-width:85px;font-size:11px;padding:7px 4px}
 body:not(.hub-on-home) .icon-btn{min-height:34px;width:32px;padding:5px}
 body:not(.hub-on-home) .global-account-btn{min-height:34px;font-size:11px;padding:6px}
 body:not(.hub-on-home) .view{padding:16px 12px 70px}
 body:not(.hub-on-home) .view>.page-head{padding:23px 19px;min-height:0;border-radius:19px;gap:15px}
 body:not(.hub-on-home) .view>.page-head h1{font-size:33px}
 body:not(.hub-on-home) #gameView .hero{padding:27px 13px 20px;border-radius:18px}
 body:not(.hub-on-home) .hero h1{font-size:32px}
 body:not(.hub-on-home) #gameView .hero::after{right:8px;top:9px;font-size:25px}
 body:not(.hub-on-home) .search-wrap{display:flex;margin-top:18px}
 body:not(.hub-on-home) .search-wrap input{width:0;min-width:0;padding:13px 10px}
 body:not(.hub-on-home) .search-wrap .primary{padding:0 15px}
 body:not(.hub-on-home) .play-type-switch{max-width:100%;display:flex;flex-wrap:wrap;justify-content:center}
 body:not(.hub-on-home) .profile-card{padding:17px}
 body:not(.hub-on-home) .filters{padding:9px}
 body:not(.hub-on-home) .dex-tab{font-size:13px;padding:9px 11px}
 body:not(.hub-on-home) .v256-board{padding:18px 13px}
 body:not(.hub-on-home) .guess-table-card .section-head{padding:14px 16px}
}
@media(prefers-reduced-motion:reduce){body:not(.hub-on-home) button,body:not(.hub-on-home) .animal-card{transition:none}}
/* Contrast polish for older high-specificity V21/V22 components. */
body:not(.hub-on-home) .difficulty-picker{
 background:linear-gradient(125deg,#e7f4df,#fffdf2);border:1px solid #c8dfbf;
 box-shadow:0 6px 18px #56885714;color:#265139;
}
body:not(.hub-on-home) .difficulty-picker :is(label,small,.difficulty-label){color:#366b49}
body:not(.hub-on-home) .difficulty-picker .mode-select{background:#fff;color:#245337;border:1px solid #b9d5b4}
body:not(.hub-on-home) .dex-icon-legend>span{
 background:#eaf4e4;border:1px solid #cbdcc4;color:#406649;
}
body:not(.hub-on-home) .dex-icon-legend .gold-key{background:#fff2c7;border-color:#e4c77b;color:#76541b}
body:not(.hub-on-home) .profile-edit{background:#e4f1de;color:#225e38;border:1px solid #b6d6af}
body:not(.hub-on-home) .meta-card,body:not(.hub-on-home) .continent-card{
 background:linear-gradient(145deg,#fffefb,#f0f7eb)!important;
 color:#294b36!important;border:1px solid #d8e6d0!important;
 box-shadow:0 8px 23px rgba(47,80,47,.08)!important;
}
body:not(.hub-on-home) .meta-card h2,body:not(.hub-on-home) .continent-card strong,
body:not(.hub-on-home) .continent-card .percent{color:#245b39}
body:not(.hub-on-home) .difficulty-stat-row{background:#fffefa;border:1px solid #dde7d6;color:#29503a}
body:not(.hub-on-home) .difficulty-stat-row b{color:#245b36}
body:not(.hub-on-home) .difficulty-stat-row small{color:#6a826e}
body:not(.hub-on-home) .v262-guest strong{color:#805b17}
body:not(.hub-on-home) .v262-guest span{color:#70591f}
body:not(.hub-on-home) .v262-guest button{background:#fff9e5;border-color:#e3cb81;color:#75501b}
body:not(.hub-on-home) .hint-drawer-summary{color:#43634b}
body:not(.hub-on-home) .hint-drawer-close{background:#fff;border-color:#d3e4ca}
body:not(.hub-on-home) .hint-fab-count.zero{background:#357647;color:#fff}
body:not(.hub-on-home) .hint-drawer .hint-shop-row{background:transparent}
body:not(.hub-on-home) .tree-stage-badge small{color:#5d805c}
body:not(.hub-on-home) .tree-stage-badge strong{color:#23623a}

/* =============== ORIGINAL FILE: nature-universe-v30.css =============== */
/* V30 Nature Idle Universe – beige daylight / nocturnal forest
   Color overrides loaded LAST. No database or game-rule changes. */
:root {color-scheme:light}
body{--n30-cream:#f4ead8;--n30-paper:#f9f0de;--n30-ink:#264432;--n30-warm:#e4d1ac;--n30-green:#396d3c;}
.n30-theme-toggle,.n30-home-theme,.n30-founder-notice{
 font:800 13px/1.2 Inter,system-ui,sans-serif;border-radius:999px;padding:10px 14px;
 border:1px solid #b8c9a8;color:#294b36;background:#fff4db;cursor:pointer;white-space:nowrap;
 box-shadow:0 2px 8px #3c593021;transition:transform .15s,filter .15s;
}
.n30-theme-toggle:hover,.n30-home-theme:hover,.n30-founder-notice:hover{transform:translateY(-1px);filter:brightness(1.03)}
.n30-theme-toggle:focus-visible,.n30-home-theme:focus-visible,.n30-founder-notice:focus-visible{outline:3px solid #d4a337;outline-offset:3px}
.n30-founder-notice{display:inline-flex;gap:8px;align-items:center;justify-content:center;color:#5a441f;background:#f6ead3;border-color:#d8bc79}
.n30-founder-notice b{display:inline-grid;place-items:center;min-width:23px;height:23px;border-radius:100px;background:#667b65;color:white;font-size:12px;padding:0 5px}
.n30-founder-notice.n30-has-notices b{background:#b43528;box-shadow:0 0 0 2px #f7cbb9}
.n30-founder-notice.hidden{display:none!important}
#homeView .hub-brand{position:relative;padding-top:38px}
#homeView .n30-home-theme{position:absolute;right:5px;top:0;z-index:5}
#homeView .n30-founder-home{position:absolute;left:5px;top:0;z-index:5}

/* Warm sand/beige instead of cold, overexposed white. */
body:not(.hub-on-home):not(.n30-dark){--bg:#efe5d2;--panel:#f8efdf;--panel2:#eee3cc;--line:#dcccae;--text:#293f30;--muted:#6b7462;--card:#fcf4e6;--border:#decfb5;
background:linear-gradient(180deg,rgba(245,237,219,.91),rgba(241,231,210,.96) 58%,#ebdfc8 100%),url('assets/nature-universe-scenery.webp') center top/cover fixed no-repeat}
body:not(.hub-on-home):not(.n30-dark) .topbar{background:rgba(249,240,220,.97);border-color:#dbcaab}
body:not(.hub-on-home):not(.n30-dark) :is(.wallet,.icon-btn,.topbar select,.global-account-btn){background:#f2e5cd;color:#35553b;border-color:#d2c29f}
body:not(.hub-on-home):not(.n30-dark) :is(.guess-table-card,.meta-card,.stat,.animal-card,.life-row,.collection-progress,.continent-card,.achievement-node,.map-animal,.dex-tabs,.cloud-journal,.cloud-achievements,.review-info,.submission-form,.v256-board,.v256-dex-overview,.profile-card,.profile-editor,.profile-summary-chip,.expedition-box,.ticket-guide,.hint-item,.knowledge-item,.cloud-login,.root-foundation,.trunk-progress,.achievement-path,.growth-achievement){background:#faf1df;border-color:#decfb4;color:#26412f}
body:not(.hub-on-home):not(.n30-dark) :is(.view>.page-head,.hero){background:linear-gradient(90deg,#f8eddaed,#f9eecded),url('assets/nature-universe-scenery.webp') center/cover;border-color:#d9c7a9}
body:not(.hub-on-home):not(.n30-dark) input,body:not(.hub-on-home):not(.n30-dark) textarea,body:not(.hub-on-home):not(.n30-dark) select{accent-color:#3b7b45}
body.hub-on-home:not(.n30-dark) #homeView .hub-card{background:#f8eddaeF;border-color:#ead7b9}
body.hub-on-home:not(.n30-dark) #homeView .hub-field{background:#f9f0e1;border-color:#d9c9b0}
body.hub-on-home:not(.n30-dark) #homeView .hub-login{background:#e7edd9}
body.hub-on-home:not(.n30-dark) #homeView .hub-register{background:#eee3d4}
body.hub-on-home:not(.n30-dark) #homeView .hub-explore{background:#f1e8d6}
body.hub-on-home:not(.n30-dark) #homeView .hub-world{background:#faf0db;border-color:#e2d1af}

/* Consistent dusk mode, including start, navigation, game, naturedex, tree, modals. */
body.n30-dark{--bg:#111f19;--panel:#192b21;--panel2:#213629;--line:#35523c;--text:#ebeddc;--muted:#b8c8b4;--card:#1b2d23;--border:#35543b;--green:#8dd495;--green2:#6fac71;--shadow:0 13px 45px #030d0891;color:#eceddd;background:linear-gradient(#101e19ed,#0f2018f5),url('assets/nature-universe-scenery.webp') center/cover fixed no-repeat}
body.n30-dark:not(.hub-on-home) .topbar{background:#101e1bF5;border-color:#375c3e}
body.n30-dark:not(.hub-on-home) .topbar .logo{color:#cbe5a8;text-shadow:none}
body.n30-dark:not(.hub-on-home) .nav-btn{color:#d8e6cd}
body.n30-dark:not(.hub-on-home) .nav-btn.active{background:linear-gradient(140deg,#657f43,#366c42);color:#fff8df;border-color:#86a76b}
body.n30-dark :is(.n30-theme-toggle,.n30-home-theme){background:#253b2d;color:#fff0c7;border-color:#8a9e68}
body.n30-dark:not(.hub-on-home) :is(.wallet,.icon-btn,.topbar select,.global-account-btn){background:#233c2c;color:#f0edcf;border-color:#426346}
body.n30-dark:not(.hub-on-home) :is(.guess-table-card,.meta-card,.stat,.animal-card,.life-row,.collection-progress,.continent-card,.achievement-node,.map-animal,.dex-tabs,.cloud-journal,.cloud-achievements,.review-info,.submission-form,.v256-board,.v256-dex-overview,.profile-card,.profile-editor,.profile-summary-chip,.expedition-box,.ticket-guide,.hint-item,.knowledge-item,.cloud-login,.root-foundation,.trunk-progress,.achievement-path,.growth-achievement,.legend-hall,.legend-card){background:#192d22;color:#e3eadb;border-color:#415c41}
body.n30-dark:not(.hub-on-home) :is(.view>.page-head,.hero){background:linear-gradient(100deg,#1d332beB,#273a27ed),url('assets/nature-universe-scenery.webp') center/cover;border-color:#4a6648}
body.n30-dark:not(.hub-on-home) :is(.view>.page-head,.hero) h1{color:#f3eed6}
body.n30-dark:not(.hub-on-home) :is(.view>.page-head,.hero,.sub-head) p{color:#c8d2ba}
body.n30-dark :is(.view h2,.view h3,.view h4){color:#f0e9cf}
body.n30-dark :is(.view p,.view label,.view small){color:#c3d3c0}
body.n30-dark :is(input,textarea,select){color:#f5f0db;background:#233a30;border-color:#527257}
body.n30-dark input::placeholder,body.n30-dark textarea::placeholder{color:#afc3b5}
body.n30-dark .modal-card,body.n30-dark .global-account-dialog,body.n30-dark .founder-workspace{background:#1c3025;color:#f3efda;border-color:#617956}
body.n30-dark .global-account-dialog :is(input,textarea){background:#263d2e;color:#fbf2d9;border-color:#597357}
body.n30-dark.hub-on-home main::before{background:linear-gradient(100deg,#0a1b19a3,#0b2116b8),url('assets/nature-universe-scenery.webp') center/cover fixed no-repeat}
body.n30-dark.hub-on-home #homeView .hub-card{background:#182c25f7;border:1px solid #526d54;box-shadow:0 23px 60px #050c08ad}
body.n30-dark.hub-on-home #homeView .hub-brand h1,body.n30-dark.hub-on-home #homeView .hub-brand p{color:#f8eccd}
body.n30-dark.hub-on-home #homeView :is(.hub-login,.hub-register,.hub-explore){background:#243a2cf0;border:1px solid #49634a}
body.n30-dark.hub-on-home #homeView :is(.hub-login,.hub-register,.hub-explore) :is(h2,p,.hub-world-name){color:#f1eddd}
body.n30-dark.hub-on-home #homeView .hub-daily{background:linear-gradient(110deg,#4c4427,#2e4329);border-color:#977a3a}
body.n30-dark.hub-on-home #homeView .hub-daily :is(h2,p){color:#fff5da}
body.n30-dark.hub-on-home #homeView .hub-field{background:#1c3026;border-color:#60745b}
body.n30-dark.hub-on-home #homeView .hub-field input{color:#f7f1da!important}
body.n30-dark.hub-on-home #homeView .hub-field input::placeholder{color:#c6d5c3}
body.n30-dark.hub-on-home #homeView .hub-world{background:#1a2c24;border-color:#51674e;color:#e7eecf}
body.n30-dark.hub-on-home #homeView .hub-future{color:#e0ddce;background:#3a4b42}
body.n30-dark.hub-on-home #homeView .hub-register .hub-action-register{color:#1c3824;background:#e7d7b2}
body.n30-dark.hub-on-home #homeView .hub-separator{color:#f0e5bf}

/* Animated SVG tree: leaves, branches, medals and growing stages share one palette. */
.n30-tree-intro{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:18px 21px;margin:18px 0 15px;background:linear-gradient(110deg,#f5e7ca,#e2e9ce);border:1px solid #d8c9a9;border-radius:22px;box-shadow:0 8px 30px #5b4d2c16}
.n30-tree-intro h2{margin:3px 0 6px;font-size:clamp(19px,2.2vw,27px);color:#2b4e35}
.n30-tree-intro p{max-width:680px;font-size:13px;line-height:1.55;color:#516852;margin:0}
.n30-overline{font-size:10px;letter-spacing:1.5px;font-weight:900;color:#876a33}
.n30-stage-strip{display:flex;align-items:center;gap:6px;flex-wrap:wrap}
.n30-stage-item{display:grid;justify-items:center;gap:2px;min-width:56px;filter:grayscale(1);opacity:.45}
.n30-stage-item.reached{filter:none;opacity:.75}
.n30-stage-item.current{opacity:1;transform:translateY(-2px)}
.n30-stage-item span{font-size:29px;line-height:1.1}
.n30-stage-item small{color:#476245;font-size:9px;text-align:center;font-weight:850}
body:not(.hub-on-home) .living-tree-board{grid-template-columns:minmax(330px,53%) 1fr;background:linear-gradient(130deg,#d5e3c4ee,#f5ebd4ee),url('assets/nature-universe-scenery.webp') center/cover;border:1px solid #c9c5a0;overflow:hidden;box-shadow:0 15px 40px #3b552431}
body:not(.hub-on-home) .living-tree-board .living-tree-wrap{min-width:0;min-height:365px;background:radial-gradient(circle at 50% 55%,#e9f4ca99,transparent 63%)}
body:not(.hub-on-home) .n30-living-svg{max-width:580px;filter:drop-shadow(0 8px 7px #283e2630)}
.n30-root{fill:none;stroke:#825834;stroke-width:13;stroke-linecap:round}
.n30-root.inactive{stroke:#9c9a83;stroke-dasharray:3 16;opacity:.24}
.n30-trunk,.n30-limb{fill:none;stroke:#8a5a33;stroke-linecap:round;stroke-linejoin:round}
.n30-crown-leaf{filter:drop-shadow(0 1px 2px #122d1a42)}
.n30-tree-medal text{font-family:Arial,sans-serif}
body:not(.hub-on-home) .tree-story small{color:#466a34}
body:not(.hub-on-home) .tree-story h2{color:#274832}
body:not(.hub-on-home) .tree-story p{color:#4e634e;font-size:13px}
body:not(.hub-on-home) .tree-meter>span{color:#3f5f44}
body:not(.hub-on-home) .tree-meter>i{background:#d3d7ba}
body:not(.hub-on-home) .branch-meters span{background:#f3e8d1;border-color:#c8d6b3;color:#416349}
body:not(.hub-on-home) .root-foundation :is(p,small),body:not(.hub-on-home) .trunk-progress :is(p,small){color:#556d57}
body:not(.hub-on-home) .root-task{color:#708276;background:#e9e4d1;border-color:#d4ceb4}
body:not(.hub-on-home) .root-task.done{color:#23603e;background:#e2f0d6;border-color:#99c48f}
body:not(.hub-on-home) .growth-achievement p{color:#657766}
body:not(.hub-on-home) .growth-achievement small{color:#4c7a56}
body:not(.hub-on-home) .achievement-path header p{color:#607063}
body:not(.hub-on-home) .level-panel{background:linear-gradient(120deg,#2f6b40,#244d33)}
body.n30-dark:not(.hub-on-home) .n30-tree-intro{background:linear-gradient(100deg,#1c3026,#2c3927);border-color:#496247}
body.n30-dark:not(.hub-on-home) .living-tree-board{background:linear-gradient(110deg,#102319ed,#26382bd7),url('assets/nature-universe-scenery.webp') center/cover;border-color:#526d49}
body.n30-dark:not(.hub-on-home) .living-tree-board .living-tree-wrap{background:radial-gradient(circle,#284f3b75,transparent 62%)}
body.n30-dark:not(.hub-on-home) .tree-story :is(h2,p,small){color:#e0ead4}
body.n30-dark:not(.hub-on-home) .tree-meter>span{color:#d7e6cb}
body.n30-dark:not(.hub-on-home) .branch-meters span{background:#233e2e;color:#d2e5cd;border-color:#416e4d}
body.n30-dark:not(.hub-on-home) .root-foundation :is(p,small),body.n30-dark:not(.hub-on-home) .trunk-progress :is(p,small){color:#c5d0be}
body.n30-dark:not(.hub-on-home) .root-task{background:#253a30;color:#c5d5c5;border-color:#506651}
body.n30-dark:not(.hub-on-home) .root-task.done{background:#304e33;color:#ccebc4;border-color:#80b374}
body.n30-dark:not(.hub-on-home) .achievement-path header p,body.n30-dark:not(.hub-on-home) .growth-achievement p{color:#c5d2bf}
body.n30-dark:not(.hub-on-home) .growth-achievement small{color:#add4ac}
body.n30-dark:not(.hub-on-home) .n30-stage-item small{color:#c8d9b9}

/* Unlockable favorite species achievements. No currency or backend mutation. */
.n30-specials{margin:22px 0;padding:22px;border:1px solid #d9c49c;border-radius:24px;background:linear-gradient(135deg,#f5e7c9,#ecdfbd);box-shadow:0 9px 26px #6c5a3826}
.n30-special-head h2{color:#3c4f32;margin:4px 0 6px;font-size:clamp(21px,2.5vw,29px)}
.n30-special-head p{color:#647260;margin:0 0 18px;font-size:13px}
.n30-special-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:15px}
.n30-special-card{display:flex;align-items:center;gap:19px;background:#fdf3dd;border:1px solid #d5c39e;border-radius:19px;padding:20px;min-width:0}
.n30-special-card.is-unlocked{border-color:#b49645;box-shadow:inset 0 0 0 1px #e9d89e,0 4px 14px #87653026}
.n30-special-medal{flex:none;width:78px;height:78px;display:grid;place-items:center;border-radius:50%;font-size:36px;border:6px double #ba9554;background:radial-gradient(circle,#fff5d9,#e8ce90);filter:grayscale(.75);box-shadow:0 6px 12px #5a462022}
.is-unlocked .n30-special-medal{filter:none}
.n30-special-label{font-size:9px;font-weight:900;letter-spacing:1.25px;color:#8b702f}
.n30-special-card h3{font-size:21px;margin:5px 0;color:#345338}
.n30-special-card p{font-size:12px;color:#586b52;margin:0 0 12px}
.n30-special-status{font-size:11px;color:#806d42;font-weight:800}
.is-unlocked .n30-special-status{color:#247442}
body.n30-dark .n30-specials{background:linear-gradient(130deg,#283526,#202d20);border-color:#766f46}
body.n30-dark .n30-special-card{background:#243a2c;border-color:#687451}
body.n30-dark .n30-special-card h3{color:#f8f0d5}
body.n30-dark .n30-special-card p{color:#c4d5bc}
body.n30-dark .n30-special-status{color:#f1cf81}
body.n30-dark .n30-special-head h2,body.n30-dark .n30-special-head p{color:#e9e8cf}
body.n30-dark .n30-special-label{color:#dfbf73}
@media(max-width:920px){body:not(.hub-on-home) .living-tree-board{grid-template-columns:1fr}.n30-tree-intro{flex-direction:column;align-items:flex-start}}
@media(max-width:680px){.n30-special-grid{grid-template-columns:1fr}.n30-special-card{padding:14px}.n30-stage-item{min-width:48px}.n30-stage-item small{font-size:8px}#homeView .hub-brand{padding-top:44px}#homeView .n30-home-theme,#homeView .n30-founder-home{font-size:11px;padding:7px 10px}.n30-theme-toggle,.n30-founder-notice{font-size:11px;padding:8px 10px}}
@media(prefers-reduced-motion:no-preference){.n30-crown-leaf{animation:n30-leaf-in .5s ease-out both}.n30-tree-medal{animation:n30-leaf-in .5s ease-out both}}
@keyframes n30-leaf-in{from{opacity:0;filter:brightness(1.3)}to{opacity:1;filter:brightness(1)}}

/* Night-mode finishing touches for readable hero content. */
body.n30-dark.hub-on-home #homeView .hub-benefits span{color:#f8e8bb!important} 
body.n30-dark.hub-on-home #homeView .hub-nature{background:linear-gradient(#c1e178,#70b96c);-webkit-background-clip:text;background-clip:text;color:transparent}
body.n30-dark.hub-on-home #homeView .hub-universe{background:linear-gradient(#ffdd7e,#e8a83a);-webkit-background-clip:text;background-clip:text;color:transparent}

/* =============== ORIGINAL FILE: nature-universe-v31.css =============== */
/* Nature Idle Universe V31 — targeted fixes from alpha feedback.
   Presentation only, no changes to Supabase schemas or progression rules. */

/* The dropdown is allowed to float OUTSIDE the hero. Previously V29
   used overflow:hidden on .hero and cut the options off. */
body:not(.hub-on-home) #gameView .hero{
 overflow:visible!important;position:relative;z-index:20;isolation:auto;
}
body:not(.hub-on-home) #gameView .hero::after{z-index:0;pointer-events:none}
body:not(.hub-on-home) #gameView .hero > *{position:relative;z-index:1}
body:not(.hub-on-home) #gameView .search-wrap{z-index:50;isolation:isolate}
body:not(.hub-on-home) #gameView .suggestions{
 position:absolute;top:calc(100% + 4px);left:0;right:100px;
 z-index:1000;max-height:min(330px,48vh);overflow-y:auto;
 overscroll-behavior:contain;scrollbar-width:thin;
 border-radius:14px;text-align:left;box-shadow:0 16px 28px #1b3a2c36;
}
body:not(.hub-on-home) #gameView .suggestion{min-height:44px;display:flex;align-items:center;gap:8px;color:#244634;font-size:15px}
body:not(.hub-on-home) #gameView .suggestion small{font-size:12px;opacity:.78;margin-left:auto}
body:not(.hub-on-home) #gameView .game-layout{position:relative;z-index:1}
body.n30-dark:not(.hub-on-home) #gameView .suggestions{background:#1a3026;border-color:#63836b;box-shadow:0 20px 30px #06170bd9}
body.n30-dark:not(.hub-on-home) #gameView .suggestion{color:#f2efdf;border-bottom:1px solid #395846}
body.n30-dark:not(.hub-on-home) #gameView .suggestion:hover,
body.n30-dark:not(.hub-on-home) #gameView .suggestion.active{background:#335d40;color:#fff}
body:not(.hub-on-home) #gameView .suggestion.active{background:#d8edcf}

/* Legible achievement content in beige mode. Some older CSS defines
   near-white text on the now-beige cards; explicit overrides are needed. */
body:not(.hub-on-home):not(.n30-dark) :is(.achievement-path,.growth-achievement,.root-foundation,.trunk-progress,.cloud-achievements){color:#294736}
body:not(.hub-on-home):not(.n30-dark) :is(.growth-achievement strong,.achievement-path h3,.root-foundation h3,.trunk-progress h3,.cloud-achievements strong){color:#234a33}
body:not(.hub-on-home):not(.n30-dark) :is(.growth-achievement p,.growth-achievement small,.achievement-path header p,.root-foundation p,.trunk-progress p,.cloud-tree-disclaimer){color:#516850}
body:not(.hub-on-home):not(.n30-dark) .v256-board :is(h2,h3,.v256-ach-heading h3){color:#204932}

/* Dark mode must style NESTED panels and hard-coded text, not just
   top-level cards. Applies across stats, achievements, journal, profile,
   animal dictionary, leaderboard, expedition, modals and hints. */
body.n30-dark:not(.hub-on-home) .stat{background:linear-gradient(135deg,#1c3227,#243b2d)!important;color:#f4efdb!important;border-color:#4b6852}
body.n30-dark:not(.hub-on-home) :is(.stat strong,.profile-summary-chip strong,.v256-dex-total strong,.profile-level strong,.v256-score){color:#bcf0b5!important}
body.n30-dark:not(.hub-on-home) :is(.stat small,.profile-summary-chip span,.v256-board p,.v256-board-footer,.v256-player-meta small,.v256-visibility small,.v256-ach-card small,.v256-ach-heading p,.v256-ach-action,.cloud-tree-disclaimer){color:#c6d8c6!important}
body.n30-dark:not(.hub-on-home) .v256-board,
body.n30-dark:not(.hub-on-home) .v256-dex-overview,
body.n30-dark:not(.hub-on-home) .profile-card{background:linear-gradient(140deg,#203a2b,#192b23)!important;border-color:#526d54;color:#f2edda}
body.n30-dark:not(.hub-on-home) :is(.v256-board h2,.v256-board h3,.v256-dex-overview h2,.profile-card h2,.profile-main h2,.achievement-path h3,.growth-achievement strong,.tree-story h2,.root-foundation h3,.trunk-progress h3,.cloud-achievements strong){color:#f7efd8!important}
body.n30-dark:not(.hub-on-home) :is(.v256-visibility,.v256-board-results,.v256-ach-card,.v256-ach-summary,.v256-rank-row.me,.v256-ach-card.unlocked,.v256-avatar,.profile-level,.profile-summary-chip,.cloud-achievement-list>div,.achievement-node,.achievement-node.done,.hint-drawer,.hint-drawer-top,.hint-empty,.hint-shop-row,.review-info,.v262-guest){background:#263d30!important;border-color:#547255!important;color:#f2efdb!important}
body.n30-dark:not(.hub-on-home) :is(.v256-visibility small,.v256-ach-card small,.v256-ach-heading p,.v256-board .v256-board-footer,.v256-board p,.profile-main small,.profile-level small,.achievement-copy small,.achievement-copy em,.cloud-journal-row small,.cloud-tree-disclaimer){color:#cad9c7!important}
body.n30-dark:not(.hub-on-home) :is(.v256-score,.v256-place,.v256-board-footer strong,.v256-board-results .v256-empty strong,.v256-dex-total strong,.v256-ach-card strong,.v256-ach-summary,.v256-rank-pill,.achievement-copy strong,.map-animal strong,.knowledge-value){color:#b7ecb3!important}
body.n30-dark:not(.hub-on-home) :is(.v256-tabs button,.v256-board-footer button,.v256-ach-filter button,.v256-rank-pill,.dex-tab,.map257-filters button,.map257-toolbar select,.v256-ach-action button:disabled){background:#2e4836;color:#edf1da;border-color:#67826a}
body.n30-dark:not(.hub-on-home) :is(.v256-tabs button.active,.v256-ach-filter button.active,.dex-tab.active){background:#396a46!important;color:#fff9e5!important;border-color:#81a87d}
body.n30-dark:not(.hub-on-home) :is(.difficulty-stat-row,.difficulty-stat-name,.v256-rank-row){color:#f1efdb}
body.n30-dark:not(.hub-on-home) :is(.difficulty-stat-row small,.difficulty-stat-name small){color:#c6d5c6}
body.n30-dark:not(.hub-on-home) :is(.tree-stage-badge,.submission-count,.n30-stage-strip,.root-task,.branch-meters span){color:#d8ebce}
body.n30-dark:not(.hub-on-home) .n30-tree-intro h2{color:#f7efd8}
body.n30-dark:not(.hub-on-home) .n30-tree-intro p{color:#c7d6bb}
body.n30-dark:not(.hub-on-home) .n30-overline{color:#e2c688}
body.n30-dark:not(.hub-on-home) :is(.achievement-path,.growth-achievement,.root-foundation,.trunk-progress){background:#20372a!important;border-color:#58715a!important;color:#f2efdb!important}
body.n30-dark:not(.hub-on-home) :is(.growth-achievement p,.growth-achievement small,.achievement-path header p,.root-foundation p,.trunk-progress p){color:#c8d7c7!important}
body.n30-dark:not(.hub-on-home) .growth-achievement.next{opacity:1;border-style:dashed;background:#22372d!important}
body.n30-dark:not(.hub-on-home) .achievement-bar{background:#496049}
body.n30-dark:not(.hub-on-home) :is(.cloud-journal,.cloud-achievements,.map-animal){color:#f1efdb!important}
body.n30-dark:not(.hub-on-home) :is(.cloud-journal-title span,.cloud-journal-row small,.map-animal small,.map-animal em){color:#c1d5c2!important}
body.n30-dark:not(.hub-on-home) :is(.hint-drawer,.hint-drawer-top){color:#f3efda!important}
body.n30-dark:not(.hub-on-home) :is(.hint-drawer-summary,.hint-item,.knowledge-item,.hint-progress,.hint-shop-row){color:#e1eedb!important;background:#263e30!important;border-color:#527354!important}
body.n30-dark:not(.hub-on-home) :is(.hint-item span,.knowledge-source,.hint-empty,.next-hint-message){color:#c7d5c7!important}
body.n30-dark:not(.hub-on-home) .global-account-dialog:not(.founder-workspace){color:#f1efdb;background:#1c3227;border-color:#658166}
body.n30-dark:not(.hub-on-home) .global-account-dialog:not(.founder-workspace) :is(small,.global-account-heading button){color:#e9e9d5}
body.n30-dark:not(.hub-on-home) .modal-card{color:#f1efdb;background:#1d3227;border-color:#5f7b5f}
body.n30-dark:not(.hub-on-home) .modal-card :is(h2,h3,li,p,small,label){color:#e3ebd9}
/* Dark overlays and the pale headings formerly produced near-white-on-white. */
body.n30-dark:not(.hub-on-home) .difficulty-stats-card,
body.n30-dark:not(.hub-on-home) .stats-card,
body.n30-dark:not(.hub-on-home) .stats-panel{background:#21382b;color:#f2eddb;border-color:#567558}
body.n30-dark:not(.hub-on-home) :is(.difficulty-stats-card h2,.difficulty-stat-heading h2,.stats-card h2){color:#f4efd8!important}
body.n30-dark:not(.hub-on-home) :is(.difficulty-stats-card p,.difficulty-stat-heading p){color:#c8d8c5!important}

/* Emoji rendering is explicitly supported in achievement badges, both
   in Firefox's SVG foreignObject and ordinary DOM. */
.n31-svg-emoji{display:flex;align-items:center;justify-content:center;width:100%;height:100%;font-family:'Segoe UI Emoji','Apple Color Emoji','Noto Color Emoji',sans-serif;font-size:25px;line-height:1;text-align:center}
body:not(.hub-on-home) :is(.growth-achievement>span,.achievement-path>header>span,.n30-special-medal,.legend-medal,.n30-stage-item span){font-family:'Segoe UI Emoji','Apple Color Emoji','Noto Color Emoji',sans-serif}
body:not(.hub-on-home) .n30-special-medal{filter:none!important}
body:not(.hub-on-home) .n31-secret-card.is-locked .n31-secret-medal{background:linear-gradient(155deg,#d4c9b5,#b5b8a8);border-color:#b5aa97;color:#30432f}
body.n30-dark:not(.hub-on-home) .n31-secret-card.is-locked .n31-secret-medal{background:#34473e;border-color:#68816f}
body:not(.hub-on-home) .n31-secret-card.is-locked{border-style:dashed}
body:not(.hub-on-home) .n31-secret-card.is-locked h3{letter-spacing:.2px}

@media(max-width:700px){
 body:not(.hub-on-home) #gameView .suggestions{right:85px;max-height:min(295px,45dvh)}
 body:not(.hub-on-home) #gameView .suggestion{padding:12px;font-size:14px}
}
@media(prefers-reduced-motion:reduce){.n30-crown-leaf,.n30-tree-medal{animation:none}}

/* V31 dark-mode review: game table and statistics use matched text/background. */
body.n30-dark:not(.hub-on-home) :is(.meta-card,.difficulty-stats-card,.hint-card,.cloud-journal,.profile-editor,.profile-summary-chip,.review-info){
 background:#20362a!important;color:#edf1dd!important;border-color:#526d55!important;
}
body.n30-dark:not(.hub-on-home) :is(.meta-card h2,.meta-card h3,.difficulty-stats-card h2,.hint-card h2,.v256-board h2,.v256-board h3){
 color:#f8efd7!important;
}
body.n30-dark:not(.hub-on-home) :is(.meta-card p,.meta-card .small-note,.meta-card small,.mode-lock-message,.nature-build-label){color:#ccd9c5!important}
body.n30-dark:not(.hub-on-home) .difficulty-stat-row{
 background:#2a4334!important;border-color:#5b7b60!important;color:#f2edd7!important;
}
body.n30-dark:not(.hub-on-home) .difficulty-stat-row :is(b,strong){color:#f9eed4!important}
body.n30-dark:not(.hub-on-home) .difficulty-stat-row small{color:#c5d9c5!important}
body.n30-dark:not(.hub-on-home) #gameView .guess-table-card .section-head{
 background:linear-gradient(90deg,#234630,#1e3529)!important;border-color:#5a7758;
}
body.n30-dark:not(.hub-on-home) #gameView .guess-table-card .section-head :is(h2,span){color:#f2edd6!important}
body.n30-dark:not(.hub-on-home) #gameView .guess-table-card th{background:#294432!important;color:#f1edd9!important;border-color:#48684e}
body.n30-dark:not(.hub-on-home) #gameView .guess-table-card td{background:#1d3428!important;color:#edf1dc!important;border-color:#426047}
body.n30-dark:not(.hub-on-home) #gameView .guess-table-card td:first-child,
body.n30-dark:not(.hub-on-home) #gameView .guess-table-card th:first-child{background:#253f30!important;color:#fff4d6!important}
/* Retain the semantic correct/near/incorrect chip colors, even at night. */
body.n30-dark:not(.hub-on-home) #gameView .guess-table-card .correct,
body.n30-dark:not(.hub-on-home) #gameView .guess-table-card .range-chip.match{background:#a9e1b2!important;color:#104529!important}
body.n30-dark:not(.hub-on-home) #gameView .guess-table-card .near{background:#efd490!important;color:#60410a!important}
body.n30-dark:not(.hub-on-home) #gameView .guess-table-card .wrong,
body.n30-dark:not(.hub-on-home) #gameView .guess-table-card .range-chip.nomatch{background:#efb9b7!important;color:#6a2426!important}
body.n30-dark:not(.hub-on-home) #gameView .guess-table-card .cloud-neutral{background:#577363!important;color:#f8f5e5!important}
body.n30-dark:not(.hub-on-home) #gameView :is(.mode-description,.mode-row,.difficulty-picker){color:#d7e5ca!important}
body.n30-dark:not(.hub-on-home) #gameView .mode-description{background:#263d2f!important;border-color:#4d6f54!important}
body.n30-dark:not(.hub-on-home) #gameView :is(.difficulty-label,.difficulty-label small){color:#d8e5cd!important}
body.n30-dark:not(.hub-on-home) #gameView :is(.mode-select,.difficulty-picker select){background:#263d30!important;color:#f7f1dc!important;border-color:#57785a!important}
body.n30-dark:not(.hub-on-home) #gameView .play-type-switch{background:#273f32!important;border-color:#537356}
body.n30-dark:not(.hub-on-home) #gameView .play-type-btn:not(.active){color:#e7ecd7!important}
body.n30-dark:not(.hub-on-home) #gameView .guess-table-card :is(.section-head .streak,.section-head .streak span){color:#f1c27d!important}
/* Persistent theme choice should color the complete status banner and inputs. */
body.n30-dark:not(.hub-on-home) :is(.cloud-site-notice,.status-banner){background:#243e31!important;color:#dbeada!important;border-color:#507252}
body.n30-dark:not(.hub-on-home) .cloud-site-notice.error{background:#492d27!important;color:#ffe0d0!important}

/* =============== ORIGINAL FILE: nature-universe-v32.css =============== */

/* V32: dark-mode NatureDex polish, optional paw cursor, public tree preview */
:root{
  --n32-paw-cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='28' height='28' viewBox='0 0 28 28'%3E%3Cg fill='%232b5f3b' stroke='%23f3e5b5' stroke-width='1.4'%3E%3Cellipse cx='14' cy='18' rx='6.6' ry='5.3'/%3E%3Cellipse cx='7.2' cy='10.4' rx='2.6' ry='3.5' transform='rotate(-20 7.2 10.4)'/%3E%3Cellipse cx='11.7' cy='6.7' rx='2.4' ry='3.3' transform='rotate(-6 11.7 6.7)'/%3E%3Cellipse cx='16.4' cy='6.8' rx='2.4' ry='3.3' transform='rotate(8 16.4 6.8)'/%3E%3Cellipse cx='20.8' cy='10.6' rx='2.6' ry='3.5' transform='rotate(22 20.8 10.6)'/%3E%3C/g%3E%3C/svg%3E") 6 3, pointer;
}
body:not(.hub-on-home) :is(button,.nav-btn,.icon-btn,a[href],.animal-card,.suggestion,.dex-tab,.v256-tabs button,.v256-ach-filter button,.map257-filters button,.life-row button,.modal-close,.primary,summary,[role='button']){cursor:var(--n32-paw-cursor)}

body.n30-dark:not(.hub-on-home) #anidexView .filters{
  background:linear-gradient(145deg,#20372a,#182c22);
  border:1px solid #56755a;
  border-radius:18px;
  padding:14px;
  box-shadow:0 14px 28px rgba(0,0,0,.15);
}
body.n30-dark:not(.hub-on-home) #anidexView .filters input,
body.n30-dark:not(.hub-on-home) #anidexView .filters select{
  background:#263e30;
  color:#f3efdc;
  border:1px solid #63836b;
}
body.n30-dark:not(.hub-on-home) #anidexView .filters input::placeholder{color:#b9ccba}
body.n30-dark:not(.hub-on-home) #anidexView .dex-icon-legend{display:flex;gap:8px;flex-wrap:wrap}
body.n30-dark:not(.hub-on-home) #anidexView .dex-icon-legend>span{
  background:#21362a;
  border:1px solid #557358;
  color:#eef2de;
  border-radius:999px;
  padding:7px 10px;
}
body.n30-dark:not(.hub-on-home) #anidexView .gold-key{
  background:#4b3a16 !important;
  border-color:#b9933b !important;
  color:#ffe8ab !important;
}
body.n30-dark:not(.hub-on-home) #anidexView .animal-card{
  background:linear-gradient(145deg,#22382b,#192b23);
  border-color:#567357;
  color:#f3efdc;
  box-shadow:0 10px 24px rgba(0,0,0,.16);
}
body.n30-dark:not(.hub-on-home) #anidexView .animal-card:hover{border-color:#83a57d;transform:translateY(-4px)}
body.n30-dark:not(.hub-on-home) #anidexView .animal-art{
  background:linear-gradient(145deg,#3f4441,#707571);
  color:#f7f2e2;
}
body.n30-dark:not(.hub-on-home) #anidexView .animal-info{background:rgba(14,22,18,.28)}
body.n30-dark:not(.hub-on-home) #anidexView .animal-info h3,
body.n30-dark:not(.hub-on-home) #anidexView .animal-card .animal-name,
body.n30-dark:not(.hub-on-home) #anidexView .animal-card strong{color:#f7efd8 !important}
body.n30-dark:not(.hub-on-home) #anidexView .scientific,
body.n30-dark:not(.hub-on-home) #anidexView .animal-info .scientific,
body.n30-dark:not(.hub-on-home) #anidexView .animal-info p,
body.n30-dark:not(.hub-on-home) #anidexView .animal-card small{color:#c8d8c7 !important}
body.n30-dark:not(.hub-on-home) #anidexView .badge,
body.n30-dark:not(.hub-on-home) #anidexView .dex-status,
body.n30-dark:not(.hub-on-home) #anidexView .dex-status-chip,
body.n30-dark:not(.hub-on-home) #anidexView .dex-card-status span{
  background:#304a39 !important;
  border-color:#67826a !important;
  color:#ebf1dd !important;
}
body.n30-dark:not(.hub-on-home) #anidexView .empty{color:#d5dfd1}

body:not(.hub-on-home) .n32-tree-preview{
  max-width:1180px;
  margin:12px auto 0;
  border:1px dashed #b8c9a9;
  background:linear-gradient(145deg,#f2ebd8,#ebe2ce);
  color:#244030;
  border-radius:18px;
  padding:14px 16px;
  display:grid;
  gap:12px;
}
body.n30-dark:not(.hub-on-home) .n32-tree-preview{
  border-color:#5d7d62;
  background:linear-gradient(145deg,#20372a,#182b22);
  color:#edf2dc;
}
body:not(.hub-on-home) .n32-tree-preview-head{display:flex;justify-content:space-between;gap:14px;align-items:flex-start;flex-wrap:wrap}
body:not(.hub-on-home) .n32-tree-preview-head h3{margin:0 0 4px;font-size:18px}
body:not(.hub-on-home) .n32-tree-preview-head p{margin:0;color:#5f725a;font-size:13px;line-height:1.45}
body.n30-dark:not(.hub-on-home) .n32-tree-preview-head p{color:#c9d8c8}
body:not(.hub-on-home) .n32-tree-pill{display:inline-flex;align-items:center;gap:8px;padding:7px 10px;border-radius:999px;background:#e5f0dc;border:1px solid #c8d8b4;font-size:12px;font-weight:800;color:#2f573b}
body.n30-dark:not(.hub-on-home) .n32-tree-pill{background:#294235;border-color:#608066;color:#ecf2dd}
body:not(.hub-on-home) .n32-tree-preview-controls{display:grid;grid-template-columns:auto 1fr auto;gap:12px;align-items:center}
body:not(.hub-on-home) .n32-tree-preview-buttons{display:flex;gap:8px;flex-wrap:wrap}
body:not(.hub-on-home) .n32-tree-preview button{
  border:1px solid #8fb08b;
  background:#f8f3e8;
  color:#234334;
  border-radius:12px;
  padding:10px 12px;
  font-weight:800;
}
body:not(.hub-on-home) .n32-tree-preview button:hover{transform:translateY(-1px)}
body.n30-dark:not(.hub-on-home) .n32-tree-preview button{background:#2b4435;border-color:#6f8c70;color:#f2efdc}
body:not(.hub-on-home) .n32-tree-preview input[type='range']{width:100%;accent-color:#4e915f}
body:not(.hub-on-home) .n32-tree-preview small{color:#657963}
body.n30-dark:not(.hub-on-home) .n32-tree-preview small{color:#c6d6c7}
@media(max-width:760px){body:not(.hub-on-home) .n32-tree-preview-controls{grid-template-columns:1fr}body:not(.hub-on-home) .n32-tree-preview-buttons{justify-content:flex-start}}

/* =============== ORIGINAL FILE: nature-academy-v33.css =============== */
/* Nature Academy V33 — fully scoped visual language, beige + woodland night */
#acTopicsHeading{scroll-margin-top:110px}
#acQuizPanel{scroll-margin-top:110px}
#acLearningPanel{scroll-margin-top:110px}
.ac-view{--ac-surface:#f6efdf;--ac-card:#fff9ed;--ac-card-2:#e9efd9;--ac-border:#d9cdb5;--ac-ink:#253d2e;--ac-muted:#586d59;--ac-accent:#286d3f;--ac-accent-soft:#dae9ce;--ac-gold:#eec87c;--ac-shade:rgba(48,52,27,.09);--ac-correct:#d8edce;--ac-wrong:#f8ded6;color:var(--ac-ink);font-size:16px}
body.n30-dark .ac-view{--ac-surface:#192a22;--ac-card:#23372a;--ac-card-2:#2e4435;--ac-border:#4d6852;--ac-ink:#f0eddc;--ac-muted:#c8d4c5;--ac-accent:#a8e69f;--ac-accent-soft:#344f3c;--ac-gold:#d7af64;--ac-shade:rgba(0,0,0,.22);--ac-correct:#284a36;--ac-wrong:#51312d}
#acTopicsHeading h2,.ac-view h2,.ac-view h3,.ac-view strong,.ac-view li,.ac-view p{color:var(--ac-ink)}
.ac-view .ac-shell{max-width:1270px;margin:0 auto;display:grid;gap:22px}
.ac-view .ac-hero{position:relative;isolation:isolate;overflow:hidden;display:grid;grid-template-columns:minmax(0,1.4fr) minmax(225px,.75fr);align-items:center;gap:24px;border:1px solid var(--ac-border);border-radius:26px;padding:clamp(22px,4vw,44px);background:linear-gradient(125deg,var(--ac-card),var(--ac-card-2));box-shadow:0 16px 45px var(--ac-shade)}
.ac-view .ac-hero::before{content:'✦';position:absolute;right:18px;top:2px;font-size:110px;opacity:.05;z-index:-1}
.ac-view .ac-eyebrow{font-weight:900;letter-spacing:.14em;font-size:11px;color:var(--ac-accent)}
.ac-view .ac-hero h1{font-size:clamp(36px,4.3vw,61px);line-height:1.08;letter-spacing:-.04em;margin:12px 0;color:var(--ac-ink)}
.ac-view .ac-hero h1 em{font-style:normal;color:var(--ac-accent)}
.ac-view .ac-hero p{font-size:17px;line-height:1.65;max-width:590px;margin:8px 0 22px;color:var(--ac-muted)}
.ac-view .ac-hero small{color:var(--ac-muted);font-size:12px;line-height:1.5;display:block;max-width:650px;margin-top:18px}
.ac-view .ac-hero-image{width:100%;max-width:330px;aspect-ratio:4/3;object-fit:cover;justify-self:center;border-radius:22px;border:4px solid var(--ac-card);box-shadow:0 14px 30px var(--ac-shade)}
.ac-view button{cursor:pointer}
.ac-view .ac-hero-actions,.ac-view .ac-flash-controls,.ac-view .ac-quiz-actions{display:flex;gap:10px;flex-wrap:wrap}
.ac-view .ac-btn{border:1px solid var(--ac-border);padding:12px 19px;border-radius:12px;font-size:14px;font-weight:850;transition:filter .15s,transform .15s;color:var(--ac-ink);background:var(--ac-card)}
.ac-view .ac-btn:hover{transform:translateY(-1px);filter:brightness(1.05)}
.ac-view .ac-primary{background:#367b49;color:#fff;border-color:#367b49;box-shadow:0 5px 13px var(--ac-shade)}
body.n30-dark .ac-view .ac-primary{background:#507e51;color:#fff3de;border-color:#7aa076}
.ac-view .ac-secondary{background:var(--ac-card);color:var(--ac-ink)}
.ac-view .ac-dashboard{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}
.ac-view .ac-stat{padding:18px 20px;border:1px solid var(--ac-border);border-radius:18px;background:var(--ac-card);display:grid;gap:6px;box-shadow:0 6px 18px var(--ac-shade)}
.ac-view .ac-stat span{font-size:13px;color:var(--ac-muted)}
.ac-view .ac-stat strong{font-size:30px;line-height:1.1;color:var(--ac-accent)}
.ac-view .ac-stat small{color:var(--ac-muted)}
.ac-view .ac-section-heading{display:flex;justify-content:space-between;gap:12px;align-items:end;margin-top:8px}
.ac-view .ac-section-heading h2{font-size:27px;margin:8px 0 5px}
.ac-view .ac-section-heading p{color:var(--ac-muted);margin:0;font-size:14px}
.ac-view .ac-soft-chip{padding:9px 12px;font-size:12px;font-weight:800;white-space:nowrap;border:1px solid var(--ac-border);background:var(--ac-card-2);border-radius:999px;color:var(--ac-ink)}
.ac-view .ac-topic-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:13px}
.ac-view .ac-topic{text-align:left;display:flex;flex-direction:column;gap:9px;background:var(--ac-card);color:var(--ac-ink);border:1px solid var(--ac-border);border-radius:18px;padding:18px 15px;min-height:183px;box-shadow:0 7px 18px var(--ac-shade)}
.ac-view .ac-topic.selected{border:2px solid #609466;padding:17px 14px;background:var(--ac-card-2)}
.ac-view .ac-topic:hover{transform:translateY(-2px)}
.ac-view .ac-topic-icon{font-size:34px}
.ac-view .ac-topic strong{font-size:16px}
.ac-view .ac-topic small{font-size:12px;line-height:1.4;color:var(--ac-muted);flex:1}
.ac-view .ac-topic b{font-size:12px;color:var(--ac-accent)}
.ac-view .ac-workbench{display:grid;grid-template-columns:minmax(0,1.8fr) minmax(270px,.9fr);gap:16px;align-items:stretch}
.ac-view .ac-panel{border:1px solid var(--ac-border);border-radius:22px;background:var(--ac-surface);padding:22px;box-shadow:0 10px 25px var(--ac-shade)}
.ac-view .ac-panel-head{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;margin-bottom:19px}
.ac-view .ac-panel-head h2{font-size:22px;margin:6px 0 0}
.ac-view .ac-panel-head p{font-size:13px;max-width:640px;line-height:1.6;color:var(--ac-muted);margin:8px 0 0}
.ac-view .ac-flashcard{border-radius:20px;background:var(--ac-card);min-height:275px;padding:26px 25px;display:grid;align-content:center;justify-items:start;gap:12px;border:1px solid var(--ac-border)}
.ac-view .ac-flash-emoji{font-size:52px}
.ac-view .ac-flashcard small{color:var(--ac-accent);font-weight:900;font-size:11px;letter-spacing:.06em}
.ac-view .ac-flashcard h3{font-size:clamp(19px,2vw,25px);line-height:1.3;margin:0}
.ac-view .ac-flash-answer{margin-top:2px;padding:16px;border-radius:14px;border-left:4px solid #68a170;color:var(--ac-ink);line-height:1.65;background:var(--ac-card-2)}
.ac-view .ac-flash-controls{justify-content:space-between;margin-top:13px}
.ac-view .ac-coach{display:flex;flex-direction:column;gap:14px}
.ac-view .ac-coach h2{margin:0;font-size:25px}
.ac-view .ac-coach p{margin:0;line-height:1.6;color:var(--ac-muted)}
.ac-view .ac-coach ul{padding-left:20px;margin:0;display:grid;gap:9px;font-size:14px;line-height:1.5}
.ac-view .ac-coach-future{display:flex;gap:12px;align-items:flex-start;background:var(--ac-card);border:1px solid var(--ac-border);border-radius:14px;padding:12px}
.ac-view .ac-coach-future>span{font-size:27px}
.ac-view .ac-coach-future div{display:grid;gap:5px}
.ac-view .ac-coach-future strong{font-size:13px}
.ac-view .ac-coach-future small{color:var(--ac-muted);line-height:1.5}
.ac-view .ac-quiz{background:var(--ac-card);margin-bottom:0}
.ac-view .ac-quiz-idle,.ac-view .ac-quiz-done{display:grid;justify-items:center;text-align:center;gap:13px;padding:28px 16px;border:1px dashed var(--ac-border);border-radius:18px;background:var(--ac-surface)}
.ac-view .ac-quiz-illustration{font-size:55px}
.ac-view .ac-quiz-idle strong{font-size:20px}
.ac-view .ac-quiz-idle p,.ac-view .ac-quiz-done p{font-size:14px;color:var(--ac-muted);max-width:580px;line-height:1.6;margin:0}
.ac-view .ac-quiz-top{display:flex;justify-content:space-between;align-items:center;gap:12px}
.ac-view .ac-timer{background:var(--ac-card-2);border:1px solid var(--ac-border);padding:10px 14px;border-radius:999px;font-weight:900;font-variant-numeric:tabular-nums;color:var(--ac-ink)}
.ac-view .ac-timer.low{color:#bc3d33;border-color:#cc7b69}
.ac-view .ac-quiz-progress{height:10px;border-radius:50px;background:var(--ac-card-2);margin:13px 0 22px;overflow:hidden}
.ac-view .ac-quiz-progress span{display:block;background:#6a9d61;height:100%;width:0%;transition:width .2s}
.ac-view .ac-quiz-topic{color:var(--ac-accent);font-weight:900;font-size:11px;letter-spacing:.11em}
.ac-view #acQuizQuestion{font-size:clamp(20px,2.3vw,26px);margin:8px 0 19px;line-height:1.4}
.ac-view .ac-quiz-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.ac-view .ac-option{text-align:left;min-height:60px;padding:14px 16px;border:1px solid var(--ac-border);border-radius:14px;background:var(--ac-surface);color:var(--ac-ink);font-size:15px;font-weight:700}
.ac-view .ac-option:hover:not(:disabled){border-color:#629e6c;background:var(--ac-accent-soft)}
.ac-view .ac-option.correct{background:var(--ac-correct);color:var(--ac-ink);border:2px solid #669b68}
.ac-view .ac-option.incorrect{background:var(--ac-wrong);color:var(--ac-ink);border:2px solid #bc6d66}
.ac-view .ac-option:disabled{cursor:default;opacity:1}
.ac-view .ac-quiz-feedback{border:1px solid var(--ac-border);border-radius:14px;background:var(--ac-card-2);padding:15px;margin-top:14px;line-height:1.5;color:var(--ac-ink)}
.ac-view .ac-quiz-actions{justify-content:space-between;margin-top:20px}
.ac-view .ac-quiz-done h3{font-size:24px;margin:0}
.ac-view .ac-footer{color:var(--ac-muted);font-size:12px;text-align:center;margin:0 0 6px}
@media(max-width:1120px){.ac-view .ac-topic-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.ac-view .ac-workbench{grid-template-columns:1fr}}
@media(max-width:720px){.ac-view .ac-hero{grid-template-columns:1fr}.ac-view .ac-hero-image{max-height:180px;aspect-ratio:16/9;justify-self:stretch;max-width:unset}.ac-view .ac-topic-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.ac-view .ac-dashboard{grid-template-columns:1fr}.ac-view .ac-quiz-options{grid-template-columns:1fr}.ac-view .ac-panel{padding:17px}.ac-view .ac-flashcard{padding:20px}.ac-view .ac-section-heading{align-items:flex-start}}
@media(max-width:400px){.ac-view .ac-topic-grid{grid-template-columns:1fr}.ac-view .ac-topic{min-height:140px}.ac-view .ac-flash-controls .ac-btn{flex:1}.ac-view .ac-hero h1{font-size:36px}}
/* Favor the Academy owl on the right of the shared illustration. */
.ac-view .ac-hero-image{object-position:right center}

/* =============== ORIGINAL FILE: nature-clarity-v34.css =============== */
/* V34: ruhiger, selbsterklärender Expeditionsmodus und klare Vergleichsfarben. */
#gameView .n34-expedition{max-width:700px;margin:12px auto 20px;padding:20px;border-radius:22px;text-align:left;display:grid;gap:13px;background:#faf0dd;border:1px solid #deceb1;box-shadow:0 12px 26px #4d4c3424}
#gameView .n34-expedition.hidden{display:none!important}
#gameView .n34-expedition-head{display:flex;gap:12px;align-items:center;flex-wrap:nowrap}
#gameView .n34-expedition-head .expedition-compass{width:46px;height:46px;font-size:24px;flex:0 0 46px;border-color:#bed3b7;background:#eaf1df}
#gameView .n34-expedition-head h3{margin:0 0 4px;font-size:20px;line-height:1.2;color:#284534}
#gameView .n34-expedition-head p{margin:0;color:#60745b;font-size:13px;line-height:1.45}
#gameView .n34-expedition #expeditionStatus:empty{display:none}
#gameView .n34-start-area{margin:0;padding:13px;display:grid!important;grid-template-columns:minmax(0,1fr) auto;align-items:end;gap:13px;flex-wrap:nowrap;border:1px solid #e0d3b8;border-radius:16px;background:#f4e8d2}
#gameView .n34-destination{min-width:0}
#gameView .n34-destination label{display:block;margin:0 0 7px;font-size:12px;letter-spacing:.01em;font-weight:850;color:#31553b}
#gameView .n34-destination select{width:100%;max-width:100%;min-height:45px;background:#fff9eb!important;border:1px solid #bdcfb8!important;border-radius:11px;color:#284433!important;padding:10px 11px;font-size:14px;font-weight:700}
#gameView .n34-destination select option{color:#284433!important;background:#fff9eb!important}
#gameView .n34-expedition-action{display:flex;flex-direction:column;align-items:stretch;gap:6px}
#gameView .n34-expedition-action .expedition-pay{margin:0;display:block}
#gameView .n34-expedition-action .primary{min-height:45px;padding:11px 16px;white-space:nowrap;background:#2e7541;color:#fff9eb;border:0;border-radius:11px}
#gameView .n34-expedition-action small{display:block;text-align:center;font-size:11px;color:#596d56}
#gameView .n34-account-prompt{display:flex;align-items:center;gap:5px;flex-wrap:wrap;margin:0;padding:8px 10px;border-radius:11px;background:#f1dfc0;color:#314f35;font-size:12px}
#gameView .n34-account-prompt.hidden{display:none!important}
#gameView .n34-account-prompt button{color:#236a3b;font-weight:850}
#gameView .n34-expedition-help{border-top:1px solid #deceb1;padding:10px 3px 0}
#gameView .n34-expedition-help summary{font-size:13px;font-weight:750;color:#386349;cursor:pointer;list-style:revert}
#gameView .n34-expedition-help summary:hover{text-decoration:underline}
#gameView .n34-expedition-help-content{padding:12px 0 0;display:grid;gap:9px}
#gameView .n34-expedition-help-content p{margin:0;color:#52664f;font-size:12px;line-height:1.55}
#gameView .n34-expedition-help-content .ticket-guide-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}
#gameView .n34-expedition-help-content .ticket-guide-grid span{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:0;padding:9px;background:#e8efdd;border-radius:9px;color:#2d5339;font-size:12px}
#gameView .n34-expedition-help-content .ticket-guide-grid b{float:none}
#gameView .n34-expedition-help-content small{color:#536a52;font-size:12px}
#gameView .n34-color-guide{display:flex;align-items:center;justify-content:center;gap:14px;flex-wrap:wrap;margin:8px auto 10px;font-size:12px;color:#51674d}
#gameView .n34-color-guide span{display:inline-flex;gap:6px;align-items:center}
#gameView .n34-legend-dot{display:inline-block;width:12px;height:12px;border-radius:4px;border:1px solid rgba(0,0,0,.11)}
#gameView .n34-match{background:#4eb96d}
#gameView .n34-partial{background:#efd276}
#gameView .n34-wrong{background:#e88e83}
body.n30-dark:not(.hub-on-home) #gameView .n34-expedition{background:#1c3025;border-color:#506d54}
body.n30-dark:not(.hub-on-home) #gameView .n34-expedition-head .expedition-compass{background:#2d4938;border-color:#5e7e62}
body.n30-dark:not(.hub-on-home) #gameView .n34-expedition-head h3{color:#f3edda}
body.n30-dark:not(.hub-on-home) #gameView .n34-expedition-head p{color:#c5d6c4}
body.n30-dark:not(.hub-on-home) #gameView .n34-start-area{background:#223b2c;border-color:#58745b}
body.n30-dark:not(.hub-on-home) #gameView .n34-destination label{color:#d5e5d1}
body.n30-dark:not(.hub-on-home) #gameView .n34-destination select{background:#2b4937!important;border-color:#739375!important;color:#f7eedc!important}
body.n30-dark:not(.hub-on-home) #gameView .n34-destination select option{background:#263e30!important;color:#f7eedc!important}
body.n30-dark:not(.hub-on-home) #gameView .n34-expedition-action small{color:#ccd9ca}
body.n30-dark:not(.hub-on-home) #gameView .n34-expedition-action .primary{background:#3e8753!important;color:#fff9eb!important}
body.n30-dark:not(.hub-on-home) #gameView .n34-account-prompt{background:#304533;color:#f0ecdb}
body.n30-dark:not(.hub-on-home) #gameView .n34-account-prompt button{color:#d1efbb}
body.n30-dark:not(.hub-on-home) #gameView .n34-expedition-help{border-color:#4d6b54}
body.n30-dark:not(.hub-on-home) #gameView .n34-expedition-help summary{color:#cfe7be}
body.n30-dark:not(.hub-on-home) #gameView .n34-expedition-help-content p,body.n30-dark:not(.hub-on-home) #gameView .n34-expedition-help-content small{color:#cedcca}
body.n30-dark:not(.hub-on-home) #gameView .n34-expedition-help-content .ticket-guide-grid span{background:#294435;color:#e7efdd}
body.n30-dark:not(.hub-on-home) #gameView .n34-color-guide{color:#d7e5cf}
@media(max-width:630px){#gameView .n34-expedition{padding:14px}#gameView .n34-start-area{grid-template-columns:minmax(0,1fr)}#gameView .n34-expedition-action .primary{width:100%}#gameView .n34-expedition-help-content .ticket-guide-grid{grid-template-columns:minmax(0,1fr)}}

/* V34 – zentraler Hilfe-Dialog: sechs kurze Themen statt langer Anleitung */
#helpModal .n34-help-dialog{
  width:min(920px,calc(100vw - 28px));max-width:920px;max-height:min(90vh,860px);
  padding:0!important;overflow:auto;background:#f4ecd9!important;color:#263e30!important;
  border:1px solid #dacaaa;box-shadow:0 22px 72px rgba(17,33,21,.38);
  scrollbar-gutter:stable;
}
#helpModal .n34-help{padding:25px 27px 18px;display:grid;gap:14px}
#helpModal .n34-help-dialog .modal-close{z-index:2;top:13px;right:17px;font-size:27px;color:#526b56!important;border-radius:10px;padding:4px 9px;line-height:1.2}
#helpModal .n34-help-dialog .modal-close:hover{background:#e3dbc7}
#helpModal .n34-help-head{padding-right:35px}
#helpModal .n34-help-overline{font-size:11px;letter-spacing:1.5px;color:#49724c;font-weight:900}
#helpModal .n34-help-head h2{font-size:clamp(23px,3vw,29px);margin:5px 0 8px;line-height:1.15;color:#294d34!important}
#helpModal .n34-help-head p{color:#596a58!important;font-size:13px;line-height:1.55;margin:0}
#helpModal .n34-help-tabs{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
#helpModal .n34-help-tab{border:1px solid #d2d9bb;color:#385643;background:#e8ead8;border-radius:12px;min-height:43px;padding:10px 9px;font-weight:850;font-size:13px;cursor:pointer;transition:background .15s,border-color .15s}
#helpModal .n34-help-tab:hover{background:#dce6d1;border-color:#9db99a}
#helpModal .n34-help-tab[aria-selected="true"]{background:#2e6a40;color:#fff9eb;border-color:#225734;box-shadow:0 5px 13px rgba(32,80,41,.15)}
#helpModal .n34-help-panel{padding:20px 21px;border-radius:16px;border:1px solid #e0d3bb;background:#fff9ed;display:grid;gap:13px;line-height:1.5}
#helpModal .n34-help-panel.hidden{display:none!important}
#helpModal .n34-help-panel h3{margin:0;color:#284b32!important;font-size:19px}
#helpModal .n34-help-panel p{margin:0;color:#4e6352!important;font-size:13px;line-height:1.65}
#helpModal .n34-help-panel p strong,#helpModal .n34-help-panel b{color:#285237}
#helpModal .n34-help-steps{display:grid;gap:7px}
#helpModal .n34-help-steps>div{display:flex;gap:11px;align-items:center;padding:9px 11px;border:1px solid #dce5cf;background:#f2f4e9;border-radius:11px;color:#2c4836;font-size:13px}
#helpModal .n34-help-steps b{display:grid;place-items:center;flex:0 0 26px;width:26px;height:26px;color:#fff9eb!important;background:#508c56;border-radius:50%;font-size:13px}
#helpModal .n34-help-colors{display:flex;gap:10px;flex-wrap:wrap}
#helpModal .n34-help-colors span{display:inline-flex;align-items:center;gap:6px;flex-wrap:wrap;font-size:12px;background:#f4ecdc;border:1px solid #e3d9c4;padding:8px 9px;border-radius:10px;color:#38523c}
#helpModal .n34-help-colors i{height:12px;width:12px;display:inline-block;border-radius:4px}
#helpModal .n34-help-colors i.n34-match{background:#4fb66d}
#helpModal .n34-help-colors i.n34-partial{background:#ebcb63}
#helpModal .n34-help-colors i.n34-wrong{background:#e88880}
#helpModal .n34-help-detail{border:1px solid #d9dccb;background:#eef1df;border-radius:11px;padding:11px 13px;color:#375540}
#helpModal .n34-help-detail summary{cursor:pointer;font-size:13px;font-weight:800}
#helpModal .n34-help-detail p{padding-top:10px}
#helpModal .n34-help-box{border:1px solid #e5d4ac;background:#f5edce;padding:13px;border-radius:13px;display:grid;gap:10px;color:#39563b}
#helpModal .n34-help-rewards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
#helpModal .n34-help-rewards span{display:flex;justify-content:space-between;gap:10px;background:#fff8e5;border:1px solid #e4d8ba;border-radius:9px;padding:9px;color:#3b5442;font-size:12px}
#helpModal .n34-help-meaning{display:grid;gap:8px}
#helpModal .n34-help-meaning>div{display:grid;grid-template-columns:minmax(135px,185px) 1fr;gap:12px;padding:12px;border-radius:11px;border:1px solid #dce3cf;background:#f3f3e5;font-size:13px}
#helpModal .n34-help-meaning b{color:#2e5f3c}
#helpModal .n34-help-meaning span{color:#4f6755}
#helpModal .n34-help-aside{background:#edf0dc;border-radius:10px;padding:11px;border:1px solid #dce3c8}
#helpModal .n34-help-money{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:11px}
#helpModal .n34-help-money article{border:1px solid #dedbc3;border-radius:13px;padding:13px;background:#f4f3e6;display:grid;align-content:start;gap:10px}
#helpModal .n34-help-money strong{color:#2e5d3d}
#helpModal .n34-help-prices{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}
#helpModal .n34-help-prices span{background:#e7ebd7;color:#385741;border-radius:8px;padding:8px;display:flex;justify-content:space-between;gap:6px;font-size:11px}
#helpModal .n34-help-money small{color:#687c68}
#helpModal .n34-help-footer{display:flex;justify-content:space-between;gap:10px;flex-wrap:wrap;border-top:1px solid #d9d0bb;padding-top:11px;color:#73816e;font-size:11px}
#gameView .n34-expedition-help-short{padding:1px 4px 0}
#gameView .n34-help-shortcut{background:transparent;border:0;text-decoration:underline;text-underline-offset:3px;color:#416a46;cursor:pointer;font-size:12px;padding:5px 0;font-weight:750}
#gameView .n34-help-shortcut:hover{color:#1c522e}

body.n30-dark #helpModal .n34-help-dialog{background:#1c3025!important;color:#f3efdf!important;border-color:#567359}
body.n30-dark #helpModal .n34-help-dialog .modal-close{color:#edf0da!important}
body.n30-dark #helpModal .n34-help-dialog .modal-close:hover{background:#354d3c}
body.n30-dark #helpModal .n34-help-overline{color:#b5d5aa}
body.n30-dark #helpModal .n34-help-head h2{color:#f4ecd8!important}
body.n30-dark #helpModal .n34-help-head p{color:#cbd7c8!important}
body.n30-dark #helpModal .n34-help-tab{background:#2a4535;border-color:#537258;color:#eef2db}
body.n30-dark #helpModal .n34-help-tab:hover{background:#35553e}
body.n30-dark #helpModal .n34-help-tab[aria-selected="true"]{background:#4c8956;border-color:#8dad81;color:#fff9eb}
body.n30-dark #helpModal .n34-help-panel{background:#22382b;border-color:#547159}
body.n30-dark #helpModal .n34-help-panel h3{color:#f6eedb!important}
body.n30-dark #helpModal .n34-help-panel p{color:#d2dfce!important}
body.n30-dark #helpModal .n34-help-panel p strong,body.n30-dark #helpModal .n34-help-panel b{color:#d1edc4}
body.n30-dark #helpModal .n34-help-steps>div,body.n30-dark #helpModal .n34-help-meaning>div,body.n30-dark #helpModal .n34-help-money article{background:#2b4635;border-color:#58745b;color:#edf0dc}
body.n30-dark #helpModal .n34-help-meaning b{color:#ddf1d2}
body.n30-dark #helpModal .n34-help-meaning span{color:#d0dfcc}
body.n30-dark #helpModal .n34-help-steps b{background:#548e58}
body.n30-dark #helpModal .n34-help-colors span{background:#294333;border-color:#5b725d;color:#edf1de}
body.n30-dark #helpModal .n34-help-detail,body.n30-dark #helpModal .n34-help-box,body.n30-dark #helpModal .n34-help-aside{background:#294232;border-color:#638064;color:#eaf1dc}
body.n30-dark #helpModal .n34-help-rewards span,body.n30-dark #helpModal .n34-help-prices span{background:#35543e;border-color:#688368;color:#ebf0dc}
body.n30-dark #helpModal .n34-help-money strong{color:#def0d0}
body.n30-dark #helpModal .n34-help-money small,body.n30-dark #helpModal .n34-help-footer{color:#c1d5c2}
body.n30-dark #helpModal .n34-help-footer{border-color:#547059}
body.n30-dark:not(.hub-on-home) #gameView .n34-help-shortcut{color:#c9ebc3}
@media(max-width:650px){#helpModal .n34-help-dialog{width:min(100vw - 16px,920px);max-height:93dvh;scrollbar-gutter:auto}#helpModal .n34-help{padding:22px 14px 14px;gap:11px}#helpModal .n34-help-tabs{grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}#helpModal .n34-help-tab{min-height:43px;padding:9px 5px;font-size:12px}#helpModal .n34-help-panel{padding:14px 12px}#helpModal .n34-help-rewards,#helpModal .n34-help-money{grid-template-columns:1fr}#helpModal .n34-help-meaning>div{grid-template-columns:1fr;gap:3px}#helpModal .n34-help-head p{font-size:12px}}

/* =============== ORIGINAL FILE: nature-v35.css =============== */
/* Nature Idle V35: simple two-step expedition setup, Daily consistency, compact achievements & signed-in home */
#gameView .n35-expedition{max-width:790px;width:min(100%,790px);margin:18px auto 14px;padding:0;border:none;background:transparent;box-shadow:none;display:block}
#gameView .n35-expedition.hidden{display:none!important}
#gameView .n35-expedition #expeditionStatus:empty{display:none}
#gameView .n35-expedition .n35-setup{
 display:grid!important;gap:18px;background:#f8efdd;border:1px solid #ddccb0;border-radius:23px;
 padding:24px 26px;box-shadow:0 15px 32px #54432920;margin:0;
}
#gameView .n35-expedition .n35-setup.hidden{display:none!important}
#gameView .n35-setup h2{margin:0 0 4px;color:#214d34;font-size:clamp(21px,3vw,26px)}
#gameView .n35-setup-grid{display:grid;gap:16px;grid-template-columns:minmax(0,1fr) minmax(0,1.25fr);align-items:end}
#gameView .n35-step{display:grid;gap:8px;min-width:0}
#gameView .n35-step-tag{display:inline-flex;width:max-content;background:#e2edda;color:#285d38;border:1px solid #c1dab4;border-radius:999px;font-size:11px;padding:4px 11px;font-weight:850}
#gameView .n35-step label,#gameView .n35-step-label{font-size:14px;font-weight:850;color:#214935}
#gameView .n35-setup select{background:#fffaf0;border:1px solid #bed0b9;color:#274b37;border-radius:11px;padding:10px 11px;font-size:14px;font-weight:750;min-height:46px;width:100%;max-width:100%}
#gameView .n35-difficulties{display:flex;gap:5px;flex-wrap:wrap;align-items:stretch}
#gameView .n35-difficulty{border:1px solid #c6d7bc;border-radius:10px;padding:10px 12px;flex:1 1 auto;min-width:66px;background:#f3f3e6;color:#375643;font-size:13px;font-weight:750;cursor:pointer}
#gameView .n35-difficulty.selected{background:#2e7542;color:#fff9e9;border-color:#286438;box-shadow:0 5px 13px #23552d24}
#gameView .n35-difficulty:disabled{opacity:.48;cursor:not-allowed}
#gameView .n35-exp-start .expedition-pay{width:100%}
#gameView .n35-exp-start .primary,#gameView .n35-daily-setup .primary{width:100%;border:0;border-radius:12px;background:linear-gradient(115deg,#2f7f45,#23713c);color:#fffdf0;padding:15px;font-size:17px;font-weight:900;min-height:53px;cursor:pointer}
#gameView .n35-exp-start .primary:disabled{opacity:.65;cursor:not-allowed}
#gameView .n35-exp-footer{display:flex;gap:14px;justify-content:space-between;align-items:center;flex-wrap:wrap;color:#617054}
#gameView .n35-exp-footer small{font-size:12px;color:#536a51}
#gameView .mode-row.difficulty-picker,#gameView #modeDescription,#gameView #modeLockMessage,#gameView .nature-build-label{display:none!important}
#gameView .n35-daily-setup{max-width:650px;margin:16px auto 14px;background:#f8efdd;border:1px solid #ddccb0;border-radius:21px;padding:22px;box-shadow:0 12px 28px #54432915;display:grid;gap:12px;text-align:left}
#gameView .n35-daily-setup.hidden,#gameView .n35-compact-state.hidden{display:none!important}
#gameView .n35-daily-setup h2{margin:0;color:#254f35;font-size:22px}
#gameView .n35-daily-setup p{margin:0;color:#556f58;font-size:14px}
#gameView .n35-compact-state{max-width:650px;display:flex;align-items:center;justify-content:space-between;gap:10px;background:#f4ead7;border:1px solid #decaaa;border-radius:15px;margin:16px auto;padding:12px 18px;color:#254a35;text-align:left}
#gameView .n35-compact-state button{border:1px solid #adc7ae;border-radius:9px;background:#eaf1de;padding:8px 12px;color:#235e3b;font-weight:800}
#gameView.n35-ex-active .n35-expedition{margin:14px auto 12px;max-width:950px}
#gameView .n35-exp-running{background:#f6ecd8;border:1px solid #d7c7ad;border-radius:18px;display:flex;align-items:center;gap:15px;flex-wrap:wrap;padding:13px 17px;justify-content:space-between;box-shadow:0 12px 25px #54432912}
#gameView .n35-exp-running span{background:#dff1d8;color:#255a35;border:1px solid #b2d5aa;padding:8px 10px;border-radius:99px;font-weight:850;font-size:12px}
#gameView .n35-exp-running strong{font-size:14px;color:#294b37}
#gameView .n35-exp-running small{font-size:12px;color:#69745d}
#gameView.n35-ex-active .n35-expedition #expeditionAccountNote,#gameView.n35-ex-active .n35-expedition .expedition-abandon{display:none!important}
#gameView.n35-ex-setup .search-wrap,#gameView.n35-ex-setup .n34-color-guide,
#gameView.n35-daily-setup-state .search-wrap,#gameView.n35-daily-setup-state .n34-color-guide{display:none!important}
#gameView.n35-ex-setup #resultMessage,#gameView.n35-daily-setup-state #resultMessage{min-height:0}
#gameView .hero .search-wrap{max-width:850px;margin:24px auto 9px}
#gameView .hero{padding-top:35px}
#gameView .hero>h1{font-size:clamp(32px,4.8vw,54px)}
#gameView .hero>p{max-width:760px;margin:8px auto 18px;font-size:15px}
/* Keep original comparison/score areas and real Supabase controls unmodified. */
body.n30-dark:not(.hub-on-home) #gameView :is(.n35-setup,.n35-daily-setup,.n35-compact-state,.n35-exp-running){background:#1f3529;border-color:#58775e;color:#edf1db;box-shadow:0 14px 28px #07180c33}
body.n30-dark:not(.hub-on-home) #gameView :is(.n35-setup h2,.n35-daily-setup h2,.n35-step label,.n35-step-label,.n35-exp-running strong){color:#f4eedb}
body.n30-dark:not(.hub-on-home) #gameView :is(.n35-daily-setup p,.n35-exp-footer small,.n35-exp-running small){color:#c6d9c7}
body.n30-dark:not(.hub-on-home) #gameView .n35-step-tag{background:#314b37;color:#e8f0da;border-color:#547857}
body.n30-dark:not(.hub-on-home) #gameView .n35-setup select,
body.n30-dark:not(.hub-on-home) #gameView .n35-difficulty,
body.n30-dark:not(.hub-on-home) #gameView .n35-compact-state button{background:#2b4635;color:#eff1df;border-color:#68876b}
body.n30-dark:not(.hub-on-home) #gameView .n35-difficulty.selected{background:#367c4a;color:#fff8ea;border-color:#90b089}
body.n30-dark:not(.hub-on-home) #gameView .n35-exp-running span{background:#2e5639;color:#dff5d4;border-color:#64886d}
/* Logged-in users get a real home hub; guests retain the original login landing page. */
body.hub-on-home.n35-signed-in .topbar{display:flex}
body.hub-on-home.n35-signed-in .hub-daily,
body.hub-on-home.n35-signed-in .hub-login,
body.hub-on-home.n35-signed-in .hub-register-area{display:none!important}
body.hub-on-home.n35-signed-in .hub-card{max-width:1070px;margin:10px auto 35px;padding:18px}
body.hub-on-home.n35-signed-in .hub-explore{margin:0}
.n35-logged-hub{background:#f5edda;border:1px solid #daccb1;border-radius:24px;padding:25px;max-width:1070px;margin:25px auto 16px;text-align:center;box-shadow:0 14px 33px #253d2d22}
.n35-logged-hub.hidden{display:none!important}
.n35-hub-overline{font-size:11px;font-weight:900;letter-spacing:1.5px;color:#467347}
.n35-logged-hub h2{font-size:clamp(23px,3vw,34px);color:#245038;margin:6px 0}
.n35-logged-hub p{color:#587057;font-size:14px;margin:0 0 16px}
.n35-hub-actions{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:11px}
.n35-hub-actions button{background:#2f7442;color:#f7f5e5;border:1px solid #2b713f;border-radius:13px;padding:16px 12px;font-weight:850;font-size:14px;cursor:pointer}
.n35-hub-actions button:hover{background:#246138}
body.n30-dark.hub-on-home .n35-logged-hub{background:#21382b;border-color:#608069}
body.n30-dark.hub-on-home .n35-logged-hub h2{color:#f5efd9}
body.n30-dark.hub-on-home .n35-logged-hub p{color:#c7d7c6}
body.n30-dark.hub-on-home .n35-hub-actions button{background:#2d663e;color:#f6f2e1}
/* Achievements: the growth illustration leads; details stay accessible but collapsed. */
#achievementsView .page-head{margin-bottom:12px}
#achievementsView .page-head h1{font-size:clamp(30px,4vw,43px)}
#achievementsView .n30-tree-intro{margin-top:14px}
#achievementsView #achievementTree{display:block;max-width:1180px;margin:10px auto}
#achievementsView .n35-details{display:block;max-width:1180px;width:100%;margin:11px auto;border:1px solid #d6c8aa;border-radius:15px;background:#f5edd9;padding:0;color:#244434}
#achievementsView .n35-details>summary{cursor:pointer;list-style:none;padding:15px 18px;font-weight:850;font-size:15px;display:flex;justify-content:space-between;align-items:center;gap:10px}
#achievementsView .n35-details>summary::after{content:'⌄';font-size:24px;line-height:1}
#achievementsView .n35-details[open]>summary::after{content:'⌃'}
#achievementsView .n35-details>summary::-webkit-details-marker{display:none}
#achievementsView .n35-details> :not(summary){margin:12px 15px 15px}
#achievementsView .n35-details .root-foundation,#achievementsView .n35-details .trunk-progress,#achievementsView .n35-details .achievement-branches{width:calc(100% - 30px)}
#achievementsView .n35-details #n32TreePreview{max-width:none}
#achievementsView .cloud-tree-disclaimer{font-size:12px}
body.n30-dark:not(.hub-on-home) #achievementsView .n35-details{background:#1f3528;border-color:#59735c;color:#f0efdb}
body.n30-dark:not(.hub-on-home) #achievementsView .n35-details>summary{color:#f3efd9}
@media(max-width:850px){#gameView .n35-setup-grid{grid-template-columns:1fr}#gameView .n35-setup{padding:19px!important}.n35-hub-actions{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:540px){#gameView .hero{padding-top:20px}#gameView .n35-exp-footer{display:grid}#gameView .n35-exp-running{justify-content:flex-start}#gameView .n35-difficulty{flex:1 1 calc(50% - 5px)}.n35-logged-hub{padding:17px;margin:14px}.n35-hub-actions{grid-template-columns:1fr 1fr}.n35-hub-actions button{font-size:12px;padding:13px 9px}#achievementsView .n35-details>summary{font-size:13px}}
.n35-audit-alert{border-radius:11px;padding:10px 13px;border:1px solid #a8763e;background:#fff1d7;color:#624322;font-size:12px}
body.n30-dark .n35-audit-alert{background:#59422a;color:#ffebc5;border-color:#b78b53}
/* Header may wrap on a laptop instead of cutting off the last actions. */
@media(min-width:801px) and (max-width:1500px){
 .topbar{height:auto;min-height:72px;padding:10px 20px;gap:10px;flex-wrap:wrap}
 .topbar nav{display:flex;gap:4px;flex-wrap:wrap}
 .topbar .header-actions{margin-left:auto;display:flex;gap:7px;flex-wrap:wrap}
 .topbar .nav-btn{padding:8px 10px}
}

/* =============== ORIGINAL FILE: nature-v36.css =============== */
/* V36 – less chrome in profile and a distinct expedition narrative */
#statsView{max-width:1050px}
#statsView .n36-legacy-hidden{display:none!important}
#statsView .page-head{margin-bottom:18px}
#statsView .n36-profile-heading h1{font-size:clamp(29px,4vw,43px)}
#statsView .profile-card{margin-bottom:16px}
#statsView>.stats-grid{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:12px;margin:15px 0}
#statsView>.stats-grid .stat{min-height:100px;display:flex;align-items:center;gap:12px;flex-wrap:wrap;padding:17px 20px}
#statsView>.stats-grid .stat span{font-size:28px}
#statsView>.stats-grid .stat strong{font-size:29px}
#statsView>.stats-grid .stat small{font-size:14px;flex-basis:100%;margin-top:-6px}
#statsView .v256-board{margin-top:18px}
#statsView .v256-board-header h2{font-size:clamp(21px,3.3vw,28px)}
#statsView .v256-board-header p{font-size:13px;line-height:1.35}
#statsView .v256-tabs{margin:12px 0}
#statsView .v256-board-footer #v256RefreshBoard{display:none!important}
#statsView .v256-league .v256-board-footer small{font-size:11px}
#statsView .v256-rank-row{min-height:52px}
#statsView .n36-profile-details,#statsView .n36-privacy{border:1px solid #d6cab6;border-radius:14px;background:#f4ecda;color:#275036;padding:0;margin:13px 0}
#statsView .n36-profile-details summary,#statsView .n36-privacy summary{cursor:pointer;padding:14px 17px;font-weight:850;list-style:none}
#statsView .n36-profile-details summary::after,#statsView .n36-privacy summary::after{content:'⌄';float:right}
#statsView .n36-profile-details[open] summary::after,#statsView .n36-privacy[open] summary::after{content:'⌃'}
#statsView .n36-profile-details-inner{padding:0 15px 14px}
#statsView .n36-privacy p{font-size:13px;line-height:1.5;padding:0 16px 14px;margin:0}
#statsView .n36-profile-footer{display:flex;gap:12px;flex-wrap:wrap;justify-content:flex-end;align-items:center;margin:26px 0 0;border-top:1px solid #d9caae;padding:19px 0}
#statsView .n36-profile-footer button{border:1px solid #9caa93;border-radius:12px;background:#f0ebdd;color:#2b4936;padding:12px 17px;cursor:pointer;font-weight:800}
#statsView .n36-profile-footer button:hover{background:#e2eadc}
#statsView .n36-profile-footer #n36FounderTools{background:#dcebd2;color:#244e35;border-color:#8fb390}
#globalAccountSignedIn>#cloudLogoutBtn,#globalAccountSignedIn>#cloudMyProfileBtn,#cloudRefreshBtn{display:none!important}
#gameView .n36-expedition-story{max-width:900px;margin:12px auto 0;background:#eef1de;border:1px solid #bccdb0;border-radius:13px;padding:13px 17px;line-height:1.5;color:#325340;font-weight:650;font-size:14px;text-align:center}
#gameView .n36-expedition-story.hidden{display:none!important}
#gameView.n35-ex-active #expeditionStatus .n35-exp-running small{display:none}
#gameView.n35-ex-setup .hero{margin-bottom:5px}
#gameView.n35-ex-setup .n35-setup{background:linear-gradient(140deg,#f5efd9,#efe5d1)!important}
#gameView.n35-ex-setup .n35-setup h2::after{content:'Entdecke die Natur!';display:block;margin-top:4px;font-size:12px;opacity:.7;font-weight:600}
body.n30-dark:not(.hub-on-home) #statsView .n36-profile-details,
body.n30-dark:not(.hub-on-home) #statsView .n36-privacy{background:#213a2b;border-color:#53735c;color:#f5f0d9}
body.n30-dark:not(.hub-on-home) #statsView .n36-profile-details summary,
body.n30-dark:not(.hub-on-home) #statsView .n36-privacy summary{color:#f5efdd}
body.n30-dark:not(.hub-on-home) #statsView .n36-privacy p{color:#c9d7c7}
body.n30-dark:not(.hub-on-home) #statsView .n36-profile-footer{border-color:#47654d}
body.n30-dark:not(.hub-on-home) #statsView .n36-profile-footer button{background:#2c4836;border-color:#648468;color:#f3efdb}
body.n30-dark:not(.hub-on-home) #gameView .n36-expedition-story{background:#2b4634;border-color:#68866c;color:#eff0d9}
body.n30-dark:not(.hub-on-home) #gameView.n35-ex-setup .n35-setup{background:linear-gradient(140deg,#1f3529,#294233)!important}
@media(max-width:720px){#statsView>.stats-grid{grid-template-columns:1fr 1fr!important}#statsView>.stats-grid .stat{padding:13px 14px;min-height:90px}#statsView>.stats-grid .stat strong{font-size:23px}#statsView .n36-profile-footer{justify-content:stretch}#statsView .n36-profile-footer button{flex:1}#gameView .n36-expedition-story{font-size:13px}}

/* =============== ORIGINAL FILE: nature-v37.css =============== */
/* Nature Idle V37: Compact level, Founder-only access, Academy chapters */
#statsView .profile-card{grid-template-columns:auto minmax(0,1fr) auto;gap:16px;align-items:center}
#statsView .profile-level{display:flex!important;flex-direction:column;justify-content:center;align-items:center;text-align:center;min-width:114px;max-width:138px;padding:12px 10px;border-radius:16px;background:#e8f1df;border:1px solid #bfd3ba;gap:3px;line-height:1.2}
#statsView .profile-level small{font-size:10px;letter-spacing:.07em;color:#4d7556!important;line-height:1.25}
#statsView .profile-level strong{font-size:30px;line-height:1.1;color:#205a35!important;font-variant-numeric:tabular-nums}
#statsView .profile-level span{font-size:12px;color:#3c6348!important;font-weight:750;line-height:1.25;word-break:normal}
#statsView .profile-main{min-width:0}
body.n30-dark #statsView .profile-level{background:#2b4936;border-color:#648466}
body.n30-dark #statsView .profile-level small,body.n30-dark #statsView .profile-level span{color:#d5e5ca!important}
body.n30-dark #statsView .profile-level strong{color:#c7f1bc!important}
.n37-founder-nav{border-radius:12px;border:1px solid #b38a48;background:linear-gradient(145deg,#fae8bb,#efd294);color:#60461e;font-weight:850;padding:10px 14px;cursor:pointer;white-space:nowrap}
.n37-founder-nav:hover{background:#f9dea0}
body.n30-dark .n37-founder-nav{background:#55401b;color:#ffe9b0;border-color:#cba860}
/* Preview is a founder tool, while remaining directly on the achievement page. */
body:not(.n37-founder) #n35PreviewDetails,body:not(.n37-founder) #n32TreePreview{display:none!important}
body.n37-founder #n35PreviewDetails{display:block}
.ac-view .ac37-curriculum{margin-top:0}
.ac37-layout{display:grid;grid-template-columns:minmax(210px,.8fr) minmax(0,2fr);gap:16px}
.ac37-lesson-list{display:grid;align-content:start;gap:9px}
.ac37-lesson-list button{display:grid;text-align:left;gap:4px;background:var(--ac-card);border:1px solid var(--ac-border);color:var(--ac-ink);border-radius:13px;padding:13px 14px;cursor:pointer;min-height:73px}
.ac37-lesson-list button:hover{border-color:var(--ac-accent);transform:translateY(-1px)}
.ac37-lesson-list button[aria-current="true"]{background:var(--ac-card-2);border:2px solid #609466;padding:12px 13px}
.ac37-lesson-list strong{font-size:14px}
.ac37-lesson-list small{font-size:12px;color:var(--ac-muted)}
.ac37-lesson-detail{border:1px solid var(--ac-border);background:var(--ac-card);border-radius:17px;padding:22px 24px;min-width:0}
.ac37-lesson-detail h3{font-size:clamp(21px,2.5vw,28px);margin:8px 0 10px;line-height:1.3;color:var(--ac-ink)}
.ac37-detail-kicker{color:var(--ac-accent);font-size:11px;letter-spacing:.11em;font-weight:900;text-transform:uppercase}
.ac37-lesson-detail p{font-size:14px;line-height:1.62;color:var(--ac-ink)}
.ac37-lesson-body{display:grid;gap:10px;margin:16px 0}
.ac37-lesson-body>p{margin:0;background:var(--ac-surface);padding:12px 14px;border-radius:12px;border-left:3px solid #779d6a}
.ac37-knowledge{background:var(--ac-card-2);border:1px solid var(--ac-border);border-radius:13px;padding:13px 15px;margin-top:14px}
.ac37-knowledge strong{color:var(--ac-accent)}.ac37-knowledge p{margin:7px 0 0}
.ac37-practice{margin-top:16px;border-top:1px solid var(--ac-border);padding-top:18px}
.ac37-practice>strong{color:var(--ac-accent)}
.ac37-answers{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-top:10px}
.ac37-answers button{border-radius:12px;border:1px solid var(--ac-border);color:var(--ac-ink);background:var(--ac-surface);padding:12px;text-align:left;font-weight:750;cursor:pointer;line-height:1.4}
.ac37-answers button:not(:disabled):hover{border-color:#609466}
.ac37-answers button.correct{background:var(--ac-correct);border-color:#719e77}
.ac37-answers button.incorrect{background:var(--ac-wrong);border-color:#bd7b75}
.ac37-answers button:disabled{cursor:default;opacity:1}
.ac37-feedback{background:var(--ac-card-2);padding:12px 14px;border-radius:12px;border:1px solid var(--ac-border);margin-top:12px!important}
.ac-view #ac37Progress{white-space:normal}
@media(max-width:830px){.ac37-layout{grid-template-columns:1fr}.ac37-lesson-list{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:620px){#statsView .profile-card{grid-template-columns:auto minmax(0,1fr)}#statsView .profile-level{grid-column:1/-1;justify-self:start;flex-direction:row;max-width:none;width:auto;min-width:0;gap:9px;padding:9px 14px}#statsView .profile-level strong{font-size:23px}#statsView .profile-level small,#statsView .profile-level span{font-size:11px}.ac37-lesson-list{grid-template-columns:1fr}.ac37-answers{grid-template-columns:1fr}.ac37-lesson-detail{padding:17px}}

/* =============== ORIGINAL FILE: nature-v38.css =============== */
/* V38: founder-only test controls, visually separate from public gameplay. */
.v38-founder-dock{margin:16px 0;padding:14px 18px;border:2px solid #3377c5;background:#eaf3ff;color:#153a66;border-radius:14px;box-shadow:0 2px 8px #1234a010}
.v38-founder-dock h3{font-size:1rem;margin:0 0 10px;color:#194d91}
.v38-founder-dock button{border:1px solid #5a91ce;background:#d9eaff;color:#163e73;border-radius:9px;padding:9px 12px;margin:3px;cursor:pointer}
.v38-founder-dock button:hover{background:#bddbff}
.v38-founder-dock label{display:block;margin:6px 0}
.v38-founder-dock select{max-width:240px;padding:7px;border:1px solid #8bb2df;border-radius:8px}
.v38-founder-dock.hidden{display:none!important}
#n36FounderTools{display:none!important}
#founder267-tab-test,#founder267-view-test{display:none!important}
body:not(.n37-founder) .v38-founder-dock{display:none!important}
@media(max-width:650px){.v38-founder-dock{padding:12px}.v38-founder-dock button{width:100%;margin:4px 0}}

/* =============== ORIGINAL FILE: nature-v39.css =============== */
/* V39 — gradual tree and focused academy experience. */
.n39-mode-hidden{display:none!important}
#achievementsView .n30-living-svg[data-growth-stage="0"]{max-height:330px}
#n32TreePreview{border:2px solid #4989d4!important;background:#e9f2ff!important;color:#153e70!important;border-radius:15px;padding:18px;margin:14px 0}
#n32TreePreview .n32-tree-preview-head h3{color:#15457a}
#n32TreePreview button{border:1px solid #6195ce;background:#d4e8ff;color:#16457b}
#n32TreePreview .n39-preview-toggle{display:block;background:#2b71bb;color:white;font-weight:800;margin:10px 0;padding:10px 15px;border-radius:10px}
body.n30-dark #n32TreePreview{background:#1a3550!important;color:#e0edff!important;border-color:#568bcb!important}
body.n30-dark #n32TreePreview .n32-tree-preview-head h3{color:#e0edff}
.ac-view .n39-academy-nav{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;padding:7px;border:1px solid var(--ac-border);background:var(--ac-card);border-radius:16px;scroll-margin-top:100px}
.ac-view .n39-ac-tab{background:transparent;border:1px solid transparent;border-radius:12px;padding:13px 10px;font-weight:800;font-size:15px;color:var(--ac-muted);cursor:pointer}
.ac-view .n39-ac-tab.active{background:var(--ac-card-2);border-color:#76a37b;color:var(--ac-ink);box-shadow:0 2px 8px var(--ac-shade)}
.ac-view .ac-hero{padding:24px 30px;border-radius:22px;grid-template-columns:minmax(0,1.5fr) 230px}
.ac-view .ac-hero h1{font-size:clamp(32px,3.3vw,48px)}
.ac-view .ac-hero p{font-size:15px;line-height:1.5}
.ac-view .ac-hero-image{max-height:176px}
.ac-view .n39-learning-summary{padding:19px 22px;background:var(--ac-card-2);border:1px solid var(--ac-border);border-radius:14px}
.ac-view .n39-learning-summary strong{font-size:20px}.ac-view .n39-learning-summary p{margin:5px 0 0;color:var(--ac-muted);line-height:1.5}
.ac-view .n39-academy-crumb{display:flex;align-items:center;gap:12px;flex-wrap:wrap;padding:6px 0}
.ac-view .n39-academy-crumb button{background:var(--ac-card);color:var(--ac-accent);border:1px solid var(--ac-border);border-radius:10px;padding:10px 14px;font-weight:750}
.ac-view .n39-academy-crumb span{font-weight:850;color:var(--ac-ink)}
.ac-view .n39-learning-details{border:1px solid var(--ac-border);border-radius:14px;padding:12px 16px;background:var(--ac-card)}
.ac-view .n39-learning-details>summary{cursor:pointer;font-weight:800;color:var(--ac-accent)}
.ac-view .n39-learning-details .ac-dashboard{margin-top:14px}
.ac-view #ac37Curriculum{scroll-margin-top:95px}
.ac-view .ac-workbench{grid-template-columns:1fr}
.ac-view .ac-coach{display:none}
.ac-view .ac-workbench #acLearningPanel{width:100%}
.ac-view .n39-next-row{display:flex;justify-content:flex-end;margin-top:15px}
.ac-view .n39-practice-case{margin-top:22px;padding:20px;border:1px solid var(--ac-border);border-radius:15px;background:var(--ac-card-2)}
.ac-view .n39-practice-case .n39-case-kicker{color:var(--ac-accent);font-size:11px;letter-spacing:.09em;font-weight:850}
.ac-view .n39-practice-case h4{font-size:20px;margin:6px 0 10px;color:var(--ac-ink)}
.ac-view .n39-practice-case p{margin:6px 0 10px}
.ac-view .n39-case-options{display:grid;gap:8px;margin-top:12px}
.ac-view .n39-case-options button{border:1px solid var(--ac-border);background:var(--ac-card);color:var(--ac-ink);border-radius:10px;padding:12px 14px;text-align:left;font-weight:650;line-height:1.4}
.ac-view .n39-case-options button.correct{background:var(--ac-correct);border-color:#64a077}
.ac-view .n39-case-options button.incorrect{background:var(--ac-wrong);border-color:#bd7b75}
.ac-view .n39-case-options button:disabled{cursor:default;opacity:1}
.ac-view .n39-case-feedback{padding:12px 14px;border-radius:10px;background:var(--ac-card);border:1px solid var(--ac-border)}
.ac-view .n39-nitrogen{margin-top:15px;padding:17px;border-radius:14px;background:var(--ac-card);border:1px solid var(--ac-border)}
.ac-view .n39-nitrogen strong{font-size:17px}
.ac-view .n39-cycle{display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:8px;margin:15px 0}
.ac-view .n39-cycle span{border:1px solid #7eb28d;background:var(--ac-card-2);padding:12px;border-radius:12px;font-weight:850;text-align:center;flex:1;min-width:115px}
.ac-view .n39-cycle b{color:var(--ac-accent);font-size:20px}
.ac-view .n39-nitrogen small{color:var(--ac-muted);line-height:1.6}
@media(max-width:730px){.ac-view .ac-hero{grid-template-columns:1fr;padding:20px}.ac-view .ac-hero-image{display:none}.ac-view .n39-academy-nav{grid-template-columns:1fr;gap:3px}.ac-view .n39-ac-tab{padding:10px;text-align:left}.ac-view .n39-cycle span{flex-basis:42%}.ac-view .n39-cycle b{display:none}}

/* V38 placed a duplicate legacy tree slider in a blue dock. V39 uses the one below the tree. */
#v38TreeDock{display:none!important}
body.n37-founder #n35PreviewDetails{border:2px solid #4989d4;border-radius:15px;background:#e9f2ff;padding:10px;margin:14px 0}
body.n30-dark.n37-founder #n35PreviewDetails{background:#1a3550;border-color:#568bcb}

.n30-living-svg[data-growth-stage="0"] .n30-root.inactive{opacity:.09}

/* =============== ORIGINAL FILE: nature-v40.css =============== */
/* V40 – readable expanded Academy curriculum. Dark mode uses Academy theme variables. */
.ac-view .ac37-lesson-list{max-height:68vh;overflow:auto;overscroll-behavior:contain;padding-right:5px;scrollbar-width:thin}
.ac-view .ac37-layout{align-items:start}
.ac-view .ac37-lesson-detail{scroll-margin-top:105px}
.ac-view .ac37-lesson-list button{position:relative}
.ac-view .ac37-lesson-list button:nth-child(4){margin-top:17px}
.ac-view .ac37-lesson-list button:nth-child(4):before{content:'VERTIEFUNG & PRAXIS';position:absolute;top:-19px;left:2px;font-size:9px;font-weight:900;letter-spacing:.1em;color:var(--ac-muted)}
.ac-view .n40-lesson-meta{display:inline-flex;align-items:center;margin:8px 0 5px;border-radius:999px;padding:5px 11px;background:var(--ac-card-2);color:var(--ac-accent);font-size:12px;font-weight:750}
.ac-view .n40-sources{margin:16px 0;padding:13px 15px;border:1px dashed var(--ac-border);border-radius:12px;background:var(--ac-surface);color:var(--ac-ink)}
.ac-view .n40-sources>strong{font-size:13px}
.ac-view .n40-source-links{display:flex;flex-wrap:wrap;gap:8px;margin:9px 0}
.ac-view .n40-source-links a{color:var(--ac-accent);background:var(--ac-card);border:1px solid var(--ac-border);padding:8px 10px;border-radius:9px;text-decoration:none;font-size:12px;font-weight:760}
.ac-view .n40-source-links a:hover{text-decoration:underline}
.ac-view .n40-sources small{display:block;color:var(--ac-muted);line-height:1.5}
.ac-view .ac37-lesson-body>p{font-size:14px;line-height:1.75}
.ac-view .ac37-lesson-list button:focus-visible,.ac-view .n40-source-links a:focus-visible{outline:3px solid var(--ac-accent);outline-offset:2px}
@media(max-width:830px){.ac-view .ac37-lesson-list{max-height:none;overflow:visible}.ac-view .ac37-lesson-list button:nth-child(4){margin-top:16px}}
@media(max-width:620px){.ac-view .ac37-lesson-list{max-height:260px;overflow:auto;grid-template-columns:1fr}.ac-view .ac37-lesson-detail{padding:18px}.ac-view .n40-sources{padding:12px}}

/* =============== ORIGINAL FILE: nature-ihk-v41.css =============== */
/* V41 — scoped original examination trainer, reuses Academy palette. */
.ac-view .n39-academy-nav{grid-template-columns:repeat(4,minmax(0,1fr))}
.ac-view .n41-ihk{background:var(--ac-surface);scroll-margin-top:95px;}
.ac-view .n41-ihk[hidden],.ac-view .n41-ihk [hidden]{display:none!important}
.ac-view .n41-header{display:flex;gap:18px;justify-content:space-between;align-items:flex-start;margin-bottom:24px}
.ac-view .n41-header h2{font-size:clamp(24px,3.2vw,33px);margin:8px 0}
.ac-view .n41-header p{font-size:14px;line-height:1.7;color:var(--ac-muted);max-width:740px;margin:0}
.ac-view .n41-count{white-space:nowrap;border-radius:99px;background:var(--ac-accent-soft);border:1px solid var(--ac-border);padding:9px 12px;font-weight:800;color:var(--ac-ink);font-size:12px}
.ac-view .n41-mode-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:17px}
.ac-view .n41-mode-card{display:flex;flex-direction:column;gap:12px;padding:22px;border:1px solid var(--ac-border);border-radius:20px;background:var(--ac-card);min-height:300px}
.ac-view .n41-exam-card{background:linear-gradient(135deg,var(--ac-card),var(--ac-card-2))}
.ac-view .n41-mode-card .n41-icon{font-size:33px}
.ac-view .n41-mode-card h3{font-size:24px;margin:0}
.ac-view .n41-mode-card p{font-size:14px;line-height:1.6;color:var(--ac-muted);margin:0 0 5px;flex:1}
.ac-view .n41-mode-card label{font-weight:800;color:var(--ac-ink);font-size:13px}
.ac-view .n41-mode-card select{width:100%;background:var(--ac-surface);color:var(--ac-ink);border-radius:12px;padding:13px;border:1px solid var(--ac-border);font-size:14px}
.ac-view .n41-mode-card .ac-btn{width:100%;min-height:49px}
.ac-view .n41-metrics{display:flex;gap:6px;flex-wrap:wrap}.ac-view .n41-metrics span{background:var(--ac-surface);padding:7px 9px;border-radius:8px;font-weight:760;font-size:12px;color:var(--ac-accent)}
.ac-view .n41-history{background:var(--ac-card-2);border:1px solid var(--ac-border);border-radius:15px;padding:14px 17px;margin-top:15px}
.ac-view .n41-history p{font-size:13px;margin:5px 0;color:var(--ac-muted)}
.ac-view .n41-session-head,.ac-view .n41-top,.ac-view .n41-task-actions,.ac-view .n41-result-actions{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap}
.ac-view .n41-session-head h3{font-size:22px;margin:0 0 12px}
.ac-view .n41-exit{border:1px solid var(--ac-border);background:var(--ac-card);color:var(--ac-ink);padding:10px 14px;border-radius:10px;font-weight:800}
.ac-view .n41-top{margin-top:15px;font-variant-numeric:tabular-nums}
.ac-view .n41-clock{padding:7px 12px;border-radius:999px;background:var(--ac-card-2);border:1px solid var(--ac-border);font-weight:850}
.ac-view .n41-clock.n41-urgent{background:var(--ac-wrong);border-color:#ac6262}
.ac-view .n41-progress{height:10px;background:var(--ac-card-2);border-radius:999px;overflow:hidden;margin:12px 0 18px}
.ac-view .n41-progress span{display:block;height:100%;background:#619c6c;transition:width .2s}
.ac-view .n41-task{background:var(--ac-card);padding:23px;border:1px solid var(--ac-border);border-radius:20px}
.ac-view .n41-area{color:var(--ac-accent);font-weight:850;font-size:12px}
.ac-view .n41-story{border-left:4px solid #77a16c;padding:12px 17px;border-radius:0 14px 14px 0;background:var(--ac-card-2);margin:16px 0}
.ac-view .n41-story span{font-size:10px;color:var(--ac-accent);font-weight:900;letter-spacing:.12em}
.ac-view .n41-story h3{font-size:19px;margin:5px 0 8px}
.ac-view .n41-story p{font-size:14px;line-height:1.6;margin:0}
.ac-view #n41Question{font-size:clamp(18px,2.2vw,23px);line-height:1.5;margin:18px 0}
.ac-view .n41-answers{display:grid;gap:10px}.ac-view .n41-help{font-size:13px;line-height:1.5;color:var(--ac-muted);margin:0 0 8px}
.ac-view .n41-option{display:flex;align-items:center;gap:13px;cursor:pointer;padding:14px 16px;border:1px solid var(--ac-border);background:var(--ac-surface);border-radius:12px;font-size:15px;line-height:1.5;color:var(--ac-ink)}
.ac-view .n41-option.n41-picked{border-color:#5b996e;background:var(--ac-accent-soft)}
.ac-view .n41-option input{accent-color:#34734e;flex:0 0 17px;width:17px;height:17px;cursor:pointer}
.ac-view .n41-number{display:flex;align-items:center;gap:15px}
.ac-view .n41-number input{width:min(240px,70%);font-variant-numeric:tabular-nums}
.ac-view .n41-number input,.ac-view .n41-answers textarea{background:var(--ac-surface);color:var(--ac-ink);border:1px solid var(--ac-border);border-radius:12px;padding:13px 15px;font-size:15px}
.ac-view .n41-answers textarea{width:100%;box-sizing:border-box;resize:vertical;line-height:1.6;min-height:130px}
.ac-view .n41-task-actions{margin:19px 0}.ac-view .n41-footnote{display:block;color:var(--ac-muted);font-size:12px;line-height:1.5}
.ac-view .n41-solution{border:1px solid #7da579;background:var(--ac-card-2);border-radius:15px;padding:18px;margin-top:18px;display:grid;gap:12px}
.ac-view .n41-solution p{font-size:14px;line-height:1.65;margin:0}
.ac-view .n41-solution-title{font-size:17px;color:var(--ac-accent)}
.ac-view .n41-correct-line,.ac-view .n41-point-line{font-weight:900;color:var(--ac-accent)!important}
.ac-view .n41-criteria{display:grid;gap:9px}
.ac-view .n41-rubric{display:flex;align-items:flex-start;gap:11px;padding:10px 12px;border-radius:10px;background:var(--ac-card);border:1px solid var(--ac-border);font-size:14px;line-height:1.4;color:var(--ac-ink)}
.ac-view .n41-rubric input{margin-top:3px;accent-color:#428052}
.ac-view .n41-notice{color:var(--ac-muted)!important}
.ac-view .n41-saved{font-size:12px!important;color:var(--ac-accent)!important}
.ac-view .n41-results-head{border:1px solid var(--ac-border);border-radius:16px;padding:21px;background:var(--ac-card);margin-bottom:15px}
.ac-view .n41-results-head h3{font-size:26px;margin:8px 0}
.ac-view .n41-results-head p{font-size:14px;margin:7px 0;line-height:1.6}
.ac-view .n41-result-badge{font-size:12px;font-weight:850;color:var(--ac-accent)}
.ac-view .n41-result-areas{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px}
.ac-view .n41-area-score{display:grid;gap:7px;border:1px solid var(--ac-border);padding:13px;border-radius:13px;background:var(--ac-card-2);font-size:12px}
.ac-view .n41-area-score span{font-weight:900;color:var(--ac-accent)}
.ac-view .n41-review-title{margin:23px 0 13px;font-size:20px}
.ac-view .n41-review-list{display:grid;gap:8px}
.ac-view .n41-review-item{border:1px solid var(--ac-border);border-radius:13px;overflow:hidden;background:var(--ac-card)}
.ac-view .n41-review-item>summary{cursor:pointer;padding:14px 16px;line-height:1.5;font-weight:800;font-size:14px;color:var(--ac-ink)}
.ac-view .n41-review-item[open]>summary{background:var(--ac-card-2)}
.ac-view .n41-review-body{padding:0 15px 15px}
.ac-view .n41-review-question{font-weight:780}
.ac-view .n41-user-answer{white-space:pre-wrap;word-break:break-word;line-height:1.6;font-size:14px;color:var(--ac-muted)!important}
.ac-view .n41-result-actions{justify-content:flex-start;margin:19px 0}
.ac-view .n41-disclaimer{background:var(--ac-card-2);padding:16px;border:1px solid var(--ac-border);border-radius:16px;margin-top:24px;color:var(--ac-muted)}
.ac-view .n41-disclaimer strong{font-size:13px}.ac-view .n41-disclaimer p{font-size:12px;line-height:1.65}
.ac-view .n41-official-links{display:flex;gap:15px;flex-wrap:wrap}
.ac-view .n41-official-links a{color:var(--ac-accent);font-size:12px;text-decoration:underline;font-weight:850}
@media(max-width:900px){.ac-view .n39-academy-nav{grid-template-columns:repeat(2,minmax(0,1fr))}.ac-view .n41-result-areas{grid-template-columns:1fr}}
@media(max-width:620px){.ac-view .n39-academy-nav{grid-template-columns:1fr}.ac-view .n41-mode-grid{grid-template-columns:1fr}.ac-view .n41-header{display:block}.ac-view .n41-count{display:inline-block;margin-top:12px}.ac-view .n41-mode-card{min-height:0;padding:18px}.ac-view .n41-task{padding:15px}.ac-view .n41-story{padding:10px 12px}.ac-view .n41-ihk{padding:15px}.ac-view .n41-task-actions .ac-btn{flex:1}.ac-view .n41-header h2{font-size:24px}}

/* =============== ORIGINAL FILE: naturedex-v42.css =============== */
/* NatureDex V42 – isolated specimen profile. No impact on the guessing table. */
#animalModal .modal-card.n42-modal-card{width:min(1120px,96vw);max-width:1120px;max-height:95vh;padding:0;background:#f7f0e2;border:1px solid #b5c9b4;overflow:auto;color:#213a2e;box-shadow:0 30px 100px #06120c77}
#animalModal .n42-modal-card>.modal-close{float:none;position:sticky;display:grid;place-items:center;top:14px;left:calc(100% - 57px);margin:12px 12px -52px auto;width:42px;height:42px;border-radius:50%;background:#fff9ecf0;color:#253c2a;border:1px solid #fff9;box-shadow:0 3px 15px #0004;font-size:24px;z-index:20;line-height:1}
#animalModal .n42-profile{font-family:inherit;font-size:14px;line-height:1.6;--n42-ink:#253d2c;--n42-muted:#6b7b6c;--n42-line:#d9decf;--n42-surface:#fffaf0;--n42-accent:#34724b;color:var(--n42-ink);background:#f7f0e2}
.n42-profile *{box-sizing:border-box}
.n42-photo-hero{min-height:340px;position:relative;display:flex;align-items:flex-end;overflow:hidden;background:linear-gradient(125deg,#2d4329,#7e8f57)}
.n42-photo-hero>img{width:100%;height:100%;position:absolute;inset:0;object-fit:cover;object-position:center 54%;background:#526947}
.n42-photo-hero::after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,#0d201be8 0%,#11231cae 42%,#0c1f1830 100%),linear-gradient(0deg,#08231980,transparent 38%);pointer-events:none}
.n42-photo-hero>img.n42-no-photo{visibility:hidden}
.n42-hero-copy{position:relative;z-index:1;padding:47px 44px 49px;max-width:690px;color:#f9f5e9}
.n42-label{display:inline-block;letter-spacing:2.2px;font-size:11px;font-weight:900;color:#d7ebc6}
.n42-dot{margin:0 7px;color:#b8d7a4}
.n42-hero-copy h2{font-family:Georgia,serif!important;font-size:clamp(44px,7vw,78px);font-weight:700;letter-spacing:-2px;line-height:1.03;color:#fff9eb!important;margin:14px 0 5px}
.n42-hero-copy>em{font-size:20px;color:#ecedcf}
.n42-hero-copy p{font-size:18px;line-height:1.5;color:#f5f4e8;max-width:500px;margin:14px 0 21px}
.n42-hero-badges{display:flex;flex-wrap:wrap;gap:8px}.n42-hero-badges>span{border:1px solid #ffffff62;background:#ffffff2a;backdrop-filter:blur(8px);border-radius:100px;color:#f6f6e8;padding:7px 13px;font-size:12px;font-weight:700}
.n42-hero-badges .n42-vu{background:#e8ac6760;border-color:#e8c07890}
.n42-image-credit{position:absolute;bottom:13px;right:17px;color:#eee5d4d6;background:#12251b8a;padding:4px 9px;border-radius:7px;z-index:2;font-size:10px}
.n42-body{padding:0 34px 34px}
.n42-dex-progress{display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap;padding:17px 5px;color:#53725d;font-size:12px}
.n42-demo-pill{font-size:10px;letter-spacing:1px;background:#e8efdf;color:#35633e;border:1px solid #cadfbb;border-radius:100px;padding:6px 10px;font-weight:900}
.n42-layout-note{color:#748377}
.n42-tabs{display:flex;gap:5px;padding:6px;background:#e8e5d5;border:1px solid #d5dacb;border-radius:16px;overflow-x:auto;scrollbar-width:thin;position:sticky;top:0;z-index:5}
.n42-tabs button{font:inherit;font-size:12px;white-space:nowrap;cursor:pointer;color:#4d6752;border:0;background:transparent;border-radius:11px;padding:11px 13px;flex:0 0 auto;font-weight:750;transition:background .15s}
.n42-tabs button:hover{background:#f7f5eb}.n42-tabs button.is-current{background:#286443;color:#fff;box-shadow:0 3px 8px #25472c29}
.n42-tabs button:focus-visible{outline:3px solid #be9a46;outline-offset:-3px}
.n42-tab-pane{padding:30px 3px 8px;color:#334b39}.n42-tab-pane[hidden]{display:none!important}
.n42-pane-head{display:flex;gap:20px;align-items:center;margin-bottom:20px}.n42-kicker{display:block;font-size:10px;letter-spacing:2.4px;color:#56815b;font-weight:900;text-transform:uppercase}
.n42-pane-head h3{font-family:Georgia,serif;color:#233d2b!important;font-size:clamp(25px,3vw,34px);letter-spacing:-.4px;margin:4px 0 0}
.n42-tab-pane h4{color:#2e5637;margin:22px 0 8px;font-size:16px}
.n42-tab-pane p{color:#506553;font-size:14px;line-height:1.75;margin:7px 0 12px}
.n42-pane-intro{max-width:780px}
.n42-overview-grid{display:grid;grid-template-columns:minmax(0,1.7fr) minmax(220px,.9fr);gap:24px}
.n42-profile .n42-lead{font-size:16px;line-height:1.8;margin:0 0 18px;color:#3d5244}
.n42-chip-row,.n42-lifestyle-tags{display:flex;flex-wrap:wrap;gap:7px}
.n42-chip{border:1px solid #c9d8bf;border-radius:100px;background:#edf4e5;padding:5px 11px;font-size:12px;color:#3a6145;font-weight:720}
.n42-fact-panel{min-height:215px;background:linear-gradient(142deg,#204e35,#173c2b);border:1px solid #376f4b;border-radius:18px;padding:26px;color:#f0f1df;display:flex;flex-direction:column;position:relative;overflow:hidden;box-shadow:0 10px 30px #092a1a19}
.n42-fact-panel .n42-kicker{color:#afda9b}.n42-fact-panel h4{color:#fffae7!important;font:700 22px Georgia,serif;margin:18px 0 6px}
.n42-fact-panel p{color:#e1e9d6;font-size:13px;margin:0;position:relative;z-index:1}.n42-panel-icon{font-size:100px;line-height:1;position:absolute;bottom:-12px;right:6px;color:#ffffff17}
.n42-main-specs{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin-top:24px}
.n42-summary-tile{border:1px solid #d4dec8;border-radius:12px;padding:16px 13px;background:#fdf9ee}
.n42-summary-tile small{font-size:11px;color:#788575;display:block;margin-bottom:7px}.n42-summary-tile strong{font-size:15px;color:#2d5739}
.n42-taxonomy{list-style:none;padding:0;margin:0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;counter-reset:n42}
.n42-taxonomy li{display:flex;gap:15px;align-items:center;background:#fff9ee;border:1px solid #d7ddcd;border-radius:12px;padding:16px}
.n42-tax-num{width:36px;height:36px;display:grid;place-items:center;border-radius:10px;background:#e7f0df;color:#397345;font-size:13px;font-weight:900;flex:0 0 auto}
.n42-taxonomy li div{display:grid;gap:2px}.n42-taxonomy li small{font-size:10px;text-transform:uppercase;letter-spacing:1.3px;color:#7b8978}.n42-taxonomy li strong{font-size:15px;font-style:italic;color:#2c5639}.n42-taxonomy li div>span{font-size:12px;color:#6b826d}
.n42-pairs{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:18px 0 24px}
.n42-pairs>div{padding:18px;background:#fffaf0;border:1px solid #d7dfce;border-radius:13px}
.n42-pairs dt{color:#6e816e;text-transform:uppercase;letter-spacing:.7px;font-size:10px;font-weight:900;margin-bottom:5px}
.n42-pairs dd{margin:0;font-size:14px;font-weight:650;color:#2d4b35;line-height:1.6}.n42-pairs dd small{display:block;color:#799078;font-size:11px;margin-top:3px;font-weight:500}
.n42-note{background:#eaf1df;border:1px solid #ccddc5;border-left:4px solid #54865c;padding:14px 17px;border-radius:10px;color:#425943;line-height:1.65;margin-top:19px}
.n42-husbandry-banner{display:flex;align-items:center;gap:10px;flex-wrap:wrap;background:#e5eee1;padding:15px;border:1px solid #d2e1cd;border-radius:12px;color:#496751;font-size:12px}
.n42-country{background:#fff9eb;color:#397045;padding:7px 10px;font-weight:900;border-radius:7px}.n42-husbandry-banner small{margin-left:auto;color:#6b8171}
.n42-husbandry-facts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:18px 0 20px}
.n42-husbandry-facts>div{display:flex;flex-direction:column;justify-content:center;gap:5px;min-height:100px;background:#fffbf4;border-radius:14px;padding:19px;border:1px solid #d6dfd0}
.n42-husbandry-facts small{font-size:11px;color:#7a8d7c}.n42-husbandry-facts strong{font-size:17px;line-height:1.4;color:#2b5839}
.n42-checklist{padding:0;list-style:none;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.n42-checklist li{background:#eaf2e5;border-radius:9px;padding:12px 13px;font-size:13px;color:#415a46}.n42-checklist li:before{content:'✓';color:#377c4c;font-weight:bold;margin-right:8px}
.n42-warning{background:#fff4dc;border-color:#f0dfb5;border-left-color:#c7903f}
.n42-source-button{margin-top:15px;display:inline-block;text-decoration:none!important;border-radius:9px;padding:11px 15px;background:#286743;color:#fff!important;font-weight:750}
.n42-source-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-bottom:20px}.n42-source-list a{color:#315f43!important;background:#fffaf0;border:1px solid #d6dfd2;border-radius:10px;padding:14px;font-weight:700;text-decoration:none}.n42-source-list a:hover{border-color:#558c59}.n42-source-list span{font-size:16px;margin-right:6px}
.n42-photo-credit{border-top:1px solid #d5dcca;padding:12px 0;color:#647664;font-size:12px}.n42-photo-credit a{color:#2e6c47}
.n42-profile .species-section{padding:15px 0;border-bottom:0}.n42-profile .species-section-head h3{font-size:18px;color:#244733!important}.n42-profile .sighting-form,.n42-profile .n273-suggestion{border-radius:12px;background:#fffaf1;border:1px solid #d4dfcd;padding:17px}.n42-profile .sighting-form label{color:#294e35}.n42-profile .sighting-form input,.n42-profile .sighting-form select,.n42-profile .sighting-form textarea,.n42-profile .n273-suggestion input,.n42-profile .n273-suggestion textarea{color:#25412f;background:#fffdf6;border-color:#c4d1c2}
.n42-demo-banner{margin-bottom:18px;padding:18px 20px;display:flex;align-items:center;justify-content:space-between;gap:18px;background:linear-gradient(110deg,#1c4b34,#346747);border:1px solid #6d9770;border-radius:16px;color:#f4f4e4;box-shadow:0 9px 23px #243e2617}
.n42-demo-banner>div{display:grid;gap:4px}.n42-demo-banner strong{font-size:16px;color:#fff9e7}.n42-demo-banner small{color:#d1e8cd;font-size:12px}.n42-demo-overline{font-size:10px;color:#c4e8b2;letter-spacing:1.1px;font-weight:900}
.n42-demo-banner button{flex:0 0 auto;border-radius:11px;padding:13px 16px;color:#1b4c30;background:#e7f2d8;border:0;cursor:pointer;font-weight:900;font-size:13px}.n42-demo-banner button:hover{background:#fff8df}
body.n30-dark #animalModal .n42-modal-card{background:#182a21;border-color:#46684c}body.n30-dark .n42-profile{--n42-ink:#e5efdc;color:#e6efdf;background:#1b2b22}
body.n30-dark .n42-body{color:#e0eadd}body.n30-dark .n42-dex-progress{color:#c7d8c0}body.n30-dark .n42-layout-note{color:#b5c7b2}
body.n30-dark .n42-tabs{background:#273e31;border-color:#3e6547}body.n30-dark .n42-tabs button{color:#d9eacb}body.n30-dark .n42-tabs button.is-current{background:#4a8958;color:#f7fbed}body.n30-dark .n42-tabs button:hover:not(.is-current){background:#34533d}
body.n30-dark .n42-tab-pane,body.n30-dark .n42-tab-pane p,body.n30-dark .n42-profile .n42-lead{color:#c8d9c3}body.n30-dark .n42-pane-head h3,body.n30-dark .n42-tab-pane h4{color:#e5f2dc!important}
body.n30-dark .n42-kicker{color:#a5cf9e}body.n30-dark .n42-chip{background:#2b4a35;border-color:#50765a;color:#d9e9cf}
body.n30-dark :is(.n42-pairs>div,.n42-taxonomy li,.n42-summary-tile,.n42-husbandry-facts>div,.n42-source-list a){background:#243d2e;border-color:#436348;color:#d4e7ce}
body.n30-dark .n42-pairs dd,body.n30-dark .n42-taxonomy li strong,body.n30-dark .n42-summary-tile strong,body.n30-dark .n42-husbandry-facts strong{color:#e6f3d6}
body.n30-dark :is(.n42-note,.n42-checklist li,.n42-husbandry-banner){background:#283f2d;border-color:#4c6c4f;color:#d9e6d1}body.n30-dark .n42-warning{background:#453b25;border-color:#a68b53}body.n30-dark .n42-source-list a{color:#dcf1d3!important}
body.n30-dark .n42-profile .sighting-form,body.n30-dark .n42-profile .n273-suggestion{background:#233c2c;border-color:#486c50}
body.n30-dark .n42-profile .sighting-form label{color:#d4e6d1}body.n30-dark .n42-profile .sighting-form :is(input,select,textarea){color:#edf7e8;background:#1e3528;border-color:#5c785c}
@media(max-width:760px){#animalModal .modal-card.n42-modal-card{width:min(98vw,1120px);max-height:98vh}#animalModal .n42-modal-card>.modal-close{top:9px;right:9px;margin:10px 10px -52px auto}.n42-photo-hero{min-height:325px}.n42-hero-copy{padding:48px 24px 44px}.n42-hero-copy h2{font-size:54px}.n42-body{padding:0 15px 22px}.n42-tabs{border-radius:10px;gap:2px}.n42-tabs button{padding:10px;font-size:11px}.n42-tab-pane{padding:23px 3px}.n42-main-specs{grid-template-columns:repeat(2,minmax(0,1fr))}.n42-overview-grid{grid-template-columns:1fr}.n42-fact-panel{min-height:160px}.n42-husbandry-facts,.n42-pairs,.n42-taxonomy,.n42-source-list,.n42-checklist{grid-template-columns:1fr}.n42-demo-banner{flex-direction:column;align-items:stretch}.n42-demo-banner button{width:100%}}
@media(max-width:410px){.n42-hero-copy{padding:54px 18px 44px}.n42-hero-copy h2{font-size:48px}.n42-hero-copy p{font-size:15px}.n42-hero-badges>span{padding:5px 9px;font-size:10px}.n42-husbandry-banner small{margin-left:0}.n42-image-credit{max-width:75%;font-size:9px}}

/* =============== ORIGINAL FILE: naturedex-v43.css =============== */
/* V43 additions only – V42 profile look and spacing retained. */
.n43-photo-missing{position:absolute;inset:0;display:flex;align-items:flex-end;justify-content:flex-end;gap:10px;flex-direction:column;padding:30px 30px 26px 50%;color:#e4ead5;background:radial-gradient(circle at 78% 37%,#758d6c,#304f3b 54%,#1b352a)}
.n43-photo-missing>span{font-size:150px;line-height:1;color:#bddbb144}.n43-photo-missing small{font-size:11px;text-align:right;opacity:.85;max-width:220px;line-height:1.5}
.n43-range{margin:16px 0 12px;border-radius:15px;background:#f0f2e8;border:1px solid #d4decf;padding:15px;overflow:hidden}
.n43-map-header{display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:8px;margin-bottom:8px}
.n43-map-header strong{color:#2d573a;font-size:13px}.n43-map-header span{color:#667f6b;font-size:11px}
.n43-range svg{display:block;width:100%;max-height:260px;border-radius:10px;background:#e5edf0}
.n43-range svg path{stroke:#bac8be;stroke-width:.6;stroke-linejoin:round}
.n43-map-land{fill:#d0d9cf}.n43-map-active{fill:#408958!important;stroke:#225b38!important;stroke-width:.9!important}
.n43-range>small{display:block;color:#67806c;margin-top:8px;font-size:10px;line-height:1.6}
.n43-map-loading{color:#647a69;font-size:12px;padding:22px 8px}
.n43-zoo-soon{background:linear-gradient(135deg,#f6f4e7,#e6eee0);border:1px solid #d3dfcf;border-radius:17px;padding:36px 26px;min-height:260px;text-align:center;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:8px}
.n43-soon-icon{font-size:44px;color:#749b7b;line-height:1}.n43-soon-tag{letter-spacing:2px;font-size:10px;font-weight:900;color:#397348;background:#e5eedc;border-radius:60px;padding:7px 13px}
.n43-zoo-soon h4{font-family:Georgia,serif;font-size:24px!important;color:#2d5737!important;margin:8px 0 0!important}.n43-zoo-soon p{margin:6px 0!important;max-width:530px}.n43-zoo-soon small{color:#688171}
body.n30-dark .n43-range{background:#293d33;border-color:#44614a}body.n30-dark .n43-range .n43-map-header strong{color:#e3f0da}body.n30-dark .n43-range .n43-map-header span,body.n30-dark .n43-range>small{color:#bfd0b7}
body.n30-dark .n43-zoo-soon{background:linear-gradient(140deg,#2c4032,#1e352a);border-color:#466549}body.n30-dark .n43-zoo-soon h4{color:#e8f2dc!important}body.n30-dark .n43-zoo-soon small{color:#bdccb9}
@media(max-width:760px){.n43-range{padding:10px}.n43-zoo-soon{padding:30px 15px}.n43-photo-missing{padding:20px 18px 18px 45%}}

/* =============== ORIGINAL FILE: nature-v44.css =============== */
/* V44: NatureDex-Kartenpräzision – vorhandenes V42-Layout unverändert. */
.n44-range-specific{display:flex;gap:18px;align-items:center;flex-wrap:wrap}
.n44-range-specific img{max-width:270px;width:min(100%,270px);max-height:290px;object-fit:contain;border-radius:12px;background:#e9efe4;border:1px solid #c5d5c3}
.n44-range-info{flex:1;min-width:190px;color:#335a42;font-size:12px;line-height:1.65}
.n44-range-info p{margin:7px 0 12px}
.n44-range-credit{margin-top:8px;font-size:10px;color:#537862;line-height:1.5}
.n44-range-credit a{color:inherit;text-decoration:underline}
.n44-range-error{padding:18px;background:#eff1eb;border:1px dashed #8ca68b;border-radius:10px;color:#3c6049}
.n44-map-unverified path.n44-map-possible{fill:#d0d9cf;stroke:#a0a05b!important;stroke-width:1.2!important;stroke-dasharray:3 2}
.n44-map-empty{font-weight:600;color:#62776b;font-size:11px}
body.n30-dark .n44-range-info,body.n30-dark .n44-range-credit{color:#cfdfca}
body.n30-dark .n44-range-error{background:#28372d;color:#d5ead3;border-color:#70876b}
@media(max-width:760px){.n44-range-specific{display:block}.n44-range-specific img{width:100%;max-width:230px;display:block;margin:0 auto 12px}.n44-range-info{min-width:0}}

/* V45: finished Daily can continue immediately at another difficulty */
#gameView .n45-after-daily{max-width:880px;margin:14px auto 16px;text-align:left;padding:20px 22px;border:1px solid #bad7b6;background:#f1f7e9;color:#284c34;border-radius:18px;box-shadow:0 12px 28px #19392414}
#gameView .n45-after-daily h3{margin:0 0 7px;font-size:21px;color:#245436}
#gameView .n45-after-daily p{margin:0 0 16px;font-size:14px;color:#617261}
#gameView .n45-daily-choices{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:9px}
#gameView .n45-choice{cursor:pointer;border:1px solid #91c7a1;border-radius:11px;padding:12px 8px;background:#fffdf3;color:#23593b;font-size:13px;font-weight:800}
#gameView .n45-choice:hover:not(:disabled){background:#d4efda;border-color:#2e8e56}
#gameView .n45-choice:disabled{cursor:default;opacity:.48}
#gameView .n45-choice.n45-solved{background:#dfefda;color:#315f38;opacity:.74}
body.n30-dark:not(.hub-on-home) #gameView .n45-after-daily{background:#203a2a;border-color:#688a69;color:#eef5e7}
body.n30-dark:not(.hub-on-home) #gameView .n45-after-daily h3{color:#e4f3dc}
body.n30-dark:not(.hub-on-home) #gameView .n45-after-daily p{color:#bfd3bb}
body.n30-dark:not(.hub-on-home) #gameView .n45-choice{background:#284735;color:#ecf5e1;border-color:#6a8d68}
body.n30-dark:not(.hub-on-home) #gameView .n45-choice.n45-solved{background:#375945}
@media(max-width:600px){#gameView .n45-daily-choices{grid-template-columns:repeat(2,minmax(0,1fr))}#gameView .n45-after-daily{padding:14px 12px}}

/* V46: Founder-only, non-mutating editorial Easy-pool audit. */
.v46-easy-audit{margin:1rem 0;border:1px solid #87b8dc;border-radius:14px;background:rgba(51,133,198,.07);color:inherit}
.v46-easy-audit>summary{cursor:pointer;padding:14px 16px;font-weight:750}
.v46-easy-body{padding:0 16px 16px;display:grid;gap:12px}
.v46-easy-body p{margin:0;line-height:1.5}
.v46-warning{border-left:3px solid #458bc3;padding:8px 10px;background:rgba(53,120,190,.08);border-radius:5px}
.v46-easy-actions{display:flex;flex-wrap:wrap;gap:8px}
.v46-easy-actions button{padding:10px 14px}
.v46-easy-summary{display:grid;grid-template-columns:repeat(auto-fit,minmax(120px,1fr));gap:8px}
.v46-badge{padding:10px;border-radius:9px;background:rgba(82,128,172,.11);display:flex;flex-direction:column;gap:5px}
.v46-badge strong{font-size:1.45rem}.v46-badge small{font-size:.82rem}
.v46-easy-body input[type=search]{max-width:450px;width:100%;padding:9px 12px;border:1px solid #87b8dc;border-radius:8px}
.v46-easy-rows{max-height:360px;overflow:auto;border:1px solid rgba(84,129,167,.3);border-radius:10px}
.v46-easy-row{display:grid;gap:4px;padding:11px 14px;border-bottom:1px solid rgba(84,129,167,.2)}
.v46-easy-row:last-child{border-bottom:0}.v46-easy-row small{overflow-wrap:anywhere;line-height:1.35}

/* V47: Founder-only simple-target management, separate from creation of scientific taxa. */
.v47-hidden-legacy-modes { display:none !important; }
.v47-easy{display:grid;gap:16px;padding:8px 0 22px;color:inherit;}
.v47-easy h3,.v47-easy h4{margin:0 0 5px;}
.v47-easy p{margin:0;line-height:1.5;}
.v47-intro,.v47-editor,.v47-roster{background:var(--card,#fff);border:1px solid rgba(100,128,116,.28);border-radius:14px;padding:16px;display:grid;gap:12px;min-width:0;}
.v47-intro{background:rgba(53,124,97,.07);}
.v47-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;}
.v47-grid label,.v47-roster label{display:grid;gap:5px;font-size:.9rem;}
.v47-easy input,.v47-easy select{box-sizing:border-box;width:100%;max-width:100%;min-width:0;padding:10px;border-radius:10px;background:var(--panel,#fff);color:inherit;border:1px solid rgba(100,128,116,.36);}
.v47-easy button{border-radius:10px;padding:10px 14px;cursor:pointer;}
.v47-buttons{display:flex;gap:9px;flex-wrap:wrap;}
.v47-buttons button:disabled{opacity:.45;cursor:not-allowed;}
.v47-status{min-height:20px;font-size:.9rem;}
.v47-list{display:grid;gap:7px;max-height:400px;overflow-y:auto;padding-right:3px;}
.v47-entry{display:flex;gap:12px;align-items:center;justify-content:space-between;border:1px solid rgba(100,128,116,.23);padding:9px 11px;border-radius:10px;text-align:left;background:rgba(112,133,114,.06);width:100%;color:inherit;}
.v47-entry span{display:grid;gap:3px;min-width:0;}
.v47-entry small{opacity:.72;overflow-wrap:anywhere;}
.v47-entry.selected{outline:2px solid #338ac5;background:rgba(57,147,206,.11);}
.v47-pill{display:inline-block;padding:3px 9px;border-radius:50px;font-size:.78rem;background:rgba(47,129,106,.12);}
.v47-warning{font-size:.85rem;opacity:.8;}
@media(max-width:670px){.v47-grid{grid-template-columns:1fr}.v47-buttons button{flex:1 1 140px}}

/* V47 uses the live Pool editor; retire the obsolete read-only 200-proposal panel. */
.v46-easy-audit{display:none!important;}

/* ===== V49: News feed and cloud-backed once-per-user announcements ===== */
#helpModal .n49-news-list{display:grid;gap:12px}
#helpModal .n49-entry{background:#f5efdf;border:1px solid #d7c9aa;border-radius:15px;padding:14px 16px;display:grid;gap:8px}
#helpModal .n49-entry.n49-inactive{opacity:.72;border-style:dashed}
#helpModal .n49-entry h4{font-size:17px;color:#2b5435;margin:0}
#helpModal .n49-entry-meta{font-weight:800;font-size:11px;text-transform:uppercase;letter-spacing:.05em;color:#668065}
#helpModal .n49-entry-body{white-space:pre-wrap;overflow-wrap:anywhere}
#helpModal .n49-founder{border-top:1px solid #c5cfae;margin-top:12px;padding:18px 2px 4px;display:grid;gap:11px}
#helpModal .n49-founder.hidden{display:none!important}
#helpModal .n49-founder h4{font-size:18px;color:#285337;margin:0}
#helpModal .n49-founder label{display:grid;gap:5px;font-weight:700;font-size:13px;color:#324d3a}
#helpModal .n49-founder input:not([type=checkbox]),#helpModal .n49-founder textarea{font:inherit;border:1px solid #bfcba9;border-radius:9px;padding:11px;color:#243b2d;background:#fffef8;width:100%;min-width:0;box-sizing:border-box}
#helpModal .n49-founder textarea{resize:vertical;min-height:95px}
#helpModal .n49-founder .n49-tick{display:flex;align-items:center;gap:9px}
.n49-unread-count{border-radius:20px;padding:1px 6px;font-size:11px;background:#577959;color:#fff}
.n49-unread-count.hidden{display:none!important}
.n49-actions{display:flex;gap:10px;flex-wrap:wrap;align-items:center}
#helpModal .n49-actions button,.n49-ack-btn{font:inherit;background:#2e6a40;color:white;border:0;border-radius:10px;padding:10px 15px;font-weight:750;cursor:pointer}
#helpModal .n49-neutral-btn,.n49-popup-card .n49-neutral-btn{font:inherit;background:#e0e9d5;color:#274c33;border:1px solid #b7cba7;border-radius:10px;padding:9px 14px;font-weight:750;cursor:pointer;width:max-content;max-width:100%}
#helpModal .n49-actions button:disabled,.n49-ack-btn:disabled{opacity:.65;cursor:wait}
.n49-popup-backdrop{z-index:9900!important}
.n49-popup-backdrop.hidden{display:none!important}
.n49-popup-card{box-sizing:border-box;background:#f8f1e2!important;border:1px solid #d7caa9!important;border-radius:22px!important;color:#284636!important;width:min(460px,calc(100vw - 26px))!important;max-height:90dvh;overflow-y:auto;padding:30px 28px!important;box-shadow:0 30px 90px rgba(10,37,19,.35)!important;text-align:left}
.n49-popup-emblem{font-size:31px;display:block;margin-bottom:14px}
.n49-popup-overline{font-size:11px;letter-spacing:.10em;color:#608069;font-weight:900}
.n49-popup-card h2{font-size:clamp(22px,5vw,28px);line-height:1.18;margin:9px 0 12px;color:#264c32!important}
.n49-popup-card p{color:#42614b!important;font-size:15px;line-height:1.6;white-space:pre-wrap;overflow-wrap:anywhere}
.n49-popup-card .n49-actions{justify-content:flex-end;margin-top:21px}
.n49-popup-card #n49PopupError{font-size:12px;color:#a63c33!important}
body.n30-dark #helpModal .n49-entry{background:#294334;border-color:#516e57}
body.n30-dark #helpModal .n49-entry h4,body.n30-dark #helpModal .n49-founder h4{color:#ecf5e6}
body.n30-dark #helpModal .n49-entry-meta{color:#b3cdb2}
body.n30-dark #helpModal .n49-founder label{color:#e0ecdb}
body.n30-dark #helpModal .n49-founder input:not([type=checkbox]),body.n30-dark #helpModal .n49-founder textarea{background:#193123;color:#eef6e9;border-color:#52745a}
body.n30-dark #helpModal .n49-neutral-btn,body.n30-dark .n49-popup-card .n49-neutral-btn{background:#355b40;color:#f0f7ea;border-color:#588364}
body.n30-dark .n49-popup-card{background:#203a2a!important;border-color:#52765b!important;color:#f0f5e9!important}
body.n30-dark .n49-popup-card h2,body.n30-dark .n49-popup-card p{color:#eef4e7!important}
@media(max-width:520px){.n49-popup-card{padding:24px 19px!important}#helpModal .n49-entry{padding:13px 12px}.n49-popup-card .n49-actions{justify-content:stretch}.n49-popup-card .n49-actions button{flex:1}}

/* V50: Android-PWA and connectivity status; no game data is cached by our service worker. */
.n50-offline{position:sticky;top:0;z-index:10020;width:100%;box-sizing:border-box;padding:12px 18px;text-align:center;background:#7b321f;color:#fff6ec;border-bottom:1px solid #df9b73;font-size:14px;font-weight:700;line-height:1.5;box-shadow:0 3px 18px rgba(0,0,0,.25)}
.n50-offline.hidden{display:none!important}
@media(max-width:580px){.n50-offline{font-size:12px;padding:9px 12px}}

/* V51 · Founder-only NatureDex data quality dashboard */
.v51-audit{margin:15px 0 22px;border:1px solid #9fb5a0;border-radius:15px;background:#f5f9f0;color:#203d2c;overflow:hidden}
.v51-audit>summary{cursor:pointer;font-weight:850;padding:16px 17px;list-style-position:inside;font-size:16px}
.v51-qa-flag{font-size:11px;font-weight:750;border-radius:20px;padding:4px 9px;background:#d5e6d5;color:#2c583a;vertical-align:middle;margin-left:8px}
.v51-qa-body{padding:0 17px 20px;display:grid;gap:15px}
.v51-lead,.v51-explain{line-height:1.5;font-size:13px;color:#42604b;margin:0}
.v51-stats{display:grid;grid-template-columns:repeat(auto-fit,minmax(126px,1fr));gap:9px}
.v51-stat{background:#fff;border:1px solid #d3dfcd;border-radius:10px;padding:12px 11px;display:flex;flex-direction:column;gap:3px}
.v51-stat strong{font-size:21px;font-variant-numeric:tabular-nums;color:#2d6040}
.v51-stat small{font-size:11px;color:#55725b}
.v51-controls{display:flex;flex-wrap:wrap;align-items:end;gap:10px}
.v51-controls label{display:grid;gap:4px;font-size:12px;font-weight:700;flex:1 1 190px;min-width:135px}
.v51-controls input,.v51-controls select{width:100%;box-sizing:border-box;border:1px solid #b4c7af;border-radius:9px;padding:10px;background:#fff;color:#233b2b;font:inherit}
.v51-controls button,.v51-paging button,.v51-row-head button{font:inherit;font-weight:750;border:1px solid #9db79c;border-radius:9px;background:#e4efdf;color:#285337;padding:10px 12px;cursor:pointer}
.v51-controls button:disabled,.v51-paging button:disabled{opacity:.5;cursor:not-allowed}
.v51-message{font-size:13px;margin:0;color:#385f46}
.v51-results{display:grid;gap:8px}
.v51-row{background:#fff;border:1px solid #d4dfd2;border-radius:11px;padding:12px;display:grid;gap:10px}
.v51-row-head{display:flex;align-items:center;justify-content:space-between;gap:12px}
.v51-row-head>div{min-width:0;display:grid;gap:3px}
.v51-row-head strong{font-size:14px;color:#254b34}
.v51-row-head small{font-size:11px;color:#5a7162;overflow-wrap:anywhere}
.v51-row-head button{white-space:nowrap;font-size:12px}
.v51-row-chips{display:flex;flex-wrap:wrap;gap:6px}
.v51-chip{font-size:11px;border-radius:30px;padding:4px 8px;font-weight:650}
.v51-chip.is-ok{background:#e0f0e2;color:#24643c}.v51-chip.is-open{background:#f3ead4;color:#765626}
.v51-paging{display:flex;align-items:center;justify-content:space-between;gap:10px;font-size:12px}
.v51-explain{border-top:1px solid #c6d9c3;padding-top:13px}
body.n30-dark .v51-audit{background:#233a2b;border-color:#45664b;color:#edf4e8}
body.n30-dark .v51-stat,body.n30-dark .v51-row{background:#192d20;border-color:#405e46}
body.n30-dark .v51-stat strong,body.n30-dark .v51-row-head strong,body.n30-dark .v51-message{color:#e0f5dd}
body.n30-dark .v51-stat small,body.n30-dark .v51-row-head small,body.n30-dark .v51-lead,body.n30-dark .v51-explain{color:#c2d8c5}
body.n30-dark .v51-controls input,body.n30-dark .v51-controls select{background:#172b1e;color:#f5fff0;border-color:#65846c}
body.n30-dark .v51-controls button,body.n30-dark .v51-paging button,body.n30-dark .v51-row-head button{background:#345840;color:#f4faed;border-color:#658d6b}
@media(max-width:560px){.v51-row-head{align-items:flex-start;flex-direction:column}.v51-row-head button{align-self:flex-start}.v51-paging{flex-wrap:wrap}.v51-qa-body{padding:0 12px 15px}.v51-audit>summary{font-size:14px;padding:14px 12px}}
/* Keep the audit in the species list, not above the full-screen edit form. */
.founder267-view:has(#f268Editor:not(.hidden)) > .v51-audit{display:none}


/* V52: Inline-Faktennachweise im bestehenden NatureDex-Steckbrief. */
.v52-editorial-note{margin:22px 0;padding:18px 20px;border:1px solid var(--line);border-left:4px solid var(--green2);border-radius:14px;background:var(--panel2);color:var(--text)}
.v52-editorial-note h4{margin:0 0 10px;font-size:17px;color:var(--text)}
.v52-editorial-note p{margin:10px 0;line-height:1.6;color:var(--text)}
.v52-editorial-note small{display:block;line-height:1.5;margin-top:12px;color:var(--muted)}
.v52-editorial-sources{margin-top:22px;padding:16px 0;border-top:1px solid var(--line)}
.v52-editorial-sources h4{margin:0 0 10px;color:var(--text)}
.v52-editorial-sources p{color:var(--muted);line-height:1.5}
.v52-editorial-sources a{display:inline-block;overflow-wrap:anywhere;color:var(--green);text-decoration:underline;text-underline-offset:3px}
@media(max-width:560px){.v52-editorial-note{padding:14px 12px}}

/* V68: echte Tierfotos im NatureDex */
.animal-art:has(.n268-photo),.species-art:has(.n268-photo){position:relative;overflow:hidden;padding:0;font-size:0;display:block}
.animal-art .n268-photo,.species-art .n268-photo{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;display:block}
@media(min-width:721px){.species-art:has(.n268-photo){width:160px;height:160px}}
.n268-fallback{font-size:inherit}
.animal-art .n268-fallback{font-size:70px}
.n268-credit{margin-top:8px;font-size:11px;color:var(--muted,#8b938e);line-height:1.35}
.n268-credit a{color:inherit;text-decoration:underline dotted}

/* V69: GBIF-Nachweiskarte */
.n69-map{display:block;width:100%;height:auto;border-radius:12px;background:#eef3ec}
.n69-map path.n43-map-land{fill:#d0d9cf;stroke:#fff;stroke-width:.4}
.n69-map image{opacity:.92}
.n70-lead-source{display:block;margin-top:-6px;margin-bottom:12px;font-size:11px;color:#7d8c80}

/* ===== V71: einheitlicher NatureDex-Steckbrief ===== */
.nd71{--nd-bg:#f7f2e7;--nd-card:#fffaf0;--nd-line:#e3d9c4;--nd-ink:#22382c;--nd-muted:#6f7b6c;--nd-accent:#2f6b45;--nd-soft:#e9f1e5;
  background:var(--nd-bg);color:var(--nd-ink);font-size:15px;line-height:1.55}
body.n30-dark .nd71{--nd-bg:#121a15;--nd-card:#18231c;--nd-line:#2c3d31;--nd-ink:#e6efe4;--nd-muted:#9fb19f;--nd-accent:#7fd39b;--nd-soft:#1d2c22}
.nd71-hero{position:relative;min-height:300px;display:flex;align-items:flex-end;overflow:hidden;background:linear-gradient(135deg,#26402f,#5f7a4b)}
.nd71-hero>img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.nd71-hero::after{content:"";position:absolute;inset:0;background:linear-gradient(0deg,rgba(8,20,13,.86) 0%,rgba(8,20,13,.35) 55%,rgba(8,20,13,.05) 100%);pointer-events:none}
.nd71-emoji{position:absolute;right:28px;top:22px;font-size:110px;opacity:.25;display:none}
.nd71-hero.no-photo .nd71-emoji{display:block}
.nd71-hero-copy{position:relative;z-index:1;padding:28px 30px 26px;color:#fbf7ec;max-width:760px}
.nd71-kicker{font-size:11px;letter-spacing:1.6px;font-weight:700;opacity:.85}
.nd71-hero h2{margin:6px 0 2px;font-family:Georgia,serif;font-size:clamp(32px,5.5vw,56px);line-height:1.05;color:#fff}
.nd71-hero em{font-size:17px;opacity:.9}
.nd71-badges{display:flex;flex-wrap:wrap;gap:7px;margin-top:14px}
.nd71-badges span{border:1px solid #ffffff55;background:#ffffff22;border-radius:99px;padding:4px 11px;font-size:12px;font-weight:600;backdrop-filter:blur(6px)}
.nd71-badges .nd71-iucn{border-color:transparent;color:#fff}
.iucn-LC{background:#3d8b52!important}.iucn-NT{background:#7b9a2e!important}.iucn-VU{background:#c79a12!important}.iucn-EN{background:#d2691e!important}
.iucn-CR{background:#c0392b!important}.iucn-EW,.iucn-EX{background:#3a3a3a!important}.iucn-DD,.iucn-NE{background:#777!important}
.nd71-status{margin-top:10px;font-size:12px}
.nd71-credit{position:absolute;right:12px;bottom:10px;z-index:2;font-size:10px;color:#f1ecdf;background:#0d1c1399;padding:3px 8px;border-radius:6px;max-width:60%}
.nd71-nav{position:sticky;top:0;z-index:5;display:flex;gap:6px;overflow-x:auto;padding:10px 16px;background:var(--nd-bg);border-bottom:1px solid var(--nd-line)}
.nd71-nav button{flex:none;border:1px solid var(--nd-line);background:var(--nd-card);color:var(--nd-ink);border-radius:99px;padding:6px 12px;font-size:12.5px;font-weight:600;cursor:pointer}
.nd71-nav button:hover{border-color:var(--nd-accent);color:var(--nd-accent)}
.nd71-body{padding:8px 22px 24px}
.nd71-section{padding:18px 0;border-bottom:1px solid var(--nd-line);scroll-margin-top:60px}
.nd71-section h3{margin:0 0 12px;font-family:Georgia,serif;font-size:22px;color:var(--nd-ink)}
.nd71-section h4{margin:16px 0 6px;font-size:15px;color:var(--nd-accent)}
.nd71-facts{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}
.nd71-fact{position:relative;background:var(--nd-card);border:1px solid var(--nd-line);border-radius:12px;padding:11px 12px 12px;min-height:74px}
.nd71-fact small{display:block;font-size:11px;text-transform:uppercase;letter-spacing:.6px;color:var(--nd-muted);margin-bottom:4px}
.nd71-fact strong{display:block;font-size:15px;line-height:1.3}
.nd71-fact.na strong{color:var(--nd-muted);font-weight:500}
.nd71-tag{display:inline-block;margin-top:6px;font-style:normal;font-size:10.5px;font-weight:700;border-radius:99px;padding:1px 7px;text-decoration:none}
.nd71-tag.src{background:var(--nd-soft);color:var(--nd-accent)}
.nd71-tag.est{background:#f6e7c3;color:#8a5a00}
.nd71-tag.approx{background:#e6eef6;color:#36597a}
body.n30-dark .nd71-tag.est{background:#3b3220;color:#f0c66d}body.n30-dark .nd71-tag.approx{background:#1f2c39;color:#9cc3e6}
.nd71-text{margin:0 0 8px;max-width:78ch}
.nd71-fallback{display:block;color:var(--nd-muted);font-size:11.5px;margin-top:-2px}
.nd71-na{color:var(--nd-muted);margin:0}
.nd71-loading{color:var(--nd-muted);font-style:italic;margin:0}
.nd71-geo{display:grid;grid-template-columns:1fr 2fr;gap:12px;margin:10px 0 12px}
.nd71-geo>div{background:var(--nd-card);border:1px solid var(--nd-line);border-radius:12px;padding:10px 12px}
.nd71-geo small{font-size:11px;text-transform:uppercase;letter-spacing:.6px;color:var(--nd-muted)}
.nd71-geo p{margin:4px 0 0}
.nd71-map{display:block;width:100%;height:auto;border-radius:12px;background:#dfe9ee;border:1px solid var(--nd-line)}
body.n30-dark .nd71-map{background:#1b2a33}
.nd71-map path{fill:#cfd8cc;stroke:#fff;stroke-width:.4}
body.n30-dark .nd71-map path{fill:#33463a;stroke:#1b2a33}
.nd71-note{display:block;color:var(--nd-muted);font-size:11.5px;margin-top:6px}
.nd71-pairs{display:grid;grid-template-columns:repeat(auto-fill,minmax(210px,1fr));gap:8px;margin:0 0 12px}
.nd71-pairs>div{background:var(--nd-card);border:1px solid var(--nd-line);border-radius:12px;padding:9px 12px}
.nd71-pairs dt{font-size:11px;text-transform:uppercase;letter-spacing:.6px;color:var(--nd-muted)}
.nd71-pairs dd{margin:3px 0 0;font-weight:600}
.nd71-tax{list-style:none;margin:0;padding:0;display:flex;flex-wrap:wrap;gap:8px}
.nd71-tax li{background:var(--nd-card);border:1px solid var(--nd-line);border-radius:10px;padding:7px 11px}
.nd71-tax li small{display:block;font-size:10.5px;text-transform:uppercase;color:var(--nd-muted)}
.nd71-tax li .sci{font-style:italic}
.nd71-zoo{margin-top:12px;background:var(--nd-soft);border-radius:12px;padding:10px 12px}
.nd71-zoo p{margin:4px 0 0;color:var(--nd-muted);font-size:13px}
.nd71 .sighting-section{margin:0;padding:0;border:0;background:none}
.nd71-sources{list-style:none;margin:0;padding:0;display:grid;gap:6px}
.nd71-sources li{display:grid;grid-template-columns:minmax(150px,1fr) auto;gap:2px 12px;align-items:baseline;background:var(--nd-card);border:1px solid var(--nd-line);border-radius:10px;padding:8px 12px}
.nd71-sources li small{grid-column:1/-1;color:var(--nd-muted);font-size:11.5px}
.nd71-sources a{color:var(--nd-accent);font-weight:600;text-decoration:none}
.nd71-sources .nd71-est{background:#fbf3df}
body.n30-dark .nd71-sources .nd71-est{background:#2a2518}
.nd71 [data-nd71-slot="improve"] .species-section{margin-top:12px;padding:0;border:0;background:none}
.nd71-lang{display:flex;align-items:center;gap:8px;padding:16px 0 4px;color:var(--nd-muted);font-size:13px}
.nd71-lang button{border:1px solid var(--nd-line);background:var(--nd-card);color:var(--nd-ink);border-radius:99px;padding:5px 12px;cursor:pointer}
.nd71-lang button.on{background:var(--nd-accent);border-color:var(--nd-accent);color:#fff}
@media(max-width:760px){.nd71-facts{grid-template-columns:repeat(2,minmax(0,1fr))}.nd71-geo{grid-template-columns:1fr}.nd71-body{padding:4px 14px 18px}.nd71-hero{min-height:240px}.nd71-hero-copy{padding:20px 18px}}
.nd71-map path.on{fill:#9cc9a3;stroke:#fff}
body.n30-dark .nd71-map path.on{fill:#3f7a55}
.nd71-map image{opacity:.95}

/* V72: zoombare Karte */
.nd71-mapbox{position:relative}
.nd71-mapbox .nd71-map{touch-action:none;cursor:zoom-in;aspect-ratio:2/1}
.nd71-mapbox .nd71-map.drag{cursor:grabbing}
.nd71-map path{stroke-width:var(--nd71-stroke,.4)}
.nd71-zoom{position:absolute;top:10px;right:10px;display:flex;flex-direction:column;gap:6px}
.nd71-zoom button{width:40px;height:40px;border-radius:10px;border:1px solid var(--nd-line);background:var(--nd-card);color:var(--nd-ink);font:600 20px/1 system-ui,sans-serif;cursor:pointer;box-shadow:0 2px 6px #0002}
.nd71-zoom button:disabled{opacity:.4;cursor:default}
.nd71-zoom button:focus-visible{outline:3px solid var(--nd-accent);outline-offset:1px}

/* V72: Sichtungsformular im hellen Steckbrief-Stil */
.nd71 .sighting-form{background:var(--nd-card);border:1px solid var(--nd-line);border-radius:14px;padding:16px}
.nd71 .sighting-form>label{color:var(--nd-ink)}
.nd71 .sighting-form .field-visibility{color:var(--nd-muted)}
.nd71 .sighting-form .field-visibility.private{color:var(--nd-accent)}
.nd71 .sighting-type label{background:var(--nd-soft);border:1px solid var(--nd-line);color:var(--nd-ink);min-height:44px;cursor:pointer}
.nd71 .sighting-form input[type=text],.nd71 .sighting-form input[type=date],.nd71 .sighting-form input[name=country],.nd71 .sighting-form textarea,.nd71 .sighting-form select[name=country]{background:var(--nd-bg)!important;color:var(--nd-ink)!important;border:1px solid var(--nd-line)!important}
.nd71 .sighting-form select[name=country] option{background:var(--nd-bg);color:var(--nd-ink)}
.nd71 .privacy-note{background:var(--nd-soft);border-color:var(--nd-line);color:var(--nd-muted)}
.nd71 .photo-upload{border-color:var(--nd-line)}
.nd72-open-dex{margin-top:12px;min-height:44px;padding:0 18px;border-radius:12px;border:0;background:#2f6b45;color:#fff;font:700 14px system-ui,sans-serif;cursor:pointer}
.nd72-open-dex:hover{background:#245638}

/* V73: Steckbrief im klassischen Tab-Layout, aufgeräumt */
.nd73 .n42-hero-copy h2{font-size:clamp(38px,6vw,68px)}
.nd73 .n42-photo-hero.no-photo{min-height:260px}
.nd73 .n42-dex-progress{padding:14px 5px}
.nd73 .n42-tab-pane{padding-top:24px}
.nd73-glance{margin:14px 0 0;display:grid;gap:10px;position:relative;z-index:1}
.nd73-glance dt{font-size:10px;letter-spacing:1.4px;text-transform:uppercase;color:#afda9b;font-weight:800}
.nd73-glance dd{margin:2px 0 0;color:#f4f4e6;font-size:14px;font-weight:650;line-height:1.4}
.nd73-specs .n42-summary-tile{display:flex;flex-direction:column;gap:2px}
.nd73-specs .nd71-tag{align-self:flex-start}
.nd73-na strong{color:#8a9888!important;font-weight:500}
.nd73-tile-note{display:block;font-size:11px;color:#6f816f;margin-top:5px;line-height:1.35}
.nd73-text{position:relative}
.nd73-text .nd71-text{max-width:78ch}
.nd73-src{display:inline-block;margin:2px 0 8px;font-size:11px;color:#6f816f;background:#edf2e6;border-radius:99px;padding:2px 10px}
.nd73-src a{color:#2e6c47}
.nd73-src-translated_en{background:#f6ecd6;color:#7b5a17}
.nd73-src-founder{background:#e0efe3;color:#245f3b}
.nd73-range{padding:12px}
.nd73-range .nd71-map{max-height:none}
.nd73-founder-pill{font-size:11px;font-weight:800;background:#fff2cf;color:#7a5600;border:1px solid #ecd49a;border-radius:99px;padding:5px 10px}
.nd73-edit{float:right;margin:0 0 6px 10px;border:1px solid #c9d8bf;background:#fffaf0;color:#2f6b45;border-radius:9px;padding:5px 10px;font:700 12px system-ui,sans-serif;cursor:pointer}
.nd73-area{width:100%;min-height:160px;border:1px solid #c9d8bf;border-radius:10px;padding:10px;font:14px/1.6 system-ui,sans-serif;background:#fffdf7;color:#22382c}
.nd73-edit-bar{display:flex;flex-wrap:wrap;gap:8px;align-items:center;margin-top:8px}
.nd73-edit-bar button{min-height:38px;border-radius:9px;border:1px solid #c9d8bf;background:#fffaf0;color:#2f6b45;font-weight:700;padding:0 12px;cursor:pointer}
.nd73-edit-bar button[data-a="save"]{background:#2f6b45;color:#fff;border-color:#2f6b45}
.nd73-edit-bar small{color:#6f816f}
.nd73-edit-photo{position:absolute;top:14px;left:14px;z-index:3;border:0;border-radius:10px;background:#fff8e6ee;color:#2f5a3c;font:700 12px system-ui,sans-serif;padding:8px 12px;cursor:pointer}
.nd73-dlg{width:min(920px,94vw);max-height:90vh;border:1px solid #b5c9b4;border-radius:16px;background:#f7f0e2;color:#213a2e;padding:18px}
.nd73-dlg::backdrop{background:#06120c99}
.nd73-dlg h3{margin:0 0 6px;font-family:Georgia,serif}
.nd73-cands{display:grid;grid-template-columns:repeat(auto-fill,minmax(170px,1fr));gap:10px;margin:12px 0}
.nd73-cand{display:flex;flex-direction:column;gap:6px;padding:6px;border:2px solid transparent;border-radius:12px;background:#fffaf0;cursor:pointer;text-align:left}
.nd73-cand:hover,.nd73-cand:focus-visible{border-color:#2f6b45}
.nd73-cand img{width:100%;aspect-ratio:4/3;object-fit:cover;border-radius:8px;background:#dfe6d8}
.nd73-cand small{font-size:11px;color:#5d6f5d;line-height:1.35}
.nd73-file{width:100%;margin:8px 0;padding:8px;border:1px solid #c9d8bf;border-radius:8px}
body.n30-dark .nd73-src{background:#243d2e;color:#cfe3c8}body.n30-dark .nd73-src-translated_en{background:#3b3220;color:#f0c66d}
body.n30-dark .nd73-tile-note{color:#b5c9b0}body.n30-dark .nd73-edit{background:#243d2e;color:#cfe3c8;border-color:#486c50}
body.n30-dark .nd73-area{background:#1e3528;color:#edf7e8;border-color:#5c785c}
@media(max-width:760px){.nd73 .n42-main-specs{grid-template-columns:repeat(2,minmax(0,1fr))}.nd73 .n42-overview-grid{grid-template-columns:1fr}.nd73-cands{grid-template-columns:repeat(2,minmax(0,1fr))}}
.nd73 .nd73-specs{margin:0 0 22px}

/* V74 mobile usability pass: preserve existing visual identity and behavior. */
@media (max-width: 680px) {
  html { -webkit-text-size-adjust: 100%; }
  body { min-width: 0; }
  .topbar { padding-top: max(9px, env(safe-area-inset-top)); }
  .topbar nav {
    max-width: 100%;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .topbar nav::-webkit-scrollbar { display: none; }
  .topbar nav .nav-btn {
    flex: 0 0 auto;
    min-height: 44px;
    touch-action: manipulation;
  }
  .header-actions button, .header-actions select {
    min-height: 44px;
    touch-action: manipulation;
  }
  .view, .modal-card, .n42-profile, .n42-body { min-width: 0; }
  .n42-modal-card {
    width: min(100%, 100vw);
    max-height: 100dvh;
    overflow-y: auto;
    overscroll-behavior-y: contain;
  }
  .n42-photo-hero { min-height: clamp(230px, 56vw, 330px); }
  .n42-hero-copy { padding: 48px 18px 25px; }
  .nd73 .n42-hero-copy h2 { font-size: clamp(30px, 8vw, 44px); overflow-wrap: anywhere; }
  .n42-body { padding-left: 12px; padding-right: 12px; }
  .n42-tabs {
    max-width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-x: contain;
    scrollbar-width: none;
    scroll-padding-inline: 8px;
  }
  .n42-tabs::-webkit-scrollbar { display: none; }
  .n42-tabs button { min-height: 44px; padding: 11px 13px; touch-action: manipulation; }
  .n42-tab-pane { overflow-wrap: anywhere; }
  .nd73 .n42-main-specs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .nd73-cands { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .nd73-dlg { width: calc(100vw - 20px); max-height: calc(100dvh - 24px); overflow-y: auto; }
  .nd73-edit-bar button, .nd73-cand { min-height: 44px; }
  input, textarea, select { max-width: 100%; }
  input:not([type="checkbox"]):not([type="radio"]), textarea, select { font-size: max(16px, 1em); }
  .table-scroll { -webkit-overflow-scrolling: touch; overscroll-behavior-x: contain; }
  .view { padding-bottom: max(76px, calc(60px + env(safe-area-inset-bottom))); }
}
@media (max-width: 380px) {
  .nd73 .n42-main-specs { grid-template-columns: 1fr; }
  .nd73-cands { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  .n42-tabs button { transition: none; }
}

/* V75: NatureDex species profiles — mobile editorial hierarchy, existing palette preserved. */
@media (max-width: 680px) {
  .nd73.n42-profile { border-radius: 18px; overflow: clip; }
  .nd73 .n42-photo-hero {
    min-height: 290px;
    display: flex;
    align-items: flex-end;
    border-radius: 0;
    isolation: isolate;
  }
  .nd73 .n42-photo-hero::after {
    background: linear-gradient(0deg, rgba(9,29,20,.96) 0%, rgba(9,29,20,.78) 31%, rgba(9,29,20,.08) 75%);
  }
  .nd73 .n42-hero-copy { width: 100%; max-width: 100%; padding: 64px 18px 32px; }
  .nd73 .n42-hero-copy h2 {
    font-size: clamp(29px, 8vw, 42px);
    line-height: 1.08;
    letter-spacing: -.025em;
    margin: 8px 0;
    text-wrap: balance;
  }
  .nd73 .n42-hero-copy em { display: block; font-size: 13px; opacity: .88; }
  .nd73 .n42-hero-badges {
    display: flex; flex-wrap: wrap; gap: 6px;
    margin-top: 13px; max-height: 70px; overflow: auto;
  }
  .nd73 .n42-hero-badges > span { font-size: 11px; }
  .nd73 .n42-image-credit { font-size: 9px; max-width: 70%; line-height: 1.3; }
  .nd73 .n42-body { padding: 0 14px 22px; }
  .nd73 .n42-dex-progress {
    margin: 0 -14px 12px;
    padding: 12px 14px;
    border-bottom: 1px solid #d9dfcf;
    display: flex; flex-wrap: wrap; gap: 8px; align-items: center;
  }
  .nd73 .n42-tabs {
    position: relative; top: auto;
    margin: 0 -14px 18px;
    padding: 4px 14px 10px;
    border: 0;
    border-bottom: 1px solid #d9dfcf;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    gap: 8px;
    scroll-snap-type: x proximity;
  }
  .nd73 .n42-tabs button {
    scroll-snap-align: start;
    min-height: 42px;
    padding: 9px 14px;
    border: 1px solid #d4decf;
    border-radius: 999px;
    background: #f8f8ef;
    color: #355641;
    font-size: 12px;
    font-weight: 750;
  }
  .nd73 .n42-tabs button.is-current { background: #286443; border-color: #286443; color: #fff; }
  .nd73 .n42-tab-pane { padding: 0 1px 12px; }
  .nd73 .n42-pane-head { margin-bottom: 16px; }
  .nd73 .n42-pane-head h3 { font-size: clamp(21px, 6vw, 28px); line-height: 1.2; }
  .nd73 .n42-main-specs {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 9px;
    margin: 0 0 22px;
  }
  .nd73 .n42-summary-tile {
    min-width: 0;
    padding: 14px 12px;
    border-radius: 13px;
    gap: 5px;
    box-shadow: none;
  }
  .nd73 .n42-summary-tile small { font-size: 11px; line-height: 1.3; }
  .nd73 .n42-summary-tile strong {
    font-size: clamp(14px, 4vw, 17px);
    line-height: 1.35;
    overflow-wrap: anywhere;
  }
  .nd73 .n42-overview-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .nd73 .n42-fact-panel { min-width: 0; border-radius: 14px; }
  .nd73 .nd71-text, .nd73 .n42-tab-pane p { line-height: 1.7; }
  .nd73 .n42-tab-pane img, .nd73 .n42-tab-pane svg { max-width: 100%; }
  .nd73 .nd73-edit-photo { top: 12px; left: 12px; max-width: 56%; }
}
@media (max-width: 380px) {
  .nd73 .n42-main-specs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .nd73 .n42-summary-tile { padding: 11px 9px; }
}
body.n30-dark .nd73 .n42-tabs { border-bottom-color: #3e6547; }
body.n30-dark .nd73 .n42-tabs button { background: #253d2e; border-color: #42644b; color: #e1ebdc; }
body.n30-dark .nd73 .n42-tabs button.is-current { background: #4a8958; border-color: #4a8958; color: #fff; }
body.n30-dark .nd73 .n42-dex-progress { border-bottom-color: #3e6547; }

/* V76: four-item smartphone app bar; the full desktop navigation remains intact. */
.nd-mobile-nav, .nd-mobile-more { display: none; }
@media (max-width: 680px) {
  .topbar { padding-bottom: 9px; }
  .topbar > nav { display: none !important; }
  .nd-mobile-nav {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    align-items: stretch;
    position: fixed;
    z-index: 80;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 6px max(8px, env(safe-area-inset-right)) max(7px, env(safe-area-inset-bottom)) max(8px, env(safe-area-inset-left));
    background: #f8f7ef;
    border-top: 1px solid #d4dfcf;
    box-shadow: 0 -5px 22px #1c32201d;
    gap: 3px;
  }
  .nd-mobile-nav > button {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 3px;
    min-width: 0;
    min-height: 53px;
    border: 0;
    border-radius: 12px;
    padding: 5px 2px;
    background: transparent;
    color: #415a46;
    font: 700 11px/1.2 system-ui, sans-serif;
    touch-action: manipulation;
  }
  .nd-mobile-nav > button span:first-child { font-size: 21px; line-height: 1.1; }
  .nd-mobile-nav > button.active { background: #e0eee0; color: #21663f; }
  .nd-mobile-nav > button:focus-visible, .nd-mobile-more button:focus-visible {
    outline: 3px solid #83ac88; outline-offset: -2px;
  }
  .nd-mobile-more:not([hidden]) {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    position: fixed;
    z-index: 79;
    bottom: calc(69px + env(safe-area-inset-bottom));
    left: 10px;
    right: 10px;
    max-height: min(55dvh, 360px);
    overflow-y: auto;
    padding: 13px;
    border-radius: 17px;
    border: 1px solid #d3dfce;
    background: #fafbf4;
    box-shadow: 0 -10px 35px #09201543;
  }
  .nd-mobile-more button {
    display: block;
    min-width: 0;
    min-height: 48px;
    text-align: left;
    border: 1px solid #d3dfce;
    border-radius: 11px;
    background: #f0f6ec;
    color: #315641;
    padding: 10px 12px;
    font: 700 13px system-ui, sans-serif;
  }
  .nd-mobile-more button.active { background: #deebdb; border-color: #90b49a; }
  .view, body:not(.hub-on-home) .view, #homeView.view {
    padding-bottom: max(95px, calc(85px + env(safe-area-inset-bottom)));
  }
  .modal, .global-account-backdrop { z-index: 100; }
}
@media (max-width: 680px) {
  body.n30-dark .nd-mobile-nav { background: #18271e; border-color: #365341; box-shadow: 0 -5px 22px #050d0799; }
  body.n30-dark .nd-mobile-nav > button { color: #c7d7c5; }
  body.n30-dark .nd-mobile-nav > button.active { background: #31583d; color: #efffec; }
  body.n30-dark .nd-mobile-more { background: #17271c; border-color: #365341; }
  body.n30-dark .nd-mobile-more button { background: #263b2c; color: #e0ecdc; border-color: #3d6247; }
}

/* V77: fully attributed research media in NatureDex species profiles. */
.nd77-hero-licence {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: 10px 18px 14px;
  background: #10261f;
  color: #e5eedf;
  font-size: 11px;
  line-height: 1.45;
}
.nd77-credit {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 5px 12px;
  font-size: 11px;
  line-height: 1.5;
  overflow-wrap: anywhere;
}
.nd77-credit a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
.nd77-status {
  display: inline-block;
  margin: 0 0 5px;
  padding: 3px 7px;
  background: #ecf3e1;
  border-radius: 6px;
  color: #3d6345;
  font-size: 10px;
  font-weight: 750;
}
.nd77-map-card {
  display: grid;
  gap: 10px;
  margin: 18px 0;
  padding: 14px;
  min-width: 0;
  border: 1px solid #d6decf;
  border-radius: 14px;
  background: #f6f8ef;
  color: #355341;
}
.nd77-map-card figcaption { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.nd77-map-card img {
  display: block;
  width: 100%;
  max-height: 510px;
  object-fit: contain;
  border-radius: 8px;
  background: #e5e8de;
}
.nd77-map-card .nd77-status { margin-bottom: 0; }
.nd77-range-warning {
  margin: 12px 0 !important;
  padding: 10px 12px;
  border-radius: 10px;
  background: #eef2e6;
  color: #566e54 !important;
  font-size: 12px;
  line-height: 1.5 !important;
}
.nd77-country-lists { grid-column: 1 / -1; display: grid; gap: 9px; margin: 12px 0; }
.nd77-country-lists > div { padding: 12px; border-radius: 10px; background: #eef2e6; }
.nd77-country-lists strong { display: block; margin-bottom: 5px; font-size: 12px; color: #315641; }
.nd77-country-lists p { margin: 0; overflow-wrap: anywhere; font-size: 13px; }
body.n30-dark .nd77-map-card, body.n30-dark .nd77-country-lists > div,
body.n30-dark .nd77-range-warning { background: #25392c; border-color: #456447; color: #d6e7d5 !important; }
body.n30-dark .nd77-country-lists strong { color: #d6e7d5; }
@media(max-width:680px) {
  .nd73 .n42-photo-hero:has(.nd77-hero-licence) {
    flex-direction: column;
    justify-content: flex-end;
    align-items: stretch;
  }
  .nd73 .nd77-hero-licence { flex: 0 0 auto; padding: 10px 14px 12px; }
  .nd77-map-card { margin: 14px 0; padding: 10px; }
}

/* V77: photo credits occupy their own row across desktop and mobile. */
.nd73 .n42-photo-hero:has(> .nd77-hero-licence) {
  flex-direction: column;
  justify-content: flex-end;
  align-items: stretch;
}
.nd73 .n42-photo-hero:has(> .nd77-hero-licence) > .n42-hero-copy {
  width: 100%;
}

/* V78: direct Founder editing controls inside NatureDex animal profiles. */
.nd78-edit-open {
  min-height: 44px;
  padding: 10px 15px;
  border: 1px solid #b8d5b8;
  border-radius: 12px;
  background: #286443;
  color: #fff;
  font: 750 13px system-ui, sans-serif;
  cursor: pointer;
  touch-action: manipulation;
}
.nd78-edit-open:hover, .nd78-edit-open:focus-visible { background: #205438; outline-offset: 2px; }
.nd78-edit-menu {
  margin: 10px 0 18px;
  padding: 16px;
  border: 1px solid #c6d7be;
  border-radius: 15px;
  background: #eef4e8;
  color: #294834;
}
.nd78-edit-menu[hidden] { display: none !important; }
.nd78-edit-menu > strong { display: block; font-size: 15px; margin-bottom: 11px; }
.nd78-edit-actions { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px,1fr)); gap: 8px; }
.nd78-edit-actions button {
  min-height: 44px;
  padding: 11px 13px;
  border: 1px solid #c2d5ba;
  border-radius: 10px;
  background: #fffdf7;
  color: #2e5a3b;
  font: 750 13px system-ui, sans-serif;
  text-align: left;
  cursor: pointer;
}
.nd78-edit-actions button:hover, .nd78-edit-actions button:focus-visible { border-color: #286443; background: #f5fcf3; }
.nd78-edit-menu > small { display: block; margin-top: 11px; line-height: 1.5; color: #58715a; }
body.n30-dark .nd78-edit-menu { background: #203729; border-color: #42634c; color: #e5f3e3; }
body.n30-dark .nd78-edit-actions button { background: #2a4332; border-color: #476750; color: #e7f4e4; }
body.n30-dark .nd78-edit-menu > small { color: #c3d4c0; }
@media(max-width:680px) {
  .nd78-edit-open { width: 100%; }
  .nd78-edit-menu { margin-left: -4px; margin-right: -4px; padding: 12px; }
  .nd78-edit-actions { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .nd78-edit-actions button { min-width: 0; font-size: 12px; padding: 10px; }
}
@media(max-width:370px) { .nd78-edit-actions { grid-template-columns: 1fr; } }

/* V79: Founder editor fallback for classic animal portrait layouts. */
.nd79-founder-bar { display:flex; align-items:center; flex-wrap:wrap; gap:8px; margin:12px 0 16px; padding:11px; border:1px solid #abcba9; background:#edf5e8; border-radius:13px; color:#28583a; }
.nd79-founder-bar strong { margin-right:auto; font-size:13px; }
.nd79-founder-bar button { min-height:44px; border:1px solid #39744e; border-radius:10px; background:#286443; color:white; padding:9px 14px; font:700 13px system-ui,sans-serif; cursor:pointer; }
.nd79-dialog { width:min(690px,calc(100vw - 24px)); max-height:90dvh; overflow:auto; border:1px solid #afc7a7; border-radius:18px; padding:20px; background:#f8f5ea; color:#213e2b; }
.nd79-dialog::backdrop { background:#051b11aa; }
.nd79-dialog h3 { margin:0 0 14px; }
.nd79-dialog select,.nd79-dialog textarea { display:block; width:100%; max-width:100%; box-sizing:border-box; border:1px solid #b0c3ae; border-radius:10px; margin:10px 0; padding:10px; font:16px system-ui,sans-serif; color:#233a29; background:#fff; }
.nd79-dialog button:not(.nd79-cancel) { min-height:44px; border:0; border-radius:10px; padding:10px 14px; background:#286443; color:white; cursor:pointer; font-weight:700; }
.nd79-dialog .nd79-cancel { display:block; margin:8px 0 0 auto; min-height:40px; border:1px solid #bdcabb; border-radius:10px; padding:8px 14px; background:#fff; color:#28583a; cursor:pointer; }
.nd79-note,.nd79-status { font-size:13px; line-height:1.5; }
.nd79-pictures { display:grid; grid-template-columns:repeat(auto-fit,minmax(135px,1fr)); gap:10px; }
.nd79-pictures button { display:flex; flex-direction:column; gap:5px; min-width:0; }
.nd79-pictures img { width:100%; aspect-ratio:4/3; object-fit:cover; border-radius:7px; }
.nd79-pictures small { overflow-wrap:anywhere; font-size:11px; }
@media(max-width:680px) { .nd79-founder-bar strong { flex-basis:100%; } .nd79-founder-bar button { flex:1; } }
body.n30-dark .nd79-founder-bar {background:#1e3929; color:#dcf3dd; border-color:#466e4b;}

/* V80: Founder media review, photo candidates and map inspection. */
.nd80-review-bar { display:flex; align-items:center; flex-wrap:wrap; gap:8px; margin:10px 0 16px; padding:12px; background:#eaf2e4; border:1px solid #c1d6ba; border-radius:13px; color:#28513b; }
.nd80-review-bar strong { margin-right:auto; font-size:13px; }
.nd80-review-bar button { min-height:44px; padding:9px 13px; border-radius:10px; border:1px solid #347047; background:#286443; color:white; font:750 13px system-ui,sans-serif; cursor:pointer; }
.nd80-dialog { width:min(960px,calc(100vw - 20px)); max-height:90dvh; overflow-y:auto; border:1px solid #b8cdb7; border-radius:18px; padding:16px; background:#f9f8f0; color:#243f30; }
.nd80-dialog::backdrop { background:#061810b8; }
.nd80-heading { display:flex; align-items:center; justify-content:space-between; gap:12px; margin-bottom:12px; }
.nd80-heading h3 { margin:0; font-size:clamp(18px,4vw,25px); }
.nd80-heading button { min-height:42px; min-width:42px; border:1px solid #c1d3bd; border-radius:10px; background:white; cursor:pointer; color:#28513b; }
.nd80-message { font-size:13px; line-height:1.5; color:#5b705d; }
.nd80-grid { display:grid; grid-template-columns:repeat(auto-fill,minmax(220px,1fr)); gap:13px; margin-top:12px; }
.nd80-photo-card { display:flex; flex-direction:column; gap:8px; min-width:0; padding:10px; border:1px solid #d0ddca; border-radius:13px; background:#fff; }
.nd80-photo-card.is-main { border:2px solid #2c7549; }
.nd80-photo-card img { width:100%; aspect-ratio:4/3; object-fit:contain; border-radius:8px; background:#e7e9e2; }
.nd80-photo-card strong { font-size:13px; }
.nd80-photo-card small { font-size:11px; overflow-wrap:anywhere; line-height:1.4; }
.nd80-links { font-size:12px; }
.nd80-links a,.nd80-dialog-content > a { color:#286443; text-decoration:underline; }
.nd80-review-actions { display:flex; flex-wrap:wrap; gap:5px; margin-top:auto; }
.nd80-review-actions button { flex:1 1 auto; min-height:43px; border-radius:8px; padding:8px; border:1px solid #cbd9c6; background:#eef4e9; color:#28513b; font:700 12px system-ui,sans-serif; cursor:pointer; }
.nd80-review-actions .nd80-approve { background:#286443; color:white; border-color:#286443; }
.nd80-review-actions .nd80-reject { background:#fff1ee; color:#9a3930; border-color:#e4c4c1; }
.nd80-review-actions button:disabled { opacity:.43; cursor:default; }
.nd80-map-image { display:block; width:100%; max-height:55dvh; object-fit:contain; background:#edf0e7; border-radius:10px; }
.nd80-map-credit { font-size:12px; }
.nd80-occurrence { margin-top:20px; padding:15px; border:1px solid #d1ddcb; border-radius:11px; background:#eef4e9; }
.nd80-occurrence p { font-size:13px; line-height:1.5; }
body.n30-dark .nd80-review-bar { background:#243b2d; border-color:#4a6b4c; color:#e8f6e3; }
@media(max-width:680px){.nd80-review-bar strong{flex-basis:100%;}.nd80-review-bar button{flex:1;}.nd80-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;}.nd80-photo-card{padding:7px;}.nd80-review-actions button{font-size:11px;}}
@media(max-width:420px){.nd80-grid{grid-template-columns:1fr;}}

/* V81: prominent release news shortcut, without cluttering the mobile header. */
.nd-news-shortcut {
  min-height: 40px;
  padding: 8px 12px;
  border: 1px solid #b6d3ad;
  border-radius: 10px;
  background: #ecf5e7;
  color: #245c38;
  font: 750 12px system-ui, sans-serif;
  cursor: pointer;
}
.nd-news-shortcut:hover, .nd-news-shortcut:focus-visible { background: #dcefd9; }
@media(max-width:680px) { .nd-news-shortcut { display:none !important; } }
body.n30-dark .nd-news-shortcut { background:#243e2d; color:#e4f4de; border-color:#476c4a; }


/* NatureDex V82 — einheitliches Premium-Tierporträt für jede Art.
   Großes, unbeschnittenes Foto statt gecropptem Hintergrund; responsiv. */
#animalModal .nd73.n42-profile,
.nd73.n42-profile {
  --n42-ink:#f7f0db;--n42-muted:#bdcbb9;--n42-line:#44624c;
  --n42-surface:#10291e;--n42-accent:#c9aa5c;
  background:radial-gradient(ellipse at 80% 0%,#1b4434 0%,#09251c 48%,#061b15 100%);
  color:#f7f0db;border:1px solid #876f3c;border-radius:18px;
}
#animalModal .nd73 .n42-photo-hero,
.nd73 .n42-photo-hero,
.nd73 .n42-photo-hero:has(> .nd77-hero-licence) {
  display:grid;grid-template-columns:minmax(220px,42%) minmax(0,1fr);
  grid-template-rows:minmax(350px,auto) auto;
  gap:0 28px;align-items:center;justify-content:initial;
  min-height:0;padding:30px 30px 12px;overflow:visible;
  background:radial-gradient(circle at 78% 20%,#20513d 0%,#0a2a20 55%,#092018 100%);
  border-bottom:1px solid #856f3e;
}
.nd73 .n42-photo-hero::after{display:none!important}
#animalModal .nd73 .n42-photo-hero>img,
.nd73 .n42-photo-hero>img {
  position:relative;inset:auto;display:block;grid-column:1;grid-row:1;
  width:100%;height:clamp(340px,42vw,590px);
  max-height:65vh;min-height:0;object-fit:contain!important;object-position:center;
  border:2px solid #c5a15a;border-radius:17px;
  background:linear-gradient(145deg,#294b42,#122d29);
  box-shadow:0 12px 30px #0008,0 0 0 5px #7c67363d;
}
.nd73 .n42-photo-hero>.n43-photo-missing {
  grid-column:1;grid-row:1;position:relative;min-height:350px;
  display:flex;align-items:center;justify-content:center;flex-direction:column;
  border:2px solid #ae9250;border-radius:17px;background:#17362a;
}
#animalModal .nd73 .n42-photo-hero>.n42-hero-copy,
.nd73 .n42-photo-hero>.n42-hero-copy,
.nd73 .n42-photo-hero:has(> .nd77-hero-licence) > .n42-hero-copy {
  grid-column:2;grid-row:1;width:100%;max-width:none;min-width:0;
  padding:28px 8px;color:#f9f2de;
}
.nd73 .n42-hero-copy h2,
.nd73 .n42-hero-copy h2{font-family:Georgia,serif!important;font-size:clamp(34px,4vw,62px)!important;line-height:1.08;color:#fff2d7!important;letter-spacing:-.025em;overflow-wrap:anywhere}
.nd73 .n42-hero-copy>em{display:block;color:#ead8a7;font-size:clamp(16px,2vw,22px);margin:10px 0 20px}
.nd73 .n42-label,.nd73 .n42-dot{color:#d5b76c}
.nd73 .n42-hero-badges>span{background:#194532;border:1px solid #9e874b;color:#f6eed5}
.nd73 .n42-image-credit,
.nd73 .nd77-hero-licence {
  position:relative;inset:auto;z-index:2;grid-column:1;grid-row:2;
  width:100%;padding:8px 5px 2px;margin:0;background:transparent;
  color:#c3d2c1;font-size:10px;overflow-wrap:anywhere;
}
.nd73 .n42-photo-hero>.nd77-hero-licence ~ .n42-image-credit{display:none}
.nd73 .n42-photo-hero>.nd73-edit-photo{z-index:3;top:40px;left:40px;right:auto}
.nd73 .n42-body{background:transparent;color:#f0ebda;padding:16px 30px 30px}
.nd73 .n42-dex-progress:empty{display:none}
.nd73 .n42-dex-progress{padding:5px 0 14px;justify-content:flex-end}
.nd73 .n42-tabs,
body.n30-dark .nd73 .n42-tabs{position:relative;top:auto;background:#0e3023;border:1px solid #8c7746;border-radius:13px;padding:6px;gap:5px}
.nd73 .n42-tabs button,
body.n30-dark .nd73 .n42-tabs button{background:transparent;border:1px solid transparent;color:#e7dcb9;border-radius:9px}
.nd73 .n42-tabs button.is-current,
body.n30-dark .nd73 .n42-tabs button.is-current{background:#1e6540;border-color:#c3a260;color:#fff6df}
.nd73 .n42-tabs button:hover:not(.is-current){background:#204433}
.nd73 .n42-tab-pane,.nd73 .n42-tab-pane p,
body.n30-dark .nd73 .n42-tab-pane,
body.n30-dark .nd73 .n42-tab-pane p{color:#dbe6d7}
.nd73 .n42-pane-head h3,.nd73 .n42-tab-pane h4,
body.n30-dark .nd73 .n42-pane-head h3{color:#f8e7bd!important}
.nd73 .n42-kicker{color:#c4ac71}
.nd73 .n42-main-specs{grid-template-columns:repeat(auto-fit,minmax(135px,1fr));gap:12px}
.nd73 .n42-summary-tile,
.nd73 .n42-fact-panel,
.nd73 .n42-pairs>div,
.nd73 .n42-taxonomy li,
.nd73 .n42-husbandry-facts>div{
  background:linear-gradient(145deg,#173b2b,#0d2b20);
  border:1px solid #806c3d;border-radius:13px;color:#f5ecd5;
}
.nd73 .n42-summary-tile small,.nd73 .n42-pairs dt,.nd73 .n42-taxonomy li small{color:#c9bd96}
.nd73 .n42-summary-tile strong,.nd73 .n42-pairs dd,.nd73 .n42-taxonomy li strong{color:#fff3d6}
.nd73 .n42-fact-panel .n42-kicker{color:#e0c17a}
.nd73 .n42-profile .n42-lead,.nd73 .n42-lead{color:#e0e7da}
.nd73 .nd71-mapbox,.nd73 .nd77-map-card{border:1px solid #8a7442;border-radius:14px;overflow:hidden}
@media(max-width:760px){
  #animalModal .nd73 .n42-photo-hero,
  .nd73 .n42-photo-hero,
  .nd73 .n42-photo-hero:has(> .nd77-hero-licence){
    display:flex;flex-direction:column;align-items:stretch;gap:10px;
    padding:20px 15px 12px;min-height:0;
  }
  #animalModal .nd73 .n42-photo-hero>img,
  .nd73 .n42-photo-hero>img{width:100%;height:min(62vh,460px);max-height:none;object-fit:contain!important}
  #animalModal .nd73 .n42-photo-hero>.n42-hero-copy,
  .nd73 .n42-photo-hero>.n42-hero-copy,
  .nd73 .n42-photo-hero:has(> .nd77-hero-licence) > .n42-hero-copy{padding:12px 3px 14px}
  .nd73 .n42-hero-copy h2{font-size:clamp(31px,9vw,46px)!important}
  .nd73 .n42-photo-hero>.n42-image-credit,.nd73 .n42-photo-hero>.nd77-hero-licence{order:3}
  .nd73 .n42-photo-hero>.nd73-edit-photo{top:29px;left:24px}
  .nd73 .n42-body{padding:12px 14px 24px}
  .nd73 .n42-overview-grid{grid-template-columns:1fr}
  .nd73 .n42-main-specs{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:390px){.nd73 .n42-main-specs{grid-template-columns:1fr}}

/* V84 – Founder pencil stays in the left action area; close X stays on the right.
   Scope: NatureDex animal profile only. No editor functionality changes. */
#animalModal .nd73 .n42-dex-progress,
.nd73 .n42-dex-progress {
  justify-content: flex-start !important;
  align-items: center;
  gap: 9px;
}
#animalModal .nd73 .nd78-edit-open,
.nd73 .nd78-edit-open {
  margin-left: 0;
  margin-right: auto;
  flex: 0 1 auto;
  max-width: 100%;
}
#animalModal .nd73 .nd73-edit,
.nd73 .nd73-edit {
  float: none;
  display: inline-block;
  margin: 0 0 10px 0;
}
#animalModal .n42-modal-card > .modal-close {
  z-index: 40;
}
@media (max-width: 680px) {
  #animalModal .nd73 .n42-dex-progress,
  .nd73 .n42-dex-progress { justify-content: flex-start !important; }
  #animalModal .nd73 .nd78-edit-open,
  .nd73 .nd78-edit-open { width: auto; min-width: 0; max-width: 100%; }
}

/* 20.11.: Founder-Werkstatt lesbar machen (F2, F3, F6) */
/* F2: aktiver Reiter im Tier-Editor hatte dunkle Schrift auf dunkelgruenem Grund. */
.f268-tools button.active,.f268-tabrow button.active{background:#1d5135;border-color:#68d99a;color:#f4fff7}
.f268-tools{display:block;margin:16px 0}
.f268-tabrow{display:flex;gap:9px;flex-wrap:wrap;align-items:center}
/* F3: Loeschen ist eine Gefahrenaktion und steht abgesetzt unter den Reitern. */
.f268-danger{margin:14px 0 0;padding:12px 14px;border:1px solid #7a3d3d;border-left:4px solid #c2524f;border-radius:12px;background:rgba(104,34,34,.26);display:flex;flex-wrap:wrap;gap:6px 14px;align-items:center}
.f268-danger-btn{background:#5d1f1f;border:1px solid #b2564f;color:#ffe9e5;border-radius:10px;padding:10px 14px;cursor:pointer;font-weight:700}
.f268-danger-btn:hover:not(:disabled){background:#7a2727;border-color:#e08079}
.f268-danger-btn:disabled{opacity:.45;cursor:not-allowed}
.f268-danger small{color:#f0c9c4;font-size:12px;line-height:1.45}
/* F6: Leicht-Pool-Karten sind hell - Text muss dunkel sein, nicht geerbt hell. */
.global-account-dialog.founder267-open .v47-intro,
.global-account-dialog.founder267-open .v47-editor,
.global-account-dialog.founder267-open .v47-roster{background:#f6f7ef;color:#22301f}
.global-account-dialog.founder267-open .v47-easy,
.global-account-dialog.founder267-open .v47-easy h3,
.global-account-dialog.founder267-open .v47-easy h4,
.global-account-dialog.founder267-open .v47-easy p,
.global-account-dialog.founder267-open .v47-easy label,
.global-account-dialog.founder267-open .v47-easy strong,
.global-account-dialog.founder267-open .v47-easy small{color:#22301f}
.global-account-dialog.founder267-open .v47-easy .v47-warning{color:#6b4b14}
.global-account-dialog.founder267-open .v47-easy input,
.global-account-dialog.founder267-open .v47-easy select{background:#fff;color:#22301f;border-color:rgba(60,84,66,.45)}
.global-account-dialog.founder267-open .v47-entry{background:#fff;color:#22301f;border-color:rgba(60,84,66,.28)}
.global-account-dialog.founder267-open .v47-entry.selected{background:#e3efdd;border-color:#4f8c5c}
.global-account-dialog.founder267-open .v47-easy button{background:#1d5135;border:1px solid #4f8c5c;color:#f4fff7}
.global-account-dialog.founder267-open .v47-easy button:disabled{opacity:.5}

/* 20.11.: Hinweis, wenn ein Live-Update geladen wurde */
.ndlu-toast{position:fixed;left:50%;bottom:86px;transform:translateX(-50%);z-index:9999;max-width:min(92vw,420px);
  background:#1d5135;color:#f4fff7;border:1px solid #4f8c5c;border-radius:12px;padding:11px 15px;
  font-size:14px;line-height:1.45;box-shadow:0 10px 26px rgba(0,0,0,.28);text-align:center}
