/* pSEO pages: dark hero, poster strip, concert-alert modal.
   Explicit colors on purpose: the light theme in base.html remaps .text-white/.bg-black. */

.pseo-hero { position: relative; background: #0b0b0b center 30% / cover no-repeat; color: #fff;
    /* <main> has pt-20 for the fixed header; slide under it so no light strip shows above the hero */
    margin-top: -5rem; padding-top: 5rem; }
.pseo-hero::before { content: ""; position: absolute; inset: 0;
    background: linear-gradient(90deg, rgba(0,0,0,.92) 0%, rgba(0,0,0,.78) 55%, rgba(0,0,0,.45) 100%); }
.pseo-hero > * { position: relative; }
.pseo-hero a:not(.pseo-btn) { color: inherit; }
.pseo-hero .pseo-crumbs { font-size: 12px; color: rgba(255,255,255,.55); }
.pseo-hero .pseo-crumbs a:hover { color: #fff; }
.pseo-hero .pseo-sub { color: rgba(255,255,255,.65); }
.pseo-hero .pseo-card { background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.12); backdrop-filter: blur(6px); }
.pseo-hero .pseo-dim { color: rgba(255,255,255,.6); }
.pseo-hero .pseo-divider { border-color: rgba(255,255,255,.12); }

.pseo-btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; padding: .75rem 1.25rem;
    font-weight: 700; font-size: .875rem; background: #fff; color: #000; transition: opacity .15s; cursor: pointer; }
.pseo-btn:hover { opacity: .85; }
.pseo-btn-ghost { display: inline-flex; align-items: center; padding: .75rem 1.25rem; font-size: .875rem; font-weight: 700;
    border: 1px solid rgba(255,255,255,.4); color: #fff; transition: background .15s; }
.pseo-btn-ghost:hover { background: rgba(255,255,255,.1); }

.pseo-poster { display: block; width: 100%; aspect-ratio: 87 / 100; object-fit: cover; box-shadow: 0 20px 50px rgba(0,0,0,.5); }
.pseo-carousel { position: relative; }
.pseo-carousel-nav { position: absolute; top: 45%; width: 2rem; height: 2rem; background: rgba(0,0,0,.55); color: #fff; font-size: 1.1rem; line-height: 2rem; text-align: center; }
.pseo-carousel-nav:hover { background: rgba(0,0,0,.8); }
.pseo-dots { display: flex; gap: .35rem; justify-content: center; margin-top: .6rem; }
.pseo-dots button { width: .45rem; height: .45rem; border-radius: 999px; background: rgba(255,255,255,.35); }
.pseo-dots button.on { background: #fff; }

/* Horizontal strips: tour dates and posters */
.pseo-strip { display: flex; gap: .75rem; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: .5rem; scrollbar-width: thin; }
.pseo-strip > * { scroll-snap-align: start; flex: 0 0 auto; }
.pseo-strip-poster { width: 150px; }
.pseo-strip-item { width: 220px; }
.pseo-strip-media { position: relative; display: block; width: 220px; height: 140px; background: #111; overflow: hidden; }
.pseo-strip-media img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .3s; }
.pseo-strip-item:hover .pseo-strip-media img { transform: scale(1.04); }
.pseo-strip-media.is-poster { width: 122px; }
.pseo-strip-item:has(.is-poster) { width: 122px; }
.pseo-play { position: absolute; inset: 0; margin: auto; width: 3rem; height: 3rem; border-radius: 999px; background: rgba(0,0,0,.65);
    color: #fff; display: flex; align-items: center; justify-content: center; font-size: 1.1rem; }
.pseo-video-frame { width: min(1100px, 100%); aspect-ratio: 16 / 9; border: 0; background: #000; }
.pseo-lightbox img { cursor: pointer; user-select: none; }
.pseo-lb-nav { position: absolute; top: 50%; transform: translateY(-50%); width: 3rem; height: 3rem; border-radius: 999px;
    background: rgba(255,255,255,.12); color: #fff; font-size: 1.8rem; line-height: 3rem; text-align: center; }
.pseo-lb-nav:hover { background: rgba(255,255,255,.25); }
.pseo-lb-count { position: absolute; bottom: 1rem; left: 50%; transform: translateX(-50%); color: rgba(255,255,255,.7); font-size: .8rem; }
.pseo-lightbox-close { position: absolute; top: .75rem; right: 1rem; color: #fff; font-size: 2rem; line-height: 1; }
.pseo-strip-poster img { width: 150px; height: 172px; object-fit: cover; display: block; }

/* Lightbox */
.pseo-lightbox { position: fixed; inset: 0; z-index: 10000; background: rgba(0,0,0,.9); display: flex; align-items: center; justify-content: center; padding: 1rem; }
.pseo-lightbox img { max-width: 100%; max-height: 90vh; }

/* Concert alert modal */
.pseo-modal-backdrop { position: fixed; inset: 0; z-index: 9999; background: rgba(0,0,0,.7); display: flex; align-items: flex-start; justify-content: center; padding: 5vh 1rem; overflow-y: auto; }
.pseo-modal { position: relative; width: 100%; max-width: 560px; background: #fff; color: #111; padding: 2rem 1.5rem 1.5rem; font-size: 14px; }
.pseo-modal a { text-decoration: underline; }
.pseo-modal-close { position: absolute; top: .5rem; right: .75rem; font-size: 1.75rem; line-height: 1; color: #888; }
.pseo-modal-title { font-size: 1.25rem; font-weight: 700; margin-bottom: .25rem; padding-right: 1.5rem; }
.pseo-muted { color: #777; }
.pseo-small { font-size: 11px; margin-top: .75rem; }
.pseo-error { color: #dc2626; margin-top: .5rem; }
.pseo-input { width: 100%; border: 1px solid #ccc; padding: .75rem 1rem; margin: 1rem 0 .75rem; background: #fff; color: #111; outline: none; }
.pseo-input:focus { border-color: #111; }
.pseo-input-sm { padding: .5rem .75rem; margin: .5rem 0; }
.pseo-link { display: inline-flex; align-items: center; gap: .4rem; font-weight: 700; color: #111; }
.pseo-count { display: inline-block; min-width: 1.25rem; padding: 0 .35rem; background: #111; color: #fff; font-size: 11px; text-align: center; border-radius: 999px; }
.pseo-picker { margin-top: .75rem; border-top: 1px solid #eee; padding-top: .5rem; }
.pseo-chips { display: flex; flex-wrap: wrap; gap: .35rem; margin: .5rem 0; }
.pseo-chip { background: #111; color: #fff; padding: .2rem .55rem; font-size: 12px; }
.pseo-list { max-height: 300px; overflow-y: auto; }
.pseo-row { display: flex; align-items: center; gap: .6rem; padding: .4rem .25rem; cursor: pointer; border-bottom: 1px solid #f2f2f2; }
.pseo-row:hover { background: #f7f7f7; }
.pseo-row img { width: 36px; height: 36px; object-fit: cover; flex: none; }
.pseo-row-text { display: flex; flex-direction: column; min-width: 0; }
.pseo-row-text b, .pseo-row-text small { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pseo-row-text small, .pseo-album small, .pseo-album-title small { color: #888; font-size: 11px; }
.pseo-row-all { border: 0; font-weight: 700; }
.pseo-albums { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .75rem; max-height: 320px; overflow-y: auto; padding: .25rem 0; }
.pseo-album { position: relative; display: flex; flex-direction: column; text-align: left; font-size: 12px; }
.pseo-album img, .pseo-album-stub { width: 100%; aspect-ratio: 1; object-fit: cover; margin-bottom: .3rem; background: #eee; display: flex; align-items: center; justify-content: center; font-size: 2rem; color: #999; }
.pseo-album b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pseo-album .pseo-count { position: absolute; top: .3rem; right: .3rem; }
.pseo-album-head { display: flex; justify-content: space-between; align-items: center; margin: .25rem 0; }
.pseo-album-title { display: flex; gap: .75rem; align-items: center; margin: .5rem 0; }
.pseo-album-title img { width: 56px; height: 56px; object-fit: cover; }
.pseo-album-title span { display: flex; flex-direction: column; }
.pseo-submit { width: 100%; margin-top: 1rem; padding: .85rem; background: #111; color: #fff; font-weight: 700; }
.pseo-submit:disabled { opacity: .5; }
.pseo-done p { margin-top: .5rem; }
@media (max-width: 480px) { .pseo-albums { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
