/* ==========================================================================
   ACADEX · KAYNAKLA ÇALIŞ — OKUMA MASASI (css/acadex-kaynak-masa.css + js/acadex-kaynak-masa.js), 03.11.2026
   --ac / --ac-ck: Acadia'nın stüdyoda seçilen rengi (JS'ten).
   ========================================================================== */
#sourcehub-view.axy{--ac:#FFD86B;--ac-ck:#F29C94}
/* masa: ahşap yüzey + lamba ışığı */
#sourcehub-view.axy .ky-desk.ky-masa{position:relative;padding:34px 26px 46px;border-radius:18px;isolation:isolate;
 background:radial-gradient(70% 60% at 18% 0%,rgba(255,236,190,.55),transparent 70%),repeating-linear-gradient(178deg,rgba(120,80,30,.06) 0 2px,transparent 2px 11px),linear-gradient(180deg,#EBDDC4,#E0CDAE);
 box-shadow:inset 0 2px 0 rgba(255,255,255,.55),inset 0 -8px 0 rgba(120,80,30,.12),0 26px 40px -30px rgba(74,52,24,.6)}
#sourcehub-view.axy .ky-props{position:absolute;left:0;right:0;bottom:8px;height:30px;pointer-events:none;z-index:1}
#sourcehub-view.axy .ky-pencil{position:absolute;left:30%;bottom:2px;width:150px;height:19px;transform:rotate(-4deg);filter:drop-shadow(0 4px 3px rgba(74,52,24,.35))}
#sourcehub-view.axy .ky-marker{position:absolute;left:calc(30% + 170px);bottom:0;width:104px;height:23px;transform:rotate(6deg);filter:drop-shadow(0 4px 3px rgba(74,52,24,.35))}
#sourcehub-view.axy .ky-desk.no-doc .ky-pencil{left:6%}
#sourcehub-view.axy .ky-desk.no-doc .ky-marker{left:calc(6% + 170px)}
/* belge: pano kıskacı */
#sourcehub-view.axy .doc{padding-top:6px}
#sourcehub-view.axy .ky-clip{position:relative;z-index:3;display:block;width:96px;height:26px;margin:0 auto -14px;border-radius:8px 8px 4px 4px;background:linear-gradient(180deg,#C9D0DE,#8C96AA);box-shadow:inset 0 2px 0 rgba(255,255,255,.6),0 4px 6px -2px rgba(13,24,56,.4)}
#sourcehub-view.axy .ky-clip::after{content:"";position:absolute;left:50%;top:5px;width:30px;height:8px;margin-left:-15px;border-radius:4px;background:#6A7593;box-shadow:inset 0 2px 2px rgba(0,0,0,.3)}
/* Acadia köşesi */
#sourcehub-view.axy .chat.ky-acadia{background:linear-gradient(180deg,color-mix(in srgb,var(--ac) 16%,#EEF2FB) 0,#E9EEF8 38%);overflow:hidden}
#sourcehub-view.axy .ky-sky{position:absolute;left:0;right:0;top:0;height:74px;background:linear-gradient(180deg,#1A2A5C,#2B3F7E 70%,rgba(43,63,126,0));pointer-events:none;z-index:0}
#sourcehub-view.axy .ky-sky i{position:absolute;width:calc(3px * var(--z,1));height:calc(3px * var(--z,1));border-radius:50%;background:#FFF6D6;box-shadow:0 0 6px rgba(255,236,170,.9);opacity:.75}
@media (prefers-reduced-motion:no-preference){#sourcehub-view.axy .ky-sky i{animation:ky-tw 3s ease-in-out infinite;animation-delay:var(--d)}}
@keyframes ky-tw{50%{opacity:.2;transform:scale(.6)}}
#sourcehub-view.axy .chat.ky-acadia > *:not(.ky-sky){position:relative;z-index:1}
#sourcehub-view.axy .chat.ky-acadia .chat-h{min-height:58px;gap:10px;justify-content:flex-start}
#sourcehub-view.axy .chat.ky-acadia .chat-h .hd{color:#fff}
#sourcehub-view.axy .chat.ky-acadia .chat-h .clear{margin-left:auto;color:#DCE5FF;text-decoration-color:rgba(220,229,255,.5)}
#sourcehub-view.axy .chat.ky-acadia .chat-rule{margin-top:12px}
#sourcehub-view.axy .ky-gzw{position:relative;display:inline-block;width:58px;height:58px;flex:none}
#sourcehub-view.axy .ky-gz{width:58px;filter:drop-shadow(0 0 10px color-mix(in srgb,var(--ac) 70%,transparent))}
#sourcehub-view.axy .ky-orbit{position:absolute;inset:-6px;pointer-events:none;opacity:0;transition:opacity .3s}
#sourcehub-view.axy .ky-orbit i{position:absolute;left:50%;top:50%;width:6px;height:6px;margin:-3px;border-radius:50%;background:var(--ac);box-shadow:0 0 6px var(--ac)}
#sourcehub-view.axy .chat.ky-thinking .ky-orbit{opacity:1}
@media (prefers-reduced-motion:no-preference){
 #sourcehub-view.axy .chat.ky-thinking .ky-orbit{animation:ky-orb 2.4s linear infinite}
 #sourcehub-view.axy .ky-orbit i:nth-child(1){transform:rotate(0deg) translateX(30px)}
 #sourcehub-view.axy .ky-orbit i:nth-child(2){transform:rotate(120deg) translateX(30px) scale(.7)}
 #sourcehub-view.axy .ky-orbit i:nth-child(3){transform:rotate(240deg) translateX(30px) scale(.5)}
}
@keyframes ky-orb{to{transform:rotate(360deg)}}
/* balonlar Acadia'nın rengiyle */
#sourcehub-view.axy .ky-acadia .msg.ac{box-shadow:inset 4px 0 0 var(--ac),0 10px 12px -10px rgba(13,24,56,.5)}
#sourcehub-view.axy .ky-acadia .msg.ac::before{content:"★ Acadia";background:var(--ac);color:#1A2A5C}
#sourcehub-view.axy.ky-ac-dark .ky-acadia .msg.ac::before{color:#fff}
#sourcehub-view.axy .ky-acadia .msg.ac blockquote{border-left-color:var(--ac-ck)}
#sourcehub-view.axy .ky-spark{position:absolute;left:-6px;top:-8px;width:0;height:0;pointer-events:none}
#sourcehub-view.axy .ky-spark i{position:absolute;width:6px;height:6px;border-radius:50%;background:var(--ac);box-shadow:0 0 6px var(--ac);opacity:0}
@media (prefers-reduced-motion:no-preference){
 #sourcehub-view.axy .ky-spark i{animation:ky-sp 1s ease-out forwards}
 #sourcehub-view.axy .ky-spark i:nth-child(1){--x:-16px;--y:-10px}#sourcehub-view.axy .ky-spark i:nth-child(2){--x:6px;--y:-18px;animation-delay:.05s}#sourcehub-view.axy .ky-spark i:nth-child(3){--x:20px;--y:-4px;animation-delay:.1s}#sourcehub-view.axy .ky-spark i:nth-child(4){--x:-12px;--y:12px;animation-delay:.08s}#sourcehub-view.axy .ky-spark i:nth-child(5){--x:14px;--y:14px;animation-delay:.12s}
}
@keyframes ky-sp{0%{opacity:1;transform:translate(0,0) scale(.4)}100%{opacity:0;transform:translate(var(--x),var(--y)) scale(1)}}
/* düşünüyor: yıldızlar sırayla parlar */
#sourcehub-view.axy .ky-acadia .think svg{display:none}
#sourcehub-view.axy .ky-stars{display:inline-flex;gap:3px}
#sourcehub-view.axy .ky-stars i{font-style:normal;font-size:14px;color:var(--ac);text-shadow:0 0 6px var(--ac),0 0 1px #1A2A5C}
@media (prefers-reduced-motion:no-preference){#sourcehub-view.axy .ky-stars i{animation:ky-st 1.2s ease-in-out infinite}#sourcehub-view.axy .ky-stars i:nth-child(2){animation-delay:.2s}#sourcehub-view.axy .ky-stars i:nth-child(3){animation-delay:.4s}}
@keyframes ky-st{0%,100%{opacity:.35;transform:scale(.8)}50%{opacity:1;transform:scale(1.2) rotate(20deg)}}
@media (max-width:1100px){#sourcehub-view.axy .ky-desk.ky-masa{padding:22px 14px 40px}#sourcehub-view.axy .ky-props{display:none}}
@media (prefers-reduced-motion:reduce){#sourcehub-view.axy .ky-sky i,#sourcehub-view.axy .ky-orbit,#sourcehub-view.axy .ky-stars i{animation:none!important}}
