/* Title pages: a title in the library, one of its seasons, and the pages of
   titles that aren't in Lyra (docs/designs/lyra-web-screens.md, 3.6 to 3.11).
   Narrow is the phone's layout; a window 600 px wide or more is "wide". */

/* --- the frame: the tint behind, the bar on top --- */
.tp { position: relative; min-height: 100vh; }
.tp-tint { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 0; opacity: 0; transition: opacity .35s ease-out; pointer-events: none; }
.tp-tint.in { opacity: 1; }
.tp-body { position: relative; z-index: 1; display: flex; flex-direction: column; gap: 22px; padding-bottom: calc(32px + env(safe-area-inset-bottom)); }
.tp-pad { padding-left: var(--margin); padding-right: var(--margin); }
.tp-hero + * { margin-top: -22px; }            /* the facts sit right under the picture */
.tp-bar { position: fixed; top: 0; left: 0; right: 0; z-index: 60; display: flex; align-items: center; height: calc(52px + env(safe-area-inset-top)); padding: env(safe-area-inset-top) 12px 0; pointer-events: none; transition: background-color .2s ease-out; }
.tp-bar.solid { background-color: var(--bar, var(--canvas)); pointer-events: auto; }
.tp-sn .tp-bar.solid { background-color: rgba(17,12,21,.86); -webkit-backdrop-filter: blur(22px) saturate(1.5); backdrop-filter: blur(22px) saturate(1.5); }
.tp-back { pointer-events: auto; width: 36px; height: 36px; display: grid; place-items: center; border-radius: 50%; background: rgba(0,0,0,.34); color: #fff; -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); transition: background .12s ease-out; }
.tp-back:hover { background: rgba(0,0,0,.52); }
.tp-back .icon { stroke-width: 2.2; }
.tp-bar-name { position: absolute; left: 60px; right: 60px; bottom: 0; height: 52px; line-height: 52px; text-align: center; font-size: 17px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; opacity: 0; transition: opacity .2s ease-out; }
.tp-bar.solid .tp-bar-name { opacity: 1; }
@media (min-width: 600px) {
  .tp { margin-top: -68px; }                    /* the picture runs up under the floating tabs */
  .tp-bar { height: 68px; padding: 0 28px; }
  .tp-bar-name { left: 78px; right: auto; height: 68px; line-height: 68px; text-align: left; max-width: calc(50vw - 360px); }
}
/* wide, but with no room beside the tabs: Back and the name sit under them */
@media (min-width: 600px) and (max-width: 759px) {
  .tp-bar { height: 112px; align-items: flex-end; padding-bottom: 8px; }
  .tp-bar-name { bottom: 8px; height: 36px; line-height: 36px; max-width: calc(100vw - 110px); }
}

/* --- the hero --- */
.tp-hero { position: relative; flex: none; height: min(130vw, 600px); }
.tp-hero-pic { position: absolute; inset: 0; -webkit-mask-image: linear-gradient(180deg, #000 55%, transparent 97%); mask-image: linear-gradient(180deg, #000 55%, transparent 97%); }
.tp-hero-pic .on-wide { display: none; }
.tp-hero-shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.35), transparent 20%, transparent 60%, rgba(0,0,0,.18) 85%, transparent); pointer-events: none; }
.tp-hero-title { position: absolute; left: 28px; right: 28px; bottom: 6px; display: flex; flex-direction: column; align-items: center; }
.tp-name { max-width: 100%; font-size: 32px; font-weight: 700; letter-spacing: -.6px; line-height: 1.15; text-align: center; text-shadow: 0 2px 12px rgba(0,0,0,.35); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.tp-logo { width: min(270px, 100%); height: 96px; object-fit: contain; object-position: center bottom; filter: drop-shadow(0 2px 14px rgba(0,0,0,.45)); opacity: 0; transition: opacity .25s ease-out; }
.tp-logo.in { opacity: 1; }
@media (min-width: 600px) {
  .tp-hero { height: min(62vw, 52vh); }
  .tp-hero-pic .on-wide { display: block; }
  .tp-hero-pic .on-narrow { display: none; }
  .tp-hero-title { left: var(--margin); right: var(--margin); align-items: flex-start; }
  .tp-name { max-width: 640px; font-size: 52px; text-align: left; }
  .tp-logo { width: min(640px, 100%); height: 170px; object-position: left bottom; }
}

/* --- facts and ratings --- */
.tp-head { display: flex; flex-direction: column; align-items: center; gap: 10px; }
.tp-facts { display: flex; align-items: center; justify-content: center; gap: 8px; max-width: 100%; }
.tp-meta { min-width: 0; font-size: 13.5px; font-weight: 500; color: var(--secondary); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tp-cert { flex: none; display: inline-flex; align-items: center; height: 18px; padding: 0 5px; border: 1px solid var(--tertiary); border-radius: 4px; font-size: 11px; font-weight: 600; color: var(--secondary); }
.tp-ratings { display: flex; align-items: center; gap: 18px; white-space: nowrap; }
.tp-score { display: inline-flex; align-items: center; gap: 5px; }
.tp-score-n { font-size: 13.5px; font-weight: 600; }
.tp-mark { display: inline-flex; align-items: center; height: 15px; padding: 0 3.5px; border-radius: 3px; font-size: 9.5px; font-weight: 900; letter-spacing: -.2px; }
.tp-mark.imdb { background: #f5c518; color: #000; }
.tp-mark.tmdb { background: #0d253f; color: #90cea1; }
@media (min-width: 600px) {
  .tp-head { align-items: flex-start; }
  .tp-facts { justify-content: flex-start; }
  .tp-meta { font-size: 16px; }
}

/* --- Play and the round buttons --- */
.tp-playarea { display: flex; flex-direction: column; gap: 18px; }
.tp-play-row { display: flex; align-items: center; gap: 12px; }
.tp-play { flex: 1; width: auto; min-width: 0; }
.tp-play-text { min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tp-quick { margin-top: -8px; display: flex; flex-direction: column; gap: 2px; text-align: center; font-size: 13px; font-weight: 500; color: var(--secondary); }
.tp-quick .later { color: var(--tertiary); }
.tp-actions { display: flex; align-items: flex-start; }
.tp-round { flex: 1; min-width: 0; display: flex; flex-direction: column; align-items: center; gap: 6px; transition: opacity .2s ease-out; }
.tp-round.dim { opacity: .35; }
.tp-round-circle { position: relative; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.08); color: var(--text); transition: background .12s ease-out, color .15s ease-out; }
.tp-round-circle.lit { color: var(--accent); }
.tp-round-circle .tp-ring { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); }
@media (hover: hover) { .tp-round:hover:not(:disabled) .tp-round-circle { background: rgba(255,255,255,.14); } }
.tp-round:active:not(:disabled) .tp-round-circle { background: rgba(255,255,255,.18); }
.tp-round-label { max-width: 100%; font-size: 11px; font-weight: 500; line-height: 1.25; color: var(--secondary); text-align: center; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.side-pill:disabled { opacity: .75; }
.tp-ring { display: block; }
.tp-ring.play .tp-ring-track { stroke: rgba(0,0,0,.2); }
.tp-ring.play .tp-ring-arc { stroke: #000; }
.tp-ring.dl .tp-ring-track { stroke: rgba(255,255,255,.12); }
.tp-ring.dl .tp-ring-arc { stroke: var(--accent); transition: stroke-dashoffset 1s linear; }
@media (min-width: 600px) {
  /* one row from the left edge: Play, then the round buttons; under it when they don't fit */
  .tp-playarea { flex-direction: row; flex-wrap: wrap; align-items: flex-start; gap: 18px 14px; }
  .tp-play-row { order: 1; }
  .tp-play { flex: none; width: 300px; }
  .tp-actions { order: 2; }
  .tp-round { flex: none; width: 86px; }
  .tp-playarea.wrapped .tp-actions { transform: translateX(-20px); }
  .tp-quick { order: 3; flex-basis: 100%; text-align: left; }
}

/* --- the story --- */
.tp-about { display: flex; flex-direction: column; gap: 8px; }
.tp-overview { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; }
.tp-overview-text { font-size: 15px; line-height: 22px; color: rgba(255,255,255,.79); }
.tp-overview-text.clamp { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.tp-more { font-size: 14px; font-weight: 600; color: var(--text); }
.tp-more:hover { text-decoration: underline; }
.tp-credits { font-size: 13px; font-weight: 500; color: var(--tertiary); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
@media (min-width: 600px) {
  .tp-head, .tp-about { max-width: calc(1000px + 2 * var(--margin)); }
  .tp-overview-text { font-size: 18px; line-height: 27px; }
  .tp-credits { font-size: 15px; }
}

/* --- what is in the file --- */
.tp-info { margin: 0; display: flex; flex-direction: column; }
.tp-info-row { display: flex; align-items: baseline; gap: 14px; padding: 7px 0; font-size: 14px; }
.tp-info dt { flex: none; width: 84px; color: var(--tertiary); }
.tp-info dd { flex: 1; min-width: 0; margin: 0; }
.tp-dim { color: var(--secondary); }
.tp-dim.pre { white-space: pre-wrap; }
.tp-tracks { display: flex; flex-direction: column; align-items: flex-start; gap: 3px; }
.tp-tracks-more { font-size: 13px; font-weight: 600; color: var(--secondary); }
.tp-tracks-more:hover { color: var(--text); }
@media (min-width: 600px) {
  .tp-info-row { padding: 10px 0; font-size: 16px; }
  .tp-info dt { width: 190px; }
}

/* --- rows: extras, cast, seasons, posters --- */
.tp .h-scroll { gap: 12px; }
.tp .poster { --poster-w: 112px; }
.tp-h20 { font-size: 20px; font-weight: 700; }

.tp-extra { flex: none; width: 156px; display: flex; flex-direction: column; align-items: flex-start; gap: 7px; text-align: left; }
.tp-extra-pic { position: relative; display: grid; place-items: center; width: 156px; aspect-ratio: 16 / 9; border-radius: 10px; overflow: hidden; background: var(--group); transition: filter .15s ease-out; }
.tp-extra-pic .mark { opacity: .16; filter: grayscale(1) brightness(3); }
.tp-extra-pic .pic { position: absolute; inset: 0; }
@media (hover: hover) { .tp-extra:hover .tp-extra-pic { filter: brightness(1.12); } }
.tp-extra-play { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: rgba(17,12,21,.55); color: #fff; }
.tp-extra-foot { position: absolute; left: 6px; right: 6px; bottom: 6px; display: flex; align-items: flex-end; justify-content: space-between; gap: 6px; }
.tp-extra-pill { padding: 3px 8px; border-radius: 999px; background: var(--accent); color: var(--on-accent); font-size: 11px; font-weight: 600; line-height: 1.2; }
.tp-extra-pill.cant { background: var(--error); }
.tp-extra-len { margin-left: auto; padding: 2px 6px; border-radius: 5px; background: rgba(17,12,21,.7); color: #fff; font-size: 11px; font-weight: 500; line-height: 1.2; }
.tp-extra-bar { position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: rgba(255,255,255,.2); }
.tp-extra-bar i { display: block; height: 100%; background: var(--accent); }
.tp-extra-name { font-size: 13px; font-weight: 600; line-height: 1.25; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.tp-extra-kind { font-size: 11px; color: var(--tertiary); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }

.tp-cast-heading { font-size: 12px; font-weight: 600; letter-spacing: .6px; text-transform: uppercase; color: var(--tertiary); }
.tp-person { flex: none; width: 74px; display: flex; flex-direction: column; align-items: center; gap: 7px; text-align: center; }
.tp-photo { position: relative; display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; overflow: hidden; background: var(--plum-gradient); transition: transform .15s ease-out; }
.tp-photo::after { content: ""; position: absolute; inset: 0; border-radius: 50%; box-shadow: inset 0 0 0 1px var(--hairline); }
.tp-photo .pic { position: absolute; inset: 0; }
@media (hover: hover) { .tp-person:hover .tp-photo { transform: scale(1.04); } }
.tp-initials { font-size: 19px; font-weight: 600; color: var(--accent); }
.tp-person-name, .tp-person-role { max-width: 100%; line-height: 1.25; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.tp-person-name { font-size: 12px; font-weight: 600; }
.tp-person-role { font-size: 11px; color: var(--tertiary); }
@media (min-width: 600px) {
  .tp-cast { gap: 16px; }
  .tp-cast-heading { font-size: 22px; font-weight: 700; letter-spacing: 0; text-transform: none; color: var(--text); }
  .tp-cast .h-scroll { gap: 18px; }
  .tp-person { width: 140px; gap: 10px; }
  .tp-photo { width: 132px; height: 132px; }
  .tp-initials { font-size: 40px; }
  .tp-person-name { font-size: 15px; }
  .tp-person-role { font-size: 13px; color: var(--secondary); }
}

.tp-season { flex: none; width: 118px; display: flex; flex-direction: column; gap: 6px; line-height: 1.25; }
.tp-season .poster-frame { transition: transform .15s ease-out, filter .15s ease-out; }
.tp-season.dim .poster-frame { opacity: .4; filter: saturate(.4); }
@media (hover: hover) {
  .tp-season:hover .poster-frame { transform: scale(1.03); filter: brightness(1.08); }
  .tp-season.dim:hover .poster-frame { filter: saturate(.4) brightness(1.15); }
}
.tp-season-name { font-size: 14px; font-weight: 600; }
.tp-season-eps { font-size: 12px; color: var(--tertiary); }
.tp-season .status-line { align-items: flex-start; font-size: 12.5px; }
.tp-season .status-line i { margin-top: 4.5px; }
.tp-season-check { position: absolute; top: 6px; right: 6px; z-index: 1; display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: rgba(0,0,0,.55); color: #fff; }
.tp-season-check .icon { stroke-width: 2.6; }

/* --- loading, and no answer --- */
.tp-skel { display: flex; flex-direction: column; gap: 10px; padding-top: 8px; }
.tp-skel-pill { height: 50px; border-radius: 25px; }
.tp-skel-line { height: 12px; }
.tp-skel-line.first { margin-top: 8px; }
.tp-skel-line.short { width: 180px; }
.tp-failed { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; padding-top: 20px; }
.tp-unreachable { display: flex; align-items: center; gap: 8px; font-size: 14px; color: var(--secondary); }

/* --- a season's page --- */
.tp-sn .tp-body { gap: 20px; }
.tp-sn-top { display: flex; flex-direction: column; align-items: center; gap: 10px; }
.tp-sn-art { width: 100%; height: 250px; -webkit-mask-image: linear-gradient(180deg, #000 50%, transparent); mask-image: linear-gradient(180deg, #000 50%, transparent); }
.tp-sn-name { padding: 0 20px; font-size: 26px; font-weight: 700; line-height: 1.2; text-align: center; }
.tp-sn-pick { display: inline-flex; align-items: center; gap: 5px; padding: 3px 8px; border-radius: 8px; font-size: 17px; font-weight: 600; color: var(--secondary); }
.tp-sn-pick .icon { stroke-width: 2.6; }
.tp-sn-pick:hover:not(:disabled) { color: var(--text); background: var(--field); }
.tp-sn-pick:disabled { color: var(--tertiary); }
.tp-sn-overview { font-size: 14px; color: var(--secondary); display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
.tp-sn-loading { display: grid; place-items: center; min-height: 70vh; }
.tp-sn-alone { padding-top: 120px; }

.tp-ep-list { display: flex; flex-direction: column; gap: 18px; }
.tp-ep { position: relative; display: flex; align-items: flex-start; gap: 12px; }
.tp-ep::before { content: ""; position: absolute; inset: -8px; border-radius: 14px; background: rgba(255,176,138,.24); opacity: 0; transition: opacity .7s ease-in; pointer-events: none; }
.tp-ep.lit::before { opacity: 1; transition: opacity .25s ease-out; }
.tp-ep-main { position: relative; flex: 1; min-width: 0; display: flex; align-items: flex-start; gap: 12px; text-align: left; border-radius: 9px; }
.tp-ep-still { position: relative; flex: none; width: 132px; height: 74px; border-radius: 8px; overflow: hidden; }
.tp-ep-art { position: absolute; inset: 0; transition: filter .15s ease-out; }
.tp-ep-still.faded .tp-ep-art { opacity: .4; }
@media (hover: hover) { button.tp-ep-main:hover .tp-ep-art { filter: brightness(1.12); } }
.tp-ep-num { position: absolute; top: 5px; left: 5px; display: inline-flex; align-items: center; gap: 4px; padding: 3px 6px; border-radius: 999px; background: rgba(0,0,0,.55); color: #fff; font-size: 11px; font-weight: 700; line-height: 1.2; }
.tp-ep-num .icon { stroke-width: 2.8; }
.tp-ep-bar { position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: rgba(255,255,255,.3); }
.tp-ep-bar i { display: block; height: 100%; background: var(--accent); }
.tp-ep-wait { position: absolute; inset: 0; display: grid; place-items: center; background: rgba(0,0,0,.35); color: #fff; }
.tp-ep-text { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.tp-ep-name { font-size: 15px; font-weight: 600; line-height: 1.25; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.tp-ep-name.later { color: var(--secondary); }
.tp-ep-date { display: flex; align-items: center; gap: 6px; font-size: 12px; color: var(--tertiary); white-space: nowrap; overflow: hidden; }
.tp-ep-have { display: inline-flex; align-items: center; gap: 3px; font-weight: 500; color: var(--in-lyra); }
.tp-ep-have .icon { stroke-width: 2.4; }
.tp-ep-overview { font-size: 12.5px; line-height: 1.3; color: var(--secondary); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.tp-ep-side { flex: none; width: 44px; display: flex; flex-direction: column; align-items: center; gap: 2px; }
.tp-ep-dl { display: grid; place-items: center; width: 44px; height: 44px; border-radius: var(--r-button); background: var(--field); border: 1px solid var(--line); color: var(--text); transition: background .12s ease-out, opacity .2s ease-out; }
.tp-ep-dl:hover:not(:disabled), .tp-ep-dl:active:not(:disabled) { background: var(--field-hover); }
.tp-ep-dl.dim { opacity: .35; }
.tp-ep-dl .icon { stroke-width: 2; }
.tp-ep-dl-ring { position: relative; display: grid; place-items: center; width: 26px; height: 26px; }
.tp-ep-dl-ring .tp-ring { position: absolute; inset: 0; }
.tp-ep-more { display: grid; place-items: center; width: 44px; height: 28px; border-radius: 8px; color: var(--tertiary); }
.tp-ep-more:hover { color: var(--text); background: var(--field); }

/* --- the trailer sheet --- */
.sheet.tp-tr-sheet { gap: 0; padding: 0 0 calc(16px + env(safe-area-inset-bottom)); min-height: 50vh; }
.tp-tr-head { display: flex; align-items: center; gap: 12px; padding: 20px 20px 16px; }
.tp-tr-names { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.tp-tr-title { font-size: 17px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tp-tr-sub { font-size: 13px; color: var(--secondary); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tp-tr-close { flex: none; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--field); color: var(--text); }
.tp-tr-close:hover { background: var(--field-hover); }
.tp-tr-close .icon { stroke-width: 2.4; }
.tp-tr-stage { flex: none; margin: 0 12px; aspect-ratio: 16 / 9; border-radius: 14px; overflow: hidden; background: #000; }
.tp-tr-frame { display: block; width: 100%; height: 100%; border: 0; }
.tp-tr-foot { display: flex; justify-content: center; padding: 14px 20px 0; font-size: 14px; }
.tp-tr-none { height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; background: var(--group); font-size: 14px; color: var(--secondary); }
.tp-tr-empty { padding: 30px 20px 40px; text-align: center; color: var(--secondary); }
@media (min-width: 600px) { .sheet.tp-tr-sheet { max-width: min(900px, 100vw - 48px, (100vh - 190px) * 16 / 9); min-height: 0; } }

/* --- the Preparing sheet, and deleting a download --- */
.sheet.tp-prep-sheet { align-items: center; gap: 14px; min-height: 50vh; padding-top: 46px; text-align: center; }
.tp-prep-spinner { width: 30px; height: 30px; margin-bottom: 6px; border-width: 3px; }
.tp-prep-title { font-size: 20px; font-weight: 600; }
.tp-prep-line { padding: 0 16px; font-size: 15px; color: var(--secondary); }
.tp-prep-note { font-size: 13px; color: var(--tertiary); }
@media (min-width: 600px) { .sheet.tp-prep-sheet { min-height: 320px; } }
.tp-del-head { display: flex; align-items: center; gap: 14px; margin-bottom: 6px; }
.tp-del-poster { flex: none; width: 40px; }
.tp-del-poster .poster-frame { border-radius: var(--r-thumb); }
.tp-del-poster .poster-blank-name { display: none; }
.tp-del-poster .mark { width: 16px !important; }
.tp-del-title { font-size: 17px; font-weight: 600; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

/* --- the Wishlist's buttons --- */
.tp-rq { display: flex; flex-direction: column; gap: 10px; }
.tp-rq-row { display: flex; align-items: center; gap: 12px; }
.tp-rq-row:empty { display: none; }
.tp-rq-status { flex: 1; min-width: 0; cursor: default; }
.tp-rq-status span, .tp-rq .btn.pill span, .tp-rq-wide span { min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tp-rq-dot { flex: none; width: 8px; height: 8px; border-radius: 50%; }
.tp-rq-dot.cinemas { background: var(--cinemas); }
.side-pill.tp-rq-wide { width: 100%; justify-content: center; }
.tp-rq-note { font-size: 14.5px; font-style: italic; color: var(--secondary); text-align: center; }
.tp-rq-fail { font-size: 13.5px; color: var(--error); text-align: center; }
.tp-fd-actions { display: flex; flex-direction: column; gap: 18px; }
.tp-fd-trailer { display: flex; justify-content: center; }
.tp-fd-trailer .tp-round { flex: none; width: 86px; }
.tp-fd-loading { display: grid; place-items: center; padding-top: 20px; }
.tp-fd-failed { display: flex; flex-direction: column; align-items: center; gap: 16px; padding-top: 20px; }
@media (min-width: 600px) {
  .tp-fd-actions { flex-direction: row; align-items: flex-start; gap: 14px; }
  .tp-fd-actions .tp-rq { flex: none; width: min(420px, 100vw - 2 * var(--margin) - 100px); }
}
