/* Tournament catalog only; keep other administration and public screens independent. */
.cb-tournament-browser { --tournament-line: #b4dbc333; --tournament-muted: #b1c8bb; font-variant-numeric: tabular-nums; }
.cb-admin-workspace .cb-tournament-heading { display: flex; align-items: center; justify-content: space-between; gap: 30px; padding: 36px 38px; border: 1px solid #77e7b65c; border-radius: 18px; background: radial-gradient(ellipse at 90% 15%, #76efba17, transparent 55%), linear-gradient(115deg, #15352b, #0a1a20); box-shadow: inset 0 1px #dcffe51c, 0 16px 40px #0003; }
.cb-tournament-heading::after { content: ''; position: absolute; inset: 0 12% auto 7%; height: 1px; background: linear-gradient(90deg, transparent, #a7ffda9c, transparent); pointer-events: none; }
.cb-tournament-intro { min-width: 0; }
.cb-admin-workspace .cb-tournament-heading .cb-eyebrow { color: #8af4c5; font-size: 10px; margin-bottom: 16px; }
.cb-admin-workspace .cb-tournament-heading h1 { font-size: clamp(32px, 3.6vw, 46px); }
.cb-tournament-heading .cb-accent { color: #69f2bc; text-shadow: 0 3px 28px #43e8b022; }
.cb-tournament-intro > p:not(.cb-eyebrow) { color: #c0d7c9; font-size: 15px; line-height: 1.8; margin: 16px 0 19px; }
.cb-tournament-intro .cb-text-link { color: #bbd8c9; font-size: 12px; }
.cb-tournament-mark { position: relative; display: grid; place-items: center; flex: 0 0 170px; height: 170px; border: 1px solid #b4edc639; border-radius: 50%; background: radial-gradient(ellipse at 50% 25%, #82efa52b, transparent 70%), repeating-linear-gradient(110deg, #84e4b704 0 20px, #84e4b70b 20px 40px); box-shadow: inset 0 0 30px #051e1b77, 0 0 0 7px #9aebbc04; color: #b4f2c9; }
.cb-tournament-mark::before { content: ''; position: absolute; inset: 13px; border: 1px dashed #b4edc637; border-radius: inherit; }
.cb-tournament-mark svg { width: 67px; height: 67px; margin-top: -12px; filter: drop-shadow(0 7px 8px #001e16aa); }
.cb-tournament-mark > span { position: absolute; bottom: 32px; font-size: 7px; letter-spacing: 1px; color: #bdd9c7; }
.cb-tournament-toolbar { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 18px; margin: 26px 0; }
.cb-tournament-toolbar .cb-button-primary { border: 1px solid #beffe27a; background: linear-gradient(115deg, #a5ffd3, #5aedb8 65%, #42dfb5); box-shadow: inset 0 1px #f3fff4aa, 0 7px 24px #36d89b26; font-size: 14px; }
.cb-tournament-toolbar .cb-button-primary:hover { transform: translateY(-2px); box-shadow: inset 0 1px #fff, 0 10px 28px #36d89b3d; }
.cb-tournament-total { display: flex; align-items: baseline; flex-wrap: wrap; gap: 7px; color: var(--tournament-muted); font-size: 13px; margin: 0; }
.cb-tournament-total strong { color: #e4f6eb; font-size: 17px; font-weight: 650; }
.cb-tournament-total > span { color: #729e88; margin-inline: 3px; }
.cb-tournament-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.cb-tournament-card { position: relative; display: flex; flex-direction: column; min-width: 0; padding: 25px; border: 1px solid var(--tournament-line); border-radius: 16px; background: radial-gradient(ellipse at 0% 0%, #71d5a311, transparent 65%), linear-gradient(145deg, #142c29, #0a1a20); box-shadow: inset 0 1px #cffff414, 0 10px 25px #0002; transition: border-color .2s, box-shadow .2s; }
.cb-tournament-card::before { content: ''; position: absolute; inset: -1px 18% auto; height: 1px; background: linear-gradient(90deg, transparent, #affbd35e, transparent); pointer-events: none; }
.cb-tournament-card:is(:hover, :focus-within) { border-color: #86e6b76b; box-shadow: inset 0 1px #cffff420, 0 12px 28px #0003; }
.cb-tournament-card-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; margin-bottom: 20px; }
.cb-tournament-card .cb-team-logo { width: 64px; height: 64px; flex-basis: 64px; border-radius: 15px; border-color: #9be5be4a; background: radial-gradient(ellipse at 50% 0%, #94edb522, transparent 75%), linear-gradient(140deg, #254d3d, #102723); box-shadow: inset 0 1px #d0ffe72b, 0 6px 14px #0003; color: #9eefc9; font-size: 19px; }
.cb-tournament-format { border: 1px solid #a0dfbd38; border-radius: 6px; padding: 5px 10px; font-size: 10px; font-weight: 650; letter-spacing: 1px; color: #b1f1cd; background: linear-gradient(145deg, #24493866, #0c2925); box-shadow: inset 0 1px #d0ffe717; }
.cb-tournament-short-name { color: #a4d7bf; font-size: 10px; letter-spacing: 1.4px; font-weight: 600; margin: 0 0 7px; overflow-wrap: anywhere; }
.cb-admin-workspace .cb-tournament-identity h2 { margin: 0; font-size: 23px; font-weight: 650; letter-spacing: -.035em; line-height: 1.3; overflow-wrap: anywhere; }
.cb-tournament-identity a:hover { color: #98f7c8; }
.cb-tournament-description { color: var(--tournament-muted); font-size: 13px; line-height: 1.8; margin: 13px 0 22px; overflow-wrap: anywhere; }
.cb-tournament-edition-summary { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 8px 14px; padding: 13px 15px; margin-top: auto; border: 1px solid #b5d9c329; border-radius: 9px; background: #06181870; }
.cb-tournament-edition-count { color: #c0d6c8; font-size: 12px; }
.cb-tournament-edition-count strong { color: #effdf4; font-size: 23px; font-weight: 650; margin-right: 5px; }
.cb-tournament-edition-hint { font-size: 11px; color: #acc6b6; }
.cb-tournament-card-actions { display: flex; align-items: center; gap: 12px; border-top: 1px solid var(--tournament-line); margin-top: 19px; padding-top: 17px; }
.cb-tournament-open { display: inline-flex; justify-content: space-between; align-items: center; gap: 18px; border: 1px solid #8ee8bd55; border-radius: 8px; background: linear-gradient(130deg, #20523e80, #14322b80); box-shadow: inset 0 1px #d1ffe51b; color: #b8fbd9; padding: 11px 15px; font-size: 13px; font-weight: 600; }
.cb-tournament-open > span { color: #91efbf; }
.cb-tournament-edit { margin-left: auto; border: 1px solid #a1cfb636; border-radius: 8px; padding: 11px 18px; font-size: 13px; color: #d0e3d7; background: #0a1c1d; }
.cb-tournament-open, .cb-tournament-edit { transition: border-color .18s, background .18s; }
.cb-tournament-open:hover, .cb-tournament-edit:hover { border-color: #98edc179; background: #234c3c; color: #dcffe9; }
.cb-tournament-empty { text-align: center; padding: 46px 28px; border: 1px dashed #9ae2b845; border-radius: 16px; background: radial-gradient(ellipse at 50% 0%, #55edb00d, transparent 80%), #0b1c1d; }
.cb-tournament-empty-icon { display: grid; place-items: center; width: 66px; height: 66px; margin: 0 auto 24px; border: 1px solid #80edb448; border-radius: 17px; background: linear-gradient(145deg, #234d3b, #102921); color: #b1f4cf; box-shadow: inset 0 1px #d8ffe625, 0 8px 20px #0003; }
.cb-tournament-empty-icon svg { width: 32px; height: 32px; }
.cb-tournament-empty .cb-eyebrow { justify-content: center; font-size: 10px; margin-bottom: 13px; }
.cb-admin-workspace .cb-tournament-empty h2 { font-size: clamp(24px, 2.5vw, 30px); }
.cb-tournament-empty > p:last-child { max-width: 460px; margin: 16px auto 0; color: var(--tournament-muted); font-size: 14px; line-height: 1.8; }
.cb-tournament-browser a:focus-visible { outline: 2px solid #78f3bb; outline-offset: 4px; }
@media (max-width: 760px) {
  .cb-admin-workspace .cb-tournament-heading { padding: 28px 24px; }.cb-tournament-mark { display: none; }
  .cb-tournament-intro > p:not(.cb-eyebrow) { font-size: 14px; }.cb-tournament-grid { grid-template-columns: 1fr; gap: 16px; }
  .cb-tournament-card { padding: 22px; }.cb-tournament-total { font-size: 12px; }
}
@media (max-width: 380px) {
  .cb-admin-workspace .cb-tournament-heading { padding: 25px 20px; }.cb-tournament-card { padding: 20px; }
  .cb-admin-workspace .cb-tournament-identity h2 { font-size: 21px; }.cb-tournament-open { padding-inline: 11px; gap: 12px; font-size: 12px; }.cb-tournament-edit { padding-inline: 13px; font-size: 12px; }
  .cb-tournament-empty { padding: 32px 20px; }
}
@media (prefers-reduced-motion: reduce) {
  .cb-tournament-browser *, .cb-tournament-browser *::before, .cb-tournament-browser *::after { transition: none !important; animation: none !important; }
  .cb-tournament-toolbar .cb-button-primary:hover { transform: none; }
}
