/* App layer: the free-flowing background, the interactive phone, the home hero, the guided story,
   the price builder, Try it and the category pages. Colors, sizes and radii come from tokens.css. */

/* ---- free-flowing background: soft waves drift behind everything and ease with scroll ---- */
.flow { position: fixed; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; --sy: 0px; }
.flow svg { position: absolute; left: -25%; width: 150%; height: 46vh; min-height: 280px; will-change: transform; }
.flow .w1 { bottom: -6vh; animation: wave1 26s ease-in-out infinite alternate; transform: translateY(calc(var(--sy) * -0.06)); }
.flow .w2 { bottom: -12vh; animation: wave2 34s ease-in-out infinite alternate; transform: translateY(calc(var(--sy) * -0.03)); }
.flow .w3 { top: -10vh; transform: scaleY(-1) translateY(calc(var(--sy) * 0.04)); animation: wave3 40s ease-in-out infinite alternate; }
.flow .w1 path { fill: var(--g-l); opacity: 0.7; } .flow .w2 path { fill: var(--b-l); opacity: 0.8; } .flow .w3 path { fill: var(--y-l); opacity: 0.5; }
.flow .orb { position: absolute; border-radius: 50%; filter: blur(46px); opacity: 0.5; animation: orb 22s ease-in-out infinite alternate; }
.flow .o1 { width: 34vmax; height: 34vmax; left: -10vmax; top: 14vh; background: var(--g-l); }
.flow .o2 { width: 28vmax; height: 28vmax; right: -8vmax; top: 40vh; background: var(--b-l); animation-delay: -8s; }
.flow .o3 { width: 22vmax; height: 22vmax; left: 38vw; bottom: -8vmax; background: var(--p-l); animation-delay: -14s; }
@keyframes wave1 { from { margin-left: -4%; } to { margin-left: 4%; } } @keyframes wave2 { from { margin-left: 5%; } to { margin-left: -5%; } } @keyframes wave3 { from { margin-left: -3%; } to { margin-left: 3%; } }
@keyframes orb { from { transform: translate3d(0, 0, 0) scale(1); } to { transform: translate3d(6vw, -5vh, 0) scale(1.18); } }
.band.alt { background: rgba(255, 255, 255, 0.5); }
body { position: relative; }
main, footer { position: relative; z-index: 1; }

/* ---- illustration animation ---- */
.illus { display: block; width: 100%; height: 100%; }
.illus .sway { animation: sway 5s ease-in-out infinite alternate; } .illus .sway:nth-child(odd) { animation-duration: 6.4s; animation-delay: -2s; }
.illus .drift { animation: cloud 40s linear infinite; } .illus .spin { animation: spin 1.8s linear infinite; } .illus .spin-slow { animation: spin 6s linear infinite; }
.illus .swing { animation: swing 2.6s ease-in-out infinite; } .illus .wag { animation: wag 3s ease-in-out infinite; transform-origin: center bottom; transform-box: fill-box; }
.illus .flagwave { animation: flagw 1.6s ease-in-out infinite alternate; transform-origin: left center; transform-box: fill-box; }
@keyframes sway { from { transform: rotate(-1.4deg); } to { transform: rotate(1.4deg); } } @keyframes cloud { from { transform: translateX(-20px); } to { transform: translateX(60px); } }
@keyframes spin { to { transform: rotate(360deg); } } @keyframes swing { 0%, 55% { transform: rotate(-12deg); } 70% { transform: rotate(40deg); } 100% { transform: rotate(-12deg); } }
@keyframes wag { 0%, 100% { transform: rotate(-3deg); } 50% { transform: rotate(3deg); } } @keyframes flagw { from { transform: skewY(-6deg) scaleX(1); } to { transform: skewY(6deg) scaleX(0.88); } }
.scenic { position: relative; margin: 0; border-radius: var(--r-lg); overflow: hidden; border: 2px solid var(--line); border-bottom-width: 5px; aspect-ratio: 2 / 1; background: var(--b-l); box-shadow: var(--shadow); }
.scenic > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.scenic.tall { aspect-ratio: 16 / 10; }
.scenic.paused .illus * { animation-play-state: paused; }

/* ---- the interactive phone ---- */
.phone { position: relative; width: 100%; max-width: 340px; margin: 0 auto; min-height: 560px; }
.phone.locked { background: linear-gradient(170deg, #12306b, #0b1e45); border-color: #1d3b73; }
.lockscreen { flex: 1; display: grid; place-content: center; justify-items: center; gap: 10px; padding: 28px; color: #fff; text-align: center; }
.lockscreen .muted { color: rgba(255, 255, 255, 0.75); }
.lock-art, .sheet-art { position: relative; width: 96px; height: 96px; display: grid; place-items: center; }
.lock-art i, .sheet-art i { position: relative; z-index: 1; width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; background: var(--fill); color: var(--on-accent); box-shadow: 0 6px 0 var(--fill-d); }
.lock-art i .i, .sheet-art i .i { width: 30px; height: 30px; }
.ring-a, .ring-b { position: absolute; inset: 0; border-radius: 50%; border: 3px solid var(--fill); opacity: 0; animation: pulse 2.2s ease-out infinite; } .ring-b { animation-delay: 1.1s; }
@keyframes pulse { 0% { transform: scale(0.6); opacity: 0.8; } 100% { transform: scale(1.35); opacity: 0; } }
.phone.scanning::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 40%, rgba(88, 204, 2, 0.55) 50%, transparent 60%); animation: scanline 0.8s ease-in-out 3; pointer-events: none; z-index: 3; }
@keyframes scanline { from { transform: translateY(-100%); } to { transform: translateY(100%); } }
.phone.wake .phone-body { animation: rise 0.45s var(--ease) both; }
.tapring { position: absolute; width: 54px; height: 54px; margin: -27px 0 0 -27px; border-radius: 50%; border: 4px solid var(--fill); background: rgba(88, 204, 2, 0.25); pointer-events: none; z-index: 4; animation: tapring 0.8s ease-out forwards; }
@keyframes tapring { from { transform: scale(0.4); opacity: 1; } to { transform: scale(1.5); opacity: 0; } }
.phone .i { width: 20px; height: 20px; }
.phone-body > h3 { font-size: 20px; }
.phone .sec { margin-top: 6px; color: var(--ink); font-size: 14px; }
.phone .stepper { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.phone .stepper b { min-width: 24px; text-align: center; font-variant-numeric: tabular-nums; }
.phone .small, .small { font-size: 12.5px; color: var(--muted); }
.phone .muted, .muted { color: var(--muted); }
.phone .btn.full { width: 100%; text-align: center; }
.phone textarea, .phone select, .phone input { width: 100%; font: inherit; }
.warnchip[aria-pressed="false"] { background: var(--bad-soft); border-color: var(--bad); color: var(--bad); }
.badge.rule { display: inline-block; background: var(--y-l); color: var(--warn); font-weight: 800; border-radius: 9px; padding: 1px 9px; font-size: 12.5px; }
.sheet { display: grid; justify-items: center; text-align: center; gap: 10px; padding: 14px 4px; }
.sheet-art.call i { background: var(--blue); box-shadow: 0 6px 0 var(--blue-d); } .sheet-art.order i, .sheet-art.res i { background: var(--orange); box-shadow: 0 6px 0 #c77300; } .sheet-art.checkout i { background: var(--purple); box-shadow: 0 6px 0 var(--p-d); }
.dots { display: flex; gap: 6px; } .dots i { width: 9px; height: 9px; border-radius: 50%; background: var(--fill); animation: dot 1s ease-in-out infinite; } .dots i:nth-child(2) { animation-delay: 0.15s; } .dots i:nth-child(3) { animation-delay: 0.3s; }
@keyframes dot { 0%, 100% { transform: translateY(0); opacity: 0.4; } 50% { transform: translateY(-5px); opacity: 1; } }
.bar { height: 10px; border-radius: 999px; background: var(--line); overflow: hidden; } .bar i { display: block; height: 100%; width: var(--w); border-radius: 999px; background: var(--fill); transition: width 0.6s var(--ease); }
.bar.red i { background: var(--red); } .bar.orange i { background: var(--orange); } .bar.yellow i { background: var(--yellow); }
.deptrow { display: grid; grid-template-columns: repeat(auto-fit, minmax(110px, 1fr)); gap: 8px; } .dept { background: var(--solid); border: 1px solid var(--line); border-radius: 14px; padding: 8px 10px; font-size: 12.5px; color: var(--muted); } .dept b { display: block; font-size: 22px; color: var(--ink); }
.act { font-size: 13.5px; padding: 4px 0; border-bottom: 1px dashed var(--line); } .act:last-child { border-bottom: 0; }
.rp.restaurant { background: var(--r-l); color: var(--bad); }

/* ---- home hero: the plate is a button, the chips drive a real phone ---- */
.herostage { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 18px; align-items: start; }
.plate-col { display: flex; flex-direction: column; align-items: center; gap: 16px; }
.plate-btn { position: relative; background: none; border: 0; padding: 0; cursor: pointer; border-radius: 30px; transition: transform 0.2s var(--ease); }
.plate-btn:hover { transform: translateY(-4px) rotate(-1deg); } .plate-btn:active { transform: scale(0.97); }
.plate-btn .plate { width: min(236px, 52vw); }
.plate-btn .hint { position: absolute; left: 50%; bottom: -14px; transform: translateX(-50%); white-space: nowrap; background: var(--fill); color: var(--on-accent); font-weight: 900; font-size: 13px; padding: 6px 14px; border-radius: 999px; box-shadow: 0 4px 0 var(--fill-d); }
.plate-btn.tapped .plate { animation: platetap 0.7s var(--ease); } @keyframes platetap { 30% { transform: scale(0.92); } 60% { transform: scale(1.04); } }
.herochips { display: flex; flex-direction: column; align-items: stretch; gap: 8px; width: min(100%, 250px); margin-top: 10px; }
.hchip { display: inline-flex; align-items: center; gap: 6px; background: var(--solid); color: var(--ink); border: 2px solid var(--line); border-bottom-width: 4px; border-radius: 999px; padding: 7px 13px 7px 8px; font: inherit; font-weight: 800; font-size: 14px; cursor: pointer; transition: transform 0.12s; }
.hchip i { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: var(--fill); color: var(--on-accent); } .hchip .i { width: 15px; height: 15px; }
.hchip:nth-child(2n) i { background: var(--blue); color: #04334f; } .hchip:nth-child(3n) i { background: var(--yellow); color: #5a3d00; } .hchip:nth-child(4n) i { background: var(--orange); color: #3a2100; }
.hchip:active { transform: translateY(2px); border-bottom-width: 2px; } .hchip[aria-pressed="true"] { border-color: var(--fill); background: var(--accent-soft); }
.rolepills { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; }
.rolepills button { border: 2px solid var(--line); background: var(--solid); border-radius: 999px; padding: 5px 12px; font: inherit; font-size: 13px; font-weight: 800; color: var(--muted); cursor: pointer; }
.rolepills button[aria-pressed="true"] { background: var(--ink); color: var(--solid); border-color: var(--ink); }
.phone-col { min-width: 0; } .phone-col .phone { max-width: 320px; }
.fineprint { font-size: 12px; color: var(--muted); max-width: 60ch; }
@media (max-width: 900px) { .herostage { grid-template-columns: 1fr; } .phone-col { order: 1; } .plate-col { order: 2; } .herochips { flex-direction: row; flex-wrap: wrap; justify-content: center; width: 100%; } }

/* ---- guided story ---- */
.storybar { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.chapter { border: 2px solid var(--line); border-bottom-width: 4px; background: var(--solid); border-radius: 14px; padding: 8px 12px; font: inherit; font-weight: 800; font-size: 14px; color: var(--ink); cursor: pointer; text-align: left; display: flex; gap: 8px; align-items: center; }
.chapter b { width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; background: var(--line); font-size: 12px; flex: none; }
.chapter[aria-current="step"] { border-color: var(--fill); background: var(--accent-soft); } .chapter[aria-current="step"] b { background: var(--fill); color: var(--on-accent); }
.storygrid { display: grid; grid-template-columns: 340px minmax(0, 1fr); gap: 26px; align-items: start; }
.storycap { background: var(--glass); border: 2px solid var(--line); border-radius: 20px; padding: 14px 16px; display: flex; flex-direction: column; gap: 4px; min-height: 92px; }
.storycap strong { color: var(--ink); font-size: 17px; } .storycap .who { align-self: flex-start; }
.progress { height: 6px; border-radius: 99px; background: var(--line); overflow: hidden; } .progress i { display: block; height: 100%; width: 0; background: var(--fill); }
.takeover { font-weight: 800; color: var(--accent); font-size: 14px; }
@media (max-width: 900px) { .storygrid { grid-template-columns: 1fr; } }

/* ---- price tags and the builder ---- */
.tagrow { display: flex; gap: 12px; justify-content: space-between; align-items: center; border: 2px solid var(--line); border-radius: 18px; padding: 12px 14px; background: var(--solid); transition: border-color 0.2s, background 0.2s; }
.tagrow.on { border-color: var(--fill); background: var(--accent-soft); }
.tagrow b { display: block; color: var(--ink); } .tagrow span { display: block; font-size: 13px; color: var(--muted); } .tagrow em { font-style: normal; font-size: 12.5px; color: var(--accent); font-weight: 800; }
.tagprice { display: flex; flex-direction: column; align-items: flex-end; gap: 6px; text-align: right; flex: none; } .tagprice strong { font-size: 18px; color: var(--ink); font-variant-numeric: tabular-nums; }
.tagrows { display: flex; flex-direction: column; gap: 10px; }
.tagtotal { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; margin-top: 4px; padding: 12px 14px; border-radius: 18px; background: var(--ink); color: var(--solid); }
.tagtotal b { font-size: 22px; font-variant-numeric: tabular-nums; } .tagtotal a { color: var(--fill); font-weight: 800; }
@media (max-width: 480px) { .tagrow { flex-direction: column; align-items: stretch; } .tagprice { flex-direction: row; justify-content: space-between; align-items: center; } }
.builder { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr); gap: 22px; align-items: start; }
.builder .total { position: sticky; top: calc(var(--header-h) + 12px); }
.receipt { background: var(--solid); border: 2px solid var(--line); border-bottom-width: 5px; border-radius: 24px; padding: 20px; display: flex; flex-direction: column; gap: 10px; }
.receipt .ln { display: flex; justify-content: space-between; gap: 10px; font-size: 14.5px; border-bottom: 1px dashed var(--line); padding-bottom: 6px; } .receipt .ln small { display: block; color: var(--muted); font-size: 12px; }
.receipt .ln b { font-variant-numeric: tabular-nums; color: var(--ink); } .receipt .big-n { font-size: 38px; font-weight: 900; color: var(--ink); font-variant-numeric: tabular-nums; line-height: 1.1; }
.presets { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 8px; } .presets button { border: 2px solid var(--line); border-bottom-width: 4px; background: var(--solid); border-radius: 16px; padding: 10px; font: inherit; font-weight: 800; color: var(--ink); cursor: pointer; } .presets button[aria-pressed="true"] { border-color: var(--fill); background: var(--accent-soft); } .presets small { display: block; font-weight: 600; color: var(--muted); }
.qtys { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 10px; }
.consult { border: 2px dashed var(--blue); background: var(--b-l); border-radius: 20px; padding: 16px 18px; color: var(--ink); }
@media (max-width: 900px) { .builder { grid-template-columns: 1fr; } .builder .total { position: static; } }

/* ---- Try it ---- */
.tryhead { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px; }
.rolebtn { border: 2px solid var(--line); border-bottom-width: 5px; background: var(--solid); border-radius: 18px; padding: 10px 12px; font: inherit; font-weight: 900; color: var(--ink); cursor: pointer; display: flex; align-items: center; gap: 10px; text-align: left; transition: transform 0.12s; }
.rolebtn i { width: 34px; height: 34px; border-radius: 12px; display: grid; place-items: center; background: var(--rc-l); color: var(--rc); flex: none; }
.rolebtn[aria-selected="true"] { border-color: var(--rc); background: var(--rc-l); } .rolebtn:active { transform: translateY(2px); }
.trygrid { display: grid; grid-template-columns: 340px minmax(0, 1fr); gap: 26px; align-items: start; }
.trygrid .stack { display: flex; flex-direction: column; gap: 18px; min-width: 0; }
@media (max-width: 900px) { .trygrid { grid-template-columns: 1fr; } }
.c-blue { --rc: var(--blue-d); --rc-l: var(--b-l); } .c-orange { --rc: #b26400; --rc-l: #ffe9c7; } .c-purple { --rc: var(--p-d); --rc-l: var(--p-l); } .c-yellow { --rc: #7a5a00; --rc-l: var(--y-l); } .c-green { --rc: var(--accent); --rc-l: var(--g-l); } .c-red { --rc: var(--bad); --rc-l: var(--r-l); }

/* ---- category pages and tiles ---- */
.cats { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr)); gap: 16px; }
.cat { display: flex; flex-direction: column; background: var(--solid); border: 2px solid var(--line); border-bottom-width: 5px; border-radius: 24px; overflow: hidden; color: var(--fg); text-decoration: none; transition: transform 0.2s var(--ease), border-color 0.2s; }
.cat:hover { transform: translateY(-5px); border-color: var(--rc); } .cat .scenic { border: 0; border-radius: 0; box-shadow: none; aspect-ratio: 16 / 9; }
.cat .tx { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 4px; } .cat h3 { font-size: 19px; } .cat .rp { align-self: flex-start; background: var(--rc-l); color: var(--rc); }
.cat .go { margin-top: 6px; color: var(--rc); font-weight: 900; }
.cathero { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); gap: 28px; align-items: center; }
@media (max-width: 900px) { .cathero { grid-template-columns: 1fr; } }
.daylist { counter-reset: d; display: flex; flex-direction: column; gap: 10px; padding: 0; margin: 0; list-style: none; }
.daylist li { counter-increment: d; display: grid; grid-template-columns: 38px minmax(0, 1fr); gap: 12px; align-items: start; background: var(--glass); border: 2px solid var(--line); border-radius: 18px; padding: 12px 14px; }
.daylist li::before { content: counter(d); width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: var(--rc); color: #fff; font-weight: 900; } .daylist b { color: var(--ink); display: block; }
.beforeafter { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: 16px; }
.beforeafter .card ul { margin: 0; padding-left: 20px; display: flex; flex-direction: column; gap: 6px; } .beforeafter .card.b { border-color: var(--bad); } .beforeafter .card.a { border-color: var(--fill); }
.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 14px; }
.fact { background: var(--solid); border: 2px solid var(--line); border-left: 6px solid var(--rc); border-radius: 18px; padding: 14px 16px; display: flex; flex-direction: column; gap: 6px; } .fact small { color: var(--muted); font-weight: 700; }
.sources { font-size: 13.5px; color: var(--muted); } .sources a { color: var(--accent); overflow-wrap: anywhere; }
.connects { display: flex; flex-wrap: wrap; gap: 8px; } .connects span { background: var(--rc-l); color: var(--rc); font-weight: 800; border-radius: 999px; padding: 6px 14px; font-size: 14px; }
.catnav { display: flex; flex-wrap: wrap; gap: 8px; } .catnav a { border: 2px solid var(--line); background: var(--solid); border-radius: 999px; padding: 6px 14px; font-weight: 800; text-decoration: none; color: var(--ink); font-size: 14px; } .catnav a[aria-current="page"] { background: var(--rc-l); border-color: var(--rc); color: var(--rc); }

/* ---- product page widgets ---- */
.widgets { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: 18px; }
.widget { background: var(--glass); border: 2px solid var(--line); border-bottom-width: 5px; border-radius: 24px; padding: 18px; display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.widget h3 { font-size: 20px; } .widget .tag { align-self: flex-start; font-size: 12px; font-weight: 900; border-radius: 99px; padding: 2px 10px; background: var(--y-l); color: var(--warn); }
.cartrow { display: grid; grid-template-columns: repeat(auto-fill, minmax(62px, 1fr)); gap: 6px; } .cartrow button { border: 2px solid var(--line); background: var(--solid); border-radius: 12px; padding: 8px 2px; font: inherit; font-weight: 800; color: var(--ink); cursor: pointer; } .cartrow button.done { background: var(--accent-soft); border-color: var(--fill); } .cartrow button.flag { background: var(--bad-soft); border-color: var(--bad); }
.modal { position: fixed; inset: 0; z-index: 60; display: grid; place-items: center; background: rgba(10, 25, 40, 0.6); padding: 16px; }
.modal[hidden] { display: none; } .modal .box { width: min(380px, 100%); max-height: 92vh; overflow: auto; position: relative; } .modal .x { position: absolute; right: 6px; top: 6px; z-index: 5; width: 44px; height: 44px; border-radius: 50%; border: 0; background: var(--solid); color: var(--ink); font-size: 20px; font-weight: 900; cursor: pointer; box-shadow: var(--shadow); }
.plates { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 210px), 1fr)); gap: 12px; } .plates button { border: 2px solid var(--line); border-bottom-width: 5px; background: var(--solid); border-radius: 20px; padding: 14px; font: inherit; text-align: left; cursor: pointer; display: flex; flex-direction: column; gap: 4px; color: var(--fg); } .plates button:hover { border-color: var(--fill); } .plates b { color: var(--ink); font-size: 17px; }

@media (prefers-reduced-motion: reduce) { .flow *, .illus *, .tapring, .ring-a, .ring-b, .dots i { animation: none !important; } .flow .w1, .flow .w2, .flow .w3 { transform: none; } }

/* ---- hero layout with the live phone ---- */
.hero { grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); align-items: start; }
@media (max-width: 1000px) { .hero { grid-template-columns: 1fr; } }
.skyhero .inner { z-index: 2; }

.hero h1 { font-size: clamp(2.3rem, 1.3rem + 3.2vw, 3.6rem); }
.cathero h1 { font-size: var(--fs-500); }
.tile b { white-space: nowrap; }
.herostage { row-gap: 14px; }

/* the hero course grows with the screen, so wide monitors see the trees, clubhouse and flag, not a strip of grass */
.skyhero .scene { height: clamp(240px, 22vw, 460px); }
.skyhero.tall { padding-bottom: calc(clamp(240px, 22vw, 460px) + 10px) !important; }
@media (max-width: 700px) { .skyhero .scene { height: 200px; } .skyhero.tall { padding-bottom: 210px !important; } }
.tagprice .mo { font-size: 12px; color: var(--muted); }

/* ---- Course Guide Plus ---- */
.plus { display: inline-block; margin-left: 4px; padding: 0 7px; border-radius: 999px; background: var(--purple); color: #2b0a4a; font-size: 10.5px; font-weight: 900; letter-spacing: 0.06em; text-transform: uppercase; vertical-align: 2px; }
.teepills { display: flex; flex-wrap: wrap; gap: 10px; }
.teepills button { border: 3px solid var(--line); background: var(--solid); border-radius: 999px; padding: 8px 20px; font: inherit; font-weight: 900; font-size: 18px; color: var(--ink); cursor: pointer; min-height: 44px; }
.teepills button[aria-pressed="true"] { border-color: var(--tc); color: var(--tc); background: var(--solid); box-shadow: 0 4px 0 var(--tc); }
.teepills small { display: block; font-size: 11px; font-weight: 700; color: var(--muted); letter-spacing: 0.04em; text-transform: uppercase; }
.cgrid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 0.9fr); gap: 20px; align-items: start; }
@media (max-width: 900px) { .cgrid { grid-template-columns: 1fr; } }
.cgmap { background: var(--solid); border: 2px solid var(--line); border-bottom-width: 5px; border-radius: 24px; padding: 10px; overflow: hidden; position: relative; }
.cgmap svg { width: 100%; height: auto; display: block; border-radius: 16px; background: #d9f2b4; }
.cgmap .hole-hit { cursor: pointer; } .cgmap .hole-hit:focus-visible circle.badge { stroke: var(--blue); stroke-width: 4; }
.cgmap .badge { fill: #fff; stroke: #2d6a00; stroke-width: 2.5; transition: transform 0.2s; transform-box: fill-box; transform-origin: center; } .cgmap .hole-hit:hover .badge, .cgmap .sel .badge { transform: scale(1.25); fill: var(--yellow); }
.cgmap text { font-family: Nunito, Arial, sans-serif; font-weight: 900; pointer-events: none; }
.cgmap .selpath { fill: none; stroke: var(--blue); stroke-width: 5; stroke-dasharray: 2 9; stroke-linecap: round; animation: dash 1.4s linear infinite; } @keyframes dash { to { stroke-dashoffset: -22; } }
.cgpanel { background: var(--glass); border: 2px solid var(--line); border-radius: 24px; padding: 18px; display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.cgpanel h3 { font-size: 24px; }
.hole-diag { border-radius: 16px; overflow: hidden; border: 2px solid var(--line); aspect-ratio: 16 / 10; background: #d9f2b4; position: relative; } .hole-diag svg, .hole-diag img { width: 100%; height: 100%; display: block; object-fit: cover; }
.hole-diag img { position: absolute; inset: 0; }
.landmarks { display: flex; flex-direction: column; gap: 6px; padding: 0; margin: 0; list-style: none; }
.landmarks li { display: flex; gap: 10px; align-items: center; background: var(--solid); border: 2px solid var(--line); border-radius: 14px; padding: 7px 10px; font-size: 14px; transition: border-color 0.3s, background 0.3s; }
.landmarks li.hit { border-color: var(--blue); background: var(--b-l); } .landmarks li i { width: 22px; height: 22px; border-radius: 50%; flex: none; }
.lm-bunker { background: #f3dca0; border: 2px solid #c9a95a; } .lm-water, .lm-creek { background: #5cc8ff; border: 2px solid #1c8fd0; } .lm-trees { background: #2e8b00; border: 2px solid #1d5f00; } .lm-ob { background: #fff; border: 3px dashed #c62828; }
.cgstats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; } .cgstats div { background: var(--solid); border: 2px solid var(--line); border-radius: 14px; padding: 6px 4px; text-align: center; font-size: 11.5px; color: var(--muted); } .cgstats b { display: block; font-size: 19px; color: var(--ink); font-variant-numeric: tabular-nums; }
.cgbtns { display: flex; flex-wrap: wrap; gap: 8px; }
.holestrip { display: flex; flex-wrap: wrap; gap: 6px; } .holestrip button { width: 44px; height: 44px; border-radius: 12px; border: 2px solid var(--line); border-bottom-width: 4px; background: var(--solid); font: inherit; font-weight: 900; color: var(--ink); cursor: pointer; } .holestrip button[aria-pressed="true"] { background: var(--fill); color: var(--on-accent); border-color: var(--fill-d); }
.simbar { display: flex; flex-wrap: wrap; gap: 12px; align-items: flex-end; }
.simclock { position: absolute; left: 20px; top: 20px; background: rgba(20, 50, 10, 0.85); color: #fff; font-weight: 900; font-size: 22px; padding: 4px 14px; border-radius: 999px; font-variant-numeric: tabular-nums; }
#sim-feed { display: flex; flex-direction: column; gap: 8px; max-height: 460px; overflow: auto; }
.note { border-left: 6px solid var(--blue); background: var(--solid); border-radius: 12px; padding: 8px 12px; font-size: 14px; animation: rise 0.4s var(--ease) both; } .note.warn { border-color: var(--orange); } .note.bad { border-color: var(--red); } .note b { color: var(--ink); } .note small { display: block; color: var(--muted); }
.heat { display: grid; grid-template-columns: repeat(18, minmax(0, 1fr)); gap: 3px; } .heat div { height: 54px; border-radius: 8px; background: var(--line); font-size: 11px; font-weight: 900; color: var(--ink); display: flex; align-items: flex-end; justify-content: center; padding-bottom: 3px; transition: background 0.5s; } .heat .h1 { background: var(--g-l); } .heat .h2 { background: var(--yellow); } .heat .h3 { background: var(--red); color: #fff; }
.sgroup { transition: transform 0.4s linear; } .sgroup.wait circle { animation: gwait 0.9s ease-in-out infinite alternate; } @keyframes gwait { to { r: 14; } }
code { background: var(--solid); border: 1px solid var(--line); border-radius: 6px; padding: 0 5px; }

/* bigger icons on the four feature cards */
#glance .icon-chip { width: 88px; height: 88px; border-radius: 28px; }
#glance .icon-chip .i, #glance .icon-chip svg { width: 52px !important; height: 52px !important; stroke-width: 2.2; }
#glance .card { gap: 14px; }
