/* Taslak: resmi site (aefnet.com) cercevesi + paleti, ranked icerigi. */
:root {
  --ink: #0b0b0b;
  --surface: #151515;
  --line: #2a2a2a;
  --ember: #f68b00;
  --ember-soft: #ff9a2b;
  --gold: #ffb300;
  --text: #ffffff;
  --muted: #adadad;
  --win: #22d600;
  --loss: #e0483e;
  --font-display: "Oswald", "Arial Narrow", sans-serif;
  --font-body: "Open Sans", Arial, sans-serif;
  --page-width: 1180px;
}
* { box-sizing: border-box; }
html, body { margin: 0; }
body { background: var(--ink); color: var(--text); font-family: var(--font-body); font-size: 16px; line-height: 1.6; }
a { color: inherit; text-decoration: none; }
a:focus-visible { outline: 2px solid var(--ember); outline-offset: 3px; }
.wrap { width: min(var(--page-width), 100% - 32px); margin: 0 auto; }

/* ---- resmi site ust menusu ---- */
.site-header { position: relative; z-index: 2; }
.site-header .wrap { display: flex; align-items: center; gap: 56px; height: 116px; }
.site-header img { height: 72px; }
.main-menu { display: flex; gap: 40px; font-weight: 700; font-size: 16px; text-transform: uppercase; }
.main-menu a { padding: 6px 0; border-bottom: 2px solid transparent; }
.main-menu a[aria-current="page"] { border-bottom-color: var(--ember); color: var(--ember-soft); }
.menu-button { display: none; margin-left: auto; width: 44px; height: 44px; border: 1px solid var(--line); background: transparent; padding: 12px 10px; }
.menu-button span { display: block; height: 2px; background: var(--text); margin: 4px 0; }

/* ---- ranked alt cubugu ---- */
.ranked-bar { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: rgba(0, 0, 0, .55); position: relative; z-index: 2; }
.ranked-bar .wrap { display: flex; align-items: center; height: 52px; gap: 28px; font-size: 14px; }
.mode-tabs { display: flex; height: 100%; }
.mode-tabs a { display: flex; align-items: center; padding: 0 18px; font-family: var(--font-display); font-size: 16px; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); border-bottom: 2px solid transparent; white-space: nowrap; }
.mode-tabs a[aria-current="true"] { color: var(--text); border-bottom-color: var(--ember); }
.bar-links { display: flex; gap: 22px; color: var(--muted); }
.bar-links a[aria-current="page"] { color: var(--text); }
.bar-season { color: var(--gold); font-weight: 700; }
.bar-account { margin-left: auto; display: flex; gap: 18px; white-space: nowrap; }
.bar-account a:last-child { color: var(--ember-soft); font-weight: 700; }

/* ---- kahraman alani: resmi sitedeki sagdan kor isigi ---- */
.ember-stage { position: relative; overflow: hidden; }
.ember-stage::before { content: ""; position: absolute; inset: 0; background:
  radial-gradient(70% 90% at 85% 40%, rgba(150, 52, 0, .42), transparent 70%),
  linear-gradient(90deg, #070707 0%, #0d0806 55%, #1a0b04 100%); }
.hero { position: relative; text-align: center; padding: 72px 0 88px; }
.eyebrow { display: inline-flex; align-items: center; gap: 22px; color: var(--ember); font-family: var(--font-display); font-weight: 600; font-size: 14px; letter-spacing: .32em; text-transform: uppercase; }
.eyebrow::before, .eyebrow::after { content: ""; width: 28px; height: 1px; background: currentColor; opacity: .7; }
.hero h1 { margin: 18px 0 10px; font-family: var(--font-display); font-weight: 700; font-size: 64px; line-height: 1.05; letter-spacing: .03em; text-transform: uppercase; }
.hero p { margin: 0 auto; max-width: 560px; color: #d6d6d6; font-style: italic; }
.season-clock { display: inline-flex; margin: 36px 0 34px; border: 1px solid #3a2a1c; background: rgba(0, 0, 0, .45); }
.season-clock div { padding: 14px 26px; border-right: 1px solid #3a2a1c; }
.season-clock div:last-child { border-right: 0; }
.season-clock strong { display: block; font-family: var(--font-display); font-size: 44px; line-height: 1; color: var(--gold); }
.season-clock span { font-size: 12px; color: var(--muted); }
.actions { display: flex; justify-content: center; gap: 22px; }
.button { display: inline-flex; align-items: center; justify-content: center; min-width: 228px; height: 56px; padding: 0 24px; font-weight: 700; font-size: 14px; text-transform: uppercase; }
.button-solid { background: var(--text); color: #000; }
.button-outline { border: 1px solid var(--text); }

/* ---- bolumler ---- */
.band { background: #121212; border-top: 1px solid #1e1e1e; padding: 72px 0; }
.band-title { text-align: center; margin: 0 0 8px; font-family: var(--font-display); font-weight: 700; font-size: 40px; letter-spacing: .03em; text-transform: uppercase; }
.band-lede { text-align: center; margin: 0 auto 40px; max-width: 640px; color: #cfcfcf; }
.activity { display: grid; grid-template-columns: repeat(3, 1fr); margin: 0 auto 56px; max-width: 760px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.activity div { padding: 18px 0; text-align: center; border-right: 1px solid var(--line); }
.activity div:last-child { border-right: 0; }
.activity strong { display: block; font-family: var(--font-display); font-size: 34px; line-height: 1.1; }
.activity span { color: var(--muted); font-size: 14px; }
.modes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.mode-card { position: relative; display: flex; flex-direction: column; justify-content: flex-end; min-height: 360px; padding: 26px; border-radius: 12px; overflow: hidden; background: var(--surface) center / cover no-repeat; }
.mode-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.05) 25%, rgba(0,0,0,.92) 78%); }
.mode-card > * { position: relative; z-index: 1; }
.mode-card h3 { margin: 0; font-family: var(--font-display); font-size: 34px; text-transform: uppercase; letter-spacing: .02em; }
.mode-card p { margin: 4px 0 16px; color: #d0d0d0; font-size: 15px; }
.mode-card .go { font-weight: 700; font-size: 14px; text-transform: uppercase; color: var(--ember-soft); }

/* ---- siralama ---- */
.page-head { position: relative; padding: 56px 0 40px; text-align: center; }
.page-head h1 { margin: 14px 0 0; font-family: var(--font-display); font-size: 52px; letter-spacing: .03em; text-transform: uppercase; }
.podium { position: relative; display: grid; grid-template-columns: 1fr 1.12fr 1fr; align-items: end; gap: 22px; max-width: 900px; margin: 0 auto; padding-bottom: 56px; }
.podium-place { text-align: center; padding: 26px 18px 22px; background: rgba(0, 0, 0, .5); border: 1px solid #33241a; border-top: 3px solid var(--line); }
.podium-place.first { border-top-color: var(--gold); padding-top: 34px; }
.podium-place.second { border-top-color: #c9c9c9; }
.podium-place.third { border-top-color: #b8743c; }
.podium-place .place { font-family: var(--font-display); font-size: 18px; color: var(--muted); }
.podium-place.first .place { color: var(--gold); }
.podium-place img { width: 84px; height: 84px; border-radius: 50%; object-fit: cover; margin: 10px auto 12px; display: block; background: #262626; }
.podium-place.first img { width: 104px; height: 104px; box-shadow: 0 0 0 3px var(--gold); }
.podium-place .nick { font-family: var(--font-display); font-size: 24px; letter-spacing: .02em; }
.podium-place .points { font-family: var(--font-display); font-size: 40px; line-height: 1.1; }
.podium-place .record { color: var(--muted); font-size: 14px; }
.table { width: 100%; border-collapse: collapse; font-size: 15px; }
.table th { text-align: left; font-weight: 700; font-size: 13px; color: var(--muted); padding: 12px 14px; border-bottom: 1px solid var(--line); }
.table td { padding: 12px 14px; border-bottom: 1px solid #202020; }
.table .num { text-align: right; font-variant-numeric: tabular-nums; }
.table .rank { font-family: var(--font-display); font-size: 20px; color: var(--muted); width: 56px; }
.table .player { display: flex; align-items: center; gap: 12px; font-weight: 700; }
.initials { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; font-size: 13px; color: var(--muted); background: #262626; }
.table .score { font-family: var(--font-display); font-size: 20px; }
.streak-up { color: var(--win); }
.streak-down { color: var(--loss); }

/* ---- resmi site alt bilgisi ---- */
.site-footer { background: #000; border-top: 1px solid #1e1e1e; padding: 56px 0 40px; text-align: center; }
.site-footer img { height: 64px; }
.site-footer small { display: block; color: var(--muted); margin-top: 8px; }
.footer-links { display: flex; justify-content: center; gap: 26px; margin: 22px 0 10px; font-size: 13px; font-weight: 700; text-transform: uppercase; }
.footer-note { color: #7b7b7b; font-size: 12px; text-transform: uppercase; margin: 0; }

@media (max-width: 860px) {
  .site-header .wrap { height: 84px; gap: 20px; }
  .site-header img { height: 48px; }
  .main-menu { display: none; }
  .ranked-bar .wrap { overflow-x: auto; gap: 18px; }
  .bar-links, .bar-season { display: none; }
  .hero h1 { font-size: 40px; }
  .season-clock div { padding: 10px 14px; }
  .season-clock strong { font-size: 30px; }
  .actions { flex-direction: column; align-items: center; }
  .activity, .modes { grid-template-columns: 1fr; }
  .activity div { border-right: 0; border-bottom: 1px solid var(--line); }
  .menu-button { display: block; }
  .page-head h1 { font-size: 34px; }
  .podium { grid-template-columns: 1fr; gap: 10px; padding-bottom: 32px; }
  .podium-place { display: grid; grid-template-columns: 50px 56px 1fr auto; align-items: center; gap: 12px; text-align: left; padding: 12px 14px; border-top-width: 1px; border-left: 3px solid var(--line); }
  .podium-place.first { order: -1; padding-top: 12px; border-left-color: var(--gold); }
  .podium-place.second { border-left-color: #c9c9c9; }
  .podium-place.third { border-left-color: #b8743c; }
  .podium-place img, .podium-place.first img { width: 56px; height: 56px; margin: 0; }
  .podium-place .record { display: none; }
  .podium-place .points { font-size: 30px; }
  .table td, .table th { padding: 10px 8px; }
  .table .hide-sm { display: none; }
}

/* ---- ikonlar ---- */
.icon { width: 18px; height: 18px; flex: none; vertical-align: -3px; }
.bar-links a, .bar-season, .bar-account a { display: inline-flex; align-items: center; gap: 7px; }
.bar-links .icon, .bar-account .icon { color: var(--ember); width: 16px; height: 16px; }
.bar-season .icon { width: 16px; height: 16px; }
.button { gap: 10px; }
.button .icon { width: 18px; height: 18px; }
.countdown-label, .hero .countdown-label { display: flex; justify-content: center; align-items: center; gap: 8px; margin: 30px 0 0; color: var(--muted); font-size: 14px; font-style: normal; }
.countdown-label .icon { color: var(--gold); width: 16px; height: 16px; }
.hero .countdown-label + .season-clock { margin-top: 12px; }
.page-head .countdown-label { margin-top: 12px; }
.stat-icon { display: grid; place-items: center; width: 48px; height: 48px; margin: 0 auto 10px; border-radius: 50%; color: var(--ember-soft); background: rgba(246, 139, 0, .1); border: 1px solid rgba(246, 139, 0, .35); }
.stat-icon .icon { width: 22px; height: 22px; }
.mode-stats { display: flex; gap: 18px; }
.mode-stats span, .mode-card .go { display: inline-flex; align-items: center; gap: 7px; }
.mode-stats .icon { color: var(--ember-soft); width: 17px; height: 17px; }
.place { display: inline-flex; align-items: center; gap: 6px; }
.place-icon { width: 20px; height: 20px; }
.podium-place.first .place-icon { width: 26px; height: 26px; color: var(--gold); }
.podium-place.second .place-icon { color: #c9c9c9; }
.podium-place.third .place-icon { color: #b8743c; }
.th-icon { width: 14px; height: 14px; margin-right: 5px; color: var(--ember); vertical-align: -2px; }
.hero .countdown-label { max-width: none; }

/* ---- kisa kahraman + yukari tasinan modlar (2. tur) ---- */
.hero-compact { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 40px; padding: 44px 0 36px; }
.hero-text { max-width: 600px; }
.hero-text .eyebrow::before { display: none; }
.hero-text h1 { margin: 10px 0 8px; font-family: var(--font-display); font-weight: 700; font-size: 54px; line-height: 1.05; letter-spacing: .03em; text-transform: uppercase; }
.hero-text p { margin: 0 0 14px; color: #d6d6d6; }
.text-link { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: 14px; text-transform: uppercase; color: var(--ember-soft); }
.hero-timer { text-align: center; }
.hero-timer .countdown-label { margin: 0 0 10px; }
.hero-timer .season-clock { margin: 0; }
.modes-raised { position: relative; padding-bottom: 56px; }
.modes-raised .mode-card { min-height: 300px; }
.band-tight { padding: 56px 0 64px; }
.band-tight .activity { margin-bottom: 0; }
@media (max-width: 860px) {
  .hero-compact { flex-direction: column; align-items: flex-start; padding: 28px 0 24px; gap: 22px; }
  .hero-text h1 { font-size: 38px; }
  .hero-timer { align-self: stretch; }
  .modes-raised .mode-card { min-height: 220px; }
}

/* ---- kartlarin ustunde kompakt istatistik seridi (3. tur) ---- */
.activity-inline { position: relative; max-width: none; margin: 0 0 22px; border: 1px solid #33241a; background: rgba(0, 0, 0, .45); }
.activity-inline div { display: flex; align-items: center; justify-content: center; gap: 14px; padding: 12px 16px; text-align: left; border-right-color: #33241a; }
.activity-inline .stat-icon { width: 40px; height: 40px; margin: 0; }
.activity-inline .stat-icon .icon { width: 19px; height: 19px; }
.activity-inline strong { display: inline; font-size: 28px; line-height: 1; margin-right: 8px; }
.activity-inline > div > span:last-child { color: var(--muted); font-size: 14px; }
@media (max-width: 860px) {
  .activity-inline { grid-template-columns: repeat(3, 1fr); }
  .activity-inline div { flex-direction: column; gap: 4px; padding: 10px 4px; text-align: center; border-right: 1px solid #33241a; border-bottom: 0; }
  .activity-inline div:last-child { border-right: 0; }
  .activity-inline .stat-icon { width: 32px; height: 32px; }
  .activity-inline strong { font-size: 22px; margin: 0; }
  .activity-inline > div > span:last-child { font-size: 11px; line-height: 1.3; }
}

/* ---- tek ust menu: resmi tasarim + ranked ogeleri (4. tur) ---- */
.site-header .wrap { gap: 44px; }
.main-menu { gap: 34px; align-items: center; }
.main-menu a { display: inline-flex; align-items: center; gap: 8px; }
.main-menu a .icon { width: 17px; height: 17px; color: var(--ember); }
.main-menu a[aria-current="page"] .icon, .main-menu a.is-active .icon { color: var(--ember-soft); }
.main-menu a.is-active { color: var(--ember-soft); }
.main-menu .chevron { width: 14px; height: 14px; color: var(--muted); margin-left: -2px; }
.main-menu .season-link { color: var(--gold); }
.main-menu .season-link .icon { color: var(--gold); }
.header-account { margin-left: auto; display: flex; align-items: center; gap: 22px; font-weight: 700; font-size: 15px; text-transform: uppercase; white-space: nowrap; }
.header-account a { display: inline-flex; align-items: center; gap: 8px; }
.header-account .icon { width: 17px; height: 17px; color: var(--ember); }
.button-small { height: 42px; padding: 0 18px; border: 1px solid var(--text); }
.button-small .icon { color: var(--text); }
@media (max-width: 1100px) { .main-menu { gap: 22px; font-size: 14px; } .site-header .wrap { gap: 28px; } }
@media (max-width: 860px) { .header-account { display: none; } }
.site-header .wrap { gap: 32px; }
.site-header img { height: 60px; }
.main-menu { gap: 24px; font-size: 15px; }
.main-menu a, .header-account a { white-space: nowrap; }
.header-account { gap: 18px; font-size: 14px; }
@media (max-width: 1260px) { .main-menu .icon:not(.chevron) { display: none; } .main-menu { gap: 20px; } }
.site-header .wrap { gap: 26px; } .main-menu { gap: 20px; }
/* istatistik ikonlari: halka yok, Lucide ikonu buyuk ve parlak (5. tur) */
.activity-inline .stat-icon { width: auto; height: auto; border: 0; background: none; border-radius: 0; color: var(--ember-soft); }
.activity-inline .stat-icon .icon { width: 30px; height: 30px; stroke-width: 1.75; }
@media (max-width: 860px) { .activity-inline .stat-icon .icon { width: 24px; height: 24px; } }

/* ---- oyunlar + profil (6. tur) ---- */
.page-head-left { text-align: left; padding: 44px 0 36px; }
.page-head-left .eyebrow::before { display: none; }
.page-head-left h1 { margin-top: 10px; }
.page-lede { margin: 6px 0 0; color: #d6d6d6; }
.band-games { padding: 40px 0 72px; }
.match-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.match-card { display: flex; flex-direction: column; background: #0d0d0d; border: 1px solid #262626; border-radius: 12px; overflow: hidden; }
.match-card:hover { border-color: #4a3320; }
.match-map { position: relative; height: 150px; background: #222 center / cover no-repeat; }
.match-status { position: absolute; top: 10px; right: 10px; display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: rgba(0, 0, 0, .78); }
.match-status .icon { width: 19px; height: 19px; }
.status-won { color: var(--gold); }
.status-draw { color: #9fb4c8; }
.status-cut { color: var(--loss); }
.match-body { padding: 14px 16px 16px; display: flex; flex-direction: column; flex: 1; }
.match-body h3 { margin: 0 0 6px; font-family: var(--font-display); font-size: 19px; letter-spacing: .02em; text-transform: uppercase; }
.match-meta { display: flex; flex-wrap: wrap; gap: 4px 14px; color: var(--muted); font-size: 13px; }
.match-meta span { display: inline-flex; align-items: center; gap: 5px; }
.match-meta .icon { width: 14px; height: 14px; color: var(--ember); }
.match-players { margin-top: 14px; padding-top: 12px; border-top: 1px solid #222; display: flex; flex-direction: column; gap: 6px; flex: 1; justify-content: center; }
.match-player { display: flex; align-items: center; gap: 10px; font-weight: 700; }
.match-player .flag { width: 28px; height: auto; }
.match-player .nick { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.match-player:not(.is-winner) .nick { color: #bdbdbd; font-weight: 400; }
.winner-icon { width: 15px; height: 15px; color: var(--gold); }
.delta { margin-left: auto; font-family: var(--font-display); font-size: 17px; }
.delta-up { color: var(--win); }
.delta-down { color: var(--loss); }
.delta-zero { color: var(--muted); }
.versus { font-family: var(--font-display); font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: #6f6f6f; padding-left: 38px; }
.match-note { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: 14px; }
.match-note .icon { width: 18px; height: 18px; }

.profile-head { position: relative; display: flex; align-items: center; gap: 40px; padding: 44px 0 30px; }
.profile-id { display: flex; align-items: center; gap: 24px; flex: 1; }
.profile-avatar { width: 112px; height: 112px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 3px var(--gold); }
.profile-id .eyebrow::before { display: none; }
.profile-id h1 { margin: 6px 0; font-family: var(--font-display); font-size: 56px; line-height: 1; letter-spacing: .03em; }
.profile-sub { display: flex; gap: 18px; color: #d0d0d0; font-size: 14px; }
.profile-sub span { display: inline-flex; align-items: center; gap: 6px; }
.profile-sub .icon { width: 16px; height: 16px; color: var(--ember); }
.profile-rank { display: flex; align-items: center; gap: 12px; }
.profile-rank img { width: 84px; height: auto; }
.profile-rank small, .profile-score small { display: block; color: var(--muted); font-size: 13px; }
.profile-rank strong { font-family: var(--font-display); font-size: 26px; text-transform: uppercase; color: var(--gold); }
.profile-score { text-align: right; padding-left: 32px; border-left: 1px solid #3a2a1c; }
.profile-score strong { display: block; font-family: var(--font-display); font-size: 64px; line-height: 1; color: var(--gold); }
.profile-score span { color: var(--muted); font-size: 13px; }
.mode-switch { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-bottom: 18px; }
.mode-pill { display: flex; flex-direction: column; padding: 12px 16px; border: 1px solid #2c2c2c; background: rgba(0, 0, 0, .5); }
.mode-pill strong { font-family: var(--font-display); font-size: 18px; text-transform: uppercase; letter-spacing: .02em; }
.mode-pill span { color: var(--ember-soft); font-weight: 700; font-size: 14px; }
.mode-pill small { color: var(--muted); }
.mode-pill.is-current { border-color: var(--ember); box-shadow: inset 0 -3px 0 var(--ember); }
.activity-four { grid-template-columns: repeat(4, 1fr); margin-bottom: 40px; }
.band-profile { padding: 48px 0 72px; }
.profile-grid { display: grid; grid-template-columns: 1fr 300px; gap: 40px; margin-bottom: 48px; }
.section-row { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 14px; }
.section-title { margin: 0 0 14px; font-family: var(--font-display); font-size: 26px; letter-spacing: .03em; text-transform: uppercase; }
.section-row .section-title { margin: 0; }
.ach-progress { display: flex; align-items: center; gap: 16px; margin-bottom: 16px; color: var(--muted); font-size: 14px; }
.ach-progress strong { color: var(--win); font-family: var(--font-display); font-size: 20px; }
.ach-bar { flex: 1; height: 6px; background: #262626; }
.ach-bar span { display: block; height: 100%; background: var(--win); }
.ach-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.ach { display: flex; gap: 12px; padding: 12px; background: #0d0d0d; border: 1px solid #242424; border-left: 3px solid var(--win); }
.ach-icon { display: grid; place-items: center; width: 44px; height: 44px; flex: none; background: #1d1d1d; color: var(--ember-soft); }
.ach-icon .icon { width: 22px; height: 22px; }
.ach strong { display: block; font-size: 14px; }
.ach span { display: block; color: #bdbdbd; font-size: 13px; }
.ach small { color: var(--win); font-size: 12px; }
.badges { display: flex; flex-direction: column; gap: 12px; }
.badge { display: flex; align-items: center; gap: 14px; padding: 12px; background: #0d0d0d; border: 1px solid #242424; font-weight: 700; font-size: 14px; }
.badge img { width: 52px; height: 52px; object-fit: contain; }
.section-games { margin-top: 8px; }
@media (max-width: 1100px) { .match-grid { grid-template-columns: repeat(2, 1fr); } .profile-grid { grid-template-columns: 1fr; } }
@media (max-width: 860px) {
  .match-grid, .mode-switch, .ach-grid { grid-template-columns: 1fr; }
  .profile-head { flex-direction: column; align-items: flex-start; gap: 18px; padding: 28px 0 20px; }
  .profile-id h1 { font-size: 38px; }
  .profile-avatar { width: 80px; height: 80px; }
  .profile-score { text-align: left; padding-left: 0; border-left: 0; }
  .profile-score strong { font-size: 48px; }
  .activity-four { grid-template-columns: repeat(2, 1fr); }
  .activity-four div:nth-child(2) { border-right: 0; }
  .activity-four div:nth-child(-n+2) { border-bottom: 1px solid #33241a; }
}
.profile-sub { flex-wrap: wrap; gap: 4px 16px; } .profile-sub span { white-space: nowrap; } @media (max-width: 860px) { .match-map { height: 130px; } }

/* ---- mac karti: eski duzen, capraz bayraklar (7. tur) ---- */
.match-body { align-items: center; text-align: center; padding: 14px 14px 12px; flex: none; }
.match-body h3 { font-size: 18px; margin-bottom: 6px; }
.mode-tag { display: inline-block; padding: 1px 8px; border: 1px solid var(--ember); color: var(--ember-soft); font-size: 12px; font-weight: 700; margin-bottom: 8px; }
.match-meta { flex-direction: column; align-items: center; gap: 2px; }
.match-footer { position: relative; flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; min-height: 150px; padding: 26px 56px; background: #070707; border-top: 1px solid #1f1f1f; }
.match-footer .flag { position: absolute; width: clamp(28px, 9vw, 36px); height: auto; }
.flag-left { top: 12px; left: 14px; }
.flag-right { bottom: 12px; right: 14px; }
.match-footer .match-player { justify-content: center; gap: 6px; max-width: 100%; }
.match-footer .delta { margin-left: 4px; font-size: 16px; }
.match-footer .versus { padding: 0; font-family: var(--font-display); font-size: 22px; font-weight: 700; font-style: italic; letter-spacing: .06em; color: var(--text); }
.match-footer-note { min-height: 0; padding: 18px 14px; }
.match-note { padding: 4px 12px; border: 1px solid currentColor; border-radius: 999px; font-size: 13px; text-transform: uppercase; }
.match-players { display: none; }
/* iki oyuncu adi esit, yalniz VS buyuk (8. tur) */
.match-footer .match-player .nick, .match-footer .match-player:not(.is-winner) .nick { font-family: var(--font-body); font-size: 15px; font-weight: 600; color: #e6e6e6; }
.match-footer .delta { font-family: var(--font-body); font-size: 15px; font-weight: 600; }
.match-footer .winner-icon { width: 14px; height: 14px; }
.match-footer .versus { font-size: 30px; line-height: 1.1; margin: 2px 0; color: var(--ember-soft); }
.match-footer .versus { color: var(--text); }
/* harita onizlemesi: eski sitedeki gibi ustune gelince yavasca asagi kayar (9. tur; eski: transition all 4s, hover 50% 100%) */
.match-map { background-size: 100% auto; background-position: 50% 0; transition: background-position 4s ease 0.1s; }
.match-card:hover .match-map, .match-card:focus-visible .match-map { background-position: 50% 100%; }
/* tum zamanlar ELO yesil, kendi blogu (10. tur) */
.profile-head { gap: 32px; }
.profile-elo strong { color: var(--win); }
.profile-elo { padding-left: 28px; }
@media (max-width: 860px) { .profile-head { display: grid; grid-template-columns: 1fr 1fr; } .profile-id, .profile-rank { grid-column: 1 / -1; } .profile-elo { padding-left: 20px; border-left: 1px solid #3a2a1c; } }

/* ---- oyuncular, mac detayi, basarimlar (11. tur) ---- */
.avatar { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; flex: none; }
.avatar-lg { width: 64px; height: 64px; }
.avatar-initials { display: grid; place-items: center; background: #262626; color: var(--muted); font-weight: 700; font-size: 14px; }
.avatar-lg.avatar-initials { font-size: 20px; }

.player-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.player-card { display: flex; flex-direction: column; gap: 12px; padding: 16px; background: linear-gradient(160deg, #1a0e06 0%, #0d0d0d 55%); border: 1px solid #2a2a2a; border-top: 3px solid #3a3a3a; }
.player-card:hover { border-color: #4a3320; }
.player-card.is-first { border-top-color: var(--gold); }
.player-card.is-second { border-top-color: #c9c9c9; }
.player-card.is-third { border-top-color: #b8743c; }
.player-card-top { display: flex; align-items: center; justify-content: space-between; }
.player-rank { font-family: var(--font-display); font-size: 38px; line-height: 1; color: var(--text); }
.player-card.is-first .player-rank { color: var(--gold); }
.player-badge { width: 56px; height: auto; }
.player-card-id { display: flex; align-items: center; gap: 12px; }
.player-card-id strong { display: block; font-size: 16px; }
.player-card-id small { color: var(--ember-soft); font-weight: 700; font-size: 13px; }
.player-card-points { font-family: var(--font-display); font-size: 32px; line-height: 1; color: var(--gold); }
.player-card-points span { margin-left: 6px; font-family: var(--font-body); font-size: 13px; color: var(--muted); }
.player-card-stats { display: flex; gap: 16px; padding-top: 10px; border-top: 1px solid #242424; color: #cfcfcf; font-size: 13px; }
.player-card-stats span { display: inline-flex; align-items: center; gap: 6px; }
.player-card-stats .icon { width: 15px; height: 15px; color: var(--ember); }
.pager { display: flex; justify-content: center; gap: 8px; margin-top: 32px; }
.pager a { display: grid; place-items: center; min-width: 42px; height: 42px; border: 1px solid #333; font-weight: 700; }
.pager a.is-current { background: var(--ember); border-color: var(--ember); color: #000; }
.pager-next { width: 16px; height: 16px; transform: rotate(-90deg); }

.match-hero { position: relative; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 24px; padding: 40px 0 44px; }
.match-side { position: relative; display: flex; align-items: center; gap: 18px; }
.match-side-right { justify-content: flex-end; }
.match-side .faction { width: 110px; height: auto; }
.match-side .flag { width: 40px; height: auto; align-self: flex-end; }
.match-side-id { display: flex; align-items: center; gap: 14px; }
.match-side-id strong { display: block; font-family: var(--font-display); font-size: 30px; line-height: 1.1; letter-spacing: .02em; }
.match-side-right .match-side-id { text-align: right; }
.match-side .delta { margin-left: 0; font-size: 22px; }
.match-center { text-align: center; }
.match-result { display: inline-flex; align-items: center; gap: 8px; padding: 4px 14px; border: 1px solid var(--gold); color: var(--gold); font-weight: 700; font-size: 13px; text-transform: uppercase; }
.match-result .icon { width: 16px; height: 16px; }
.versus-xl { display: block; margin: 8px 0; font-family: var(--font-display); font-size: 54px; font-weight: 700; font-style: italic; line-height: 1; letter-spacing: .06em; color: var(--text); text-transform: uppercase; }
.match-meta-row { flex-direction: row; justify-content: center; gap: 16px; }
.match-info { display: grid; grid-template-columns: 1.1fr 1fr; gap: 36px; margin-bottom: 40px; }
.map-frame { position: relative; border: 1px solid #2a2a2a; }
.map-frame img { display: block; width: 100%; height: auto; }
.map-pin { position: absolute; transform: translate(-50%, -50%); padding: 2px 10px; font-size: 12px; font-weight: 700; background: rgba(0, 0, 0, .85); border: 1px solid; }
.map-pin-win { color: var(--win); border-color: var(--win); }
.map-pin-lost { color: var(--loss); border-color: var(--loss); }
.title-icon { width: 22px; height: 22px; color: var(--ember); margin-right: 8px; vertical-align: -3px; }
.settings { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.setting { display: flex; align-items: center; justify-content: space-between; padding: 12px 14px; background: #0d0d0d; border: 1px solid #242424; border-left: 3px solid var(--ember); font-size: 14px; }
.setting strong { font-family: var(--font-display); font-size: 17px; }
.setting-on, .setting-off { display: inline-flex; align-items: center; gap: 5px; font-weight: 700; font-size: 13px; }
.setting-on { color: var(--win); }
.setting-off { color: var(--muted); }
.setting .icon { width: 15px; height: 15px; }
.side-panels { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.side-panel { background: #0b0b0b; border: 1px solid #242424; border-top: 3px solid var(--win); }
.side-panel.side-lost { border-top-color: var(--loss); }
.side-head { display: flex; align-items: center; gap: 14px; padding: 18px 20px; border-bottom: 1px solid #1f1f1f; }
.side-head strong { display: block; font-family: var(--font-display); font-size: 24px; }
.side-head small { font-weight: 700; font-size: 13px; color: var(--win); }
.side-lost .side-head small { color: var(--loss); }
.side-rank { margin-left: auto; text-align: center; }
.side-rank img { display: block; width: 54px; height: auto; margin: 0 auto 2px; }
.side-rank span { font-family: var(--font-display); font-size: 16px; }
.side-stats { display: grid; grid-template-columns: repeat(3, 1fr); border-bottom: 1px solid #1f1f1f; }
.side-stats div { display: grid; grid-template-columns: auto 1fr; align-items: center; column-gap: 8px; padding: 12px 16px; border-right: 1px solid #1f1f1f; }
.side-stats div:last-child { border-right: 0; }
.side-stats .icon { grid-row: span 2; width: 20px; height: 20px; color: var(--ember-soft); }
.side-stats span { color: var(--muted); font-size: 12px; }
.side-stats strong { font-family: var(--font-display); font-size: 20px; }
.unit-block { padding: 6px 20px 16px; }
.unit-block-lost { border-top: 1px solid #1f1f1f; background: #080808; }
.unit-block h4 { margin: 14px 0 8px; font-size: 13px; font-weight: 700; color: #cfcfcf; }
.units { display: flex; flex-wrap: wrap; gap: 6px; }
.unit { width: 60px; }
.unit span { display: block; text-align: center; font-size: 12px; font-weight: 700; color: #bdbdbd; background: #000; }
/* Simgesi olmayan tip: adi simge kutusunda yazilir (Hornet, Tamirhane). */
.unit-name { display: grid; place-items: center; height: 48px; font-size: 10px; line-height: 1.1; text-align: center; color: var(--muted); background: #161616; }

.ach-summary { min-width: 340px; display: grid; grid-template-columns: auto 1fr; align-items: baseline; column-gap: 8px; }
.ach-summary strong { font-family: var(--font-display); font-size: 56px; line-height: 1; color: var(--win); }
.ach-summary > span { color: var(--muted); font-family: var(--font-display); font-size: 24px; }
.ach-summary .ach-bar { grid-column: 1 / -1; height: 8px; margin-top: 10px; }
.ach-summary small { grid-column: 1 / -1; color: var(--muted); margin-top: 6px; }
.ach-tabs { position: relative; display: flex; gap: 6px; flex-wrap: wrap; padding-bottom: 28px; }
.ach-tabs a { padding: 9px 16px; border: 1px solid #333; font-weight: 700; font-size: 14px; }
.ach-tabs a.is-current { border-color: var(--ember); color: var(--ember-soft); box-shadow: inset 0 -2px 0 var(--ember); }
.ach-grid-recent { margin-bottom: 8px; }
.ach .yr-cameo, .ach-cameo { width: 60px; height: 48px; flex: none; }
.ach-cameo-icon { display: grid; place-items: center; background: #1d1d1d; color: var(--gold); }
.ach-cameo-icon .icon { width: 24px; height: 24px; }
.section-gap { margin-top: 40px; }
.ach-cats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.ach-cat { background: #0d0d0d; border: 1px solid #242424; }
.ach-cat header { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-bottom: 1px solid #1f1f1f; background: #121212; }
.ach-cat-icon { width: 44px; height: 44px; }
.ach-cat strong { display: block; }
.ach-cat small, .unit-ach small { color: var(--muted); font-size: 12px; }
.tiers { list-style: none; margin: 0; padding: 6px 14px 12px; }
.tier { padding: 8px 0; border-bottom: 1px solid #1a1a1a; }
.tier:last-child { border-bottom: 0; }
.tier-line { display: flex; align-items: center; gap: 6px; font-size: 14px; }
.tier-line span { margin-left: auto; color: var(--muted); font-size: 13px; }
.tier-mark { width: 14px; height: 14px; color: #6b6b6b; }
.tier.is-done .tier-mark, .tier.is-done strong { color: var(--win); }
.tier-bar { height: 4px; margin: 6px 0 4px; background: #242424; }
.tier-bar span { display: block; height: 100%; background: var(--ember); }
.tier.is-done .tier-bar span { background: var(--win); }
.unit-achs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.unit-ach { display: flex; gap: 14px; padding: 12px; background: #0d0d0d; border: 1px solid #242424; }
.unit-ach-body { flex: 1; min-width: 0; }
.unit-ach .tier-bar span { background: var(--win); }
.all-done { color: var(--win) !important; font-weight: 700; }
@media (max-width: 1100px) {
  .player-grid, .ach-cats { grid-template-columns: repeat(2, 1fr); }
  .match-info, .side-panels { grid-template-columns: 1fr; }
  .unit-achs { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 860px) {
  .player-grid, .ach-cats, .unit-achs, .settings { grid-template-columns: 1fr; }
  .match-hero { grid-template-columns: 1fr; text-align: center; gap: 14px; padding: 24px 0 28px; }
  .match-side, .match-side-right { justify-content: center; }
  .match-side .faction { display: none; }
  .match-side-id strong { font-size: 24px; }
  .versus-xl { font-size: 40px; }
  .match-meta-row { flex-direction: column; gap: 2px; }
  .side-stats div { padding: 10px; }
  .ach-summary { min-width: 0; width: 100%; }
}
.ach-summary .ach-bar { width: 100%; }
@media (max-width: 860px) {
  .player-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .player-card { padding: 12px; gap: 8px; }
  .player-rank { font-size: 26px; }
  .player-badge { width: 40px; }
  .player-card-id .avatar { width: 32px; height: 32px; font-size: 11px; }
  .player-card-id { gap: 8px; }
  .player-card-id strong { font-size: 14px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 100px; }
  .player-card-points { font-size: 24px; }
  .player-card-stats { flex-direction: column; gap: 2px; }
  .profile-id .eyebrow::after { display: none; }
}
@media (max-width: 860px) { .ach-summary { grid-column: 1 / -1; } }

/* ---- responsive duzeltme (12. tur): menu 1100px altinda hamburger + acilir panel; profil basligi sarar ---- */
.mobile-menu { position: relative; z-index: 3; background: #0d0d0d; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.mobile-menu[hidden] { display: none; }
.mobile-menu .wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 28px; padding: 18px 0 22px; }
.mobile-group { display: flex; flex-direction: column; }
.mobile-group small { color: var(--muted); font-size: 12px; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 6px; }
.mobile-group a { display: flex; align-items: center; gap: 10px; padding: 10px 0; font-weight: 700; text-transform: uppercase; font-size: 15px; border-bottom: 1px solid #1d1d1d; }
.mobile-group a .icon { width: 18px; height: 18px; color: var(--ember); }
.mobile-group a.is-active { color: var(--ember-soft); }
.mobile-group .season-link, .mobile-group .season-link .icon { color: var(--gold); }
.mobile-account { grid-column: 1 / -1; display: flex; gap: 12px; }
.mobile-account a { flex: 1; display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 46px; border: 1px solid #333; font-weight: 700; text-transform: uppercase; font-size: 14px; }
.mobile-account .button-small { border-color: var(--text); }
.mobile-account .icon { width: 18px; height: 18px; color: var(--ember); }
.menu-button[aria-expanded="true"] { border-color: var(--ember); }
@media (max-width: 1100px) {
  .main-menu, .header-account { display: none; }
  .menu-button { display: block; }
  .site-header .wrap { height: 84px; }
  .site-header img { height: 52px; }
  .profile-head { flex-wrap: wrap; }
  .profile-id { flex-basis: 100%; }
  .profile-rank { margin-right: auto; }
}
@media (max-width: 560px) { .mobile-menu .wrap { grid-template-columns: 1fr; } }
.site-header .mobile-menu .wrap { height: auto; display: grid; }
/* tablet ara duzeni (561-860px, 13. tur) */
@media (min-width: 561px) and (max-width: 860px) {
  .modes { grid-template-columns: repeat(3, 1fr); gap: 14px; }
  .modes-raised .mode-card { min-height: 220px; padding: 18px; }
  .mode-card h3 { font-size: 24px; }
  .mode-stats { flex-direction: column; gap: 2px; }
  .settings, .match-grid, .ach-grid, .unit-achs, .ach-cats { grid-template-columns: repeat(2, 1fr); }
  .mode-switch { grid-template-columns: repeat(3, 1fr); }
  .player-grid { grid-template-columns: repeat(3, 1fr); }
}
/* siralama sayfasinda puanlar yesil (14. tur, kullanici) */ .podium-place .points, .table .score { color: var(--win); }
/* oyuncu kartlari: eski sitenin taraf resimleri arka planda (15. tur, kullanici) */
.player-card.has-image { position: relative; overflow: hidden; background: #0d0d0d; }
.player-card.has-image::before { content: ""; position: absolute; inset: 0; background-image: var(--card-image); background-repeat: no-repeat; background-position: right top; background-size: cover; }
.player-card.has-image::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(8, 8, 8, .94) 0%, rgba(8, 8, 8, .78) 45%, rgba(8, 8, 8, .2) 100%), linear-gradient(0deg, rgba(8, 8, 8, .85) 0%, rgba(8, 8, 8, 0) 45%); }
.player-card.has-image > * { position: relative; z-index: 1; }
.player-card.has-image .player-badge { filter: drop-shadow(0 2px 6px rgba(0, 0, 0, .8)); }
/* mac ust bolumu: tablette yan yana, yalniz telefonda alt alta (16. tur) */
@media (max-width: 1100px) { .match-side .faction { display: none; } }
@media (min-width: 561px) and (max-width: 860px) {
  .match-hero { grid-template-columns: 1fr auto 1fr; text-align: left; gap: 16px; padding: 30px 0 34px; }
  .match-side { flex-direction: column; align-items: center; gap: 8px; }
  .match-side-id, .match-side-right .match-side-id { flex-direction: column; text-align: center; gap: 8px; }
  .match-side-right .match-side-id { flex-direction: column-reverse; }
  .match-side .flag { align-self: center; }
  .match-meta-row { flex-direction: column; gap: 2px; }
}
@media (min-width: 561px) and (max-width: 860px) { .match-side-right { flex-direction: column-reverse; } }

/* ==== gercek siteye gecis (2026-11-21) ==== */
img { max-width: 100%; }
button { font: inherit; color: inherit; }
.site-logo { flex: none; display: block; }
.site-logo img { display: block; width: auto; }
/* acilir menuler (<details>): mod, sezon, hesap */
.menu-drop { position: relative; }
.menu-drop > summary { display: inline-flex; align-items: center; gap: 8px; padding: 6px 0; cursor: pointer; list-style: none; white-space: nowrap; border-bottom: 2px solid transparent; }
.menu-drop > summary::-webkit-details-marker { display: none; }
.menu-drop > summary:focus-visible { outline: 2px solid var(--ember); outline-offset: 3px; }
.main-menu .menu-drop > summary .icon { width: 17px; height: 17px; color: var(--ember); }
.main-menu .menu-drop > summary .chevron { width: 14px; height: 14px; color: var(--muted); margin-left: -2px; transition: transform .15s; }
.menu-drop[open] > summary .chevron { transform: rotate(180deg); }
.main-menu .menu-drop > summary.is-active { color: var(--ember-soft); }
.main-menu .menu-drop > summary.season-link, .main-menu .menu-drop > summary.season-link .icon { color: var(--gold); }
.menu-drop-panel { position: absolute; top: calc(100% + 10px); left: 0; z-index: 20; min-width: 220px; padding: 8px 0; background: #111; border: 1px solid var(--line); border-top: 2px solid var(--ember); box-shadow: 0 12px 30px rgba(0, 0, 0, .6); text-transform: none; font-size: 15px; font-weight: 600; }
.menu-drop-right .menu-drop-panel { left: auto; right: 0; }
.menu-drop-panel a, .menu-drop-panel button { display: flex; align-items: center; gap: 10px; width: 100%; padding: 9px 16px; background: none; border: 0; text-align: left; cursor: pointer; white-space: nowrap; }
.menu-drop-panel a:hover, .menu-drop-panel button:hover { background: #1c1c1c; color: var(--ember-soft); }
.menu-drop-panel a.is-current { color: var(--ember-soft); box-shadow: inset 3px 0 0 var(--ember); }
.menu-drop-panel .icon { width: 16px; height: 16px; color: var(--ember); }
.menu-drop-panel form { margin: 0; border-top: 1px solid #222; margin-top: 4px; padding-top: 4px; }
.menu-drop-title { display: block; padding: 4px 16px 6px; color: var(--muted); font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; }
.live-tag, .archive-tag { margin-left: 8px; padding: 0 6px; font-size: 11px; font-weight: 700; text-transform: uppercase; line-height: 18px; }
.live-tag { background: rgba(34, 214, 0, .14); color: var(--win); }
.archive-tag { background: var(--ember); color: #111; }
.header-account .menu-drop > summary { gap: 8px; }
.header-account .menu-drop > summary .icon { width: 17px; height: 17px; color: var(--ember); }
.header-account .menu-drop > summary .chevron { width: 14px; height: 14px; color: var(--muted); }
.mobile-seasons a { font-size: 14px; padding: 8px 0; }
/* ana sayfa: ay sonu sampiyonlari */
.section-note { color: var(--muted); font-size: 14px; }
.empty-note { grid-column: 1 / -1; color: var(--muted); text-align: center; }
.champion-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.champion-card { position: relative; display: flex; flex-direction: column; justify-content: flex-end; gap: 2px; min-height: 200px; padding: 20px; overflow: hidden; border: 1px solid #2a2a2a; border-top: 3px solid var(--gold); background: #0d0d0d; }
.champion-card::before { content: ""; position: absolute; inset: 0; background: var(--card-image) center 30% / cover no-repeat; }
.champion-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(8, 8, 8, .15) 0%, rgba(8, 8, 8, .92) 75%); }
.champion-card > * { position: relative; z-index: 1; }
.champion-mode { display: inline-flex; align-items: center; gap: 6px; color: var(--gold); font-weight: 700; font-size: 13px; text-transform: uppercase; }
.champion-mode .icon { width: 16px; height: 16px; }
.champion-name { font-family: var(--font-display); font-size: 30px; line-height: 1.1; letter-spacing: .02em; }
.champion-stats { color: #d0d0d0; font-size: 14px; }
.champion-status { margin-top: 6px; color: var(--muted); font-size: 12px; text-transform: uppercase; letter-spacing: .06em; }
@media (max-width: 860px) { .champion-grid { grid-template-columns: 1fr; } }
@media (min-width: 561px) and (max-width: 860px) { .champion-grid { grid-template-columns: repeat(3, 1fr); gap: 12px; } .champion-name { font-size: 22px; } }
/* sezonun son 24 saati alt seridi (partials.season-countdown; JS .countdown sinifini arar) */
footer.countdown { position: fixed; left: 0; right: 0; bottom: 0; z-index: 1020; display: flex; align-items: center; justify-content: center; gap: 16px; padding: 10px 16px; background: rgba(12, 8, 4, .96); border-top: 2px solid var(--ember); }
footer.countdown h1 { margin: 0; font-family: var(--font-display); font-size: 18px; font-weight: 600; letter-spacing: .03em; text-transform: uppercase; }
footer.countdown .countdown-fill { color: var(--gold); }
footer.countdown .close-countdown { background: none; border: 1px solid #444; width: 34px; height: 34px; cursor: pointer; }
footer.countdown.countdown-hidden { display: none; }
body.has-archive-banner { padding-bottom: 130px; }
/* eski sayfalarda (henuz donusturulmemis) Bootstrap'in genel kurallari yeni cerceveyi bozmasin */
.legacy-page .site-header a, .legacy-page .site-footer a { color: inherit; text-decoration: none; }
.legacy-page .site-header, .legacy-page .site-footer { font-family: var(--font-body); line-height: 1.6; }
/* siralama: gercek avatarlar + tablo + sayfalama */
.podium-place { display: block; }
.podium-place .avatar-img { width: 84px; height: 84px; border-radius: 50%; object-fit: cover; margin: 10px auto 12px; display: block; background: #262626; }
.podium-place.first .avatar-img { width: 104px; height: 104px; box-shadow: 0 0 0 3px var(--gold); }
.podium-place:hover .nick { color: var(--ember-soft); }
.band-board { padding-top: 40px; }
.table .player .avatar-img { width: 34px; height: 34px; border-radius: 50%; object-fit: cover; background: #262626; flex: none; }
.table a.player:hover span { color: var(--ember-soft); }
.table tbody tr:hover { background: #161616; }
.muted { color: var(--muted); }
.empty-note { display: flex; align-items: center; justify-content: center; gap: 8px; padding: 32px 0; }
.pagination-wrap { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; margin-top: 32px; }
.page-btn { display: inline-grid; place-items: center; min-width: 42px; height: 42px; padding: 0 10px; border: 1px solid #333; font-weight: 700; }
.page-btn:hover { border-color: var(--ember); color: var(--ember-soft); }
.page-btn.is-active { background: var(--ember); border-color: var(--ember); color: #000; }
.page-btn.is-disabled { opacity: .35; pointer-events: none; }
.page-dots { display: inline-grid; place-items: center; min-width: 30px; color: var(--muted); }
@media (max-width: 860px) {
  .podium-place .avatar-img, .podium-place.first .avatar-img { width: 56px; height: 56px; margin: 0; }
  .table .player .avatar-img { width: 28px; height: 28px; }
}
/* mac karti ekleri */
.status-cancel { color: var(--muted); }
.bot-tag { border-color: #8a94a6; color: #a9b2c2; }
.drop-mark { display: inline-flex; color: #e91e63; }
.drop-mark .icon { width: 14px; height: 14px; }
.match-footer .flag { width: clamp(28px, 9vw, 36px); height: auto; }
/* mac detayi ekleri */
.band-match { padding-top: 48px; }
.match-info .mode-tag { margin: -6px 0 12px; }
.match-result.is-neutral { border-color: var(--muted); color: #d0d0d0; }
.side-panel.side-neutral { border-top-color: var(--muted); }
.match-side-id a:hover, .side-head a:hover { color: var(--ember-soft); }
.match-side-id .delta { display: block; }
.side-head .avatar { width: 48px; height: 48px; }
.unit .yr-cameo { display: block; }
.map-pin { white-space: nowrap; }
/* basarimlar: birim karti acilir (<details>) */
.unit-ach { display: block; padding: 0; }
.unit-ach > summary { display: flex; align-items: center; gap: 14px; padding: 12px; cursor: pointer; list-style: none; }
.unit-ach > summary::-webkit-details-marker { display: none; }
.unit-ach-body { display: block; }
.unit-ach-body .tier-line, .unit-ach-body .tier-bar { display: flex; }
.unit-ach-body .tier-bar { display: block; }
.unit-ach-toggle { width: 16px; height: 16px; color: var(--muted); transition: transform .15s; }
.unit-ach[open] .unit-ach-toggle { transform: rotate(180deg); }
.unit-ach[open] { border-color: #3a2a1c; }
.unit-ach .tiers { border-top: 1px solid #1f1f1f; }
.tier small { color: var(--muted); font-size: 12px; }
.tier-kind { margin-left: 4px; padding: 0 6px; border: 1px solid #333; font-size: 11px; }
.profile-id .text-link { margin-top: 6px; }
.ach-tabs a:hover { border-color: var(--ember); }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
/* mod ana sayfasi: rutbe listesi */
.rank-list > summary { display: flex; align-items: center; gap: 4px; cursor: pointer; list-style: none; }
.rank-list > summary::-webkit-details-marker { display: none; }
.rank-list .chevron { width: 18px; height: 18px; color: var(--muted); transition: transform .15s; }
.rank-list[open] .chevron { transform: rotate(180deg); }
.rank-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 12px; }
.rank-item { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 14px 8px; background: #0d0d0d; border: 1px solid #242424; font-weight: 700; font-size: 14px; text-align: center; }
.rank-item img { width: 72px; height: auto; }
.footer-links { flex-wrap: wrap; gap: 10px 22px; padding: 0 8px; }
/* harita onizlemesi: eski sitedeki gibi resim ORIJINAL boyutta (yatay resimler kucultulunce kart yuksekliginden kisa kalip
   gri bosluk birakiyordu, kullanici 2026-11-21); sol ustten baslar, ustune gelince ortaya-asagiya kayar. */
.match-map { background-size: auto; background-position: 0 0; background-color: #000; }
.match-card:hover .match-map, .match-card:focus-visible .match-map { background-position: 50% 100%; }
/* ==== kalan sayfalar (2026-11-21): formlar, ayarlar, sezonlar, metin sayfalari, hata ==== */
.band-form { padding: 48px 0 72px; }
.form-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 28px; align-items: start; }
.form-card { padding: 26px; background: #0d0d0d; border: 1px solid #242424; border-top: 3px solid var(--ember); }
.form-card > * + * { margin-top: 14px; }
.form-card p { margin: 0; color: #d6d6d6; }
.form-card.narrow { max-width: 640px; }
.form-side { padding: 8px 0; color: #cfcfcf; }
.field { display: block; margin-bottom: 16px; }
.field span { display: block; margin-bottom: 6px; color: var(--muted); font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; }
.field input { width: 100%; height: 48px; padding: 0 14px; background: #050505; border: 1px solid #333; color: var(--text); font: inherit; }
.field input[type="file"] { height: auto; padding: 10px; }
.field input:focus { outline: none; border-color: var(--ember); box-shadow: 0 0 0 2px rgba(246, 139, 0, .25); }
.form-hint { color: var(--muted) !important; font-size: 14px; }
.form-foot { color: var(--muted) !important; font-size: 14px; }
.form-alert { padding: 12px 14px; border: 1px solid var(--loss); background: rgba(224, 72, 62, .1); }
.form-alert.is-success { border-color: var(--win); background: rgba(34, 214, 0, .08); }
.form-alert p { display: flex; align-items: center; gap: 8px; margin: 0; }
.button { border: 0; cursor: pointer; font-family: var(--font-body); }
.button-block { display: flex; width: 100%; min-width: 0; }
.button-solid:hover { background: var(--ember-soft); }
.button-outline { color: var(--text); background: none; }
.button-outline:hover { border-color: var(--ember); color: var(--ember-soft); }
.button-danger { background: #7a2530; color: #fff; min-width: 0; }
.steps { margin: 0; padding-left: 22px; color: #d6d6d6; }
.steps li { margin: 6px 0; }
.meta-list { display: grid; grid-template-columns: max-content 1fr; gap: 8px 18px; margin: 0; }
.meta-list dt { color: var(--muted); }
.meta-list dd { margin: 0; font-weight: 700; }
.settings-shell { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 28px; align-items: start; }
.settings-tab-radio { position: absolute; opacity: 0; pointer-events: none; }
.settings-nav { display: flex; flex-direction: column; gap: 6px; }
.settings-nav-item { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border: 1px solid #2a2a2a; cursor: pointer; font-weight: 700; }
.settings-nav-item .icon { color: var(--ember); }
.settings-nav-item:hover { border-color: #4a3320; }
.settings-panel { display: none; }
#tab-account:checked ~ .settings-content [data-panel="account"], #tab-nick:checked ~ .settings-content [data-panel="nick"],
#tab-password:checked ~ .settings-content [data-panel="password"], #tab-avatar:checked ~ .settings-content [data-panel="avatar"] { display: block; }
#tab-account:checked ~ .settings-nav [data-tab="account"], #tab-nick:checked ~ .settings-nav [data-tab="nick"],
#tab-password:checked ~ .settings-nav [data-tab="password"], #tab-avatar:checked ~ .settings-nav [data-tab="avatar"] { border-color: var(--ember); color: var(--ember-soft); box-shadow: inset 3px 0 0 var(--ember); }
.settings-tab-radio:focus-visible ~ .settings-nav { outline: 2px solid var(--ember); outline-offset: 4px; }
.settings-avatar { width: 112px; height: 112px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 3px var(--gold); }
.season-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.season-card { display: flex; flex-direction: column; gap: 4px; padding: 18px; background: #0d0d0d; border: 1px solid #242424; border-left: 3px solid #3a3a3a; }
.season-card strong { font-family: var(--font-display); font-size: 22px; letter-spacing: .02em; }
.season-card span { color: var(--muted); font-size: 14px; }
.season-card.is-current { border-left-color: var(--win); }
.season-card:hover { border-color: #4a3320; }
.podium-compact .podium-place { padding-top: 22px; }
.prose { max-width: 820px; color: #d6d6d6; }
.prose p, .prose li { line-height: 1.75; }
.prose img { display: block; width: 100%; height: auto; margin-bottom: 18px; border: 1px solid #242424; }
.prose a:not(.text-link) { color: var(--ember-soft); }
.legal-notice__updated { color: var(--muted); font-size: 13px; }
.error-page { min-height: 100vh; display: grid; place-items: center; text-align: center; }
.error-page .wrap { position: relative; display: flex; flex-direction: column; align-items: center; gap: 14px; }
.error-code { font-family: var(--font-display); font-size: 120px; line-height: 1; color: var(--ember); }
.error-page p { margin: 0 0 8px; color: #d6d6d6; font-size: 18px; }
@media (max-width: 860px) {
  .form-layout, .settings-shell { grid-template-columns: 1fr; }
  .settings-nav { flex-direction: row; flex-wrap: wrap; }
  .settings-nav-item { flex: 1 1 45%; }
  .season-grid { grid-template-columns: repeat(2, 1fr); }
  .error-code { font-size: 84px; }
}
/* mac detayi harita isaretleri: numara + ad + sonuc (eski sitedeki gibi Kazandi/Kaybetti yazar; kullanici 2026-11-21) */
.map-pin { display: inline-flex; align-items: center; gap: 8px; padding: 4px 10px 4px 4px; line-height: 1.2; }
.map-pin b { display: grid; place-items: center; min-width: 22px; height: 22px; color: #000; background: #9fb4c8; }
.map-pin-win b { background: var(--win); }
.map-pin-lost b { background: var(--loss); }
.map-pin-text { display: flex; flex-direction: column; }
.map-pin-text span { color: var(--text); font-size: 12px; }
.map-pin-text small { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; }
.map-pin:not(.map-pin-win):not(.map-pin-lost) { color: #9fb4c8; border-color: #9fb4c8; }
/* oyuncu kartlari: masaustunde 3'lu ve daha buyuk (kullanici 2026-11-21) */
.player-grid { grid-template-columns: repeat(3, 1fr); gap: 22px; }
.player-card { padding: 22px; gap: 16px; min-height: 250px; }
.player-rank { font-size: 48px; }
.player-badge { width: 76px; }
.player-card-id { gap: 14px; }
.player-card-id .avatar, .player-card-id .avatar-img { width: 56px; height: 56px; }
.player-card-id strong { font-size: 19px; }
.player-card-id small { font-size: 14px; }
.player-card-points { font-size: 42px; }
.player-card-stats { font-size: 15px; gap: 22px; }
.player-card-stats .icon { width: 17px; height: 17px; }
@media (max-width: 1100px) { .player-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 561px) and (max-width: 860px) { .player-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) {
  .player-grid { grid-template-columns: 1fr; gap: 12px; }
  .player-card { min-height: 0; padding: 16px; }
  .player-rank { font-size: 34px; }
  .player-badge { width: 56px; }
  .player-card-id strong { max-width: none; }
  .player-card-points { font-size: 32px; }
  .player-card-stats { flex-direction: row; }
}
/* form kartlari: yan yana iki kart ayni boyda, dugmeler kucuk ve kartin altinda (kullanici 2026-11-21) */
.form-layout { align-items: stretch; }
.form-card { display: flex; flex-direction: column; }
.form-card .button-row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: auto; padding-top: 18px; }
.form-card .button { min-width: 0; height: 44px; padding: 0 20px; font-size: 13px; }
.form-card .button-block { width: 100%; height: 48px; }
.button-outline { border: 1px solid var(--text); }
.form-side { align-self: start; }
@media (max-width: 560px) { .form-card .button-row .button { flex: 1 1 100%; } }
/* harita kaymasi eski siteyle birebir (kullanici 2026-11-21): her zaman calisir; "hareketi azalt" ayari kaymayi kapatmaz. */
.match-map { transition: background-position 4s ease 0.1s; }
/* mac detayi oyuncu paneli: cerceve tamamen yesil (kazanan) / kirmizi (kaybeden); ulke + renk rutbenin altinda (kullanici 2026-11-21) */
.side-panel { border: 2px solid var(--win); }
.side-panel.side-lost { border-color: var(--loss); }
.side-panel.side-neutral { border-color: #3a3a3a; }
.side-head { flex-wrap: wrap; }
.side-origin { display: flex; flex-direction: column; align-items: flex-end; gap: 4px; flex-basis: 100%; margin-top: -4px; font-size: 13px; color: #d0d0d0; }
.side-country, .side-color { display: inline-flex; align-items: center; gap: 8px; }
.side-country img { width: 36px; height: auto; }
.side-color i { width: 12px; height: 12px; border: 1px solid rgba(255, 255, 255, .4); background: #666; }
/* mac detayi ust bolum: aynali duzen + puan kutusu (kullanici 2026-11-21) */
.match-side { flex-direction: row; justify-content: flex-start; }
.match-side-right { flex-direction: row-reverse; justify-content: flex-start; }
.match-side-id { flex: 0 1 auto; min-width: 0; }
.match-side-right .match-side-id { flex-direction: row-reverse; text-align: right; }
.match-side-id strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.match-score { display: grid; place-items: center; flex: none; min-width: 74px; height: 64px; padding: 0 10px; border: 2px solid currentColor; background: rgba(0, 0, 0, .55); font-family: var(--font-display); font-size: 30px; font-weight: 700; line-height: 1; }
.match-side .match-score { margin-left: auto; }
.match-side-right .match-score { margin-left: 0; margin-right: auto; }
@media (min-width: 561px) and (max-width: 860px) {
  .match-side, .match-side-right { flex-direction: column; align-items: center; }
  .match-side-id, .match-side-right .match-side-id { flex-direction: column; text-align: center; }
  .match-side .match-score, .match-side-right .match-score { margin: 0; }
}
@media (max-width: 560px) {
  .match-side, .match-side-right { flex-direction: row; justify-content: center; }
  .match-side-right .match-side-id { flex-direction: row; text-align: left; }
  .match-side .match-score, .match-side-right .match-score { margin: 0 0 0 8px; min-width: 60px; height: 52px; font-size: 24px; }
}
/* mac karti: mod + bot etiketleri yan yana (kullanici 2026-11-21) */
.match-tags { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin-bottom: 8px; }
.match-tags .mode-tag { margin-bottom: 0; }
.match-tags:empty { display: none; }
/* mac detayi puani: kutu yok, ismin hemen yaninda (iki tarafta da bosluk birakmaz; kullanici 2026-11-21) */
.match-score { min-width: 0; height: auto; padding: 0; border: 0; background: none; font-size: 34px; }
.match-side .match-score, .match-side-right .match-score { margin: 0; }
@media (max-width: 560px) { .match-side .match-score, .match-side-right .match-score { margin: 0 0 0 8px; min-width: 0; height: auto; font-size: 26px; } }
/* mac detayi oyuncu paneli basligi: buyuk rutbe + sira, sag sutunda ulke/renk; iki panel ayni yukseklik (kullanici 2026-11-21) */
.side-head { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 16px; min-height: 150px; padding: 20px 22px; }
.side-head strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 28px; }
.side-head .avatar { width: 64px; height: 64px; }
.side-meta { display: flex; flex-direction: column; align-items: flex-end; gap: 8px; }
.side-rank { display: flex; align-items: center; gap: 14px; margin: 0; text-align: right; }
.side-rank img { width: 88px; height: auto; margin: 0; filter: drop-shadow(0 2px 8px rgba(0, 0, 0, .7)); }
.side-position { font-family: var(--font-display); font-size: 26px; line-height: 1; color: var(--gold); white-space: nowrap; }
.side-unranked { color: var(--muted); font-size: 14px; font-weight: 700; text-transform: uppercase; }
.side-origin { flex-basis: auto; margin: 0; align-items: flex-end; font-size: 14px; }
.side-country img { width: 40px; }
@media (max-width: 1100px) and (min-width: 561px) { .side-rank img { width: 76px; } }
@media (max-width: 560px) {
  .side-head { grid-template-columns: auto minmax(0, 1fr); min-height: 0; padding: 16px; gap: 12px; }
  .side-head strong { font-size: 22px; }
  .side-head .avatar { width: 52px; height: 52px; }
  .side-meta { grid-column: 1 / -1; flex-direction: row; justify-content: space-between; align-items: center; padding-top: 10px; border-top: 1px solid #1f1f1f; }
  .side-rank { gap: 10px; }
  .side-rank img { width: 64px; }
  .side-position { font-size: 22px; }
  .side-origin { align-items: flex-end; font-size: 13px; }
  .side-stats div { padding: 10px 8px; }
  .side-stats strong { font-size: 18px; }
}
/* mac detayi: sira ismin altinda ve buyuk; ust bolumde puan-VS arasi iki tarafta esit (kullanici 2026-11-21) */
.side-head > div:not(.side-meta) { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; min-width: 0; }
.side-head .side-position { margin-top: 6px; font-size: 30px; }
.side-head small { font-size: 14px; }
.match-side { justify-content: flex-end; }
.match-side .faction { margin-right: auto; }
.match-side-right { justify-content: flex-end; }
.match-side-right .faction { margin-right: 0; margin-left: auto; }
@media (max-width: 1100px) { .match-side, .match-side-right { justify-content: center; } }
@media (max-width: 560px) { .side-head .side-position { font-size: 24px; } }
/* oyuncu karti rutbe armasi buyuk (kullanici 2026-11-21) */
.player-card-top { align-items: flex-start; }
.player-badge { width: 104px; margin: -6px -4px -18px 0; }
@media (max-width: 1100px) { .player-badge { width: 92px; } }
@media (max-width: 560px) { .player-badge { width: 72px; margin: -4px 0 -8px 0; } }
/* giris formu: dugme normal boyda, ogeler arasinda bosluk (kullanici 2026-11-21) */
.form-card form { display: flex; flex-direction: column; gap: 4px; }
.form-card form .field { margin-bottom: 12px; }
.form-card form .form-hint { margin: 0 0 18px; line-height: 1.6; }
.form-card form button[type="submit"] { align-self: flex-start; min-width: 180px; }
.form-card .form-foot { margin-top: 22px; padding-top: 16px; border-top: 1px solid #222; }
@media (max-width: 560px) { .form-card form button[type="submit"] { align-self: stretch; } }
/* mac karti alt kismi: bayraklar ve puan degisimi biraz buyuk; isimler ayni (kullanici 2026-11-21) */
.match-footer .flag { width: clamp(36px, 11vw, 46px); }
.match-footer .delta { font-size: 18px; font-weight: 700; }
/* mac detayi: ulke basligin sag alt kosesinde sabit, renk satiri yok (kullanici 2026-11-21) */
.side-meta { align-self: stretch; justify-content: space-between; }
.side-origin { margin-top: auto; }
@media (max-width: 560px) { .side-meta { align-self: auto; } .side-origin { margin-top: 0; } }
/* mac detayi: ulke ismin altinda, sira sag altta rutbenin altinda (kullanici 2026-11-21) */
.side-head > div:not(.side-meta) .side-country { margin-top: 8px; font-size: 14px; color: #d0d0d0; }
.side-origin .side-position { font-size: 30px; }
@media (max-width: 560px) { .side-origin .side-position { font-size: 24px; } }
/* baglanti kesik mac: sonuc etiketi ve harita isaretleri kirmizi (kullanici 2026-11-21) */
.match-result.is-cut { border-color: var(--loss); color: var(--loss); }
.map-pin.map-pin-cut { color: var(--loss); border-color: var(--loss); }
.map-pin.map-pin-cut b { background: var(--loss); }
.map-pin.map-pin-cut:not(.map-pin-win):not(.map-pin-lost) { color: var(--loss); border-color: var(--loss); }
/* kazanansiz maclar (kullanici 2026-11-21): VS yaninda durum ikonu; berabere turuncu el sikisma, kopma/iptal kirmizi */
.versus-xl { display: inline-flex; align-items: center; justify-content: center; gap: 14px; }
.vs-icon { display: inline-flex; }
.vs-icon .icon { width: 34px; height: 34px; stroke-width: 2.2; }
.vs-icon.is-draw, .match-result.is-draw { color: #e96b1e; border-color: #e96b1e; }
.vs-icon.is-cut { color: var(--loss); }
.status-cancel { color: var(--loss); }
.status-draw { color: #e96b1e; }
@media (max-width: 860px) { .vs-icon .icon { width: 26px; height: 26px; } }
.versus-xl { display: flex; }
.vs-icon-spacer { visibility: hidden; }
/* basarim gorseli: galibiyet kupasi ortali/altin (".ach span" kuralini ezer), taraf basarimlarinda taraf armasi (kullanici 2026-11-21) */
.ach .ach-cameo-icon, .ach-cat .ach-cameo-icon { display: grid; place-items: center; background: #1d1d1d; color: var(--gold); }
.ach .ach-cameo-icon .icon { width: 26px; height: 26px; }
.ach-emblem { display: grid !important; place-items: center; background: #1d1d1d; }
.ach-emblem img { max-width: 86%; max-height: 86%; object-fit: contain; }
/* 0 puan mavi (eski sitedeki #2d9bff; kullanici 2026-11-21) */
.delta-zero, .match-score.delta-zero { color: #2d9bff; }
/* ana sayfa: ay sonu sampiyonlari mod kartlarinin ustunde (kullanici 2026-11-21) */
.champions-raised { position: relative; margin-bottom: 26px; }
.champions-raised .section-row { margin-bottom: 12px; }
.champions-raised .champion-card { min-height: 170px; }
