/* Cihat'ın referansı: soğuk orman camı, piksel kenar, turkuaz odak, renkli dallar. */
.ov.skill-overlay{--st-ink:#041514;--st-edge:#657958;--st-text:#eee6b7;--st-muted:#8da6a4;--st-cyan:#48e4ed;--st-gold:#ebbc61;background:rgba(1,9,9,.57);padding:0;color:var(--st-text);font-family:'Pixelify Sans',sans-serif}
#panel.skill-overlay #panelCard{width:min(1840px,96vw);max-width:none;height:calc(100dvh - 104px - var(--st) - var(--sb));max-height:none;margin:calc(76px + var(--st)) auto 28px;padding:0;border:0;border-image:none;background:none;box-shadow:none;overflow:visible;display:block}
#panel.skill-overlay #panelTitle,#panel.skill-overlay #panelSub{display:none}
#panel.skill-overlay #panelBody{height:100%;width:100%;display:block;overflow:visible;padding:0}
#panel.skill-overlay #panelClose{position:absolute;z-index:5;right:0;top:-54px;min-width:88px;min-height:44px;border:2px solid var(--st-edge);border-image:none;background:#081c19;color:var(--st-text);font-family:inherit;font-size:16px}
#skillTree{height:100%;width:100%;min-width:0;display:flex;flex-direction:column;gap:12px;--branch:var(--st-gold)}
#skillTree *{box-sizing:border-box}
#skillTree button{font-family:inherit;cursor:pointer;border-radius:0;touch-action:manipulation}
#skillTree button:focus-visible,.st-viewport:focus-visible{outline:3px solid var(--st-cyan);outline-offset:3px}
.st-tabs{display:flex;gap:9px;flex-shrink:0;overflow-x:auto;padding:3px 3px 7px;scrollbar-width:thin;scrollbar-color:#657958 #071918}
.st-tabs button{display:flex;align-items:center;justify-content:center;gap:10px;flex:1 0 134px;min-height:65px;padding:9px 10px;border:2px solid var(--st-edge);box-shadow:inset 0 0 0 3px #172d24,0 0 0 1px #14231d;background:rgba(4,23,20,.96);color:#babbaa;font-size:clamp(13px,1.1vw,20px);line-height:1.08;text-align:left;text-transform:uppercase;font-weight:650}
.st-tabs button.active{border-color:var(--st-cyan);color:var(--st-text);box-shadow:inset 0 0 16px #12626860,0 0 9px #43e9f53b}
.st-tabs .st-icon,.st-tabs svg{width:30px;height:30px;object-fit:contain;flex-shrink:0}
.st-frame{border:2px solid var(--st-edge);outline:1px solid #283d30;outline-offset:3px;box-shadow:inset 0 0 0 3px #132920;background:rgba(2,20,18,.96)}
.st-layout{display:grid;grid-template-columns:minmax(168px,19%) minmax(0,1fr) minmax(248px,25%);gap:16px;min-height:0;flex:1;border:2px solid var(--st-edge);outline:2px solid #344833;outline-offset:3px;padding:14px;background:rgba(2,15,13,.8)}
.st-side{padding:12px;overflow:auto;min-height:0;scrollbar-width:thin}
.st-preview{position:relative;height:clamp(125px,22vh,260px);display:flex;align-items:center;justify-content:center;background:radial-gradient(ellipse at bottom,#1b30243b,transparent 75%);margin-bottom:6px}
.st-preview img{width:100%;height:100%;max-width:100%;max-height:100%;object-fit:contain;image-rendering:pixelated;filter:drop-shadow(0 5px 0 #0008)}
.st-preview-ruh{background:radial-gradient(ellipse at 50% 70%,#3fd2ff2e,transparent 70%)}.st-preview-ruh img{filter:drop-shadow(0 0 5px #5fe3ffaa) drop-shadow(0 5px 0 #0008)}
.st-preview-kule img{image-rendering:auto;object-fit:cover;border-radius:6px;filter:none;box-shadow:0 0 0 1px #72c9b555}
.st-detail-kule{display:none;height:clamp(90px,30vh,170px);margin:6px 0}
.st-kule-rozet{position:absolute;left:6px;bottom:6px;padding:2px 6px;font-size:11px;background:#0c1612d9;color:#bfeee2;border:1px solid #72c9b588;border-radius:4px}
.st-preview img.st-preview-vehicle{position:absolute;bottom:1%;left:19%;width:68%;height:45%}
#skillTree h2{margin:0;color:var(--st-text);font-size:clamp(19px,1.65vw,28px);font-weight:600;line-height:1.13;border:0;border-image:none;padding:0;background:none;letter-spacing:0}
.st-side h2{display:block!important;width:100%;margin-right:0!important;text-align:center;border:2px solid #4c6048!important;padding:8px!important;font-size:23px!important}
#skillTree p{font-size:clamp(14px,1.08vw,18px);line-height:1.4;color:var(--st-muted);margin:14px 0}
#skillTree h3{color:var(--st-gold);font-size:clamp(15px,1.18vw,20px);margin:15px 0 6px;text-transform:uppercase;font-weight:550}
.st-stat{display:flex;align-items:baseline;gap:7px;padding:9px 0;border-bottom:1px solid #2c4941;font-size:clamp(13px,1.04vw,17px);line-height:1.2}
.st-stat span{color:var(--st-muted);flex:1;overflow-wrap:anywhere}.st-stat b{font-weight:450;color:#e2e7d4}.st-stat em{color:#8bd67b;font-style:normal}
.st-side-note{margin-top:20px;color:var(--st-muted);font-size:13px;line-height:2}.st-side-note img,.st-side-note svg{width:16px;height:16px;vertical-align:middle}
.st-main{display:flex;flex-direction:column;min-width:0;min-height:0;gap:12px}
.st-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px;flex-shrink:0}
.st-heading>div:first-child{display:flex;align-items:center;gap:12px;min-width:0}.st-heading>div:first-child>.st-icon,.st-heading>div:first-child>svg{height:36px;width:36px;object-fit:contain}
.st-heading h2{text-transform:uppercase}
.st-wallet{display:flex;flex-wrap:wrap;justify-content:end;gap:10px;min-width:98px;color:#e5dba9;font-size:16px}.st-wallet span{white-space:nowrap}.st-wallet img,.st-wallet svg{width:18px;height:18px;vertical-align:middle;margin-right:4px}
.st-tree{flex:1;min-height:200px;display:flex;flex-direction:column;overflow:hidden;position:relative;background-color:#031615;background-image:linear-gradient(#19363329 1px,transparent 1px),linear-gradient(90deg,#19363329 1px,transparent 1px);background-size:22px 22px}
.st-toolbar{display:flex;align-items:center;gap:8px;justify-content:space-between;padding:7px;border-bottom:1px solid #2d4740;background:#061c19;z-index:1;flex-shrink:0}
.st-toolbar>div{display:flex;align-items:center;gap:4px}.st-toolbar button,.st-footer button,.st-small,.st-mobile-back{border:1px solid #5e7455;background:#112b23;color:var(--st-text);padding:7px 10px;font-size:14px;min-height:44px}
.st-toolbar button:hover,.st-footer button:hover{border-color:var(--st-cyan);color:#fffbd5}.st-toolbar button[aria-label="Yakınlaştır"],.st-toolbar button[aria-label="Uzaklaştır"]{font-size:25px;min-width:44px;padding:0}
.st-count{font-size:12px;color:#6e8c83}.st-zoom-label{width:44px;text-align:center;font-size:13px;color:#b8c8b9}
.st-viewport{position:relative;flex:1;min-height:0;overflow:hidden;touch-action:none;cursor:grab;isolation:isolate}.st-viewport:active{cursor:grabbing}
.st-world{position:absolute;left:0;top:0;transform-origin:0 0;will-change:transform;user-select:none}
.st-wires{position:absolute;inset:0;pointer-events:none;overflow:visible}.st-wires path{fill:none;stroke:var(--wire);stroke-width:4;stroke-linejoin:miter;opacity:.73;filter:drop-shadow(0 0 4px var(--wire))}
.st-node{position:absolute;transform:translate(-50%,-50%);width:112px;height:112px;border:3px solid var(--branch);box-shadow:inset 0 0 0 4px #10251e,0 0 10px color-mix(in srgb,var(--branch) 24%,transparent);background:#061b19;color:var(--branch);display:flex;align-items:center;justify-content:center;flex-direction:column;padding:12px;gap:6px;clip-path:polygon(8px 0,calc(100% - 8px) 0,calc(100% - 8px) 5px,100% 5px,100% calc(100% - 8px),calc(100% - 6px) calc(100% - 8px),calc(100% - 6px) 100%,6px 100%,6px calc(100% - 5px),0 calc(100% - 5px),0 8px,8px 8px)}
.st-node>.st-icon,.st-node>svg{width:48px;height:48px;object-fit:contain;image-rendering:pixelated;pointer-events:none}.st-node span{font-size:22px;line-height:1;color:var(--branch);pointer-events:none}.st-node-name{position:absolute;bottom:3px;left:4px;right:4px;text-align:center;font-size:11px;color:#c7d2bd;font-style:normal;line-height:1;pointer-events:none;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.st-node.locked{border-color:color-mix(in srgb,var(--branch) 55%,#061b19);box-shadow:none}.st-node.locked>img,.st-node.locked>svg{opacity:.58}.st-node.complete{background:#203c2c}.st-node.complete::after{content:'✓';position:absolute;top:3px;right:8px;color:#b7eb84;font-size:22px}.st-node.selected{border-color:var(--st-cyan);box-shadow:inset 0 0 20px #21d5df30,0 0 16px #40e5ef70;z-index:2}.st-node:hover{background:#17332b;border-color:#e9e7b7}.st-hub{width:138px;height:138px;border-color:var(--st-cyan);--branch:var(--st-cyan);background:#0c2725}.st-hub span{font-size:19px;color:#dbe5bc}
.st-legend{padding:7px 10px;display:flex;gap:12px;flex-wrap:wrap;flex-shrink:0;border-top:1px solid #29443c;background:#061c19;color:#86a49c;font-size:11px}.st-legend span:first-child{color:var(--st-cyan)}
.st-footer{display:flex;gap:6px;flex-shrink:0}.st-footer button{display:flex;gap:6px;align-items:center;justify-content:center;flex:1;padding:6px;font-size:13px}.st-footer img,.st-footer svg{width:19px;height:19px;object-fit:contain}
.st-detail{padding:16px;display:flex;flex-direction:column;overflow:auto;min-height:0;scrollbar-width:thin}.st-detail-heading{display:flex;gap:13px;align-items:center;border-bottom:2px solid #36503c;padding-bottom:16px}.st-detail-heading>img,.st-detail-heading>svg{width:64px;height:64px;object-fit:contain;image-rendering:pixelated;padding:10px;border:2px solid var(--st-gold);background:#19251a;flex-shrink:0}.st-detail-heading h2{color:var(--st-gold)!important;font-size:23px!important}.st-detail-heading span{color:#aebbb1;font-size:16px;display:block;margin-top:8px}
.st-detail .st-current{max-height:24vh;overflow:auto}.st-next{margin-top:18px;padding:10px 12px;border:2px solid #425941;background:#061a18}.st-next h3{margin-top:0!important;text-transform:none!important;color:#d9e5ca!important}.st-next .st-stat{font-size:14px}.st-unlock{color:#d1bc81!important}.st-purchase{margin-top:auto;padding-top:18px}.st-costs{display:flex;gap:8px;flex-wrap:wrap}.st-cost{display:flex;align-items:center;gap:4px;font-size:14px;color:#bfcfab}.st-cost img,.st-cost svg{width:18px;height:18px;object-fit:contain}.st-cost small{color:#6f9289}.st-cost.missing{color:#e28b78}.st-reason{font-size:13px!important;margin:8px 0!important;min-height:18px}
.st-buy{width:100%;min-height:54px;border:2px solid #85975f;background:#29452a;box-shadow:inset 0 0 0 3px #182f20;color:#efe5b7;font-size:22px;padding:9px}.st-buy:disabled{cursor:not-allowed;opacity:.48;background:#162920}.st-buy:not(:disabled):hover{background:#365b32;border-color:#bbd19a}.st-small{width:100%;margin-top:8px}.st-mobile-back{display:none}
.st-expanded .st-side,.st-expanded .st-detail{display:none}.st-expanded .st-layout{grid-template-columns:minmax(0,1fr)}
.st-table{flex:1;min-height:0;overflow:auto;padding:14px}.st-table>button,.st-table-head{display:grid;grid-template-columns:1.4fr .4fr 1fr;gap:12px;align-items:center;width:100%;text-align:left;min-height:52px;border:0;border-bottom:1px solid #29463c;background:none;color:#c5d5c6;font-size:15px;padding:8px}.st-table>button:hover{background:#16352c}.st-table>button>span{display:flex;align-items:center;gap:9px}.st-table img,.st-table svg{width:24px;height:24px;object-fit:contain}.st-table-head{color:var(--st-gold);font-size:13px}
#bSkills{left:calc(14px + var(--sl));top:calc(254px + var(--st));width:46px;height:46px;font-size:22px;border-radius:5px;color:#d6e5a5}
#bSkills.ipucu{border-color:#ffd54a;color:#ffe27a;animation:stIpucu 1s ease-in-out infinite}
#bSkills.ipucu::after{content:'◀';position:absolute;left:54px;top:50%;margin-top:-12px;font-size:22px;line-height:24px;color:#ffd54a;text-shadow:0 0 6px #000;animation:stOk 1s ease-in-out infinite}
@keyframes stIpucu{0%,100%{box-shadow:0 0 0 0 rgba(255,213,74,.0)}50%{box-shadow:0 0 14px 5px rgba(255,213,74,.75)}}
@keyframes stOk{0%,100%{transform:translateX(0)}50%{transform:translateX(-7px)}}
body:has(#panel.skill-overlay:not([hidden])) #controls,body:has(#panel.skill-overlay:not([hidden])) #prompt,body:has(#panel.skill-overlay:not([hidden])) #npcBubbles,body:has(#panel.skill-overlay:not([hidden])) #questBox{visibility:hidden}
@media(max-width:1100px){.st-layout{grid-template-columns:156px minmax(0,1fr) 234px;gap:10px;padding:10px}.st-side{padding:8px}.st-detail{padding:11px}.st-heading{padding:9px}.st-count{display:none}.st-toolbar{gap:3px}.st-toolbar button{padding:5px;font-size:12px}.st-tabs button{min-height:54px;flex-basis:121px}.st-detail-heading>img,.st-detail-heading>svg{width:48px;height:48px}.st-detail-heading h2{font-size:19px!important}}
@media(max-width:900px){#panel.skill-overlay #panelCard{width:97vw;height:calc(100dvh - 68px - var(--st) - var(--sb));margin-top:calc(55px + var(--st));margin-bottom:13px}#panel.skill-overlay #panelClose{top:-48px;min-height:42px}.st-tabs{gap:6px;padding-bottom:4px}.st-tabs button{min-height:48px;flex-basis:115px;font-size:12px;gap:6px}.st-tabs .st-icon,.st-tabs svg{width:23px;height:23px}#skillTree{gap:7px}.st-layout{grid-template-columns:minmax(0,1fr) 220px;gap:9px;padding:8px}.st-side{display:none}.st-detail-kule{display:flex}.st-heading{min-height:52px;padding:6px}.st-heading h2{font-size:19px!important}.st-heading>div:first-child>.st-icon,.st-heading>div:first-child>svg{width:25px;height:25px}.st-wallet{font-size:13px;gap:5px}.st-detail{padding:10px}.st-detail p{font-size:13px!important;margin:10px 0!important}.st-detail h3{font-size:15px!important}.st-stat{font-size:13px;padding:6px 0}.st-next{margin-top:9px;padding:7px}.st-next .st-stat{font-size:12px}.st-detail-heading{padding-bottom:8px;gap:8px}.st-detail-heading h2{font-size:18px!important}.st-detail-heading span{font-size:13px}.st-buy{font-size:18px;min-height:48px}.st-footer button{font-size:11px}.st-footer img,.st-footer svg{width:16px;height:16px}.st-legend{font-size:10px;gap:8px}.st-tree{min-height:130px}}
@media(max-width:600px){.st-layout{grid-template-columns:minmax(0,1fr)}.st-heading h2{font-size:17px!important}.st-wallet{min-width:82px;font-size:12px}.st-detail{display:none}.st-details-open .st-main{display:none}.st-details-open .st-detail{display:flex}.st-details-open .st-detail .st-current{max-height:none}.st-mobile-back{display:block;align-self:start;margin-bottom:12px}.st-detail-heading h2{font-size:24px!important}.st-detail p{font-size:16px!important}.st-detail .st-stat{font-size:15px;padding:9px 0}.st-toolbar>div{gap:2px}.st-toolbar button{font-size:12px}.st-footer button{font-size:11px}.st-footer img,.st-footer svg{display:none}.st-preview{height:100px}.st-legend span:last-child{width:100%}.st-tabs button{flex-basis:130px;font-size:13px}}
@media(max-height:500px) and (min-width:601px){#panel.skill-overlay #panelCard{height:calc(100dvh - 18px - var(--st) - var(--sb));margin:calc(9px + var(--st)) auto 9px;width:calc(100vw - 72px - var(--sl) - var(--sr));}#panel.skill-overlay #panelClose{right:-53px;top:0;min-width:46px;width:46px;font-size:0}#panel.skill-overlay #panelClose::after{content:'×';font-size:24px}.st-tabs button{min-height:44px;font-size:11px;flex-basis:112px}.st-heading{min-height:44px}.st-toolbar{padding:2px}.st-toolbar button{min-height:38px}.st-footer button{min-height:38px}.st-legend{padding:4px}.st-detail .st-current{max-height:90px}.st-detail-heading>img,.st-detail-heading>svg{width:35px;height:35px;padding:5px}.st-detail-heading h2{font-size:16px!important}.st-heading h2{font-size:17px!important}.st-next{margin-top:6px}.st-purchase{padding-top:8px}.st-costs{gap:5px}.st-cost{font-size:12px}.st-layout{padding:6px;gap:8px}#skillTree{gap:5px}.st-main{gap:7px}}
@media(prefers-reduced-motion:reduce){.st-wires path{filter:none}.st-node{box-shadow:none}}
/* 01.11 cila: yatay telefon (≤500 px yükseklik) — sekmelerin hepsi sığar, Kapat görünür, Geliştir düğmesi kaydırmadan görünür */
.st-tab-ek{font-style:normal}
@media(max-height:500px) and (min-width:601px){
#panel.skill-overlay #panelCard{margin-left:calc(10px + var(--sl));margin-right:auto}
.st-tabs{overflow-x:visible;gap:4px}.st-tabs button{flex:1 1 0;min-width:0;padding:6px 4px;gap:4px}.st-tab-ek{display:none}
.st-tabs .st-icon,.st-tabs svg{width:20px;height:20px}
.st-legend span:last-child{display:none}.st-footer button{white-space:nowrap;font-size:11px;padding:4px}
.st-detail{position:relative}.st-purchase{position:sticky;bottom:-11px;margin-top:auto;padding:6px 0 0;background:#021412;border-top:1px solid #2c4440;box-shadow:0 -6px 8px #021412}
.st-purchase .st-reason{margin:4px 0!important}.st-buy{min-height:40px;font-size:16px}
}
/* görev adım vurgusu (npc.js taretVurgu): basılacak düğme/sekme/tarif altın renkte nabız atar */
.gvurgu{outline:2px solid #ffd54a!important;outline-offset:2px;box-shadow:0 0 0 0 rgba(255,213,74,.75),0 0 14px rgba(255,213,74,.55)!important;animation:gVurgu 1.1s ease-out infinite!important;z-index:5}
@keyframes gVurgu{0%{box-shadow:0 0 0 0 rgba(255,213,74,.8),0 0 14px rgba(255,213,74,.55)}70%{box-shadow:0 0 0 10px rgba(255,213,74,0),0 0 14px rgba(255,213,74,.55)}100%{box-shadow:0 0 0 0 rgba(255,213,74,0),0 0 14px rgba(255,213,74,.55)}}
#gOk{position:fixed;z-index:9999;pointer-events:none;font-size:22px;line-height:24px;color:#ffd54a;text-shadow:0 0 6px #000,0 0 10px rgba(255,213,74,.6)}
#gOk.gok-sag{animation:gOkSag .8s ease-in-out infinite}#gOk.gok-sol{animation:gOkSol .8s ease-in-out infinite}
@keyframes gOkSag{0%,100%{transform:translateX(0)}50%{transform:translateX(8px)}}@keyframes gOkSol{0%,100%{transform:translateX(0)}50%{transform:translateX(-8px)}}
.st-icon.st-ikon-ff{image-rendering:auto;object-fit:contain}
/* geliştirme turu (cihat 9.11) */
#turOrtu { position: fixed; inset: 0; z-index: 60; background: transparent; cursor: pointer; }
#turImlec { position: fixed; left: 0; top: 0; z-index: 62; pointer-events: none; transition: transform .6s cubic-bezier(.45,.05,.3,1); filter: drop-shadow(0 2px 2px rgba(0,0,0,.6)); }
#turImlec.tik svg { transform: scale(.82); transform-origin: 2px 2px; }
#turImlec.tik::after { content: ''; position: absolute; left: -10px; top: -10px; width: 24px; height: 24px; border-radius: 50%; border: 2px solid #ffe278; animation: turTik .35s ease-out forwards; }
@keyframes turTik { from { transform: scale(.3); opacity: 1; } to { transform: scale(1.6); opacity: 0; } }
#turYazi { position: fixed; left: 50%; bottom: calc(18px + env(safe-area-inset-bottom, 0px)); transform: translateX(-50%); z-index: 61; pointer-events: none; max-width: min(560px, calc(100vw - 32px));
  background: rgba(14, 11, 8, .92); border: 2px solid #e8b958; padding: 10px 14px; display: grid; gap: 4px; opacity: 0; transition: opacity .25s; font-family: "Pixelify Sans", monospace; color: #f3e6c8; }
#turYazi.on { opacity: 1; }
#turYazi b { color: #ffe278; font-size: 18px; } #turYazi span { font-size: 15px; line-height: 1.35; } #turYazi small { color: #a89a80; font-size: 11px; justify-self: end; }
/* cihat 9.11: sol panel resmi kare (Firefly paneli 720×720) → kırpılmaz, Jack'in kafası görünür; kutu fotoğraf genişliğinde */
.st-preview.st-preview-kule{height:auto;aspect-ratio:1/1;width:100%;max-height:none}
.st-preview.st-preview-kule img{object-fit:contain}
/* KAYDIRMASIZ DÜZEN (cihat: "kaydırma çubuğu istemiyorum", 13.11): sekmeler her boyda tek sıraya sığar (eşit pay, taşma yok);
   sağ paneldeki "mevcut değerler" listesi kalktı (sol panelde ÖZELLİKLER ve altında "sonraki seviye" zaten var): panel kaydırmadan sığar. */
.st-tabs{overflow:visible}.st-tabs button{flex:1 1 0;min-width:0;padding-left:6px;padding-right:6px;font-size:clamp(11px,.95vw,18px);overflow:hidden}
.st-detail .st-current,.st-detail h3:has(+ .st-current){display:none}
.st-detail{overflow:hidden}.st-side{overflow:hidden}
@media(max-height:500px) and (min-width:601px){.st-detail-kule{display:none!important}.st-detail p{margin:5px 0!important;font-size:12px!important;line-height:1.25!important}.st-detail-heading{padding-bottom:5px}.st-detail-heading span{margin-top:2px;font-size:12px}.st-next{padding:5px 7px}.st-next h3{font-size:13px!important;margin-bottom:2px!important}.st-next .st-stat{padding:3px 0;font-size:11px}.st-purchase{position:static;padding-top:4px;box-shadow:none}}
@media(max-height:500px) and (min-width:601px){.st-tabs button{font-size:10px;gap:3px;padding:4px 2px}.st-tabs .st-icon,.st-tabs svg{width:17px;height:17px}.st-detail>p{display:none}.st-detail{padding:8px}.st-next{margin-top:5px;flex:0 1 auto;min-height:0;overflow:hidden}.st-purchase .st-reason{margin:2px 0!important;min-height:0;font-size:11px!important}.st-buy{min-height:36px;font-size:15px;padding:4px}.st-costs{gap:4px}}
@media(max-height:500px) and (max-width:760px){.st-tabs button img,.st-tabs button svg{display:none}}
/* ---- GECE DATAPAD'İ: satır satır ilerleme şeridi (skill-tree.js dpAgacHtml, docs/DATAPAD_DUZELTME_16_11.md §2). Yalnız body.dp-gomulu altında; normal Geliştir ekranı etkilenmez.
   Ölçü (denetim 16.11): 8 satır fareli ve dokunmatik 1280'de kaydırmadan sığar; kısa (telefon) ağaçta dokunmatik düğüm 60 px, satırlar dikey kayar.
   Sağda ayrı bir oluk (--dpa-oluk): "›" düğmesi orada durur, düğümlerin üstüne binmez; şeridin sonunda soluk kenarın arkasında düğüm kalmaz. */
body.dp-gomulu #skillTree .st-tree.dpa{position:relative;padding:0;overflow:hidden;container-type:size;--dpa-ok:30px;--dpa-bas:180px;--dpa-oluk:30px}
body.dp-gomulu .dpa-kaydir{--dpa-d:clamp(36px,calc(100cqh / var(--dpa-n,8) - 10px),84px);position:absolute;inset:0 var(--dpa-oluk) 0 0;overflow:auto;scrollbar-width:none;touch-action:none;cursor:grab;outline:0;overscroll-behavior:contain}
@media(pointer:coarse){@container (max-height:430px){body.dp-gomulu .dpa-kaydir{--dpa-d:60px}}}   /* telefon: parmak boyu düğme, satırlar dikey kayar */
body.dp-gomulu .dpa-kaydir::-webkit-scrollbar{display:none}
body.dp-gomulu .dpa-kaydir.surukle{cursor:grabbing}body.dp-gomulu .dpa-kaydir.surukle .dpa-dugum{cursor:grabbing}
body.dp-gomulu .dpa-kaydir:focus-visible{box-shadow:inset 0 0 0 2px var(--st-cyan)}
body.dp-gomulu .dpa-izgara{display:grid;grid-auto-rows:minmax(calc(var(--dpa-d) + 8px),1fr);min-height:100%;width:max-content;min-width:100%;padding:6px 40px 2px 0;box-sizing:border-box}
body.dp-gomulu .dpa-satir{display:flex;align-items:center;position:relative}
body.dp-gomulu .dpa-satir+.dpa-satir::before{content:'';position:absolute;left:0;right:0;top:0;height:1px;background:linear-gradient(90deg,#2b5a55 0,#2b5a5540 60%,transparent)}
/* dal başı: şerit kayarken solda yapışık kalır (ikon + ad); genişliği en uzun ada göre JS'te; addan sonra dal çizgisi ilk oka bağlanır (her satırda ad–çizgi boşluğu aynı) */
body.dp-gomulu .dpa-bas{position:sticky;left:0;z-index:3;align-self:stretch;width:var(--dpa-bas);flex:0 0 var(--dpa-bas);display:flex;align-items:center;gap:12px;padding:0 0 0 10px;box-sizing:border-box;
 background:#062421;box-shadow:8px 0 10px -6px #000c;color:var(--branch)}
body.dp-gomulu .dpa-bas{transition:background .2s,box-shadow .2s}body.dp-gomulu .st-tree.dpa:not(.geri) .dpa-bas{background:transparent;box-shadow:none}   /* şerit baştayken dal sütunu ayrı bant gibi görünmesin; kaydırınca altından geçen düğümleri örter */
body.dp-gomulu .dpa-bas::after{content:'';flex:1 1 22px;min-width:22px;height:4px;background:#2c3a39}
body.dp-gomulu .dpa-satir.ilk-yanik .dpa-bas::after{background:var(--branch);box-shadow:0 0 7px color-mix(in srgb,var(--branch) 70%,transparent)}
body.dp-gomulu .dpa-bas>img,body.dp-gomulu .dpa-bas>svg{width:calc(var(--dpa-d) * .78);height:calc(var(--dpa-d) * .78);flex:0 0 auto;object-fit:contain;image-rendering:pixelated;filter:drop-shadow(0 0 6px color-mix(in srgb,var(--branch) 45%,transparent))}
body.dp-gomulu .dpa-bas>b{flex:0 0 auto;font:700 20px/1.05 "Pixelify Sans",monospace;color:var(--branch);text-shadow:0 2px 0 #000;white-space:nowrap}
/* OKLAR (Cihat 16.11 madde 9): HER iki düğüm arasında aynı biçimde uzun ok (~2 düğüm boyu); şerit sağa uzar, kaydırılır.
   Renk (Cihat: "açılmış yol renkli, açılmamış gri"): .yanik hedef alınmış → dal renginde parlar · gerisi gri · .iz hedef şu an alınabilir → gri okun üstünden soluk beyaz ışık akar */
body.dp-gomulu .dpa-kaydir{--dpa-ok:calc(var(--dpa-d) * .9)}   /* Cihat 16.11 maket v2: kısa oklar, satıra 7 düğüm sığar */
body.dp-gomulu .dpa-ok{position:relative;flex:0 0 var(--dpa-ok);height:4px;margin:0 12px 0 6px;background:#344444;font-style:normal;border-radius:2px}
body.dp-gomulu .dpa-ok::after{content:'';position:absolute;right:-10px;top:50%;width:0;height:0;border-left:12px solid #344444;border-top:8px solid transparent;border-bottom:8px solid transparent;transform:translateY(-50%)}
body.dp-gomulu .dpa-ok.iz{background-color:#3d4b4b;background-image:linear-gradient(90deg,transparent 0,#ffffff70 50%,transparent 100%);background-size:46px 100%;background-repeat:no-repeat;animation:dpaAkis 1.8s linear infinite}
body.dp-gomulu .dpa-ok.iz::after{border-left-color:#3d4b4b}
body.dp-gomulu .dpa-ok.yanik{background:var(--branch);box-shadow:0 0 8px color-mix(in srgb,var(--branch) 70%,transparent)}
body.dp-gomulu .dpa-ok.yanik::after{border-left-color:var(--branch);filter:drop-shadow(0 0 4px color-mix(in srgb,var(--branch) 70%,transparent))}
@keyframes dpaAkis{from{background-position:-46px 0}to{background-position:calc(100% + 46px) 0}}
body.dp-gomulu .dpa-bas+.dpa-ok{margin-left:0;flex-basis:calc(var(--dpa-d) * .7)}   /* dal adından ilk düğüme: dal çizgisi zaten bağlar, kısa ok */
/* düğüm: yalnız ikon + altta seviye çubuğu */
body.dp-gomulu .dpa-dugum{position:relative;flex:0 0 var(--dpa-d);width:var(--dpa-d);height:var(--dpa-d);padding:0;display:grid;place-items:center;cursor:pointer;background:#07191a;border:2px solid #34484a;border-radius:6px;box-shadow:inset 0 0 0 2px #041110;color:var(--branch);transition:border-color .15s,background .15s,transform .12s}
body.dp-gomulu .dpa-dugum>img,body.dp-gomulu .dpa-dugum>svg{width:calc(var(--dpa-d) - 12px);height:calc(var(--dpa-d) - 12px);margin-bottom:4px;object-fit:contain;image-rendering:pixelated;pointer-events:none;transition:filter .3s}
body.dp-gomulu .dpa-cubuk{position:absolute;left:5px;right:5px;bottom:4px;height:5px;background:#000c;box-shadow:0 0 0 1px #ffffff26;border-radius:2px;overflow:hidden;pointer-events:none}
body.dp-gomulu .dpa-cubuk::before{content:'';position:absolute;inset:0 auto 0 0;width:var(--sv);background:var(--branch);box-shadow:0 0 6px var(--branch)}
/* RENK KURALI: ön koşulu eksik (gri; 'kapali' sınıfı kullanılmaz: ui-hata onu kapalı düğme sayıp seçimi hata gibi sallıyordu) → tamamen siyah-beyaz ve soluk (kenar, ikon, çubuk) */
body.dp-gomulu .dpa-dugum.gri{background:#080d0e;border-color:#2e3536;box-shadow:inset 0 0 0 2px #030707}
body.dp-gomulu .dpa-dugum.gri>img,body.dp-gomulu .dpa-dugum.gri>svg{filter:grayscale(1) brightness(.5) contrast(1.05);opacity:.85}
body.dp-gomulu .dpa-dugum.gri .dpa-cubuk{filter:grayscale(1);opacity:.6}
/* sırada (ön koşulu tamam; alınabilir ya da yalnız bedeli eksik): renkli ama alınmışlar kadar parlamaz */
body.dp-gomulu .dpa-dugum.sirada{border-color:color-mix(in srgb,var(--branch) 70%,#1d2a2a);background:radial-gradient(circle at 50% 45%,color-mix(in srgb,var(--branch) 14%,#07191a) 0,#07191a 75%)}
body.dp-gomulu .dpa-dugum.sirada>img,body.dp-gomulu .dpa-dugum.sirada>svg{filter:saturate(1.05)}
/* alınabilir (bedeli de yetiyor): köşede yeşil "+" */
body.dp-gomulu .dpa-dugum.alinir{border-color:color-mix(in srgb,var(--branch) 85%,#fff)}
body.dp-gomulu .dpa-dugum.alinir::after,body.dp-gomulu .dpa-dugum.kilitli::after{content:'+';position:absolute;top:-8px;right:-8px;width:20px;height:20px;box-sizing:border-box;border-radius:50%;background:#3d8f45;border:2px solid #b8f0a0;color:#fff;font:700 16px/16px "Pixelify Sans",monospace;text-align:center;box-shadow:0 0 8px #5fd36a}
/* ön koşulu eksik: köşede kilit */
body.dp-gomulu .dpa-dugum.kilitli::after{content:'';background:#2a1f0c url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' shape-rendering='crispEdges'%3E%3Cpath d='M4 5V3h1V2h2v1h1v2' fill='none' stroke='%23f3d58a' stroke-width='1.4'/%3E%3Crect x='2.5' y='5' width='7' height='5.5' fill='%23f3d58a'/%3E%3Crect x='5.5' y='6.6' width='1' height='2' fill='%232a1f0c'/%3E%3C/svg%3E") center/12px 12px no-repeat;border-color:#c9a25a;box-shadow:0 0 6px #0008}
body.dp-gomulu .dpa-dugum.gri.kilitli::after{filter:grayscale(1) brightness(.85)}
/* alınmış: sol üst köşede tik */
body.dp-gomulu .dpa-tik{position:absolute;top:-8px;left:-8px;width:20px;height:20px;box-sizing:border-box;border-radius:50%;background:#1e5a34 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2.5 6.3l2.3 2.3 4.7-5' fill='none' stroke='%23eaffd6' stroke-width='1.9' stroke-linecap='square'/%3E%3C/svg%3E") center/13px 13px no-repeat;border:2px solid #9fe6a0;box-shadow:0 0 7px #58d27a;pointer-events:none;z-index:1}
body.dp-gomulu .dpa-dugum.complete .dpa-tik{background-color:#6b5512;border-color:#f3d77a;box-shadow:0 0 8px #e6c768}
/* açılmış: parlak */
body.dp-gomulu .dpa-dugum.acik{border-color:var(--branch);background:radial-gradient(circle at 50% 45%,color-mix(in srgb,var(--branch) 30%,#07191a) 0,#07191a 72%);box-shadow:inset 0 0 0 2px #041110,0 0 12px color-mix(in srgb,var(--branch) 45%,transparent)}
body.dp-gomulu .dpa-dugum.acik>img,body.dp-gomulu .dpa-dugum.acik>svg{filter:drop-shadow(0 0 5px color-mix(in srgb,var(--branch) 55%,transparent)) brightness(1.08)}
body.dp-gomulu .dpa-dugum.complete{border-color:#e6c768;box-shadow:inset 0 0 0 2px #041110,0 0 14px #e6c76880}
body.dp-gomulu .dpa-dugum.complete .dpa-cubuk::before{background:#e6c768;box-shadow:0 0 6px #e6c768}
@media(hover:hover){body.dp-gomulu .dpa-dugum:hover{transform:translateY(-2px);border-color:#e9e7b7}}
body.dp-gomulu .dpa-dugum.selected{border-color:var(--st-cyan);outline:2px solid var(--st-cyan);outline-offset:3px;z-index:2}
body.dp-gomulu .dpa-dugum:focus-visible{outline:3px solid var(--st-cyan);outline-offset:3px}
/* kaydırma: sağ olukta "›" düğmesi (şeridin sonunda "‹" başa döner); devamı varsa oluğun önündeki dar kenar kararır; aşağıda satır varsa alt kenar kararır */
body.dp-gomulu .dpa-ileri{position:absolute;right:0;top:0;bottom:0;width:var(--dpa-oluk);z-index:5;padding:0;border:0;border-left:1px solid #1f4a45;background:#041a18;color:#8fe8e0;font:700 30px/1 "Pixelify Sans",monospace;cursor:pointer;display:grid;place-items:center}
body.dp-gomulu .dpa-ileri[hidden]{display:grid;visibility:hidden}
@media(hover:hover){body.dp-gomulu .dpa-ileri:hover{background:#073a36;color:#fff}}
body.dp-gomulu .st-tree.dpa::after{content:'';position:absolute;right:var(--dpa-oluk);top:0;bottom:0;width:26px;background:linear-gradient(90deg,transparent,#041a18d9);pointer-events:none;opacity:0;transition:opacity .2s;z-index:4}
body.dp-gomulu .st-tree.dpa.devam::after{opacity:1}
body.dp-gomulu .st-tree.dpa::before{content:'';position:absolute;left:0;right:var(--dpa-oluk);bottom:0;height:18px;background:linear-gradient(transparent,#041a18d9);pointer-events:none;opacity:0;transition:opacity .2s;z-index:4}
body.dp-gomulu .st-tree.dpa.asagi::before{opacity:1}
/* ipucu (fare üstü): o satırın dal başında, ikonun sağında; hiçbir düğümü örtmez */
body.dp-gomulu .dpa-ipucu{position:absolute;z-index:6;display:flex;flex-direction:column;justify-content:center;gap:3px;padding:0 10px 0 8px;box-sizing:border-box;background:linear-gradient(90deg,#08302c 0,#08302c calc(100% - 16px),#08302c00);border-left:3px solid var(--branch,#53dfdf);pointer-events:none;overflow:hidden}
body.dp-gomulu .dpa-ipucu b{font:700 17px/1.05 "Pixelify Sans",monospace;color:#f2f6df;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
body.dp-gomulu .dpa-ipucu span{font-size:13px;line-height:1.15;color:#8fe8e0;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden}body.dp-gomulu .dpa-ipucu em{font-style:normal;color:#f0c27a}
body.dp-gomulu .dpa-ipucu[hidden]{display:none}
/* satın alma vuruşu: hazırlık (küçülür) – vuruş (büyür, parlar) – sekme; halka yayılır; çubuk eski seviyeden dolar; gelen ok soldan yanar */
@keyframes dpaVur{0%{transform:scale(1)}16%{transform:scale(.86)}42%{transform:scale(1.2);filter:brightness(1.9) saturate(1.3)}64%{transform:scale(.95)}82%{transform:scale(1.03)}100%{transform:scale(1);filter:none}}
@keyframes dpaHalka{0%{transform:scale(.6);opacity:0}30%{opacity:.95}100%{transform:scale(1.9);opacity:0}}
@keyframes dpaDol{from{width:var(--once)}to{width:var(--sv)}}
@keyframes dpaOk{from{transform:scaleX(0)}to{transform:scaleX(1)}}
body.dp-gomulu .dpa-dugum.dpa-yeni{animation:dpaVur .62s cubic-bezier(.3,.6,.3,1) both;z-index:3}
body.dp-gomulu .dpa-dugum.dpa-yeni::before{content:'';position:absolute;inset:-4px;border:3px solid var(--branch);border-radius:10px;box-shadow:0 0 16px var(--branch);animation:dpaHalka .7s .14s ease-out both;pointer-events:none}
body.dp-gomulu .dpa-dugum.dpa-yeni .dpa-cubuk::before{animation:dpaDol .5s .2s ease-out both}
body.dp-gomulu .dpa-ok.dpa-yeni-ok{background:#2c3a39}
body.dp-gomulu .dpa-ok.dpa-yeni-ok::before{content:'';position:absolute;inset:0;background:var(--branch);box-shadow:0 0 7px var(--branch);transform-origin:0 50%;animation:dpaOk .3s ease-in both}
body.dp-gomulu .dpa-parca{position:absolute;inset:0;pointer-events:none;z-index:7}body.dp-gomulu .dpa-parca i{position:absolute;border-radius:1px;box-shadow:0 0 6px currentColor}
/* sağ panel: datapad içinde aynı ölçek her ekranda (dar ekran medya kuralları burada geçmez; panel zaten tek ölçekle küçülür) */
body.dp-gomulu #skillTree .st-detail h2{font-size:24px!important;line-height:1.1!important;text-wrap:balance}
body.dp-gomulu #skillTree .st-detail-heading span{font-size:16px!important}
body.dp-gomulu #skillTree .st-detail-heading .dpa-dal{display:block;margin-top:3px;font-size:14px!important;color:var(--branch)}
body.dp-gomulu #skillTree .st-detail>p{display:block!important;font-size:15px!important;line-height:1.35!important;margin:10px 0 0!important;text-wrap:pretty}
body.dp-gomulu #skillTree .st-detail .st-stat{font-size:15px!important;padding:7px 0}body.dp-gomulu #skillTree .st-detail h3{font-size:16px!important}
body.dp-gomulu #skillTree .st-costs,body.dp-gomulu #skillTree .st-cost{font-size:16px!important}body.dp-gomulu #skillTree .st-cost>img,body.dp-gomulu #skillTree .st-cost>svg{width:22px;height:22px}body.dp-gomulu #skillTree .st-purchase .st-reason{font-size:14px!important;min-height:0;margin:8px 0 10px!important;text-wrap:balance}
body.dp-gomulu #skillTree .st-buy{min-height:52px!important;font-size:21px!important}
body.dp-gomulu #skillTree .st-detail{display:flex!important;flex-direction:column;overflow:hidden!important}body.dp-gomulu #skillTree .st-detail .st-current{display:none}
body.dp-gomulu #skillTree .st-next{flex:0 0 auto;min-height:0;margin-top:12px!important;padding:10px 12px}body.dp-gomulu #skillTree .st-purchase{margin-top:auto;flex:0 0 auto;position:static!important;padding-top:10px}   /* Geliştir hep görünür */
/* seviye bloğu: düğümdeki ince çubuğun büyüğü; altında son açılan özellik */
body.dp-gomulu .dpa-svblok{display:grid;gap:6px;margin-top:12px}
body.dp-gomulu .dpa-svblok>div{display:flex;justify-content:space-between;align-items:baseline}
body.dp-gomulu .dpa-svblok>div span{font-size:14px;color:#9fb8b0}body.dp-gomulu .dpa-svblok>div b{font:700 17px/1 "Pixelify Sans",monospace;color:var(--branch)}
body.dp-gomulu .dpa-svblok>i{position:relative;display:block;height:9px;background:#041110;box-shadow:0 0 0 1px #2d4740;border-radius:2px;overflow:hidden}
body.dp-gomulu .dpa-svblok>i::before{content:'';position:absolute;inset:0 auto 0 0;width:var(--sv);background:var(--branch);box-shadow:0 0 8px var(--branch)}
body.dp-gomulu .dpa-svblok>small{font-size:13px;line-height:1.3;color:#c9d5c4;text-wrap:balance}
/* sığdırma basamakları (skill-tree.js sigdir): 1 açıklama gizlenir · 2 satırlar sıkılaşır · 3 "Sonraki seviye" kendi içinde kayar, altta işaret */
body.dp-gomulu #skillTree .st-detail.dps1>p:not(.st-reason){display:none!important}
body.dp-gomulu #skillTree .st-detail.dps2 .dpa-svblok>small{display:none}body.dp-gomulu #skillTree .st-detail.dps2 .dpa-svblok{margin-top:8px;gap:4px}
body.dp-gomulu #skillTree .st-detail.dps2 .st-next{margin-top:8px!important;padding:6px 10px}body.dp-gomulu #skillTree .st-detail.dps2 .st-next .st-stat{padding:3px 0;font-size:14px!important}
body.dp-gomulu #skillTree .st-detail.dps2 .st-purchase .st-reason{margin:4px 0 6px!important}body.dp-gomulu #skillTree .st-detail.dps2 .st-purchase{padding-top:6px}
body.dp-gomulu #skillTree .st-detail.dps2 h2{font-size:20px!important}body.dp-gomulu #skillTree .st-detail.dps2 .st-detail-heading{padding-bottom:6px}
body.dp-gomulu #skillTree .st-detail.dps2 .st-costs{display:flex;flex-wrap:wrap;gap:2px 14px}body.dp-gomulu #skillTree .st-detail.dps2 .st-buy{min-height:44px!important;font-size:19px!important}
body.dp-gomulu #skillTree .st-detail.dps3 .dpa-svblok{display:none}
#skillTree .st-next>[hidden]{display:none!important}
body.dp-gomulu #skillTree .st-next>h3{display:flex;align-items:baseline;gap:8px}body.dp-gomulu #skillTree .st-next-dahasi{margin-left:auto;font:700 14px/1 "Pixelify Sans",monospace;color:#8fe8e0;white-space:nowrap}
/* sade gereksinim satırı (eski "Çekiç tarifini aç" yerine): ikon + "Gerekli: Çekiç", altında nerede yapıldığı */
body.dp-gomulu #skillTree .st-reason.st-gerekli{display:flex;align-items:center;gap:10px;color:#f0c27a!important;font-size:16px!important}
body.dp-gomulu .st-reason.st-gerekli>img,body.dp-gomulu .st-reason.st-gerekli>svg{width:32px;height:32px;flex:0 0 32px;image-rendering:pixelated}
body.dp-gomulu .st-reason.st-gerekli>span{display:grid;gap:9px}body.dp-gomulu .st-reason.st-gerekli>span>span{white-space:nowrap}
body.dp-gomulu .st-reason.st-gerekli small{color:#b7c2ad;font-size:13px;white-space:nowrap}
body.dp-gomulu #skillTree .st-reason.st-onkosul{display:flex;align-items:center;gap:10px;color:#f0c27a!important}
body.dp-gomulu .st-reason.st-onkosul::before{content:'';flex:0 0 22px;height:22px;border-radius:50%;border:2px solid #c9a25a;box-sizing:border-box;background:#2a1f0c url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' shape-rendering='crispEdges'%3E%3Cpath d='M4 5V3h1V2h2v1h1v2' fill='none' stroke='%23f3d58a' stroke-width='1.4'/%3E%3Crect x='2.5' y='5' width='7' height='5.5' fill='%23f3d58a'/%3E%3Crect x='5.5' y='6.6' width='1' height='2' fill='%232a1f0c'/%3E%3C/svg%3E") center/12px 12px no-repeat}
@media(prefers-reduced-motion:reduce){body.dp-gomulu .dpa-dugum.dpa-yeni,body.dp-gomulu .dpa-dugum.dpa-yeni::before,body.dp-gomulu .dpa-yeni-ok::before,body.dp-gomulu .dpa-dugum.dpa-yeni .dpa-cubuk::before,body.dp-gomulu .dpa-ok.iz,.st-onar-satir.onarildi .st-can::before{animation:none}}
/* alınamama nedeni (madde 11): bedel eksikse "14 coin eksik" turuncu, ön koşul eksikse kilitli satır */
#skillTree .st-reason.st-eksik{color:#f0a36e!important}
/* ONARIM (madde 10): sağ panelde Duvar/Ev seçiliyken anlık can çubuğu + onarım düğmesi (her iki ekranda) */
#skillTree .st-onarim{margin-top:10px;display:grid;gap:7px}
#skillTree .st-onarim>h3{margin:0!important}
#skillTree .st-onar-satir{display:grid;gap:5px;padding:6px 8px;border:1px solid #2c4a42;background:#04201c;border-radius:4px}
#skillTree .st-onar-ust{display:flex;align-items:center;gap:6px;min-width:0;font-size:14px;color:#cfdcc8;line-height:1.1}
#skillTree .st-onar-ust>img,#skillTree .st-onar-ust>svg{width:20px;height:20px;object-fit:contain;flex:0 0 20px;image-rendering:pixelated}
#skillTree .st-onar-ust>span{flex:1;min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
#skillTree .st-onar-ust>b{flex:0 0 auto;font:700 14px/1 "Pixelify Sans",monospace;color:#9fe6a0;white-space:nowrap}
#skillTree .st-onar-satir.dusuk .st-onar-ust>b{color:#ff8d76}
#skillTree .st-onar-alt{display:flex;align-items:center;gap:8px;min-width:0}
#skillTree .st-can{flex:1 1 auto;position:relative;display:block;height:9px;min-width:24px;background:#020d0c;box-shadow:0 0 0 1px #2d4740;border-radius:2px;overflow:hidden}
#skillTree .st-can::before{content:'';position:absolute;inset:0 auto 0 0;width:var(--can);background:linear-gradient(90deg,#3fae5a,#8fe07a);box-shadow:0 0 6px #58d27a88}
#skillTree .st-onar-satir.dusuk .st-can::before{background:linear-gradient(90deg,#b8402e,#ec7a52);box-shadow:0 0 6px #ff6a4a88}
#skillTree .st-onar{flex:0 0 auto;display:flex;align-items:center;gap:6px;min-height:40px;padding:3px 9px 3px 6px;border:2px solid #85975f;background:#29452a;box-shadow:inset 0 0 0 2px #182f20;color:#efe5b7;font-size:14px;text-align:left;line-height:1.05}
#skillTree .st-onar>img,#skillTree .st-onar>svg{width:20px;height:20px;object-fit:contain;flex:0 0 20px}
#skillTree .st-onar>span{display:grid;gap:2px}#skillTree .st-onar>span>span{white-space:nowrap}
#skillTree .st-onar-bedel{display:flex;align-items:center;gap:3px;font-size:12px;color:#e6dcae;white-space:nowrap}
#skillTree .st-onar-bedel img,#skillTree .st-onar-bedel svg{width:14px;height:14px;object-fit:contain}
#skillTree .st-onar-bedel b{font-weight:600}
#skillTree .st-onar:not(:disabled):hover{background:#365b32;border-color:#bbd19a}
#skillTree .st-onar:disabled{cursor:not-allowed;opacity:.5;background:#162920}
#skillTree .st-onar-neden{font-size:12px;color:#9fb8b0;line-height:1.2}
#skillTree .st-onar-tamam{flex:0 0 auto;font-size:13px;color:#8fd69a;line-height:1.1;white-space:nowrap}
/* onarım vuruşu: çubuk eski değerden dolar, çekiç vurur */
@keyframes stCanDol{from{width:var(--can-once)}to{width:var(--can)}}
@keyframes stCekic{0%{transform:rotate(0)}30%{transform:rotate(-40deg)}55%{transform:rotate(18deg) scale(1.15)}100%{transform:none}}
#skillTree .st-onar-satir.onarildi .st-can::before{animation:stCanDol .6s .12s cubic-bezier(.2,.7,.3,1) both}
#skillTree .st-onar-satir.onarildi .st-onar>img,#skillTree .st-onar-satir.onarildi .st-onar>svg{animation:stCekic .45s ease-out both;transform-origin:70% 70%}
.st-onar-parca{position:fixed;inset:0;pointer-events:none;z-index:300}.st-onar-parca i{position:absolute;border-radius:1px}
/* normal Geliştir ekranı (kaydırmasız): onarım satırları eklenince Geliştir düğmesi alttan taşmasın; sığmayan "Sonraki seviye" kutusu kısalır */
#skillTree .st-detail>.st-next{flex:0 1 auto;min-height:0;overflow:hidden}
#skillTree .st-detail>.st-onarim,#skillTree .st-detail>.st-purchase,#skillTree .st-detail>.st-detail-heading{flex:0 0 auto}
@media(max-height:500px){body:not(.dp-gomulu) #skillTree .st-detail:has(.st-onarim)>.st-next{display:none}body:not(.dp-gomulu) #skillTree .st-onarim>h3{display:none}body:not(.dp-gomulu) #skillTree .st-onarim{margin-top:6px;gap:5px}body:not(.dp-gomulu) #skillTree .st-onar{min-height:34px;font-size:13px}body:not(.dp-gomulu) #skillTree .st-onar-satir{padding:4px 6px;gap:4px}body:not(.dp-gomulu) #skillTree .st-onar-ust{font-size:13px}body:not(.dp-gomulu) #skillTree .st-onar-ust>b{font-size:12px}body:not(.dp-gomulu) #skillTree .st-onar-ust>img{width:16px;height:16px;flex-basis:16px}body:not(.dp-gomulu) #skillTree .st-onar{padding:2px 8px}
 /* telefonda Duvar/Ev seçiliyken Geliştir düğmesi panelden taşmasın (denetim 16.11): başlığın seviye yazısı tek satır */
 body:not(.dp-gomulu) #skillTree .st-detail:has(.st-onarim) .st-detail-heading span{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}body:not(.dp-gomulu) #skillTree .st-detail:has(.st-onarim) .st-detail-heading>div{min-width:0}}   /* telefonda normal Geliştir: Duvar/Ev seçiliyken onarım öne çıkar, sonraki seviye sol paneldeki gibi gizlenir */
body:not(.dp-gomulu) #skillTree .st-detail:has(.st-onarim)>p:not(.st-reason){display:none}   /* onarım varken kısa açıklama yer açar */
#skillTree .st-detail>.st-next[hidden]{display:none}
body.dp-gomulu #skillTree .st-detail.dps5>.st-next{display:none}body.dp-gomulu #skillTree .st-detail.dps5 .st-onarim>h3{display:none}   /* onarım varken sığmayan "Sonraki seviye" ezilmez, gizlenir */
/* DATAPAD ONARIM YAZI BOYU (denetim 16.11: 844'te satırlar ekranda 5–6 px'ti): datapad paneli tek ölçekle küçüldüğü için taban boylar dal adlarına yakın;
   sıkışınca (dps) yazı küçülmez, yalnız açıklama/başlık/kırık nedeni gizlenir */
body.dp-gomulu #skillTree .st-onarim{gap:8px}
body.dp-gomulu #skillTree .st-onar-satir{gap:6px;padding:7px 9px}
body.dp-gomulu #skillTree .st-onar-ust{font-size:18px;gap:8px}
body.dp-gomulu #skillTree .st-onar-ust>img,body.dp-gomulu #skillTree .st-onar-ust>svg{width:24px;height:24px;flex-basis:24px}
body.dp-gomulu #skillTree .st-onar-ust>b{font-size:18px}
body.dp-gomulu #skillTree .st-can{height:11px}
body.dp-gomulu #skillTree .st-onar{min-height:46px;font-size:18px;gap:7px;padding:3px 10px 3px 7px}
body.dp-gomulu #skillTree .st-onar>img,body.dp-gomulu #skillTree .st-onar>svg{width:24px;height:24px;flex-basis:24px}
body.dp-gomulu #skillTree .st-onar-bedel{font-size:16px;gap:4px}body.dp-gomulu #skillTree .st-onar-bedel img,body.dp-gomulu #skillTree .st-onar-bedel svg{width:18px;height:18px}
body.dp-gomulu #skillTree .st-onar-neden,body.dp-gomulu #skillTree .st-onar-tamam{font-size:16px}
body.dp-gomulu #skillTree .st-detail.dps3 .st-onarim>h3{display:none}body.dp-gomulu #skillTree .st-detail.dps3 .st-onar-neden{display:none}
body.dp-gomulu #skillTree .st-detail.dps2 .st-onar-satir{padding:5px 8px;gap:4px}
body.dp-gomulu #skillTree .st-detail.dps5 .st-onarim{margin-top:3px;gap:4px}
body.dp-gomulu #skillTree .st-detail.dps5 .st-reason.st-gerekli small{display:none}
/* datapad dar panel (telefon, dps3): onarım satırları yazı boyu küçülmeden sıkılaşır; dal adı (başlıkta zaten var) gizlenir, Geliştir panelde kalır */
body.dp-gomulu #skillTree .st-detail.dps3 .st-detail-heading .dpa-dal{display:none}
body.dp-gomulu #skillTree .st-detail.dps3 .st-onarim{margin-top:6px;gap:5px}
body.dp-gomulu #skillTree .st-detail.dps3 .st-onar-satir{padding:4px 7px;gap:3px}
body.dp-gomulu #skillTree .st-detail.dps3 .st-onar{min-height:38px;padding:2px 8px 2px 6px}
body.dp-gomulu #skillTree .st-detail.dps3 .st-onar>span{gap:0}body.dp-gomulu #skillTree .st-detail.dps3 .st-onar-bedel{line-height:1}
body.dp-gomulu #skillTree .st-detail.dps3 .st-reason.st-gerekli>img,body.dp-gomulu #skillTree .st-detail.dps3 .st-reason.st-gerekli>svg{width:24px;height:24px;flex-basis:24px}
body.dp-gomulu #skillTree .st-detail.dps3 .st-buy{min-height:40px!important}
body.dp-gomulu #skillTree .st-detail.dps3 .st-purchase{padding-top:4px}body.dp-gomulu #skillTree .st-detail.dps3 .st-purchase .st-reason{margin:3px 0 5px!important}
body.dp-gomulu #skillTree .st-detail.dps4:has(.st-onarim) .st-costs{flex-wrap:nowrap;gap:2px 12px}body.dp-gomulu #skillTree .st-detail.dps4:has(.st-onarim) .st-cost small{display:none}   /* en sıkışık (onarım + bedel): bedel tek satır; eksik bedel yine kırmızı */
body.dp-gomulu #skillTree .st-detail.dps5 .st-onarim{margin-top:2px;gap:4px}body.dp-gomulu #skillTree .st-detail.dps5 .st-detail-heading{padding-bottom:4px}
body.dp-gomulu #skillTree .st-next>h3{white-space:nowrap}body.dp-gomulu #skillTree .st-detail.dps4:has(.st-onarim) .st-reason.st-gerekli small{display:none}
/* ZİNCİR GÖRÜNÜMÜ (Cihat 16.11): sıradaki düğüm renkli + parlayan çerçeve + zıplayan ok + sağ üstte bedel; alınmışlar renkli ve çerçevesiz; geri kalan siyah-beyaz */
body.dp-gomulu .dpa-dugum.alinir::after{content:none}
body.dp-gomulu .dpa-dugum.acik{box-shadow:inset 0 0 0 2px #041110}
body.dp-gomulu .dpa-dugum.hedef{z-index:2;border-color:var(--branch);background:radial-gradient(circle at 50% 45%,color-mix(in srgb,var(--branch) 32%,#07191a) 0,#07191a 75%);animation:dpaHedef 1.4s ease-in-out infinite}
body.dp-gomulu .dpa-dugum.hedef>img,body.dp-gomulu .dpa-dugum.hedef>svg{filter:drop-shadow(0 0 5px color-mix(in srgb,var(--branch) 60%,transparent)) brightness(1.12)}
body.dp-gomulu .dpa-dugum.hedef::before{content:'';position:absolute;inset:-6px;border:2px solid var(--branch);border-radius:10px;pointer-events:none;animation:dpaCerceve 1.4s ease-in-out infinite}
@keyframes dpaHedef{0%,100%{box-shadow:inset 0 0 0 2px #041110,0 0 8px color-mix(in srgb,var(--branch) 55%,transparent)}50%{box-shadow:inset 0 0 0 2px #041110,0 0 20px var(--branch)}}
@keyframes dpaCerceve{0%,100%{opacity:.45;transform:scale(1)}50%{opacity:1;transform:scale(1.05)}}
/* satırlar arası boşluk dar: ok düğümün üst kenarına oturur, üst satıra taşmaz */
body.dp-gomulu .dpa-zipla{position:absolute;left:50%;top:-7px;z-index:4;width:0;height:0;margin-left:-7px;border-left:7px solid transparent;border-right:7px solid transparent;border-top:10px solid #fff7d0;filter:drop-shadow(0 0 4px var(--branch)) drop-shadow(0 2px 0 #000);pointer-events:none;animation:dpaZipla .8s ease-in-out infinite alternate}
@keyframes dpaZipla{from{transform:translateY(-3px)}to{transform:translateY(3px)}}
body.dp-gomulu .dpa-bedel{position:absolute;top:-11px;left:calc(100% - 14px);z-index:3;display:flex;gap:4px;padding:1px 5px 1px 3px;white-space:nowrap;font-style:normal;background:#04120fee;border:1px solid var(--branch);border-radius:9px;box-shadow:0 1px 0 #000,0 0 6px #0009;pointer-events:none}
body.dp-gomulu .dpa-bedel span{display:flex;align-items:center;gap:1px}
body.dp-gomulu .dpa-bedel img,body.dp-gomulu .dpa-bedel svg{width:14px;height:14px;object-fit:contain;image-rendering:pixelated}
body.dp-gomulu .dpa-bedel b{font:700 13px/1 "Pixelify Sans",monospace;color:#f4f1d0}
body.dp-gomulu .dpa-bedel span.eksik b{color:#ff6a5a}
body.dp-gomulu .dpa-bedel.eksik{border-color:#d9483b}
body.dp-gomulu .dpa-dugum.gri.kilitli{border-color:#4a4a3a}
@media(prefers-reduced-motion:reduce){body.dp-gomulu .dpa-dugum.hedef,body.dp-gomulu .dpa-dugum.hedef::before,body.dp-gomulu .dpa-zipla{animation:none}}
/* aşama düğümü (ev, duvar, kıyafet): altta aşamanın seviye noktaları (Cihat 16.11 maket v2) */
body.dp-gomulu .dpa-nokta{position:absolute;left:4px;right:4px;bottom:3px;display:flex;justify-content:center;gap:3px;pointer-events:none;font-style:normal}
body.dp-gomulu .dpa-nokta i{width:7px;height:7px;border-radius:50%;background:#000a;box-shadow:0 0 0 1px #ffffff55}
body.dp-gomulu .dpa-nokta i.dolu{background:var(--branch);box-shadow:0 0 0 1px #000,0 0 5px var(--branch)}
body.dp-gomulu .dpa-dugum.gri .dpa-nokta{filter:grayscale(1);opacity:.7}
/* taret kartları (sağ panel, 16.11 gece) */
#skillTree .tk-kartlar{margin:8px 0;padding:8px;border:1px solid #2f6a62;border-radius:6px;background:#041613}
#skillTree .tk-kartlar h3{margin:0 0 6px}
#skillTree .tk-satir{display:flex;flex-wrap:wrap;align-items:center;gap:4px 8px;padding:3px 0;border-top:1px solid #1d3f3a}
#skillTree .tk-satir:first-of-type{border-top:0}
#skillTree .tk-satir>b{flex:1 1 auto;font-size:14px;color:#e9f1dc}
#skillTree .tk-carpan{font:700 13px/1 "Pixelify Sans",monospace}
#skillTree .tk-sayi{display:flex;gap:3px}
#skillTree .tk-sayi i{font-style:normal;min-width:18px;padding:1px 3px;text-align:center;font:700 12px/14px "Pixelify Sans",monospace;color:#04120f;background:var(--r);border-radius:3px}
#skillTree .tk-bir{padding:3px 6px;border:1px solid #8fd99a;border-radius:4px;background:#1e5a34;color:#eaffd6;font:700 12px/1 "Pixelify Sans",monospace;cursor:pointer}
#skillTree .tk-kartlar small{display:block;margin-top:4px;font-size:12px;color:#9fb8b0}
/* yapı genişletmesi rozeti: bu düğüm ilk alınınca +1 taret yuvası (Cihat 17.11) */
body.dp-gomulu .dpa-yuva{position:absolute;left:-7px;bottom:-7px;z-index:3;padding:1px 4px;font:700 11px/13px "Pixelify Sans",monospace;font-style:normal;color:#04120f;background:#72c9b5;border:1px solid #000;border-radius:4px;pointer-events:none}
body.dp-gomulu .dpa-dugum.gri .dpa-yuva{filter:grayscale(1);opacity:.75}
/* yapışık dal başının altında kalan düğümlerin rozetleri (bedel, +1 yuva, tik, ok) başın sağ kenarından taşıp görünmesin (skill-tree.js kenar()) */
body.dp-gomulu .dpa-dugum.dpa-altta>.dpa-bedel,body.dp-gomulu .dpa-dugum.dpa-altta>.dpa-yuva,body.dp-gomulu .dpa-dugum.dpa-altta>.dpa-tik,body.dp-gomulu .dpa-dugum.dpa-altta>.dpa-zipla{visibility:hidden}
body.dp-gomulu .dpa-bas{z-index:6}
body.dp-gomulu .dpa-dugum.dpa-altta::after{visibility:hidden}
