/* ===================== GullySport — App-specific additions ===================== */
/* Loaded alongside style.css on pages with dynamic/app functionality (auth, dashboard, listings) */

/* ---------- Auth pages ---------- */
.auth-shell {
  min-height: calc(100vh - 74px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 64px 24px;
}

.auth-card {
  width: 100%;
  max-width: 440px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 40px;
  box-shadow: var(--shadow-soft);
}

.auth-card h1 { font-size: 1.7rem; margin-bottom: 8px; }
.auth-card .lead { font-size: 0.95rem; margin-bottom: 28px; }

.auth-switch { margin-top: 22px; text-align: center; font-size: 0.9rem; color: var(--ink-dim); }
.auth-switch a { color: var(--violet); font-weight: 700; }

.label-row { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.link-btn {
  background: none; border: 0; padding: 0; font: inherit; cursor: pointer;
  color: var(--violet); font-weight: 700; font-size: 0.85rem;
}
.link-btn:hover { text-decoration: underline; }
.link-btn:focus-visible { outline: 2px solid var(--violet); outline-offset: 2px; border-radius: 4px; }

.alert {
  display: none;
  padding: 12px 16px;
  border-radius: 10px;
  font-size: 0.86rem;
  margin-bottom: 18px;
}

.alert-error { background: rgba(224, 54, 44, 0.1); border: 1px solid rgba(224, 54, 44, 0.35); color: #B3261E; }
.alert-success { background: rgba(14, 159, 110, 0.1); border: 1px solid rgba(14, 159, 110, 0.35); color: #0e7c8f; }

/* ---------- Dashboard ---------- */
.dash-header {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 8px;
}
.dash-header .dash-profile-btn { margin-left: auto; }
.page-hero .dash-header a.dash-profile-btn { color: #fff; text-decoration: none; }
/* The hero avatar opens My Profile, where the photo is changed. */
.dash-avatar { position: relative; display: inline-block; flex: none; }
.page-hero .dash-header a.dash-avatar { color: #fff; text-decoration: none; }
.dash-avatar-cam {
  position: absolute; right: -2px; bottom: -2px; width: 26px; height: 26px; border-radius: 50%;
  background: var(--saffron, #ED601B); border: 2px solid #fff; display: flex; align-items: center; justify-content: center;
}
.dash-avatar-cam svg { width: 14px; height: 14px; fill: none; stroke: #fff; stroke-width: 2; stroke-linejoin: round; }

.avatar-circle {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--grad-primary);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  font-weight: 800;
  flex-shrink: 0;
  box-shadow: 0 10px 22px rgba(237, 96, 27, 0.3);
}

.dash-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }

.stat-mini {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.stat-mini .label { font-size: 0.78rem; color: var(--ink-dim); text-transform: uppercase; letter-spacing: 0.06em; font-weight: 700; }
.stat-mini .value { font-size: 1.4rem; font-weight: 800; color: var(--ink); }

/* ---------- List rows (bookings / registrations) ---------- */
.list-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 16px;
  border-radius: 12px;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  margin-bottom: 10px;
}

.list-row:last-child { margin-bottom: 0; }

/* ---------- Badges ---------- */
.badge {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: 999px;
  white-space: nowrap;
}

.badge-info { background: rgba(59, 130, 246, 0.12); color: #1d4ed8; }
.badge-success { background: rgba(34, 197, 94, 0.14); color: #15803d; }
.badge-warning { background: rgba(246, 178, 30, 0.15); color: #c2540a; }
.badge-error { background: rgba(224, 54, 44, 0.12); color: #B3261E; }

/* ---------- Empty states ---------- */
.empty-state {
  text-align: center;
  padding: 32px 20px;
  border-radius: 12px;
  border: 1px dashed var(--border-strong);
  color: var(--ink-dim);
  font-size: 0.92rem;
}

.empty-state a { color: var(--violet); font-weight: 700; }

/* ---------- Toggle switch (AI waitlist) ---------- */
.toggle-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px;
  border-radius: 12px;
  background: var(--bg-alt);
  border: 1px solid var(--border);
}

.switch { position: relative; display: inline-block; width: 46px; height: 26px; flex-shrink: 0; }
.switch input { opacity: 0; width: 0; height: 0; }
.switch-slider {
  position: absolute; cursor: pointer; inset: 0;
  background: var(--border-strong);
  border-radius: 999px;
  transition: 0.2s;
}
.switch-slider::before {
  content: "";
  position: absolute;
  height: 20px; width: 20px;
  left: 3px; bottom: 3px;
  background: #fff;
  border-radius: 50%;
  transition: 0.2s;
  box-shadow: 0 2px 6px rgba(0,0,0,0.2);
}
.switch input:checked + .switch-slider { background: var(--grad-primary); }
.switch input:checked + .switch-slider::before { transform: translateX(20px); }

/* ---------- Grouped form sections (Complete Your Profile) ---------- */
.form-section { margin-bottom: 30px; }
.form-section h4 {
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 800;
  color: var(--violet);
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border);
}
.form-section .form-note-inline {
  font-size: 0.8rem;
  color: var(--ink-dim);
  margin: -8px 0 16px;
}

/* ---------- Booking / registration mini-forms inside cards ---------- */
.booking-form input { margin-bottom: 0; }

/* ---------- Loading state ---------- */
.loading-row { text-align: center; padding: 32px; color: var(--ink-dim); font-size: 0.9rem; }

@media (max-width: 720px) {
  .dash-grid { grid-template-columns: 1fr; }
  .dash-header { flex-direction: column; align-items: flex-start; }
  .dash-header .dash-profile-btn { margin-left: 0; }
}

/* Prize money strip on tournament cards (GS-11). */
.prize-callout {
  display: flex; flex-direction: column; gap: 2px;
  margin: 10px 0 4px; padding: 8px 12px; border-radius: 10px;
  background: #fff7e0; border-left: 4px solid var(--marigold, #F6B21E);
  color: var(--ink, #063163);
}
.prize-callout-main { font-weight: 800; font-size: 0.95rem; }
.prize-callout-sub { font-size: 0.8rem; font-weight: 600; opacity: 0.85; }

/* Share this page (GS-12). Plain links, no third-party scripts. */
.share-strip { padding: 22px 0; border-top: 1px solid rgba(6, 49, 99,0.08); }
.share-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.share-bar-label { font-weight: 700; font-size: 0.85rem; color: var(--ink-soft, #2A4468); margin-right: 4px; }
.share-btn {
  display: inline-flex; align-items: center; padding: 7px 12px; border-radius: 999px;
  font-size: 0.8rem; font-weight: 700; text-decoration: none; cursor: pointer;
  border: 1px solid rgba(6, 49, 99,0.15); background: #fff; color: var(--ink, #063163);
}
.share-btn:hover { border-color: var(--ink, #063163); }
.share-whatsapp { background: #25D366; border-color: #25D366; color: #073b1c; }
.share-native { background: var(--ink, #063163); border-color: var(--ink, #063163); color: #fff; }
.share-bar--hero { margin-top: 12px; }
.share-bar--hero .share-btn { padding: 6px 10px; font-size: 0.76rem; }

/* Facility photos (GS-F02). */
.fac-gallery { margin: -4px 0 12px; }
.fac-cover { width: 100%; height: 180px; object-fit: cover; border-radius: 12px; display: block; }
.fac-thumbs { display: flex; gap: 6px; margin-top: 6px; overflow-x: auto; }
.fac-thumbs img { width: 56px; height: 42px; object-fit: cover; border-radius: 6px; cursor: pointer; opacity: 0.65; border: 2px solid transparent; }
.fac-thumbs img.on { opacity: 1; border-color: var(--marigold, #F6B21E); }

/* Share button on tournament tiles (GS-16). */
.tile-actions { display: flex; gap: 8px; margin-top: 16px; position: relative; }
.tile-share { flex: none; gap: 6px; padding: 11px 14px; justify-content: center; }
.share-menu {
  position: absolute; right: 0; bottom: calc(100% + 6px); z-index: 30;
  display: flex; flex-direction: column; gap: 6px; min-width: 170px; padding: 10px;
  background: #fff; border: 1px solid rgba(6, 49, 99,0.12); border-radius: 12px;
  box-shadow: 0 12px 32px rgba(8, 20, 34,0.18);
}
.share-menu .share-btn { justify-content: flex-start; }

/* Share label on a branded (dark) tournament hero; the plain hero is pale. */
.t-hero.is-branded .share-bar-label { color: rgba(255,255,255,0.85); }


/* Results strip (GS-14) — Cricinfo-style, under the header. */
.rs-strip { background: #081422; padding: 10px 0 12px; }
.rs-head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 8px; }
.rs-head span { color: #fff; font-weight: 800; font-size: 0.85rem; letter-spacing: 0.06em; text-transform: uppercase; }
.rs-head a { color: #ffd98a; font-size: 0.8rem; font-weight: 700; text-decoration: none; }
.rs-track { display: flex; gap: 10px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 4px; }
.rs-card { flex: 0 0 240px; scroll-snap-align: start; background: #fff; border-radius: 10px; padding: 10px 12px; display: flex; flex-direction: column; gap: 6px; }
.rs-card.live { box-shadow: inset 3px 0 0 #e0362c; }
.rs-link { text-decoration: none; color: var(--ink, #063163); display: flex; flex-direction: column; gap: 3px; }
.rs-meta { font-size: 0.72rem; color: var(--ink-dim, #566A88); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rs-live { color: #fff; background: #e0362c; font-weight: 800; font-size: 0.66rem; padding: 1px 5px; border-radius: 4px; }
.rs-team { display: flex; justify-content: space-between; gap: 8px; font-size: 0.86rem; color: var(--ink-soft, #2A4468); }
.rs-team span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rs-team.win { color: var(--ink, #063163); font-weight: 800; }
.rs-summary { font-size: 0.74rem; color: var(--ink-dim, #566A88); }
.rs-chip { align-self: flex-start; border: 0; cursor: pointer; background: #fff1e0; color: #8a3a00; font-weight: 800; font-size: 0.74rem; padding: 3px 9px; border-radius: 999px; }
.rs-chip:hover, .rs-chip:focus-visible { background: var(--saffron, #ED601B); color: var(--ink, #063163); }

/* Videos rail (GS-13) and hub cards (GS-15). */
.vr-rail { padding: 36px 0 12px; }
.vr-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; }
.vr-head h2 { margin: 0; }
.vr-controls { display: flex; align-items: center; gap: 6px; }
.vr-arrow { width: 34px; height: 34px; border-radius: 50%; border: 1px solid rgba(6, 49, 99,0.2); background: #fff; font-size: 1.3rem; line-height: 1; cursor: pointer; color: var(--ink, #063163); }
.vr-all { font-weight: 800; font-size: 0.88rem; margin-left: 6px; color: var(--violet, #B8460E); text-decoration: none; }
.vr-track { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(250px, 1fr); gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 6px; }
.vr-card { all: unset; cursor: pointer; scroll-snap-align: start; display: flex; flex-direction: column; gap: 5px; }
.vr-card:focus-visible { outline: 2px solid var(--saffron, #ED601B); outline-offset: 3px; border-radius: 10px; }
.vr-thumb { position: relative; aspect-ratio: 16 / 9; border-radius: 10px; overflow: hidden; background: #081422; display: block; }
.vr-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.2s; }
.vr-card:hover .vr-thumb img { transform: scale(1.04); }
.vr-noimg { display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; font-size: 1.8rem; color: #fff; }
.vr-play { position: absolute; left: 8px; bottom: 8px; width: 30px; height: 30px; border-radius: 50%; background: rgba(8, 20, 34,0.85); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 0.8rem; padding-left: 2px; }
.vr-dur { position: absolute; right: 8px; bottom: 8px; background: rgba(8, 20, 34,0.85); color: #fff; font-size: 0.72rem; font-weight: 700; padding: 1px 6px; border-radius: 4px; }
.vr-title { font-weight: 800; font-size: 0.92rem; line-height: 1.3; color: var(--ink, #063163); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.vr-meta { font-size: 0.76rem; color: var(--ink-dim, #566A88); }
.vh-filters { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-bottom: 18px; }
.vh-cats { display: flex; flex-wrap: wrap; gap: 6px; }
.vh-chip { border: 1px solid rgba(6, 49, 99,0.18); background: #fff; color: var(--ink, #063163); font-weight: 700; font-size: 0.82rem; padding: 6px 12px; border-radius: 999px; cursor: pointer; }
.vh-chip.on { background: var(--ink, #063163); border-color: var(--ink, #063163); color: #fff; }
.vh-count { font-size: 0.82rem; color: var(--ink-dim, #566A88); margin-left: auto; }
.vh-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 18px; }
@media (max-width: 760px) { .vr-arrow { display: none; } .vr-track { grid-auto-columns: 78%; } }

/* Pop-up player (shared). */
.vp-modal { position: fixed; inset: 0; background: rgba(8,14,28,0.88); display: none; align-items: center; justify-content: center; z-index: 1000; padding: 16px; }
.vp-modal.open { display: flex; }
.vp-box { position: relative; width: min(960px, 100%); }
.vp-frame { aspect-ratio: 16 / 9; background: #000; border-radius: 12px; overflow: hidden; }
.vp-frame.vertical { aspect-ratio: 9 / 16; max-height: 80vh; width: auto; margin: 0 auto; }
.vp-frame iframe { width: 100%; height: 100%; border: 0; display: block; }
.vp-title { color: #fff; font-weight: 700; margin-top: 10px; }
.vp-close { position: absolute; top: -44px; right: 0; background: none; border: 0; color: #fff; font-size: 2.2rem; line-height: 1; cursor: pointer; }

/* Search results note on the tournaments list (?q=, from the app's home search). */
.search-note { margin-bottom: 14px; font-size: 0.9rem; font-weight: 600; }
.search-note a { color: var(--violet); text-decoration: underline; }

/* Profile photo: take or choose, then crop square (js/photo-picker.js). */
.pe-photo-preview { width: 128px; height: 128px; border-radius: 50%; object-fit: cover; display: block; border: 3px solid var(--saffron, #ED601B); background: var(--bg-alt, #EDF3F8); }
.pe-photo-empty { width: 128px; height: 128px; border-radius: 50%; border: 2px dashed var(--border-strong); display: flex; align-items: center; justify-content: center; color: var(--ink-dim); font-size: 0.8rem; text-align: center; padding: 12px; }
.pe-photo-btns { display: flex; flex-wrap: wrap; gap: 10px; }
.pe-photo-btns .btn { padding: 10px 16px; }
.pe-photo-btns svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
html.pc-lock, html.pc-lock body { overflow: hidden; }
.pc-overlay { position: fixed; inset: 0; z-index: 1100; display: none; align-items: center; justify-content: center; padding: 16px; background: rgba(8, 20, 34, 0.82); }
.pc-overlay.open { display: flex; }
.pc-box { width: min(380px, 100%); background: var(--surface, #fff); border-radius: 18px; padding: 20px; box-shadow: var(--shadow-lg); }
.pc-box h3 { margin: 0 0 4px; }
.pc-hint { margin: 0 0 14px; font-size: 0.85rem; color: var(--ink-dim, #566A88); }
.pc-stage { position: relative; width: 100%; aspect-ratio: 1; overflow: hidden; border-radius: 12px; background: #081422; touch-action: none; cursor: grab; user-select: none; -webkit-user-select: none; }
.pc-stage:active { cursor: grabbing; }
.pc-stage:focus-visible { outline: 3px solid var(--saffron, #ED601B); outline-offset: 2px; }
.pc-img { position: absolute; left: 0; top: 0; max-width: none; pointer-events: none; transform-origin: 0 0; }
/* The circle is how the photo reads in the app header; the saved picture is the whole square. */
.pc-ring { position: absolute; inset: 0; border-radius: 50%; box-shadow: 0 0 0 999px rgba(8, 20, 34, 0.35); border: 2px solid rgba(255, 255, 255, 0.9); pointer-events: none; }
.pc-zoom { display: flex; align-items: center; gap: 10px; margin: 14px 0 4px; font-weight: 800; color: var(--ink, #063163); }
.pc-zoom input { flex: 1; accent-color: var(--saffron, #ED601B); }
.pc-actions { display: flex; gap: 10px; margin-top: 14px; }
.pc-actions .btn { flex: 1; justify-content: center; }

/* Match reports (AG-04): collapsible box under a result. */
.mr { margin-top: 10px; border-top: 1px solid rgba(22,41,77,0.08); padding-top: 8px; }
.mr summary { cursor: pointer; font-weight: 700; font-size: 0.9rem; list-style: none; }
.mr summary::-webkit-details-marker { display: none; }
.mr summary::before { content: "\25B8"; display: inline-block; margin-right: 6px; transition: transform .15s; }
.mr[open] summary::before { transform: rotate(90deg); }
.mr-label { display: inline-block; font-size: 0.68rem; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; color: #047857; margin-right: 4px; }
.mr-body p { margin: 8px 0 0; font-size: 0.92rem; line-height: 1.55; }
.mr-body .mr-by { font-size: 0.75rem; color: var(--ink-dim, #6b7690); }
.t-match .mr { grid-column: 1 / -1; } /* full width inside the 3-column match card */

/* GullySport Plus (GS-17) */
.plus-wrap { max-width: 980px; }
.plus-benefits { margin-bottom: 24px; }
.plus-card { max-width: 560px; margin: 0 auto 28px; }
.plus-card h3 { margin-top: 0; }
.plus-facts { border-collapse: collapse; margin: 8px 0 4px; font-size: 0.95rem; }
.plus-facts td { padding: 6px 18px 6px 0; }
.plus-facts td:first-child { color: var(--ink-dim, #6b7690); }
.plus-faq { max-width: 720px; margin: 0 auto; font-size: 0.95rem; }
.plus-faq p { margin: 10px 0; }
.plus-banner { background: linear-gradient(90deg, #0b7a3b, #0e9f6e); color: #fff; }
.plus-banner .container { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding-top: 12px; padding-bottom: 12px; }
.plus-banner strong { font-weight: 800; }
.plus-banner a.btn { background: #fff; color: #0b7a3b; padding: 8px 16px; font-size: 0.85rem; }
.plus-hint { display: inline-block; margin-top: 6px; font-weight: 700; color: #0b7a3b; }

/* ===== Member badges and Store > Plans (GS-18) ===== */
.mb-badge { display: inline-block; vertical-align: middle; padding: 2px 8px; border-radius: 999px; font-size: 0.68rem; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; line-height: 1.5; color: #fff; }
.mb-plus { background: #0e9f6e; }
.mb-pro { background: #1d4ed8; }
.mb-club { background: linear-gradient(90deg, #b7791f, #d69e2e); color: #1a1300; }
.pl-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-bottom: 22px; }
@media (max-width: 820px) { .pl-grid { grid-template-columns: 1fr; } }
.pl-card { display: flex; flex-direction: column; gap: 6px; padding: 18px; border-radius: 14px; background: var(--card, #fff); border: 2px solid var(--line, #e3e7ef); }
.pl-card.is-picked { border-color: var(--accent, #ED601B); }
.pl-card.is-current { box-shadow: 0 0 0 3px rgba(14, 159, 110, 0.18); }
.pl-card h3 { margin: 2px 0 0; font-size: 1.1rem; }
.pl-head { display: flex; align-items: center; gap: 8px; }
.pl-cur { font-size: 0.75rem; font-weight: 700; color: #0b7a3b; }
.pl-price { font-size: 1.5rem; font-weight: 900; }
.pl-price span { font-size: 0.85rem; font-weight: 500; color: var(--ink-dim, #6b7690); }
.pl-list { list-style: disc; margin: 4px 0 10px; padding-left: 18px; font-size: 0.9rem; line-height: 1.6; flex: 1; }
.pl-choose { justify-content: center; }
.pl-status { margin-bottom: 18px; }
.pl-status h3 { margin-top: 0; }
.pl-list li { display: list-item; margin: 2px 0; }

/* Share points (GS-28): one Share button for one item; its menu opens under it. */
.share-wrap { position: relative; display: inline-flex; }
.share-item-btn {
  display: inline-flex; align-items: center; gap: 6px; padding: 7px 14px; border-radius: 999px;
  font: inherit; font-size: 0.82rem; font-weight: 700; cursor: pointer;
  border: 1px solid rgba(6, 49, 99, 0.18); background: #fff; color: var(--ink, #063163);
}
.share-item-btn:hover { border-color: var(--ink, #063163); }
.share-item-btn svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.share-item-btn.on-dark { background: rgba(255, 255, 255, 0.1); border-color: rgba(255, 255, 255, 0.4); color: #fff; }
.share-wrap .share-menu { top: calc(100% + 6px); bottom: auto; left: 0; right: auto; }
.share-moment {
  display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap;
  margin: 14px 0; padding: 14px 16px; border-radius: 14px;
  background: #ECFDF3; border: 1px solid #A7E3C3; color: #0B3D25;
}
.share-moment b { display: block; color: #0B3D25; }
.share-moment small { color: #2C5A43; }
.share-follow { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 12px; }
.share-follow a { display: inline-grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: rgba(255, 255, 255, 0.1); color: #fff; }
.share-follow a:hover { background: rgba(255, 255, 255, 0.22); }
.share-follow svg { width: 18px; height: 18px; fill: currentColor; }
.share-moment-pop {
  position: fixed; z-index: 160; right: 20px; bottom: 24px; width: min(420px, calc(100vw - 32px)); margin: 0;
  box-shadow: 0 16px 40px rgba(8, 20, 34, 0.22); animation: share-in 0.25s ease;
}
body.has-nv-tabbar .share-moment-pop { bottom: calc(84px + env(safe-area-inset-bottom)); }
@media (max-width: 560px) { .share-moment-pop { left: 16px; right: 16px; width: auto; } }
.share-moment-actions { display: flex; align-items: center; gap: 6px; }
.share-moment-pop .share-menu { top: auto; bottom: calc(100% + 6px); left: auto; right: 0; }
.share-moment-x { border: 0; background: none; font-size: 1rem; line-height: 1; padding: 6px; cursor: pointer; color: #2C5A43; }
@keyframes share-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .share-moment-pop { animation: none; } }
.bd-share { display: block; margin: 6px auto 0; border: 0; background: none; color: var(--violet, #B8460E); font: inherit; font-size: 0.72rem; font-weight: 700; cursor: pointer; text-decoration: underline; }
.fd-share { margin-top: 10px; }
.fd-hl-wrap .fd-share { margin: -4px 0 12px; display: flex; justify-content: flex-end; }
.fd-share .share-item-btn { padding: 5px 11px; font-size: 0.76rem; }

/* GS-37: printing a sponsor report (My sponsorships > Download report). */
@media print {
  .site-header, .nv-tabbar, .nv-sheet, .site-footer, .gw-noprint, .share-moment-pop { display: none !important; }
  body { padding: 0 !important; background: #fff !important; }
  .gw-band { background: #fff !important; color: #063163 !important; }
  .gw-band .gw-h1 { color: #063163 !important; }
}
