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

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

.page-index .sidebar {
  padding: 8px 0 0;
}

.page-index .below-video-slot {
  border-top: 1px solid var(--line);
  background: linear-gradient(180deg, #171c25 0%, #141922 100%);
  padding: 10px 14px 12px;
}

.page-index .below-video-slot h3 {
  font-size: 14px;
  margin-bottom: 5px;
}

.page-index .below-video-slot p {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.4;
}

.page-index .player-wrap {
  position: relative;
}

.page-index .player-placeholder {
  position: absolute;
  inset: 0;
  z-index: 6;
  display: none;
  align-items: center;
  justify-content: center;
  padding: clamp(18px, 3vw, 30px);
  pointer-events: none;
}

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

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

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

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

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

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

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

.page-index .player-placeholder-shell .placeholder-live-icon.is-error {
  color: #ff7e8a;
  filter: drop-shadow(0 0 12px rgba(255, 112, 124, 0.35));
  animation: none;
}

.page-index .player-placeholder-shell .placeholder-live-icon.is-loading {
  animation: live-icon-pulse 1.2s ease-in-out infinite;
}

.page-index .player-placeholder-shell .placeholder-live-spinner {
  width: 38px;
  height: 38px;
  border-radius: 999px;
  border: 2px solid rgba(206, 224, 248, 0.34);
  border-top-color: rgba(255, 255, 255, 0.95);
  border-right-color: rgba(255, 255, 255, 0.7);
  margin: 0 auto 4px;
  animation: live-placeholder-spin .9s linear infinite;
}

.page-index .player-placeholder-shell strong {
  color: #f4f8ff;
  font-size: clamp(22px, 2.2vw, 33px);
  line-height: 1.2;
  font-weight: 800;
}

.page-index .player-placeholder-shell p {
  margin: 0;
  color: #c8d9f2;
  font-size: clamp(14px, 1.2vw, 19px);
  line-height: 1.35;
  opacity: .95;
}

.page-index .player-placeholder-shell.is-error p {
  color: #e7edf9;
}

@keyframes live-icon-pulse {
  0% { transform: scale(1); opacity: .9; }
  50% { transform: scale(1.07); opacity: 1; }
  100% { transform: scale(1); opacity: .9; }
}

@keyframes live-placeholder-spin {
  to {
    transform: rotate(360deg);
  }
}

.page-index #streamMeta {
  display: flex;
  flex-direction: row;
  gap: 0;
  min-width: 0;
}

.page-index .meta-title {
  min-width: 0;
  flex: 1 1 auto;
}

.page-index .meta-line-main {
  display: block;
  font-size: 12px;
  color: #c3d0e5;
  line-height: 1.3;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.page-index .meta-stats {
  display: flex;
  flex-wrap: nowrap;
  gap: 6px;
  align-items: center;
  min-width: 0;
  overflow-x: auto;
  overflow-y: hidden;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.page-index .meta-stats::-webkit-scrollbar {
  display: none;
}

.page-index .meta-chip {
  display: inline-flex;
  align-items: center;
  min-height: 20px;
  padding: 0 7px;
  border-radius: 999px;
  border: 1px solid #3b4d69;
  background: #182233;
  color: #c9d6ea;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.1px;
  white-space: nowrap;
  flex: 0 0 auto;
}

.page-index .meta-chip-label {
  margin-right: 4px;
  color: #9fb2cc;
  font-weight: 600;
}

.page-index .meta-chip-status.is-live {
  border-color: #ff4b55;
  background: linear-gradient(180deg, #ff3d4a 0%, #dc2230 100%);
  color: #fff3f5;
}

.page-index .meta-chip-status.is-live .meta-chip-label {
  color: #ffe1e6;
}

.page-index .meta-comment-cta {
  appearance: none;
  border: 1px solid #4a5e7f;
  background: #1b273a;
  color: #d5e1f3;
  border-radius: 999px;
  min-height: 20px;
  padding: 0 8px;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.1px;
  cursor: pointer;
  white-space: nowrap;
  flex: 0 0 auto;
}

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

.page-index .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: visible;
  scrollbar-width: none;
  -ms-overflow-style: none;
  position: sticky;
  top: 0;
  z-index: 8;
  background: linear-gradient(180deg, #171c25 0%, #141922 100%);
}

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

.page-index .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-index .desktop-tab.active {
  border-color: #f2f5fb;
  color: #121823;
  background: #f2f5fb;
}

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

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

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

.page-index .match-beta-comment-form {
  flex: 0 0 auto;
}

.page-index .match-beta-inline-compose {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
  align-items: center;
}

.page-index .match-beta-inline-compose input {
  width: 100%;
  background: #1a2232;
  color: #fff;
  border: 1px solid #3a4863;
  border-radius: 8px;
  padding: 10px;
  font-size: 12px;
}

.page-index .match-beta-inline-compose button {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #2b3b56;
  color: #fff;
  border: 1px solid #4b5f82;
  border-radius: 8px;
  padding: 9px 12px;
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
}

.page-index .send-svg {
  width: 14px;
  height: 14px;
}

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

.page-index .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: thin;
  scrollbar-color: #5c7398 rgba(18, 24, 36, 0.7);
}

.page-index .desktop-comment-list::-webkit-scrollbar {
  width: 3px;
}

.page-index .desktop-comment-list::-webkit-scrollbar-track {
  background: rgba(16, 23, 34, 0.72);
  border-radius: 999px;
}

.page-index .desktop-comment-list::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, #6f86ab 0%, #4f6588 100%);
  border-radius: 999px;
}

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

.page-index .desktop-comment-list .comment-item strong {
  font-size: 12px;
}

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

.page-index .match-beta-comment-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

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

.page-index .match-beta-comment-item strong {
  display: block;
  font-size: 19px;
  color: #e3ebfa;
  line-height: 1.1;
}

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

.page-index .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-index .match-comment-sep {
  color: #88a1c3;
  margin: 0 4px 0 5px;
}

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

.page-index .match-beta-comment-item.system {
  border-style: dashed;
  border-color: #41516f;
  background: #172132;
}

.page-index .match-beta-comment-item.system-empty {
  min-height: 170px;
  display: grid;
  place-items: center;
  padding: 16px;
  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%);
}

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

.page-index .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-index .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-index .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-index .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-index .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-index .match-beta-comment-notice {
  margin-top: 6px;
  font-size: 12px;
  color: #bcd0ea;
}

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

.page-index .desktop-comment-compose {
  position: sticky;
  bottom: 0;
  z-index: 3;
  background: linear-gradient(180deg, rgba(20, 25, 34, 0) 0%, #141922 26%, #141922 100%);
  padding-top: 8px;
  margin-top: auto;
}

.page-index .desktop-comment-form {
  border-top: 0;
  padding: 0;
  background: transparent;
  display: grid;
  gap: 8px;
}

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

.page-index .desktop-comment-form textarea {
  min-height: 78px;
  resize: vertical;
}

.page-index .desktop-comment-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;
}

.page-index .desktop-comment-compose .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;
}

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

.page-index .desktop-comment-compose .comment-form-collapse {
  margin-top: 8px;
}

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

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

.page-index .live-info-meta {
  margin: 0 0 6px;
}

/* Match Ozetleri parity lock: comments/tabs/scroll */
.page-index .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-index .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-index .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-index .desktop-tab.active {
  border-color: #f2f5fb;
  color: #121823;
  background: #f2f5fb;
  box-shadow: none;
}

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

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

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

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

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

.page-index .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-index .match-beta-inline-compose > button .btn-icon.send-svg {
  width: 14px;
  height: 14px;
}

.page-index .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-index .match-beta-inline-compose > button.is-busy {
  border-color: #5a7da8;
}

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

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

.page-index .match-beta-comment-notice.error { color: #ffb3b3; }
.page-index .match-beta-comment-notice.warning { color: #ffd27f; }

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

.page-index .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-index .match-beta-comment-list::-webkit-scrollbar {
  width: 0;
  height: 0;
  display: none;
}

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

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

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

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

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

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

  .page-index .meta-title #liveInfoLocation {
    display: none;
  }

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

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

  .page-index .player-panel {
    display: flex;
    flex-direction: column;
  }

  .page-index .player-wrap,
  .page-index .meta {
    flex: 0 0 auto;
  }

  .page-index .below-video-slot {
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    min-height: 0;
    overflow-y: auto !important;
    overflow-x: hidden !important;
    scrollbar-width: auto;
    scrollbar-color: #5f769b rgba(18, 24, 36, 0.8);
    scrollbar-gutter: stable;
  }

  .page-index .below-video-slot::-webkit-scrollbar {
    width: 3px;
  }

  .page-index .below-video-slot::-webkit-scrollbar-track {
    background: rgba(16, 23, 34, 0.72);
    border-radius: 999px;
    border: 1px solid rgba(46, 61, 86, 0.65);
  }

  .page-index .below-video-slot::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #6f86ab 0%, #4f6588 100%);
    border-radius: 999px;
    border: 1px solid rgba(21, 30, 45, 0.9);
  }

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

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

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

@media (min-width: 1025px) and (max-height: 860px) {
  .page-index .layout {
    height: calc(100vh - var(--header-h) - 12px);
    min-height: calc(100vh - var(--header-h) - 12px);
    padding-bottom: 4px;
  }

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

  .page-index .sidebar {
    max-height: none !important;
    overflow-y: auto !important;
  }
}

@media (max-width: 1024px) {
  body.page-index {
    overflow: hidden;
    height: 100vh;
  }

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

  .page-index .meta {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 10px;
    min-height: 58px;
  }

  .page-index .meta-title h1 {
    font-size: 15px;
    margin-bottom: 2px;
  }

.page-index .meta-title p {
  font-size: 11px;
}

  .page-index .live-pill {
    font-size: 10px;
    padding: 4px 7px;
  }

  .page-index .below-video-slot {
    display: none;
  }

  .page-index .mobile-comment-slot {
    position: fixed;
    top: calc(var(--header-h) + 56.25vw + 58px);
    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-index.comment-open .mobile-comment-slot {
    opacity: 0;
    pointer-events: none;
    transform: translateY(-8px);
  }

  .page-index .mobile-comment-slot h3 {
    margin: 0;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 700;
    color: #edf5ff;
  }
  .page-index .mobile-comment-trigger-icon {
    width: 20px;
    height: 20px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #ffe08a;
    border: 1px solid rgba(255, 220, 130, 0.8);
    background: linear-gradient(180deg, rgba(120, 158, 214, 0.4) 0%, rgba(47, 76, 119, 0.58) 100%);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 0 14px rgba(255, 210, 106, 0.22);
  }
  .page-index .mobile-comment-trigger-icon svg {
    width: 12px;
    height: 12px;
  }
  .page-index .mobile-comment-slot p { display: none; }

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

  .page-index .sidebar {
    height: 100%;
    max-height: none !important;
    overflow-y: auto;
    padding: 8px 8px 12px;
  }

  .page-index .comment-modal {
    position: fixed;
    top: calc(var(--header-h) + 56.25vw + 58px);
    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;
  }

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

  .page-index .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;
  }

  .page-index .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);
  }
  .page-index .comment-back-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 16px;
    height: 16px;
    border-radius: 999px;
    background: rgba(12, 28, 52, 0.82);
    border: 1px solid rgba(154, 188, 236, 0.45);
    color: #f1f7ff;
    font-size: 12px;
  }

  .page-index .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;
  }

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

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

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

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

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

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

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

  .page-index .comment-compose {
    border-top: 1px solid #2d3748;
    background: #111826;
    padding: 8px 10px 10px;
    margin-top: auto;
  }

  .page-index .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;
  }

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

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

  .page-index .comment-form {
    border-top: 0;
    padding: 0;
    background: transparent;
    display: grid;
    gap: 8px;
  }

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

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

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

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

  .page-index .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;
  }

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

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

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

  .page-index .comment-form button,
  .page-index .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-index .match-beta-comment-form.is-inline {
  padding: 5px 8px 0 !important;
}

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


@media (min-width: 1025px) {
.page-index .below-video-slot {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto !important;
  overflow-x: hidden !important;
}

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

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

.page-index .desktop-panel[data-desktop-panel="comments"].active .desktop-comment-list,
.page-index .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-index .match-beta-inline-compose {
  position: relative !important;
  display: block !important;
  margin: 0 !important;
}

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

.page-index .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-index .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-index .match-beta-inline-compose > button .send-svg {
  width: 14px !important;
  height: 14px !important;
}

.page-index .match-beta-comment-list,
.page-index .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-index .match-beta-comment-list::-webkit-scrollbar,
.page-index .desktop-comment-list::-webkit-scrollbar {
  width: 0 !important;
  height: 0 !important;
  display: none !important;
}
}

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

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

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

  .page-index .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-index .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-index .desktop-tabs-wrap,
  .page-index .desktop-tabs,
  .page-index .desktop-panel {
    display: none !important;
  }
}

/* Hidden attribute her zaman baskin kalmali */
.page-index #liveCommentsWrap[hidden],
.page-index #liveInfoNoteWrap[hidden],
.page-index #mobileCommentsPanel[hidden],
.page-index #mobileInfoNotePanel[hidden] {
  display: none !important;
}

.page-index .comment-modal-head strong {
  min-width: 0;
}

.page-index .mobile-comment-count-inline {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px 12px;
  border: 1px solid #3f5e86;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  color: #d7e7ff;
  line-height: 1;
  white-space: nowrap;
}

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

.page-index .live-warning {
  display: none !important;
}

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

.page-index .kazalar-mobile-info-note::-webkit-scrollbar {
  width: 0 !important;
  height: 0 !important;
  display: none !important;
}

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

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

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

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

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

@media (min-width: 1025px) {
  .page-index #liveInfoNoteWrap {
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    min-height: 0;
    padding: 10px 12px;
  }

  .page-index #liveInfoNoteWrap .kazalar-info-note-card {
    border: 1px solid rgba(122, 153, 202, 0.22);
    border-radius: 12px;
    background: transparent;
    padding: 14px;
    flex: 1 1 auto;
    min-height: 0;
    overflow-y: auto;
    overflow-x: hidden;
    scrollbar-width: none;
    -ms-overflow-style: none;
    color: #d6e4ff;
  }

  .page-index #liveInfoNoteWrap .kazalar-info-note-card::-webkit-scrollbar {
    width: 0 !important;
    height: 0 !important;
    display: none !important;
  }

  .page-index #liveInfoNoteWrap .kazalar-info-note-card h2 {
    margin: 0 0 8px;
    font-size: 22px;
    line-height: 1.25;
    color: #f2f7ff;
  }

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