/* ChatMatch.club: tennis club. Scoreboard header, Clubhouse locker drawer, court hero, court footer with service boxes. */
:root {
  --court: #1d4f9a; --court-d: #163d78; --grass: #2f7a4b; --grass-d: #235f3a; --clay: #b2491f; --ball: #d9f04a; --navy: #14213d;
  --bg: #f5f7f0; --bg-2: #e8eddf; --card: #ffffff; --ink: #14213d; --ink-2: #4a5568; --rule: #d7dccd;
  --label: #a8431b; --title: #1d4f9a; --link: #1d4f9a; --shadow: rgba(20, 33, 61, .12);
  --head: "Barlow Condensed", "Arial Narrow", system-ui, sans-serif; --body: "Golos Text", system-ui, -apple-system, "Segoe UI", sans-serif;
  color-scheme: light;
}
:root[data-lights="night"] {
  --bg: #0b1424; --bg-2: #101c31; --card: #13213a; --ink: #eef2f7; --ink-2: #a9b6c8; --rule: #22324d;
  --label: #d9f04a; --title: #8fb6f0; --link: #d9f04a; --shadow: rgba(0, 0, 0, .4);
  color-scheme: dark;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-lights="day"]) {
    --bg: #0b1424; --bg-2: #101c31; --card: #13213a; --ink: #eef2f7; --ink-2: #a9b6c8; --rule: #22324d;
    --label: #d9f04a; --title: #8fb6f0; --link: #d9f04a; --shadow: rgba(0, 0, 0, .4);
    color-scheme: dark;
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 110px; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 1.04rem/1.7 var(--body); overflow-x: hidden; }
img, svg { display: block; max-width: 100%; }
a { color: var(--link); text-underline-offset: 3px; }
:focus-visible { outline: 3px solid var(--ball); outline-offset: 3px; }
h1, h2, h3 { margin: 0 0 .5em; line-height: 1.1; }
h1, h2, .tc-title { font-family: var(--head); font-weight: 800; font-style: italic; letter-spacing: .3px; }
h2, .tc-title { color: var(--title); }
h2 { font-size: clamp(2.2rem, 1.5rem + 2.4vw, 3.3rem); }
.tc-title { font-size: clamp(1.9rem, 1.3rem + 2vw, 2.7rem); }
h3 { font-size: 1.14rem; font-weight: 700; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; list-style: none; }
.tc-ic { width: 20px; height: 20px; flex: none; }
.tc-skip { position: absolute; left: 12px; top: -60px; z-index: 400; padding: 10px 16px; border-radius: 8px; background: var(--ball); color: #14213d; font-weight: 700; text-decoration: none; }
.tc-skip:focus { top: 12px; }
.tc-wrap { width: min(1160px, 100% - 40px); margin-inline: auto; }
.tc-wrap--narrow { width: min(860px, 100% - 40px); }

/* ---- buttons */
.tc-btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 1.5rem; }
.tc-btns--center { justify-content: center; }
.tc-btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 10px 24px; border: 2px solid transparent; border-radius: 999px; font: 700 1rem/1.2 var(--body); text-decoration: none; cursor: pointer; transition: transform .15s ease, box-shadow .15s ease; }
.tc-btn:hover { transform: translateY(-2px); }
.tc-btn--ball { background: var(--ball); color: #14213d; box-shadow: 0 6px 16px rgba(20, 33, 61, .25); }
.tc-btn--chalk { background: #ffffff; color: #1d4f9a; border-color: rgba(29, 79, 154, .2); }
.tc-btn--court { background: var(--court); color: #ffffff; }
.tc-btn--line { background: var(--card); color: var(--ink); border-color: var(--rule); }
.tc-btn--line:hover { border-color: var(--court); }
.tc-btn--big { min-height: 56px; padding: 12px 30px; font-size: 1.06rem; }
.tc-btn--small { min-height: 44px; padding: 8px 18px; font-size: .95rem; }

/* ---- header with scoreboard */
.tc-top { position: sticky; top: 0; z-index: 80; background: var(--court); box-shadow: inset 0 -4px 0 #ffffff, 0 6px 18px rgba(20, 33, 61, .2); }
.tc-top__row { display: flex; align-items: center; gap: 18px; width: min(1240px, 100% - 28px); margin-inline: auto; padding: 12px 0 16px; }
.tc-brand { display: inline-flex; align-items: center; gap: 10px; color: #ffffff; text-decoration: none; }
.tc-logo { width: 42px; height: 42px; flex: none; }
.tc-word { font: italic 800 1.75rem/1 var(--head); letter-spacing: .5px; text-transform: uppercase; }
.tc-word b { color: #d9f04a; font-weight: 800; }
.tc-score { display: flex; align-items: stretch; margin-inline: auto; padding: 5px; border-radius: 12px; background: #14213d; box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .12); }
.tc-score__head { display: grid; place-items: center; padding: 0 12px; color: #d9f04a; font: 700 .8rem var(--head); letter-spacing: 2px; text-transform: uppercase; writing-mode: vertical-rl; transform: rotate(180deg); }
.tc-score__cell { display: flex; align-items: center; gap: 10px; padding: 8px 16px 8px 8px; border-radius: 8px; color: #eef2f7; text-decoration: none; font-weight: 600; white-space: nowrap; }
.tc-score__cell + .tc-score__cell { margin-left: 4px; }
.tc-score__cell:hover { background: rgba(255, 255, 255, .08); }
.tc-score__no { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 6px; background: #22314f; color: #d9f04a; font: 800 1.25rem var(--head); }
.tc-score__cell[aria-current="page"] { background: #d9f04a; color: #14213d; }
.tc-score__cell[aria-current="page"] .tc-score__no { background: #14213d; color: #d9f04a; }
.tc-top__tools { display: flex; align-items: center; gap: 10px; }
.tc-mode { display: grid; place-items: center; width: 46px; height: 46px; border: 2px solid rgba(255, 255, 255, .5); border-radius: 50%; background: transparent; color: #ffffff; cursor: pointer; }
.tc-mode:hover { border-color: #d9f04a; color: #d9f04a; }
.tc-mode__day { display: none; }
:root[data-lights="night"] .tc-mode__day { display: block; }
:root[data-lights="night"] .tc-mode__night { display: none; }
@media (prefers-color-scheme: dark) {
  :root:not([data-lights="day"]) .tc-mode__day { display: block; }
  :root:not([data-lights="day"]) .tc-mode__night { display: none; }
}
.tc-club { display: inline-flex; align-items: center; gap: 8px; min-height: 46px; padding: 8px 18px; border: 0; border-radius: 999px; background: #d9f04a; color: #14213d; font: 700 .98rem var(--body); cursor: pointer; }
.tc-club:hover { background: #e6f77a; }

/* ---- clubhouse locker drawer */
.tc-lockers { position: fixed; inset: 0; z-index: 300; display: flex; justify-content: flex-end; background: rgba(11, 20, 36, .65); }
.tc-lockers[hidden] { display: none; }
.tc-lockers__room { width: min(460px, 100%); height: 100%; overflow-y: auto; padding: 22px 22px 30px; background: linear-gradient(#2b3448, #2b3448 82%, #3a4560 82%) fixed; background: #2b3448; box-shadow: -10px 0 30px rgba(0, 0, 0, .35); animation: tc-slide .25s ease-out; }
.tc-lockers__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.tc-lockers__title { margin: 0; font: italic 800 2rem var(--head); color: #d9f04a; text-transform: uppercase; }
.tc-lockers__close { display: grid; place-items: center; width: 46px; height: 46px; border: 0; border-radius: 50%; background: #ffffff; color: #14213d; cursor: pointer; }
.tc-lockers__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.tc-locker { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; gap: 8px; aspect-ratio: 3 / 4.4; padding: 10px 6px 14px; border-radius: 6px; background: linear-gradient(90deg, #4f72ab, #5d83c0 45%, #4a6ba2); color: #ffffff; font-weight: 700; font-size: .92rem; text-align: center; text-decoration: none; box-shadow: inset 0 0 0 2px rgba(0, 0, 0, .15), inset -6px 0 0 rgba(0, 0, 0, .08); transition: transform .15s ease; }
.tc-locker:hover { transform: translateY(-3px); }
.tc-locker__vents { position: absolute; left: 22%; right: 22%; top: 12px; height: 22px; background: repeating-linear-gradient(#2c4a7a 0 3px, transparent 3px 7px); border-radius: 2px; }
.tc-locker__plate { position: absolute; top: 44px; left: 50%; transform: translateX(-50%); padding: 1px 8px; border-radius: 3px; background: #eef2f7; color: #14213d; font: 800 .85rem var(--head); }
.tc-locker .tc-ic { width: 24px; height: 24px; color: #d9f04a; }
.tc-locker[aria-current="page"] { background: linear-gradient(90deg, #c7de2f, #d9f04a 45%, #c2d82b); color: #14213d; }
.tc-locker[aria-current="page"] .tc-ic { color: #14213d; }
.tc-locker[aria-current="page"] .tc-locker__vents { background: repeating-linear-gradient(#8fa11a 0 3px, transparent 3px 7px); }
.tc-lockers-open { overflow: hidden; }

/* ---- hero court */
.tc-hero { position: relative; overflow: hidden; padding: 80px 0 90px; background: var(--grass); color: #ffffff; isolation: isolate; }
.tc-hero__court { position: absolute; inset: 34px; z-index: -1; border: 4px solid rgba(255, 255, 255, .8); border-radius: 4px; background:
  linear-gradient(90deg, transparent calc(22% - 2px), rgba(255, 255, 255, .55) calc(22% - 2px) calc(22% + 2px), transparent calc(22% + 2px) calc(78% - 2px), rgba(255, 255, 255, .55) calc(78% - 2px) calc(78% + 2px), transparent calc(78% + 2px)),
  linear-gradient(transparent calc(10% - 2px), rgba(255, 255, 255, .55) calc(10% - 2px) calc(10% + 2px), transparent calc(10% + 2px) calc(90% - 2px), rgba(255, 255, 255, .55) calc(90% - 2px) calc(90% + 2px), transparent calc(90% + 2px)),
  #1d4f9a; }
.tc-hero__court::after { content: ""; position: absolute; left: 22%; right: 22%; top: calc(50% - 2px); height: 4px; background: rgba(255, 255, 255, .55); }
.tc-hero__net { position: absolute; left: calc(50% - 3px); top: -10px; bottom: -10px; width: 6px; background: repeating-linear-gradient(rgba(255, 255, 255, .9) 0 6px, rgba(20, 33, 61, .6) 6px 10px); box-shadow: 0 0 0 3px rgba(20, 33, 61, .25); }
.tc-hero__inner { display: grid; grid-template-columns: 1.15fr .85fr; gap: 40px; align-items: center; width: min(1160px, 100% - 120px); margin-inline: auto; padding: 30px 0; }
.tc-hero__copy { padding: 30px 34px; border-radius: 22px; background: rgba(20, 33, 61, .9); }
.tc-kicker { display: inline-block; margin-bottom: 1rem; padding: 5px 16px; border-radius: 999px; background: #d9f04a; color: #14213d; font: 700 .9rem var(--head); letter-spacing: 2px; text-transform: uppercase; }
.tc-hero h1 { font-size: clamp(2.5rem, 1.5rem + 3.4vw, 4.2rem); line-height: 1; color: #ffffff; }
.tc-hero .tc-lead { color: #e3eaf5; }
.tc-lead { font-size: 1.12rem; }
.tc-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.tc-chips li { padding: 4px 14px; border: 2px solid rgba(255, 255, 255, .55); border-radius: 999px; font-size: .86rem; font-weight: 600; }
.tc-rallyart { position: relative; height: 340px; }
.tc-rallyart__bubble { position: absolute; width: 150px; height: 96px; border-radius: 26px; background: #ffffff; box-shadow: 0 12px 28px rgba(0, 0, 0, .25); }
.tc-rallyart__bubble::before { content: ""; position: absolute; left: 24px; right: 24px; top: 30px; height: 10px; border-radius: 5px; background: #c9d4e6; box-shadow: 0 22px 0 #c9d4e6; }
.tc-rallyart__bubble::after { content: ""; position: absolute; bottom: -14px; border: 14px solid transparent; border-bottom: 0; border-top-color: #ffffff; }
.tc-rallyart__bubble--a { left: 0; bottom: 10px; }
.tc-rallyart__bubble--a::after { left: 26px; }
.tc-rallyart__bubble--b { right: 0; top: 10px; background: #d9f04a; }
.tc-rallyart__bubble--b::before { background: #b5cb2a; box-shadow: 0 22px 0 #b5cb2a; }
.tc-rallyart__bubble--b::after { right: 26px; border-top-color: #d9f04a; }
.tc-rallyart__ball { position: absolute; left: 130px; top: 220px; width: 34px; height: 34px; border-radius: 50%; background: radial-gradient(circle at 35% 35%, #f0ff8a, #c6e01f 70%); box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .5), 0 8px 12px rgba(0, 0, 0, .25); animation: tc-rally 2.6s ease-in-out infinite; }
.tc-rallyart__ball::before { content: ""; position: absolute; inset: 4px 9px; border: 2px solid #ffffff; border-top-color: transparent; border-bottom-color: transparent; border-radius: 50%; }

/* ---- sections */
.tc-sec { padding: clamp(64px, 7vw, 100px) 0; }
.tc-sec--chalk { background: var(--bg-2); }
.tc-sec--night { background: #14213d; color: #eef2f7; }
.tc-label { display: inline-flex; align-items: center; gap: 10px; margin-bottom: .5rem; color: var(--label); font: 700 1rem var(--head); letter-spacing: 3px; text-transform: uppercase; }
.tc-label::before { content: ""; width: 14px; height: 14px; border-radius: 50%; background: var(--ball); box-shadow: inset 0 0 0 2px rgba(20, 33, 61, .25); }
.tc-sec--night .tc-label { color: #d9f04a; }
.tc-intro { max-width: 720px; color: var(--ink-2); font-size: 1.08rem; }

/* rooms as mini courts */
.tc-courts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; margin-top: 34px; }
.tc-mini { display: flex; flex-direction: column; overflow: hidden; border-radius: 22px; background: var(--card); color: var(--ink); text-decoration: none; box-shadow: 0 12px 30px var(--shadow); transition: transform .2s ease, box-shadow .2s ease; }
.tc-mini:hover { transform: translateY(-5px); box-shadow: 0 18px 38px var(--shadow); }
.tc-mini__court { position: relative; display: grid; place-items: center; aspect-ratio: 16 / 8.5; background: var(--surface, #1d4f9a); }
.tc-mini--hard { --surface: #1d4f9a; }
.tc-mini--grass { --surface: #2f7a4b; }
.tc-mini--clay { --surface: #b2491f; }
.tc-mini__lines { position: absolute; inset: 14px; border: 3px solid rgba(255, 255, 255, .85); background: linear-gradient(90deg, transparent calc(50% - 2px), rgba(255, 255, 255, .9) calc(50% - 2px) calc(50% + 2px), transparent calc(50% + 2px)), linear-gradient(90deg, transparent 24%, rgba(255, 255, 255, .55) 24% calc(24% + 2px), transparent calc(24% + 2px) calc(76% - 2px), rgba(255, 255, 255, .55) calc(76% - 2px) 76%, transparent 76%); }
.tc-mini__icon { position: relative; display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: #ffffff; color: var(--surface); box-shadow: 0 6px 16px rgba(0, 0, 0, .25); }
.tc-mini__icon .tc-ic { width: 28px; height: 28px; }
.tc-mini__body { display: flex; flex-direction: column; flex: 1; padding: 24px 24px 26px; }
.tc-mini__no { color: var(--label); font: 700 .95rem var(--head); letter-spacing: 2px; text-transform: uppercase; }
.tc-mini h3 { margin: 2px 0 8px; font: italic 800 2rem/1 var(--head); color: var(--title); }
.tc-mini__text { color: var(--ink-2); }
.tc-mini__facts { display: flex; gap: 22px; margin: 16px 0; padding: 12px 0; border-top: 2px solid var(--rule); border-bottom: 2px solid var(--rule); }
.tc-mini__facts span { display: flex; flex-direction: column; font-weight: 600; }
.tc-mini__facts b { font: 700 .82rem var(--head); letter-spacing: 1.6px; text-transform: uppercase; color: var(--label); }
.tc-mini__go { display: inline-flex; align-items: center; gap: 8px; margin-top: auto; color: var(--link); font-weight: 700; }

/* practice rally */
.tc-rally { display: grid; grid-template-columns: .9fr 1.1fr; gap: 50px; align-items: start; }
.tc-rally .tc-title { color: #ffffff; }
.tc-rally__copy p { color: #c6d1e3; }
.tc-board { display: inline-flex; flex-direction: column; gap: 4px; margin-top: 10px; padding: 16px 24px; border-radius: 14px; background: #0f3b2c; box-shadow: inset 0 0 0 3px #1c5a43; }
.tc-board__label { color: #b9d8c8; font: 700 .9rem var(--head); letter-spacing: 2px; text-transform: uppercase; }
.tc-board__score { color: #eef2f7; font: 700 1.3rem var(--head); }
.tc-board__score b { color: #d9f04a; font-size: 3rem; line-height: 1; }
.tc-rally__box { padding: 26px; border-radius: 22px; background: #1b2b4d; box-shadow: inset 0 0 0 2px #2a3d66; }
.tc-shot__count { margin: 0 0 12px; color: #d9f04a; font: 700 .95rem var(--head); letter-spacing: 2px; text-transform: uppercase; }
.tc-shot__them { position: relative; margin: 0 0 20px; padding: 16px 18px; border-radius: 18px 18px 18px 4px; background: #ffffff; color: #14213d; font-size: 1.08rem; font-weight: 500; }
.tc-shot__who { display: block; margin-bottom: 2px; color: #a8431b; font: 700 .8rem var(--head); letter-spacing: 1.6px; text-transform: uppercase; }
.tc-shot__opts { display: grid; gap: 10px; }
.tc-opt { padding: 14px 16px; border: 2px solid #3a5288; border-radius: 16px 16px 4px 16px; background: transparent; color: #eef2f7; font: 500 1rem/1.45 var(--body); text-align: left; cursor: pointer; transition: border-color .15s ease, background .15s ease; }
.tc-opt:hover:not(:disabled) { border-color: #d9f04a; }
.tc-opt:disabled { cursor: default; opacity: .55; }
.tc-opt.is-good { background: #d9f04a; border-color: #d9f04a; color: #14213d; opacity: 1; }
.tc-opt.is-bad { background: #b2491f; border-color: #b2491f; color: #ffffff; opacity: 1; }
.tc-shot__why { margin: 16px 0 0; padding: 12px 16px; border-left: 4px solid #d9f04a; border-radius: 0 12px 12px 0; background: rgba(255, 255, 255, .06); color: #dfe6f1; }
.tc-shot__why b { color: #d9f04a; }
.tc-shot__final { font: italic 800 1.8rem/1.15 var(--head); color: #ffffff; }
.tc-rally__next { margin-top: 18px; }
.js .tc-rally [hidden] { display: none; }

/* steps on a scoreboard */
.tc-scoreboard { margin-top: 30px; overflow: hidden; border-radius: 18px; background: #0f3b2c; box-shadow: 0 14px 30px var(--shadow), inset 0 0 0 4px #1c5a43; }
.tc-scoreboard__row { display: grid; grid-template-columns: 96px 1fr; align-items: center; gap: 22px; padding: 20px 26px; color: #eef2f7; }
.tc-scoreboard__row + .tc-scoreboard__row { border-top: 2px solid #1c5a43; }
.tc-scoreboard__no { display: grid; place-items: center; width: 70px; height: 70px; border-radius: 10px; background: #0a2a1f; color: #d9f04a; font: 800 2.6rem var(--head); box-shadow: inset 0 0 0 2px #1c5a43; }
.tc-scoreboard h3 { margin-bottom: .2em; color: #ffffff; font: italic 800 1.6rem var(--head); }
.tc-scoreboard p { margin: 0; color: #c7dccf; }

/* story */
.tc-story { display: grid; grid-template-columns: 1.5fr .5fr; gap: 60px; align-items: center; }
.tc-story__text p { color: var(--ink-2); font-size: 1.07rem; }
.tc-can { position: relative; justify-self: center; display: flex; flex-direction: column; align-items: center; gap: 6px; width: 120px; padding: 34px 12px 16px; border-radius: 22px; background: linear-gradient(90deg, rgba(143, 182, 240, .35), rgba(255, 255, 255, .55) 40%, rgba(143, 182, 240, .3)); box-shadow: inset 0 0 0 3px rgba(29, 79, 154, .35); }
.tc-can::before { content: ""; position: absolute; left: -6px; right: -6px; top: -12px; height: 30px; border-radius: 12px; background: #1d4f9a; }
.tc-can__ball { width: 90px; height: 90px; border-radius: 50%; background: radial-gradient(circle at 35% 35%, #f0ff8a, #c6e01f 70%); position: relative; }
.tc-can__ball::before { content: ""; position: absolute; inset: 10px 22px; border: 4px solid #ffffff; border-top-color: transparent; border-bottom-color: transparent; border-radius: 50%; }

/* tips */
.tc-tips { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 32px; }
.tc-tip { padding: 26px; border-radius: 20px; background: var(--card); box-shadow: 0 10px 26px var(--shadow); border-top: 6px solid var(--court); }
.tc-tip:nth-child(3n+2) { border-top-color: var(--grass); }
.tc-tip:nth-child(3n) { border-top-color: var(--clay); }
.tc-tip p { margin: 0; color: var(--ink-2); font-size: .98rem; }
.tc-tip__ball { position: relative; display: grid; place-items: center; width: 54px; height: 54px; margin-bottom: 14px; border-radius: 50%; background: radial-gradient(circle at 35% 35%, #f0ff8a, #c6e01f 70%); color: #14213d; font: 800 1.5rem var(--head); }
.tc-tip__ball::before { content: ""; position: absolute; inset: 6px 13px; border: 3px solid rgba(255, 255, 255, .9); border-top-color: transparent; border-bottom-color: transparent; border-radius: 50%; }

/* rules in a service box */
.tc-service { max-width: 960px; margin-inline: auto; padding: 44px clamp(22px, 5vw, 54px) 38px; border-radius: 10px; background: #2f7a4b; color: #ffffff; text-align: center; box-shadow: inset 0 0 0 4px #ffffff, inset 0 0 0 14px #2f7a4b, inset 0 0 0 16px rgba(255, 255, 255, .55), 0 14px 32px var(--shadow); }
.tc-service__title { margin-bottom: .3em; font: italic 800 clamp(2rem, 1.4rem + 2vw, 2.8rem)/1.05 var(--head); color: #ffffff; }
.tc-service__intro { max-width: 620px; margin-inline: auto; color: #ffffff; }
.tc-service__boxes { display: grid; grid-template-columns: 1fr 10px 1fr; gap: 26px; margin: 26px 0 28px; text-align: left; }
.tc-service__net { position: relative; background: repeating-linear-gradient(#ffffff 0 6px, rgba(255, 255, 255, .25) 6px 10px); border-radius: 4px; }
.tc-service__net::before, .tc-service__net::after { content: ""; position: absolute; left: -4px; width: 18px; height: 18px; border-radius: 50%; background: #14213d; }
.tc-service__net::before { top: -10px; } .tc-service__net::after { bottom: -10px; }
.tc-service__list { counter-reset: r var(--start, 0); display: grid; gap: 14px; }
.tc-service__list[start="4"] { --start: 3; }
.tc-service__list li { counter-increment: r; display: flex; align-items: flex-start; gap: 14px; font-weight: 600; }
.tc-service__list li::before { content: counter(r); display: grid; place-items: center; width: 34px; height: 34px; flex: none; border-radius: 50%; background: #d9f04a; color: #14213d; font: 800 1.15rem var(--head); }

/* faq */
.tc-faq { display: grid; gap: 12px; margin-top: 26px; }
.tc-q { border-radius: 16px; background: var(--card); box-shadow: 0 6px 18px var(--shadow); overflow: hidden; }
.tc-q summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 62px; padding: 16px 20px; font-weight: 700; cursor: pointer; list-style: none; }
.tc-q summary::-webkit-details-marker { display: none; }
.tc-q__ball { position: relative; width: 28px; height: 28px; flex: none; border-radius: 50%; background: radial-gradient(circle at 35% 35%, #f0ff8a, #c6e01f 70%); box-shadow: inset 0 0 0 2px rgba(20, 33, 61, .2); transition: transform .35s ease; }
.tc-q__ball::before { content: ""; position: absolute; inset: 3px 7px; border: 2px solid #ffffff; border-top-color: transparent; border-bottom-color: transparent; border-radius: 50%; }
.tc-q[open] .tc-q__ball { transform: rotate(180deg) scale(1.1); }
.tc-q[open] summary { color: var(--title); }
.tc-q__a { padding: 0 20px 18px; }
.tc-q__a p { margin: 0; padding-top: 12px; border-top: 2px solid var(--rule); color: var(--ink-2); }

/* final band */
.tc-final { position: relative; overflow: hidden; padding: 90px 0; background: #b2491f; color: #ffffff; text-align: center; isolation: isolate; }
.tc-final::before { content: ""; position: absolute; inset: 24px; z-index: -1; border: 3px solid rgba(255, 255, 255, .4); }
.tc-final .tc-final__title { margin-bottom: .3em; font: italic 800 clamp(2.2rem, 1.4rem + 2.6vw, 3.4rem)/1.05 var(--head); color: #ffffff; }
.tc-final p { font-size: 1.12rem; }

/* ---- footer court */
.tc-court { padding: 34px 20px 0; background: #2f7a4b; color: #ffffff; }
.tc-court__surface { display: grid; grid-template-columns: 1.3fr 10px 1fr 1fr; gap: 0; width: min(1160px, 100%); margin-inline: auto; border: 4px solid #ffffff; background: #1d4f9a; }
.tc-court__box { padding: 30px 28px; }
.tc-court__box--b { border-left: 3px solid rgba(255, 255, 255, .7); }
.tc-court__box--c { border-left: 3px solid rgba(255, 255, 255, .7); }
.tc-court__net { background: repeating-linear-gradient(#ffffff 0 6px, rgba(20, 33, 61, .55) 6px 10px); }
.tc-brand--foot { margin-bottom: 12px; }
.tc-court__box p { color: #dbe5f4; }
.tc-court__title { margin: 0 0 10px !important; color: #d9f04a !important; font: 700 1.05rem var(--head); letter-spacing: 2px; text-transform: uppercase; }
.tc-court ul { display: grid; gap: 6px; }
.tc-court ul a { color: #ffffff; text-decoration: none; font-weight: 600; }
.tc-court ul a:hover { color: #d9f04a; text-decoration: underline; }
.tc-court__mail { display: inline-flex; align-items: center; gap: 8px; color: #d9f04a; font-weight: 600; overflow-wrap: anywhere; }
.tc-court__legal { width: min(1160px, 100%); margin: 0 auto; padding: 18px 0 22px; text-align: center; font-size: .9rem; color: #ffffff; }

/* ---- inner pages */
.tc-umpire { position: relative; padding: 70px 0 64px; background: #2f7a4b; color: #ffffff; text-align: center; overflow: hidden; isolation: isolate; }
.tc-umpire::before { content: ""; position: absolute; inset: 22px; z-index: -1; border: 3px solid rgba(255, 255, 255, .45); background: linear-gradient(transparent calc(50% - 1px), rgba(255, 255, 255, .35) calc(50% - 1px) calc(50% + 1px), transparent calc(50% + 1px)); }
.tc-umpire__inner { max-width: 820px; }
.tc-umpire h1 { font-size: clamp(2.6rem, 1.6rem + 3.4vw, 4rem); line-height: 1; color: #ffffff; }
.tc-umpire .tc-lead { color: #ffffff; }
.tc-umpire .tc-crumbs { justify-content: center; color: #ffffff; }
.tc-umpire .tc-crumbs a { color: #d9f04a; }
.tc-updated { display: inline-block; margin: 0; padding: 4px 14px; border-radius: 999px; background: rgba(20, 33, 61, .45); color: #ffffff; font-size: .86rem; font-weight: 600; }
.tc-crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 14px; color: var(--ink-2); font-size: .92rem; }
.tc-sec--doc { padding-top: 50px; }
.tc-doc { width: min(800px, 100% - 32px); margin-inline: auto; padding: clamp(26px, 5vw, 54px); border-radius: 20px; background: var(--card); box-shadow: 0 12px 32px var(--shadow); border-top: 8px solid var(--court); }
.tc-doc h2 { margin-top: 1.1em; }
.tc-doc > :first-child { margin-top: 0; }
.tc-doc h3 { margin-top: 1.5em; color: var(--title); }
.tc-doc p { color: var(--ink-2); }
.tc-mail { display: inline-flex; align-items: center; gap: 14px; margin-bottom: 20px; padding: 16px 22px; border-radius: 16px; background: var(--bg-2); color: var(--ink); text-decoration: none; }
.tc-mail .tc-ic { width: 30px; height: 30px; color: var(--court); }
.tc-mail small { display: block; color: var(--ink-2); }
.tc-mail b { font-size: 1.12rem; overflow-wrap: anywhere; }
.tc-next { padding: 10px 0 80px; text-align: center; }
.tc-next__title { margin-bottom: .2em; font: italic 800 2rem var(--head); color: var(--title); }

/* ---- room pages */
.tc-roombar { position: sticky; top: 0; z-index: 60; display: flex; align-items: center; gap: 14px; height: 72px; padding: 0 14px; background: #14213d; box-shadow: inset 0 -4px 0 #ffffff; }
.tc-brand--bar .tc-logo { width: 38px; height: 38px; }
.tc-brand--bar .tc-word { font-size: 1.45rem; }
.tc-rtabs { display: flex; gap: 6px; margin-inline: auto; padding: 5px; border-radius: 999px; background: #22314f; }
.tc-rtab { display: inline-flex; align-items: center; gap: 8px; padding: 8px 16px; border-radius: 999px; color: #eef2f7; font-weight: 600; font-size: .95rem; text-decoration: none; white-space: nowrap; }
.tc-rtab:hover { background: rgba(255, 255, 255, .08); }
.tc-rtab[aria-current="page"] { background: #d9f04a; color: #14213d; }
.tc-roombar__tools { display: flex; align-items: center; gap: 8px; }
.tc-roombar__full { display: grid; place-items: center; width: 44px; height: 44px; border: 2px solid rgba(255, 255, 255, .5); border-radius: 50%; background: transparent; color: #ffffff; cursor: pointer; }
.tc-stage { height: calc(100dvh - 72px); min-height: 460px; background: #0b1424; }
.tc-stage:fullscreen { height: 100vh; }
.tc-embed, .tc-stage #app_container, .tc-stage #app_container > iframe, .tc-stage #app_container > div { display: block; width: 100% !important; height: 100% !important; border: 0; }
.tc-roominfo { padding: 40px 0 80px; }
.tc-roominfo__grid { display: grid; grid-template-columns: 1.4fr .8fr; gap: 40px; align-items: start; }
.tc-roominfo h1 { font-size: clamp(2.3rem, 1.5rem + 2.4vw, 3.3rem); color: var(--title); }
.tc-roominfo__main p { color: var(--ink-2); }
.tc-note { padding: 12px 16px; border-radius: 12px; background: var(--bg-2); border-left: 5px solid var(--ball); }
.tc-tipcard { padding: 26px; border-radius: 20px; background: var(--card); box-shadow: 0 10px 26px var(--shadow); border-top: 8px solid var(--grass); }
.tc-tipcard h2 { font-size: 1.8rem; }
.tc-tipcard li { display: flex; gap: 10px; align-items: flex-start; padding: 6px 0; }
.tc-tipcard li .tc-ic { margin-top: 4px; color: var(--grass); }
.tc-tipcard__more { margin: 10px 0 0; font-size: .95rem; color: var(--ink-2); }
.tc-roominfo__faq { margin-top: 50px; max-width: 860px; }

@keyframes tc-rally { 0% { left: 130px; top: 220px; } 25% { top: 40px; } 50% { left: calc(100% - 170px); top: 110px; } 75% { top: 20px; } 100% { left: 130px; top: 220px; } }
@keyframes tc-slide { from { transform: translateX(40px); opacity: 0; } to { transform: none; opacity: 1; } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } html { scroll-behavior: auto; } }

/* ---- responsive */
@media (max-width: 1080px) {
  .tc-hero__inner { grid-template-columns: 1fr; width: min(760px, 100% - 90px); }
  .tc-rallyart { display: none; }
  .tc-courts { grid-template-columns: 1fr; max-width: 620px; margin-inline: auto; }
  .tc-rally { grid-template-columns: 1fr; gap: 26px; }
  .tc-story { grid-template-columns: 1fr; }
  .tc-can { display: none; }
  .tc-tips { grid-template-columns: 1fr 1fr; }
  .tc-roominfo__grid { grid-template-columns: 1fr; }
  .tc-court__surface { grid-template-columns: 1fr 1fr; }
  .tc-court__net { display: none; }
  .tc-court__box--a { grid-column: 1 / -1; border-bottom: 3px solid rgba(255, 255, 255, .7); }
  .tc-court__box--b { border-left: 0; }
}
@media (max-width: 860px) {
  .tc-top__row { flex-wrap: wrap; row-gap: 10px; padding-bottom: 14px; }
  .tc-top__tools { margin-left: auto; }
  .tc-score { order: 3; width: 100%; margin: 0; }
  .tc-score__head { display: none; }
  .tc-score__cell { flex: 1 1 0; min-width: 0; justify-content: center; gap: 6px; padding: 6px 4px; font-size: .84rem; }
  .tc-score__cell + .tc-score__cell { margin-left: 3px; }
  .tc-score__no { width: 24px; height: 24px; flex: none; font-size: .95rem; }
  .tc-score__name { overflow: hidden; text-overflow: ellipsis; }
  html { scroll-padding-top: 150px; }
}
@media (max-width: 720px) {
  .tc-word { font-size: 1.45rem; }
  .tc-logo { width: 36px; height: 36px; }
  .tc-club span { display: none; }
  .tc-club { width: 46px; padding: 0; justify-content: center; }
  .tc-hero { padding: 40px 0 50px; }
  .tc-hero__court { inset: 14px; }
  .tc-hero__inner { width: calc(100% - 40px); padding: 10px 0; }
  .tc-hero__copy { padding: 24px 20px; }
  .tc-hero h1 { font-size: 2.6rem; }
  .tc-btn--big { width: 100%; }
  .tc-wrap, .tc-wrap--narrow { width: calc(100% - 32px); }
  .tc-scoreboard__row { grid-template-columns: 56px 1fr; gap: 14px; padding: 18px 16px; }
  .tc-scoreboard__no { width: 52px; height: 52px; font-size: 2rem; }
  .tc-tips { grid-template-columns: 1fr; }
  .tc-rally__box { padding: 18px; }
  .tc-service__boxes { grid-template-columns: 1fr; gap: 14px; }
  .tc-service__net { height: 8px; background: repeating-linear-gradient(90deg, #ffffff 0 6px, rgba(255, 255, 255, .25) 6px 10px); }
  .tc-service__net::before { top: -5px; left: -6px; } .tc-service__net::after { top: -5px; bottom: auto; left: auto; right: -6px; }
  .tc-court { padding: 20px 12px 0; }
  .tc-court__surface { grid-template-columns: 1fr; }
  .tc-court__box--c { border-left: 0; border-top: 3px solid rgba(255, 255, 255, .7); }
  .tc-roombar { gap: 8px; padding: 0 8px; }
  .tc-brand--bar .tc-word, .tc-roombar__full { display: none; }
  .tc-rtabs { margin-left: auto; margin-right: 0; gap: 2px; padding: 3px; }
  .tc-rtab { flex-direction: column; gap: 1px; padding: 5px 10px; font-size: .7rem; }
  .tc-rtab .tc-ic { width: 18px; height: 18px; }
  .tc-lockers__grid { grid-template-columns: repeat(3, 1fr); gap: 8px; }
  .tc-locker { font-size: .8rem; }
}
@media (max-width: 380px) { .tc-score__no { display: none; } .tc-score__cell { font-size: .86rem; } }
