/* Live scoring (/societies/live/ and /societies/live/score/). Matches the approved mock-ups (1 Nov 2026). */
.lv { max-width: 560px; margin: 0 auto; padding: 0 0 40px; color: #14211a; font-family: 'Inter', sans-serif; }
.lv a { color: #2f8a1f; font-weight: 700; text-decoration: none; }
.lv a:hover { color: #1f6a12; }
.lv-hero { background: #14211a; color: #fff; padding: 18px 16px; display: flex; flex-direction: column; gap: 6px; }
.lv-top { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.lv-kick { font: 700 11px 'Inter', sans-serif; letter-spacing: .14em; color: #8fd97c; text-transform: uppercase; }
.lv-live { display: inline-flex; align-items: center; gap: 6px; background: #3a2412; border-radius: 999px; padding: 4px 10px; font: 700 11px 'Inter', sans-serif; letter-spacing: .1em; color: #f08a24; flex: none; }
.lv-live::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: #f08a24; animation: lvPulse 1.6s ease-in-out infinite; }
.lv-live.lv-final { background: #1f3127; color: #8fd97c; }
.lv-live.lv-final::before { background: #8fd97c; animation: none; }
@keyframes lvPulse { 50% { opacity: .35; } }
@media (prefers-reduced-motion: reduce) { .lv-live::before { animation: none; } }
.lv-hero h1 { margin: 0; font: 800 28px/1.08 'Poppins', sans-serif; letter-spacing: -0.01em; }
.lv-meta { font-size: 14px; color: #c4d0c8; }
.lv-main { padding: 14px 16px; display: flex; flex-direction: column; gap: 12px; }
.lv-card { background: #fff; border: 1px solid #e4e6e0; border-radius: 16px; overflow: hidden; }
.lv-pad { padding: 14px; display: flex; flex-direction: column; gap: 8px; }
.lv-card p { margin: 0; font-size: 14.5px; line-height: 1.5; }
.lv-h { font: 700 18px 'Poppins', sans-serif; margin: 0; }
.lv-th, .lv-tr { display: grid; grid-template-columns: 34px minmax(0, 1fr) 52px 48px; gap: 8px; padding: 11px 14px; align-items: center; }
.lv-th { font: 700 11px 'Inter', sans-serif; letter-spacing: .06em; color: #5b665f; border-bottom: 1px solid #eef0ec; padding: 10px 14px; }
.lv-th span:nth-child(n+3), .lv-tr > :nth-child(n+3) { text-align: right; }
.lv-tr + .lv-tr { border-top: 1px solid #eef0ec; }
.lv-tr.lv-lead { background: #f3faf0; }
.lv-pos { font: 800 16px 'Poppins', sans-serif; }
.lv-who { display: flex; flex-direction: column; min-width: 0; }
.lv-who b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lv-who small { color: #5b665f; font-size: 12px; }
.lv-who small.lv-up { color: #1f6a12; font-weight: 600; }
.lv-thru { color: #4a554e; }
.lv-pts { font: 800 20px 'Poppins', sans-serif; }
.lv-more { width: 100%; min-height: 44px; border: 0; border-top: 1px solid #eef0ec; background: #fff; color: #2f8a1f; font: 700 14px 'Inter', sans-serif; cursor: pointer; }
.lv-feed { background: #14211a; color: #fff; border-radius: 16px; padding: 14px; display: flex; flex-direction: column; gap: 8px; }
.lv-feed span { font-size: 14px; line-height: 1.5; color: #e6ece8; }
.lv-feed span:nth-child(n+4) { color: #c4d0c8; }
.lv-feed small { color: #8fd97c; font: 700 11px 'Inter', sans-serif; letter-spacing: .14em; }
.lv-extras { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; padding: 14px; }
.lv-extras div { display: flex; flex-direction: column; gap: 2px; }
.lv-extras small { color: #5b665f; }
.lv-extras .lv-none { color: #5b665f; }
.lv-btn, .lv-btn2 { display: block; width: 100%; box-sizing: border-box; text-align: center; padding: 14px; border-radius: 12px; font: 700 15px 'Inter', sans-serif; cursor: pointer; }
.lv-btn { background: #3fae29; color: #fff !important; border: 0; }
.lv-btn:hover { background: #2f8a1f; }
.lv-btn2 { background: #fff; color: #14211a !important; border: 1px solid #d5d9d1; }
.lv-btns { display: flex; flex-direction: column; gap: 8px; }
.lv-small { font-size: 12.5px; color: #5b665f; text-align: center; margin: 0; }
.lv-err { padding: 24px 16px; text-align: center; }
/* The scorecard */
.lv-sc .lv-hero { padding: 14px 16px 16px; gap: 10px; }
.lv-hole { display: flex; align-items: center; justify-content: space-between; }
.lv-hole > div { display: flex; flex-direction: column; align-items: center; gap: 2px; }
.lv-hole b { font: 800 34px/1 'Poppins', sans-serif; }
.lv-hole span { font-size: 13px; color: #c4d0c8; }
.lv-nav { width: 44px; height: 44px; border: 1px solid #4d6156; border-radius: 12px; background: transparent; color: #fff; font: 700 20px 'Inter', sans-serif; cursor: pointer; }
.lv-nav.lv-go { border: 0; background: #3fae29; }
.lv-nav:disabled { opacity: .35; cursor: default; }
.lv-dots { display: grid; grid-template-columns: repeat(18, 1fr); gap: 3px; }
.lv-dots button { height: 14px; padding: 4px 0; border: 0; background: none; cursor: pointer; }
.lv-dots button::after { content: ''; display: block; height: 5px; border-radius: 3px; background: #2c3f34; }
.lv-dots button.lv-done::after { background: #3fae29; }
.lv-dots button.lv-now::after { background: #fff; }
.lv-p { background: #fff; border: 1px solid #e4e6e0; border-radius: 16px; padding: 12px 14px; display: grid; grid-template-columns: minmax(0, 1fr) 44px 46px 44px 52px; gap: 6px; align-items: center; }
.lv-p.lv-good { background: #eef7ea; border: 2px solid #3fae29; padding: 11px 13px; }
.lv-p .lv-who b { font-size: 15.5px; }
.lv-p.lv-good .lv-who small { color: #1f6a12; font-weight: 700; }
.lv-pm { height: 44px; border: 1px solid #d5d9d1; border-radius: 10px; background: #fff; font: 700 20px 'Inter', sans-serif; color: #14211a; cursor: pointer; }
.lv-p.lv-good .lv-pm { border-color: #b9dcae; }
.lv-n { text-align: center; font: 800 24px 'Poppins', sans-serif; }
.lv-n.lv-blank { color: #c4cac5; }
.lv-pt { display: flex; flex-direction: column; align-items: flex-end; }
.lv-pt b { font: 800 18px 'Poppins', sans-serif; }
.lv-pt b.lv-g { color: #2f8a1f; }
.lv-pt b.lv-z { color: #8a4a12; }
.lv-pt small { color: #5b665f; font-size: 11px; }
.lv-two { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.lv-two button { min-height: 44px; border: 1px solid #d5d9d1; border-radius: 12px; background: #fff; color: #14211a; font: 700 14px 'Inter', sans-serif; cursor: pointer; padding: 6px 8px; }
.lv-two button[aria-pressed="true"] { background: #14211a; color: #fff; border-color: #14211a; }
.lv-sum { background: #14211a; color: #fff; border-radius: 16px; padding: 12px 14px; display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.lv-sum > span { display: flex; flex-direction: column; min-width: 0; }
.lv-sum small { color: #8fd97c; font: 700 11px 'Inter', sans-serif; letter-spacing: .12em; }
.lv-sum b { font-size: 14.5px; }
.lv-sum a { color: #8fd97c !important; white-space: nowrap; font-size: 14px; }
.lv-sync { font-size: 12px; color: #5b665f; text-align: center; margin: 0; }
.lv-sync.lv-wait { color: #8a4a12; font-weight: 600; }
.lv-modal { position: fixed; inset: 0; background: rgba(20, 33, 26, .55); display: flex; align-items: flex-end; justify-content: center; z-index: 9999; }
.lv-modal > div { background: #fff; width: 100%; max-width: 520px; border-radius: 20px 20px 0 0; padding: 18px 16px 24px; display: flex; flex-direction: column; gap: 10px; }
.lv-modal label { font-size: 14px; font-weight: 600; display: flex; flex-direction: column; gap: 4px; }
.lv-modal select, .lv-modal input { min-height: 44px; border: 1px solid #d5d9d1; border-radius: 10px; padding: 0 10px; font: 16px 'Inter', sans-serif; }
/* The clubhouse TV view (?tv=1) */
.lv-tv { position: fixed; inset: 0; z-index: 9998; background: #14211a; color: #fff; padding: 4vh 4vw; display: grid; grid-template-columns: 1.5fr 1fr; gap: 3vw; box-sizing: border-box; font-family: 'Inter', sans-serif; overflow: hidden; }
.lv-tv > div { display: flex; flex-direction: column; gap: 2vh; min-height: 0; }
.lv-tv-brand { display: flex; justify-content: space-between; align-items: center; font: 800 2.2vw 'Poppins', sans-serif; }
.lv-tv-brand i { font-style: normal; color: #5fd14a; }
.lv-tv h2 { margin: 0; font: 800 4.2vw/1 'Poppins', sans-serif; }
.lv-tv .lv-kick { font-size: 1.2vw; }
.lv-tv-row { display: grid; grid-template-columns: 6vw 1fr 9vw 7vw; align-items: center; padding: 1.2vh 1.6vw; font: 700 2.1vw 'Poppins', sans-serif; }
.lv-tv-row.lv-lead { background: #1f3127; border-radius: 16px; font-size: 2.4vw; }
.lv-tv-row span { font: 400 1.6vw 'Inter', sans-serif; color: #c4d0c8; }
.lv-tv-row strong { text-align: right; font-size: 2.8vw; }
.lv-tv-box div { display: flex; flex-direction: column; gap: .4vh; }
.lv-tv-box small { color: #c4d0c8; font-size: 1.2vw; }
.lv-tv-box { background: #1f3127; border-radius: 20px; padding: 2.2vh 1.6vw; display: flex; flex-direction: column; gap: 1.2vh; font-size: 1.6vw; line-height: 1.45; }
.lv-tv-qr { display: flex; align-items: center; gap: 1.4vw; background: #fff; color: #14211a; border-radius: 20px; padding: 1.6vh 1.6vw; margin-top: auto; }
.lv-tv-qr canvas, .lv-tv-qr img { width: 8vw; height: 8vw; }
.lv-tv-qr b { font: 700 1.6vw 'Poppins', sans-serif; display: block; }
.lv-tv-qr span { font-size: 1.2vw; color: #4a554e; word-break: break-all; }
.lv-tv-x { position: fixed; top: 10px; right: 10px; z-index: 9999; background: #1f3127; color: #fff; border: 0; border-radius: 10px; padding: 8px 12px; font: 700 13px 'Inter', sans-serif; cursor: pointer; opacity: .6; }
/* The public landing page */
.lvl-steps { counter-reset: s; list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.lvl-steps li { counter-increment: s; display: grid; grid-template-columns: 34px 1fr; gap: 10px; align-items: start; font-size: 15px; line-height: 1.5; }
.lvl-steps li::before { content: counter(s); width: 34px; height: 34px; border-radius: 50%; background: #14211a; color: #8fd97c; font: 800 15px 'Poppins', sans-serif; display: flex; align-items: center; justify-content: center; }
.lvl-sum { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.lvl-sum th, .lvl-sum td { text-align: left; padding: 8px 6px; border-bottom: 1px solid #eef0ec; }
.lvl-sum th { font-size: 12px; color: #5b665f; letter-spacing: .04em; }
.lvl-calc { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.lvl-calc label { display: flex; flex-direction: column; gap: 4px; font-size: 13px; font-weight: 600; }
.lvl-calc input { min-height: 44px; border: 1px solid #d5d9d1; border-radius: 10px; padding: 0 10px; font: 16px 'Inter', sans-serif; width: 100%; box-sizing: border-box; }
.lvl-out { background: #14211a; color: #fff; border-radius: 14px; padding: 14px; font-size: 15px; line-height: 1.5; }
.lvl-out b { color: #8fd97c; font: 800 22px 'Poppins', sans-serif; }
.lvl-phones { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.lvl-phone { background: #14211a; border-radius: 18px; padding: 12px; color: #fff; display: flex; flex-direction: column; gap: 6px; font-size: 13px; }
.lvl-phone b { font: 700 15px 'Poppins', sans-serif; }
.lvl-phone .lvl-r { display: flex; justify-content: space-between; background: #1f3127; border-radius: 8px; padding: 6px 8px; }
.lvl-phone .lvl-r + .lvl-r { background: none; }
@media (max-width: 420px) { .lvl-calc { grid-template-columns: 1fr 1fr; } }
/* Quick rounds: formats, "which one are you?", extra detail */
.lv-th.lv-th3, .lv-tr.lv-th3 { grid-template-columns: 34px minmax(0, 1fr) 60px; }
.lv-claim p { color: #4a554e; }
.lv-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.lv-chips button { min-height: 44px; padding: 0 14px; border: 1px solid #d5d9d1; border-radius: 999px; background: #fff; font: 700 14px 'Inter', sans-serif; color: #14211a; cursor: pointer; }
.lv-chips button:hover { border-color: #3fae29; background: #eef7ea; }
.lv-link { border: 0; background: none; padding: 0; color: #2f8a1f; font: inherit; font-weight: 700; cursor: pointer; text-decoration: underline; }
.lv-det { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; background: #fff; border: 1px dashed #b9c2bb; border-radius: 12px; padding: 8px 10px; margin-top: -4px; font-size: 13px; color: #4a554e; }
.lv-det span { font-weight: 700; margin-left: 4px; }
.lv-det button { min-height: 40px; min-width: 44px; padding: 0 10px; border: 1px solid #d5d9d1; border-radius: 10px; background: #fff; font: 700 14px 'Inter', sans-serif; color: #14211a; cursor: pointer; }
.lv-det button[aria-pressed="true"] { background: #14211a; color: #fff; border-color: #14211a; }
.lv-det b { min-width: 22px; text-align: center; font: 800 18px 'Poppins', sans-serif; color: #14211a; }
.lv-detail-t { display: flex; gap: 8px; align-items: center; justify-content: center; }
.lv-detail-t input { width: 20px; height: 20px; margin: 0; }
.lv-feed b { color: #fff; }
.lv-feed .lv-btn { margin-top: 4px; }
/* The quick round start page (/play/scorecard/) */
.qr { max-width: 560px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; padding: 0 0 8px; }
.qr-choice { background: #fff; border: 1px solid #e4e6e0; border-radius: 18px; padding: 18px; display: flex; flex-direction: column; gap: 8px; color: #14211a !important; text-decoration: none; }
.qr-choice.is-main { border: 2px solid #3fae29; }
.qr-choice b.qr-t { font: 800 22px 'Poppins', sans-serif; }
.qr-choice span.qr-d { font-size: 14.5px; line-height: 1.5; color: #4a554e; font-weight: 400; }
.qr-tags { display: flex; gap: 6px; flex-wrap: wrap; }
.qr-tags span { background: #eef7ea; color: #1f6a12; border-radius: 999px; padding: 5px 10px; font-size: 12.5px; font-weight: 600; }
.qr-again { background: #14211a; color: #fff; border-radius: 16px; padding: 14px; display: flex; flex-direction: column; gap: 6px; }
.qr-again small { font: 700 11px 'Inter', sans-serif; letter-spacing: .14em; color: #8fd97c; }
.qr-again b { font: 700 16px 'Poppins', sans-serif; }
.qr-again span { font-size: 13.5px; color: #c4d0c8; }
.qr-sec { background: #fff; border: 1px solid #e4e6e0; border-radius: 18px; padding: 14px; display: flex; flex-direction: column; gap: 10px; }
.qr-sec > b { font: 700 16px 'Poppins', sans-serif; }
.qr-sec label { display: flex; flex-direction: column; gap: 4px; font-size: 12.5px; font-weight: 700; color: #5b665f; }
.qr-sec input, .qr-sec select { min-height: 44px; border: 1px solid #d5d9d1; border-radius: 10px; padding: 0 10px; font: 16px 'Inter', sans-serif; background: #fff; box-sizing: border-box; width: 100%; color: #14211a; }
.qr-pl { display: grid; grid-template-columns: minmax(0, 1fr) 76px 40px; gap: 8px; align-items: end; }
.qr-pl.has-team { grid-template-columns: minmax(0, 1fr) 70px 76px 40px; }
.qr-pl .qr-x { height: 44px; border: 0; background: none; font: 700 20px 'Inter', sans-serif; color: #5b665f; cursor: pointer; }
.qr-me { display: flex; align-items: center; gap: 8px; font-size: 13px; color: #4a554e; font-weight: 600; }
.qr-me input { width: 20px; height: 20px; min-height: 0; margin: 0; }
.qr-add { min-height: 44px; border: 1px dashed #b9c2bb; border-radius: 10px; background: #fff; font: 700 14px 'Inter', sans-serif; color: #2f8a1f; cursor: pointer; }
.qr-fmts { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 8px; }
.qr-fmts button { border: 1px solid #d5d9d1; background: #fff; border-radius: 12px; padding: 10px 8px; text-align: left; display: flex; flex-direction: column; gap: 2px; font-family: 'Inter', sans-serif; color: #14211a; cursor: pointer; min-height: 64px; }
.qr-fmts button[aria-pressed="true"] { border: 2px solid #3fae29; background: #eef7ea; padding: 9px 7px; }
.qr-fmts b { font-size: 14px; }
.qr-fmts small { color: #4a554e; font-size: 11.5px; line-height: 1.35; }
.qr-ok { color: #1f6a12; font-size: 12.5px; font-weight: 600; }
.qr-msg { color: #8a4a12; font-size: 14px; font-weight: 600; min-height: 1em; margin: 0; }
.qr-done { background: #14211a; color: #fff; border-radius: 18px; padding: 16px; display: flex; flex-direction: column; gap: 10px; }
.qr-done p { margin: 0; color: #c4d0c8; font-size: 14px; line-height: 1.5; }
.qr-done b { font: 700 18px 'Poppins', sans-serif; }
@media (max-width: 400px) { .qr-fmts { grid-template-columns: 1fr 1fr; } }
/* The final card and stats (1 Nov 2026 mock-up) */
.lv-stats { display: flex; flex-direction: column; gap: 8px; }
.lv-st { background: #fff; border: 1px solid #e4e6e0; border-radius: 14px; padding: 12px; display: flex; flex-direction: column; gap: 6px; }
.lv-st.is-win { background: #14211a; color: #fff; border: 0; }
.lv-st-h { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; }
.lv-st-h b:first-child { font: 700 16px 'Poppins', sans-serif; }
.lv-st-p { font: 800 22px 'Poppins', sans-serif; }
.lv-st.is-win .lv-st-p { color: #8fd97c; }
.lv-st-p small { font: 600 11px 'Inter', sans-serif; color: #5b665f; }
.lv-st.is-win .lv-st-p small { color: #c4d0c8; }
.lv-st-g { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; font-size: 11.5px; color: #5b665f; }
.lv-st.is-win .lv-st-g { color: #c4d0c8; }
.lv-st-g b { display: block; font: 800 16px 'Poppins', sans-serif; color: #14211a; }
.lv-st.is-win .lv-st-g b { color: #fff; }
.lv-st-n { font-size: 12.5px; color: #4a554e; }
.lv-st.is-win .lv-st-n { color: #c4d0c8; }
.lv-nine { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.lv-nine table { border-collapse: collapse; width: 100%; min-width: 330px; font-size: 13px; text-align: center; }
.lv-nine th, .lv-nine td { padding: 3px 1px; }
.lv-nine thead th { color: #5b665f; font-weight: 700; font-size: 12px; }
.lv-nine th[scope="row"] { text-align: left; font-weight: 700; font-size: 12.5px; max-width: 64px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; padding-right: 4px; }
.lv-nine thead th:first-child, .lv-nine .lv-par th { color: #5b665f; font-size: 11px; }
.lv-par td { color: #5b665f; }
.lv-c { display: inline-flex; align-items: center; justify-content: center; width: 24px; height: 24px; box-sizing: border-box; }
.lv-c.lv-cb { border: 2px solid #2f8a1f; border-radius: 50%; color: #1f6a12; font-weight: 800; }
.lv-c.lv-ce { border: 3px double #2f8a1f; border-radius: 50%; color: #1f6a12; font-weight: 800; }
.lv-c.lv-cg { background: #eef0ec; border-radius: 4px; }
.lv-c.lv-cd { background: #fde3c8; border-radius: 4px; color: #8a4a12; font-weight: 700; }
.lv-c.lv-cp { color: #5b665f; }
.lv-legend { display: flex; gap: 12px; flex-wrap: wrap; font-size: 11.5px; color: #5b665f; align-items: center; }
.lv-legend span { display: flex; gap: 4px; align-items: center; }
