body.prod{--strip:0px}
:root{--g:#2f5a1e;--gl:#e6efe0;--g-bright:var(--g);--g-rgb:47,90,30;--cluster:#1f2937;--o:#D9782D;--od:#b85f1c;--cream:#F5EEDC;--b1:#e3dfd2;--b2:#cfcab9;--ink:#374151;--brown:#735400;--white:#fffdf8;
--strip:22px;--top:56px;--tabs:62px;--safe-b:env(safe-area-inset-bottom,0px);--safe-t:env(safe-area-inset-top,0px)}
/* Color variants (local only). Switch with ?theme=a-blue, ?theme=b-green, ?theme=c-navy-gold, or ?theme=n1-navy-brass through ?theme=n4-navy-brick on the html element.
   A) Lighter blue from the ClassPass map preview (design-refs/classpass-02-search.jpg, shown to Ryan ~8:36 PM America/Phoenix).
      In that still the blue is on numbered map pins and the user-location dot, not chips, header, or buttons.
      --g-bright #4A84FF is the sampled pin fill. It is 3.48:1 on white, so it is used on pins only.
      --g #1E5AE8 is the same hue, darkened to WCAG AA for small text and filled controls (white 5.70, cream 4.93).
   B) Light green in the Bowmen's Outpost brand family: site/app forest is #2f5a1e, live site sage wash is #E7EFE2 / #B1C5A4.
      --g #3C7529 is a lighter leaf green of the same hue that still meets AA (white 5.57, cream 4.81).
   C) Deep navy primary with a warm amber-gold accent, on the existing cream background.
      --g #1F3A5F is the header, nav, active tab, and headings (white 11.48, cream 9.92).
      --o #C8902E is the button, badge, and highlight fill. White on that gold is 2.81:1, so
      filled gold controls use dark text #1C1408 (6.49:1). Distance text on cream uses the
      darker gold #8A5A12 (5.11:1) so small type meets WCAG AA.
      --od #B07A20 is the gold pressed state (#1C1408 is 4.90:1). --gl #E6EBF2 is a pale navy wash.
      Orange, cream, and kind pin colors for shops/clubs/events stay as they are on unthemed v24
      and on A/B; C only overrides --o/--od for the gold accent.
   Unthemed v24 keeps --g #2f5a1e. Orange, cream, and kind pin colors for shops/clubs/events stay as they are. */
html.theme-a-blue{--g:#1E5AE8;--gl:#E4EDFF;--g-bright:#4A84FF;--g-rgb:30,90,232;--cluster:#1E5AE8}
html.theme-b-green{--g:#3C7529;--gl:#E7EFE2;--g-bright:#3C7529;--g-rgb:60,117,41;--cluster:#3C7529}
html.theme-c-navy-gold{--g:#1F3A5F;--gl:#E6EBF2;--g-bright:#1F3A5F;--g-rgb:31,58,95;--cluster:#1F3A5F;--o:#C8902E;--od:#B07A20}
html.theme-c-navy-gold .btn,
html.theme-c-navy-gold .offline-pill,
html.theme-c-navy-gold .saved-link .n,
html.theme-c-navy-gold .steps li::before{color:#1C1408}
html.theme-c-navy-gold .btn.on{color:#fff}
html.theme-c-navy-gold .dist{color:#8A5A12}
/* N1–N4: Ryan's navy #1F3A5F as the shared primary, each with a distinct accent.
   Pairings follow common designer recommendations for navy (gold/brass, copper,
   sage green, brick red) from sources such as Better Homes & Gardens and Color Meanings.
   N1 is a refined brass of c-navy-gold. All four use pale navy wash --gl #E6EBF2.
   Count tiles (Shops/Events/Clubs/Ranges) are unified to navy edges and numerals.
   Logo orange #D9782D is reserved for the active-tab underline and the user location pin.
   Default/unthemed v24, A, B, and C are unchanged. */
html.theme-navy-set{--g:#1F3A5F;--gl:#E6EBF2;--g-bright:#1F3A5F;--g-rgb:31,58,95;--cluster:#1F3A5F}
html.theme-n1-navy-brass{--o:#B8860B;--od:#A07C18;--o-text:#7A5E0C;--btn-fg:#1C1408}
html.theme-n2-navy-copper{--o:#B87333;--od:#B47032;--o-text:#9A4E20;--btn-fg:#1C1408}
html.theme-n3-navy-sage{--o:#1F3A5F;--od:#162B47;--o-text:#1F3A5F;--btn-fg:#fff}
html.theme-n4-navy-brick{--o:#A8483A;--od:#8E2A2A;--o-text:#A8483A;--btn-fg:#fff}
html.theme-navy-set .btn,
html.theme-navy-set .offline-pill,
html.theme-navy-set .saved-link .n,
html.theme-navy-set .steps li::before{color:var(--btn-fg)}
html.theme-navy-set .btn.on{color:#fff}
html.theme-navy-set .btn.ghost{color:var(--g)}
html.theme-navy-set .dist{color:var(--o-text)}
html.theme-navy-set .tabs a.on::after{background:#D9782D}
html.theme-navy-set .fl-origin{color:#D9782D}
html.theme-navy-set .dir-stat[data-dir]{border-left-color:var(--g)}
html.theme-navy-set .dir-stat[data-dir] b{color:var(--g)}
html.theme-navy-set .dir-stats.compact .dir-stat[data-dir]{border-top-color:var(--g)}
/* N3 default (18 Nov 2026): filled buttons use navy, not sage. Accent now
   matches the navy primary, so controls on the navy topbar need contrast,
   and the scorekeeper active-tab underline uses the reserved logo orange
   (same as the bottom nav underline) so it stays visible on the navy tab. */
html.theme-n3-navy-sage .offline-pill{background:#fff;color:var(--g)}
html.theme-n3-navy-sage .saved-link .n:not(:empty){background:#fff;color:var(--g)}
html.theme-n3-navy-sage .stab.on{border-bottom-color:#D9782D}
html.theme-n3-navy-sage .search-area-btn{background:#1F3A5F}
html.theme-n3-navy-sage .search-area-btn:active{background:#162B47}
*{box-sizing:border-box}
html,body{margin:0;background:var(--cream);color:var(--ink);font:16px/1.45 system-ui,-apple-system,"Segoe UI",Roboto,sans-serif;-webkit-text-size-adjust:100%}
a{color:var(--g)}
h1,h2,h3{color:var(--g);line-height:1.2}
h1{font-family:Georgia,"Times New Roman",serif;font-size:1.55rem;margin:.2rem 0 .5rem}
h2{font-size:1.15rem;margin:1.2rem 0 .5rem}
h3{font-size:1rem;margin:1rem 0 .35rem}
.mockup-strip{position:fixed;top:0;left:0;right:0;z-index:50;height:calc(var(--strip) + var(--safe-t));padding-top:var(--safe-t);background:#ffd400;color:#2b2b2b;font:700 11px/var(--strip) system-ui,sans-serif;text-align:center;letter-spacing:.02em;border-bottom:1px solid #c9a800;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.topbar{position:fixed;top:calc(var(--strip) + var(--safe-t));left:0;right:0;z-index:40;height:var(--top);background:var(--g);display:flex;align-items:center;justify-content:center;padding:0 12px}
.brand img{display:block;height:44px;width:auto}
.back{position:absolute;left:6px;top:8px;width:40px;height:40px;border:0;border-radius:20px;background:transparent;color:var(--cream);font-size:34px;line-height:34px;cursor:pointer}
.offline-pill{position:absolute;right:92px;background:var(--o);color:#fff;font-size:11px;font-weight:700;padding:2px 8px;border-radius:10px}
main{padding:calc(var(--strip) + var(--top) + var(--safe-t) + 12px) 14px calc(var(--tabs) + var(--safe-b) + 20px);max-width:560px;margin:0 auto;outline:none}
.tabs{position:fixed;bottom:0;left:0;right:0;z-index:40;display:flex;background:var(--white);border-top:1px solid var(--b2);padding-bottom:var(--safe-b);height:calc(var(--tabs) + var(--safe-b))}
.tabs a{flex:1;display:flex;flex-direction:column;align-items:center;justify-content:center;font-size:11px;font-weight:600;color:#5b6170;text-decoration:none;gap:2px}
.tabs a .ti{font-size:20px;line-height:22px}
.tabs a.on{color:var(--g)}
.tabs a.on .ti{filter:none}
.tabs a.on::after{content:"";width:22px;height:3px;border-radius:2px;background:var(--o);margin-top:1px}
.card{background:var(--white);border:1px solid var(--b1);border-radius:12px;padding:12px 14px;margin:10px 0}
.card.tap{display:block;text-decoration:none;color:inherit}
.card.tap:active{background:var(--gl)}
.hero{position:relative;border-radius:14px;overflow:hidden;margin:0 0 12px;background:var(--g)}
.hero img{display:block;width:100%;height:150px;object-fit:cover;opacity:.85}
.hero .cap{position:absolute;left:0;right:0;bottom:0;padding:10px 14px;background:linear-gradient(transparent,rgba(20,35,12,.85));color:#fff}
.hero .cap h1{color:#fff;margin:0;font-size:1.35rem}
.hero .cap p{margin:.15rem 0 0;font-size:.85rem}
.search{background:var(--white);border:1px solid var(--b2);border-radius:14px;padding:12px}
.seg{display:flex;background:var(--gl);border-radius:10px;padding:3px;margin-bottom:10px}
.seg button{flex:1;border:0;background:transparent;padding:8px 6px;border-radius:8px;font:600 14px system-ui,sans-serif;color:var(--g);cursor:pointer}
.seg button.on{background:var(--g);color:#fff}
.row{display:flex;gap:8px;align-items:center}
input[type=search],input[type=number],input[type=text],input[type=email],select{font:16px system-ui,sans-serif;padding:10px 12px;border:1px solid var(--b2);border-radius:10px;background:#fff;color:var(--ink);min-width:0}
.grow{flex:1}
.chips{display:flex;flex-wrap:wrap;gap:6px;margin:10px 0 2px}
.chip{border:1px solid var(--b2);background:#fff;border-radius:16px;padding:6px 11px;font:600 13px system-ui,sans-serif;color:var(--ink);cursor:pointer}
.chip.on{background:var(--g);border-color:var(--g);color:#fff}
.btn{display:inline-block;border:0;background:var(--o);color:#fff;font:700 15px system-ui,sans-serif;padding:11px 16px;border-radius:10px;text-decoration:none;cursor:pointer;text-align:center}
.btn:active{background:var(--od)}
.btn.block{display:block;width:100%;margin-top:10px}
.btn.ghost{background:#fff;color:var(--g);border:1.5px solid var(--g)}
.btn.small{padding:7px 11px;font-size:13px}
.btn.on{background:var(--g)}
.btnrow{display:flex;gap:8px;flex-wrap:wrap;margin-top:10px}
.muted{color:#6b7280;font-size:.85rem}
.tiny{font-size:.75rem;color:#6b7280}
.note{background:#FFF3E0;border:1px solid #f2d3b3;border-radius:10px;padding:8px 10px;font-size:.82rem;margin:10px 0}
.ai{display:inline-block;background:#efe7ff;color:#4b2a8f;border:1px solid #d8c9fb;border-radius:8px;padding:1px 7px;font-size:.72rem;font-weight:700}
.mock{display:inline-block;background:#ffd400;color:#2b2b2b;border-radius:6px;padding:0 6px;font-size:.7rem;font-weight:800}
.badges{display:flex;flex-wrap:wrap;gap:4px;margin:4px 0}
.bdg{font-size:.72rem;font-weight:700;border-radius:8px;padding:2px 7px;border:1px solid}
.b-d3{background:#fdeedd;color:#8a4a12;border-color:#efc69a}
.b-ind{background:#e2ecf7;color:#1f4f7e;border-color:#b7cde6}
.b-out{background:var(--gl);color:var(--g);border-color:#c5d8b9}
.b-pub{background:#e7f6f3;color:#0f5e52;border-color:#b0ddd4}
.b-cause{background:#f8e6e6;color:#8c2323;border-color:#e6bcbc}
.b-ver{background:#f1efe6;color:var(--brown);border-color:var(--b2)}
.b-call{background:#fff7ec;color:#9a4a14;border-color:#D9782D}
.b-tentative{background:#eef4ff;color:#1e3a8a;border-color:#3b6fd8}
.b-tent{background:#fff;color:#6b7280;border-color:var(--b1);font-weight:600}
.list-h{display:flex;justify-content:space-between;align-items:center;margin:12px 0 2px}
.place h3,.event h3{margin:0 0 2px;font-size:1rem}
.meta{font-size:.85rem;color:#4b5563}
.dist{font-weight:700;color:var(--o);font-size:.8rem;white-space:nowrap}
.mapwrap{position:relative;background:#efe8d4;border:1px solid var(--b2);border-radius:12px;overflow:hidden}
.mapwrap svg{display:block;width:100%;height:auto}
.mapwrap .lbl{font:700 12px system-ui,sans-serif;fill:#8a8370;letter-spacing:.08em}
.pin{cursor:pointer}
.pin circle{stroke:#fff;stroke-width:1.5}
.pin text{font:700 9px system-ui,sans-serif;fill:#fff;pointer-events:none}
.pin.sel circle{stroke:#000;stroke-width:2.5}
.legend{display:flex;flex-wrap:wrap;gap:8px;font-size:.75rem;margin:6px 0}
.legend span::before{content:"";display:inline-block;width:9px;height:9px;border-radius:5px;margin-right:4px;background:var(--c)}
.datebox{min-width:52px;text-align:center;background:var(--g);color:#fff;border-radius:10px;padding:5px 4px;line-height:1.1}
.datebox b{display:block;font-size:20px}
.datebox span{font-size:11px;text-transform:uppercase;font-weight:700}
.event .top{display:block;color:inherit}
.card.event{padding:0;overflow:hidden}
.event-art{position:relative;background:var(--g);aspect-ratio:16/9;overflow:hidden}
.event-art img{display:block;width:100%;height:100%;object-fit:cover}
.event-art-link,.place-art-link{display:block;width:100%;height:100%;color:inherit}
.place-body-link{display:block;color:inherit;text-decoration:none}
.event-art .photo-credit-row,.place-art .photo-credit-row{pointer-events:auto}
.event-art .datebox{position:absolute;left:10px;top:10px;margin:0;box-shadow:0 1px 4px rgba(0,0,0,.35)}
.event-art .photo-credit-row,.place-art .photo-credit-row{position:absolute;right:8px;bottom:8px;left:auto;max-width:72%;background:rgba(20,30,12,.72);color:#fff;font-size:10px;font-weight:600;line-height:1.25;padding:3px 7px;border-radius:8px;z-index:1;display:inline-flex;align-items:baseline;gap:0;min-width:0;box-sizing:border-box;white-space:nowrap;overflow:hidden}
.event-art .photo-credit-row .photo-credit,.place-art .photo-credit-row .photo-credit{position:static;background:none;color:inherit;padding:0;max-width:none;border-radius:0;font-size:inherit;font-weight:inherit;line-height:inherit;text-decoration:none}
.event-art .photo-credit-row .photo-credit:first-child,.place-art .photo-credit-row .photo-credit:first-child{overflow:hidden;text-overflow:ellipsis;min-width:0;flex:1 1 auto}
.event-art .photo-credit-row .photo-credit-sep,.place-art .photo-credit-row .photo-credit-sep{flex:0 0 auto;padding:0 .3em;white-space:pre}
.event-art .photo-credit-row .photo-credit:not(:first-child),.place-art .photo-credit-row .photo-credit:not(:first-child){flex:0 0 auto;overflow:visible;text-overflow:clip}
a.photo-credit:hover,a.photo-credit:focus{text-decoration:underline}
.event-body{padding:10px 14px 12px}
.card.event .kv,.card.event .btnrow,.card.event .tent-note{margin:8px 14px 12px}
.event-hero{margin:0 0 14px}
.event-hero img{display:block;width:100%;height:200px;object-fit:cover;border-radius:14px 14px 0 0;background:var(--g)}
.event-hero figcaption{background:var(--white);border:1px solid var(--b1);border-top:0;border-radius:0 0 14px 14px;padding:6px 10px}
.event-hero .photo-credit-row,.place-hero .photo-credit-row,.photo-credit-row.in-caption{position:static;display:inline;background:none;color:inherit;padding:0;max-width:none;white-space:normal;overflow:visible}
.event-hero .photo-credit,.place-hero .photo-credit,.photo-credit.in-caption{position:static;background:none;color:var(--ink);padding:0;font-size:11px;font-weight:600;max-width:none}
.event-hero a.photo-credit{color:var(--g)}

.card.place.has-art{padding:0;overflow:hidden}
.place-art{position:relative;background:var(--g);aspect-ratio:16/9;overflow:hidden}
.place-art img{display:block;width:100%;height:100%;object-fit:cover}
.place-art .photo-credit{position:static;background:none;color:inherit;padding:0;max-width:none;text-decoration:none}
.place-body{padding:10px 14px 12px}
.place-hero{margin:0 0 14px}
.place-hero img{display:block;width:100%;height:200px;object-fit:cover;border-radius:14px 14px 0 0;background:var(--g)}
.place-hero figcaption{background:var(--white);border:1px solid var(--b1);border-top:0;border-radius:0 0 14px 14px;padding:6px 10px}
.place-hero .photo-credit,.place-hero .photo-credit.in-caption{position:static;background:none;color:var(--ink);padding:0;font-size:11px;font-weight:600;max-width:none}
.place-hero a.photo-credit{color:var(--g)}
dl.kv{display:grid;grid-template-columns:88px 1fr;gap:6px 10px;margin:8px 0;font-size:.9rem}
dl.kv dt{font-weight:700;color:var(--brown)}
dl.kv dd{margin:0;overflow-wrap:anywhere}
.article img{width:100%;border-radius:12px;display:block;margin:6px 0 10px}
.article blockquote{margin:10px 0;padding:8px 12px;border-left:4px solid var(--o);background:var(--white);border-radius:0 10px 10px 0;font-size:.88rem}
.article p,.article li{font-size:.98rem}
.article a.ext::after{content:" ↗";font-size:.75em}
.jack{background:linear-gradient(135deg,#fff8e7,#fdf0d9);border:1px solid #efd8a8}
.lane{display:flex;gap:10px;overflow-x:auto;padding-bottom:4px;scroll-snap-type:x mandatory}
.lane .card{min-width:230px;scroll-snap-align:start;margin:4px 0}
.pathcard h3{margin:0}
.sc-table{width:100%;border-collapse:collapse;font-size:.9rem;background:#fff;border-radius:10px;overflow:hidden}
.sc-table th,.sc-table td{border:1px solid var(--b1);padding:5px 4px;text-align:center}
.sc-table th{background:var(--gl);color:var(--g)}
.sc-table td.cur{background:#fff3e0;outline:2px solid var(--o)}
.keypad{position:sticky;bottom:calc(var(--tabs) + var(--safe-b) + 6px);background:var(--white);border:1px solid var(--b2);border-radius:12px;padding:8px;display:grid;grid-template-columns:repeat(6,1fr);gap:6px;margin-top:10px;box-shadow:0 4px 14px rgba(0,0,0,.08)}
.keypad button{font:700 16px system-ui,sans-serif;padding:10px 0;border-radius:8px;border:1px solid var(--b2);background:#fff;color:var(--ink);cursor:pointer}
.keypad button.v-hi{background:var(--g);color:#fff;border-color:var(--g)}
.total{font-size:1.4rem;font-weight:800;color:var(--g)}
.form label{display:block;font-weight:600;font-size:.88rem;margin:8px 0 3px}
.form input,.form select{width:100%}
.steps{counter-reset:s;padding:0;list-style:none}
.steps li{counter-increment:s;position:relative;padding:8px 0 8px 40px;border-bottom:1px dashed var(--b1)}
.steps li::before{content:counter(s);position:absolute;left:0;top:7px;width:28px;height:28px;border-radius:14px;background:var(--o);color:#fff;font-weight:800;text-align:center;line-height:28px}
.toast{position:fixed;left:50%;bottom:calc(var(--tabs) + var(--safe-b) + 14px);transform:translateX(-50%);background:#1f2937;color:#fff;padding:9px 14px;border-radius:10px;font-size:.85rem;max-width:90%;opacity:0;pointer-events:none;transition:opacity .2s;z-index:60}
.toast.show{opacity:1}
.sheet-bg{position:fixed;inset:0;background:rgba(0,0,0,.35);z-index:70;display:flex;align-items:flex-end}
.sheet{background:var(--white);width:100%;border-radius:16px 16px 0 0;padding:16px 16px calc(16px + var(--safe-b));max-height:80vh;overflow:auto}
.empty{text-align:center;color:#6b7280;padding:20px 0}
.hide{display:none!important}
.titlecard{background:var(--g);border-radius:12px;padding:18px 16px;margin:6px 0 10px;display:flex;align-items:center;gap:14px}
.titlecard .tc-logo{background:var(--cream);border-radius:12px;padding:8px;flex:0 0 auto}
.titlecard .tc-logo img{display:block;width:70px;height:auto;border-radius:0;margin:0}
.titlecard .tc-title{color:var(--cream);font:700 1.15rem/1.25 Georgia,"Times New Roman",serif}
.tc-thumb{width:74px;height:74px;border-radius:10px;background:var(--g);display:flex;align-items:center;justify-content:center;flex:0 0 auto}
.tc-thumb img{width:44px;height:auto;background:var(--cream);border-radius:6px;padding:3px}
.article{overflow-wrap:anywhere;word-break:break-word}.article img,.article table,.article pre{max-width:100%}
.stabs{display:flex;gap:6px;overflow-x:auto;-webkit-overflow-scrolling:touch;padding:2px 0 6px;margin-top:8px;scroll-snap-type:x proximity}
.stab{flex:0 0 auto;display:flex;align-items:center;background:#fff;border:1px solid var(--b2);border-radius:10px 10px 6px 6px;border-bottom:3px solid transparent;scroll-snap-align:start}
.stab button{border:0;background:transparent;font:700 14px system-ui,sans-serif;color:var(--ink);padding:9px 12px;cursor:pointer;white-space:nowrap;max-width:150px;overflow:hidden;text-overflow:ellipsis}
.stab.on{background:var(--g);border-color:var(--g);border-bottom-color:var(--o)}
.stab.on button{color:#fff}
.stab .sedit{padding:9px 10px 9px 2px;font-size:15px}
.stab.board button{color:var(--brown)}
.stab.board.on button{color:#fff}
.addshooter{margin-top:6px}
.addshooter input{padding:8px 10px}
.btn[disabled]{opacity:.45;cursor:not-allowed}
.sc-table.lb td{padding:8px 4px}
.sc-table.lb tr:first-child td{background:#fff3e0}

.sc-count{display:flex;justify-content:space-between;align-items:center;gap:8px;background:#fff;border:1px solid var(--b1);border-radius:12px;padding:8px 10px;margin:8px 0 4px}
#sc-share{margin-top:12px}

/* Unscheduled recurring-event placeholders */
.tent-emph{margin:8px 0 6px;font-weight:700;color:#1e3a8a}
.tent-emph u{text-underline-offset:2px}
.tent-note{margin:0 0 8px;padding:8px 10px;background:#eef4ff;border:1px solid #3b6fd8;border-radius:8px;font-size:.88rem;color:#1e3a8a;line-height:1.35}
.tent-lead{margin:6px 0 0}
.b-tentative{white-space:nowrap}

/* Event-detail YouTube sample (click-to-play facade; thumbs from i.ytimg.com; nothing hosted) */
/* Event-detail YouTube facade + photo-ready media section.
   Ready to merge into app/app.css. Do not load this on the live site until Ryan approves.
   Brand colors match the app: green var(--g) (default var(--g)), orange #D9782D, cream #F5EEDC. */

.event-media { margin: 16px 0 8px; }
.event-media h2 { margin: 0 0 8px; font-size: 1.05rem; color: var(--g); }
.event-media .media-lead { margin: 0 0 10px; font-size: .86rem; color: #374151; }
.event-media .media-toggle { display: flex; gap: 6px; margin: 0 0 12px; }
.event-media .media-toggle button {
  border: 1px solid #cfcab9; background: #fffdf8; color: #374151;
  border-radius: 999px; padding: 5px 10px; font-size: .78rem;
}
.event-media .media-toggle button[aria-pressed="true"] {
  background: var(--g); color: #fffdf8; border-color: var(--g);
}

.yt-year { margin: 0 0 14px; }
.yt-year h3 {
  margin: 0 0 8px; font-size: .82rem; letter-spacing: .04em;
  text-transform: uppercase; color: #735400;
}

.yt-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.yt-grid.single, .yt-grid .yt-card.top-video {
  grid-column: 1 / -1;
}
.yt-grid.single { grid-template-columns: 1fr; }
.btn.tickets{font-weight:700}
.event-site{word-break:break-word}

.yt-card {
  background: #fffdf8;
  border: 1px solid #e3dfd2;
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.yt-card.featured { border-color: #D9782D; box-shadow: 0 0 0 1px #D9782D; }
.yt-card.official { border-color: var(--g); }

.yt-facade {
  appearance: none;
  -webkit-appearance: none;
  border: 0;
  padding: 0;
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #1f2937;
  min-height: 70px;
  cursor: pointer;
}
.yt-facade img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.yt-play {
  position: absolute;
  inset: 0;
  margin: auto;
  width: 48px;
  height: 34px;
  border-radius: 10px;
  background: #f00;
  /* Official-style play mark; do not alter the thumbnail image itself. */
  box-shadow: 0 2px 8px rgba(0,0,0,.35);
  pointer-events: none;
}
.yt-play::after {
  content: "";
  position: absolute;
  left: 19px; top: 9px;
  border-style: solid;
  border-width: 8px 0 8px 14px;
  border-color: transparent transparent transparent #fff;
}
.yt-card iframe {
  width: 100%;
  aspect-ratio: 16 / 9;
  min-height: 200px;
  border: 0;
  display: block;
  background: #000;
}

.yt-meta { padding: 7px 8px 8px; display: flex; flex-direction: column; gap: 5px; }
.yt-title {
  font-size: .78rem;
  line-height: 1.3;
  margin: 0;
  color: #1f2937;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.yt-chiprow { display: flex; flex-wrap: wrap; gap: 4px; align-items: center; }
.yt-chip {
  display: inline-flex;
  align-items: center;
  max-width: 100%;
  gap: 4px;
  background: #e6efe0;
  color: var(--g);
  border-radius: 999px;
  padding: 2px 8px;
  font-size: .68rem;
  font-weight: 600;
  text-decoration: none;
  line-height: 1.4;
}
.yt-chip:focus, .yt-facade:focus { outline: 2px solid #D9782D; outline-offset: 2px; }
.yt-chip.featured-badge { background: #fff7ec; color: #9a4a14; border: 1px solid #D9782D; }
.yt-chip.official-badge { background: var(--g); color: #fffdf8; }
.yt-ytlink { font-size: .68rem; color: #735400; text-decoration: underline; text-underline-offset: 2px; }

.event-media .empty-media {
  margin: 0;
  font-size: .86rem;
  color: #374151;
  background: #F5EEDC;
  border-radius: 10px;
  padding: 10px 12px;
}

/* Social link cards: no embedded media. Thumbnail only if oEmbed provided one. */
.social-list { display: flex; flex-direction: column; gap: 8px; margin: 0 0 12px; }
.social-card {
  display: flex; gap: 10px; align-items: flex-start;
  background: #fffdf8; border: 1px solid #e3dfd2; border-radius: 12px;
  padding: 8px 10px; text-decoration: none; color: inherit;
}
.social-card:focus { outline: 2px solid #D9782D; outline-offset: 2px; }
.social-thumb { width: 72px; height: 72px; object-fit: cover; border-radius: 8px; background: #e6efe0; flex: 0 0 72px; }
.social-icon {
  flex: 0 0 36px; width: 36px; height: 36px; border-radius: 8px;
  background: #e6efe0; color: var(--g); font-size: .65rem; font-weight: 700;
  display: flex; align-items: center; justify-content: center; letter-spacing: .02em;
}
.social-body { min-width: 0; }
.social-body .account { margin: 0; font-size: .8rem; font-weight: 700; color: var(--g); }
.social-body .snippet { margin: 2px 0 0; font-size: .78rem; color: #374151;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.social-body .via { margin: 3px 0 0; font-size: .68rem; color: #735400; }

.event-media .media-more {
  margin: 8px 0 0;
  font-size: .86rem;
  color: #735400;
  font-weight: 600;
}


/* ---- features pack (2026-11-15) ---- */
/* Ratings (item 6), hashtag prompts (item 8), Suggest an event (item 9). Merge into app/app.css. */
.rating { margin: 16px 0 8px; }
.rating h2 { margin: 0 0 6px; font-size: 1.05rem; color: var(--g); }
.rating-sum { margin: 0 0 6px; display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.stars .star, .rate-star { color: #cfcab9; }
.stars .star.on { color: #D9782D; }
.rate-input { display: flex; gap: 4px; }
.rate-star { font-size: 1.8rem; line-height: 1; background: none; border: 0; padding: 4px; min-width: 44px; min-height: 44px; cursor: pointer; }
.rate-star.on { color: #D9782D; }
.rate-star:focus-visible { outline: 2px solid #D9782D; outline-offset: 2px; border-radius: 6px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.tag-prompt { background: #F5EEDC; border-radius: 10px; padding: 8px 12px; margin: 10px 0; font-size: .86rem; color: #374151; }
.tag-prompt p { margin: 2px 0; }
.tag-event { font-size: .8rem; }
.tag-copy { display: inline-flex; align-items: center; gap: 4px; border: 1px solid var(--g); background: #fffdf8; color: var(--g); border-radius: 999px; padding: 1px 9px; font: inherit; font-weight: 600; cursor: pointer; }
.tag-copy-ico { font-size: .68em; font-weight: 500; opacity: .7; text-transform: uppercase; letter-spacing: .03em; }
.tag-copy:focus-visible { outline: 2px solid #D9782D; outline-offset: 2px; }
.tag-footer { text-align: center; font-size: .78rem; color: #6b7280; margin: 14px 0 calc(10px + env(safe-area-inset-bottom)); }
.tag-footer-privacy { margin-top: -8px; }

.sg label { display: block; font-weight: 600; margin: 10px 0 4px; font-size: .9rem; }
.sg input, .sg textarea { width: 100%; box-sizing: border-box; }
.sg .req { color: #9b1c1c; }
.sg .hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.sg-err { color: #9b1c1c; font-size: .86rem; }
.empty-suggest { text-align: center; font-size: .9rem; }

/* Items 2, 3, 4, 5, 7 */
.venue-facts { margin: 10px 0; }
.terrain-pills { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; margin: 0 0 6px; }
.tpill { border-radius: 999px; padding: 2px 10px; font-size: .78rem; font-weight: 600; color: #fff; background: #6b7280; }
.tpill.t-desert { background: #b86b2e; } .tpill.t-mountains { background: #4b5563; } .tpill.t-forest { background: var(--g); }
.tpill.t-hills { background: #6b8e23; } .tpill.t-plains { background: #a0892c; } .tpill.t-wetlands { background: #2f6f73; }
.tpill.t-canyon { background: #9a4a14; } .tpill.t-urban-park { background: #4a7c59; } .tpill.t-indoor { background: #374151; }
.tpill.area { background: #fffdf8 !important; color: #374151; border: 1px dashed #6b7280; }
.elev { margin: 4px 0; font-size: .88rem; }
.going .btn.on { background: var(--g); color: #fffdf8; }
.going-count { margin-left: 8px; font-size: .86rem; }
.photo-up { margin: 16px 0; }
.photo-up h2 { margin: 0 0 6px; font-size: 1.05rem; color: var(--g); }
.photo-prev img { max-width: 100%; border-radius: 10px; margin: 8px 0; }
.photo-up .chk { display: flex; gap: 8px; align-items: flex-start; font-size: .86rem; margin: 6px 0; }
.local-badge, .demo-badge { display: inline-block; background: #fff7ec; color: #9a4a14; border: 1px solid #D9782D; border-radius: 8px; padding: 2px 8px; font-size: .78rem; font-weight: 600; }
.claim-link { margin-top: 10px; }

/* Shoot-alert subscriptions (15 Nov 2026) */
.sub-areas { border: 1px solid var(--b1); border-radius: 10px; padding: 8px 10px; margin: 10px 0; max-height: 260px; overflow: auto; }
.sub-areas legend { font-weight: 700; font-size: .9rem; }
.sub-areas label { display: flex; gap: 8px; align-items: center; font-weight: 500; margin: 0; padding: 5px 2px; font-size: .88rem; }
.sub-areas input { width: auto; flex: 0 0 auto; }
.tag-footer a { color: var(--g); font-weight: 700; }

.sg label.chk { display: flex; gap: 8px; align-items: center; font-weight: 500; }
.sg label.chk input { width: auto; }

/* 16 Nov 2026: Saved, directions, Feedback, Submit an event */
.saved-link{position:absolute;right:8px;top:12px;height:32px;display:flex;align-items:center;gap:3px;padding:0 10px;border-radius:16px;background:rgba(255,253,248,.14);color:var(--cream);font-size:13px;font-weight:700;text-decoration:none}
.saved-link .n:not(:empty){margin-left:3px;min-width:18px;height:18px;line-height:18px;text-align:center;border-radius:9px;background:var(--o);color:#fff;font-size:11px;padding:0 4px}
.btn.dir{white-space:nowrap}
.pin-acts,.saved-acts{margin:-4px 0 12px}
body.fb-open{overflow:hidden}
.fb-overlay{position:fixed;inset:0;z-index:60;background:rgba(17,24,39,.5);display:flex;align-items:flex-end;justify-content:center}
.fb-overlay[hidden]{display:none}
.fb-dialog{background:var(--white);width:100%;max-width:560px;max-height:calc(100% - var(--safe-t) - 24px);overflow-y:auto;border-radius:16px 16px 0 0;padding:14px 16px calc(16px + var(--safe-b));box-sizing:border-box}
@media (min-width:700px){.fb-overlay{align-items:center}.fb-dialog{border-radius:16px;max-height:90vh}}
.fb-head{display:flex;align-items:center;justify-content:space-between;gap:8px}
.fb-head h2{margin:0}
.fb-x{width:40px;height:40px;border:0;border-radius:20px;background:#efe9da;font-size:26px;line-height:26px;cursor:pointer;color:#1f2937}
.fb-intro{margin:6px 0 10px}
.fb-kind{border:0;padding:0;margin:10px 0 0}
.fb-kind legend{font-weight:700;padding:0;margin-bottom:4px}
.sg .fb-kind label.chk{display:inline-flex;align-items:center;gap:6px;margin:0 14px 6px 0;font-weight:500}
.sg select{width:100%;box-sizing:border-box}
.es-row{display:flex;gap:10px}
.es-row>div{flex:1;min-width:0}
.es-row input,.es-row select{width:100%;box-sizing:border-box}
#fb-form input[type=file]{max-width:100%}
.sg-err a{color:inherit;font-weight:700}
.fb-dialog textarea,.fb-dialog input,.sg textarea{font:inherit}
/* 16 Nov 2026 fix: Feedback is inline (footer, Home, Start Here), never fixed over content */
.fb-link{border:0;background:none;padding:6px 4px;font:inherit;font-weight:700;color:var(--g);cursor:pointer;min-height:32px}
.fb-link:focus-visible,.fb-card .btn:focus-visible{outline:3px solid var(--o);outline-offset:2px}
.fb-card{display:flex;align-items:center;justify-content:space-between;gap:12px}
.fb-card .btn{flex:none}

/* Directory totals on Home and Find Local */
.dir-stats{background:var(--white);border:1px solid var(--b1);border-radius:14px;padding:14px 12px 12px;margin:0 0 12px}
.dir-stats-hed{margin:0 0 10px;font:700 1.05rem/1.3 system-ui,-apple-system,"Segoe UI",Roboto,sans-serif;color:var(--g);text-wrap:balance}
.dir-stats-grid{display:grid;grid-template-columns:1fr 1fr;gap:8px}
.dir-stat{display:flex;flex-direction:column;justify-content:center;min-height:56px;padding:10px 12px;border-radius:12px;border:1px solid var(--b1);border-left:4px solid var(--g);background:var(--cream);text-decoration:none;color:var(--ink);-webkit-tap-highlight-color:transparent}
.dir-stat:active{background:var(--gl)}
.dir-stat:focus-visible{outline:3px solid var(--o);outline-offset:2px}
.dir-stat b{font:800 1.45rem/1.1 system-ui,sans-serif;color:var(--g);letter-spacing:-.02em;font-variant-numeric:tabular-nums}
.dir-stat span{font:600 12px/1.2 system-ui,sans-serif;color:#5b6170;margin-top:2px}
.dir-stat[data-dir="shops"]{border-left-color:#D9782D}
.dir-stat[data-dir="shops"] b{color:#D9782D}
.dir-stat[data-dir="ranges"]{border-left-color:var(--g)}
.dir-stat[data-dir="ranges"] b{color:var(--g)}
.dir-stat[data-dir="clubs"]{border-left-color:#735400}
.dir-stat[data-dir="clubs"] b{color:#735400}
.dir-stat[data-dir="events"]{border-left-color:var(--od)}
.dir-stat[data-dir="events"] b{color:var(--od)}
.dir-stat.on{background:var(--gl);box-shadow:inset 0 0 0 1.5px var(--g)}

.dir-stats.compact{padding:10px 10px 8px;margin:0 0 8px}
.dir-stats.compact .dir-stats-hed{font-size:.95rem;margin:0 0 8px}
.dir-stats.compact .dir-stats-grid{grid-template-columns:repeat(4,1fr);gap:6px}
.dir-stats.compact .dir-stat{min-height:52px;padding:8px 4px;align-items:center;text-align:center;border-left-width:0;border-top:3px solid var(--g)}
.dir-stats.compact .dir-stat[data-dir="shops"]{border-top-color:#D9782D}
.dir-stats.compact .dir-stat[data-dir="ranges"]{border-top-color:var(--g)}
.dir-stats.compact .dir-stat[data-dir="clubs"]{border-top-color:#735400}
.dir-stats.compact .dir-stat[data-dir="events"]{border-top-color:var(--od)}
.dir-stats.compact .dir-stat b{font-size:1.15rem}
.dir-stats.compact .dir-stat span{font-size:10px}

/* Find shoots near you */
.dir-stats-note{margin:0 0 10px;color:#5b6170}
.near-row{margin:0 0 10px}
.near-chip{display:inline-flex;align-items:center;max-width:100%;border:1.5px solid var(--g);background:var(--gl);color:var(--g);border-radius:16px;padding:8px 12px;font:700 13px system-ui,-apple-system,sans-serif;cursor:pointer;text-align:left;line-height:1.25;-webkit-tap-highlight-color:transparent}
.near-chip.ghost{background:#fff;border-color:var(--b2);color:var(--g);font-weight:600}
.near-chip:active{background:var(--gl)}
.near-chip:focus-visible{outline:3px solid var(--o);outline-offset:2px}
.near-overlay{position:fixed;inset:0;background:rgba(20,35,12,.45);z-index:80;display:flex;align-items:flex-end;justify-content:center;padding:12px 12px calc(12px + var(--safe-b) + var(--tabs))}
.near-card{background:var(--white);width:100%;max-width:400px;border-radius:16px;padding:18px 16px 14px;box-shadow:0 8px 28px rgba(0,0,0,.22);box-sizing:border-box}
.near-card h2{margin:0 0 6px;font-size:1.15rem}
.near-card .muted{margin:0 0 12px}
.near-card .btn.block{width:100%;margin-top:8px}
.near-card .row{margin-top:2px}
.near-skip{display:block;width:100%;margin-top:8px;border:0;background:none;color:#5b6170;font:600 15px system-ui,-apple-system,sans-serif;padding:12px;cursor:pointer}
.near-skip:active{color:var(--g)}
.near-dists{margin:0 0 10px}

/* Full-bleed Find Local map (ClassPass / AllTrails-style layout, Bowmen's colors) */
body.find-map-on main{padding:0;max-width:none;overflow:hidden;height:100dvh;max-height:100dvh}
.find-map-screen{position:fixed;top:calc(var(--strip) + var(--top) + var(--safe-t));left:0;right:0;bottom:calc(var(--tabs) + var(--safe-b));background:#e8e4d6;z-index:25}
.find-map-canvas{position:absolute;inset:0;z-index:0}
.find-map-top{position:absolute;top:0;left:0;right:0;z-index:6;padding:8px 10px 0;pointer-events:none}
.find-map-top > *{pointer-events:auto}
.find-map-top .near-row{margin:0 0 8px}
.find-map-top .near-chip{background:var(--white);box-shadow:0 2px 10px rgba(28,36,24,.16);border-color:transparent}
.find-map-chips{display:flex;gap:8px;overflow-x:auto;-webkit-overflow-scrolling:touch;padding:0 0 8px;scrollbar-width:none}
.find-map-chips::-webkit-scrollbar{display:none}
.find-map-chips .map-chip{flex:0 0 auto;background:var(--white);box-shadow:0 1px 6px rgba(28,36,24,.14);border-color:transparent}
.find-map-chips .map-chip.on{background:var(--g);color:#fff;border-color:var(--g);box-shadow:0 1px 6px rgba(var(--g-rgb),.3)}
.find-hidden-controls{position:absolute;top:auto;left:10px;right:10px;z-index:7;background:var(--white);border-radius:14px;padding:12px;box-shadow:0 8px 24px rgba(0,0,0,.18);max-height:45%;overflow:auto}
.search-area-btn{position:absolute;top:auto;left:50%;transform:translateX(-50%);z-index:6;border:0;background:#1f2937;color:#fff;font:700 13px system-ui,-apple-system,sans-serif;padding:8px 14px;border-radius:16px;box-shadow:0 4px 14px rgba(0,0,0,.25);cursor:pointer;white-space:nowrap}
.find-map-screen .search-area-btn{top:108px}
.search-area-btn:active{background:#111827}
.view-pill{position:fixed;left:50%;transform:translateX(-50%);bottom:calc(var(--tabs) + var(--safe-b) + 14px);z-index:35;display:flex;background:var(--white);border-radius:22px;padding:3px;box-shadow:0 6px 20px rgba(28,36,24,.22)}
body.find-map-on .view-pill{position:absolute;bottom:16px;left:50%;transform:translateX(-50%)}
.view-pill button{border:0;background:transparent;color:var(--g);font:700 14px system-ui,-apple-system,sans-serif;padding:8px 18px;border-radius:18px;cursor:pointer;min-width:72px}
.view-pill button.on{background:var(--g);color:#fff}
.find-pin-card{position:absolute;left:10px;right:10px;bottom:66px;z-index:8;background:var(--white);border-radius:16px;padding:14px 14px 12px;box-shadow:0 10px 28px rgba(28,36,24,.22);animation:pinCardIn .22s ease-out}
@keyframes pinCardIn{from{transform:translateY(18px);opacity:0}to{transform:none;opacity:1}}
.pin-card-close{position:absolute;top:6px;right:8px;width:32px;height:32px;border:0;background:transparent;color:#6b7280;font-size:22px;line-height:32px;cursor:pointer}
.pin-card-row{display:flex;gap:12px;align-items:flex-start;padding-right:22px}
.pin-card-body{flex:1;min-width:0}
.pin-card-body h3{margin:0 0 4px;font-size:1.05rem;line-height:1.25;color:var(--g)}
.pin-card-body .meta{margin:0 0 6px}
.pin-card-art{flex:0 0 64px;width:64px;height:64px;border-radius:12px;display:flex;align-items:center;justify-content:center;color:#fff}
.pin-card-art.kind-shop{background:#D9782D}
.pin-card-art.kind-range{background:var(--g-bright)}
.pin-card-art.kind-club{background:#735400}
.pin-card-art.kind-event{background:#b85f1c}
.find-pin-card .btnrow{margin-top:10px}
.fl-pin-wrap,.fl-cluster-wrap,.fl-origin-wrap{background:none !important;border:none !important}
.fl-pin{display:block;width:22px;height:30px;padding:0;border:0;background:none;cursor:pointer;position:relative;filter:drop-shadow(0 1px 2px rgba(28,36,24,.4))}
.fl-pin.sel{width:28px;height:38px}
.fl-pin-head{display:block;width:18px;height:18px;margin:0 auto;border-radius:50%;background:var(--pin,var(--g-bright));border:2px solid #fff}
.fl-pin.sel .fl-pin-head{width:22px;height:22px;border-width:3px}
.fl-pin-point{display:block;width:10px;height:10px;margin:-5px auto 0;background:var(--pin,var(--g-bright));transform:rotate(45deg);border-radius:0 0 3px 0}
.fl-pin.sel .fl-pin-point{width:12px;height:12px;margin:-6px auto 0}
.fl-pin.kind-shop{--pin:#D9782D}
.fl-pin.kind-range{--pin:var(--g-bright)}
.fl-pin.kind-club{--pin:#735400}
.fl-pin.kind-event{--pin:#b85f1c}
.fl-cluster{display:flex;align-items:center;justify-content:center;background:var(--cluster,#1f2937);color:#fff;font:700 13px system-ui,sans-serif;border:3px solid #fff;border-radius:50%;box-shadow:0 2px 8px rgba(0,0,0,.28)}
.fl-cluster.sm{width:36px;height:36px;margin-left:-18px;margin-top:-18px}
.fl-cluster.md{width:44px;height:44px;font-size:14px;margin-left:-22px;margin-top:-22px}
.fl-cluster.lg{width:54px;height:54px;font-size:15px;margin-left:-27px;margin-top:-27px}
.fl-origin{width:28px;height:28px;line-height:28px;text-align:center;font-size:18px;color:var(--g);text-shadow:0 0 0 3px #fff,0 1px 4px rgba(0,0,0,.3)}
.find-map-screen .leaflet-top.leaflet-right{top:102px;right:2px}
.find-map-screen .leaflet-control-zoom{border:0 !important;box-shadow:0 2px 10px rgba(28,36,24,.18);border-radius:10px;overflow:hidden;margin-top:0 !important;margin-right:8px !important}
.find-map-screen .leaflet-control-zoom a{width:34px;height:34px;line-height:34px;color:var(--g);background:#fff;border:0 !important}
.find-map-chips .map-chip{padding:6px 10px;font-size:13px}
.find-map-screen .leaflet-control-attribution{background:rgba(255,253,248,.86);font-size:9px;margin:0 4px 4px 0;max-width:70%;}
body.find-map-on .view-pill{z-index:9}

body.find-map-on{overflow:hidden}
.find-list-pad{height:110px}
#fl-map-attrib,.map-attrib{display:none}
.pin-card-art.has-photo{padding:0;overflow:hidden;background:#ece7d8}
.pin-card-art.has-photo img{width:64px;height:64px;object-fit:cover;display:block}

.find-map-screen .list-h.find-map-count{position:absolute;left:10px;bottom:66px;margin:0;z-index:7;background:rgba(255,253,248,.94);border-radius:14px;padding:6px 10px;box-shadow:0 2px 8px rgba(28,36,24,.14);max-width:70%;line-height:1.25}
.find-map-screen .list-h.find-map-count .muted{font-size:12px}
.find-map-screen:has(#pinlist:not([hidden])) .list-h.find-map-count{visibility:hidden}

#view:has(.view-pill){padding-bottom:130px}

.near-geo-err{background:#FFF4E5;border:1px solid #E8B36A;color:#5A3A0A;border-radius:10px;padding:10px 12px;font-size:14px;line-height:1.4;margin:0 0 10px}

.meta.past-locs,.past-locs{font-size:12px;color:var(--muted,#66715c);margin:4px 0 0;font-weight:500}
