/* Sitemiver arka plan hikâyesi — oda ışığı lambaya bağlı (.lit = lamba açık / aydınlık tema) */
.story{position:fixed;inset:0;z-index:-3;overflow:hidden;pointer-events:none;background:#0d1326}
.story svg{display:block;width:100%;height:100%}
.story::after{content:"";position:absolute;inset:0;pointer-events:none;background:radial-gradient(ellipse 110% 90% at 60% 50%,transparent 55%,rgba(0,0,0,.45) 100%);transition:opacity 1.2s}
.story.lit::after{opacity:.35}
.story *{transition:fill 1.1s ease,stroke 1.1s ease,opacity .6s ease,stop-color 1.1s ease}

/* ---------- Oda renkleri: lamba kapalı (gece) ---------- */
.st-wall1{stop-color:#1c2645}.st-wall2{stop-color:#121a33}
.st-floor1{stop-color:#2c2620}.st-floor2{stop-color:#171310}
.st-sofa1{stop-color:#285257}.st-sofa2{stop-color:#1a3a3e}
.st-wallpaper,.st-planks{fill:#fff}
.st-base{fill:#0e1428}
.st-cushion{fill:#2c5c60}.st-pillow{fill:#a8604a}
.st-wood{fill:#4a3626}.st-wood2{fill:#33251a}
.st-rug{fill:#262b47}.st-rug2{stroke:#3a4166}
.st-frame{stroke:#2b3150}.st-frame-fill{fill:#2b3150}.st-curtain{fill:#2a3157}
.st-clock-face{fill:#c4cbe0}.st-clock line{stroke:#2b3150}
.st-pot{fill:#5a3f32}.st-shadow{fill:rgba(0,0,0,.35)}
.skyline{fill:#0a1430}
.sky-day{opacity:0}.sky-night{opacity:1}
.st-moonbeam{fill:rgba(160,195,255,.09)}
.st-sunpatch{fill:rgba(255,232,170,0)}
.st-lampbase{fill:#3a3f55}.st-switch{fill:#1d2033}
.st-shade{fill:#5d5a6e}.st-bulb{fill:#7d7891}
.st-light{opacity:0;mix-blend-mode:screen;transition:opacity .35s ease}
.st-warm{fill:rgba(255,186,96,.07)}
.st-vignette{fill:none}
.twinkle{animation:stTwinkle 2.6s ease-in-out infinite}.twinkle:nth-child(2n){animation-delay:-1.3s}
@keyframes stTwinkle{50%{opacity:.25}}

/* ---------- Lamba açık (gündüz / aydınlık tema) ---------- */
.story.lit{background:#efe2d0}
.lit .st-wall1{stop-color:#f4e8d8}.lit .st-wall2{stop-color:#e6d3bb}
.lit .st-floor1{stop-color:#c99a69}.lit .st-floor2{stop-color:#a77748}
.lit .st-sofa1{stop-color:#3f9196}.lit .st-sofa2{stop-color:#2e7074}
.lit .st-wallpaper,.lit .st-planks{fill:#7a5536}
.lit .st-base{fill:#fff7ec}
.lit .st-cushion{fill:#4ba4a8}.lit .st-pillow{fill:#ff9a70}
.lit .st-wood{fill:#8c5c3b}.lit .st-wood2{fill:#6b4329}
.lit .st-rug{fill:#ecdfca}.lit .st-rug2{stroke:#cbb796}
.lit .st-frame{stroke:#6b4a35}.lit .st-frame-fill{fill:#6b4a35}.lit .st-curtain{fill:#e2a679}
.lit .st-clock-face{fill:#fffaf1}.lit .st-clock line{stroke:#5a3d2b}
.lit .st-pot{fill:#c96f4a}.lit .st-shadow{fill:rgba(80,50,20,.22)}
.lit .skyline{fill:#8fb4d3}
.lit .sky-day{opacity:1}.lit .sky-night{opacity:0}
.lit .st-moonbeam{fill:rgba(160,195,255,0)}
.lit .st-sunpatch{fill:rgba(255,236,180,.35)}
.lit .st-lampbase{fill:#c9a25e}.lit .st-switch{fill:#7a5a2e}
.lit .st-shade{fill:#ffe6ae}.lit .st-bulb{fill:#fff8d9}
.lit .st-light{opacity:1}
.story.flick .st-light{animation:stFlick .45s steps(3) 1}
@keyframes stFlick{0%{opacity:.2}40%{opacity:.9}60%{opacity:.4}100%{opacity:1}}
.hand-m{transform-box:view-box;transform-origin:1080px 260px;animation:stSpin 60s linear infinite}
.hand-h{transform-box:view-box;transform-origin:1080px 260px;animation:stSpin 720s linear infinite}
@keyframes stSpin{to{transform:rotate(360deg)}}
.steam{animation:stSteam 3s ease-in-out infinite}
@keyframes stSteam{50%{transform:translateY(-6px);opacity:.15}}

/* ---------- Karakter ---------- */
.st-char{will-change:transform}
.char-shadow{fill:rgba(0,0,0,.28)}
.legs-sit{opacity:0}
.st-char.seated .legs-sit{opacity:1}.st-char.seated .legs-stand{opacity:0}.st-char.seated .char-shadow{opacity:0}
.upper{transition:transform .8s cubic-bezier(.4,0,.2,1)}
.st-char.seated .upper{transform:translateY(95px)}
.leg,.arm{transform-box:fill-box;transform-origin:50% 6%;transition:transform .45s cubic-bezier(.4,0,.2,1)}
.head{transform-box:fill-box;transform-origin:50% 90%}
.st-char.walking .leg-l{animation:stLegA .5s ease-in-out infinite alternate}
.st-char.walking .leg-r{animation:stLegA .5s ease-in-out infinite alternate-reverse}
.st-char.walking .arm-l{animation:stArmA .5s ease-in-out infinite alternate}
.st-char.walking .arm-r{animation:stArmA .5s ease-in-out infinite alternate-reverse}
.st-char.walking .upper{animation:stBob .25s ease-in-out infinite alternate}
@keyframes stLegA{from{transform:rotate(16deg)}to{transform:rotate(-16deg)}}
@keyframes stArmA{from{transform:rotate(-14deg)}to{transform:rotate(14deg)}}
@keyframes stBob{to{transform:translateY(-8px)}}
/* klavyede yazma */
.st-char.typing .arm-l{transform:rotate(-34deg);animation:stTypeL .22s ease-in-out infinite alternate}
.st-char.typing .arm-r{transform:rotate(34deg);animation:stTypeR .22s ease-in-out infinite alternate-reverse}
@keyframes stTypeL{from{transform:rotate(-34deg)}to{transform:rotate(-29deg)}}
@keyframes stTypeR{from{transform:rotate(34deg)}to{transform:rotate(29deg)}}
.st-char.holding .arm-l{transform:rotate(-34deg)}.st-char.holding .arm-r{transform:rotate(34deg)}
/* başparmak yukarı */
.thumb{opacity:0}
.st-char.thumbs .arm-r{animation:none;transform:rotate(-150deg)}
.st-char.thumbs .thumb{opacity:1}
/* lambaya uzanma (tema değişince) */
.st-char.reach .arm-r{animation:none!important;transform:rotate(-80deg) scaleY(1.8);transition:transform .38s cubic-bezier(.3,0,.2,1)}
/* yüz ifadeleri */
.mouth,.eyes-happy,.mad-flush,.blush,.puff{opacity:0}
.st-char.f-neutral .m-neutral,.st-char.f-hmm .m-hmm,.st-char.f-mad .m-mad,.st-char.f-happy .m-smile{opacity:1}
.st-char.f-happy .eyes{opacity:0}.st-char.f-happy .eyes-happy,.st-char.f-happy .blush{opacity:1}
.brow{transform-box:fill-box;transform-origin:center;transition:transform .35s}
.st-char.f-hmm .brow-l{transform:translateY(-5px) rotate(-10deg)}
.st-char.f-mad .brow-l{transform:translateY(5px) rotate(20deg)}.st-char.f-mad .brow-r{transform:translateY(5px) rotate(-20deg)}
.st-char.f-mad .mad-flush{opacity:.32}
.st-char.f-mad .head{animation:stShake .12s linear infinite}
@keyframes stShake{0%{transform:translateX(-3px) rotate(-1.5deg)}50%{transform:translateX(3px) rotate(1.5deg)}100%{transform:translateX(-3px) rotate(-1.5deg)}}
.puff{fill:rgba(255,255,255,.85)}
.st-char.f-mad .puff{animation:stPuff 1.1s ease-out infinite}
.st-char.f-mad .p2{animation-delay:.3s}.st-char.f-mad .p3{animation-delay:.55s}.st-char.f-mad .p4{animation-delay:.8s}
@keyframes stPuff{0%{opacity:0;transform:translateY(10px) scale(.6)}30%{opacity:.9}100%{opacity:0;transform:translateY(-40px) scale(1.4)}}
.puff{transform-box:fill-box;transform-origin:center}

/* ---------- Laptop ---------- */
.st-laptop{will-change:transform}
.screen-glow{opacity:0;mix-blend-mode:screen}
.story.laptop-on .screen-glow{opacity:.9}
.story.lit.laptop-on .screen-glow{opacity:.35}

/* ---------- Balon ve kalpler ---------- */
.st-bubble{opacity:0;transform-box:fill-box;transform-origin:20% 100%;transform:scale(.6)}
.story.s-bubble .st-bubble{opacity:1;transform:scale(1);transition:opacity .25s,transform .45s cubic-bezier(.34,1.56,.64,1)}
.st-bubble-t{font:800 30px 'Plus Jakarta Sans','Manrope',sans-serif;fill:#1d1d2b}
.heart{font:700 36px 'Plus Jakarta Sans',sans-serif;fill:#ffd166;opacity:0}
.heart.h3{fill:#ff6b8a}
.story.s-hearts .heart{animation:stHeart 2.4s ease-out infinite}
.story.s-hearts .h2{animation-delay:.5s}.story.s-hearts .h3{animation-delay:1s}
@keyframes stHeart{0%{opacity:0;transform:translateY(20px)}25%{opacity:1}100%{opacity:0;transform:translateY(-60px)}}
.heart{transform-box:fill-box}

/* ---------- Laptop ekranı (yakın plan) ---------- */
.st-panel{opacity:0;transform-box:fill-box;transform-origin:40% 100%;transform:translateY(20px) scale(.92);transition:opacity .5s,transform .6s cubic-bezier(.34,1.56,.64,1)}
.story.panel-on .st-panel{opacity:1;transform:none}
.panel-bg{fill:#fff}.panel-bar{fill:#eef0f6}.panel-tail{fill:#fff}
.panel-url{font:600 13px 'JetBrains Mono',ui-monospace,monospace;fill:#6a7085}
.st-panel text{font-family:'Plus Jakarta Sans','Manrope',system-ui,sans-serif}
.scr{opacity:0;transition:opacity .45s}
.story[data-scr="ai1"] .scr-ai1,.story[data-scr="ai2"] .scr-ai2,.story[data-scr="ads"] .scr-ads,.story[data-scr="site"] .scr-site,.story[data-scr="ok"] .scr-ok{opacity:1}
.t-h{font-weight:800;font-size:20px;fill:#1d1d2b}
.t-sub{font-weight:600;font-size:16px;fill:#5a6075}
.b-me{fill:#7b5cff}.t-me{font-weight:700;font-size:15px;fill:#fff}
.b-bot{fill:#eef0f6}.t-bot{font-weight:700;font-size:15px;fill:#1d1d2b}
.ai1-res,.stamp,.ai2-err{opacity:0}
.story.s-ai1res .ai1-res{opacity:1;transition:opacity .5s}
.stamp{transform-box:fill-box;transform-origin:center;transform:scale(1.8)}
.story.s-stamp .stamp{opacity:1;transform:scale(1);transition:opacity .2s,transform .35s cubic-bezier(.34,1.56,.64,1)}
.t-ugly{font:900 16px 'Comic Sans MS','Comic Sans',cursive;fill:#0011ff}
.t-ugly2{font-size:30px}.t-ugly3{font:12px 'Times New Roman',serif;fill:#888}
.t-stamp{font-weight:900;font-size:30px;fill:#e5343e;letter-spacing:.04em}
.prog-bg{fill:#eef0f6}.prog-fill{fill:#ff9f43;transform-box:fill-box;transform-origin:left;transform:scaleX(0);transition:transform .25s linear}
.story.s-err .ai2-err{opacity:1}
.story.s-err .prog-fill{fill:#e5343e}
.t-err{font-weight:900;font-size:24px;fill:#c81e2a}.t-err2{font-weight:600;font-size:15px;fill:#8a2a30}
.search{fill:#fff;stroke:#dfe1e5;stroke-width:2}.t-search{font-weight:600;font-size:16px;fill:#3c4043}
.t-adlabel{font-weight:800;font-size:13px;fill:#202124}
.ad-bg{fill:transparent;transition:fill .3s}
.story.s-adhover .ad-bg{fill:#f1edff}
.t-fav{font-weight:900;font-size:10px;fill:#fff}.t-adurl{font-weight:600;font-size:14px;fill:#202124}
.t-adtitle{font-weight:800;font-size:19px;fill:#1a0dab}.story.s-adhover .t-adtitle{text-decoration:underline}
.t-addesc{font-weight:500;font-size:14px;fill:#4d5156}
.ghost{fill:#eceef3}
.site-bg{fill:#f7f5ff}
.t-fav2{font-weight:900;font-size:12px;fill:#fff}.t-brand{font-weight:800;font-size:17px;fill:#1d1d2b}
.t-hero{font-weight:800;font-size:24px;fill:#1d1d2b}
.tp{stroke-width:0;transform-box:fill-box;transform-origin:center;transition:stroke-width .3s,transform .4s cubic-bezier(.34,1.56,.64,1)}
.story.s-pick[data-pick="1"] .tp1,.story.s-pick[data-pick="2"] .tp2,.story.s-pick[data-pick="3"] .tp3,.story.s-pick[data-pick="4"] .tp4{stroke-width:5;transform:translateY(-6px) scale(1.06)}
.buy{transform-box:fill-box;transform-origin:center;transition:transform .2s}
.story.s-buy .buy{transform:scale(.94)}
.t-btn{font-weight:800;font-size:15px;fill:#fff}
.form,.done,.t-ok{opacity:0}
.story.s-form .form{opacity:1}
.t-f{font-weight:600;font-size:14px;fill:#5a6075}.t-ok{font-weight:900;font-size:16px;fill:#22a55a}
.story.s-f1 .f1,.story.s-f2 .f2,.story.s-f3 .f3{opacity:1}
.story.s-done .done{opacity:1}
.t-done{font-weight:900;font-size:17px;fill:#1a8a47}
.cursor{transition:transform .9s cubic-bezier(.45,0,.2,1);opacity:0}
.story.s-cursor .cursor{opacity:1}
.click{opacity:0;transform-box:fill-box;transform-origin:center}
.story.clicking .click{animation:stClick .45s ease-out}
@keyframes stClick{0%{opacity:1;transform:scale(.3)}100%{opacity:0;transform:scale(1.6)}}

/* Hikâye modunda okunabilirlik: metin tarafını hafifçe karart / aydınlat */
.story-mode .scene-shade{background:linear-gradient(90deg,rgba(5,10,20,.78) 0%,rgba(5,10,20,.55) 34%,rgba(5,10,20,.08) 58%,transparent 70%),rgba(5,10,20,calc(var(--shade,0)*.55))}
[data-theme="light"] .story-mode .scene-shade,.story-mode[data-theme="light"] .scene-shade{background:linear-gradient(90deg,rgba(250,244,234,.86) 0%,rgba(250,244,234,.62) 34%,rgba(250,244,234,.1) 58%,transparent 70%),rgba(250,244,234,calc(var(--shade,0)*.6))}
@media (max-width:860px){
  .story-mode .scene-shade{background:linear-gradient(180deg,rgba(5,10,20,.55),rgba(5,10,20,.78) 55%,rgba(5,10,20,.88))}
  [data-theme="light"] .story-mode .scene-shade,.story-mode[data-theme="light"] .scene-shade{background:linear-gradient(180deg,rgba(250,244,234,.55),rgba(250,244,234,.8) 55%,rgba(250,244,234,.9))}
}
@media (prefers-reduced-motion:reduce){.story *{animation:none!important;transition:none!important}}

.story.narrow #panel,.story.narrow #cursor{display:none}

/* ================= Çizgi roman senaryosu eklemeleri ================= */
/* Kapı */
.st-door-hole{fill:#070b18}.lit .st-door-hole{fill:#3b2a1c}
.st-door-leaf{fill:#3a2c22}.lit .st-door-leaf{fill:#a8714a}
.st-door-panel{fill:none;stroke:rgba(255,255,255,.08);stroke-width:4}.lit .st-door-panel{stroke:rgba(70,40,20,.25)}
.st-knob{fill:#c9a25e}
.st-door{transform-box:fill-box;transform-origin:0 50%;transition:transform .9s cubic-bezier(.4,0,.2,1)}
.story.door-open .st-door{transform:scaleX(.16) skewY(-6deg)}

/* Karakter renkleri (Habib varsayılan) */
.pants{fill:#2c3a66}.pants2{fill:#26335c}.shoe{fill:#ff7a59}
.cloth{fill:url(#gHoodie)}.cloth-d{fill:#5c43d6}
.skin{fill:#f1c39b}.skin2{fill:#e8b48c}.nose{fill:#e3a57d}
.hair-m{fill:#3b2418}.hair-f{fill:#2a1610}
.brows{stroke:#3b2418}
.m-neutral,.m-hmm{stroke:#7a3b2a}
.earring{fill:#ffd36e}
.hair-f,.lashes,.earring,.necklace{display:none}
/* Sema */
.ch-mira .hair-f,.ch-mira .lashes,.ch-mira .earring,.ch-mira .necklace{display:inline}
.ch-mira .hair-m,.ch-mira .glasses,.ch-mira .hoodie-pocket,.ch-mira .hoodie-str{display:none}
.ch-mira .cloth{fill:url(#gTop2)}.ch-mira .cloth-d{fill:#0e8277}
.ch-mira .skin{fill:#e6ad86}.ch-mira .skin2{fill:#d8996f}.ch-mira .nose{fill:#d38c63}
.ch-mira .pants{fill:#3a2f5c}.ch-mira .pants2{fill:#31284f}.ch-mira .shoe{fill:#fdf4f6}
.ch-mira .brows{stroke:#2a1610}
.ch-mira .m-neutral,.ch-mira .m-hmm{stroke:#c2405a}.ch-mira .m-smile{fill:#c2405a}
.ch-mira .blush{opacity:.55}

/* Şaşırma yüzü (reklamı görünce) */
.st-char.f-wow .m-wow{opacity:1}
.st-char.f-wow .brow{transform:translateY(-12px)}
.st-char.f-wow .eyes{transform:scale(1.18);transform-box:fill-box;transform-origin:center}
.st-char.f-wow .head{animation:stWow .5s cubic-bezier(.34,1.56,.64,1)}
@keyframes stWow{40%{transform:translateY(-14px)}}

/* Ampul */
.idea-bulb{opacity:0;transform-box:fill-box;transform-origin:50% 100%;transform:scale(.3)}
.st-char.s-idea .idea-bulb{opacity:1;transform:none;transition:opacity .2s,transform .5s cubic-bezier(.34,1.56,.64,1)}
.st-char.s-idea .rays{animation:stRays .9s ease-in-out infinite alternate}
@keyframes stRays{from{opacity:.35}to{opacity:1}}

/* Düşünce / fikir balonu */
.think{opacity:0;transform-box:fill-box;transform-origin:0 100%;transform:scale(.7)}
.st-char.thinking .think{opacity:1;transform:none;transition:opacity .3s,transform .55s cubic-bezier(.34,1.56,.64,1)}
.tb{fill:#fff}
.think-t{font:800 28px 'Plus Jakarta Sans','Manrope',sans-serif;fill:#1d1d2b}
.think-t2{font:600 22px 'Plus Jakarta Sans','Manrope',sans-serif;fill:#5a6075}
.think-icon{font-size:46px}

/* Laptop kapağı: logo / FAIL */
.lid{fill:#c7cedb}.lid2{fill:#9aa4b6}
.lid-fail{font:900 24px 'Plus Jakarta Sans',sans-serif;fill:#e5343e;opacity:0;letter-spacing:.04em}
.story.s-fail .lid-fail{opacity:1;animation:stBlink .5s steps(2) infinite}
.story.s-fail .lid-logo{opacity:0}
.story.s-fail .lid{fill:#ffd5d5}
@keyframes stBlink{50%{opacity:.35}}

/* Ekran: anlamsız yapay zekâ sonucu, Google reklamı, sitemiver, başarı */
.t-gib{font:500 13px 'JetBrains Mono',ui-monospace,monospace;fill:#7d8296}
.t-g{font:800 24px 'Plus Jakarta Sans',sans-serif}
.t-sl{font-weight:800;font-size:14px;fill:#1a0dab}.t-sld{font-weight:500;font-size:12px;fill:#4d5156}
.t-brand{font-weight:800;font-size:18px;fill:#2a2f6b;font-family:'Nunito','Plus Jakarta Sans',sans-serif!important}.t-brand2{fill:#7b5cff}
.t-nav{font-weight:800;font-size:12px;fill:#fff}
.f-send{opacity:.25;transition:opacity .3s}.story.s-f3 .f-send{opacity:1}
.t-okbrand{font:800 22px 'Nunito','Plus Jakarta Sans',sans-serif!important}
.t-okbig{font-weight:900;font-size:34px;fill:#fff}
.t-okwel{font-weight:800;font-size:24px;fill:#ffd23f}
.cf{opacity:0;transform-box:fill-box;transform-origin:center}
.story[data-scr="ok"] .cf{animation:stConf 2.2s linear var(--d) infinite}
@keyframes stConf{0%{opacity:1;transform:translateY(0) rotate(0)}100%{opacity:.9;transform:translateY(290px) rotate(540deg)}}

/* Çizgi roman başlık kutusu */
.st-caption{opacity:0;transform-box:fill-box;transform-origin:center;transform:translateY(12px);transition:opacity .45s,transform .45s}
.story.cap-on .st-caption{opacity:1;transform:none}
.cap-bg{fill:#fffbea;stroke:#1d1d2b;stroke-width:3}
.cap-t{font:800 22px 'Plus Jakarta Sans','Manrope',sans-serif;fill:#1d1d2b}
.story.narrow .st-caption{transform:translateY(-40px)}/* Dar ekranda yazı içeren balonlar başlık metniyle çakışmasın */
.story.narrow .think,.story.narrow .st-bubble,.story.narrow .st-caption{display:none}

/* ---------- Ses aç / kapat düğmesi (sol alt) ---------- */
.snd-btn{position:fixed;z-index:80;left:18px;bottom:calc(18px + env(safe-area-inset-bottom));display:flex;align-items:center;gap:8px;padding:11px 15px 11px 12px;border-radius:99px;border:1px solid var(--border-strong,rgba(255,255,255,.3));background:var(--glass-strong,rgba(8,15,30,.84));color:var(--text,#fff);font:700 13.5px/1 'Plus Jakarta Sans','Manrope',sans-serif;cursor:pointer;backdrop-filter:blur(14px);-webkit-backdrop-filter:blur(14px);box-shadow:0 10px 28px rgba(0,0,0,.25);transition:transform .3s cubic-bezier(.34,1.56,.64,1),background .3s,color .3s}
.snd-btn:hover{transform:translateY(-3px)}
.snd-btn svg{width:20px;height:20px;fill:currentColor;flex:none}
.snd-btn svg .w{fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round}
.snd-btn .i-on{display:none}
.snd-btn.on{background:linear-gradient(90deg,#38c8ff,#6f6bff 55%,#a24bff);color:#fff;border-color:transparent}
.snd-btn.on .i-on{display:block}.snd-btn.on .i-off{display:none}
.snd-btn.on .i-on .w{animation:sndWave 1.2s ease-in-out infinite}
@keyframes sndWave{50%{opacity:.35}}
.snd-btn.hint{animation:sndHint 1.6s ease-in-out infinite}
@keyframes sndHint{0%,100%{box-shadow:0 10px 28px rgba(0,0,0,.25),0 0 0 0 rgba(111,107,255,.55)}50%{box-shadow:0 10px 28px rgba(0,0,0,.25),0 0 0 10px rgba(111,107,255,0)}}
@media (max-width:640px){.snd-btn b{display:none}.snd-btn{padding:12px}}
@media (prefers-reduced-motion:reduce){.snd-btn.hint,.snd-btn.on .i-on .w{animation:none}}