/* SimPal Golf - brings pages that carry their own older styles (Get SimPal, profile, leaderboards, account, the small
   card pages) into the tour-broadcast look from site.css. Loaded last on those pages. */
:root {
  --bg: #050505 !important; --bg2: #0a0b0b !important; --panel: #0e0f10 !important; --panel2: #151617 !important;
  --edge: #212325 !important; --edge2: #34373a !important; --text: #ecebe8 !important; --muted: #8f9396 !important;
  --cyan: #22d3ee !important; --cyan-2: #0fb5cf !important; --series: #22d3ee !important; --glow: transparent !important;
  --radius: 3px !important; --ok: #4ade80 !important;
}
html body { background: var(--bg) !important; font-family: var(--font) !important; color: var(--text); }
html body::before { display: none; }

/* type */
html body h1 { font-stretch: var(--wide); font-weight: 800; text-transform: uppercase; letter-spacing: -.5px; line-height: 1; }
html body h2, html body h3 { font-stretch: var(--wide); font-weight: 800; text-transform: uppercase; letter-spacing: .3px; }
html body p, html body li { letter-spacing: 0; }

/* panels */
html body .card, html body .tile, html body .feat, html body .price, html body .step, html body .mini div, html body .key, html body .item {
  background: var(--panel); border-color: var(--edge); border-radius: 3px; box-shadow: none; }
html body .card > h2, html body section.card > h2 { font-size: 12.5px; letter-spacing: 1.6px; color: var(--text); display: flex; align-items: center; gap: 10px; }
html body .card > h2::before { content: ""; width: 3px; height: 14px; background: var(--cyan); flex: none; }
html body .tile .l, html body .mini span { font-stretch: var(--cond); font-size: 12.5px; letter-spacing: 1.5px; text-transform: uppercase; }
html body .tile .v, html body .mini b { font-stretch: var(--wide); font-weight: 800; }
html body .chip, html body .badge, html body .pill { border-radius: 2px; }

/* buttons */
html body .btn { font-family: var(--font); font-weight: 700; font-size: 12.5px; letter-spacing: 1.5px; text-transform: uppercase; border-radius: 3px; box-shadow: none;
  background: transparent; background-image: none; color: var(--cyan); border: 1px solid var(--cyan); transform: none; text-decoration: none; }
html body .btn:hover { background: var(--cyan); color: #000; box-shadow: none; transform: none; }
html body .btn.p, html body .btn-primary, html body main.card > .btn:not(.g), html body form .btn:not(.g):not(.d) {
  background: var(--cyan); color: #000; border-color: var(--cyan); }
html body .btn.p:hover, html body .btn-primary:hover { background: #fff; border-color: #fff; color: #000; }
html body .btn-primary::after { display: none; }
html body .btn-primary { clip-path: polygon(0 0, calc(100% - 11px) 0, 100% 11px, 100% 100%, 0 100%); }
html body .btn.g, html body .btn-ghost { background: transparent; color: var(--text); border-color: var(--edge2); }
html body .btn.g:hover, html body .btn-ghost:hover { border-color: #fff; color: #fff; background: transparent; }
html body .btn.d { color: #f87171; border-color: rgba(248,113,113,.5); background: transparent; }
html body .btn.d:hover { background: #f87171; color: #000; }
html body .btn.small { font-size: 11.5px; letter-spacing: 1.2px; }
html body input, html body select, html body textarea { border-radius: 3px; background: #000; border-color: var(--edge2); font-family: var(--font); }
html body input:focus, html body select:focus, html body textarea:focus { border-color: var(--cyan); box-shadow: none; }

/* profile */
html body .avatar { border-radius: 3px; background: var(--cyan); color: #000; box-shadow: none; font-stretch: var(--cond); }
html body .hero .u { font-stretch: var(--cond); letter-spacing: 1.4px; text-transform: uppercase; font-size: 13px; }
html body .badge .medal { box-shadow: none; }
html body .bar { border-radius: 0; background: var(--cyan); }
html body td.club { font-weight: 700; }
html body th { font-stretch: var(--cond); font-size: 12px; font-weight: 700; letter-spacing: 1.4px; text-transform: uppercase; }

/* leaderboards */
html body .lb-h1 { font-size: clamp(30px, 5vw, 54px); margin: 14px 0 20px; padding-bottom: 20px; border-bottom: 1px solid var(--edge); }
html body section.hero.card { background: var(--panel); border-color: var(--cyan); }
html body .hero .tag, html body .sec-head .tag { font-stretch: var(--cond); font-weight: 700; letter-spacing: 2.4px; }
html body .ch-title { font-size: 24px; }
html body .tabs { border: 0; gap: 0; }
html body .tabs button { font-family: var(--font); font-stretch: var(--cond); font-size: 13px; letter-spacing: 1.3px; text-transform: uppercase; border-radius: 0;
  background: transparent; border: 1px solid var(--edge); margin: 0 -1px -1px 0; color: var(--muted); }
html body .tabs button.on { background: var(--cyan); color: #000; border-color: var(--cyan); }
html body .rm { border-radius: 2px; }

/* Get SimPal */
html body .hero { background: none; }
html body .hero h1 { font-size: clamp(38px, 5.4vw, 72px); line-height: .95; letter-spacing: -1px; }
html body h1 .c, html body .amount { background: none; -webkit-background-clip: border-box; background-clip: border-box; -webkit-text-fill-color: currentColor; animation: none; }
html body h1 .c { color: var(--cyan); display: block; }
html body .amount { color: var(--text); font-stretch: var(--wide); font-weight: 800; }
html body .sec-head h2, html body .final h2 { font-size: clamp(26px, 3.6vw, 42px); line-height: 1; letter-spacing: -.3px; }
html body .eyebrow { border: 0; background: none; padding: 0; border-radius: 0; font-stretch: var(--cond); font-weight: 700; font-size: 13px; letter-spacing: 2.4px; text-transform: uppercase; }
html body .eyebrow i { display: none; }
html body .feat h3, html body .step h3, html body .price h3, html body .showcase h3 { letter-spacing: .2px; line-height: 1.1; }
html body .feat::before, html body .feat::after, html body .final::before, html body .price.best::after { display: none; }
html body .price.best { border-color: var(--cyan); background: var(--panel); box-shadow: none; }
html body .launch { border-radius: 2px; background: var(--gold); color: #000; border: 0; font-stretch: var(--cond); letter-spacing: 1.2px; text-transform: uppercase; }
html body .step::before { border-radius: 0; background: var(--cyan); color: #000; box-shadow: none; font-stretch: var(--wide); font-weight: 800; }
html body .strip { background: #000; }
html body .strip b { font-stretch: var(--wide); font-weight: 800; }
html body .chipcard, html body .tablet, html body .phone, html body .shot, html body .phone-solo, html body .dl-note { border-radius: 4px; box-shadow: 0 30px 70px rgba(0,0,0,.6); }
html body .faq details { border-radius: 3px; background: var(--panel); border-color: var(--edge); }
html body .faq summary { font-weight: 700; }
html body .logo-ring { display: none; }
html body .final { background: var(--cyan); color: #000; padding: 70px 0 76px; }
html body .final h2 .c, html body .final p { color: #000 !important; }
html body .final .btn-primary { background: #000; color: #fff; border-color: #000; }
html body .final .btn-primary:hover { background: #fff; color: #000; border-color: #fff; }
html body .final + .sf, html body main + .sf { margin-top: 0; }
html body .progress { background: var(--cyan); box-shadow: none; }

/* small card pages (sign in, link, thanks) and text pages */
html body main.card { border-radius: 3px; background: var(--panel); border: 1px solid var(--edge); }
html body main.card h1, html body #signin h1 { font-size: 24px; letter-spacing: .2px; line-height: 1.1; }
html body .seg button, html body .tab { border-radius: 3px; font-family: var(--font); }
html body .nf-code { font-stretch: var(--wide); font-weight: 900; }
html body code { border-radius: 2px; }
html body .hero::before, html body .hero::after { display: none; }
html body .hero { border-bottom: 1px solid var(--edge);
  background: linear-gradient(180deg, rgba(5,5,5,0) 55%, #050505 100%), linear-gradient(90deg, #050505 0%, rgba(5,5,5,.9) 30%, rgba(5,5,5,.15) 100%),
    repeating-linear-gradient(104deg, #17402f 0 120px, #0f2e21 120px 240px); }
html body section.hero.card, html body .card .hero, html body section.card .hero { background: none; border-bottom: 0; }
html body .hero canvas { display: none; }
html body section.hero.card { background: var(--panel); border: 1px solid var(--cyan); }

/* Get SimPal sections: left-aligned band headings, ruled feature grid, outlined step numbers (same language as the home page) */
html body .sec-head { text-align: left; max-width: none; margin: 0 0 28px; }
html body .sec-head .tag { display: inline-flex; align-items: center; gap: 10px; font-size: 13px; }
html body .sec-head .tag::before { content: ""; width: 22px; height: 2px; background: var(--cyan); }
html body .sec-head p { max-width: 640px; color: #b9bcbe; }
html body .features { gap: 0; border: 1px solid var(--edge); border-radius: 3px; }
html body .feat { border: 0; border-right: 1px solid var(--edge); border-bottom: 1px solid var(--edge); border-radius: 0; background: var(--panel); padding: 26px 24px 28px; transform: none !important; }
html body .feat:hover { background: var(--panel2); }
html body .feat .fi { display: grid; place-items: center; width: 44px; height: 44px; margin-bottom: 18px; border: 1px solid var(--cyan); color: var(--cyan); border-radius: 3px; }
html body .feat .fi .ic { width: 22px; height: 22px; stroke-width: 1.75; }
html body .feat h3 { font-size: 16px; margin-bottom: 8px; }
html body .steps { gap: 0; border: 1px solid var(--edge); border-radius: 3px; }
html body .steps::before, html body .steps::after { display: none; }
html body .step { border: 0; border-right: 1px solid var(--edge); border-radius: 0; background: transparent; padding: 28px 26px 30px; }
html body .step:last-child, html body .feat:nth-child(3n) { border-right: 0; }
html body .step::before { position: static; display: block; width: auto; height: auto; background: none; color: transparent; -webkit-text-stroke: 1.5px var(--cyan);
  font-size: 64px; line-height: 1; margin-bottom: 18px; transform: none !important; content: "0" counter(s); text-align: left; }
html body .step h3 { font-size: 16px; margin: 0 0 8px; }
html body .ticks li::before { border-radius: 0; }
html body .showcase h3 { font-size: clamp(22px, 2.6vw, 32px); }
html body .price { padding: 28px; }
html body .price h3 { font-size: 14px; letter-spacing: 1.6px; color: var(--muted); }
html body .faq { max-width: 860px; margin-left: 0; }
html body .faq details { border-radius: 0; margin: 0 0 -1px; }
@media (max-width: 900px) { html body .feat:nth-child(3n) { border-right: 1px solid var(--edge); } html body .feat:nth-child(2n) { border-right: 0; }
  html body .step { border-right: 0; border-bottom: 1px solid var(--edge); } html body .step:last-child { border-bottom: 0; } }
@media (max-width: 600px) { html body .feat { border-right: 0 !important; } }
/* profile: the player card sits on fairway stripes */
html body #page > section.card:first-child { border-color: var(--edge2);
  background: linear-gradient(90deg, var(--panel) 25%, rgba(14,15,16,.55) 100%), repeating-linear-gradient(104deg, #17402f 0 90px, #0f2e21 90px 180px); }
html body #page > section.card:first-child h1 { font-size: clamp(30px, 5vw, 52px); }
html body .pricing { margin-left: 0; margin-right: auto; } html body .launch { display: inline-block; width: fit-content; }

/* photography: Get SimPal hero is the tablet-in-the-bay photo (the old device mock-up is hidden) */
html body main > .hero:not(.card) { min-height: min(680px, 80vh); display: flex; align-items: center; padding: 72px 0 76px;
  background: linear-gradient(180deg, rgba(5,5,5,0) 62%, #050505 100%), linear-gradient(90deg, #050505 0%, rgba(5,5,5,.88) 24%, rgba(5,5,5,.2) 46%, rgba(5,5,5,0) 60%),
    url(/assets/img/hero-tablet-2x.webp) right center / auto 100% no-repeat #050505; }
html body main > .hero:not(.card) .wrap { display: block; width: 100%; }
html body main > .hero:not(.card) .wrap > .reveal:first-child { max-width: 470px; }
html body main > .hero:not(.card) h1 { font-size: clamp(36px, 4.6vw, 62px); }
html body main > .hero:not(.card) .devices { display: none; }
@media (max-width: 900px) { html body main > .hero:not(.card) { min-height: 0; padding: 44px 0 0; flex-direction: column; align-items: stretch;
    background: linear-gradient(180deg, #050505 0%, #050505 100%); }
  html body main > .hero:not(.card)::after { content: ""; display: block !important; position: static; opacity: 1; mask-image: none; -webkit-mask-image: none; margin-top: 30px; aspect-ratio: 16 / 10;
    background: linear-gradient(180deg, #050505 0%, rgba(5,5,5,0) 22%, rgba(5,5,5,0) 80%, #050505 100%), url(/assets/img/hero-tablet-2x.webp) 72% center / cover no-repeat; } }
html body #page > section.card:first-child { background: linear-gradient(90deg, var(--panel) 22%, rgba(14,15,16,.5) 100%), url(/assets/img/banner-fairway.jpg) right 40% / cover no-repeat; }

/* the weekly challenge card on Leaderboards is a normal panel, never a photo hero */
html body main > section.hero.card { display: block; min-height: 0; padding: 0 20px 16px; background: var(--panel); }
html body main > section.hero.card::after, html body main > section.hero.card::before { display: none !important; }
html body main > section.hero.card .tag { display: block; padding-top: 16px; }
