/* =========================================================
   PXE Stüdyo — oda sahnesi
   Gece ve gündüz renkleri değişkenlerle yönetilir.
   ========================================================= */

html, html.night {
  --r-wall-a: #131219; --r-wall-b: #25201F;
  --r-floor-a: #2C231E; --r-floor-b: #100C0B; --r-floor-line: rgba(0, 0, 0, .38);
  --r-base: #0E0C0A;
  --r-trim: #1E1B18; --r-door: #2A2520; --r-door-panel: #241F1B; --r-door-hole: #FFE5B8;
  --r-slat: #4D3524; --r-slat-hi: rgba(255, 205, 150, .13); --r-slat-gap: #110C09; --r-slat-cap: #0D0A08;
  --r-wood: #5E412D; --r-wood-a: #7A5538; --r-wood-b: #573B27; --r-desk-edge: #3A2719;
  --r-shelf-back: #1A1714; --r-box: #6A4E33; --r-metal: #121110;
  --r-frame: #0B0A09; --r-mat: #ECE6DB;
  --r-cork: #6A4C30; --r-cork-dot: #4F341D; --r-board: #2B1F17;
  --r-sky-a: #050A1F; --r-sky-b: #2A2658; --r-orb: #F4F0FF; --r-bld: #0A0B14; --r-lit: #FFC46B;
  --r-win: #1C1916; --r-curtain: #362B23;
  --r-rug: #420C0A; --r-rug-line: rgba(242, 238, 231, .16);
  --r-pot: #1B1A19; --r-pot-rim: #282624; --r-leaf: #21402B; --r-stem: #284631; --r-leaf-hi: #3A6B47;
  --r-plate: #2A2723; --r-steam: rgba(242, 238, 231, .5);
  /* anime katmanı */
  --r-ray: #A9BCFF; --ray-o: .07; --r-mote: #DCE4FF; --r-horizon: #FF7A5C; --r-cloud: #FFFFFF; --r-cloud-sh: #CFCBEF;
  --r-rim-top: rgba(255, 190, 120, .2); --r-rim-win: rgba(150, 178, 255, .4);
  --r-clock-face: #DCD4C6; --r-clock-rim: #0B0A09; --r-clock-ink: #1A1918;
  --cat-a: #9A6238; --cat-b: #66401F; --cat-c: #D8C3A8; --cat-rim: #A9C0FF; --r-zzz: #C9D3FF;
  --r-cab: #33261C; --r-cab-door: #3E2E20; --r-cab-top: #4A3624; --r-note: #F2EEE7;
  --night-o: 1; --day-o: 0;
}
html.day {
  --r-wall-a: #F3EDE3; --r-wall-b: #E2D5C2;
  --r-floor-a: #D0AE88; --r-floor-b: #A47F59; --r-floor-line: rgba(90, 55, 25, .16);
  --r-base: #D2C8B8;
  --r-trim: #D6CDBF; --r-door: #F5F1E9; --r-door-panel: #EAE4D9; --r-door-hole: #FFF8EA;
  --r-slat: #BC9168; --r-slat-hi: rgba(255, 244, 226, .38); --r-slat-gap: #6A4A30; --r-slat-cap: #5A3E29;
  --r-wood: #A47A52; --r-wood-a: #BF946A; --r-wood-b: #9C7148; --r-desk-edge: #77522F;
  --r-shelf-back: #D9D0C2; --r-box: #B48B5E; --r-metal: #1C1B1A;
  --r-frame: #0E0D0C; --r-mat: #FBF8F2;
  --r-cork: #C49A6C; --r-cork-dot: #A57D52; --r-board: #8B6442;
  --r-sky-a: #3F92EA; --r-sky-b: #D6EEF8; --r-orb: #FFF6D8; --r-bld: #8EA6BE; --r-lit: rgba(0, 0, 0, 0);
  --r-win: #F5F1E9; --r-curtain: #F7F3EC;
  --r-rug: #7D0A0A; --r-rug-line: rgba(242, 238, 231, .4);
  --r-pot: #ECE5D8; --r-pot-rim: #DDD4C6; --r-leaf: #3A7547; --r-stem: #4A7F55; --r-leaf-hi: #6BB177;
  --r-plate: #F5F1E9; --r-steam: rgba(120, 105, 90, .35);
  --r-ray: #FFF3D6; --ray-o: .2; --r-mote: #FFF8E6; --r-horizon: #FFE2BE; --r-cloud: #FFFFFF; --r-cloud-sh: #C9C7EE;
  --r-rim-top: rgba(255, 247, 228, .6); --r-rim-win: rgba(255, 249, 232, .7);
  --r-clock-face: #FBF8F2; --r-clock-rim: #1A1918; --r-clock-ink: #0E0D0C;
  --cat-a: #E4974A; --cat-b: #B5652A; --cat-c: #FFF1DE; --cat-rim: #FFF4D8; --r-zzz: #6E6A9E;
  --r-cab: #C49A6C; --r-cab-door: #D0A879; --r-cab-top: #A97E52; --r-note: #7D0A0A;
  --night-o: 0; --day-o: 1;
}

/* ---------- Neon renkleri: PXE tabelasına tıklayınca değişir ---------- */
html, html[data-neon="0"] { --neon-1: #FF4A3D; --neon-1g: #FF2A1E; --neon-1c: #FFE1DC; --neon-2: #FFE9DF; --neon-2g: #FF7A62; --neon-2c: #FFFFFF; }
html[data-neon="1"] { --neon-1: #FF5FA8; --neon-1g: #FF2D8A; --neon-1c: #FFE6F2; --neon-2: #8BF4FF; --neon-2g: #18C6FF; --neon-2c: #F2FFFF; }
html[data-neon="2"] { --neon-1: #5B86FF; --neon-1g: #2F5DFF; --neon-1c: #E4ECFF; --neon-2: #C9A6FF; --neon-2g: #8D4DFF; --neon-2c: #F7F0FF; }
html[data-neon="3"] { --neon-1: #FFB23D; --neon-1g: #FF8A00; --neon-1c: #FFF3D9; --neon-2: #FFF0C8; --neon-2g: #FFB040; --neon-2c: #FFFFFF; }

/* ---------- Sahne ---------- */
.stage { position: fixed; inset: 0; z-index: 1; overflow: hidden; background: var(--r-wall-b); transition: background .8s; touch-action: none; }
.world { position: absolute; inset: 0; }
.room { position: absolute; left: 0; top: 0; overflow: visible; user-select: none; -webkit-user-select: none; }
.layer { will-change: transform; }

.vignette {
  position: absolute; inset: 0; z-index: 2; pointer-events: none;
  background: radial-gradient(ellipse 75% 70% at 50% 46%, rgba(0, 0, 0, 0) 40%, rgba(0, 0, 0, .55) 100%);
  transition: opacity .8s;
}
html.day .vignette { background: radial-gradient(ellipse 80% 75% at 50% 46%, rgba(60, 40, 20, 0) 50%, rgba(60, 40, 20, .2) 100%); }
.spot {
  position: absolute; inset: 0; z-index: 3; pointer-events: none;
  background: radial-gradient(circle at var(--sx, 50%) var(--sy, 50%), rgba(0, 0, 0, 0) calc(var(--sr, 100px) * .85), rgba(0, 0, 0, .4) calc(var(--sr, 100px) * 2.6));
  opacity: 0; transition: opacity .45s var(--ease);
}
html.day .spot { background: radial-gradient(circle at var(--sx, 50%) var(--sy, 50%), rgba(40, 25, 10, 0) calc(var(--sr, 100px) * .85), rgba(40, 25, 10, .22) calc(var(--sr, 100px) * 2.6)); }
.spot.is-on { opacity: 1; }
body.is-zooming .spot { opacity: 0; }

/* Açılış: ışıklar sırayla yanar */
.stage::after {
  content: ""; position: absolute; inset: 0; z-index: 4; pointer-events: none;
  background: #000; opacity: 0; transition: opacity 1.1s var(--ease);
}
html.is-loading .stage::after, html.boot .stage::after { opacity: .88; }
html.boot.boot-1 .stage::after { opacity: .62; }
html.boot.boot-2 .stage::after { opacity: .28; }
html.boot.boot-3 .stage::after { opacity: 0; }

/* ---------- Renklendirme ---------- */
.s-wall-a { stop-color: var(--r-wall-a); } .s-wall-b { stop-color: var(--r-wall-b); }
.s-floor-a { stop-color: var(--r-floor-a); } .s-floor-b { stop-color: var(--r-floor-b); }
.s-sky-a { stop-color: var(--r-sky-a); } .s-sky-b { stop-color: var(--r-sky-b); }
.s-wood-a { stop-color: var(--r-wood-a); } .s-wood-b { stop-color: var(--r-wood-b); }
.room stop { transition: stop-color .8s; }
.room .t, .floor-lines path, .baseboard, .trim, .door, .door-panel, .door-hole, .slat, .slat-hi, .slat-gap, .slat-cap,
.wood, .shelf-back, .box, .frame, .mat, .cork, .cork-dot, .board-frame, .sky-orb, .bld, .lit, .win-frame, .sill,
.curtain, .rug, .pot, .pot-rim, .leaf, .plate, .desk-edge, .leg { transition: fill .8s, stroke .8s, opacity .8s; }

.night-only { opacity: var(--night-o); transition: opacity .8s; }
.day-only { opacity: var(--day-o); transition: opacity .8s; }
.fx { pointer-events: none; }

.floor-lines path { fill: none; stroke: var(--r-floor-line); stroke-width: 2; }
.baseboard { fill: var(--r-base); }

/* Kapı ve anahtar */
.trim { fill: var(--r-trim); }
.door { fill: var(--r-door); }
.door-panel { fill: var(--r-door-panel); stroke: rgba(0, 0, 0, .12); stroke-width: 2; }
.door-hole { fill: var(--r-door-hole); }
.door-sign { fill: var(--red); }
.door-sign-t { font: 700 21px var(--f-mono); fill: var(--paper); letter-spacing: 3px; }
.door-sign-b { font-size: 15px; letter-spacing: 2px; }
.handle { fill: #B08D57; }
.under-door { fill: #FFD08A; }
.door-leaf { transform-box: view-box; transform-origin: 112px 684px; transition: transform .8s var(--ease-io); }
.hot[data-obj="kapi"].is-active .door-leaf { transform: scaleX(.16) skewY(-7deg); }
.plate { fill: var(--r-plate); stroke: rgba(0, 0, 0, .25); stroke-width: 1.5; }
.toggle { fill: #8A847C; transform-box: fill-box; transform-origin: center; transition: transform .3s var(--ease); }
html.day .toggle { transform: translateY(-5px); fill: var(--red); }
html.night .toggle { transform: translateY(5px); }

/* Raf */
.shelf-back { fill: var(--r-shelf-back); }
.wood { fill: var(--r-wood); }
.box { fill: var(--r-box); }
.box-t { font: 700 12px var(--f-mono); fill: var(--ink); letter-spacing: 1px; }
.tape-t { font: 700 11px var(--f-mono); fill: var(--ink); text-anchor: middle; letter-spacing: 1px; dominant-baseline: middle; }
.file-t { font: 700 12px var(--f-mono); fill: var(--ink); text-anchor: middle; letter-spacing: 2px; dominant-baseline: middle; }
.reel { transform-box: fill-box; transform-origin: center; }
.hot[data-obj="raf"]:hover .reel { animation: spin 3s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* Tablo */
.pic-lamp { fill: #B08D57; }
.frame { fill: var(--r-frame); }
.mat { fill: var(--r-mat); }
.sig { font: 700 9px var(--f-mono); fill: var(--ink); opacity: .55; }

/* Çıta panel */
.slat { fill: var(--r-slat); }
.slat-hi { fill: var(--r-slat-hi); }
.slat-gap { fill: var(--r-slat-gap); }
.slat-cap { fill: var(--r-slat-cap); }

/* Neon */
.neon-plate { fill: rgba(255, 255, 255, .035); stroke: rgba(255, 255, 255, .12); stroke-width: 1.5; }
html.day .neon-plate { fill: rgba(255, 255, 255, .25); stroke: rgba(0, 0, 0, .1); }
.neon-screw circle { fill: #8A8580; }
.neon use { stroke-linecap: round; stroke-linejoin: round; transition: stroke .3s, opacity .3s; }
.neon-glow { stroke: var(--neon-1g); stroke-width: 16; opacity: .85; }
.neon-tube { stroke: var(--neon-1); stroke-width: 7; }
.neon-core { stroke: var(--neon-1c); stroke-width: 2.4; }
.neon-halo { mix-blend-mode: screen; transition: opacity .5s; }
html.day .neon-glow { opacity: .45; }
html.day .neon-halo { opacity: .25; }
html.is-loading .neon-glow, html.boot:not(.boot-3) .neon-glow, html.is-loading .neon-halo, html.boot:not(.boot-3) .neon-halo { opacity: 0; }
html.is-loading .neon-tube, html.boot:not(.boot-3) .neon-tube { stroke: #4A1A16; }
html.is-loading .neon-core, html.boot:not(.boot-3) .neon-core { stroke: #5A2520; }
html.boot.boot-3 .neon { animation: neonOn 1s steps(1) both; }
@keyframes neonOn { 0% { opacity: .2; } 12% { opacity: 1; } 18% { opacity: .3; } 30% { opacity: 1; } 36% { opacity: .5; } 44%, 100% { opacity: 1; } }
.hot[data-obj="neon"]:hover .neon { animation: neonBuzz .35s steps(1) 2; }
@keyframes neonBuzz { 40% { opacity: .55; } 60% { opacity: 1; } }
html.full-circle .neon, html.full-circle .neon-halo { animation: neonPulse .6s ease-in-out 6; }
@keyframes neonPulse { 50% { opacity: .3; } }

/* Pencere */
.win-recess { fill: rgba(0, 0, 0, .28); }
.win-frame, .sill { fill: var(--r-win); }
.rod { fill: #1A1918; }
.curtain { fill: var(--r-curtain); opacity: .94; }
.sky-orb { fill: var(--r-orb); }
html.day .sky-orb { r: 30; }
.bld { fill: var(--r-bld); }
.lit { fill: var(--r-lit); }
.stars circle { fill: #fff; }
.sunbeam { fill-opacity: .4; mix-blend-mode: soft-light; }
.sunpatch { fill: #FFF6DE; fill-opacity: .42; }

/* Pano */
.board-frame { fill: var(--r-board); }
.cork { fill: var(--r-cork); }
.cork-dot { fill: var(--r-cork-dot); }
.note-l { font: 800 34px var(--f-display); text-anchor: middle; }
.note-s { font: 700 8px var(--f-mono); text-anchor: middle; letter-spacing: 1px; }
.card-t { font: 700 8px var(--f-mono); fill: var(--ink); letter-spacing: 1px; }
.scribble { font: 800 22px var(--f-display); fill: var(--red); letter-spacing: -1px; }
.string { stroke: #E1251B; stroke-width: 1.6; fill: none; opacity: .9; }
.pins circle { fill: #E1251B; stroke: rgba(0, 0, 0, .35); stroke-width: 1.5; }

/* Masa ve zemin */
.rug { fill: var(--r-rug); }
.rug-line { fill: none; stroke: var(--r-rug-line); stroke-width: 3; stroke-dasharray: 2 9; }
.leg-back { fill: #0A0908; }
.leg { fill: var(--r-metal); }
.desk-edge { fill: var(--r-desk-edge); }
.cable { fill: none; stroke: #0A0908; stroke-width: 5; }
.tower { fill: #121110; }
.tower-face { fill: #1B1A19; }
.led { fill: #E1251B; }

/* Lamba */
.lamp-metal { fill: #1A1918; }
.lamp-arm { fill: none; stroke: #1A1918; stroke-width: 9; stroke-linecap: round; stroke-linejoin: round; }
.lamp-shade { fill: var(--red); }
.lamp-bulb { fill: #FFF1D0; transition: fill .4s; }
.lamp-light { mix-blend-mode: screen; transition: opacity .5s; }
html.day .lamp-light { opacity: .3; }
html.lamp-off .lamp-light, html.is-loading .lamp-light, html.boot:not(.boot-2) .lamp-light { opacity: 0; }
html.lamp-off .lamp-bulb, html.is-loading .lamp-bulb, html.boot:not(.boot-2) .lamp-bulb { fill: #5A5148; }

/* Kahve */
.mug { fill: var(--paper); }
.mug-top { fill: #3B2516; }
.mug-handle { fill: none; stroke: var(--paper); stroke-width: 7; }
.steam path { fill: none; stroke: var(--r-steam); stroke-width: 3; stroke-linecap: round; animation: steam 3.2s ease-out infinite; }
.steam path + path { animation-delay: 1.5s; }
@keyframes steam { 0% { opacity: 0; transform: translateY(10px); } 35% { opacity: 1; } 100% { opacity: 0; transform: translateY(-16px); } }
.hot[data-obj="kahve"] { transform-box: fill-box; transform-origin: 50% 100%; }
.hot[data-obj="kahve"].is-sip { animation: sip .7s var(--ease); }
@keyframes sip { 35% { transform: translateY(-12px) rotate(-7deg); } }

/* Monitör */
.bezel { fill: #0A0A09; }
.screen { fill: #121110; }
.screen-ui { transition: opacity .6s; }
html.is-loading .screen-ui, html.boot:not(.boot-1) .screen-ui { opacity: 0; }
.screen-glow { mix-blend-mode: screen; transition: opacity .6s; }
html.day .screen-glow { opacity: .35; }
html.is-loading .screen-glow, html.boot:not(.boot-1) .screen-glow { opacity: 0; }
.mini-playhead { animation: playhead 9s linear infinite; }
@keyframes playhead { from { transform: translateX(-112px); } to { transform: translateX(330px); } }
.mini-program rect { animation: prog 9s steps(1) infinite; }
@keyframes prog { 0% { fill: #E1251B; } 25% { fill: #2230F5; } 50% { fill: #E2B33C; } 75% { fill: #7D0A0A; } }
.mon-base, .kb { fill: #1A1918; }
.pad { fill: #141312; }
.mouse { fill: #2A2826; }

/* Fotoğraf makinesi */
.cam-body { fill: #1B1A19; }
.cam-leather { fill: #0F0F0E; }
.cam-grip { fill: #232220; }
.cam-brand { font: 700 8px var(--f-mono); fill: var(--paper); letter-spacing: 1px; }
.cam-dial { fill: #3A3835; }
.cam-shutter { fill: var(--red); }
.lens-outer { fill: #232220; }
.lens-ring { fill: none; stroke: #3A3835; stroke-width: 5; stroke-dasharray: 2 3; }

/* Video kamera */
.tri-leg { fill: #1F1E1C; }
.tri-back { fill: #121110; }
.tri-spread { fill: none; stroke: #1F1E1C; stroke-width: 5; }
.tri-lock { fill: #2E2C2A; }
.cam-dark { fill: #1B1A19; }
.cam-side { fill: #262422; }
.vent { stroke: #111; stroke-width: 3; }
.rec-btn { fill: var(--red); }
.hot[data-obj="kamera"] .cam-brand { font-size: 10px; }
.handle-bar { fill: none; stroke: #1B1A19; stroke-width: 10; stroke-linejoin: round; }
.cam-lens { fill: #232220; }
.pan-bar { fill: none; stroke: #1B1A19; stroke-width: 9; stroke-linecap: round; }
.cam-arm { fill: none; stroke: #2A2826; stroke-width: 7; stroke-linecap: round; }
.cam-screen { fill: #000; }
.cam-hud { font: 700 6px var(--f-mono); fill: var(--paper); }
.tally, .rec-blink { animation: blink 1.6s steps(1) infinite; }
@keyframes blink { 50% { opacity: .15; } }

html.night .rim { stroke: rgba(190, 205, 255, .2); stroke-width: 2; }
.lcd-glow { mix-blend-mode: screen; }
.moon-glow { mix-blend-mode: screen; }

/* Bitki */
.pot { fill: var(--r-pot); }
.pot-rim { fill: var(--r-pot-rim); }
.leaf { fill: var(--r-leaf); }
.stem { fill: none; stroke: var(--r-stem); stroke-width: 5; stroke-linecap: round; }
.leaves { transform-box: view-box; transform-origin: 3000px 1004px; animation: sway 7s ease-in-out infinite; }
@keyframes sway { 50% { transform: rotate(1.6deg); } }
.plant.is-wiggle .leaves { animation: wiggle .9s var(--ease); }
@keyframes wiggle { 20% { transform: rotate(-4deg); } 45% { transform: rotate(3deg); } 70% { transform: rotate(-1.5deg); } }

/* ---------- Etkileşim noktaları ---------- */
.hot { cursor: pointer; outline: none; }
/* Küçük nesneler için görünmez, parmak dostu dokunma alanı */
.hot .hit { fill: transparent; stroke: none; pointer-events: all; }
.hot-dot { pointer-events: none; }
.hot-dot .dot { fill: var(--red); stroke: var(--paper); stroke-width: 2.5; transform-box: fill-box; transform-origin: center; transition: transform .4s var(--ease); }
.hot-dot .ring { fill: none; stroke: var(--red); stroke-width: 2.5; transform-box: fill-box; transform-origin: center; animation: ping 2.4s var(--ease) infinite; }
@keyframes ping { 0% { transform: scale(.45); opacity: 1; } 100% { transform: scale(1.9); opacity: 0; } }
.hot:hover .hot-dot .dot, .hot:focus .hot-dot .dot { transform: scale(1.35); }
.hot.is-found .hot-dot { opacity: 0; transition: opacity .6s; }
html.is-loading .hot-dot, html.boot .hot-dot { opacity: 0; }

/* Masadaki küçük nesneler hafifçe kalkar */
.hot[data-obj="foto"], .hot[data-obj="kahve"] { transition: transform .5s var(--ease); transform-box: fill-box; }
.hot[data-obj="foto"]:hover, .hot[data-obj="foto"]:focus { transform: translateY(-7px); }
.hot[data-obj="kahve"]:hover, .hot[data-obj="kahve"]:focus { transform: translateY(-5px); }

/* =========================================================
   Yeni nesneler: PXE neon tabela, saat, kedi, tablet, pikap
   ========================================================= */

/* PXE Creative neon */
.sign-wire { fill: none; stroke: rgba(0, 0, 0, .55); stroke-width: 1.6; }
html.day .sign-wire { stroke: rgba(60, 45, 30, .35); }
.sign-plate { fill: rgba(16, 14, 20, .6); stroke: rgba(255, 255, 255, .13); stroke-width: 1.5; transition: fill .8s; }
html.day .sign-plate { fill: rgba(28, 25, 24, .86); }
.sign-neon use { fill: none; stroke-linecap: round; stroke-linejoin: round; transition: stroke .35s; }
.sg-glow .sg-ink { stroke: var(--neon-2g); stroke-width: 13; opacity: .75; }
.sg-glow .sg-ac { stroke: var(--neon-1g); stroke-width: 13; opacity: .9; }
.sg-tube .sg-ink { stroke: var(--neon-2); stroke-width: 5.4; }
.sg-tube .sg-ac { stroke: var(--neon-1); stroke-width: 5.4; }
.sg-core use { stroke-width: 1.7; }
.sg-core .sg-ink { stroke: var(--neon-2c); }
.sg-core .sg-ac { stroke: var(--neon-1c); }
.sign-t { font: 800 30px var(--f-display); letter-spacing: 9px; fill: var(--neon-2c); stroke: var(--neon-2); stroke-width: 1.4; paint-order: stroke; transition: fill .35s, stroke .35s; }
.sign-t-glow { fill: var(--neon-2g); stroke: var(--neon-2g); stroke-width: 7; opacity: .7; }
.sign-flick { animation: flick 7.5s steps(1) infinite; }
@keyframes flick { 0%, 88%, 100% { opacity: 1; } 89% { opacity: .2; } 90% { opacity: 1; } 92% { opacity: .12; } 93.5% { opacity: 1; } }
html.day .sg-glow { opacity: .5; }
html.day .sign-t-glow { opacity: .35; }
html.is-loading .sg-glow, html.boot:not(.boot-3) .sg-glow, html.is-loading .sign-t-glow, html.boot:not(.boot-3) .sign-t-glow { opacity: 0; }
html.is-loading .sign-neon, html.boot:not(.boot-3) .sign-neon, html.is-loading .sign-t, html.boot:not(.boot-3) .sign-t { opacity: .25; }
html.boot.boot-3 .sign-neon, html.boot.boot-3 .sign-t { animation: neonOn 1.2s .3s steps(1) both; }
.pxe-sign:hover .sign-neon, .pxe-sign:focus .sign-neon { animation: neonBuzz .35s steps(1) 2; }
.pxe-sign.is-switch .sign-neon, .pxe-sign.is-switch .sign-t, html.neon-switch .neon { animation: neonOn .7s steps(1) both; }
.s-neon-a { stop-color: var(--neon-1g); }
.s-neon-b { stop-color: var(--neon-2g); }

/* Duvar saati */
.clock-rim { fill: var(--r-clock-rim); }
.clock-face { fill: var(--r-clock-face); transition: fill .8s; }
.clock-ticks line { stroke: var(--r-clock-ink); stroke-width: 1.6; opacity: .55; }
.clock-ticks line.maj { stroke-width: 4; opacity: 1; }
.clock-brand { font: 700 9px var(--f-mono); letter-spacing: 2px; fill: var(--r-clock-ink); opacity: .45; }
.clock-h, .clock-m, .clock-s { fill: none; stroke-linecap: round; transform-box: view-box; transform-origin: 245px 214px; }
.clock-h { stroke: var(--r-clock-ink); stroke-width: 5.5; }
.clock-m { stroke: var(--r-clock-ink); stroke-width: 3.5; }
.clock-s { stroke: var(--red); stroke-width: 1.8; }
.clock-pin { fill: var(--red); }
.clock-glass { fill: none; stroke: #fff; stroke-opacity: .4; stroke-width: 4; stroke-linecap: round; }
html.night .clock-glass { stroke-opacity: .12; }
.clock.is-spin .clock-m, .clock.is-spin .clock-h { transition: transform 1.2s var(--ease-io); }

/* Kedi */
.cat-body, .cat-headc, .cat-ear { fill: var(--cat-a); transition: fill .8s; }
.cat-tail { fill: none; stroke: var(--cat-a); stroke-width: 11; stroke-linecap: round; transform-box: fill-box; transform-origin: 74% 55%; transition: stroke .8s; }
.cat-stripe { fill: none; stroke: var(--cat-b); stroke-width: 3.2; stroke-linecap: round; }
.cat-ear-in { fill: #F2AFA2; }
.cat-mask { fill: var(--cat-c); }
.cat-rim { fill: none; stroke: var(--cat-rim); stroke-width: 2.4; stroke-linecap: round; opacity: .75; }
.cat-eyes-c { fill: none; stroke: #3A2418; stroke-width: 1.9; stroke-linecap: round; transition: opacity .2s; }
.cat-eyes-o { opacity: 0; transition: opacity .2s; }
.cat-eyes-o ellipse { fill: #2A1A12; }
html.night .cat-eyes-o ellipse { fill: #CFF26E; }
.cat-glint { fill: #fff; }
.cat-nose { fill: #E7837A; }
.cat-blush { fill: #FF8C8C; opacity: .45; }
.cat-whisk { fill: none; stroke: var(--cat-c); stroke-width: 1; opacity: .7; }
.cat-body { transform-box: fill-box; transform-origin: 50% 100%; animation: breathe 3.8s ease-in-out infinite; }
@keyframes breathe { 50% { transform: scaleY(1.06); } }
.cat-head { transform-box: fill-box; transform-origin: 50% 92%; transition: transform .55s var(--ease); }
.cat:hover .cat-head, .cat:focus .cat-head { transform: rotate(-4deg); }
.zzz text { font: 800 13px var(--f-display); fill: var(--r-zzz); opacity: 0; animation: zzz 3.6s ease-in-out infinite; }
.zzz text:nth-child(2) { font-size: 15px; animation-delay: .7s; }
.zzz text:nth-child(3) { font-size: 18px; animation-delay: 1.4s; }
@keyframes zzz { 0% { opacity: 0; transform: translate(0, 8px); } 30% { opacity: .9; } 100% { opacity: 0; transform: translate(12px, -12px); } }
.cat-heart { opacity: 0; transform-box: fill-box; transform-origin: 50% 100%; }
.cat-heart path { fill: #FF5F7A; }
.cat.is-awake .cat-head { transform: translateY(-8px) rotate(-7deg); }
.cat.is-awake .cat-eyes-c, .cat.is-awake .zzz { opacity: 0; }
.cat.is-awake .zzz text { animation: none; }
.cat.is-awake .cat-eyes-o { opacity: 1; }
.cat.is-awake .cat-tail { animation: tail .45s ease-in-out 6 alternate; }
.cat.is-awake .cat-heart { animation: heart 1.5s var(--ease) both; }
@keyframes tail { to { transform: rotate(-14deg); } }
@keyframes heart { 0% { opacity: 0; transform: translateY(12px) scale(.4); } 30% { opacity: 1; transform: none; } 100% { opacity: 0; transform: translateY(-30px) scale(.9); } }

/* Tablet */
.tab-body { fill: #141312; }
.tab-screen { fill: #1E1D1C; }
.tab-stand { fill: #2A2826; }
.tab-t { font: 700 6px var(--f-mono); fill: #F2EEE7; letter-spacing: 1px; }
.hot[data-obj="blog"] { transition: transform .5s var(--ease); transform-box: fill-box; }
.hot[data-obj="blog"]:hover, .hot[data-obj="blog"]:focus { transform: translateY(-6px); }

/* Pikap ve dolap */
.cab { fill: var(--r-cab); }
.cab-door { fill: var(--r-cab-door); stroke: rgba(0, 0, 0, .14); stroke-width: 1.5; }
.cab-top { fill: var(--r-cab-top); }
.cab-hi { fill: #fff; opacity: .22; }
.cab-knob { fill: #B08D57; }
.cab-leg { fill: #1A1918; }
.cab, .cab-door, .cab-top { transition: fill .8s; }
.tt-top { fill: #2C2A27; }
.tt-body { fill: #1B1A19; }
.tt-led { fill: #5A5148; transition: fill .3s; }
.vinyl { fill: #0B0B0A; }
.vinyl-groove { fill: none; stroke: #24221F; stroke-width: 3; }
.vinyl-shine { fill: none; stroke: rgba(255, 255, 255, .28); stroke-width: 5; stroke-linecap: round; }
.vinyl-label { fill: var(--red); }
.vinyl-mark { fill: #0E0D0C; }
.tt-disc { transform-box: fill-box; transform-origin: center; }
.tt-arm { fill: none; stroke: #CFC8BB; stroke-width: 3.5; stroke-linecap: round; stroke-linejoin: round; transform-box: view-box; transform-origin: 2660px 840px; transform: rotate(26deg); transition: transform .7s var(--ease); }
.tt-pivot { fill: #3A3835; }
.spk { fill: #1C1B1A; }
.spk-cone { fill: #2E2D2A; }
.spk-woofer { fill: #252422; }
.spk-dust { fill: #141312; }
.spk-pulse { transform-box: fill-box; transform-origin: center; }
.notes text { font: 700 22px var(--f-body); fill: var(--r-note); opacity: 0; }
.player.is-on .tt-led { fill: #7CFF8A; }
.player.is-on .tt-arm { transform: none; }
.player.is-on .tt-disc { animation: spin 1.8s linear infinite; }
.player.is-on .spk-pulse { animation: thump .46s ease-in-out infinite; }
.player.is-on .notes text { animation: note 3.2s ease-out infinite; }
.player.is-on .notes text:nth-child(2) { animation-delay: .8s; }
.player.is-on .notes text:nth-child(3) { animation-delay: 1.6s; }
.player.is-on .notes text:nth-child(4) { animation-delay: 2.4s; }
@keyframes thump { 50% { transform: scale(1.09); } }
@keyframes note { 0% { opacity: 0; transform: translate(0, 10px); } 20% { opacity: .9; } 100% { opacity: 0; transform: translate(20px, -74px) rotate(14deg); } }

/* =========================================================
   Anime dokunuşu: ışık hüzmesi, toz, bulut, kenar ışığı, gren
   (hafif bir katman; düz çizimi bozmadan sinematik derinlik)
   ========================================================= */
.ao { opacity: .9; }
html.day .ao { opacity: .5; }
.baseboard-hi { fill: #fff; opacity: .06; }
html.day .baseboard-hi { opacity: .45; }
.s-bounce { stop-color: #FFD6A2; }
.s-hor { stop-color: var(--r-horizon); }
.s-ray { stop-color: var(--r-ray); transition: stop-color .8s; }
.horizon { mix-blend-mode: screen; opacity: .9; }
html.night .horizon { opacity: .35; }
.orb-halo { fill: var(--r-orb); opacity: .1; }
html.day .orb-halo { opacity: .4; }
.cl-body { fill: var(--r-cloud); opacity: .96; }
.cl-shade { fill: var(--r-cloud-sh); }
.cl-drift { animation: drift 38s ease-in-out infinite alternate; }
.cl-drift2 { animation: drift 52s ease-in-out infinite alternate-reverse; }
@keyframes drift { to { transform: translateX(34px); } }
.clouds-n path { fill: #24285A; opacity: .85; }
.clouds-n .cl-rim { fill: none; stroke: #A4B2F0; stroke-width: 1.6; opacity: .55; }
.shoot { fill: none; stroke: #fff; stroke-width: 1.8; stroke-linecap: round; stroke-dasharray: 96; stroke-dashoffset: 96; animation: shoot 12s 5s linear infinite; }
@keyframes shoot { 0% { stroke-dashoffset: 96; stroke-opacity: 0; } 1.5% { stroke-opacity: 1; } 6% { stroke-dashoffset: -96; stroke-opacity: 0; } 100% { stroke-dashoffset: -96; stroke-opacity: 0; } }
.sunpatch-cross { fill: none; stroke: rgba(150, 105, 60, .2); stroke-width: 10; mix-blend-mode: multiply; }
.curtain-fold { fill: none; stroke: rgba(0, 0, 0, .14); stroke-width: 3; stroke-linecap: round; }
html.day .curtain-fold { stroke: rgba(150, 120, 90, .2); }
.rays { mix-blend-mode: screen; }
.ray { opacity: var(--ray-o); animation: ray 9s ease-in-out infinite; transition: opacity .8s; }
.ray.r2 { animation-delay: -3s; }
.ray.r3 { animation-delay: -6s; }
@keyframes ray { 50% { opacity: calc(var(--ray-o) * 1.8); } }
.motes circle { fill: var(--r-mote); opacity: 0; animation: mote var(--d, 9s) linear infinite; animation-delay: var(--dl, 0s); }
@keyframes mote { 0% { opacity: 0; transform: translate(0, 0); } 18% { opacity: var(--mo, .6); } 82% { opacity: var(--mo, .6); } 100% { opacity: 0; transform: translate(var(--mx, 20px), var(--my, -30px)); } }
.motes .m-sun { visibility: hidden; }
html.day .motes .m-sun { visibility: visible; }
.motes .m-lamp { visibility: hidden; fill: #FFE2B0; }
html.night:not(.lamp-off) .motes .m-lamp { visibility: visible; }
.rim-top { fill: none; stroke: var(--r-rim-top); stroke-width: 1.6; }
.rim-win { fill: none; stroke: var(--r-rim-win); stroke-width: 2; }
.rim-lamp { fill: none; stroke: #FFB45E; stroke-width: 2.2; opacity: calc(var(--night-o) * .5); transition: opacity .5s; }
html.lamp-off .rim-lamp { opacity: 0; }
.leaf-hi use { fill: var(--r-leaf-hi); opacity: .8; transition: fill .8s; }

/* Sahne üstü renk ayarı ve film greni */
.grade { position: absolute; inset: 0; z-index: 2; pointer-events: none; mix-blend-mode: soft-light; transition: opacity .8s; }
html.night .grade {
  background:
    radial-gradient(ellipse 60% 45% at 50% 16%, rgba(255, 60, 110, .3), rgba(255, 60, 110, 0) 70%),
    linear-gradient(180deg, rgba(80, 70, 190, .3), rgba(20, 40, 130, .38));
}
html.day .grade { background: linear-gradient(118deg, rgba(110, 165, 255, .26) 0%, rgba(255, 255, 255, 0) 46%, rgba(255, 190, 130, .36) 100%); }
.grain {
  position: absolute; inset: -60px; z-index: 3; pointer-events: none;
  opacity: .085; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.82' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 200px 200px;
  animation: grain .9s steps(5) infinite;
}
html.night .grain { opacity: .13; }
@keyframes grain { 0% { transform: translate(0, 0); } 20% { transform: translate(-22px, 14px); } 40% { transform: translate(16px, -26px); } 60% { transform: translate(-30px, -8px); } 80% { transform: translate(24px, 20px); } 100% { transform: translate(0, 0); } }
body.in-view .grain { animation: none; }

/* Görünüm açıkken oda animasyonları dursun */
body.in-view .room *, body.in-view .room { animation-play-state: paused !important; }

/* ---------- Mobil ---------- */
.hud-blog { text-decoration: none; }
@media (max-width: 860px) { .hud-blog span { display: none; } }
@media (max-width: 640px) {
  .brand span { display: none; }
  .hud-cta { padding: 0 14px 0 12px; }
  .hud-menu span { display: none; }
  .hint { padding: 9px 12px; font-size: 10px; max-width: 54vw; }
  .disc { padding-right: 12px; }
}
@media (max-width: 380px) {
  .hud-cta { font-size: 0; gap: 0; width: 40px; padding: 0; justify-content: center; }
  .hud-cta i { width: 9px; height: 9px; }
}

/* =========================================================
   Stüdyonun kedileri: Saru, Enişte, Çitlenbik, Bızdık
   (varsayılan değerler gece, html.day gündüz)
   ========================================================= */
.cat { --cw: #B3B8CE; --ck: #101013; --co: #8E5B32; --ct: #2E2620; }
html.day .cat { --cw: #F8F3EC; --ck: #1E1C1C; --co: #E08A3C; --ct: #5A4535; }
.cat .cat-w { fill: var(--cw); }
.cat .cat-k { fill: var(--ck); }
.cat .cat-o { fill: var(--co); }
.cat .cat-t { fill: var(--ct); }
.cat-belly, .cat-paw { fill: var(--cat-c); }
.cat-fold { fill: none; stroke: rgba(0, 0, 0, .16); stroke-width: 1.2; stroke-linecap: round; }
.cat .cat-iris { fill: #A6C25A; }
.cat-pupil { fill: none; stroke: #0B0B0B; stroke-width: 2.6; stroke-linecap: round; }
html.night .cat .cat-pupil-o, .cat .cat-pupil-o { fill: #0E0D0C; }
.cat.is-awake .cat-head { transform: translateY(-5px) rotate(-6deg); }

/* Saru: açık sarman, tombul */
.cat--saru { --cat-a: #A3713F; --cat-b: #6B4422; --cat-c: #D6C5B0; }
html.day .cat--saru { --cat-a: #EDB47C; --cat-b: #C9874A; --cat-c: #FFF4E6; }
.cat--saru.is-awake .cat-head { transform: translateY(-8px) rotate(-7deg); }

/* Enişte: smokin, çene altında siyah sakal, yeşil göz */
.cat--eniste { --cat-a: var(--ck); --cat-c: var(--cw); }
.cat--eniste .cat-eyes-c { stroke: #A9BC82; }
.cat-beard { fill: var(--ck); }

/* Çitlenbik: beyaz zemin, turuncu ve siyah lekeler, halka halka tekir kuyruk */
.cat--citlenbik { --cat-a: var(--cw); --cat-c: var(--cw); }
.cat--citlenbik .cat-whisk { stroke: #8F8374; opacity: .7; }
.cat-tw, .cat-tring, .cat-ttip { fill: none; stroke-width: 8; }
.cat-tw { stroke: var(--cw); stroke-linecap: round; }
.cat-tring { stroke: var(--ct); stroke-dasharray: 4 5; }
.cat-ttip { stroke: var(--ck); stroke-linecap: round; }
.cat-tstripe { fill: none; stroke: var(--ck); stroke-width: 1.4; stroke-linecap: round; opacity: .55; }
.cat-tailg { transform-box: fill-box; transform-origin: 0% 100%; }
.cat--citlenbik.is-awake .cat-tailg { animation: tailHang .5s ease-in-out 6 alternate; }
@keyframes tailHang { to { transform: rotate(-16deg); } }

/* Bızdık: cins, katlanık kulak, kömür grisi & beyaz, kehribar göz; uyanık, yumakla oynuyor */
.cat--bizdik { --cat-a: #1C1B20; --cat-c: var(--cw); }
html.day .cat--bizdik { --cat-a: #3C3B41; }
.cat--bizdik .cat-iris { fill: #D9A63B; }
.cat-fold-ear { stroke: rgba(0, 0, 0, .35); stroke-width: 1; }
.cat-spot { fill: #67666D; }
.cat--bizdik .cat-eyes-o { opacity: 1; }
.cat--bizdik .cat-eyes-c, .cat--bizdik .zzz { display: none; }
.cat-yarn circle { fill: #C9332A; }
html.day .cat-yarn circle { fill: #E1251B; }
.cat-yarn path { fill: none; stroke: rgba(0, 0, 0, .28); stroke-width: 1.2; stroke-linecap: round; }
.cat-yarn .cat-yarn-t { stroke: #E1251B; stroke-width: 1.4; }
.cat-yarn { transform-box: fill-box; transform-origin: 70% 60%; }
.cat--bizdik.is-awake .cat-yarn { animation: yarn .9s var(--ease) 2 alternate; }
@keyframes yarn { to { transform: translateX(9px) rotate(140deg); } }
@media (prefers-reduced-motion: reduce) { .cat-yarn, .cat-tailg { animation: none !important; } }

/* =========================================================
   Dart tahtası
   ========================================================= */
.dart-rim { fill: #0C0B0B; }
.dart-rim-in { fill: #141312; }
.dart-dark { fill: #121110; }
.dart-light { fill: #A79C88; }
.dart-red { fill: #8E2019; }
.dart-green { fill: #175A38; }
html.day .dart-rim { fill: #151312; }
html.day .dart-rim-in { fill: #1C1A19; }
html.day .dart-dark { fill: #1E1B1A; }
html.day .dart-light { fill: #EADDC1; }
html.day .dart-red { fill: #C9291F; }
html.day .dart-green { fill: #1E7A49; }
.dart-wire circle, .dart-wire path { fill: none; stroke: #C9C2B4; stroke-width: .6; opacity: .5; }
.dart-num text { font: 700 7.4px var(--f-mono); fill: #D9D2C4; text-anchor: middle; }
.dart-shaft { fill: none; stroke: #9A968F; stroke-width: 2.2; stroke-linecap: round; }
.dart-flight { stroke: rgba(0, 0, 0, .35); stroke-width: .6; }
.dart-shine { fill: none; stroke: #FFF; stroke-width: 3; stroke-linecap: round; opacity: .12; }
.hot.dart { transform-box: fill-box; transform-origin: 50% 50%; transition: transform .5s var(--ease); }
.hot.dart:hover, .hot.dart:focus { transform: rotate(-4deg); }
.hot.dart:hover .dart-arrow, .hot.dart:focus .dart-arrow { animation: dartWobble .4s ease-in-out 2; }
.dart-arrow { transform-box: fill-box; transform-origin: 0% 100%; }
@keyframes dartWobble { 50% { transform: rotate(4deg); } }

/* ---------- Kedilerin hareketleri ---------- */
.cat-shadow { transition: opacity .2s; }
.cat.is-jump .cat-shadow { opacity: 0; }
.cat.is-love .cat-heart { animation: heart 1.5s var(--ease) both; }
/* Saru ayağa kalkar, koşar, yer */
.cat-legs { opacity: 0; transition: opacity .15s; }
.cat-leg { fill: var(--cat-a); transform-box: fill-box; transform-origin: 50% 0%; }
.cat-torso { transition: transform .25s var(--ease); }
.cat--saru.is-stand .cat-legs { opacity: 1; }
.cat--saru.is-stand .cat-torso { transform: translateY(-13px); }
.cat--saru.is-stand .zzz { opacity: 0; }
.cat.is-run .cat-leg { animation: catLeg .22s ease-in-out infinite alternate; }
.cat.is-run .cat-leg:nth-child(2n) { animation-direction: alternate-reverse; }
@keyframes catLeg { from { transform: rotate(24deg); } to { transform: rotate(-24deg); } }
.cat--saru.is-eat .cat-head { animation: catEat .3s ease-in-out infinite alternate; }
@keyframes catEat { from { transform: translateY(2px) rotate(-4deg); } to { transform: translateY(9px) rotate(-12deg); } }

/* ---------- Mama kabı ---------- */
.bowl-shadow { fill: #000; opacity: .22; }
.bowl-c { fill: #B8322A; }
.bowl-rim { fill: #D9473C; }
.bowl-in { fill: #5E1712; }
.bowl-paw { fill: #F2EEE7; opacity: .75; }
.bowl-food path, .bowl-food circle, .bowl-spill circle { fill: #9A6234; }
.bowl-food circle, .bowl-spill circle { stroke: #6E4220; stroke-width: .8; }
html.day .bowl-c { fill: #E1251B; }
html.day .bowl-rim { fill: #F04A3E; }
html.day .bowl-in { fill: #7D0A0A; }
html.day .bowl-food path, html.day .bowl-food circle, html.day .bowl-spill circle { fill: #C98A4E; }
.bowl-food { opacity: 0; transform: translateY(4px); transition: opacity .3s, transform .3s var(--ease); }
.bowl.is-full .bowl-food { opacity: 1; transform: none; }
.bowl-body { transform-box: fill-box; transform-origin: 100% 100%; transition: transform .45s cubic-bezier(.3, 1.6, .5, 1); }
.bowl.is-tipped .bowl-body { transform: rotate(78deg) translate(4px, 2px); }
.bowl-spill { opacity: 0; transition: opacity .3s .2s; }
.bowl.is-spilled .bowl-spill { opacity: 1; }
.hot.bowl:hover .bowl-body { transform: translateY(-3px); }
.hot.bowl.is-tipped:hover .bowl-body { transform: rotate(78deg) translate(4px, 2px); }

/* ---------- Yumak ---------- */
.ball-shadow { fill: #000; opacity: .22; }
.ball-c { fill: #A92A22; }
html.day .ball-c { fill: #E1251B; }
.ball-l { fill: none; stroke: rgba(0, 0, 0, .3); stroke-width: 1.3; stroke-linecap: round; }
.ball-thread { fill: none; stroke: #C9332A; stroke-width: 1.5; stroke-linecap: round; }
html.day .ball-thread { stroke: #E1251B; }
.hot.ball:hover .ball-spin { animation: ballNudge .5s ease-in-out; }
@keyframes ballNudge { 50% { transform: rotate(-24deg); } }

/* ---------- Enişte yüzüne yaklaşıp bakar ---------- */
.cat-stare {
  position: fixed; inset: 0; z-index: 80; display: grid; place-items: center;
  pointer-events: none; opacity: 0; cursor: pointer;
  background: radial-gradient(circle at 50% 50%, rgba(8, 7, 6, .15) 30%, rgba(8, 7, 6, .7));
}
.cat-stare svg { width: min(78vmin, 560px); overflow: visible; transform: scale(.2) translateY(60%); }
.cat-stare.is-on { pointer-events: auto; animation: stareBg 3.4s ease both; }
.cat-stare.is-on svg { animation: stareIn 3.4s cubic-bezier(.2, .8, .2, 1) both; }
.cat-stare .stare-lid { transform-box: fill-box; transform-origin: 50% 0%; transform: scaleY(0); }
.cat-stare.is-on .stare-lid { animation: stareBlink 3.4s both; }
.cat-stare .stare-pupil { transform-box: fill-box; transform-origin: center; }
.cat-stare.is-on .stare-pupil { animation: starePupil 3.4s both; }
@keyframes stareBg { 0%, 100% { opacity: 0; } 12%, 86% { opacity: 1; } }
@keyframes stareIn {
  0% { transform: scale(.2) translateY(60%); }
  32% { transform: scale(1) translateY(0) rotate(0); }
  55% { transform: scale(1.04) rotate(-7deg); }
  80% { transform: scale(1.06) rotate(-7deg); }
  100% { transform: scale(.25) translateY(60%) rotate(0); }
}
@keyframes stareBlink { 0%, 62%, 70%, 100% { transform: scaleY(0); } 66% { transform: scaleY(1); } }
@keyframes starePupil { 0%, 30% { transform: scale(.55); } 45%, 100% { transform: scale(1.1); } }
@media (prefers-reduced-motion: reduce) {
  .cat-stare.is-on svg { animation: none; transform: none; }
  .cat-stare.is-on .stare-lid, .cat-stare.is-on .stare-pupil, .cat.is-run .cat-leg, .cat--saru.is-eat .cat-head { animation: none; }
}
