/* ARKANA — /arkana (cogs/site_arkana.py). Kart bileşeni .tc, paket sahnesi, sunak, Tarot Defteri, katalog.
   CSP: satır içi stil yok; boyutlar --kw (kart genişliği) bağlamdan, konumlar sınıflardan (n2/n3/n5, i0–i4).
   Animasyonlar yalnız transform / opacity / mask. --ark-h: hız çarpanı (hareketi azalt → 2, yanma yerine solma).
   Taslak (docs/arkana-taslak.html) klasörde yoktu; düzen istekteki tariften. */
@property --b { syntax: '<percentage>'; inherits: false; initial-value: -20%; }

.ark { --ark-h: 1; --kw: 180px; --altin: #d8a84c; --altin-s: rgba(216,168,76,.55); --kor: #e87828; --kan: #801816;
  --camgobegi: #58b2ac; --kagit: #deceac; --kagit-s: #96886e; --komur: #161311; --deri: #3a2216; --parsomen: #e8dab8;
  color: var(--text); overflow-x: clip; }
@media (prefers-reduced-motion: reduce) { .ark { --ark-h: 2; } }
.ark h2 { font-family: "Pirata One", serif; font-weight: 400; font-size: clamp(1.7rem, 4vw, 2.3rem); letter-spacing: .02em; margin: 0 0 14px; color: var(--candle); }
.ark h3 { font-family: "Pirata One", serif; font-weight: 400; letter-spacing: .02em; }
.ark-bolum { margin: 34px 0 0; scroll-margin-top: 90px; }
.ark-not { color: var(--text-dim); font-size: .95rem; margin: 10px 0 0; }
.ark-rozet { display: inline-block; font-style: normal; font-family: system-ui, sans-serif; font-size: .72rem; font-weight: 700; letter-spacing: .04em;
  padding: 2px 8px; border-radius: 99px; background: rgba(232,120,40,.16); color: var(--accent-text); border: 1px solid rgba(232,120,40,.4); vertical-align: middle; }
.ark-rozet.kot { background: rgba(192,71,63,.14); color: var(--blood-text); border-color: rgba(192,71,63,.4); }
.ark-lisans { margin: 40px 0 0; text-align: center; color: var(--text-faint); font-size: .85rem; font-style: italic; }

/* ---------- üst ---------- */
.ark-ust { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px; padding: 6px 0 10px; }
.ark-ust h1 { font-family: "Pirata One", serif; font-weight: 400; font-size: clamp(2.6rem, 8vw, 4.2rem); line-height: .95; margin: 0; color: var(--blood-hi);
  text-shadow: var(--golge-baslik); }
.ark-ust-alt { margin: 0; font-family: system-ui, sans-serif; font-size: .78rem; letter-spacing: .18em; text-transform: uppercase; color: var(--text-dim); }
.ark-ust-acik { margin: 8px 0 0; color: var(--text-dim); max-width: 46ch; }
.ark-nav { display: flex; flex-wrap: wrap; gap: 6px; margin: 6px 0 0; }
.ark-nav a { font-family: system-ui, sans-serif; font-size: .82rem; font-weight: 600; padding: 5px 12px; border-radius: 99px; border: 1px solid var(--line);
  color: var(--text); text-decoration: none; background: var(--inset); }
.ark-nav a:hover, .ark-nav a:focus-visible { border-color: var(--accent); color: var(--accent-text); }

/* ---------- düğmeler ---------- */
.ark-btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 36px; padding: 6px 14px; border-radius: 10px;
  font: 600 .88rem/1.2 system-ui, sans-serif; cursor: pointer; color: var(--text); background: var(--inset-strong); border: 1px solid var(--line-strong);
  list-style: none; user-select: none; transition: transform .15s, border-color .15s, background .15s; }
.ark-btn::-webkit-details-marker { display: none; }
.ark-btn:hover, .ark-btn:focus-visible { border-color: var(--accent); }
.ark-btn:active { transform: translateY(1px); }
.ark-btn.ana { background: var(--blood); border-color: #a5241f; color: #f3e6cc; }
.ark-btn.ana:hover { background: #9a201c; }
.ark-btn.tehlike { background: rgba(192,71,63,.22); border-color: rgba(192,71,63,.6); }
.ark-btn.sade { background: transparent; }
.ark-btn.kapali { opacity: .55; cursor: not-allowed; }
.ark-btn[disabled] { opacity: .5; cursor: wait; }
.ark-f { display: inline; margin: 0; }

/* ---------- sonuç kutusu ---------- */
.ark-sonuc { margin: 18px 0 0; padding: 14px 18px; border-radius: 14px; border: 1px solid var(--line); background: var(--inset); }
.ark-sonuc.bos { display: none; }
.ark-sonuc.iyi { border-color: rgba(127,209,122,.45); }
.ark-sonuc.kot { border-color: rgba(224,107,94,.55); }
.ark-sonuc.soru { border-color: rgba(232,180,80,.55); }
.ark-sonuc p { margin: 0; }
.ark-devam { display: block; margin: 12px 0 0; }
.ark-hedef { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.ark-hedef span { font-size: .9rem; color: var(--text-dim); }
.ark-hedef input { flex: 1 1 220px; min-width: 0; min-height: 36px; padding: 6px 10px; border-radius: 10px; border: 1px solid var(--line-strong);
  background: var(--field); color: var(--text); font: inherit; }
.ark-devam .ark-btn.ana { margin-top: 8px; }
.ark-secenek { display: flex; flex-wrap: wrap; gap: 8px; }

/* ================================================================ KART BİLEŞENİ .tc (7:12) */
.tc { position: relative; width: var(--kw); aspect-ratio: 7 / 12; flex: none; --fs: calc(var(--kw) / 9); }
.tc-ic { position: absolute; inset: 0; transform-style: preserve-3d; transition: transform calc(.7s * var(--ark-h)) cubic-bezier(.3,.7,.2,1); }
.tc-yuz, .tc-arka { position: absolute; inset: 0; border-radius: calc(var(--kw) * .055); overflow: hidden; backface-visibility: hidden;
  -webkit-backface-visibility: hidden; }
.tc-yuz { background: #120e0b; border: 1px solid var(--altin-s); box-shadow: 0 10px 26px -12px rgba(0,0,0,.85), inset 0 0 0 1px rgba(0,0,0,.5); isolation: isolate; }
.tc-zemin { position: absolute; inset: 2px; border-radius: inherit; background: radial-gradient(ellipse at 50% 0%, #2a201a, #15100d 70%); z-index: 0; }
.tc-resim { position: absolute; left: 7%; right: 7%; top: 12%; bottom: 6%; border-radius: 3px; overflow: hidden; z-index: 1; background: #2a2018;
  box-shadow: 0 0 0 1px rgba(216,168,76,.35); }
.tc-resim img { display: block; width: 100%; height: 100%; object-fit: cover; }
.tc-resim::before { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: radial-gradient(ellipse 80% 70% at 50% 42%, transparent 52%, rgba(12,7,4,.62) 100%); }
.tc-resim::after { content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none; mix-blend-mode: multiply;
  background: linear-gradient(180deg, rgba(150,110,70,.22), rgba(90,52,28,.34)); }
.tc-no { position: absolute; left: 0; right: 0; top: 1.6%; z-index: 3; text-align: center; font: 400 calc(var(--fs) * 1.15)/1.25 "Pirata One", serif;
  color: var(--altin); text-shadow: 0 1px 2px rgba(0,0,0,.8); }
.tc-levha { position: absolute; left: 7%; right: 7%; bottom: 6%; z-index: 3; display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding: calc(var(--fs) * .3) 4px calc(var(--fs) * .25); background: linear-gradient(180deg, rgba(18,13,10,.35), rgba(18,13,10,.93) 34%);
  border-top: 1px solid rgba(216,168,76,.6); }
.tc-levha b { font: 400 var(--fs)/1.05 "Pirata One", serif; color: var(--kagit); letter-spacing: .02em; text-align: center;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 100%; }
.tc-levha small { font: 500 calc(var(--fs) * .52)/1.2 "EB Garamond", serif; color: var(--kagit-s); letter-spacing: .04em;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 100%; }
.tc-kose { position: absolute; left: 3.5%; right: 3.5%; height: 10%; z-index: 4; pointer-events: none; }
.tc-kose.ust { top: 2.2%; } .tc-kose.alt { bottom: 2.2%; }
.tc-kose::before, .tc-kose::after { content: ""; position: absolute; width: calc(var(--kw) * .13); height: calc(var(--kw) * .13); border: 1.5px solid var(--altin); }
.tc-kose.ust::before { left: 0; top: 0; border-right: 0; border-bottom: 0; }
.tc-kose.ust::after { right: 0; top: 0; border-left: 0; border-bottom: 0; }
.tc-kose.alt::before { left: 0; bottom: 0; border-right: 0; border-top: 0; }
.tc-kose.alt::after { right: 0; bottom: 0; border-left: 0; border-top: 0; }
.tc-arka { transform: rotateY(180deg); background: #1b120d url("/static/img/arkana/arka.svg") center / cover no-repeat; border: 1px solid var(--altin-s);
  box-shadow: 0 10px 26px -12px rgba(0,0,0,.85); }
.tc-arka i { position: absolute; inset: 0; background: radial-gradient(ellipse at 50% 46%, rgba(232,120,40,.14), transparent 60%); }

/* folyo: parlama süpürmesi */
.v-folyo .tc-yuz { border-color: var(--kor); }
.v-folyo .tc-yuz::after { content: ""; position: absolute; inset: -30% -60%; z-index: 5; pointer-events: none; mix-blend-mode: screen;
  background: linear-gradient(104deg, transparent 42%, rgba(255,226,170,.45) 49%, rgba(255,240,210,.7) 50%, rgba(255,226,170,.4) 51%, transparent 58%);
  transform: translateX(-55%); animation: tc-supur calc(4.6s * var(--ark-h)) cubic-bezier(.4,0,.2,1) infinite; }
@keyframes tc-supur { 0%, 58% { transform: translateX(-55%); } 100% { transform: translateX(55%); } }
/* holo: dönen gökkuşağı kenar (renkler temadan: kor, altın, kemik, su yeşili — pembe/mor/neon yok) + color-dodge */
.v-holo .tc-yuz { border-color: transparent; }
.v-holo .tc-yuz::before { content: ""; position: absolute; left: 50%; top: 50%; width: 260%; aspect-ratio: 1; z-index: 0; pointer-events: none;
  background: conic-gradient(from 0deg, #e87828, #d8a84c, #efe2c0, #6fb3a8, #3f7f86, #c0473f, #e87828);
  transform: translate(-50%, -50%) rotate(0deg); animation: tc-don calc(6s * var(--ark-h)) linear infinite; }
@keyframes tc-don { to { transform: translate(-50%, -50%) rotate(360deg); } }
.v-holo .tc-yuz::after { content: ""; position: absolute; inset: -40%; z-index: 5; pointer-events: none; mix-blend-mode: color-dodge; opacity: .55;
  background: linear-gradient(125deg, rgba(232,120,40,.0) 20%, rgba(232,120,40,.35) 32%, rgba(216,168,76,.3) 42%, rgba(111,179,168,.32) 54%,
  rgba(63,127,134,.0) 66%); animation: tc-ira calc(5s * var(--ark-h)) ease-in-out infinite alternate; }
@keyframes tc-ira { from { transform: translate(-12%, -8%); } to { transform: translate(12%, 8%); } }
/* negatif: ters resim + açık zemin */
.v-negatif .tc-yuz { border-color: var(--kan); background: #eadfc6; }
.v-negatif .tc-zemin { background: radial-gradient(ellipse at 50% 0%, #f6efdc, #e4d6b6 70%); }
.v-negatif .tc-resim { background: #e9dfc8; box-shadow: 0 0 0 1px rgba(128,24,22,.5); }
.v-negatif .tc-resim img { filter: invert(1) hue-rotate(180deg); }
.v-negatif .tc-resim::before { background: radial-gradient(ellipse 80% 70% at 50% 42%, transparent 55%, rgba(240,230,210,.6) 100%); }
.v-negatif .tc-resim::after { mix-blend-mode: multiply; background: linear-gradient(180deg, rgba(230,214,180,.2), rgba(200,180,140,.25)); }
.v-negatif .tc-no { color: var(--kan); text-shadow: none; }
.v-negatif .tc-levha { background: linear-gradient(180deg, rgba(240,232,214,.4), rgba(240,232,214,.95) 34%); border-top-color: rgba(128,24,22,.6); }
.v-negatif .tc-levha b { color: #2a1d14; } .v-negatif .tc-levha small { color: var(--kan); }
.v-negatif .tc-kose::before, .v-negatif .tc-kose::after { border-color: var(--kan); }
/* ruh: camgöbeği ton */
.r-ruh .tc-yuz { border-color: rgba(88,178,172,.7); }
.r-ruh .tc-zemin { background: radial-gradient(ellipse at 50% 0%, #12343a, #081a1d 70%); }
.r-ruh .tc-resim { box-shadow: 0 0 0 1px rgba(88,178,172,.5), 0 0 18px -4px rgba(88,178,172,.5); }
.r-ruh .tc-resim::after { background: linear-gradient(180deg, rgba(60,150,150,.12), rgba(10,60,64,.3)); }
.r-ruh .tc-no { color: #9fe0d8; text-shadow: 0 0 8px rgba(88,178,172,.8); }
.r-ruh .tc-levha { border-top-color: rgba(88,178,172,.6); background: linear-gradient(180deg, rgba(6,22,25,.35), rgba(6,22,25,.93) 34%); }
.r-ruh .tc-levha small { color: #7fc8c0; }
.r-ruh .tc-kose::before, .r-ruh .tc-kose::after { border-color: #7fc8c0; }
.r-ruh.v-negatif .tc-yuz { background: #dbe9e6; }

/* ================================================================ SAHNE (paket açma, ~6 sn) */
.ark-sahne { --kw: min(170px, 26vw); position: relative; height: calc(var(--kw) * 12 / 7 + 150px); margin: 8px auto 0; max-width: 1000px; perspective: 1300px; }
.ark-sahne.n5 { --kw: min(138px, 17.6vw); } .ark-sahne.n2 { --kw: min(196px, 34vw); }
.ark-sahne::before { content: ""; position: absolute; left: 50%; bottom: 20px; width: min(760px, 96%); height: 90px; transform: translateX(-50%);
  background: radial-gradient(ellipse at 50% 100%, rgba(232,120,40,.22), transparent 70%); pointer-events: none; }
.ark-yerler { position: absolute; inset: 0; }
.ark-yer { position: absolute; left: 50%; bottom: 64px; width: var(--kw); margin-left: calc(var(--kw) / -2); display: flex; flex-direction: column;
  align-items: center; gap: 10px; transform-origin: 50% 130%; opacity: 0; transform: translateY(26%) scale(.5);
  transition: transform calc(.9s * var(--ark-h)) cubic-bezier(.2,.8,.2,1), opacity calc(.5s * var(--ark-h)); }
.ark-yer.i1 { transition-delay: calc(.08s * var(--ark-h)); } .ark-yer.i2 { transition-delay: calc(.16s * var(--ark-h)); }
.ark-yer.i3 { transition-delay: calc(.24s * var(--ark-h)); } .ark-yer.i4 { transition-delay: calc(.32s * var(--ark-h)); }
.ark-yer .tc { transition: transform calc(.55s * var(--ark-h)) cubic-bezier(.2,.8,.2,1), opacity calc(.6s * var(--ark-h)); }
.ark-sahne:not(.cevir):not(.hazir) .tc-ic { transform: rotateY(180deg); }
.ark-yer.i1 .tc-ic { transition-delay: calc(.1s * var(--ark-h)); } .ark-yer.i2 .tc-ic { transition-delay: calc(.2s * var(--ark-h)); }
.ark-yer.i3 .tc-ic { transition-delay: calc(.3s * var(--ark-h)); } .ark-yer.i4 .tc-ic { transition-delay: calc(.4s * var(--ark-h)); }
/* yelpaze: aralık kart sayısına göre (yüzde = kart genişliği) */
.ark-sahne.yay .ark-yer, .ark-sahne.hazir .ark-yer { opacity: 1; }
.n2.yay .i0, .n2.hazir .i0 { transform: translateX(-58%) rotate(-6deg); } .n2.yay .i1, .n2.hazir .i1 { transform: translateX(58%) rotate(6deg); }
.n3.yay .i0, .n3.hazir .i0 { transform: translate(-108%, 6%) rotate(-10deg); } .n3.yay .i1, .n3.hazir .i1 { transform: translateY(-3%); }
.n3.yay .i2, .n3.hazir .i2 { transform: translate(108%, 6%) rotate(10deg); }
.n5.yay .i0, .n5.hazir .i0 { transform: translate(-196%, 14%) rotate(-17deg); } .n5.yay .i1, .n5.hazir .i1 { transform: translate(-99%, 4%) rotate(-8deg); }
.n5.yay .i2, .n5.hazir .i2 { transform: translateY(-2%); } .n5.yay .i3, .n5.hazir .i3 { transform: translate(99%, 4%) rotate(8deg); }
.n5.yay .i4, .n5.hazir .i4 { transform: translate(196%, 14%) rotate(17deg); }
.ark-sahne.hazir .ark-yer, .ark-sahne.hazir .tc-ic { transition: none; }
/* seçim düğmeleri */
.ark-sec { font-size: .8rem; padding: 4px 10px; min-height: 30px; max-width: 100%; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ark-sahne:not(.secilir):not(.hazir) .ark-sec { opacity: 0; pointer-events: none; }
.ark-sec { transition: opacity calc(.4s * var(--ark-h)); }
.ark-sahne.secilir .tc, .ark-sahne.hazir .ark-yer:not(.secildi) .tc { cursor: pointer; }
.ark-sahne.secilir .ark-yer:not(.secildi):not(.yan) .tc:hover { transform: translateY(-5%); }
.ark-yer.secildi { z-index: 3; } .ark-yer.soru { z-index: 2; }
.ark-yer.secildi .tc { transform: translateY(-17%) scale(1.07); }
.ark-yer.secildi .tc-yuz { box-shadow: 0 0 0 2px var(--altin), 0 0 34px -2px rgba(232,180,80,.65); }
.ark-yer.soru .tc { transform: translateY(-8%); }
.ark-yer.secildi .ark-sec, .ark-yer.yan .ark-sec { opacity: 0; pointer-events: none; }
/* yanma: maske alttan yukarı (--b), köz kenar */
.ark-yer.yan .tc { -webkit-mask-image: linear-gradient(to top, transparent var(--b), #000 calc(var(--b) + 14%));
  mask-image: linear-gradient(to top, transparent var(--b), #000 calc(var(--b) + 14%)); animation: ark-yan calc(1.5s * var(--ark-h)) cubic-bezier(.5,0,.8,.6) forwards; }
.ark-yer.yan .tc::after { content: ""; position: absolute; left: -6%; right: -6%; bottom: -6%; height: 16%; z-index: 9; pointer-events: none;
  background: linear-gradient(to top, transparent, rgba(232,120,40,.85) 42%, rgba(255,214,150,.95) 52%, rgba(232,120,40,.6) 62%, transparent);
  animation: ark-koz calc(1.5s * var(--ark-h)) cubic-bezier(.5,0,.8,.6) forwards; }
.ark-yer.yan.i1 .tc, .ark-yer.yan.i1 .tc::after { animation-delay: calc(.08s * var(--ark-h)); }
.ark-yer.yan.i2 .tc, .ark-yer.yan.i2 .tc::after { animation-delay: calc(.16s * var(--ark-h)); }
.ark-yer.yan.i3 .tc, .ark-yer.yan.i3 .tc::after { animation-delay: calc(.24s * var(--ark-h)); }
.ark-yer.yan.i4 .tc, .ark-yer.yan.i4 .tc::after { animation-delay: calc(.32s * var(--ark-h)); }
@keyframes ark-yan { from { --b: -20%; } to { --b: 104%; } }
@keyframes ark-koz { from { transform: translateY(0); opacity: 1; } 92% { opacity: 1; } to { transform: translateY(calc(var(--kw) * -1.78)); opacity: 0; } }
/* @property yoksa (html.ark-propsuz, arkana.js) ya da hareketi azalt: yanma yerine solma */
.ark-propsuz .ark-yer.yan .tc { -webkit-mask-image: none; mask-image: none; animation: ark-sol calc(1.2s * var(--ark-h)) ease forwards; }
.ark-propsuz .ark-yer.yan .tc::after { display: none; }
@media (prefers-reduced-motion: reduce) {
  .ark-yer.yan .tc { -webkit-mask-image: none; mask-image: none; animation: ark-sol calc(1.2s * var(--ark-h)) ease forwards; }
  .ark-yer.yan .tc::after { display: none; }
}
@keyframes ark-sol { to { opacity: 0; transform: translateY(6%) scale(.97); } }

.ark-sahne-alt { text-align: center; color: var(--text-dim); margin: 0; font-size: .95rem; }
.ark-dolu, .ark-yeniden { display: block; max-width: 720px; margin: 14px auto 0; text-align: center; }
.ark-dolu { padding: 14px; border-radius: 14px; border: 1px solid rgba(232,180,80,.5); background: var(--inset); }
.ark-dolu p { margin: 0 0 10px; }
.ark-dolu-d { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }

/* ================================================================ KARA PAZAR (zarflar; taslak kara-pazar/kara-pazar-zarf-taslak.html)
   Zarf SVG'leri cogs/site_arkana.py (zarf_html, ortak tanımlar zarf_defs). 3D: .sah perspektif → .kp-egim (fare eğimi, JS) →
   .z3 (süzülme; will-change: transform → filtreli SVG'ler katman olarak önbellekte, her karede yeniden hesaplanmaz).
   Kalınlık .kal-1…7 (translateZ −1,1 px aralık), kurdele .z1 (4px), etiket + mühür .z2 (10px). Renkler .pk-a / .pk-m / .pk-r. */
.kp-defs { position: absolute; width: 0; height: 0; overflow: hidden; pointer-events: none; }
.kp { --kp-sans: system-ui, "Segoe UI", sans-serif; --kp-ink: #f2e6cc; --kp-dim: #b3a58a; --kp-mut: #7d705c;
  position: relative; overflow: hidden; padding: 26px 28px; border-radius: 24px; color: var(--kp-ink);
  background: radial-gradient(60% 50% at 50% 55%, rgba(232,120,40,.07), transparent 70%), radial-gradient(80% 60% at 50% 0%, rgba(110,50,130,.16), transparent 70%),
  linear-gradient(170deg, #18111a, #0a0709); border: 1px solid rgba(217,178,106,.18); }
.kp-hd { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 12px; }
.ark .kp-hd h2 { margin: 0; font: 400 2.2rem/1 "Pirata One", serif; color: var(--kp-ink); }
.kp-ds { margin: 4px 0 0; font: 700 .8rem var(--kp-sans); color: var(--kp-mut); }
.kp-cuzdan { display: inline-flex; align-items: center; gap: 9px; padding: 8px 14px; border-radius: 12px; background: rgba(0,0,0,.35);
  border: 1px solid rgba(217,178,106,.2); font: 700 .82rem var(--kp-sans); color: var(--kp-dim); }
.kp-cuzdan span { display: flex; flex-direction: column; line-height: 1.25; }
.kp-cuzdan b { color: #f3d48a; font-size: .95rem; }
.kp-cuzdan small { font: 700 .7rem var(--kp-sans); color: var(--kp-mut); }
.kp-sikke { width: 18px; height: 18px; flex: none; }
.kp-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-top: 30px; }
.kp-it { position: relative; min-width: 0; text-align: center; padding-top: 8px; }
.kp-f { display: flex; flex-direction: column; align-items: center; margin: 0; }
.kp-zarf { display: block; margin: 0; padding: 0; border: 0; background: none; color: inherit; cursor: pointer; border-radius: 22px; }
.kp-zarf:focus-visible { outline: 2px solid #f3d48a; outline-offset: 4px; }
.sah { position: relative; width: 312px; height: 300px; margin: 0 auto; perspective: 1100px; perspective-origin: 50% 20%; }
.kp-egim { position: absolute; inset: 0; transform-style: preserve-3d; transform: rotateX(var(--ex, 0deg)) rotateY(var(--ey, 0deg));
  transition: transform .3s ease-out; }
.z3 { position: absolute; left: 0; top: 10px; width: 312px; height: 264px; transform-style: preserve-3d; --rx: 28deg; --ry: 0deg; --rz: 0deg;
  transform: rotateX(var(--rx)) rotateY(var(--ry)) rotateZ(var(--rz)); animation: kp-yuz 6s ease-in-out infinite;
  transition: transform .5s cubic-bezier(.2,.9,.3,1.1); will-change: transform; }
.kp-sol .z3 { --rx: 25deg; --ry: 18deg; --rz: -2deg; animation-delay: -2s; }
.kp-sag .z3 { --rx: 25deg; --ry: -18deg; --rz: 2deg; animation-delay: -4s; }
@keyframes kp-yuz { 0%, 100% { transform: translateY(0) rotateX(var(--rx)) rotateY(var(--ry)) rotateZ(var(--rz)); }
  50% { transform: translateY(-9px) rotateX(calc(var(--rx) - 4deg)) rotateY(calc(var(--ry) * .8)) rotateZ(var(--rz)); } }
.kat { position: absolute; inset: 0; transform-style: preserve-3d; }
.kat.gh { transform: translate3d(-11px, -13px, -16px); }
.kat.gh .kp-duz { opacity: .6; }
.kal { position: absolute; left: 26px; top: 28px; width: 260px; height: 176px; border-radius: 7px; filter: brightness(.8); }
.kal-1 { transform: translateZ(-1.1px); } .kal-2 { transform: translateZ(-2.2px); } .kal-3 { transform: translateZ(-3.3px); }
.kal-4 { transform: translateZ(-4.4px); } .kal-5 { transform: translateZ(-5.5px); } .kal-6 { transform: translateZ(-6.6px); }
.kal-7 { transform: translateZ(-7.7px); }
.kal-7, .gh .kal-6 { box-shadow: 0 0 0 .5px rgba(0,0,0,.6); }
/* kalınlık: altın yaldız + kurdele hizasında kurdele renginde şerit (taslaktaki style="background:…" değerleri) */
.pk-a .kat:not(.gh) .kal { background: linear-gradient(transparent 101px, #8a1020 101px, #8a1020 121px, transparent 121px),
  linear-gradient(90deg, #8a6420, #f7e0a0 30%, #b8862a 55%, #fff3c4 75%, #8a6420); }
.pk-m .kat:not(.gh) .kal { background: linear-gradient(transparent 101px, #a87a20 101px, #a87a20 121px, transparent 121px),
  linear-gradient(90deg, #8a6414, #fff0b0 30%, #c99a2e 55%, #fffbe0 75%, #8a6414); }
.pk-m .gh .kal { background: linear-gradient(90deg, #8a6414, #fff0b0 30%, #c99a2e 55%, #fffbe0 75%, #8a6414); }
.pk-r .kat .kal { background: linear-gradient(transparent 101px, #3a8aa6 101px, #3a8aa6 121px, transparent 121px),
  linear-gradient(90deg, #4a7482, #eefcff 30%, #8fbecb 55%, #ffffff 75%, #4a7482); }
.pk-a { --kp-ac: rgba(197,139,255,.32); --kp-ac2: rgba(197,139,255,.35); }
.pk-m { --kp-ac: rgba(242,193,78,.32); --kp-ac2: rgba(242,193,78,.35); }
.pk-r { --kp-ac: rgba(155,231,255,.32); --kp-ac2: rgba(155,231,255,.35); }
.kp-duz { position: absolute; inset: 0; }
.kp .ly { position: absolute; left: 0; top: 0; overflow: visible; }
.kp .ly.z1 { transform: translateZ(4px); } .kp .ly.z2 { transform: translateZ(10px); }
.kp .ov { mix-blend-mode: overlay; } .kp .mu { mix-blend-mode: multiply; } .kp .sl { mix-blend-mode: soft-light; }
.kp-seam { animation: kp-sizi 2.8s ease-in-out infinite; will-change: opacity; }
.golge { position: absolute; left: 12%; right: 12%; bottom: 14px; height: 40px; border-radius: 50%; pointer-events: none;
  background: radial-gradient(closest-side, rgba(0,0,0,.85), transparent); filter: blur(6px); animation: kp-gol 6s ease-in-out infinite;
  transition: transform .5s, opacity .5s; will-change: transform, opacity; }
.kp-sol .golge { animation-delay: -2s; } .kp-sag .golge { animation-delay: -4s; }
@keyframes kp-gol { 0%, 100% { transform: scale(1); opacity: .9; } 50% { transform: scale(.86); opacity: .6; } }
.aura { position: absolute; left: 10%; right: 10%; top: 20%; height: 55%; border-radius: 50%; pointer-events: none;
  background: radial-gradient(closest-side, var(--kp-ac), transparent); filter: blur(14px); animation: kp-sizi 3.4s ease-in-out infinite; will-change: opacity; }
.dmn { position: absolute; left: 50%; top: 50px; width: 60px; height: 60px; margin-left: -30px; border-radius: 50%; pointer-events: none; opacity: 0;
  background: radial-gradient(circle, var(--kp-ac2), transparent 70%); filter: blur(9px); animation: kp-tut 4s linear infinite; will-change: transform, opacity; }
.dmn.d2 { margin-left: -6px; animation-delay: -2s; }
@keyframes kp-sizi { 0%, 100% { opacity: .3; } 50% { opacity: .95; } }
@keyframes kp-tut { 0% { transform: translateY(0) scale(.7); opacity: 0; } 25% { opacity: .75; } 100% { transform: translateY(-80px) scale(1.7); opacity: 0; } }
.kp-parilti { position: absolute; left: 26px; top: 28px; width: 260px; height: 176px; border-radius: 7px; overflow: hidden; pointer-events: none; }
.kp-parilti b { position: absolute; top: -25%; bottom: -25%; left: -45%; width: 34%;
  background: linear-gradient(100deg, transparent, rgba(255,240,210,.12) 40%, rgba(255,250,235,.26) 50%, rgba(255,240,210,.12) 60%, transparent);
  transform: translateX(0) skewX(-14deg); animation: kp-parla 6s cubic-bezier(.4,0,.2,1) infinite; }
.kp-sol .kp-parilti b { animation-delay: -2s; } .kp-sag .kp-parilti b { animation-delay: -4s; }
@keyframes kp-parla { 0%, 55% { transform: translateX(0) skewX(-14deg); } 100% { transform: translateX(470px) skewX(-14deg); } }
/* hover / odak: süzülme durur, zarf öne eğilir */
.kp-zarf:hover .z3, .kp-zarf:focus-visible .z3 { animation: none; transform: translateY(-16px) rotateX(10deg) rotateY(calc(var(--ry) * .4)) rotateZ(0deg); }
.kp-zarf:hover .golge, .kp-zarf:focus-visible .golge { animation: none; transform: scale(.86); opacity: .6; }
.kp-zarf:hover .kp-seam, .kp-zarf:focus-visible .kp-seam { animation-duration: .9s; }
.kp-zarf:hover .aura, .kp-zarf:focus-visible .aura { animation-duration: 1.2s; }
.kp-ad { display: block; font: 400 1.7rem/1.15 "Pirata One", serif; color: var(--kp-ink); }
.kp-ac { display: block; font: 700 .76rem var(--kp-sans); color: var(--kp-dim); }
.kp-fiyat { display: inline-flex; align-items: center; gap: 6px; margin-top: 12px; padding: 8px 18px; border: 0; border-radius: 11px; cursor: pointer;
  font: 900 .92rem var(--kp-sans); color: #1a0f08; background: linear-gradient(180deg, #f6dc98, #c28d2e);
  box-shadow: 0 8px 20px -8px rgba(217,178,106,.75), inset 0 1px 0 rgba(255,255,255,.5); transition: transform .15s; }
.kp-fiyat:hover { transform: translateY(-1px); }
.kp-fiyat s { font-weight: 700; opacity: .6; }
.kp-fiyat .kp-sikke { width: 16px; height: 16px; }
.kp-olcu { margin-top: 6px; }
.kp-free { position: absolute; top: 0; left: 50%; z-index: 5; transform: translateX(-50%); padding: 3px 12px; border-radius: 99px; white-space: nowrap;
  font: 900 .64rem var(--kp-sans); background: #5fc28a; color: #0b1a10; box-shadow: 0 4px 10px rgba(0,0,0,.5); }
.kp-odds { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; margin-top: 26px; font: 700 .76rem var(--kp-sans); color: var(--kp-mut); }
.kp-odds > span { align-self: center; margin-right: 4px; }
.kp-odds i { font-style: normal; padding: 5px 11px; border-radius: 9px; background: rgba(255,255,255,.04); border: 1px solid rgba(217,178,106,.12); color: var(--kp-dim); }
.kp-odds b { color: var(--kp-ink); }
.kp .kp-not, .kp .ark-giris { text-align: center; }
.kp .ark-not { color: var(--kp-mut); }
.ark .kp-masa-b { margin: 16px 0 0; font-size: 1.4rem; text-align: center; color: var(--kp-ink); }
.ark-paketler.gizli { display: none; }
/* satın alma onayı (<dialog>, arkana.js) */
.kp-onay { max-width: min(420px, calc(100vw - 32px)); padding: 22px 22px 18px; border-radius: 18px; border: 1px solid rgba(217,178,106,.35);
  background: linear-gradient(170deg, #1d1420, #0c090b); color: #f2e6cc; box-shadow: 0 30px 60px -20px #000; }
.kp-onay::backdrop { background: rgba(5,3,4,.72); }
.kp-onay h3 { margin: 0 0 8px; font: 400 1.7rem "Pirata One", serif; }
.kp-onay p { margin: 0 0 16px; font: 700 1rem "EB Garamond", serif; color: #b3a58a; }
.kp-onay-d { display: flex; flex-wrap: wrap; gap: 8px; justify-content: flex-end; }
/* paket açma sahnesindeki zarf (eski kutunun yerine; aynı .sah klonlanır) */
.ark-sahne .kp-kutu { position: absolute; left: 50%; bottom: 18px; width: 312px; height: 300px; margin-left: -156px; z-index: 4;
  transform: scale(.82); transform-origin: 50% 100%; transition: transform calc(.7s * var(--ark-h)) ease, opacity calc(.6s * var(--ark-h)) ease; }
.ark-sahne.n5 .kp-kutu { transform: scale(.74); } .ark-sahne.n2 .kp-kutu { transform: scale(.9); }
.ark-sahne.yay .kp-kutu, .ark-sahne.n5.yay .kp-kutu, .ark-sahne.n2.yay .kp-kutu { opacity: 0; transform: translateY(24%) scale(.6); }
.ark-sahne.hazir .kp-kutu { display: none; }
.kp-kutu .z3 { animation: none; transform: rotateX(28deg); }
.kp-kutu .kp-egim { transform: none; }
.kp-kutu .golge { animation: none; }
.kp-muhur, .kp-mh, .kp-kurdele, .kp-kapak, .kp-etiket { transform-box: fill-box; }
.kp-muhur { transform-origin: 50% 50%; }
.ark-sahne.basla .kp-muhur { animation: kp-nabiz calc(.6s * var(--ark-h)) ease-in-out infinite; }
@keyframes kp-nabiz { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.13); } }
.kp-mh { transition: transform calc(.35s * var(--ark-h)) cubic-bezier(.3,1.5,.5,1), opacity calc(.5s * var(--ark-h)); }
.kp-mh.sol { transform-origin: 100% 50%; } .kp-mh.sag { transform-origin: 0 50%; }
.kp-catlak { transition: opacity calc(.2s * var(--ark-h)); }
.ark-sahne.catla .kp-catlak { opacity: 1; }
.ark-sahne.catla .kp-mh.sol { transform: translate(-6px, 2px) rotate(-12deg); }
.ark-sahne.catla .kp-mh.sag { transform: translate(6px, 2px) rotate(12deg); }
.ark-sahne.ac .kp-catlak { opacity: 0; }
.ark-sahne.ac .kp-mh { transition: transform calc(.8s * var(--ark-h)) cubic-bezier(.5,0,.8,.6), opacity calc(.8s * var(--ark-h)) ease-in; opacity: 0; }
.ark-sahne.ac .kp-mh.sol { transform: translate(-40px, 130px) rotate(-70deg); }
.ark-sahne.ac .kp-mh.sag { transform: translate(40px, 130px) rotate(70deg); }
.kp-kurdele.sol { transform-origin: 0 50%; } .kp-kurdele.sag { transform-origin: 100% 50%; }
.ark-sahne.ac .kp-kurdele.sol { animation: kp-kur-sol calc(1s * var(--ark-h)) cubic-bezier(.4,0,.6,1) forwards; }
.ark-sahne.ac .kp-kurdele.sag { animation: kp-kur-sag calc(1s * var(--ark-h)) cubic-bezier(.4,0,.6,1) forwards; }
@keyframes kp-kur-sol { 0% { transform: none; opacity: 1; } 40% { transform: translateX(-64px); opacity: 1; } 100% { transform: translate(-84px, 150px) rotate(-24deg); opacity: 0; } }
@keyframes kp-kur-sag { 0% { transform: none; opacity: 1; } 40% { transform: translateX(64px); opacity: 1; } 100% { transform: translate(84px, 150px) rotate(24deg); opacity: 0; } }
.kp-etiket { transform-origin: 30% 0; transition: transform calc(.7s * var(--ark-h)) ease-in, opacity calc(.6s * var(--ark-h)); }
.ark-sahne.ac .kp-etiket { transform: translate(26px, 90px) rotate(20deg); opacity: 0; }
.kp-kapak { transform-origin: 50% 0; transition: transform calc(.6s * var(--ark-h)) cubic-bezier(.3,1.3,.5,1) calc(.45s * var(--ark-h)); }
.ark-sahne.ac .kp-kapak { transform: scaleY(-.8); }
@media (max-width: 980px) { .kp-row { grid-template-columns: 1fr; gap: 26px; } }
@media (max-width: 600px) {
  .ark-sahne .kp-kutu, .ark-sahne.n5 .kp-kutu, .ark-sahne.n2 .kp-kutu { transform: scale(.6); }
}
@media (max-width: 420px) {
  .kp { padding: 20px 12px; }
  .kp-hd { flex-direction: column; align-items: flex-start; gap: 10px; }
  .kp-row .sah { transform: scale(.95); transform-origin: 50% 0; }
}
/* hareketi azalt: süzülme, fare eğimi ve parlama kapalı; sabit eğim kalır (açılış sahnesi 2× yavaş, yukarıda --ark-h) */
@media (prefers-reduced-motion: reduce) {
  .kp-row .z3, .kp-row .golge, .kp-row .aura, .kp-row .kp-seam { animation: none; }
  .kp-row .dmn, .kp-parilti { display: none; }
  .kp-row .kp-egim { transform: none; transition: none; }
}

/* ================================================================ SUNAK (envanter) */
.ark-sunak { --kw: min(200px, 38vw); position: relative; padding: 66px 16px 0; border-radius: 22px; overflow: hidden; border: 1px solid var(--line);
  background: radial-gradient(ellipse at 50% 18%, rgba(232,120,40,.16), transparent 58%), linear-gradient(180deg, #181310, #0c0a08); color: var(--kagit); }
.ark-ag { position: absolute; top: 0; width: clamp(80px, 18vw, 150px); height: auto; color: rgba(222,206,172,.26); pointer-events: none; }
.ark-ag.sol { left: 0; } .ark-ag.sag { right: 0; transform: scaleX(-1); }
.ark-orumcek { position: absolute; top: 0; left: 74%; width: 26px; transform-origin: 50% 0; animation: ark-sal calc(5.5s * var(--ark-h)) ease-in-out infinite alternate;
  color: #0b0807; z-index: 3; pointer-events: none; }
.ark-orumcek .ip { display: block; width: 1px; height: 54px; margin: 0 auto; background: rgba(222,206,172,.35); }
.ark-orumcek svg { display: block; width: 26px; height: 26px; filter: drop-shadow(0 0 2px rgba(222,206,172,.35)); }
@keyframes ark-sal { from { transform: rotate(-7deg); } to { transform: rotate(7deg); } }
.ark-yuvalar { position: relative; z-index: 2; display: flex; justify-content: center; align-items: flex-end; gap: clamp(14px, 5vw, 56px); flex-wrap: wrap; }
.ark-yuva { width: var(--kw); display: flex; flex-direction: column; align-items: center; gap: 10px; }
.ark-yuva-bos { width: 100%; aspect-ratio: 7 / 12; border-radius: calc(var(--kw) * .055); border: 1.5px dashed rgba(216,168,76,.45);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; background: rgba(0,0,0,.25); color: var(--kagit-s); }
.ark-yuva-bos span { font-family: "Pirata One", serif; font-size: 1.3rem; }
.ark-dug { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; width: calc(100% + 24px); }
.ark-dug .ark-btn { font-size: .8rem; padding: 4px 10px; min-height: 32px; }
.ark-dug details { position: relative; }
.ark-dug details[open] > :not(summary) { margin-top: 6px; }
.ark-ne p { margin: 6px 0 0; padding: 10px 12px; border-radius: 10px; background: rgba(0,0,0,.55); border: 1px solid var(--line); font-size: .9rem;
  max-width: min(320px, 80vw); color: var(--kagit); }
.ark-kilit { margin: 0; font-size: .85rem; color: var(--candle); text-align: center; }
.ark-tas { position: relative; z-index: 1; height: 54px; margin: -26px -16px 0; background: linear-gradient(180deg, #5a5048, #2e2823 40%, #1b1714);
  border-top: 1px solid rgba(255,255,255,.12); box-shadow: inset 0 10px 18px -10px rgba(255,255,255,.18); }
.ark-tas::before { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(90deg, transparent 0 64px, rgba(0,0,0,.35) 64px 66px); }
.ark-mumlar { position: absolute; left: 0; right: 0; bottom: 54px; height: 0; z-index: 1; pointer-events: none; }
.ark-mum { position: absolute; bottom: 0; width: 13px; height: 46px; border-radius: 3px 3px 1px 1px; background: linear-gradient(90deg, #cdbd9a, #f1e6cb 45%, #b9a984); }
.ark-mum.m1 { left: 6%; height: 58px; } .ark-mum.m2 { left: calc(6% + 22px); height: 38px; } .ark-mum.m3 { right: calc(6% + 22px); height: 44px; }
.ark-mum.m4 { right: 6%; height: 62px; }
.ark-mum b { position: absolute; left: 50%; bottom: 100%; width: 12px; height: 22px; margin-left: -6px; border-radius: 50% 50% 45% 45% / 62% 62% 38% 38%;
  background: radial-gradient(ellipse at 50% 72%, #fff3c4, #f0a040 46%, rgba(232,120,40,0) 72%); transform-origin: 50% 100%;
  animation: ark-alev calc(1.6s * var(--ark-h)) ease-in-out infinite alternate; }
.ark-mum b::after { content: ""; position: absolute; left: 50%; bottom: -10px; width: 70px; height: 70px; margin-left: -35px; border-radius: 50%;
  background: radial-gradient(circle, rgba(232,140,50,.22), transparent 65%); animation: ark-isik calc(2.1s * var(--ark-h)) ease-in-out infinite alternate; }
.ark-mum.m2 b, .ark-mum.m4 b { animation-delay: calc(-.7s * var(--ark-h)); }
@keyframes ark-alev { 0% { transform: scale(1, 1) rotate(-2deg); opacity: .95; } 50% { transform: scale(.92, 1.08) rotate(2deg); } 100% { transform: scale(1.05, .94) rotate(-1deg); opacity: .8; } }
@keyframes ark-isik { from { opacity: .7; transform: scale(.94); } to { opacity: 1; transform: scale(1.06); } }
.ark-raf { margin: 18px 0 0; padding: 14px 14px 0; border-radius: 16px; background: linear-gradient(180deg, rgba(0,0,0,.25), rgba(0,0,0,.05)); border: 1px solid var(--line); }
.ark-raf h3 { margin: 0 0 10px; font-size: 1.35rem; } .ark-raf h3 small { font-family: system-ui, sans-serif; font-size: .75rem; color: var(--text-dim); }
.ark-raf-ic { --kw: min(116px, 26vw); display: flex; flex-wrap: wrap; gap: 18px; padding-bottom: 18px;
  background: linear-gradient(transparent calc(100% - 14px), #3b2618 calc(100% - 14px), #2a1a10); }
.ark-raf-k { width: var(--kw); display: flex; flex-direction: column; align-items: center; gap: 6px; padding-bottom: 18px; }
.ark-raf-k .ark-dug { width: calc(100% + 30px); }
.ark-etki { margin: 18px 0 0; }
.ark-etki h3 { margin: 0 0 8px; font-size: 1.35rem; }
.ark-etkiler { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0; padding: 0; }
.ark-etkiler li { display: inline-flex; align-items: center; gap: 10px; padding: 6px 12px; border-radius: 99px; background: var(--inset); border: 1px solid var(--line); font-size: .92rem; }
.ark-etkiler time { font-family: system-ui, sans-serif; font-variant-numeric: tabular-nums; font-size: .8rem; color: var(--accent-text); }
.ark-etki-bos { color: var(--text-dim); margin: 0; }

/* ================================================================ TAROT DEFTERİ */
.ark-kitap { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 0; padding: 16px; border-radius: 10px 16px 16px 10px;
  background: radial-gradient(ellipse at 30% 20%, rgba(255,255,255,.06), transparent 60%), linear-gradient(135deg, #4a2b1b, #2a170e 60%, #3a2215);
  border: 1px solid #1a0d07; box-shadow: 0 24px 40px -22px #000, inset 0 0 0 3px rgba(216,168,76,.25), inset 0 0 0 5px rgba(0,0,0,.35); }
.ark-kitap::before { content: ""; position: absolute; top: 12px; bottom: 12px; left: 50%; width: 26px; margin-left: -13px; z-index: 2; pointer-events: none;
  background: linear-gradient(90deg, transparent, rgba(0,0,0,.35) 40%, rgba(0,0,0,.5) 50%, rgba(0,0,0,.35) 60%, transparent); }
.ark-sayfa { position: relative; padding: 18px clamp(12px, 2vw, 22px) 22px; color: #2a1d14; min-width: 0;
  background: radial-gradient(ellipse at 80% 90%, rgba(120,80,30,.16), transparent 40%), radial-gradient(ellipse at 15% 10%, rgba(120,80,30,.12), transparent 35%),
  linear-gradient(180deg, #efe3c4, #e3d2aa); box-shadow: inset 0 0 30px rgba(110,70,30,.25); }
.ark-sayfa.sol { border-radius: 6px 0 0 6px; } .ark-sayfa.sag { border-radius: 0 6px 6px 0; }
.ark-sayfa h3 { margin: 0 0 12px; font-size: 1.35rem; color: #5a1410; text-align: center; border-bottom: 1px solid rgba(90,20,16,.25); padding-bottom: 6px; }
.ark-sayfa h3.df-ruh-b { margin-top: 18px; color: #1f5b58; border-bottom-color: rgba(31,91,88,.3); }
.df-izgara { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px 12px; }
.df-kart { margin: 0; display: flex; flex-direction: column; align-items: center; gap: 4px; min-width: 0; }
.df-resim { position: relative; width: 100%; aspect-ratio: 120 / 175; background: #d6c49c; box-shadow: 0 3px 6px rgba(60,30,10,.35); transform: rotate(-1deg); }
.df-kart:nth-child(2n) .df-resim { transform: rotate(1.2deg); } .df-kart:nth-child(3n) .df-resim { transform: rotate(-.4deg); }
.df-resim img { display: block; width: 100%; height: 100%; object-fit: cover; padding: 4px; background: #f7efdc; }
.df-resim::before, .df-resim::after, .df-kose::before, .df-kose::after { content: ""; position: absolute; width: 0; height: 0; border-style: solid; z-index: 2; }
.df-resim::before { left: -2px; top: -2px; border-width: 13px 13px 0 0; border-color: #3b2a1c transparent transparent transparent; }
.df-resim::after { right: -2px; bottom: -2px; border-width: 0 0 13px 13px; border-color: transparent transparent #3b2a1c transparent; }
.df-kose::before { right: -2px; top: -2px; border-width: 0 13px 13px 0; border-color: transparent #3b2a1c transparent transparent; }
.df-kose::after { left: -2px; bottom: -2px; border-width: 13px 0 0 13px; border-color: transparent transparent transparent #3b2a1c; }
.df-kart.v-negatif img { filter: invert(1) hue-rotate(180deg); }
.df-kart.v-holo .df-resim { box-shadow: 0 0 0 2px rgba(216,168,76,.8), 0 3px 8px rgba(60,30,10,.4); }
.df-kart.v-folyo .df-resim { box-shadow: 0 0 0 2px rgba(232,120,40,.75), 0 3px 8px rgba(60,30,10,.4); }
.df-kart figcaption { font-family: "EB Garamond", serif; font-weight: 700; font-size: .78rem; text-align: center; line-height: 1.1; color: #3a2a1c;
  max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.df-kart.kilitli .df-resim { display: flex; align-items: center; justify-content: center; padding: 6px; transform: none; box-shadow: none;
  border: 1.5px dashed rgba(90,60,30,.45); background: repeating-linear-gradient(135deg, rgba(90,60,30,.08) 0 6px, transparent 6px 12px); }
.df-kart.kilitli .df-resim::before, .df-kart.kilitli .df-resim::after { display: none; }
.df-kart.kilitli .df-resim span { font-family: "EB Garamond", serif; font-size: .78rem; text-align: center; color: rgba(58,42,28,.75); overflow-wrap: anywhere; }
.df-nokta { display: flex; gap: 3px; }
.df-nokta i { width: 7px; height: 7px; border-radius: 50%; border: 1px solid rgba(58,42,28,.5); background: transparent; }
.df-nokta i.on.n-normal { background: #8a7656; border-color: #8a7656; } .df-nokta i.on.n-folyo { background: #e87828; border-color: #b85a14; }
.df-nokta i.on.n-holo { background: conic-gradient(#e87828, #d8a84c, #6fb3a8, #c0473f, #e87828); border-color: #6a5030; }
.df-nokta i.on.n-negatif { background: #1b130e; border-color: #1b130e; box-shadow: inset 0 0 0 1.5px #efe3c4; }
.df-alt { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px; margin: 16px 0 0; }
.df-ilerleme { flex: 1 1 260px; display: flex; flex-direction: column; gap: 6px; }
.df-ilerleme progress { -webkit-appearance: none; appearance: none; width: 100%; height: 12px; border-radius: 99px; overflow: hidden; border: 1px solid var(--line-strong);
  background: var(--inset-strong); }
.df-ilerleme progress::-webkit-progress-bar { background: var(--inset-strong); }
.df-ilerleme progress::-webkit-progress-value { background: linear-gradient(90deg, #801816, #e87828); border-radius: 99px; }
.df-ilerleme progress::-moz-progress-bar { background: linear-gradient(90deg, #801816, #e87828); border-radius: 99px; }
.df-muhur { display: flex; align-items: center; gap: 10px; color: #4a2a22; opacity: .45; filter: grayscale(.8); }
.df-muhur-svg { width: 64px; height: 64px; }
.df-muhur span { font-family: "Pirata One", serif; font-size: 1.25rem; color: var(--text-dim); }
.df-muhur.on { color: #8f1d18; opacity: 1; filter: drop-shadow(0 3px 4px rgba(0,0,0,.5)); }
.df-muhur.on span { color: var(--blood-hi); }
.df-muhur.on .df-muhur-svg { animation: ark-damga calc(.8s * var(--ark-h)) cubic-bezier(.3,1.6,.5,1) both; }
@keyframes ark-damga { from { transform: scale(1.6) rotate(-14deg); opacity: 0; } to { transform: scale(1) rotate(-6deg); opacity: 1; } }

/* ================================================================ KATALOG */
.ark-katalog { --kw: 92px; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 14px; margin: 14px 0 0; }
.ark-k { display: flex; gap: 14px; align-items: flex-start; padding: 12px; border-radius: 14px; background: var(--surface); border: 1px solid var(--line-soft); min-width: 0; }
.ark-k h3 { margin: 2px 0 4px; font-size: 1.25rem; color: var(--text); }
.ark-k p { margin: 0; font-size: .93rem; color: var(--text-dim); }
.ark-k p b { color: var(--text); }

/* ================================================================ dar ekran */
@media (max-width: 520px) { .ark-mum.m2, .ark-mum.m3 { display: none; } .ark-mum.m1 { left: 3%; } .ark-mum.m4 { right: 3%; } }
@media (max-width: 700px) {
  .ark-kitap { grid-template-columns: 1fr; padding: 10px; }
  .ark-kitap::before { display: none; }
  .ark-sayfa.sol { border-radius: 6px 6px 0 0; } .ark-sayfa.sag { border-radius: 0 0 6px 6px; border-top: 1px dashed rgba(90,60,30,.35); }
  .df-izgara { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .ark-sahne { height: calc(var(--kw) * 12 / 7 + 130px); }
  .ark-ust { align-items: flex-start; }
  }
