/* Rides landing (/fa/rides) -- 2026-10 rebuild after Sam's rides-landing artifact.
   Every selector is scoped under .rl-page (Bootstrap 2 + theme_bs_tb are global and collide with .btn/.container/...),
   artifact class names and values are kept unchanged. The first rules below are the scope reset and the Bootstrap 2
   neutralisers; the middle block is the artifact CSS carried over (keyframes prefixed rl-); the last block is the
   site-specific layout (fixed 64px navbar offset, in-grid promoter box, no-data states).
   Hand-edited, like the rest of the site CSS: edit this file directly. */
.rl-page {
  --orange: #F47B20; --orange-dark: #D96400; --orange-tint: #FFF3E8;
  --black: #0D0D0D; --white: #FFFFFF; --gray-bg: #F4F4F4; --gray-border: #E5E5E5;
  --ink: #1A1A1A; --muted: #666; --soft: #8A8A8A;
  --font-display: 'Bebas Neue', Impact, 'Arial Narrow', sans-serif;
  --font-body: 'Outfit', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --ease: cubic-bezier(.2,.7,.2,1);
  font-family: var(--font-body); font-size: 16px; line-height: 1.6; color: var(--ink); background: var(--gray-bg);
  text-align: left; overflow-x: clip; -webkit-font-smoothing: antialiased;
}
/* desktop: theme_bs_tb.css pads html AND body 50px each under the 64px fixed #navbar; tuck the cover up under it
   (same as ride.css / timeslip.css). Phones (<980px) have a static navbar, so no offset there. */
@media (min-width: 980px) { .rl-page { margin-top: -36px; } }
/* the root footer has a 40px top margin that would leave a gray strip under the promoter band */
.rl-page { margin-bottom: -40px; }
.rl-page *, .rl-page *::before, .rl-page *::after { box-sizing: border-box; margin: 0; padding: 0; }
.rl-page a { color: inherit; text-decoration: none; }
.rl-page a:hover, .rl-page a:focus { text-decoration: none; }
.rl-page img { max-width: 100%; display: block; }
.rl-page button { font-family: inherit; cursor: pointer; }
.rl-page :focus-visible { outline: 2px solid var(--orange); outline-offset: 3px; }
.rl-page h1, .rl-page h2, .rl-page h3, .rl-page h4, .rl-page p { margin: 0; font-family: inherit; text-transform: none; line-height: inherit; text-rendering: auto; }
.rl-page ol, .rl-page ul { list-style: none; }
.rl-page [hidden] { display: none !important; }
.rl-page .container { width: auto; }
/* Bootstrap 2 clearfix pseudo-elements would become grid items in .bridge-grid / .cover-grid parents */
.rl-page .container::before, .rl-page .container::after { content: none; display: none; }
/* Bootstrap 2 .btn / form-control skins */
.rl-page .btn { line-height: 1.6; text-shadow: none; box-shadow: none; background-image: none; filter: none; margin: 0; vertical-align: middle; text-align: center; }
.rl-page .btn:hover, .rl-page .btn:focus, .rl-page .btn:active { background-position: 0 0; box-shadow: none; text-decoration: none; }
.rl-page .btn-orange, .rl-page .btn-orange:hover, .rl-page .btn-orange:focus,
.rl-page .btn-ghost, .rl-page .btn-ghost:hover, .rl-page .btn-ghost:focus { color: var(--white); }
.rl-page .more-btn { color: var(--black); }
.rl-page .more-btn:hover { color: var(--white); }
.rl-page input[type="search"], .rl-page select { margin: 0; box-shadow: none; line-height: normal; -webkit-appearance: none; appearance: none; transition: border-color .2s; }
.rl-page input[type="search"]:focus, .rl-page select:focus { box-shadow: none; }
.rl-page .select-wrap select { width: auto; }
.rl-page .like-btn, .rl-page .chip, .rl-page .seg button, .rl-page .m-btn { line-height: 1.2; text-shadow: none; box-shadow: none; }

/* ---- artifact CSS (scoped) ---- */
.rl-page .container {max-width: 1280px; margin: 0 auto; padding: 0 24px;}
.rl-page .btn {display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 12px 26px; border-radius: 6px; font-weight: 600; font-size: 15px; border: 2px solid transparent; transition: background .2s, border-color .2s, color .2s, transform .2s; white-space: nowrap;}
.rl-page .btn-orange {background: var(--orange); border-color: var(--orange); color: var(--white);}
.rl-page .btn-orange:hover {background: var(--orange-dark); border-color: var(--orange-dark);}
.rl-page .btn-ghost {background: rgba(13,13,13,.45); border-color: rgba(255,255,255,.5); color: var(--white);}
.rl-page .btn-ghost:hover {border-color: var(--white); background: rgba(255,255,255,.1);}
.rl-page .cover {position: relative; min-height: min(92vh, 860px); background: var(--black); overflow: hidden; display: flex; align-items: flex-end; padding: 72px 0 190px;}
.rl-page .cover-bg {position: absolute; inset: 0; background-size: cover; background-position: center 45%; transform: scale(1.08); opacity: 0; transition: opacity 1.4s var(--ease), transform 6s var(--ease);}
.rl-page .cover.ready .cover-bg {opacity: .62; transform: scale(1);}
.rl-page .cover::after {content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(13,13,13,.92) 0%, rgba(13,13,13,.55) 45%, rgba(13,13,13,.1) 100%), linear-gradient(0deg, #0D0D0D 0%, rgba(13,13,13,0) 45%);}
.rl-page .cover-inner {position: relative; z-index: 2; width: 100%;}
.rl-page .wordmark {font-family: var(--font-display); line-height: .82; color: var(--white); font-size: clamp(5.5rem, 17vw, 15rem); letter-spacing: -1px; margin-bottom: 34px; display: flex; flex-wrap: wrap; align-items: baseline; column-gap: .12em;}
.rl-page .wordmark .wm-foat {color: var(--white);}
.rl-page .wordmark .wm-news {color: var(--white);}
@keyframes rl-beacon { 0% { box-shadow: 0 0 0 0 rgba(244,123,32,.55); } 70% { box-shadow: 0 0 0 .35em rgba(244,123,32,0); } 100% { box-shadow: 0 0 0 0 rgba(244,123,32,0); } }
.rl-page .cover-grid {display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 48px; align-items: end;}
.rl-page .lead-actions {display: flex; flex-wrap: wrap; gap: 12px;}
.rl-page .cover-search {background: rgba(13,13,13,.6); border: 1px solid rgba(255,255,255,.14); border-radius: 14px; padding: 22px; backdrop-filter: blur(10px);}
.rl-page .cover-search label {display: block; color: var(--white); font-weight: 600; font-size: 16px; margin-bottom: 4px;}
.rl-page .cover-search p {color: rgba(255,255,255,.55); font-size: 14px; margin-bottom: 14px;}
.rl-page .filter-bar {position: sticky; top: calc(68px + env(safe-area-inset-top, 0px)); z-index: 50; background: rgba(244,244,244,.92); backdrop-filter: blur(10px); border-bottom: 1px solid var(--gray-border); margin-top: 64px;}
.rl-page .filter-inner {display: flex; align-items: center; gap: 16px; padding-top: 14px; padding-bottom: 14px;}
.rl-page .chip {flex-shrink: 0; min-height: 40px; padding: 8px 16px; border-radius: 100px; border: 1px solid var(--gray-border); background: var(--white); color: #444; font-size: 14px; font-weight: 500; transition: background .2s, border-color .2s, color .2s; display: inline-flex; align-items: center; gap: 6px;}
.rl-page .chip:hover {border-color: var(--orange); color: var(--ink);}
.rl-page .chip[aria-pressed="true"] {background: var(--black); border-color: var(--black); color: var(--white);}
.rl-page .chip .chip-count {font-size: 12px; background: var(--orange); color: var(--white); border-radius: 100px; padding: 0 7px; line-height: 18px;}
.rl-page .save-btn {width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--gray-border); background: var(--white); color: #555; display: flex; align-items: center; justify-content: center; transition: background .2s, border-color .2s, color .2s, transform .15s; position: relative; z-index: 3;}
.rl-page .save-btn:hover {border-color: var(--orange); color: var(--orange);}
.rl-page .save-btn[aria-pressed="true"] {background: var(--orange); border-color: var(--orange); color: var(--white);}
.rl-page .save-btn:active {transform: scale(.9);}
.rl-page .save-btn[aria-pressed="true"] svg {fill: currentColor;}
.rl-page .more-wrap {text-align: center; margin-top: 28px; min-height: 48px;}
.rl-page .more-btn {background: var(--white); border: 2px solid var(--black); color: var(--black);}
.rl-page .more-btn:hover {background: var(--black); color: var(--white);}
.rl-page .empty {grid-column: 1 / -1; background: var(--white); border: 1px dashed #ccc; border-radius: 12px; padding: 40px 24px; text-align: center;}
.rl-page .empty h3 {font-size: 18px; margin-bottom: 6px;}
.rl-page .empty p {color: var(--muted); margin-bottom: 18px;}
@keyframes rl-storyIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.rl-page .promoter {background: var(--white); padding: 88px 0;}
.rl-page .promoter-box {display: grid; grid-template-columns: 1fr 1fr; border-radius: 16px; overflow: hidden; background: var(--black); box-shadow: 0 24px 60px rgba(0,0,0,.18);}
.rl-page .promoter-img {min-height: 360px; background-size: cover; background-position: center;}
.rl-page .promoter-copy {padding: 52px 48px; color: var(--white); display: flex; flex-direction: column; justify-content: center;}
.rl-page .promoter-copy h2 {font-family: var(--font-display); font-size: clamp(2.2rem, 4vw, 3.4rem); line-height: .98; letter-spacing: .5px; margin-bottom: 16px;}
.rl-page .promoter-copy p {color: rgba(255,255,255,.62); font-size: 16px; margin-bottom: 28px; max-width: 46ch;}
.rl-page .promoter-copy .lead-actions .btn-ghost {background: transparent;}
.rl-page .toast {position: fixed; left: 50%; bottom: calc(24px + env(safe-area-inset-bottom, 0px)); transform: translate(-50%, 20px); background: var(--black); color: var(--white); padding: 12px 20px; border-radius: 100px; font-size: 14px; font-weight: 500; box-shadow: 0 10px 30px rgba(0,0,0,.3); opacity: 0; pointer-events: none; transition: opacity .25s, transform .25s; z-index: 1000; display: flex; gap: 10px; align-items: center;}
.rl-page .toast.show {opacity: 1; transform: translate(-50%, 0);}
.rl-page .toast i {width: 8px; height: 8px; border-radius: 50%; background: var(--orange);}
.rl-page .potw-word {font-family: var(--font-display); font-size: clamp(4.5rem, 13vw, 11rem); line-height: .82; color: var(--white); letter-spacing: -.5px; margin-bottom: 18px;}
.rl-page .potw-word span {color: var(--orange);}
.rl-page .potw-meta {color: rgba(255,255,255,.65); font-size: 15px; margin-bottom: 26px;}
.rl-page .potw-meta a {color: var(--white); text-decoration: underline; text-decoration-color: rgba(244,123,32,.7); text-underline-offset: 3px;}
.rl-page .potw-actions {display: flex; flex-wrap: wrap; gap: 12px;}
.rl-page .like-btn {display: inline-flex; align-items: center; gap: 7px; border-radius: 100px; border: 1px solid rgba(255,255,255,.35); background: rgba(13,13,13,.55); color: var(--white); padding: 0 16px; min-height: 46px; font-weight: 600; font-size: 15px; backdrop-filter: blur(6px); transition: background .2s, border-color .2s;}
.rl-page .like-btn:hover {border-color: var(--orange);}
.rl-page .like-btn svg {transition: transform .2s;}
.rl-page .like-btn[aria-pressed="true"] {background: var(--orange); border-color: var(--orange);}
.rl-page .like-btn[aria-pressed="true"] svg {fill: currentColor;}
.rl-page .like-btn.bump svg {animation: rl-bump .45s var(--ease);}
@keyframes rl-bump { 0% { transform: scale(1); } 40% { transform: scale(1.45); } 100% { transform: scale(1); } }
.rl-page .trend {position: relative; z-index: 5; margin-top: -190px;}
.rl-page .trend-label {display: flex; align-items: center; gap: 10px; color: var(--white); font-family: var(--font-display); font-size: 26px; letter-spacing: .5px; margin-bottom: 14px;}
.rl-page .trend-label i {width: 9px; height: 9px; border-radius: 50%; background: var(--orange); animation: rl-beacon 2.4s infinite;}
.rl-page .trend-grid {display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px;}
.rl-page .trend-card {position: relative; border: none; padding: 0; border-radius: 12px; overflow: hidden; aspect-ratio: 4 / 5; background: #222; color: var(--white); text-align: left; box-shadow: 0 18px 40px rgba(0,0,0,.35); isolation: isolate;}
.rl-page .trend-card .t-img {position: absolute; inset: 0; background-size: cover; background-position: center; z-index: -2; transition: transform .7s var(--ease);}
.rl-page .trend-card::before {content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(10,10,10,.92) 0%, rgba(10,10,10,0) 55%);}
.rl-page .trend-card:hover .t-img {transform: scale(1.07);}
.rl-page .trend-card .t-likes {position: absolute; top: 10px; right: 10px; display: inline-flex; align-items: center; gap: 5px; background: rgba(13,13,13,.7); border-radius: 100px; padding: 4px 10px; font-size: 13px; font-weight: 600;}
.rl-page .trend-card .t-likes svg {color: #fff; fill: none;}
.rl-page .trend-card .t-likes.is-liked svg {color: var(--orange); fill: currentColor;}
.rl-page .rm-otw {margin-top: 10px;}
.rl-page .shuffle-btn {display: inline-flex; align-items: center; gap: 6px; background: none; border: none; color: var(--orange-dark); font-weight: 600; font-size: 14px; padding: 8px 4px; cursor: pointer;}
.rl-page .shuffle-btn:hover {text-decoration: underline;}
.rl-page .trend-card .t-txt {position: absolute; left: 14px; right: 14px; bottom: 12px;}
.rl-page .trend-card strong {display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; font-size: 15px; line-height: 1.3; font-weight: 600;}
.rl-page .trend-card span.t-by {font-size: 12.5px; color: rgba(255,255,255,.65);}
.rl-page .p-main {padding: 36px 0 90px;}
.rl-page .p-head {display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 22px;}
.rl-page .p-head h2 {font-family: var(--font-display); font-weight: 400; font-size: clamp(2.2rem, 4vw, 3rem); line-height: 1; color: var(--black); letter-spacing: .5px;}
.rl-page .lb-btn {width: 46px; height: 46px; border-radius: 50%; border: 1px solid rgba(255,255,255,.2); background: rgba(255,255,255,.06); color: var(--white); display: flex; align-items: center; justify-content: center; transition: background .2s, border-color .2s;}
.rl-page .lb-btn:hover {background: var(--orange); border-color: var(--orange);}
@media (max-width: 1100px) {
  .rl-page .trend-grid {grid-template-columns: repeat(3, 1fr);}
  .rl-page .trend-card:nth-child(n+4) {display: none;}
}
@media (max-width: 768px) {
  .rl-page .trend {margin-top: -170px;}
  .rl-page .trend-grid {grid-template-columns: repeat(3, 1fr); gap: 10px;}
  .rl-page .trend-card {aspect-ratio: 3 / 4;}
  .rl-page .trend-card strong {font-size: 13px;}
  .rl-page .trend-card span.t-by {display: none;}
}
.rl-page .p-intro {color: rgba(255,255,255,.78); font-size: clamp(17px, 1.8vw, 21px); line-height: 1.6; max-width: 46ch;}
.rl-page .share-title {font-family: var(--font-display); font-weight: 400; font-size: 32px; line-height: 1; letter-spacing: .4px; color: var(--white); margin-bottom: 8px;}
.rl-page .cover-search .lead-actions .btn-ghost {background: transparent;}
.rl-page .potw {position: relative; z-index: 5; margin-top: -150px;}
.rl-page .potw-card {display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); background: var(--black); border-radius: 16px; overflow: hidden; box-shadow: 0 24px 60px rgba(0,0,0,.35);}
.rl-page .potw-frame {overflow: hidden;}
.rl-page .potw-img {height: 100%; min-height: 460px; background-size: cover; background-position: center; cursor: zoom-in; transition: transform .8s var(--ease);}
.rl-page .potw-card:hover .potw-img {transform: scale(1.04);}
.rl-page .potw-info {padding: 44px 40px; color: var(--white); display: flex; flex-direction: column; justify-content: center;}
.rl-page .potw-info .potw-word {font-size: clamp(3.2rem, 5.6vw, 5.4rem);}
.rl-page .trend {margin-top: 56px;}
.rl-page .trend .trend-label {color: var(--black);}
.rl-page .trend-card {box-shadow: 0 10px 26px rgba(0,0,0,.14);}
@media (max-width: 1024px) {
  .rl-page .potw-card {grid-template-columns: 1fr;}
  .rl-page .potw-img {min-height: 300px;}
}
@media (max-width: 768px) {
  .rl-page .potw {margin-top: -110px;}
  .rl-page .potw-info {padding: 28px 22px;}
  .rl-page .potw-img {min-height: 240px;}
  .rl-page .trend {margin-top: 40px;}
}
.rl-page .icon-btn[aria-pressed="true"] {background: var(--orange) !important; border-color: var(--orange) !important; color: var(--white) !important;}
.rl-page .icon-btn[aria-pressed="true"] svg, .rl-page .like-btn[aria-pressed="true"] svg {fill: currentColor;}
.rl-page .icon-btn.bump svg {animation: rl-bump .45s var(--ease);}
.rl-page .am {position: fixed; inset: 0; z-index: 1150; background: rgba(0,0,0,.62); display: flex; align-items: center; justify-content: center; padding: calc(24px + env(safe-area-inset-top, 0px)) 24px calc(24px + env(safe-area-inset-bottom, 0px)); opacity: 0; transition: opacity .25s;}
.rl-page .am.open {opacity: 1;}
.rl-page .am-panel {width: min(1120px, 100%); max-height: 100%; background: var(--gray-bg); border-radius: 16px; overflow: hidden; display: flex; flex-direction: column; transform: translateY(24px) scale(.98); transition: transform .35s var(--ease); box-shadow: 0 30px 80px rgba(0,0,0,.5);}
.rl-page .am.open .am-panel {transform: none;}
.rl-page .am-close {position: absolute; top: 14px; right: 14px;}
.rl-page .toast {z-index: 1300;}
@media (max-width: 768px) {
  .rl-page .am {padding: 0;}
  .rl-page .am-panel {height: 100%; max-height: none; border-radius: 0;}
}
.rl-page .loader {display: inline-flex; align-items: center; gap: 10px; color: var(--muted); font-size: 14px; font-weight: 500; padding: 10px 0;}
.rl-page .spin {width: 18px; height: 18px; border-radius: 50%; border: 2px solid var(--gray-border); border-top-color: var(--orange); animation: rl-spin .8s linear infinite;}
@keyframes rl-spin { to { transform: rotate(360deg); } }
.rl-page .m-tools, .rl-page .m-close {display: none;}
.rl-page .filter-bar {transition: transform .3s var(--ease);}
.rl-page .filter-bar.bar-hidden {transform: translateY(-110%);}
.rl-page .sheet {position: fixed; inset: 0; z-index: 1100;}
.rl-page .sheet-backdrop {position: absolute; inset: 0; background: rgba(0,0,0,.45); opacity: 0; transition: opacity .25s;}
.rl-page .sheet-panel {position: absolute; left: 0; right: 0; bottom: 0; background: var(--white); border-radius: 18px 18px 0 0; padding: 10px 20px calc(20px + env(safe-area-inset-bottom, 0px)); transform: translateY(100%); transition: transform .3s var(--ease); max-height: 85vh; overflow-y: auto;}
.rl-page .sheet.open .sheet-backdrop {opacity: 1;}
.rl-page .sheet.open .sheet-panel {transform: none;}
.rl-page .sheet-grab {width: 40px; height: 4px; border-radius: 4px; background: #DDD; margin: 0 auto 14px;}
.rl-page .sheet-head {display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px;}
.rl-page .sheet-head h3 {font-family: var(--font-display); font-size: 28px; line-height: 1; letter-spacing: .4px;}
.rl-page .sheet-head .m-close {display: flex;}
.rl-page #sheetBody .story-filters {display: grid; grid-template-columns: 1fr 1fr; gap: 10px;}
.rl-page #sheetBody .select-wrap {grid-column: 1 / -1;}
.rl-page #sheetBody .select-wrap select {width: 100%; height: 50px; font-size: 16px;}
.rl-page #sheetBody .chip {justify-content: center; min-height: 48px; font-size: 15px;}
.rl-page .sheet-foot {display: flex; gap: 10px; margin-top: 22px;}
.rl-page .sheet-foot .btn {flex: 1;}
.rl-page .m-close {width: 42px; height: 42px; flex-shrink: 0; border-radius: 50%; border: 1px solid var(--gray-border); background: var(--white); color: var(--ink); font-size: 22px; line-height: 1; align-items: center; justify-content: center;}
.rl-page .sr-only {position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap;}
.rl-page .filter-left {display: flex; align-items: center; gap: 12px; flex: 1; flex-wrap: wrap;}
.rl-page .story-filters {display: flex; align-items: center; gap: 8px; flex-wrap: wrap;}
.rl-page .seg {display: inline-flex; background: #E6E6E6; border-radius: 100px; padding: 4px;}
.rl-page .seg button {border: none; background: transparent; color: #555; font-weight: 600; font-size: 14px; padding: 8px 18px; min-height: 36px; border-radius: 100px; transition: background .2s, color .2s;}
.rl-page .seg button[aria-selected="true"] {background: var(--black); color: var(--white);}
.rl-page .select-wrap {position: relative;}
.rl-page .select-wrap select {appearance: none; -webkit-appearance: none; height: 40px; min-width: 220px; border-radius: 100px; border: 1px solid var(--gray-border); background: var(--white); padding: 0 40px 0 16px; font: 500 14px var(--font-body); color: var(--ink); cursor: pointer;}
.rl-page .select-wrap select:hover {border-color: var(--orange);}
.rl-page .select-wrap svg {position: absolute; right: 15px; top: 50%; transform: translateY(-50%); pointer-events: none; color: #555;}
.rl-page .empty-actions {display: flex; justify-content: center; gap: 10px; flex-wrap: wrap;}
@media (max-width: 1024px) {
  .rl-page .cover-grid {grid-template-columns: 1fr; gap: 28px;}
  .rl-page .promoter-box {grid-template-columns: 1fr;}
  .rl-page .promoter-img {min-height: 240px;}
}
@media (max-width: 768px) {
  .rl-page .cover {padding: 48px 0 120px;}
  .rl-page .wordmark {font-size: clamp(4.5rem, 22vw, 9rem);}
  .rl-page .filter-inner {gap: 8px; padding-top: 8px; padding-bottom: 8px;}
  .rl-page .filter-left {flex: 1; flex-wrap: nowrap; gap: 8px; min-width: 0;}
  .rl-page .seg {flex: 1; min-width: 0;}
  .rl-page .seg button {flex: 1; padding: 7px 8px; font-size: 13px; min-height: 38px;}
  .rl-page .m-tools {display: flex; gap: 8px;}
  .rl-page .m-btn {height: 46px; border-radius: 100px; border: 1px solid var(--gray-border); background: var(--white); color: var(--ink); display: inline-flex; align-items: center; gap: 6px; padding: 0 14px; font-weight: 600; font-size: 13px;}
  .rl-page .m-badge {background: var(--orange); color: var(--white); border-radius: 100px; font-size: 11px; padding: 0 6px; line-height: 17px;}
  .rl-page .promoter-copy {padding: 36px 26px;}
}
@media (max-width: 480px) {
  .rl-page .container {padding: 0 18px;}
  .rl-page .lead-actions .btn {flex: 1 1 100%;}
  .rl-page .cover-search {padding: 18px;}
}


.rl-page .wm-lights {display: inline-flex; gap: .07em; align-self: flex-end; margin-bottom: .1em;}
.rl-page .wm-light {width: .14em; height: .14em; border-radius: 50%; background: var(--c); animation: rl-lightPulse 3.6s infinite;}
.rl-page .wm-light.red {--c: #E53935; --glow: rgba(229,57,53,.6); animation-delay: 0s;}
.rl-page .wm-light.yellow {--c: #FFC400; --glow: rgba(255,196,0,.6); animation-delay: 1.2s;}
.rl-page .wm-light.green {--c: #2ECC40; --glow: rgba(46,204,64,.6); animation-delay: 2.4s;}
@keyframes rl-lightPulse {
  0% { box-shadow: 0 0 0 0 var(--glow); }
  23% { box-shadow: 0 0 0 .35em rgba(0,0,0,0); }
  24%, 100% { box-shadow: 0 0 0 0 rgba(0,0,0,0); }
}
.rl-page .r-cover {padding-bottom: 210px;}
.rl-page .r-cover .cover-bg {background-position: center 60%;}
.rl-page .r-cover.ready .cover-bg {opacity: .58;}
.rl-page .r-steps {list-style: none; display: flex; flex-direction: column; gap: 10px; margin: 4px 0 18px;}
.rl-page .r-steps li {display: flex; gap: 12px; align-items: flex-start; color: rgba(255,255,255,.82); font-size: 15px; line-height: 1.45;}
.rl-page .r-steps b {flex-shrink: 0; width: 26px; height: 26px; border-radius: 50%; background: var(--orange); color: var(--white); font-family: var(--font-display); font-weight: 400; font-size: 16px; display: flex; align-items: center; justify-content: center;}
.rl-page .verified {display: inline-flex; align-items: center; gap: 4px; color: #2ECC40; font-size: 12.5px; font-weight: 600;}
.rl-page .verified svg {flex-shrink: 0;}
.rl-page .rotw-year {font-family: var(--font-display); font-size: 26px; color: var(--orange); letter-spacing: .5px; line-height: 1; margin-bottom: 2px;}
.rl-page .rotw-name {font-family: var(--font-display); font-size: clamp(2rem, 3.4vw, 3rem); line-height: .95; letter-spacing: .3px; margin-bottom: 10px;}
.rl-page .rotw-date {display: inline-flex; align-items: center; gap: 8px; color: rgba(255,255,255,.6); font-size: 14px; margin-bottom: 14px;}
.rl-page .potw-info .potw-word {margin-bottom: 14px;}
.rl-page .ride-trend .trend-card .t-txt strong {font-family: var(--font-display); font-weight: 400; font-size: 22px; line-height: 1; letter-spacing: .3px;}
.rl-page .ride-trend .trend-card .t-year {display: block; font-family: var(--font-display); color: var(--orange); font-size: 17px; letter-spacing: .4px;}
.rl-page .bridge {background: var(--black); color: var(--white); padding: 96px 0; margin-top: 72px; position: relative; overflow: hidden;}
.rl-page .bridge::before {content: ''; position: absolute; right: -200px; top: -200px; width: 700px; height: 700px; background: radial-gradient(circle, rgba(244,123,32,.16), transparent 70%);}
.rl-page .bridge-grid {display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 64px; align-items: center; position: relative;}
.rl-page .bridge h2 {font-family: var(--font-display); font-weight: 400; font-size: clamp(2.8rem, 6vw, 5.2rem); line-height: .9; letter-spacing: .5px; margin-bottom: 18px;}
.rl-page .bridge h2 span {color: var(--orange);}
.rl-page .bridge-lede {color: rgba(255,255,255,.68); font-size: 17px; line-height: 1.65; max-width: 46ch; margin-bottom: 30px;}
.rl-page .bridge-steps {list-style: none; display: flex; flex-direction: column; gap: 18px; margin-bottom: 32px;}
.rl-page .bridge-steps li {display: grid; grid-template-columns: 44px 1fr; gap: 14px;}
.rl-page .bridge-steps i {width: 44px; height: 44px; border-radius: 12px; background: rgba(244,123,32,.14); color: var(--orange); display: flex; align-items: center; justify-content: center; font-style: normal;}
.rl-page .bridge-steps strong {display: block; font-size: 17px; margin-bottom: 2px;}
.rl-page .bridge-steps span {color: rgba(255,255,255,.6); font-size: 15px; line-height: 1.55;}
.rl-page .bridge .lead-actions .btn-ghost {background: transparent;}
.rl-page .bridge-promo {margin-top: 18px; font-size: 14px; color: rgba(255,255,255,.55);}
.rl-page .bridge-promo a {color: var(--orange); font-weight: 600;}
.rl-page .bridge-promo a:hover {text-decoration: underline;}
.rl-page .combo {position: relative; display: flex; align-items: center; justify-content: center; min-height: 460px;}
.rl-page .ride-card {width: min(320px, 70%); background: #161616; border: 1px solid rgba(255,255,255,.1); border-radius: 16px; overflow: hidden; box-shadow: 0 30px 70px rgba(0,0,0,.6); transform: rotate(-5deg) translate(-18%, 12%); position: relative; z-index: 1;}
.rl-page .ride-card .rc-img {aspect-ratio: 4 / 3; background-size: cover; background-position: center;}
.rl-page .ride-card .rc-body {padding: 16px 18px 18px; display: grid; grid-template-columns: 1fr auto; gap: 12px; align-items: end;}
.rl-page .ride-card .rc-year {font-family: var(--font-display); color: var(--orange); font-size: 18px; line-height: 1;}
.rl-page .ride-card .rc-name {font-family: var(--font-display); font-size: 28px; line-height: .95; margin: 2px 0 6px;}
.rl-page .qr {width: 62px; height: 62px; border-radius: 8px; background: var(--white); padding: 6px; display: grid; grid-template-columns: repeat(7, 1fr); gap: 1px;}
.rl-page .qr i {background: var(--black); border-radius: 1px;}
.rl-page .qr i.o {background: transparent;}
.rl-page .ticket {position: absolute; right: 0; top: 2%; width: min(300px, 62%); background: var(--white); color: var(--ink); border-radius: 14px; box-shadow: 0 30px 70px rgba(0,0,0,.55); transform: rotate(4deg); z-index: 2; overflow: hidden;}
.rl-page .ticket-top {padding: 18px 20px 14px; border-bottom: 2px dashed #DADADA; position: relative;}
.rl-page .ticket-top::before, .rl-page .ticket-top::after {content: ''; position: absolute; bottom: -11px; width: 20px; height: 20px; border-radius: 50%; background: var(--black);}
.rl-page .ticket-top::before {left: -10px;}
.rl-page .ticket-top::after {right: -10px;}
.rl-page .ticket small {display: block; font-size: 12px; color: var(--muted); font-weight: 600;}
.rl-page .ticket h4 {font-family: var(--font-display); font-weight: 400; font-size: 30px; line-height: 1; margin: 2px 0 8px; letter-spacing: .3px;}
.rl-page .ticket-ride {font-size: 14px; color: #444;}
.rl-page .ticket-ride b {color: var(--ink);}
.rl-page .ticket-bot {padding: 14px 20px 18px; display: flex; align-items: center; justify-content: space-between; gap: 10px;}
.rl-page .status {display: inline-flex; align-items: center; gap: 7px; border-radius: 100px; padding: 7px 13px; font-size: 13px; font-weight: 700; background: var(--orange-tint); color: var(--orange-dark); transition: background .4s, color .4s;}
.rl-page .status i {width: 8px; height: 8px; border-radius: 50%; background: currentColor; animation: rl-beacon 1.6s infinite;}
.rl-page .ticket .t-logo {font-family: var(--font-display); font-size: 18px;}
.rl-page .ticket .t-logo span {color: var(--orange);}
.rl-page .combo.approved .status {background: #E3F8E6; color: #1E8E2E;}
.rl-page .combo.approved .status i {animation: none;}
.rl-page .combo .stamp {position: absolute; right: 16px; bottom: 14px; font-family: var(--font-display); font-size: 22px; color: #1E8E2E; border: 3px solid #1E8E2E; border-radius: 8px; padding: 2px 10px; transform: rotate(-12deg) scale(1.6); opacity: 0; transition: transform .45s cubic-bezier(.2,1.6,.4,1), opacity .25s;}
.rl-page .combo.approved .stamp {opacity: 1; transform: rotate(-12deg) scale(1);}
.rl-page .ticket .t-logo {transition: opacity .2s;}
.rl-page .combo.approved .t-logo {opacity: 0;}
.rl-page .rgrid {display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px;}
.rl-page .rcard {position: relative; background: var(--white); border: 1px solid var(--gray-border); border-radius: 14px; overflow: hidden; transition: transform .25s var(--ease), box-shadow .25s, border-color .25s; isolation: isolate;}
.rl-page .rcard.enter {animation: rl-storyIn .5s var(--ease) both;}
.rl-page .rcard:hover {transform: translateY(-4px); box-shadow: 0 16px 36px rgba(0,0,0,.12); border-color: var(--orange);}
.rl-page .rcard-open {display: block; width: 100%; border: none; padding: 0; background: none; text-align: left; cursor: pointer; color: inherit;}
.rl-page .rcard-img {aspect-ratio: 4 / 3; background-size: cover; background-position: center; position: relative; overflow: hidden;}
.rl-page .rcard-img > div {position: absolute; inset: 0; background-size: cover; background-position: center; transition: transform .7s var(--ease);}
.rl-page .rcard:hover .rcard-img > div {transform: scale(1.06);}
.rl-page .rank {position: absolute; left: 10px; top: 10px; z-index: 1; background: var(--black); color: var(--white); font-family: var(--font-display); font-size: 20px; line-height: 1; padding: 6px 10px 4px; border-radius: 8px;}
.rl-page .rank.gold {background: var(--orange);}
.rl-page .rcard-body {padding: 14px 16px 6px;}
.rl-page .rcard-year {font-family: var(--font-display); color: var(--orange); font-size: 18px; line-height: 1; letter-spacing: .4px;}
.rl-page .rcard-name {font-family: var(--font-display); font-size: 25px; line-height: .98; letter-spacing: .3px; color: var(--black); margin: 2px 0 6px; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; min-height: 49px;}
.rl-page .rcard-foot {display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 6px 16px 14px;}
.rl-page .rcard-member {font-size: 13.5px; color: var(--muted); min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; display: flex; align-items: center; gap: 6px;}
.rl-page .rcard-actions {display: flex; gap: 6px; flex-shrink: 0;}
.rl-page .rcard .like-btn, .rl-page .rm .like-btn.light {background: var(--white); color: var(--ink); border-color: var(--gray-border); backdrop-filter: none; min-height: 36px; padding: 0 12px; font-size: 13px;}
.rl-page .rcard .like-btn:hover {border-color: var(--orange);}
.rl-page .rcard .like-btn[aria-pressed="true"] {background: var(--orange); border-color: var(--orange); color: var(--white);}
.rl-page .rcard .icon-btn {width: 36px; height: 36px;}
.rl-page .cta-card {grid-column: 1 / -1; background: var(--black); color: var(--white); border-radius: 14px; padding: 26px 30px; display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: center; position: relative; overflow: hidden;}
.rl-page .cta-card::before {content: ''; position: absolute; right: -60px; top: -100px; width: 320px; height: 320px; background: radial-gradient(circle, rgba(244,123,32,.25), transparent 70%);}
.rl-page .cta-card h3 {font-family: var(--font-display); font-weight: 400; font-size: 32px; line-height: 1; letter-spacing: .4px; margin-bottom: 6px; position: relative;}
.rl-page .cta-card p {color: rgba(255,255,255,.62); font-size: 15px; position: relative;}
.rl-page .cta-card .btn {position: relative;}
.rl-page .search-wrap {position: relative;}
.rl-page .search-wrap svg {position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--soft); pointer-events: none;}
.rl-page .search-wrap input {height: 40px; width: 240px; border-radius: 100px; border: 1px solid var(--gray-border); background: var(--white); padding: 0 16px 0 38px; font: 500 14px var(--font-body); color: var(--ink);}
.rl-page .search-wrap input:focus {outline: none; border-color: var(--orange);}
.rl-page .rm .am-panel {width: min(1080px, 100%);}
.rl-page .rm-body {display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); overflow-y: auto;}
.rl-page .rm-media {background: var(--black); padding: 16px; display: flex; flex-direction: column; gap: 10px;}
.rl-page .rm-main {aspect-ratio: 4 / 3; border-radius: 10px; background-size: cover; background-position: center; transition: opacity .25s;}
.rl-page .rm-thumbs {display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px;}
.rl-page .rm-thumbs button {aspect-ratio: 4 / 3; border-radius: 8px; border: 2px solid transparent; background-size: cover; background-position: center; padding: 0; opacity: .6; transition: opacity .2s, border-color .2s;}
.rl-page .rm-thumbs button[aria-current="true"] {border-color: var(--orange); opacity: 1;}
.rl-page .rm-info {padding: 30px 28px; display: flex; flex-direction: column; gap: 16px; position: relative;}
.rl-page .rm-info .am-close {top: 14px; right: 14px; background: var(--white); color: var(--ink); border-color: var(--gray-border);}
.rl-page .rm-year {font-family: var(--font-display); color: var(--orange); font-size: 24px; line-height: 1;}
.rl-page .rm-name {font-family: var(--font-display); font-weight: 400; font-size: clamp(2.2rem, 4vw, 3.2rem); line-height: .94; color: var(--black); letter-spacing: .3px; padding-right: 50px;}
.rl-page .rm-by {display: flex; flex-wrap: wrap; align-items: center; gap: 10px; color: var(--muted); font-size: 15px;}
.rl-page .rm-by a {color: var(--ink); font-weight: 600;}
.rl-page .rm-actions {display: flex; flex-wrap: wrap; gap: 8px;}
.rl-page .rm-actions .like-btn {background: var(--white); color: var(--ink); border-color: var(--gray-border); backdrop-filter: none;}
.rl-page .rm-actions .like-btn[aria-pressed="true"] {background: var(--orange); border-color: var(--orange); color: var(--white);}
.rl-page .rm-profile h3 {font-size: 14px; font-weight: 700; color: var(--muted); margin-bottom: 10px;}
.rl-page .rm-profile ul {list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 8px;}
.rl-page .rm-profile li {display: flex; align-items: center; gap: 10px; background: var(--white); border: 1px solid var(--gray-border); border-radius: 10px; padding: 10px 12px; font-size: 14px; font-weight: 600;}
.rl-page .rm-profile li i {width: 30px; height: 30px; border-radius: 8px; background: var(--orange-tint); color: var(--orange-dark); display: flex; align-items: center; justify-content: center; flex-shrink: 0;}
.rl-page .rm-cta {display: flex; flex-wrap: wrap; gap: 10px; margin-top: auto;}
.rl-page .rm-cta .btn {flex: 1 1 auto;}
@media (max-width: 1100px) {
  .rl-page .rgrid {grid-template-columns: repeat(3, minmax(0, 1fr));}
  .rl-page .bridge-grid {grid-template-columns: 1fr; gap: 40px;}
}
@media (max-width: 900px) {
  .rl-page .rm-body {grid-template-columns: 1fr;}
}
@media (max-width: 768px) {
  .rl-page .cover.r-cover {padding-bottom: 160px;}
  .rl-page .rgrid {grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px;}
  .rl-page .rcard-body {padding: 10px 10px 2px;}
  .rl-page .rcard-year {font-size: 15px;}
  .rl-page .rcard-name {font-size: 19px; min-height: 38px;}
  .rl-page .rcard-foot {padding: 4px 10px 10px; flex-wrap: wrap;}
  .rl-page .rcard-member {width: 100%; font-size: 12.5px;}
  .rl-page .rcard .like-btn {min-height: 32px; padding: 0 10px;}
  .rl-page .rcard .icon-btn {width: 32px; height: 32px;}
  .rl-page .cta-card {grid-template-columns: 1fr; padding: 22px 20px;}
  .rl-page .bridge {padding: 72px 0; margin-top: 48px;}
  .rl-page .combo {min-height: 400px;}
  .rl-page .ride-card {width: 72%; transform: rotate(-5deg) translate(-14%, 14%);}
  .rl-page .ticket {width: 70%; right: 0; top: 0;}
  .rl-page .combo .stamp {font-size: 18px;}
  .rl-page .combo.approved .status {opacity: 0;}
  .rl-page .status {transition: opacity .2s, background .4s, color .4s;}
  .rl-page .search-wrap input {width: 100%; height: 48px; font-size: 16px;}
  .rl-page .rm-info {padding: 22px 18px calc(22px + env(safe-area-inset-bottom, 0px));}
  .rl-page .rm-profile ul {grid-template-columns: 1fr;}
  .rl-page .rm .am-close {position: fixed; top: calc(12px + env(safe-area-inset-top, 0px)); right: 12px; z-index: 5; box-shadow: 0 4px 14px rgba(0,0,0,.3);}
}

/* ---- site-specific ---- */
/* the body-level root rides-landing.js moves the dialog, filter sheet and toast into (out of the site's z-index:0 <main>,
   which kept them under the fixed navbar); it takes none of the page wrapper's layout */
.rl-page.rl-overlay-root {margin: 0; padding: 0; background: transparent; height: 0; min-height: 0; overflow: visible;}
/* sticky filter bar sits under the site's fixed 64px navbar (desktop); the navbar is static below 980px */
@media (min-width: 980px) { .rl-page .filter-bar { top: 64px; } }
@media (max-width: 979px) { .rl-page .filter-bar { top: 0; } }
/* no Ride of the Week / trending data: the cover keeps its own bottom room, nothing overlaps it */
.rl-page .bridge-grid.no-combo { grid-template-columns: minmax(0, 1fr); }
/* promoter block inserted into the infinite-scroll stream: spans every grid column */
.rl-page .rl-promo-item { grid-column: 1 / -1; }
.rl-page .rl-promo-item .promoter-box { margin: 10px 0; }

/* no JS: the cover photo is simply visible and "More rides" is a plain link; the page script adds html.rl-js
   (inline, first thing in the markup), which restores the artifact's fade-in (.ready) and the infinite-scroll loader */
.rl-page .cover-bg { opacity: .58; transform: none; }
html.rl-js .rl-page .cover-bg { opacity: 0; transform: scale(1.08); }
html.rl-js .rl-page .cover.ready .cover-bg { opacity: .62; transform: scale(1); }
html.rl-js .rl-page .r-cover.ready .cover-bg { opacity: .58; transform: scale(1); }
.rl-page .more-wrap .loader { display: none; }
html.rl-js .rl-page .more-wrap .rl-more-link { display: none; }
html.rl-js .rl-page .more-wrap .loader { display: inline-flex; }

@media (prefers-reduced-motion: reduce) {
  .rl-page *, .rl-page *::before, .rl-page *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .rl-page .cover-bg { opacity: .62; transform: none; }
}

/* audit: the promoter under the grid is held back while infinite scroll can still load more (layout shift); reserve loader and image space */
html.rl-ready .rl-page .promoter {display: none;}
html.rl-ready .rl-page .promoter.show {display: block;}
.rl-page .potw-img, .rl-page .rcard-img, .rl-page .ride-card .rc-img {background-color: #e9e9e9;}
.rl-page .more-wrap .loader {min-height: 38px;}
