/* Route Stories: the approved mockup look (system sans, ink, cream, route blue, story orange), made responsive. */
:root {
  --ink: #14181f;
  --muted: #4a5260;
  --faint: #7a828e;
  --cream: #f6f4ef;
  --soft: #f2f3f5;
  --line: #e6e8ec;
  --white: #ffffff;
  --blue: #1a73e8;
  --blue-soft: #e8f0fd;
  --orange: #f97316;
  --amber: #c2410c;
  --green: #1e8e5a;
  --sans: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, system-ui, sans-serif;
  --gutter: clamp(16px, 3.2vw, 40px);
  --max: 1280px;
  color-scheme: light;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body { margin: 0; font: 16px/1.5 var(--sans); color: var(--ink); background: var(--cream); -webkit-font-smoothing: antialiased; }
h1, h2, h3, p { margin: 0; }
a { color: inherit; }
img { max-width: 100%; }
canvas { display: block; width: 100%; height: 100%; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; animation: none !important; } }

/* shared pieces */
.wm { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; font-size: 14px; letter-spacing: 0.24em; text-transform: uppercase; color: var(--ink); white-space: nowrap; text-decoration: none; }
.wm span { color: var(--muted); font-weight: 700; }
.wm img { width: 30px; height: 30px; border-radius: 8px; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 48px; padding: 0 22px; border-radius: 99px; font: 700 16px var(--sans); border: 0; white-space: nowrap; text-decoration: none; cursor: pointer; }
.btn svg { width: 16px; height: 16px; fill: currentColor; }
.btn-ink { background: var(--ink); color: #fff; }
.btn-white { background: #fff; color: var(--ink); }
.btn-line { background: #fff; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--line); }
.btn-glass { background: rgba(255, 255, 255, 0.16); color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, 0.6); backdrop-filter: blur(8px); }
.eyebrow { font-size: 12px; font-weight: 800; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted); }
.price { font-weight: 800; font-variant-numeric: tabular-nums; }
.w-route { color: var(--blue); }
.w-story { color: var(--orange); }

/* header: over the photo at the top, solid once you scroll */
.nav { position: fixed; z-index: 30; left: 0; right: 0; top: 0; height: calc(72px + env(safe-area-inset-top, 0px)); padding: env(safe-area-inset-top, 0px) var(--gutter) 0; display: flex; align-items: center; gap: 28px; border-bottom: 1px solid rgba(255, 255, 255, 0.18); transition: background 0.2s, border-color 0.2s; }
.nav .links { display: flex; gap: 22px; }
.nav .links a, .nav .right a { font-size: 15px; font-weight: 600; text-decoration: none; display: inline-flex; gap: 6px; align-items: center; }
.nav .links a.on { box-shadow: inset 0 -2px 0 currentColor; padding-bottom: 4px; }
.nav .right { margin-left: auto; display: flex; gap: 22px; align-items: center; }
.nav .right svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; }
.nav:not(.solid), .nav:not(.solid) .wm, .nav:not(.solid) .wm span { color: #fff; }
.nav.solid { background: rgba(246, 244, 239, 0.96); backdrop-filter: blur(10px); border-color: var(--line); color: var(--ink); }

/* hero (approved) */
.hero { position: relative; height: min(700px, 92vh); min-height: 560px; color: #fff; overflow: hidden; background: #3b4a55; }
.hero-img { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; object-position: 50% 40%; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(270deg, rgba(10, 14, 20, 0.66) 0%, rgba(10, 14, 20, 0.5) 38%, rgba(10, 14, 20, 0) 62%); }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10, 14, 20, 0.35) 0%, rgba(10, 14, 20, 0) 30%, rgba(10, 14, 20, 0) 45%, rgba(10, 14, 20, 0.62) 100%); }
.hero-in { position: absolute; z-index: 2; right: max(var(--gutter), calc((100vw - var(--max)) / 2 + 48px)); bottom: 64px; width: min(600px, calc(100% - 2 * var(--gutter))); display: grid; gap: 18px; }
.hero-in h1 { font-size: clamp(40px, 5.6vw, 72px); line-height: 1; letter-spacing: -0.035em; font-weight: 800; text-wrap: balance; text-shadow: 0 2px 18px rgba(10, 14, 20, 0.45); }
.hero-in h1 .w-route { color: #6aa8ff; }
.hero-sub { font-size: clamp(18px, 1.9vw, 24px); line-height: 1.3; font-weight: 600; letter-spacing: -0.015em; text-shadow: 0 2px 18px rgba(10, 14, 20, 0.45); }
.hero-sub .w-story { color: #ff9a4d; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-cta .btn { height: 54px; padding: 0 26px; font-size: 17px; }
.hero-credit { position: absolute; z-index: 2; left: var(--gutter); bottom: 50px; font-size: 12px; color: rgba(255, 255, 255, 0.75); }

/* search: one sentence with tappable answers */
.search { position: relative; z-index: 10; margin: -36px auto 0; width: min(calc(100% - 2 * var(--gutter)), calc(var(--max) - 2 * var(--gutter))); background: #fff; border-radius: 26px; padding: 14px 14px 14px 26px; display: flex; flex-wrap: wrap; align-items: center; gap: 10px; font-size: 20px; font-weight: 600; color: var(--muted); letter-spacing: -0.01em; box-shadow: 0 1px 2px rgba(20, 24, 31, 0.06), 0 18px 40px -18px rgba(20, 24, 31, 0.4); }
.w { white-space: nowrap; }
.dd { position: relative; }
.pick { display: inline-flex; align-items: center; gap: 6px; height: 46px; padding: 0 16px; border-radius: 14px; border: 0; background: var(--soft); color: var(--ink); font: 800 20px var(--sans); letter-spacing: -0.01em; white-space: nowrap; cursor: pointer; }
.pick .chev { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2.4; }
.pick[aria-expanded="true"] { box-shadow: inset 0 0 0 2px var(--ink); }
.pick.where { background: var(--blue-soft); color: var(--blue); padding: 0 6px 0 14px; cursor: text; }
.pick.where .pi { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.2; flex: none; }
.pick.where input { border: 0; background: none; outline: none; font: 800 20px var(--sans); color: var(--blue); width: 7ch; min-width: 4ch; padding: 0; letter-spacing: -0.01em; }
.pick.where input::placeholder { color: rgba(26, 115, 232, 0.55); font-weight: 600; }
.pick.where:focus-within { box-shadow: inset 0 0 0 2px var(--blue); }
.pick.where .x { width: 30px; height: 30px; border-radius: 50%; border: 0; background: rgba(26, 115, 232, 0.12); color: var(--blue); display: grid; place-items: center; cursor: pointer; flex: none; }
.pick.where .x svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2.6; }
.pick.where.empty .x { visibility: hidden; }
.search .go { margin-left: auto; height: 50px; }
.menu { position: absolute; left: 0; top: calc(100% + 8px); z-index: 20; min-width: max(100%, 230px); background: #fff; border-radius: 16px; padding: 6px; display: grid; font-size: 16px; letter-spacing: 0; box-shadow: 0 18px 40px -10px rgba(20, 24, 31, 0.4), 0 0 0 1px rgba(20, 24, 31, 0.06); }
.opt { display: flex; align-items: center; gap: 10px; padding: 11px 12px; border-radius: 10px; font: 700 16px var(--sans); color: var(--ink); cursor: pointer; white-space: nowrap; border: 0; background: none; text-align: left; width: 100%; }
.opt:hover, .opt.hl { background: var(--soft); }
.opt input { position: absolute; opacity: 0; pointer-events: none; }
.opt .cb { width: 20px; height: 20px; border-radius: 6px; box-shadow: inset 0 0 0 2px #cfd3d9; display: inline-grid; place-items: center; flex: none; }
.opt .cb svg { width: 13px; height: 13px; fill: none; stroke: #fff; stroke-width: 3; }
.opt input:checked + .cb { background: var(--blue); box-shadow: none; }
.opt input:focus-visible + .cb { outline: 3px solid var(--blue); outline-offset: 2px; }
.opt .oi { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.opt:has(input[type="radio"]:checked) { background: var(--blue-soft); color: var(--blue); }
.opt small { margin-left: auto; color: var(--faint); font-weight: 600; font-size: 13px; }
.menu-note { padding: 6px 12px 8px; font-size: 13px; font-weight: 500; color: var(--faint); max-width: 260px; white-space: normal; }

/* sections */
.sec { max-width: var(--max); margin: 0 auto; padding: 56px var(--gutter) 0; display: grid; gap: 20px; }
.sec-head { display: flex; align-items: end; justify-content: space-between; gap: 20px; }
.sec-head h2 { font-size: clamp(24px, 2.4vw, 30px); letter-spacing: -0.02em; font-weight: 800; line-height: 1.15; }
.sec-head p { color: var(--muted); font-size: 15px; margin-top: 4px; }
.scroll-btns { display: flex; gap: 8px; }
.scroll-btns button { width: 40px; height: 40px; border-radius: 50%; border: 0; background: #fff; box-shadow: inset 0 0 0 1.5px var(--line); font-size: 22px; line-height: 1; cursor: pointer; }

/* ready to listen shelf */
.shelf { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 20px) / 2); gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px; scrollbar-width: none; }
.shelf::-webkit-scrollbar { display: none; }
.lcard { scroll-snap-align: start; position: relative; height: 360px; border-radius: 22px; overflow: hidden; color: #fff; background: var(--ink); }
.lcard > canvas { position: absolute; inset: 0; }
.lcard::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10, 14, 20, 0) 30%, rgba(10, 14, 20, 0.55) 62%, rgba(10, 14, 20, 0.88) 100%); }
.lcard .len { position: absolute; z-index: 2; right: 14px; top: 14px; background: rgba(20, 24, 31, 0.7); backdrop-filter: blur(6px); font-size: 12px; font-weight: 700; padding: 5px 10px; border-radius: 99px; display: inline-flex; gap: 6px; align-items: center; }
.lcard .len svg { width: 13px; height: 13px; fill: none; stroke: currentColor; stroke-width: 2.2; }
.lc-in { position: absolute; z-index: 2; left: 22px; right: 22px; bottom: 20px; display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; }
.lc-title { display: grid; gap: 4px; }
.lc-title b { font-size: clamp(20px, 2vw, 26px); letter-spacing: -0.015em; line-height: 1.15; text-shadow: 0 2px 12px rgba(0, 0, 0, 0.4); }
.lc-title .pl { font-size: 14px; color: rgba(255, 255, 255, 0.82); }
.lc-play { display: flex; align-items: center; gap: 16px; }
.play { flex: none; width: 56px; height: 56px; border-radius: 50%; border: 0; background: #fff; display: grid; place-items: center; cursor: pointer; box-shadow: 0 8px 20px rgba(0, 0, 0, 0.35); }
.play svg { width: 22px; height: 22px; fill: var(--ink); margin-left: 3px; }
.wave { flex: 1; min-width: 0; height: 40px; display: flex; align-items: center; gap: 3px; overflow: hidden; }
.wave i { flex: 1 1 0; min-width: 1px; max-width: 4px; border-radius: 2px; background: rgba(255, 255, 255, 0.55); }
.lc-go { flex: none; color: #fff; font-weight: 700; font-size: 14px; text-decoration: none; white-space: nowrap; }
.lc-go:hover { text-decoration: underline; }
.dots { display: flex; justify-content: center; gap: 8px; margin-top: -4px; }
.dots button { width: 8px; height: 8px; padding: 0; border: 0; border-radius: 99px; background: #cfd3d9; cursor: pointer; transition: width 0.2s, background 0.2s; }
.dots button[aria-current="true"] { width: 24px; background: var(--ink); }

/* route cards */
.grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.card { background: #fff; border-radius: 20px; overflow: hidden; box-shadow: 0 1px 2px rgba(20, 24, 31, 0.06), 0 8px 24px -12px rgba(20, 24, 31, 0.18); display: flex; flex-direction: column; text-decoration: none; color: inherit; transition: transform 0.15s, box-shadow 0.15s; }
.card:hover { transform: translateY(-2px); box-shadow: 0 1px 2px rgba(20, 24, 31, 0.06), 0 14px 30px -12px rgba(20, 24, 31, 0.28); }
.card-media { position: relative; aspect-ratio: 4 / 3; background: #cfd8d0; }
.card-media canvas { position: absolute; inset: 0; }
.st { position: absolute; left: 12px; top: 12px; display: inline-flex; align-items: center; gap: 6px; height: 26px; padding: 0 10px; border-radius: 99px; font-size: 12px; font-weight: 700; white-space: nowrap; background: rgba(255, 255, 255, 0.94); color: var(--ink); }
.st::before { content: ""; width: 7px; height: 7px; border-radius: 50%; }
.st.ready::before { background: var(--green); }
.st.create::before { box-shadow: inset 0 0 0 1.5px var(--amber); }
.st i { font-style: normal; }
.acts { position: absolute; right: 12px; top: 12px; height: 26px; padding: 0 9px; border-radius: 99px; background: rgba(20, 24, 31, 0.6); color: #fff; font-size: 12px; font-weight: 700; display: inline-flex; align-items: center; gap: 5px; backdrop-filter: blur(6px); }
.acts svg { width: 13px; height: 13px; fill: none; stroke: currentColor; stroke-width: 2.2; }
.card-body { padding: 14px 16px 16px; display: grid; gap: 4px; flex: 1; align-content: start; }
.card-place { font-size: 13px; color: var(--muted); font-weight: 600; }
.card h3 { font-size: 17px; line-height: 1.25; letter-spacing: -0.01em; font-weight: 800; }
.card-facts { font-size: 14px; color: var(--muted); font-variant-numeric: tabular-nums; }
.card-foot { display: flex; justify-content: space-between; align-items: center; margin-top: auto; padding-top: 10px; border-top: 1px solid var(--line); font-size: 14px; color: var(--muted); }
.card-body .card-foot { margin-top: 8px; }
.card-foot .price { color: var(--ink); font-size: 16px; }
.link { border: 0; background: none; padding: 0; font: 700 15px var(--sans); color: var(--ink); cursor: pointer; white-space: nowrap; }
.link:hover { text-decoration: underline; }

/* nothing here yet */
.soon { background: #fff; border-radius: 22px; padding: clamp(22px, 4vw, 40px); display: grid; gap: 14px; justify-items: start; max-width: 760px; }
.soon h3 { font-size: clamp(22px, 2.4vw, 28px); letter-spacing: -0.02em; font-weight: 800; line-height: 1.15; text-wrap: balance; }
.soon p { color: var(--muted); max-width: 36em; }
.soon form { display: flex; flex-wrap: wrap; gap: 8px; width: 100%; max-width: 520px; }
.soon input { flex: 1; min-width: 200px; height: 48px; border-radius: 99px; border: 0; box-shadow: inset 0 0 0 1.5px var(--line); padding: 0 18px; font: 600 16px var(--sans); }
.soon input:focus { outline: none; box-shadow: inset 0 0 0 2px var(--blue); }
.soon .alt { font-size: 15px; color: var(--muted); }
.soon .alt a { font-weight: 700; color: var(--ink); }
.soon .ok { color: var(--green); font-weight: 700; }

/* create your own */
.own { background: #fff; border-radius: 26px; overflow: hidden; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); box-shadow: 0 1px 2px rgba(20, 24, 31, 0.06), 0 8px 24px -12px rgba(20, 24, 31, 0.18); }
.own-txt { padding: clamp(24px, 4vw, 48px); display: grid; gap: 14px; align-content: center; }
.own-txt h2 { font-size: clamp(26px, 3vw, 38px); letter-spacing: -0.025em; font-weight: 800; line-height: 1.08; }
.own-txt p { color: var(--muted); font-size: 17px; max-width: 32em; }
.own-cta { display: flex; align-items: center; gap: 16px; margin-top: 6px; }
.own-cta .price { font-size: 20px; }
.own-art { min-height: 260px; position: relative; }
.own-art canvas { position: absolute; inset: 0; }

.foot { max-width: var(--max); margin: 64px auto 0; padding: 32px var(--gutter) calc(40px + env(safe-area-inset-bottom, 0px)); border-top: 1px solid var(--line); display: grid; gap: 8px; color: var(--muted); font-size: 14px; }
.foot .fine { color: var(--faint); font-size: 13px; }

.toast { position: fixed; z-index: 50; left: 50%; bottom: calc(24px + env(safe-area-inset-bottom, 0px)); transform: translateX(-50%); max-width: calc(100% - 32px); background: var(--ink); color: #fff; padding: 12px 18px; border-radius: 14px; font-size: 15px; font-weight: 600; box-shadow: 0 12px 30px -10px rgba(0, 0, 0, 0.5); }

/* tablet */
@media (max-width: 1080px) {
  .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .search .go { margin-left: 0; }
}
/* phone */
@media (max-width: 720px) {
  .nav { gap: 12px; }
  .nav .links { display: none; }
  .nav .right { gap: 10px; }
  .nav .right a span { display: none; }
  .nav .right a { width: 40px; height: 40px; border-radius: 50%; justify-content: center; background: rgba(255, 255, 255, 0.18); }
  .nav.solid .right a { background: #fff; box-shadow: 0 1px 3px rgba(20, 24, 31, 0.12); }
  .hero { height: 560px; min-height: 0; }
  .hero::before { background: none; }
  .hero::after { background: linear-gradient(180deg, rgba(10, 14, 20, 0.45) 0%, rgba(10, 14, 20, 0) 22%, rgba(10, 14, 20, 0.15) 42%, rgba(10, 14, 20, 0.85) 100%); }
  .hero-img { object-position: 22% 50%; }
  .hero-in { left: var(--gutter); right: var(--gutter); width: auto; bottom: 64px; gap: 12px; }
  .hero-in h1 { font-size: 38px; }
  .hero-sub { font-size: 18px; }
  .hero-cta { flex-wrap: nowrap; gap: 8px; }
  .hero-cta .btn { flex: 1 1 0; min-width: 0; height: 48px; padding: 0 10px; font-size: 15px; }
  .hero-credit { top: calc(80px + env(safe-area-inset-top, 0px)); bottom: auto; left: auto; right: var(--gutter); font-size: 11px; }
  .search { margin-top: -28px; padding: 16px; gap: 8px; border-radius: 22px; font-size: 18px; }
  .pick, .pick.where input { font-size: 17px; }
  .pick { height: 42px; padding: 0 13px; border-radius: 12px; }
  .search .go { flex: 1 1 100%; height: 52px; margin-top: 4px; }
  .sec { padding-top: 40px; gap: 16px; }
  .scroll-btns { display: none; }
  .lcard { height: 300px; }
  .lc-go { display: none; }
  .lc-in { left: 16px; right: 16px; bottom: 16px; }
  .shelf { grid-auto-columns: 86%; gap: 12px; margin: 0 calc(-1 * var(--gutter)); padding: 0 var(--gutter) 8px; scroll-padding: 0 var(--gutter); }
  .grid { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .card { flex-direction: row; }
  .card-media { width: 38%; aspect-ratio: auto; min-height: 132px; flex: none; }
  .card-media .acts { display: none; }
  .card-media .st { left: 8px; top: 8px; height: 22px; padding: 0 8px; font-size: 11px; }
  .card-media .st.create, .st i { display: none; }
  .card-body { padding: 12px 14px; }
  .card h3 { font-size: 16px; }
  .card-facts { font-size: 13px; }
  .own { grid-template-columns: minmax(0, 1fr); }
  .own-art { min-height: 160px; order: -1; }
  .menu { position: fixed; left: 12px; right: 12px; top: auto; bottom: calc(12px + env(safe-area-inset-bottom, 0px)); padding: 10px; }
  .opt { padding: 14px 12px; font-size: 17px; }
}

/* route page */
.rd-hero { position: relative; height: min(560px, 70vh); min-height: 420px; color: #fff; background: #3b4a55; }
.rd-hero > canvas { position: absolute; inset: 0; }
.rd-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10, 14, 20, 0.4), rgba(10, 14, 20, 0) 28%, rgba(10, 14, 20, 0) 50%, rgba(10, 14, 20, 0.7)); }
.rd-in { position: absolute; z-index: 2; left: 0; right: 0; bottom: 40px; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); display: flex; justify-content: space-between; align-items: end; gap: 24px; }
.rd-in h1 { font-size: clamp(34px, 5vw, 60px); line-height: 1.02; letter-spacing: -0.03em; font-weight: 800; max-width: 14em; text-wrap: balance; text-shadow: 0 2px 16px rgba(0, 0, 0, 0.35); }
.rd-in .loc { font-size: 17px; font-weight: 600; margin-bottom: 12px; display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.rd-in .loc .st { position: static; }
.rd-in .btn svg { fill: none; stroke: currentColor; stroke-width: 2.2; }
.rd-body { max-width: var(--max); margin: 0 auto; display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 44px; padding: 28px var(--gutter) 0; }
.rd-main { display: grid; gap: 30px; align-content: start; min-width: 0; }
.back { display: inline-flex; align-items: center; gap: 6px; font-size: 15px; font-weight: 700; text-decoration: none; justify-self: start; }
.back svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2.4; }
.suit { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.suit .lbl { font-size: 13px; font-weight: 700; color: var(--muted); margin-right: 4px; }
.suit .a { display: inline-flex; align-items: center; gap: 6px; height: 32px; padding: 0 12px; border-radius: 99px; font-size: 14px; font-weight: 700; }
.suit .a svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 2; }
.suit .a.yes { color: #145c3c; background: #e9f6ef; }
.suit .a.no { color: var(--faint); text-decoration: line-through; background: #fff; box-shadow: inset 0 0 0 1px var(--line); }
.suit .a.unk { color: var(--muted); border: 1.5px dashed #cfd3d9; }
.suit .pair { display: inline-flex; align-items: center; gap: 8px; }
.suit em { font-style: normal; font-size: 12px; color: var(--faint); font-weight: 600; margin-right: 6px; }
.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(110px, 1fr)); background: #fff; border-radius: 20px; padding: 16px 6px; row-gap: 14px; }
.facts div { padding: 0 16px; display: grid; gap: 2px; border-left: 1px solid var(--line); }
.facts div:first-child { border-left: 0; }
.facts span { font-size: 13px; color: var(--muted); font-weight: 600; }
.facts b { font-size: 19px; font-variant-numeric: tabular-nums; letter-spacing: -0.01em; white-space: nowrap; }
.lede { font-size: clamp(19px, 1.8vw, 22px); line-height: 1.45; letter-spacing: -0.01em; font-weight: 600; max-width: 34em; text-wrap: pretty; }
.h3 { font-size: 22px; letter-spacing: -0.015em; font-weight: 800; }
.block { display: grid; gap: 14px; }
.preview { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 18px; align-items: center; background: var(--ink); color: #fff; border-radius: 20px; padding: 18px 22px; }
.preview .play { width: 56px; height: 56px; box-shadow: none; }
.preview b { font-size: 17px; display: block; }
.preview span { font-size: 14px; color: rgba(255, 255, 255, 0.7); }
.stories { display: grid; background: #fff; border-radius: 20px; overflow: hidden; }
.story { display: grid; grid-template-columns: 60px minmax(0, 1fr); gap: 16px; padding: 14px 20px; border-top: 1px solid var(--line); align-items: center; }
.story:first-child { border-top: 0; }
.story .k { font-size: 13px; font-weight: 800; color: var(--muted); font-variant-numeric: tabular-nums; }
.story b { font-size: 16px; display: block; }
.story span { font-size: 14px; color: var(--muted); }
.story.more { color: var(--muted); font-weight: 600; grid-template-columns: 1fr; text-align: center; font-size: 15px; }
.first { background: #fff; border-radius: 20px; padding: 24px; display: grid; gap: 16px; }
.first p { color: var(--muted); font-size: 16px; line-height: 1.55; max-width: 40em; }
.trio { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.trio div { background: var(--soft); border-radius: 14px; padding: 14px; display: grid; gap: 4px; font-size: 14px; color: var(--muted); align-content: start; }
.trio b { color: var(--ink); font-size: 15px; display: flex; gap: 8px; align-items: center; }
.trio svg { width: 18px; height: 18px; fill: none; stroke: var(--blue); stroke-width: 2; flex: none; }
.maprow { background: #fff; border-radius: 20px; overflow: hidden; }
.maprow .m { height: clamp(260px, 34vw, 420px); position: relative; }
.maprow .m canvas { position: absolute; inset: 0; }
.elev { padding: 16px 20px 18px; display: grid; gap: 8px; border-top: 1px solid var(--line); }
.elev .t { display: flex; justify-content: space-between; font-size: 13px; color: var(--muted); font-weight: 600; }
.elev svg { width: 100%; height: 80px; display: block; }
.practical { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.practical div { background: #fff; border-radius: 16px; padding: 16px 18px; display: grid; gap: 4px; align-content: start; }
.practical span { font-size: 13px; color: var(--muted); font-weight: 600; }
.practical b { font-size: 15px; font-weight: 600; line-height: 1.4; }
.practical a { font-size: 14px; font-weight: 700; text-decoration: none; color: var(--blue); }
.grid.near { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.buy { position: sticky; top: 96px; background: #fff; border-radius: 24px; padding: 24px; display: grid; gap: 16px; box-shadow: 0 1px 2px rgba(20, 24, 31, 0.06), 0 20px 40px -20px rgba(20, 24, 31, 0.25); align-self: start; }
.buy .pr { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
.buy .pr .price { font-size: 34px; letter-spacing: -0.02em; }
.buy .pr span { color: var(--muted); font-size: 14px; font-weight: 600; }
.buy ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; font-size: 15px; }
.buy li { display: flex; gap: 10px; align-items: flex-start; }
.buy li svg { width: 18px; height: 18px; flex: none; margin-top: 2px; fill: none; stroke: var(--blue); stroke-width: 2.4; }
.buy .small { font-size: 13px; color: var(--muted); text-align: center; }
.btn-block { width: 100%; height: 56px; font-size: 17px; }
.readybox { border-radius: 14px; padding: 12px 14px; background: #e9f6ef; color: #145c3c; font-size: 14px; font-weight: 600; display: flex; gap: 10px; align-items: center; }
.readybox.create { background: #fdf0e6; color: #8a3a0c; }
.readybox svg { width: 18px; height: 18px; flex: none; fill: none; stroke: currentColor; stroke-width: 2.2; }
.sticky-buy { display: none; }
#route-view + .foot { margin-top: 64px; }

@media (max-width: 960px) {
  .rd-body { grid-template-columns: minmax(0, 1fr); }
  .buy { display: none; }
  .sticky-buy { display: flex; position: fixed; z-index: 25; left: 0; right: 0; bottom: 0; gap: 14px; align-items: center; padding: 12px var(--gutter) calc(12px + env(safe-area-inset-bottom, 0px)); background: rgba(255, 255, 255, 0.97); backdrop-filter: blur(10px); box-shadow: 0 -1px 0 var(--line), 0 -10px 30px -12px rgba(20, 24, 31, 0.2); }
  .sticky-buy .p { display: grid; }
  .sticky-buy .p b { font-size: 22px; }
  .sticky-buy .p span { font-size: 12px; color: var(--muted); font-weight: 600; }
  .sticky-buy .btn { flex: 1; height: 52px; }
  body:has(#route-view:not([hidden])) .foot { padding-bottom: calc(110px + env(safe-area-inset-bottom, 0px)); }
}
@media (max-width: 720px) {
  .rd-hero { height: 440px; min-height: 0; }
  .rd-in { bottom: 24px; flex-direction: column; align-items: stretch; gap: 14px; }
  .rd-in .btn { display: none; }
  .rd-in .loc { font-size: 15px; }
  .rd-body { padding-top: 20px; }
  .rd-main { gap: 24px; }
  .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); padding: 14px 4px; }
  .facts div:nth-child(odd) { border-left: 0; }
  .facts b { font-size: 17px; }
  .trio, .practical, .grid.near { grid-template-columns: minmax(0, 1fr); }
  .story { grid-template-columns: 52px minmax(0, 1fr); padding: 12px 16px; }
}

/* checkout and after paying */
.co { max-width: 1080px; margin: 0 auto; padding: calc(100px + env(safe-area-inset-top, 0px)) var(--gutter) 0; display: grid; gap: 22px; }
.co-grid { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 28px; align-items: start; }
.co-sum { background: #fff; border-radius: 22px; overflow: hidden; box-shadow: 0 1px 2px rgba(20, 24, 31, 0.06), 0 8px 24px -12px rgba(20, 24, 31, 0.18); }
.co-img { position: relative; aspect-ratio: 16 / 9; }
.co-img canvas { position: absolute; inset: 0; }
.co-sum-in { padding: 18px 20px 20px; display: grid; gap: 6px; }
.co-name { font-size: 22px; letter-spacing: -0.015em; line-height: 1.2; }
.co-when { margin-top: 8px; padding: 12px 14px; border-radius: 12px; background: var(--soft); font-size: 14px; color: var(--muted); font-weight: 600; }
.co-total { display: flex; justify-content: space-between; align-items: baseline; margin-top: 10px; padding-top: 14px; border-top: 1px solid var(--line); font-weight: 700; }
.co-total .price { font-size: 26px; }
.co-pay { background: #fff; border-radius: 22px; padding: clamp(20px, 3vw, 32px); display: grid; gap: 14px; box-shadow: 0 1px 2px rgba(20, 24, 31, 0.06), 0 8px 24px -12px rgba(20, 24, 31, 0.18); }
.co-pay h1 { font-size: clamp(22px, 2.4vw, 28px); letter-spacing: -0.02em; line-height: 1.15; text-wrap: balance; }
.co-field { display: grid; gap: 6px; font-size: 14px; font-weight: 700; }
.co-field input, .fix-form input { height: 52px; border-radius: 14px; border: 0; box-shadow: inset 0 0 0 1.5px var(--line); padding: 0 16px; font: 600 17px var(--sans); color: var(--ink); background: #fff; }
.co-field input:focus, .fix-form input:focus { outline: none; box-shadow: inset 0 0 0 2px var(--blue); }
.co-hint { font-size: 14px; color: var(--muted); margin-top: -4px; }
.co-err { color: #b42318; font-size: 14px; font-weight: 700; }
.pay-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.paybtn { height: 52px; border-radius: 12px; border: 0; background: #000; color: #fff; font: 700 16px var(--sans); cursor: pointer; display: inline-flex; align-items: center; justify-content: center; gap: 8px; }
.paybtn[data-pay="Google Pay"] { background: #fff; color: var(--ink); box-shadow: inset 0 0 0 1.5px #cfd3d9; }
.or { display: flex; align-items: center; gap: 12px; color: var(--faint); font-size: 13px; font-weight: 600; }
.or::before, .or::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.co-demo { font-size: 13px; color: var(--muted); background: #fdf6e3; border-radius: 12px; padding: 12px 14px; }
.co-demo b { color: #7a5200; }
button:disabled { opacity: 0.6; cursor: default; }
.spin { width: 16px; height: 16px; border-radius: 50%; border: 2.5px solid currentColor; border-right-color: transparent; animation: spin 0.8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.ty-head { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 28px; align-items: center; background: #fff; border-radius: 24px; overflow: hidden; box-shadow: 0 1px 2px rgba(20, 24, 31, 0.06), 0 8px 24px -12px rgba(20, 24, 31, 0.18); }
.ty-img { position: relative; height: 100%; min-height: 260px; }
.ty-img canvas { position: absolute; inset: 0; }
.ty-txt { padding: clamp(20px, 3vw, 36px) clamp(20px, 3vw, 36px) clamp(20px, 3vw, 36px) 0; display: grid; gap: 14px; justify-items: start; }
.ty-txt h1 { font-size: clamp(26px, 3.2vw, 40px); letter-spacing: -0.025em; line-height: 1.08; text-wrap: balance; }
.ty-txt p { color: var(--muted); font-size: 17px; max-width: 34em; }
.paid { display: inline-flex; align-items: center; gap: 6px; height: 30px; padding: 0 12px; border-radius: 99px; background: #e9f6ef; color: #145c3c; font-size: 14px; font-weight: 800; }
.paid svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 3; }
.ty-cta { display: flex; flex-wrap: wrap; gap: 10px; }
.steps { list-style: none; margin: 0; padding: 22px 24px; background: #fff; border-radius: 22px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; counter-reset: s; }
.steps li { display: grid; gap: 2px; padding-top: 16px; border-top: 3px solid var(--line); font-size: 14px; color: var(--muted); }
.steps li b { color: var(--ink); font-size: 15px; }
.steps li.done { border-color: var(--green); }
.steps li.now { border-color: var(--orange); }
.steps li.now b::after { content: " · now"; color: var(--orange); }
.mailbox { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 16px; background: var(--blue-soft); border-radius: 22px; padding: 22px 24px; }
.mailbox .mi { width: 28px; height: 28px; fill: none; stroke: var(--blue); stroke-width: 1.8; margin-top: 2px; }
.mailbox b { font-size: 18px; }
.mailbox p { color: var(--muted); max-width: 44em; margin-top: 4px; }
.mailbox strong { color: var(--ink); }
.mailbox .fix a { font-weight: 700; color: var(--blue); }
.fix-form { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.fix-form input { flex: 1; min-width: 200px; height: 48px; }
.co-note { font-size: 14px; color: var(--muted); }
@media (max-width: 820px) {
  .co { padding-top: calc(84px + env(safe-area-inset-top, 0px)); }
  .co-grid, .ty-head { grid-template-columns: minmax(0, 1fr); }
  .co-img { aspect-ratio: 21 / 9; }
  .ty-img { min-height: 160px; }
  .ty-txt { padding: 0 20px 22px; }
  .steps { grid-template-columns: minmax(0, 1fr); }
  .pay-row { grid-template-columns: minmax(0, 1fr); }
}

/* My Routes and sign-in */
.my { max-width: 920px; }
.my-head { display: flex; justify-content: space-between; align-items: end; gap: 16px; flex-wrap: wrap; }
.my-head h1 { font-size: clamp(30px, 3.6vw, 44px); letter-spacing: -0.03em; line-height: 1.05; }
.my-head p { color: var(--muted); margin-top: 6px; }
.my-head a:not(.btn) { color: var(--blue); font-weight: 700; }
.mine-list { display: grid; gap: 14px; }
.mine { display: grid; grid-template-columns: 220px minmax(0, 1fr); background: #fff; border-radius: 20px; overflow: hidden; box-shadow: 0 1px 2px rgba(20, 24, 31, 0.06), 0 8px 24px -12px rgba(20, 24, 31, 0.18); }
.mine-img { position: relative; min-height: 150px; display: block; }
.mine-img canvas { position: absolute; inset: 0; }
.mine-in { padding: 16px 20px; display: grid; gap: 6px; justify-items: start; align-content: center; }
.mine-in .st { position: static; box-shadow: inset 0 0 0 1px var(--line); }
.mine-in b { font-size: 19px; letter-spacing: -0.01em; }
.mine-in b a { text-decoration: none; }
.mine-in .btn { height: 44px; margin-top: 6px; }
.mine-when { font-size: 14px; color: var(--muted); font-weight: 600; }
.st.making::before { background: var(--orange); animation: breathe 1.6s ease-in-out infinite; }
@keyframes breathe { 50% { opacity: 0.3; } }
.si-box { background: #fff; border-radius: 22px; padding: clamp(20px, 3vw, 28px); max-width: 520px; box-shadow: 0 1px 2px rgba(20, 24, 31, 0.06), 0 8px 24px -12px rgba(20, 24, 31, 0.18); }
.signin { display: grid; gap: 12px; }
.mailbox.big { padding: 28px; }
.mailbox.big b { font-size: 24px; letter-spacing: -0.015em; }
.code-box { background: #fff; border-radius: 22px; padding: 22px 24px; display: grid; gap: 6px; max-width: 520px; }
.code-box p { color: var(--muted); font-size: 15px; }
.code-form { display: flex; gap: 8px; margin-top: 6px; }
.code-form input { width: 9ch; flex: 1; height: 52px; border-radius: 14px; border: 0; box-shadow: inset 0 0 0 1.5px var(--line); padding: 0 16px; font: 700 22px var(--sans); letter-spacing: 0.3em; font-variant-numeric: tabular-nums; }
.code-form input:focus { outline: none; box-shadow: inset 0 0 0 2px var(--blue); }
.co-demo a, .co-note a { color: var(--blue); font-weight: 700; }
.nav .right a.on { box-shadow: inset 0 -2px 0 currentColor; }
@media (max-width: 720px) {
  .mine { grid-template-columns: 110px minmax(0, 1fr); }
  .mine-img { min-height: 0; }
  .mine-in { padding: 12px 14px; }
  .mine-in b { font-size: 16px; }
  .nav .right a.on { box-shadow: inset 0 0 0 2px currentColor; }
}

/* your own route: upload a GPX, check it, pay */
.up { max-width: 1080px; }
.up-head { display: grid; gap: 10px; max-width: 42em; }
.up-head h1 { font-size: clamp(30px, 3.6vw, 44px); letter-spacing: -0.03em; line-height: 1.05; text-wrap: balance; }
.up-head p { color: var(--muted); font-size: 17px; }
.drop { position: relative; display: grid; justify-items: center; gap: 12px; padding: clamp(28px, 5vw, 56px) 20px; border-radius: 24px; background: #fff; border: 2px dashed #c9ced6; text-align: center; cursor: pointer; transition: border-color 0.15s, background 0.15s; }
.drop:hover, .drop.over { border-color: var(--blue); background: #f4f8fe; }
.drop:focus-within { outline: 2px solid var(--blue); outline-offset: 3px; }
.drop .di { width: 40px; height: 40px; fill: none; stroke: var(--blue); stroke-width: 1.8; }
.drop b { font-size: 20px; letter-spacing: -0.01em; }
.drop input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.drop .small { font-size: 14px; color: var(--muted); max-width: 30em; }
.up-err { background: #fdecea; border-radius: 12px; padding: 12px 14px; }
.up-grid { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 28px; align-items: start; }
.up-main { display: grid; gap: 14px; min-width: 0; }
.up-file { display: flex; gap: 10px; align-items: center; font-size: 15px; color: #145c3c; background: #e9f6ef; border-radius: 14px; padding: 12px 14px; }
.up-file svg { width: 18px; height: 18px; flex: none; fill: none; stroke: currentColor; stroke-width: 2.4; }
.up-file b { word-break: break-all; }
.map-note { position: absolute; right: 10px; top: 10px; font-size: 12px; font-weight: 700; color: var(--muted); background: rgba(255, 255, 255, 0.92); border-radius: 99px; padding: 4px 10px; }
.up-form { position: sticky; top: 96px; }
.up-acts { border: 0; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.up-acts legend { font-size: 14px; font-weight: 700; margin-bottom: 6px; padding: 0; }
.chk { position: relative; display: inline-flex; align-items: center; gap: 7px; height: 42px; padding: 0 16px; border-radius: 12px; font-weight: 700; font-size: 15px; box-shadow: inset 0 0 0 1.5px var(--line); cursor: pointer; }
.chk input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.chk svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; }
.chk:has(input:checked) { background: var(--ink); color: #fff; box-shadow: none; }
.chk:has(input:focus-visible) { outline: 2px solid var(--blue); outline-offset: 2px; }
.trim { display: flex; gap: 12px; align-items: flex-start; padding: 14px; border-radius: 14px; background: var(--soft); cursor: pointer; }
.trim input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--ink); flex: none; }
.trim span { display: grid; gap: 2px; font-size: 14px; color: var(--muted); }
.trim b { color: var(--ink); font-size: 15px; }
.up-form .small { font-size: 13px; color: var(--muted); text-align: center; }
@media (max-width: 960px) {
  .up-grid { grid-template-columns: minmax(0, 1fr); }
  .up-form { position: static; }
}
.up .trio div { background: #fff; }
/* three steps */
.stepper { list-style: none; margin: 0; padding: 0; display: flex; gap: 8px; flex-wrap: wrap; font-size: 14px; font-weight: 700; color: var(--faint); }
.stepper li { display: inline-flex; align-items: center; gap: 8px; }
.stepper li + li::before { content: ""; width: 24px; height: 1.5px; background: var(--line); margin-right: 2px; }
.stepper span { width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; font-size: 12px; box-shadow: inset 0 0 0 1.5px var(--line); }
.stepper .now { color: var(--ink); }
.stepper .now span { background: var(--ink); color: #fff; box-shadow: none; }
.stepper .done { color: var(--muted); }
.stepper .done span { background: #e9f6ef; color: #145c3c; box-shadow: none; }
.up .or { max-width: 520px; width: 100%; justify-self: center; }
.gl-form { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px 10px; align-items: end; max-width: 640px; width: 100%; justify-self: center; }
.gl-form .co-field input { width: 100%; }
.gl-form .btn { height: 52px; }
.gl-form .co-hint { grid-column: 1 / -1; margin: 0; }
.facts.mini { padding: 12px 0; background: var(--soft); border-radius: 14px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.facts.mini div { padding: 0 12px; }
.facts.mini b { font-size: 16px; }
.up-form .lbl { font-size: 14px; }
.times { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.times li, .times.one { display: grid; grid-template-columns: 20px 1fr auto; column-gap: 10px; align-items: center; padding: 10px 12px; border-radius: 12px; background: var(--soft); font-size: 15px; }
.times svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; grid-row: span 2; }
.times b { font-variant-numeric: tabular-nums; }
.times em { grid-column: 2 / -1; font-style: normal; font-size: 13px; font-weight: 700; }
.times .ideal em, .times .ok em { color: var(--green); }
.times .split em { color: var(--amber); }
.times .no { color: var(--faint); }
.times .no em { color: #b42318; }
.up-form > .small { justify-self: center; color: var(--muted); }
.maprow .m.short { height: clamp(220px, 26vw, 320px); }
.up-where { display: flex; gap: 12px; align-items: center; background: #fff; border-radius: 16px; padding: 14px 16px; }
.up-where svg { width: 22px; height: 22px; flex: none; fill: none; stroke: var(--blue); stroke-width: 2; }
.up-where div { display: grid; }
.up-where b { font-size: 17px; }
.up-where span { font-size: 13px; color: var(--muted); font-weight: 600; }
.co-field textarea { border-radius: 14px; border: 0; box-shadow: inset 0 0 0 1.5px var(--line); padding: 12px 16px; font: 500 16px/1.45 var(--sans); color: var(--ink); background: #fff; resize: vertical; }
.co-field textarea:focus { outline: none; box-shadow: inset 0 0 0 2px var(--blue); }
.co-field i { font-style: normal; color: var(--faint); font-weight: 600; }
@media (max-width: 720px) {
  .stepper li:not(.now) { font-size: 0; gap: 0; }
  .stepper li + li::before { width: 14px; margin-right: 6px; }
  .gl-form { grid-template-columns: minmax(0, 1fr); }
  .gl-form .btn { width: 100%; }
}
.times.one svg { grid-row: span 2; }
.times.ideal em, .times.ok em { color: var(--green); }
.times.split em { color: var(--amber); }
.times.no em { color: #b42318; }
.up-form .co-hint a { color: var(--blue); font-weight: 700; }
.up-change .up-acts legend { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.up-pick { display: grid; gap: 8px; background: #fff; border-radius: 20px; padding: 18px 20px; }
.up-pick .up-acts legend { font-size: 17px; font-weight: 800; letter-spacing: -0.01em; margin-bottom: 10px; }
.up-pick .chk { height: 48px; padding: 0 20px; font-size: 16px; }
.up-in { border: 0; padding: 0; margin: 0; min-width: 0; display: grid; gap: 22px; }
.up-in:disabled .drop { opacity: 0.55; cursor: not-allowed; border-color: #c9ced6; background: #fff; }
.up-in:disabled .gl-form { opacity: 0.55; }
/* a route like yours */
.match { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; align-items: stretch; }
.match.n3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.match.n4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.opt-card.mine-opt { background: var(--soft); box-shadow: inset 0 0 0 1.5px var(--line); }
.opt-card.mine-opt .opt-img { margin: 8px 8px 0; border-radius: 16px; overflow: hidden; }
.opt-card { position: relative; background: #fff; border-radius: 22px; overflow: hidden; display: grid; grid-template-rows: auto 1fr; box-shadow: 0 1px 2px rgba(20, 24, 31, 0.06), 0 8px 24px -12px rgba(20, 24, 31, 0.18); }
.opt-card.best { box-shadow: inset 0 0 0 2px var(--ink), 0 8px 24px -12px rgba(20, 24, 31, 0.25); }
.opt-img { position: relative; aspect-ratio: 16 / 9; }
.opt-img canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.opt-in { padding: 18px 20px 20px; display: grid; gap: 6px; align-content: start; }
.opt-in .btn { margin-top: 10px; }
.opt-card .badge { position: absolute; z-index: 2; right: 12px; top: 12px; background: var(--green); color: #fff; font-size: 12px; font-weight: 800; padding: 5px 10px; border-radius: 99px; }
@media (max-width: 1080px) { .match.n3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 720px) { .match, .match.n3, .match.n4 { grid-template-columns: minmax(0, 1fr); } }
.edit-own { justify-self: start; margin-top: 4px; font-size: 14px; }
.own-edit { display: grid; gap: 10px; width: 100%; margin-top: 8px; padding-top: 12px; border-top: 1px solid var(--line); }
.own-edit-row { display: flex; gap: 8px; }
.own-edit-row .btn { height: 44px; }
