/* Tournament Livescore page — compact desktop and mobile layout */
.livescore-main { width:min(1160px, calc(100% - 64px)); margin:0 auto; padding:76px 0 100px; }
.livescore-intro { padding:12px 0 42px; }
.livescore-eyebrow { display:flex; align-items:center; gap:10px; color:#338c68; font-size:10px; font-weight:800; letter-spacing:.15em; }
.livescore-eyebrow span { width:24px; height:2px; background:#42bc82; }
.livescore-intro h1 { margin:20px 0 12px; color:var(--ink); font:800 clamp(38px,5vw,58px)/1.12 var(--display); letter-spacing:-.06em; }
.livescore-intro h1 span { color:#7b8f8e; }
.livescore-intro p { max-width:680px; color:#66777b; font-size:14px; line-height:1.8; }
.livescore-panel { background:#fff; border:1px solid #e4ece7; border-radius:16px; box-shadow:0 18px 55px #173b2b0a; overflow:hidden; }
.livescore-panel-head { display:flex; align-items:center; justify-content:space-between; gap:22px; padding:26px 28px; border-bottom:1px solid #e8efeb; }
.panel-kicker { color:#39956c; font-size:9px; font-weight:800; letter-spacing:.14em; }
.livescore-panel-head h2 { margin:8px 0 0; color:var(--ink); font:800 24px var(--display); letter-spacing:-.04em; }
.livescore-tools { display:flex; align-items:center; gap:8px; }
.search-box input { width:250px; padding:11px 13px; border:1px solid #dce7e1; border-radius:8px; background:#fbfdfb; color:var(--ink); font:500 12px var(--font); outline:none; }
.search-box input:focus { border-color:#65c99a; }
.refresh-button { border:1px solid #dce7e1; background:#fff; color:var(--ink); padding:10px 13px; border-radius:8px; font:700 11px var(--font); cursor:pointer; }
.refresh-button:disabled { opacity:.55; cursor:wait; }
.livescore-status { padding:12px 22px; color:#73827e; font-size:11px; background:#f8fbf9; border-bottom:1px solid #edf2ef; }
.livescore-status.success { color:#25845b; }
.livescore-status.error { color:#b54747; }
.table-wrap { width:100%; overflow-x:hidden; }
.tournament-table { width:100%; table-layout:fixed; border-collapse:collapse; text-align:left; }
.tournament-table th { padding:13px 14px; color:#7b8b86; background:#fbfcfb; font-size:9px; font-weight:800; letter-spacing:.1em; text-transform:uppercase; white-space:nowrap; }
.tournament-table td { padding:16px 14px; border-top:1px solid #edf2ef; color:#60716c; font-size:12px; vertical-align:middle; }
.tournament-table tbody tr:hover { background:#fbfefc; }
.tournament-table .date-heading,.date-cell { width:17%; }
.tournament-table .tournament-heading,.name-cell { width:65%; }
.tournament-table .course-heading,.course-cell { width:18%; }
.date-cell { white-space:nowrap; font-variant-numeric:tabular-nums; color:#73827e!important; }
.name-cell { overflow-wrap:anywhere; }
.tournament-link { display:inline; color:var(--ink); font-size:13px; line-height:1.55; font-weight:700; text-decoration:none; text-underline-offset:3px; transition:color .18s; }
.tournament-link:hover { color:#25845b; text-decoration:underline; }
.tournament-link-icon { display:inline-block; margin-left:6px; color:#48a77a; font-size:11px; font-weight:700; white-space:nowrap; }
.tournament-name-unavailable { color:#8a9691; font-size:13px; line-height:1.5; font-weight:600; }
.course-cell { white-space:nowrap; }
.course-tag { display:inline-block; max-width:100%; padding:6px 9px; color:#327d5d; background:#eaf8f0; border-radius:5px; font-size:10px; font-weight:800; overflow:hidden; text-overflow:ellipsis; vertical-align:middle; }
.empty-search { padding:26px; color:#82908a; text-align:center; font-size:12px; }
.livescore-panel-foot { display:flex; justify-content:space-between; gap:16px; padding:15px 20px; color:#8b9993; background:#fbfcfb; border-top:1px solid #edf2ef; font-size:8px; font-weight:700; letter-spacing:.1em; }
.livescore-footer { margin-top:0; }
.desktop-nav a.active { color:#159565; }

@media (min-width:761px) {
  .tournament-table th:first-child,.tournament-table td:first-child { padding-left:22px; }
  .tournament-table th:last-child,.tournament-table td:last-child { padding-right:22px; }
}

@media (max-width:760px) {
  .livescore-main { width:calc(100% - 28px); padding:34px 0 48px; }
  .livescore-intro { padding:8px 2px 25px; }
  .livescore-eyebrow { font-size:9px; letter-spacing:.12em; }
  .livescore-intro h1 { margin:15px 0 10px; font-size:clamp(31px,8vw,42px); line-height:1.12; letter-spacing:-.055em; }
  .livescore-intro p { max-width:100%; font-size:13px; line-height:1.65; }
  .livescore-panel { border-radius:13px; }
  .livescore-panel-head { align-items:stretch; flex-direction:column; gap:16px; padding:19px 15px 16px; }
  .livescore-panel-head h2 { margin-top:6px; font-size:21px; }
  .livescore-tools { width:100%; gap:7px; }
  .search-box { flex:1 1 auto; min-width:0; }
  .search-box input { width:100%; min-width:0; box-sizing:border-box; padding:11px 10px; font-size:11px; }
  .refresh-button { flex:0 0 auto; padding:10px 10px; font-size:10px; }
  .livescore-status { padding:11px 15px; font-size:10px; line-height:1.5; }
  .table-wrap { overflow:visible; }
  .tournament-table { width:100%; table-layout:fixed; }
  .tournament-table th { padding:11px 7px; font-size:8px; letter-spacing:.07em; }
  .tournament-table td { padding:13px 7px; font-size:10px; }
  .tournament-table .date-heading,.date-cell { width:24%; }
  .tournament-table .tournament-heading,.name-cell { width:56%; }
  .tournament-table .course-heading,.course-cell { width:20%; }
  .date-cell { white-space:normal; overflow-wrap:anywhere; line-height:1.35; font-size:9px!important; }
  .tournament-link { font-size:11px; line-height:1.45; overflow-wrap:anywhere; }
  .tournament-link-icon { margin-left:3px; font-size:9px; }
  .tournament-name-unavailable { font-size:11px; overflow-wrap:anywhere; }
  .course-tag { padding:5px 6px; font-size:9px; }
  .livescore-panel-foot { align-items:flex-start; padding:12px 13px; font-size:7px; letter-spacing:.06em; }
}

@media (max-width:360px) {
  .livescore-main { width:calc(100% - 20px); }
  .tournament-table th,.tournament-table td { padding-left:5px; padding-right:5px; }
  .tournament-table .date-heading,.date-cell { width:25%; }
  .tournament-table .tournament-heading,.name-cell { width:54%; }
  .tournament-table .course-heading,.course-cell { width:21%; }
  .refresh-button span { display:none; }
}
