/* Önemli Yerler & Tanınmış Simalar — kpl-* / kpd-* üzerine sayfa ekleri (kys-) */

/* ---------- Liste kartları ---------- */
.kys-card__dist,
.kys-card__years {
    position: absolute; left: 14px; bottom: 14px; z-index: 2;
    display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px; border-radius: 999px;
    font-size: .72rem; font-weight: 700; color: #fff;
    background: rgba(6, 36, 26, .62); border: 1px solid rgba(233, 211, 154, .3);
    -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
}
.kys-card__dist i { color: var(--gold-2); }
.kys-card__years { left: auto; right: 14px; letter-spacing: .5px; }
.kys-card__more {
    margin-left: auto; display: inline-flex; align-items: center; gap: 6px;
    font-weight: 800; font-size: .78rem; color: var(--g-700); transition: gap .25s, color .25s;
}
.kys-card__more i { color: var(--gold-3); font-size: .72rem; }
.kpl-card:hover .kys-card__more { gap: 10px; color: var(--g-600, var(--g-500)); }
.kys-card--sima .kpl-card__img img { object-position: center 22%; }
.kys-card--sima .kpl-card__img::after {
    content: ''; position: absolute; inset: auto 0 0; height: 45%; z-index: 1; pointer-events: none;
    background: linear-gradient(180deg, transparent, rgba(6, 36, 26, .55));
}
.kys-card--sima .kpl-card__body { gap: 8px; }
.kys-role {
    display: inline-flex; align-items: center; gap: 7px; font-size: .84rem; font-weight: 600; color: var(--muted);
}
.kys-role i { color: var(--gold-3); font-size: .78rem; }

/* ---------- Bootstrap form modalları (liste sayfaları) ---------- */
.kys-modal .modal-content { border: 0; border-radius: 24px; overflow: hidden; box-shadow: var(--shadow-lg); }
.kys-modal .modal-header {
    padding: 20px 26px; border: 0;
    background: linear-gradient(135deg, var(--g-700), var(--g-950)); color: #fff;
}
.kys-modal .modal-title { display: inline-flex; align-items: center; gap: 10px; font-family: var(--serif); font-weight: 700; font-size: 1.3rem; }
.kys-modal .modal-title i { color: var(--gold-2); }
.kys-modal .btn-close { filter: invert(1) grayscale(1) brightness(2); opacity: .8; }
.kys-modal .modal-body { padding: 24px 26px; background: var(--silk); }
.kys-modal .modal-footer { padding: 16px 26px; border-top: 1px solid var(--line); background: #fff; gap: 10px; }
.kys-modal__lead { color: var(--muted); margin-bottom: 14px; }
.kys-modal__actions { display: flex; justify-content: flex-end; gap: 10px; margin-top: 20px; flex-wrap: wrap; }
.kys-req { color: #c0392b; }

.kys-modal .form-label,
.kys-form .form-label { font-weight: 700; font-size: .86rem; color: var(--g-800); margin-bottom: 6px; }
.kys-modal .form-control,
.kys-modal .form-select,
.kys-form .form-control,
.kys-form .form-select {
    border-radius: 14px; border: 1.5px solid var(--line); padding: 10px 14px; background-color: #fff; color: var(--ink);
    transition: border-color .2s, box-shadow .2s;
}
.kys-modal .form-control:focus,
.kys-modal .form-select:focus,
.kys-form .form-control:focus,
.kys-form .form-select:focus { border-color: var(--gold); box-shadow: 0 0 0 4px rgba(201, 165, 90, .18); outline: 0; }

/* ---------- Sima detay hero (portre) ---------- */
.kys-phero { display: grid; grid-template-columns: 230px minmax(0, 1fr); gap: 40px; align-items: center; max-width: 1080px; }
.kys-portrait { margin: 0; position: relative; }
.kys-portrait__btn,
.kys-portrait__ph {
    position: relative; display: grid; place-items: center; width: 100%; aspect-ratio: 4 / 5; padding: 0; border-radius: 26px; overflow: hidden;
    background: linear-gradient(135deg, var(--g-600, var(--g-500)), var(--g-900)); border: 2px solid rgba(233, 211, 154, .55);
    box-shadow: 0 24px 60px rgba(0, 0, 0, .35), 0 0 0 8px rgba(255, 255, 255, .06); color: rgba(233, 211, 154, .5); font-size: 3rem; cursor: zoom-in;
}
.kys-portrait__ph { cursor: default; }
.kys-portrait__btn img { position: absolute; inset: 0; z-index: 1; width: 100%; height: 100%; object-fit: cover; object-position: center 22%; transition: transform .6s ease; }
.kys-portrait__btn:hover img { transform: scale(1.05); }
.kys-portrait figcaption {
    margin-top: 10px; font-size: .72rem; color: rgba(255, 255, 255, .7); text-align: center; word-break: break-word;
}
.kys-portrait figcaption i { color: var(--gold-2); margin-right: 5px; }
.kys-phero__txt .kpd-crumb { margin-bottom: 18px; }

/* ---------- Kapak (yer detay) ---------- */
.kys-cover__btn { position: relative; display: block; width: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; }
.kys-cover__zoom {
    position: absolute; right: 16px; bottom: 16px; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center;
    background: rgba(6, 36, 26, .6); color: var(--gold-2); border: 1px solid rgba(233, 211, 154, .35); opacity: 0; transition: opacity .25s;
}
.kys-cover__btn:hover .kys-cover__zoom,
.kys-cover__btn:focus-visible .kys-cover__zoom { opacity: 1; }

/* ---------- Yan kartlar ---------- */
.kys-side-title { display: flex; align-items: center; gap: 10px; font-family: var(--serif); font-size: 1.15rem; font-weight: 700; color: var(--g-800); margin: 0 0 16px; }
.kys-side-title i { color: var(--gold-3); }
.kys-facts { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.kys-facts li { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 16px; background: var(--silk); }
.kys-facts__ic {
    width: 40px; height: 40px; border-radius: 12px; flex-shrink: 0; display: grid; place-items: center;
    background: linear-gradient(135deg, var(--g-600, var(--g-500)), var(--g-800)); color: var(--gold-2);
}
.kys-facts li > span:last-child { display: flex; flex-direction: column; min-width: 0; }
.kys-facts small { font-size: .7rem; font-weight: 800; letter-spacing: .8px; text-transform: uppercase; color: var(--muted); }
.kys-facts strong { color: var(--g-800); font-size: .95rem; word-break: break-word; }

.kys-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.kys-stats > div { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 14px 6px; border-radius: 16px; background: var(--silk); text-align: center; }
.kys-stats i { color: var(--gold-3); margin-bottom: 4px; }
.kys-stats strong { font-family: var(--serif); font-size: 1.2rem; color: var(--g-800); line-height: 1.1; }
.kys-stats small { font-size: .7rem; font-weight: 700; color: var(--muted); }

.kys-map { height: 280px; width: 100%; border-radius: 16px; overflow: hidden; margin-bottom: 14px; border: 1px solid var(--line); z-index: 1; }
.kys-map img { max-width: none; }

.kys-cta-stack { position: relative; display: flex; flex-direction: column; gap: 10px; }
.kys-btn-light { background: rgba(255, 255, 255, .08); color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .35); }
.kys-btn-light:hover { color: var(--gold-2); box-shadow: inset 0 0 0 1.5px var(--gold-2); }
.kys-cta-note { position: relative; display: block; margin-top: 12px; font-size: .76rem; color: rgba(255, 255, 255, .7); }
.kpd-scard--cta .kpd-alert { position: relative; text-align: left; margin-bottom: 14px; }

.kys-back { display: flex; align-items: center; gap: 14px; text-decoration: none; color: var(--g-800); transition: transform .25s, box-shadow .25s; }
.kys-back > i:first-child {
    width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; flex-shrink: 0;
    background: var(--gold-grad); color: var(--g-900);
}
.kys-back span { display: flex; flex-direction: column; flex: 1; min-width: 0; }
.kys-back strong { font-family: var(--serif); font-size: 1rem; }
.kys-back small { color: var(--muted); font-size: .78rem; }
.kys-back > i:last-child { color: var(--gold-3); transition: transform .25s; }
.kys-back:hover { color: var(--g-800); transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.kys-back:hover > i:last-child { transform: translateX(4px); }

/* ---------- Medya galerisi (sunucu + AJAX çıktısı) ---------- */
#medyaGaleriContainer .card {
    border: 1px solid rgba(201, 165, 90, .16) !important; border-radius: 18px !important; overflow: hidden !important;
    box-shadow: 0 6px 18px rgba(6, 36, 26, .08) !important; cursor: pointer; background: #fff;
    transition: transform .3s ease, box-shadow .3s ease !important;
}
#medyaGaleriContainer .card:hover,
#medyaGaleriContainer .card:focus-visible { transform: translateY(-4px) !important; box-shadow: var(--shadow-lg) !important; outline: 0; }
#medyaGaleriContainer .card img,
#medyaGaleriContainer .card-img-top {
    width: 100%; height: 190px !important; object-fit: cover; border-radius: 0 !important; transition: transform .5s ease !important;
    background: linear-gradient(135deg, var(--g-600, var(--g-500)), var(--g-900));
}
#medyaGaleriContainer .card:hover img { transform: scale(1.05) !important; }
#medyaGaleriContainer .card-body { padding: 10px 12px !important; }
#medyaGaleriContainer .card-title { font-size: .84rem; font-weight: 700; color: var(--g-800); margin: 0; }
#medyaGaleriContainer .card-text { font-size: .76rem; color: var(--muted); margin: 2px 0 0; }
#medyaGaleriContainer .bg-dark { background: linear-gradient(135deg, var(--g-700), var(--g-950)) !important; }
#medyaGaleriContainer .fa-play-circle { color: #fff; }
.kys-mcard__media {
    position: relative; overflow: hidden; min-height: 190px;
    background: linear-gradient(135deg, var(--g-700), var(--g-950));
}
.kys-mcard__play {
    position: absolute; left: 50%; top: 50%; z-index: 2; transform: translate(-50%, -50%);
    width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; padding-left: 4px;
    background: var(--gold-grad); color: var(--g-900); font-size: 1.1rem; box-shadow: 0 10px 28px rgba(0, 0, 0, .35);
    transition: transform .3s ease;
}
.kys-mcard:hover .kys-mcard__play { transform: translate(-50%, -50%) scale(1.1); }

.kys-pager { margin-top: 24px; }
.kys-pager .pagination { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin: 0; }
.kys-pager .page-link {
    min-width: 42px; height: 42px; display: grid; place-items: center; padding: 0 12px; border-radius: 999px !important; cursor: pointer;
    border: 1px solid var(--line) !important; background: #fff !important; color: var(--g-700) !important; font-weight: 800; box-shadow: none !important;
}
.kys-pager .page-link:hover { border-color: var(--gold) !important; color: var(--g-800) !important; }
.kys-pager .page-item.active .page-link { background: linear-gradient(135deg, var(--g-500), var(--g-700)) !important; border-color: transparent !important; color: #fff !important; }
.kys-pager .page-item.disabled .page-link { background: transparent !important; border-color: transparent !important; color: var(--muted) !important; }

/* ---------- Sima galeri / video / katkılar ---------- */
.kys-gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 14px; }
.kys-gallery__item {
    position: relative; display: grid; place-items: center; aspect-ratio: 1 / 1; padding: 0; border: 0; border-radius: 18px; overflow: hidden; cursor: zoom-in;
    background: linear-gradient(135deg, var(--g-600, var(--g-500)), var(--g-900)); color: rgba(233, 211, 154, .45); font-size: 1.6rem;
    box-shadow: 0 6px 18px rgba(6, 36, 26, .1); transition: transform .3s ease, box-shadow .3s ease;
}
.kys-gallery__item img { position: absolute; inset: 0; z-index: 1; width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.kys-gallery__item:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.kys-gallery__item:hover img { transform: scale(1.06); }
.kys-gallery__zoom {
    position: absolute; inset: 0; z-index: 2; display: grid; place-items: center; font-size: 1.3rem; color: #fff;
    background: rgba(6, 36, 26, .45); opacity: 0; transition: opacity .25s;
}
.kys-gallery__item:hover .kys-gallery__zoom,
.kys-gallery__item:focus-visible .kys-gallery__zoom { opacity: 1; }
.kys-gallery__src {
    position: absolute; left: 0; right: 0; bottom: 0; z-index: 3; padding: 6px 10px; font-size: .68rem; color: #fff; text-align: left;
    background: linear-gradient(180deg, transparent, rgba(0, 0, 0, .75)); white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.kys-gallery__src i { margin-right: 4px; color: var(--gold-2); }

.kys-videos { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.kys-videos .kpd-embed { margin: 0; }
.kys-video-link {
    display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; min-height: 180px; border-radius: 18px;
    background: linear-gradient(135deg, var(--g-700), var(--g-950)); color: var(--gold-2); font-size: 2.2rem;
}

.kys-contribs { display: flex; flex-direction: column; gap: 16px; }
.kys-contrib { padding: 18px 20px; border-radius: 18px; background: var(--silk); border-left: 4px solid var(--gold); }
.kys-contrib__head { display: flex; align-items: center; flex-wrap: wrap; gap: 10px 12px; margin-bottom: 12px; }
.kys-contrib__ph {
    width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; flex-shrink: 0;
    background: var(--g-700); color: var(--gold-2); font-weight: 800;
}
.kys-contrib__head strong { color: var(--g-800); }
.kys-contrib__head small { margin-left: auto; color: var(--muted); font-size: .76rem; }
.kys-contrib__head small i { color: var(--gold-3); margin-right: 5px; }
.kys-contrib__lbl { font-weight: 800; font-size: .82rem; color: var(--g-700); margin: 0 0 10px; }
.kys-contrib__img { display: inline-block; border-radius: 14px; overflow: hidden; max-width: 260px; box-shadow: var(--shadow); }
.kys-contrib__img img { transition: transform .4s ease; }
.kys-contrib__img:hover img { transform: scale(1.04); }
.kys-contrib__note { margin-top: 12px; padding: 12px 14px; border-radius: 14px; background: #fff; }
.kys-contrib__note small,
.kys-kv small { display: block; font-size: .7rem; font-weight: 800; letter-spacing: .6px; text-transform: uppercase; color: var(--muted); margin-bottom: 3px; }
.kys-contrib__note p,
.kys-kv p { margin: 0; color: var(--ink); font-size: .9rem; line-height: 1.6; }
.kys-kv { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.kys-kv > div { padding: 12px 14px; border-radius: 14px; background: #fff; }
.kys-kv strong { color: var(--g-800); }
.kys-kv__wide { grid-column: 1 / -1; }

/* ---------- Düzenleme önerisi formu ---------- */
.kys-form__hint { display: block; margin-top: 6px; font-size: .76rem; color: var(--muted); }
.kys-form__hint i { color: var(--gold-3); margin-right: 5px; }
.kys-form__foot { display: flex; justify-content: flex-end; flex-wrap: wrap; gap: 10px; margin-top: 22px; padding-top: 18px; border-top: 1px dashed var(--line); }
.kys-oneri.collapsing { overflow: hidden; }

.kys-rcard .kpd-rcard__img { aspect-ratio: 4 / 5; }
.kys-rcard .kpd-rcard__img img { object-position: center 22%; }
.kys-yorum-av { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }
.kpd-yorumlar__ph { position: relative; overflow: hidden; }

/* ---------- Bootstrap görsel/video modalları ---------- */
.kys-bmodal .modal-content { border: 0; border-radius: 22px; overflow: hidden; background: var(--g-950); box-shadow: 0 30px 80px rgba(0, 0, 0, .45); }
.kys-bmodal .modal-header { border: 0; padding: 14px 20px; background: linear-gradient(135deg, var(--g-800), var(--g-950)); color: #fff; }
.kys-bmodal .modal-title { display: inline-flex; align-items: center; gap: 10px; font-family: var(--serif); font-size: 1.1rem; font-weight: 700; }
.kys-bmodal .modal-title i { color: var(--gold-2); }
.kys-bmodal .modal-body { padding: 16px; text-align: center; }
.kys-bmodal .modal-body img { display: inline-block; max-width: 100%; max-height: 72vh; width: auto; border-radius: 14px; }
.kys-bmodal__video.modal-body { padding: 0; }
.kys-bmodal iframe { border: 0; }

/* ---------- Tam ekran medya modalı (#onemliYerModal) ---------- */
#onemliYerModal {
    position: fixed; top: 0; left: 0; width: 100vw; height: 100vh; max-width: none; margin: 0;
    background: #000; z-index: 9999; display: none; overflow: hidden;
}
#onemliYerModal.show { display: flex; flex-direction: column; }
body:has(#onemliYerModal.show) { overflow: hidden; }
body:has(#onemliYerModal.show) .kpy-header { display: none !important; }

#onemliYerModal .modal-header {
    position: absolute; top: 0; left: 0; right: 0; z-index: 10001; padding: 12px 20px;
    display: flex; justify-content: flex-end; align-items: center; gap: 10px;
    pointer-events: none; background: transparent !important; border: 0; border-radius: 0;
}
#onemliYerModal .modal-fullsize-btn,
#onemliYerModal .modal-close {
    background: rgba(255, 255, 255, .1); border: none; color: #fff; width: 40px; height: 40px; border-radius: 50%; cursor: pointer;
    display: flex; align-items: center; justify-content: center; transition: all .2s; pointer-events: auto; box-shadow: 0 2px 10px rgba(0, 0, 0, .5);
}
#onemliYerModal .modal-fullsize-btn { font-size: 18px; }
#onemliYerModal .modal-close { font-size: 28px; }
#onemliYerModal .modal-fullsize-btn:hover { background: rgba(255, 255, 255, .2); transform: scale(1.05); }
#onemliYerModal .modal-close:hover { background: rgba(255, 255, 255, .2); color: var(--gold-2); }

#onemliYerModal .modal-content-wrapper { display: flex; width: 100%; height: 100vh; }
#onemliYerModal .modal-image-container { flex: 1; display: flex; align-items: center; justify-content: center; background: #000; overflow: hidden; position: relative; }
#onemliYerModal .modal-post-image {
    max-width: 100%; max-height: 100%; width: 100%; height: 100%; object-fit: contain; border: 0;
    -webkit-user-select: none; user-select: none;
}
#onemliYerModal .modal-image-container.zoom-enabled { overflow: auto; -webkit-overflow-scrolling: touch; }
#onemliYerModal .modal-image-container.zoom-enabled .modal-post-image { cursor: zoom-in; }
#onemliYerModal .modal-image-container.zoom-enabled .modal-post-image.zoomed { cursor: zoom-out; }
#onemliYerModal.fullscreen-mode .modal-content-wrapper { flex-direction: column; }
#onemliYerModal.fullscreen-mode .modal-sidebar { display: none; }
#onemliYerModal.fullscreen-mode .modal-image-container { width: 100%; height: 100vh; cursor: zoom-in; }
#onemliYerModal.fullscreen-mode .modal-post-image { cursor: zoom-in; transition: transform .3s ease; }
#onemliYerModal.fullscreen-mode .modal-post-image.zoomed { cursor: zoom-out; transform: scale(2); }
#onemliYerModal.fullscreen-mode .modal-nav-btn,
#onemliYerModal.fullscreen-mode .modal-header .modal-fullsize-btn { display: none; }

#onemliYerModal .modal-nav-btn {
    position: absolute; top: 50%; transform: translateY(-50%); z-index: 10000;
    width: 50px; height: 50px; border-radius: 50%; border: none; cursor: pointer; display: flex; align-items: center; justify-content: center;
    background: rgba(255, 255, 255, .92); color: var(--g-800); font-size: 22px; box-shadow: 0 2px 8px rgba(0, 0, 0, .3); transition: all .3s ease;
}
#onemliYerModal .modal-nav-btn:hover { background: var(--gold-2); transform: translateY(-50%) scale(1.08); box-shadow: 0 4px 12px rgba(0, 0, 0, .4); }
#onemliYerModal .modal-nav-btn:disabled { opacity: .3; cursor: not-allowed; }
#onemliYerModal .modal-nav-btn:disabled:hover { background: rgba(255, 255, 255, .92); transform: translateY(-50%); }
#onemliYerModal .modal-nav-btn.prev { left: 20px; }
#onemliYerModal .modal-nav-btn.next { right: 20px; }

#onemliYerModal .modal-sidebar { width: 400px; background: #101a16; display: flex; flex-direction: column; border-left: 1px solid rgba(233, 211, 154, .14); overflow: hidden; }
#onemliYerModal .modal-post-card { display: flex; flex-direction: column; height: 100%; }
#onemliYerModal .modal-post-header { padding: 16px; display: flex; align-items: center; gap: 12px; border-bottom: 1px solid #2c3a34; flex-shrink: 0; }
#onemliYerModal .modal-profile-pic {
    width: 40px; height: 40px; border-radius: 50%; flex-shrink: 0; overflow: hidden; position: relative;
    display: flex; align-items: center; justify-content: center; color: #fff; font-weight: bold; font-size: 18px;
    background: linear-gradient(135deg, var(--g-500), var(--g-800));
}
#onemliYerModal .modal-profile-pic img { max-width: none; }
#onemliYerModal .modal-profile-info { flex: 1; min-width: 0; }
#onemliYerModal .modal-profile-name { font-weight: 600; color: #e4e6eb; font-size: 15px; margin-bottom: 4px; display: inline-block; }
#onemliYerModal a.modal-profile-name:hover { color: var(--gold-2) !important; }
#onemliYerModal .modal-post-meta { display: flex; gap: 8px; flex-wrap: wrap; font-size: 13px; color: #b0b3b8; }
#onemliYerModal .modal-post-description {
    padding: 16px; color: #e4e6eb; font-size: 15px; line-height: 1.5; white-space: pre-wrap;
    border-bottom: 1px solid #2c3a34; flex-shrink: 0; max-height: 200px; overflow-y: auto; overflow-x: hidden;
}
#onemliYerModal .modal-reaction-summary {
    padding: 12px 16px; display: flex; align-items: center; justify-content: space-between;
    color: #b0b3b8; font-size: 15px; border-bottom: 1px solid #2c3a34; flex-shrink: 0;
}
#onemliYerModal .modal-reaction-icons { display: flex; gap: 4px; font-size: 16px; }
#onemliYerModal .modal-post-actions { padding: 8px 16px; border-bottom: 1px solid #2c3a34; display: flex; gap: 4px; flex-shrink: 0; }
#onemliYerModal .modal-action-btn {
    flex: 1; position: relative; background: transparent; border: none; color: #b0b3b8; padding: 8px; border-radius: 10px; cursor: pointer;
    display: flex; align-items: center; justify-content: center; gap: 8px; font-size: 15px; font-weight: 600; transition: background .2s, color .2s;
}
#onemliYerModal .modal-action-btn:hover { background: #22302a; color: #e4e6eb; }
#onemliYerModal .modal-action-btn.active { color: var(--gold-2); }
#onemliYerModal .modal-reaction-picker {
    position: absolute; bottom: calc(100% + 8px); left: 50%; transform: translateX(-50%); z-index: 100;
    background: #1c2823; border-radius: 24px; padding: 8px; display: none; gap: 4px; box-shadow: 0 4px 12px rgba(0, 0, 0, .3); pointer-events: auto;
}
#onemliYerModal .modal-reaction-picker.show { display: flex; }
#onemliYerModal .modal-reaction-icon {
    width: 40px; height: 40px; font-size: 28px; cursor: pointer; border-radius: 50%;
    display: flex; align-items: center; justify-content: center; transition: transform .2s;
}
#onemliYerModal .modal-reaction-icon:hover { transform: scale(1.2); }
#onemliYerModal .modal-comments-section { flex: 1; display: flex; flex-direction: column; overflow: hidden; background: #101a16; min-height: 0; }
#onemliYerModal .modal-comments-header { color: #b0b3b8; font-size: 15px; font-weight: 600; padding: 16px; border-bottom: 1px solid #2c3a34; flex-shrink: 0; }
#onemliYerModal .yorum-list-container {
    flex: 1; overflow-y: auto; overflow-x: hidden; padding: 8px 16px; min-height: 0;
    scrollbar-width: thin; scrollbar-color: var(--g-500) #1c2823;
}
#onemliYerModal .modal-post-description::-webkit-scrollbar,
#onemliYerModal .yorum-list-container::-webkit-scrollbar { width: 8px; }
#onemliYerModal .modal-post-description::-webkit-scrollbar-track,
#onemliYerModal .yorum-list-container::-webkit-scrollbar-track { background: #1c2823; border-radius: 5px; }
#onemliYerModal .modal-post-description::-webkit-scrollbar-thumb,
#onemliYerModal .yorum-list-container::-webkit-scrollbar-thumb { background: var(--g-500); border-radius: 5px; }
#onemliYerModal .yorum-item { padding: 8px 0; display: flex; gap: 8px; }
#onemliYerModal .yorum-profile-pic {
    width: 32px; height: 32px; border-radius: 50%; flex-shrink: 0; display: flex; align-items: center; justify-content: center;
    background: linear-gradient(135deg, var(--g-500), var(--g-800)); color: #fff; font-weight: bold; font-size: 14px;
}
#onemliYerModal .yorum-content { flex: 1; background: #22302a; border-radius: 18px; padding: 8px 12px; }
#onemliYerModal .yorum-author { color: #e4e6eb; font-weight: 600; font-size: 13px; margin-bottom: 2px; }
#onemliYerModal .yorum-text { color: #e4e6eb; font-size: 14px; line-height: 1.4; word-wrap: break-word; }
#onemliYerModal .yorum-time { color: #b0b3b8; font-size: 12px; margin-top: 4px; }
#onemliYerModal .yorum-input-container { display: flex; gap: 8px; align-items: center; padding: 12px 16px; border-top: 1px solid #2c3a34; flex-shrink: 0; background: #1c2823; }
#onemliYerModal .yorum-input-container input {
    flex: 1; background: #22302a; border: none; border-radius: 20px; padding: 8px 16px; color: #e4e6eb; font-size: 15px; outline: none;
}
#onemliYerModal .yorum-input-container input::placeholder { color: #b0b3b8; }
#onemliYerModal .yorum-input-container input:focus { background: #2c3a34; box-shadow: 0 0 0 2px rgba(201, 165, 90, .35); }
#onemliYerModal .yorum-input-container button {
    background: var(--gold-grad); border: none; border-radius: 999px; padding: 8px 16px; color: var(--g-900);
    font-size: 14px; font-weight: 800; cursor: pointer; transition: filter .2s;
}
#onemliYerModal .yorum-input-container button:hover { filter: brightness(1.08); }
#onemliYerModal .yorum-input-container button:disabled { background: #22302a; color: #b0b3b8; cursor: not-allowed; }
#onemliYerModal .kys-fs-login { text-align: center; color: #b0b3b8; padding: 16px; font-size: 14px; border-top: 1px solid #2c3a34; }
#onemliYerModal .kys-fs-login a { color: var(--gold-2); font-weight: 700; }

/* ---------- Responsive ---------- */
@media (max-width: 991px) {
    .kys-phero { grid-template-columns: 180px minmax(0, 1fr); gap: 28px; }
    .kys-map { height: 240px; }

    #onemliYerModal .modal-content-wrapper { flex-direction: column; }
    #onemliYerModal .modal-image-container { height: 50vh; flex-shrink: 0; }
    #onemliYerModal .modal-sidebar { width: 100%; height: 50vh; overflow-y: auto; overflow-x: hidden; -webkit-overflow-scrolling: touch; border-left: 0; }
    #onemliYerModal .modal-post-card { min-height: 100%; }
    #onemliYerModal .modal-post-description { max-height: 150px; -webkit-overflow-scrolling: touch; }
}

@media (max-width: 767px) {
    .kys-phero { grid-template-columns: 1fr; gap: 22px; text-align: left; }
    .kys-portrait { width: 160px; }
    .kys-videos { grid-template-columns: 1fr; }
    .kys-kv { grid-template-columns: 1fr; }
    #medyaGaleriContainer > [class*="col-md-4"] { flex: 0 0 auto; width: 50%; }
    #medyaGaleriContainer .card img,
    #medyaGaleriContainer .card-img-top { height: 150px !important; }
    .kys-mcard__media { min-height: 150px; }
    #onemliYerModal .modal-nav-btn { width: 42px; height: 42px; font-size: 18px; }
    #onemliYerModal .modal-nav-btn.prev { left: 10px; }
    #onemliYerModal .modal-nav-btn.next { right: 10px; }
}

@media (max-width: 575px) {
    .kys-portrait { width: 132px; }
    .kys-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
    .kys-stats { gap: 8px; }
    .kys-contrib { padding: 16px; }
    .kys-contrib__head small { margin-left: 0; width: 100%; }
    .kys-modal .modal-body,
    .kys-modal .modal-header,
    .kys-modal .modal-footer { padding-left: 18px; padding-right: 18px; }
    .kys-form__foot .kpd-btn,
    .kys-modal__actions .kpl-btn { flex: 1; }
    #medyaGaleriContainer .card img,
    #medyaGaleriContainer .card-img-top { height: 130px !important; }
    .kys-mcard__media { min-height: 130px; }
    .kys-pager .page-link { min-width: 36px; height: 36px; padding: 0 8px; }
}

@media (prefers-reduced-motion: reduce) {
    .kys-card__more,
    .kys-portrait__btn img,
    .kys-gallery__item,
    .kys-gallery__item img,
    .kys-gallery__zoom,
    .kys-cover__zoom,
    .kys-back,
    .kys-back > i:last-child,
    .kys-mcard__play,
    .kys-contrib__img img,
    #medyaGaleriContainer .card,
    #medyaGaleriContainer .card img,
    #onemliYerModal .modal-nav-btn,
    #onemliYerModal .modal-post-image { transition: none !important; }
    .kys-gallery__item:hover,
    .kys-back:hover,
    #medyaGaleriContainer .card:hover { transform: none !important; }
    .kpl-card:hover .kys-card__more { gap: 6px; }
}
