/* stil-olay: olaylar.js — olay diyalogları, gazete, başarımlar, takvim, Bulgel gündemi. Tüm sınıflar ol- önekli. */

/* ---------- Olay diyalogları ---------- */
.diyalog-kutu:has(.ol-dikey) .d-dugmeler { flex-direction: column; align-items: stretch; }
.diyalog-kutu:has(.ol-dikey) .d-dugmeler .dugme { font-size: 16px; padding: 8px 14px; text-align: left; line-height: 1.25; }
.ol-dikey { display: none; }
.ol-kisi { display: flex; gap: 12px; align-items: flex-start; background: #fff; border: 2px solid var(--ink, #1f2233); border-radius: 14px; padding: 10px 12px; margin: 4px 0 12px; box-shadow: 0 3px 0 rgba(20, 18, 35, .15); }
.ol-kisi-ikon { flex: none; width: 40px; height: 40px; border-radius: 50%; background: var(--sari, #ffc83d); border: 2px solid var(--ink, #1f2233); display: grid; place-items: center; font-size: 21px; }
.ol-kisi > div > b { display: block; font-family: 'Baloo 2', sans-serif; font-size: 15px; color: var(--ink, #1f2233); line-height: 1.2; }
.ol-kisi p { margin: 2px 0 0 !important; font-style: italic; color: #4a4558; }

/* ---------- Etiket çipleri (HUD/takvim) ---------- */
.ol-etiket { display: inline-flex; align-items: center; gap: 4px; font: 700 12.5px/1 'Nunito', sans-serif; padding: 5px 9px; border-radius: 99px; border: 2px solid var(--ink, #1f2233); background: #fff; white-space: nowrap; }
.ol-etiket.iyi { background: #d9f6e8; }
.ol-etiket.kotu { background: #ffe1dc; }

/* ---------- Bulgel gündemi (tarayıcı ana sayfası) ---------- */
.ol-gundem { max-width: 520px; margin: -12px auto 18px; border: 2px solid #e3e5ea; border-radius: 14px; padding: 10px 14px; background: #fffdf5; display: flex; flex-direction: column; gap: 4px; }
.ol-gundem b { font-size: 13px; color: #c8302e; letter-spacing: .04em; }
.ol-gundem button { border: 0; background: none; text-align: left; font: 700 14px/1.35 'Nunito', sans-serif; color: #1a0dab; padding: 2px 0; cursor: pointer; }
.ol-gundem button:hover { text-decoration: underline; }

/* ---------- Gazete ---------- */
.ol-gazete { --kagit: #f4ecd8; --murekkep: #1d1b17; --vurgu: #b3261e; --cizgi: #2a2621;
  max-width: 680px; margin: 0 auto; background: var(--kagit); color: var(--murekkep); padding: 16px 20px 18px; border-radius: 4px;
  font-family: Georgia, 'Times New Roman', serif; box-shadow: 0 1px 0 rgba(0,0,0,.08), inset 0 0 60px rgba(120, 90, 40, .12); position: relative; user-select: text; }
.ol-gazete.ol-g-sehir { --kagit: #f1efe9; --vurgu: #1f3f8a; }
.ol-gazete.ol-g-ekonomi { --kagit: #f7dfcc; --murekkep: #1b1f2e; --vurgu: #0d5c63; --cizgi: #33261c; }
.ol-g-kunye { display: flex; justify-content: space-between; gap: 8px; font: 700 11px/1 'Nunito', sans-serif; letter-spacing: .08em; text-transform: uppercase; border-bottom: 1px solid var(--cizgi); padding-bottom: 6px; }
.ol-g-ad { font-family: 'Playfair Display', Georgia, serif; font-weight: 800; font-size: clamp(30px, 7vw, 50px); line-height: 1; text-align: center; margin: 10px 0 4px; letter-spacing: -.01em; }
.ol-g-mahalle .ol-g-ad { font-style: italic; }
.ol-g-mahalle .ol-g-ad::after { content: ''; display: block; width: 120px; height: 5px; margin: 6px auto 0; background: var(--vurgu); border-radius: 3px; transform: rotate(-1.5deg); }
.ol-g-sehir .ol-g-ad { text-transform: uppercase; letter-spacing: .02em; }
.ol-g-ekonomi .ol-g-ad { font-family: 'Playfair Display', serif; font-weight: 800; color: #1b1f2e; }
.ol-g-slogan { text-align: center; font-style: italic; font-size: 13px; opacity: .8; }
.ol-g-serit { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 6px; margin: 10px 0 12px; padding: 5px 0; border-top: 3px double var(--cizgi); border-bottom: 1px solid var(--cizgi); font: 700 12px/1.2 'Nunito', sans-serif; }
.ol-g-etiket { display: inline-block; font: 800 10px/1 'Nunito', sans-serif; letter-spacing: .12em; color: #fff; background: var(--vurgu); padding: 3px 6px 2px; border-radius: 2px; margin-bottom: 4px; }
.ol-g-etiket.t-rakip { background: #7a3b8f; } .ol-g-etiket.t-kampanya { background: #d9480f; } .ol-g-etiket.t-futbol { background: #2b7a3d; }
.ol-g-etiket.t-mahalle { background: #8a6245; } .ol-g-etiket.t-dunya { background: #3d4a5c; }
.ol-g-manset { border-bottom: 1px solid var(--cizgi); padding-bottom: 10px; margin-bottom: 10px; }
.ol-g-manset h2 { font-family: 'Playfair Display', Georgia, serif; font-weight: 800; font-size: clamp(22px, 4.6vw, 32px); line-height: 1.08; margin: 2px 0 6px; }
.ol-g-manset p { margin: 0; font-size: 15px; line-height: 1.45; }
.ol-g-manset p::first-letter { font-family: 'Playfair Display', serif; font-weight: 800; font-size: 2.3em; float: left; line-height: .85; margin: 3px 5px 0 0; color: var(--vurgu); }
.ol-g-kolonlar { columns: 3 180px; column-gap: 22px; column-rule: 1px solid rgba(0,0,0,.25); }
.ol-g-haber { break-inside: avoid; padding: 2px 0 12px; }
.ol-g-haber h3 { font-family: 'Playfair Display', Georgia, serif; font-weight: 800; font-size: 17px; line-height: 1.15; margin: 2px 0 4px; }
.ol-g-haber p { margin: 0; font-size: 13.5px; line-height: 1.4; }
.ol-g-alt { display: grid; grid-template-columns: 1fr 1.2fr; gap: 12px; margin-top: 10px; padding-top: 10px; border-top: 3px double var(--cizgi); }
.ol-g-kose { background: rgba(255,255,255,.45); border: 1px solid var(--cizgi); padding: 8px 10px; }
.ol-g-kose > b, .ol-g-ilan > b { display: block; font: 800 11px/1.2 'Nunito', sans-serif; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 4px; }
.ol-g-kose p { margin: 0; font-style: italic; font-size: 14px; line-height: 1.4; }
.ol-g-ilan { border: 1px dashed var(--cizgi); padding: 8px 10px; }
.ol-g-ilan p { margin: 0 0 4px; font-size: 12.5px; line-height: 1.35; }
@media (max-width: 520px) { .ol-g-alt { grid-template-columns: 1fr; } }
.d-metin .ol-g-alt { grid-template-columns: 1fr; }

/* ---------- Başarımlar ---------- */
.ol-basarim { font-family: 'Nunito', sans-serif; color: var(--ink, #1f2233); }
.ol-b-ust { display: flex; align-items: center; gap: 16px; margin-bottom: 6px; }
.ol-b-ust > div:first-child b { display: block; font: 800 22px/1.1 'Baloo 2', sans-serif; }
.ol-b-ust small { color: #7d7690; font-weight: 700; }
.ol-b-bar { flex: 1; height: 14px; border: 2px solid var(--ink, #1f2233); border-radius: 99px; background: #fff; overflow: hidden; }
.ol-b-bar i { display: block; height: 100%; background: linear-gradient(90deg, var(--sari, #ffc83d), var(--turuncu, #ff6a3d)); }
.ol-b-kat { font: 800 16px/1 'Baloo 2', sans-serif; margin: 16px 0 8px; }
.ol-b-kat small { color: #8a8298; font-size: 13px; margin-left: 4px; }
.ol-b-izgara { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 10px; }
.ol-b-kart { display: flex; gap: 10px; align-items: flex-start; background: #fff; border: 2px solid var(--ink, #1f2233); border-radius: 14px; padding: 10px; box-shadow: 0 3px 0 rgba(20,18,35,.18); }
.ol-b-kart.acik { background: linear-gradient(160deg, #fffaf0, #fff1cf); }
.ol-b-kart.kilitli { border-color: #c9c3d3; box-shadow: none; background: #f6f4f8; }
.ol-b-kart.kilitli .ol-b-ikon { filter: grayscale(1); opacity: .45; background: #e7e3ec; }
.ol-b-kart.kilitli b { color: #8a8298; }
.ol-b-ikon { flex: none; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; font-size: 23px; background: var(--sari, #ffc83d); border: 2px solid var(--ink, #1f2233); }
.ol-b-kart.acik .ol-b-ikon { box-shadow: 0 0 0 3px #fff, 0 0 0 5px var(--turuncu, #ff6a3d); }
.ol-b-yazi { min-width: 0; flex: 1; }
.ol-b-yazi b { display: block; font: 800 15px/1.15 'Baloo 2', sans-serif; }
.ol-b-yazi small { display: block; font-size: 12.5px; line-height: 1.3; color: #6c6580; }
.ol-b-ilerleme { position: relative; height: 14px; margin-top: 6px; background: #e7e3ec; border-radius: 99px; overflow: hidden; }
.ol-b-ilerleme i { position: absolute; inset: 0 auto 0 0; background: var(--mavi, #4a7dff); opacity: .75; }
.ol-b-ilerleme span { position: relative; display: block; text-align: center; font: 800 10px/14px 'Nunito', sans-serif; color: #1f2233; }
.ol-b-alt { display: flex; justify-content: space-between; gap: 6px; margin-top: 5px; }
.ol-b-odul { font-size: 11px; font-weight: 800; color: #2b7a3d; }
.ol-b-tarih { font-size: 11px; font-weight: 800; color: #8a8298; margin-left: auto; }

/* ---------- Takvim ---------- */
.ol-takvim { font-family: 'Nunito', sans-serif; color: var(--ink, #1f2233); min-width: 280px; }
.ol-t-ust { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; }
.ol-t-mevsim { font: 800 18px/1 'Baloo 2', sans-serif; padding: 5px 12px 3px; border-radius: 99px; border: 2px solid var(--ink, #1f2233); }
.ol-t-mevsim.m0, .ol-t-yil i.m0 { background: #ffd6e5; } .ol-t-mevsim.m1, .ol-t-yil i.m1 { background: #ffe9a8; }
.ol-t-mevsim.m2, .ol-t-yil i.m2 { background: #ffd2b0; } .ol-t-mevsim.m3, .ol-t-yil i.m3 { background: #d6e6ff; }
.ol-t-ust small { font-weight: 800; color: #7d7690; }
.ol-t-gunler { display: grid; grid-template-columns: repeat(7, 1fr); gap: 5px; }
.ol-t-gun { background: #fff; border: 2px solid #d9d4e0; border-radius: 10px; padding: 5px 3px 6px; text-align: center; min-height: 72px; display: flex; flex-direction: column; align-items: center; gap: 1px; }
.ol-t-gun small { font-weight: 800; color: #8a8298; font-size: 11px; }
.ol-t-gun b { font-size: 20px; line-height: 1.2; }
.ol-t-gun span { font-size: 10px; font-weight: 800; line-height: 1.1; color: #6c6580; }
.ol-t-gun.kampanya { border-color: var(--turuncu, #ff6a3d); background: #fff4ea; }
.ol-t-gun.kampanya span { color: #c2410c; }
.ol-t-gun.gecti { opacity: .45; }
.ol-t-gun.bugun { border-color: var(--ink, #1f2233); box-shadow: 0 3px 0 var(--ink, #1f2233); transform: translateY(-2px); }
.ol-t-yil { display: grid; grid-template-columns: repeat(28, 1fr); gap: 2px; margin: 10px 0 4px; }
.ol-t-yil i { height: 16px; border-radius: 3px; font-size: 10px; font-style: normal; line-height: 16px; text-align: center; overflow: hidden; }
.ol-t-yil i.gecti { opacity: .45; }
.ol-t-yil i.bugun { outline: 2px solid var(--ink, #1f2233); outline-offset: 1px; }
.ol-t-liste { margin-top: 8px; display: flex; flex-direction: column; gap: 6px; }
.ol-t-liste > b { font: 800 14px/1 'Baloo 2', sans-serif; }
.ol-t-kamp { display: flex; gap: 8px; align-items: center; background: #fff; border: 2px solid #e2dde8; border-radius: 10px; padding: 6px 9px; }
.ol-t-kamp.aktif { border-color: var(--turuncu, #ff6a3d); background: #fff4ea; }
.ol-t-kamp > span { font-size: 22px; }
.ol-t-kamp b { display: block; font-size: 14px; }
.ol-t-kamp small { color: #6c6580; font-weight: 700; font-size: 12px; }
.ol-t-bos { color: #8a8298; font-weight: 700; }
.ol-t-etkiler { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 10px; }
.ol-t-etkiler .ol-etiket { white-space: normal; line-height: 1.25; }
