/* Hair Transplant Guides x9 (hgx9.py): kitap / bölüm düzeni */
.hgx-svg{display:block;width:100%;height:auto}
.hgx-fig{margin:0;position:relative}
.hgx-chip{position:absolute;top:14px;left:16px;z-index:1;font:600 12px Inter,sans-serif;color:#0b1b45;background:linear-gradient(180deg,#f3dca2,#d4a548);padding:5px 11px;border-radius:999px}
.hgx-figcap{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:12px}
.hgx-figcap div{border-left:3px solid #c9953e;background:rgba(255,255,255,.05);padding:10px 12px;border-radius:0 10px 10px 0}
.hgx-figcap b{display:block;font:600 15px Lora,Georgia,serif;color:#f3dba4}.hgx-figcap span{font:400 13px Inter,sans-serif;color:rgba(255,255,255,.78)}
.hgx-cap{font:italic 600 17px Lora,Georgia,serif;fill:#f3dba4}
.hgx-arc{fill:none;stroke:rgba(243,219,164,.22);stroke-width:2;stroke-dasharray:3 6}
.hgx-prog{fill:none;stroke:#e8c26e;stroke-width:3;stroke-linecap:round;stroke-dasharray:1;stroke-dashoffset:1;animation:hgxDraw 2.4s .3s ease-out forwards}
.hgx-trav{fill:#fff1c9}
.hgx-sc{stroke-width:1.6}.hgx-sn{font:700 12px Inter,sans-serif}
.hgx-stop.is-done .hgx-sc{fill:#8a6a32;stroke:#e8c26e}.hgx-stop.is-done .hgx-sn{fill:#fff1c9}
.hgx-stop.is-next .hgx-sc{fill:#0d1c45;stroke:rgba(243,219,164,.45)}.hgx-stop.is-next .hgx-sn{fill:rgba(243,219,164,.75)}
.hgx-stop.is-cur .hgx-sc{fill:url(#hgxBg);fill:#f6dc9a;stroke:#fff1c9;stroke-width:2.4}.hgx-stop.is-cur .hgx-sn{fill:#0b1b45}
.hgx-pulse{fill:none;stroke:#f6dc9a;stroke-width:2;transform-box:fill-box;transform-origin:center;animation:hgxPulse 2.2s ease-out infinite}
.hgx-ear{fill:#e3a98e;stroke:#b97c64;stroke-width:1}.hgx-nose{fill:#e3a98e}
.hgx-hr{fill:#3a271c}.hgx-hs{stroke:#1e130d;stroke-width:1.3;stroke-linecap:round;opacity:.75}
.hgx-bald{fill:url(#hgxSk)}
.hgx-skull{fill:none;stroke:rgba(255,241,201,.55);stroke-width:1.4}
.hgx-lab{font:600 13px Inter,sans-serif;fill:#f3dba4}
.hgx-line{fill:none;stroke:#fff1c9;stroke-width:2.2;stroke-dasharray:1;stroke-dashoffset:1;animation:hgxLine 6s ease-in-out infinite}
.hgx-donor{fill:none;stroke:#e8c26e;stroke-width:10;stroke-linecap:round;opacity:.25;animation:hgxGlow 3s ease-in-out infinite}
.hgx-gr{fill:#2a1c15;stroke:#fff1c9;stroke-width:.8;opacity:0;animation:hgxGr 8s infinite;animation-delay:var(--d)}
.hgx-gw{stroke:#2a1c15;stroke-width:1.8;stroke-linecap:round;transform-box:fill-box;transform-origin:bottom;transform:scaleY(0);animation:hgxGw 7s ease-out infinite;animation-delay:var(--d)}
.hgx-drop{fill:#bfe3fb;opacity:0;animation:hgxDrop 2.7s ease-in infinite;animation-delay:var(--d)}
.hgx-foam{fill:rgba(255,255,255,.75);opacity:0;animation:hgxFoam 2.7s ease-in-out infinite;animation-delay:var(--d)}
.hgx-nw{transform-box:fill-box;transform-origin:50% 0;animation:hgxNw 12s steps(1) infinite}
.hgx-nl{opacity:0;animation:hgxNl 12s steps(1) infinite;animation-delay:var(--d)}
@keyframes hgxDraw{to{stroke-dashoffset:0}}
@keyframes hgxPulse{0%{transform:scale(1);opacity:.9}100%{transform:scale(2.1);opacity:0}}
@keyframes hgxLine{0%,10%{stroke-dashoffset:1}50%,90%{stroke-dashoffset:0}100%{stroke-dashoffset:1}}
@keyframes hgxGlow{0%,100%{opacity:.15}50%{opacity:.4}}
@keyframes hgxGr{0%{opacity:0;transform:translateY(-6px)}6%,80%{opacity:1;transform:none}92%,100%{opacity:0}}
@keyframes hgxGw{0%{transform:scaleY(0)}55%,88%{transform:scaleY(1)}100%{transform:scaleY(0)}}
@keyframes hgxDrop{0%{opacity:0;transform:translateY(0)}15%{opacity:1}70%{opacity:1;transform:translateY(46px)}80%,100%{opacity:0;transform:translateY(50px)}}
@keyframes hgxFoam{0%,40%{opacity:0}60%,80%{opacity:.85}100%{opacity:0}}
@keyframes hgxNw{0%{transform:scale(.55,.5)}16.6%{transform:scale(.75,.7)}33.3%{transform:scale(.9,.9)}50%{transform:scale(1.1,1.25)}66.6%{transform:scale(1.3,1.6)}83.3%{transform:scale(1.45,2)}}
@keyframes hgxNl{0%{opacity:1}16.6%,100%{opacity:0}}
@media (prefers-reduced-motion:reduce){.hgx-svg *{animation:none!important}.hgx-prog,.hgx-line{stroke-dashoffset:0}.hgx-gr,.hgx-foam{opacity:1}.hgx-gw{transform:none}.hgx-nl{opacity:0}.hgx-nl:first-of-type{opacity:1}}

/* okuma ilerlemesi */
.hgx-bar{position:fixed;left:0;right:0;top:0;height:3px;z-index:9990;pointer-events:none}
.hgx-bar i{display:block;height:100%;width:calc(var(--p,0)*100%);background:linear-gradient(90deg,#c9953e,#f6dc9a)}

/* kitap gövdesi */
.hgx-book{position:relative}
.hgx-toc{display:none}
#main.hgx9m .hgx-s .v2-head.hgx-hd,#main.hgx9m .hgx-map .v2-head.hgx-hd{text-align:left;margin-left:0;margin-right:auto;max-width:760px}
#main.hgx9m .hgx-hd .v2-eyebrow{justify-content:flex-start}
#main.hgx9m .hgx-hd .v2-lead{margin-left:0!important;margin-right:0!important;text-align:left!important}
#main.hgx9m .hgx-hd::after{margin-left:0!important;margin-right:auto!important}
/* koyu bölümlerde kartlar: koyu zemin, açık metin (okunurluk) */
#main.hgx9m .v2--navy .hr9-tcs>li{background:linear-gradient(160deg,#132a63,#0b1b45)!important;border:1px solid rgba(232,194,110,.38)!important;border-left:3px solid #c9953e!important;box-shadow:none!important}
#main.hgx9m .v2--navy .hr9-tcs>li h3{color:#fff!important}
#main.hgx9m .v2--navy .hr9-tcs>li dt{color:#e8c26e!important}
#main.hgx9m .v2--navy .hr9-tcs>li dd{color:rgba(255,255,255,.88)!important}
#main.hgx9m .v2--navy .hr9-tcs>li *{-webkit-text-fill-color:currentColor}
#main.hgx9m .hgx-hd .v2-eyebrow::before,#main.hgx9m .hgx-hd .v2-eyebrow::after{display:none}
.hgx-no{display:inline-flex;align-items:center;gap:10px;font:600 13px Inter,sans-serif;letter-spacing:.04em;color:#a87a2c;margin-bottom:8px}
.hgx-no::after{content:"";width:46px;height:1px;background:currentColor;opacity:.6}
.v2--navy .hgx-no{color:#e8c26e}
#main.hgx9m .hgx-s{border-top:1px solid rgba(201,149,62,.25)}
#main.hgx9m .hgx-s .v2-head.hgx-hd .v2-h2{text-wrap:balance}
#main.hgx9m .hgx-s p,#main.hgx9m .hgx-s li{text-wrap:pretty}
/* kartlarda altın sol çizgi */
#main.hgx9m .hgx-s :is(.hr9-cl,.bgv-ck,.bgv-cards,.hs9-dls)>li{border-left:3px solid #c9953e!important;border-top-left-radius:4px!important;border-bottom-left-radius:4px!important}
#main.hgx9m .hgx-s .v2-table,#main.hgx9m .hgx-s .bgv-tb{border-left:3px solid #c9953e}
@media (min-width:1180px){
 .hgx-book{display:grid;grid-template-columns:272px minmax(0,1fr);background:#f6f0e4}
 .hgx-toc{display:block;border-right:1px solid rgba(201,149,62,.35)}
 #main.hgx9m>.v2-tabs,#main.hgx9m .v2-tabs{display:none!important}
 .hgx-toc__in{position:sticky;top:136px;padding:34px 22px 30px 28px;max-height:calc(100vh - 150px);overflow:auto}
 .hgx-toc__k{font:600 12px Inter,sans-serif;color:#8b6525;margin:0 0 4px}
 .hgx-toc__t{font:600 22px/1.2 Lora,Georgia,serif;color:#0b1b45;margin:0 0 16px}
 .hgx-toc__bar{height:4px;border-radius:4px;background:rgba(11,27,69,.1);margin-bottom:18px;overflow:hidden}
 .hgx-toc__bar i{display:block;height:100%;width:calc(var(--p,0)*100%);background:linear-gradient(90deg,#c9953e,#f6dc9a)}
 .hgx-toc ol{list-style:none;margin:0;padding:0;counter-reset:none}
 .hgx-toc li a{display:flex;gap:10px;align-items:baseline;padding:8px 10px;border-left:2px solid transparent;color:#33415f;text-decoration:none;font:500 14px/1.35 Inter,sans-serif;border-radius:0 8px 8px 0}
 .hgx-toc li a span{font:600 12px Inter,sans-serif;color:#8b6525;min-width:20px}
 .hgx-toc li a:hover{background:rgba(201,149,62,.1)}
 .hgx-toc li a.is-on{border-left-color:#c9953e;background:#fff;color:#0b1b45;font-weight:600}
 .hgx-toc__cta{display:inline-flex;gap:8px;align-items:center;margin-top:18px;padding:11px 18px;border-radius:999px;background:#0b1b45;color:#f3dba4;text-decoration:none;font:600 14px Inter,sans-serif}
 .hgx-toc__cta svg{width:15px;height:15px}
 .hgx-body{min-width:0}
 .hgx-body>section>.v2-wrap{width:auto!important;max-width:1000px!important;margin-left:clamp(24px,3.5vw,56px)!important;margin-right:clamp(24px,3vw,48px)!important;box-sizing:border-box}
}
/* içindekiler haritası */
.hgx-parts{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px;margin-top:28px}
.hgx-part{background:#fff;border-radius:16px;padding:20px 18px;border-top:3px solid #c9953e;box-shadow:0 10px 30px rgba(11,27,69,.06)}
.hgx-part small{font:600 12px Inter,sans-serif;color:#966d27}.hgx-part h3{font:600 21px Lora,Georgia,serif;color:#0b1b45;margin:2px 0 12px}
.hgx-part ol{list-style:none;margin:0;padding:0}
.hgx-part li a{display:grid;grid-template-columns:30px 1fr;column-gap:8px;padding:10px 0;border-top:1px dashed rgba(11,27,69,.14);text-decoration:none}
.hgx-mn{grid-row:span 2;font:600 13px Inter,sans-serif;color:#8d6625;padding-top:2px}
.hgx-part li b{font:600 15px Inter,sans-serif;color:#0b1b45}.hgx-part li em{font:400 13px Inter,sans-serif;color:#5b6680;font-style:normal}
.hgx-part li.is-cur a{background:#fbf3e1;border-radius:10px;padding-left:8px;border-top-color:transparent}.hgx-part li.is-cur em{color:#8d6625;font-weight:600}
@media (max-width:1000px){.hgx-parts{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (max-width:600px){.hgx-parts{grid-template-columns:1fr}.hgx-figcap{grid-template-columns:1fr}}
/* önceki / sonraki */
.hgx-pn{background:#0b1b45;padding:22px 0}
.hgx-pn .v2-wrap{display:flex;justify-content:space-between;gap:14px}
.hgx-pn__a{display:flex;flex-direction:column;gap:2px;padding:14px 20px;border:1px solid rgba(232,194,110,.45);border-radius:14px;text-decoration:none;min-width:0;max-width:48%}
.hgx-pn__a small{font:500 12px Inter,sans-serif;color:rgba(255,255,255,.7)}.hgx-pn__a b{font:600 17px Lora,Georgia,serif;color:#f3dba4;display:flex;gap:8px;align-items:center}
.hgx-pn__a b svg{width:15px;height:15px}.hgx-pn__a--next{text-align:right;align-items:flex-end;margin-left:auto}
