/* NanoScore — Maç Detayı (örnek mockup birebir) */

.md-page {
    max-width: 1240px;
    margin: 0 auto;
    padding: 1.5rem 1.25rem 3.25rem;
    color: #fff;
}

.md-page-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 0.85rem;
}

.md-page-head h1 {
    margin: 0;
    font-size: clamp(1.4rem, 2.8vw, 1.95rem);
    font-weight: 800;
    letter-spacing: -0.025em;
    line-height: 1.15;
    color: #fff;
    text-transform: uppercase;
}

.md-page-head .sub {
    margin: 0.35rem 0 0;
    color: #8e8e93;
    font-size: 0.92rem;
}

.md-date-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.55rem 0.85rem;
    border-radius: 10px;
    background: #1e2124;
    border: 1px solid #2c2f36;
    color: #fff;
    font-size: 0.88rem;
    font-weight: 650;
    white-space: nowrap;
}

.md-tabs {
    display: flex;
    gap: 1.25rem;
    border-bottom: 1px solid #2c2f36;
    margin-bottom: 1.35rem;
    overflow-x: auto;
}

.md-tabs button {
    appearance: none;
    border: 0;
    background: transparent;
    color: #8e8e93;
    font: inherit;
    font-weight: 700;
    font-size: 0.92rem;
    padding: 0.65rem 0.1rem 0.75rem;
    border-bottom: 2px solid transparent;
    cursor: pointer;
    white-space: nowrap;
}

.md-tabs button.active {
    color: #fff;
    border-bottom-color: #a3e635;
}

.md-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.9fr);
    gap: 1rem;
    align-items: start;
}

.md-card {
    background: #1e2124;
    border: 1px solid #2c2f36;
    border-radius: 12px;
    padding: 1rem 1.1rem;
}

.md-score-card .league {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #c7c7cc;
    font-size: 0.85rem;
    font-weight: 650;
    margin-bottom: 1rem;
}

.md-score-card .league img {
    width: 22px;
    height: 22px;
    object-fit: contain;
}

.md-score-row {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 0.75rem;
    text-align: center;
}

.md-score-row .team img {
    width: 72px;
    height: 72px;
    object-fit: contain;
    margin-bottom: 0.45rem;
}

.md-score-row .team .name {
    font-weight: 800;
    font-size: 0.95rem;
    color: #fff;
}

.md-score-mid .score {
    font-size: clamp(2.2rem, 4vw, 3rem);
    font-weight: 900;
    letter-spacing: 0.04em;
    color: #fff;
    line-height: 1;
}

.md-score-mid .minute {
    margin-top: 0.35rem;
    color: #a3e635;
    font-weight: 800;
    font-size: 1rem;
}

.md-premium {
    margin-top: 1rem;
}

.md-premium-title {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.95rem;
    font-weight: 800;
    margin: 0 0 0.75rem;
    color: #fff;
}

.md-premium-title span {
    color: #a3e635;
}

.md-premium-body {
    display: grid;
    grid-template-columns: 1fr 1.35fr;
    gap: 0.75rem;
}

.md-tier-stack {
    display: grid;
    gap: 0.55rem;
}

.md-tier {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    padding: 0.75rem 0.8rem;
    border-radius: 10px;
    background: #181a1d;
    border: 1px solid #2c2f36;
    color: #fff;
    font-size: 0.88rem;
    font-weight: 650;
}

.md-badge {
    width: 26px;
    height: 26px;
    border-radius: 7px;
    display: inline-grid;
    place-items: center;
    font-size: 0.78rem;
    font-weight: 900;
    flex: 0 0 auto;
}

.md-badge--s { background: #6b7280; color: #fff; }
.md-badge--g { background: #d4a017; color: #1a1400; }
.md-badge--p { background: #4b5563; color: #fff; }

.md-platin {
    position: relative;
    min-height: 168px;
    border-radius: 12px;
    overflow: hidden;
    background:
        radial-gradient(circle at 30% 40%, rgba(163,230,53,0.12), transparent 45%),
        radial-gradient(circle at 70% 60%, rgba(96,165,250,0.12), transparent 40%),
        #181a1d;
    border: 1px solid #2c2f36;
    padding: 0.85rem;
}

.md-platin.is-locked .md-platin-blur {
    filter: blur(4px);
    opacity: 0.55;
    user-select: none;
}

.md-platin-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.65rem;
    position: relative;
    z-index: 2;
}

.md-platin-top .label {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-weight: 800;
    font-size: 0.88rem;
    flex-wrap: wrap;
}

.md-platin-tag {
    font-size: 0.65rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    padding: 0.15rem 0.4rem;
    border-radius: 999px;
    background: rgba(163, 230, 53, 0.16);
    color: #a3e635;
}

.md-platin-tag--editor {
    background: rgba(96, 165, 250, 0.18);
    color: #93c5fd;
}

.md-platin-actions {
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.md-btn-detay {
    padding: 0.35rem 0.65rem;
    border-radius: 8px;
    border: 1px solid #3a3f47;
    background: #22262b;
    color: #fff;
    font-size: 0.75rem;
    font-weight: 700;
    text-decoration: none;
}

.md-star {
    color: #a3e635;
    font-size: 1.05rem;
}

.md-radar {
    height: 88px;
    border-radius: 10px;
    background:
        linear-gradient(135deg, transparent 40%, rgba(163,230,53,0.08) 50%, transparent 60%),
        repeating-linear-gradient(0deg, transparent, transparent 14px, rgba(255,255,255,0.04) 15px),
        repeating-linear-gradient(90deg, transparent, transparent 14px, rgba(255,255,255,0.04) 15px);
    position: relative;
}

.md-platin-blur {
    position: relative;
    z-index: 1;
    min-height: 88px;
}

.md-platin-copy {
    font-size: 0.86rem;
    line-height: 1.45;
    color: #e5e7eb;
}

.md-platin-copy .md-platin-title {
    display: block;
    margin-bottom: 0.35rem;
    font-size: 0.95rem;
    color: #fff;
}

.md-platin-copy p {
    margin: 0;
    color: #c8c8cc;
}

.md-platin-empty {
    font-size: 0.82rem;
    color: #8e8e93;
    line-height: 1.4;
    padding: 0.35rem 0 0.5rem;
    position: relative;
    z-index: 2;
}

.md-hit-badge {
    display: inline-flex;
    align-items: center;
    margin-bottom: 0.45rem;
    padding: 0.2rem 0.55rem;
    border-radius: 999px;
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.02em;
    background: rgba(163, 230, 53, 0.16);
    color: #a3e635;
}

.md-live-chip {
    margin-bottom: 0.55rem;
    padding: 0.45rem 0.6rem;
    border-radius: 8px;
    border: 1px solid rgba(248, 113, 113, 0.35);
    background: rgba(248, 113, 113, 0.1);
    color: #fecaca;
    font-size: 0.8rem;
    font-weight: 650;
    line-height: 1.35;
}

.md-lq {
    margin-bottom: 0.5rem;
    font-size: 0.72rem;
    color: #8e8e93;
    font-weight: 650;
}

.md-scenarios {
    display: grid;
    gap: 0.45rem;
    margin-bottom: 0.65rem;
}

.md-scenario {
    padding: 0.5rem 0.6rem;
    border-radius: 8px;
    border: 1px solid #2c2f36;
    background: rgba(255, 255, 255, 0.02);
}

.md-scenario--main { border-left: 3px solid #a3e635; }
.md-scenario--alt { border-left: 3px solid #60a5fa; }
.md-scenario--risk { border-left: 3px solid #fbbf24; }

.md-scenario__lab {
    display: inline-block;
    margin-bottom: 0.2rem;
    font-size: 0.65rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #8e8e93;
}

.md-scenario strong {
    display: block;
    font-size: 0.86rem;
    color: #fff;
    margin-bottom: 0.15rem;
}

.md-scenario p {
    margin: 0;
    font-size: 0.8rem;
    color: #c8c8cc;
    line-height: 1.4;
}

.md-why {
    margin: 0;
    padding: 0 0 0 1rem;
    display: grid;
    gap: 0.25rem;
}

.md-why li {
    font-size: 0.78rem;
    color: #a1a1aa;
    line-height: 1.35;
}

.md-platin.has-text:not(.is-locked) {
    min-height: auto;
}

.md-platin.has-text:not(.is-locked) .md-radar {
    display: none;
}

.md-lock {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    z-index: 3;
    font-size: 1.8rem;
    pointer-events: none;
}

.md-guven {
    margin-top: 0.75rem;
}

.md-guven .meta {
    display: flex;
    justify-content: space-between;
    font-size: 0.78rem;
    font-weight: 800;
    color: #c7c7cc;
    margin-bottom: 0.35rem;
}

.md-guven .meta b { color: #a3e635; }

.md-guven .bar {
    height: 10px;
    border-radius: 999px;
    background: #2c2f36;
    overflow: hidden;
}

.md-guven .bar > i {
    display: block;
    height: 100%;
    background: #a3e635;
    border-radius: 999px;
}

.md-side-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 0 0 0.85rem;
    font-size: 0.92rem;
    font-weight: 800;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    color: #fff;
}

.md-side-title .ico { color: #a3e635; }

.md-stat-rows {
    display: grid;
    gap: 0.85rem;
}

.md-stat {
    display: grid;
    gap: 0.35rem;
}

.md-stat .lab {
    font-size: 0.78rem;
    color: #8e8e93;
    font-weight: 650;
}

.md-stat .vals {
    display: flex;
    justify-content: space-between;
    font-size: 0.8rem;
    font-weight: 800;
    color: #fff;
}

.md-stat .track {
    height: 8px;
    border-radius: 999px;
    background: #2c2f36;
    overflow: hidden;
    display: flex;
}

.md-stat .track > i {
    display: block;
    height: 100%;
}

.md-stat .track.gold > i { background: #d4a017; }
.md-stat .track.lime > i { background: #a3e635; }
.md-stat .track.grey > i { background: #6b7280; }
.md-stat .track.split {
    display: flex;
}
.md-stat .track.split .h { background: #a3e635; }
.md-stat .track.split .a { background: #ef4444; }

.md-form-card { margin-top: 1rem; }

.md-form-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
}

.md-form-row:last-child { margin-bottom: 0; }

.md-form-row .who {
    font-size: 0.82rem;
    color: #8e8e93;
    font-weight: 700;
    min-width: 52px;
}

.md-form-dots {
    display: flex;
    gap: 0.35rem;
}

.md-form-dots span {
    width: 28px;
    height: 28px;
    border-radius: 8px;
    display: grid;
    place-items: center;
    font-size: 0.72rem;
    font-weight: 900;
    color: #fff;
}

.md-form-dots .W { background: #22c55e; }
.md-form-dots .D { background: #d4a017; color: #1a1400; }
.md-form-dots .L { background: #ef4444; }

.md-legacy {
    margin-top: 1.25rem;
}

.md-legacy .detail-tabs { display: none; }

@media (max-width: 960px) {
    .md-grid { grid-template-columns: 1fr; }
    .md-premium-body { grid-template-columns: 1fr; }
}
