/* Genel özellikler: çerez bildirimi, başa dön, kısayollar, paylaş menüsü, erişilebilirlik, takvim, ayarlar */
.kontrast { --ink: #fff; --ink-2: #f1f1f1; --ink-3: #dcdcdc; --line: rgba(255,255,255,.5); }
.kontrast[data-mode="light"] { --ink: #000; --ink-2: #111; --ink-3: #222; --line: rgba(0,0,0,.6); }
.okuma body { font-size: 1.12em; line-height: 1.85; letter-spacing: .01em; } .okuma .story { max-width: 62ch; }
.kontrast a { text-decoration: underline; } .kontrast .btn, .kontrast .chip { border-width: 2px; }

.cerez { position: fixed; left: 50%; bottom: 18px; transform: translateX(-50%); z-index: 260; width: min(860px, 100% - 24px); display: flex; gap: 18px; align-items: center; justify-content: space-between; flex-wrap: wrap; padding: 16px 20px; background: var(--surface); border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow); animation: heroIn .4s var(--ease); }
.cerez p { flex: 1 1 360px; font-size: 14px; color: var(--ink-2); } .cerez a { color: var(--accent); text-decoration: underline; }
.cerez div { display: flex; gap: 8px; } .cerez.git { opacity: 0; transform: translate(-50%, 16px); transition: opacity .3s, transform .3s; }


.ks-bg { position: fixed; inset: 0; z-index: 300; background: rgba(0,0,0,.55); display: grid; place-items: center; padding: 16px; }
.ks { width: min(460px, 100%); background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 22px; animation: heroIn .2s var(--ease); }
.ks header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; font: 700 20px var(--font-display); }
.ks dl { display: grid; grid-template-columns: auto 1fr; gap: 10px 18px; margin: 0; } .ks dt { text-align: right; } .ks dd { margin: 0; color: var(--ink-2); }
kbd { font: 600 12px var(--font-body); padding: 3px 8px; border: 1px solid var(--line); border-bottom-width: 2px; border-radius: 6px; background: var(--bg); }

.pm-menu { position: absolute; z-index: 150; min-width: 210px; display: grid; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 6px; box-shadow: var(--shadow); animation: heroIn .18s var(--ease); }
.pm-menu a, .pm-menu button { padding: 10px 14px; border-radius: 10px; text-align: left; font-size: 14.5px; } .pm-menu a:hover, .pm-menu button:hover { background: var(--accent-soft); }

/* rozetler */
.badge.yeni { background: var(--ok); color: #0b1d0c; } .badge.son { background: var(--warn); color: #1a1410; } .badge.bugun { background: var(--paper); color: var(--paper-ink); }

/* takvim sayfası */
.tk-ust { display: flex; justify-content: space-between; align-items: center; gap: 14px; flex-wrap: wrap; margin: 24px 0 14px; }
.tk-ust h2 { font-size: clamp(26px, 3vw, 40px); text-transform: capitalize; }
.tk-gun-adlari, .tk-izgara { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; }
.tk-gun-adlari { color: var(--ink-3); font: 600 12px var(--font-body); letter-spacing: .08em; text-transform: uppercase; text-align: center; margin-bottom: 6px; }
.tk-h { position: relative; min-height: clamp(70px, 9vw, 120px); padding: 8px; border-radius: 14px; background: var(--surface); border: 1px solid var(--line); text-align: left; display: grid; align-content: start; gap: 6px; transition: border-color .2s, transform .16s var(--ease), background .2s; }
.tk-h:hover { border-color: var(--accent); } .tk-h:active { transform: scale(.97); }
.tk-h.bos { background: transparent; border-color: transparent; pointer-events: none; }
.tk-h.bugun b { background: var(--accent); color: var(--accent-ink); border-radius: 999px; }
.tk-h.sec { border-color: var(--accent); background: color-mix(in srgb, var(--accent) 10%, var(--surface)); }
.tk-h b { width: 26px; height: 26px; display: grid; place-items: center; font: 700 14px var(--font-body); }
.tk-h .n { font-size: 12px; font-weight: 700; color: var(--accent); } .tk-h .an { display: flex; gap: 3px; flex-wrap: wrap; }
.tk-h .an i { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); } .tk-h.var { cursor: pointer; }
@media (max-width: 700px) { .tk-h { min-height: 54px; padding: 5px; } .tk-h .n { display: none; } }
.tk-liste { margin-top: 26px; display: grid; gap: 10px; }

/* ayarlar */
.ay-izgara { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: 22px; margin-top: 26px; }
.ay-kart { background: var(--surface); border: 1px solid var(--line); border-radius: 22px; padding: 24px; display: grid; gap: 14px; align-content: start; }
.ay-kart h2 { font-size: 24px; } .ay-kart p { color: var(--ink-2); font-size: 14.5px; }
.ay-sat { display: flex; justify-content: space-between; align-items: center; gap: 14px; padding: 8px 0; }
.anahtar { position: relative; width: 50px; height: 30px; border-radius: 15px; background: var(--surface-2); border: 1px solid var(--line); flex: none; transition: background .2s; }
.anahtar::after { content: ''; position: absolute; left: 3px; top: 3px; width: 22px; height: 22px; border-radius: 50%; background: var(--ink); transition: transform .25s var(--ease); }
.anahtar[aria-pressed="true"] { background: var(--accent); border-color: transparent; } .anahtar[aria-pressed="true"]::after { transform: translateX(20px); background: var(--accent-ink); }
.onizleme { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.onizleme button { padding: 12px; border-radius: 14px; border: 2px solid var(--line); display: grid; gap: 6px; text-align: left; font-size: 13px; transition: border-color .2s, transform .16s var(--ease); } .onizleme button:active { transform: scale(.97); }
.onizleme button.on { border-color: var(--accent); } .onizleme i { display: block; height: 38px; border-radius: 8px; }

/* yazdırma */
@media print {
  .hdr, .util, .ftr, .basa, .cerez, .mini-bar, .op-act, .kalp, .kalp-b, .rail-btn, #bildirim, .bar-nav, .tabs, .arama-perde, .ticket .btn, .hero-arrow, .hero-dots { display: none !important; }
  body { background: #fff !important; color: #000 !important; } .op-hero::after, .op-bg { display: none; }
  .op-body { grid-template-columns: 1fr !important; } .ticket { box-shadow: none; border: 1px solid #000; position: static; }
  a { color: #000; text-decoration: none; } .block { break-inside: avoid; }
}

.er-grup { position: absolute; left: 8px; bottom: 8px; z-index: 3; display: flex; gap: 4px; }
.card .dis ~ .er-grup { bottom: 38px; }
.er { color: #fff; font: 800 10.5px/1 var(--font-body); letter-spacing: .04em; padding: 5px 6px; border-radius: 5px; box-shadow: 0 2px 6px rgba(0,0,0,.35); }
.er-yan { display: inline-block; padding: 3px 9px; border-radius: 99px; border: 1px solid var(--line); margin-right: 4px; }
.bilgi-kutu { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 14px 22px; padding: 20px 22px; background: var(--surface); border: 1px solid var(--line); border-radius: 18px; }
.bilgi-kutu small { display: block; font: 700 10.5px var(--font-body); letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); }
.bilgi-kutu b { font-weight: 600; }

/* Başa dön: perde ipi (tema aksan rengi + sabit altın püskül) */
.basa { position: fixed; right: 18px; bottom: 22px; z-index: 90; width: 50px; height: 74px; padding: 0; border: 0; background: none; cursor: pointer; opacity: 0; pointer-events: none; transform: translateY(14px); transition: opacity .25s, transform .3s; filter: drop-shadow(0 6px 10px rgba(0,0,0,.35)); -webkit-tap-highlight-color: transparent; }
.basa.on { opacity: 1; pointer-events: auto; transform: none; }
.basa:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; border-radius: 10px; }
.basa .b-rod { fill: #b8862b; }
.basa .b-perde { fill: var(--accent); }
.basa .b-kat { fill: none; stroke: rgba(0,0,0,.28); stroke-width: 1.6; stroke-linecap: round; }
.basa .b-ipcizgi { fill: none; stroke: #d9a441; stroke-width: 2; }
.basa .b-altin { fill: #d9a441; }
.basa .b-puskul { fill: none; stroke: #b8862b; stroke-width: 1.6; stroke-linecap: round; }
.basa .b-ip { transform-origin: 32px 55px; transform-box: view-box; transition: transform .25s cubic-bezier(.2,.8,.2,1); }
.basa:hover .b-ip { animation: basa-salin 1.1s ease-in-out infinite; }
.basa.cek .b-ip { animation: basa-cek .35s cubic-bezier(.3,0,.2,1); }
@keyframes basa-salin { 0%, 100% { transform: rotate(-5deg); } 50% { transform: rotate(5deg); } }
@keyframes basa-cek { 0% { transform: translateY(0); } 40% { transform: translateY(9px); } 100% { transform: translateY(0); } }
@media (max-width: 600px) { .basa { right: 10px; bottom: 76px; width: 40px; height: 60px; } }
@media (prefers-reduced-motion: reduce) { .basa:hover .b-ip, .basa.cek .b-ip { animation: none; } }
