/* =========================================================
   TEMA DETAYLARI — her temanın süsleri, ikonları, küçük dokunuşları
   .deco-a / .deco-b : sabit süs katmanları (içeriğin arkasında)
   ========================================================= */

.deco { position: fixed; left: 0; top: 0; width: 100%; height: 100vh; height: 100lvh; z-index: 1; pointer-events: none; overflow: hidden; }
.deco span { position: absolute; display: block; }
.sticker { display: none; }

/* Kaydırma çubuğu ve seçim rengi temaya uysun */
html { scrollbar-color: color-mix(in srgb, var(--accent) 55%, var(--bg)) var(--bg); }
::selection { background: color-mix(in srgb, var(--accent) 80%, transparent); color: #fff; }

/* Linklerde tema renginde alt çizgi */
.prose a { text-decoration: underline; text-decoration-color: color-mix(in srgb, var(--accent) 45%, transparent); text-underline-offset: 3px; }
.prose a:hover { text-decoration-color: var(--accent); }

/* =========================================================
   ALICE — cep saati, iskambil kartları, çay partisi
   ========================================================= */
[data-theme="alice"] .deco-a {
  /* Beyaz Tavşan'ın cep saati: sağ üstte sallanır */
  top: 110px; right: max(14px, calc((100vw - 760px) / 2 - 150px)); width: 96px; height: 120px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 150'%3E%3Cg fill='none' stroke='%231f3d66' stroke-width='3'%3E%3Ccircle cx='60' cy='12' r='8'/%3E%3Crect x='52' y='20' width='16' height='10' rx='3' fill='%23c9a54a'/%3E%3Ccircle cx='60' cy='88' r='52' fill='%23fffaf0'/%3E%3Ccircle cx='60' cy='88' r='45' stroke-width='1.5'/%3E%3C/g%3E%3Cg stroke='%231f3d66' stroke-width='2.5' stroke-linecap='round'%3E%3Cpath d='M60 46v8M60 122v8M18 88h8M94 88h8M30 58l5 5M90 58l-5 5M30 118l5-5M90 118l-5-5'/%3E%3Cpath d='M60 88V58M60 88l20 12' stroke='%23c0283a'/%3E%3C/g%3E%3Ccircle cx='60' cy='88' r='4' fill='%23c0283a'/%3E%3C/svg%3E") center / contain no-repeat;
  transform-origin: 50% 0;
  animation: alice-swing 5s ease-in-out infinite;
  opacity: 0.85;
}
[data-theme="alice"] .deco-b {
  /* Sol altta yelpaze gibi iki iskambil kartı */
  left: -20px; bottom: -24px; width: 190px; height: 170px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 160 140'%3E%3Cg transform='rotate(-14 80 120)'%3E%3Crect x='30' y='20' width='70' height='100' rx='8' fill='%23fffaf0' stroke='%232e2a26' stroke-width='2'/%3E%3Ctext x='65' y='84' font-size='42' text-anchor='middle' fill='%232e2a26' font-family='Georgia'%3E%E2%99%A0%3C/text%3E%3C/g%3E%3Cg transform='rotate(12 80 120)'%3E%3Crect x='60' y='16' width='70' height='100' rx='8' fill='%23fffaf0' stroke='%23c0283a' stroke-width='2'/%3E%3Ctext x='95' y='80' font-size='42' text-anchor='middle' fill='%23c0283a' font-family='Georgia'%3E%E2%99%A5%3C/text%3E%3C/g%3E%3C/svg%3E") center / contain no-repeat;
  opacity: 0.55;
}
@media (max-width: 1080px) { [data-theme="alice"] .deco-a { top: 150px; opacity: 0.3; } }
@keyframes alice-swing { 0%, 100% { transform: rotate(-5deg); } 50% { transform: rotate(5deg); } }

[data-theme="alice"] .divider span::before { content: "♠ ♥ ♦ ♣"; letter-spacing: 0.4em; font-size: 0.8rem; }
[data-theme="alice"] .prose a { text-decoration-style: wavy; }
[data-theme="alice"] .prose blockquote {
  position: relative; border-left: 0; padding: 18px 22px 18px 54px;
  background: #fffdf6; border: 1px dashed rgba(192, 40, 58, 0.45); border-radius: 10px;
}
[data-theme="alice"] .prose blockquote::before {
  content: "“"; position: absolute; left: 14px; top: 2px;
  font-family: var(--font-title); font-size: 3.2rem; line-height: 1; color: var(--accent-text, var(--accent));
}
[data-theme="alice"] .cat-badge { border-radius: 4px; background: #fffdf6; box-shadow: 1px 1px 0 var(--line); }
[data-theme="alice"] .post-item { transition: transform 0.25s; }
[data-theme="alice"] .post-item:hover { transform: translateX(4px); }

/* =========================================================
   BLACK SOULS — kanlı masal: damlayan kan, dikenler, süslü köşeler
   ========================================================= */
[data-theme="blacksouls"] .deco-a {
  /* Üstten damlayan kan */
  left: 0; right: 0; top: 0; height: 46px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 46'%3E%3Cpath d='M0 0h200v7c-5 0-7 2-9 2s-2 20-6 20-3-20-6-20-12-1-17 0-4 9-7 9-3-9-7-9-27 0-30 1-2 30-7 30-4-30-8-30-18 0-23 0-5 8-8 8-3-8-7-8-17 0-21 0-4 14-7 14-3-14-7-14-14 0-18 1-3 6-5 6-2-6-5-6H0z' fill='%235a0816'/%3E%3C/svg%3E") 0 0 / 200px 46px repeat-x;
  opacity: 0.9;
}
[data-theme="blacksouls"] .deco-b {
  /* Sol üst ve sağ altta dikenli sarmaşık */
  inset: 0;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 220 220'%3E%3Cg fill='none' stroke='%237a0c1e' stroke-width='3' stroke-linecap='round'%3E%3Cpath d='M0 30C60 40 80 80 90 130s30 70 120 85'/%3E%3Cpath d='M0 70c40 5 55 30 60 70'/%3E%3C/g%3E%3Cg fill='%237a0c1e'%3E%3Cpath d='M30 33l6-14 4 15zM62 52l14-6-8 13zM82 95l14 2-12 8zM90 140l-14 4 10-11zM110 178l12-8-4 14zM150 203l8-12 2 14zM22 72l2-13 6 12zM50 100l13-3-10 10z'/%3E%3C/g%3E%3Ccircle cx='196' cy='212' r='6' fill='%23c41e3a'/%3E%3C/svg%3E") left 0 top 30px / 240px no-repeat,
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 220 220'%3E%3Cg transform='rotate(180 110 110)'%3E%3Cg fill='none' stroke='%237a0c1e' stroke-width='3' stroke-linecap='round'%3E%3Cpath d='M0 30C60 40 80 80 90 130s30 70 120 85'/%3E%3Cpath d='M0 70c40 5 55 30 60 70'/%3E%3C/g%3E%3Cg fill='%237a0c1e'%3E%3Cpath d='M30 33l6-14 4 15zM62 52l14-6-8 13zM82 95l14 2-12 8zM90 140l-14 4 10-11zM110 178l12-8-4 14zM150 203l8-12 2 14zM22 72l2-13 6 12zM50 100l13-3-10 10z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E") right 0 bottom 0 / 240px no-repeat;
  opacity: 0.6;
}
[data-theme="blacksouls"] .post::before,
[data-theme="blacksouls"] .post::after {
  position: absolute; color: var(--accent-text, var(--accent)); font-size: 1.1rem; line-height: 1; opacity: 0.8;
}
[data-theme="blacksouls"] .post::before { content: "❦"; top: 14px; left: 16px; transform: scaleX(-1); }
[data-theme="blacksouls"] .post::after { content: "❦"; bottom: 14px; right: 16px; transform: scaleY(-1); }
[data-theme="blacksouls"] .site-title:hover { animation: bs-flicker 0.6s steps(2) 2; }
@keyframes bs-flicker { 50% { text-shadow: -2px 0 0 rgba(196, 30, 58, 0.9), 2px 2px 0 rgba(90, 0, 20, 0.9); opacity: 0.85; } }
[data-theme="blacksouls"] .prose blockquote { border-left-color: #7a0c1e; background: linear-gradient(90deg, rgba(122, 12, 30, 0.18), transparent); padding: 10px 0 10px 20px; }
[data-theme="blacksouls"] .divider span::before { content: "✠"; }

/* =========================================================
   DARK SOULS — taş dokusu, kor, ateş
   ========================================================= */
[data-theme="darksouls"] .deco-a {
  /* Taş / kül dokusu */
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 220 220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .55 0 0 0 0 .5 0 0 0 0 .42 0 0 0 .35 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E") 0 0 / 220px;
  opacity: 0.22; mix-blend-mode: overlay;
}
[data-theme="darksouls"] .deco-b {
  /* Altta yanan ateşin sıcak ışığı, yavaşça nefes alır */
  left: 50%; bottom: -260px; width: 900px; height: 420px; margin-left: -450px;
  background: radial-gradient(ellipse at center, rgba(255, 140, 50, 0.32), rgba(200, 70, 20, 0.12) 45%, transparent 70%);
  animation: ds-breathe 4.5s ease-in-out infinite;
}
@keyframes ds-breathe { 0%, 100% { opacity: 0.75; transform: scale(1); } 50% { opacity: 1; transform: scale(1.06); } }
/* Ayırıcıda küçük alev */
[data-theme="darksouls"] .divider span::before { content: ""; }
[data-theme="darksouls"] .divider span {
  width: 14px; height: 19px;
  background: linear-gradient(to top, #ff7a1a, #ffd27a);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 32'%3E%3Cpath d='M12 0c2 6 8 9 8 18a8 8 0 0 1-16 0c0-4 2-6 3-8 1 3 2 4 4 4-2-5 0-10 1-14z'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 32'%3E%3Cpath d='M12 0c2 6 8 9 8 18a8 8 0 0 1-16 0c0-4 2-6 3-8 1 3 2 4 4 4-2-5 0-10 1-14z'/%3E%3C/svg%3E") center / contain no-repeat;
  filter: drop-shadow(0 0 6px rgba(255, 140, 40, 0.9));
  animation: ds-flame 1.8s ease-in-out infinite;
}
@keyframes ds-flame { 0%, 100% { transform: scaleY(1); } 40% { transform: scaleY(1.12) translateY(-1px); } 70% { transform: scaleY(0.94); } }
/* Kazınmış başlıklar */
[data-theme="darksouls"] .post-title, [data-theme="darksouls"] .page-title { text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.8), 0 1px 0 rgba(255, 220, 170, 0.12); }
/* Alıntı: yere yazılmış parlayan bir mesaj gibi */
[data-theme="darksouls"] .prose blockquote {
  border-left: 0; text-align: center; padding: 14px 10px;
  color: #ffd9a8; text-shadow: 0 0 12px rgba(255, 150, 60, 0.55);
  background: radial-gradient(ellipse at center, rgba(255, 140, 50, 0.1), transparent 70%);
}

/* =========================================================
   BLOODBORNE — ay, gotik kuleler, süslü çerçeveler
   ========================================================= */
[data-theme="bloodborne"] .deco-a {
  /* Altta Viktoryen gotik şehir: sivri çatılar, bacalar, katedral, saat kulesi, lambalar, parmaklık */
  left: 0; right: 0; bottom: 0; height: 220px; opacity: 0.92;
  background: url("../img/tema/viktoryen-sehir.svg") 50% 100% / auto 220px repeat-x;
}
[data-theme="bloodborne"] .deco-b {
  /* Ayın etrafında hafif kızıl hale */
  top: calc(24vh - 160px); right: calc(13vw - 160px); width: 320px; height: 320px; border-radius: 50%;
  background: radial-gradient(circle, transparent 30%, rgba(160, 20, 30, 0.12) 45%, transparent 70%);
  animation: bb-halo 8s ease-in-out infinite;
}
@keyframes bb-halo { 0%, 100% { opacity: 0.6; } 50% { opacity: 1; } }
[data-theme="bloodborne"] .divider span::before { content: ""; }
[data-theme="bloodborne"] .divider span {
  width: 120px; height: 20px; background: var(--accent);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 20'%3E%3Cg fill='none' stroke='black' stroke-width='1.4'%3E%3Cpath d='M60 3l5 7-5 7-5-7z'/%3E%3Cpath d='M2 10h36c7 0 9-6 15-6M118 10H82c-7 0-9-6-15-6M38 10c7 0 9 6 15 6M82 10c-7 0-9 6-15 6'/%3E%3C/g%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 20'%3E%3Cg fill='none' stroke='black' stroke-width='1.4'%3E%3Cpath d='M60 3l5 7-5 7-5-7z'/%3E%3Cpath d='M2 10h36c7 0 9-6 15-6M118 10H82c-7 0-9-6-15-6M38 10c7 0 9 6 15 6M82 10c-7 0-9 6-15 6'/%3E%3C/g%3E%3C/svg%3E") center / contain no-repeat;
}
[data-theme="bloodborne"] .divider::before, [data-theme="bloodborne"] .divider::after { background: linear-gradient(90deg, transparent, rgba(179, 18, 42, 0.5), transparent); }
/* Kart köşelerinde süslü kıvrımlar */
[data-theme="bloodborne"] .post::before,
[data-theme="bloodborne"] .post::after {
  content: ""; position: absolute; width: 46px; height: 46px; opacity: 0.7;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 46 46'%3E%3Cg fill='none' stroke='%23b3122a' stroke-width='1.3'%3E%3Cpath d='M2 44V14C2 7 7 2 14 2h30'/%3E%3Cpath d='M8 44V20c0-7 5-12 12-12h24'/%3E%3Cpath d='M14 26c0-7 5-12 12-12'/%3E%3Ccircle cx='26' cy='26' r='2.5' fill='%23b3122a'/%3E%3C/g%3E%3C/svg%3E") center / contain no-repeat;
}
[data-theme="bloodborne"] .post::before { top: 8px; left: 8px; }
[data-theme="bloodborne"] .post::after { bottom: 8px; right: 8px; transform: rotate(180deg); }
/* Alıntı: eski bir not kâğıdı */
[data-theme="bloodborne"] .prose blockquote {
  border-left: 0; padding: 16px 22px; color: #2a2118; font-style: italic;
  background: linear-gradient(180deg, #d9cdb0, #c7b791); border-radius: 2px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.5); transform: rotate(-0.6deg);
}
[data-theme="bloodborne"] .prose blockquote strong { color: #6a0a14; }

/* =========================================================
   RE:ZERO — dönen saat ibreleri, kar taneleri, iki renkli geçiş
   ========================================================= */
[data-theme="rezero"] .deco-a,
[data-theme="rezero"] .deco-b {
  /* Sağ üst köşedeki saat kadranının ibreleri */
  right: 0; top: 0; width: 3px; border-radius: 3px; transform-origin: 50% 0;
}
[data-theme="rezero"] .deco-a { height: 300px; background: linear-gradient(to bottom, rgba(91, 111, 214, 0), rgba(91, 111, 214, 0.35)); animation: rz-spin 60s linear infinite; }
[data-theme="rezero"] .deco-b { height: 200px; width: 5px; background: linear-gradient(to bottom, rgba(220, 120, 170, 0), rgba(220, 120, 170, 0.35)); animation: rz-spin 720s linear infinite; }
@keyframes rz-spin { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }
[data-theme="rezero"] .divider::before, [data-theme="rezero"] .divider::after { background: linear-gradient(90deg, transparent, rgba(91, 111, 214, 0.5), rgba(220, 120, 170, 0.5), transparent); }
[data-theme="rezero"] .post .prose > p:first-child::first-letter {
  background: linear-gradient(135deg, #5b6fd6, #d878aa); -webkit-background-clip: text; background-clip: text; color: transparent;
}
[data-theme="rezero"] .post.has-cat .prose > p:first-child::first-letter { background: none; color: var(--cat-ink); }
[data-theme="rezero"] .prose blockquote {
  border-left: 0; padding: 14px 18px 14px 46px; position: relative;
  background: linear-gradient(135deg, rgba(140, 170, 240, 0.16), rgba(230, 170, 210, 0.16)); border-radius: 12px;
}
[data-theme="rezero"] .prose blockquote::before { content: "↺"; position: absolute; left: 16px; top: 12px; color: var(--accent-text, var(--accent)); font-style: normal; }

/* =========================================================
   QIMP — sıvı neon, katakana, çıkartmalar, ekolayzır
   ========================================================= */
[data-theme="qimp"] .deco-a {
  /* Kapaktaki gibi kırmızı ve turkuaz sıvı renk lekeleri, yavaşça akar */
  inset: -20%;
  background:
    radial-gradient(closest-side at 22% 30%, rgba(255, 30, 90, 0.55), transparent),
    radial-gradient(closest-side at 78% 38%, rgba(30, 230, 190, 0.42), transparent),
    radial-gradient(closest-side at 40% 80%, rgba(170, 20, 140, 0.4), transparent),
    conic-gradient(from 200deg at 55% 45%, rgba(255, 45, 111, 0.12), rgba(46, 242, 200, 0.12), rgba(120, 40, 200, 0.12), rgba(255, 45, 111, 0.12));
  filter: blur(40px) saturate(1.2);
  animation: mx-flow 26s ease-in-out infinite alternate;
}
@keyframes mx-flow {
  0% { transform: translate(0, 0) rotate(0deg) scale(1); }
  50% { transform: translate(3%, -2%) rotate(8deg) scale(1.08); }
  100% { transform: translate(-3%, 2%) rotate(-6deg) scale(1.03); }
}
[data-theme="qimp"] .deco-b {
  /* Sağ kenarda dikey katakana: エイト (eight) */
  right: 3.5vw; top: 50%; transform: translateY(-50%);
  writing-mode: vertical-rl; font-family: "Noto Sans JP", sans-serif; font-weight: 900;
  font-size: min(17vh, 150px); line-height: 1; letter-spacing: -0.04em;
  background: linear-gradient(180deg, #b9fff0, #2ef2c8 40%, #0f8f7a 75%, #b9fff0);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  -webkit-text-stroke: 1px rgba(185, 255, 240, 0.5);
  filter: drop-shadow(0 0 18px rgba(46, 242, 200, 0.35));
  opacity: 0.8;
}
[data-theme="qimp"] .deco-b::before { content: "エイト"; }
@media (max-width: 1180px) { [data-theme="qimp"] .deco-b { opacity: 0.16; right: 1vw; } }
@media (max-width: 700px) { [data-theme="qimp"] .deco-b { opacity: 0.07; } }

/* Noktalı baskı (halftone) dokusu */
[data-theme="qimp"] .vignette {
  background:
    radial-gradient(rgba(255, 255, 255, 0.07) 1px, transparent 1.4px) 0 0 / 6px 6px,
    var(--vignette);
}
[data-theme="qimp"] .site-title { font-weight: 400; }
[data-theme="qimp"] .site-title em { color: var(--accent-2); text-transform: lowercase; font-family: var(--font-body); font-weight: 700; font-style: italic; }
[data-theme="qimp"] .site-title:hover { animation: mx-glitch 0.45s steps(3) 2; }
@keyframes mx-glitch {
  0% { transform: translate(0); text-shadow: -3px 0 0 #ff2d6f, 3px 0 0 #2ef2c8; }
  33% { transform: translate(-2px, 1px); text-shadow: 4px 0 0 #ff2d6f, -4px 0 0 #2ef2c8; }
  66% { transform: translate(2px, -1px); text-shadow: -1px 0 0 #ff2d6f, 1px 0 0 #2ef2c8; }
}
[data-theme="qimp"] .main-nav a[aria-current="page"] { border-bottom: 3px solid var(--accent); color: #fff; }
[data-theme="qimp"] .page-title, [data-theme="qimp"] .post-title { font-weight: 400; text-shadow: -2px 0 0 rgba(255, 45, 111, 0.7), 2px 0 0 rgba(46, 242, 200, 0.6); }
[data-theme="qimp"] .post-item h2 { font-weight: 400; letter-spacing: 0.03em; }
[data-theme="qimp"] .post-item h2 a:hover { text-decoration: none; text-shadow: -2px 0 0 #ff2d6f, 2px 0 0 #2ef2c8; }

/* Yazı kartı: kalın kenar ve kaydırılmış neon gölge, çıkartma gibi */
[data-theme="qimp"] .post {
  border-color: rgba(255, 255, 255, 0.8);
  box-shadow: 7px 7px 0 var(--accent), -1px -1px 18px rgba(46, 242, 200, 0.18);
}
[data-theme="qimp"] .cat-badge {
  color: #0a0710; background: var(--cat-ink, #fff); border: 0; border-radius: 3px;
  font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; font-size: 0.7rem;
  transform: rotate(-2deg); box-shadow: 2px 2px 0 rgba(0, 0, 0, 0.6);
}
[data-theme="qimp"] .prose blockquote {
  border-left: 4px solid var(--accent-2); background: rgba(46, 242, 200, 0.07);
  padding: 12px 18px; font-style: normal; font-weight: 500;
}
[data-theme="qimp"] .prose a { color: var(--accent-2); text-decoration-color: rgba(46, 242, 200, 0.5); }
[data-theme="qimp"] .post .prose > p:first-child::first-letter { font-family: var(--font-title); text-shadow: 2px 2px 0 var(--accent-2); }

/* Ayırıcı: ekolayzır çubukları */
[data-theme="qimp"] .divider::before, [data-theme="qimp"] .divider::after { background: linear-gradient(90deg, transparent, var(--accent), var(--accent-2), transparent); height: 2px; }
[data-theme="qimp"] .divider span { display: flex; align-items: flex-end; gap: 3px; height: 18px; }
[data-theme="qimp"] .divider span::before { content: ""; }
[data-theme="qimp"] .divider span,
[data-theme="qimp"] .divider span::before {
  background-image: linear-gradient(to top, var(--accent), var(--accent-2));
}
[data-theme="qimp"] .divider span {
  width: 46px; background: none;
  -webkit-mask: repeating-linear-gradient(90deg, #000 0 4px, transparent 4px 7px);
          mask: repeating-linear-gradient(90deg, #000 0 4px, transparent 4px 7px);
}
[data-theme="qimp"] .divider span::before {
  display: block; width: 100%; height: 100%;
  -webkit-mask: linear-gradient(90deg, #000, #000) no-repeat;
  animation: mx-eq 1.1s ease-in-out infinite alternate;
  clip-path: polygon(0 60%, 15% 20%, 30% 70%, 45% 0, 60% 50%, 75% 15%, 90% 65%, 100% 35%, 100% 100%, 0 100%);
}
@keyframes mx-eq {
  0% { clip-path: polygon(0 60%, 15% 20%, 30% 70%, 45% 0, 60% 50%, 75% 15%, 90% 65%, 100% 35%, 100% 100%, 0 100%); }
  50% { clip-path: polygon(0 20%, 15% 65%, 30% 10%, 45% 55%, 60% 5%, 75% 60%, 90% 20%, 100% 70%, 100% 100%, 0 100%); }
  100% { clip-path: polygon(0 75%, 15% 35%, 30% 45%, 45% 25%, 60% 75%, 75% 5%, 90% 40%, 100% 10%, 100% 100%, 0 100%); }
}

/* Alt kısımda uyarı etiketi tarzı özgün çıkartma */
[data-theme="qimp"] .sticker {
  display: inline-flex; flex-direction: column; align-items: stretch; margin-top: 18px;
  font-family: var(--font-body); font-weight: 800; text-transform: uppercase; line-height: 1;
  background: #fff; color: #000; border: 2px solid #000; padding: 2px; transform: rotate(-3deg);
  box-shadow: 3px 3px 0 rgba(0, 0, 0, 0.6);
}
[data-theme="qimp"] .sticker::before { content: "DUYGUSAL"; font-size: 0.62rem; letter-spacing: 0.16em; padding: 3px 8px 2px; text-align: center; }
[data-theme="qimp"] .sticker::after { content: "İÇERİK"; font-size: 0.95rem; letter-spacing: 0.08em; background: #000; color: #fff; padding: 4px 8px; text-align: center; }

/* =========================================================
   Hareket azaltma
   ========================================================= */
@media (prefers-reduced-motion: reduce) {
  .deco span, .divider span, .divider span::before { animation: none !important; }
}
@media (max-width: 560px) {
  [data-theme="alice"] .deco-a { width: 60px; height: 76px; top: 170px; right: 8px; opacity: 0.25; }
  [data-theme="alice"] .deco-b { width: 120px; opacity: 0.3; }
  [data-theme="blacksouls"] .deco-b { opacity: 0.3; }
  [data-theme="bloodborne"] .deco-a { height: 90px; background-size: 600px 90px; }
}

/* =========================================================
   EK DETAYLAR (2. tur)
   ========================================================= */
.deco-words { display: none; }
.deco-words i { position: absolute; font-style: normal; white-space: nowrap; }

/* ---------- DARK SOULS: harabeler, şenlik ateşi, köşe demirleri ---------- */
[data-theme="darksouls"] .deco-c {
  /* Altta uzak kale ve yıkık kemerler */
  left: 0; right: 0; bottom: 0; height: 230px;
  background: url("../img/tema/harabeler.svg") 50% 100% / auto 230px repeat-x;
}
[data-theme="darksouls"] .deco-d {
  /* Sol altta, küle saplanmış kılıçlı şenlik ateşi */
  left: max(6px, calc((100vw - 760px) / 2 - 220px)); bottom: 6px; width: 160px; height: 176px;
  background: url("../img/tema/senlik-atesi.svg") center bottom / contain no-repeat;
}
[data-theme="darksouls"] .deco-d::before,
[data-theme="darksouls"] .deco-d::after {
  content: ""; position: absolute; left: 50%; transform-origin: 50% 100%;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 32'%3E%3Cpath d='M12 0c2 6 8 9 8 18a8 8 0 0 1-16 0c0-4 2-6 3-8 1 3 2 4 4 4-2-5 0-10 1-14z'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 32'%3E%3Cpath d='M12 0c2 6 8 9 8 18a8 8 0 0 1-16 0c0-4 2-6 3-8 1 3 2 4 4 4-2-5 0-10 1-14z'/%3E%3C/svg%3E") center / contain no-repeat;
}
[data-theme="darksouls"] .deco-d::before {
  /* büyük dış alev */
  width: 74px; height: 104px; bottom: 30px; margin-left: -37px;
  background: linear-gradient(to top, #ff5a0a, #ff9a2a 45%, #ffe2a0);
  filter: drop-shadow(0 0 18px rgba(255, 120, 30, 0.9));
  animation: ds-fire 1.6s ease-in-out infinite;
}
[data-theme="darksouls"] .deco-d::after {
  /* içteki parlak alev */
  width: 38px; height: 60px; bottom: 34px; margin-left: -16px;
  background: linear-gradient(to top, #ffb04a, #fff4d0);
  animation: ds-fire 1.1s ease-in-out infinite reverse;
}
@keyframes ds-fire {
  0%, 100% { transform: scale(1, 1) skewX(0deg); }
  25% { transform: scale(0.94, 1.08) skewX(-3deg); }
  50% { transform: scale(1.04, 0.95) skewX(2deg); }
  75% { transform: scale(0.97, 1.05) skewX(-1deg); }
}
/* Ateşin etrafındaki sıcak ışık ateşin olduğu yere kaysın */
[data-theme="darksouls"] .deco-b { left: max(86px, calc((100vw - 760px) / 2 - 140px)); margin-left: -450px; bottom: -240px; }
/* Yazı kartında eski bir kitap gibi demir köşelikler */
[data-theme="darksouls"] .post::before,
[data-theme="darksouls"] .post::after {
  content: ""; position: absolute; width: 34px; height: 34px; opacity: 0.85;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 34 34'%3E%3Cpath d='M1 33V1h32v7H8v25z' fill='%23574330'/%3E%3Cpath d='M1 1h32v2H3v30H1z' fill='%23a07e52'/%3E%3Ccircle cx='5' cy='5' r='2' fill='%23c9a06a'/%3E%3C/svg%3E") center / contain no-repeat;
}
[data-theme="darksouls"] .post::before { top: -1px; left: -1px; }
[data-theme="darksouls"] .post::after { bottom: -1px; right: -1px; transform: rotate(180deg); }
[data-theme="darksouls"] .post { border-color: rgba(160, 126, 82, 0.35); }
[data-theme="darksouls"] .site-title { background: linear-gradient(180deg, #fff1d6, #e7c79a 60%, #b8875a); -webkit-background-clip: text; background-clip: text; color: transparent; }
[data-theme="darksouls"] .site-title em { -webkit-text-fill-color: #e08a3c; }
@media (max-width: 1100px) {
  [data-theme="darksouls"] .deco-d { width: 110px; height: 121px; opacity: 0.55; }
  [data-theme="darksouls"] .deco-d::before { width: 52px; height: 72px; margin-left: -26px; bottom: 20px; }
  [data-theme="darksouls"] .deco-d::after { width: 26px; height: 40px; margin-left: -11px; bottom: 22px; }
}

/* ---------- BLACK SOULS: Alice silueti ve fısıldayan yazılar ---------- */
[data-theme="blacksouls"] .deco-c {
  /* Sağda elinde bıçakla duran Alice silueti */
  right: max(0px, calc((100vw - 760px) / 2 - 260px)); bottom: 0;
  height: min(78vh, 640px); aspect-ratio: 240 / 440;
  background: linear-gradient(180deg, #4a0a18, #2a0610 60%, #14030a);
  -webkit-mask: url("../img/tema/alice-siluet.svg") center bottom / contain no-repeat;
          mask: url("../img/tema/alice-siluet.svg") center bottom / contain no-repeat;
  filter: drop-shadow(0 0 14px rgba(196, 30, 58, 0.55));
  opacity: 0.9;
}
[data-theme="blacksouls"] .deco-words { display: block; position: absolute; inset: 0; }
[data-theme="blacksouls"] .deco-words i {
  font-family: "Grenze Gotisch", serif; color: rgba(196, 30, 58, 0.16);
  text-shadow: 0 0 1px rgba(196, 30, 58, 0.2);
}
[data-theme="blacksouls"] .deco-words i:nth-child(1)::before { content: "Alice’i bulacağım"; }
[data-theme="blacksouls"] .deco-words i:nth-child(2)::before { content: "Alice nerede?"; }
[data-theme="blacksouls"] .deco-words i:nth-child(3)::before { content: "Alice gitti"; }
[data-theme="blacksouls"] .deco-words i:nth-child(4)::before { content: "Beni unutma, Alice"; }
[data-theme="blacksouls"] .deco-words i:nth-child(5)::before { content: "Uyan"; }
[data-theme="blacksouls"] .deco-words i:nth-child(6)::before { content: "Alice nerede?"; }
[data-theme="blacksouls"] .deco-words i:nth-child(7)::before { content: "Tavşan deliğinden aşağı"; }
[data-theme="blacksouls"] .deco-words i:nth-child(1) { top: 16%; left: 3%; font-size: 2.1rem; transform: rotate(-8deg); }
[data-theme="blacksouls"] .deco-words i:nth-child(2) { top: 34%; right: 4%; font-size: 2.6rem; transform: rotate(6deg); animation: bs-whisper 7s ease-in-out infinite; }
[data-theme="blacksouls"] .deco-words i:nth-child(3) { top: 58%; left: 2%; font-size: 1.6rem; transform: rotate(4deg); }
[data-theme="blacksouls"] .deco-words i:nth-child(4) { top: 78%; left: 8%; font-size: 1.4rem; transform: rotate(-3deg); animation: bs-whisper 9s ease-in-out 2s infinite; }
[data-theme="blacksouls"] .deco-words i:nth-child(5) { top: 8%; right: 12%; font-size: 1.5rem; transform: rotate(-5deg); }
[data-theme="blacksouls"] .deco-words i:nth-child(6) { top: 46%; left: 30%; font-size: 4.4rem; transform: rotate(-12deg); color: rgba(196, 30, 58, 0.06); }
[data-theme="blacksouls"] .deco-words i:nth-child(7) { top: 90%; right: 26%; font-size: 1.3rem; transform: rotate(2deg); }
@keyframes bs-whisper { 0%, 100% { opacity: 1; } 45% { opacity: 0.25; } 50% { opacity: 1; filter: blur(0.5px); } 55% { opacity: 0.4; } }
@media (max-width: 1100px) {
  [data-theme="blacksouls"] .deco-c { opacity: 0.22; right: -40px; }
}
@media (max-width: 560px) {
  [data-theme="blacksouls"] .deco-words i { font-size: 1rem !important; }
  [data-theme="blacksouls"] .deco-words i:nth-child(6) { font-size: 2.4rem !important; }
}

/* ---------- RE:ZERO: Emilia silueti, kedi ruhu, ゼロから ---------- */
[data-theme="rezero"] .deco-c {
  /* Solda uzun saçlı yarı-elf kız silueti ve yanında küçük kedi ruhu */
  left: max(-30px, calc((100vw - 760px) / 2 - 300px)); bottom: 0;
  height: min(80vh, 660px); aspect-ratio: 300 / 520;
  background: linear-gradient(180deg, #e9e4ff, #b9c6f5 55%, #d9b8e6);
  -webkit-mask: url("../img/tema/emilia-siluet.svg") center bottom / contain no-repeat;
          mask: url("../img/tema/emilia-siluet.svg") center bottom / contain no-repeat;
  filter: drop-shadow(0 0 22px rgba(140, 160, 240, 0.55));
  opacity: 0.75;
}
[data-theme="rezero"] .deco-d {
  /* Sağda dikey "ゼロから" (sıfırdan) */
  right: 3vw; top: 50%; transform: translateY(-50%);
  writing-mode: vertical-rl; font-family: "Noto Serif JP", serif; font-weight: 700;
  font-size: min(12vh, 110px); line-height: 1; letter-spacing: 0.08em;
  background: linear-gradient(180deg, #8ea6f0, #c9a8e8 50%, #f0a8c8);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  opacity: 0.4;
}
[data-theme="rezero"] .deco-d::before { content: "ゼロから"; }
@media (max-width: 1100px) {
  [data-theme="rezero"] .deco-c { opacity: 0.22; left: -40px; }
  [data-theme="rezero"] .deco-d { opacity: 0.14; right: 1vw; }
}
@media (max-width: 560px) {
  [data-theme="rezero"] .deco-d { opacity: 0.08; }
  [data-theme="bloodborne"] .deco-a { height: 160px; background-size: auto 160px; }
  [data-theme="darksouls"] .deco-c { height: 150px; background-size: auto 150px; }
}
@media (prefers-reduced-motion: reduce) {
  .deco-d::before, .deco-d::after, .deco-words i { animation: none !important; }
}

/* Dark Souls başlığı: altın renkli yazı + nefes alan kor parlaması (filtreyle, yazının üstüne binmesin) */
[data-theme="darksouls"] .site-title { text-shadow: none; animation: ds-title-glow 4s ease-in-out infinite; }
@keyframes ds-title-glow { 0%, 100% { filter: drop-shadow(0 0 8px rgba(230, 130, 50, 0.45)); } 50% { filter: drop-shadow(0 0 16px rgba(240, 150, 60, 0.75)); } }

/* =========================================================
   PROFİL KARTI (Hakkımda sayfası)
   ========================================================= */
.profile {
  position: relative;
  display: flex; align-items: center; gap: 24px;
  margin: 0 0 32px; padding: 24px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.profile-photo {
  position: relative; flex: none;
  width: 112px; height: 112px; border-radius: 50%; overflow: hidden;
  background: var(--accent-soft);
  box-shadow: 0 0 0 2px var(--bg), 0 0 0 4px var(--accent);
}
.profile-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
/* Fotoğraf yoksa baş harf */
.profile-photo.no-photo::before {
  content: attr(data-initial);
  position: absolute; inset: 0; display: grid; place-items: center;
  font-family: var(--font-title); font-size: 3rem; line-height: 1; color: var(--accent-text, var(--accent));
}
.profile-info { min-width: 0; flex: 1; }
.profile-name {
  margin: 0; font-family: var(--font-title); font-weight: 400; font-size: 1.7rem; line-height: 1.15;
  color: var(--title-color); text-transform: var(--title-case); letter-spacing: var(--title-track);
}
.profile-sub { margin: 4px 0 0; color: var(--muted); font-style: italic; font-size: 0.98rem; }
.profile-facts { list-style: none; margin: 12px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 18px; font-size: 0.92rem; }
.profile-facts span {
  margin-right: 6px; font-family: var(--font-title); font-size: 0.7rem; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--muted);
}
.profile-links { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.profile-links a {
  padding: 3px 12px; font-size: 0.85rem; color: var(--text);
  border: 1px solid var(--line); border-radius: 999px; background: var(--accent-soft);
}
.profile-links a:hover { color: var(--accent-text, var(--accent)); border-color: var(--accent); text-decoration: none; }
@media (max-width: 560px) {
  .profile { flex-direction: column; text-align: center; padding: 22px 16px; gap: 14px; }
  .profile-facts, .profile-links { justify-content: center; }
}

/* ---------- Temaya göre fotoğraf çerçevesi ---------- */
/* Alice: iskambil kartı gibi köşeli, kesik kırmızı çerçeve */
[data-theme="alice"] .profile-photo { border-radius: 14px; box-shadow: 0 0 0 3px #fffdf6, 0 0 0 5px var(--accent), 4px 6px 0 5px rgba(31, 61, 102, 0.25); transform: rotate(-3deg); }
[data-theme="alice"] .profile::after { content: "♥"; position: absolute; top: 12px; right: 16px; color: var(--accent-text, var(--accent)); }
/* Black Souls: çift kırmızı halka ve kan kırmızısı parıltı */
[data-theme="blacksouls"] .profile-photo { box-shadow: 0 0 0 2px var(--bg), 0 0 0 3px var(--accent), 0 0 0 7px var(--bg), 0 0 0 8px rgba(196, 30, 58, 0.5), 0 0 24px rgba(196, 30, 58, 0.45); }
[data-theme="blacksouls"] .profile-photo img { filter: grayscale(0.4) contrast(1.05); }
/* Dark Souls: kor gibi parlayan halka */
[data-theme="darksouls"] .profile-photo { box-shadow: 0 0 0 2px var(--bg), 0 0 0 4px #a07e52, 0 0 22px rgba(230, 130, 50, 0.55); }
[data-theme="darksouls"] .profile-photo img { filter: sepia(0.25) saturate(0.9); }
/* Bloodborne: Viktoryen oval portre çerçevesi */
/* Bloodborne: ince altın halkalı yuvarlak portre (fotoğrafı sıkıştırmaz, filtre yok) */
[data-theme="bloodborne"] .profile-photo { box-shadow: 0 0 0 2px #1a1416, 0 0 0 3px #b08a4a, 0 0 0 6px #1a1416, 0 0 0 7px rgba(179, 18, 42, 0.55), 0 6px 22px rgba(0, 0, 0, 0.6); }
/* Re:Zero: maviden pembeye halka ve yumuşak ışıltı */
[data-theme="rezero"] .profile-photo { box-shadow: 0 0 0 3px #fff, 0 0 0 6px transparent, 0 0 24px rgba(140, 160, 240, 0.6); background: var(--accent-soft); }
[data-theme="rezero"] .profile-photo::after { content: ""; position: absolute; inset: 0; border-radius: 50%; padding: 3px; background: linear-gradient(135deg, #5b6fd6, #d878aa); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; }
/* Qimp: çıkartma gibi eğik kare, neon gölge */
[data-theme="qimp"] .profile-photo { border-radius: 6px; transform: rotate(-4deg); box-shadow: 0 0 0 3px #fff, 6px 6px 0 3px var(--accent), -2px -2px 16px rgba(46, 242, 200, 0.4); }
[data-theme="qimp"] .profile { box-shadow: 7px 7px 0 var(--accent); border-color: rgba(255, 255, 255, 0.8); }
[data-theme="qimp"] .profile-name { text-shadow: -2px 0 0 rgba(255, 45, 111, 0.7), 2px 0 0 rgba(46, 242, 200, 0.6); }
[data-theme="qimp"] .profile-facts span { font-family: var(--font-body); font-weight: 700; font-size: 0.66rem; }

/* Mobilde kart köşe süsleri küçülür, daralan iç boşlukta yazıya değmez */
@media (max-width: 560px) {
  [data-theme="bloodborne"] .post::before, [data-theme="bloodborne"] .post::after { width: 22px; height: 22px; opacity: 0.6; }
  [data-theme="bloodborne"] .post::before { top: 4px; left: 4px; }
  [data-theme="bloodborne"] .post::after { bottom: 4px; right: 4px; }
  [data-theme="darksouls"] .post::before, [data-theme="darksouls"] .post::after { width: 20px; height: 20px; }
  [data-theme="blacksouls"] .post::before, [data-theme="blacksouls"] .post::after,
  [data-theme="alice"] .post::before, [data-theme="alice"] .post::after { font-size: 0.8rem; }
  [data-theme="blacksouls"] .post::before, [data-theme="alice"] .post::before { top: 7px; left: 8px; }
  [data-theme="blacksouls"] .post::after, [data-theme="alice"] .post::after { bottom: 7px; right: 8px; }
  [data-theme="blacksouls"] .post { outline-offset: -4px; }
}

/* =========================================================
   ALICE — ek detaylar: Cheshire sırıtışı, Beyaz Tavşan, "BENİ İÇ" şişesi, kitaptan sözler
   ========================================================= */
/* Cheshire Kedisi'nin sırıtışı: havada belirir, gülümser, kaybolur */
[data-theme="alice"] .deco-c {
  left: max(10px, calc((100vw - 760px) / 2 - 230px)); top: 26vh;
  width: 170px; height: 116px;
  background: url("../img/tema/alice-sirit.svg") center / contain no-repeat;
  opacity: 0; animation: alice-cheshire 16s ease-in-out infinite;
}
@keyframes alice-cheshire {
  0%, 12% { opacity: 0; transform: translateY(6px) scale(0.96); }
  22%, 52% { opacity: 0.75; transform: none; }
  62%, 100% { opacity: 0; transform: translateY(-4px) scale(1.02); }
}
/* Beyaz Tavşan: arada bir ekranın altından, cep saatiyle koşarak geçer */
[data-theme="alice"] .deco-d {
  left: 0; bottom: 18px; width: 92px; height: 101px;
  background: #1f3d66;
  -webkit-mask: url("../img/tema/alice-tavsan.svg") center / contain no-repeat;
          mask: url("../img/tema/alice-tavsan.svg") center / contain no-repeat;
  opacity: 0.32; transform: translateX(110vw) scaleX(-1);
  animation: alice-rabbit 28s linear infinite;
}
@keyframes alice-rabbit {
  0%, 62% { transform: translateX(110vw) scaleX(-1); }
  90%, 100% { transform: translateX(-140px) scaleX(-1); }
}
/* "BENİ İÇ" şişesi, iskambil kartlarının yanında */
[data-theme="alice"] .deco-b::after {
  content: ""; position: absolute; right: -40px; bottom: 26px; width: 74px; height: 101px;
  background: url("../img/tema/alice-sise.svg") center / contain no-repeat;
  transform: rotate(8deg);
}
/* Kitaptan soluk sözler */
[data-theme="alice"] .deco-words { display: block; position: absolute; inset: 0; }
[data-theme="alice"] .deco-words i {
  font-family: "Playfair Display", serif; font-style: italic; font-weight: 500;
  color: rgba(31, 61, 102, 0.1);
}
[data-theme="alice"] .deco-words i:nth-child(1)::before { content: "Gittikçe tuhaflaşıyor!"; }
[data-theme="alice"] .deco-words i:nth-child(2)::before { content: "Burada herkes deli."; }
[data-theme="alice"] .deco-words i:nth-child(3)::before { content: "Geç kaldım, geç kaldım!"; }
[data-theme="alice"] .deco-words i:nth-child(4)::before { content: "Kafasını uçurun!"; }
[data-theme="alice"] .deco-words i:nth-child(5)::before { content: "Beni ye"; }
[data-theme="alice"] .deco-words i:nth-child(6)::before { content: "Tavşan deliğinden aşağı…"; }
[data-theme="alice"] .deco-words i:nth-child(7)::before { content: "Hangi yoldan gitmeliyim?"; }
[data-theme="alice"] .deco-words i:nth-child(1) { top: 14%; left: 2%; font-size: 1.9rem; transform: rotate(-6deg); }
[data-theme="alice"] .deco-words i:nth-child(2) { top: 62%; right: 3%; font-size: 2.2rem; transform: rotate(5deg); }
[data-theme="alice"] .deco-words i:nth-child(3) { top: 42%; left: 3%; font-size: 1.4rem; transform: rotate(3deg); }
[data-theme="alice"] .deco-words i:nth-child(4) { top: 84%; right: 22%; font-size: 1.5rem; transform: rotate(-4deg); color: rgba(192, 40, 58, 0.12); }
[data-theme="alice"] .deco-words i:nth-child(5) { top: 30%; right: 6%; font-size: 1.3rem; transform: rotate(-8deg); }
[data-theme="alice"] .deco-words i:nth-child(6) { top: 8%; right: 14%; font-size: 1.2rem; transform: rotate(2deg); }
[data-theme="alice"] .deco-words i:nth-child(7) { top: 74%; left: 6%; font-size: 1.25rem; transform: rotate(-2deg); }
/* Yazı listesinde başlığın yanında küçük kart sembolleri sırayla değişsin */
[data-theme="alice"] .post-item:nth-child(3n) h2 a::before { content: "♦ "; color: var(--accent-text, var(--accent)); }
[data-theme="alice"] .post-item:nth-child(4n) h2 a::before { content: "♣ "; color: var(--muted); }
/* Yazı kartının üstünde, kitap ayracı gibi küçük kurdele */
[data-theme="alice"] .post { overflow: visible; }
[data-theme="alice"] .post-head { position: relative; }
[data-theme="alice"] .post-head::after {
  content: ""; position: absolute; right: 6px; top: calc(-1 * var(--post-pad-y) - 1px); width: 18px; height: 46px;
  background: linear-gradient(var(--accent), #8a1a28);
  clip-path: polygon(0 0, 100% 0, 100% 100%, 50% 78%, 0 100%);
}
@media (max-width: 1100px) {
  [data-theme="alice"] .deco-c { opacity: 0; animation: none; }
  [data-theme="alice"] .deco-words i { color: rgba(31, 61, 102, 0.06); }
}
@media (max-width: 560px) {
  [data-theme="alice"] .deco-words i { font-size: 1rem !important; }
  [data-theme="alice"] .deco-d { width: 60px; height: 66px; bottom: 10px; }
  [data-theme="alice"] .deco-b::after { width: 50px; height: 68px; right: -24px; }
}
@media (prefers-reduced-motion: reduce) {
  [data-theme="alice"] .deco-d { display: none; }
  [data-theme="alice"] .deco-c { opacity: 0.5; }
}

/* =========================================================
   CYBERPUNK 2077 — neon sarı/camgöbeği, kesik köşeli HUD, tarama çizgileri, veri yağmuru
   ========================================================= */
[data-theme="cyberpunk"] ::selection { background: #00f0ff; color: #000; }
/* Tarama çizgileri ve hafif titreme */
[data-theme="cyberpunk"] .deco-a {
  left: 0; top: 0; width: 100%; height: 100%;
  background: repeating-linear-gradient(0deg, rgba(0, 0, 0, 0.28) 0 1px, transparent 1px 3px);
  animation: cp-flicker 6s steps(1) infinite;
}
@keyframes cp-flicker { 0%, 100% { opacity: 1; } 47% { opacity: 0.85; } 48% { opacity: 1; } 82% { opacity: 0.9; } }
/* Üstte sarı-siyah uyarı şeridi */
[data-theme="cyberpunk"] .deco-b {
  left: 0; right: 0; top: 0; height: 7px;
  background: repeating-linear-gradient(135deg, #fcee0a 0 14px, #05060a 14px 28px);
  box-shadow: 0 0 14px rgba(252, 238, 10, 0.35);
}
/* Altta neon ışıklı gökdelenler */
[data-theme="cyberpunk"] .deco-c {
  left: 0; right: 0; bottom: 0; height: 240px;
  background: url("../img/tema/neon-sehir.svg") 50% 100% / auto 240px repeat-x;
  opacity: 0.9;
}
/* Ara sıra ekranı tarayan glitch çizgisi */
[data-theme="cyberpunk"] .deco-d {
  left: 0; right: 0; top: -10%; height: 3px;
  background: linear-gradient(90deg, transparent, #00f0ff, #ff2a6d, transparent);
  box-shadow: 0 0 12px #00f0ff; opacity: 0.6;
  animation: cp-scan 9s linear infinite;
}
@keyframes cp-scan { 0%, 70% { top: -10%; opacity: 0; } 71% { opacity: 0.6; } 100% { top: 110%; opacity: 0.6; } }
/* Kenarda sistem göstergeleri ve arkada büyük "2077" */
[data-theme="cyberpunk"] .deco-words { display: block; position: absolute; inset: 0; }
[data-theme="cyberpunk"] .deco-words i { font-family: "Share Tech Mono", ui-monospace, monospace; font-size: 0.78rem; letter-spacing: 0.12em; color: rgba(0, 240, 255, 0.55); right: 2.2vw; }
[data-theme="cyberpunk"] .deco-words i:nth-child(1)::before { content: "SYS://ÇEVRİMİÇİ"; color: #fcee0a; }
[data-theme="cyberpunk"] .deco-words i:nth-child(2)::before { content: "AĞ ▮▮▮▮▯ 87%"; }
[data-theme="cyberpunk"] .deco-words i:nth-child(3)::before { content: "BAĞLANTI: GÜVENLİ"; }
[data-theme="cyberpunk"] .deco-words i:nth-child(4)::before { content: "KONUM: ████"; }
[data-theme="cyberpunk"] .deco-words i:nth-child(5)::before { content: "KULLANICI: EI8HT"; color: #ff2a6d; }
[data-theme="cyberpunk"] .deco-words i:nth-child(6)::before { content: "ZAMAN 23:59:59"; }
[data-theme="cyberpunk"] .deco-words i:nth-child(1) { top: 22%; animation: cp-blink 1.2s steps(1) infinite; }
[data-theme="cyberpunk"] .deco-words i:nth-child(2) { top: calc(22% + 22px); }
[data-theme="cyberpunk"] .deco-words i:nth-child(3) { top: calc(22% + 44px); }
[data-theme="cyberpunk"] .deco-words i:nth-child(4) { top: calc(22% + 66px); }
[data-theme="cyberpunk"] .deco-words i:nth-child(5) { top: calc(22% + 88px); }
[data-theme="cyberpunk"] .deco-words i:nth-child(6) { top: calc(22% + 110px); }
[data-theme="cyberpunk"] .deco-words i:nth-child(7) {
  right: auto; left: 1vw; top: auto; bottom: 230px; font-family: var(--font-title); font-weight: 700;
  font-size: min(16vw, 190px); letter-spacing: -0.02em; color: transparent;
  -webkit-text-stroke: 1.5px rgba(252, 238, 10, 0.18);
}
[data-theme="cyberpunk"] .deco-words i:nth-child(7)::before { content: "2077"; }
@keyframes cp-blink { 50% { opacity: 0.2; } }
@media (max-width: 1100px) { [data-theme="cyberpunk"] .deco-words i:not(:nth-child(7)) { display: none; } }
@media (max-width: 560px) {
  [data-theme="cyberpunk"] .deco-c { height: 150px; background-size: auto 150px; }
  [data-theme="cyberpunk"] .deco-words i:nth-child(7) { bottom: 140px; font-size: 26vw; }
  [data-theme="cyberpunk"] .site-title { font-size: 1.4rem; }
}

/* Başlık: sarı, kromatik kayma, üzerine gelince glitch */
[data-theme="cyberpunk"] .site-title { font-weight: 700; }
[data-theme="cyberpunk"] .site-title em { color: #00f0ff; text-transform: lowercase; font-weight: 500; }
[data-theme="cyberpunk"] .site-title:hover { animation: cp-glitch 0.4s steps(2) 3; }
@keyframes cp-glitch {
  0% { text-shadow: 3px 0 #00f0ff, -3px 0 #ff2a6d; transform: translate(0); clip-path: inset(0 0 0 0); }
  50% { text-shadow: -4px 0 #00f0ff, 4px 0 #ff2a6d; transform: translate(2px, -1px); clip-path: inset(20% 0 30% 0); }
  100% { text-shadow: 2px 0 #00f0ff, -2px 0 #ff2a6d; transform: translate(-1px, 1px); clip-path: inset(0 0 0 0); }
}
[data-theme="cyberpunk"] .page-title, [data-theme="cyberpunk"] .post-title, [data-theme="cyberpunk"] .post-item h2 { font-weight: 700; }
[data-theme="cyberpunk"] .page-title::before { content: "// "; color: #00f0ff; }
[data-theme="cyberpunk"] .main-nav a[aria-current="page"] { color: #05060a; background: #fcee0a; border-bottom-color: transparent; padding: 2px 8px; clip-path: polygon(0 0, 100% 0, 100% 70%, 88% 100%, 0 100%); }

/* Yazı kartı: kesik köşeli HUD paneli, sarı sol çizgi, camgöbeği köşe parantezleri */
[data-theme="cyberpunk"] .post {
  border: 1px solid rgba(0, 240, 255, 0.35); border-left: 3px solid #fcee0a;
  clip-path: polygon(0 0, calc(100% - 22px) 0, 100% 22px, 100% 100%, 22px 100%, 0 calc(100% - 22px));
  background: linear-gradient(135deg, rgba(0, 240, 255, 0.05), transparent 40%), var(--surface);
}
[data-theme="cyberpunk"] .post::before,
[data-theme="cyberpunk"] .post::after { content: ""; position: absolute; width: 18px; height: 18px; border: 2px solid #00f0ff; }
[data-theme="cyberpunk"] .post::before { top: 8px; left: 8px; border-right: 0; border-bottom: 0; }
[data-theme="cyberpunk"] .post::after { bottom: 8px; right: 8px; border-left: 0; border-top: 0; }
@media (max-width: 560px) {
  [data-theme="cyberpunk"] .post::before, [data-theme="cyberpunk"] .post::after { width: 10px; height: 10px; }
  [data-theme="cyberpunk"] .post::before { top: 4px; left: 6px; }
  [data-theme="cyberpunk"] .post::after { bottom: 4px; right: 4px; }
}
[data-theme="cyberpunk"] .cat-badge {
  color: #05060a; background: var(--cat-ink, #fcee0a); border: 0; border-radius: 0; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.08em; font-size: 0.68rem; padding: 1px 10px;
  clip-path: polygon(0 0, 100% 0, 100% 60%, 85% 100%, 0 100%);
}
[data-theme="cyberpunk"] .cat-filter a { border-radius: 0; clip-path: polygon(0 0, 100% 0, 100% 65%, 90% 100%, 0 100%); }
[data-theme="cyberpunk"] .prose blockquote {
  border-left: 3px solid #ff2a6d; background: rgba(255, 42, 109, 0.07); padding: 12px 18px;
  font-family: "Share Tech Mono", ui-monospace, monospace; font-style: normal; color: #ffd0de;
}
[data-theme="cyberpunk"] .prose blockquote::before { content: "> "; color: #ff2a6d; }
[data-theme="cyberpunk"] .prose a { color: #00f0ff; }
[data-theme="cyberpunk"] .post .prose > p:first-child::first-letter { color: #05060a; background: #fcee0a; padding: 4px 8px; margin-right: 8px; line-height: 1; }
[data-theme="cyberpunk"] .post.has-cat .prose > p:first-child::first-letter { background: var(--cat-ink); color: #05060a; }
[data-theme="cyberpunk"] .divider::before, [data-theme="cyberpunk"] .divider::after { background: linear-gradient(90deg, transparent, #fcee0a 30%, #00f0ff 70%, transparent); }
[data-theme="cyberpunk"] .divider span::before { content: "◢ ◤"; color: #fcee0a; letter-spacing: 0.2em; }
/* Profil kartı: kesik köşeli kare fotoğraf */
[data-theme="cyberpunk"] .profile { clip-path: polygon(0 0, calc(100% - 18px) 0, 100% 18px, 100% 100%, 0 100%); border-left: 3px solid #fcee0a; }
[data-theme="cyberpunk"] .profile-photo { border-radius: 0; clip-path: polygon(0 0, 82% 0, 100% 18%, 100% 100%, 18% 100%, 0 82%); box-shadow: none; outline: 2px solid #00f0ff; outline-offset: -2px; }
[data-theme="cyberpunk"] .profile-facts span { font-family: "Share Tech Mono", ui-monospace, monospace; }
@media (prefers-reduced-motion: reduce) {
  [data-theme="cyberpunk"] .deco-d { display: none; }
}

/* =========================================================
   VICE CITY — 80'ler Miami gecesi: gün batımı güneşi, palmiyeler, neon art deco oteller
   ========================================================= */
/* Başlıklar pembe neon el yazısı (Pacifico); etiketler ve menü okunaklı (Montserrat) */
[data-theme="vicecity"] .site-title,
[data-theme="vicecity"] .page-title,
[data-theme="vicecity"] .post-title,
[data-theme="vicecity"] .post-item h2,
[data-theme="vicecity"] .profile-name,
[data-theme="vicecity"] .prose h2,
[data-theme="vicecity"] .prose h3 { font-family: "Pacifico", cursive; font-weight: 400; text-transform: none; letter-spacing: 0.01em; }
[data-theme="vicecity"] .site-title { color: #ff7ac0; text-shadow: 0 0 6px rgba(255, 79, 163, 0.9), 0 0 22px rgba(255, 79, 163, 0.55); animation: vc-neon 5s ease-in-out infinite; }
[data-theme="vicecity"] .site-title em { color: #2de2e6; font-family: "Pacifico", cursive; text-transform: none; text-shadow: 0 0 6px rgba(45, 226, 230, 0.9); }
@keyframes vc-neon { 0%, 18%, 22%, 100% { opacity: 1; } 20% { opacity: 0.55; } 21% { opacity: 1; } 60% { text-shadow: 0 0 8px rgba(255, 79, 163, 1), 0 0 30px rgba(255, 79, 163, 0.7); } }
[data-theme="vicecity"] .post-item h2 a, [data-theme="vicecity"] .post-title { text-shadow: 0 0 10px color-mix(in srgb, var(--cat-ink, #ff4fa3) 55%, transparent); }
[data-theme="vicecity"] .page-title { color: #2de2e6; text-shadow: 0 0 8px rgba(45, 226, 230, 0.7); }
[data-theme="vicecity"] .main-nav a[aria-current="page"] { color: #ff7ac0; border-bottom-color: #ff4fa3; text-shadow: 0 0 8px rgba(255, 79, 163, 0.8); }

/* Ufukta çizgili gün batımı güneşi */
[data-theme="vicecity"] .deco-a {
  left: 50%; bottom: 60px; width: min(480px, 90vw); aspect-ratio: 1; transform: translateX(-50%);
  border-radius: 50%;
  background: linear-gradient(180deg, #ffe08a 0%, #ffb86b 35%, #ff6f9e 70%, #c2378f 100%);
  -webkit-mask: linear-gradient(#000 0 48%, transparent 48% 52%, #000 52% 60%, transparent 60% 65%, #000 65% 72%, transparent 72% 78%, #000 78% 84%, transparent 84% 91%, #000 91%);
          mask: linear-gradient(#000 0 48%, transparent 48% 52%, #000 52% 60%, transparent 60% 65%, #000 65% 72%, transparent 72% 78%, #000 78% 84%, transparent 84% 91%, #000 91%);
  opacity: 0.32; filter: drop-shadow(0 0 40px rgba(255, 111, 158, 0.5));
}
/* Deniz: ufuk çizgisi ve parıltılı su */
[data-theme="vicecity"] .deco-d {
  left: 0; right: 0; bottom: 0; height: 130px;
  background:
    repeating-linear-gradient(180deg, rgba(255, 210, 240, 0.12) 0 1px, transparent 1px 9px),
    linear-gradient(180deg, rgba(45, 226, 230, 0.28), rgba(20, 7, 42, 0.9));
  border-top: 1px solid rgba(255, 200, 230, 0.5);
  box-shadow: 0 -2px 18px rgba(255, 111, 158, 0.35);
}
/* Neon art deco oteller ve palmiyeler, denizin hemen üstünde */
[data-theme="vicecity"] .deco-c {
  left: 0; right: 0; bottom: 118px; height: 200px;
  background: url("../img/tema/vice-sahil.svg") 50% 100% / auto 200px repeat-x;
}
/* İki yanda büyük palmiyeler */
[data-theme="vicecity"] .deco-b {
  inset: 0;
  background:
    url("../img/tema/palmiye.svg") left -40px bottom 0 / auto min(80vh, 640px) no-repeat,
    url("../img/tema/palmiye.svg") right -60px bottom 0 / auto min(66vh, 520px) no-repeat;
  filter: brightness(0) drop-shadow(0 0 1px rgba(255, 79, 163, 0.35));
  opacity: 0.92;
}
[data-theme="vicecity"] .deco-b::after {
  /* sağdaki palmiye ayna görüntüsü gibi dursun diye ikinci katmanı çevirmek yerine üçüncü, küçük bir palmiye */
  content: ""; position: absolute; right: 14%; bottom: 118px; width: 120px; height: 210px;
  background: url("../img/tema/palmiye.svg") center bottom / contain no-repeat; transform: scaleX(-1); opacity: 0.85;
}
@media (max-width: 1100px) { [data-theme="vicecity"] .deco-b { opacity: 0.35; } [data-theme="vicecity"] .deco-b::after { display: none; } }
@media (max-width: 560px) {
  [data-theme="vicecity"] .deco-a { bottom: 70px; width: 80vw; }
  [data-theme="vicecity"] .deco-d { height: 80px; }
  [data-theme="vicecity"] .deco-c { bottom: 70px; height: 130px; background-size: auto 130px; }
  [data-theme="vicecity"] .site-title { font-size: 1.5rem; }
}

/* Yazı kartı: koyu, pembe neon çerçeve ve yumuşak parıltı */
[data-theme="vicecity"] .post {
  border: 1px solid rgba(255, 79, 163, 0.75);
  box-shadow: 0 0 0 1px rgba(45, 226, 230, 0.25) inset, 0 0 22px rgba(255, 79, 163, 0.35), 0 0 60px rgba(45, 226, 230, 0.12);
}
[data-theme="vicecity"] .post::before { content: "✦"; position: absolute; top: 12px; right: 16px; color: #2de2e6; text-shadow: 0 0 8px #2de2e6; font-size: 0.9rem; }
[data-theme="vicecity"] .cat-badge { border-color: #2de2e6; color: #2de2e6; box-shadow: 0 0 8px rgba(45, 226, 230, 0.45); background: rgba(45, 226, 230, 0.08); }
[data-theme="vicecity"] .prose blockquote { border-left: 3px solid #ff4fa3; background: linear-gradient(90deg, rgba(255, 79, 163, 0.14), transparent); padding: 10px 18px; color: #ffd9ef; }
[data-theme="vicecity"] .prose a { color: #2de2e6; }
[data-theme="vicecity"] .post .prose > p:first-child::first-letter { font-family: "Pacifico", cursive; color: #ff7ac0; text-shadow: 0 0 10px rgba(255, 79, 163, 0.8); padding-top: 10px; }
[data-theme="vicecity"] .post.has-cat .prose > p:first-child::first-letter { color: var(--cat-ink); }
/* Ayırıcı: pembe-turkuaz çizgi ve ortada palmiye */
[data-theme="vicecity"] .divider::before, [data-theme="vicecity"] .divider::after { background: linear-gradient(90deg, transparent, #ff4fa3, #2de2e6, transparent); box-shadow: 0 0 8px rgba(255, 79, 163, 0.6); }
[data-theme="vicecity"] .divider span::before { content: ""; }
[data-theme="vicecity"] .divider span {
  width: 20px; height: 34px; background: linear-gradient(#2de2e6, #ff4fa3);
  -webkit-mask: url("../img/tema/palmiye.svg") center / contain no-repeat;
          mask: url("../img/tema/palmiye.svg") center / contain no-repeat;
  filter: drop-shadow(0 0 4px rgba(255, 79, 163, 0.8));
}
/* Profil fotoğrafı: pembe-turkuaz neon halka */
[data-theme="vicecity"] .profile-photo { box-shadow: 0 0 0 3px #14072a, 0 0 0 5px #ff4fa3, 0 0 0 8px #14072a, 0 0 0 9px #2de2e6, 0 0 26px rgba(255, 79, 163, 0.6); }
[data-theme="vicecity"] .profile-facts span, [data-theme="vicecity"] .post-item time, [data-theme="vicecity"] .post-head time { letter-spacing: 0.14em; }
@media (prefers-reduced-motion: reduce) { [data-theme="vicecity"] .site-title { animation: none; } }

/* =========================================================
   HOLLOW KNIGHT — mağara tavanı ve tabanı, tepeden süzülen soluk ışık
   ========================================================= */
[data-theme="hollowknight"] .deco-a { left: 0; right: 0; top: 0; height: 150px; background: url("../img/tema/magara-tavan.svg") 50% 0 / auto 150px repeat-x; }
[data-theme="hollowknight"] .deco-c { left: 0; right: 0; bottom: 0; height: 220px; background: url("../img/tema/magara-taban.svg") 50% 100% / auto 220px repeat-x; }
[data-theme="hollowknight"] .deco-b {
  left: 50%; top: -10%; width: 70vw; height: 110%; transform: translateX(-50%);
  background: conic-gradient(from 165deg at 50% 0%, transparent 0deg, rgba(190, 225, 255, 0.07) 12deg, transparent 22deg, rgba(190, 225, 255, 0.05) 30deg, transparent 38deg);
  animation: hk-ray 9s ease-in-out infinite;
}
@keyframes hk-ray { 0%, 100% { opacity: 0.7; } 50% { opacity: 1; } }
[data-theme="hollowknight"] .post::before,
[data-theme="hollowknight"] .post::after {
  content: ""; position: absolute; width: 40px; height: 40px; opacity: 0.75;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 40'%3E%3Cg fill='none' stroke='%23dfe7f0' stroke-width='1.2' stroke-linecap='round'%3E%3Cpath d='M2 38V12C2 6 6 2 12 2h26'/%3E%3Cpath d='M8 30c0-10 6-18 16-20'/%3E%3Ccircle cx='24' cy='10' r='2'/%3E%3Cpath d='M8 30c2 3 5 4 8 3'/%3E%3C/g%3E%3C/svg%3E") center / contain no-repeat;
}
[data-theme="hollowknight"] .post::before { top: 6px; left: 6px; }
[data-theme="hollowknight"] .post::after { bottom: 6px; right: 6px; transform: rotate(180deg); }
[data-theme="hollowknight"] .post { border-color: rgba(223, 231, 240, 0.18); box-shadow: inset 0 0 60px rgba(0, 0, 0, 0.5); }
[data-theme="hollowknight"] .divider span::before { content: "— ✧ —"; letter-spacing: 0.3em; text-shadow: 0 0 10px rgba(169, 216, 255, 0.8); }
[data-theme="hollowknight"] .prose blockquote { border-left: 0; text-align: center; font-style: italic; color: #cfe6ff; text-shadow: 0 0 12px rgba(169, 216, 255, 0.35); padding: 10px 0; }
[data-theme="hollowknight"] .profile-photo { box-shadow: 0 0 0 2px var(--bg), 0 0 0 3px rgba(223, 231, 240, 0.7), 0 0 26px rgba(169, 216, 255, 0.45); }
@media (max-width: 560px) {
  [data-theme="hollowknight"] .deco-a { height: 90px; background-size: auto 90px; }
  [data-theme="hollowknight"] .deco-c { height: 140px; background-size: auto 140px; }
  [data-theme="hollowknight"] .post::before, [data-theme="hollowknight"] .post::after { width: 22px; height: 22px; }
  [data-theme="hollowknight"] .post::before { top: 4px; left: 4px; }
  [data-theme="hollowknight"] .post::after { bottom: 4px; right: 4px; }
}

/* =========================================================
   SILENT HILL — sis katmanları, tel çit, arada bir "öbür dünya"
   ========================================================= */
[data-theme="silenthill"] .deco-a {
  inset: -10% -30%;
  background:
    radial-gradient(ellipse 40% 30% at 20% 40%, rgba(200, 196, 188, 0.28), transparent 70%),
    radial-gradient(ellipse 45% 35% at 70% 60%, rgba(200, 196, 188, 0.22), transparent 70%),
    radial-gradient(ellipse 35% 25% at 45% 85%, rgba(210, 206, 198, 0.25), transparent 70%);
  filter: blur(20px);
  animation: sh-fog 70s linear infinite alternate;
}
@keyframes sh-fog { from { transform: translateX(-6%); } to { transform: translateX(6%); } }
[data-theme="silenthill"] .deco-c { left: 0; right: 0; bottom: 0; height: 200px; background: url("../img/tema/tel-cit.svg") 50% 100% / auto 200px repeat-x; opacity: 0.9; }
/* Öbür dünya: arada bir ekran paslı ızgaraya ve kızıla döner */
[data-theme="silenthill"] .deco-b {
  inset: 0;
  background:
    repeating-linear-gradient(0deg, rgba(0, 0, 0, 0.5) 0 2px, transparent 2px 22px),
    repeating-linear-gradient(90deg, rgba(0, 0, 0, 0.5) 0 2px, transparent 2px 22px),
    radial-gradient(ellipse at center, rgba(90, 20, 10, 0.35), rgba(30, 5, 0, 0.75));
  opacity: 0; animation: sh-other 46s ease-in-out infinite;
}
@keyframes sh-other { 0%, 84%, 100% { opacity: 0; } 87%, 93% { opacity: 0.85; } }
/* Radyo paraziti gibi hafif kumlanma */
[data-theme="silenthill"] .deco-d {
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 160 160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='1.2' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.5'/%3E%3C/svg%3E") 0 0 / 160px;
  opacity: 0.07; mix-blend-mode: overlay; animation: sh-grain 0.6s steps(3) infinite;
}
@keyframes sh-grain { 0% { background-position: 0 0; } 33% { background-position: -40px 20px; } 66% { background-position: 30px -30px; } }
[data-theme="silenthill"] .site-title { filter: blur(0.3px); }
[data-theme="silenthill"] .post { border-left: 3px solid var(--accent); }
/* Alıntı: daktiloyla yazılmış, sararmış bir not */
[data-theme="silenthill"] .prose blockquote {
  border-left: 0; padding: 18px 20px; font-style: normal; color: #2a2622;
  background: linear-gradient(180deg, #ddd6c6, #cfc6b2); box-shadow: 0 8px 22px rgba(0, 0, 0, 0.55); transform: rotate(0.5deg);
}
[data-theme="silenthill"] .prose blockquote strong { color: #5a1a0c; }
[data-theme="silenthill"] .divider span::before { content: "✕"; color: var(--accent-text); }
@media (max-width: 560px) { [data-theme="silenthill"] .deco-c { height: 130px; background-size: auto 130px; } }

/* =========================================================
   MADOKA MAGICA — kolaj kelebekler, güller, makaslar, saat kadranı, kurdeleler
   ========================================================= */
[data-theme="madoka"] .deco-a {
  inset: 0;
  background: radial-gradient(rgba(214, 58, 112, 0.09) 1.2px, transparent 1.6px) 0 0 / 10px 10px;
}
[data-theme="madoka"] .deco-b {
  inset: 0; opacity: 0.14;
  background:
    url("../img/tema/kolaj-kelebek.svg") 6% 18% / 110px no-repeat,
    url("../img/tema/kolaj-gul.svg") 92% 22% / 90px no-repeat,
    url("../img/tema/kolaj-makas.svg") 4% 72% / 80px no-repeat,
    url("../img/tema/kolaj-kelebek.svg") 88% 70% / 70px no-repeat,
    url("../img/tema/kolaj-gul.svg") 14% 46% / 60px no-repeat,
    url("../img/tema/kolaj-makas.svg") 95% 48% / 56px no-repeat;
}
/* Sağ altta yavaşça dönen saat kadranı */
[data-theme="madoka"] .deco-c {
  right: -160px; bottom: -160px; width: 440px; height: 440px; border-radius: 50%;
  background: repeating-conic-gradient(rgba(106, 63, 181, 0.22) 0 1deg, transparent 1deg 6deg);
  -webkit-mask: radial-gradient(circle, transparent 60%, #000 61% 70%, transparent 71% 78%, #000 79% 80%, transparent 81%);
          mask: radial-gradient(circle, transparent 60%, #000 61% 70%, transparent 71% 78%, #000 79% 80%, transparent 81%);
  animation: rz-spin 120s linear infinite;
}
/* Süzülen kelebek */
[data-theme="madoka"] .deco-d {
  left: 0; top: 30%; width: 56px; height: 45px; background: #2a1830;
  -webkit-mask: url("../img/tema/kolaj-kelebek.svg") center / contain no-repeat;
          mask: url("../img/tema/kolaj-kelebek.svg") center / contain no-repeat;
  opacity: 0.35; animation: md-fly 34s ease-in-out infinite;
}
@keyframes md-fly {
  0% { transform: translate(-80px, 0) rotate(-10deg); }
  50% { transform: translate(50vw, -12vh) rotate(8deg); }
  100% { transform: translate(110vw, 6vh) rotate(-6deg); }
}
[data-theme="madoka"] .post { border: 2px solid rgba(214, 58, 112, 0.5); outline: 1px solid rgba(106, 63, 181, 0.3); outline-offset: -7px; box-shadow: 6px 6px 0 rgba(106, 63, 181, 0.12); }
[data-theme="madoka"] .post::before { content: "✿"; position: absolute; top: 10px; right: 14px; color: var(--accent); font-size: 1.1rem; }
[data-theme="madoka"] .post-title, [data-theme="madoka"] .post-item h2 { font-style: italic; font-weight: 700; }
[data-theme="madoka"] .divider span::before { content: "✿ ✦ ✿"; letter-spacing: 0.3em; color: var(--accent); }
[data-theme="madoka"] .divider::before, [data-theme="madoka"] .divider::after { background: repeating-linear-gradient(90deg, rgba(214, 58, 112, 0.5) 0 8px, transparent 8px 14px); }
[data-theme="madoka"] .prose blockquote { border-left: 0; padding: 14px 20px; background: #fff; border: 1px dashed rgba(106, 63, 181, 0.45); border-radius: 12px; color: #4a2a5a; }
[data-theme="madoka"] .cat-badge { background: #fff; }
[data-theme="madoka"] .profile-photo { box-shadow: 0 0 0 3px #fff, 0 0 0 5px var(--accent), 0 0 0 8px #fff, 0 0 0 9px var(--accent-2); }
@media (max-width: 1100px) { [data-theme="madoka"] .deco-b { opacity: 0.07; } }

/* =========================================================
   UNDERTALE — beyaz diyalog kutuları, piksel kalp, kaydetme yıldızı
   ========================================================= */
[data-theme="undertale"] body { font-size: 1.45rem; line-height: 1.45; }
[data-theme="undertale"] .deco-b {
  left: max(16px, calc((100vw - 760px) / 2 - 120px)); bottom: 40px; width: 36px; height: 32px;
  background: url("../img/tema/piksel-kalp.svg") center / contain no-repeat; image-rendering: pixelated;
  animation: ut-bob 2.4s steps(4) infinite;
}
@keyframes ut-bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }
[data-theme="undertale"] .deco-c {
  left: max(16px, calc((100vw - 760px) / 2 - 140px)); top: 36vh; width: 28px; height: 28px;
  background: url("../img/tema/piksel-yildiz.svg") center / contain no-repeat; image-rendering: pixelated;
  animation: ut-twinkle 1.6s steps(2) infinite;
}
@keyframes ut-twinkle { 50% { opacity: 0.35; transform: scale(0.85); } }
[data-theme="undertale"] .site-title { font-weight: 700; }
[data-theme="undertale"] .site-title::after { content: "_"; animation: cp-blink 1s steps(1) infinite; color: var(--accent); }
[data-theme="undertale"] .site-title em { color: var(--accent); font-style: normal; text-transform: none; }
[data-theme="undertale"] .main-nav a[aria-current="page"] { color: var(--accent); border-bottom-color: transparent; }
[data-theme="undertale"] .main-nav a[aria-current="page"]::before { content: "♥ "; color: #ff1a1a; }
/* Diyalog kutusu */
[data-theme="undertale"] .post, [data-theme="undertale"] .profile { border: 4px solid #fff; box-shadow: none; }
[data-theme="undertale"] .excerpt::before { content: "* "; }
[data-theme="undertale"] .prose blockquote { border: 3px solid #fff; padding: 10px 16px; font-style: normal; color: #fff; }
[data-theme="undertale"] .prose blockquote p::before { content: "* "; }
[data-theme="undertale"] .post .prose > p:first-child::first-letter { font-family: var(--font-title); font-size: 2.6em; color: #ff1a1a; }
[data-theme="undertale"] .divider::before, [data-theme="undertale"] .divider::after { background: rgba(255, 255, 255, 0.6); height: 2px; }
[data-theme="undertale"] .divider span::before { content: ""; }
[data-theme="undertale"] .divider span { width: 18px; height: 16px; background: url("../img/tema/piksel-kalp.svg") center / contain no-repeat; image-rendering: pixelated; }
[data-theme="undertale"] .cat-badge { border-radius: 0; border-width: 2px; }
[data-theme="undertale"] .cat-filter a { border-radius: 0; border-width: 2px; }
[data-theme="undertale"] .profile-photo { border-radius: 0; box-shadow: 0 0 0 4px #fff; }
@media (max-width: 560px) {
  [data-theme="undertale"] body { font-size: 1.3rem; }
  [data-theme="undertale"] .deco-c { display: none; }
}

/* =========================================================
   EVANGELION — altıgen alan, uyarı şeridi, başlık kartları, sistem göstergeleri, 第八話
   ========================================================= */
[data-theme="evangelion"] .deco-a {
  inset: 0; background: url("../img/tema/altigen.svg") 0 0 / 56px 97px;
  opacity: 0.07; -webkit-mask: radial-gradient(ellipse at 50% 55%, #000 0, transparent 70%); mask: radial-gradient(ellipse at 50% 55%, #000 0, transparent 70%);
  animation: ev-field 5s ease-in-out infinite;
}
@keyframes ev-field { 0%, 100% { opacity: 0.05; } 50% { opacity: 0.12; } }
[data-theme="evangelion"] .deco-b {
  left: 0; right: 0; top: 0; height: 10px;
  background: repeating-linear-gradient(135deg, #ff7a1a 0 16px, #0c0a12 16px 32px);
}
[data-theme="evangelion"] .deco-d {
  left: 2.5vw; top: 50%; transform: translateY(-50%);
  writing-mode: vertical-rl; font-family: "Noto Serif JP", serif; font-weight: 900;
  font-size: min(15vh, 140px); line-height: 1; color: rgba(236, 232, 242, 0.1);
}
[data-theme="evangelion"] .deco-d::before { content: "第八話"; }
[data-theme="evangelion"] .deco-words { display: block; position: absolute; inset: 0; }
[data-theme="evangelion"] .deco-words i { font-family: "Barlow Condensed", sans-serif; font-weight: 700; font-size: 0.85rem; letter-spacing: 0.14em; color: rgba(255, 122, 26, 0.75); right: 2.4vw; }
[data-theme="evangelion"] .deco-words i:nth-child(1)::before { content: "SENKRON ORANI 41.3%"; color: #8be05c; }
[data-theme="evangelion"] .deco-words i:nth-child(2)::before { content: "DESEN: MAVİ"; color: #ff4d3a; }
[data-theme="evangelion"] .deco-words i:nth-child(3)::before { content: "ALAN: AKTİF"; }
[data-theme="evangelion"] .deco-words i:nth-child(4)::before { content: "GÜÇ: DAHİLİ 04:59"; }
[data-theme="evangelion"] .deco-words i:nth-child(5)::before { content: "PİLOT: EI8HT"; color: #b98cf0; }
[data-theme="evangelion"] .deco-words i:nth-child(1) { top: 24%; }
[data-theme="evangelion"] .deco-words i:nth-child(2) { top: calc(24% + 24px); animation: cp-blink 0.9s steps(1) infinite; }
[data-theme="evangelion"] .deco-words i:nth-child(3) { top: calc(24% + 48px); }
[data-theme="evangelion"] .deco-words i:nth-child(4) { top: calc(24% + 72px); }
[data-theme="evangelion"] .deco-words i:nth-child(5) { top: calc(24% + 96px); }
@media (max-width: 1100px) { [data-theme="evangelion"] .deco-words { display: none; } [data-theme="evangelion"] .deco-d { opacity: 0.5; } }
/* Başlık kartı gibi kalın, beyaz, sıkışık başlıklar */
[data-theme="evangelion"] .site-title, [data-theme="evangelion"] .page-title, [data-theme="evangelion"] .post-title, [data-theme="evangelion"] .post-item h2 { font-weight: 900; letter-spacing: -0.01em; }
[data-theme="evangelion"] .site-title { transform-origin: left center; transform: scaleY(1.12); }
[data-theme="evangelion"] .site-title em { color: #ff7a1a; font-family: var(--font-body); font-weight: 600; font-style: normal; text-transform: lowercase; }
[data-theme="evangelion"] .post { border-left: 4px solid var(--accent-2); border-top: 2px solid #ff7a1a; }
[data-theme="evangelion"] .post::before { content: "BÖLÜM // 08"; position: absolute; top: 8px; right: 12px; font-family: var(--font-body); font-weight: 700; font-size: 0.72rem; letter-spacing: 0.2em; color: #ff7a1a; }
[data-theme="evangelion"] .prose blockquote { border-left: 4px solid #ff7a1a; background: rgba(255, 122, 26, 0.08); padding: 10px 16px; font-style: normal; }
[data-theme="evangelion"] .cat-badge { border-radius: 0; text-transform: uppercase; letter-spacing: 0.12em; font-weight: 700; }
[data-theme="evangelion"] .divider::before, [data-theme="evangelion"] .divider::after { background: linear-gradient(90deg, transparent, #ff7a1a, var(--accent-2), transparent); }
[data-theme="evangelion"] .divider span::before { content: "⬢"; color: #ff7a1a; }
[data-theme="evangelion"] .profile-photo { border-radius: 0; clip-path: polygon(25% 0, 75% 0, 100% 50%, 75% 100%, 25% 100%, 0 50%); box-shadow: none; }
@media (max-width: 560px) {
  [data-theme="evangelion"] .post::before { font-size: 0.6rem; top: 5px; right: 8px; }
  [data-theme="evangelion"] .deco-d { font-size: 18vw; opacity: 0.35; }
}
@media (prefers-reduced-motion: reduce) {
  [data-theme="silenthill"] .deco-b { display: none; }
}

/* Silent Hill: geniş harf aralığı başlığı tema düğmesine taşırmasın */
[data-theme="silenthill"] .site-title { letter-spacing: 0.1em; font-size: clamp(1.3rem, 4.6vw, 2.3rem); }
@media (max-width: 560px) { [data-theme="silenthill"] .site-title { font-size: 1.3rem; letter-spacing: 0.04em; } [data-theme="evangelion"] .site-title, [data-theme="undertale"] .site-title { font-size: 1.45rem; } }

/* Undertale: tema menüsü ve düğmesi piksel başlık fontuyla, rahat genişlikte, beyaz kutu çerçeveli */
[data-theme="undertale"] .theme-toggle { font-family: "Pixelify Sans", monospace; font-size: 1rem; border: 2px solid #fff; }
[data-theme="undertale"] .theme-menu { min-width: 260px; padding: 8px; border: 3px solid #fff; background: #000; }
[data-theme="undertale"] .theme-menu button { font-family: "Pixelify Sans", monospace; font-size: 1.05rem; padding: 9px 12px; gap: 12px; }
[data-theme="undertale"] .theme-menu button[aria-checked="true"]::after { content: "♥"; color: #ff1a1a; }
[data-theme="undertale"] .theme-menu button:hover { background: rgba(255, 225, 77, 0.12); color: var(--accent); }
[data-theme="undertale"] .theme-menu .swatch { border-radius: 0; }

/* =========================================================
   TEMA DETAYLARI (3. tur): okuma çubuğu, yazı içi semboller, üzerine gelince efektler
   ========================================================= */
/* Okuma ilerleme çubuğu (yazı sayfalarında) */
.read-progress {
  position: fixed; left: 0; top: 0; height: 3px; width: 100%; z-index: 30; pointer-events: none;
  transform-origin: 0 50%; transform: scaleX(var(--p, 0));
  background: linear-gradient(90deg, var(--accent), var(--accent-2, var(--accent)));
  box-shadow: 0 0 8px color-mix(in srgb, var(--accent) 60%, transparent);
  opacity: 0; transition: opacity 0.3s;
}
.read-progress.is-on { opacity: 1; }
[data-theme="alice"] .read-progress { top: 10px; background: repeating-linear-gradient(90deg, #c0283a 0 14px, #1f3d66 14px 28px); }
[data-theme="cyberpunk"] .read-progress, [data-theme="evangelion"] .read-progress { top: 7px; height: 4px; }
[data-theme="evangelion"] .read-progress { top: 10px; background: linear-gradient(90deg, #ff7a1a, #8a4fd6); }
[data-theme="undertale"] .read-progress { height: 6px; background: #ffe14d; box-shadow: none; image-rendering: pixelated; transform: none; width: calc(var(--p, 0) * 100%); transition: opacity 0.3s, width 0.1s steps(2); }
[data-theme="bloodborne"] .read-progress { background: linear-gradient(90deg, #5a0812, #e8384a); }
[data-theme="darksouls"] .read-progress { background: linear-gradient(90deg, #7a2a0a, #ff9a3c, #ffe2a0); }
[data-theme="silenthill"] .read-progress { background: linear-gradient(90deg, #5a1a0c, #9c4a26); box-shadow: none; }

/* Liste maddeleri ve ara başlık sembolleri */
.prose h2::before, .prose h3::before { color: var(--accent-text, var(--accent)); margin-right: 0.4em; font-style: normal; }
[data-theme="alice"] .prose ul li:nth-child(4n+1)::marker { content: "♠  "; color: #2e2a26; }
[data-theme="alice"] .prose ul li:nth-child(4n+2)::marker { content: "♥  "; color: #c0283a; }
[data-theme="alice"] .prose ul li:nth-child(4n+3)::marker { content: "♣  "; color: #2e2a26; }
[data-theme="alice"] .prose ul li:nth-child(4n)::marker { content: "♦  "; color: #c0283a; }
[data-theme="alice"] .prose h2::before { content: "♥"; }
[data-theme="blacksouls"] .prose ul li::marker { content: "†  "; }
[data-theme="blacksouls"] .prose h2::before { content: "❦"; }
[data-theme="darksouls"] .prose ul li::marker { content: "✦  "; }
[data-theme="darksouls"] .prose h2::before { content: "✧"; text-shadow: 0 0 8px #e08a3c; }
[data-theme="bloodborne"] .prose ul li::marker { content: "◆  "; }
[data-theme="bloodborne"] .prose h2::before { content: "☾"; }
[data-theme="rezero"] .prose ul li::marker { content: "❄  "; color: #5b6fd6; }
[data-theme="rezero"] .prose h2::before { content: "↺"; }
[data-theme="qimp"] .prose ul li::marker { content: "✧  "; color: var(--accent); }
[data-theme="qimp"] .prose h2::before { content: "▶"; color: var(--accent-2); }
[data-theme="cyberpunk"] .prose ul li::marker { content: "▸  "; color: #00f0ff; }
[data-theme="cyberpunk"] .prose h2::before { content: "//"; color: #00f0ff; }
[data-theme="vicecity"] .prose ul li::marker { content: "✦  "; color: #2de2e6; }
[data-theme="vicecity"] .prose h2::before { content: "☀"; color: #ffb86b; }
[data-theme="hollowknight"] .prose ul li::marker { content: "◇  "; color: #a9d8ff; }
[data-theme="hollowknight"] .prose h2::before { content: "✧"; }
[data-theme="silenthill"] .prose ul li::marker { content: "—  "; }
[data-theme="silenthill"] .prose h2::before { content: "✕"; }
[data-theme="madoka"] .prose ul li::marker { content: "✿  "; color: var(--accent); }
[data-theme="madoka"] .prose h2::before { content: "❀"; color: var(--accent-2); }
[data-theme="undertale"] .prose ul li::marker { content: "*  "; color: #fff; }
[data-theme="undertale"] .prose h2::before { content: "♥"; color: #ff1a1a; }
[data-theme="evangelion"] .prose ul li::marker { content: "⬢  "; color: #ff7a1a; }
[data-theme="evangelion"] .prose h2::before { content: "■"; color: #ff7a1a; }

/* Yazı listesinde üzerine gelince */
.post-item { transition: transform 0.25s ease, box-shadow 0.25s ease, padding 0.25s ease; }
.post-item h2 a { transition: color 0.2s, text-shadow 0.25s, letter-spacing 0.3s, filter 0.3s; }
[data-theme="blacksouls"] .post-item:hover h2 a { text-shadow: 2px 0 0 rgba(196, 30, 58, 0.7), -1px 0 0 rgba(90, 0, 20, 0.8); }
[data-theme="darksouls"] .post-item:hover { box-shadow: inset 3px 0 0 #e08a3c, inset 18px 0 24px -18px rgba(224, 138, 60, 0.35); padding-left: 14px; }
[data-theme="bloodborne"] .post-item h2 a { background: linear-gradient(#e8384a, #e8384a) 0 100% / 0 1px no-repeat; transition: background-size 0.35s, color 0.2s; }
[data-theme="bloodborne"] .post-item:hover h2 a { background-size: 100% 1px; text-decoration: none; }
[data-theme="rezero"] .post-item:hover { transform: translateX(4px); }
[data-theme="rezero"] .post-item:hover h2 a { text-shadow: 0 0 12px rgba(91, 111, 214, 0.35); }
[data-theme="qimp"] .post-item:hover { transform: skewX(-2deg); }
[data-theme="cyberpunk"] .post-item:hover h2 a { animation: cp-glitch 0.35s steps(2) 2; }
[data-theme="vicecity"] .post-item:hover h2 a { text-shadow: 0 0 6px currentColor, 0 0 22px currentColor; }
[data-theme="hollowknight"] .post-item:hover h2 a { text-shadow: 0 0 14px rgba(169, 216, 255, 0.85); }
[data-theme="silenthill"] .post-item h2 a { filter: blur(0.6px); }
[data-theme="silenthill"] .post-item:hover h2 a { filter: none; letter-spacing: 0.18em; }
[data-theme="madoka"] .post-item h2 a::after { content: " ✿"; opacity: 0; transition: opacity 0.25s; color: var(--accent); font-style: normal; }
[data-theme="madoka"] .post-item:hover h2 a::after { opacity: 1; }
[data-theme="undertale"] .post-item h2 a::before { content: "♥ "; color: #ff1a1a; opacity: 0; }
[data-theme="undertale"] .post-item:hover h2 a::before { opacity: 1; }
[data-theme="evangelion"] .post-item:hover { box-shadow: inset 4px 0 0 #ff7a1a; padding-left: 14px; }
[data-theme="evangelion"] .post-item:hover h2 a::before { content: "▶ "; color: #ff7a1a; }
@media (prefers-reduced-motion: reduce) { .post-item, .post-item h2 a { transition: none !important; animation: none !important; } }

/* =========================================================
   ALICE — 4. tur: çay fincanı, altın anahtar, süslü ilk harf, polaroid resimler,
   "gülleri kırmızıya boya" efekti, satranç tahtası alt şerit
   ========================================================= */
/* Sağ kenarda buharı tüten çay fincanı, solda kurdeleye asılı altın anahtar */
[data-theme="alice"] .deco-words::before,
[data-theme="alice"] .deco-words::after { content: ""; position: absolute; pointer-events: none; }
[data-theme="alice"] .deco-words::before {
  right: max(16px, calc((100vw - 760px) / 2 - 190px)); top: 44vh; width: 118px; height: 110px;
  background: url("../img/tema/alice-fincan.svg") center / contain no-repeat;
  opacity: 0.75; transform: rotate(-6deg);
  animation: alice-float 7s ease-in-out infinite;
}
[data-theme="alice"] .deco-words::after {
  left: max(20px, calc((100vw - 760px) / 2 - 110px)); top: 0; width: 34px; height: 96px;
  background: url("../img/tema/alice-anahtar.svg") center top / contain no-repeat;
  transform-origin: 50% 0; animation: alice-swing 6.5s ease-in-out 1s infinite; opacity: 0.85;
}
@keyframes alice-float { 0%, 100% { transform: translateY(0) rotate(-6deg); } 50% { transform: translateY(-8px) rotate(-3deg); } }

[data-theme="alice"] .post .prose > p:first-child, [data-theme="blacksouls"] .post .prose > p:first-child { display: flow-root; }
/* Yazının ilk harfi: masal kitabındaki gibi, iskambil kâğıdı içinde süslü büyük harf */
[data-theme="alice"] .post .prose > p:first-child::first-letter {
  float: left; font-family: "Playfair Display", serif; font-weight: 700; font-style: italic;
  font-size: 2.5em; line-height: 0.95; padding: 0.1em 0.16em 0.04em; margin: 0.06em 0.14em 0 0;
  color: var(--accent-text, var(--accent)); background: #fffdf6;
  border: 1.5px solid var(--accent); border-radius: 6px; box-shadow: 3px 3px 0 rgba(31, 61, 102, 0.22);
}
/* Yazıdaki resimler: polaroid gibi, hafif eğik */
[data-theme="alice"] .prose img {
  background: #fffdf6; padding: 10px 10px 30px; border-radius: 2px;
  box-shadow: 0 10px 24px rgba(90, 60, 30, 0.2), 0 0 0 1px rgba(46, 42, 38, 0.08);
  transform: rotate(-1.2deg); transition: transform 0.3s;
}
[data-theme="alice"] .prose p:nth-of-type(even) img { transform: rotate(1.2deg); }
[data-theme="alice"] .prose img:hover { transform: rotate(0) scale(1.01); }
/* Galeri: iskambil kartı gibi kenarlık, üstüne gelince kart hafifçe döner */
[data-theme="alice"] .gal-item button { border: 6px solid #fffdf6; outline: 1px solid rgba(192, 40, 58, 0.4); border-radius: 10px; box-shadow: 0 6px 16px rgba(90, 60, 30, 0.16); transition: transform 0.3s; }
[data-theme="alice"] .gal-item:nth-child(odd) button:hover { transform: rotate(-2deg) translateY(-3px); }
[data-theme="alice"] .gal-item:nth-child(even) button:hover { transform: rotate(2deg) translateY(-3px); }
/* "Gülleri kırmızıya boyuyoruz": başlığın altı fırçayla kırmızıya boyanır */
[data-theme="alice"] .post-item h2 a {
  background: linear-gradient(transparent 64%, rgba(192, 40, 58, 0.2) 64%, rgba(192, 40, 58, 0.2) 92%, transparent 92%) 0 0 / 0 100% no-repeat;
  transition: background-size 0.45s ease, color 0.2s;
}
[data-theme="alice"] .post-item:hover h2 a { background-size: 100% 100%; text-decoration: none; }
/* Kategori rozetleri: küçük oyun kartı */
[data-theme="alice"] .cat-badge::before { content: "♥ "; font-size: 0.85em; }
/* Altta satranç tahtası şeridi (Aynanın İçinden) ve kraliçe */
[data-theme="alice"] .site-footer::before {
  content: ""; display: block; height: 14px; margin: 0 auto 26px; max-width: 280px;
  background: repeating-conic-gradient(#2e2a26 0 25%, #f5eedd 0 50%) 0 0 / 14px 14px;
  opacity: 0.7;
  -webkit-mask: linear-gradient(90deg, transparent, #000 25%, #000 75%, transparent);
          mask: linear-gradient(90deg, transparent, #000 25%, #000 75%, transparent);
}
[data-theme="alice"] .site-footer p:first-of-type::before { content: "♛ "; color: var(--accent-text, var(--accent)); font-style: normal; }
/* Seçilen yazı: kırmızı mürekkep */
[data-theme="alice"] ::selection { background: rgba(192, 40, 58, 0.85); color: #fffaf0; }
@media (max-width: 1100px) {
  [data-theme="alice"] .deco-words::before { opacity: 0.18; }
  [data-theme="alice"] .deco-words::after { display: none; }
}
@media (max-width: 560px) { [data-theme="alice"] .deco-words::before { display: none; } }
@media (prefers-reduced-motion: reduce) { [data-theme="alice"] .deco-words::before, [data-theme="alice"] .deco-words::after { animation: none; } }

/* =========================================================
   BLACK SOULS — 4. tur: asılı kuş kafesi, kanlı süslü ilk harf, kan damlası, solmuş resimler,
   mühür rozetler, mum ışığı titremesi
   ========================================================= */
/* Solda zincirle asılı, yavaşça sallanan kafes */
[data-theme="blacksouls"] .deco-d {
  left: max(14px, calc((100vw - 760px) / 2 - 200px)); top: 0; width: 96px; height: 184px;
  background: url("../img/tema/bs-kafes.svg") center top / contain no-repeat;
  transform-origin: 50% 0; animation: bs-cage 9s ease-in-out infinite;
  filter: drop-shadow(0 0 10px rgba(196, 30, 58, 0.35)); opacity: 0.8;
}
@keyframes bs-cage { 0%, 100% { transform: rotate(-3deg); } 50% { transform: rotate(3.5deg); } }

/* İlk harf: el yazması kitaplardaki gibi, kan kırmızısı gotik harf ve çift çerçeve */
[data-theme="blacksouls"] .post .prose > p:first-child::first-letter {
  float: left; font-family: "Grenze Gotisch", serif; font-weight: 600; font-size: 2.7em; line-height: 0.9;
  padding: 0.1em 0.14em 0.04em; margin: 0.06em 0.14em 0 0;
  color: #ec3d4f; text-shadow: 2px 2px 0 #3a0612, 0 0 14px rgba(196, 30, 58, 0.45);
  border: 1px solid rgba(196, 30, 58, 0.5); box-shadow: 0 0 0 3px var(--bg), 0 0 0 4px rgba(196, 30, 58, 0.25);
  background: radial-gradient(circle at 50% 40%, rgba(122, 12, 30, 0.35), transparent 75%);
}
/* Yazı listesinde: üstüne gelince başlığın yanından bir kan damlası süzülür */
[data-theme="blacksouls"] .post-item::after {
  content: ""; position: absolute; left: 4px; top: 3.6rem; width: 5px; height: 0;
  background: linear-gradient(#7a0c1e, #c41e3a); border-radius: 0 0 3px 3px;
  opacity: 0; transition: height 0.6s cubic-bezier(.5, 0, .7, 1), opacity 0.2s;
}
[data-theme="blacksouls"] .post-item:first-child::after { top: 2.2rem; }
[data-theme="blacksouls"] .post-item:hover::after { height: 26px; opacity: 0.8; }
/* Resimler: solmuş, eski bir masal kitabından koparılmış gibi */
[data-theme="blacksouls"] .prose img {
  filter: grayscale(0.55) sepia(0.3) contrast(1.08);
  border: 1px solid rgba(196, 30, 58, 0.45); outline: 1px solid rgba(196, 30, 58, 0.2); outline-offset: 5px;
  box-shadow: 0 0 40px rgba(0, 0, 0, 0.8); transition: filter 0.5s;
}
[data-theme="blacksouls"] .prose img:hover { filter: none; }
[data-theme="blacksouls"] .gal-item img { filter: grayscale(0.6) sepia(0.25); }
[data-theme="blacksouls"] .gal-item button { border-color: rgba(196, 30, 58, 0.45); }
[data-theme="blacksouls"] .gal-item button:hover { box-shadow: 0 0 22px rgba(196, 30, 58, 0.4); }
/* Kategori rozetleri: mühür işareti */
[data-theme="blacksouls"] .cat-badge::before { content: "✠ "; font-size: 0.85em; }
/* Linkler üstüne gelince kan gibi parlar */
[data-theme="blacksouls"] .prose a:hover { color: #ff5a6a; text-shadow: 0 0 8px rgba(196, 30, 58, 0.6); }
/* Masal kitabının sonu: alt yazının üstünde süslü "Son" */
[data-theme="blacksouls"] .site-footer::before {
  content: "❧  Son  ☙"; display: block; margin-bottom: 18px;
  font-family: "Grenze Gotisch", serif; font-size: 1.3rem; letter-spacing: 0.2em; color: var(--accent-text, var(--accent)); opacity: 0.75;
}
/* Mum ışığı: arka plandaki kırmızı ışık çok yavaş titrer */
[data-theme="blacksouls"] .vignette { animation: bs-candle 6s ease-in-out infinite; }
@keyframes bs-candle { 0%, 100% { opacity: 1; } 40% { opacity: 0.86; } 43% { opacity: 0.96; } 47% { opacity: 0.82; } }
[data-theme="blacksouls"] ::selection { background: #7a0c1e; color: #fff; }
@media (max-width: 1100px) { [data-theme="blacksouls"] .deco-d { opacity: 0.2; } }
@media (max-width: 560px) { [data-theme="blacksouls"] .deco-d { display: none; } }
@media (prefers-reduced-motion: reduce) { [data-theme="blacksouls"] .deco-d, [data-theme="blacksouls"] .vignette { animation: none; } }

/* =========================================================
   RETRO WIN 98 — turkuaz masaüstü, site bir pencere, altta görev çubuğu
   ========================================================= */
[data-theme="win98"] body { font-size: 1.02rem; line-height: 1.65; }
[data-theme="win98"] { scrollbar-color: #c0c0c0 #dfdfdf; }
/* Site bir pencere */
[data-theme="win98"] .shell {
  margin: 26px auto 70px; padding: 0 24px 6px; background: #c0c0c0;
  box-shadow: inset -1px -1px #0a0a0a, inset 1px 1px #dfdfdf, inset -2px -2px #808080, inset 2px 2px #fff, 4px 4px 0 rgba(0, 0, 0, 0.25);
}
[data-theme="win98"] .shell::before {
  content: "ei8htinwonderland — Günlük"; display: block; margin: 0 -21px; position: relative; top: 3px;
  height: 22px; padding: 2px 70px 0 6px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis;
  background: linear-gradient(90deg, #000080, #1084d0); color: #fff; font: 700 13px/18px Tahoma, Verdana, sans-serif;
}
[data-theme="win98"] .shell::after {
  /* simge durumuna küçült / ekranı kapla / kapat düğmeleri */
  content: ""; position: absolute; top: 8px; right: 8px; width: 52px; height: 14px;
  background:
    linear-gradient(#000, #000) 4px 9px / 6px 2px no-repeat,
    linear-gradient(#000, #000) 21px 3px / 8px 2px no-repeat,
    linear-gradient(#000, #000) 21px 3px / 1px 8px no-repeat,
    linear-gradient(#000, #000) 28px 3px / 1px 8px no-repeat,
    linear-gradient(#000, #000) 21px 10px / 8px 1px no-repeat,
    linear-gradient(45deg, transparent 45%, #000 45% 58%, transparent 58%) 40px 3px / 8px 8px no-repeat,
    linear-gradient(-45deg, transparent 45%, #000 45% 58%, transparent 58%) 40px 3px / 8px 8px no-repeat,
    linear-gradient(90deg, #c0c0c0 0 16px, transparent 16px 18px, #c0c0c0 18px 34px, transparent 34px 36px, #c0c0c0 36px);
  box-shadow: inset -1px -1px #0a0a0a, inset 1px 1px #fff;
}
[data-theme="win98"] .site-header { padding-top: 34px; }
[data-theme="win98"] .site-title { font-weight: 700; }
[data-theme="win98"] .site-title em { color: #808080; font-style: normal; }
[data-theme="win98"] .tagline { font-family: "Courier New", monospace; color: #000; }
/* Düğmeler: kabartma gri */
[data-theme="win98"] .theme-toggle,
[data-theme="win98"] .cat-filter a,
[data-theme="win98"] .cat-badge {
  background: #c0c0c0; color: #000; border: 0; border-radius: 0; backdrop-filter: none;
  box-shadow: inset -1px -1px #0a0a0a, inset 1px 1px #fff, inset -2px -2px #808080, inset 2px 2px #dfdfdf;
  font-family: Tahoma, Verdana, sans-serif;
}
[data-theme="win98"] .cat-filter a[aria-current="page"],
[data-theme="win98"] .theme-toggle[aria-expanded="true"] {
  box-shadow: inset 1px 1px #0a0a0a, inset -1px -1px #fff, inset 2px 2px #808080, inset -2px -2px #dfdfdf;
  color: #000; outline: 1px dotted #000; outline-offset: -5px;
}
[data-theme="win98"] .cat-filter .dot, [data-theme="win98"] .cat-badge { border-radius: 0; }
[data-theme="win98"] .main-nav a { color: #000; }
[data-theme="win98"] .main-nav a:hover { color: #000080; }
[data-theme="win98"] .main-nav a[aria-current="page"] { color: #000; border-bottom: 1px dotted #000; }
[data-theme="win98"] .main-nav a:first-letter { text-decoration: underline; }
/* Menü: Başlat menüsü gibi */
[data-theme="win98"] .theme-menu {
  background: #c0c0c0; border: 0; border-radius: 0; padding: 3px 3px 3px 26px; min-width: 230px;
  box-shadow: inset -1px -1px #0a0a0a, inset 1px 1px #dfdfdf, inset -2px -2px #808080, inset 2px 2px #fff, 3px 3px 0 rgba(0, 0, 0, 0.3);
}
[data-theme="win98"] .theme-menu::before {
  content: "ei8ht 98"; position: absolute; left: 3px; top: 3px; bottom: 3px; width: 21px;
  background: linear-gradient(0deg, #000080, #1084d0); color: #c0c0c0;
  writing-mode: vertical-rl; transform: rotate(180deg); font: 700 14px Tahoma, sans-serif; padding-top: 6px;
}
[data-theme="win98"] .theme-menu button { font-family: Tahoma, Verdana, sans-serif; font-size: 0.9rem; color: #000; border-radius: 0; padding: 6px 10px; }
[data-theme="win98"] .theme-menu button:hover, [data-theme="win98"] .theme-menu button:focus-visible { background: #000080; color: #fff; outline: none; }
[data-theme="win98"] .theme-menu button[aria-checked="true"] { color: #000; font-weight: 700; }
[data-theme="win98"] .theme-menu button[aria-checked="true"]:hover { color: #fff; }
[data-theme="win98"] .theme-menu .swatch { border-radius: 0; }
/* Yazı kartı: Not Defteri gibi beyaz, çukur kenarlı */
[data-theme="win98"] .post, [data-theme="win98"] .profile {
  background: #fff; border: 0; border-radius: 0;
  box-shadow: inset 1px 1px #808080, inset -1px -1px #fff, inset 2px 2px #0a0a0a, inset -2px -2px #dfdfdf;
}
[data-theme="win98"] .post-title, [data-theme="win98"] .page-title, [data-theme="win98"] .post-item h2 { font-family: Tahoma, Verdana, sans-serif; font-weight: 700; letter-spacing: 0; }
[data-theme="win98"] .post-item { border-bottom: 1px solid #808080; box-shadow: 0 1px 0 #fff; }
[data-theme="win98"] .post-item:hover h2 a { background: #000080; color: #fff; outline: 1px dotted #ffff00; text-decoration: none; }
[data-theme="win98"] .post-item h2 a::before { content: ""; display: inline-block; width: 14px; height: 16px; margin-right: 8px; vertical-align: -1px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 16' shape-rendering='crispEdges'%3E%3Cpath d='M.5.5h9l4 4v11H.5z' fill='%23fff' stroke='%23000'/%3E%3Cpath d='M3 6h8M3 8h8M3 10h8M3 12h6' stroke='%23000080'/%3E%3C/svg%3E") center / contain no-repeat; }
[data-theme="win98"] .prose blockquote { background: #ffffe1; border: 1px solid #000; border-left: 1px solid #000; padding: 8px 14px; font-style: normal; }
[data-theme="win98"] .prose a { color: #0000ee; text-decoration: underline; }
[data-theme="win98"] .prose a:visited { color: #551a8b; }
[data-theme="win98"] .prose code { background: #000; color: #c0c0c0; font-family: "Courier New", monospace; }
[data-theme="win98"] .divider::before, [data-theme="win98"] .divider::after { height: 2px; background: none; border-top: 1px solid #808080; border-bottom: 1px solid #fff; }
[data-theme="win98"] .divider span::before { content: "⊞"; color: #000080; }
[data-theme="win98"] .profile-photo { border-radius: 0; box-shadow: inset 1px 1px #808080, 0 0 0 2px #fff, 0 0 0 3px #808080; }
[data-theme="win98"] .site-footer { color: #000; }
[data-theme="win98"] ::selection { background: #000080; color: #fff; }
[data-theme="win98"] .read-progress { height: 10px; top: 0; box-shadow: none; transform: none; width: calc(var(--p, 0) * 100%);
  background: repeating-linear-gradient(90deg, #000080 0 8px, transparent 8px 10px); transition: opacity 0.3s, width 0.15s steps(3); }
[data-theme="win98"] .prose ul li::marker { content: "■  "; color: #000080; font-size: 0.8em; }
[data-theme="win98"] .prose h2::before { content: "▸"; color: #000080; }
[data-theme="win98"] .post .prose > p:first-child::first-letter { font-family: "Pixelify Sans", monospace; font-size: 1.6em; color: #000080; }
/* Görev çubuğu: Başlat düğmesi ve saat */
[data-theme="win98"] .deco { overflow: visible; }
[data-theme="win98"] .deco-a {
  position: fixed; left: 0; right: 0; top: auto; bottom: 0; height: 30px; background: #c0c0c0;
  box-shadow: inset 0 1px #dfdfdf, inset 0 2px #fff; z-index: 5;
}
[data-theme="win98"] .deco-a::before {
  content: "⊞ Başlat"; position: absolute; left: 3px; top: 4px; height: 22px; padding: 0 8px;
  font: 700 13px/22px Tahoma, Verdana, sans-serif; color: #000; background: #c0c0c0;
  box-shadow: inset -1px -1px #0a0a0a, inset 1px 1px #fff, inset -2px -2px #808080, inset 2px 2px #dfdfdf;
}
[data-theme="win98"] .deco-a::after {
  content: "♪  " var(--saat, ""); position: absolute; right: 3px; top: 4px; height: 22px; padding: 0 10px;
  font: 12px/22px Tahoma, Verdana, sans-serif; color: #000;
  box-shadow: inset 1px 1px #808080, inset -1px -1px #fff;
}
[data-theme="win98"] .player { bottom: 42px; }
/* Masaüstü simgeleri (geniş ekranda solda) */
[data-theme="win98"] .deco-b {
  left: 14px; top: 34px; width: 90px; height: 330px;
  background: url("../img/tema/win-masaustu.svg") center top / contain no-repeat;
}
@media (max-width: 1100px) { [data-theme="win98"] .deco-b { display: none; } }
@media (max-width: 560px) {
  [data-theme="win98"] .shell { margin: 10px 6px 50px; padding: 0 14px 6px; }
  [data-theme="win98"] .shell::before { margin: 0 -11px; }
  [data-theme="win98"] .post { --post-pad-x: 16px; }
}

/* =========================================================
   STUDIO GHIBLI — yaz göğü, süzülen bulutlar, yeşil tepeler, karahindiba tohumları
   ========================================================= */
[data-theme="ghibli"] .site-title { font-weight: 700; font-size: clamp(1.9rem, 7vw, 3.1rem); }
[data-theme="ghibli"] .site-title em { font-weight: 500; color: var(--accent-2); }
[data-theme="ghibli"] .post-title, [data-theme="ghibli"] .page-title { font-weight: 700; font-size: clamp(2.1rem, 6.5vw, 3rem); }
[data-theme="ghibli"] .post-item h2 { font-weight: 700; font-size: 1.9rem; }
/* Yanlardaki boşluklar: solda bulut ve kuşlar, sağda uçan ada; içerik sütununun üstünden geçmezler */
[data-theme="ghibli"] .deco-a {
  left: max(10px, calc(50vw - 380px - 330px)); top: 11vh; width: 260px; height: 122px;
  background: url("../img/tema/ghibli-bulut.svg") center / contain no-repeat;
  filter: drop-shadow(0 6px 10px rgba(80, 140, 190, 0.18)); opacity: 0.95;
  animation: gh-bob 14s ease-in-out infinite;
}
[data-theme="ghibli"] .deco-c {
  right: max(10px, calc(50vw - 380px - 300px)); top: 12vh; width: 240px; height: 240px;
  background: url("../img/tema/ghibli-ada.svg") center / contain no-repeat;
  filter: drop-shadow(0 10px 16px rgba(80, 140, 190, 0.2));
  animation: gh-bob 10s ease-in-out -3s infinite;
}
@keyframes gh-bob { 0%, 100% { transform: translate(0, 0); } 50% { transform: translate(14px, -10px); } }
/* Altta: her genişliğe yayılan tepeler, solda büyük ağaç, sağda ev ve yel değirmeni */
[data-theme="ghibli"] .deco-b {
  inset: 0; width: 100%; height: 100%;
  background:
    url("../img/tema/ghibli-agac.svg") left max(0px, calc(50vw - 380px - 600px)) bottom 24px / auto min(46vh, 380px) no-repeat,
    url("../img/tema/ghibli-koy.svg") right max(0px, calc(50vw - 380px - 620px)) bottom 34px / auto min(18vh, 150px) no-repeat,
    url("../img/tema/ghibli-tepe.svg") center bottom / 100% min(22vh, 200px) no-repeat;
}
/* Kuş sürüsü (sol tarafta, ağacın üstünde) */
[data-theme="ghibli"] .deco-d {
  left: max(10px, calc(50vw - 380px - 190px)); top: 34vh; width: 90px; height: 40px; opacity: 0.55;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 90 40'%3E%3Cg fill='none' stroke='%233a4e5c' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M4 14q6-6 12 0q6-6 12 0'/%3E%3Cpath d='M40 6q5-5 10 0q5-5 10 0'/%3E%3Cpath d='M56 26q4-4 8 0q4-4 8 0'/%3E%3C/g%3E%3C/svg%3E") center / contain no-repeat;
  animation: gh-birds 9s ease-in-out infinite;
}
@keyframes gh-birds { 0%, 100% { transform: translate(0, 0); } 50% { transform: translate(-24px, -8px); } }
@media (max-width: 1100px) {
  [data-theme="ghibli"] .deco-a, [data-theme="ghibli"] .deco-c, [data-theme="ghibli"] .deco-d { display: none; }
  [data-theme="ghibli"] .deco-b { background: url("../img/tema/ghibli-tepe.svg") center bottom / 100% min(18vh, 160px) no-repeat; opacity: 0.85; }
}
/* Soluk sözler */
[data-theme="ghibli"] .deco-words { display: block; position: absolute; inset: 0; }
[data-theme="ghibli"] .deco-words i { font-family: "Caveat", cursive; font-weight: 500; color: rgba(42, 90, 134, 0.16); }
[data-theme="ghibli"] .deco-words i:nth-child(1)::before { content: "Rüzgârı dinle"; }
[data-theme="ghibli"] .deco-words i:nth-child(2)::before { content: "Bir fincan çay ve yağmur sesi"; }
[data-theme="ghibli"] .deco-words i:nth-child(3)::before { content: "Ormanın kalbi atıyor"; }
[data-theme="ghibli"] .deco-words i:nth-child(4)::before { content: "Bulutların ardında bir şehir"; }
[data-theme="ghibli"] .deco-words i:nth-child(5)::before { content: "Küçük şeylerin büyüsü"; }
[data-theme="ghibli"] .deco-words i:nth-child(6)::before { content: "Eve dönüş yolu"; }
[data-theme="ghibli"] .deco-words i:nth-child(7)::before { content: "Yaşamayı denemeli"; }
[data-theme="ghibli"] .deco-words i:nth-child(1) { top: 22%; left: 3%; font-size: 2.2rem; transform: rotate(-5deg); }
[data-theme="ghibli"] .deco-words i:nth-child(2) { top: 60%; right: 2%; font-size: 1.7rem; transform: rotate(4deg); }
[data-theme="ghibli"] .deco-words i:nth-child(3) { top: 58%; left: 2%; font-size: 1.8rem; transform: rotate(3deg); }
[data-theme="ghibli"] .deco-words i:nth-child(4) { top: 8%; right: 6%; font-size: 1.6rem; transform: rotate(-3deg); }
[data-theme="ghibli"] .deco-words i:nth-child(5) { top: 36%; left: 5%; font-size: 1.5rem; transform: rotate(-2deg); }
[data-theme="ghibli"] .deco-words i:nth-child(6) { top: 48%; right: 7%; font-size: 1.6rem; transform: rotate(6deg); }
[data-theme="ghibli"] .deco-words i:nth-child(7) { display: none; top: 70%; right: 9%; font-size: 2rem; transform: rotate(-4deg); }
/* Kartlar: yumuşak, güneşli kâğıt */
[data-theme="ghibli"] .post, [data-theme="ghibli"] .profile { border: 0; box-shadow: 0 2px 0 rgba(255, 255, 255, 0.9) inset, 0 18px 40px rgba(60, 110, 140, 0.16); }
[data-theme="ghibli"] .theme-toggle, [data-theme="ghibli"] .cat-filter a { border-radius: 999px; }
[data-theme="ghibli"] .theme-menu { background: #fffdf6; box-shadow: 0 14px 40px rgba(60, 110, 140, 0.22); }
[data-theme="ghibli"] .post-item { border-bottom: 1px dashed rgba(63, 143, 90, 0.35); }
[data-theme="ghibli"] .post-item:hover { transform: translateY(-3px); }
[data-theme="ghibli"] .post-item h2 a::after { content: " ☘"; font-size: 0.7em; color: var(--accent); opacity: 0; transition: opacity 0.3s; }
[data-theme="ghibli"] .post-item:hover h2 a::after { opacity: 1; }
[data-theme="ghibli"] .prose blockquote { border-left: 0; background: rgba(140, 200, 236, 0.18); border-radius: 14px; padding: 14px 20px; position: relative; }
[data-theme="ghibli"] .prose blockquote::before { content: "☁"; position: absolute; right: 14px; top: 4px; color: rgba(42, 90, 134, 0.3); font-size: 1.6rem; }
[data-theme="ghibli"] .prose img { border-radius: 14px; box-shadow: 0 12px 28px rgba(60, 110, 140, 0.2); }
[data-theme="ghibli"] .gal-item button { border: 0; border-radius: 16px; box-shadow: 0 8px 20px rgba(60, 110, 140, 0.16); }
[data-theme="ghibli"] .divider span::before { content: "·  ☁  ·"; letter-spacing: 0.2em; }
[data-theme="ghibli"] .profile-photo { box-shadow: 0 0 0 4px #fff, 0 0 0 6px rgba(63, 143, 90, 0.5), 0 10px 24px rgba(60, 110, 140, 0.25); }
[data-theme="ghibli"] .read-progress { height: 4px; border-radius: 0 4px 4px 0; background: linear-gradient(90deg, #3f8f5a, #e09a32); box-shadow: none; }
[data-theme="ghibli"] .prose ul li::marker { content: "☘  "; color: var(--accent); }
[data-theme="ghibli"] .prose h2::before { content: "☁"; color: #6aaee0; }
[data-theme="ghibli"] .post .prose > p:first-child::first-letter { font-family: "Caveat", cursive; font-weight: 700; font-size: 2.6em; float: left; line-height: 0.9; margin: 0.05em 0.12em 0 0; color: var(--accent-text); }
[data-theme="ghibli"] .post .prose > p:first-child { display: flow-root; }
[data-theme="ghibli"] ::selection { background: rgba(224, 154, 50, 0.6); color: #2f3a30; }
@media (max-width: 1100px) { [data-theme="ghibli"] .deco-words i { color: rgba(42, 90, 134, 0.08); } }
@media (max-width: 560px) {
  [data-theme="ghibli"] .deco-words i { font-size: 1.1rem !important; }
  [data-theme="ghibli"] .deco-b { opacity: 0.6; }
}
@media (prefers-reduced-motion: reduce) { [data-theme="ghibli"] .deco-a, [data-theme="ghibli"] .deco-c, [data-theme="ghibli"] .deco-d { animation: none; } }

/* =========================================================
   LOVECRAFT — derinlikten yükselen dokunaçlar, karanlıkta açılan göz, fısıltılar
   ========================================================= */
[data-theme="lovecraft"] .site-title { font-weight: 700; }
[data-theme="lovecraft"] .site-title:hover { animation: lc-warp 1.2s ease-in-out; }
@keyframes lc-warp { 30% { transform: skewX(-6deg) scaleY(1.04); filter: blur(0.6px); } 60% { transform: skewX(4deg); filter: none; } }
[data-theme="lovecraft"] .post-title, [data-theme="lovecraft"] .page-title, [data-theme="lovecraft"] .post-item h2 { font-weight: 700; }
/* Dokunaçlar: iki yanda, alttan yükselir ve yavaşça kıvrılır */
[data-theme="lovecraft"] .deco-a, [data-theme="lovecraft"] .deco-b {
  top: auto; bottom: -20px; width: min(26vw, 300px); aspect-ratio: 300 / 420;
  background: linear-gradient(0deg, #143a32, #1f5246 50%, rgba(31, 82, 70, 0.25));
  -webkit-mask: url("../img/tema/lovecraft-dokunac.svg") center bottom / contain no-repeat;
          mask: url("../img/tema/lovecraft-dokunac.svg") center bottom / contain no-repeat;
  transform-origin: 50% 100%; opacity: 0.9;
}
[data-theme="lovecraft"] .deco-a { left: -30px; animation: lc-sway 12s ease-in-out infinite; }
[data-theme="lovecraft"] .deco-b { right: -30px; animation: lc-sway2 14s ease-in-out infinite; }
@keyframes lc-sway { 0%, 100% { transform: rotate(-2deg) scaleY(1); } 50% { transform: rotate(3deg) scaleY(1.04); } }
@keyframes lc-sway2 { 0%, 100% { transform: scaleX(-1) rotate(-2deg); } 50% { transform: scaleX(-1) rotate(3deg) scaleY(1.05); } }
/* Karanlıkta açılıp kapanan göz */
[data-theme="lovecraft"] .deco-c {
  right: max(16px, calc((100vw - 760px) / 2 - 210px)); top: 22vh; width: 150px; height: 75px;
  background: url("../img/tema/lovecraft-goz.svg") center / contain no-repeat;
  filter: drop-shadow(0 0 18px rgba(98, 209, 174, 0.35)); opacity: 0.55;
}
/* Dipten yükselen sis */
[data-theme="lovecraft"] .deco-d {
  left: 0; right: 0; bottom: 0; top: auto; width: 100%; height: 40vh;
  background: linear-gradient(0deg, rgba(30, 90, 75, 0.28), transparent);
  animation: lc-fog 10s ease-in-out infinite;
}
@keyframes lc-fog { 0%, 100% { opacity: 0.6; } 50% { opacity: 1; } }
/* Fısıltılar */
[data-theme="lovecraft"] .deco-words { display: block; position: absolute; inset: 0; }
[data-theme="lovecraft"] .deco-words i { font-family: "Almendra", serif; font-style: italic; color: rgba(98, 209, 174, 0.11); }
[data-theme="lovecraft"] .deco-words i:nth-child(1)::before { content: "O ölü değil"; }
[data-theme="lovecraft"] .deco-words i:nth-child(2)::before { content: "Derinlerden çağırıyor"; }
[data-theme="lovecraft"] .deco-words i:nth-child(3)::before { content: "Gözlerini kapatma"; }
[data-theme="lovecraft"] .deco-words i:nth-child(4)::before { content: "Yıldızlar doğru dizildiğinde"; }
[data-theme="lovecraft"] .deco-words i:nth-child(5)::before { content: "Bilmemen daha iyi"; }
[data-theme="lovecraft"] .deco-words i:nth-child(6)::before { content: "Rüyasında bekliyor"; }
[data-theme="lovecraft"] .deco-words i:nth-child(7)::before { content: "Okyanusun dibinde bir şehir"; }
[data-theme="lovecraft"] .deco-words i:nth-child(1) { top: 14%; left: 3%; font-size: 2rem; transform: rotate(-7deg); animation: lc-whisper 8s ease-in-out infinite; }
[data-theme="lovecraft"] .deco-words i:nth-child(2) { top: 44%; right: 3%; font-size: 1.6rem; transform: rotate(5deg); }
[data-theme="lovecraft"] .deco-words i:nth-child(3) { top: 38%; left: 2%; font-size: 1.3rem; transform: rotate(3deg); animation: lc-whisper 11s ease-in-out 3s infinite; }
[data-theme="lovecraft"] .deco-words i:nth-child(4) { top: 8%; right: 10%; font-size: 1.3rem; transform: rotate(-3deg); }
[data-theme="lovecraft"] .deco-words i:nth-child(5) { top: 62%; left: 5%; font-size: 1.2rem; transform: rotate(-2deg); }
[data-theme="lovecraft"] .deco-words i:nth-child(6) { top: 52%; left: 26%; font-size: 4.2rem; transform: rotate(-10deg); color: rgba(98, 209, 174, 0.04); }
[data-theme="lovecraft"] .deco-words i:nth-child(7) { top: 66%; right: 8%; font-size: 1.3rem; transform: rotate(4deg); }
@keyframes lc-whisper { 0%, 100% { opacity: 1; filter: none; } 50% { opacity: 0.3; filter: blur(1.5px); } }
/* Kart: eski, nemli bir el yazmasının sayfası */
[data-theme="lovecraft"] .post { box-shadow: inset 0 0 60px rgba(0, 0, 0, 0.6), 0 0 40px rgba(63, 174, 143, 0.06); }
[data-theme="lovecraft"] .post::before, [data-theme="lovecraft"] .post::after { position: absolute; color: var(--accent-text); opacity: 0.5; font-size: 1rem; line-height: 1; }
[data-theme="lovecraft"] .post::before { content: "✶"; top: 14px; left: 16px; }
[data-theme="lovecraft"] .post::after { content: "✶"; bottom: 14px; right: 16px; }
[data-theme="lovecraft"] .post-item h2 a::before { content: "◉ "; font-size: 0.6em; vertical-align: 0.2em; color: var(--accent-text); }
[data-theme="lovecraft"] .post-item:hover h2 a { text-shadow: 0 0 14px rgba(98, 209, 174, 0.7); letter-spacing: 0.02em; }
[data-theme="lovecraft"] .prose blockquote { border-left: 2px solid var(--accent-2); color: #d8c98e; font-style: italic; background: linear-gradient(90deg, rgba(168, 146, 74, 0.1), transparent); padding: 10px 18px; }
[data-theme="lovecraft"] .prose img { filter: sepia(0.35) hue-rotate(120deg) saturate(0.7) brightness(0.9); transition: filter 0.6s; border: 1px solid var(--line); }
[data-theme="lovecraft"] .prose img:hover { filter: none; }
[data-theme="lovecraft"] .gal-item img { filter: sepia(0.3) hue-rotate(120deg) saturate(0.7); }
[data-theme="lovecraft"] .divider span::before { content: "✶  ◉  ✶"; letter-spacing: 0.15em; }
[data-theme="lovecraft"] .profile-photo { box-shadow: 0 0 0 2px var(--bg), 0 0 0 3px var(--accent), 0 0 26px rgba(63, 174, 143, 0.45); }
[data-theme="lovecraft"] .read-progress { background: linear-gradient(90deg, #0e2c26, #3fae8f, #c8f0d8); box-shadow: 0 0 12px rgba(63, 174, 143, 0.7); }
[data-theme="lovecraft"] .prose ul li::marker { content: "◉  "; color: var(--accent-text); font-size: 0.8em; }
[data-theme="lovecraft"] .prose h2::before { content: "✶"; }
[data-theme="lovecraft"] .post .prose > p:first-child::first-letter { font-family: "Almendra", serif; font-weight: 700; font-size: 2.8em; float: left; line-height: 0.85; margin: 0.06em 0.12em 0 0; color: var(--accent-text); text-shadow: 0 0 16px rgba(63, 174, 143, 0.5); }
[data-theme="lovecraft"] .post .prose > p:first-child { display: flow-root; }
[data-theme="lovecraft"] ::selection { background: #1f6b58; color: #fff; }
@media (max-width: 1100px) { [data-theme="lovecraft"] .deco-c { opacity: 0.2; } [data-theme="lovecraft"] .deco-a, [data-theme="lovecraft"] .deco-b { opacity: 0.45; } }
@media (max-width: 560px) {
  [data-theme="lovecraft"] .deco-words i { font-size: 1rem !important; }
  [data-theme="lovecraft"] .deco-c { display: none; }
  [data-theme="lovecraft"] .deco-a, [data-theme="lovecraft"] .deco-b { width: 36vw; opacity: 0.35; }
}
@media (prefers-reduced-motion: reduce) { [data-theme="lovecraft"] .deco-a, [data-theme="lovecraft"] .deco-b, [data-theme="lovecraft"] .deco-d, [data-theme="lovecraft"] .deco-words i { animation: none; } }

/* Hollow Knight: büyük harfli geniş başlık tema düğmesine yapışmasın */
[data-theme="hollowknight"] .site-title { font-size: clamp(1.2rem, 4.4vw, 2.2rem); letter-spacing: 0.06em; }
[data-theme="hollowknight"] .site-header { column-gap: 28px; }
@media (min-width: 1101px) and (max-width: 1800px) {
  [data-theme="ghibli"] .deco-b { background: url("../img/tema/ghibli-tepe.svg") center bottom / 100% min(20vh, 180px) no-repeat; }
  [data-theme="ghibli"] .deco-c { width: 170px; height: 170px; right: 8px; }
  [data-theme="ghibli"] .deco-a { width: 190px; height: 90px; left: 8px; }
}

/* =========================================================
   YAN BOŞLUK ÇİZİMLERİ — çok geniş ekranda (≥1800px), yan kartların dışında içerik sütununun iki yanında
   .side-l sağ kenarı içerikten 60px solda, .side-r sol kenarı içerikten 60px sağda durur
   ========================================================= */
.side { display: none; }
@media (min-width: 1800px) {
  .side { display: block; position: absolute; bottom: 0; background-repeat: no-repeat; background-size: contain; background-position: center bottom; }
  .side-l { right: calc(50vw + 380px + 300px); }
  .side-r { left: calc(50vw + 380px + 300px); }

  /* Bloodborne: solda gaz lambası, sağda katedral kulesi */
  [data-theme="bloodborne"] .side-l { width: 150px; height: min(62vh, 560px); background-image: url("../img/tema/yan-bb-fener.svg"); }
  [data-theme="bloodborne"] .side-r { width: 200px; height: min(66vh, 600px); background-image: url("../img/tema/yan-bb-kule.svg"); opacity: 0.9; }

  /* Dark Souls: sağda yıkık kemer ve saplı kılıç (solda şenlik ateşi zaten var) */
  [data-theme="darksouls"] .side-r { width: 250px; height: min(54vh, 500px); background-image: url("../img/tema/yan-ds-kemer.svg"); }

  /* Cyberpunk: solda dikey neon tabela, sağda anten */
  [data-theme="cyberpunk"] .side-l {
    bottom: 26vh; width: 64px; height: auto; padding: 14px 0; text-align: center;
    border: 2px solid #ff2a6d; border-radius: 6px; background: rgba(10, 10, 18, 0.7);
    box-shadow: 0 0 14px rgba(255, 42, 109, 0.6), inset 0 0 12px rgba(255, 42, 109, 0.3);
    animation: side-neon 5s steps(1) infinite;
  }
  [data-theme="cyberpunk"] .side-l::before {
    content: "N\A E\A O\A N\A ·\A 2\A 4"; white-space: pre; font: 700 1.5rem/1.1 "Chakra Petch", sans-serif;
    color: #ffd0de; text-shadow: 0 0 6px #ff2a6d, 0 0 14px #ff2a6d;
  }
  [data-theme="cyberpunk"] .side-r { width: 180px; height: min(66vh, 600px); background-image: url("../img/tema/yan-cp-anten.svg"); }

  /* Hollow Knight: solda sarkan ışık feneri, sağda kristalli kayalar */
  [data-theme="hollowknight"] .side-l { top: 0; bottom: auto; width: 110px; height: min(56vh, 480px); background-image: url("../img/tema/yan-hk-fener.svg"); background-position: center top; animation: side-sway 8s ease-in-out infinite; transform-origin: 50% 0; }
  [data-theme="hollowknight"] .side-r { width: 250px; height: min(44vh, 400px); background-image: url("../img/tema/yan-hk-kristal.svg"); }

  /* Silent Hill: solda paslı lamba ve tabela, sisin içinde */
  [data-theme="silenthill"] .side-l { width: 210px; height: min(64vh, 590px); background-image: url("../img/tema/yan-sh-lamba.svg"); opacity: 0.8; filter: blur(0.4px); }
  [data-theme="silenthill"] .side-r { width: 260px; height: 100%; background: linear-gradient(90deg, transparent, rgba(200, 196, 186, 0.12) 50%, transparent); animation: side-fog 14s ease-in-out infinite; }

  /* Madoka: solda vitray pencere */
  [data-theme="madoka"] .side-l { bottom: 18vh; width: 190px; height: min(44vh, 400px); background-image: url("../img/tema/yan-md-pencere.svg"); opacity: 0.85; filter: drop-shadow(0 0 20px rgba(255, 143, 191, 0.35)); }

  /* Undertale: solda piksel çiçekler, sağda diyalog kutusu */
  [data-theme="undertale"] .side-l { width: 220px; height: 140px; background-image: url("../img/tema/yan-ut-cicek.svg"); image-rendering: pixelated; bottom: 10px; }
  [data-theme="undertale"] .side-r {
    bottom: 22vh; width: 250px; padding: 14px 16px; border: 4px solid #fff; background: #000;
    font: 1.35rem/1.35 "VT323", monospace; color: #fff;
  }
  [data-theme="undertale"] .side-r::before { content: "* Burada yazılar okuyan biri var.\A\A* Bu içini azimle dolduruyor."; white-space: pre-wrap; }
  [data-theme="undertale"] .side-r::after { content: "▼"; position: absolute; right: 10px; bottom: 4px; font-size: 0.9rem; animation: cp-blink 1s steps(1) infinite; }

  /* Evangelion: sağda dikey uyarı paneli */
  [data-theme="evangelion"] .side-r {
    bottom: 20vh; width: 92px; height: min(46vh, 420px);
    background: repeating-linear-gradient(-45deg, #ff7a1a 0 14px, #0c0a12 14px 28px);
    border: 2px solid #ff7a1a; opacity: 0.75;
  }
  [data-theme="evangelion"] .side-r::before {
    content: "UYARI · ACİL DURUM"; position: absolute; inset: 10px; display: flex; align-items: center; justify-content: center;
    writing-mode: vertical-rl; background: #0c0a12; color: #ff7a1a; font: 700 1.2rem "Barlow Condensed", sans-serif; letter-spacing: 0.3em;
    animation: side-neon 3s steps(1) infinite;
  }
}
@keyframes side-neon { 0%, 92%, 96% { opacity: 1; } 94%, 98% { opacity: 0.35; } }
@keyframes side-sway { 0%, 100% { transform: rotate(-2deg); } 50% { transform: rotate(2deg); } }
@keyframes side-fog { 0%, 100% { opacity: 0.4; transform: translateX(-30px); } 50% { opacity: 1; transform: translateX(30px); } }
@media (prefers-reduced-motion: reduce) { .side, .side::before, .side::after { animation: none !important; } }

/* =========================================================
   PERSONA 3 — dev ay, gece yarısında duran saat, şehir silueti ve kıvrık kule
   ========================================================= */
[data-theme="persona3"] .site-title { font-weight: 800; font-style: italic; }
[data-theme="persona3"] .site-title em { color: var(--accent-2); text-transform: lowercase; }
[data-theme="persona3"] .post-title, [data-theme="persona3"] .page-title, [data-theme="persona3"] .post-item h2 { font-weight: 800; font-style: italic; letter-spacing: 0.02em; }
/* Gökte yeşilimsi dev ay */
[data-theme="persona3"] .deco-a {
  right: max(-80px, calc((100vw - 760px) / 2 - 360px)); top: -60px; width: 340px; height: 340px; border-radius: 50%;
  background: radial-gradient(circle at 40% 40%, #f4ffd0, #d6ef96 45%, #a8cf6a 70%, #7fa84a);
  box-shadow: 0 0 80px 20px rgba(200, 235, 140, 0.25), 0 0 200px 60px rgba(200, 235, 140, 0.1);
  opacity: 0.8;
}
/* Gece yarısı şehir silueti */
[data-theme="persona3"] .deco-b {
  left: 0; right: 0; bottom: 0; top: auto; width: 100%; height: min(30vh, 260px);
  background: url("../img/tema/p3-sehir.svg") center bottom / cover no-repeat;
}
/* Gece yarısında duran saat */
[data-theme="persona3"] .deco-c {
  left: max(16px, calc((100vw - 760px) / 2 - 220px)); top: 30vh; width: 150px; height: 150px;
  background: url("../img/tema/p3-saat.svg") center / contain no-repeat; opacity: 0.55;
  filter: drop-shadow(0 0 12px rgba(61, 139, 255, 0.5));
}
/* Karanlık Saat'in yeşil tonu: arada bir ekran yeşile döner */
[data-theme="persona3"] .deco-d { inset: 0; width: 100%; height: 100%; background: rgba(120, 200, 90, 0.07); mix-blend-mode: screen; opacity: 0; animation: p3-dark 24s ease-in-out infinite; }
@keyframes p3-dark { 0%, 80%, 100% { opacity: 0; } 86%, 92% { opacity: 1; } }
[data-theme="persona3"] .deco-words { display: block; position: absolute; inset: 0; }
[data-theme="persona3"] .deco-words i { font-family: "Montserrat", sans-serif; font-weight: 800; font-style: italic; color: rgba(116, 180, 255, 0.1); text-transform: uppercase; }
[data-theme="persona3"] .deco-words i:nth-child(1)::before { content: "Memento mori"; }
[data-theme="persona3"] .deco-words i:nth-child(2)::before { content: "00:00"; }
[data-theme="persona3"] .deco-words i:nth-child(3)::before { content: "Karanlık Saat"; }
[data-theme="persona3"] .deco-words i:nth-child(4)::before { content: "Zaman durdu"; }
[data-theme="persona3"] .deco-words i:nth-child(5)::before { content: "Ay doluyor"; }
[data-theme="persona3"] .deco-words i:nth-child(6)::before { content: "Bugün hâlâ yaşıyorsun"; }
[data-theme="persona3"] .deco-words i:nth-child(7)::before { content: "Uyan"; }
[data-theme="persona3"] .deco-words i:nth-child(1) { top: 16%; left: 3%; font-size: 2rem; transform: rotate(-4deg); }
[data-theme="persona3"] .deco-words i:nth-child(2) { top: 56%; right: 4%; font-size: 4rem; color: rgba(29, 233, 255, 0.07); }
[data-theme="persona3"] .deco-words i:nth-child(3) { top: 60%; left: 4%; font-size: 1.4rem; }
[data-theme="persona3"] .deco-words i:nth-child(4) { top: 40%; right: 6%; font-size: 1.3rem; transform: rotate(3deg); }
[data-theme="persona3"] .deco-words i:nth-child(5) { top: 74%; left: 9%; font-size: 1.2rem; }
[data-theme="persona3"] .deco-words i:nth-child(6) { top: 30%; right: 3%; font-size: 1.1rem; transform: rotate(-2deg); }
[data-theme="persona3"] .deco-words i:nth-child(7) { top: 8%; left: 30%; font-size: 1.2rem; }
[data-theme="persona3"] .post { border-left: 3px solid var(--accent); box-shadow: 0 0 40px rgba(61, 139, 255, 0.08); }
[data-theme="persona3"] .post-item:hover { transform: translateX(6px); }
[data-theme="persona3"] .post-item:hover h2 a { text-shadow: 0 0 14px rgba(29, 233, 255, 0.6); }
[data-theme="persona3"] .post-item h2 a::before { content: "☾ "; color: var(--accent-2); font-style: normal; font-size: 0.8em; }
[data-theme="persona3"] .divider span::before { content: "☾  00:00  ☾"; letter-spacing: 0.15em; font-family: "Montserrat", sans-serif; font-weight: 800; font-size: 0.75rem; }
[data-theme="persona3"] .prose blockquote { border-left-color: var(--accent-2); background: linear-gradient(90deg, rgba(29, 233, 255, 0.08), transparent); }
[data-theme="persona3"] .prose ul li::marker { content: "▹  "; color: var(--accent-2); }
[data-theme="persona3"] .prose h2::before { content: "☾"; color: var(--accent-2); }
[data-theme="persona3"] .read-progress { background: linear-gradient(90deg, #3d8bff, #1de9ff); box-shadow: 0 0 10px rgba(29, 233, 255, 0.7); }
[data-theme="persona3"] .post .prose > p:first-child::first-letter { font-family: "Montserrat", sans-serif; font-weight: 800; font-style: italic; font-size: 2.6em; float: left; line-height: 0.9; margin: 0.04em 0.12em 0 0; color: var(--accent-text); }
[data-theme="persona3"] .post .prose > p:first-child { display: flow-root; }
[data-theme="persona3"] ::selection { background: #3d8bff; color: #fff; }

/* =========================================================
   PERSONA 5 — kırmızı/siyah/beyaz, keskin açılar, kesilmiş harfler, yıldızlar
   ========================================================= */
[data-theme="persona5"] .site-title { transform: skewX(-8deg) rotate(-1.5deg); }
[data-theme="persona5"] .site-title em { background: #fff; color: #0d0d0d; text-shadow: none; padding: 0 0.15em; text-transform: uppercase; font-style: normal; transform: rotate(4deg); display: inline-block; box-shadow: 3px 3px 0 #e60012; }
[data-theme="persona5"] .tagline { color: #fff; background: #0d0d0d; display: inline-block; padding: 1px 8px; transform: skewX(-10deg); border-left: 4px solid #e60012; }
[data-theme="persona5"] .post-title, [data-theme="persona5"] .page-title { transform: skewX(-6deg); text-shadow: 4px 4px 0 #e60012; }
/* Sağ kenarda çapraz kırmızı şerit ve siyah yıldız patlaması */
[data-theme="persona5"] .deco-a {
  right: -6vw; top: 0; width: max(22vw, 240px); height: 100%;
  background: #e60012; clip-path: polygon(40% 0, 100% 0, 100% 100%, 0 100%);
  opacity: 0.85;
}
[data-theme="persona5"] .deco-a::after {
  content: ""; position: absolute; left: 30%; top: 30%; width: 220px; height: 220px; background: #0d0d0d;
  clip-path: polygon(50% 0, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%);
  animation: p5-spin 40s linear infinite;
}
@keyframes p5-spin { to { transform: rotate(360deg); } }
/* Benekli (halftone) doku */
[data-theme="persona5"] .deco-b { inset: 0; width: 100%; height: 100%; background: radial-gradient(rgba(255, 255, 255, 0.07) 1.2px, transparent 1.6px) 0 0 / 10px 10px; }
/* Tehdit kartı */
[data-theme="persona5"] .deco-c {
  left: max(14px, calc((100vw - 760px) / 2 - 240px)); top: 34vh; width: 170px; height: 232px;
  background: url("../img/tema/p5-kart.svg") center / contain no-repeat; transform: rotate(-8deg);
  filter: drop-shadow(6px 6px 0 rgba(0, 0, 0, 0.6)); animation: p5-card 6s ease-in-out infinite;
}
@keyframes p5-card { 0%, 100% { transform: rotate(-8deg); } 50% { transform: rotate(-5deg) translateY(-6px); } }
/* Sol altta kırmızı keskin şekil */
[data-theme="persona5"] .deco-d { left: -40px; bottom: -40px; width: 300px; height: 220px; background: #e60012; clip-path: polygon(0 30%, 70% 0, 100% 60%, 40% 100%, 0 100%); opacity: 0.6; }
[data-theme="persona5"] .deco-words { display: block; position: absolute; inset: 0; }
[data-theme="persona5"] .deco-words i { font-family: "Anton", sans-serif; text-transform: uppercase; color: rgba(255, 255, 255, 0.07); transform: skewX(-10deg); }
[data-theme="persona5"] .deco-words i:nth-child(1)::before { content: "Uyan"; }
[data-theme="persona5"] .deco-words i:nth-child(2)::before { content: "Maskeni tak"; }
[data-theme="persona5"] .deco-words i:nth-child(3)::before { content: "Asi ol"; }
[data-theme="persona5"] .deco-words i:nth-child(4)::before { content: "Kalpleri çal"; }
[data-theme="persona5"] .deco-words i:nth-child(5)::before { content: "Özgür ol"; }
[data-theme="persona5"] .deco-words i:nth-child(6)::before { content: "Gösteri zamanı"; }
[data-theme="persona5"] .deco-words i:nth-child(7)::before { content: "Bu bir oyun değil"; }
[data-theme="persona5"] .deco-words i:nth-child(1) { top: 12%; left: 4%; font-size: 3rem; }
[data-theme="persona5"] .deco-words i:nth-child(2) { top: 62%; left: 3%; font-size: 1.8rem; }
[data-theme="persona5"] .deco-words i:nth-child(3) { top: 24%; right: 26%; font-size: 1.4rem; color: rgba(13, 13, 13, 0.35); }
[data-theme="persona5"] .deco-words i:nth-child(4) { top: 78%; left: 12%; font-size: 1.5rem; }
[data-theme="persona5"] .deco-words i:nth-child(5) { top: 50%; right: 3%; font-size: 2rem; color: rgba(13, 13, 13, 0.4); }
[data-theme="persona5"] .deco-words i:nth-child(6) { top: 8%; right: 8%; font-size: 1.3rem; color: rgba(13, 13, 13, 0.4); }
[data-theme="persona5"] .deco-words i:nth-child(7) { top: 88%; right: 30%; font-size: 1.2rem; }
/* Kartlar: köşeleri kesik, kırmızı gölgeli */
[data-theme="persona5"] .post, [data-theme="persona5"] .profile { border: 3px solid #fff; box-shadow: 8px 8px 0 #e60012; clip-path: polygon(0 0, 100% 0, 100% calc(100% - 18px), calc(100% - 18px) 100%, 0 100%); }
[data-theme="persona5"] .post-item { border-bottom: 2px solid rgba(230, 0, 18, 0.6); }
[data-theme="persona5"] .post-item h2 a { display: inline-block; transition: transform 0.15s, background 0.15s; }
[data-theme="persona5"] .post-item:hover h2 a { background: #e60012; color: #fff !important; transform: skewX(-8deg) translateX(4px); padding: 0 6px; text-decoration: none; }
[data-theme="persona5"] .post-item h2 a::before { content: "★ "; color: var(--accent-text); }
[data-theme="persona5"] .post-item:hover h2 a::before { color: #0d0d0d; }
[data-theme="persona5"] .cat-badge, [data-theme="persona5"] .cat-filter a, [data-theme="persona5"] .theme-toggle { border-radius: 0; transform: skewX(-8deg); }
[data-theme="persona5"] .theme-menu { border: 3px solid #fff; box-shadow: 6px 6px 0 #e60012; }
[data-theme="persona5"] .theme-menu button:hover { background: #e60012; color: #fff; }
[data-theme="persona5"] .divider::before, [data-theme="persona5"] .divider::after { height: 3px; background: linear-gradient(90deg, transparent, #e60012, transparent); }
[data-theme="persona5"] .divider span::before { content: "★"; font-size: 1.1rem; }
[data-theme="persona5"] .prose blockquote { border: 0; background: #fff; color: #0d0d0d; padding: 12px 18px; transform: rotate(-1deg); box-shadow: 5px 5px 0 #e60012; font-style: normal; }
[data-theme="persona5"] .prose a { color: #ff4a4a; }
[data-theme="persona5"] .prose ul li::marker { content: "★  "; color: var(--accent-text); }
[data-theme="persona5"] .prose h2::before { content: "▶"; color: var(--accent-text); }
[data-theme="persona5"] .profile-photo { border-radius: 0; clip-path: polygon(8% 0, 100% 4%, 92% 100%, 0 94%); box-shadow: none; }
[data-theme="persona5"] .read-progress { height: 5px; background: repeating-linear-gradient(-45deg, #e60012 0 10px, #fff 10px 14px); box-shadow: none; }
[data-theme="persona5"] .post .prose > p:first-child::first-letter { font-family: "Anton", sans-serif; font-size: 2.8em; float: left; line-height: 0.9; margin: 0.04em 0.12em 0 0; padding: 0 0.1em; color: #fff; background: #e60012; transform: rotate(-4deg); }
[data-theme="persona5"] .post .prose > p:first-child { display: flow-root; }
[data-theme="persona5"] ::selection { background: #e60012; color: #fff; }
@media (max-width: 1100px) { [data-theme="persona5"] .deco-a { opacity: 0.35; } [data-theme="persona5"] .deco-c { opacity: 0.25; } }

/* =========================================================
   ELDEN RING — ufukta altın ağaç, sisli tepeler, lütuf ışığı, altın parçacıklar
   ========================================================= */
[data-theme="eldenring"] .site-title { font-weight: 600; font-size: clamp(1.2rem, 4.2vw, 2.15rem); }
[data-theme="eldenring"] .site-title em { color: var(--accent-text); text-transform: lowercase; font-family: "Cormorant Garamond", serif; font-style: italic; }
/* Ufukta altın ağaç: içeriğin arkasında, çok soluk */
[data-theme="eldenring"] .deco-a {
  left: 50%; bottom: 8vh; width: min(70vh, 560px); height: min(84vh, 760px); margin-left: calc(min(70vh, 560px) / -2);
  background: url("../img/tema/er-agac.svg") center bottom / contain no-repeat; opacity: 0.22;
  animation: er-glow 8s ease-in-out infinite;
}
@keyframes er-glow { 0%, 100% { opacity: 0.18; } 50% { opacity: 0.28; } }
/* Sisli tepeler ve kale siluetleri */
[data-theme="eldenring"] .deco-b {
  left: 0; right: 0; bottom: 0; top: auto; width: 100%; height: min(24vh, 220px);
  background: url("../img/tema/er-tepe.svg") center bottom / cover no-repeat;
}
/* Lütuf ışığı: solda yerde parlayan altın ışık */
[data-theme="eldenring"] .deco-c {
  left: max(20px, calc((100vw - 760px) / 2 - 200px)); bottom: 14vh; width: 90px; height: 120px;
  background: radial-gradient(ellipse 30% 50% at 50% 70%, #fff3c8, rgba(230, 191, 92, 0.6) 40%, transparent 70%);
  filter: blur(1px); animation: er-grace 3s ease-in-out infinite;
}
[data-theme="eldenring"] .deco-c::after {
  content: ""; position: absolute; left: 50%; top: 20%; width: 2px; height: 60%; margin-left: -1px;
  background: linear-gradient(transparent, #fff3c8, transparent); box-shadow: 0 0 12px #e6bf5c;
}
@keyframes er-grace { 0%, 100% { transform: scale(1); opacity: 0.85; } 50% { transform: scale(1.08); opacity: 1; } }
/* Sağda dönen altın rün halkası */
[data-theme="eldenring"] .deco-d {
  right: max(16px, calc((100vw - 760px) / 2 - 220px)); top: 22vh; width: 140px; height: 140px; border-radius: 50%;
  border: 1px solid rgba(230, 191, 92, 0.4); box-shadow: inset 0 0 0 10px transparent, inset 0 0 0 11px rgba(230, 191, 92, 0.25), 0 0 30px rgba(230, 191, 92, 0.15);
  animation: p5-spin 60s linear infinite; opacity: 0.7;
}
[data-theme="eldenring"] .deco-d::before {
  content: "ᚱ ᛟ ᚨ ᛖ ᛚ ᛞ ᛁ ᚾ ᚷ ᚱ ᛟ ᚨ"; position: absolute; inset: 0; display: grid; place-items: center;
  font-size: 0.85rem; letter-spacing: 0.4em; color: rgba(230, 191, 92, 0.55); text-align: center; padding: 28px;
}
[data-theme="eldenring"] .deco-words { display: block; position: absolute; inset: 0; }
[data-theme="eldenring"] .deco-words i { font-family: "Cinzel", serif; color: rgba(230, 191, 92, 0.1); letter-spacing: 0.08em; }
[data-theme="eldenring"] .deco-words i:nth-child(1)::before { content: "Lütfun ışığı"; }
[data-theme="eldenring"] .deco-words i:nth-child(2)::before { content: "Kayıp topraklar"; }
[data-theme="eldenring"] .deco-words i:nth-child(3)::before { content: "Rünler fısıldıyor"; }
[data-theme="eldenring"] .deco-words i:nth-child(4)::before { content: "Işığı takip et"; }
[data-theme="eldenring"] .deco-words i:nth-child(5)::before { content: "Bir zamanlar bir taç vardı"; }
[data-theme="eldenring"] .deco-words i:nth-child(6)::before { content: "Yolun sonu yok"; }
[data-theme="eldenring"] .deco-words i:nth-child(7)::before { content: "Altın ağacın gölgesinde"; }
[data-theme="eldenring"] .deco-words i:nth-child(1) { top: 14%; left: 3%; font-size: 1.6rem; }
[data-theme="eldenring"] .deco-words i:nth-child(2) { top: 58%; right: 3%; font-size: 1.4rem; }
[data-theme="eldenring"] .deco-words i:nth-child(3) { top: 40%; left: 2%; font-size: 1.2rem; }
[data-theme="eldenring"] .deco-words i:nth-child(4) { top: 8%; right: 10%; font-size: 1.2rem; }
[data-theme="eldenring"] .deco-words i:nth-child(5) { top: 66%; left: 4%; font-size: 1.1rem; }
[data-theme="eldenring"] .deco-words i:nth-child(6) { top: 46%; right: 5%; font-size: 1.1rem; }
[data-theme="eldenring"] .deco-words i:nth-child(7) { top: 76%; right: 10%; font-size: 1.2rem; }
[data-theme="eldenring"] .post { box-shadow: inset 0 0 50px rgba(0, 0, 0, 0.5), 0 0 40px rgba(230, 191, 92, 0.05); }
[data-theme="eldenring"] .post::before, [data-theme="eldenring"] .post::after { position: absolute; color: var(--accent-text); opacity: 0.55; font-size: 1rem; line-height: 1; }
[data-theme="eldenring"] .post::before { content: "✥"; top: 14px; left: 16px; }
[data-theme="eldenring"] .post::after { content: "✥"; bottom: 14px; right: 16px; }
[data-theme="eldenring"] .post-item h2 a::before { content: "✥ "; font-size: 0.7em; color: var(--accent-text); }
[data-theme="eldenring"] .post-item:hover h2 a { text-shadow: 0 0 14px rgba(230, 191, 92, 0.7); }
[data-theme="eldenring"] .divider span::before { content: "—  ✥  —"; letter-spacing: 0.2em; }
[data-theme="eldenring"] .prose blockquote { border-left: 2px solid var(--accent); font-style: italic; background: linear-gradient(90deg, rgba(212, 167, 60, 0.08), transparent); padding: 10px 18px; }
[data-theme="eldenring"] .prose ul li::marker { content: "✧  "; color: var(--accent-text); }
[data-theme="eldenring"] .prose h2::before { content: "✥"; }
[data-theme="eldenring"] .profile-photo { box-shadow: 0 0 0 2px var(--bg), 0 0 0 3px var(--accent), 0 0 26px rgba(230, 191, 92, 0.4); }
[data-theme="eldenring"] .read-progress { background: linear-gradient(90deg, #8a6a2a, #e6bf5c, #fff3c8); box-shadow: 0 0 12px rgba(230, 191, 92, 0.7); }
[data-theme="eldenring"] .post .prose > p:first-child::first-letter { font-family: "Cinzel", serif; font-weight: 600; font-size: 2.6em; float: left; line-height: 0.9; margin: 0.06em 0.12em 0 0; color: var(--accent-text); text-shadow: 0 0 14px rgba(230, 191, 92, 0.5); }
[data-theme="eldenring"] .post .prose > p:first-child { display: flow-root; }
[data-theme="eldenring"] ::selection { background: #8a6a2a; color: #fff; }

/* Ortak: dar ekranda yeni temaların süsleri */
@media (max-width: 1100px) {
  [data-theme="persona3"] .deco-c, [data-theme="eldenring"] .deco-d { opacity: 0.2; }
  [data-theme="persona3"] .deco-a { width: 220px; height: 220px; }
}
@media (max-width: 560px) {
  [data-theme="persona3"] .deco-words i, [data-theme="persona5"] .deco-words i, [data-theme="eldenring"] .deco-words i { font-size: 1rem !important; }
  [data-theme="persona3"] .deco-c, [data-theme="persona5"] .deco-c, [data-theme="eldenring"] .deco-c, [data-theme="eldenring"] .deco-d { display: none; }
  [data-theme="persona5"] .deco-a { width: 120px; }
  [data-theme="persona5"] .site-title { transform: skewX(-6deg); font-size: 1.5rem; }
}
@media (prefers-reduced-motion: reduce) {
  [data-theme="persona3"] .deco-d, [data-theme="persona5"] .deco-a::after, [data-theme="persona5"] .deco-c,
  [data-theme="eldenring"] .deco-a, [data-theme="eldenring"] .deco-c, [data-theme="eldenring"] .deco-d { animation: none; }
}

/* =========================================================
   FNAF — gece vardiyası: kamera ekranı, parazit, güç göstergesi, karanlıkta parlayan gözler
   (karakterler çizilmez; sadece o havayı veren özgün öğeler)
   ========================================================= */
[data-theme="fnaf"] .site-title { font-size: clamp(1.9rem, 6.4vw, 3.2rem); animation: fn-flicker 7s steps(1) infinite; }
[data-theme="fnaf"] .site-title em { color: var(--accent-2); font-style: normal; text-transform: lowercase; }
@keyframes fn-flicker { 0%, 91%, 93%, 96%, 100% { opacity: 1; } 92%, 95% { opacity: 0.35; } }
[data-theme="fnaf"] .post-title, [data-theme="fnaf"] .page-title { font-size: clamp(2rem, 6vw, 2.8rem); letter-spacing: 0.06em; }
[data-theme="fnaf"] .post-item h2 { font-size: 1.9rem; letter-spacing: 0.05em; }
/* Eski kamera ekranı: tarama çizgileri ve hafif titreme */
[data-theme="fnaf"] .deco-a {
  inset: 0; width: 100%; height: 100%;
  background: repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.03) 0 1px, transparent 1px 3px);
  animation: fn-roll 9s linear infinite;
}
@keyframes fn-roll { 0%, 97% { opacity: 1; transform: none; } 98% { opacity: 0.4; transform: translateY(6px); } 99% { opacity: 1; transform: translateY(-3px); } }
/* Kamera çerçevesi: köşe işaretleri, kamera adı ve yanıp sönen kayıt ışığı */
[data-theme="fnaf"] .deco-b {
  inset: 14px; width: auto; height: auto;
  background:
    linear-gradient(#e8b85a, #e8b85a) 0 0 / 34px 2px, linear-gradient(#e8b85a, #e8b85a) 0 0 / 2px 34px,
    linear-gradient(#e8b85a, #e8b85a) 100% 0 / 34px 2px, linear-gradient(#e8b85a, #e8b85a) 100% 0 / 2px 34px,
    linear-gradient(#e8b85a, #e8b85a) 0 100% / 34px 2px, linear-gradient(#e8b85a, #e8b85a) 0 100% / 2px 34px,
    linear-gradient(#e8b85a, #e8b85a) 100% 100% / 34px 2px, linear-gradient(#e8b85a, #e8b85a) 100% 100% / 2px 34px;
  background-repeat: no-repeat; opacity: 0.55;
}
[data-theme="fnaf"] .deco-b::before {
  content: "CAM 1A · SAHNE"; position: absolute; left: 14px; top: 10px;
  font: 1.5rem "VT323", monospace; color: #f2ead8; letter-spacing: 0.08em;
}
[data-theme="fnaf"] .deco-b::after {
  content: "● KAYIT"; position: absolute; right: 14px; top: 10px;
  font: 1.5rem "VT323", monospace; color: #e0392b; animation: fn-rec 1.2s steps(1) infinite;
}
@keyframes fn-rec { 50% { opacity: 0; } }
/* Sol altta güç göstergesi ve gece saati */
[data-theme="fnaf"] .deco-c {
  left: 28px; bottom: 26px; width: auto; height: auto; padding: 0;
  font: 1.45rem/1.2 "VT323", monospace; color: #f2ead8; white-space: pre;
}
[data-theme="fnaf"] .deco-c::before { content: "Kalan güç: %62\AKullanım: "; }
[data-theme="fnaf"] .deco-c::after {
  content: ""; display: inline-block; width: 46px; height: 14px; vertical-align: -1px;
  background: linear-gradient(90deg, #5fd35f 0 9px, transparent 9px 12px, #5fd35f 12px 21px, transparent 21px 24px, #e8d25a 24px 33px, transparent 33px);
  animation: fn-use 6s steps(1) infinite;
}
@keyframes fn-use { 60% { background: linear-gradient(90deg, #5fd35f 0 9px, transparent 9px 12px, #5fd35f 12px 21px, transparent 21px 24px, #e8d25a 24px 33px, transparent 33px 36px, #e0392b 36px 45px, transparent 45px); } }
/* Karanlıkta beliren iki parlak göz */
[data-theme="fnaf"] .deco-d {
  right: max(20px, calc((100vw - 760px) / 2 - 200px)); top: 42vh; width: 64px; height: 16px;
  background: radial-gradient(circle at 10px 8px, #fff 0 3px, rgba(255, 240, 200, 0.6) 4px, transparent 8px),
              radial-gradient(circle at 54px 8px, #fff 0 3px, rgba(255, 240, 200, 0.6) 4px, transparent 8px);
  filter: drop-shadow(0 0 6px rgba(255, 230, 180, 0.8)); opacity: 0; animation: fn-eyes 16s ease-in-out infinite;
}
@keyframes fn-eyes { 0%, 55% { opacity: 0; } 60%, 74% { opacity: 0.9; } 66% { opacity: 0.9; transform: scaleY(1); } 67% { transform: scaleY(0.1); } 68% { transform: scaleY(1); } 80%, 100% { opacity: 0; } }
/* Sağ üstte gece saati (app.js gerçek saati --saat olarak verir) */
[data-theme="fnaf"] .deco-words { display: block; position: absolute; inset: 0; }
[data-theme="fnaf"] .deco-words::after {
  content: "GECE 1  ·  " var(--saat, "12:00"); position: absolute; right: 28px; top: 42px;
  font: 1.6rem "VT323", monospace; color: #f2ead8; letter-spacing: 0.06em;
}
[data-theme="fnaf"] .deco-words i { font-family: "VT323", monospace; color: rgba(232, 184, 90, 0.09); letter-spacing: 0.06em; text-transform: uppercase; }
[data-theme="fnaf"] .deco-words i:nth-child(1)::before { content: "Saat 12"; }
[data-theme="fnaf"] .deco-words i:nth-child(2)::before { content: "Sabaha kadar dayan"; }
[data-theme="fnaf"] .deco-words i:nth-child(3)::before { content: "Kapıları kapat"; }
[data-theme="fnaf"] .deco-words i:nth-child(4)::before { content: "Kameraları izle"; }
[data-theme="fnaf"] .deco-words i:nth-child(5)::before { content: "Bir şey kıpırdadı"; }
[data-theme="fnaf"] .deco-words i:nth-child(6)::before { content: "Gücün azalıyor"; }
[data-theme="fnaf"] .deco-words i:nth-child(7)::before { content: "Onlar izliyor"; }
[data-theme="fnaf"] .deco-words i:nth-child(1) { top: 16%; left: 3%; font-size: 3rem; }
[data-theme="fnaf"] .deco-words i:nth-child(2) { top: 58%; right: 3%; font-size: 2rem; }
[data-theme="fnaf"] .deco-words i:nth-child(3) { top: 40%; left: 3%; font-size: 1.8rem; }
[data-theme="fnaf"] .deco-words i:nth-child(4) { top: 28%; right: 4%; font-size: 1.7rem; }
[data-theme="fnaf"] .deco-words i:nth-child(5) { top: 70%; left: 6%; font-size: 1.7rem; }
[data-theme="fnaf"] .deco-words i:nth-child(6) { top: 76%; right: 12%; font-size: 1.6rem; }
[data-theme="fnaf"] .deco-words i:nth-child(7) { top: 8%; right: 14%; font-size: 1.6rem; color: rgba(224, 57, 43, 0.12); }
/* Yazı kartı: eski monitör */
[data-theme="fnaf"] .post, [data-theme="fnaf"] .profile { border: 2px solid #2a241c; box-shadow: inset 0 0 60px rgba(0, 0, 0, 0.7), 0 0 0 6px #110e0b, 0 0 0 8px #2a241c; }
[data-theme="fnaf"] .post-item h2 a::before { content: "▶ "; color: var(--accent-2); font-size: 0.7em; }
[data-theme="fnaf"] .post-item:hover h2 a { animation: cp-glitch 0.3s steps(2) 2; text-shadow: 2px 0 0 rgba(224, 57, 43, 0.7), -2px 0 0 rgba(95, 211, 95, 0.4); }
[data-theme="fnaf"] .cat-badge, [data-theme="fnaf"] .cat-filter a { border-radius: 2px; font-family: "VT323", monospace; font-size: 1rem; letter-spacing: 0.05em; }
[data-theme="fnaf"] .divider span::before { content: "● KAYIT"; font-family: "VT323", monospace; font-size: 1rem; color: var(--accent-2); }
[data-theme="fnaf"] .prose blockquote { border-left: 3px solid var(--accent-2); background: rgba(224, 57, 43, 0.06); font-family: "VT323", monospace; font-size: 1.35rem; font-style: normal; padding: 6px 16px; }
[data-theme="fnaf"] .prose ul li::marker { content: "■  "; color: var(--accent); font-size: 0.8em; }
[data-theme="fnaf"] .prose h2::before { content: "▶"; color: var(--accent-2); }
[data-theme="fnaf"] .prose img { filter: grayscale(0.6) sepia(0.3) contrast(1.15) brightness(0.85); transition: filter 0.5s; }
[data-theme="fnaf"] .prose img:hover { filter: none; }
[data-theme="fnaf"] .profile-photo { border-radius: 2px; box-shadow: 0 0 0 2px #2a241c, 0 0 0 4px var(--accent); filter: grayscale(0.3); }
[data-theme="fnaf"] .read-progress { height: 4px; background: linear-gradient(90deg, #5fd35f, #e8d25a 60%, #e0392b); box-shadow: none; }
[data-theme="fnaf"] .post .prose > p:first-child::first-letter { font-family: "VT323", monospace; font-size: 3em; float: left; line-height: 0.8; margin: 0.06em 0.12em 0 0; color: var(--accent-text); }
[data-theme="fnaf"] .post .prose > p:first-child { display: flow-root; }
[data-theme="fnaf"] ::selection { background: #e0392b; color: #fff; }
/* Çok geniş ekranda iki yanda güvenlik kapıları ve düğmeleri */
@media (min-width: 1800px) {
  [data-theme="fnaf"] .side-l, [data-theme="fnaf"] .side-r {
    bottom: 12vh; width: 150px; height: min(52vh, 460px);
    background: linear-gradient(90deg, #15110d, #221b14 50%, #15110d); border: 6px solid #2a241c; box-shadow: inset 0 0 40px #000;
  }
  [data-theme="fnaf"] .side-l::before, [data-theme="fnaf"] .side-r::before {
    content: "KAPI"; position: absolute; top: 34%; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center;
    background: #b3261e; color: #fff; font: 0.95rem "VT323", monospace; box-shadow: 0 0 0 4px #3a3026, 0 0 14px rgba(224, 57, 43, 0.6);
  }
  [data-theme="fnaf"] .side-l::after, [data-theme="fnaf"] .side-r::after {
    content: "IŞIK"; position: absolute; top: calc(34% + 50px); width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center;
    background: #e8e0c8; color: #111; font: 0.95rem "VT323", monospace; box-shadow: 0 0 0 4px #3a3026;
    animation: fn-light 11s steps(1) infinite;
  }
  [data-theme="fnaf"] .side-l::before, [data-theme="fnaf"] .side-l::after { right: -58px; }
  [data-theme="fnaf"] .side-r::before, [data-theme="fnaf"] .side-r::after { left: -58px; }
  @keyframes fn-light { 0%, 80% { box-shadow: 0 0 0 4px #3a3026; } 82%, 86% { box-shadow: 0 0 0 4px #3a3026, 0 0 30px 8px rgba(255, 240, 200, 0.6); } }
}
@media (max-width: 1100px) { [data-theme="fnaf"] .deco-d { right: 10px; } }
@media (max-width: 560px) {
  [data-theme="fnaf"] .deco-b::before, [data-theme="fnaf"] .deco-b::after, [data-theme="fnaf"] .deco-words::after { display: none; }
  [data-theme="fnaf"] .deco-c { display: none; }
  [data-theme="fnaf"] .deco-words::after { font-size: 1.1rem; right: 28px; top: 34px; }
  [data-theme="fnaf"] .deco-words i { font-size: 1.1rem !important; }
  [data-theme="fnaf"] .site-title { font-size: 1.9rem; }
}
@media (prefers-reduced-motion: reduce) {
  [data-theme="fnaf"] .site-title, [data-theme="fnaf"] .deco-a, [data-theme="fnaf"] .deco-d, [data-theme="fnaf"] .deco-b::after { animation: none; }
}

/* =========================================================
   İLK HARF — her temada aynı boyda: tam 2 satır
   Destekleyen tarayıcılarda initial-letter (harfi tam 2 satıra oturtur);
   desteklemeyenlerde 2 satıra sığacak sabit boy. Temaların renk, yazı tipi ve kutu süsleri korunur.
   ========================================================= */
[data-theme] .post .prose > p:first-child::first-letter {
  float: left !important; font-size: 3.05em !important; line-height: 0.82 !important;
  margin: 0.06em 0.12em 0 0 !important; padding-top: 0.04em !important; padding-bottom: 0 !important;
}
@supports (initial-letter: 2) or (-webkit-initial-letter: 2) {
  [data-theme] .post .prose > p:first-child::first-letter {
    float: none !important; font-size: inherit !important; line-height: inherit !important;
    -webkit-initial-letter: 2; initial-letter: 2;
    margin: 0 0.14em 0 0 !important; padding-top: 0 !important;
  }
}
/* Black Souls: harfin çift çerçevesi (box-shadow) kutudan 4px taşar; yazı çerçeveye yapışmasın */
[data-theme="blacksouls"] .post .prose > p:first-child::first-letter { margin: 0.1em 0.5em 0.1em 0.25em !important; }
@supports (initial-letter: 2) or (-webkit-initial-letter: 2) {
  [data-theme="blacksouls"] .post .prose > p:first-child::first-letter { margin: 0 0.5em 0 0.25em !important; }
}

/* =========================================================
   BLACK SOULS — Alice ara ara kararır: yüzünden aşağı kara mürekkep süzülür, gözleri kızıl parlar
   (mürekkep, siluetin maskesi içinde kaldığı için sadece Alice'in üstünde görünür)
   ========================================================= */
[data-theme="blacksouls"] .deco-c::before,
[data-theme="blacksouls"] .deco-c::after { content: ""; position: absolute; inset: 0; pointer-events: none; }
[data-theme="blacksouls"] .deco-c::before {
  background: url("../img/tema/murekkep.svg") 0 0 / 100% 100% no-repeat;
  clip-path: inset(0 0 100% 0); opacity: 0;
  animation: bs-ink 22s ease-in-out 4s infinite;
}
[data-theme="blacksouls"] .deco-c::after {
  background:
    radial-gradient(circle at 45% 17.4%, #ff2a3c 0 0.9%, rgba(255, 42, 60, 0.5) 1.4%, transparent 2.6%),
    radial-gradient(circle at 52.5% 17.4%, #ff2a3c 0 0.9%, rgba(255, 42, 60, 0.5) 1.4%, transparent 2.6%);
  opacity: 0; animation: bs-eyes 22s ease-in-out 4s infinite;
}
@keyframes bs-ink {
  0%, 30% { clip-path: inset(0 0 100% 0); opacity: 0; }
  32% { opacity: 1; clip-path: inset(0 0 92% 0); }
  48% { clip-path: inset(0 0 52% 0); opacity: 1; }
  66% { clip-path: inset(0 0 46% 0); opacity: 1; }
  76%, 100% { clip-path: inset(0 0 46% 0); opacity: 0; }
}
@keyframes bs-eyes { 0%, 40% { opacity: 0; } 46%, 64% { opacity: 1; } 56% { opacity: 0.6; } 74%, 100% { opacity: 0; } }
@media (prefers-reduced-motion: reduce) { [data-theme="blacksouls"] .deco-c::before, [data-theme="blacksouls"] .deco-c::after { animation: none; } }

/* =========================================================
   FNAF (yeniden) — gece vardiyası güvenlik ofisi: arka plan tek bir ofis sahnesi
   (img/tema/fnaf-ofis.svg: kapılar, KAPI/IŞIK düğmeleri, afiş, çocuk çizimleri, masa, vantilatör, lamba, kapıda gözler)
   Bu blok önceki FNAF kamera ekranı ayarlarını geçersiz kılar.
   ========================================================= */
[data-theme="fnaf"] .deco-a {
  inset: 0; width: 100%; height: 100%; animation: none;
  background: url("../img/tema/fnaf-ofis.svg") center / cover no-repeat;
}
/* Kamera çerçevesi yerine altta kamerayı açma çubuğu */
[data-theme="fnaf"] .deco-b {
  inset: auto; left: 50%; bottom: 14px; width: min(420px, 60vw); height: 34px; margin-left: calc(min(420px, 60vw) / -2);
  background: rgba(30, 28, 26, 0.55); border: 2px solid rgba(220, 214, 200, 0.55); border-radius: 2px; opacity: 1;
}
[data-theme="fnaf"] .deco-b::before {
  content: "︽  ︽"; position: static; display: block; text-align: center; font: 1.4rem/30px "VT323", monospace; color: rgba(240, 234, 216, 0.8); letter-spacing: 0.3em;
}
[data-theme="fnaf"] .deco-b::after { content: none; }
/* Karanlıkta gözler artık sahnenin sol kapısında */
[data-theme="fnaf"] .deco-d { display: none; }
/* Sağ üstte büyük gece saati */
[data-theme="fnaf"] .deco-words::after {
  content: var(--saat, "12:00") "\A Gece 1"; white-space: pre; text-align: right; top: 18px; right: 26px; bottom: auto;
  font: 2.2rem/0.9 "VT323", monospace; color: #f2ead8; text-shadow: 0 0 6px rgba(0, 0, 0, 0.9);
}
/* Güç göstergesi oyun ekranı gibi sol altta, yeşil bloklarla */
[data-theme="fnaf"] .deco-c { left: 24px; bottom: 20px; font-size: 1.5rem; text-shadow: 0 0 6px #000; }
/* Yazılar okunaklı kalsın: içerik sütununun arkasında yumuşak karanlık */
[data-theme="fnaf"] .shell { background: rgba(6, 5, 4, 0.78); box-shadow: 0 0 80px 50px rgba(6, 5, 4, 0.78); }
[data-theme="fnaf"] .side-l, [data-theme="fnaf"] .side-r { display: none !important; }
@media (max-width: 560px) {
  [data-theme="fnaf"] .deco-words::after { display: none; }
  [data-theme="fnaf"] .deco-b { display: none; }
  [data-theme="fnaf"] .shell { box-shadow: none; }
}

/* =========================================================
   BLACK SOULS — Alice renkli, daha kısa ve dolgun (img/tema/alice-renkli.svg);
   mürekkep dönüşümünde yüzü tamamen kararır, damlalar yakaya ve önlüğe iner (kızıl gözler yok)
   ========================================================= */
[data-theme="blacksouls"] .deco-c {
  background: url("../img/tema/alice-renkli.svg") center bottom / contain no-repeat;
  -webkit-mask: none; mask: none; aspect-ratio: 240 / 400; height: min(66vh, 520px);
  filter: brightness(0.62) saturate(0.75) sepia(0.15) drop-shadow(0 0 16px rgba(196, 30, 58, 0.45));
}
[data-theme="blacksouls"] .deco-c::after { display: none; }
@keyframes bs-ink {
  0%, 30% { clip-path: inset(0 0 100% 0); opacity: 0; }
  31% { opacity: 1; clip-path: inset(0 0 78% 0); }
  36% { clip-path: inset(0 0 66% 0); opacity: 1; }
  52% { clip-path: inset(0 0 46% 0); opacity: 1; }
  68% { clip-path: inset(0 0 44% 0); opacity: 1; }
  78%, 100% { clip-path: inset(0 0 44% 0); opacity: 0; }
}
@media (min-width: 1700px) { [data-theme="blacksouls"] .deco-c { height: min(60vh, 480px); right: max(-20px, calc(50vw - 380px - 290px - 290px)); } }
@media (max-width: 1100px) { [data-theme="blacksouls"] .deco-c { opacity: 0.25; } }

/* Black Souls Alice: üstten vuran soğuk-kızıl ışık (temaya uyum), figür daha aydınlık */
[data-theme="blacksouls"] .deco-c {
  filter: brightness(0.82) saturate(0.85) drop-shadow(0 0 14px rgba(196, 30, 58, 0.55)) drop-shadow(0 -4px 22px rgba(255, 200, 210, 0.18));
}
[data-theme="blacksouls"] .deco-c::after {
  display: block; content: ""; position: absolute; inset: -12% -20% 0; pointer-events: none;
  background: radial-gradient(ellipse 42% 30% at 50% 22%, rgba(255, 220, 225, 0.35), rgba(196, 30, 58, 0.12) 55%, transparent 75%);
  mix-blend-mode: screen; opacity: 1; animation: bs-light 6s ease-in-out infinite;
}
@keyframes bs-light { 0%, 100% { opacity: 0.85; } 50% { opacity: 1; } }

/* Mürekkep artık perde gibi inmiyor: akış animasyonu murekkep.svg'nin içinde (yayılan karanlık, farklı hızlarda akan ve kopan damlalar) */
[data-theme="blacksouls"] .deco-c::before { animation: none !important; clip-path: none !important; opacity: 1 !important; }

/* =========================================================
   BLACK SOULS — Rüya Kütüphanesi havası: iki yanda kitap rafları, yerde kitap yığınları ve mum,
   tepede soluk kemerli pencere ışığı, rafın önünde kütüphane bekçisi beyaz tavşan
   ========================================================= */
/* İki yan duvar: dikey tekrar eden raflar (karartılmış, içerikten uzakta) */
[data-theme="blacksouls"] .deco {
  background:
    linear-gradient(90deg, rgba(7, 5, 7, 0.15), rgba(7, 5, 7, 0.85) 210px, transparent 260px) left top / 260px 100% no-repeat,
    linear-gradient(270deg, rgba(7, 5, 7, 0.15), rgba(7, 5, 7, 0.85) 210px, transparent 260px) right top / 260px 100% no-repeat,
    url("../img/tema/bs-raf.svg") left top / 210px auto repeat-y,
    url("../img/tema/bs-raf.svg") right top / 210px auto repeat-y;
}
/* Yerde kitap yığınları ve mum */
[data-theme="blacksouls"] .deco::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 96px; pointer-events: none;
  background: url("../img/tema/bs-kitaplar.svg") center bottom / auto 96px repeat-x; opacity: 0.55;
}
/* Tepede, içeriğin arkasında soluk kemerli pencere ve içeri sızan ay ışığı */
[data-theme="blacksouls"] .deco::before {
  content: ""; position: absolute; left: 50%; top: -20px; width: 360px; height: 70vh; margin-left: -180px; pointer-events: none;
  background:
    linear-gradient(180deg, rgba(230, 210, 220, 0.09), transparent 75%),
    radial-gradient(ellipse 50% 22% at 50% 14%, rgba(240, 220, 230, 0.12), transparent 70%);
  clip-path: polygon(30% 0, 70% 0, 100% 100%, 0 100%);
}
/* Küçük Alice peluşu: çok geniş ekranda solda, kitap yığınının üstünde, kartların dışında */
@media (min-width: 1800px) {
  [data-theme="blacksouls"] .side-l {
    width: 150px; height: 165px; bottom: 70px;
    background-image: url("../img/tema/bs-pelus.svg");
    filter: brightness(0.8) drop-shadow(0 0 12px rgba(196, 30, 58, 0.35));
  }
}
@media (max-width: 1100px) {
  [data-theme="blacksouls"] .deco { background: none; }
  [data-theme="blacksouls"] .deco::before { display: none; }
}
@media (max-width: 560px) { [data-theme="blacksouls"] .deco::after { height: 60px; background-size: auto 60px; opacity: 0.35; } }

/* Black Souls kitaplıklar (2. sürüm): tam boy, taçlı, mumlu ahşap kitaplıklar; iç kenarı yumuşakça karanlığa karışır */
[data-theme="blacksouls"] .deco {
  background:
    linear-gradient(90deg, transparent 200px, rgba(7, 5, 7, 0.9) 262px, transparent 300px) left top / 300px 100% no-repeat,
    linear-gradient(270deg, transparent 200px, rgba(7, 5, 7, 0.9) 262px, transparent 300px) right top / 300px 100% no-repeat,
    url("../img/tema/bs-kitaplik-sol.svg") left bottom / auto 100% no-repeat,
    url("../img/tema/bs-kitaplik-sag.svg") right bottom / auto 100% no-repeat;
}
[data-theme="blacksouls"] .deco::after { opacity: 0.45; }

/* Black Souls: kitaplıklar görünürken üst üste binen süsleri ayıkla
   - kenarlardaki fısıltılar ve köşe sarmaşıkları kitaplıkların üstüne düşüyordu: gizlenir
     (yalnızca içeriğin arkasındaki büyük soluk "Alice nerede?" kalır)
   - asılı kafes sol kitaplığın önüne biniyordu: gizlenir
   - yerdeki kitap yığınları iki kitaplığın arasında kalır */
@media (min-width: 1101px) {
  [data-theme="blacksouls"] .deco-words i:not(:nth-child(6)) { display: none !important; }
  [data-theme="blacksouls"] .deco-b, [data-theme="blacksouls"] .deco-d { display: none; }
  [data-theme="blacksouls"] .deco::after { left: 270px; right: 270px; }
}

/* =========================================================
   BRYAN CHARNLEY — mavi tek renkli oda: iki yanda açık pencereler, odadan geçen dalgalı çizgiler,
   kızıl iç içe yaylar, pervazda vazoda çiçek (özgün öğeler; ressamın tabloları kopyalanmaz)
   ========================================================= */
[data-theme="charnley"] .site-title { font-style: italic; font-weight: 700; }
[data-theme="charnley"] .site-title em { color: var(--accent-2); }
[data-theme="charnley"] .post-title, [data-theme="charnley"] .page-title, [data-theme="charnley"] .post-item h2 { font-style: italic; }
/* Pencereler */
[data-theme="charnley"] .deco-a, [data-theme="charnley"] .deco-b {
  top: 14vh; width: auto; height: min(70vh, 640px); aspect-ratio: 220 / 560;
  background: center / contain no-repeat; filter: drop-shadow(0 6px 14px rgba(16, 42, 138, 0.25));
}
[data-theme="charnley"] .deco-a { left: 1.5vw; background-image: url("../img/tema/ch-pencere-sol.svg"); }
[data-theme="charnley"] .deco-b { right: 1.5vw; background-image: url("../img/tema/ch-pencere-sag.svg"); }
/* Kızıl iç içe yaylar: başlığın üstünde soluk */
[data-theme="charnley"] .deco-c {
  left: 50%; top: 2vh; width: 180px; height: 99px; margin-left: -90px;
  background: url("../img/tema/ch-yaylar.svg") center / contain no-repeat; opacity: 0.22;
  animation: ch-pulse 6s ease-in-out infinite;
}
@keyframes ch-pulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.05); } }
/* Odadan geçen dalgalı "sinyal" çizgileri */
[data-theme="charnley"] .deco-d {
  inset: 0; width: 100%; height: 100%;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='90'%3E%3Cpath d='M0 45c20-14 40-14 60 0s40 14 60 0 40-14 60 0 40 14 60 0' fill='none' stroke='%232b52c4' stroke-width='2' opacity='.35'/%3E%3C/svg%3E") 0 0 / 240px 90px repeat;
  -webkit-mask: linear-gradient(90deg, #000 0 22%, transparent 32% 68%, #000 78%);
          mask: linear-gradient(90deg, #000 0 22%, transparent 32% 68%, #000 78%);
  animation: ch-wave 18s linear infinite;
}
@keyframes ch-wave { to { background-position: 240px 0; } }
[data-theme="charnley"] .deco-words { display: block; position: absolute; inset: 0; }
[data-theme="charnley"] .deco-words i { font-family: "Playfair Display", serif; font-style: italic; color: rgba(16, 42, 138, 0.13); }
[data-theme="charnley"] .deco-words i:nth-child(1)::before { content: "Kendimi resmediyorum"; }
[data-theme="charnley"] .deco-words i:nth-child(2)::before { content: "Sesler duvarlardan geçiyor"; }
[data-theme="charnley"] .deco-words i:nth-child(3)::before { content: "Mavi, her şeyin rengi"; }
[data-theme="charnley"] .deco-words i:nth-child(4)::before { content: "Pencere hep açık"; }
[data-theme="charnley"] .deco-words i:nth-child(5)::before { content: "Düşünceler dalga dalga"; }
[data-theme="charnley"] .deco-words i:nth-child(6)::before { content: "Bugün"; }
[data-theme="charnley"] .deco-words i:nth-child(7)::before { content: "Bir çiçek, bir pervaz"; }
[data-theme="charnley"] .deco-words i:nth-child(1) { top: 8%; left: 26%; font-size: 1.3rem; }
[data-theme="charnley"] .deco-words i:nth-child(2) { top: 92%; left: 30%; font-size: 1.2rem; }
[data-theme="charnley"] .deco-words i:nth-child(3) { top: 6%; right: 26%; font-size: 1.2rem; }
[data-theme="charnley"] .deco-words i:nth-child(4) { top: 90%; right: 28%; font-size: 1.1rem; }
[data-theme="charnley"] .deco-words i:nth-child(5) { top: 52%; left: 40%; font-size: 3.4rem; color: rgba(16, 42, 138, 0.05); transform: rotate(-6deg); }
[data-theme="charnley"] .deco-words i:nth-child(6), [data-theme="charnley"] .deco-words i:nth-child(7) { display: none; }
/* Kartlar: tuval gibi, kalın fırça kenarlı */
[data-theme="charnley"] .post, [data-theme="charnley"] .profile { border: 3px solid #2b52c4; box-shadow: 6px 6px 0 rgba(29, 63, 168, 0.25); border-radius: 4px 10px 6px 12px; }
[data-theme="charnley"] .post-item h2 a::before { content: "◠ "; color: var(--accent-2); font-style: normal; }
[data-theme="charnley"] .post-item:hover h2 a { text-decoration: underline wavy rgba(210, 69, 46, 0.7); text-underline-offset: 5px; }
[data-theme="charnley"] .divider span::before { content: "∿  ◠  ∿"; letter-spacing: 0.2em; }
[data-theme="charnley"] .prose blockquote { border-left: 4px solid var(--accent-2); background: rgba(43, 82, 196, 0.08); font-style: italic; }
[data-theme="charnley"] .prose ul li::marker { content: "∿  "; color: var(--accent); }
[data-theme="charnley"] .prose h2::before { content: "◠"; color: var(--accent-2); }
[data-theme="charnley"] .prose img { filter: sepia(0.2) hue-rotate(185deg) saturate(1.4); border: 3px solid #2b52c4; transition: filter 0.5s; }
[data-theme="charnley"] .prose img:hover { filter: none; }
[data-theme="charnley"] .read-progress { height: 4px; background: linear-gradient(90deg, #1d3fa8, #2b52c4, #d2452e); box-shadow: none; }
[data-theme="charnley"] ::selection { background: #2b52c4; color: #fff; }
/* Pencereler yalnızca yan kartlarla çakışmayacak genişlikte tam görünür */
@media (min-width: 1240px) and (max-width: 1749px) { [data-theme="charnley"] .deco-a, [data-theme="charnley"] .deco-b { opacity: 0.18; } }
@media (max-width: 1239px) { [data-theme="charnley"] .deco-a, [data-theme="charnley"] .deco-b { opacity: 0.25; height: 50vh; } }
@media (max-width: 560px) { [data-theme="charnley"] .deco-a, [data-theme="charnley"] .deco-b, [data-theme="charnley"] .deco-c { display: none; } [data-theme="charnley"] .deco-words i { font-size: 1rem !important; } }
@media (prefers-reduced-motion: reduce) { [data-theme="charnley"] .deco-c, [data-theme="charnley"] .deco-d { animation: none; } }
