.tournament-list-theme-body { min-height: 100vh; background: #07111d; }
.tournament-list-main { width: 100%; max-width: none; margin: 0; padding: 0 0 56px; }
.tournament-list-page { color: #edf2fa; }

.tournament-list-hero {
  min-height: 172px;
  display: flex;
  align-items: center;
  overflow: hidden;
  border-bottom: 1px solid rgba(224, 174, 67, .34);
  background-image: linear-gradient(90deg, rgba(5, 12, 22, .87), rgba(5, 12, 22, .44) 55%, rgba(5, 12, 22, .16)), url('/home-hero-arena.png');
  background-size: cover;
  background-position: center top;
  box-shadow: inset 0 -35px 55px rgba(5, 12, 22, .38);
}
.tournament-list-hero-inner { width: min(1520px, calc(100% - 48px)); margin: auto; display: flex; align-items: center; gap: 22px; padding: 26px 0; }
.tournament-hero-trophy { color: #f3c452; font-size: 3.2rem; line-height: 1; filter: drop-shadow(0 0 14px rgba(239, 183, 61, .3)); }
.tournament-hero-kicker { margin: 0 0 3px; color: #d5dce7; font-size: .69rem; font-weight: 700; letter-spacing: .2em; }
.tournament-list-hero h1 { margin: 0; color: #f3f5f9; font-family: Rajdhani, Inter, sans-serif; font-size: clamp(2.3rem, 4vw, 3.3rem); font-style: italic; font-weight: 700; line-height: 1; text-shadow: 0 3px 14px #000; }
.tournament-list-hero-inner div > p:last-child { margin: 9px 0 0; color: #e1e5ed; font-size: .95rem; }

.tournament-list-content { width: min(1520px, calc(100% - 48px)); margin: auto; }
.tournament-list-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 66px; margin-bottom: 17px; border-bottom: 1px solid rgba(116, 140, 165, .2); }
.tournament-status-tabs { display: flex; align-self: stretch; align-items: stretch; gap: 10px; }
.tournament-status-tab { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-width: 120px; padding: 0 15px; color: #dce3ed; font-weight: 650; text-decoration: none; white-space: nowrap; }
.tournament-status-tab > span { color: #b9c4d1; font-size: 1.05rem; }
.tournament-status-tab:hover, .tournament-status-tab.active { color: #f1c14b; }
.tournament-status-tab.active > span { color: #f1c14b; }
.tournament-status-tab.active::after { position: absolute; right: 0; bottom: -1px; left: 0; height: 4px; border-radius: 4px 4px 0 0; background: linear-gradient(90deg, #db9f2e, #ffdc72); box-shadow: 0 0 14px rgba(244, 191, 66, .42); content: ''; }
.tournament-list-filters { display: flex; align-items: center; gap: 12px; }
.tournament-search { display: flex; align-items: center; gap: 10px; width: min(290px, 24vw); height: 42px; padding: 0 13px; border: 1px solid #243950; border-radius: 9px; background: rgba(4, 13, 23, .75); color: #aab7c8; }
.tournament-search > span { font-size: 1.4rem; line-height: 1; }
.tournament-search input { width: 100%; border: 0; outline: 0; background: transparent; color: #edf2fa; font: inherit; font-size: .84rem; }
.tournament-search input::placeholder { color: #8392a5; }
.tournament-list-filters select { width: 220px; height: 42px; padding: 0 34px 0 13px; border: 1px solid #98691f; border-radius: 9px; background: #091522; color: #f1f4f9; font: inherit; font-size: .84rem; }
.tournament-search-submit { height: 42px; padding: 0 14px; border: 1px solid #98691f; border-radius: 9px; background: #0c1928; color: #f1c14b; cursor: pointer; }
.tournament-list-filters :focus-visible, .tournament-status-tab:focus-visible, .tournament-showcase-card:focus-visible { outline: 2px solid #f1c14b; outline-offset: 3px; }
.tournament-list-theme-body .sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

.tournament-card-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.tournament-showcase-card { --card-accent: #bf8730; display: flex; min-width: 0; flex-direction: column; overflow: hidden; border: 1px solid color-mix(in srgb, var(--card-accent), transparent 38%); border-radius: 14px; background: linear-gradient(145deg, rgba(14, 28, 44, .97), rgba(6, 15, 25, .99)); box-shadow: 0 13px 34px rgba(0, 0, 0, .22); color: inherit; text-decoration: none; transition: border-color .18s ease, transform .18s ease, box-shadow .18s ease; }
.tournament-showcase-card:hover { transform: translateY(-3px); border-color: var(--card-accent); box-shadow: 0 18px 42px rgba(0, 0, 0, .34); }
.tournament-showcase-card.status-open { --card-accent: #00d3a1; }
.tournament-showcase-card.status-checkin { --card-accent: #10c5e7; }
.tournament-showcase-card.status-ongoing { --card-accent: #05c6e9; }
.tournament-showcase-card.status-draft { --card-accent: #efb938; }
.tournament-showcase-card.status-completed { --card-accent: #8793a4; }
.tournament-card-art { position: relative; height: 145px; flex: 0 0 145px; overflow: hidden; background-image: linear-gradient(90deg, rgba(5, 13, 23, .7), rgba(5, 13, 23, .08)), var(--tournament-cover, url('/home-hero-arena.png')); background-size: cover, cover; background-position: center, center 44%; }
.tournament-card-art::after { position: absolute; inset: 0; background: linear-gradient(0deg, rgba(7, 17, 29, .62), transparent 64%), linear-gradient(115deg, color-mix(in srgb, var(--card-accent), transparent 87%), transparent 58%); content: ''; }
.art-1 .tournament-card-art { background-position: center, 56% 50%; filter: saturate(1.12); }
.art-2 .tournament-card-art { background-position: center, 94% 48%; }
.status-completed .tournament-card-art { filter: grayscale(.82) brightness(.72); }
.tournament-card-status { position: absolute; z-index: 1; top: 17px; left: 18px; padding: 6px 12px; border: 1px solid var(--card-accent); border-radius: 20px; background: rgba(5, 15, 25, .77); color: var(--card-accent); font-size: .67rem; font-weight: 800; letter-spacing: .02em; text-transform: uppercase; }
.tournament-card-art-mark { position: absolute; z-index: 1; right: 20px; bottom: -18px; color: rgba(248, 202, 93, .78); font-size: 8rem; line-height: 1; text-shadow: 0 6px 25px rgba(0, 0, 0, .35); }
.status-completed .tournament-card-art-mark { color: rgba(208, 218, 230, .56); }
.tournament-card-body { display: flex; min-height: 172px; flex: 1; flex-direction: column; padding: 15px 18px 14px; }
.tournament-card-heading h2 { overflow: hidden; margin: 0; color: #f4f6fa; font-size: 1.2rem; font-weight: 750; text-overflow: ellipsis; white-space: nowrap; }
.tournament-card-heading p { display: -webkit-box; min-height: 21px; overflow: hidden; margin: 6px 0 12px; color: #bdc8d7; font-size: .83rem; line-height: 1.4; -webkit-box-orient: vertical; -webkit-line-clamp: 1; }
.tournament-card-winner { display: flex; align-items: center; gap: 7px; min-height: 24px; margin: -2px 0 8px; color: #d6deea; font-size: .8rem; }
.tournament-card-winner > span { color: #f0bd46; }
.tournament-card-winner strong { overflow: hidden; color: #f5f6f8; text-overflow: ellipsis; white-space: nowrap; }
.tournament-card-meta { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin: auto 0 13px; color: #d1dae7; font-size: .8rem; }
.tournament-card-meta span { display: flex; align-items: center; gap: 7px; min-width: 0; white-space: nowrap; }
.tournament-card-meta b { color: #efb942; font-size: 1rem; }
.tournament-card-action { display: flex; height: 40px; align-items: center; justify-content: center; gap: 10px; border: 1px solid #a57829; border-radius: 9px; color: #f0bf43; font-size: .88rem; font-weight: 750; transition: background .18s ease, color .18s ease; }
.tournament-card-action b { font-size: 1.05rem; }
.status-open .tournament-card-action, .tournament-showcase-card:hover .tournament-card-action { background: linear-gradient(120deg, #efc55f, #b9842d); color: #11151a; }
.tournament-list-empty { display: grid; justify-items: center; padding: 70px 20px; border: 1px solid #26394e; border-radius: 14px; background: rgba(13, 25, 39, .82); text-align: center; }
.tournament-list-empty > span { font-size: 2.4rem; }
.tournament-list-empty h2 { margin: 12px 0 5px; font-size: 1.2rem; }
.tournament-list-empty p { margin: 0 0 16px; color: #aab7c8; }
.tournament-empty-reset { color: #f0bf43; font-weight: 700; text-decoration: none; }

@media (max-width: 1100px) {
  .tournament-list-toolbar { align-items: stretch; flex-direction: column; gap: 8px; padding-top: 7px; }
  .tournament-status-tabs { min-height: 55px; }
  .tournament-status-tab { flex: 1; min-width: 0; padding-inline: 8px; }
  .tournament-list-filters { padding-bottom: 13px; }
  .tournament-search { width: auto; flex: 1; }
}
@media (max-width: 820px) {
  .tournament-card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 15px; }
  .tournament-list-content, .tournament-list-hero-inner { width: calc(100% - 32px); }
  .tournament-list-hero { min-height: 154px; background-position: 65% top; }
}
@media (max-width: 560px) {
  .tournament-list-hero-inner { gap: 13px; }
  .tournament-hero-trophy { font-size: 2.3rem; }
  .tournament-list-hero h1 { font-size: 2.3rem; }
  .tournament-list-hero-inner div > p:last-child { max-width: 270px; font-size: .84rem; }
  .tournament-list-content { width: calc(100% - 24px); }
  .tournament-status-tabs { gap: 0; }
  .tournament-status-tab { flex-direction: column; gap: 2px; font-size: .7rem; }
  .tournament-status-tab > span { font-size: .95rem; }
  .tournament-list-filters { display: grid; grid-template-columns: 1fr; }
  .tournament-search { width: auto; }
  .tournament-list-filters select { width: 100%; }
  .tournament-search-submit { display: none; }
  .tournament-card-grid { grid-template-columns: 1fr; }
  .tournament-card-art { height: 125px; flex-basis: 125px; }
}
.daily-tournament-card .tournament-card-art{background-image:linear-gradient(90deg,rgba(5,13,23,.72),rgba(5,13,23,.12)),url('/images/daily-tournament-banner.png');background-position:center,center 46%}
.daily-tournament-number{position:absolute;z-index:2;left:18px;bottom:16px;padding:6px 12px;border:1px solid rgba(245,194,80,.85);border-radius:999px;background:rgba(5,13,23,.82);color:#ffd36b;font:700 1rem Rajdhani,sans-serif;letter-spacing:.06em;text-shadow:0 2px 12px #000}
