:root {
  --mobile-filter-h: 54px;
  --mobile-comment-h: 46px;
}

.list-panel {
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.filter-bar {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  background: linear-gradient(180deg, #1a2230 0%, #151d2a 100%);
  border: 1px solid #33405a;
  border-radius: 12px;
  padding: 10px;
  margin-bottom: 10px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.03);
}

.filter-field {
  display: flex;
  flex-direction: column;
  gap: 5px;
  position: relative;
}

.filter-field label {
  color: #b8c3d6;
  font-size: 11px;
  letter-spacing: 0.3px;
  text-transform: uppercase;
}

.filter-bar select {
  width: 100%;
  background: #0f1724;
  color: #fff;
  border: 1px solid #3a4964;
  border-radius: 9px;
  padding: 9px 10px;
  font-size: 13px;
  appearance: none;
}

.filter-value {
  display: none;
}

.vod-warning {
  margin-top: 6px;
  color: #ff8f8f;
  font-size: 12px;
  line-height: 1.35;
}

.page-kazalar .player-placeholder {
  position: absolute;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 18px;
  z-index: 7;
  pointer-events: none;
}

.page-kazalar .player-wrap.is-empty .player-placeholder {
  display: flex;
}

.page-kazalar .player-wrap.is-empty {
  position: relative;
  overflow: hidden;
  background: linear-gradient(120deg, #1a2231 20%, #263247 38%, #1a2231 56%);
}

.page-kazalar .player-wrap.is-empty .video-js {
  opacity: 0 !important;
  pointer-events: none !important;
}

.page-kazalar .player-wrap.is-empty .video-js .vjs-error-display,
.page-kazalar .player-wrap.is-empty .video-js .vjs-modal-dialog,
.page-kazalar .player-wrap.is-empty .video-js .vjs-error {
  display: none !important;
}

.page-kazalar .player-placeholder-shell {
  width: min(500px, 86%);
  display: grid;
  justify-items: center;
  text-align: center;
}

.page-kazalar .player-placeholder-shell .placeholder-traffic-icon {
  width: 42px;
  height: 42px;
  margin: 0 auto 12px;
  color: #ffc857;
  filter: drop-shadow(0 0 10px rgba(255, 200, 87, 0.32));
  animation: vodIconPulse 1.45s ease-in-out infinite;
}

.page-kazalar .player-placeholder-shell .placeholder-traffic-icon svg {
  width: 100%;
  height: 100%;
}

.page-kazalar .player-placeholder-shell strong {
  display: block;
  font-size: 33px;
  line-height: 1.2;
  color: #f3f7ff;
  font-weight: 800;
  letter-spacing: .2px;
}

.page-kazalar .player-placeholder-shell p {
  margin-top: 7px;
  font-size: 19px;
  line-height: 1.35;
  color: #c8d9f2;
  opacity: .95;
}

@media (max-width: 1024px) {
  .page-kazalar .player-placeholder-shell strong {
    font-size: 22px;
  }
  .page-kazalar .player-placeholder-shell p {
    font-size: 14px;
  }
}

@keyframes vodIconPulse {
  0% { transform: scale(1); opacity: .9; }
  50% { transform: scale(1.07); opacity: 1; }
  100% { transform: scale(1); opacity: .9; }
}

.page-kazalar .vod-meta-line {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.page-kazalar .vod-meta-line #vodMeta {
  margin: 0;
}

.page-kazalar .vod-comment-count {
  display: inline;
  color: #b9c8e2;
  font-size: 12px;
  line-height: 1.2;
  font-weight: 600;
  padding: 0;
}

.page-kazalar .desktop-tabs-wrap {
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1 1 auto;
  min-height: 0;
}

.page-kazalar .desktop-tabs {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  flex: 0 0 auto;
  gap: 8px;
  padding: 6px 1px 8px;
  width: 100%;
  min-height: 42px;
  overflow-x: auto;
  overflow-y: hidden;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.page-kazalar .desktop-tabs::-webkit-scrollbar {
  display: none;
}

.page-kazalar .desktop-tab {
  flex: 0 0 auto;
  border: 1px solid #394760;
  background: #171f2d;
  color: #c9d5e9;
  border-radius: 11px;
  padding: 8px 13px;
  font-size: 11px;
  line-height: 1;
  font-weight: 600;
  white-space: nowrap;
}

.page-kazalar .desktop-tab.active {
  border-color: #f2f5fb;
  color: #121823;
  background: #f2f5fb;
}

.page-kazalar .desktop-panel {
  display: none;
  min-height: 0;
}

.page-kazalar .desktop-panel.active {
  display: block;
}

.page-kazalar .desktop-panel[data-desktop-panel="comments"].active {
  display: flex;
  flex-direction: column;
  height: 100%;
  flex: 1 1 auto;
  min-height: 0;
  overflow: hidden;
}

.page-kazalar .desktop-comment-list {
  min-height: 0;
  flex: 1 1 auto;
  max-height: none !important;
  overflow-y: auto;
  padding-right: 4px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.page-kazalar .desktop-comment-list::-webkit-scrollbar {
  width: 0;
  height: 0;
  display: none;
}

.page-kazalar .match-beta-inline-compose {
  position: relative;
  display: block;
}

.page-kazalar .match-beta-inline-compose input {
  width: 100%;
  min-height: 38px;
  border-radius: 10px;
  padding: 8px 102px 8px 11px;
  border: 1px solid #496487;
  background: linear-gradient(180deg, #0f2238 0%, #10243a 100%);
  color: #f4f7ff;
  font-size: 12px;
}

.page-kazalar .match-beta-inline-compose input:focus {
  outline: none;
  border-color: #7f9fc9;
  box-shadow: 0 0 0 2px rgba(126, 165, 217, 0.2);
}

.page-kazalar .match-beta-inline-compose > button {
  position: absolute;
  top: 3px;
  right: 3px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 32px;
  min-width: 86px;
  padding: 0 11px;
  border: 1px solid #4a648a;
  border-radius: 9px;
  background: linear-gradient(180deg, rgba(43, 68, 103, 0.9) 0%, rgba(36, 58, 89, 0.86) 100%);
  color: #f2f7ff;
  font-size: 11px;
  font-weight: 700;
}

.page-kazalar .desktop-comment-compose-top,
.page-kazalar .comment-compose-top {
  margin-bottom: 8px;
}

.page-kazalar .match-beta-comment-list {
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  overflow-x: hidden;
  padding: 8px;
  display: flex;
  flex-direction: column;
  gap: 7px;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.page-kazalar .match-beta-comment-list::-webkit-scrollbar {
  width: 0;
  height: 0;
  display: none;
}

.page-kazalar .match-beta-comment-item {
  border: 1px solid #324862;
  border-radius: 10px;
  background: #162438;
  padding: 8px;
}

.page-kazalar .match-beta-comment-item strong {
  display: block;
  font-size: 11px;
  font-weight: 700;
  color: #9fb7d9;
}

.page-kazalar .match-beta-comment-item p {
  margin-top: 4px;
  color: #e8f2ff;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.45;
  word-break: break-word;
}

.page-kazalar .match-beta-inline-compose > button .btn-icon.send-svg {
  width: 14px;
  height: 14px;
}

.page-kazalar .match-beta-inline-compose > button .btn-icon.spinner {
  width: 12px;
  height: 12px;
  border: 2px solid rgba(255, 247, 229, 0.35);
  border-top-color: #fff8e2;
  border-radius: 50%;
  animation: matchBtnSpin .85s linear infinite;
}

.page-kazalar .match-beta-inline-compose > button.is-busy {
  border-color: #5a7da8;
}

.page-kazalar .match-beta-inline-compose > button:disabled {
  opacity: .8;
  cursor: not-allowed;
}

.page-kazalar .match-comment-admin-badge {
  display: inline-flex;
  align-items: center;
  min-height: 16px;
  padding: 0 6px;
  margin-left: 6px;
  border-radius: 999px;
  border: 1px solid rgba(255, 130, 145, 0.65);
  background: rgba(93, 33, 44, 0.85);
  color: #ffd7df;
  font-size: 10px;
  font-weight: 700;
  line-height: 1;
}

.page-kazalar .match-comment-sep {
  color: #88a1c3;
  margin: 0 4px 0 5px;
}

.page-kazalar .match-comment-ago {
  color: #9ab1ce;
  font-weight: 600;
}

.page-kazalar .match-beta-comment-item.system {
  border-style: solid;
  border-color: #5375a4;
  background:
    radial-gradient(circle at 50% 8%, rgba(116, 166, 236, 0.22) 0%, rgba(116, 166, 236, 0.04) 48%, transparent 78%),
    linear-gradient(180deg, #1b2d46 0%, #17263c 100%);
  padding: 10px;
}

.page-kazalar .match-beta-comment-item.system-empty {
  min-height: 170px;
  display: grid;
  place-items: center;
  padding: 16px;
}

.page-kazalar .match-comment-empty-state {
  display: grid;
  justify-items: center;
  align-content: center;
  text-align: center;
  gap: 10px;
}

.page-kazalar .match-beta-comment-item.system-empty .comment-empty-icon {
  width: 72px;
  height: 72px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #74a4df;
  background:
    radial-gradient(circle at 50% 20%, rgba(171, 207, 255, 0.38) 0%, rgba(171, 207, 255, 0.1) 58%, transparent 100%),
    linear-gradient(180deg, #34619a 0%, #274c78 100%);
  color: #ffd978;
  box-shadow: 0 10px 22px rgba(8, 17, 30, 0.46), inset 0 1px 0 rgba(255, 255, 255, 0.24);
  flex: 0 0 72px;
  padding: 0;
}

.page-kazalar .match-beta-comment-item.system-empty .comment-empty-icon svg {
  width: 34px;
  height: 34px;
  filter: drop-shadow(0 1px 1px rgba(30, 16, 0, 0.45));
}

.page-kazalar .match-beta-comment-item.system-empty strong {
  color: #f4f8ff;
  font-size: 16px;
  font-weight: 800;
  line-height: 1.15;
  text-shadow: 0 1px 0 rgba(13, 22, 36, 0.45);
}

.page-kazalar .match-beta-comment-item.system-empty p {
  margin-top: 0;
  color: #cfe0f8;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.45;
  max-width: 320px;
  text-shadow: 0 1px 0 rgba(12, 20, 34, 0.4);
}

.page-kazalar .match-beta-comment-item.is-new {
  border-color: #ff4f63;
  box-shadow: 0 0 0 1px rgba(255, 79, 99, 0.2), 0 0 18px rgba(255, 79, 99, 0.16);
}

.page-kazalar .match-beta-comment-notice {
  margin: 0;
  font-size: 11px;
  color: #9de6ad;
}

.page-kazalar .match-beta-comment-notice.error {
  color: #ff9ba8;
}

.page-kazalar .match-beta-comment-notice.warning {
  color: #ffd27f;
}

@keyframes matchBtnSpin {
  to {
    transform: rotate(360deg);
  }
}

.page-kazalar .live-info-card {
  border: 1px solid #33445f;
  border-radius: 11px;
  background: #162235;
  padding: 10px 11px;
}

.page-kazalar .live-info-card h3 {
  margin: 0 0 8px;
  font-size: 13px;
  color: #f3f7ff;
}

/* Match Ozetleri parity lock: comments/tabs/scroll */
.page-kazalar .desktop-tabs-wrap {
  margin-top: 0;
  padding-top: 0;
  border-top: 0;
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  min-height: 0;
  gap: 4px;
}

.page-kazalar .desktop-tabs {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  flex: 0 0 auto;
  gap: 6px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  width: 100%;
  min-height: 42px;
  overflow-x: auto;
  overflow-y: hidden;
  scrollbar-width: none;
  -ms-overflow-style: none;
  -webkit-overflow-scrolling: touch;
  position: relative;
  z-index: 2;
}

.page-kazalar .desktop-tab {
  flex: 0 0 auto;
  min-width: 108px;
  border: 1px solid #394760;
  background: #171f2d;
  color: #c9d5e9;
  border-radius: 11px;
  padding: 7px 11px;
  font-size: 11px;
  line-height: 1;
  font-weight: 600;
  white-space: nowrap;
  text-align: center;
}

.page-kazalar .desktop-tab.active {
  border-color: #f2f5fb;
  color: #121823;
  background: #f2f5fb;
  box-shadow: none;
}

.page-kazalar .desktop-panel[data-desktop-panel="comments"].active {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  min-height: 0;
  overflow: hidden;
}

.page-kazalar .match-beta-comment-form.is-inline {
  border-top: 0;
  padding: 5px 0 0;
  display: grid;
  gap: 5px;
}

.page-kazalar .match-beta-inline-compose {
  position: relative;
  display: block;
}

.page-kazalar .match-beta-inline-compose input {
  width: 100%;
  min-height: 38px;
  border-radius: 10px;
  padding: 8px 102px 8px 11px;
  border: 1px solid #496487;
  background: linear-gradient(180deg, #0f2238 0%, #10243a 100%);
  color: #f4f7ff;
  font-size: 12px;
}

.page-kazalar .match-beta-inline-compose > button {
  position: absolute;
  top: 3px;
  right: 3px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 32px;
  min-width: 86px;
  padding: 0 11px;
  border: 1px solid #4a648a;
  border-radius: 9px;
  background: linear-gradient(180deg, rgba(43, 68, 103, 0.9) 0%, rgba(36, 58, 89, 0.86) 100%);
  color: #f2f7ff;
  font-size: 11px;
  font-weight: 700;
}

.page-kazalar .desktop-comment-compose-top,
.page-kazalar .comment-compose-top {
  margin-top: 0;
  margin-bottom: 8px;
  padding: 0 8px;
}

body.page-kazalar .match-beta-comment-form.is-inline {
  padding: 5px 8px 0 !important;
}

body.page-kazalar .match-beta-comment-form.is-inline .match-beta-inline-compose {
  display: block !important;
  position: relative !important;
}

body.page-kazalar .match-beta-comment-form.is-inline .match-beta-inline-compose > input {
  width: 100% !important;
}

body.page-kazalar .match-beta-comment-form.is-inline .match-beta-inline-compose > button {
  position: absolute !important;
  top: 3px !important;
  right: 3px !important;
  min-width: 86px !important;
}

.page-kazalar .match-beta-comment-list,
.page-kazalar .desktop-comment-list {
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  overflow-x: hidden;
  padding: 8px;
  display: flex;
  flex-direction: column;
  gap: 7px;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.page-kazalar .match-beta-comment-list::-webkit-scrollbar,
.page-kazalar .desktop-comment-list::-webkit-scrollbar {
  width: 0;
  height: 0;
  display: none;
}

.page-kazalar .match-beta-comment-item {
  border: 1px solid #324862;
  border-radius: 10px;
  background: #162438;
  padding: 8px;
}

.page-kazalar .match-beta-comment-item strong {
  display: block;
  font-size: 11px;
  font-weight: 700;
  color: #9fb7d9;
}

.page-kazalar .match-beta-comment-item p {
  margin-top: 4px;
  color: #e8f2ff;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.45;
  word-break: break-word;
}

.page-kazalar .desktop-panel[data-desktop-panel="comments"].active {
  height: 100%;
}

@media (min-width: 1025px) {
  body.page-kazalar { overflow: hidden; }

  .page-kazalar .layout {
    height: calc(100vh - var(--header-h) - 12px);
    padding-top: calc(var(--header-h) + 8px);
    padding-bottom: 4px;
    align-items: stretch;
    gap: 16px;
  }

  .page-kazalar .player-panel,
  .page-kazalar .list-panel { height: 100%; min-height: 0; }

  .page-kazalar .player-panel { display: flex; flex-direction: column; }
  .page-kazalar .player-wrap,
  .page-kazalar .meta { flex: 0 0 auto; }

  .below-video-slot {
    border-top: 1px solid var(--line);
    background: linear-gradient(180deg, #171c25 0%, #141922 100%);
    padding: 10px 14px 12px;
    flex: 1 1 auto;
    min-height: 0;
    overflow-y: auto !important;
    overflow-x: hidden !important;
  }

  .below-video-slot h3 { font-size: 14px; margin-bottom: 5px; }
  .below-video-slot > p { color: var(--muted); font-size: 12px; line-height: 1.4; }

  .page-kazalar .sidebar {
    flex: 1 1 auto;
    min-height: 0;
    max-height: none !important;
    padding: 8px;
    overflow-y: auto !important;
    overflow-x: hidden;
    scrollbar-width: none;
    -ms-overflow-style: none;
  }

  .page-kazalar .sidebar::-webkit-scrollbar {
    width: 0;
    height: 0;
    display: none;
  }

  .mobile-comment-slot,
  .comment-modal { display: none !important; }
}

@media (min-width: 1025px) and (max-height: 860px) {
  .page-kazalar .layout {
    height: calc(100vh - var(--header-h) - 12px);
    min-height: calc(100vh - var(--header-h) - 12px);
    padding-bottom: 4px;
  }
  .page-kazalar .player-panel,
  .page-kazalar .list-panel {
    height: 100%;
    min-height: 0;
  }
  .page-kazalar .sidebar {
    overflow-y: auto !important;
    max-height: none !important;
  }
}

@media (max-width: 1024px), (hover: none) and (pointer: coarse) {
  body.page-kazalar {
    overflow: hidden;
    height: 100vh;
  }

  .page-kazalar .layout {
    display: block;
    height: 100vh;
    padding: 0;
    margin: 0;
  }

  .page-kazalar .filter-bar {
    position: fixed;
    top: calc(var(--header-h) + 56.25vw);
    left: 0;
    right: 0;
    z-index: 176;
    margin-bottom: 0;
    border-radius: 0;
    border-left: 0;
    border-right: 0;
    padding: 8px;
    height: var(--mobile-filter-h);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    box-shadow: none;
  }

  .page-kazalar .filter-field { gap: 0; }
  .page-kazalar .filter-field label { display: none; }
  .page-kazalar .filter-field {
    min-width: 0;
  }
  .page-kazalar .filter-bar select {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    z-index: 2;
    cursor: pointer;
  }
  .page-kazalar .filter-value {
    display: flex;
    align-items: center;
    width: 100%;
    height: 36px;
    padding: 0 10px;
    border-radius: 8px;
    border: 1px solid #3a4964;
    background: #0f1724;
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    line-height: 1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .mobile-comment-slot {
    position: fixed;
    top: calc(var(--header-h) + 56.25vw + var(--mobile-filter-h));
    left: 0;
    right: 0;
    z-index: 175;
    margin: 0;
    border: 0;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    background: linear-gradient(180deg, #171c25 0%, #141922 100%);
    padding: 0 12px;
    text-align: left;
    color: #fff;
    height: var(--mobile-comment-h);
    display: flex;
    align-items: center;
    justify-content: space-between;
    overflow: hidden;
    transition: opacity 0.2s ease, transform 0.2s ease;
  }

  body.page-kazalar.comment-open .mobile-comment-slot {
    opacity: 0;
    pointer-events: none;
    transform: translateY(-8px);
  }

  .mobile-comment-slot h3 {
    margin: 0;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 700;
    color: #edf5ff;
  }
  .mobile-comment-trigger-icon {
    width: 20px;
    height: 20px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #ffd978;
    border: 1px solid rgba(255, 217, 120, 0.45);
    background: linear-gradient(180deg, rgba(78, 108, 152, 0.5) 0%, rgba(42, 63, 96, 0.5) 100%);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.14);
  }
  .mobile-comment-trigger-icon svg {
    width: 12px;
    height: 12px;
  }
  .mobile-comment-slot p { display: none; }

  .page-kazalar .list-panel {
    position: fixed;
    top: calc(var(--header-h) + 56.25vw + var(--mobile-filter-h) + var(--mobile-comment-h));
    left: 0;
    right: 0;
    bottom: var(--mobile-nav-h);
    margin-top: 0;
    overflow: hidden;
  }

  .page-kazalar .sidebar {
    height: 100%;
    max-height: none !important;
    overflow-y: auto;
    padding: 8px 8px 12px;
  }
  .below-video-slot { display: none; }

  .comment-modal {
    position: fixed;
    top: calc(var(--header-h) + 56.25vw + var(--mobile-filter-h));
    left: 0;
    right: 0;
    bottom: var(--mobile-nav-h);
    z-index: 174;
    background: #0f131b;
    border-top: 1px solid #2d3748;
    display: none;
    flex-direction: column;
    opacity: 0;
    transform: translateY(14px);
    pointer-events: none;
    transition: transform 0.22s ease, opacity 0.22s ease;
  }

  .comment-modal.open {
    display: flex;
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }

  .comment-modal-head {
    height: 48px;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 0 10px;
    border-bottom: 1px solid #2d3748;
    background: #111826;
    font-size: 14px;
    flex: 0 0 auto;
  }

  .comment-back {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: linear-gradient(180deg, #2a3b57 0%, #1e2e47 100%);
    color: #f4f8ff;
    border: 1px solid #4f6890;
    border-radius: 10px;
    padding: 7px 11px;
    font-size: 12px;
    font-weight: 700;
    line-height: 1;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.16);
  }
  .comment-back-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 16px;
    height: 16px;
    border-radius: 999px;
    background: rgba(15, 26, 41, 0.55);
    color: #d9e8ff;
    font-size: 12px;
  }

  .comment-tabs {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 6px;
    padding: 8px;
    border-bottom: 1px solid #283246;
    background: #111827;
    flex: 0 0 auto;
  }

  .comment-tab {
    border: 1px solid #394760;
    background: #1b2638;
    color: #cfd7e7;
    border-radius: 8px;
    padding: 7px 6px;
    font-size: 11px;
    font-weight: 600;
  }

  .comment-tab.active {
    border-color: var(--accent);
    color: #fff;
    background: #31191e;
  }

  .comment-panel {
    display: none;
    flex: 1 1 auto;
    min-height: 0;
  }

  .comment-panel.active {
    display: flex;
    flex-direction: column;
  }

  .comment-list {
    flex: 1 1 auto;
    overflow-y: auto;
    padding: 12px;
    padding-bottom: 10px;
    display: flex;
    flex-direction: column;
    gap: 8px;
  }

  .comment-compose {
    position: sticky;
    bottom: 0;
    z-index: 3;
    background: linear-gradient(180deg, rgba(17, 24, 38, 0) 0%, #111826 26%, #111826 100%);
    padding-top: 8px;
    margin-top: auto;
  }

  .comment-item {
    border: 1px solid #2f3b52;
    border-radius: 10px;
    background: #151d2a;
    padding: 10px;
  }

  .comment-item strong { font-size: 12px; }
  .comment-item p {
    font-size: 12px;
    color: #c8d1df;
    margin-top: 4px;
    line-height: 1.35;
    word-break: break-word;
  }

  .comment-form,
  .feedback-form {
    border-top: 1px solid #2d3748;
    padding: 10px;
    display: grid;
    gap: 8px;
    background: #111826;
    flex: 0 0 auto;
  }

  .comment-form input,
  .comment-form textarea,
  .feedback-form textarea {
    width: 100%;
    background: #1a2232;
    color: #fff;
    border: 1px solid #3a4863;
    border-radius: 8px;
    padding: 8px;
    font-size: 12px;
  }

  .comment-form textarea,
  .feedback-form textarea {
    min-height: 72px;
    resize: vertical;
  }

  .feedback-options {
    display: grid;
    gap: 8px;
  }

  .feedback-option {
    display: flex;
    align-items: center;
    gap: 8px;
    border: 1px solid #34435c;
    background: #1b2433;
    border-radius: 10px;
    padding: 9px 10px;
    color: #d4dced;
    font-size: 12px;
    font-weight: 600;
  }

  .feedback-option input {
    accent-color: #ff2d2d;
  }

  .feedback-option:has(input:checked) {
    border-color: #ff2d2d;
    background: #2a161a;
    color: #fff;
  }

  .feedback-text[hidden] { display: none !important; }

  .comment-form button,
  .feedback-form button {
    justify-self: end;
    background: #2b3b56;
    color: #fff;
    border: 1px solid #4b5f82;
    border-radius: 8px;
    padding: 8px 12px;
    font-size: 12px;
    font-weight: 600;
  }
}

/* Final parity overrides (match-ozetleri behavior) */
.page-kazalar .match-beta-comment-form.is-inline {
  padding: 5px 8px 0 !important;
}

.page-kazalar .desktop-comment-compose-top,
.page-kazalar .comment-compose-top {
  margin-top: 0 !important;
  margin-bottom: 8px !important;
  padding: 0 !important;
}

.page-kazalar .desktop-tabs-wrap {
  height: 100%;
  min-height: 0;
}

.page-kazalar .desktop-panel[data-desktop-panel="comments"].active {
  flex: 1 1 auto;
  min-height: 0;
  height: 100%;
  overflow: hidden;
}

.page-kazalar .desktop-panel[data-desktop-panel="comments"].active .desktop-comment-list,
.page-kazalar .desktop-panel[data-desktop-panel="comments"].active .match-beta-comment-list {
  flex: 1 1 auto;
  min-height: 0;
  max-height: 100%;
  overflow-y: auto;
}

@media (max-width: 1024px), (hover: none) and (pointer: coarse) {
  .comment-compose {
    border-top: 1px solid #2d3748;
    background: #111826;
    padding: 8px 10px 10px;
    margin-top: auto;
  }

  .comment-form-toggle {
    width: 100%;
    text-align: left;
    background: #1a2435;
    color: #fff;
    border: 1px solid #3c4b66;
    border-radius: 9px;
    padding: 9px 10px;
    font-size: 12px;
    font-weight: 600;
  }

  .comment-form-toggle[aria-expanded="true"] {
    border-color: var(--accent);
    background: #2a161a;
  }

  .comment-form-collapse {
    margin-top: 8px;
  }

  .comment-form {
    border-top: 0;
    padding: 0;
    background: transparent;
  }
}

/* Final stable parity overrides: mac-ozetleri ile birebir yorum davranisi */
@media (min-width: 1025px) {
.page-kazalar .below-video-slot {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto !important;
  overflow-x: hidden !important;
}

.page-kazalar .desktop-tabs-wrap {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  min-height: 0;
  height: 100%;
}

.page-kazalar .desktop-panel[data-desktop-panel="comments"].active {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  min-height: 0;
  height: 100%;
  overflow: hidden;
}

.page-kazalar .desktop-panel[data-desktop-panel="comments"].active .desktop-comment-list,
.page-kazalar .desktop-panel[data-desktop-panel="comments"].active .match-beta-comment-list {
  flex: 1 1 auto;
  min-height: 0;
  max-height: 100%;
  overflow-y: auto !important;
  overflow-x: hidden !important;
}

.page-kazalar .match-beta-comment-form.is-inline,
.page-kazalar .comment-panel .match-beta-comment-form.is-inline,
.page-kazalar .desktop-panel .match-beta-comment-form.is-inline {
  padding: 5px 8px 0 !important;
}

.page-kazalar .match-beta-inline-compose {
  position: relative !important;
  display: block !important;
  margin: 0 !important;
}

.page-kazalar .match-beta-inline-compose > input {
  width: 100% !important;
  box-sizing: border-box;
  min-height: 38px;
  padding: 8px 102px 8px 11px !important;
}

.page-kazalar .match-beta-inline-compose > input:focus {
  outline: none;
  border-color: #7f9fc9 !important;
  box-shadow: 0 0 0 2px rgba(126, 165, 217, 0.2) !important;
}

.page-kazalar .match-beta-inline-compose > button {
  position: absolute !important;
  top: 3px !important;
  right: 3px !important;
  min-width: 86px !important;
  min-height: 32px !important;
  padding: 0 11px !important;
  border-radius: 9px !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  display: inline-flex !important;
  align-items: center;
  gap: 6px;
}

.page-kazalar .match-beta-inline-compose > button .send-svg {
  width: 14px !important;
  height: 14px !important;
}

.page-kazalar .desktop-comment-compose-top,
.page-kazalar .comment-compose-top {
  margin: 0 0 8px 0 !important;
  padding: 0 !important;
}

.page-kazalar .match-beta-comment-list,
.page-kazalar .desktop-comment-list {
  flex: 1 1 auto;
  min-height: 0;
  padding: 8px !important;
  margin: 4px 0 0 !important;
  overflow-y: auto !important;
  overflow-x: hidden !important;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.page-kazalar .match-beta-comment-list::-webkit-scrollbar,
.page-kazalar .desktop-comment-list::-webkit-scrollbar {
  width: 0 !important;
  height: 0 !important;
  display: none !important;
}
}

.page-kazalar .item-card .badge.vod,
.page-kazalar .sidebar .item-card .badge.vod {
  background: #0a0f18 !important;
  border: 1px solid rgba(255, 255, 255, 0.85) !important;
  box-shadow: 0 0 0 2px #121b2e !important;
  z-index: 3 !important;
}

.page-kazalar .sidebar .thumb {
  overflow: hidden !important;
}


/* Hard lock (desktop): tek scroll sahibi yorum listesi */
@media (min-width: 1025px) {
  body.page-kazalar {
    overflow-y: auto !important;
    overflow-x: hidden !important;
    height: auto !important;
    min-height: 100vh !important;
  }

  .page-kazalar .below-video-slot {
    overflow: hidden !important;
    min-height: 0 !important;
  }

  .page-kazalar .desktop-tabs-wrap,
  .page-kazalar .desktop-panel[data-desktop-panel="comments"].active {
    min-height: 0 !important;
    height: 100% !important;
    overflow: hidden !important;
  }

  .page-kazalar .desktop-panel[data-desktop-panel="comments"].active .desktop-comment-list {
    min-height: 0 !important;
    height: 100% !important;
    max-height: none !important;
    overflow-y: auto !important;
    overflow-x: hidden !important;
    scrollbar-width: none !important;
    -ms-overflow-style: none !important;
  }

  .page-kazalar .desktop-panel[data-desktop-panel="comments"].active .desktop-comment-list::-webkit-scrollbar {
    width: 0 !important;
    height: 0 !important;
    display: none !important;
  }
}

/* Hard lock (mobile): desktop sekme sızıntısını engelle */
@media (max-width: 1024px) {
  .page-kazalar .desktop-tabs-wrap,
  .page-kazalar .desktop-tabs,
  .page-kazalar .desktop-panel {
    display: none !important;
  }
}

/* No-route bilgi notu alanı */
.page-kazalar .kazalar-info-note-wrap {
  display: flex;
  flex: 1 1 auto;
  min-height: 0;
  padding: 0 8px 8px;
}

.page-kazalar .kazalar-info-note-card {
  width: 100%;
  border: 1px solid rgba(122, 153, 202, 0.22);
  border-radius: 12px;
  background: transparent;
  padding: 16px;
  height: 100%;
  max-height: 100%;
  overflow-y: auto;
  overflow-x: hidden;
  scrollbar-width: thin;
  color: #d6e4ff;
}

.page-kazalar .kazalar-info-note-card h2 {
  margin: 0 0 10px;
  font-size: 20px;
  line-height: 1.2;
  color: #f2f7ff;
}

.page-kazalar .kazalar-info-note-body {
  color: inherit;
  font-family: inherit;
  font-size: inherit;
  line-height: inherit;
}

.page-kazalar .kazalar-info-note-body p:last-child {
  margin-bottom: 0;
}

.page-kazalar #kazalarCommentsWrap[hidden],
.page-kazalar #kazalarInfoNoteWrap[hidden] {
  display: none !important;
}

.page-kazalar .kazalar-mobile-info-note {
  border: 1px solid rgba(122, 153, 202, 0.22);
  border-radius: 12px;
  background: transparent;
  padding: 14px;
  max-height: 100%;
  overflow-y: auto;
  overflow-x: hidden;
  scrollbar-width: thin;
  color: #d6e4ff;
}

.page-kazalar .kazalar-mobile-info-note h3 {
  margin: 0 0 8px;
  font-size: 17px;
  line-height: 1.25;
  color: #f2f7ff;
}

.page-kazalar .kazalar-mobile-info-note-body {
  color: inherit;
  font-family: inherit;
  font-size: inherit;
  line-height: inherit;
}

.page-kazalar .kazalar-mobile-info-note-body p:last-child {
  margin-bottom: 0;
}

.page-kazalar #mobileInfoNotePanel {
  margin-top: 14px;
  padding: 0 10px 8px;
  overflow-y: auto;
  overflow-x: hidden;
}

.page-kazalar .mobile-comment-count-inline {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  border: 1px solid #385892;
  border-radius: 999px;
  background: rgba(18, 32, 56, 0.78);
  color: #cfe1ff;
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
}

.page-kazalar .mobile-comment-count-inline[hidden] {
  display: none !important;
}

.page-kazalar .comment-modal-head strong {
  margin-right: auto;
}
