/* Basic reset */
.bmn-results, .bmn-match { font-family: system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif; }
/* Theme (approximates Trabzonspor Mac Merkezi palette) */
.bmn-results, .bmn-match {
	--bmn-navy: #0f2f4a;           /* primary text (score) */
	--bmn-navy-2: #16324f;        /* alt navy */
	--bmn-muted: #6b7a8c;         /* meta text */
	--bmn-chip-bg: #eef4f9;       /* icon chip bg */
	--bmn-divider: #edf2f7;       /* light divider */
	--bmn-chev: #c2ccd6;          /* chevron */
}

/* Results list */
.bmn-results { max-width: 100%; margin: 0 auto; box-sizing: border-box; }
.bmn-results .bmn-header { display: flex; align-items: center; justify-content: space-between; margin: 8px 0 16px; }
.bmn-results .bmn-title { font-size: 32px; font-weight: 800; letter-spacing: 0.5px; }
.bmn-results .bmn-all-link a { color: #1b75bb; text-decoration: none; font-weight: 600; }

.bmn-card { display: grid; grid-template-columns: 120px 240px 100px 160px 100px auto; gap: 16px; align-items: center; padding: 20px 28px; border-radius: 12px; background: #fff; box-shadow: 0 2px 10px rgba(0,0,0,0.06); margin: 12px 0; overflow: hidden; text-decoration: none; color: inherit; }
.bmn-meta-left { display:flex; align-items:center; justify-content:center; border-right:1px solid var(--bmn-divider); padding-right:16px; }
.bmn-card .bmn-meta { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; color: var(--bmn-muted); white-space: nowrap; font-weight: 500; }
.bmn-meta .bmn-badge { display: inline-flex; align-items: center; gap: 8px; color: var(--bmn-muted); }
.bmn-league-logo { width: 86px; max-width: 100%; height: auto; margin-left: 6px; flex: 0 0 auto; background: transparent; border-radius: 0; padding: 0; }
.bmn-meta .bmn-badge .ico { width: 26px; height: 26px; background: var(--bmn-chip-bg); color: var(--bmn-navy); border-radius: 8px; display: inline-flex; align-items: center; justify-content: center; font-size: 14px; line-height: 1; }

.bmn-team { display: flex; align-items: center; gap: 10px; min-width: 0; writing-mode: horizontal-tb; }
.bmn-team img { width: 60px; height: 60px; object-fit: contain; filter: none; }
.bmn-team .bmn-team-name { display:none; }
.bmn-team.bmn-away { justify-content: flex-end; text-align: right; }

.bmn-score { text-align: center; font-size: 48px; font-weight: 800; color: var(--bmn-navy); letter-spacing: 2px; }
.bmn-score .bmn-iy { display: block; font-size: 12px; color: var(--bmn-muted); margin-top: 4px; text-transform: uppercase; }

.bmn-card > .bmn-chevron { display:flex; align-items:center; justify-content:center; width: 36px; height: 36px; background: var(--bmn-chip-bg); color: var(--bmn-navy); border: 1px solid var(--bmn-divider); border-radius: 9999px; font-size: 18px; line-height: 1; cursor: pointer; transition: background .2s ease, color .2s ease, transform .15s ease; box-shadow: 0 2px 6px rgba(0,0,0,0.06); justify-self: end; }
.bmn-card > .bmn-chevron:hover { background: var(--bmn-navy); color: #fff; transform: translateX(2px); }
.bmn-card > .bmn-chevron:active { transform: translateX(3px) scale(0.98); }
.bmn-card > .bmn-chevron:focus-visible { outline: 3px solid rgba(27,117,187,0.35); outline-offset: 2px; }

/* Single match */
.bmn-match { max-width: 100%; margin: 0 auto; background: #fff; border-radius: 12px; padding: 18px 22px; box-shadow: 0 2px 10px rgba(0,0,0,0.06); box-sizing: border-box; }
.bmn-match .bmn-match-row.bmn-teams { display: grid; grid-template-columns: 1fr 120px 1fr; align-items: center; gap: 16px; }
.bmn-match .bmn-score { font-size: 42px; }
.bmn-match .bmn-match-meta { margin-bottom: 8px; color: #6b7280; display: flex; gap: 10px; }
.bmn-match .bmn-scorers { margin-top: 8px; color: #374151; }

/* Stats */
.bmn-stats-card{ background:#fff; border-radius:12px; box-shadow:0 2px 10px rgba(0,0,0,0.06); padding:16px 18px; width:100%; }
.bmn-stats { margin-top: 22px; display: grid; gap: 16px; }
.bmn-stat-row { display: grid; grid-template-columns: 64px 1fr 64px; align-items: center; gap: 12px; }
.bmn-stat-val { font-weight: 800; text-align: center; padding: 6px 10px; border-radius: 12px; min-width: 44px; line-height: 1; }
.bmn-stat-val.bmn-left { background:#75b8e6; color:#fff; justify-self:start; }
.bmn-stat-val.bmn-right { background:#5e2433; color:#fff; justify-self:end; }
.bmn-stat-bar { position: relative; height: 12px; background: #eef2f6; border-radius: 9999px; overflow: visible; box-shadow: inset 0 1px 2px rgba(0,0,0,0.05); }
.bmn-bar-left { position: absolute; left: 0; top: 0; bottom: 0; background: #75b8e6; }
.bmn-bar-right { position: absolute; right: 0; top: 0; bottom: 0; background: #5e2433; }
.bmn-stat-label { position: absolute; left: 50%; top: -24px; transform: translateX(-50%); font-weight: 700; color: #34495e; white-space: nowrap; pointer-events: none; }
.bmn-stat-row + .bmn-stat-row { border-top: 1px solid #f0f3f6; padding-top: 14px; }

@media (max-width: 640px) {
	.bmn-stat-row { grid-template-columns: 52px 1fr 52px; gap: 8px; }
	.bmn-stat-val { padding: 5px 8px; font-weight: 800; }
	.bmn-stat-bar { height: 10px; }
	.bmn-stat-label { font-size: 12px; top: -16px; }
}

/* Single page card variant */
.bmn-card--single { max-width: 100%; margin: 12px auto; box-sizing: border-box; }
.bmn-card.bmn-card--single { grid-template-columns: 72px 1fr 110px 1fr 72px auto; padding: 16px; gap: 12px; }
.bmn-card--compact { justify-items: center; align-items: center; }
.bmn-card.bmn-card--single.bmn-card--compact { grid-template-columns: 1fr auto 1fr; gap: 24px; }
.bmn-card.bmn-card--single.bmn-card--compact .bmn-team { justify-content: center; }
.bmn-card--compact .bmn-meta-left, .bmn-card--compact .bmn-meta { display:none; }
.bmn-card--compact .bmn-team { justify-content: center; text-align: center; }

/* Utilities */
.bmn-muted { color: #6b7280; }

/* Responsive */
@media (max-width: 900px) {
	.bmn-card { grid-template-columns: 90px 1fr 90px 120px 90px auto; }
}
@media (max-width: 680px) {
	.bmn-card { grid-template-columns: 1fr; row-gap: 10px; }
	.bmn-card .bmn-chevron { display: none; }
	.bmn-team, .bmn-team.bmn-away { justify-content: center; text-align: center; }
	.bmn-score { font-size: 32px; }
}
