/*
 * Developer: MexTech Limited
 * Licenced: Naijasearch is officially licenced and authorized to be used from MexTech Limited
 * Copyright: (c) 2026 All Rights Reserved, MexTech Limited (https://mextechltd.name.ng).
 */

.mhero {
    position: relative;
    background:
        radial-gradient(1200px 420px at 12% -10%, rgba(var(--brand-rgb), 0.10), transparent 62%),
        radial-gradient(900px 380px at 92% 0%, rgba(168, 100, 0, 0.07), transparent 58%),
        linear-gradient(180deg, var(--hero-top) 0%, var(--surface) 62%);
    border-bottom: 1px solid var(--line);
    padding: 30px 0 22px;
}

.mhero__grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
    gap: 34px;
    align-items: center;
}

.mhero__lead h1 {
    margin: 0;
    font-size: clamp(1.78rem, 1.16rem + 1.62vw, 2.62rem);
    line-height: 1.1;
    letter-spacing: -0.028em;
    font-weight: 800;
    color: var(--ink);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.06em;
    text-wrap: balance;
}

.mhero__title-top {
    display: block;
    max-width: 100%;
}

.mhero__title-accent {
    display: block;
    max-width: 100%;
    color: var(--brand-strong);
    position: relative;
}

@supports ((-webkit-background-clip: text) or (background-clip: text)) {
    .mhero__title-accent {
        background-image: linear-gradient(96deg, var(--brand) 2%, var(--hero-accent) 96%);
        -webkit-background-clip: text;
        background-clip: text;
        -webkit-text-fill-color: transparent;
        color: transparent;
    }
}

.mhero__lead p {
    margin: 12px 0 0;
    color: var(--ink-3);
    font-size: 0.95rem;
    line-height: 1.55;
    max-width: 44ch;
}

.mhero__search {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto auto;
    gap: 8px;
    background: var(--surface);
    border: 1px solid var(--line-strong);
    border-radius: var(--r-lg);
    padding: 7px;
    box-shadow: var(--sh-3);
    transition: border-color var(--fast), box-shadow var(--fast);
}

.mhero__search:focus-within {
    border-color: var(--brand);
    box-shadow: 0 0 0 3px rgba(var(--brand-rgb), 0.13), var(--sh-3);
}

.mhero__search-main {
    position: relative;
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 0 7px;
    min-width: 0;
}

.mhero__search-main > svg {
    color: var(--muted);
    flex: none;
}

.mhero__search-main input {
    flex: 1 1 auto;
    min-width: 0;
    border: 0;
    outline: 0;
    background: transparent;
    font: inherit;
    font-size: 0.95rem;
    color: var(--ink);
    padding: 11px 0;
    -webkit-appearance: none;
}

.mhero__search-main input::placeholder {
    color: var(--faint);
}

.mhero__search-loc {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 0 10px;
    border-left: 1px solid var(--line);
    border-right: 1px solid var(--line);
    color: var(--ink-2);
    min-width: 0;
}

.mhero__search-loc > svg {
    color: var(--brand);
    flex: none;
}

.mhero__search-loc select {
    border: 0;
    outline: 0;
    background: transparent;
    font: inherit;
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--ink-2);
    max-width: 132px;
    padding: 10px 2px;
    cursor: pointer;
}

.mhero__search-btn {
    padding: 0 22px;
    height: 46px;
    border-radius: var(--r-md);
}

.mhero__tags {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 14px;
    min-width: 0;
}

.mhero__tags-label {
    flex: 0 0 auto;
    font-size: 0.72rem;
    font-weight: 800;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.mhero__tags-list {
    display: flex;
    align-items: center;
    gap: 8px;
    flex: 1 1 auto;
    min-width: 0;
    max-width: 100%;
}

.tag-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    height: 32px;
    min-width: 0;
    max-width: 100%;
    padding: 0 12px;
    border-radius: var(--r-pill);
    background: var(--surface);
    border: 1px solid var(--line);
    color: var(--ink-2);
    font-size: 0.82rem;
    text-decoration: none;
    transition: border-color var(--fast), color var(--fast), transform var(--fast);
}

.tag-pill svg {
    flex: 0 0 auto;
    opacity: 0.5;
}

.tag-pill__text {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.tag-pill:hover {
    border-color: var(--brand);
    color: var(--brand-strong);
    transform: translateY(-1px);
}

.tag-pill:hover svg {
    opacity: 1;
}

.mhero__stats {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    margin: 22px 0 0;
    padding: 0;
    list-style: none;
    background: var(--surface);
    border: 1px solid var(--line-strong);
    border-radius: var(--r-md);
    box-shadow: var(--sh-1);
    overflow: hidden;
}

.mhero__stats li {
    display: flex;
    flex-direction: column;
    gap: 3px;
    min-width: 0;
    padding: 14px 16px;
    border-left: 1px solid var(--line);
}

.mhero__stats li:first-child {
    padding-left: 16px;
    border-left: 0;
}

.mhero__stats strong {
    font-size: 1.34rem;
    font-weight: 800;
    color: var(--brand-strong);
    letter-spacing: -0.015em;
    line-height: 1.1;
    font-variant-numeric: tabular-nums;
}

.mhero__stats li > span {
    font-size: 0.68rem;
    line-height: 1.25;
    color: var(--muted);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.07em;
}

.mblock {
    padding: 30px 0;
}

.mblock--tint {
    background: var(--surface-2);
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.mblock__head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 16px;
}

.mblock__head h2 {
    margin: 0;
    font-size: 1.12rem;
    font-weight: 800;
    letter-spacing: -0.015em;
    color: var(--ink);
}

.mblock__headtext {
    min-width: 0;
}

.mblock__headtext p {
    margin: 4px 0 0;
    max-width: 54ch;
    font-size: 0.84rem;
    line-height: 1.5;
    color: var(--muted);
}

.mblock__empty {
    margin: 0;
    padding: 22px;
    border: 1px dashed var(--line-strong);
    border-radius: var(--r-md);
    background: var(--surface);
    color: var(--muted);
    font-size: 14px;
    text-align: center;
}

.mblock__empty :where(a) {
    color: var(--brand-strong);
    font-weight: 700;
    text-decoration: underline;
}

.mblock__more {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    margin-top: 2px;
    font-size: 0.83rem;
    font-weight: 600;
    color: var(--brand-strong);
    text-decoration: none;
    white-space: nowrap;
}

.mblock__more:hover {
    text-decoration: underline;
}

.cattiles {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 10px;
}

.cattile {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 7px;
    padding: 15px 8px 13px;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--r-md);
    text-decoration: none;
    text-align: center;
    transition: border-color var(--fast), box-shadow var(--fast), transform var(--fast);
}

.cattile:hover {
    border-color: var(--brand);
    box-shadow: var(--sh-2);
    transform: translateY(-2px);
}

.cattile__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: var(--r-sm);
    background: var(--brand-soft);
    color: var(--brand-strong);
}

.cattile__name {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--ink);
    line-height: 1.25;
}

.cattile__count {
    font-size: 0.72rem;
    color: var(--muted);
    font-weight: 600;
}

.cattile__subs {
    font-size: 0.7rem;
    line-height: 1.4;
    color: var(--faint);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 100%;
}

.lgrid {
    display: grid;
    gap: 14px;
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.lgrid--3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.lgrid--2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.lgrid--4,
.lgrid--four {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.lcard {
    display: flex;
    flex-direction: column;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--r-md);
    overflow: hidden;
    min-width: 0;
    text-decoration: none;
    color: inherit;
}

.lcard--card {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--r-md);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: border-color var(--fast), box-shadow var(--normal), transform var(--normal);
    will-change: transform;
}

.lcard--card:hover {
    border-color: var(--line-strong);
    box-shadow: var(--sh-3);
    transform: translateY(-3px);
}

.lcard__media {
    position: relative;
    display: block;
    aspect-ratio: 4 / 3;
    background: var(--surface-2);
    overflow: hidden;
}

.lcard__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform var(--normal);
}

.lcard__body {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 11px 12px 12px;
    flex: 1 1 auto;
}

.lcard--wide {
    display: grid;
    grid-template-columns: 220px minmax(0, 1fr);
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--r-md);
    overflow: hidden;
    transition: border-color var(--fast), box-shadow var(--normal);
}

.lcard--wide:hover {
    border-color: var(--line-strong);
    box-shadow: var(--sh-2);
}

.lcard--wide .lcard__media {
    height: 100%;
}

.lcard--wide .lcard__body {
    justify-content: center;
}

@media (max-width: 620px) {
    .lcard--wide {
        grid-template-columns: minmax(0, 1fr);
    }

    .lcard--wide .lcard__media {
        aspect-ratio: 16 / 10;
    }
}

.lcard--card:hover .lcard__media img {
    transform: scale(1.045);
}

.lcard__shade {
    position: absolute;
    inset: auto 0 0 0;
    height: 58%;
    background: linear-gradient(180deg, transparent, rgba(7, 26, 17, 0.34));
    pointer-events: none;
}

.lcard__flag {
    position: absolute;
    top: 8px;
    left: 8px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    height: 22px;
    padding: 0 8px;
    border-radius: var(--r-xs);
    background: rgba(13, 26, 19, 0.82);
    color: #fff;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    backdrop-filter: blur(4px);
}

.lcard__flag--featured {
    background: rgba(168, 100, 0, 0.94);
}

.lcard__type {
    position: absolute;
    right: 8px;
    bottom: 8px;
    height: 22px;
    display: inline-flex;
    align-items: center;
    padding: 0 8px;
    border-radius: var(--r-xs);
    background: rgba(var(--surface-rgb), 0.94);
    color: var(--ink-2);
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: capitalize;
}

.lcard__price {
    font-size: 0.98rem;
    font-weight: 800;
    color: var(--price);
    letter-spacing: -0.015em;
    line-height: 1.2;
}

.lcard__price--contact {
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--brand-strong);
}

.lcard__title {
    font-size: 0.92rem;
    font-weight: 700;
    line-height: 1.33;
    letter-spacing: -0.008em;
    color: var(--ink);
    text-decoration: none;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.lcard__title:hover {
    color: var(--brand-strong);
}

.lcard__title mark {
    background: var(--amber-soft);
    color: inherit;
    padding: 0 1px;
    border-radius: 2px;
}

.lcard__summary {
    margin: 0;
    font-size: 0.79rem;
    color: var(--muted);
    line-height: 1.45;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.lcard__meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    font-size: 0.73rem;
    color: var(--muted);
    margin-top: auto;
    padding-top: 4px;
}

.lcard__loc {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.lcard__meta .lcard__loc svg {
    flex: none;
    color: var(--faint);
}

.lcard__time {
    flex: none;
    color: var(--faint);
}

.lcard__dist {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    flex: none;
    padding: 2px 7px;
    border-radius: var(--r-pill);
    background: var(--brand-soft);
    color: var(--brand-strong);
    font-size: 0.7rem;
    font-weight: 600;
}

.lcard__dist svg {
    flex: none;
}

.lcard__seller {
    display: flex;
    align-items: center;
    gap: 6px;
    padding-top: 7px;
    border-top: 1px solid var(--line);
    margin-top: 6px;
}

.lcard__avatar {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    border-radius: var(--r-pill);
    background: var(--brand-soft);
    color: var(--brand-strong);
    font-size: 0.68rem;
    font-weight: 800;
    flex: none;
}

.lcard__seller-name {
    font-size: 0.74rem;
    font-weight: 600;
    color: var(--ink-2);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.lcard__verified {
    display: inline-flex;
    color: var(--brand);
    flex: none;
}

.lcard__reasons {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    padding-top: 6px;
}

.placetiles {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 10px;
}

.placetile {
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 10px 11px;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--r-md);
    text-decoration: none;
    transition: border-color var(--fast), box-shadow var(--fast);
}

.placetile:hover {
    border-color: var(--brand);
    box-shadow: var(--sh-2);
}

.placetile__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: var(--r-sm);
    background: var(--brand-soft-2);
    color: var(--brand-strong);
    flex: none;
}

.placetile__body {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.placetile__name {
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--ink);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.placetile__meta {
    font-size: 0.72rem;
    color: var(--muted);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.querychips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.querychip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    height: 32px;
    padding: 0 12px;
    border-radius: var(--r-pill);
    background: var(--surface);
    border: 1px solid var(--line);
    color: var(--ink-2);
    font-size: 0.82rem;
    text-decoration: none;
    transition: border-color var(--fast), color var(--fast);
}

.querychip:hover {
    border-color: var(--brand);
    color: var(--brand-strong);
}

.querychip svg {
    color: var(--faint);
    flex: none;
}

.querychip__count {
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--muted);
    background: var(--surface-2);
    border-radius: var(--r-pill);
    padding: 0 6px;
}

.publishband {
    background:
        radial-gradient(720px 260px at 88% 0%, rgba(255, 255, 255, 0.10), transparent 60%),
        linear-gradient(135deg, var(--band-1), var(--band-2) 58%, var(--band-3));
    color: #fff;
    padding: 34px 0;
    margin-top: 8px;
}

.publishband__inner {
    display: grid;
    grid-template-columns: minmax(0, 1.5fr) minmax(0, 0.85fr);
    gap: 28px;
    align-items: center;
}

.publishband__badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    height: 24px;
    padding: 0 10px;
    border-radius: var(--r-pill);
    background: rgba(255, 255, 255, 0.16);
    color: #fff;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.publishband__copy h2 {
    margin: 10px 0 8px;
    font-size: clamp(1.2rem, 1rem + 0.7vw, 1.62rem);
    line-height: 1.25;
    letter-spacing: -0.02em;
    font-weight: 800;
    color: #fff;
}

.publishband__copy p {
    margin: 0;
    color: rgba(255, 255, 255, 0.78);
    font-size: 0.9rem;
    line-height: 1.55;
    max-width: 58ch;
}

.publishband__points {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 20px;
    margin: 14px 0 0;
    padding: 0;
    list-style: none;
}

.publishband__points li {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.86);
}

.publishband__points svg {
    color: #cfdb8a;
    flex: none;
}

.publishband__action {
    display: flex;
    flex-direction: row;
    align-items: stretch;
    gap: 12px;
}

.publishband__action > * {
    flex: 1 1 0;
    min-width: 0;
}

.publishband__action .btn,
.publishband__link {
    width: 100%;
    height: auto;
    min-height: 48px;
    justify-content: center;
    text-align: center;
}

.publishband .btn--primary {
    background: #fff;
    color: var(--brand-night);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.22);
}

.publishband .btn--primary:hover {
    background: #f6f8ec;
    color: var(--brand-night);
}

.publishband__link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    width: 100%;
    min-height: 48px;
    padding: 0 18px;
    border: 1px solid rgba(255, 255, 255, 0.32);
    border-radius: var(--r-sm);
    background: rgba(255, 255, 255, 0.06);
    color: #fff;
    font-size: 0.875rem;
    font-weight: 700;
    letter-spacing: -0.01em;
    white-space: nowrap;
    text-decoration: none;
    transition: background var(--fast), border-color var(--fast), color var(--fast);
}

.publishband__link svg {
    flex: none;
}

.publishband__link:hover {
    background: rgba(255, 255, 255, 0.16);
    border-color: rgba(255, 255, 255, 0.55);
    color: #fff;
    text-decoration: none;
}

.browse {
    padding: 18px 0 34px;
}

.browse__head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--line);
    margin-bottom: 14px;
}

.browse__title {
    margin: 0;
    font-size: clamp(1.2rem, 1.02rem + 0.6vw, 1.5rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    color: var(--ink);
}

.browse__count {
    margin: 4px 0 0;
    font-size: 0.83rem;
    color: var(--muted);
}

.browse__intro {
    margin: 0 0 14px;
    font-size: 0.88rem;
    line-height: 1.6;
    color: var(--ink-3);
    max-width: 78ch;
}

.browse__pick {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
}

.browse__pick .select {
    min-width: 15rem;
    max-width: 100%;
}

.browse__pick .combo {
    flex: 1 1 16rem;
    min-width: 15rem;
    max-width: 26rem;
}

.subcats {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    margin-bottom: 16px;
}

.subcat {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    height: 30px;
    padding: 0 10px 0 12px;
    border-radius: var(--r-pill);
    background: var(--surface);
    border: 1px solid var(--line);
    color: var(--ink-2);
    font-size: 0.8rem;
    text-decoration: none;
    transition: border-color var(--fast), color var(--fast);
}

.subcat:hover {
    border-color: var(--brand);
    color: var(--brand-strong);
}

.subcat svg {
    color: var(--faint);
}

.browse__bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    flex-wrap: wrap;
    padding: 10px 12px;
    background: var(--surface-2);
    border: 1px solid var(--line);
    border-radius: var(--r-md);
    margin-bottom: 16px;
}

.browse__filter {
    display: flex;
    align-items: center;
    gap: 8px;
}

.browse__filter-label {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--ink-3);
}

.browse__filter-label svg {
    color: var(--brand);
}

.browse__clear {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--brand-strong);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.browse__siblings {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.pill {
    display: inline-flex;
    align-items: center;
    height: 27px;
    padding: 0 10px;
    border-radius: var(--r-pill);
    background: var(--surface);
    border: 1px solid var(--line);
    font-size: 0.76rem;
    font-weight: 600;
    color: var(--ink-2);
    text-decoration: none;
    transition: border-color var(--fast), color var(--fast);
}

.pill:hover {
    border-color: var(--brand);
    color: var(--brand-strong);
}

.input--sm {
    height: 32px;
    padding: 0 10px;
    font-size: 0.82rem;
    border-radius: var(--r-sm);
}

.sbar {
    background: var(--surface);
    border-bottom: 1px solid var(--line);
    padding: 13px 0 11px;
}

.sbar__form {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto auto;
    gap: 8px;
    align-items: center;
}

.sbar__field {
    position: relative;
    display: flex;
    align-items: center;
    gap: 8px;
    height: 42px;
    padding: 0 12px;
    background: var(--surface);
    border: 1px solid var(--line-strong);
    border-radius: var(--r-md);
    box-shadow: var(--sh-1);
    min-width: 0;
}

.sbar__field > svg {
    color: var(--muted);
    flex: none;
}

.sbar__field input {
    flex: 1 1 auto;
    min-width: 0;
    border: 0;
    outline: 0;
    background: transparent;
    font: inherit;
    font-size: 0.9rem;
    color: var(--ink);
}

.sbar__loc {
    display: flex;
    align-items: center;
    gap: 6px;
    height: 42px;
    padding: 0 10px;
    border: 1px solid var(--line-strong);
    border-radius: var(--r-md);
    background: var(--surface);
}

.sbar__loc > svg {
    color: var(--brand);
    flex: none;
}

.sbar__loc select {
    border: 0;
    outline: 0;
    background: transparent;
    font: inherit;
    font-size: 0.84rem;
    font-weight: 600;
    color: var(--ink-2);
    max-width: 130px;
    cursor: pointer;
}

.sbar__meta {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 9px;
    font-size: 0.81rem;
    color: var(--muted);
}

.sbar__count {
    margin: 0;
    font: inherit;
    font-weight: inherit;
}

.sbar__count strong {
    color: var(--ink);
    font-weight: 800;
}

.sbar__pin {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    padding: 2px 8px;
    border-radius: var(--r-pill);
    background: var(--brand-soft);
    color: var(--brand-strong);
    font-weight: 600;
    font-size: 0.76rem;
}

.sbar__clear {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    color: var(--danger);
    font-weight: 600;
    text-decoration: none;
    font-size: 0.78rem;
}

.sbar__clear:hover {
    text-decoration: underline;
}

.understood {
    display: flex;
    align-items: center;
    gap: 7px;
    flex-wrap: wrap;
    margin-top: 9px;
    padding-top: 9px;
    border-top: 1px dashed var(--line);
}

.understood__label {
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--faint);
}

.understood__item {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 3px 9px;
    border-radius: var(--r-pill);
    background: var(--surface-2);
    border: 1px solid var(--line);
    font-size: 0.76rem;
    color: var(--ink-3);
}

.understood__item svg {
    color: var(--brand);
    flex: none;
}

.understood__item b {
    color: var(--ink);
    font-weight: 700;
}

.slayout {
    display: grid;
    grid-template-columns: 246px minmax(0, 1fr);
    gap: 20px;
    align-items: start;
    padding: 18px 0 36px;
}

.sfilters {
    position: sticky;
    top: calc(var(--header-h) + 10px);
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--r-md);
    padding: 12px;
    box-shadow: var(--sh-1);
    max-height: calc(100vh - var(--header-h) - 28px);
    overflow-y: auto;
}

.sfilters__head {
    display: none;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--line);
    margin-bottom: 10px;
}

.sfilters__head > span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.88rem;
    font-weight: 800;
    color: var(--ink);
}

.sfilters__close {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border: 1px solid var(--line);
    border-radius: var(--r-sm);
    background: var(--surface);
    color: var(--ink-2);
    cursor: pointer;
}

.sfilters__group {
    padding: 10px 0;
    border-bottom: 1px solid var(--line);
}

.sfilters__group:last-of-type {
    border-bottom: 0;
}

.sfilters__group h3 {
    margin: 0 0 7px;
    font-size: 0.74rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--muted);
}

.sfilters__group select,
.sfilters__group input[type="number"] {
    width: 100%;
    height: 34px;
    padding: 0 9px;
    border: 1px solid var(--line-strong);
    border-radius: var(--r-sm);
    background: var(--surface);
    font: inherit;
    font-size: 0.83rem;
    color: var(--ink);
    margin-bottom: 6px;
}

.sfilters__group select:focus,
.sfilters__group input[type="number"]:focus {
    outline: 2px solid rgba(var(--brand-rgb), 0.28);
    outline-offset: 1px;
    border-color: var(--brand);
}

.sfilters__pills {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
}

.pillbtn {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    height: 27px;
    padding: 0 9px;
    border-radius: var(--r-pill);
    border: 1px solid var(--line);
    background: var(--surface);
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--ink-2);
    text-decoration: none;
    transition: border-color var(--fast), background var(--fast), color var(--fast);
}

.pillbtn span {
    font-size: 0.68rem;
    color: var(--faint);
    font-weight: 700;
}

.pillbtn:hover {
    border-color: var(--brand);
    color: var(--brand-strong);
}

.pillbtn.is-active {
    background: var(--brand);
    border-color: var(--brand);
    color: var(--on-brand);
}

.pillbtn.is-active span {
    color: var(--on-brand-soft);
}

.sfilters__check {
    display: flex;
    align-items: center;
    gap: 7px;
    font-size: 0.79rem;
    color: var(--ink-3);
    cursor: pointer;
}

.sfilters__check input {
    width: 15px;
    height: 15px;
    accent-color: var(--brand);
}

.sfilters__actions {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding-top: 12px;
}

.sfilters-backdrop {
    display: none;
}

body.is-locked {
    overflow: hidden;
}

.sresults {
    min-width: 0;
}

.stoolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 14px;
}

.stoolbar__filter-btn {
    display: none;
    align-items: center;
    gap: 6px;
    height: 34px;
    padding: 0 12px;
    border: 1px solid var(--line-strong);
    border-radius: var(--r-sm);
    background: var(--surface);
    font: inherit;
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--ink-2);
    cursor: pointer;
}

.stoolbar__right {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-left: auto;
}

.stoolbar__sort {
    display: flex;
    align-items: center;
    gap: 6px;
    height: 34px;
    padding: 0 10px;
    border: 1px solid var(--line-strong);
    border-radius: var(--r-sm);
    background: var(--surface);
}

.stoolbar__sort svg {
    color: var(--muted);
    flex: none;
}

.stoolbar__sort select {
    border: 0;
    outline: 0;
    background: transparent;
    font: inherit;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--ink-2);
    cursor: pointer;
}

.suggests {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    margin-top: 22px;
    padding-top: 18px;
    border-top: 1px solid var(--line);
}

.suggests__block {
    min-width: 0;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--r-md);
    padding: 14px 12px 10px;
    box-shadow: var(--sh-1);
}

.suggests__block h3 {
    margin: 0 0 8px;
    font-size: 0.76rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--muted);
}

.suggests__list {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.suggests__list a + a {
    border-top: 1px solid var(--line);
}

.suggests__list a {
    display: block;
    padding: 7px 9px;
    border-radius: var(--r-sm);
    font-size: 0.82rem;
    color: var(--ink-2);
    text-decoration: none;
    transition: background var(--fast);
}

.suggests__list a:hover {
    background: var(--surface-2);
    color: var(--brand-strong);
}

.suggests__list a span {
    color: var(--faint);
    font-size: 0.76rem;
}

.empty__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
    margin-top: 12px;
}

.pdp-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 14px;
    flex-wrap: wrap;
    margin-bottom: 12px;
}

.safety-card {
    position: relative;
    overflow: hidden;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--r-lg);
    padding: 16px 18px 17px;
    box-shadow: var(--sh-2);
}

.safety-card::before {
    content: "";
    position: absolute;
    inset: 0 auto 0 0;
    width: 3px;
    background: linear-gradient(180deg, var(--amber), #d9a441);
    transform-origin: top;
    animation: safety-rail 520ms var(--ease) both;
}

.safety-card h2,
.safety-card h3,
.safety-card .panel__title {
    position: relative;
    margin: 0 0 11px;
    padding-left: 18px;
    font-size: 0.9rem;
    font-weight: 800;
    letter-spacing: -0.01em;
    color: var(--ink);
}

.safety-card h2::before,
.safety-card h3::before,
.safety-card .panel__title::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: var(--amber);
    box-shadow: 0 0 0 3px var(--amber-soft);
    transform: translateY(-50%);
}

.safety-card > p {
    margin: 0 0 11px;
    font-size: 0.84rem;
    line-height: 1.55;
    color: var(--ink-2);
}

.safety-card__list {
    display: flex;
    flex-direction: column;
    gap: 9px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.safety-card__list li {
    display: flex;
    align-items: flex-start;
    gap: 9px;
    font-size: 0.84rem;
    line-height: 1.5;
    color: var(--ink-2);
    animation: safety-in 420ms var(--ease) both;
}

.safety-card__list li:nth-child(2) {
    animation-delay: 70ms;
}

.safety-card__list li:nth-child(3) {
    animation-delay: 140ms;
}

.safety-card__list li:nth-child(4) {
    animation-delay: 210ms;
}

.safety-card__list svg {
    flex: none;
    width: 12px;
    height: 12px;
    padding: 3px;
    margin-top: 1px;
    border-radius: 50%;
    background: var(--amber-soft);
    color: var(--amber);
    box-sizing: content-box;
}

@keyframes safety-rail {
    from {
        transform: scaleY(0);
    }

    to {
        transform: scaleY(1);
    }
}

@keyframes safety-in {
    from {
        opacity: 0;
        transform: translateY(5px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.section__title {
    margin: 0;
    font-size: 1.05rem;
    font-weight: 800;
    letter-spacing: -0.015em;
    color: var(--ink);
}

.mkt-footer {
    margin-top: 40px;
    background: var(--brand-night);
    color: rgba(255, 255, 255, 0.7);
    padding: 34px 0 0;
}

html[data-theme="dark"] .mkt-footer {
    border-top: 1px solid var(--line);
}

.mkt-footer__grid {
    display: grid;
    grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 0.85fr));
    gap: 26px;
    padding-bottom: 26px;
}

.mkt-footer .brand {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    margin-bottom: 9px;
}

.mkt-footer .brand__logo {
    height: 30px;
    max-width: 180px;
}

.mkt-footer .brand__word {
    color: #fff;
    font-size: 1.02rem;
    font-weight: 800;
    letter-spacing: -0.02em;
}

.brand__accent {
    color: #c9d57f;
}

.mkt-footer__brand p {
    margin: 0 0 12px;
    font-size: 0.84rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.58);
    max-width: 40ch;
}

.mkt-footer__col h3 {
    margin: 0 0 10px;
    font-size: 0.76rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: rgba(255, 255, 255, 0.92);
}

.mkt-footer__col ul {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.mkt-footer__col a {
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.62);
    text-decoration: none;
    transition: color var(--fast);
}

.mkt-footer__col a:hover {
    color: #fff;
}

.mkt-footer__more {
    font-weight: 700;
    color: #c9d57f;
}

.mkt-footer__base {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    align-items: center;
    gap: 12px;
    padding: 14px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.77rem;
    color: rgba(255, 255, 255, 0.5);
}

.mkt-footer__base > span:first-child {
    justify-self: start;
}

.mkt-footer__meta {
    display: flex;
    gap: 14px;
    justify-self: end;
}

.mkt-footer__credit {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    justify-self: center;
    color: rgba(255, 255, 255, 0.62);
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
}

.mkt-footer__credit:hover {
    color: #fff;
}

.mkt-footer__meta a {
    color: rgba(255, 255, 255, 0.62);
    text-decoration: none;
}

.mkt-footer__meta a:hover {
    color: #fff;
}

@media (max-width: 720px) {
    .mkt-footer__base {
        grid-template-columns: minmax(0, 1fr);
        justify-items: center;
        text-align: center;
        gap: 8px;
        padding: 16px 0;
    }

    .mkt-footer__base > span:first-child,
    .mkt-footer__credit,
    .mkt-footer__meta {
        justify-self: center;
    }
}

.mkt-tabbar {
    display: none;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 70;
    background: var(--surface);
    border-top: 1px solid var(--line);
    padding: 0 4px;
    box-shadow: 0 -2px 12px rgba(13, 26, 19, 0.06);
}

.mkt-tabbar a {
    flex: 1 1 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
    min-width: 0;
    padding: 0 2px;
    font-size: 0.62rem;
    line-height: 1.1;
    font-weight: 700;
    color: var(--muted);
    text-decoration: none;
    border-radius: var(--r-sm);
}

.mkt-tabbar a.is-active {
    color: var(--brand-strong);
}

.mkt-tabbar__post {
    color: var(--brand-strong);
    font-weight: 800;
}

.mkt-tabbar__plus {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 26px;
    border-radius: var(--r-sm);
    background: var(--brand);
    color: var(--on-brand);
    box-shadow: 0 4px 10px rgba(var(--brand-rgb), 0.28);
}

.mkt-tabbar__post.is-active,
.mkt-tabbar__post span:last-child {
    color: var(--brand-strong);
}

@media (max-width: 1120px) {
    .cattiles {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .placetiles {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .lgrid,
    .lgrid--4,
    .lgrid--four {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 980px) {
    .mhero__grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 20px;
    }

    .mhero__lead {
        display: grid;
        grid-template-columns: minmax(0, 1.12fr) minmax(0, 1fr);
        gap: 6px 32px;
        align-items: start;
        text-align: left;
        max-width: none;
        margin-inline: 0;
    }

    .mhero__lead h1 {
        align-items: flex-start;
        font-size: clamp(1.95rem, 1.15rem + 2.3vw, 2.55rem);
    }

    .mhero__lead p {
        margin: 2px 0 0;
        max-width: none;
        font-size: 0.94rem;
        line-height: 1.6;
    }

    .slayout {
        grid-template-columns: minmax(0, 1fr);
    }

    .suggests {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .publishband__inner {
        grid-template-columns: minmax(0, 1fr);
    }

    .publishband__action {
        align-items: stretch;
    }
}

@media (min-width: 981px) {
    .mhero__lead h1 {
        font-size: clamp(2.1rem, 1.2rem + 1.85vw, 2.9rem);
    }

    .mhero__lead p {
        margin-top: 14px;
        max-width: 46ch;
        padding-left: 15px;
        border-left: 3px solid rgba(var(--brand-rgb), 0.5);
        font-size: 1rem;
        line-height: 1.6;
    }
}

@media (max-width: 599px) {
    .mhero__lead {
        display: block;
        text-align: center;
        max-width: 40rem;
        margin-inline: auto;
    }

    .mhero__lead h1 {
        align-items: center;
        font-size: clamp(2.15rem, 1.45rem + 3.4vw, 2.6rem);
    }

    .mhero__lead p {
        margin: 12px auto 0;
        max-width: 44ch;
        padding-left: 0;
        border-left: 0;
        font-size: 0.92rem;
        line-height: 1.55;
    }
}

@media (max-width: 860px) {
    .mkt-tabbar {
        display: flex;
        align-items: stretch;
        height: 50px;
    }

    body {
        display: flex;
        flex-direction: column;
        min-height: 100vh;
        min-height: 100dvh;
        padding-bottom: 0;
    }

    #main {
        flex: 1 0 auto;
    }

    .mkt-footer {
        flex: 0 0 auto;
        padding-bottom: 50px;
    }

    .sbar__form {
        display: none;
    }

    .sbar {
        padding: 10px 0 9px;
    }

    .sfilters {
        position: fixed;
        top: 0;
        bottom: 0;
        left: 0;
        width: min(88vw, 320px);
        max-height: none;
        border-radius: 0 var(--r-lg) var(--r-lg) 0;
        z-index: 95;
        transform: translateX(-102%);
        transition: transform var(--normal);
        box-shadow: var(--sh-4);
        padding: 14px;
    }

    .sfilters.is-open {
        transform: translateX(0);
    }

    .sfilters-backdrop {
        display: block;
        position: fixed;
        inset: 0;
        z-index: 90;
        background: rgba(var(--overlay-rgb), 0.45);
        opacity: 0;
        pointer-events: none;
        transition: opacity var(--normal);
    }

    .sfilters-backdrop.is-open {
        opacity: 1;
        pointer-events: auto;
    }

    .sfilters__head {
        display: flex;
    }

    .stoolbar__filter-btn {
        display: inline-flex;
    }

    .sfilters__actions {
        position: sticky;
        bottom: 0;
        background: var(--surface);
        padding-bottom: 4px;
    }

    .mkt-footer {
        margin-top: 26px;
        padding-top: 26px;
    }

    .mkt-footer__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 20px;
    }

    .mkt-footer__brand {
        grid-column: 1 / -1;
    }
}

@media (max-width: 720px) {
    .mhero {
        padding: 20px 0 16px;
    }

    .mhero__search {
        grid-template-columns: minmax(0, 1fr);
        gap: 0;
        padding: 6px;
    }

    .mhero__search-main {
        padding: 0 6px;
    }

    .mhero__search-main input {
        padding: 10px 0;
    }

    .mhero__search-loc {
        border: 0;
        border-top: 1px solid var(--line);
        padding: 0 6px;
        margin: 0 0 6px;
    }

    .mhero__search-loc select {
        max-width: none;
        width: 100%;
    }

    .mhero__search-btn {
        width: 100%;
        height: 42px;
    }

    .mhero__tags {
        flex-direction: column;
        align-items: stretch;
        gap: 8px;
        margin-top: 16px;
    }

    .mhero__tags-label {
        font-size: 0.68rem;
    }

    .mhero__tags-list {
        flex-direction: column;
        align-items: stretch;
        gap: 6px;
    }

    .tag-pill {
        height: auto;
        min-height: 42px;
        padding: 9px 12px;
        border-radius: var(--r-md);
        font-size: 0.84rem;
    }

    .tag-pill__text {
        white-space: normal;
        line-height: 1.35;
        text-align: left;
    }

    .mhero__stats {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        margin-top: 18px;
    }

    .mhero__stats li {
        padding: 12px 14px;
        border-left: 1px solid var(--line);
        border-top: 1px solid var(--line);
    }

    .mhero__stats li:first-child {
        padding-left: 14px;
        border-top: 0;
    }

    .mhero__stats li:nth-child(2) {
        border-top: 0;
    }

    .mhero__stats li:nth-child(odd) {
        border-left: 0;
    }

    .mhero__stats strong {
        font-size: 1.22rem;
    }

    .mhero__stats li > span {
        font-size: 0.65rem;
    }

    .cattiles {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 8px;
    }

    .cattile {
        padding: 12px 6px 10px;
    }

    .cattile__icon {
        width: 34px;
        height: 34px;
    }

    .cattile__name {
        font-size: 0.74rem;
    }

    .lgrid,
    .lgrid--3,
    .lgrid--4,
    .lgrid--four {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }

    .placetiles {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .mblock {
        padding: 22px 0;
    }

    .mblock__head h2 {
        font-size: 1rem;
    }

    .sbar__form {
        grid-template-columns: minmax(0, 1fr) auto;
    }

    .sbar__loc {
        grid-column: 1 / -1;
        order: 3;
        height: 38px;
    }

    .sbar__loc select {
        max-width: none;
        width: 100%;
    }

    .suggests {
        grid-template-columns: minmax(0, 1fr);
    }

    .browse__bar {
        padding: 9px 10px;
    }

    .browse__filter {
        width: 100%;
        flex-wrap: nowrap;
        gap: 8px;
    }

    .browse__filter-label {
        flex: none;
    }

    .browse__filter select {
        flex: 0 1 auto;
        width: auto;
        min-width: 0;
        max-width: 148px;
        height: 32px;
        text-overflow: ellipsis;
    }

    .browse__clear {
        flex: none;
        white-space: nowrap;
    }

    .browse__siblings {
        width: 100%;
    }
}

@media (max-width: 599px) {
    .lgrid--featured > :nth-child(3) {
        display: none;
    }
}

@media (min-width: 600px) {
    .lgrid--featured {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 460px) {
    .lgrid,
    .lgrid--2,
    .lgrid--3,
    .lgrid--4,
    .lgrid--four {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
    }

    .lcard--card .lcard__body {
        padding: 8px 9px 10px;
        gap: 4px;
    }

    .lcard__title {
        font-size: 0.8rem;
        line-height: 1.3;
    }

    .lcard__eyebrow {
        flex-direction: column;
        align-items: flex-start;
        gap: 1px;
        font-size: 0.56rem;
    }

    .lcard__kind {
        max-width: 100%;
    }

    .lcard__state {
        font-size: 0.6rem;
    }

    .lcard__dest {
        font-size: 0.7rem;
    }

    .lcard__foot {
        padding-top: 6px;
        font-size: 0.64rem;
        gap: 4px;
    }

    .lcard__price {
        font-size: 0.86rem;
    }

    .lcard__summary,
    .lcard__reasons,
    .lcard__seller-name {
        font-size: 0.7rem;
    }

    .lcard__meta {
        gap: 4px;
        font-size: 0.66rem;
    }

    .lcard__loc {
        max-width: 100%;
    }

    .lcard__flag {
        font-size: 0.58rem;
        padding: 3px 6px;
    }

    .lcard__type {
        font-size: 0.58rem;
        padding: 2px 6px;
    }

    .mkt-footer__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 18px 16px;
    }

    .mkt-footer__brand {
        grid-column: 1 / -1;
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto;
        align-items: center;
        column-gap: 12px;
        row-gap: 12px;
    }

    .mkt-footer__brand .brand {
        grid-area: 1 / 1;
        margin-bottom: 0;
    }

    .mkt-footer__brand .btn {
        grid-area: 1 / 2;
        justify-self: end;
        white-space: nowrap;
    }

    .mkt-footer__brand p {
        grid-area: 2 / 1 / 3 / -1;
        margin-bottom: 0;
    }

    .mkt-footer__grid > .mkt-footer__col:last-child {
        grid-column: 1 / -1;
    }

    .mkt-footer__grid > .mkt-footer__col:last-child ul {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0 16px;
    }

    .publishband__action {
        flex-direction: row;
        align-items: stretch;
    }

    .publishband__action > * {
        flex: 1 1 0;
        min-width: 0;
    }

    .publishband__action .btn,
    .publishband__link {
        width: 100%;
        height: auto;
        min-height: 48px;
        padding: 8px 10px;
        font-size: 0.82rem;
        line-height: 1.2;
        text-align: center;
        white-space: normal;
    }

    .publishband__action .btn svg {
        width: 16px;
        height: 16px;
    }

    .publishband__link {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 5px;
        border: 1px solid rgba(255, 255, 255, 0.42);
        border-radius: var(--r-md);
        color: #fff;
    }

    .publishband .publishband__link svg {
        flex: none;
    }
}

.mkt-header {
    position: relative;
    z-index: 60;
    background: var(--surface);
    border-bottom: 1px solid var(--line);
}

.mkt-utility {
    display: block;
    background: var(--brand-night);
    color: rgba(255, 255, 255, 0.78);
    font-size: 0.76rem;
}

.mkt-utility__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    min-height: 34px;
}

.mkt-utility__note {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.mkt-utility__note svg {
    flex: 0 0 auto;
    color: #c9d57f;
}

.mkt-utility__links {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 8px 20px;
}

.mkt-utility__links a {
    color: rgba(255, 255, 255, 0.78);
    text-decoration: none;
    white-space: nowrap;
    transition: color var(--fast);
}

.mkt-utility__links a:hover {
    color: #ffffff;
}

.mkt-main {
    display: block;
    padding: 12px 0;
}

.mkt-main__inner {
    display: flex;
    align-items: center;
    gap: 22px;
}

.mkt-header--home .mkt-actions {
    margin-left: auto;
}

.mkt-header .brand {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    text-decoration: none;
    flex: 0 0 auto;
}

.mkt-header .brand__mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 10px;
    background: linear-gradient(150deg, var(--brand) 0%, var(--brand-fill-end) 100%);
    color: var(--on-brand);
    box-shadow: 0 3px 10px rgba(var(--shade-rgb), 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.22);
}

.mkt-header .brand__word {
    font-size: 1.22rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    color: var(--ink);
}

.mkt-header .brand__accent {
    color: var(--brand);
}

.mkt-search {
    display: flex;
    align-items: stretch;
    flex: 1 1 auto;
    min-width: 0;
    height: 44px;
    background: var(--surface);
    border: 1px solid var(--line-strong);
    border-radius: var(--r-sm);
    box-shadow: var(--sh-1);
    transition: border-color var(--fast), box-shadow var(--fast);
}

.mkt-search:focus-within {
    border-color: var(--brand);
    box-shadow: 0 0 0 3px var(--brand-soft), var(--sh-2);
}

.mkt-search__loc {
    position: relative;
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 0 8px 0 12px;
    border-right: 1px solid var(--line);
    color: var(--brand);
    flex: 0 0 auto;
    max-width: 190px;
}

.mkt-search__loc svg {
    flex: 0 0 auto;
}

.mkt-search__loc svg:last-child {
    color: var(--muted);
}

.mkt-search__loc select {
    appearance: none;
    border: 0;
    background: transparent;
    font: inherit;
    font-size: 0.84rem;
    font-weight: 600;
    color: var(--ink-2);
    max-width: 128px;
    padding: 0;
    cursor: pointer;
}

.mkt-search__loc select:focus {
    outline: none;
}

.mkt-search__field {
    position: relative;
    display: flex;
    align-items: center;
    gap: 8px;
    flex: 1 1 auto;
    min-width: 0;
    padding: 0 4px 0 12px;
}

.mkt-search__field > svg {
    flex: 0 0 auto;
    color: var(--faint);
}

.mkt-search__field input {
    flex: 1 1 auto;
    min-width: 0;
    border: 0;
    background: transparent;
    font: inherit;
    font-size: 0.9rem;
    color: var(--ink);
    padding: 0;
}

.mkt-search__field input::placeholder {
    color: var(--faint);
}

.mkt-search__field input:focus {
    outline: none;
}

.mkt-search__go {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    width: 36px;
    height: 36px;
    margin-right: 4px;
    border: 0;
    border-radius: var(--r-xs);
    background: var(--brand);
    color: var(--on-brand);
    cursor: pointer;
    box-shadow: 0 2px 6px rgba(var(--brand-rgb), 0.3);
    transition: background-color var(--fast), transform var(--fast);
}

.mkt-search__go:hover {
    background: var(--brand-strong);
    transform: translateX(1px);
}

.mkt-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    flex: 0 0 auto;
}

.mkt-icon-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border: 1px solid var(--line);
    border-radius: var(--r-sm);
    background: var(--surface);
    color: var(--ink-2);
    cursor: pointer;
    text-decoration: none;
    transition: background-color var(--fast), border-color var(--fast), color var(--fast);
}

.mkt-icon-btn:hover {
    background: var(--brand-soft-2);
    border-color: var(--brand);
    color: var(--brand);
}

.mkt-publish {
    height: 38px;
    gap: 6px;
    white-space: nowrap;
}

.mkt-burger {
    display: none;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border: 1px solid var(--line);
    border-radius: var(--r-sm);
    background: var(--surface);
    color: var(--ink);
    cursor: pointer;
}

.mkt-cats {
    display: block;
    border-top: 1px solid var(--line);
    background: var(--surface-2);
}

.mkt-cats__inner {
    display: flex;
    align-items: center;
    gap: 6px;
    min-height: 40px;
    overflow: hidden;
}

.mkt-cats__all {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    flex: 0 0 auto;
    height: 28px;
    padding: 0 12px;
    border-radius: var(--r-pill);
    background: var(--brand);
    color: var(--on-brand);
    font-size: 0.79rem;
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
    transition: background-color var(--fast);
}

.mkt-cats__all-short {
    display: none;
}

.mkt-cats__all:hover {
    background: var(--brand-strong);
}

.mkt-cats__all.is-active {
    background: var(--brand-fill-end);
}

.mkt-cats__rail {
    display: flex;
    align-items: center;
    gap: 2px;
    min-width: 0;
    overflow-x: auto;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
}

.mkt-cats__rail::-webkit-scrollbar {
    display: none;
}

.mkt-cats__link {
    display: inline-flex;
    align-items: center;
    flex: 0 0 auto;
    height: 28px;
    padding: 0 11px;
    border-radius: var(--r-pill);
    font-size: 0.79rem;
    font-weight: 600;
    color: var(--ink-3);
    text-decoration: none;
    white-space: nowrap;
    transition: background-color var(--fast), color var(--fast);
}

.mkt-cats__link:hover {
    background: var(--surface);
    color: var(--brand);
    box-shadow: var(--sh-1);
}

.mkt-cats__link.is-active {
    background: var(--surface);
    color: var(--brand);
    box-shadow: var(--sh-1);
}

.mobile-drawer {
    position: fixed;
    inset: 0;
    z-index: 120;
    display: none;
}

.mobile-drawer.is-open {
    display: block;
}

.mobile-drawer__scrim {
    position: absolute;
    inset: 0;
    background: rgba(var(--overlay-rgb), 0.58);
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px);
    animation: drawer-fade 260ms var(--ease) both;
}

.mobile-drawer.is-closing .mobile-drawer__scrim {
    animation: drawer-fade-out 220ms var(--ease) both;
}

.mobile-drawer__panel {
    position: absolute;
    inset: 0 auto 0 0;
    display: flex;
    flex-direction: column;
    width: min(88vw, 348px);
    background: var(--surface);
    border-radius: 0 28px 28px 0;
    box-shadow: var(--sh-4);
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
    isolation: isolate;
    animation: drawer-slide 460ms cubic-bezier(0.16, 1, 0.3, 1) backwards;
}

.mobile-drawer.is-closing .mobile-drawer__panel {
    animation: drawer-slide-out 240ms cubic-bezier(0.5, 0, 0.75, 0) forwards;
}

.mobile-drawer__panel::before {
    content: "";
    position: absolute;
    top: -40px;
    left: -40px;
    right: -40px;
    height: 320px;
    z-index: -1;
    pointer-events: none;
    background:
        radial-gradient(60% 70% at 18% 18%, rgba(var(--brand-rgb), 0.2), transparent 70%),
        radial-gradient(50% 60% at 92% 4%, rgba(var(--brand-rgb), 0.1), transparent 72%);
    animation: drawer-drift 9s ease-in-out infinite alternate;
}

.mobile-drawer__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 18px 18px 8px 20px;
}

.drawer-brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.drawer-brand__mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 12px;
    background: linear-gradient(150deg, var(--brand) 0%, var(--brand-fill-end) 100%);
    color: var(--on-brand);
    box-shadow: 0 6px 16px rgba(var(--shade-rgb), 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.22);
}

.drawer-brand .brand__logo {
    height: 38px;
    max-width: 200px;
}

.drawer-brand__word {
    font-size: 1.24rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    color: var(--ink);
}

.drawer-brand__accent {
    color: var(--brand);
}

.drawer-close {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: rgba(var(--surface-rgb), 0.6);
    color: var(--ink-2);
    cursor: pointer;
    transition: background-color var(--fast), border-color var(--fast), color var(--fast), transform var(--fast);
}

.drawer-close svg {
    transition: transform 320ms var(--ease);
}

.drawer-close:active {
    transform: scale(0.92);
}

.drawer-close:focus-visible,
.drawer-link:focus-visible,
.drawer-cta:focus-visible,
.drawer-account:focus-visible,
.drawer-nav .theme-toggle:focus-visible {
    outline: 2px solid var(--brand);
    outline-offset: 2px;
}

.drawer-search {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 12px 18px 14px;
    padding: 0 6px 0 14px;
    height: 48px;
    border: 1px solid var(--line-strong);
    border-radius: 16px;
    background: var(--surface-2);
    transition: border-color var(--fast), box-shadow var(--fast), background-color var(--fast);
}

.drawer-search:focus-within {
    border-color: var(--brand);
    background: var(--surface);
    box-shadow: 0 0 0 4px rgba(var(--brand-rgb), 0.16);
}

.drawer-search > svg {
    flex: 0 0 auto;
    color: var(--faint);
}

.drawer-search input {
    flex: 1 1 auto;
    min-width: 0;
    border: 0;
    background: transparent;
    font: inherit;
    font-size: 0.92rem;
    color: var(--ink);
}

.drawer-search input::placeholder {
    color: var(--faint);
}

.drawer-search input:focus {
    outline: none;
}

.drawer-search button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    width: 36px;
    height: 36px;
    border: 0;
    border-radius: 12px;
    background: var(--brand);
    color: var(--on-brand);
    cursor: pointer;
    transition: transform var(--fast);
}

.drawer-search button:active {
    transform: scale(0.9);
}

.drawer-account {
    display: flex;
    align-items: center;
    gap: 13px;
    margin: 0 18px 6px;
    padding: 12px 14px 12px 12px;
    border: 1px solid rgba(var(--brand-rgb), 0.24);
    border-radius: 20px;
    background: linear-gradient(135deg, rgba(var(--brand-rgb), 0.16), rgba(var(--brand-rgb), 0.04));
    color: inherit;
    text-decoration: none;
    transition: transform var(--fast), border-color var(--fast);
}

.drawer-account:active {
    transform: scale(0.985);
}

.drawer-account__ring {
    position: relative;
    display: grid;
    place-items: center;
    flex: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
}

.drawer-account__ring::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: conic-gradient(from 0deg, var(--brand), transparent 38%, var(--brand) 68%, transparent 100%);
    animation: drawer-spin 6s linear infinite;
}

.drawer-account .avatar {
    position: relative;
    width: 43px;
    height: 43px;
    background: var(--surface);
    color: var(--brand);
    font-size: 1rem;
}

.drawer-account__meta {
    display: block;
    min-width: 0;
    flex: 1 1 auto;
}

.drawer-account__meta strong {
    display: block;
    overflow: hidden;
    font-size: 0.94rem;
    color: var(--ink);
    text-overflow: ellipsis;
    white-space: nowrap;
}

.drawer-account__meta span {
    display: block;
    margin-top: 1px;
    font-size: 0.76rem;
    font-weight: 600;
    color: var(--muted);
}

.drawer-account__go {
    flex: none;
    color: var(--brand);
}

.drawer-nav {
    display: flex;
    flex-direction: column;
    padding: 4px 12px 16px;
}

.drawer-nav__label {
    margin: 16px 12px 6px;
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--faint);
}

.drawer-link {
    position: relative;
    display: flex;
    align-items: center;
    gap: 13px;
    padding: 7px 10px 7px 8px;
    border-radius: 16px;
    font-size: 0.93rem;
    font-weight: 650;
    color: var(--ink-2);
    text-decoration: none;
    transition: background-color var(--fast), color var(--fast), transform var(--fast);
}

.drawer-link__icon {
    display: grid;
    place-items: center;
    flex: none;
    width: 38px;
    height: 38px;
    border-radius: 12px;
    background: var(--brand-soft);
    color: var(--brand);
    transition: background-color var(--fast), color var(--fast), transform 300ms var(--ease);
}

.drawer-link__text {
    min-width: 0;
    flex: 1 1 auto;
}

.drawer-link__go {
    flex: none;
    color: var(--faint);
    opacity: 0;
    transform: translateX(-8px);
    transition: opacity var(--fast), transform 260ms var(--ease), color var(--fast);
}

.drawer-link:active {
    transform: scale(0.985);
}

.drawer-link.is-active {
    background: var(--brand-soft);
    color: var(--ink);
}

.drawer-link.is-active::before {
    content: "";
    position: absolute;
    left: -12px;
    top: 50%;
    width: 4px;
    height: 24px;
    border-radius: 0 4px 4px 0;
    background: var(--brand);
    transform: translateY(-50%);
    animation: drawer-bar 480ms 260ms var(--ease) backwards;
}

.drawer-link.is-active .drawer-link__icon {
    background: var(--brand);
    color: var(--on-brand);
}

.drawer-link.is-active .drawer-link__go {
    color: var(--brand);
    opacity: 1;
    transform: none;
}

.drawer-cta {
    position: relative;
    display: flex;
    align-items: center;
    gap: 13px;
    margin: 10px 0 2px;
    padding: 13px 16px 13px 12px;
    border-radius: 20px;
    background: linear-gradient(135deg, var(--brand) 0%, var(--brand-strong) 100%);
    color: var(--on-brand);
    text-decoration: none;
    overflow: hidden;
    box-shadow: 0 12px 26px rgba(var(--brand-rgb), 0.28);
    transition: transform var(--fast), box-shadow var(--fast);
}

.drawer-cta::after {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: -60%;
    width: 40%;
    background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.34), transparent);
    transform: skewX(-18deg);
    animation: drawer-shine 1300ms 800ms var(--ease) both;
    pointer-events: none;
}

.drawer-cta:active {
    transform: scale(0.985);
}

.drawer-cta__icon {
    display: grid;
    place-items: center;
    flex: none;
    width: 42px;
    height: 42px;
    border-radius: 14px;
    background: var(--on-brand-wash);
}

.drawer-cta__text {
    display: block;
    min-width: 0;
    flex: 1 1 auto;
}

.drawer-cta__text strong {
    display: block;
    font-size: 0.96rem;
    letter-spacing: -0.01em;
}

.drawer-cta__text span {
    display: block;
    margin-top: 1px;
    font-size: 0.76rem;
    font-weight: 600;
    color: var(--on-brand-soft);
}

.drawer-cta__go {
    flex: none;
    transition: transform 260ms var(--ease);
}

.drawer-nav .theme-toggle {
    position: relative;
    display: flex;
    align-items: center;
    gap: 13px;
    width: 100%;
    padding: 7px 70px 7px 8px;
    border: 0;
    border-radius: 16px;
    background: transparent;
    font: inherit;
    font-size: 0.93rem;
    font-weight: 650;
    color: var(--ink-2);
    text-align: left;
    cursor: pointer;
    transition: background-color var(--fast), color var(--fast), transform var(--fast);
}

.drawer-nav .theme-toggle > svg {
    box-sizing: content-box;
    width: 18px;
    height: 18px;
    padding: 10px;
    border-radius: 12px;
    background: var(--brand-soft);
    color: var(--brand);
}

.drawer-nav .theme-toggle:active {
    transform: scale(0.985);
}

.drawer-nav .theme-toggle .theme-toggle__label {
    position: static;
    width: auto;
    height: auto;
    margin: 0;
    overflow: visible;
    clip: auto;
}

.drawer-nav .theme-toggle::before {
    content: "";
    position: absolute;
    top: 50%;
    right: 12px;
    width: 46px;
    height: 28px;
    margin-top: -14px;
    border-radius: var(--r-pill);
    background: var(--line-strong);
    transition: background-color 280ms var(--ease);
}

.drawer-nav .theme-toggle::after {
    content: "";
    position: absolute;
    top: 50%;
    right: 33px;
    width: 22px;
    height: 22px;
    margin-top: -11px;
    border-radius: 50%;
    background: var(--surface);
    box-shadow: var(--sh-2);
    transition: right 320ms cubic-bezier(0.34, 1.56, 0.64, 1);
}

html[data-theme="dark"] .drawer-nav .theme-toggle::before {
    background: var(--brand);
}

html[data-theme="dark"] .drawer-nav .theme-toggle::after {
    right: 15px;
}

.drawer-foot {
    position: sticky;
    bottom: 0;
    z-index: 1;
    margin-top: auto;
    padding: 14px 18px calc(18px + env(safe-area-inset-bottom, 0px));
    border-top: 1px solid var(--line);
    background: rgba(var(--surface-rgb), 0.9);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
}

.drawer-foot__row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.drawer-foot .btn {
    gap: 8px;
    border-radius: 14px;
}

.mobile-drawer.is-open .drawer-search,
.mobile-drawer.is-open .drawer-account,
.mobile-drawer.is-open .drawer-nav > *,
.mobile-drawer.is-open .drawer-foot {
    animation: drawer-rise 520ms calc(var(--i, 0) * 38ms + 140ms) var(--ease) backwards;
}

@media (hover: hover) {
    .drawer-close:hover {
        background: var(--brand-soft-2);
        border-color: var(--brand);
        color: var(--brand);
    }

    .drawer-close:hover svg {
        transform: rotate(90deg);
    }

    .drawer-link:hover,
    .drawer-nav .theme-toggle:hover {
        background: var(--brand-soft-2);
        color: var(--ink);
    }

    .drawer-link:hover .drawer-link__icon {
        background: var(--brand);
        color: var(--on-brand);
        transform: rotate(-8deg) scale(1.08);
    }

    .drawer-link:hover .drawer-link__go {
        opacity: 1;
        transform: none;
    }

    .drawer-cta:hover {
        box-shadow: 0 16px 32px rgba(var(--brand-rgb), 0.36);
    }

    .drawer-cta:hover .drawer-cta__go {
        transform: translateX(4px);
    }

    .drawer-account:hover {
        border-color: var(--brand);
    }
}

@keyframes drawer-fade {
    from {
        opacity: 0;
    }
}

@keyframes drawer-fade-out {
    to {
        opacity: 0;
    }
}

@keyframes drawer-slide {
    from {
        transform: translateX(-104%);
    }
}

@keyframes drawer-slide-out {
    to {
        transform: translateX(-104%);
    }
}

@keyframes drawer-rise {
    from {
        opacity: 0;
        transform: translateX(-18px);
    }
}

@keyframes drawer-spin {
    to {
        transform: rotate(360deg);
    }
}

@keyframes drawer-shine {
    from {
        left: -60%;
    }
    to {
        left: 130%;
    }
}

@keyframes drawer-bar {
    from {
        transform: translateY(-50%) scaleY(0);
    }
}

@keyframes drawer-drift {
    from {
        transform: translate3d(0, 0, 0);
    }
    to {
        transform: translate3d(22px, 14px, 0);
    }
}

@media (prefers-reduced-motion: reduce) {
    .mobile-drawer *,
    .mobile-drawer *::before,
    .mobile-drawer *::after,
    .mobile-drawer__panel,
    .mobile-drawer__scrim {
        animation: none !important;
        transition: none !important;
    }
}

.suggest-panel {
    position: absolute;
    top: calc(100% + 6px);
    left: -1px;
    right: -1px;
    z-index: 80;
    display: none;
    padding: 6px;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--r-sm);
    box-shadow: var(--sh-3);
    max-height: 320px;
    overflow-y: auto;
}

.suggest-panel.is-open {
    display: block;
}

@media (max-width: 1120px) {
    .mkt-utility__links {
        gap: 8px 14px;
    }

    .mkt-utility__note {
        display: none;
    }

    .mkt-utility__inner {
        justify-content: flex-end;
    }

    .mkt-search__loc {
        max-width: 160px;
    }

    .mkt-search__loc select {
        max-width: 104px;
    }
}

@media (max-width: 980px) {
    .mkt-utility__note {
        display: none;
    }

    .mkt-utility__inner {
        justify-content: flex-end;
    }
}

@media (max-width: 860px) {
    .mkt-utility {
        display: none;
    }

    .mkt-main {
        padding: 10px 0;
    }

    .mkt-main__inner {
        gap: 10px;
        flex-wrap: wrap;
    }

    .mkt-header .brand__word {
        font-size: 1.06rem;
    }

    .mkt-header .brand__mark {
        width: 30px;
        height: 30px;
        border-radius: 9px;
    }

    .mkt-header .brand__logo {
        height: 30px;
        max-width: 160px;
    }

    .mkt-search {
        order: 3;
        flex: 1 0 100%;
        height: 42px;
    }

    .mkt-search__loc {
        max-width: 150px;
    }

    .mkt-search__loc select {
        max-width: 92px;
        font-size: 0.8rem;
    }

    .mkt-search__field input {
        font-size: 0.86rem;
    }

    .mkt-actions {
        margin-left: auto;
    }

    .mkt-actions .mkt-icon-btn:nth-child(2) {
        display: none;
    }

    .mkt-burger {
        display: inline-flex;
    }

    .mkt-actions .theme-toggle {
        display: none;
    }

    .mkt-publish {
        padding: 0 12px;
    }

    .mkt-publish span {
        display: none;
    }

    .mkt-cats__inner {
        min-height: 38px;
        gap: 4px;
    }

    .mkt-cats__all {
        height: 26px;
        padding: 0 10px;
        gap: 5px;
        font-size: 0.74rem;
    }

    .mkt-cats__all-long {
        display: none;
    }

    .mkt-cats__all-short {
        display: inline;
    }

    .mkt-cats__link {
        height: 26px;
        padding: 0 9px;
        font-size: 0.74rem;
    }

    .mkt-cats__rail {
        mask-image: linear-gradient(to right, #000 0, #000 calc(100% - 24px), transparent 100%);
        -webkit-mask-image: linear-gradient(to right, #000 0, #000 calc(100% - 24px), transparent 100%);
    }
}

@media (max-width: 460px) {
    .mkt-header .brand__word {
        font-size: 1rem;
    }

    .mkt-search__loc {
        max-width: 132px;
        padding-left: 9px;
    }

    .mkt-search__loc select {
        max-width: 76px;
    }
}

.browse__actions {
    display: flex;
    align-items: center;
    gap: 8px;
    flex: 0 0 auto;
}

.subcat__num {
    margin-left: 4px;
    padding: 0 5px;
    border-radius: var(--r-pill);
    background: var(--brand-soft);
    color: var(--brand-strong);
    font-size: 0.7rem;
    font-weight: 700;
    line-height: 18px;
    min-width: 18px;
    text-align: center;
}

.pill.is-active {
    background: var(--brand);
    border-color: var(--brand);
    color: var(--on-brand);
}

.crumbs {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 12px;
    font-size: 0.78rem;
    color: var(--muted);
}

.crumbs a {
    color: var(--ink-3);
    text-decoration: none;
    transition: color var(--fast);
}

.crumbs a:hover {
    color: var(--brand);
}

.crumbs__sep {
    display: inline-flex;
    color: var(--faint);
}

.crumbs [aria-current="page"] {
    color: var(--ink);
    font-weight: 600;
}

.micro {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--faint);
}

.loc-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 296px;
    gap: 24px;
    align-items: start;
}

.loc-main {
    min-width: 0;
}

.loc-aside {
    display: flex;
    flex-direction: column;
    gap: 14px;
    position: sticky;
    top: 16px;
}

.loc-aside .card__head h2 {
    margin: 0;
    font-size: 0.92rem;
    font-weight: 800;
    letter-spacing: -0.01em;
    color: var(--ink);
}

.place-list {
    list-style: none;
    margin: 0;
    padding: 6px;
}

.place-list li + li {
    border-top: 1px solid var(--line);
}

.place-list a {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 9px 8px;
    border-radius: var(--r-xs);
    font-size: 0.83rem;
    color: var(--ink-2);
    text-decoration: none;
    transition: background-color var(--fast), color var(--fast);
}

.place-list a:hover {
    background: var(--brand-soft-2);
    color: var(--brand-strong);
}

.place-list a svg {
    flex: 0 0 auto;
    color: var(--faint);
}

.place-list a span {
    flex: 1 1 auto;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.place-list a b {
    flex: 0 0 auto;
    font-size: 0.74rem;
    font-weight: 700;
    color: var(--muted);
}

@media (max-width: 1040px) {
    .loc-layout {
        grid-template-columns: minmax(0, 1fr);
    }

    .loc-aside {
        position: static;
    }
}

@media (max-width: 720px) {
    .browse__head {
        flex-direction: column;
        align-items: stretch;
    }

    .browse__actions .btn {
        flex: 1 1 auto;
        justify-content: center;
    }

    .loc-aside .card {
        order: 2;
    }
}

.zone-ledger {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.1rem;
    margin-bottom: clamp(2rem, 4vw, 3rem);
}

.zone {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--r-lg);
    box-shadow: var(--sh-1);
    padding: 1.15rem 1.25rem 1.35rem;
}

.zone__head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 0.75rem;
}

.zone__title {
    font-size: 1.05rem;
    font-weight: 700;
    letter-spacing: -0.01em;
}

.zone__note {
    margin-top: 0.3rem;
    font-size: 0.82rem;
    line-height: 1.55;
    color: var(--muted);
}

.zone__states {
    margin-top: 0.85rem;
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
}

.zone__states a {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 0.75rem;
    padding: 0.45rem 0.55rem;
    border-radius: var(--r-sm);
    transition: background var(--fast);
}

.zone__states a:hover {
    background: var(--surface-2);
}

.zone__name {
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--ink);
}

.zone__meta {
    display: block;
    text-align: left;
    font-size: 0.74rem;
    color: var(--muted);
}

.zone__count {
    grid-row: span 2;
    min-width: 2rem;
    text-align: center;
    font-size: 0.72rem;
    font-weight: 650;
    color: var(--brand-strong);
    background: var(--brand-soft);
    border-radius: var(--r-pill);
    padding: 0.2rem 0.45rem;
}

.phub {
    display: flex;
    align-items: center;
    gap: 1.1rem;
    padding: 1.35rem 0 1.1rem;
    flex-wrap: wrap;
}

.phub__avatar {
    display: grid;
    place-items: center;
    width: 68px;
    height: 68px;
    flex: none;
    border-radius: 50%;
    background: linear-gradient(140deg, var(--brand), var(--brand-strong));
    color: var(--on-brand);
    font-size: 1.6rem;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.phub__body {
    min-width: 0;
}

.phub__name {
    font-size: clamp(1.5rem, 3vw, 2.1rem);
    font-weight: 700;
    letter-spacing: -0.025em;
    margin-top: 0.15rem;
}

.phub__meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.35rem 0.9rem;
    margin-top: 0.5rem;
    font-size: 0.82rem;
    color: var(--muted);
}

.phub__meta span {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
}

.phub__bio {
    max-width: 62ch;
    font-size: 0.92rem;
    line-height: 1.65;
    color: var(--ink-2);
    padding-bottom: 1.2rem;
}

.empty__title {
    font-size: 1.02rem;
    font-weight: 650;
    color: var(--ink);
    margin-top: 0.7rem;
    margin-bottom: 0;
}

.empty__text {
    max-width: 42ch;
    margin: 0.35rem auto 0;
    font-size: 0.88rem;
    line-height: 1.6;
    color: var(--muted);
}

@media (max-width: 860px) {
    .zone-ledger {
        grid-template-columns: minmax(0, 1fr);
    }
}

@media (max-width: 460px) {
    .phub {
        gap: 0.85rem;
    }

    .phub__avatar {
        width: 56px;
        height: 56px;
        font-size: 1.35rem;
    }
}

.sbar__near {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 3px 10px;
    border: 1px solid var(--line);
    border-radius: var(--r-pill);
    background: var(--surface);
    color: var(--brand-strong);
    font: inherit;
    font-size: 0.82rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.15s ease, border-color 0.15s ease;
}

.sbar__near:hover:not(:disabled) {
    background: var(--brand-soft);
    border-color: var(--brand);
}

.sbar__near:disabled {
    opacity: 0.6;
    cursor: progress;
}

.sbar__pin--geo {
    background: var(--brand);
    color: var(--on-brand);
}

.sbar__geo-msg {
    margin: 8px 0 0;
    font-size: 0.84rem;
    color: var(--muted);
    line-height: 1.45;
}

.sfilters__geo {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 6px 8px;
    align-items: center;
}

.sfilters__geo label {
    font-size: 0.78rem;
    color: var(--muted);
}

.sfilters__geo input {
    padding: 7px 9px;
    font-size: 0.86rem;
}

.sfilters__geo label[for="f-radius"] {
    grid-column: 1 / -1;
}

.sfilters__geo input[name="radius"] {
    grid-column: 1 / -1;
}

.sfilters__note {
    margin: 7px 0 0;
    font-size: 0.76rem;
    color: var(--faint);
    line-height: 1.45;
}

.result-row__dist {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    padding: 1px 7px;
    border-radius: var(--r-pill);
    background: var(--brand-soft);
    color: var(--brand-strong);
    font-size: 0.74rem;
    font-weight: 600;
    white-space: nowrap;
}

@media (max-width: 560px) {
    .stoolbar {
        display: flex;
        flex-wrap: nowrap;
        align-items: center;
        justify-content: flex-start;
        gap: 6px;
    }

    .toolbar__right {
        display: contents;
    }

    .stoolbar__filter-btn,
    .toolbar__right > .btn {
        flex: 0 0 auto;
        height: 34px;
        padding: 0 8px;
        gap: 4px;
        font-size: 0.74rem;
        white-space: nowrap;
    }

    .toolbar__sort {
        flex: 0 1 auto;
        min-width: 0;
        overflow: hidden;
        padding: 0 6px;
        gap: 4px;
    }

    .toolbar__sort svg {
        display: none;
    }

    .toolbar__sort select {
        flex: 0 1 auto;
        min-width: 0;
        max-width: 108px;
        font-size: 0.74rem;
        text-overflow: ellipsis;
    }
}

@media (max-width: 380px) {
    .stoolbar {
        gap: 4px;
    }

    .stoolbar__filter-btn,
    .toolbar__right > .btn {
        padding: 0 6px;
        gap: 3px;
        font-size: 0.7rem;
    }

    .toolbar__sort {
        padding: 0 5px;
    }

    .toolbar__sort select {
        font-size: 0.7rem;
    }
}

@media (min-width: 1440px) {
    .lgrid,
    .lgrid--4,
    .lgrid--four {
        grid-template-columns: repeat(5, minmax(0, 1fr));
    }

    .cattiles {
        grid-template-columns: repeat(8, minmax(0, 1fr));
    }

    .placetiles {
        grid-template-columns: repeat(6, minmax(0, 1fr));
    }

    .suggests {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .slayout {
        grid-template-columns: 280px minmax(0, 1fr);
        gap: 26px;
    }

    .mhero__grid {
        gap: 48px;
    }

    .publishband__inner {
        grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
        gap: 40px;
    }
}

@media (min-width: 1920px) {
    .lgrid,
    .lgrid--4,
    .lgrid--four {
        grid-template-columns: repeat(6, minmax(0, 1fr));
    }

    .placetiles {
        grid-template-columns: repeat(7, minmax(0, 1fr));
    }

    .slayout {
        grid-template-columns: 300px minmax(0, 1fr);
        gap: 30px;
    }
}
