/* TLOU Esports public frontend, adapted from the 2023 desktop designs. */
:root {
  --tlou-bg: #111110;
  --tlou-surface: #1e1e1d;
  --tlou-surface-2: #292929;
  --tlou-surface-3: #393939;
  --tlou-gold: #ffba42;
  --tlou-gold-soft: #e8a92f;
  --tlou-text: #f6f5f1;
  --tlou-muted: #aaa9a5;
  --tlou-line: #3c3b38;
  --tlou-radius: 12px;
}
.public-site { background: var(--tlou-bg); color: var(--tlou-text); overflow-x: hidden; }
.public-site *, .public-site *::before, .public-site *::after { box-sizing: border-box; }
.public-site a { color: var(--tlou-gold); transition: color .18s ease, background-color .18s ease, border-color .18s ease; }
.public-site a:hover, .public-site a:focus { color: #ffe0a0; }
.public-site :focus-visible { outline: 2px solid var(--tlou-gold); outline-offset: 3px; }
.public-site h1, .public-site h2, .public-site h3, .public-site h4 { color: var(--tlou-text); letter-spacing: -.025em; }
.public-site p { color: var(--tlou-muted); }
.public-site .container { max-width: 1240px; }
.public-site .btn-default, .public-site .btn-primary, .public-site .button, .public-site button[type="submit"] {
  border: 1px solid transparent; border-radius: 999px; background: var(--tlou-gold); color: #15120d;
  font-weight: 700; text-transform: none; box-shadow: none; padding: 11px 22px;
}
.public-site .btn-default:hover, .public-site .btn-primary:hover, .public-site .button:hover, .public-site button[type="submit"]:hover {
  background: #ffd27a; color: #15120d;
}
.public-site .modal-content { background: var(--tlou-surface) !important; color: var(--tlou-text); border: 1px solid var(--tlou-line); border-radius: var(--tlou-radius); }
.public-site .modal-header, .public-site .modal-footer { background: var(--tlou-surface) !important; border-color: var(--tlou-line); }
.public-site .modal-dialog { max-height: calc(100vh - 30px); overflow-y: auto; }
.public-site .signup-rule-hint { padding: 10px 28px; font-size: 13px; line-height: 1.5; color: var(--tlou-muted); }
.public-site .signup-honeypot { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.public-site .account-verification { max-width: 790px; min-height: 50vh; margin: 0 auto; }
.public-site .account-verification h1 { margin: 10px 0 18px; }
.public-site .account-verification__form { display: grid; gap: 10px; max-width: 430px; margin: 22px 0; }
.public-site .account-verification__form.collapse:not(.in) { display: none; }
.public-site .account-verification__form label { color: var(--tlou-text); margin-top: 4px; }
.public-site .account-verification__form input { width: 100%; padding: 11px 13px; }
.public-site .account-verification__form button { justify-self: start; margin-top: 8px; }
.public-site .form-control, .public-site input:not([type="checkbox"]):not([type="radio"]), .public-site select, .public-site textarea {
  background: #262624; color: var(--tlou-text); border-color: var(--tlou-line); border-radius: 7px;
}
.public-site .form-control:focus, .public-site input:focus, .public-site select:focus, .public-site textarea:focus { border-color: var(--tlou-gold); box-shadow: 0 0 0 2px rgba(255,186,66,.16); }
.public-site .table { color: var(--tlou-text); }
.public-site .table th { background: var(--tlou-surface-3); color: var(--tlou-text); border-color: var(--tlou-line); }
.public-site .table td { background: var(--tlou-surface-2); border-color: var(--tlou-line); }
.public-site .table-striped > tbody > tr:nth-of-type(odd) > * { background: #272727; color: var(--tlou-text); }
.public-site .alert-info { background: #2a251c; color: var(--tlou-text); border: 1px solid #705225; }

/* Header */
.site-header { position: relative; z-index: 100; background: #101010; border-bottom: 1px solid #242424; }
.site-header__inner { max-width: 1280px; min-height: 76px; margin: auto; padding: 0 24px; display: flex; align-items: center; gap: 28px; }
.site-header__brand { flex: none; display: block; }
.site-header__brand img { display: block; width: 160px; max-height: 57px; object-fit: contain; }
.site-header__nav { display: flex; align-items: center; gap: 3px; margin-left: auto; }
.site-header__nav a { color: #c9c8c5; padding: 26px 11px 24px; font-size: 12px; font-weight: 600; text-transform: uppercase; white-space: nowrap; border-bottom: 2px solid transparent; }
.site-header__nav a:hover, .site-header__nav a[aria-current="page"] { color: var(--tlou-gold); border-color: var(--tlou-gold); text-decoration: none; }
.site-header__account { display: flex; align-items: center; gap: 10px; margin-left: auto; white-space: nowrap; }
.site-header__logout-form { margin: 0; }
.site-header__account button, .site-header__account > a, .site-header__notifications summary { font-size: 12px; font-weight: 700; border-radius: 999px; border: 0; padding: 9px 16px; cursor: pointer; }
.site-header__login, .site-header__profile, .site-header__logout { background: #363636 !important; color: #fff !important; }
.site-header__signup { background: var(--tlou-gold) !important; color: #111 !important; }
.site-header__logout { background: transparent !important; padding-left: 4px !important; color: var(--tlou-muted) !important; }
.site-header__notifications { position: relative; }
.site-header__notifications summary { display: flex; align-items: center; gap: 5px; color: var(--tlou-text); background: #292929; list-style: none; }
.site-header__notifications summary::-webkit-details-marker { display: none; }
.notification-count { color: var(--tlou-gold); }
.notification-list { position: absolute; top: 44px; right: 0; width: min(330px, 88vw); max-height: 320px; overflow: auto; padding: 10px; background: #242424; border: 1px solid var(--tlou-line); border-radius: 10px; box-shadow: 0 18px 50px #0009; white-space: normal; }
.notification-list__item, .notification-list__empty { display: block; padding: 11px; font-size: 12px; border-radius: 6px; }
.notification-list__item:hover { background: #39332a; }
.notification-list__item.is-seen { color: var(--tlou-muted); }
.site-header__toggle { display: none; background: transparent; border: 1px solid var(--tlou-line); border-radius: 7px; width: 40px; height: 38px; padding: 9px; }
.site-header__toggle span { display: block; height: 2px; margin: 4px 0; background: var(--tlou-text); }
.site-flash { background: #3b2e18; color: var(--tlou-text); border-top: 1px solid var(--tlou-gold); text-align: center; padding: 10px 16px; }

/* Footer */
.site-footer { background: #1c1c1c; border-top: 1px solid #6b4b18; margin-top: 64px; }
.site-footer__inner { max-width: 1240px; margin: auto; padding: 56px 24px 58px; display: grid; grid-template-columns: 2fr 1fr 1fr 1.4fr; gap: 50px; }
.site-footer__brand img { max-width: 188px; max-height: 70px; object-fit: contain; }
.site-footer__brand p, .site-footer__contact p { max-width: 260px; margin: 22px 0; line-height: 1.6; }
.site-footer h2 { font-size: 14px; font-weight: 700; text-transform: uppercase; margin: 10px 0 20px; }
.site-footer__inner > div > a:not(:first-child), .site-footer__inner > div:not(.site-footer__brand) > a { display: block; color: #c8c7c4; padding: 5px 0; }
.site-footer__inner a:hover { color: var(--tlou-gold) !important; }
.site-footer__social { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 20px; }
.site-footer__social a { display: grid; place-items: center; background: #303030; width: 38px; height: 38px; border-radius: 50%; }
.site-footer__bottom { background: var(--tlou-gold); color: #191714; }
.site-footer__bottom > div { max-width: 1240px; margin: auto; padding: 13px 24px; display: flex; justify-content: space-between; font-size: 12px; }

/* Common pages */
.public-site .inner-page-banner, .public-site .inner-header { min-height: 220px; background-color: #171717; background-size: cover; background-position: center 35%; position: relative; }
.public-site .inner-page-banner::after, .public-site .inner-header::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(17,17,16,.9), rgba(17,17,16,.32)), linear-gradient(0deg, #111110, transparent 85%); pointer-events: none; }
.public-site .inner-information-text { background: var(--tlou-bg); padding: 22px 0; }
.public-site .inner-information-text h3 { color: #fff; font-size: clamp(26px, 3vw, 40px); font-weight: 700; }
.public-site .breadcrumb { background: transparent; color: var(--tlou-muted); padding: 0; margin: 10px 0; }
.public-site .breadcrumb > li + li::before { color: #76736d; }
.public-site #contant.contant { background: var(--tlou-bg) !important; padding: 28px 0 70px; }
.public-site .bg-white, .public-site .card-body.bg-white { background: var(--tlou-surface) !important; color: var(--tlou-text); }
.public-site .card, .public-site .news-post-holder, .public-site .feature-matchs, .public-site .banner-sidebar { background: var(--tlou-surface); color: var(--tlou-text); border-color: var(--tlou-line); }
.public-site .news-post-holder.tab { display: flex; align-items: center; flex-wrap: wrap; gap: 7px; background: transparent; }
.public-site .news-post-holder.tab > div { display: inline-flex !important; }
.public-site .news-post-holder.tab .button { background: #292929; color: var(--tlou-text); padding: 11px 18px; border: 1px solid var(--tlou-line); }
.public-site .news-post-holder.tab .button:hover, .public-site .news-post-holder.tab .button.active { background: var(--tlou-gold); color: #111; }
.public-site .news-post-holder.tab + hr { border-color: var(--tlou-line); }
.public-site #container_full { width: 100%; padding: 0; }
.public-site #container_full .card { border: 1px solid var(--tlou-line); border-radius: var(--tlou-radius); box-shadow: none !important; }
.public-site #container_full .card-body { padding: 16px; }
.public-site #container_full .table-responsive { overflow-x: auto; }
.public-site .feature-matchs table tr td { padding: 13px 17px; color: var(--tlou-text); }
.public-site .feature-matchs table tr td:last-child { color: var(--tlou-muted); text-align: right; }
.public-site .banner-sidebar { border-radius: var(--tlou-radius); overflow: hidden; margin-bottom: 14px; }
.public-site .banner-sidebar h3 { padding: 15px; margin: 0; }
.public-site .accordion { background: var(--tlou-surface-2); color: var(--tlou-text); border-bottom: 1px solid var(--tlou-line); }
.public-site .panel_rule { background: var(--tlou-surface); color: var(--tlou-text); }

/* New public components */
.frontend-page { max-width: 1240px; margin: 0 auto; padding: 48px 24px 80px; }
.frontend-eyebrow { color: var(--tlou-gold); text-transform: uppercase; letter-spacing: .14em; font-size: 12px; font-weight: 700; }
.frontend-page h1 { font-size: clamp(32px, 4vw, 52px); font-weight: 700; margin: 10px 0 14px; }
.frontend-page__intro { font-size: 15px; max-width: 680px; line-height: 1.7; }
.frontend-panel { background: var(--tlou-surface); border: 1px solid #30302e; border-radius: var(--tlou-radius); padding: 24px; }
.frontend-panel h2 { font-size: 22px; margin-top: 0; }
.frontend-tabs { display: flex; flex-wrap: wrap; gap: 10px; margin: 28px 0; }
.frontend-tabs a { display: inline-flex; align-items: center; min-height: 40px; padding: 9px 16px; border-radius: 8px; background: #2a2a29; color: var(--tlou-text); border: 1px solid transparent; font-size: 13px; }
.frontend-tabs a:hover, .frontend-tabs a.is-active { background: var(--tlou-gold); color: #18130a; text-decoration: none; }
.frontend-table-wrap { overflow-x: auto; border-radius: 10px; border: 1px solid #393939; }
.frontend-table { width: 100%; min-width: 580px; border-collapse: collapse; }
.frontend-table th { background: #414141; color: #fff; text-align: left; padding: 15px 18px; font-size: 12px; letter-spacing: .05em; text-transform: uppercase; }
.frontend-table td { background: #282828; color: #eee; padding: 14px 18px; border-top: 1px solid #404040; }
.frontend-table tr:hover td { background: #33302b; }
.frontend-table td:first-child { color: var(--tlou-gold); font-weight: 700; }
.frontend-table td a { color: #fff; font-weight: 600; }
.frontend-table td a:hover { color: var(--tlou-gold); }
.frontend-table .rating { color: var(--tlou-gold); font-size: 17px; }
.frontend-pagination { display: flex; gap: 14px; justify-content: center; align-items: center; margin: 24px 0; }
.frontend-pagination a { background: #292929; border-radius: 6px; padding: 8px 14px; }
.frontend-empty { color: var(--tlou-muted); padding: 30px; }
.frontend-list { list-style: none; padding: 0; margin: 12px 0 0; }
.frontend-list li { border-top: 1px solid var(--tlou-line); padding: 13px 0; }
.frontend-list li:first-child { border-top: 0; }
.frontend-hero { min-height: 360px; display: flex; align-items: center; background: radial-gradient(circle at 82% 35%, rgba(255,186,66,.18), transparent 34%), linear-gradient(115deg, #181816, #101010); border-bottom: 1px solid #45351e; }
.frontend-hero__inner { max-width: 1240px; width: 100%; margin: auto; padding: 65px 24px; }
.frontend-hero h1 { max-width: 730px; font-size: clamp(36px, 5.6vw, 72px); line-height: 1.08; font-weight: 800; margin: 12px 0 18px; }
.frontend-hero p { max-width: 580px; color: #cfcdc8; line-height: 1.7; }
.frontend-hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 25px; }
.frontend-hero__actions a { border: 1px solid var(--tlou-gold); border-radius: 999px; padding: 11px 20px; font-weight: 700; color: #14120d; background: var(--tlou-gold); }
.frontend-hero__actions a + a { color: var(--tlou-text); background: transparent; }
.frontend-hero__actions a:hover { background: #ffcf71; color: #15110d; text-decoration: none; }
.frontend-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.frontend-card { display: block; min-height: 160px; padding: 24px; background: #242424; border: 1px solid #393939; border-radius: var(--tlou-radius); }
.frontend-card:hover { border-color: var(--tlou-gold); text-decoration: none; }
.frontend-card small { color: var(--tlou-gold); text-transform: uppercase; letter-spacing: .08em; font-size: 11px; }
.frontend-card strong { display: block; color: #fff; font-size: 23px; margin: 9px 0; }
.frontend-card span { color: var(--tlou-muted); }
.frontend-ladders { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; margin-top: 32px; }
.frontend-ladder { min-height: 285px; display: flex; flex-direction: column; justify-content: flex-end; padding: 24px; border-radius: var(--tlou-radius); border: 1px solid #474038; background: linear-gradient(180deg, transparent, rgba(15,15,15,.98)), var(--ladder-image, linear-gradient(135deg, #34302a, #181818)); background-size: cover; background-position: center; }
.frontend-ladder h2 { font-size: 23px; margin: 6px 0; }
.frontend-ladder__stats { display: flex; gap: 20px; margin: 14px 0 20px; color: #ddd; font-size: 13px; }
.frontend-ladder__stats b { color: var(--tlou-gold); font-size: 18px; }
.frontend-ladder > a { align-self: flex-start; background: var(--tlou-gold); color: #13110d; border-radius: 999px; font-weight: 700; padding: 9px 18px; }

/* Existing home sections */
.public-site .full-slider .carousel-inner { height: 390px !important; }
.public-site .full-slider .item { height: 390px; background-position: center; background-size: cover; }
.public-site .full-slider .item::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, #101010d9, #10101055); pointer-events: none; }
.public-site .full-slider .carousel-caption { z-index: 1; text-align: left; }
.public-site .full-slider .slider-contant h3 { font-size: clamp(27px, 3vw, 45px); font-weight: 700; line-height: 1.2; }
.public-site .news-home-heading, .public-site .matches-home-heading, .public-site .video-home-heading, .public-site .info-home-heading { background: var(--tlou-bg); padding: 30px 0 6px; }
.public-site .main-heading h2 { color: var(--tlou-text) !important; }
.public-site .news-home, .public-site .match-home, .public-site .videos-home, .public-site .video-home, .public-site .notice-home { background: var(--tlou-bg); }
.public-site .news-grid article, .public-site .match-box, .public-site .match_vedio { border-radius: var(--tlou-radius); overflow: hidden; background: var(--tlou-surface); }
.public-site .match-box { border: 1px solid var(--tlou-line); margin-bottom: 12px; }
.public-site .notice-home { display: flex; flex-wrap: wrap; justify-content: center; gap: 20px; padding: 24px; }

/* Team variants and profile: keep existing actions/data, apply the shared surface */
.public-site .inner-page .inner-body { background: var(--tlou-bg); }
.public-site .team-roster .top, .public-site .team-roster .bottom, .public-site .team-stats, .public-site .team-stats-ladder, .public-site .recentResults, .public-site .teamProfile, .public-site .profilePage .profile, .public-site .profileStats, .public-site .profileTeam {
  background: var(--tlou-surface) !important; color: var(--tlou-text); border-color: var(--tlou-line); border-radius: var(--tlou-radius);
}
.public-site .team-roster .top { padding: 25px; }
.public-site .team-roster .top h4, .public-site .profileTitle { color: #fff !important; }
.public-site .team-roster .card-list .card { background: var(--tlou-surface-2); border: 1px solid var(--tlou-line); border-radius: var(--tlou-radius); }
.public-site .team-roster .card-list .card-info .label { background: #53302b; color: #ffad9b; border-radius: 5px; }
.public-site .team-roster .team-stats .team-info { background: #2a2a2a; border-radius: 8px; padding: 12px 18px; }
.public-site .team-stats-ladder .standings { background: #282828; color: #fff; }
.public-site .team-stats-ladder .standings li { border-color: var(--tlou-line); }
.public-site .team-stats-ladder .standings li:first-child { background: var(--tlou-gold); color: #19130a; }
.public-site .profilePage { max-width: 1240px; margin: 40px auto; padding: 0 16px; }
.public-site .profileBtns .profileBtn { background: #2b2b2b; color: #fff; border: 1px solid var(--tlou-line); border-radius: 8px; }
.public-site .profileBtns .profileBtn:hover, .public-site .profileBtns .profileBtn.active { color: #19130a; background: var(--tlou-gold); }
.public-site .profileStat, .public-site .profileTeams > div { border-color: var(--tlou-line); }
.public-site .profile-elo { background: #282725; border-left: 3px solid var(--tlou-gold); padding: 20px; border-radius: 8px; margin-bottom: 18px; }
.public-site .profile-elo h3 { margin: 0 0 12px; }
.public-site .profile-elo__rating { font-size: 28px; color: var(--tlou-gold); font-weight: 800; }

/* Match details and rosters */
.public-site .cntnr { max-width: 1240px; margin: 38px auto; padding: 0 16px; gap: 22px; }
.public-site .challengeInfo, .public-site .match, .public-site .rosters > div { background: var(--tlou-surface) !important; border: 1px solid var(--tlou-line); border-radius: var(--tlou-radius); }
.public-site .challengeInfo { padding: 24px; }
.public-site .challengeInfo .listHeader { color: var(--tlou-gold); text-transform: uppercase; font-weight: 700; }
.public-site .challengeInfo li { border-color: var(--tlou-line); }
.public-site .match { padding: 24px; }
.public-site .matchDivFirst { background: radial-gradient(circle at center, #46331b 0%, transparent 53%); }
.public-site .matchDiv .map { border-radius: 8px; overflow: hidden; background: #2b2b2b; }
.public-site .matchDiv .map::before { background: linear-gradient(90deg, #191919 6%, transparent); }
.public-site .rosters { max-width: 1240px; margin: 18px auto 40px; padding: 0 16px; gap: 18px; }
.public-site .rosters > div { padding: 20px; }
.public-site .rosters li { background: #292929; border-radius: 6px; margin-bottom: 5px; padding: 9px 12px; }

/* Other public pages inherit the same dark surfaces. */
.public-site .section, .public-site .contant, .public-site .news-details, .public-site .contact-form, .public-site .Table__Container { background-color: var(--tlou-bg); color: var(--tlou-text); }
.public-site .Table__Container table, .public-site .Tcon { background: var(--tlou-surface); color: var(--tlou-text); }
.public-site .ads_section { max-width: 100%; overflow: hidden; }

@media (max-width: 1180px) {
  .site-header__inner { gap: 12px; }
  .site-header__brand img { width: 135px; }
  .site-header__nav a { padding-left: 7px; padding-right: 7px; font-size: 11px; }
}
@media (max-width: 980px) {
  .site-header__inner { flex-wrap: wrap; min-height: 70px; justify-content: space-between; }
  .site-header__toggle { display: block; order: 3; }
  .site-header__account { margin-left: auto; order: 2; }
  .site-header__nav { display: none; order: 4; flex-basis: 100%; margin: 0; padding: 8px 0 16px; flex-wrap: wrap; gap: 2px; }
  .site-header--open .site-header__nav { display: flex; }
  .site-header__nav a { padding: 10px 12px; font-size: 12px; border: 0; border-radius: 6px; }
  .site-header__nav a[aria-current="page"] { background: #30271a; }
  .site-footer__inner { grid-template-columns: repeat(2, 1fr); gap: 30px; }
  .frontend-cards { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 680px) {
  .site-header__inner { padding: 10px 16px; }
  .site-header__brand img { width: 125px; }
  .site-header__account { order: 4; width: 100%; margin: 0; justify-content: flex-start; }
  .site-header__toggle { order: 2; }
  .site-header__nav { order: 3; }
  .site-header__nav a { width: calc(50% - 2px); }
  .site-footer__inner { grid-template-columns: 1fr 1fr; padding: 38px 20px; gap: 24px; }
  .site-footer__brand, .site-footer__contact { grid-column: 1 / -1; }
  .site-footer__bottom > div { display: block; }
  .site-footer__bottom span { display: block; }
  .frontend-page { padding: 34px 16px 60px; }
  .frontend-panel { padding: 15px; }
  .frontend-cards { grid-template-columns: 1fr; }
  .frontend-hero { min-height: 320px; }
  .frontend-hero__inner { padding: 45px 18px; }
  .public-site .full-slider .carousel-inner, .public-site .full-slider .item { height: 300px !important; }
  .public-site #contant.contant { padding-top: 15px; }
  .public-site #contant .col-lg-4, .public-site #contant .col-lg-8 { width: 100%; }
  .public-site .team-roster .top { padding: 16px; }
  .public-site .cntnr { margin: 20px auto; }
  .public-site .matchDivFirst { flex-wrap: wrap; }
  .public-site .matchDiv .map { min-height: 100px; }
}

/* Home */
.frontend-announcement { max-width: 1240px; margin: 14px auto; padding: 14px 20px; background: #332819; border: 1px solid #735626; border-radius: 8px; }
.frontend-hero--home { min-height: 430px; }
.frontend-home__quick { padding-bottom: 25px; }
.frontend-home h2 { font-size: clamp(27px, 3vw, 38px); margin: 8px 0 22px; }
.frontend-home__matches, .frontend-home__news, .frontend-home__videos, .frontend-home__stream, .frontend-home__community { padding-top: 28px; padding-bottom: 28px; }
.frontend-section-heading { display: flex; justify-content: space-between; align-items: end; gap: 20px; margin-bottom: 20px; }
.frontend-section-heading h2 { margin-bottom: 7px; }
.frontend-section-heading p { margin: 0; }
.frontend-section-heading > a { white-space: nowrap; margin-bottom: 7px; }
.frontend-home .match-home { padding: 0; }
.frontend-home .match-box-div, .frontend-home #ul_Matchlist { width: 100%; margin: 0; padding: 0; list-style: none; }
.frontend-home .match-box { background: #242424; color: #fff; }
.frontend-home .match-box .box-title, .frontend-home .match-box .match-details { padding-left: 22px; padding-right: 22px; }
.frontend-home .match-box a { color: var(--tlou-gold); }
.frontend-home__more { text-align: center; padding: 18px 0; }
.frontend-news-grid, .frontend-video-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.frontend-news-card { min-height: 245px; border-radius: 10px; background: linear-gradient(135deg, #403524, #222); background-size: cover; background-position: center; display: flex; align-items: end; }
.frontend-news-card a { width: 100%; padding: 24px; color: #fff; }
.frontend-news-card small { color: var(--tlou-gold); }
.frontend-news-card h3 { font-size: 21px; line-height: 1.25; }
.frontend-news-card span { color: var(--tlou-gold); font-weight: 700; }
.frontend-video-card { background: var(--tlou-surface); border-radius: 10px; overflow: hidden; }
.frontend-video-card .youtube { aspect-ratio: 16 / 9; width: 100%; position: relative; background-size: cover; background-position: center; cursor: pointer; }
.frontend-video-card .youtube iframe { width: 100%; height: 100%; border: 0; }
.frontend-video-card .play-button { position: absolute; inset: 50% auto auto 50%; transform: translate(-50%, -50%); }
.frontend-video-card h3 { font-size: 17px; padding: 6px 18px 18px; }
.frontend-home__stream #stream-home { display: flex; gap: 16px; flex-wrap: wrap; min-height: 70px; }
.frontend-home__stream #load-stream { color: var(--tlou-muted); }
.frontend-home__community .frontend-panel { display: flex; gap: 40px; align-items: center; }
.frontend-home__community iframe { border: 0; max-width: 100%; border-radius: 8px; }
.frontend-home__community h3 { font-size: 28px; }
.frontend-home__community .btn-default { display: inline-block; margin-top: 15px; }

@media (max-width: 980px) {
  .frontend-news-grid, .frontend-video-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 680px) {
  .frontend-hero--home { min-height: 390px; }
  .frontend-news-grid, .frontend-video-grid { grid-template-columns: 1fr; }
  .frontend-section-heading { align-items: flex-start; flex-direction: column; gap: 8px; }
  .frontend-home__community .frontend-panel { flex-direction: column; align-items: flex-start; gap: 18px; }
  .frontend-home__community iframe { width: 100%; }
}

/* Live Elo, ladder context and match state */
.profile-elo__top { display: flex; justify-content: space-between; align-items: flex-start; gap: 20px; }
.profile-elo__top h3 { font-size: 24px; margin: 5px 0 14px !important; }
.profile-elo__top > a { white-space: nowrap; margin-top: 6px; }
.profile-elo__main { display: flex; flex-wrap: wrap; gap: 12px; }
.profile-elo__main > div { min-width: 170px; background: #202020; border: 1px solid var(--tlou-line); border-radius: 8px; padding: 15px 20px; }
.profile-elo__main span, .profile-elo__main strong { display: block; }
.profile-elo__main span { color: var(--tlou-muted); font-size: 12px; text-transform: uppercase; letter-spacing: .08em; }
.profile-elo__main strong { color: var(--tlou-text); font-size: 24px; padding-top: 7px; }
.profile-elo__main .profile-elo__rating { color: var(--tlou-gold); }
.profile-elo__seasons { margin-top: 22px; border-top: 1px solid var(--tlou-line); padding-top: 18px; }
.profile-elo__seasons h4 { font-size: 16px; margin: 0 0 12px; }
.profile-elo__seasons > div { display: flex; flex-wrap: wrap; gap: 10px; align-items: baseline; padding: 7px 0; }
.profile-elo__seasons strong { color: var(--tlou-gold); }
.profile-elo__seasons small { color: var(--tlou-muted); }
.frontend-ladder-summary { display: flex; justify-content: space-between; align-items: center; gap: 18px; padding: 22px 26px; margin-bottom: 20px; border-radius: var(--tlou-radius); background: linear-gradient(120deg,#2d281f,#1e1e1d); border: 1px solid #594326; }
.frontend-ladder-summary h2 { font-size: 27px; margin: 6px 0; }
.frontend-ladder-summary p { margin: 0; }
.frontend-ladder-summary > a { white-space: nowrap; font-weight: 700; }
.frontend-match-title { max-width: 1240px; margin: 30px auto 0; padding: 0 16px; }
.frontend-match-title h1 { font-size: clamp(27px, 3vw, 44px); line-height: 1.2; margin: 8px 0; }
.frontend-match-title h1 span { color: var(--tlou-gold); font-size: .68em; padding: 0 8px; }
.frontend-match-title__status { display: inline-block; color: var(--tlou-gold); border: 1px solid #795923; border-radius: 999px; padding: 3px 10px; font-size: 12px; font-weight: 700; }
@media (max-width: 680px) {
  .frontend-ladder-summary, .profile-elo__top { flex-direction: column; align-items: flex-start; }
  .frontend-ladder-summary > a, .profile-elo__top > a { white-space: normal; }
}

/* Stronger overrides for legacy inline theme choices on public competition views. */
.public-site .team-roster .btn-default, .public-site .team-roster .actions .btn-default { background: var(--tlou-gold) !important; color: #17120b !important; border-color: var(--tlou-gold) !important; }
.public-site .team-roster .btn-default:hover, .public-site .team-roster .actions .btn-default:hover { background: #ffd47f !important; }
.public-site .body-content { background: var(--tlou-bg); color: var(--tlou-text); }
.public-site .body-content .news-post-holder.tab { background: transparent; }
.public-site .body-content .tabcontent { color: var(--tlou-text); }
.public-site .body-content .table th, .public-site .body-content .table td { border-color: var(--tlou-line); }

/* Supporting public content */
.public-site .blog-section, .public-site .blog-post, .public-site .sb-widget { background: var(--tlou-bg); color: var(--tlou-text); }
.public-site .blog-post, .public-site .sb-widget { background: var(--tlou-surface); border: 1px solid var(--tlou-line); border-radius: var(--tlou-radius); overflow: hidden; }
.public-site .blog-post .post-date, .public-site .blog-post .read-more { color: var(--tlou-gold); }
.public-site .container1 .card-width { background: var(--tlou-surface) !important; color: var(--tlou-text); border: 1px solid var(--tlou-line); border-radius: var(--tlou-radius); }
.public-site .container1 .para-color { color: var(--tlou-muted); }
.public-site .container1 .btn-set { background: var(--tlou-gold) !important; color: #18130a !important; border-radius: 999px; }
.public-site .Table__Container .tableRow { background: var(--tlou-surface); border: 1px solid var(--tlou-line); border-radius: var(--tlou-radius); }
.public-site .Table__Container h2[style] { color: var(--tlou-gold) !important; }
.public-site #contant.contant .card { border: 1px solid var(--tlou-line); border-radius: var(--tlou-radius); overflow: hidden; }

.frontend-home .match-box .box-title { display: flex; justify-content: space-between; gap: 14px; border-bottom: 1px solid var(--tlou-line); padding-top: 13px; padding-bottom: 13px; color: var(--tlou-muted); font-size: 12px; text-transform: uppercase; }
.frontend-home .match-box .match-details { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 16px; padding-top: 19px; padding-bottom: 16px; }
.frontend-home .match-box .team-box { display: flex; align-items: center; gap: 10px; min-width: 0; }
.frontend-home .match-box .team-box:last-child { justify-content: flex-end; text-align: right; }
.frontend-home .match-box .team-box img { width: 38px; height: 38px; object-fit: cover; border-radius: 7px; }
.frontend-home .match-box .team-name { font-size: 16px; font-weight: 700; color: #fff; overflow-wrap: anywhere; }
.frontend-home .match-box .result { color: var(--tlou-gold); font-weight: 700; text-align: center; white-space: nowrap; }
.frontend-home .match-box .game-name { display: block; padding: 0 22px 14px; color: var(--tlou-muted); font-size: 12px; }
.frontend-home #getMoreButton[hidden] { display: none !important; }
.frontend-stream-card { width: min(100%, 540px); min-height: 300px; border-radius: 10px; overflow: hidden; }
@media (max-width: 680px) {
  .frontend-home .match-box .match-details { gap: 8px; }
  .frontend-home .match-box .team-name { font-size: 13px; }
  .frontend-home .match-box .team-box img { width: 27px; height: 27px; }
  .frontend-home .match-box .result { font-size: 11px; white-space: normal; }
}

/* Reset legacy page floats and fixed header dimensions. */
.public-site .site-header { float: none !important; width: 100% !important; height: auto !important; min-height: 0 !important; top: auto !important; }
.public-site .frontend-hero, .public-site .frontend-page, .public-site .site-footer { float: none !important; clear: both; width: 100%; }
.public-site .frontend-home { display: flow-root; }
.public-site .frontend-hero h1, .public-site .frontend-hero p, .public-site .frontend-page h1, .public-site .frontend-page h2 { text-align: left !important; }
.public-site .site-footer { position: relative; }

/* Team management appears only after a player creates or joins a team. */
.team-management__back { margin-bottom: 24px; font-size: 13px; }
.team-management__hero { display: flex; justify-content: space-between; align-items: end; gap: 24px; padding: 34px; margin-bottom: 24px; background: linear-gradient(110deg, #292820 0%, #1d211c 70%, #28271d 100%); border: 1px solid #66502d; border-radius: 12px; }
.team-management__hero h1 { margin: 12px 0; font-size: clamp(34px, 4vw, 58px); overflow-wrap: anywhere; }
.team-management__hero p { margin: 0; }
.team-management__view { display: inline-block; flex: none; padding: 11px 18px; border: 1px solid #806338; border-radius: 999px; font-weight: 700; }
.team-management__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.team-management__panel { min-width: 0; }
.team-management__panel h2 { margin: 12px 0 22px; }
.team-management__panel h2 small { color: var(--tlou-muted); font-size: 13px; }
.team-management__panel h3 { margin: 25px 0 4px; font-size: 17px; }
.team-management__identity { display: flex; align-items: center; gap: 16px; border-bottom: 1px solid var(--tlou-line); padding-bottom: 20px; }
.team-management__identity img { width: 72px; height: 72px; object-fit: cover; border-radius: 10px; background: #333; }
.team-management__identity strong, .team-management__identity span { display: block; }
.team-management__identity strong { font-size: 20px; overflow-wrap: anywhere; }
.team-management__identity span { color: var(--tlou-muted); font-size: 13px; }
.team-management__form { display: grid; gap: 9px; padding-top: 19px; }
.team-management__form + .team-management__form { border-top: 1px solid var(--tlou-line); margin-top: 21px; }
.team-management__form label { color: #e7e3d9; font-size: 13px; font-weight: 700; }
.team-management__form input, .team-management__form select { width: 100%; min-height: 43px; padding: 9px 12px; }
.team-management__form input[type="file"] { height: auto; }
.team-management__form button { justify-self: start; margin-top: 9px; }
.team-management__roster { padding: 0; margin: 0 0 22px; list-style: none; }
.team-management__roster li { display: flex; align-items: center; justify-content: space-between; gap: 12px; border-bottom: 1px solid var(--tlou-line); padding: 13px 0; }
.team-management__roster li div { min-width: 0; }
.team-management__roster li a { display: block; color: #fff; font-weight: 700; overflow-wrap: anywhere; }
.team-management__roster li span { color: var(--tlou-muted); font-size: 13px; }
.team-management__roster form { margin: 0; flex: none; }
.team-management__text-button { background: transparent !important; color: var(--tlou-gold) !important; padding: 6px !important; }
.team-management__danger { display: flex; justify-content: space-between; align-items: center; gap: 20px; margin-top: 20px; border-color: #614032; }
.team-management__danger h2 { margin: 8px 0; }
.team-management__danger p { margin-bottom: 0; }
.team-management__danger button { background: #482f2a !important; color: #fff !important; border: 1px solid #875447 !important; white-space: nowrap; }
@media (max-width: 740px) {
  .team-management__hero, .team-management__danger { flex-direction: column; align-items: flex-start; padding: 23px; }
  .team-management__grid { grid-template-columns: 1fr; }
}

/* Team dossier and match centre */
.competition-page { max-width: 1280px; margin: 0 auto; padding: 26px 24px 96px; color: var(--tlou-text); }
.competition-crumb { display: flex; align-items: center; gap: 12px; color: var(--tlou-muted); font-size: 13px; margin-bottom: 28px; }
.competition-crumb a { color: var(--tlou-muted); }
.competition-crumb span:last-child { color: var(--tlou-text); }
.competition-kicker { color: #f5c76c; font-weight: 800; letter-spacing: .16em; font-size: 10px; text-transform: uppercase; }
.competition-accent { color: #f5c76c; }
.competition-hero { background: radial-gradient(circle at 72% 12%,#3d3525 0,transparent 45%),linear-gradient(135deg,#292b24,#1b1d1b); border: 1px solid #69512a; border-radius: 10px; overflow: hidden; }
.competition-actions { display: flex; gap: 9px; flex-wrap: wrap; margin-top: 26px; }
.public-site .competition-button { display: inline-flex; align-items: center; justify-content: center; gap: 6px; background: #f5c76c; border: 1px solid #f5c76c; border-radius: 5px; color: #1a1915; padding: 11px 16px; font-size: 13px; font-weight: 800; text-decoration: none; cursor: pointer; line-height: 1.3; }
.public-site .competition-button:hover { background: #ffdda0; color: #111; }
.public-site .competition-button--outline { background: #2a2925; border-color: #5c513b; color: #f5c76c; }
.public-site .competition-button--outline:hover { background: #3d3527; color: #ffdda0; }
.competition-text-link { font-size: 12px; font-weight: 700; }
.competition-grid { display: grid; grid-template-columns: minmax(0,1.8fr) minmax(300px,1fr); align-items: start; gap: 20px; margin-top: 22px; }
.competition-main, .competition-side { min-width: 0; display: grid; gap: 20px; }
.competition-panel { background: #1f211f; border: 1px solid #3d4037; border-radius: 8px; overflow: hidden; }
.competition-panel__header { padding: 24px 26px 20px; border-bottom: 1px solid #383b32; }
.competition-panel__header h2 { font-size: 23px; margin: 6px 0 0; line-height: 1.25; font-weight: 750; }
.competition-empty { padding: 22px 26px; margin: 0; color: var(--tlou-muted); }
.team-public__hero { display: flex; align-items: stretch; justify-content: space-between; min-height: 290px; }
.team-public__identity { display: flex; align-items: center; gap: 32px; padding: 42px; min-width: 0; }
.team-public__logo, .match-public__logo { flex: none; display: grid; place-items: center; background: #32362e; border: 1px solid #aa833e; color: #f5c76c; font-size: 50px; font-weight: 800; }
.team-public__logo { width: 135px; height: 135px; padding: 10px; }
.team-public__logo img, .match-public__logo img { width: 100%; height: 100%; object-fit: contain; }
.team-public__identity h1 { font-size: clamp(34px,4.5vw,65px); line-height: 1.04; margin: 12px 0; overflow-wrap: anywhere; }
.team-public__identity p { margin: 0; font-size: 14px; }
.team-public__record { min-width: 235px; border-left: 1px solid #5a4a2e; margin: 42px 0; padding: 32px 28px; display: flex; flex-direction: column; justify-content: center; }
.team-public__record strong { font-size: 46px; line-height: 1.2; margin: 7px 0 0; color: #fff; }
.team-public__record em, .team-public__match em { font-style: normal; color: #f5c76c; }
.team-public__record > span:not(.competition-kicker), .team-public__record small { color: #ccc5b7; }
.team-public__record small { margin-top: 18px; }
.team-public__metrics { display: grid; grid-template-columns: repeat(4,1fr); gap: 10px; margin: 18px 0 0; }
.team-public__metrics > div { padding: 16px 20px; min-height: 110px; background: #242620; border: 1px solid #3c4036; border-radius: 6px; display: flex; flex-direction: column; }
.team-public__metrics span { color: #f5c76c; font-size: 10px; letter-spacing: .12em; text-transform: uppercase; font-weight: 700; }
.team-public__metrics strong { font-size: 29px; line-height: 1.2; margin-top: 7px; }
.team-public__metrics small { color: var(--tlou-muted); font-size: 12px; }
.team-public__roster { padding: 0 25px; }
.team-public__member { display: flex; align-items: center; gap: 16px; min-width: 0; border-bottom: 1px solid #393c34; padding: 17px 0; }
.team-public__member:last-child { border: 0; }
.team-public__avatar { flex: none; width: 48px; height: 48px; display: grid; place-items: center; background: #33372d; border: 1px solid #69552f; border-radius: 5px; color: #f5c76c; font-weight: 800; overflow: hidden; }
.team-public__avatar img { width: 100%; height: 100%; object-fit: cover; }
.team-public__member-name { display: flex; flex-direction: column; min-width: 0; }
.team-public__member-name small { color: #f5c76c; text-transform: uppercase; letter-spacing: .1em; font-size: 10px; }
.team-public__member-name a { color: #fff; font-size: 17px; font-weight: 700; overflow-wrap: anywhere; }
.team-public__member-name span { color: var(--tlou-muted); font-size: 12px; }
.team-public__member > .competition-text-link { margin-left: auto; }
.competition-table-wrap { overflow-x: auto; }
.competition-table { width: 100%; min-width: 485px; border-collapse: collapse; text-align: left; }
.competition-table th, .competition-table td { padding: 15px 22px; border-bottom: 1px solid #393c34; }
.competition-table thead th { color: #aaa9a5; font-size: 11px; text-transform: uppercase; letter-spacing: .08em; }
.competition-table tbody th { font-weight: 650; }
.competition-table tbody tr:last-child th, .competition-table tbody tr:last-child td { border-bottom: 0; }
.team-public__matches { padding: 5px 22px; }
.team-public__match { display: flex; flex-direction: column; gap: 7px; padding: 18px 2px; border-bottom: 1px solid #393c34; text-decoration: none; }
.team-public__match:last-child { border-bottom: 0; }
.team-public__match strong { color: #fff; font-size: 16px; }
.team-public__match > span:last-child { display: flex; justify-content: space-between; gap: 10px; color: var(--tlou-muted); font-size: 12px; }
.team-public__match b { color: #f5c76c; }
.competition-side__link { display: block; border: 1px solid #69512a; padding: 16px 22px; background: #2b271e; border-radius: 6px; font-weight: 700; }
.match-public__intro { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 22px; }
.match-public__intro h1 { font-size: clamp(32px,4vw,52px); line-height: 1.12; margin: 6px 0 8px; }
.match-public__intro p { margin: 0; }
.match-public__status { border: 1px solid #8b6b36; color: #f5c76c; border-radius: 999px; padding: 9px 15px; font-size: 12px; font-weight: 700; white-space: nowrap; }
.match-public__scoreboard { min-height: 250px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; padding: 30px 55px; gap: 30px; }
.match-public__team { display: flex; flex-direction: column; align-items: center; text-align: center; min-width: 0; }
.match-public__logo { width: 78px; height: 78px; margin-bottom: 12px; padding: 7px; border-radius: 5px; }
.match-public__team a, .match-public__team strong { display: block; color: #fff; font-weight: 800; font-size: clamp(19px,2.5vw,30px); margin-top: 7px; overflow-wrap: anywhere; }
.match-public__versus { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 8px; min-width: 120px; }
.match-public__versus > span { color: #f5c76c; font-weight: 900; letter-spacing: .1em; font-size: 21px; }
.match-public__versus small { color: var(--tlou-muted); text-transform: uppercase; letter-spacing: .1em; font-size: 9px; }
.match-public__maps { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; padding: 20px 24px; }
.match-public__map { border: 1px solid #414337; background: #262923; border-radius: 5px; overflow: hidden; }
.match-public__map img { display: block; width: 100%; height: 125px; object-fit: cover; }
.match-public__map > div { padding: 14px 17px; display: flex; flex-direction: column; gap: 5px; }
.match-public__map small { color: #f5c76c; font-weight: 700; letter-spacing: .1em; }
.match-public__map strong { font-size: 17px; }
.match-public__map span { color: var(--tlou-muted); font-size: 12px; }
.match-public__rosters { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); }
.match-public__rosters > div { padding: 20px 24px 24px; min-width: 0; }
.match-public__rosters > div + div { border-left: 1px solid #393c34; }
.match-public__rosters h3 { margin: 0 0 15px; font-size: 17px; overflow-wrap: anywhere; }
.match-public__player { display: flex; flex-direction: column; padding: 10px 0; border-top: 1px solid #393c34; }
.match-public__player a, .match-public__player > span { color: #fff; font-size: 14px; font-weight: 700; }
.match-public__player small { color: var(--tlou-muted); }
.match-public__facts { padding: 5px 24px; margin: 0; }
.match-public__facts > div { display: flex; justify-content: space-between; gap: 18px; border-bottom: 1px solid #393c34; padding: 13px 0; font-size: 13px; }
.match-public__facts dt { color: var(--tlou-muted); font-weight: 400; }
.match-public__facts dd { margin: 0; text-align: right; color: #fff; font-weight: 650; }
.match-public__actions { display: grid; gap: 9px; padding: 20px 24px 24px; }
.match-public__actions .competition-text-link { text-align: center; }
@media (max-width: 900px) { .competition-grid { grid-template-columns: 1fr; } .team-public__hero { flex-direction: column; } .team-public__record { margin: 0 30px 30px; padding: 18px 0 0; border-left: 0; border-top: 1px solid #5a4a2e; } .team-public__metrics { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 600px) { .competition-page { padding: 22px 15px 55px; } .team-public__identity { padding: 25px; flex-direction: column; align-items: flex-start; gap: 18px; } .team-public__logo { width: 92px; height: 92px; } .team-public__metrics { gap: 8px; } .team-public__metrics > div { padding: 14px; } .match-public__scoreboard { padding: 28px 12px; gap: 7px; } .match-public__logo { width: 55px; height: 55px; } .match-public__versus { min-width: 47px; } .match-public__versus small { display: none; } .match-public__maps { grid-template-columns: 1fr; } .match-public__intro { align-items: flex-start; flex-direction: column; } .match-public__rosters { grid-template-columns: 1fr; } .match-public__rosters > div + div { border-left: 0; border-top: 1px solid #393c34; } }
.team-ladder-context { padding-bottom: 0; display: flex; align-items: stretch; gap: 12px; }
.team-ladder-context > a { display: flex; align-items: center; margin: 0; }
.team-ladder-context__rating { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; background: #242620; border: 1px solid #57513e; border-radius: 6px; padding: 10px 18px; }
.team-ladder-context__rating strong { font-size: 22px; color: #f5c76c; }
.team-ladder-context__rating > span:last-of-type { color: var(--tlou-muted); font-size: 12px; }
.team-ladder-context__rating a { font-size: 12px; font-weight: 700; }
@media (max-width: 650px) { .team-ladder-context { flex-direction: column; } }
/* The legacy theme floats every section element. Keep competition sections in normal flow. */
.public-site .competition-page section { float: none; width: auto; }
.public-site .competition-page .competition-hero, .public-site .competition-page .competition-panel { width: 100%; }
/* The legacy header selector positions headers over the site navigation. */
.public-site .match-public__intro { position: relative; top: auto; right: auto; bottom: auto; left: auto; width: 100%; height: auto; }
