:root {
  --md-blue: #1155e8;
  --md-blue-soft: #eaf2ff;
  --md-red: #b00018;
  --md-red-dark: #910013;
  --md-bg: #f2f4f8;
  --md-card: #ffffff;
  --md-text: #101828;
  --md-muted: #8b95a5;
  --md-line: #e6eaf1;
  --md-green: #16b85f;
  --md-shadow: 0 8px 22px rgba(15, 23, 42, .08);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body.match-aiscore-page {
  margin: 0;
  font-family: Inter, Arial, Helvetica, sans-serif;
  color: var(--md-text);
  background: var(--md-bg);
}
button, input, select { font: inherit; }
a { color: inherit; }

.md-app {
  min-height: 100vh;
  background: var(--md-bg);
}

.md-shell {
  width: min(100%, 760px);
  min-height: 100vh;
  margin: 0 auto;
  background: var(--md-bg);
  padding-bottom: 28px;
}

.md-loading-card {
  margin: 14px;
  padding: 24px;
  border-radius: 18px;
  background: #fff;
  border: 1px solid var(--md-line);
  box-shadow: var(--md-shadow);
  text-align: center;
  font-weight: 900;
  color: var(--md-muted);
}

.match-red-hero {
  position: relative;
  overflow: hidden;
  min-height: 300px;
  padding: max(16px, env(safe-area-inset-top)) 16px 22px;
  color: #fff;
  background:
    radial-gradient(circle at 75% 25%, rgba(255,255,255,.12), transparent 25%),
    linear-gradient(135deg, #bd001d 0%, #8b0012 100%);
}

.match-red-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 80%, rgba(0,0,0,.16), transparent 28%),
    linear-gradient(90deg, rgba(0,0,0,.10), transparent 45%, rgba(0,0,0,.12));
  pointer-events: none;
}

.match-hero-topbar,
.hero-league-meta,
.hero-score-grid,
.live-animation-pill,
.hero-update {
  position: relative;
  z-index: 1;
}

.match-hero-topbar {
  height: 42px;
  display: grid;
  grid-template-columns: 44px 1fr 44px;
  align-items: center;
  gap: 8px;
}

.back-btn,
.hero-icon-btn {
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,.12);
  color: #fff;
  text-decoration: none;
  font-size: 28px;
  font-weight: 800;
  cursor: pointer;
}

.hero-icon-btn { font-size: 22px; }
.hero-league-title {
  text-align: center;
  font-size: 18px;
  font-weight: 800;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.hero-league-meta {
  margin-top: 8px;
  text-align: center;
  color: rgba(255,255,255,.72);
  font-size: 13px;
  font-weight: 700;
}

.hero-score-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 14px;
  margin-top: 22px;
}

.hero-team {
  min-width: 0;
  display: grid;
  justify-items: center;
  gap: 9px;
  text-align: center;
}

.hero-team img {
  width: 62px;
  height: 62px;
  object-fit: contain;
  border-radius: 999px;
  background: rgba(255,255,255,.92);
  padding: 4px;
}

.hero-team strong {
  max-width: 150px;
  color: #fff;
  font-size: 17px;
  line-height: 1.18;
  font-weight: 800;
  overflow-wrap: anywhere;
}

.hero-star {
  width: 36px;
  height: 36px;
  border: 0;
  background: transparent;
  color: #fff;
  font-size: 34px;
  line-height: 1;
  cursor: pointer;
  text-shadow: 0 2px 8px rgba(0,0,0,.24);
}

.hero-center-score {
  min-width: 120px;
  display: grid;
  justify-items: center;
  gap: 5px;
}

.hero-center-score span {
  color: rgba(255,255,255,.55);
  font-size: 16px;
  font-weight: 800;
}

.hero-score-value {
  color: #fff;
  font-size: 58px;
  line-height: 1;
  font-weight: 950;
  letter-spacing: -1px;
}

.hero-center-score small {
  color: rgba(255,255,255,.62);
  font-size: 15px;
  font-weight: 800;
}


.hero-match-date {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  max-width: 150px;
  padding: 4px 9px;
  border-radius: 999px;
  background: rgba(255,255,255,.14);
  color: rgba(255,255,255,.86);
  font-size: 11px;
  font-style: normal;
  font-weight: 900;
  line-height: 1.25;
  text-align: center;
  text-transform: capitalize;
}

.live-animation-pill {
  border: 0;
  cursor: pointer;
  width: fit-content;
  margin: 18px auto 0;
  padding: 10px 18px;
  border-radius: 999px;
  background: rgba(255,255,255,.18);
  color: #fff;
  font-size: 15px;
  font-weight: 800;
  backdrop-filter: blur(6px);
}

.hero-update {
  width: fit-content;
  margin: 10px auto 0;
  color: rgba(255,255,255,.72);
  font-size: 12px;
  font-weight: 700;
}

.detail-tabs {
  position: relative;
  z-index: 2;
  margin-top: 0;
}

.detail-tab-buttons {
  position: sticky;
  top: 0;
  z-index: 30;
  display: flex;
  gap: 22px;
  overflow-x: auto;
  padding: 0 16px;
  height: 58px;
  align-items: center;
  background: #fff;
  border-bottom: 1px solid var(--md-line);
  scrollbar-width: none;
}

.detail-tab-buttons::-webkit-scrollbar { display: none; }

.detail-tab-btn {
  position: relative;
  flex: 0 0 auto;
  border: 0;
  background: transparent;
  color: #606b7a;
  font-size: 17px;
  font-weight: 800;
  cursor: pointer;
  padding: 17px 0 16px;
}

.detail-tab-btn.active {
  color: var(--md-blue);
}

.detail-tab-btn.active::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 3px;
  background: var(--md-blue);
  border-radius: 999px 999px 0 0;
}

.detail-tab-btn span {
  margin-left: 4px;
  min-width: 24px;
  height: 20px;
  padding: 0 6px;
  border-radius: 999px;
  background: #f25565;
  color: #fff;
  font-size: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  vertical-align: middle;
}

.team-side-strip {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: #fff;
  border-bottom: 1px solid var(--md-line);
}

.team-side-strip span {
  position: relative;
  padding: 14px 16px;
  font-size: 15px;
  font-weight: 800;
  color: var(--md-text);
}

.team-side-strip span:first-child { border-left: 5px solid var(--md-blue); }
.team-side-strip span:last-child { text-align: right; border-right: 5px solid var(--md-green); }

.detail-tab-panel {
  display: none;
  padding: 14px 12px 28px;
}

.detail-tab-panel.active {
  display: grid;
  gap: 14px;
}

.overview-card {
  background: #fff;
  border: 1px solid var(--md-line);
  border-radius: 18px;
  box-shadow: var(--md-shadow);
  overflow: hidden;
}

.timeline-card { padding: 14px; }
.timeline-team-row {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 12px;
  font-size: 13px;
  font-weight: 800;
}

.momentum-box {
  position: relative;
  height: 160px;
  border-radius: 14px;
  background: #eef3ff;
  overflow: hidden;
}

.momentum-zone {
  position: absolute;
  left: 0;
  right: 0;
  height: 50%;
}

.home-zone {
  top: 0;
  background:
    linear-gradient(90deg, rgba(17,85,232,.22) 0 12%, transparent 12% 20%, rgba(17,85,232,.32) 20% 30%, transparent 30% 42%, rgba(17,85,232,.26) 42% 50%, transparent 50% 62%, rgba(17,85,232,.34) 62% 75%, transparent 75% 100%);
}

.away-zone {
  bottom: 0;
  background:
    linear-gradient(90deg, transparent 0 10%, rgba(22,184,95,.32) 10% 18%, transparent 18% 28%, rgba(22,184,95,.28) 28% 42%, transparent 42% 54%, rgba(22,184,95,.34) 54% 70%, transparent 70% 82%, rgba(22,184,95,.26) 82% 92%, transparent 92% 100%);
}

.timeline-midline {
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  height: 1px;
  background: rgba(0,0,0,.08);
}

.timeline-marker {
  position: absolute;
  transform: translateX(-50%);
  width: 24px;
  height: 24px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  box-shadow: 0 3px 8px rgba(0,0,0,.12);
  font-size: 13px;
}

.timeline-marker.home { top: 15px; }
.timeline-marker.away { bottom: 15px; }
.timeline-marker.goal { border: 2px solid #111827; }
.timeline-marker.yellow { border: 2px solid #facc15; }
.timeline-marker.red { border: 2px solid #ef4444; }
.timeline-marker.sub { border: 2px solid #38bdf8; }

.timeline-minutes {
  display: flex;
  justify-content: space-between;
  color: #4b5563;
  font-size: 16px;
  font-weight: 800;
  margin-top: 10px;
}

.metric-card { padding: 14px; }
.metric-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.metric-circle-card {
  display: grid;
  gap: 8px;
  justify-items: center;
}

.metric-label {
  color: #111827;
  font-size: 15px;
  font-weight: 800;
  text-align: center;
}

.metric-circle-row {
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 54px 1fr;
  align-items: center;
  gap: 8px;
}

.metric-circle-row strong {
  text-align: center;
  font-size: 22px;
}

.metric-ring {
  width: 54px;
  height: 54px;
  border-radius: 999px;
  background: conic-gradient(var(--md-green) 0 calc(var(--home) * 1%), var(--md-blue) 0 100%);
  display: grid;
  place-items: center;
}

.metric-ring span {
  width: 38px;
  height: 38px;
  border-radius: inherit;
  background: #fff;
  display: grid;
  place-items: center;
  color: #8b95a5;
  font-size: 20px;
  font-weight: 900;
}

.compact-stat-lines {
  margin-top: 16px;
  display: grid;
  gap: 8px;
}

.compact-icons,
.compact-bottom-counts,
.compact-line {
  display: grid;
  grid-template-columns: 34px 34px 34px 1fr 34px 34px 34px;
  align-items: center;
  gap: 6px;
}

.compact-icons.left span,
.compact-icons.right span,
.compact-bottom-counts span {
  text-align: center;
}

.compact-line {
  grid-template-columns: 30px 1fr auto 1fr 30px;
}

.compact-line em {
  font-style: normal;
  font-weight: 800;
  color: #111827;
  white-space: nowrap;
}

.compact-bar {
  height: 8px;
  background: #eef2f7;
  border-radius: 999px;
  overflow: hidden;
}

.compact-bar i {
  display: block;
  height: 100%;
  background: var(--md-blue);
  border-radius: inherit;
}

.compact-bar.right i {
  margin-left: auto;
  background: var(--md-green);
}

.section-title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 16px;
}

.section-title-row h2 {
  margin: 0;
  color: #111827;
  font-size: 21px;
  font-weight: 950;
}

.section-title-row span {
  color: #111827;
  font-weight: 800;
}

.muted-text {
  margin: 0;
  padding: 16px;
  color: var(--md-muted);
  font-weight: 700;
  line-height: 1.45;
}

.highlight-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  padding: 0 16px 16px;
}

.highlight-thumb {
  height: 84px;
  display: grid;
  place-items: center;
  color: #fff;
  background: #d0d3d8;
  border-radius: 12px;
  font-size: 18px;
  font-weight: 950;
}

.highlight-strip {
  display: flex;
  justify-content: space-between;
  margin-top: 8px;
  padding: 7px 9px;
  color: #fff;
  background: #6b7280;
  border-radius: 8px;
  font-weight: 800;
}

.highlight-strip.goal { background: #4b5563; }
.highlight-strip.yellow { background: #ca8a04; }
.highlight-strip.red { background: #dc2626; }

.highlight-item strong {
  display: block;
  margin-top: 8px;
  font-size: 15px;
  line-height: 1.3;
}

.highlight-item small {
  display: block;
  margin-top: 3px;
  color: var(--md-muted);
  font-size: 13px;
}

.stats-list-card { padding: 8px 14px; }
.stat-line-row {
  display: grid;
  grid-template-columns: 44px 1fr 44px;
  gap: 10px;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid var(--md-line);
}

.stat-line-row:last-child { border-bottom: 0; }
.stat-line-row strong { text-align: center; font-size: 16px; }
.stat-line-main { display: grid; gap: 7px; }
.stat-line-main span { text-align: center; color: #111827; font-size: 14px; font-weight: 800; }
.stat-bar-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.stat-bar-pair i {
  height: 8px;
  border-radius: 999px;
  background: var(--md-blue);
}
.stat-bar-pair i.away { margin-left: auto; background: var(--md-green); }

.event-list-card { padding: 6px 14px; }
.event-row {
  display: grid;
  grid-template-columns: 46px 34px 1fr;
  gap: 10px;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid var(--md-line);
}
.event-row:last-child { border-bottom: 0; }
.event-minute { color: var(--md-red); font-weight: 900; text-align: center; }
.event-icon { font-size: 20px; text-align: center; }
.event-body { display: grid; gap: 3px; }
.event-body strong { font-size: 14px; line-height: 1.3; }
.event-body span { color: var(--md-muted); font-size: 13px; }

.lineup-card { padding: 14px; display: grid; gap: 14px; }
.lineup-team-block {
  border: 1px solid var(--md-line);
  border-radius: 14px;
  overflow: hidden;
}
.lineup-team-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 12px 14px;
  background: #f8fafc;
}
.lineup-team-head strong { font-size: 16px; }
.lineup-team-head span { color: var(--md-muted); font-weight: 800; }
.lineup-player-list { display: grid; }
.lineup-player-list div {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 10px;
  align-items: center;
  padding: 10px 14px;
  border-top: 1px solid var(--md-line);
}
.lineup-player-list b {
  width: 28px;
  height: 28px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: var(--md-blue-soft);
  color: var(--md-blue);
  font-size: 12px;
}
.lineup-player-list span { font-weight: 700; }

.placeholder-card { padding: 18px; }
.placeholder-card h2 { margin: 0 0 8px; font-size: 22px; }
.placeholder-card p { margin: 0; color: var(--md-muted); line-height: 1.5; font-weight: 700; }
.fake-chat-bubble {
  margin-top: 14px;
  width: fit-content;
  max-width: 86%;
  padding: 12px 14px;
  border-radius: 14px 14px 14px 4px;
  background: var(--md-blue-soft);
  color: var(--md-blue);
  font-weight: 800;
}
.odds-grid {
  margin-top: 16px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
.odds-grid div {
  padding: 14px;
  border-radius: 14px;
  background: #f8fafc;
  border: 1px solid var(--md-line);
  text-align: center;
}
.odds-grid span { display: block; color: var(--md-muted); font-weight: 800; }
.odds-grid strong { display: block; margin-top: 6px; font-size: 20px; }

.md-shell.is-refreshing { opacity: .75; }

@media (max-width: 520px) {
  .match-red-hero {
    min-height: 286px;
    padding-left: 14px;
    padding-right: 14px;
  }
  .hero-score-grid { gap: 8px; }
  .hero-team img { width: 54px; height: 54px; }
  .hero-team strong { font-size: 15px; }
  .hero-center-score { min-width: 102px; }
  .hero-score-value { font-size: 46px; }
  .hero-center-score span { font-size: 14px; }
  .hero-center-score small { font-size: 13px; }
  .hero-match-date { max-width: 132px; font-size: 10.5px; padding: 4px 8px; }
  .detail-tab-buttons { gap: 24px; height: 56px; }
  .detail-tab-btn { font-size: 17px; }
  .metric-grid { grid-template-columns: 1fr; gap: 14px; }
  .metric-circle-row { grid-template-columns: 1fr 60px 1fr; }
  .metric-ring { width: 60px; height: 60px; }
  .metric-ring span { width: 42px; height: 42px; }
  .highlight-grid { grid-template-columns: 1fr; }
  .compact-icons,
  .compact-bottom-counts {
    grid-template-columns: 28px 28px 28px 1fr 28px 28px 28px;
  }
  .compact-line { grid-template-columns: 26px 1fr auto 1fr 26px; }
  .compact-line em { font-size: 14px; }
}

/* YENI ORAN / TAHMIN / CANLI MOMENTUM */
.compact-side-strip {
  margin-bottom: 12px;
  font-weight: 900;
}

.mini-note {
  margin-top: 10px !important;
  font-size: 11px !important;
  line-height: 1.4;
}

.live-momentum-card .timeline-team-row span:first-child {
  color: #13a661;
}

.live-momentum-card .timeline-team-row span:last-child {
  color: #155de8;
}

.momentum-wave-box {
  position: relative;
  display: grid;
  grid-template-columns: repeat(18, 1fr);
  align-items: center;
  gap: 3px;
  height: 160px;
  padding: 10px;
  border-radius: 16px;
  background: linear-gradient(180deg, #eef4ff 0%, #eef4ff 49%, #f0fff6 50%, #f0fff6 100%);
  overflow: hidden;
}

.momentum-wave-col {
  position: relative;
  height: 128px;
  display: grid;
  align-items: center;
}

.momentum-wave-col i {
  position: absolute;
  left: 12%;
  right: 12%;
  border-radius: 999px;
  min-height: 4px;
}

.momentum-wave-col i.home {
  bottom: 50%;
  background: linear-gradient(180deg, #155de8, #0b48c9);
}

.momentum-wave-col i.away {
  top: 50%;
  background: linear-gradient(180deg, #1ac76d, #08a353);
}

.bookmaker-block {
  display: grid;
  gap: 12px;
  padding: 12px;
  border-radius: 16px;
  background: #f7f9fd;
  border: 1px solid #e5ebf5;
  margin-bottom: 12px;
}

.bookmaker-block h3 {
  margin: 0;
  color: #061632;
  font-size: 15px;
  font-weight: 900;
}

.odds-market {
  display: grid;
  gap: 8px;
}

.odds-market > strong {
  color: #43536b;
  font-size: 12px;
}

.odds-grid.dynamic {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(84px, 1fr));
  gap: 8px;
}

.odds-grid.dynamic div {
  padding: 9px 8px;
  border-radius: 12px;
  background: #fff;
  border: 1px solid #e5ebf5;
  text-align: center;
}

.odds-grid.dynamic span {
  display: block;
  color: #7a879a;
  font-size: 11px;
  font-weight: 800;
  margin-bottom: 3px;
}

.odds-grid.dynamic strong {
  color: #155de8;
  font-size: 15px;
  font-weight: 900;
}

.ai-match-prediction-card {
  border-color: #dbe9ff !important;
  background: linear-gradient(180deg, #ffffff 0%, #f7fbff 100%) !important;
}

.ai-prediction-box {
  display: grid;
  gap: 10px;
}

.prediction-pill {
  width: fit-content;
  padding: 7px 11px;
  border-radius: 999px;
  background: #e8f1ff;
  color: #155de8;
  font-size: 12px;
  font-weight: 900;
}

.ai-prediction-box h3 {
  margin: 0;
  color: #061632;
  font-size: 17px;
}

.ai-prediction-box p {
  margin: 0;
  color: #5d6b80;
  line-height: 1.55;
  font-size: 13px;
}

.prediction-mini-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.prediction-mini-grid div {
  padding: 9px;
  border-radius: 13px;
  background: #f3f6fb;
  border: 1px solid #e5ebf5;
  text-align: center;
}

.prediction-mini-grid span {
  display: block;
  color: #7a879a;
  font-size: 11px;
  font-weight: 800;
}

.prediction-mini-grid strong {
  color: #061632;
  font-size: 15px;
  font-weight: 900;
}


/* V4: kart / korner sayim ve konum duzeltmesi */
.fixed-stat-lines {
  gap: 12px;
}

.fixed-shot-line {
  grid-template-columns: 34px 1fr auto 1fr 34px !important;
}

.discipline-sides-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  align-items: stretch;
}

.discipline-side-card {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  padding: 10px 8px;
  border-radius: 14px;
  background: #f8fafc;
  border: 1px solid #e5ebf3;
}

.discipline-side-card.away-side {
  border-left: 4px solid var(--md-blue);
}

.discipline-side-card.home-side {
  border-right: 4px solid var(--md-green);
}

.discipline-stat {
  display: grid;
  justify-items: center;
  gap: 4px;
  min-width: 0;
}

.discipline-icon {
  line-height: 1;
  font-size: 17px;
}

.discipline-stat strong {
  color: #111827;
  font-size: 18px;
  font-weight: 900;
  line-height: 1;
}

.discipline-stat small {
  color: #8b95a5;
  font-size: 10px;
  font-weight: 800;
  line-height: 1;
}

@media (max-width: 520px) {
  .discipline-sides-row {
    gap: 8px;
  }

  .discipline-side-card {
    gap: 5px;
    padding: 8px 6px;
  }

  .discipline-icon {
    font-size: 15px;
  }

  .discipline-stat strong {
    font-size: 16px;
  }

  .discipline-stat small {
    font-size: 9px;
  }
}

/* V5: sohbet ve oran bolumu */
.chat-card { padding: 16px; }
.chat-login-area { margin: 10px 0 12px; }
.chat-form {
  display: flex;
  gap: 8px;
  align-items: center;
  margin-top: 12px;
}
.chat-form.compact { margin-top: 0; }
.chat-form input {
  flex: 1;
  min-height: 42px;
  border: 1px solid #dfe7f0;
  border-radius: 12px;
  padding: 10px 12px;
  font: inherit;
  background: #fff;
  color: #111827;
}
.chat-form button {
  min-height: 42px;
  border: 0;
  border-radius: 12px;
  padding: 0 14px;
  background: #0b5be7;
  color: #fff;
  font-weight: 900;
}
.chat-comments-list {
  display: grid;
  gap: 8px;
  margin-top: 10px;
}
.chat-comment {
  padding: 10px 12px;
  border-radius: 14px;
  background: #f7f9fc;
  border: 1px solid #e8eef6;
}
.chat-comment strong { color: #0f172a; margin-right: 8px; }
.chat-comment span { color: #94a3b8; font-size: 12px; }
.chat-comment p { margin: 6px 0 0; color: #334155; }
.odds-panel-card .section-title-row span { background: #eef4ff; color: #0b5be7; }
.bookmaker-block h3 { font-size: 14px; }
.odds-market > strong { display: block; margin: 12px 0 8px; color: #111827; }
@media (max-width: 760px) {
  .chat-form { flex-direction: column; align-items: stretch; }
  .chat-form button { width: 100%; }
}


/* V6: Oran sekmesi acilis oranlari tablo gorunumu */
.odds-opening-box {
  display: grid;
  gap: 14px;
}

.odds-market-tabs {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding-bottom: 4px;
  scrollbar-width: none;
}

.odds-market-tabs::-webkit-scrollbar {
  display: none;
}

.odds-market-chip {
  flex: 0 0 auto;
  border: 0;
  border-radius: 999px;
  padding: 11px 18px;
  background: #f2f4f8;
  color: #1f2937;
  font-weight: 900;
  box-shadow: none;
}

.odds-market-chip.active {
  background: #1155e8;
  color: #fff;
}

.odds-opening-note {
  padding: 10px 12px;
  border-radius: 13px;
  background: #f7faff;
  border: 1px solid #e1eaff;
  color: #64748b;
  font-size: 12px;
  line-height: 1.45;
  font-weight: 700;
}

.odds-table-card {
  overflow: hidden;
  border-radius: 16px;
  background: #fff;
  border: 1px solid #e4eaf3;
}

.odds-table-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 14px;
  background: #f5f7fb;
  border-bottom: 1px solid #e4eaf3;
}

.odds-table-title strong {
  color: #07142b;
  font-size: 14px;
  font-weight: 900;
}

.odds-table-title span {
  color: #1155e8;
  font-size: 12px;
  font-weight: 900;
}

.odds-table-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.odds-table-grid.two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.odds-table-cell {
  min-height: 70px;
  display: grid;
  place-items: center;
  gap: 4px;
  padding: 12px 8px;
  text-align: center;
  border-right: 1px solid #edf1f6;
  border-bottom: 1px solid #edf1f6;
}

.odds-table-cell:nth-child(3n) {
  border-right: 0;
}

.odds-table-grid.two .odds-table-cell:nth-child(2n) {
  border-right: 0;
}

.odds-table-cell span {
  color: #7a879a;
  font-size: 12px;
  font-weight: 900;
}

.odds-table-cell strong {
  color: #1155e8;
  font-size: 19px;
  font-weight: 950;
}

@media (max-width: 520px) {
  .odds-market-chip {
    padding: 10px 14px;
    font-size: 14px;
  }

  .odds-table-grid,
  .odds-table-grid.two {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .odds-table-cell:nth-child(3n) {
    border-right: 1px solid #edf1f6;
  }

  .odds-table-cell:nth-child(2n) {
    border-right: 0;
  }
}

.ai-main-pick {
  margin: 10px 0 12px;
  padding: 12px 14px;
  border-radius: 14px;
  background: #eef5ff;
  color: #0754d8;
  font-weight: 900;
  line-height: 1.35;
}

.ai-meta-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-top: 10px;
}

.ai-meta-grid > div {
  padding: 10px;
  border: 1px solid #dfe8f5;
  border-radius: 14px;
  background: #f8fbff;
  text-align: center;
}

.ai-meta-grid span {
  display: block;
  color: #7d8aa0;
  font-size: 12px;
  font-weight: 800;
}

.ai-meta-grid strong {
  display: block;
  margin-top: 4px;
  color: #111827;
  font-size: 14px;
  font-weight: 900;
}

.ai-detail-block {
  margin-top: 14px;
  padding: 12px;
  border-radius: 14px;
  background: #f7f9fd;
  border: 1px solid #e2eaf5;
}

.ai-detail-block h4 {
  margin: 0 0 6px;
  font-size: 14px;
  font-weight: 900;
  color: #111827;
}

.ai-detail-block p {
  margin: 0;
  color: #526174;
  line-height: 1.45;
}

.ai-detail-block ul {
  margin: 0;
  padding-left: 18px;
  color: #526174;
}

.ai-market-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.ai-market-list span {
  padding: 7px 10px;
  border-radius: 999px;
  background: #eef5ff;
  color: #0754d8;
  font-weight: 800;
  font-size: 12px;
}

/* V8: Skorizm AI maç önü tahmin kutusu modern tasarım */
.ai-match-prediction-card {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(17, 85, 232, .14) !important;
  border-radius: 22px;
  background:
    radial-gradient(circle at 92% 8%, rgba(17, 85, 232, .13), transparent 30%),
    linear-gradient(180deg, #ffffff 0%, #f7fbff 100%) !important;
  box-shadow: 0 14px 34px rgba(15, 23, 42, .10);
}

.ai-prediction-head {
  display: grid;
  grid-template-columns: 50px 1fr;
  gap: 12px;
  align-items: center;
  padding: 17px 18px;
  background:
    linear-gradient(135deg, rgba(17, 85, 232, .10), rgba(22, 184, 95, .07)),
    #ffffff;
  border-bottom: 1px solid rgba(226, 234, 245, .95);
}

.ai-head-icon {
  width: 50px;
  height: 50px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #1155e8, #0b3fb5);
  color: #fff;
  font-size: 13px;
  font-weight: 950;
  letter-spacing: .6px;
  box-shadow: 0 10px 22px rgba(17, 85, 232, .26);
}

.ai-head-text {
  min-width: 0;
}

.ai-head-text span {
  display: block;
  margin-bottom: 3px;
  color: #1155e8;
  font-size: 11px;
  font-weight: 950;
  letter-spacing: .7px;
  text-transform: uppercase;
}

.ai-head-text h2 {
  margin: 0;
  color: #07142b;
  font-size: 20px;
  line-height: 1.18;
  font-weight: 950;
}

.ai-head-text p {
  margin: 5px 0 0;
  color: #64748b;
  font-size: 12px;
  line-height: 1.45;
  font-weight: 700;
}

.ai-prediction-content {
  padding: 16px;
}

.ai-prediction-box {
  display: grid;
  gap: 12px;
}

.ai-prediction-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
}

.prediction-pill {
  width: fit-content;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 12px;
  border-radius: 999px;
  background: #eaf2ff;
  color: #1155e8;
  font-size: 12px;
  font-weight: 950;
}

.prediction-pill::before {
  content: '';
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: #16b85f;
  box-shadow: 0 0 0 4px rgba(22, 184, 95, .12);
}

.ai-cache-note {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin: 0;
  padding: 7px 10px;
  border-radius: 999px;
  background: #f1f5f9;
  color: #64748b;
  font-size: 11px;
  font-weight: 900;
}

.ai-cache-note::before {
  content: '✓';
  color: #16b85f;
  font-weight: 950;
}

.ai-prediction-box h3 {
  margin: 0;
  color: #07142b;
  font-size: 19px;
  line-height: 1.25;
  font-weight: 950;
}

.ai-prediction-lead,
.ai-prediction-box p {
  margin: 0;
  color: #475569;
  line-height: 1.62;
  font-size: 13.5px;
  font-weight: 700;
}

.ai-main-pick {
  display: grid;
  gap: 5px;
  margin: 0;
  padding: 14px 15px;
  border-radius: 17px;
  background:
    linear-gradient(135deg, rgba(17, 85, 232, .10), rgba(17, 85, 232, .04)),
    #f8fbff;
  border: 1px solid rgba(17, 85, 232, .16);
  color: #0f172a;
}

.ai-main-pick span {
  color: #1155e8;
  font-size: 11px;
  font-weight: 950;
  letter-spacing: .5px;
  text-transform: uppercase;
}

.ai-main-pick strong {
  color: #0f172a;
  font-size: 15px;
  line-height: 1.4;
  font-weight: 950;
}

.prediction-mini-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 9px;
}

.prediction-mini-grid div,
.ai-meta-grid > div {
  position: relative;
  overflow: hidden;
  padding: 11px 9px;
  border-radius: 16px;
  background: #ffffff;
  border: 1px solid #e4eaf3;
  text-align: center;
  box-shadow: 0 6px 16px rgba(15, 23, 42, .04);
}

.prediction-mini-grid div::before {
  content: '';
  position: absolute;
  inset: 0 0 auto 0;
  height: 3px;
  background: #1155e8;
}

.prediction-mini-grid div:nth-child(2)::before {
  background: #94a3b8;
}

.prediction-mini-grid div:nth-child(3)::before {
  background: #16b85f;
}

.prediction-mini-grid span,
.ai-meta-grid span {
  display: block;
  color: #7d8aa0;
  font-size: 11px;
  font-weight: 900;
}

.prediction-mini-grid strong,
.ai-meta-grid strong {
  display: block;
  margin-top: 5px;
  color: #07142b;
  font-size: 16px;
  line-height: 1.1;
  font-weight: 950;
}

.ai-meta-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 9px;
  margin-top: 0;
}

.ai-detail-block {
  margin-top: 0;
  padding: 14px;
  border-radius: 17px;
  background: #ffffff;
  border: 1px solid #e4eaf3;
}

.ai-detail-block h4 {
  margin: 0 0 7px;
  color: #07142b;
  font-size: 14px;
  line-height: 1.25;
  font-weight: 950;
}

.ai-detail-block p,
.ai-detail-block ul {
  margin: 0;
  color: #526174;
  font-size: 13px;
  line-height: 1.58;
  font-weight: 700;
}

.ai-detail-block ul {
  padding-left: 18px;
}

.ai-detail-block li + li {
  margin-top: 5px;
}

.ai-market-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.ai-market-list span {
  padding: 8px 10px;
  border-radius: 999px;
  background: #f1f6ff;
  color: #1155e8;
  font-size: 12px;
  font-weight: 900;
  border: 1px solid rgba(17, 85, 232, .12);
}

.ai-prediction-empty,
.ai-prediction-loading {
  display: grid;
  justify-items: center;
  gap: 9px;
  padding: 22px 16px;
  border-radius: 18px;
  background: #f8fafc;
  border: 1px dashed #cbd5e1;
  text-align: center;
  color: #64748b;
  font-weight: 800;
}

.ai-empty-icon {
  width: 44px;
  height: 44px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  background: #eaf2ff;
  color: #1155e8;
  font-size: 12px;
  font-weight: 950;
}

.ai-prediction-empty h3 {
  margin: 0;
  color: #0f172a;
  font-size: 16px;
  font-weight: 950;
}

.ai-prediction-empty p {
  max-width: 480px;
  margin: 0;
  color: #64748b;
  font-size: 13px;
  line-height: 1.55;
  font-weight: 700;
}

.ai-prediction-loading {
  grid-template-columns: auto auto;
  justify-content: center;
  min-height: 78px;
}

.ai-loading-dot {
  width: 14px;
  height: 14px;
  border-radius: 999px;
  border: 2px solid rgba(17, 85, 232, .18);
  border-top-color: #1155e8;
  animation: aiLoadingSpin .8s linear infinite;
}

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

.ai-prediction-disclaimer {
  padding: 12px 16px;
  border-top: 1px solid rgba(226, 234, 245, .95);
  background: rgba(255,255,255,.72);
  color: #94a3b8;
  font-size: 11px;
  line-height: 1.45;
  font-weight: 800;
}

@media (max-width: 520px) {
  .ai-match-prediction-card {
    border-radius: 20px;
  }

  .ai-prediction-head {
    grid-template-columns: 42px 1fr;
    padding: 15px;
  }

  .ai-head-icon {
    width: 42px;
    height: 42px;
    border-radius: 15px;
    font-size: 12px;
  }

  .ai-head-text h2 {
    font-size: 18px;
  }

  .ai-head-text p {
    font-size: 11.5px;
  }

  .ai-prediction-content {
    padding: 14px;
  }

  .prediction-mini-grid,
  .ai-meta-grid {
    grid-template-columns: 1fr;
  }

  .prediction-mini-grid div,
  .ai-meta-grid > div {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    text-align: left;
  }

  .prediction-mini-grid strong,
  .ai-meta-grid strong {
    margin-top: 0;
    font-size: 15px;
  }

  .ai-prediction-box h3 {
    font-size: 18px;
  }

  .ai-main-pick {
    padding: 13px;
  }

  .ai-detail-block {
    padding: 13px;
  }
}


/* V9: AI tahmin ayrı sekme görünümü */
.detail-tab-btn[data-tab="prediction"]::before {
  content: 'AI';
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 20px;
  height: 18px;
  margin-right: 6px;
  padding: 0 5px;
  border-radius: 999px;
  background: #eaf2ff;
  color: #1155e8;
  font-size: 10px;
  font-weight: 950;
  vertical-align: 1px;
}

.detail-tab-btn[data-tab="prediction"].active::before {
  background: #1155e8;
  color: #fff;
}

@media (max-width: 520px) {
  .detail-tab-btn[data-tab="prediction"]::before {
    min-width: 18px;
    height: 17px;
    margin-right: 4px;
    font-size: 9px;
  }
}

/* Skorizm TWA scroll fix - 2026-04-28
   Canli mac detayinda otomatik yenileme, sayfayi yumusak animasyonla yukari/asagi kaydiriyordu.
   Bu sayfada scroll restore islemi ani yapilir ve refresh sirasinda kart opacity dusmez. */
html,
body.match-aiscore-page {
  scroll-behavior: auto !important;
  overflow-anchor: none;
}

.md-shell.is-refreshing {
  opacity: 1 !important;
}


/* V10: Maç akışı ve atak momentumu açıklamalı görünüm */
.timeline-card-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.timeline-card-head h2 {
  margin: 0;
  color: #07142b;
  font-size: 17px;
  line-height: 1.2;
  font-weight: 950;
}

.timeline-card-head p {
  margin: 4px 0 0;
  color: #64748b;
  font-size: 12px;
  line-height: 1.4;
  font-weight: 750;
}

.timeline-legend {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 6px;
  flex: 0 0 auto;
}

.timeline-legend span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 6px 8px;
  border-radius: 999px;
  background: #f8fafc;
  border: 1px solid #e5ebf3;
  color: #475569;
  font-size: 11px;
  font-weight: 900;
}

.timeline-legend i {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  display: inline-block;
}

.legend-goal { background: #111827; }
.legend-card { background: #ef4444; }

.enhanced-team-row {
  margin-bottom: 10px;
}

.home-team-dot,
.away-team-dot {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.home-team-dot::before,
.away-team-dot::before {
  content: '';
  width: 9px;
  height: 9px;
  border-radius: 999px;
  display: inline-block;
}

.home-team-dot::before { background: var(--md-blue); }
.away-team-dot::before { background: var(--md-green); }

.enhanced-timeline-box,
.enhanced-momentum-box {
  isolation: isolate;
}

.timeline-grid-lines {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
}

.timeline-grid-lines i {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 1px;
  background: rgba(15, 23, 42, .075);
}

.enhanced-timeline-box .momentum-zone {
  opacity: .92;
}

.enhanced-timeline-box .timeline-midline,
.enhanced-momentum-box .timeline-midline {
  z-index: 3;
}

.enhanced-timeline-card .timeline-marker {
  z-index: 8;
  width: 34px;
  height: 34px;
  flex-direction: column;
  gap: 1px;
  border: 2px solid #fff;
  box-shadow: 0 8px 18px rgba(15, 23, 42, .20);
}

.enhanced-timeline-card .timeline-marker b {
  font-size: 13px;
  line-height: 1;
}

.enhanced-timeline-card .timeline-marker em {
  font-style: normal;
  font-size: 9px;
  line-height: 1;
  font-weight: 950;
  color: #0f172a;
}

.enhanced-timeline-card .timeline-marker.home {
  top: 18px;
}

.enhanced-timeline-card .timeline-marker.away {
  bottom: 18px;
}

.enhanced-timeline-card .timeline-marker.goal {
  background: #ffffff;
  border-color: #111827;
}

.enhanced-timeline-card .timeline-marker.yellow {
  background: #fffbeb;
  border-color: #facc15;
}

.enhanced-timeline-card .timeline-marker.red {
  background: #fff1f2;
  border-color: #ef4444;
}

.enhanced-timeline-card .timeline-marker.sub {
  background: #eff6ff;
  border-color: #38bdf8;
}

.timeline-minutes-detailed {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 0;
  color: #475569;
  font-size: 12px;
  font-weight: 950;
}

.timeline-minutes-detailed span {
  text-align: center;
}

.timeline-minutes-detailed span:first-child {
  text-align: left;
}

.timeline-minutes-detailed span:last-child {
  text-align: right;
}

.timeline-event-list {
  display: grid;
  gap: 8px;
  margin-top: 12px;
}

.timeline-event-chip {
  display: grid;
  grid-template-columns: 42px 28px auto 1fr;
  align-items: center;
  gap: 8px;
  padding: 9px 10px;
  border-radius: 14px;
  background: #f8fafc;
  border: 1px solid #e5ebf3;
}

.timeline-event-chip span {
  color: #b00018;
  font-size: 12px;
  font-weight: 950;
}

.timeline-event-chip b {
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: #fff;
  box-shadow: inset 0 0 0 1px #e5ebf3;
  font-size: 13px;
}

.timeline-event-chip strong {
  color: #0f172a;
  font-size: 13px;
  font-weight: 950;
}

.timeline-event-chip small {
  min-width: 0;
  color: #64748b;
  font-size: 12px;
  font-weight: 750;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.timeline-event-chip.goal {
  border-color: rgba(17, 24, 39, .20);
}

.timeline-event-chip.red {
  border-color: rgba(239, 68, 68, .32);
  background: #fff7f7;
}

.timeline-event-chip.yellow {
  border-color: rgba(250, 204, 21, .40);
  background: #fffdf2;
}

.enhanced-momentum-box {
  position: relative;
}

.enhanced-momentum-col {
  z-index: 4;
}

.enhanced-momentum-col:hover i {
  filter: brightness(.95);
}

.momentum-explain-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
  color: #64748b;
  font-size: 12px;
  font-weight: 850;
}

.momentum-explain-row span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.home-color-dot,
.away-color-dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  display: inline-block;
}

.home-color-dot { background: var(--md-blue); }
.away-color-dot { background: var(--md-green); }

@media (max-width: 520px) {
  .timeline-card-head {
    display: grid;
    gap: 9px;
  }

  .timeline-legend {
    justify-content: flex-start;
  }

  .enhanced-timeline-card .timeline-marker {
    width: 31px;
    height: 31px;
  }

  .enhanced-timeline-card .timeline-marker b {
    font-size: 12px;
  }

  .enhanced-timeline-card .timeline-marker em {
    font-size: 8.5px;
  }

  .timeline-event-chip {
    grid-template-columns: 38px 26px 1fr;
  }

  .timeline-event-chip small {
    grid-column: 3 / 4;
    white-space: normal;
  }

  .timeline-minutes-detailed {
    font-size: 11px;
  }
}


/* V11: AI Tahmin sekmesi - güven barı ve profesyonel özet kartı */
.ai-confidence-card {
  display: grid;
  gap: 12px;
  padding: 14px;
  border-radius: 18px;
  background:
    radial-gradient(circle at 92% 10%, rgba(22, 184, 95, .12), transparent 28%),
    linear-gradient(135deg, #f8fbff 0%, #ffffff 100%);
  border: 1px solid rgba(17, 85, 232, .14);
  box-shadow: 0 8px 20px rgba(15, 23, 42, .05);
}

.ai-confidence-main {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.ai-confidence-main span,
.ai-confidence-meta span,
.ai-quick-summary-grid span {
  display: block;
  color: #64748b;
  font-size: 11px;
  line-height: 1.2;
  font-weight: 950;
  letter-spacing: .25px;
  text-transform: uppercase;
}

.ai-confidence-main strong {
  display: block;
  margin-top: 4px;
  color: #07142b;
  font-size: 20px;
  line-height: 1.15;
  font-weight: 950;
}

.ai-confidence-main b {
  flex: 0 0 auto;
  min-width: 58px;
  height: 38px;
  display: grid;
  place-items: center;
  padding: 0 10px;
  border-radius: 999px;
  background: #1155e8;
  color: #fff;
  font-size: 14px;
  font-weight: 950;
  box-shadow: 0 10px 22px rgba(17, 85, 232, .22);
}

.ai-confidence-track {
  height: 11px;
  overflow: hidden;
  border-radius: 999px;
  background: #e5edf8;
  box-shadow: inset 0 1px 2px rgba(15, 23, 42, .06);
}

.ai-confidence-track i {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #16b85f, #1155e8);
}

.ai-confidence-meta {
  display: grid;
  grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
  gap: 9px;
}

.ai-confidence-meta > div,
.ai-quick-summary-grid > div {
  padding: 11px 10px;
  border-radius: 15px;
  background: #ffffff;
  border: 1px solid #e4eaf3;
  min-width: 0;
}

.ai-confidence-meta strong,
.ai-quick-summary-grid strong {
  display: block;
  margin-top: 5px;
  color: #0f172a;
  font-size: 14px;
  line-height: 1.25;
  font-weight: 950;
  overflow-wrap: anywhere;
}

.ai-confidence-meta .risk.low {
  border-color: #bbf7d0;
  background: #f0fdf4;
}

.ai-confidence-meta .risk.medium {
  border-color: #fed7aa;
  background: #fff7ed;
}

.ai-confidence-meta .risk.high {
  border-color: #fecaca;
  background: #fff1f2;
}

.ai-confidence-meta .risk.low strong {
  color: #047857;
}

.ai-confidence-meta .risk.medium strong {
  color: #c2410c;
}

.ai-confidence-meta .risk.high strong {
  color: #b91c1c;
}

.ai-quick-summary-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 9px;
}

.ai-quick-summary-grid > div {
  position: relative;
  overflow: hidden;
  text-align: center;
}

.ai-quick-summary-grid > div::before {
  content: '';
  position: absolute;
  inset: 0 0 auto 0;
  height: 3px;
  background: #1155e8;
}

.ai-quick-summary-grid > div:nth-child(2)::before {
  background: #94a3b8;
}

.ai-quick-summary-grid > div:nth-child(3)::before {
  background: #16b85f;
}

@media (max-width: 520px) {
  .ai-confidence-card {
    padding: 13px;
    border-radius: 17px;
  }

  .ai-confidence-main strong {
    font-size: 18px;
  }

  .ai-confidence-meta,
  .ai-quick-summary-grid {
    grid-template-columns: 1fr;
  }

  .ai-confidence-meta > div,
  .ai-quick-summary-grid > div {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    text-align: left;
  }

  .ai-confidence-meta strong,
  .ai-quick-summary-grid strong {
    margin-top: 0;
    text-align: right;
  }
}


/* V12: Maç detay üst alanı - favori bildirim ve güçlü durum kartları */
.hero-star.match-fav-toggle {
  width: 40px;
  height: 40px;
  border-radius: 999px;
  background: rgba(255,255,255,.14);
  color: rgba(255,255,255,.84);
  font-size: 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform .18s ease, background .18s ease, color .18s ease;
}

.hero-star.match-fav-toggle:hover,
.hero-star.match-fav-toggle.active {
  transform: translateY(-1px) scale(1.03);
  background: rgba(255,255,255,.24);
  color: #facc15;
}

.hero-favorite-card {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  align-items: center;
  margin: 14px auto 0;
  max-width: 640px;
  padding: 12px 13px;
  border-radius: 18px;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.18);
  box-shadow: 0 10px 28px rgba(0,0,0,.13);
  backdrop-filter: blur(10px);
}

.hero-favorite-card.active {
  background: rgba(22,184,95,.16);
  border-color: rgba(255,255,255,.26);
}

.hero-fav-copy {
  min-width: 0;
  display: grid;
  gap: 3px;
}

.hero-fav-copy b {
  color: #fff;
  font-size: 14px;
  line-height: 1.25;
  font-weight: 950;
}

.hero-fav-copy span {
  color: rgba(255,255,255,.82);
  font-size: 12px;
  line-height: 1.35;
  font-weight: 800;
}

.hero-fav-copy small {
  color: rgba(255,255,255,.62);
  font-size: 10.5px;
  line-height: 1.3;
  font-weight: 800;
  overflow-wrap: anywhere;
}

.hero-fav-cta {
  min-height: 40px;
  border: 0;
  border-radius: 999px;
  padding: 0 15px;
  background: #fff;
  color: #b00018;
  font-size: 12px;
  font-weight: 950;
  white-space: nowrap;
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(0,0,0,.16);
}

.hero-fav-cta.active {
  background: #16b85f;
  color: #fff;
}

.match-insight-strip {
  position: relative;
  z-index: 4;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  width: min(100% - 24px, 736px);
  margin: -18px auto 12px;
}

.match-insight-card {
  min-width: 0;
  padding: 12px 12px;
  border-radius: 17px;
  background: #fff;
  border: 1px solid #e5ebf3;
  box-shadow: 0 10px 24px rgba(15, 23, 42, .09);
}

.match-insight-card span {
  display: block;
  color: #64748b;
  font-size: 10.5px;
  line-height: 1.1;
  font-weight: 950;
  letter-spacing: .25px;
  text-transform: uppercase;
}

.match-insight-card strong {
  display: block;
  margin-top: 5px;
  color: #0f172a;
  font-size: 13px;
  line-height: 1.25;
  font-weight: 950;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.match-insight-card.live {
  border-color: rgba(176,0,24,.18);
  background: linear-gradient(135deg, #fff5f6, #fff);
}

.match-insight-card.live strong {
  color: #b00018;
}

.match-insight-card.live span::before {
  content: '';
  width: 7px;
  height: 7px;
  display: inline-block;
  margin-right: 5px;
  border-radius: 999px;
  background: #b00018;
  box-shadow: 0 0 0 4px rgba(176,0,24,.10);
}

.match-insight-card.favorite.active {
  border-color: rgba(22,184,95,.24);
  background: linear-gradient(135deg, #f0fdf4, #fff);
}

.match-insight-card.favorite.active strong {
  color: #047857;
}

.match-insight-card.wide {
  grid-column: 1 / -1;
}

.skz-toast {
  position: fixed;
  left: 50%;
  bottom: max(18px, env(safe-area-inset-bottom));
  z-index: 9999;
  width: min(calc(100% - 28px), 520px);
  transform: translate(-50%, 18px);
  opacity: 0;
  pointer-events: none;
  padding: 13px 15px;
  border-radius: 16px;
  background: #0f172a;
  color: #fff;
  box-shadow: 0 18px 38px rgba(15, 23, 42, .28);
  font-size: 13px;
  line-height: 1.4;
  font-weight: 850;
  transition: opacity .18s ease, transform .18s ease;
}

.skz-toast.show {
  opacity: 1;
  transform: translate(-50%, 0);
}

.skz-toast.success { background: #047857; }
.skz-toast.warning { background: #b45309; }
.skz-toast.info { background: #0f172a; }

@media (max-width: 520px) {
  .hero-favorite-card {
    grid-template-columns: 1fr;
    gap: 10px;
    margin-top: 12px;
    padding: 12px;
    border-radius: 17px;
  }

  .hero-fav-cta {
    width: 100%;
  }

  .match-insight-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    width: calc(100% - 20px);
    margin-top: -14px;
  }

  .match-insight-card {
    padding: 11px 10px;
    border-radius: 15px;
  }

  .match-insight-card strong {
    font-size: 12px;
  }

  .match-insight-card.wide {
    grid-column: 1 / -1;
  }
}


/* V20260429: Video tarzı canlı saha animasyonu */
.skz-live-animation-card {
  overflow: hidden;
  border-radius: 22px;
  border-color: rgba(17, 85, 232, .16);
  background: #07142b;
  box-shadow: 0 18px 42px rgba(15, 23, 42, .16);
}

.skz-live-stage {
  position: relative;
  padding: 12px;
  background:
    radial-gradient(circle at 20% 10%, rgba(255,255,255,.08), transparent 24%),
    linear-gradient(135deg, #07142b, #0b1f3f);
}

.skz-live-scorebug {
  position: relative;
  z-index: 6;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  width: min(100%, 520px);
  margin: 0 auto 10px;
  padding: 9px 10px;
  border-radius: 999px;
  background: rgba(255,255,255,.10);
  border: 1px solid rgba(255,255,255,.14);
  color: rgba(255,255,255,.92);
  backdrop-filter: blur(10px);
}

.skz-live-scorebug span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 11.5px;
  font-weight: 950;
}

.skz-live-scorebug span:first-child {
  text-align: right;
}

.skz-live-scorebug strong {
  min-width: 66px;
  display: inline-grid;
  place-items: center;
  padding: 6px 10px;
  border-radius: 999px;
  background: #ffffff;
  color: #07142b;
  font-size: 15px;
  font-weight: 950;
}

.skz-pitch {
  position: relative;
  height: 314px;
  overflow: hidden;
  border-radius: 24px;
  border: 2px solid rgba(255,255,255,.74);
  background:
    radial-gradient(circle at 50% 50%, rgba(255,255,255,.07), transparent 23%),
    linear-gradient(90deg, #118a46 0%, #159852 50%, #118a46 100%);
  box-shadow:
    inset 0 0 0 1px rgba(255,255,255,.18),
    inset 0 18px 50px rgba(0,0,0,.10),
    0 16px 38px rgba(0,0,0,.20);
}

.skz-pitch-stripes {
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(90deg,
      rgba(255,255,255,.055) 0 9%,
      rgba(0,0,0,.045) 9% 18%);
  opacity: .9;
}

.skz-pitch-half-line {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 2px;
  transform: translateX(-50%);
  background: rgba(255,255,255,.62);
}

.skz-pitch-circle {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 92px;
  height: 92px;
  border: 2px solid rgba(255,255,255,.62);
  border-radius: 999px;
  transform: translate(-50%, -50%);
}

.skz-pitch-circle::after {
  content: '';
  position: absolute;
  left: 50%;
  top: 50%;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: rgba(255,255,255,.78);
  transform: translate(-50%, -50%);
}

.skz-box {
  position: absolute;
  top: 50%;
  width: 82px;
  height: 158px;
  border: 2px solid rgba(255,255,255,.62);
  transform: translateY(-50%);
}

.skz-box-left {
  left: -2px;
  border-left: 0;
  border-radius: 0 18px 18px 0;
}

.skz-box-right {
  right: -2px;
  border-right: 0;
  border-radius: 18px 0 0 18px;
}

.skz-goal {
  position: absolute;
  top: 50%;
  width: 12px;
  height: 72px;
  border: 2px solid rgba(255,255,255,.80);
  transform: translateY(-50%);
  background: rgba(255,255,255,.10);
}

.skz-goal-left {
  left: -2px;
  border-left: 0;
}

.skz-goal-right {
  right: -2px;
  border-right: 0;
}

.skz-pressure-wave {
  position: absolute;
  top: 50%;
  width: 42%;
  height: 76%;
  border-radius: 999px;
  transform: translateY(-50%);
  background: radial-gradient(circle, rgba(250, 204, 21, .20), transparent 66%);
  filter: blur(1px);
  opacity: .75;
  animation: skzPressurePulse 1.6s ease-in-out infinite;
}

.skz-live-animation-card.home-pressure .skz-pressure-wave {
  right: 4%;
}

.skz-live-animation-card.away-pressure .skz-pressure-wave {
  left: 4%;
}

.skz-attack-lane {
  position: absolute;
  width: 30%;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.72), transparent);
  opacity: .72;
  transform-origin: center;
  animation: skzAttackLane 1.7s linear infinite;
}

.skz-attack-lane.lane-one { top: 31%; animation-delay: 0s; }
.skz-attack-lane.lane-two { top: 50%; animation-delay: .28s; }
.skz-attack-lane.lane-three { top: 69%; animation-delay: .56s; }

.skz-live-animation-card.home-pressure .skz-attack-lane {
  left: 36%;
}

.skz-live-animation-card.away-pressure .skz-attack-lane {
  right: 36%;
  animation-name: skzAttackLaneReverse;
}

.skz-player-dot {
  position: absolute;
  left: var(--x);
  top: var(--y);
  z-index: 4;
  width: 15px;
  height: 15px;
  border-radius: 999px;
  transform: translate(-50%, -50%);
  border: 2px solid rgba(255,255,255,.90);
  box-shadow: 0 5px 12px rgba(0,0,0,.22);
  animation: skzPlayerFloat 1.8s ease-in-out infinite;
  animation-delay: var(--delay);
}

.skz-player-dot.home {
  background: #1155e8;
}

.skz-player-dot.away {
  background: #16b85f;
}

.skz-ball,
.skz-ball-shadow {
  position: absolute;
  left: var(--ball-x);
  top: var(--ball-y);
  z-index: 8;
  transform: translate(-50%, -50%);
}

.skz-ball {
  width: 22px;
  height: 22px;
  border-radius: 999px;
  background:
    radial-gradient(circle at 35% 30%, #ffffff 0 28%, #dbe4f0 29% 48%, #111827 49% 56%, #ffffff 57% 100%);
  box-shadow: 0 8px 18px rgba(0,0,0,.28);
  animation: skzBallSpin .75s linear infinite, skzBallHop .9s ease-in-out infinite;
}

.skz-ball-shadow {
  z-index: 7;
  width: 27px;
  height: 9px;
  border-radius: 999px;
  background: rgba(0,0,0,.28);
  transform: translate(-50%, 14px);
  filter: blur(2px);
  animation: skzBallShadow .9s ease-in-out infinite;
}

.skz-event-burst {
  position: absolute;
  left: var(--ball-x);
  top: var(--ball-y);
  z-index: 10;
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  transform: translate(-50%, -50%);
  background: rgba(255,255,255,.92);
  color: #07142b;
  box-shadow: 0 12px 28px rgba(0,0,0,.25);
  animation: skzEventBurst 1.1s ease-in-out infinite;
}

.skz-event-burst b {
  font-size: 25px;
  line-height: 1;
}

.skz-event-burst.goal {
  background: #ffffff;
  box-shadow: 0 0 0 10px rgba(255,255,255,.13), 0 18px 35px rgba(0,0,0,.28);
}

.skz-event-burst.red {
  background: #fee2e2;
}

.skz-event-burst.yellow {
  background: #fef3c7;
}

.skz-live-animation-card.event-goal .skz-goal-right,
.skz-live-animation-card.event-goal .skz-goal-left {
  animation: skzGoalFlash .8s ease-in-out infinite;
}

.skz-radar-pulse {
  position: absolute;
  left: var(--ball-x);
  top: var(--ball-y);
  z-index: 6;
  width: 78px;
  height: 78px;
  border-radius: 999px;
  border: 2px solid rgba(255,255,255,.38);
  transform: translate(-50%, -50%);
  animation: skzRadarPulse 1.25s ease-out infinite;
}

.skz-stage-footer {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  margin-top: 10px;
}

.skz-team-chip {
  min-width: 0;
  padding: 8px 10px;
  border-radius: 999px;
  color: #fff;
  font-size: 11.5px;
  font-weight: 950;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.skz-team-chip.home {
  background: rgba(17, 85, 232, .72);
  text-align: right;
}

.skz-team-chip.away {
  background: rgba(22, 184, 95, .72);
}

.skz-live-dot {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: rgba(255,255,255,.12);
  color: #ef4444;
  font-size: 16px;
  font-weight: 950;
  animation: skzLiveDot 1s ease-in-out infinite;
}

.skz-live-animation-card.is-paused .skz-live-dot {
  color: #94a3b8;
  animation: none;
}

.skz-live-animation-card.is-paused .skz-ball,
.skz-live-animation-card.is-paused .skz-player-dot,
.skz-live-animation-card.is-paused .skz-attack-lane,
.skz-live-animation-card.is-paused .skz-pressure-wave {
  animation-play-state: paused;
  opacity: .78;
}

@keyframes skzPressurePulse {
  0%, 100% { transform: translateY(-50%) scale(.92); opacity: .45; }
  50% { transform: translateY(-50%) scale(1.08); opacity: .82; }
}

@keyframes skzAttackLane {
  from { transform: translateX(-18%) scaleX(.45); opacity: 0; }
  38% { opacity: .85; }
  to { transform: translateX(68%) scaleX(1.05); opacity: 0; }
}

@keyframes skzAttackLaneReverse {
  from { transform: translateX(18%) scaleX(.45); opacity: 0; }
  38% { opacity: .85; }
  to { transform: translateX(-68%) scaleX(1.05); opacity: 0; }
}

@keyframes skzPlayerFloat {
  0%, 100% { margin-top: -1px; }
  50% { margin-top: 2px; }
}

@keyframes skzBallSpin {
  to { rotate: 360deg; }
}

@keyframes skzBallHop {
  0%, 100% { margin-top: 0; }
  50% { margin-top: -5px; }
}

@keyframes skzBallShadow {
  0%, 100% { opacity: .28; transform: translate(-50%, 14px) scale(1); }
  50% { opacity: .18; transform: translate(-50%, 16px) scale(.78); }
}

@keyframes skzEventBurst {
  0%, 100% { scale: .92; }
  50% { scale: 1.07; }
}

@keyframes skzGoalFlash {
  0%, 100% { background: rgba(255,255,255,.10); }
  50% { background: rgba(250,204,21,.65); box-shadow: 0 0 24px rgba(250,204,21,.75); }
}

@keyframes skzRadarPulse {
  from { opacity: .72; scale: .65; }
  to { opacity: 0; scale: 1.35; }
}

@keyframes skzLiveDot {
  0%, 100% { box-shadow: 0 0 0 0 rgba(239,68,68,.25); }
  50% { box-shadow: 0 0 0 8px rgba(239,68,68,0); }
}

@media (max-width: 520px) {
  .skz-live-stage {
    padding: 10px;
  }

  .skz-pitch {
    height: 262px;
    border-radius: 20px;
  }

  .skz-live-scorebug {
    gap: 7px;
    padding: 8px;
  }

  .skz-live-scorebug span {
    font-size: 10.5px;
  }

  .skz-live-scorebug strong {
    min-width: 56px;
    font-size: 14px;
    padding: 5px 8px;
  }

  .skz-pitch-circle {
    width: 70px;
    height: 70px;
  }

  .skz-box {
    width: 62px;
    height: 128px;
  }

  .skz-player-dot {
    width: 13px;
    height: 13px;
  }

  .skz-ball {
    width: 20px;
    height: 20px;
  }

  .skz-event-burst {
    width: 46px;
    height: 46px;
  }

  .skz-event-burst b {
    font-size: 22px;
  }

  .skz-team-chip {
    font-size: 10.5px;
    padding: 7px 8px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .skz-live-animation-card *,
  .live-animation-pill {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
}
/* V20260429: AI tahmin reklam kilidi / ödüllü reklam altyapısı */
.ai-match-prediction-card.is-locked {
  border-color: rgba(17, 85, 232, .18) !important;
}

.ai-ad-lock-box {
  position: relative;
  overflow: hidden;
  display: grid;
  justify-items: center;
  gap: 12px;
  padding: 24px 16px;
  border-radius: 20px;
  background:
    radial-gradient(circle at 90% 10%, rgba(17, 85, 232, .14), transparent 28%),
    linear-gradient(135deg, #f8fbff 0%, #ffffff 100%);
  border: 1px solid #dbe7fa;
  text-align: center;
}

.ai-ad-lock-box::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(110deg, transparent 0 30%, rgba(255,255,255,.60) 45%, transparent 62% 100%);
  transform: translateX(-100%);
  animation: aiAdLockSweep 3s ease-in-out infinite;
  pointer-events: none;
}

.ai-ad-lock-visual {
  position: relative;
  width: 76px;
  height: 76px;
  display: grid;
  place-items: center;
  border-radius: 26px;
  background: linear-gradient(135deg, #1155e8, #0b3fb5);
  box-shadow: 0 14px 32px rgba(17, 85, 232, .24);
}

.ai-ad-lock-icon {
  position: relative;
  z-index: 2;
  font-size: 32px;
  filter: drop-shadow(0 4px 10px rgba(0,0,0,.24));
}

.ai-ad-lock-shine {
  position: absolute;
  inset: -10px;
  border-radius: 30px;
  border: 2px solid rgba(255,255,255,.20);
  animation: aiAdLockPulse 1.5s ease-in-out infinite;
}

.ai-ad-lock-box h3 {
  margin: 0;
  color: #07142b;
  font-size: 20px;
  line-height: 1.2;
  font-weight: 950;
}

.ai-ad-lock-box p {
  max-width: 480px;
  margin: 0;
  color: #475569;
  font-size: 13.5px;
  line-height: 1.58;
  font-weight: 750;
}

.ai-ad-unlock-btn {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border: 0;
  border-radius: 999px;
  padding: 0 18px;
  background: linear-gradient(135deg, #1155e8, #0b3fb5);
  color: #fff;
  font-size: 14px;
  font-weight: 950;
  cursor: pointer;
  box-shadow: 0 12px 26px rgba(17, 85, 232, .24);
}

.ai-ad-unlock-btn:disabled {
  cursor: wait;
  opacity: .78;
}

.ai-ad-unlock-btn span {
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: rgba(255,255,255,.18);
  font-size: 11px;
}

.ai-ad-lock-box small {
  max-width: 460px;
  color: #94a3b8;
  font-size: 11.5px;
  line-height: 1.45;
  font-weight: 800;
}

.ai-ad-preview-blur {
  width: min(100%, 420px);
  display: grid;
  gap: 8px;
  margin-top: 2px;
  filter: blur(2px);
  opacity: .55;
}

.ai-ad-preview-blur i {
  height: 12px;
  border-radius: 999px;
  background: #dbe7fa;
}

.ai-ad-preview-blur i:nth-child(2) {
  width: 78%;
  margin: 0 auto;
}

.ai-ad-preview-blur i:nth-child(3) {
  width: 58%;
  margin: 0 auto;
}

.skz-ai-ad-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: none;
  place-items: center;
  padding: 18px;
  background: rgba(2, 6, 23, .72);
  backdrop-filter: blur(10px);
}

.skz-ai-ad-overlay.show {
  display: grid;
}

.skz-ai-ad-box {
  width: min(100%, 360px);
  display: grid;
  justify-items: center;
  gap: 12px;
  padding: 22px 18px;
  border-radius: 24px;
  background: #ffffff;
  box-shadow: 0 24px 70px rgba(0,0,0,.36);
  text-align: center;
}

.skz-ai-ad-label {
  padding: 6px 10px;
  border-radius: 999px;
  background: #eef4ff;
  color: #1155e8;
  font-size: 11px;
  font-weight: 950;
  letter-spacing: .6px;
}

.skz-ai-ad-play {
  width: 76px;
  height: 76px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: linear-gradient(135deg, #1155e8, #0b3fb5);
  color: #fff;
  font-size: 28px;
  box-shadow: 0 14px 32px rgba(17,85,232,.24);
}

.skz-ai-ad-box h3 {
  margin: 0;
  color: #07142b;
  font-size: 19px;
  font-weight: 950;
}

.skz-ai-ad-box p {
  margin: 0;
  color: #475569;
  font-size: 13px;
  line-height: 1.55;
  font-weight: 750;
}

.skz-ai-ad-box strong {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: #f1f5f9;
  color: #0f172a;
  font-size: 22px;
  font-weight: 950;
}

@keyframes aiAdLockPulse {
  0%, 100% { transform: scale(.92); opacity: .55; }
  50% { transform: scale(1.05); opacity: .95; }
}

@keyframes aiAdLockSweep {
  0%, 42% { transform: translateX(-120%); }
  72%, 100% { transform: translateX(120%); }
}

@media (max-width: 520px) {
  .ai-ad-lock-box {
    padding: 22px 13px;
  }

  .ai-ad-unlock-btn {
    width: 100%;
    padding: 0 14px;
    font-size: 13px;
  }

  .ai-ad-lock-box h3 {
    font-size: 19px;
  }
}
/* V20260430: Tahminci yorumları - tahmin türü, güven seviyesi ve beğeni */
.tipster-comments-card {
  overflow: hidden;
}

.tipster-title-row {
  align-items: flex-start;
}

.tipster-title-row > div {
  min-width: 0;
}

.tipster-title-row p {
  margin: 4px 0 0;
  color: #64748b;
  font-size: 12px;
  line-height: 1.45;
  font-weight: 750;
}

.tipster-title-row > span {
  flex: 0 0 auto;
  padding: 7px 10px;
  border-radius: 999px;
  background: #eef4ff;
  color: #1155e8;
  font-size: 11px;
  font-weight: 950;
}

.tipster-comment-form {
  display: grid;
  gap: 10px;
  padding: 14px;
  border-top: 1px solid #e6eaf1;
  background: #f8fbff;
}

.tipster-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px;
}

.tipster-comment-form label {
  display: grid;
  gap: 6px;
}

.tipster-comment-form label span {
  color: #64748b;
  font-size: 11px;
  font-weight: 950;
  text-transform: uppercase;
}

.tipster-comment-form select,
.tipster-comment-form textarea {
  width: 100%;
  border: 1px solid #dfe7f0;
  border-radius: 13px;
  background: #fff;
  color: #111827;
  font: inherit;
  font-weight: 750;
  outline: none;
}

.tipster-comment-form select {
  min-height: 42px;
  padding: 0 11px;
}

.tipster-comment-form textarea {
  min-height: 86px;
  resize: vertical;
  padding: 11px 12px;
  line-height: 1.45;
}

.tipster-template-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 9px 11px;
  border-radius: 13px;
  background: #eef4ff;
  border: 1px solid #dbe7ff;
}

.tipster-template-box span {
  color: #1155e8;
  font-size: 12px;
  font-weight: 950;
}

.tipster-template-box small {
  color: #64748b;
  font-size: 11px;
  font-weight: 850;
}

.tipster-comment-form button[type="submit"] {
  min-height: 44px;
  border: 0;
  border-radius: 13px;
  background: linear-gradient(135deg, #1155e8, #0b3fb5);
  color: #fff;
  font-weight: 950;
  cursor: pointer;
}

.tipster-comments-list {
  padding: 12px;
}

.tipster-featured-box {
  display: grid;
  gap: 9px;
  margin-bottom: 12px;
  padding: 11px;
  border-radius: 18px;
  background: linear-gradient(135deg, #fff7ed, #ffffff);
  border: 1px solid #fed7aa;
}

.tipster-featured-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.tipster-featured-title strong {
  color: #9a3412;
  font-size: 13px;
  font-weight: 950;
}

.tipster-featured-title span {
  color: #c2410c;
  font-size: 11px;
  font-weight: 850;
}

.tipster-all-comments {
  display: grid;
  gap: 9px;
}

.tipster-comment {
  display: grid;
  gap: 9px;
  padding: 12px;
  border-radius: 16px;
  background: #ffffff;
  border: 1px solid #e4eaf3;
  box-shadow: 0 6px 16px rgba(15, 23, 42, .04);
}

.tipster-comment.featured {
  border-color: rgba(251, 146, 60, .34);
  background: rgba(255,255,255,.86);
}

.tipster-comment-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px;
}

.tipster-comment-head > div {
  min-width: 0;
}

.tipster-comment-head strong {
  display: inline-block;
  margin: 0 7px 0 0;
  color: #0f172a;
  font-size: 13px;
  font-weight: 950;
}

.tipster-comment-head span {
  color: #94a3b8;
  font-size: 11px;
  font-weight: 850;
}

.tipster-comment-head em {
  flex: 0 0 auto;
  padding: 5px 8px;
  border-radius: 999px;
  background: #ffedd5;
  color: #c2410c;
  font-size: 10px;
  font-style: normal;
  font-weight: 950;
}

.tipster-prediction-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 7px;
}

.tipster-prediction-row b,
.tipster-prediction-row i,
.tipster-prediction-row small {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  border-radius: 999px;
  padding: 0 9px;
  font-size: 11px;
  line-height: 1;
  font-weight: 950;
}

.tipster-prediction-row b {
  background: #eaf2ff;
  color: #1155e8;
}

.tipster-prediction-row i {
  font-style: normal;
  background: #fff7ed;
  color: #c2410c;
}

.tipster-prediction-row i.high {
  background: #f0fdf4;
  color: #047857;
}

.tipster-prediction-row i.low {
  background: #fff1f2;
  color: #b91c1c;
}

.tipster-prediction-row small {
  background: #f1f5f9;
  color: #64748b;
}

.tipster-comment p {
  margin: 0;
  color: #334155;
  font-size: 13px;
  line-height: 1.55;
  font-weight: 750;
}

.tipster-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  flex-wrap: wrap;
}

.tipster-actions button {
  min-height: 34px;
  border: 1px solid #dbe7ff;
  border-radius: 999px;
  padding: 0 11px;
  background: #f8fbff;
  color: #1155e8;
  font-size: 12px;
  font-weight: 950;
  cursor: pointer;
}

.tipster-actions button.liked {
  background: #1155e8;
  color: #fff;
  border-color: #1155e8;
}

.tipster-actions button span {
  margin-left: 5px;
}

.tipster-actions small {
  color: #94a3b8;
  font-size: 10.5px;
  font-weight: 800;
}

@media (max-width: 520px) {
  .tipster-title-row {
    display: grid;
  }

  .tipster-title-row > span {
    width: fit-content;
  }

  .tipster-form-grid {
    grid-template-columns: 1fr;
  }

  .tipster-template-box {
    align-items: flex-start;
    flex-direction: column;
  }

  .tipster-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .tipster-actions button {
    width: 100%;
  }
}
