/* tMP Core: tournaments, public. The host course's colours come in as --ink, --acc, --link, --strong, --soft. */
.trn { --ink: #0F2029; --ink2: #16303C; --acc: #58B4E5; --link: #1A6A96; --strong: #1C8FD6; --soft: #E3F0F8;
	--paper: #FBFAF7; --panel: #FFFFFF; --line: rgba(15, 32, 41, .12); --line2: rgba(15, 32, 41, .2); --text: #33424A; --muted: #66747C; --good: #1E7A45; --bad: #B3261E;
	--sans: 'Geist', system-ui, -apple-system, 'Segoe UI', sans-serif; --serif: 'Instrument Serif', Georgia, serif; --mono: 'Geist Mono', ui-monospace, Menlo, monospace; }
body.trn { margin: 0; background: var(--paper); color: var(--text); font-family: var(--sans); font-size: 16px; line-height: 1.5; -webkit-font-smoothing: antialiased; }
.trn *, .trn *::before, .trn *::after { box-sizing: border-box; }
.trn a { color: var(--link); }
.trn h1, .trn h2, .trn h3 { color: var(--ink); margin: 0; }

.trn-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px max(16px, calc((100% - 960px) / 2)); background: var(--ink); color: #fff; position: sticky; top: 0; z-index: 5; }
.trn-bar__brand { display: flex; align-items: center; gap: 10px; color: #fff !important; text-decoration: none; font-weight: 600; min-width: 0; }
.trn-bar__brand img { height: 32px; width: auto; max-width: 120px; object-fit: contain; background: #fff; border-radius: 6px; padding: 2px 4px; }
.trn-bar__brand span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.trn-bar__link { color: #fff !important; opacity: .82; font-size: 14px; text-decoration: none; white-space: nowrap; }
@media (hover: hover) {
	.trn-bar__link:hover { opacity: 1; }
}
.trn-main { max-width: 960px; margin: 0 auto; padding: 0 16px 56px; }
.trn-hero { padding: 40px 0 28px; border-bottom: 1px solid var(--line); }
.trn-eyebrow { font-family: var(--mono); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin: 14px 0 6px; }
.trn-hero h1 { font-family: var(--serif); font-weight: 400; font-size: clamp(40px, 8vw, 64px); line-height: 1; letter-spacing: -.02em; }
.trn-hero h1 em { color: var(--link); }
.trn-lead { font-size: 18px; max-width: 34em; margin: 14px 0 0; }
.trn-hero--list { padding-bottom: 32px; }
/* the course's hero photo behind the name, with their colour over it so it always reads */
.trn-hero--photo { position: relative; margin: 0 calc(50% - 50vw); padding: 56px calc(50vw - 50% + 0px) 28px; padding-left: max(16px, calc((100vw - 960px) / 2)); padding-right: max(16px, calc((100vw - 960px) / 2)); border-bottom: 0; color: #fff;
	background: linear-gradient(0deg, color-mix(in srgb, var(--ink) 94%, transparent) 0%, color-mix(in srgb, var(--ink) 55%, transparent) 55%, color-mix(in srgb, var(--ink) 25%, transparent) 100%), var(--trn-photo) var(--trn-at, center) / cover no-repeat, var(--ink); }
.trn-hero--photo h1, .trn-hero--photo .trn-eyebrow { color: #fff; }
.trn-hero--photo .trn-eyebrow { opacity: .8; }
.trn-hero--photo .trn-facts { background: rgba(255,255,255,.96); }
.trn-hero--photo .trn-btn { background: #fff; color: var(--ink) !important; border-color: #fff; }
.trn-hero--photo .trn-btn--ghost { background: transparent; color: #fff !important; }
.trn-hero--list .trn-eyebrow { margin-top: 0; }
.trn-facts { list-style: none; margin: 24px 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 0; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; background: var(--panel); }
.trn-facts li { padding: 14px 18px; border-left: 1px solid var(--line); font-size: 15px; color: var(--ink); }
.trn-facts li:first-child { border-left: 0; }
.trn-facts b { display: block; font-family: var(--mono); font-weight: 500; font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: 3px; }
@media (max-width: 560px) { .trn-facts li { border-left: 0; border-top: 1px solid var(--line); } .trn-facts li:first-child { border-top: 0; } }

.trn-tag { display: inline-flex; align-items: center; gap: 6px; font-family: var(--mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; border-radius: 99px; padding: 4px 10px; background: var(--soft); color: var(--link); }
.trn-tag--live { background: #FDECEA; color: var(--bad); }
.trn-tag--live::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; animation: trnPulse 1.4s ease-in-out infinite; }
.trn-tag--final { background: var(--ink); color: #fff; }
.trn-tag--closed { background: #EEF0F1; color: var(--muted); }
@keyframes trnPulse { 50% { opacity: .3; } }
@media (prefers-reduced-motion: reduce) { .trn-tag--live::before, .trn-live i { animation: none; } }

.trn-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 22px; border-radius: 10px; border: 1px solid var(--ink); background: var(--ink); color: #fff !important; font: 600 16px/1 var(--sans); text-decoration: none; cursor: pointer; margin: 0 8px 8px 0; transition: background .15s, transform .15s; }
@media (hover: hover) {
	.trn-btn:hover { background: var(--ink2); transform: translateY(-1px); }
}
.trn-btn:disabled { opacity: .5; cursor: not-allowed; transform: none; }
.trn-btn--ghost { background: transparent; color: var(--ink) !important; }
@media (hover: hover) {
	.trn-btn--ghost:hover { background: var(--soft); }
}
.trn-btn:focus-visible, .trn a:focus-visible, .trn input:focus-visible, .trn select:focus-visible { outline: 3px solid color-mix(in srgb, var(--acc) 60%, transparent); outline-offset: 2px; }

.trn-sec { padding: 32px 0 8px; }
.trn-sec h2 { font-family: var(--serif); font-weight: 400; font-size: 34px; line-height: 1.1; margin-bottom: 14px; }
.trn-sec__head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.trn-sec__head span { color: var(--muted); font-size: 14px; }
.trn-about p { max-width: 40em; margin: 0 0 12px; font-size: 17px; }
.trn-empty { color: var(--muted); }
.trn-live { display: inline-flex; align-items: center; gap: 8px; }
.trn-live i { width: 8px; height: 8px; border-radius: 50%; background: var(--bad); animation: trnPulse 1.4s ease-in-out infinite; }

/* the list */
.trn-cards { display: grid; gap: 12px; padding-top: 24px; }
.trn-card { display: grid; grid-template-columns: 64px 1fr auto; gap: 16px; align-items: center; padding: 16px 18px; background: var(--panel); border: 1px solid var(--line); border-radius: 14px; text-decoration: none; color: var(--text) !important; transition: border-color .15s, transform .15s, box-shadow .15s; }
@media (hover: hover) {
	.trn-card:hover { border-color: var(--ink); transform: translateY(-2px); box-shadow: 0 18px 30px -22px rgba(15, 32, 41, .45); }
}
.trn-card__date { display: flex; flex-direction: column; align-items: center; justify-content: center; height: 64px; border-radius: 12px; background: var(--soft); color: var(--link); font-family: var(--mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; }
.trn-card__date b { font-family: var(--serif); font-weight: 400; font-size: 30px; line-height: 1; letter-spacing: 0; color: var(--ink); }
.trn-card__body { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.trn-card__body .trn-tag { align-self: flex-start; margin-bottom: 4px; }
.trn-card__name { font-size: 18px; font-weight: 600; color: var(--ink); }
.trn-card__meta { font-size: 13.5px; color: var(--muted); }
.trn-card__fee { text-align: right; font-family: var(--serif); font-size: 26px; color: var(--ink); line-height: 1; white-space: nowrap; }
.trn-card__fee i { display: block; font-family: var(--sans); font-style: normal; font-size: 12px; color: var(--muted); margin-top: 4px; }
@media (max-width: 560px) { .trn-card { grid-template-columns: 52px 1fr; } .trn-card__date { height: 52px; } .trn-card__fee { grid-column: 2; text-align: left; font-size: 20px; } .trn-card__fee i { display: inline; margin-left: 6px; } }

/* the form */
.trn-form { background: var(--panel); border: 1px solid var(--line); border-radius: 16px; padding: 22px; }
.trn-player { border: 0; border-top: 1px solid var(--line); margin: 18px 0 0; padding: 18px 0 0; min-width: 0; }
.trn-player > legend { font-family: var(--mono); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); padding: 0 8px 0 0; }
.trn-player[hidden] { display: none; }
.trn-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 12px; }
.trn-f { display: flex; flex-direction: column; gap: 5px; margin: 0 0 12px; font-size: 14px; font-weight: 500; color: var(--ink); min-width: 0; }
.trn-f--sm { max-width: 140px; }
.trn-f--wide { grid-column: 1 / -1; }
.trn-f em, .trn-choice em { font-style: normal; font-weight: 400; color: var(--muted); }
.trn input[type=text], .trn input[type=email], .trn input[type=tel], .trn input[type=number], .trn select { width: 100%; min-height: 48px; padding: 10px 12px; border: 1px solid var(--line2); border-radius: 10px; background: #fff; font: 400 16px/1.3 var(--sans); color: var(--ink); }
.trn input:focus, .trn select:focus { border-color: var(--link); outline: 0; box-shadow: 0 0 0 3px color-mix(in srgb, var(--acc) 30%, transparent); }
.trn-choice { border: 0; padding: 0; margin: 4px 0 14px; display: flex; flex-wrap: wrap; gap: 8px; min-width: 0; }
.trn-choice legend { width: 100%; font-size: 14px; font-weight: 500; color: var(--ink); margin-bottom: 7px; padding: 0; }
.trn-choice label { position: relative; }
.trn-choice input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.trn-choice span { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 16px; border: 1px solid var(--line2); border-radius: 99px; background: #fff; font-size: 15px; color: var(--ink); cursor: pointer; }
.trn-choice span i, .trn-tick span i { font-style: normal; font-family: var(--mono); font-size: 12px; color: var(--link); }
.trn-choice input:checked + span { background: var(--ink); border-color: var(--ink); color: #fff; }
.trn-choice input:checked + span i { color: var(--acc); }
.trn-choice input:focus-visible + span { outline: 3px solid color-mix(in srgb, var(--acc) 60%, transparent); outline-offset: 2px; }
.trn-choice--seg { margin-bottom: 18px; }
.trn-tick { display: flex; align-items: center; gap: 10px; margin: 4px 0 14px; font-size: 15px; color: var(--ink); cursor: pointer; }
.trn-tick input { width: 20px; height: 20px; accent-color: var(--ink); }
.is-bad > span, .trn-choice.is-bad legend, .trn-tick.is-bad span { color: var(--bad); }
.trn-f.is-bad input, .trn-f.is-bad select { border-color: var(--bad); }
.trn-err { background: #FDECEA; color: #7A1D17; border-radius: 10px; padding: 12px 14px; margin: 0 0 14px; font-size: 15px; }
.trn-note { font-size: 15px; margin: -4px 0 14px; color: var(--muted); }
.trn-note--good { color: var(--good); }
.trn-pay { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; border-top: 1px solid var(--line); margin-top: 18px; padding-top: 18px; }
.trn-pay span { display: block; font-family: var(--mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.trn-pay b { font-family: var(--serif); font-weight: 400; font-size: 40px; line-height: 1; color: var(--ink); }
.trn-pay .trn-btn { margin: 0; }
@media (max-width: 560px) { .trn-pay .trn-btn { width: 100%; } .trn-form { padding: 16px; } }
.trn-small { font-size: 13px; color: var(--muted); margin: 12px 0 0; }
.trn-done { display: flex; flex-direction: column; gap: 4px; background: #E8F4EC; border-radius: 14px; padding: 18px 20px; color: #174A2C; }
.trn-done__more { margin-top: 8px; font-weight: 600; color: #174A2C !important; }
.trn-done b { font-family: var(--serif); font-weight: 400; font-size: 30px; line-height: 1.1; }

/* the field */
.trn-field { list-style: none; counter-reset: f; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 8px; }
.trn-field li { counter-increment: f; display: flex; align-items: baseline; gap: 10px; padding: 10px 14px; background: var(--panel); border: 1px solid var(--line); border-radius: 10px; font-size: 15px; }
.trn-field li::before { content: counter(f); font-family: var(--mono); font-size: 12px; color: var(--muted); min-width: 1.6em; }
.trn-field b { font-weight: 500; color: var(--ink); flex: 1; }
.trn-field span { font-size: 12px; color: var(--muted); }

/* the board (also on the course's screen) */
.trn-board__g { margin: 0 0 22px; }
.trn-board__g h3 { font-family: var(--mono, 'Geist Mono', monospace); font-weight: 500; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted, #66747C); margin: 0 0 8px; }
.trn-board__t { width: 100%; border-collapse: separate; border-spacing: 0; background: #fff; border: 1px solid var(--line, rgba(15,32,41,.12)); border-radius: 12px; overflow: hidden; font-variant-numeric: tabular-nums; }
.trn-board__t th { font-family: var(--mono, 'Geist Mono', monospace); font-weight: 500; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted, #66747C); text-align: center; padding: 10px 8px; white-space: nowrap; background: var(--soft, #E3F0F8); border-bottom: 1px solid var(--line, rgba(15,32,41,.12)); }
.trn-board__t td { text-align: center; padding: 11px 8px; border-bottom: 1px solid rgba(15, 32, 41, .07); font-size: 15px; color: var(--ink, #0F2029); }
.trn-board__t tr:last-child td { border-bottom: 0; }
.trn-board__t .who { text-align: left; width: 100%; }
.trn-board__t td.who { font-weight: 500; }
.trn-board__t .pos { width: 48px; font-weight: 600; }
.trn-board__t td.par { font-weight: 700; font-size: 16px; }
.trn-board__t td.par.is-under { color: var(--bad, #B3261E); }
.trn-board__t td.tot { font-weight: 600; }
.trn-board__t .rd, .trn-board__t .thru { color: var(--muted, #66747C); }
.trn-board__t tr.is-none td { color: var(--muted, #66747C); font-weight: 400; }
.trn-board__t tr.is-me td { background: #FFF6DC; }
.trn-board__t tr.is-me td.who { font-weight: 700; }
.trn-board__t tr.is-friend td { background: #F1F7EE; }
.trn-board__t tr.is-friend td.who::after, .trn-board__t tr.is-me td.who::after { content: 'friend'; font-family: var(--mono, monospace); font-size: 10px; text-transform: uppercase; letter-spacing: .06em; color: #2D6A4F; background: #DCE8D6; border-radius: 99px; padding: 2px 6px; margin-left: 6px; vertical-align: 1px; }
.trn-board__t tr.is-me td.who::after { content: 'you'; color: #7A5200; background: #FBE9B8; }
.trn-unc { font-style: normal; font-family: var(--mono, monospace); font-size: 10px; text-transform: uppercase; letter-spacing: .06em; color: #8A5A12; background: #FBEEDD; border-radius: 99px; padding: 2px 6px; margin-left: 6px; }
.trn-board.is-fresh .trn-board__t { animation: trnFresh 1s ease-out; }
@keyframes trnFresh { from { box-shadow: 0 0 0 3px color-mix(in srgb, var(--acc, #58B4E5) 50%, transparent); } }
@media (max-width: 560px) { .trn-board__t .rd { display: none; } .trn-board__t td, .trn-board__t th { padding: 10px 5px; } }

.trn-foot { text-align: center; padding: 24px 16px 40px; font-size: 13px; color: var(--muted); }
.trn--embed { font-family: var(--sans); }

/* 2.3.0: points boards, handicap column, skins and side games under the board */
.trn-board__t th.hcp, .trn-board__t td.hcp { text-align: center; color: var(--muted, #5F6E76); font-variant-numeric: tabular-nums; width: 44px; }
.trn-board__t--pts td.par { font-weight: 700; }
.trn-extra { margin-top: 26px; }
.trn-extra h3 { margin: 0 0 10px; font-family: 'Instrument Serif', Georgia, serif; font-weight: 400; font-size: 24px; letter-spacing: -.01em; color: var(--ink, #0F2029); }
.trn-extra h3 small { font-family: 'Geist Mono', ui-monospace, monospace; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: #6A7880; margin-left: 8px; }
.trn-skins__holes { display: grid; grid-template-columns: repeat(9, minmax(0, 1fr)); gap: 6px; }
.trn-skins__h { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 8px 2px; border-radius: 10px; background: #FAF9F5; border: 1px solid rgba(15, 32, 41, .08); min-height: 58px; }
.trn-skins__h b { font-family: 'Geist Mono', ui-monospace, monospace; font-size: 11px; color: #6A7880; font-weight: 500; }
.trn-skins__h span { font-size: 12.5px; font-weight: 600; color: var(--ink, #0F2029); max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.trn-skins__h small { font-size: 10.5px; color: #6A7880; }
.trn-skins__h.is-won { background: var(--soft, #E3F0F8); border-color: transparent; }
.trn-skins__h.is-tied span { color: #8A959C; font-weight: 500; }
.trn-skins__h.is-open span { color: #B8C0C5; }
.trn-skins__won { list-style: none; margin: 12px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.trn-skins__won li { padding: 6px 12px; border-radius: 99px; background: #fff; border: 1px solid rgba(15, 32, 41, .12); font-size: 13.5px; }
.trn-skins__won li em { font-style: normal; color: var(--link, #1A6A96); font-weight: 600; margin-left: 4px; }
.trn-skins__carry { margin: 10px 0 0; font-size: 13px; color: #6A7880; }
.trn-games { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.trn-games li { display: flex; align-items: baseline; gap: 12px; padding: 10px 14px; border-radius: 12px; background: #fff; border: 1px solid rgba(15, 32, 41, .08); }
.trn-games li span { color: #6A7880; font-size: 13.5px; flex: 1; }
.trn-games li b { font-weight: 600; }
.trn-games li small { font-family: 'Geist Mono', ui-monospace, monospace; font-size: 12px; color: #6A7880; }
@media (max-width: 600px) { .trn-skins__holes { grid-template-columns: repeat(6, minmax(0, 1fr)); } }

/* 2.3.1: the start list */
.trn-mine { margin: 0 0 14px; padding: 12px 16px; border-radius: 12px; background: var(--soft, #E3F0F8); color: var(--ink, #0F2029); font-size: 15px; }
.trn-start { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 10px; }
.trn-start__g { display: flex; gap: 12px; padding: 12px 14px; border-radius: 14px; background: #fff; border: 1px solid rgba(15, 32, 41, .08); }
.trn-start__at { flex: none; width: 74px; }
.trn-start__at b { display: block; font-family: 'Instrument Serif', Georgia, serif; font-weight: 400; font-size: 22px; line-height: 1; letter-spacing: -.01em; color: var(--ink, #0F2029); }
.trn-start__at small { display: block; margin-top: 4px; font-family: 'Geist Mono', ui-monospace, monospace; font-size: 10px; letter-spacing: .12em; text-transform: uppercase; color: #8A959C; }
.trn-start__g ul { list-style: none; margin: 0; padding: 0; flex: 1; min-width: 0; }
.trn-start__g li { display: flex; align-items: baseline; gap: 6px; padding: 3px 0; font-size: 14px; }
.trn-start__g li b { font-weight: 600; }
.trn-start__g li span { color: #6A7880; font-size: 12.5px; }
.trn-start__g li i { margin-left: auto; font-style: normal; font-family: 'Geist Mono', ui-monospace, monospace; font-size: 10.5px; color: #8A959C; }
.trn-start__g li.is-empty { color: #B8C0C5; }

/* 2.3.2: post your score, the card under a row, the clubhouse screen */
.trn-postme { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; margin: 0 0 16px; padding: 12px 14px; border-radius: 14px; background: #fff; border: 1px solid rgba(15, 32, 41, .08); }
.trn-postme .trn-btn { margin: 0; }
.trn-postme span { color: #5F6E76; font-size: 14px; flex: 1 1 240px; }
.trn-board__t tr[data-entry] { cursor: pointer; }
@media (hover: hover) {
	.trn-board__t tr[data-entry]:hover td { background: #FBFAF7; }
}
.trn-board__t tr.is-open td { background: var(--soft, #E3F0F8); }
.trn-board__card > td { padding: 12px 12px 14px !important; background: #FAF9F5; }
.trn-card + .trn-card { margin-top: 12px; }
.trn-card__who { display: flex; align-items: baseline; gap: 10px; margin-bottom: 8px; }
.trn-card__who b { font-size: 14px; }
.trn-card__who span { font-size: 12.5px; color: #6A7880; }
.trn-card__holes { display: grid; grid-template-columns: repeat(9, minmax(0, 1fr)); gap: 4px; }
.trn-card__h { position: relative; display: flex; flex-direction: column; align-items: center; padding: 5px 2px 6px; border-radius: 9px; background: #fff; border: 1px solid rgba(15, 32, 41, .08); }
.trn-card__h small { font-family: 'Geist Mono', ui-monospace, monospace; font-size: 9.5px; color: #8A959C; }
.trn-card__h b { font-size: 16px; line-height: 1.2; width: 26px; height: 26px; display: grid; place-items: center; border-radius: 50%; }
.trn-card__h i { position: absolute; top: 3px; right: 5px; font-style: normal; font-size: 8px; color: var(--link, #1A6A96); letter-spacing: -1px; }
.trn-card__h.is-birdie b { border: 1.5px solid #B3261E; color: #B3261E; }
.trn-card__h.is-eagle b { background: #B3261E; color: #fff; }
.trn-card__h.is-bogey b { border-radius: 6px; border: 1.5px solid #0F2029; }
.trn-card__h.is-double b { border-radius: 6px; background: #0F2029; color: #fff; }
.trn-card__h.is-open b { color: #C5CCD0; }
.trn-card__wait { margin: 0; color: #6A7880; font-size: 13px; }
@media (max-width: 480px) { .trn-card__holes { grid-template-columns: repeat(6, minmax(0, 1fr)); } }

/* the clubhouse screen: ?tv=1 */
body.trn--tv { background: var(--ink, #0F2029); }
.trn--tv .trn-bar { background: rgba(0, 0, 0, .25); }
.trn--tv .trn-bar { padding: 18px 40px; }
.trn--tv .trn-bar__tv { display: flex; align-items: baseline; gap: 20px; margin-left: auto; }
.trn--tv .trn-bar__tv b { font-family: 'Instrument Serif', Georgia, serif; font-weight: 400; font-size: 26px; }
.trn--tv .trn-bar__tv i { font-style: normal; font-family: 'Geist Mono', ui-monospace, monospace; font-size: 15px; opacity: .7; }
.trn--tv .trn-hero, .trn--tv .trn-about, .trn--tv #register, .trn--tv .trn-postme, .trn--tv .trn-foot, .trn--tv [id^="start"], .trn--tv .trn-extra { display: none !important; }
.trn--tv .trn-main { max-width: none; padding: 0 40px 40px; }
.trn--tv .trn-sec { max-width: none; margin: 0; padding: 20px 0 0; }
.trn--tv .trn-sec__head h2 { color: #fff; font-size: 40px; }
.trn--tv .trn-live { color: rgba(255, 255, 255, .7); }
.trn--tv .trn-board__g h3 { color: rgba(255, 255, 255, .85); font-size: 30px; }
.trn--tv .trn-board__t { background: transparent; border: 0; border-radius: 0; }
.trn--tv .trn-board__t th { background: transparent; color: rgba(255, 255, 255, .5); font-size: 14px; border-bottom: 1px solid rgba(255, 255, 255, .15); padding: 12px 14px; }
.trn--tv .trn-board__t td { color: #fff; font-size: 30px; padding: 14px; border-bottom: 1px solid rgba(255, 255, 255, .08); }
.trn--tv .trn-board__t td.pos { font-family: 'Instrument Serif', Georgia, serif; font-size: 34px; color: rgba(255, 255, 255, .7); }
.trn--tv .trn-board__t td.par.is-under { color: #FF6B6B; }
.trn--tv .trn-board__t td.who { font-weight: 600; }
.trn--tv .trn-board__t td.hcp, .trn--tv .trn-board__t td.thru { color: rgba(255, 255, 255, .6); font-size: 24px; }
.trn--tv .trn-board__t tr.is-none td { opacity: .35; }
.trn--tv .trn-unc { display: none; }
.trn--tv .trn-board__t tr[data-entry] { cursor: default; }
@media (hover: hover) {
	.trn--tv .trn-board__t tr[data-entry]:hover td { background: transparent; }
}

/* 2.4.0: match play and team matches */
.trn-sides { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 16px; margin: 0 0 20px; padding: 18px 22px; border-radius: 16px; background: var(--ink, #0F2029); color: #fff; }
.trn-sides__s { text-align: center; opacity: .75; }
.trn-sides__s.is-up { opacity: 1; }
.trn-sides__s b { display: block; font-family: 'Instrument Serif', Georgia, serif; font-weight: 400; font-size: 56px; line-height: 1; }
.trn-sides__s span { display: block; margin-top: 4px; font-family: 'Geist Mono', ui-monospace, monospace; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; }
.trn-sides__v { font-family: 'Instrument Serif', Georgia, serif; font-size: 26px; opacity: .5; }
.trn-matches { margin-top: 22px; }
.trn-matches h3 { margin: 0 0 10px; font-family: 'Instrument Serif', Georgia, serif; font-weight: 400; font-size: 24px; color: var(--ink, #0F2029); }
.trn-matches__l { display: grid; gap: 8px; }
.trn-match { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 10px; padding: 12px 16px; border-radius: 14px; background: #fff; border: 1px solid rgba(15, 32, 41, .08); }
.trn-match__s { font-weight: 600; font-size: 15px; }
.trn-match__s + .trn-match__r + .trn-match__s { text-align: right; }
.trn-match__s.is-won { color: var(--ink, #0F2029); }
.trn-match__s.is-lost { color: #9AA5AB; font-weight: 500; }
.trn-match__r { font-family: 'Geist Mono', ui-monospace, monospace; font-size: 12px; letter-spacing: .06em; padding: 5px 10px; border-radius: 99px; background: #FAF9F5; color: #5F6E76; white-space: nowrap; }
.trn-match.is-live .trn-match__r { background: var(--soft, #E3F0F8); color: var(--link, #1A6A96); }
.trn-match.is-done .trn-match__r { background: var(--ink, #0F2029); color: #fff; }
.trn--tv .trn-match { background: rgba(255, 255, 255, .06); border-color: transparent; padding: 18px 22px; }
.trn--tv .trn-match__s { color: #fff; font-size: 26px; }
.trn--tv .trn-match__s.is-lost { color: rgba(255, 255, 255, .4); }
.trn--tv .trn-match__r { font-size: 16px; }
.trn--tv .trn-matches h3 { color: rgba(255, 255, 255, .85); }
.trn--tv .trn-sides { background: rgba(255, 255, 255, .06); }

/* 2.34.0: a known field — the sign-up panel a signed-out visitor sees instead of the form */
.trn-known { padding: 22px 22px 20px; border-radius: 16px; background: var(--soft, #E3F0F8); }
.trn-known h2 { margin-top: 0; }
.trn-known__say { margin: 0 0 16px; font-size: 16px; line-height: 1.5; }
.trn-known__acts { display: flex; flex-wrap: wrap; gap: 10px; margin: 0; }
.trn-btn--google { background: #fff; color: #1f1f1f; box-shadow: 0 0 0 1px #dadce0 inset; }
.trn-known__acts + .trn-known__acts { margin-top: 10px; }
.trn-btn--google { background: #fff; color: #1f1f1f; box-shadow: 0 0 0 1px #dadce0 inset; }
.trn-known__acts + .trn-known__acts { margin-top: 10px; }

/* 2.119.0: registration that runs itself — add-ons, a donation, tick boxes, the golfer's own entry */
.trn-addons { border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px 4px; margin: 0 0 14px; }
.trn-addons legend { padding: 0 6px; font-weight: 600; color: var(--ink); }
.trn-f--add input[type=number] { max-width: 120px; }
.trn-money { display: flex; align-items: center; gap: 6px; }
.trn-money b { color: var(--muted); font-weight: 500; }
.trn-tick { display: flex; gap: 10px; align-items: flex-start; margin: 0 0 12px; font-size: 15px; color: var(--ink); line-height: 1.4; }
.trn-tick input { width: 20px; height: 20px; margin: 1px 0 0; flex: none; accent-color: var(--ink); }
.trn-tick.is-bad span { color: #A1271B; }
.trn-mine { margin: 12px 0 0; display: flex; flex-direction: column; gap: 10px; }
.trn-mine__due { margin: 0; padding: 10px 12px; border-radius: 10px; background: #FFF6DE; color: #6B4100; font-size: 14.5px; }
.trn-mine__more { border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; background: #fff; }
.trn-mine__more summary { cursor: pointer; font-weight: 600; color: var(--ink); min-height: 28px; }
.trn-form--mini { margin-top: 12px; }
.trn-inline { display: inline; margin: 0; }

/* 2.120.0: final, status codes, the cut line */
.trn-ok, .trn-code { font-style: normal; font-size: 11px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; padding: 2px 6px; border-radius: 5px; vertical-align: 1px; }
.trn-ok { background: #E8F4EC; color: #174A2C; }
.trn-code { background: #F6E3E0; color: #7A2318; }
.trn-cut td { padding: 6px 10px !important; font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: #7A2318; border-top: 2px dashed #C98A80 !important; background: transparent !important; }

/* 2.121.0: the formats explain themselves, blind draws, the consolation bracket */
.trn-card__how { margin: 8px 0 0; font-size: 13px; line-height: 1.5; color: var(--muted, #5A6B73); }
.trn-note { font-style: normal; font-size: 11px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; padding: 2px 6px; border-radius: 5px; vertical-align: 1px; background: #EEF0F6; color: #2A3A66; }
.trn-matches--consol { margin-top: 28px; opacity: .92; }
.trn-matches--consol h3 { font-size: 20px; }
.trn--tv .trn-card__how { color: rgba(255, 255, 255, .7); }

/* 2.122.0: the order of merit, sponsors, the TV playlist */
.trn-merit { margin-top: 26px; }
.trn-merit h3 { margin: 0 0 10px; font-family: 'Instrument Serif', Georgia, serif; font-weight: 400; font-size: 24px; color: var(--ink, #0F2029); }
.trn-merit h3 small { font-family: var(--mono, monospace); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted, #5A6B73); margin-left: 6px; }
.trn-merit__t { width: 100%; border-collapse: collapse; }
.trn-merit__t th { text-align: left; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted, #5A6B73); padding: 6px 8px; border-bottom: 1px solid var(--line, #DCE3E7); }
.trn-merit__t td { padding: 9px 8px; border-bottom: 1px solid var(--line, #DCE3E7); vertical-align: top; }
.trn-merit__t td small { display: block; margin-top: 2px; font-size: 12px; color: var(--muted, #5A6B73); }
.trn-merit__t td.tot { text-align: right; font-weight: 700; font-variant-numeric: tabular-nums; }
.trn-spons__l { display: flex; flex-wrap: wrap; gap: 10px; margin: 0; padding: 0; list-style: none; }
.trn-spons__s { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; min-width: 120px; padding: 12px 14px; border: 1px solid var(--line, #DCE3E7); border-radius: 12px; background: var(--panel, #fff); text-align: center; }
.trn-spons__s img { max-height: 42px; max-width: 140px; object-fit: contain; }
.trn-spons__s small { font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted, #5A6B73); }
.trn-card__spons { margin: 8px 0 0; font-size: 12px; color: var(--muted, #5A6B73); }
.tv { min-height: 100vh; margin: 0; background: var(--ink, #0F2029); color: #fff; display: flex; flex-direction: column; overflow: hidden; }
.tv-bar { display: flex; align-items: center; gap: 16px; padding: 18px 3vw; font-size: 1.6vw; color: #fff; border-bottom: 1px solid rgba(255,255,255,.12); }
.tv-bar img { height: 2.6vw; }
.tv-bar b { color: #fff; font-family: 'Instrument Serif', Georgia, serif; font-weight: 400; font-size: 2.2vw; }
.tv-bar span { opacity: .7; }
.tv-bar i { margin-left: auto; font-style: normal; font-variant-numeric: tabular-nums; }
.tv-main { position: relative; flex: 1; }
.tv-slide { position: absolute; inset: 0; padding: 2vw 3vw; opacity: 0; transition: opacity .6s; overflow: hidden; font-size: 1.4vw; }
.tv-slide.is-on { opacity: 1; }
.tv-slide h3 { font-family: 'Instrument Serif', Georgia, serif; font-weight: 400; font-size: 2.4vw; color: rgba(255,255,255,.9); }
.tv-kick { margin: 0 0 1vw; font-size: 1.1vw; letter-spacing: .14em; text-transform: uppercase; color: rgba(255,255,255,.75); }
.tv-big { margin: 0; font-family: 'Instrument Serif', Georgia, serif; font-weight: 400; font-size: 6vw; line-height: 1; }
.tv-sub { font-size: 1.6vw; opacity: .75; }
.tv-games { display: grid; gap: 1.2vw; margin: 0; padding: 0; list-style: none; }
.tv-games li { display: grid; grid-template-columns: 1fr auto; gap: .3vw 2vw; padding: 1.2vw 1.6vw; border-radius: 1vw; background: rgba(255,255,255,.07); font-size: 1.8vw; }
.tv-games b { font-family: 'Instrument Serif', Georgia, serif; font-weight: 400; font-size: 2.6vw; }
.tv-games small { grid-column: 1 / -1; opacity: .65; font-size: 1.1vw; }
.trn-spons__l--tv { gap: 1.6vw; }
.trn-spons__l--tv .trn-spons__s { min-width: 18vw; padding: 2vw; background: #fff; color: #0F2029; border: 0; }
.trn-spons__l--tv .trn-spons__s img { max-height: 7vw; max-width: 22vw; }
.trn-spons__l--tv .trn-spons__s b { font-size: 2vw; }
.trn-spons__l--tv .trn-spons__s span { font-size: 1.1vw; color: #3A4A52; }
.tv-photo { margin: 0; position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; background: #000; }
.tv-photo img { max-width: 100%; max-height: 100%; object-fit: contain; }
.tv-foot { padding: 12px 3vw; font-size: 1.1vw; color: rgba(255,255,255,.75); border-top: 1px solid rgba(255,255,255,.12); }
.tv .trn-merit__t td, .tv .trn-merit__t th { border-color: rgba(255,255,255,.15); color: #fff; }
.tv .trn-merit__t td small { color: rgba(255,255,255,.6); }
.tv .trn-merit h3 { color: #fff; font-size: 2.4vw; }
