/* Release 4a: public title page (mockup P1). Tenant colours come from --landing-* tokens. */
/* base_public sets overflow-x: hidden on html and body, which stops position: sticky; clip keeps
   the same no-sideways-scroll result and lets the box (and the site menu) stick on this page. */
html, body.public-page { overflow-x: clip; }
/* The site menu scrolls away here, as on every other public page. */
.public-navbar { position: relative; }
.tp-crumbs { font-size: 14px; color: var(--landing-muted, #5f676d); margin: 8px 0 18px; }
.tp-crumbs a { color: inherit; }
.tp-grid { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); grid-template-areas: "main box"; gap: 36px; align-items: start; }
/* The box comes first in the page (its h1 is read first) but sits on the right on desktop. */
.tp-main { grid-area: main; min-width: 0; } .tp-box { grid-area: box; }
.tp-player { position: relative; display: grid; place-items: center; width: 100%; aspect-ratio: 16 / 9; padding: 0; border: 0; border-radius: 10px; overflow: hidden; cursor: pointer; background: var(--landing-dark, #1d1f23); }
.tp-player img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.tp-play { position: relative; width: 76px; height: 76px; border-radius: 50%; background: rgba(255, 255, 255, .94); box-shadow: 0 6px 24px rgba(0, 0, 0, .25); display: grid; place-items: center; }
.tp-play::after { content: ""; border-left: 22px solid #14181b; border-top: 14px solid transparent; border-bottom: 14px solid transparent; margin-left: 6px; }
.tp-play-label { position: absolute; left: 16px; bottom: 14px; color: #fff; font-weight: 600; font-size: 14.5px; text-shadow: 0 1px 6px rgba(0, 0, 0, .6); }
.tp-player:focus-visible { outline: 3px solid var(--landing-primary); outline-offset: 3px; }
.tp-player + iframe, .tp-main iframe { width: 100%; aspect-ratio: 16 / 9; border-radius: 10px; }
.tp-picture { width: 100%; border-radius: 10px; object-fit: cover; max-height: 520px; }
.tp-syn { font-size: 17.5px; line-height: 1.7; margin: 26px 0 0; max-width: 68ch; }
.tp-facts { display: grid; grid-template-columns: 170px minmax(0, 1fr); margin: 28px 0 0; border-top: 1px solid var(--landing-border, #e3e1db); }
.tp-facts dt, .tp-facts dd { margin: 0; padding: 12px 0; border-bottom: 1px solid var(--landing-border, #e3e1db); font-size: 15.5px; }
.tp-facts dt { color: var(--landing-muted, #5f676d); font-weight: 400; }
.tp-keywords { display: flex; flex-wrap: wrap; gap: 6px; margin: 18px 0 0; }
.tp-keywords a, .tp-tags span { font-size: 13px; background: var(--landing-surface, #efede7); color: inherit; border-radius: 999px; padding: 3px 10px; text-decoration: none; }
.tp-box { position: sticky; top: 20px; background: var(--landing-card-bg, #fff); color: var(--landing-card-text, inherit); border: 1px solid var(--landing-border, #e3e1db); border-radius: 10px; padding: 26px; }
.tp-box h1 { font-size: 30px; line-height: 1.15; margin: 0; overflow-wrap: anywhere; }
.tp-meta { color: var(--landing-muted, #5f676d); margin: 8px 0 14px; font-size: 15.5px; }
.tp-tags { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 18px; }
.tp-request { display: flex; width: 100%; justify-content: center; padding: 14px 24px; font-size: 16.5px; font-weight: 600; }
.tp-save { width: 100%; margin-top: 12px; border: 1px solid var(--landing-border, #d9dcdf); background: var(--landing-card-bg, #fff); font-weight: 600; }
.tp-save[aria-pressed="true"] { border-color: var(--landing-primary); }
.tp-help { font-size: 14px; color: var(--landing-muted, #5f676d); margin: 10px 0 0; text-align: center; }
.tp-help a { color: var(--landing-link); }
.tp-ref { font-size: 14px; color: var(--landing-muted, #5f676d); margin: 0; }
.tp-box hr { margin: 18px 0; }
.tp-trailer-link { margin: 12px 0 0; }
.tp-trailer-link a { color: var(--landing-link); font-weight: 600; }
.tp-videos { margin-top: 36px; } .tp-videos h2, .tp-more h2 { font-size: 22px; margin-bottom: 14px; }
.tp-video-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.tp-video-grid h3 { font-size: 16px; margin: 10px 0 2px; } .tp-video-grid p { color: var(--landing-muted, #5f676d); font-size: 14px; margin: 0; }
.tp-player--sm .tp-play { width: 56px; height: 56px; } .tp-player--sm .tp-play::after { border-left-width: 16px; border-top-width: 10px; border-bottom-width: 10px; margin-left: 4px; }
.tp-more { margin-top: 48px; }
.tp-cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.tp-card { display: flex; flex-direction: column; background: var(--landing-card-bg, #fff); border: 1px solid var(--landing-border, #e3e1db); border-radius: 10px; overflow: hidden; text-decoration: none; color: inherit; }
.tp-card:hover, .tp-card:focus-visible { border-color: var(--landing-primary); }
.tp-card img, .tp-card-img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; background: var(--landing-surface, #efede7); display: block; }
.tp-card b { padding: 12px 14px 0; font-size: 15.5px; line-height: 1.3; overflow-wrap: anywhere; }
.tp-card small { padding: 2px 14px 14px; color: var(--landing-muted, #5f676d); }
@media (max-width: 960px) {
  .tp-grid { grid-template-columns: minmax(0, 1fr); grid-template-areas: "box" "main"; }
  .tp-box { position: static; order: -1; }
  .tp-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
  .tp-facts { grid-template-columns: minmax(0, 1fr); } .tp-facts dt { border-bottom: 0; padding-bottom: 0; } .tp-facts dd { padding-top: 2px; }
  .tp-video-grid { grid-template-columns: minmax(0, 1fr); }
  .tp-box { padding: 20px; } .tp-box h1 { font-size: 25px; }
}

/* Release 4d: a buyer's account (Saved titles, My requests). */
.acct-head h1 { font-size: 34px; margin: 0; }
.acct-head p { color: var(--landing-muted, #5f676d); margin: 4px 0 0; }
.acct-tabs { display: flex; gap: 6px; margin: 24px 0 20px; border-bottom: 1px solid var(--landing-border, #e3e1db); }
.acct-tabs a { padding: 10px 14px; text-decoration: none; color: var(--landing-muted, #5f676d); font-weight: 600; border-bottom: 3px solid transparent; margin-bottom: -1px; }
.acct-tabs a[aria-current="page"] { color: inherit; border-bottom-color: var(--landing-primary); }
.acct-card-link { display: flex; flex-direction: column; color: inherit; text-decoration: none; }
.acct-remove { padding: 0 14px 14px; } .acct-remove .btn-link { font-size: 13.5px; color: var(--landing-muted, #5f676d); }
.acct-reqs { list-style: none; padding: 0; margin: 0; }
.acct-req { display: flex; justify-content: space-between; align-items: center; gap: 16px; background: var(--landing-card-bg, #fff); color: var(--landing-card-text, inherit); border: 1px solid var(--landing-border, #e3e1db); border-radius: 10px; padding: 14px 16px; margin-bottom: 12px; }
.acct-req b a { color: inherit; } .acct-req small { display: block; color: var(--landing-muted, #5f676d); }
.acct-st { font-size: 13px; font-weight: 600; padding: 3px 10px; border-radius: 999px; white-space: nowrap; }
.acct-st--new { background: #efede7; } .acct-st--answered { background: #e6f5ea; color: #1e7b34; } .acct-st--closed { border: 1px solid #e3e1db; color: #5f676d; }
.acct-note { color: var(--landing-muted, #5f676d); font-size: 14.5px; margin-top: 16px; }
.catalogue-empty { text-align: center; padding: 56px 20px; background: var(--landing-card-bg, #fff); color: var(--landing-card-text, inherit); border: 1px solid var(--landing-border, #e5e7eb); border-radius: 10px; }
