/* GENERATED FILE - DO NOT EDIT.
   Source: shared/vlogs.css - run `npm run sync:shared` after editing. */

/*
 * YouTube vlog links (owner 2026-11-21, approved mock): shared/vlogs.js draws these on web and app.
 *   .yv  the public trip's "Trip vlogs" card      .yp  a profile's "Travel vlogs"      .yl  the Guide window's list
 * Every thumbnail box keeps 16:9 before its picture or player arrives, so nothing moves when they do.
 */

/* ——— shared parts: the YouTube mark, a thumbnail with its play button ——— */
.yv-yt { width: 22px; height: 16px; flex: 0 0 auto; }
.yv-thumb { position: relative; display: block; width: 100%; aspect-ratio: 16 / 9; border: 0; padding: 0; border-radius: 12px; overflow: hidden; background: #1b2a23; box-shadow: 0 6px 18px rgba(40, 30, 10, .14); cursor: pointer; }
.yv-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.yv-thumb::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 0, 0, 0) 55%, rgba(0, 0, 0, .26)); pointer-events: none; }
.yv-thumb.is-playing { cursor: default; }
.yv-thumb.is-playing::after { display: none; }
.yv-thumb iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; display: block; }
.yv-play { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 64px; height: 64px; border-radius: 50%; background: rgba(255, 250, 240, .96); display: grid; place-items: center; z-index: 1; box-shadow: 0 4px 14px rgba(0, 0, 0, .28); }
.yv-play svg { width: 24px; height: 24px; margin-left: 4px; fill: #213d31; }
.yv-thumb.is-small { border-radius: 10px; box-shadow: 0 3px 10px rgba(40, 30, 10, .12); }
.yv-thumb.is-small .yv-play { width: 36px; height: 36px; }
.yv-thumb.is-small .yv-play svg { width: 14px; height: 14px; margin-left: 2px; }
a.yv-thumb:focus-visible, .yv-row:focus-visible, .yp-card:focus-visible { outline: 3px solid #c9a24a; outline-offset: 3px; }
.yv-channel { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; }

/* ——— the public trip: Trip vlogs ——— */
.yv-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 40px; align-items: start; margin-top: 16px; }
.yv-main { min-width: 0; }
.yv-copy h3 { font-family: "Playfair Display", Georgia, serif; font-weight: 600; font-size: 22px; line-height: 1.3; color: #213d31; margin: 18px 0 10px; }
.yv-by { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; font: 500 14px/1.4 "DM Sans", system-ui, sans-serif; color: #5d584c; margin: 0; }
.yv-open { color: #213d31; font-weight: 600; text-decoration: underline; text-underline-offset: 4px; margin-left: 10px; }
.yv-more { display: flex; flex-direction: column; gap: 18px; min-width: 0; }
.yv-row { display: grid; grid-template-columns: 168px minmax(0, 1fr); gap: 16px; align-items: center; color: inherit; text-decoration: none; border-radius: 10px; }
.yv-row b { font: 600 15px/1.4 "DM Sans", system-ui, sans-serif; color: #213d31; }
/* a tap swaps a small video into the big box: every title keeps the same room (2 lines here, 3 on a phone), so the
   page below never moves when a longer or shorter title takes its place */
.yv:not(.is-one) .yv-copy h3, .yp:not(.is-one) .yv-copy h3 { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; min-height: 2.6em; }
.yv-row b, .yp-card b { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; overflow: hidden; }
.yp-card b { -webkit-line-clamp: 2; min-height: 2.8em; }
.yp-card small { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
/* one video: the picture on the left, its words beside it */
.yv.is-one .yv-grid { grid-template-columns: minmax(0, 1fr); }
.yv.is-one .yv-main { display: grid; grid-template-columns: minmax(0, 440px) minmax(0, 1fr); gap: 32px; align-items: center; }
.yv.is-one .yv-copy h3 { margin-top: 0; font-size: 24px; }
.yv.is-one .yv-by { row-gap: 14px; }
.yv.is-one .yv-open { margin-left: 0; flex-basis: 100%; }

/* ——— a profile: Travel vlogs ——— */
.yp { padding: 28px 32px 32px; border-radius: 22px; background: #fffdf8; border: 1px solid #e9dfc9; box-shadow: 0 10px 30px rgba(60, 45, 20, .06); box-sizing: border-box; color: #2c2a26; }
.yp-head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; margin-bottom: 22px; }
.yp-head h2 { font-family: "Playfair Display", Georgia, serif; font-weight: 500; font-size: 26px; line-height: 1.2; color: #213d31; margin: 0; }
.yp-head span { font: 500 14px/1.3 "DM Sans", system-ui, sans-serif; color: #6b6558; white-space: nowrap; }
.yp-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 36px; align-items: start; }
.yp .yv-copy h3 { font-size: 22px; margin: 18px 0 10px; }
.yp-from { font: 500 14px/1.4 "DM Sans", system-ui, sans-serif; color: #6b6558; margin: 0; }
.yp-from a, .yp-from button { color: #213d31; font: inherit; font-weight: 600; text-decoration: underline; text-underline-offset: 4px; background: none; border: 0; padding: 0; cursor: pointer; text-align: left; }
.yp-side { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 20px; min-width: 0; }
.yp-card { display: flex; flex-direction: column; gap: 10px; min-width: 0; color: inherit; text-decoration: none; border-radius: 10px; }
.yp-card b { font: 600 14px/1.4 "DM Sans", system-ui, sans-serif; color: #213d31; }
.yp-card small { font: 500 12.5px/1.35 "DM Sans", system-ui, sans-serif; color: #6b6558; }
.yp.is-one .yp-grid { grid-template-columns: minmax(0, 1fr); }
.yp.is-one .yv-main { display: grid; grid-template-columns: minmax(0, 480px) minmax(0, 1fr); gap: 32px; align-items: center; }
.yp.is-one .yv-copy h3 { margin-top: 0; }

/* ——— the Guide window: Your videos ——— */
.yl { display: flex; flex-direction: column; gap: 12px; margin: 14px 0 22px; padding: 0; list-style: none; }
.yl li { display: grid; grid-template-columns: 112px minmax(0, 1fr) 44px; gap: 16px; align-items: center; padding: 12px; border: 1px solid #e4dac4; border-radius: 14px; background: #fffdf8; }
.yl img { width: 112px; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 8px; display: block; background: #1b2a23; }
.yl b { display: block; font: 600 15px/1.4 "DM Sans", system-ui, sans-serif; color: #213d31; overflow-wrap: anywhere; }
.yl small { display: block; font: 500 13px/1.3 "DM Sans", system-ui, sans-serif; color: #6b6558; margin-top: 5px; }
.yl button { width: 44px; height: 44px; border-radius: 50%; border: 1px solid #ddd2ba; background: #fffdf8; color: #5d584c; font: 400 20px/1 "DM Sans", system-ui, sans-serif; cursor: pointer; display: grid; place-items: center; padding: 0; }
.yl-add { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 12px; align-items: center; margin-top: 14px; }
.yl-add input { width: 100%; min-height: 48px; box-sizing: border-box; padding: 0 16px; border: 1px solid #d8ccb4; border-radius: 12px; background: #fff; color: #2c2a26; font: 400 16px/1.3 "DM Sans", system-ui, sans-serif; }
.yl-add input::placeholder { color: #8a7d66; }
.yl-add input:focus { outline: none; border-color: #213d31; box-shadow: 0 0 0 3px rgba(33, 61, 49, .16); }
.yl-add .tg-btn { min-height: 48px; padding: 0 24px; border-radius: 999px; border: 1px solid #213d31; background: #fffdf8; color: #213d31; font: 600 15px/1 "DM Sans", system-ui, sans-serif; cursor: pointer; }
.yl-add .tg-btn[disabled], .yl-add input[disabled] { opacity: .6; cursor: default; }
.yl-note { font: 500 14px/1.45 "DM Sans", system-ui, sans-serif; color: #a8442a; margin: 12px 0 0; }
.yl-hint { font: 400 13px/1.55 "DM Sans", system-ui, sans-serif; color: #6b6558; margin: 14px 0 0; }
.tg-vlogs-ed .tg-ed-body { display: block; padding: 18px 22px 22px; }

/* ——— the app: Edit profile's channel box (plain type, not the name's display face) and its profile screen ——— */
.profile-card-yt { margin-top: 16px; }
.profile-card-yt input { font-family: "DM Sans", system-ui, sans-serif; font-size: 16px; font-weight: 500; }
.pfa-btn.yv-channel { flex: 0 0 auto; }
#pv-vlogs:not(:empty) { margin: 28px 0; }
.pfa-vlogs { margin: 20px 0; }

/* ——— phones and narrow windows: everything stacks; the smaller videos become a row to swipe ——— */
@media (max-width: 720px) {
  .yv-grid, .yp-grid { grid-template-columns: minmax(0, 1fr); gap: 26px; }
  .yv-play { width: 56px; height: 56px; }
  .yv-thumb.is-small .yv-play { width: 36px; height: 36px; }
  .yv-copy h3, .yp .yv-copy h3, .yv.is-one .yv-copy h3 { font-size: 19px; margin: 16px 0 8px; }
  .yv-open { margin-left: 0; flex-basis: 100%; margin-top: 8px; }
  .yv.is-one .yv-main, .yp.is-one .yv-main { display: block; }
  .yv.is-one .yv-by { row-gap: 8px; }
  .yv-more, .yp-side { display: flex; flex-direction: row; align-items: flex-start; gap: 14px; overflow-x: auto; scroll-snap-type: x proximity; -webkit-overflow-scrolling: touch; scrollbar-width: none; padding-bottom: 4px; }
  .yv-more::-webkit-scrollbar, .yp-side::-webkit-scrollbar { display: none; }
  .yv-more { margin-right: -30px; padding-right: 30px; }
  .yp-side { margin-right: -20px; padding-right: 20px; }
  .yv-row { grid-template-columns: minmax(0, 1fr); gap: 10px; flex: 0 0 172px; align-items: start; scroll-snap-align: start; }
  .yv-row b { font-size: 14px; line-height: 1.35; min-height: 4.05em; }
  .yv:not(.is-one) .yv-copy h3, .yp:not(.is-one) .yv-copy h3 { -webkit-line-clamp: 3; min-height: 3.9em; }
  .yp-card { flex: 0 0 168px; scroll-snap-align: start; }
  .yp { padding: 24px 20px 26px; }
  .yp-head { margin-bottom: 18px; }
  .yp-head h2 { font-size: 24px; }
  .yl li { grid-template-columns: 88px minmax(0, 1fr) 44px; gap: 12px; padding: 10px; }
  .tg-vlogs-ed .tg-ed-body { padding: 16px 16px 20px; }
  .yl img { width: 88px; }
  .yl b { font-size: 14px; line-height: 1.35; }
}

/* TikTok / Instagram (owner 2026-11-23): no picture for free, so the site's colours and mark; TikTok plays here */
.yv-face { position: absolute; inset: 0; display: grid; place-items: center; color: #fff; }
.yv-face.is-tt { background: radial-gradient(circle at 30% 25%, #2a2a2e, #0e0e10 70%); }
.yv-face.is-ig { background: linear-gradient(135deg, #feda75, #fa7e1e 25%, #d62976 55%, #962fbf 80%, #4f5bd5); }
.yv-face svg { width: 34%; max-width: 64px; height: auto; opacity: .92; }
.yv-face.is-tt svg { color: #fff; filter: drop-shadow(2px 0 0 #25f4ee) drop-shadow(-2px 0 0 #fe2c55); }
.yv-thumb.is-tt .yv-play { top: auto; bottom: 14px; left: auto; right: 14px; transform: none; width: 44px; height: 44px; }
.yv-thumb.is-small.is-tt .yv-play { bottom: 6px; right: 6px; width: 28px; height: 28px; }
.yv-thumb.is-small .yv-face svg { width: 30%; }
.yv-thumb.is-playing.is-tt { background: #000; }
.yv-by .yv-tt { color: #111; }
.yv-by .yv-ig { color: #b23a76; }
.yl .yl-face { position: relative; inset: auto; width: 100%; max-width: 112px; aspect-ratio: 16 / 9; border-radius: 8px; overflow: hidden; display: grid; }
.yl .yl-face svg { width: 26px; }
.yl .yl-cap { width: 100%; box-sizing: border-box; min-height: 40px; padding: 0 12px; border: 1px solid #d8ccb4; border-radius: 10px; background: #fff; color: #2c2a26; font: 400 15px/1.3 "DM Sans", system-ui, sans-serif; }
.yl .yl-cap:focus { outline: none; border-color: #213d31; box-shadow: 0 0 0 3px rgba(33, 61, 49, .16); }
/* the profile's channel buttons */
.yv-socials { display: inline-flex; flex-wrap: wrap; gap: 8px; }
.yv-channel.is-tt .yv-tt { color: #111; }
.yv-channel.is-ig .yv-ig { color: #b23a76; }

/* a saved video: its caption box and "Show first" (owner 2026-11-23) */
.yl-first { display: inline; padding: 0; border: 0; background: none; color: #1d3a2e; font: 700 13px/1.3 "DM Sans", system-ui, sans-serif; text-decoration: underline; text-underline-offset: 2px; cursor: pointer; }
.yl li .yl-cap { margin-bottom: 6px; }
/* "Show first" is a text link, not the round × (an older rule styles every button in the list) */
.yl .yl-first { display: inline; width: auto; height: auto; padding: 0; border: 0; border-radius: 0; background: none; color: #1d3a2e; font: 700 13px/1.3 "DM Sans", system-ui, sans-serif; text-decoration: underline; text-underline-offset: 2px; }

/* a video's description (owner 2026-11-23): its box in the editor, and under the big video's title */
.yl .yl-about { display: block; width: 100%; box-sizing: border-box; min-height: 60px; margin: 0 0 6px; padding: 9px 12px; border: 1px solid #d8ccb4; border-radius: 10px; background: #fff; color: #2c2a26; font: 400 14px/1.45 "DM Sans", system-ui, sans-serif; resize: vertical; }
.yl .yl-about:focus { outline: none; border-color: #213d31; box-shadow: 0 0 0 3px rgba(33, 61, 49, .16); }
.yl li { align-items: start; }
.yv-about { margin: 0 0 12px; font: 400 15px/1.55 "DM Sans", system-ui, sans-serif; color: #4a463d; white-space: pre-line; overflow-wrap: anywhere; }
.yv .yv-copy h3.has-about, .yp .yv-copy h3.has-about { min-height: 0; }
/* phone: the boxes take the full row under the picture */
@media (max-width: 520px) {
  .yl li { grid-template-columns: 88px minmax(0, 1fr) 44px; }
  .yl li > div { grid-column: 1 / -1; grid-row: 2; }
  .yl li > button[data-guide-vlog-remove] { grid-column: 3; grid-row: 1; }
}

/* two or three websites (owner 2026-11-24): the globe carries the count and opens Socials */
.yv-channel.is-web { position: relative; }
button.yv-channel { cursor: pointer; font: inherit; }
.yv-count { position: absolute; top: 3px; right: 3px; min-width: 15px; height: 15px; padding: 0 3px; border-radius: 999px; background: #1d3a2e; color: #fffdf8; font: 700 10px/15px "DM Sans", system-ui, sans-serif; text-align: center; pointer-events: none; }
