/* PATİKA dergi sitesi - ortak stil
   Eski tarayıcılar için: CSS değişkeni yok, -webkit- önekleri var, sadece transform/opacity animasyonu. */

@font-face {
  font-family: "Anton";
  src: url("font/Anton-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

* { -webkit-box-sizing: border-box; box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  background: #0d0d0d;
  color: #fff;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  -webkit-text-size-adjust: 100%;
  -webkit-tap-highlight-color: rgba(0,0,0,0);
}
a { color: inherit; }
img { border: 0; }
.baslik-font { font-family: "Anton", Impact, "Arial Narrow Bold", sans-serif; font-weight: 400; letter-spacing: .01em; }
.gizli { display: none !important; }

/* ================= GİRİŞ SAYFASI ================= */
.giris { background: #b00000; min-height: 100vh; overflow-x: hidden; }
.giris-ust {
  position: relative;
  padding: 28px 20px 8px;
  text-align: center;
}
.logo {
  font-family: "Anton", Impact, sans-serif;
  font-size: 86px; line-height: .95; margin: 0;
  color: #fff; letter-spacing: .02em;
}
.slogan { font-family: "Anton", Impact, sans-serif; font-size: 20px; margin: 10px 0 4px; }
.alt-slogan { font-style: italic; font-weight: 700; font-size: 14px; opacity: .9; margin: 0; }
.fular {
  display: block; width: 120px; height: 6px; margin: 16px auto 0; background: #0d0d0d;
  -webkit-transform: skewX(-20deg); transform: skewX(-20deg);
}

.vitrin {
  max-width: 980px; margin: 18px auto 0; padding: 0 16px 10px;
  display: -webkit-box; display: -webkit-flex; display: flex;
  -webkit-flex-wrap: wrap; flex-wrap: wrap;
  -webkit-box-align: center; -webkit-align-items: center; align-items: center;
  -webkit-box-pack: center; -webkit-justify-content: center; justify-content: center;
}
.vitrin-kapak {
  display: block; width: 280px; max-width: 78vw; margin: 0 18px 18px;
  -webkit-transform: rotate(-2deg); transform: rotate(-2deg);
  -webkit-transition: -webkit-transform .25s ease; transition: transform .25s ease;
  text-decoration: none;
}
.vitrin-kapak:hover { -webkit-transform: rotate(0deg) scale(1.02); transform: rotate(0deg) scale(1.02); }
.vitrin-kapak img {
  display: block; width: 100%; height: auto;
  border: 4px solid #fff;
  box-shadow: 10px 12px 0 #0d0d0d;
}
.vitrin-metin { width: 340px; max-width: 92vw; margin: 0 18px 18px; text-align: left; }
.vitrin-etiket {
  display: inline-block; background: #0d0d0d; color: #fff; padding: 4px 10px;
  font-family: "Anton", Impact, sans-serif; font-size: 14px; letter-spacing: .06em;
}
.vitrin-baslik { font-family: "Anton", Impact, sans-serif; font-size: 44px; line-height: 1.05; margin: 10px 0 6px; }
.vitrin-tarih { opacity: .85; font-size: 14px; margin: 0 0 18px; }
.buton {
  display: inline-block; background: #fff; color: #b00000; text-decoration: none;
  font-family: "Anton", Impact, sans-serif; font-size: 22px; letter-spacing: .04em;
  padding: 12px 26px 11px; border: 0; cursor: pointer;
  box-shadow: 5px 5px 0 #0d0d0d;
  -webkit-transition: -webkit-transform .12s ease, box-shadow .12s ease; transition: transform .12s ease, box-shadow .12s ease;
}
.buton:active { -webkit-transform: translate(3px, 3px); transform: translate(3px, 3px); box-shadow: 2px 2px 0 #0d0d0d; }
.buton-ikincil { background: transparent; color: #fff; box-shadow: none; font-size: 15px; padding: 8px 4px; text-decoration: underline; margin-left: 12px; }

.arsiv { background: #0d0d0d; padding: 30px 16px 40px; }
.arsiv h2 { text-align: center; font-family: "Anton", Impact, sans-serif; font-weight: 400; font-size: 30px; margin: 0 0 20px; letter-spacing: .04em; }
.sayi-liste {
  max-width: 980px; margin: 0 auto;
  display: -webkit-box; display: -webkit-flex; display: flex;
  -webkit-flex-wrap: wrap; flex-wrap: wrap;
  -webkit-box-pack: center; -webkit-justify-content: center; justify-content: center;
}
.sayi-btn {
  position: relative; display: block; width: 150px; margin: 0 10px 20px;
  text-decoration: none; color: #fff; text-align: center;
}
.sayi-btn .sayi-kapak {
  display: block; width: 150px; height: 212px; background: #b00000; overflow: hidden;
  border: 3px solid #fff;
}
.sayi-btn img { display: block; width: 100%; height: 100%; }
.sayi-btn .sayi-ad { display: block; font-family: "Anton", Impact, sans-serif; font-size: 22px; margin-top: 8px; }
.sayi-btn .sayi-tarih { display: block; font-size: 12px; opacity: .7; }
.sayi-btn.kilitli { cursor: default; }
.sayi-btn.kilitli .sayi-kapak {
  background: #1d1d1d; border-color: #444;
  display: -webkit-box; display: -webkit-flex; display: flex;
  -webkit-box-orient: vertical; -webkit-flex-direction: column; flex-direction: column;
  -webkit-box-align: center; -webkit-align-items: center; align-items: center;
  -webkit-box-pack: center; -webkit-justify-content: center; justify-content: center;
}
.kilit { font-size: 40px; line-height: 1; opacity: .8; }
.yakinda { font-family: "Anton", Impact, sans-serif; font-size: 18px; margin-top: 10px; color: #b00000; letter-spacing: .08em; }
.sayi-btn.kilitli .sayi-ad { color: #777; }

.alt-bilgi { text-align: center; font-size: 12px; opacity: .55; padding: 20px 16px 30px; background: #0d0d0d; }

/* Giriş kedisi */
.giris-kedi {
  position: absolute; left: 3%; top: 0; width: 46px; cursor: pointer;
  -webkit-transform-origin: 50% 0; transform-origin: 50% 0;
}

@media (min-width: 700px) {
  .logo { font-size: 140px; }
  .slogan { font-size: 28px; }
  .giris-kedi { width: 100px; left: auto; right: 8%; }
}

/* ================= OKUYUCU ================= */
html.okuyucu-html, .okuyucu-html body { height: 100%; overflow: hidden; }
.okuyucu-html body { background: #1a1a1a; position: fixed; left: 0; top: 0; right: 0; bottom: 0; }

.ust-bar {
  position: absolute; left: 0; right: 0; top: 0; height: 48px; z-index: 30;
  background: #0d0d0d; border-bottom: 3px solid #b00000;
  display: -webkit-box; display: -webkit-flex; display: flex;
  -webkit-box-align: center; -webkit-align-items: center; align-items: center;
  padding: 0 6px;
}
.ust-bar .ev {
  font-family: "Anton", Impact, sans-serif; font-size: 22px; text-decoration: none; padding: 6px 8px; letter-spacing: .03em;
}
.ust-bar .ev span { color: #b00000; }
.ust-bar .bosluk { -webkit-box-flex: 1; -webkit-flex: 1; flex: 1; }
.ust-bar .sayi-adi { font-size: 13px; opacity: .75; margin-left: 4px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ikon-btn {
  background: transparent; border: 0; color: #fff; cursor: pointer;
  height: 40px; min-width: 40px; padding: 0 8px; margin-left: 2px;
  font-size: 13px; font-weight: 700; text-decoration: none;
  display: -webkit-inline-box; display: -webkit-inline-flex; display: inline-flex;
  -webkit-box-align: center; -webkit-align-items: center; align-items: center;
  -webkit-box-pack: center; -webkit-justify-content: center; justify-content: center;
  border-radius: 4px;
}
.ikon-btn:hover { background: #262626; }
.ikon-btn svg { width: 20px; height: 20px; fill: #fff; display: block; }
.ikon-btn .yazi { margin-left: 6px; }
.pdf-btn { background: #b00000; }
.pdf-btn:hover { background: #d40000; }

.sahne {
  position: absolute; left: 0; right: 0; top: 48px; bottom: 54px; overflow: hidden;
  -webkit-perspective: 2200px; perspective: 2200px;
}
.kitap {
  position: absolute; left: 0; top: 0;
  -webkit-transform-style: preserve-3d; transform-style: preserve-3d;
  -webkit-user-select: none; -moz-user-select: none; -ms-user-select: none; user-select: none;
  -webkit-touch-callout: none;
  cursor: -webkit-grab; cursor: grab;
}
.kitap.surukleniyor { cursor: -webkit-grabbing; cursor: grabbing; }
.yuva { position: absolute; top: 0; overflow: hidden; background: #2a2a2a; }
.yuva-bos { background: transparent; }
.kitap-golge {
  position: absolute; top: 0; box-shadow: 0 10px 40px rgba(0,0,0,.55); pointer-events: none;
}
.sirt {
  position: absolute; top: 0; width: 40px; margin-left: -20px; pointer-events: none; z-index: 5;
  background: -webkit-linear-gradient(left, rgba(0,0,0,0) 0%, rgba(0,0,0,.22) 46%, rgba(0,0,0,.3) 50%, rgba(0,0,0,.22) 54%, rgba(0,0,0,0) 100%);
  background: linear-gradient(to right, rgba(0,0,0,0) 0%, rgba(0,0,0,.22) 46%, rgba(0,0,0,.3) 50%, rgba(0,0,0,.22) 54%, rgba(0,0,0,0) 100%);
}

.sayfa { position: absolute; left: 0; top: 0; width: 100%; height: 100%; overflow: hidden; background: #fff; }
.sayfa > img.zemin { position: absolute; left: 0; top: 0; width: 100%; height: 100%; display: block; pointer-events: none; }
.sayfa .yukleniyor {
  position: absolute; left: 50%; top: 50%; width: 34px; height: 34px; margin: -17px 0 0 -17px;
  border: 3px solid rgba(0,0,0,.15); border-top-color: #b00000; border-radius: 50%;
  -webkit-animation: don .8s linear infinite; animation: don .8s linear infinite;
}
@-webkit-keyframes don { to { -webkit-transform: rotate(360deg); } }
@keyframes don { to { transform: rotate(360deg); } }

/* Çevrilen yaprak */
.yaprak {
  position: absolute; top: 0; z-index: 10;
  -webkit-transform-style: preserve-3d; transform-style: preserve-3d;
  will-change: transform;
}
.yuz {
  position: absolute; left: 0; top: 0; width: 100%; height: 100%; overflow: hidden;
  -webkit-backface-visibility: hidden; backface-visibility: hidden;
  background: #fff;
}
.yuz.arka { -webkit-transform: rotateY(180deg); transform: rotateY(180deg); }
.yuz.bos-arka { background: #e9e6e0; }
.isik {
  position: absolute; left: 0; top: 0; width: 100%; height: 100%; pointer-events: none; opacity: 0; z-index: 4;
}
.yuz.on .isik {
  background: -webkit-linear-gradient(left, rgba(0,0,0,.45) 0%, rgba(0,0,0,0) 60%);
  background: linear-gradient(to right, rgba(0,0,0,.45) 0%, rgba(0,0,0,0) 60%);
}
.yuz.arka .isik {
  background: -webkit-linear-gradient(right, rgba(0,0,0,.45) 0%, rgba(0,0,0,0) 60%);
  background: linear-gradient(to left, rgba(0,0,0,.45) 0%, rgba(0,0,0,0) 60%);
}
.yaprak.geri .yuz.on .isik {
  background: -webkit-linear-gradient(right, rgba(0,0,0,.45) 0%, rgba(0,0,0,0) 60%);
  background: linear-gradient(to left, rgba(0,0,0,.45) 0%, rgba(0,0,0,0) 60%);
}
.yaprak.geri .yuz.arka .isik {
  background: -webkit-linear-gradient(left, rgba(0,0,0,.45) 0%, rgba(0,0,0,0) 60%);
  background: linear-gradient(to right, rgba(0,0,0,.45) 0%, rgba(0,0,0,0) 60%);
}
.alt-golge { position: absolute; top: 0; pointer-events: none; z-index: 9; opacity: 0; background: rgba(0,0,0,.35); }

/* Ok butonları */
.ok {
  position: absolute; top: 50%; margin-top: -28px; z-index: 20;
  width: 44px; height: 56px; border: 0; cursor: pointer;
  background: rgba(13,13,13,.75); color: #fff; font-size: 26px; line-height: 56px; text-align: center; padding: 0;
  border-radius: 4px;
}
.ok:hover { background: #b00000; }
.ok[disabled] { opacity: .2; cursor: default; }
.ok-sol { left: 6px; }
.ok-sag { right: 6px; }

/* Alt bar */
.alt-bar {
  position: absolute; left: 0; right: 0; bottom: 0; height: 54px; z-index: 30;
  background: #0d0d0d;
  display: -webkit-box; display: -webkit-flex; display: flex;
  -webkit-box-align: center; -webkit-align-items: center; align-items: center;
  padding: 0 14px;
}
.sayac { font-size: 14px; font-weight: 700; min-width: 70px; text-align: center; white-space: nowrap; }
.kaydirici { -webkit-box-flex: 1; -webkit-flex: 1; flex: 1; margin: 0 12px; width: 100%; accent-color: #b00000; }

/* İpucu */
.ipucu {
  position: absolute; left: 50%; bottom: 66px; z-index: 40;
  -webkit-transform: translateX(-50%); transform: translateX(-50%);
  background: #fff; color: #0d0d0d; font-weight: 700; font-size: 14px;
  padding: 10px 16px; border-radius: 22px; box-shadow: 0 4px 16px rgba(0,0,0,.4);
  white-space: nowrap; opacity: 0;
  -webkit-transition: opacity .4s ease; transition: opacity .4s ease;
  pointer-events: none;
}
.ipucu.goster { opacity: 1; }

/* Yakınlaştırma */
.zoom {
  position: absolute; left: 0; top: 0; right: 0; bottom: 0; z-index: 50; background: #111;
  overflow: auto; -webkit-overflow-scrolling: touch;
}
.zoom-ic { margin: 0 auto; padding: 60px 0 30px; }
.zoom-ic img { display: block; width: 100%; height: auto; margin: 0 0 10px; background: #fff; }
.zoom-bar {
  position: fixed; top: 10px; right: 10px; z-index: 51;
  display: -webkit-box; display: -webkit-flex; display: flex;
}
.zoom-bar button {
  width: 44px; height: 44px; margin-left: 6px; border: 0; border-radius: 22px; cursor: pointer;
  background: #b00000; color: #fff; font-size: 22px; font-weight: 700; line-height: 44px; padding: 0;
  box-shadow: 0 2px 10px rgba(0,0,0,.5);
}

.hata { position: absolute; left: 0; right: 0; top: 40%; text-align: center; padding: 20px; }

@media (max-width: 600px) {
  .ust-bar .yazi-genis { display: none; }
  .ok { width: 34px; height: 48px; margin-top: -24px; line-height: 48px; font-size: 22px; background: rgba(13,13,13,.45); }
  .ok-sol { left: 2px; } .ok-sag { right: 2px; }
}

/* ================= SES TUŞLARI (sol üst) ================= */
.ses-kontrol {
  position: relative; z-index: 60;
  display: -webkit-box; display: -webkit-flex; display: flex;
  -webkit-box-align: center; -webkit-align-items: center; align-items: center;
}
.ses-kontrol.yuzen {
  position: fixed; left: 10px; top: 10px;
  background: rgba(13,13,13,.82); border-radius: 24px; padding: 3px;
  box-shadow: 0 3px 12px rgba(0,0,0,.35);
}
.sk-btn {
  width: 38px; height: 38px; margin: 0 1px; padding: 0; border: 0; border-radius: 19px;
  background: transparent; cursor: pointer;
  display: -webkit-box; display: -webkit-flex; display: flex;
  -webkit-box-align: center; -webkit-align-items: center; align-items: center;
  -webkit-box-pack: center; -webkit-justify-content: center; justify-content: center;
  -webkit-transition: background .15s ease; transition: background .15s ease;
}
.sk-btn:hover { background: #2a2a2a; }
.sk-btn svg { width: 24px; height: 24px; display: block; }
#sk-kedi svg { width: 28px; height: 28px; }
.sk-btn.kapali { background: rgba(176,0,0,.28); }
.sk-menu {
  position: absolute; left: 0; top: 46px; min-width: 230px;
  background: #0d0d0d; border: 2px solid #b00000; border-radius: 8px; padding: 6px;
  box-shadow: 0 8px 24px rgba(0,0,0,.5);
}
.sk-baslik { font-size: 11px; letter-spacing: .08em; text-transform: uppercase; opacity: .6; padding: 6px 8px 4px; color: #fff; }
.sk-sarki {
  display: block; width: 100%; text-align: left; background: transparent; border: 0; color: #fff;
  font: inherit; font-size: 15px; padding: 10px 10px; border-radius: 5px; cursor: pointer;
}
.sk-sarki:hover { background: #222; }
.sk-sarki.secili { color: #ff6b6b; font-weight: 700; }
.ust-bar .ses-kontrol { margin-right: 4px; }
@media (max-width: 600px) {
  .ust-bar .sayi-adi { display: none; }
  .ust-bar .ev { font-size: 19px; padding: 6px 4px; }
  .sk-btn { width: 34px; height: 34px; }
  .giris-kedi { left: auto; right: 3%; }
}

/* ================= İMZA (giriş sayfası sağ alt) ================= */
.alt-bilgi { position: relative; background: #5a0000; opacity: 1; color: rgba(255,255,255,.6); }
.alt-bilgi .alt-metin { display: block; }
.imza { display: block; margin-top: 16px; text-align: center; color: #fff; }
.imza-unvan { display: block; font-size: 10px; font-weight: 700; letter-spacing: .22em; opacity: .65; }
.imza-ad { display: block; font-family: "Anton", Impact, sans-serif; font-size: 18px; letter-spacing: .03em; margin-top: 3px; }
@media (min-width: 700px) {
  .alt-bilgi { padding: 24px 32px; }
  .imza { position: absolute; right: 32px; top: 50%; margin-top: 0; text-align: right;
    -webkit-transform: translateY(-50%); transform: translateY(-50%); }
}
a.imza { text-decoration: none; cursor: pointer; }
.imza-ok { display: inline-block; font-family: Arial, sans-serif; font-size: 14px; opacity: 0;
  -webkit-transition: opacity .2s ease, -webkit-transform .2s ease; transition: opacity .2s ease, transform .2s ease; }
a.imza:hover .imza-ad, a.imza:focus .imza-ad { color: #ffd2d2; }
a.imza:hover .imza-ok, a.imza:focus .imza-ok { opacity: 1; -webkit-transform: translate(2px,-2px); transform: translate(2px,-2px); }
@media (hover: none) { .imza-ok { opacity: .7; } }
.yuz.gizli-arka { visibility: hidden; }

/* ================= CİHAZ DÜZELTMELERİ (2026-12-02 cihaz testi) ================= */
/* Asılı kedi her ekranda sağda: sol üst ses tuşlarıyla çakışmasın */
.giris-kedi { left: auto; right: 3%; }
@media (max-width: 699px) {
  .giris-ust { padding-top: 64px; }           /* logo, sol üstteki ses tuşlarının altında başlasın */
}
@media (max-width: 479px) {
  .logo { font-size: 64px; }
  .giris-kedi { width: 40px; right: 4%; }
}
/* Alt bilgi: tablet/masaüstünde yazı solda, imza sağda; üst üste binmesin */
@media (min-width: 700px) {
  .alt-bilgi {
    display: -webkit-box; display: -webkit-flex; display: flex;
    -webkit-box-align: center; -webkit-align-items: center; align-items: center;
    -webkit-box-pack: justify; -webkit-justify-content: space-between; justify-content: space-between;
    text-align: left;
  }
  .imza { position: static; margin: 0 0 0 24px; -webkit-transform: none; transform: none; text-align: right; -webkit-flex-shrink: 0; flex-shrink: 0; }
}
/* Telefon yatay (kısa ekran): çubukları incelt, sayfaya yer aç */
@media (max-height: 500px) {
  .ust-bar { height: 40px; }
  .sahne { top: 40px; bottom: 34px; }
  .alt-bar { height: 34px; }
  .ipucu { bottom: 42px; }
  .sk-btn { width: 32px; height: 32px; }
  .ok { width: 32px; height: 44px; margin-top: -22px; line-height: 44px; font-size: 22px; }
}
@media (min-width: 700px) { .giris-kedi { right: 8%; } }
/* Telefonda sayı kartları yan yana sığsın */
@media (max-width: 479px) {
  .sayi-btn { width: 128px; margin: 0 7px 18px; }
  .sayi-btn .sayi-kapak { width: 128px; height: 181px; }
  .sayi-btn .sayi-ad { font-size: 19px; }
}
@media (max-width: 359px) {
  .arsiv { padding-left: 8px; padding-right: 8px; }
  .sayi-btn { width: 116px; margin: 0 6px 18px; }
  .sayi-btn .sayi-kapak { width: 116px; height: 164px; }
}
