/* ==========================================================================
   LIVZO — Resident Experiences page (experiences.php)

   Class prefix: lz-exp-* / lz-exp__*. Deliberately NOT module 3's lz-experiences*
   (the homepage section), nor lz-dir-*, lz-qa-* or lz-sp-*.

   Contents
     1.  Shell + layout
     2.  Hero
     3.  City shortcuts
     4.  Community at a glance
     5.  Filters + search/sort
     6.  Section heads
     7.  Review card
     8.  Latest feed
     9.  Sidebar
     10. Closing CTA + sample note
     11. Empty + error states
     12. Review detail
     13. Dialogs (report + share)
     14. Comments
     15. Reveal + motion
     16. Reduced motion
   ========================================================================== */

/* ==========================================================================
   1. Shell + layout
   ========================================================================== */

.lz-exp {
    position: relative;
    padding-bottom: clamp(48px, 7vw, 92px);
}

.lz-exp__layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: clamp(24px, 3vw, 36px);
    align-items: start;
    margin-top: clamp(26px, 3.4vw, 40px);
}

.lz-exp__main {
    min-width: 0;
}

@media (min-width: 1000px) {
    .lz-exp__layout {
        grid-template-columns: minmax(0, 1fr) minmax(0, 340px);
    }

    .lz-exp__side {
        position: sticky;
        top: calc(var(--lz-header-h) + 20px);
    }
}

.lz-exp__side {
    display: grid;
    gap: 18px;
    min-width: 0;
}

.lz-exp-score {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    color: var(--lz-navy);
    font-size: 0.94rem;
    font-weight: 800;
}

.lz-exp-score__ico {
    width: 15px;
    height: 15px;
    color: var(--lz-amber);
}

.lz-exp-score--empty { color: var(--lz-muted); }

/* ==========================================================================
   2. Hero
   ========================================================================== */

.lz-exp-hero {
    position: relative;
    /* The header is fixed, so the first section owns the offset — otherwise the back link,
       badge and title sit behind the bar (the locations / compare heroes' own rule). */
    padding-top: calc(var(--lz-header-h) + clamp(10px, 1.6vw, 26px));
    padding-bottom: clamp(18px, 2.6vw, 28px);
    overflow: hidden;
}

/* The hero clips its own decorations, which also clipped the search field's suggestion
   panel — it is absolutely positioned inside the section, so it was cut at the section's
   bottom edge (measured: 274px of a 420px panel). Unclip only while the panel is open, so
   the resting render stays exactly as it was. */
.lz-exp-hero:has(.lz-popover:not([hidden])) {
    overflow: visible;
}

.lz-exp-hero__wash {
    position: absolute;
    inset: 0 0 auto;
    height: 78%;
    background-image: linear-gradient(165deg, #FAF8FF 0%, rgba(251, 250, 248, 0) 78%);
    pointer-events: none;
}

.lz-exp-hero__inner {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: clamp(20px, 3vw, 40px);
    align-items: center;
}

@media (min-width: 980px) {
    .lz-exp-hero__inner {
        grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
    }
}

.lz-exp-hero__copy { min-width: 0; }

.lz-exp-hero__back {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: var(--lz-body);
    font-size: 0.84rem;
    font-weight: 700;
    transition: color var(--lz-t-fast) var(--lz-ease);
}

.lz-exp-hero__back:hover { color: var(--lz-accent-700); }

.lz-exp-hero__back-ico {
    width: 15px;
    height: 15px;
    transform: rotate(180deg);
    transition: transform var(--lz-t-fast) var(--lz-ease);
}

.lz-exp-hero__back:hover .lz-exp-hero__back-ico { transform: rotate(180deg) translateX(3px); }

.lz-exp-hero__badge {
    display: inline-flex;
    align-items: center;
    margin-top: 16px;
    padding: 6px 14px;
    border-radius: var(--lz-r-pill);
    background-color: var(--lz-accent-soft);
    color: var(--lz-accent-700);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.lz-exp-hero__title {
    margin-top: 14px;
    font-size: clamp(1.9rem, 4.4vw, 3rem);
    max-width: 20ch;
}

.lz-exp-hero__accent { color: var(--lz-accent); }

.lz-exp-hero__lead {
    margin-top: 14px;
    max-width: 54ch;
    color: var(--lz-body);
    font-size: clamp(0.98rem, 1.2vw, 1.08rem);
    line-height: 1.6;
}

.lz-exp-hero__scope {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    margin-top: 12px;
    font-size: 0.86rem;
}

.lz-exp-hero__scope-text {
    padding: 5px 12px;
    border-radius: var(--lz-r-pill);
    background-color: var(--lz-accent-soft);
    color: var(--lz-accent-700);
    font-weight: 700;
}

.lz-exp-hero__scope-clear {
    color: var(--lz-body);
    font-weight: 700;
    text-decoration: underline;
}

.lz-exp-hero__scope-clear:hover { color: var(--lz-accent-700); }

.lz-exp-search {
    position: relative;
    display: flex;
    align-items: center;
    gap: 8px;
    width: 100%;
    max-width: 560px;
    margin-top: 22px;
    padding: 7px 7px 7px 14px;
    border: 1px solid var(--lz-line-2);
    border-radius: var(--lz-r-pill);
    background-color: var(--lz-surface);
    box-shadow: var(--lz-sh-2);
}

/* The suggestion panel hangs off the whole field and matches its width, so it can never
   widen the page on a narrow phone. */
.lz-exp-search .lz-popover--suggest {
    width: 100%;
    max-height: min(420px, 62vh);
}

.lz-exp-search__ico {
    flex: none;
    color: var(--lz-muted);
}

.lz-exp-search__input {
    flex: 1 1 auto;
    min-width: 0;
    padding: 10px 0;
    border: 0;
    background: none;
    color: var(--lz-navy);
    font-size: 0.95rem;
    outline: none;
}

.lz-exp-search__input::placeholder { color: var(--lz-muted); }

.lz-exp-search__btn {
    flex: none;
    padding: 11px 22px;
}

.lz-exp-hero__media {
    position: relative;
    display: block;
    min-width: 0;
}

/* The banner blends into the light page instead of sitting in a hard rectangle — the same
   treatment the locations and compare heroes carry. */
.lz-exp-hero__img {
    position: relative;
    width: 100%;
    height: auto;
    border-radius: var(--lz-r-xl);
    -webkit-mask-image: linear-gradient(180deg, #000 62%, transparent 100%);
    mask-image: linear-gradient(180deg, #000 62%, transparent 100%);
}

/* ==========================================================================
   3. City shortcuts
   ========================================================================== */

.lz-exp-locs {
    padding-bottom: clamp(8px, 1.4vw, 14px);
}

.lz-exp-locs__scroll {
    overflow-x: auto;
    overflow-y: hidden;
    padding-bottom: 6px;
    scrollbar-width: thin;
    -webkit-overflow-scrolling: touch;
}

.lz-exp-locs__list {
    display: flex;
    flex-wrap: nowrap;
    gap: 12px;
    width: max-content;
    min-width: 100%;
}

.lz-exp-loc {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 11px 18px;
    border: 1px solid var(--lz-line);
    border-radius: var(--lz-r-md);
    background-color: var(--lz-surface);
    box-shadow: var(--lz-sh-1);
    transition: transform var(--lz-t-fast) var(--lz-ease), border-color var(--lz-t-fast) var(--lz-ease),
        box-shadow var(--lz-t-fast) var(--lz-ease);
}

.lz-exp-loc:hover {
    transform: translateY(-3px);
    border-color: var(--lz-accent-soft-2);
    box-shadow: var(--lz-sh-2);
}

.lz-exp-loc.is-active {
    border-color: var(--lz-accent-soft-2);
    background-color: var(--lz-accent-soft);
}

.lz-exp-loc__ico {
    display: grid;
    place-items: center;
    width: 32px;
    height: 32px;
    flex: none;
    border-radius: var(--lz-r-sm);
    background-color: var(--lz-accent-soft);
    color: var(--lz-accent-700);
}

.lz-exp-loc__body { display: grid; gap: 1px; }

.lz-exp-loc__label {
    color: var(--lz-navy);
    font-size: 0.9rem;
    font-weight: 800;
    white-space: nowrap;
}

.lz-exp-loc__count {
    color: var(--lz-body);
    font-size: 0.74rem;
    white-space: nowrap;
}

/* ==========================================================================
   4. Community at a glance
   ========================================================================== */

.lz-exp-glance {
    padding-top: clamp(10px, 1.6vw, 18px);
}

.lz-exp-glance__card {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 18px;
    padding: clamp(20px, 2.6vw, 30px);
    border: 1px solid rgba(109, 74, 255, 0.16);
    border-radius: var(--lz-r-xl);
    background-image: linear-gradient(150deg, #FAF8FF 0%, #F3EFFF 100%);
}

@media (min-width: 900px) {
    .lz-exp-glance__card {
        grid-template-columns: minmax(0, 1fr) 240px;
        align-items: center;
    }
}

.lz-exp-glance__body { min-width: 0; }

.lz-exp-glance__title { font-size: clamp(1.25rem, 2vw, 1.6rem); }

.lz-exp-glance__lead {
    margin-top: 6px;
    color: var(--lz-body);
    font-size: 0.92rem;
}

.lz-exp-glance__empty {
    margin-top: 16px;
    color: var(--lz-body);
    font-size: 0.9rem;
}

.lz-exp-glance__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin-top: 20px;
}

@media (min-width: 640px) {
    .lz-exp-glance__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

.lz-exp-glance__item {
    display: grid;
    gap: 2px;
    padding: 14px 16px;
    border: 1px solid var(--lz-line);
    border-radius: var(--lz-r-md);
    background-color: rgba(255, 255, 255, 0.82);
    min-width: 0;
}

.lz-exp-glance__ico {
    color: var(--lz-accent);
    margin-bottom: 4px;
}

.lz-exp-glance__value {
    color: var(--lz-navy);
    font-size: clamp(1.25rem, 2.2vw, 1.55rem);
    font-weight: 800;
    letter-spacing: -0.03em;
}

.lz-exp-glance__label {
    color: var(--lz-body);
    font-size: 0.76rem;
    font-weight: 600;
    line-height: 1.35;
}

.lz-exp-glance__media {
    display: none;
    min-width: 0;
}

@media (min-width: 900px) {
    .lz-exp-glance__media { display: block; }
}

.lz-exp-glance__img { width: 100%; height: auto; }

/* ==========================================================================
   5. Filters + search/sort
   ========================================================================== */

.lz-exp-filters {
    padding-top: clamp(20px, 2.6vw, 30px);
}

.lz-exp-filters__bar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
}

.lz-exp-filter {
    position: relative;
    min-width: 0;
}

.lz-exp-filter__summary {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    border: 1px solid var(--lz-line-2);
    border-radius: var(--lz-r-pill);
    background-color: var(--lz-surface);
    color: var(--lz-navy);
    font-size: 0.84rem;
    font-weight: 700;
    cursor: pointer;
    list-style: none;
    transition: border-color var(--lz-t-fast) var(--lz-ease), box-shadow var(--lz-t-fast) var(--lz-ease);
}

.lz-exp-filter__summary::-webkit-details-marker { display: none; }

.lz-exp-filter__summary:hover {
    border-color: var(--lz-accent-soft-2);
    box-shadow: var(--lz-sh-1);
}

.lz-exp-filter[open] > .lz-exp-filter__summary {
    border-color: var(--lz-accent);
    box-shadow: var(--lz-sh-2);
}

.lz-exp-filter__key { color: var(--lz-body); font-weight: 700; }

.lz-exp-filter__value {
    color: var(--lz-navy);
    font-weight: 800;
    max-width: 16ch;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.lz-exp-filter__chev {
    width: 15px;
    height: 15px;
    color: var(--lz-muted);
    transition: transform var(--lz-t-fast) var(--lz-ease);
}

.lz-exp-filter[open] .lz-exp-filter__chev { transform: rotate(180deg); }

.lz-exp-filter__summary--more .lz-exp-filter__key {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: var(--lz-navy);
}

.lz-exp-filter__key-ico { width: 16px; height: 16px; color: var(--lz-accent); }

.lz-exp-filter__badge {
    display: grid;
    place-items: center;
    min-width: 20px;
    height: 20px;
    padding: 0 5px;
    border-radius: var(--lz-r-pill);
    background-color: var(--lz-accent);
    color: #fff;
    font-size: 0.68rem;
    font-weight: 800;
}

.lz-exp-filter__list,
.lz-exp-filter__panel {
    position: absolute;
    z-index: 30;
    top: calc(100% + 8px);
    left: 0;
    min-width: 230px;
    max-width: min(88vw, 320px);
    padding: 8px;
    border: 1px solid var(--lz-line);
    border-radius: var(--lz-r-md);
    background-color: var(--lz-surface);
    box-shadow: var(--lz-sh-4);
}

.lz-exp-filter__list {
    max-height: 320px;
    overflow-y: auto;
}

.lz-exp-filter__option {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 9px 12px;
    border-radius: var(--lz-r-xs);
    color: var(--lz-body);
    font-size: 0.86rem;
    font-weight: 600;
    transition: background-color var(--lz-t-fast) var(--lz-ease), color var(--lz-t-fast) var(--lz-ease);
}

.lz-exp-filter__option:hover { background-color: var(--lz-accent-soft); color: var(--lz-accent-700); }

.lz-exp-filter__option.is-active {
    background-color: var(--lz-accent-soft);
    color: var(--lz-navy);
    font-weight: 800;
}

.lz-exp-filter__count {
    color: var(--lz-muted);
    font-size: 0.76rem;
    font-weight: 700;
}

.lz-exp-filter__panel {
    display: grid;
    gap: 14px;
    padding: 14px;
}

.lz-exp-filter__block-title {
    color: var(--lz-body);
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.09em;
    text-transform: uppercase;
    margin-bottom: 7px;
}

.lz-exp-filter__chips {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
}

.lz-exp-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 13px;
    border: 1px solid var(--lz-line-2);
    border-radius: var(--lz-r-pill);
    background-color: var(--lz-surface);
    color: var(--lz-body);
    font-size: 0.8rem;
    font-weight: 600;
    transition: border-color var(--lz-t-fast) var(--lz-ease), background-color var(--lz-t-fast) var(--lz-ease),
        color var(--lz-t-fast) var(--lz-ease);
}

.lz-exp-chip:hover { border-color: var(--lz-accent); color: var(--lz-accent-700); }

.lz-exp-chip.is-active {
    border-color: transparent;
    background-color: var(--lz-accent);
    color: #fff;
    font-weight: 700;
}

.lz-exp-chip__ico { width: 15px; height: 15px; }

.lz-exp-filters__clear {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 14px;
    color: var(--lz-body);
    font-size: 0.84rem;
    font-weight: 700;
    transition: color var(--lz-t-fast) var(--lz-ease);
}

.lz-exp-filters__clear:hover { color: var(--lz-accent-700); }
.lz-exp-filters__clear-ico { width: 14px; height: 14px; }

.lz-exp-tools {
    padding-top: clamp(14px, 1.8vw, 20px);
}

.lz-exp-tools__bar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
    padding-top: 14px;
    border-top: 1px solid var(--lz-line);
}

.lz-exp-tools__form {
    position: relative;
    display: flex;
    align-items: center;
    gap: 8px;
    flex: 1 1 260px;
    min-width: 0;
    padding: 9px 14px;
    border: 1px solid var(--lz-line-2);
    border-radius: var(--lz-r-pill);
    background-color: var(--lz-surface);
}

.lz-exp-tools__ico { flex: none; color: var(--lz-muted); }

.lz-exp-tools__input {
    flex: 1 1 auto;
    min-width: 0;
    border: 0;
    background: none;
    color: var(--lz-navy);
    font-size: 0.9rem;
    outline: none;
}

.lz-exp-tools__input::placeholder { color: var(--lz-muted); }

.lz-exp-tools__submit {
    flex: none;
    padding: 8px 16px;
    border: 1px solid var(--lz-line-2);
    border-radius: var(--lz-r-pill);
    background-color: var(--lz-surface);
    color: var(--lz-navy);
    font-size: 0.82rem;
    font-weight: 700;
    cursor: pointer;
    transition: border-color var(--lz-t-fast) var(--lz-ease), color var(--lz-t-fast) var(--lz-ease);
}

.lz-exp-tools__submit:hover { border-color: var(--lz-accent); color: var(--lz-accent-700); }

.lz-exp-sort {
    position: relative;
    flex: none;
}

.lz-exp-sort__summary {
    display: flex;
    align-items: center;
    gap: 7px;
    padding: 10px 14px;
    border: 1px solid var(--lz-line-2);
    border-radius: var(--lz-r-pill);
    background-color: var(--lz-surface);
    font-size: 0.84rem;
    cursor: pointer;
    list-style: none;
}

.lz-exp-sort__summary::-webkit-details-marker { display: none; }
.lz-exp-sort__label { color: var(--lz-body); font-weight: 700; }
.lz-exp-sort__value { color: var(--lz-navy); font-weight: 800; }
.lz-exp-sort__chev {
    width: 15px;
    height: 15px;
    color: var(--lz-muted);
    transition: transform var(--lz-t-fast) var(--lz-ease);
}

.lz-exp-sort[open] .lz-exp-sort__chev { transform: rotate(180deg); }

.lz-exp-sort__list {
    position: absolute;
    z-index: 30;
    top: calc(100% + 8px);
    right: 0;
    min-width: 210px;
    padding: 8px;
    border: 1px solid var(--lz-line);
    border-radius: var(--lz-r-md);
    background-color: var(--lz-surface);
    box-shadow: var(--lz-sh-4);
}

.lz-exp-sort__option {
    display: block;
    padding: 9px 12px;
    border-radius: var(--lz-r-xs);
    color: var(--lz-body);
    font-size: 0.86rem;
    font-weight: 600;
    transition: background-color var(--lz-t-fast) var(--lz-ease), color var(--lz-t-fast) var(--lz-ease);
}

.lz-exp-sort__option:hover { background-color: var(--lz-accent-soft); color: var(--lz-accent-700); }

.lz-exp-sort__option.is-active {
    background-color: var(--lz-accent-soft);
    color: var(--lz-navy);
    font-weight: 800;
}

/* ==========================================================================
   6. Section heads
   ========================================================================== */

.lz-exp-head {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 18px;
}

.lz-exp-head__title { font-size: clamp(1.2rem, 2.2vw, 1.65rem); }

.lz-exp-head__lead {
    margin-top: 5px;
    color: var(--lz-body);
    font-size: 0.9rem;
}

.lz-exp-head__count {
    margin-top: 4px;
    color: var(--lz-body);
    font-size: 0.86rem;
    font-weight: 600;
}

.lz-exp-head__action {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--lz-accent-700);
    font-size: 0.86rem;
    font-weight: 800;
}

.lz-exp-head__action:hover { color: var(--lz-accent); }
.lz-exp-head__action-ico { width: 15px; height: 15px; transition: transform var(--lz-t-fast) var(--lz-ease); }
.lz-exp-head__action:hover .lz-exp-head__action-ico { transform: translateX(3px); }

/* ==========================================================================
   7. Review card
   ========================================================================== */

.lz-exp-featured {
    margin-bottom: clamp(28px, 3.6vw, 44px);
}

.lz-exp-featured__list {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
}

@media (min-width: 700px) {
    .lz-exp-featured__list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (min-width: 1100px) {
    .lz-exp-featured__list { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

.lz-exp-featured__item { min-width: 0; }

.lz-exp-featured .lz-exp-card {
    height: 100%;
    grid-template-columns: minmax(0, 1fr);
}

.lz-exp-featured .lz-exp-card__media { display: none; }

/* The featured strip is a teaser, so its three cards are compact: a smaller type scale, an
   excerpt clamped to two lines (the "…" is the clamp's own ellipsis), the society on one line
   and one tag row of at most two — the builder caps the tags, the nowrap keeps that row from
   ever wrapping. Both halves matter: the cap alone would still wrap if a label were long.
   These cards sit in the page's 856px column, so a column is only ~245px wide — every value
   below is sized for that, not for the full page width. */
.lz-exp-featured .lz-exp-card__main { height: 100%; gap: 8px; }

.lz-exp-featured .lz-exp-card__head { gap: 6px; }
.lz-exp-featured .lz-exp-card__av { width: 34px; height: 34px; }
.lz-exp-featured .lz-exp-card__name { font-size: 0.86rem; }
.lz-exp-featured .lz-exp-card__meta { font-size: 0.72rem; }
.lz-exp-featured .lz-exp-card__title {
    font-size: 0.96rem;
    line-height: 1.3;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* A card whose resident wrote no headline still reserves the line, so every featured card has
   the same structure — that is what makes the heights equal at every breakpoint, including
   when the third card sits alone on its own row. `visibility: hidden` keeps the empty heading
   out of the accessibility tree (and out of axe's empty-heading rule) while `display: block`
   beats the UA `[hidden]` rule, so the box still occupies its line. */
.lz-exp-featured .lz-exp-card__title[hidden] {
    display: block;
    visibility: hidden;
    height: 1.3em;
}

/* A 245px card cannot hold the chip's word *and* the rating on one line, so here the chip is
   the shape alone and the label moves to screen readers — the alternative was a second row in
   every card that has a label and none in the cards that don't, i.e. unequal heights.
   `display: none` would take the label away from assistive tech too, so clip it instead. */
.lz-exp-featured .lz-verified__text {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    border: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    clip-path: inset(50%);
    white-space: nowrap;
}
.lz-exp-featured .lz-exp-card__society {
    font-size: 0.76rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.lz-exp-featured .lz-exp-card__text {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    overflow: hidden;
    font-size: 0.84rem;
    line-height: 1.5;
}

.lz-exp-featured .lz-exp-card__more { font-size: 0.76rem; }

.lz-exp-featured .lz-exp-card__tags {
    flex-wrap: nowrap;
    overflow: hidden;
    gap: 6px;
    margin-top: 0;
}

.lz-exp-featured .lz-exp-tag { padding: 4px 8px; font-size: 0.68rem; }
.lz-exp-featured .lz-exp-tag__ico { width: 12px; height: 12px; }

.lz-exp-featured .lz-exp-card__actions { gap: 2px; padding-top: 8px; }
.lz-exp-featured .lz-exp-act { gap: 5px; padding: 5px 8px; font-size: 0.72rem; }
.lz-exp-featured .lz-exp-act__ico { width: 13px; height: 13px; }
.lz-exp-featured .lz-exp-act__count { min-width: 17px; height: 17px; padding: 0 4px; font-size: 0.64rem; }

.lz-exp-card {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
    padding: clamp(16px, 2vw, 22px);
    border: 1px solid var(--lz-line);
    border-radius: var(--lz-r-lg);
    background-color: var(--lz-surface);
    box-shadow: var(--lz-sh-1);
    transition: transform var(--lz-t) var(--lz-ease), box-shadow var(--lz-t) var(--lz-ease),
        border-color var(--lz-t) var(--lz-ease);
}

@media (min-width: 760px) {
    .lz-exp-card {
        grid-template-columns: minmax(0, 1fr) 210px;
        align-items: start;
    }
}

.lz-exp-card:hover {
    transform: translateY(-4px);
    border-color: rgba(109, 74, 255, 0.18);
    box-shadow: var(--lz-sh-3);
}

.lz-exp-card__main {
    display: flex;
    flex-direction: column;
    gap: 10px;
    min-width: 0;
}

.lz-exp-card__head {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
}

.lz-exp-card__av {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    flex: none;
    border-radius: 50%;
    background-color: var(--lz-accent-soft);
    color: var(--lz-accent-700);
    overflow: hidden;
}

.lz-exp-card__av .lz-avatar { width: 100%; height: 100%; }

.lz-exp-card__who {
    display: grid;
    gap: 1px;
    min-width: 0;
    flex: 1 1 auto;
}

.lz-exp-card__name {
    color: var(--lz-navy);
    font-size: 0.92rem;
    font-weight: 800;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.lz-exp-card__meta {
    color: var(--lz-body);
    font-size: 0.78rem;
}

.lz-exp-card__verify { flex: none; }
.lz-exp-card__rating { flex: none; margin-left: auto; }

.lz-exp-card__title {
    font-size: 1.04rem;
    line-height: 1.35;
    letter-spacing: -0.02em;
}

.lz-exp-card__title a { transition: color var(--lz-t-fast) var(--lz-ease); }
.lz-exp-card__title a:hover { color: var(--lz-accent-700); }

.lz-exp-card__society {
    color: var(--lz-body);
    font-size: 0.82rem;
}

.lz-exp-card__society-link {
    color: var(--lz-accent-700);
    font-weight: 700;
    transition: color var(--lz-t-fast) var(--lz-ease);
}

.lz-exp-card__society-link:hover { color: var(--lz-accent); }

.lz-exp-card__text {
    color: var(--lz-body);
    font-size: 0.92rem;
    line-height: 1.62;
}

.lz-exp-card__more {
    align-self: flex-start;
    color: var(--lz-accent-700);
    font-size: 0.82rem;
    font-weight: 800;
}

.lz-exp-card__more:hover { color: var(--lz-accent); }

.lz-exp-card__tags {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    margin-top: 2px;
}

.lz-exp-tag {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 5px 11px;
    border-radius: var(--lz-r-pill);
    background-color: var(--lz-bg-2);
    color: var(--lz-body);
    font-size: 0.74rem;
    font-weight: 700;
}

.lz-exp-tag__ico { width: 13px; height: 13px; color: var(--lz-accent); }

.lz-exp-card__actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
    margin-top: auto;
    padding-top: 10px;
    border-top: 1px solid var(--lz-line);
}

.lz-exp-act {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 12px;
    border: 0;
    border-radius: var(--lz-r-pill);
    background: none;
    color: var(--lz-body);
    font-size: 0.8rem;
    font-weight: 700;
    cursor: pointer;
    transition: background-color var(--lz-t-fast) var(--lz-ease), color var(--lz-t-fast) var(--lz-ease);
}

.lz-exp-act:hover { background-color: var(--lz-accent-soft); color: var(--lz-accent-700); }

.lz-exp-act__ico { width: 15px; height: 15px; }

/* The voted state. The label stays navy and the count becomes a navy-filled pill: the accent
   pair this used (--lz-accent-700 on the wash, white on --lz-accent) measures ~3.3:1 and
   ~3.8:1, both under AA. Nothing is lost — the wash, the pill and aria-pressed all carry it. */
.lz-exp-act--helpful.is-on {
    background-color: var(--lz-accent-soft);
    color: var(--lz-navy);
}

.lz-exp-act__count {
    display: inline-grid;
    place-items: center;
    min-width: 20px;
    height: 20px;
    padding: 0 5px;
    border-radius: var(--lz-r-pill);
    background-color: var(--lz-bg-2);
    color: var(--lz-body);
    font-size: 0.7rem;
    font-weight: 800;
}

.lz-exp-act--helpful.is-on .lz-exp-act__count {
    background-color: var(--lz-navy);
    color: #fff;
}

.lz-exp-act--quiet { color: var(--lz-muted); margin-left: auto; }

.lz-exp-card__media {
    display: block;
    overflow: hidden;
    border-radius: var(--lz-r-md);
    background-color: var(--lz-bg-2);
}

.lz-exp-card__img {
    width: 100%;
    height: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    transition: transform var(--lz-t-slow) var(--lz-ease-out);
}

.lz-exp-card:hover .lz-exp-card__img { transform: scale(1.03); }

/* The skeleton the client clones: label-less bones instead of made-up content. */
.lz-exp-card__bones {
    display: block;
    border-radius: var(--lz-r-sm);
    background-image: linear-gradient(90deg, var(--lz-bg-2) 25%, #EFEDF4 37%, var(--lz-bg-2) 63%);
    background-size: 400% 100%;
    animation: lzExpBones 1.4s ease-in-out infinite;
}

.lz-exp-card__bones--title { width: 62%; height: 16px; }
.lz-exp-card__bones--society { width: 42%; height: 12px; }
.lz-exp-card__bones--media { width: 100%; aspect-ratio: 4 / 3; }

@keyframes lzExpBones {
    from { background-position: 100% 0; }
    to { background-position: 0 0; }
}

/* ==========================================================================
   8. Latest feed
   ========================================================================== */

.lz-exp-latest__list {
    display: grid;
    gap: 16px;
}

/* The cover is a circle, half the media column wide and centred in it — horizontally and
   vertically. `width` comes before `margin-inline: auto` on purpose: a grid item with auto
   side margins stops stretching and would otherwise shrink to its own content. Scoped to the
   Latest feed, so the Featured strip's teaser cards keep the rectangular cover. */
.lz-exp-latest .lz-exp-card__media {
    width: 50%;
    margin-inline: auto;
    align-self: center;
    aspect-ratio: 1;
    border-radius: 50%;
}

.lz-exp-latest .lz-exp-card__img {
    aspect-ratio: 1;
    border-radius: 50%;
}

.lz-exp-latest .lz-exp-card__bones--media {
    aspect-ratio: 1;
    border-radius: 50%;
}

.lz-exp-latest__msg {
    margin-top: 16px;
    padding: 14px 18px;
    border: 1px solid var(--lz-line);
    border-radius: var(--lz-r-md);
    background-color: var(--lz-surface);
    color: var(--lz-body);
    font-size: 0.88rem;
}

.lz-exp-latest__more {
    display: flex;
    align-items: center;
    gap: 9px;
    margin: 24px auto 0;
}

.lz-exp-latest__more-ico { width: 16px; height: 16px; transition: transform var(--lz-t-fast) var(--lz-ease); }
.lz-exp-latest__more:hover .lz-exp-latest__more-ico { transform: translateX(3px); }
.lz-exp-latest__more.is-busy { opacity: 0.7; pointer-events: none; }

/* ==========================================================================
   9. Sidebar
   ========================================================================== */

.lz-exp-side-card {
    padding: 18px;
    border: 1px solid var(--lz-line);
    border-radius: var(--lz-r-lg);
    background-color: var(--lz-surface);
    box-shadow: var(--lz-sh-1);
}

.lz-exp-side-card__head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 10px;
}

.lz-exp-side-card__title { font-size: 1.02rem; }

.lz-exp-side-card__action {
    flex: none;
    color: var(--lz-accent-700);
    font-size: 0.8rem;
    font-weight: 800;
}

.lz-exp-side-card__action:hover { color: var(--lz-accent); }

.lz-exp-side-card__lead {
    margin-top: 4px;
    color: var(--lz-body);
    font-size: 0.8rem;
    line-height: 1.5;
}

.lz-exp-socs {
    display: grid;
    gap: 4px;
    margin-top: 12px;
}

.lz-exp-soc { min-width: 0; }

.lz-exp-soc__link {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px;
    border-radius: var(--lz-r-md);
    transition: background-color var(--lz-t-fast) var(--lz-ease);
}

.lz-exp-soc__link:hover { background-color: var(--lz-accent-soft); }

.lz-exp-soc__rank {
    display: grid;
    place-items: center;
    width: 22px;
    height: 22px;
    flex: none;
    border-radius: 50%;
    background-color: var(--lz-bg-2);
    color: var(--lz-body);
    font-size: 0.7rem;
    font-weight: 800;
}

.lz-exp-soc__thumb {
    display: block;
    width: 52px;
    height: 44px;
    flex: none;
    overflow: hidden;
    border-radius: var(--lz-r-sm);
    background-color: var(--lz-bg-2);
}

.lz-exp-soc__img { width: 100%; height: 100%; object-fit: cover; }

.lz-exp-soc__body {
    display: grid;
    gap: 1px;
    min-width: 0;
    flex: 1 1 auto;
}

.lz-exp-soc__name {
    color: var(--lz-navy);
    font-size: 0.86rem;
    font-weight: 800;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.lz-exp-soc__where {
    color: var(--lz-body);
    font-size: 0.74rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.lz-exp-soc__meta {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 2px;
}

.lz-exp-soc__meta .lz-exp-score { font-size: 0.8rem; }

.lz-exp-soc__reviews {
    color: var(--lz-body);
    font-size: 0.74rem;
    font-weight: 600;
}

.lz-exp-soc__arrow { flex: none; color: var(--lz-muted); }
.lz-exp-soc__arrow .lz-icon { width: 16px; height: 16px; }

.lz-exp-side-cta {
    position: relative;
    overflow: hidden;
    padding: 20px;
    border-radius: var(--lz-r-lg);
    background-image: linear-gradient(155deg, #F3EFFF 0%, #E9E2FF 100%);
}

.lz-exp-side-cta__title {
    position: relative;
    max-width: 18ch;
    font-size: 1.1rem;
    line-height: 1.28;
}

.lz-exp-side-cta__text {
    position: relative;
    margin-top: 8px;
    max-width: 30ch;
    color: var(--lz-body);
    font-size: 0.84rem;
    line-height: 1.55;
}

.lz-exp-side-cta__btn {
    position: relative;
    margin-top: 16px;
}

.lz-exp-side-cta__ico { width: 16px; height: 16px; }

.lz-exp-side-cta__art {
    position: absolute;
    right: -26px;
    bottom: -22px;
    width: 150px;
    opacity: 0.28;
    pointer-events: none;
}

.lz-exp-side-cta__img { width: 100%; height: auto; }

.lz-exp-conn {
    display: grid;
    gap: 6px;
    margin-top: 12px;
}

.lz-exp-conn__item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px;
    border: 1px solid var(--lz-line);
    border-radius: var(--lz-r-md);
    background-color: var(--lz-bg-2);
}

.lz-exp-conn__item[hidden] { display: none; }

.lz-exp-conn__item.is-you {
    border-color: var(--lz-accent-soft-2);
    background-color: var(--lz-accent-soft);
}

.lz-exp-conn__ico { flex: none; color: var(--lz-accent-700); }
.lz-exp-conn__body { display: grid; gap: 1px; min-width: 0; }

.lz-exp-conn__label {
    color: var(--lz-navy);
    font-size: 0.84rem;
    font-weight: 800;
}

.lz-exp-conn__text {
    color: var(--lz-body);
    font-size: 0.74rem;
    line-height: 1.4;
}

.lz-exp-conn__tick {
    display: none;
    flex: none;
    color: var(--lz-accent-700);
}

.lz-exp-conn__item.is-you .lz-exp-conn__tick { display: block; }

.lz-exp-conn__guest,
.lz-exp-conn__manage {
    display: block;
    margin-top: 12px;
    color: var(--lz-body);
    font-size: 0.8rem;
}

.lz-exp-conn__manage {
    color: var(--lz-accent-700);
    font-weight: 800;
}

.lz-exp-conn__manage[hidden],
.lz-exp-conn__guest[hidden] { display: none; }

/* ==========================================================================
   10. Closing CTA + sample note
   ========================================================================== */

.lz-exp-cta {
    padding-top: clamp(34px, 4.4vw, 56px);
}

.lz-exp-cta__card {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
    overflow: hidden;
    padding: clamp(24px, 3.4vw, 40px);
    border-radius: var(--lz-r-xl);
    background-image: linear-gradient(150deg, #F3EFFF 0%, #EDE7FF 100%);
}

@media (min-width: 860px) {
    .lz-exp-cta__card { grid-template-columns: minmax(0, 1fr) 240px; align-items: center; }
}

.lz-exp-cta__body { position: relative; min-width: 0; }
.lz-exp-cta__title { font-size: clamp(1.3rem, 2.4vw, 1.85rem); }

.lz-exp-cta__text {
    margin-top: 8px;
    max-width: 46ch;
    color: var(--lz-body);
    font-size: 0.94rem;
}

.lz-exp-cta__btn { margin-top: 18px; }
.lz-exp-cta__ico { width: 16px; height: 16px; }

.lz-exp-cta__art {
    display: none;
    position: relative;
}

@media (min-width: 860px) {
    .lz-exp-cta__art { display: block; }
}

.lz-exp-cta__img { width: 100%; height: auto; }

.lz-exp-note {
    margin-top: 26px;
    padding: 12px 16px;
    border: 1px dashed var(--lz-line-2);
    border-radius: var(--lz-r-md);
    color: var(--lz-body);
    font-size: 0.8rem;
    line-height: 1.55;
}

/* ==========================================================================
   11. Empty + error states
   ========================================================================== */

.lz-exp-empty {
    display: grid;
    justify-items: center;
    gap: 8px;
    padding: clamp(30px, 4vw, 46px) 20px;
    border: 1px dashed var(--lz-line-2);
    border-radius: var(--lz-r-lg);
    background-color: var(--lz-surface);
    text-align: center;
}

.lz-exp-empty__art {
    display: grid;
    place-items: center;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background-color: var(--lz-accent-soft);
    color: var(--lz-accent-700);
}

.lz-exp-empty__title { font-size: 1.1rem; }

.lz-exp-empty__text {
    max-width: 42ch;
    color: var(--lz-body);
    font-size: 0.9rem;
}

.lz-exp-empty__actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-top: 10px;
}

.lz-exp-empty__browse {
    background-color: var(--lz-surface);
    border: 1px solid var(--lz-line-2);
    color: var(--lz-navy);
}

.lz-exp-state {
    padding: clamp(40px, 6vw, 80px) 0;
}

.lz-exp-state__card {
    display: grid;
    justify-items: center;
    gap: 8px;
    padding: clamp(30px, 4vw, 48px) 20px;
    border: 1px solid var(--lz-line);
    border-radius: var(--lz-r-xl);
    background-color: var(--lz-surface);
    box-shadow: var(--lz-sh-1);
    text-align: center;
}

.lz-exp-state__art {
    display: grid;
    place-items: center;
    width: 54px;
    height: 54px;
    border-radius: 50%;
    background-color: var(--lz-accent-soft);
    color: var(--lz-accent-700);
}

.lz-exp-state__title { font-size: clamp(1.15rem, 2vw, 1.5rem); }
.lz-exp-state__text { max-width: 46ch; color: var(--lz-body); font-size: 0.92rem; }
.lz-exp-state__card .lz-btn { margin-top: 12px; }

/* ==========================================================================
   12. Review detail
   ========================================================================== */

.lz-exp--detail { padding-top: clamp(16px, 2vw, 24px); }

.lz-exp-detail__top {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 20px;
}

.lz-exp-detail__back {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: var(--lz-body);
    font-size: 0.84rem;
    font-weight: 700;
}

.lz-exp-detail__back:hover { color: var(--lz-accent-700); }
.lz-exp-detail__back-ico { width: 15px; height: 15px; }

.lz-exp-detail {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 22px;
    align-items: start;
}

@media (min-width: 1000px) {
    .lz-exp-detail { grid-template-columns: minmax(0, 1fr) minmax(0, 320px); }
}

.lz-exp-detail__main {
    display: flex;
    flex-direction: column;
    gap: 14px;
    min-width: 0;
    padding: clamp(20px, 2.6vw, 30px);
    border: 1px solid var(--lz-line);
    border-radius: var(--lz-r-lg);
    background-color: var(--lz-surface);
    box-shadow: var(--lz-sh-1);
}

.lz-exp-detail__head {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
}

.lz-exp-detail__av {
    display: grid;
    place-items: center;
    width: 52px;
    height: 52px;
    flex: none;
    overflow: hidden;
    border-radius: 50%;
    background-color: var(--lz-accent-soft);
    color: var(--lz-accent-700);
}

.lz-exp-detail__av .lz-avatar { width: 100%; height: 100%; }

.lz-exp-detail__who { display: grid; gap: 1px; min-width: 0; flex: 1 1 auto; }

.lz-exp-detail__name {
    color: var(--lz-navy);
    font-size: 1rem;
    font-weight: 800;
}

.lz-exp-detail__meta { color: var(--lz-body); font-size: 0.82rem; }
.lz-exp-detail__rating { margin-left: auto; }

.lz-exp-detail__title {
    font-size: clamp(1.3rem, 2.6vw, 1.9rem);
    line-height: 1.25;
}

.lz-exp-detail__society { color: var(--lz-body); font-size: 0.88rem; }

.lz-exp-detail__society-link {
    color: var(--lz-accent-700);
    font-weight: 800;
}

.lz-exp-detail__text {
    color: var(--lz-navy-2);
    font-size: 0.98rem;
    line-height: 1.75;
}

.lz-exp-detail__actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
    margin-top: 4px;
    padding-top: 12px;
    border-top: 1px solid var(--lz-line);
}

.lz-exp-detail__side {
    display: grid;
    gap: 18px;
    min-width: 0;
}

.lz-exp-detail__below {
    grid-column: 1 / -1;
    display: grid;
    gap: 22px;
}

.lz-exp-cats {
    display: grid;
    gap: 10px;
    margin-top: 12px;
}

.lz-exp-cat { display: grid; gap: 5px; }

.lz-exp-cat__head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 10px;
}

.lz-exp-cat__label { color: var(--lz-body); font-size: 0.82rem; font-weight: 600; }
.lz-exp-cat__value { color: var(--lz-navy); font-size: 0.86rem; font-weight: 800; }

.lz-exp-cat__track {
    display: block;
    height: 6px;
    overflow: hidden;
    border-radius: var(--lz-r-pill);
    background-color: var(--lz-bg-2);
}

.lz-exp-cat__fill {
    display: block;
    width: var(--lz-exp-fill, 0%);
    height: 100%;
    border-radius: inherit;
    background-image: linear-gradient(90deg, var(--lz-accent), var(--lz-accent-600));
}

.lz-exp-related {
    padding: clamp(18px, 2.4vw, 26px);
    border: 1px solid var(--lz-line);
    border-radius: var(--lz-r-lg);
    background-color: var(--lz-surface);
}

.lz-exp-related__list {
    display: grid;
    gap: 12px;
    margin-top: 14px;
}

.lz-exp-related__item {
    padding: 12px 14px;
    border: 1px solid var(--lz-line);
    border-radius: var(--lz-r-md);
    background-color: var(--lz-bg-2);
}

.lz-exp-related__text {
    color: var(--lz-navy);
    font-size: 0.9rem;
    font-weight: 600;
    line-height: 1.5;
}

.lz-exp-related__meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
    margin-top: 7px;
    color: var(--lz-body);
    font-size: 0.76rem;
}

.lz-exp-related__action {
    display: inline-block;
    margin-top: 14px;
    color: var(--lz-accent-700);
    font-size: 0.84rem;
    font-weight: 800;
}

.lz-exp-related__action:hover { color: var(--lz-accent); }

.lz-exp-pill {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 3px 10px;
    border-radius: var(--lz-r-pill);
    font-size: 0.72rem;
    font-weight: 700;
}

.lz-exp-pill__dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: currentColor;
}

.lz-exp-pill--green { background-color: var(--lz-green-soft); color: var(--lz-green-600); }
.lz-exp-pill--amber { background-color: var(--lz-amber-soft); color: var(--lz-amber-700, #B2760E); }

/* ==========================================================================
   13. Dialogs (report + share)
   ========================================================================== */

/* ---- The report dialog -------------------------------------------------- */

.lz-exp-modal {
    position: fixed;
    inset: 0;
    z-index: 120;
    display: grid;
    place-items: center;
    padding: 20px;
}

.lz-exp-modal[hidden] { display: none; }

.lz-exp-modal__scrim {
    position: absolute;
    inset: 0;
    background-color: rgba(11, 27, 51, 0.42);
}

.lz-exp-modal__card {
    position: relative;
    width: min(100%, 460px);
    max-height: min(88vh, 640px);
    overflow-y: auto;
    padding: clamp(20px, 3vw, 28px);
    border-radius: var(--lz-r-lg);
    background-color: var(--lz-surface);
    box-shadow: var(--lz-sh-4);
    animation: lzExpModalIn 0.28s var(--lz-ease-out) both;
}

@keyframes lzExpModalIn {
    from { opacity: 0; transform: translateY(12px); }
    to { opacity: 1; transform: none; }
}

.lz-exp-modal__close {
    position: absolute;
    top: 14px;
    right: 14px;
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    border: 0;
    border-radius: 50%;
    background-color: var(--lz-bg-2);
    color: var(--lz-body);
    cursor: pointer;
    transition: background-color var(--lz-t-fast) var(--lz-ease), color var(--lz-t-fast) var(--lz-ease);
}

.lz-exp-modal__close:hover { background-color: var(--lz-accent-soft); color: var(--lz-accent-700); }

.lz-exp-modal__title { padding-right: 40px; font-size: 1.2rem; }

.lz-exp-modal__text {
    margin-top: 8px;
    color: var(--lz-body);
    font-size: 0.88rem;
    line-height: 1.55;
}

.lz-exp-modal__form { margin-top: 18px; }
.lz-exp-modal__set { margin: 0; padding: 0; border: 0; }

.lz-exp-modal__reasons {
    display: grid;
    gap: 7px;
}

.lz-exp-reason {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    border: 1px solid var(--lz-line-2);
    border-radius: var(--lz-r-md);
    color: var(--lz-body);
    font-size: 0.86rem;
    font-weight: 600;
    cursor: pointer;
    transition: border-color var(--lz-t-fast) var(--lz-ease), background-color var(--lz-t-fast) var(--lz-ease);
}

.lz-exp-reason:hover { border-color: var(--lz-accent-soft-2); }

.lz-exp-reason__input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.lz-exp-reason__label { flex: 1 1 auto; min-width: 0; }
.lz-exp-reason__tick { display: none; color: var(--lz-accent-700); }

.lz-exp-reason:has(.lz-exp-reason__input:checked) {
    border-color: var(--lz-accent);
    background-color: var(--lz-accent-soft);
    color: var(--lz-navy);
    font-weight: 800;
}

.lz-exp-reason:has(.lz-exp-reason__input:checked) .lz-exp-reason__tick { display: block; }

.lz-exp-reason__input:focus-visible + .lz-exp-reason__label {
    outline: 3px solid var(--lz-accent-ring);
    outline-offset: 3px;
    border-radius: 6px;
}

.lz-exp-modal__note-label {
    display: block;
    margin-top: 16px;
    color: var(--lz-body);
    font-size: 0.78rem;
    font-weight: 700;
}

.lz-exp-modal__note {
    width: 100%;
    margin-top: 7px;
    padding: 11px 14px;
    border: 1px solid var(--lz-line-2);
    border-radius: var(--lz-r-md);
    background-color: var(--lz-surface);
    color: var(--lz-navy);
    font-size: 0.88rem;
    resize: vertical;
}

.lz-exp-modal__error {
    margin-top: 12px;
    color: var(--lz-red-600);
    font-size: 0.82rem;
    font-weight: 700;
}

.lz-exp-modal__actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 10px;
    margin-top: 20px;
}

.lz-exp-modal__cancel {
    background-color: var(--lz-surface);
    border: 1px solid var(--lz-line-2);
    color: var(--lz-navy);
}

.lz-exp-modal__done {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 18px;
    padding: 14px 16px;
    border-radius: var(--lz-r-md);
    background-color: var(--lz-green-soft);
    color: var(--lz-green-600);
    font-size: 0.88rem;
    font-weight: 700;
}

.lz-exp-modal__done[hidden] { display: none; }
.lz-exp-modal__done-ico { flex: none; }

/* ---- The share popup ---------------------------------------------------- */

/* Both dialogs share .lz-exp-modal; only what is the share popup's own lives here. */
.lz-exp-share { width: min(100%, 440px); }

.lz-exp-share__head {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding-right: 40px;
}

.lz-exp-share__disc {
    flex: none;
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background-image: linear-gradient(140deg, var(--lz-accent-soft-2), var(--lz-accent-soft));
    color: var(--lz-navy);
}

.lz-exp-share__disc .lz-icon { width: 20px; height: 20px; }

.lz-exp-share__intro { min-width: 0; }

.lz-exp-share__title { font-size: 1.16rem; }

.lz-exp-share__text {
    margin-top: 5px;
    color: var(--lz-body);
    font-size: 0.86rem;
    line-height: 1.5;
}

/* The link preview: a chat-style card, so the resident sees what will be sent. */
.lz-exp-share__preview {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
    margin-top: 18px;
    padding: 12px;
    border: 1px solid var(--lz-line);
    border-left: 3px solid var(--lz-accent);
    border-radius: var(--lz-r-md);
    background-color: var(--lz-bg-2);
}

.lz-exp-share__thumb {
    position: relative;
    flex: none;
    display: grid;
    place-items: center;
    width: 64px;
    height: 64px;
    overflow: hidden;
    border-radius: var(--lz-r-sm);
    background-color: var(--lz-surface);
}

.lz-exp-share__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.lz-exp-share__img[hidden] { display: none; }

.lz-exp-share__monogram {
    color: var(--lz-navy);
    font-size: 1.2rem;
    font-weight: 800;
}

.lz-exp-share__meta {
    display: grid;
    gap: 2px;
    min-width: 0;
}

.lz-exp-share__society {
    color: var(--lz-navy);
    font-size: 0.88rem;
    font-weight: 800;
}

.lz-exp-share__where {
    color: var(--lz-body);
    font-size: 0.74rem;
}

.lz-exp-share__line {
    display: -webkit-box;
    overflow: hidden;
    color: var(--lz-body);
    font-size: 0.8rem;
    line-height: 1.45;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.lz-exp-share__url {
    margin-top: 2px;
    overflow: hidden;
    color: var(--lz-body);
    font-size: 0.7rem;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* Three big tappable targets. */
.lz-exp-share__options {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    margin-top: 16px;
    padding: 0;
    list-style: none;
}

.lz-exp-share__opt {
    display: grid;
    justify-items: center;
    gap: 8px;
    width: 100%;
    padding: 14px 8px;
    border: 1px solid var(--lz-line-2);
    border-radius: var(--lz-r-md);
    background-color: var(--lz-surface);
    color: var(--lz-navy);
    font-size: 0.76rem;
    font-weight: 800;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    transition: transform var(--lz-t-fast) var(--lz-ease), border-color var(--lz-t-fast) var(--lz-ease),
        box-shadow var(--lz-t-fast) var(--lz-ease);
}

.lz-exp-share__opt:hover {
    transform: translateY(-3px);
    border-color: var(--lz-accent-soft-2);
    box-shadow: var(--lz-sh-2);
}

.lz-exp-share__opt-ico {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background-color: var(--lz-accent-soft);
    color: var(--lz-navy);
}

.lz-exp-share__opt-ico .lz-icon { width: 20px; height: 20px; }

/* The one brand colour in the popup — WhatsApp's green, as a disc behind its mark. The label
   stays navy, so the colour is decoration rather than the message. */
.lz-exp-share__opt--whatsapp .lz-exp-share__opt-ico {
    background-color: rgba(37, 211, 102, 0.14);
    color: #128C4B;
}

.lz-exp-share__status {
    margin: 14px 0 0;
    padding: 10px 13px;
    border-radius: var(--lz-r-sm);
    background-color: var(--lz-green-soft);
    color: var(--lz-green-600);
    font-size: 0.8rem;
    font-weight: 700;
}

.lz-exp-share__status[hidden] { display: none; }

.lz-exp-share__status.is-error {
    background-color: rgba(192, 40, 45, 0.1);
    color: var(--lz-red-600);
}

@media (max-width: 400px) {
    .lz-exp-share__options { grid-template-columns: minmax(0, 1fr); }

    .lz-exp-share__opt {
        grid-template-columns: 42px minmax(0, 1fr);
        align-items: center;
        justify-items: start;
        gap: 12px;
        text-align: left;
    }
}

/* ==========================================================================
   14. Comments
   ========================================================================== */

/* The thread spans the whole card: .lz-exp-card is a two-column grid from 760px, so without
   this the panel would land inside the 210px media column. The list is deliberately NOT
   height-capped — the panel grows with its comments, which is why no conditional focus stop
   is needed (a scroller with nothing focusable inside it fails axe). */
.lz-exp-comments {
    grid-column: 1 / -1;
}

.lz-exp-comments[hidden] { display: none; }

/* The Comment action is JS-only. Its thread is cloned from a template, so without the script
   it would be an inert button with nothing behind it. */
html:not(.has-js) .lz-exp-act--comment { display: none; }

/* The card carries the standout action — it is what the section is inviting. Its label stays
   navy: --lz-accent-700 on the wash measures ~3.3:1, under AA for text this size. */
.lz-exp-act--comment {
    background-color: var(--lz-accent-soft);
    color: var(--lz-navy);
}

.lz-exp-act--comment:hover,
.lz-exp-act--comment.is-open {
    background-color: var(--lz-accent-soft-2);
    color: var(--lz-navy);
}

/* A card being read must not float while its thread is open. */
.lz-exp-card.is-open:hover { transform: none; }

/* --------------------------------------------------------------- the panel */

.lz-exp-thread {
    display: grid;
    gap: 12px;
    margin-top: 14px;
    padding: 15px clamp(13px, 1.8vw, 19px) 17px;
    border: 1px solid var(--lz-accent-soft-2);
    border-left: 3px solid var(--lz-accent);
    border-radius: var(--lz-r-lg);
    background-image: linear-gradient(158deg, var(--lz-accent-soft) 0%, var(--lz-surface) 58%);
    animation: lzExpThreadIn 0.3s var(--lz-ease-out) both;
}

@keyframes lzExpThreadIn {
    from { opacity: 0; transform: translateY(-6px); }
    to   { opacity: 1; transform: none; }
}

.lz-exp-thread__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    min-width: 0;
}

.lz-exp-thread__title {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
    color: var(--lz-navy);
    font-size: 0.86rem;
    font-weight: 800;
}

.lz-exp-thread__ico {
    flex: none;
    width: 16px;
    height: 16px;
    color: var(--lz-accent);
}

.lz-exp-thread__count {
    flex: none;
    display: inline-grid;
    place-items: center;
    min-width: 24px;
    height: 24px;
    padding: 0 8px;
    border: 1px solid var(--lz-accent-soft-2);
    border-radius: var(--lz-r-pill);
    background-color: var(--lz-surface);
    color: var(--lz-navy);
    font-size: 0.72rem;
    font-weight: 800;
    font-variant-numeric: tabular-nums;
}

/* An empty pill would read as a zero nobody counted. */
.lz-exp-thread__count:empty { display: none; }

/* --------------------------------------------------------------- the rows */

.lz-exp-thread__list {
    display: grid;
    gap: 0;
    margin: 0;
    padding: 0;
    list-style: none;
}

.lz-exp-comment {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 12px 0;
    border-top: 1px solid var(--lz-line);
}

.lz-exp-thread__list > .lz-exp-comment:first-child {
    padding-top: 2px;
    border-top: 0;
}

.lz-exp-comment__av { flex: none; }

.lz-exp-comment__av .lz-avatar {
    width: 34px;
    height: 34px;
}

.lz-exp-comment__body {
    display: grid;
    gap: 4px;
    flex: 1 1 auto;
    min-width: 0;
}

.lz-exp-comment__top {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 4px 8px;
    margin: 0;
}

.lz-exp-comment__name {
    color: var(--lz-navy);
    font-size: 0.82rem;
    font-weight: 800;
}

/* An author the server has no profile for prints no name — never a placeholder. */
.lz-exp-comment__name:empty { display: none; }

.lz-exp-comment__meta {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: var(--lz-body);
    font-size: 0.74rem;
    font-weight: 600;
}

.lz-exp-comment__edited[hidden] { display: none; }

/* The second cue beside the tint, so "your own comment" never rests on colour. Navy rather
   than the accent: white on --lz-accent is only 3.8:1. */
.lz-exp-comment__you {
    display: inline-flex;
    align-items: center;
    padding: 1px 8px;
    border-radius: var(--lz-r-pill);
    background-color: var(--lz-navy);
    color: #fff;
    font-size: 0.62rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.lz-exp-comment__you[hidden] { display: none; }

.lz-exp-comment__text {
    margin: 0;
    color: var(--lz-navy);
    font-size: 0.86rem;
    line-height: 1.55;
    /* A pasted URL must widen nothing. */
    overflow-wrap: anywhere;
}

.lz-exp-comment.is-new { animation: lzExpCommentIn 0.3s var(--lz-ease-out) both; }

@keyframes lzExpCommentIn {
    from { opacity: 0; transform: translateY(-4px); }
    to   { opacity: 1; transform: none; }
}

/* ------------------------------------------------------- the row's own tools */

.lz-exp-comment__tools { display: none; }
.lz-exp-comment.is-mine .lz-exp-comment__tools { display: block; }

.lz-exp-comment__edit {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 4px 10px;
    border: 1px solid var(--lz-line-2);
    border-radius: var(--lz-r-pill);
    background-color: var(--lz-surface);
    color: var(--lz-body);
    font-size: 0.72rem;
    font-weight: 700;
    cursor: pointer;
    transition: border-color var(--lz-t-fast) var(--lz-ease), color var(--lz-t-fast) var(--lz-ease);
}

.lz-exp-comment__edit:hover {
    border-color: var(--lz-accent);
    color: var(--lz-accent-700);
}

.lz-exp-comment__edit-ico { width: 13px; height: 13px; }

/* Editing swaps the body for the pre-filled editor — one state class decides, so the client
   only toggles it and focuses the field. */
.lz-exp-comment__editform { display: none; }

.lz-exp-comment.is-editing .lz-exp-comment__editform {
    display: grid;
    gap: 10px;
}

.lz-exp-comment.is-editing .lz-exp-comment__text,
.lz-exp-comment.is-editing .lz-exp-comment__tools,
.lz-exp-comment.is-editing .lz-exp-comment__top { display: none; }

.lz-exp-comment__editfoot {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
}

.lz-exp-comment__cancel {
    padding: 8px 15px;
    border: 1px solid var(--lz-line-2);
    border-radius: var(--lz-r-pill);
    background-color: var(--lz-surface);
    color: var(--lz-navy);
    font-size: 0.78rem;
    font-weight: 700;
    cursor: pointer;
    transition: border-color var(--lz-t-fast) var(--lz-ease), color var(--lz-t-fast) var(--lz-ease);
}

.lz-exp-comment__cancel:hover {
    border-color: var(--lz-accent);
    color: var(--lz-accent-700);
}

/* ------------------------------------------------------------- the composer */

.lz-exp-commentform {
    display: grid;
    gap: 10px;
    padding: 14px;
    border: 1px solid var(--lz-line-2);
    border-radius: var(--lz-r-md);
    background-color: var(--lz-surface);
    box-shadow: var(--lz-sh-1);
    transition: border-color var(--lz-t-fast) var(--lz-ease), box-shadow var(--lz-t-fast) var(--lz-ease);
}

/* The form owns the border and the ring, so the textarea inside it stays borderless and the
   three parts read as one surface. */
.lz-exp-commentform[hidden] { display: none; }

.lz-exp-commentform:focus-within {
    border-color: var(--lz-accent);
    box-shadow: 0 0 0 4px var(--lz-accent-ring);
}

.lz-exp-comment__editform {
    border-color: var(--lz-accent-soft-2);
    background-image: linear-gradient(158deg, var(--lz-accent-soft) 0%, var(--lz-surface) 70%);
}

.lz-exp-commentform__input,
.lz-exp-comment__input {
    width: 100%;
    min-height: 76px;
    padding: 11px 13px;
    border: 0;
    border-radius: var(--lz-r-sm);
    background-color: transparent;
    color: var(--lz-navy);
    font: inherit;
    font-size: 0.88rem;
    line-height: 1.55;
    resize: vertical;
    outline: none;
}

.lz-exp-commentform__input::placeholder,
.lz-exp-comment__input::placeholder { color: var(--lz-muted); }

.lz-exp-commentform__foot {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
}

.lz-exp-commentform__count {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    margin-right: auto;
    padding: 4px 10px;
    border-radius: var(--lz-r-pill);
    background-color: var(--lz-bg-2);
    color: var(--lz-body);
    font-size: 0.72rem;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
    transition: background-color var(--lz-t-fast) var(--lz-ease), color var(--lz-t-fast) var(--lz-ease);
}

.lz-exp-commentform__limit { color: var(--lz-body); font-weight: 600; }

/* The tick is the second cue, so "ready to post" never rests on colour alone. */
.lz-exp-commentform__tick {
    display: none;
    width: 13px;
    height: 13px;
}

.lz-exp-commentform__count.is-low {
    background-color: var(--lz-amber-soft);
    color: var(--lz-navy);
}

.lz-exp-commentform__count.is-ready {
    background-color: var(--lz-green-soft);
    color: var(--lz-green-600);
}

.lz-exp-commentform__count.is-ready .lz-exp-commentform__tick { display: block; }

.lz-exp-commentform__send { width: 15px; height: 15px; }

/* ------------------------------------------------------------- the states */

.lz-exp-thread__state {
    margin: 0;
    color: var(--lz-body);
    font-size: 0.84rem;
    font-weight: 600;
}

.lz-exp-thread__state--error { color: var(--lz-red-600); }
.lz-exp-thread__state[hidden] { display: none; }

.lz-exp-commentform__msg,
.lz-exp-comment__msg {
    margin: 0;
    color: var(--lz-red-600);
    font-size: 0.78rem;
    font-weight: 700;
}

.lz-exp-commentform__msg[hidden],
.lz-exp-comment__msg[hidden] { display: none; }

/* A posted or saved confirmation — the same node, a success state. */
.lz-exp-commentform__msg.is-ok,
.lz-exp-comment__msg.is-ok { color: var(--lz-green-600); }

/* Reading is public; writing needs a profile. The composer's place is taken by this. */
.lz-exp-thread__signin {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin: 0;
    padding: 12px 14px;
    border: 1px dashed var(--lz-accent-soft-2);
    border-radius: var(--lz-r-md);
    background-color: var(--lz-surface);
    color: var(--lz-body);
    font-size: 0.82rem;
    font-weight: 600;
}

.lz-exp-thread__signin[hidden] { display: none; }

/* ==========================================================================
   15. Reveal + motion
   ========================================================================== */

.has-js .lz-exp [data-lz-inview] {
    opacity: 0;
    transform: translateY(14px);
    transition: opacity var(--lz-t-slow) var(--lz-ease-out), transform var(--lz-t-slow) var(--lz-ease-out);
    transition-delay: var(--lz-delay, 0ms);
}

.has-js .lz-exp [data-lz-inview].is-in {
    opacity: 1;
    transform: none;
}

/* ==========================================================================
   16. Reduced motion
   ========================================================================== */

@media (prefers-reduced-motion: reduce) {
    .has-js .lz-exp [data-lz-inview] {
        opacity: 1;
        transform: none;
    }

    .lz-exp-card__bones {
        animation: none;
    }

    .lz-exp-modal__card { animation: none; }

    /* The comment thread's own loops and entrances — the animation list, not the transition
       one: a disabled transition would leave these running (gotcha 24). */
    .lz-exp-thread,
    .lz-exp-comment.is-new { animation: none; }

    .lz-exp-loc,
    .lz-exp-card,
    .lz-exp-card__img,
    .lz-exp-filter__summary,
    .lz-exp-filter__chev,
    .lz-exp-sort__chev,
    .lz-exp-chip,
    .lz-exp-act,
    .lz-exp-soc__link,
    .lz-exp-head__action-ico,
    .lz-exp-hero__back-ico,
    .lz-exp-latest__more-ico,
    .lz-exp-tools__submit,
    .lz-exp-comment__edit,
    .lz-exp-comment__cancel,
    .lz-exp-commentform,
    .lz-exp-commentform__count,
    .lz-exp-share__opt { transition: none; }

    .lz-exp-loc:hover,
    .lz-exp-card:hover,
    .lz-exp-share__opt:hover { transform: none; }

    .lz-exp-card:hover .lz-exp-card__img { transform: none; }
}
