/* ==========================================================================
   Los Monster Hermanos — Mexican-American design system
   Modern cantina · cool neutral · sage accents
   Version: 27 — UI polish, motion, glass effects
   ========================================================================== */

:root {
    --lmh-bg: #0b0c0e;
    --lmh-bg-deep: #060708;
    --lmh-surface: #13151a;
    --lmh-surface-raised: #1a1d24;

    --lmh-chili: #c24a3a;
    --lmh-chili-deep: #8f3428;
    --lmh-sage: #7a9a4a;
    --lmh-sage-soft: #9bb86a;
    --lmh-sage-deep: #4a6230;
    --lmh-cream: #eef1f5;
    --lmh-gold: #94a3b8;
    --lmh-gold-dim: #64748b;

    --lmh-green: var(--lmh-sage);
    --lmh-green-bright: var(--lmh-sage-soft);
    --lmh-green-dim: var(--lmh-sage-deep);
    --lmh-red: var(--lmh-chili);

    --lmh-text: #e8edf3;
    --lmh-muted: #94a3b8;
    --lmh-border: rgba(148, 163, 184, 0.16);
    --lmh-border-strong: rgba(148, 163, 184, 0.3);

    --lmh-font: "Inter", system-ui, sans-serif;
    --lmh-display: "Bebas Neue", "Impact", sans-serif;
    --lmh-mexican: "Rye", "Bebas Neue", serif;

    --lmh-radius: 14px;
    --lmh-radius-sm: 8px;
    --lmh-content-width: 960px;
    --lmh-shadow: 0 10px 28px rgba(0, 0, 0, 0.35);
    --lmh-shadow-soft: 0 2px 12px rgba(0, 0, 0, 0.22);
    --lmh-surface-glass: rgba(19, 21, 26, 0.82);

    --lmh-ease-out: cubic-bezier(0.22, 1, 0.36, 1);
    --lmh-ease-spring: cubic-bezier(0.34, 1.4, 0.64, 1);
    --lmh-dur-fast: 0.16s;
    --lmh-dur-med: 0.28s;
    --lmh-dur-slow: 0.45s;

    --lmh-progress-track-height: 4px;
    --lmh-progress-label-width: 2.75rem;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    min-height: 100%;
}

body {
    font-family: var(--lmh-font);
    color: var(--lmh-text);
    background: var(--lmh-bg);
    line-height: 1.55;
    font-size: 1rem;
    font-weight: 400;
    letter-spacing: -0.01em;
    -webkit-font-smoothing: antialiased;
}

/* --- Background: cool neutral glow --- */
.lmh-bg-pattern {
    position: fixed;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    background:
        radial-gradient(ellipse 70% 55% at 50% -10%, rgba(122, 154, 74, 0.06), transparent 58%),
        radial-gradient(ellipse 50% 40% at 100% 80%, rgba(100, 116, 139, 0.05), transparent 55%),
        linear-gradient(180deg, #0d0f12 0%, #090a0c 100%);
}

.lmh-bg-pattern::after {
    content: "";
    position: absolute;
    inset: 0;
    opacity: 0.035;
    background-image: radial-gradient(circle at 1px 1px, rgba(148, 163, 184, 0.85) 1px, transparent 0);
    background-size: 32px 32px;
}

.lmh-text-mexican {
    font-family: var(--lmh-mexican);
    letter-spacing: 0.03em;
}

.lmh-text-display {
    font-family: var(--lmh-display);
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

/* --- Header --- */
.lmh-header {
    position: fixed;
    inset: 0 0 auto;
    z-index: 100;
    pointer-events: none;
    background: transparent;
}

.lmh-header-brand {
    position: fixed;
    top: 10px;
    left: 12px;
    z-index: 110;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    max-width: min(62vw, 380px);
    text-decoration: none;
    pointer-events: auto;
    transition: opacity 0.15s ease;
}

.lmh-header-brand:hover,
.lmh-header-brand:focus-visible {
    opacity: 0.88;
    outline: none;
}

.lmh-header-brand__logo {
    display: block;
    flex-shrink: 0;
    width: 68px;
    height: 68px;
    object-fit: contain;
    filter: drop-shadow(0 6px 18px rgba(0, 0, 0, 0.5));
    pointer-events: none;
}

.lmh-header-brand__text {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.lmh-header-brand__title {
    display: flex;
    flex-direction: column;
    line-height: 0.95;
}

.lmh-header-brand__line {
    font-family: var(--lmh-mexican);
    font-size: clamp(1rem, 2.4vw, 1.35rem);
    letter-spacing: 0.02em;
    color: var(--lmh-cream);
    text-shadow: 0 1px 12px rgba(0, 0, 0, 0.45);
}

.lmh-header-brand__line--accent {
    font-size: clamp(1.15rem, 2.8vw, 1.5rem);
    color: var(--lmh-sage-soft);
}

.lmh-header__actions {
    position: fixed;
    top: 14px;
    right: 16px;
    z-index: 112;
    display: flex;
    align-items: center;
    gap: 10px;
    pointer-events: auto;
}

/* Header catalog search — compact, right side (not in main content) */
.lmh-header__search {
    position: fixed;
    top: 16px;
    right: 148px;
    z-index: 111;
    width: min(220px, 34vw);
    pointer-events: auto;
}

.lmh-header-search {
    position: relative;
}

.lmh-header-search__input {
    width: 100%;
    height: 34px;
    padding: 0 12px;
    border-radius: 999px;
    border: 1px solid transparent;
    background: rgba(19, 21, 26, 0.55);
    color: var(--lmh-text);
    font-family: var(--lmh-font);
    font-size: 0.8125rem;
    transition: border-color 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
}

.lmh-header-search__input::placeholder {
    color: rgba(148, 163, 184, 0.75);
}

.lmh-header-search__input:hover {
    background: rgba(19, 21, 26, 0.72);
    border-color: var(--lmh-border);
}

.lmh-header-search__input:focus {
    outline: none;
    background: rgba(19, 21, 26, 0.88);
    border-color: rgba(122, 154, 74, 0.45);
    box-shadow: 0 0 0 2px rgba(122, 154, 74, 0.12);
}

.lmh-header-search__panel {
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    right: 0;
    max-height: min(320px, 50vh);
    overflow: auto;
    padding: 4px;
    border-radius: var(--lmh-radius-sm);
    border: 1px solid var(--lmh-border);
    background: rgba(19, 21, 26, 0.98);
    box-shadow: var(--lmh-shadow-soft);
}

.lmh-header-search__hit {
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding: 8px 10px;
    border-radius: 6px;
    text-decoration: none;
    color: inherit;
    transition: background 0.12s ease;
}

.lmh-header-search__hit:hover,
.lmh-header-search__hit:focus-visible {
    background: rgba(122, 154, 74, 0.12);
    outline: none;
}

.lmh-header-search__hit-name {
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--lmh-cream);
}

.lmh-header-search__hit-line {
    font-size: 0.75rem;
    color: var(--lmh-muted);
}

.lmh-header-search__empty {
    margin: 0;
    padding: 8px 10px;
    font-size: 0.8125rem;
    color: var(--lmh-muted);
}

.lmh-auth-btn {
    padding: 8px 16px;
    border-radius: var(--lmh-radius-sm);
    border: 1px solid var(--lmh-border-strong);
    background: var(--lmh-surface-glass);
    backdrop-filter: blur(12px);
    color: var(--lmh-cream);
    font-family: var(--lmh-font);
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 0;
    text-transform: none;
    cursor: pointer;
    transition: border-color 0.15s ease, background 0.15s ease, color 0.15s ease;
}

.lmh-auth-btn:hover {
    border-color: var(--lmh-sage);
    background: rgba(122, 154, 74, 0.12);
    color: var(--lmh-sage-soft);
}

.lmh-auth-btn--ghost {
    background: transparent;
    border-color: transparent;
    color: var(--lmh-muted);
}

.lmh-auth-btn--ghost:hover {
    color: var(--lmh-cream);
    background: rgba(255, 255, 255, 0.04);
    border-color: var(--lmh-border);
}

.lmh-user-area {
    display: flex;
    align-items: center;
    gap: 10px;
}

.lmh-user-nickname {
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--lmh-cream);
    max-width: min(40vw, 180px);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* --- Main --- */
.lmh-main {
    max-width: var(--lmh-content-width);
    margin: 0 auto;
    padding: 68px 20px 40px;
}

/* --- Card panel (reuse on future pages) --- */
.lmh-fiesta-card {
    position: relative;
    border-radius: var(--lmh-radius);
    border: 1px solid var(--lmh-border);
    background: var(--lmh-surface-glass);
    backdrop-filter: blur(14px);
    box-shadow: var(--lmh-shadow-soft);
}

.lmh-fiesta-card::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    pointer-events: none;
    background: radial-gradient(ellipse 90% 50% at 50% 0%, rgba(122, 154, 74, 0.04), transparent 70%);
}

/* --- Hero --- */
.lmh-hero {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 32px 24px 36px;
}

.lmh-hero__logo {
    width: min(200px, 52vw);
    height: auto;
    object-fit: contain;
    margin-bottom: 20px;
    filter: drop-shadow(0 8px 24px rgba(0, 0, 0, 0.45));
}

.lmh-hero__welcome {
    margin: 0 0 14px;
    max-width: 44ch;
    font-size: 0.9375rem;
    font-weight: 500;
    line-height: 1.55;
    color: var(--lmh-sage-soft);
}

.lmh-hero__welcome-link {
    color: inherit;
    font-weight: inherit;
    text-decoration: none;
    border-bottom: 1px solid rgba(122, 154, 74, 0.35);
    transition: border-color var(--lmh-dur-fast) ease;
}

.lmh-hero__welcome-link:hover {
    border-bottom-color: var(--lmh-sage-soft);
}

.lmh-hero__eyebrow {
    margin: 0 0 12px;
    font-family: var(--lmh-font);
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--lmh-sage-soft);
}

.lmh-hero__title {
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
    line-height: 0.95;
}

.lmh-hero__title-line {
    font-family: var(--lmh-mexican);
    font-size: clamp(2rem, 6.5vw, 3.2rem);
    letter-spacing: 0.02em;
    color: var(--lmh-cream);
}

.lmh-hero__title-line--accent {
    font-size: clamp(2.2rem, 7vw, 3.5rem);
    color: var(--lmh-sage-soft);
}

.lmh-hero__tagline {
    margin: 20px 0 0;
    max-width: 36ch;
    font-size: 1rem;
    font-weight: 400;
    letter-spacing: 0;
    color: var(--lmh-muted);
    line-height: 1.5;
}

.lmh-hero__tagline::before {
    content: "";
    display: block;
    width: 48px;
    height: 2px;
    margin: 0 auto 16px;
    border-radius: 1px;
    background: linear-gradient(90deg, transparent, var(--lmh-sage), transparent);
    opacity: 0.65;
}

/* --- Footer --- */
.lmh-footer {
    max-width: var(--lmh-content-width);
    margin: 0 auto;
    padding: 16px 20px 32px;
    text-align: center;
}

.lmh-footer p {
    margin: 0;
    font-size: 0.78rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--lmh-muted);
}

/* --- Modal --- */
.hidden {
    display: none !important;
}

.lmh-modal {
    position: fixed;
    inset: 0;
    z-index: 200;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.2s ease, visibility 0.2s ease;
}

.lmh-modal.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.lmh-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(8, 7, 6, 0.72);
    backdrop-filter: blur(6px);
}

.lmh-modal-dialog {
    position: relative;
    width: min(400px, 100%);
    max-height: min(90vh, 640px);
    overflow: auto;
    padding: 24px 22px 20px;
    border-radius: var(--lmh-radius);
    border: 1px solid var(--lmh-border);
    background: var(--lmh-surface-raised);
    box-shadow: var(--lmh-shadow);
}

.lmh-modal-close {
    position: absolute;
    top: 12px;
    right: 14px;
    border: none;
    background: transparent;
    color: var(--lmh-muted);
    font-size: 1.5rem;
    line-height: 1;
    cursor: pointer;
    transition: color 0.12s ease;
}

.lmh-modal-close:hover {
    color: var(--lmh-cream);
}

.lmh-modal-title {
    margin: 0 0 16px;
    font-family: var(--lmh-font);
    font-size: 1.25rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--lmh-cream);
}

.lmh-modal-hint {
    margin: 14px 0 0;
    font-size: 0.75rem;
    color: var(--lmh-muted);
    line-height: 1.45;
}

.lmh-auth-tabs {
    display: flex;
    gap: 6px;
    margin-bottom: 18px;
    padding: 4px;
    border-radius: 999px;
    background: rgba(0, 0, 0, 0.25);
    border: 1px solid var(--lmh-border);
}

.lmh-auth-tab {
    flex: 1;
    padding: 8px 12px;
    border-radius: 999px;
    border: none;
    background: transparent;
    color: var(--lmh-muted);
    cursor: pointer;
    font-family: var(--lmh-font);
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 0;
    text-transform: none;
    transition: background 0.15s ease, color 0.15s ease;
}

.lmh-auth-tab.is-active {
    background: rgba(122, 154, 74, 0.2);
    color: var(--lmh-sage-soft);
}

.lmh-form {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.lmh-form-row.hidden {
    display: none;
}

.lmh-label {
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0;
    color: var(--lmh-muted);
}

.lmh-input {
    width: 100%;
    padding: 10px 12px;
    border-radius: var(--lmh-radius-sm);
    border: 1px solid var(--lmh-border);
    background: var(--lmh-bg-deep);
    color: var(--lmh-text);
    font-size: 0.9375rem;
    font-family: inherit;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.lmh-input--compact,
.lmh-input--search {
    padding: 10px 14px;
}

.lmh-input::placeholder {
    color: rgba(154, 144, 132, 0.65);
}

.lmh-input:focus {
    outline: none;
    border-color: rgba(122, 154, 74, 0.55);
    box-shadow: 0 0 0 3px rgba(122, 154, 74, 0.12);
}

.lmh-form-error {
    min-height: 1.2em;
    margin: 0;
    font-size: 0.8rem;
    color: #e07a6a;
}

.lmh-btn-primary {
    margin-top: 4px;
    padding: 10px 16px;
    border-radius: var(--lmh-radius-sm);
    font-family: var(--lmh-font);
    font-size: 0.9375rem;
    font-weight: 600;
    letter-spacing: 0;
    text-transform: none;
    cursor: pointer;
    border: none;
    background: linear-gradient(135deg, var(--lmh-sage) 0%, var(--lmh-sage-deep) 100%);
    color: #f8fafc;
    transition: background 0.15s ease, transform 0.12s ease, box-shadow 0.15s ease;
    box-shadow: 0 2px 8px rgba(74, 98, 48, 0.3);
}

.lmh-btn-primary:hover {
    background: var(--lmh-sage-soft);
}

.lmh-btn-primary:active {
    transform: scale(0.98);
}

.lmh-btn-primary:disabled {
    opacity: 0.6;
    cursor: wait;
}

.lmh-btn-secondary {
    margin-top: 0;
    padding: 10px 16px;
    border-radius: var(--lmh-radius-sm);
    border: 1px solid var(--lmh-border-strong);
    background: transparent;
    color: var(--lmh-muted);
    font-family: var(--lmh-font);
    font-size: 0.875rem;
    font-weight: 600;
    cursor: pointer;
    transition: border-color 0.15s ease, color 0.15s ease, background 0.15s ease;
}

.lmh-btn-secondary:hover {
    color: var(--lmh-cream);
    border-color: var(--lmh-sage);
    background: rgba(122, 154, 74, 0.08);
}

.lmh-btn-secondary:disabled {
    opacity: 0.6;
    cursor: wait;
}

.lmh-auth-send-code-btn {
    width: 100%;
}

.lmh-auth-panel code {
    display: inline-block;
    margin-top: 4px;
    padding: 2px 8px;
    border-radius: 6px;
    background: rgba(0, 0, 0, 0.25);
    color: var(--lmh-cream);
    font-size: 0.8125rem;
}

.lmh-btn-chili {
    padding: 12px 20px;
    border-radius: 999px;
    border: none;
    background: var(--lmh-chili);
    color: var(--lmh-cream);
    font-family: var(--lmh-display);
    font-size: 0.95rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    cursor: pointer;
    transition: background 0.15s ease;
}

.lmh-btn-chili:hover {
    background: #d15848;
}

/* --- Page layout utilities (all inner pages) --- */
.lmh-page-head {
    margin-bottom: 18px;
    text-align: left;
}

.lmh-page-head--left {
    text-align: left;
}

.lmh-page-eyebrow {
    margin: 0 0 4px;
    font-family: var(--lmh-font);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--lmh-sage-soft);
}

.lmh-page-title {
    margin: 0;
    font-family: var(--lmh-font);
    font-size: clamp(1.375rem, 3.5vw, 1.875rem);
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -0.02em;
    text-transform: none;
    color: var(--lmh-cream);
}

.lmh-page-title--compact {
    font-size: clamp(1.25rem, 3.5vw, 1.65rem);
}

.lmh-page-lead {
    margin: 8px 0 0;
    max-width: 52ch;
    font-size: 0.9375rem;
    color: var(--lmh-muted);
    line-height: 1.5;
}

.lmh-page-head--left .lmh-page-lead {
    margin-left: 0;
}

.lmh-page-head:not(.lmh-page-head--left) .lmh-page-lead {
    margin-left: auto;
    margin-right: auto;
}

.lmh-section {
    padding: 16px 18px 18px;
}

.lmh-section + .lmh-section {
    margin-top: 12px;
}

.lmh-section__title {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0 0 12px;
    font-family: var(--lmh-font);
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 0;
    text-transform: none;
    color: var(--lmh-text);
}

.lmh-section__title::after {
    content: "";
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, var(--lmh-border-strong), transparent);
}

.lmh-section__body {
    font-size: 0.92rem;
    color: var(--lmh-text);
}

.lmh-stack {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.lmh-stack--sm {
    gap: 10px;
}

.lmh-stack--lg {
    gap: 24px;
}

@media (max-width: 520px) {
    .lmh-header-brand {
        top: 8px;
        left: 8px;
        gap: 8px;
        max-width: calc(100vw - 118px);
    }

    .lmh-header-brand__logo {
        width: 52px;
        height: 52px;
    }

    .lmh-header-brand__line {
        font-size: 0.9rem;
    }

    .lmh-header-brand__line--accent {
        font-size: 1rem;
    }

    .lmh-header__actions {
        top: 10px;
        right: 10px;
    }

    .lmh-header__search {
        top: 58px;
        left: 10px;
        right: 10px;
        width: auto;
    }

    .lmh-auth-btn {
        padding: 7px 14px;
        font-size: 0.82rem;
    }

    .lmh-main {
        padding: 60px 14px 32px;
    }

    .lmh-hero {
        padding: 24px 16px 28px;
    }
}

/* --- Catalog (home, flavors, flavor page) --- */
.lmh-hero__cta {
    margin-top: 18px;
}

.lmh-hero__footnote {
    margin: 18px 0 0;
    max-width: 42ch;
    font-size: 0.8125rem;
    line-height: 1.5;
    color: var(--lmh-muted);
}

.lmh-catalog {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.lmh-catalog-layout {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    overflow: visible;
}

.lmh-main:has(.lmh-catalog:not(.hidden)) {
    padding-top: 22px;
    max-width: 1080px;
}

.lmh-lines-nav {
    flex: 0 0 196px;
    position: sticky;
    top: 52px;
    max-height: calc(100vh - 89px);
    min-height: 0;
    overflow: visible;
    z-index: 20;
}

.lmh-lines-nav__panel {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 12px;
    min-height: 0;
    max-height: calc(100vh - 89px);
    padding: 14px 12px 12px;
    border-radius: var(--lmh-radius);
    border: 1px solid rgba(122, 154, 74, 0.18);
    background:
        linear-gradient(165deg, rgba(26, 30, 36, 0.94), rgba(12, 14, 18, 0.92)),
        rgba(19, 21, 26, 0.75);
    box-shadow:
        0 12px 32px rgba(0, 0, 0, 0.32),
        inset 0 1px 0 rgba(255, 255, 255, 0.04);
    backdrop-filter: blur(16px);
    overflow: visible;
}

.lmh-lines-nav__panel::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    pointer-events: none;
    background: radial-gradient(ellipse 90% 40% at 50% 0%, rgba(122, 154, 74, 0.1), transparent 70%);
}

.lmh-lines-nav__head {
    flex: 0 0 auto;
    padding: 0 2px;
}

.lmh-lines-nav__title {
    margin: 0;
    font-family: var(--lmh-display);
    font-size: 1.35rem;
    font-weight: 400;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--lmh-cream);
    line-height: 1;
}

.lmh-lines-nav__title::after {
    content: "";
    display: block;
    width: 32px;
    height: 2px;
    margin-top: 8px;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--lmh-sage-soft), transparent);
}

.lmh-lines-nav__search-wrap {
    flex: 0 0 auto;
    position: relative;
    z-index: 50;
    overflow: visible;
}

.lmh-lines-nav__search-wrap.is-search-open {
    z-index: 80;
}

.lmh-lines-nav__search-field {
    display: block;
    position: relative;
    z-index: 1;
    overflow: visible;
}

.lmh-lines-nav__search-icon {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
    display: flex;
    color: var(--lmh-sage-soft);
    pointer-events: none;
    opacity: 0.9;
}

.lmh-lines-nav__search {
    position: relative;
}

.lmh-lines-nav__search-input {
    width: 100%;
    height: 40px;
    padding: 0 36px 0 38px;
    font-size: 0.8125rem;
    font-weight: 500;
    border-radius: 10px;
    border: 1px solid rgba(122, 154, 74, 0.22);
    background: rgba(8, 10, 12, 0.55);
    color: var(--lmh-cream);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
    transition:
        border-color var(--lmh-dur-fast) ease,
        background var(--lmh-dur-fast) ease,
        box-shadow var(--lmh-dur-fast) ease;
}

.lmh-lines-nav__search-input::-webkit-search-cancel-button {
    -webkit-appearance: none;
    appearance: none;
    width: 32px;
    height: 32px;
    margin-right: -4px;
    cursor: pointer;
    opacity: 0.72;
    background: center / 14px 14px no-repeat;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%239bb86a' stroke-width='2.5' stroke-linecap='round'%3E%3Cpath d='M18 6L6 18M6 6l12 12'/%3E%3C/svg%3E");
    transition: opacity var(--lmh-dur-fast) ease;
}

.lmh-lines-nav__search-input::-webkit-search-cancel-button:hover {
    opacity: 1;
}

.lmh-lines-nav__search-input::placeholder {
    color: rgba(148, 163, 184, 0.85);
    font-weight: 400;
}

.lmh-lines-nav__search-input:hover {
    border-color: rgba(122, 154, 74, 0.35);
    background: rgba(8, 10, 12, 0.72);
}

.lmh-lines-nav__search-input:focus {
    outline: none;
    border-color: rgba(155, 184, 106, 0.55);
    background: rgba(8, 10, 12, 0.88);
    box-shadow:
        0 0 0 3px rgba(122, 154, 74, 0.14),
        inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.lmh-lines-nav__search .lmh-header-search__panel,
.lmh-lines-nav__search-wrap > .lmh-header-search__panel {
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    right: auto;
    width: 100%;
    max-height: min(320px, calc(100vh - 180px));
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
    z-index: 90;
    padding: 6px;
    border-radius: 12px;
    border: 1px solid rgba(122, 154, 74, 0.28);
    background: rgba(14, 16, 20, 0.98);
    box-shadow:
        0 20px 48px rgba(0, 0, 0, 0.5),
        0 0 0 1px rgba(122, 154, 74, 0.08);
    scrollbar-width: thin;
    scrollbar-color: rgba(122, 154, 74, 0.45) rgba(122, 154, 74, 0.08);
}

.lmh-lines-nav__search-wrap.is-search-open + .lmh-lines-nav__scroll {
    pointer-events: none;
}

.lmh-lines-nav__search .lmh-header-search__panel::-webkit-scrollbar,
.lmh-lines-nav__search-wrap > .lmh-header-search__panel::-webkit-scrollbar {
    width: 6px;
}

.lmh-lines-nav__search .lmh-header-search__panel::-webkit-scrollbar-track,
.lmh-lines-nav__search-wrap > .lmh-header-search__panel::-webkit-scrollbar-track {
    margin: 4px 0;
    background: rgba(122, 154, 74, 0.08);
    border-radius: 999px;
}

.lmh-lines-nav__search .lmh-header-search__panel::-webkit-scrollbar-thumb,
.lmh-lines-nav__search-wrap > .lmh-header-search__panel::-webkit-scrollbar-thumb {
    background: rgba(122, 154, 74, 0.42);
    border-radius: 999px;
    border: 1px solid rgba(122, 154, 74, 0.12);
}

.lmh-lines-nav__search .lmh-header-search__panel::-webkit-scrollbar-thumb:hover,
.lmh-lines-nav__search-wrap > .lmh-header-search__panel::-webkit-scrollbar-thumb:hover {
    background: rgba(155, 184, 106, 0.62);
}

.lmh-lines-nav__scroll {
    position: relative;
    z-index: 1;
    flex: 1 1 auto;
    min-height: 0;
    overflow-x: hidden;
    overflow-y: auto;
    margin: 0 -2px;
    padding: 2px 2px 4px;
    scrollbar-width: thin;
    scrollbar-color: rgba(122, 154, 74, 0.4) transparent;
}

.lmh-lines-nav__scroll::-webkit-scrollbar {
    width: 5px;
}

.lmh-lines-nav__scroll::-webkit-scrollbar-track {
    background: transparent;
}

.lmh-lines-nav__scroll::-webkit-scrollbar-thumb {
    background: rgba(122, 154, 74, 0.4);
    border-radius: 999px;
}

.lmh-lines-nav__scroll::-webkit-scrollbar-thumb:hover {
    background: rgba(155, 184, 106, 0.58);
}

.lmh-lines-nav__list {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.lmh-lines-nav__link {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 5px;
    width: 100%;
    padding: 7px 10px;
    border-radius: 8px;
    border: 1px solid transparent;
    background: transparent;
    font: inherit;
    font-size: 0.8125rem;
    font-weight: 500;
    line-height: 1.3;
    color: rgba(232, 237, 243, 0.72);
    text-decoration: none;
    text-align: left;
    cursor: pointer;
    transition:
        color var(--lmh-dur-fast) ease,
        background var(--lmh-dur-fast) ease,
        border-color var(--lmh-dur-fast) ease,
        transform var(--lmh-dur-fast) var(--lmh-ease-out);
}

.lmh-lines-nav__link.is-active {
    color: var(--lmh-cream);
    background: rgba(122, 154, 74, 0.16);
    border-color: rgba(122, 154, 74, 0.28);
}

.lmh-lines-nav__link:hover,
.lmh-lines-nav__link:focus-visible {
    color: var(--lmh-cream);
    background: rgba(122, 154, 74, 0.12);
    border-color: rgba(122, 154, 74, 0.18);
    outline: none;
    transform: translateX(2px);
}

.lmh-lines-nav__link-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    width: 100%;
}

.lmh-lines-nav__progress {
    display: flex;
    align-items: center;
    gap: 6px;
    width: 100%;
}

.lmh-lines-nav__progress-track {
    flex: 1 1 auto;
    width: auto;
    min-width: 0;
    height: var(--lmh-progress-track-height);
    border-radius: 999px;
    background: rgba(122, 154, 74, 0.12);
    overflow: hidden;
}

.lmh-lines-nav__progress-bar {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, var(--lmh-sage-deep), var(--lmh-sage-soft));
}

.lmh-lines-nav__progress-label {
    flex: 0 0 var(--lmh-progress-label-width);
    min-width: var(--lmh-progress-label-width);
    font-size: 0.5625rem;
    font-weight: 600;
    font-variant-numeric: tabular-nums;
    color: var(--lmh-muted);
    white-space: nowrap;
    text-align: right;
}

.lmh-lines-nav__label {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.lmh-lines-nav__count {
    flex-shrink: 0;
    min-width: 1.4em;
    padding: 1px 6px;
    border-radius: 999px;
    font-size: 0.625rem;
    font-weight: 600;
    font-variant-numeric: tabular-nums;
    text-align: center;
    color: var(--lmh-sage-soft);
    background: rgba(122, 154, 74, 0.12);
    border: 1px solid rgba(122, 154, 74, 0.16);
}

.lmh-lines-nav__link:hover .lmh-lines-nav__count,
.lmh-lines-nav__link:focus-visible .lmh-lines-nav__count {
    color: var(--lmh-cream);
    background: rgba(122, 154, 74, 0.22);
    border-color: rgba(122, 154, 74, 0.28);
}

.lmh-lines-nav__search .lmh-header-search__hit {
    border-radius: 8px;
}

.lmh-lines-nav__search .lmh-header-search__hit-name {
    font-size: 0.875rem;
    white-space: normal;
    overflow-wrap: anywhere;
    line-height: 1.35;
}

.lmh-catalog-feed {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.lmh-catalog-feed .lmh-carousel-section {
    margin: 0;
    padding: 16px 16px 18px;
    border-color: rgba(148, 163, 184, 0.14);
    background:
        linear-gradient(165deg, rgba(24, 27, 33, 0.92), rgba(14, 16, 20, 0.88));
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.28);
}

.lmh-catalog-feed .lmh-carousel-section__title {
    font-family: var(--lmh-display);
    font-size: 1.125rem;
    font-weight: 400;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--lmh-cream);
}

.lmh-catalog-feed .lmh-carousel-section__title::after {
    background: linear-gradient(90deg, rgba(122, 154, 74, 0.35), transparent);
    height: 2px;
}

.lmh-catalog-feed .lmh-flavor-card {
    border-color: rgba(148, 163, 184, 0.12);
    background: linear-gradient(165deg, rgba(28, 32, 38, 0.96), rgba(16, 18, 22, 0.98));
}

.lmh-catalog-feed .lmh-flavor-card__name {
    font-weight: 600;
    color: var(--lmh-cream);
}

.lmh-catalog-highlights {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.lmh-catalog-line-view {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 16px 16px 18px;
    border-radius: var(--lmh-radius);
    border: 1px solid rgba(148, 163, 184, 0.14);
    background:
        linear-gradient(165deg, rgba(24, 27, 33, 0.92), rgba(14, 16, 20, 0.88));
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.28);
}

.lmh-catalog-line-view__head {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
}

.lmh-catalog-line-view__back {
    padding: 4px 0;
    border: 0;
    background: transparent;
    font: inherit;
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--lmh-sage-soft);
    cursor: pointer;
    transition: color var(--lmh-dur-fast) ease;
}

.lmh-catalog-line-view__back:hover,
.lmh-catalog-line-view__back:focus-visible {
    color: var(--lmh-cream);
    outline: none;
}

.lmh-catalog-line-view__title {
    margin: 0;
    font-family: var(--lmh-display);
    font-size: 1.35rem;
    font-weight: 400;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--lmh-cream);
    line-height: 1.1;
}

.lmh-catalog-line-view__titles {
    width: 100%;
    min-width: 0;
}

.lmh-catalog-line-view__lead {
    margin: 6px 0 0;
    font-size: 0.8125rem;
    line-height: 1.45;
    color: var(--lmh-muted);
}

.lmh-catalog-line-view__progress {
    display: flex;
    align-items: center;
    gap: 6px;
    width: 100%;
    margin-top: 8px;
}

.lmh-catalog-line-view__progress-track {
    flex: 1 1 auto;
    width: auto;
    min-width: 0;
    height: var(--lmh-progress-track-height);
    border-radius: 999px;
    background: rgba(122, 154, 74, 0.12);
    overflow: hidden;
}

.lmh-catalog-line-view__progress-bar {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, var(--lmh-sage-deep), var(--lmh-sage-soft));
}

.lmh-catalog-line-view__progress-label {
    flex: 0 0 var(--lmh-progress-label-width);
    min-width: var(--lmh-progress-label-width);
    font-size: 0.5625rem;
    font-weight: 600;
    font-variant-numeric: tabular-nums;
    color: var(--lmh-muted);
    white-space: nowrap;
    text-align: right;
}

.lmh-catalog-line-view__body {
    min-width: 0;
}

.lmh-catalog-line-view__body.lmh-flavors-catalog {
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.lmh-catalog-line-view__empty {
    margin: 0;
    padding: 8px 4px 12px;
    font-size: 0.875rem;
    color: var(--lmh-muted);
}

.lmh-catalog-line-view .lmh-flavors-grid {
    padding: 0;
}

.lmh-catalog-line-view .lmh-line-section {
    padding: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
}

.lmh-catalog-line-view .lmh-line-section__link {
    display: none;
}

.lmh-catalog-line-view .lmh-flavor-card {
    border-color: rgba(148, 163, 184, 0.12);
    background: linear-gradient(165deg, rgba(28, 32, 38, 0.96), rgba(16, 18, 22, 0.98));
}

.lmh-catalog.is-line-view .lmh-lines-nav__scroll {
    pointer-events: auto;
}

@media (max-width: 720px) {
    .lmh-catalog-layout {
        flex-direction: column;
        gap: 14px;
    }

    .lmh-lines-nav {
        position: static;
        flex: none;
        width: 100%;
        max-height: none;
    }

    .lmh-lines-nav__panel {
        padding: 12px;
    }

    .lmh-lines-nav__scroll {
        max-height: 200px;
    }

    .lmh-lines-nav__search .lmh-header-search__panel,
    .lmh-lines-nav__search-wrap > .lmh-header-search__panel {
        width: 100%;
    }
}

.lmh-catalog__head {
    margin-bottom: 0;
}

.lmh-catalog-toolbar {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: space-between;
    gap: 10px 16px;
    margin-bottom: 2px;
}

.lmh-catalog-message {
    margin: 0;
    font-size: 0.8125rem;
    color: var(--lmh-muted);
}

.lmh-catalog-message:empty {
    display: none;
}

.lmh-catalog-search-bar {
    padding: 12px 14px;
}

.lmh-catalog-search {
    padding: 12px 14px;
}

.lmh-search-results {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(132px, 1fr));
    gap: 10px;
    margin-top: 12px;
}

.lmh-search-results__empty {
    margin: 0;
    color: var(--lmh-muted);
    font-size: 0.88rem;
}

.lmh-carousel-section {
    display: flex;
    flex-direction: column;
    gap: 10px;
    overflow: visible;
}

.lmh-carousel-section__title {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0;
    font-family: var(--lmh-font);
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 0;
    text-transform: none;
    color: var(--lmh-text);
}

.lmh-carousel-section__title::after {
    content: "";
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, var(--lmh-border), transparent);
}

.lmh-carousel-section__empty {
    margin: 0;
    color: var(--lmh-muted);
    font-size: 0.875rem;
    line-height: 1.5;
}

.lmh-carousel-track {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    overflow-y: clip;
    padding: 12px 10px 16px;
    margin: 0 -4px;
    scroll-padding: 12px 10px 16px;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: rgba(122, 154, 74, 0.35) transparent;
}

.lmh-flavor-card {
    flex: 0 0 132px;
    scroll-snap-align: start;
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: inherit;
    cursor: pointer;
    border-radius: var(--lmh-radius-sm);
    border: 1px solid var(--lmh-border);
    background: linear-gradient(165deg, rgba(26, 29, 36, 0.95), rgba(16, 18, 22, 0.98));
    overflow: hidden;
    transition:
        border-color var(--lmh-dur-fast) ease,
        transform var(--lmh-dur-med) var(--lmh-ease-out),
        box-shadow var(--lmh-dur-med) ease;
}

.lmh-carousel-track .lmh-flavor-card {
    flex: 0 0 132px;
}

.lmh-flavors-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(132px, 1fr));
    gap: 10px;
    padding: 8px 4px 12px;
}

.lmh-flavors-page {
    display: flex;
    flex-direction: column;
    gap: 0;
    padding: 4px 0 16px;
}

.lmh-flavors-page.lmh-flavors-catalog {
    gap: 28px;
}

.lmh-home-biblioteca__lead {
    margin: -4px 0 12px;
    font-size: 0.8125rem;
    line-height: 1.45;
    color: var(--lmh-muted);
}

.lmh-home-highlights .lmh-carousel-section {
    margin-bottom: 12px;
}

.lmh-home-highlights .lmh-carousel-section:last-child {
    margin-bottom: 0;
}

.lmh-home-lines-catalog {
    display: flex;
    flex-direction: column;
    gap: 28px;
    margin-top: 12px;
}

.lmh-lines-jump {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.lmh-lines-jump__link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 10px;
    border: 1px solid var(--lmh-border);
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--lmh-cream);
    text-decoration: none;
    background: rgba(8, 7, 6, 0.45);
    transition:
        border-color var(--lmh-dur-fast) ease,
        background var(--lmh-dur-fast) ease;
}

.lmh-lines-jump__link:hover {
    border-color: rgba(122, 154, 74, 0.55);
    background: rgba(122, 154, 74, 0.12);
}

.lmh-lines-jump__count {
    font-size: 0.625rem;
    font-weight: 600;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    color: var(--lmh-sage-soft);
}

.lmh-line-section {
    padding: 14px 12px 16px;
    border: 1px solid var(--lmh-border);
    border-radius: 12px;
    background: linear-gradient(165deg, rgba(22, 24, 28, 0.72), rgba(12, 13, 16, 0.92));
    scroll-margin-top: 88px;
}

.lmh-line-section__head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 10px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.lmh-line-section__titles {
    min-width: 0;
    flex: 1;
}

.lmh-line-section__title {
    margin: 0;
    font-family: var(--lmh-font-display, "Bebas Neue", sans-serif);
    font-size: 1.35rem;
    font-weight: 400;
    letter-spacing: 0.04em;
    color: var(--lmh-cream);
}

.lmh-line-section__desc {
    margin: 4px 0 0;
    font-size: 0.8125rem;
    line-height: 1.45;
    color: var(--lmh-muted);
}

.lmh-line-section__meta {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 4px;
    flex-shrink: 0;
}

.lmh-line-section__count {
    font-size: 0.6875rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--lmh-sage-soft);
}

.lmh-line-section__link {
    font-size: 0.6875rem;
    color: var(--lmh-sage);
    text-decoration: none;
    white-space: nowrap;
}

.lmh-line-section__link:hover {
    text-decoration: underline;
}

.lmh-line-section .lmh-flavors-grid {
    padding: 0;
}

@media (max-width: 640px) {
    .lmh-line-section__head {
        flex-direction: column;
        align-items: stretch;
    }

    .lmh-line-section__meta {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }
}

.lmh-flavor-card:hover,
.lmh-flavor-card:focus-visible {
    border-color: rgba(122, 154, 74, 0.55);
    transform: translateY(-4px) scale(1.02);
    box-shadow:
        0 14px 32px rgba(0, 0, 0, 0.35),
        0 0 0 1px rgba(122, 154, 74, 0.12);
    outline: none;
}

.lmh-flavor-card__art-wrap {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lmh-flavor-card__art-wrap .lmh-flavor-img-fallback {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.lmh-flavor-card__art-wrap .lmh-flavor-card__img {
    position: relative;
    z-index: 1;
}

.lmh-flavor-img-fallback {
    display: flex;
    align-items: center;
    justify-content: center;
}

.lmh-flavor-card__art {
    aspect-ratio: 2 / 3;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(160deg, rgba(74, 98, 48, 0.16), rgba(19, 21, 26, 0.95));
    overflow: hidden;
}

.lmh-flavor-card__img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    transition: transform var(--lmh-dur-slow) var(--lmh-ease-out);
}

.lmh-flavor-card:hover .lmh-flavor-card__img,
.lmh-flavor-card:focus-visible .lmh-flavor-card__img {
    transform: scale(1.06);
}

.lmh-flavor-card__placeholder {
    font-family: var(--lmh-display);
    font-size: 1.5rem;
    color: var(--lmh-sage-soft);
}

.lmh-flavor-card__meta {
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding: 8px 10px 10px;
}

.lmh-flavor-card__name {
    font-weight: 600;
    font-size: 0.875rem;
    color: var(--lmh-cream);
    line-height: 1.3;
}

.lmh-flavor-card__line {
    font-size: 0.75rem;
    color: var(--lmh-muted);
}

.lmh-flavor-card__rating {
    font-size: 0.75rem;
    color: var(--lmh-sage-soft);
}

.lmh-lines-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 8px;
}

.lmh-line-tile {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 12px 14px;
    border-radius: var(--lmh-radius-sm);
    border: 1px solid var(--lmh-border);
    background: linear-gradient(160deg, rgba(26, 29, 36, 0.92), rgba(18, 20, 25, 0.96));
    text-decoration: none;
    color: inherit;
    transition:
        border-color var(--lmh-dur-fast) ease,
        background var(--lmh-dur-fast) ease,
        transform var(--lmh-dur-med) var(--lmh-ease-out),
        box-shadow var(--lmh-dur-med) ease;
}

.lmh-line-tile:hover,
.lmh-line-tile:focus-visible {
    border-color: rgba(122, 154, 74, 0.5);
    background: rgba(122, 154, 74, 0.1);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.28);
    outline: none;
}

.lmh-line-tile__name {
    font-family: var(--lmh-font);
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 0;
    text-transform: none;
    color: var(--lmh-cream);
}

.lmh-line-tile__hint {
    font-size: 0.75rem;
    color: var(--lmh-muted);
    line-height: 1.35;
}

.lmh-back-link {
    display: inline-flex;
    margin-bottom: 10px;
    color: var(--lmh-muted);
    text-decoration: none;
    font-size: 0.8125rem;
}

.lmh-back-link:hover {
    color: var(--lmh-gold);
}

.lmh-flavor-page {
    padding: 16px 18px;
}

.lmh-flavor-page__layout {
    display: grid;
    grid-template-columns: minmax(120px, 180px) 1fr;
    gap: 16px;
    margin-bottom: 18px;
}

.lmh-flavor-page__art {
    aspect-ratio: 2 / 3;
    border-radius: var(--lmh-radius-sm);
    border: 1px solid var(--lmh-border);
    overflow: hidden;
    background: var(--lmh-surface-raised);
    display: flex;
    align-items: center;
    justify-content: center;
}

.lmh-flavor-page__art img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.lmh-flavor-page__placeholder {
    font-family: var(--lmh-display);
    font-size: 2.25rem;
    color: var(--lmh-sage-soft);
}

.lmh-flavor-page__stats {
    margin: 8px 0 0;
    color: var(--lmh-sage-soft);
    font-size: 0.9375rem;
    font-weight: 600;
}

.lmh-flavor-page__stats-sep {
    opacity: 0.5;
    margin: 0 6px;
}

.lmh-flavor-rating-panel {
    border-top: 1px solid var(--lmh-border);
    padding-top: 16px;
}

.lmh-rating-criteria {
    display: grid;
    gap: 10px;
    margin-bottom: 14px;
}

.lmh-rating-slider {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.lmh-rating-slider__label {
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--lmh-cream);
}

.lmh-rating-slider__row {
    display: flex;
    align-items: center;
    gap: 12px;
}

.lmh-rating-slider__row input[type="range"] {
    flex: 1;
    accent-color: var(--lmh-sage);
}

.lmh-rating-slider__value {
    min-width: 1.5rem;
    text-align: center;
    font-variant-numeric: tabular-nums;
    color: var(--lmh-gold);
    font-weight: 700;
}

.lmh-rating-slider--overall {
    margin-bottom: 16px;
    padding: 14px 16px;
    border-radius: var(--lmh-radius-sm);
    border: 1px solid var(--lmh-border-strong);
    background: rgba(122, 154, 74, 0.06);
}

.lmh-rating-slider--overall .lmh-rating-slider__label {
    font-family: var(--lmh-display);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-size: 1rem;
}

.lmh-rating-slider--overall input[type="range"] {
    height: 8px;
}

.lmh-rating-preview {
    margin: 0 0 14px;
    color: var(--lmh-muted);
}

.lmh-rating-preview strong {
    color: var(--lmh-cream);
    font-size: 1.2rem;
}

.lmh-admin-status {
    margin: 0 0 20px;
    color: var(--lmh-muted);
}

.lmh-admin-status.is-error {
    color: #e8a89a;
}

.lmh-admin-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 8px;
}

.lmh-admin-list-item {
    padding: 10px 12px;
    border-radius: var(--lmh-radius-sm);
    border: 1px solid var(--lmh-border);
    background: rgba(17, 16, 14, 0.55);
}

.lmh-admin-list-meta {
    display: block;
    margin-top: 4px;
    font-size: 0.78rem;
    color: var(--lmh-muted);
}

@media (max-width: 640px) {
    .lmh-flavor-page__layout {
        grid-template-columns: 1fr;
    }
}

/* --- Flavor modal --- */
.lmh-flavor-modal {
    flex-direction: column;
    justify-content: center;
}

.lmh-flavor-modal__frame {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    width: min(980px, calc(100vw - 20px));
    max-height: min(calc(90vh - 24px), 760px);
    pointer-events: none;
    transform: scale(0.96) translateY(10px);
    transition: transform 0.22s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.2s ease;
}

.lmh-flavor-modal__frame > * {
    pointer-events: auto;
}

.lmh-flavor-modal.is-open .lmh-flavor-modal__frame {
    transform: scale(1) translateY(0);
}

.lmh-flavor-modal .lmh-modal-dialog.lmh-flavor-modal__dialog {
    width: 100%;
    max-height: min(calc(90vh - 24px), 760px);
    padding: 0;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    scrollbar-width: thin;
    scrollbar-color: rgba(122, 154, 74, 0.35) transparent;
}

.lmh-flavor-modal .lmh-modal-dialog.lmh-flavor-modal__dialog::-webkit-scrollbar {
    width: 6px;
}

.lmh-flavor-modal .lmh-modal-dialog.lmh-flavor-modal__dialog::-webkit-scrollbar-thumb {
    background: rgba(122, 154, 74, 0.35);
    border-radius: 999px;
}

.lmh-flavor-modal__close {
    position: static;
    top: auto;
    right: auto;
    flex: 0 0 auto;
    margin: 0 0 8px;
    z-index: 2;
    width: 34px;
    height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 1.125rem;
    background: rgba(12, 11, 10, 0.82);
    border: 1px solid var(--lmh-border);
    backdrop-filter: blur(4px);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.28);
}

.lmh-flavor-modal__close:hover {
    background: rgba(122, 154, 74, 0.15);
    border-color: rgba(122, 154, 74, 0.35);
}

.lmh-flavor-modal__status {
    margin: 0;
    padding: 12px 14px 0;
    font-size: 0.8125rem;
    color: var(--lmh-muted);
}

.lmh-flavor-modal__shell {
    display: flex;
    align-items: stretch;
    flex: 1 1 auto;
    min-height: 0;
    overflow: hidden;
}

.lmh-flavor-modal__main {
    flex: 0 0 min(500px, 100%);
    min-height: 0;
    overflow-x: hidden;
    overflow-y: auto;
    padding: 12px 14px 14px;
    scrollbar-width: thin;
    scrollbar-color: rgba(122, 154, 74, 0.28) transparent;
}

.lmh-flavor-modal__hero {
    display: flex;
    gap: 12px;
    align-items: flex-start;
}

.lmh-flavor-modal__art-btn {
    flex: 0 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    padding: 0;
    border: none;
    background: transparent;
    cursor: zoom-in;
    text-align: center;
    font: inherit;
    color: inherit;
}

.lmh-flavor-modal__art-btn:disabled {
    cursor: default;
}

.lmh-flavor-modal__art-btn:not(:disabled):hover .lmh-flavor-modal__art,
.lmh-flavor-modal__art-btn:not(:disabled):focus-visible .lmh-flavor-modal__art {
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.35);
    border-color: rgba(122, 154, 74, 0.45);
}

.lmh-flavor-modal__art-btn:focus-visible {
    outline: 2px solid rgba(122, 154, 74, 0.55);
    outline-offset: 4px;
    border-radius: 12px;
}

.lmh-flavor-modal__art-hint {
    max-width: 96px;
    font-size: 0.625rem;
    line-height: 1.3;
    color: var(--lmh-muted);
    opacity: 0.8;
}

.lmh-flavor-modal__art-btn:disabled .lmh-flavor-modal__art-hint {
    display: none;
}

.lmh-flavor-modal__art {
    flex: 0 0 auto;
    width: 92px;
    min-height: 138px;
    border-radius: 10px;
    border: 1px solid rgba(122, 154, 74, 0.24);
    overflow: hidden;
    background: linear-gradient(165deg, rgba(122, 154, 74, 0.1), rgba(12, 11, 10, 0.55));
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.24);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 6px 5px;
    transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.lmh-flavor-modal__art img {
    width: 100%;
    height: auto;
    max-height: 124px;
    object-fit: contain;
    object-position: center bottom;
    display: block;
}

.lmh-flavor-modal__placeholder {
    font-family: var(--lmh-display);
    font-size: 1.5rem;
    color: var(--lmh-sage-soft);
}

.lmh-flavor-modal__head {
    min-width: 0;
    flex: 1;
    padding-top: 4px;
}

.lmh-flavor-modal__line {
    margin: 0 0 4px;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--lmh-sage-soft);
}

.lmh-flavor-modal__name {
    margin: 0;
    font-size: 1.125rem;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.02em;
    color: var(--lmh-cream);
}

.lmh-flavor-modal__about {
    margin-top: 10px;
    padding: 0;
    border-radius: 0;
    border: none;
    background: transparent;
}

.lmh-flavor-modal__about-details {
    border-radius: 10px;
    border: 1px solid rgba(122, 154, 74, 0.14);
    background: rgba(8, 9, 11, 0.28);
    overflow: hidden;
}

.lmh-flavor-modal__about-details[open] {
    padding-bottom: 10px;
}

.lmh-flavor-modal__about-title {
    margin: 0;
    padding: 8px 12px;
    font-size: 0.6875rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--lmh-sage-soft);
    cursor: pointer;
    list-style: none;
    user-select: none;
}

.lmh-flavor-modal__about-title::-webkit-details-marker {
    display: none;
}

.lmh-flavor-modal__about-title::before {
    content: "▸";
    display: inline-block;
    margin-right: 6px;
    transition: transform 0.15s ease;
}

.lmh-flavor-modal__about-details[open] > .lmh-flavor-modal__about-title::before {
    transform: rotate(90deg);
}

.lmh-flavor-modal__about .lmh-flavor-modal__desc {
    padding: 0 10px;
}

.lmh-flavor-modal__about .lmh-flavor-about__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 8px;
}

.lmh-flavor-modal__about .lmh-flavor-modal__catalog-id {
    margin: 0;
}

.lmh-flavor-modal__about .lmh-flavor-about__status {
    margin: 0;
    padding: 4px 9px;
    font-size: 0.75rem;
}

.lmh-flavor-modal__about .lmh-flavor-about__cards {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px;
}

.lmh-flavor-modal__about .lmh-flavor-about__card {
    padding: 8px 9px;
    border-radius: 8px;
}

.lmh-flavor-modal__about .lmh-flavor-about__card-label {
    margin: 0 0 4px;
    font-size: 0.625rem;
}

.lmh-flavor-modal__about .lmh-flavor-about__value {
    font-size: 0.8125rem;
    line-height: 1.35;
}

.lmh-flavor-modal__about .lmh-flavor-about__notes {
    margin: 8px 0 0;
    font-size: 0.8125rem;
    line-height: 1.4;
}

.lmh-flavor-about__status {
    display: inline-flex;
    align-items: center;
    margin: 0 0 14px;
    padding: 6px 12px;
    border-radius: 999px;
    font-size: 0.8125rem;
    font-weight: 600;
    line-height: 1.3;
}

.lmh-flavor-about__status--active {
    color: #d7f5a8;
    background: rgba(122, 154, 74, 0.22);
    border: 1px solid rgba(122, 154, 74, 0.45);
}

.lmh-flavor-about__status--discontinued {
    color: #f0c9a8;
    background: rgba(180, 100, 60, 0.18);
    border: 1px solid rgba(180, 100, 60, 0.35);
}

.lmh-flavor-about__status--announced {
    color: #c9d4ff;
    background: rgba(100, 120, 200, 0.18);
    border: 1px solid rgba(100, 120, 200, 0.35);
}

.lmh-flavor-about__status--limited {
    color: #ffe6a8;
    background: rgba(200, 160, 60, 0.16);
    border: 1px solid rgba(200, 160, 60, 0.35);
}

.lmh-flavor-about__status--unreleased,
.lmh-flavor-about__status--unknown,
.lmh-flavor-about__status--neutral {
    color: var(--lmh-muted);
    background: rgba(148, 163, 184, 0.12);
    border: 1px solid rgba(148, 163, 184, 0.22);
}

.lmh-flavor-modal__catalog-id {
    margin: 0 0 12px;
    font-size: 0.75rem;
    color: var(--lmh-muted);
}

.lmh-flavor-modal__catalog-id-label {
    display: inline-block;
    margin-right: 6px;
    padding: 2px 8px;
    border-radius: 999px;
    font-size: 0.6875rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--lmh-sage-soft);
    background: rgba(122, 154, 74, 0.12);
    border: 1px solid rgba(122, 154, 74, 0.2);
}

.lmh-flavor-modal__desc {
    margin: 0;
}

.lmh-flavor-modal__desc-text {
    margin: 0;
    font-size: 0.875rem;
    line-height: 1.55;
    color: var(--lmh-cream);
    white-space: pre-wrap;
    word-break: break-word;
}

.lmh-flavor-about__cards {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.lmh-flavor-about__card {
    margin: 0;
    padding: 12px 14px;
    border-radius: 12px;
    background: rgba(0, 0, 0, 0.24);
    border: 1px solid rgba(148, 163, 184, 0.12);
}

.lmh-flavor-about__card-label {
    margin: 0 0 8px;
    font-size: 0.6875rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--lmh-sage-soft);
}

.lmh-flavor-about__value {
    margin: 0;
    font-size: 0.875rem;
    line-height: 1.5;
    color: var(--lmh-cream);
    word-break: break-word;
}

.lmh-flavor-about__chips {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.lmh-flavor-about__chips li {
    padding: 5px 10px;
    border-radius: 999px;
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--lmh-cream);
    background: rgba(122, 154, 74, 0.14);
    border: 1px solid rgba(122, 154, 74, 0.28);
}

.lmh-flavor-about__notes {
    margin: 14px 0 0;
    padding-top: 12px;
    border-top: 1px solid rgba(148, 163, 184, 0.12);
    font-size: 0.8125rem;
    line-height: 1.5;
    color: var(--lmh-muted);
}

.lmh-flavor-about__notes-label {
    font-weight: 600;
    color: var(--lmh-sage-soft);
}

.lmh-flavor-modal__badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin: 8px 0 0;
    padding: 4px 11px;
    border-radius: 999px;
    font-size: 0.8125rem;
    font-weight: 600;
    line-height: 1.3;
    color: var(--lmh-sage-soft);
    background: rgba(122, 154, 74, 0.1);
    border: 1px solid rgba(122, 154, 74, 0.22);
}

.lmh-flavor-modal__badge-score {
    color: var(--lmh-cream);
}

.lmh-flavor-modal__badge-score::before {
    content: "★";
    margin-right: 3px;
    font-size: 0.625rem;
    opacity: 0.85;
}

.lmh-flavor-modal__badge-sep {
    opacity: 0.45;
}

.lmh-flavor-modal__panel {
    margin-top: 10px;
    padding: 12px 12px 10px;
    border-radius: 12px;
    background: rgba(8, 7, 6, 0.35);
    border: 1px solid var(--lmh-border);
}

.lmh-flavor-modal__form {
    margin: 0;
}

.lmh-flavor-modal__form-title {
    margin: 0 0 8px;
    font-size: 0.6875rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--lmh-muted);
}

.lmh-flavor-modal__criteria {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6px 10px;
    margin-bottom: 8px;
}

.lmh-rating-slider--compact {
    gap: 4px;
}

.lmh-rating-slider--compact .lmh-rating-slider__label {
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--lmh-muted);
}

.lmh-rating-slider--compact .lmh-rating-slider__row {
    gap: 10px;
}

.lmh-rating-slider--compact input[type="range"] {
    height: 5px;
}

.lmh-rating-slider--compact .lmh-rating-slider__value {
    min-width: 1.5rem;
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--lmh-sage-soft);
    text-align: right;
}

.lmh-flavor-modal .lmh-rating-slider--overall {
    margin-bottom: 8px;
    padding: 7px 10px;
    border-radius: 8px;
    background: rgba(122, 154, 74, 0.07);
    border: 1px solid rgba(122, 154, 74, 0.12);
}

.lmh-flavor-modal .lmh-rating-slider--overall .lmh-rating-slider__label {
    font-family: var(--lmh-font);
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0;
    text-transform: none;
    color: var(--lmh-text);
}

.lmh-flavor-modal__extras-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 88px;
    gap: 8px;
    margin-bottom: 8px;
}

.lmh-flavor-modal__field--grow {
    min-width: 0;
}

.lmh-flavor-modal__field--price .lmh-input--compact {
    width: 100%;
}

.lmh-flavor-modal__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-top: 4px;
}

.lmh-flavor-modal__preview-wrap {
    min-width: 0;
}

.lmh-flavor-modal__preview-hint {
    display: none;
}

.lmh-flavor-modal__preview {
    margin: 0;
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 4px 6px;
    font-size: 0.8125rem;
    color: var(--lmh-muted);
}

.lmh-flavor-modal__preview-normalizer {
    color: var(--lmh-cream);
    font-size: 0.8125rem;
}

.lmh-flavor-modal__preview strong {
    color: var(--lmh-sage-soft);
    font-size: 1rem;
    font-weight: 700;
}

.lmh-flavor-modal__save {
    margin-top: 0;
    padding: 9px 16px;
    font-size: 0.875rem;
    white-space: nowrap;
}

.lmh-flavor-modal__footer-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
}

.lmh-btn-danger {
    position: relative;
    overflow: hidden;
    margin-top: 0;
    padding: 9px 14px;
    border: 1px solid rgba(194, 74, 58, 0.35);
    border-radius: var(--lmh-radius-sm);
    background: linear-gradient(135deg, rgba(194, 74, 58, 0.22) 0%, rgba(143, 52, 40, 0.34) 100%);
    font-family: var(--lmh-font);
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0;
    text-transform: none;
    color: #ffd8d2;
    cursor: pointer;
    white-space: nowrap;
    box-shadow: 0 2px 8px rgba(194, 74, 58, 0.18);
    transition:
        transform var(--lmh-dur-fast) var(--lmh-ease-spring),
        box-shadow var(--lmh-dur-fast) ease,
        filter var(--lmh-dur-fast) ease,
        background var(--lmh-dur-fast) ease,
        border-color var(--lmh-dur-fast) ease,
        color var(--lmh-dur-fast) ease;
}

.lmh-btn-danger::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(105deg, transparent 35%, rgba(255, 255, 255, 0.12) 50%, transparent 65%);
    transform: translateX(-120%);
    transition: transform 0.5s ease;
    pointer-events: none;
}

.lmh-btn-danger:hover,
.lmh-btn-danger:focus-visible {
    border-color: rgba(224, 112, 96, 0.55);
    background: linear-gradient(135deg, var(--lmh-chili) 0%, var(--lmh-chili-deep) 100%);
    color: #fff8f6;
    filter: brightness(1.04);
    box-shadow: 0 6px 18px rgba(194, 74, 58, 0.34);
    transform: translateY(-1px);
    outline: none;
}

.lmh-btn-danger:hover::after,
.lmh-btn-danger:focus-visible::after {
    transform: translateX(120%);
}

.lmh-btn-danger:active {
    transform: translateY(0) scale(0.98);
}

.lmh-btn-danger:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.lmh-flavor-modal .lmh-form-error {
    margin-top: 6px;
    font-size: 0.75rem;
}

.lmh-flavor-modal__field {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-bottom: 10px;
}

.lmh-flavor-modal__field--inline {
    max-width: 180px;
}

.lmh-flavor-modal__field-label {
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--lmh-muted);
}

.lmh-required {
    color: #e8a87c;
    font-weight: 700;
}

.lmh-flavor-modal__field-hint {
    margin: 0;
    font-size: 0.6875rem;
    line-height: 1.35;
    color: var(--lmh-muted);
    opacity: 0.9;
}

.lmh-flavor-modal__field--volumes {
    margin-bottom: 12px;
}

.lmh-volume-picker {
    border: 1px solid var(--lmh-border);
    border-radius: 8px;
    background: rgba(8, 7, 6, 0.35);
    overflow: hidden;
}

.lmh-volume-picker__summary {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 10px;
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--lmh-cream);
    cursor: pointer;
    list-style: none;
    user-select: none;
}

.lmh-volume-picker__summary::-webkit-details-marker {
    display: none;
}

.lmh-volume-picker__summary::before {
    content: "▸";
    font-size: 0.75rem;
    color: var(--lmh-sage-soft);
    transition: transform 0.15s ease;
}

.lmh-volume-picker[open] .lmh-volume-picker__summary::before {
    transform: rotate(90deg);
}

.lmh-volume-picker__panel {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(108px, 1fr));
    gap: 4px;
    max-height: 180px;
    overflow-y: auto;
    padding: 6px 8px 8px;
    border-top: 1px solid var(--lmh-border);
    background: rgba(4, 3, 2, 0.25);
}

.lmh-volume-picker__option {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 5px 6px;
    border-radius: 6px;
    font-size: 0.75rem;
    color: var(--lmh-text);
    cursor: pointer;
    transition: background 0.12s ease;
}

.lmh-volume-picker__option:hover {
    background: rgba(255, 255, 255, 0.04);
}

.lmh-volume-picker__option input {
    flex: 0 0 auto;
    accent-color: var(--lmh-sage);
}

.lmh-volume-picker__selected {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 6px;
    min-height: 24px;
}

.lmh-volume-picker__chip {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 2px 6px 2px 8px;
    border-radius: 999px;
    font-size: 0.6875rem;
    font-weight: 500;
    color: var(--lmh-cream);
    background: rgba(120, 145, 110, 0.22);
    border: 1px solid rgba(120, 145, 110, 0.35);
}

.lmh-volume-picker__chip-remove {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 16px;
    height: 16px;
    padding: 0;
    border: none;
    border-radius: 50%;
    font-size: 0.875rem;
    line-height: 1;
    color: var(--lmh-muted);
    background: transparent;
    cursor: pointer;
}

.lmh-volume-picker__chip-remove:hover {
    color: var(--lmh-cream);
    background: rgba(255, 255, 255, 0.08);
}

.lmh-volume-picker__empty {
    font-size: 0.6875rem;
    color: var(--lmh-muted);
    font-style: italic;
}

.lmh-flavor-modal__textarea {
    min-height: 52px;
    resize: vertical;
    font-size: 0.8125rem;
    line-height: 1.4;
}

.lmh-flavor-modal__reviews {
    flex: 1;
    min-width: 240px;
    min-height: 0;
    align-self: stretch;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border-left: 1px solid var(--lmh-border);
    background: rgba(8, 7, 6, 0.22);
}

.lmh-flavor-modal__reviews-head {
    flex: 0 0 auto;
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 8px;
    padding: 10px 12px 8px;
    border-bottom: 1px solid var(--lmh-border);
}

.lmh-flavor-modal__reviews-title {
    margin: 0;
    font-size: 0.8125rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--lmh-cream);
}

.lmh-flavor-modal__reviews-count {
    margin: 0;
    font-size: 0.6875rem;
    color: var(--lmh-muted);
    white-space: nowrap;
}

.lmh-flavor-modal__reviews-toolbar {
    flex: 0 0 auto;
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 8px 10px;
    border-bottom: 1px solid var(--lmh-border);
    background: rgba(8, 7, 6, 0.18);
}

.lmh-flavor-modal__sort-select {
    width: 100%;
    box-sizing: border-box;
    height: 30px;
    appearance: none;
    border: 1px solid var(--lmh-border);
    border-radius: 8px;
    padding: 0 28px 0 10px;
    font: inherit;
    font-size: 0.75rem;
    font-weight: 500;
    line-height: 28px;
    color: var(--lmh-cream);
    background:
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='10' viewBox='0 0 24 24' fill='none' stroke='%23a8b89a' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E")
            no-repeat right 10px center / 10px,
        rgba(12, 11, 10, 0.55);
    cursor: pointer;
    transition: border-color 0.12s ease, box-shadow 0.12s ease;
}

.lmh-flavor-modal__sort-select:hover,
.lmh-flavor-modal__sort-select:focus {
    border-color: rgba(122, 154, 74, 0.45);
    outline: none;
    box-shadow: 0 0 0 2px rgba(122, 154, 74, 0.12);
}

.lmh-flavor-modal__review-filters {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 5px;
    width: 100%;
}

.lmh-flavor-modal__filter {
    box-sizing: border-box;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    min-width: 0;
    height: 28px;
    border: 1px solid var(--lmh-border);
    border-radius: 8px;
    padding: 0 6px;
    font: inherit;
    line-height: 1;
    color: var(--lmh-muted);
    background: rgba(12, 11, 10, 0.45);
    cursor: pointer;
    white-space: nowrap;
    transition: border-color 0.12s ease, color 0.12s ease, background 0.12s ease;
}

.lmh-flavor-modal__filter-range {
    font-size: 0.6875rem;
    font-weight: 600;
    color: var(--lmh-cream);
}

.lmh-flavor-modal__filter-count {
    min-width: 0.875rem;
    padding: 1px 4px;
    border-radius: 6px;
    font-size: 0.625rem;
    font-weight: 700;
    line-height: 1.2;
    text-align: center;
    color: var(--lmh-sage-soft);
    background: rgba(122, 154, 74, 0.12);
}

.lmh-flavor-modal__filter:hover {
    border-color: rgba(122, 154, 74, 0.35);
}

.lmh-flavor-modal__filter.is-active {
    background: rgba(122, 154, 74, 0.16);
    border-color: rgba(122, 154, 74, 0.45);
}

.lmh-flavor-modal__filter.is-active .lmh-flavor-modal__filter-count {
    color: var(--lmh-cream);
    background: rgba(122, 154, 74, 0.24);
}

.lmh-flavor-modal__review-list {
    flex: 1 1 auto;
    min-height: 0;
    overflow-x: hidden;
    overflow-y: auto;
    padding: 8px 10px 10px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    scrollbar-width: thin;
    scrollbar-color: rgba(122, 154, 74, 0.28) transparent;
}

.lmh-flavor-modal__review-empty {
    margin: auto 0;
    padding: 16px 8px;
    text-align: center;
    font-size: 0.8125rem;
    line-height: 1.45;
    color: var(--lmh-muted);
}

.lmh-flavor-review {
    padding: 9px 10px;
    border-radius: 10px;
    border: 1px solid var(--lmh-border);
    background: linear-gradient(160deg, rgba(22, 21, 19, 0.72), rgba(14, 13, 12, 0.55));
    transition: border-color 0.12s ease, transform 0.12s ease;
}

.lmh-flavor-review:hover {
    border-color: rgba(122, 154, 74, 0.28);
}

.lmh-flavor-review.is-own {
    border-color: rgba(122, 154, 74, 0.42);
    background: linear-gradient(160deg, rgba(122, 154, 74, 0.12), rgba(14, 13, 12, 0.55));
}

.lmh-flavor-review__head {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
}

.lmh-flavor-review__avatar {
    flex: 0 0 32px;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 1px solid rgba(122, 154, 74, 0.25);
    background: rgba(122, 154, 74, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    font-size: 0.8125rem;
    font-weight: 700;
    color: var(--lmh-sage-soft);
}

.lmh-flavor-review__avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.lmh-flavor-review__meta {
    min-width: 0;
    flex: 1;
}

.lmh-flavor-review__author {
    display: block;
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--lmh-cream);
    text-decoration: none;
    line-height: 1.25;
}

a.lmh-flavor-review__author:hover {
    color: var(--lmh-sage-soft);
}

.lmh-flavor-review__date {
    display: block;
    margin-top: 2px;
    font-size: 0.6875rem;
    color: var(--lmh-muted);
}

.lmh-flavor-review__rating {
    flex: 0 0 auto;
    min-width: 2.5rem;
    padding: 4px 8px;
    border-radius: 999px;
    font-size: 0.8125rem;
    font-weight: 700;
    text-align: center;
    color: var(--lmh-cream);
    background: rgba(122, 154, 74, 0.16);
    border: 1px solid rgba(122, 154, 74, 0.28);
}

.lmh-flavor-review__rating::before {
    content: "★ ";
    font-size: 0.625rem;
    opacity: 0.9;
}

.lmh-flavor-review__delete {
    flex: 0 0 auto;
    padding: 0;
    border: 0;
    background: transparent;
    font: inherit;
    font-size: 0.6875rem;
    font-weight: 500;
    color: var(--lmh-chili);
    cursor: pointer;
    white-space: nowrap;
}

.lmh-flavor-review__delete:hover,
.lmh-flavor-review__delete:focus-visible {
    color: #e07060;
    text-decoration: underline;
    outline: none;
}

.lmh-flavor-review__price {
    margin: 0;
    padding-top: 6px;
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--lmh-sage-soft);
}

.lmh-flavor-review__volumes {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    margin: 0;
    padding-top: 6px;
}

.lmh-flavor-review__volume {
    display: inline-block;
    padding: 1px 6px;
    border-radius: 999px;
    font-size: 0.625rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    color: var(--lmh-cream);
    background: rgba(120, 145, 110, 0.18);
    border: 1px solid rgba(120, 145, 110, 0.28);
}

.lmh-flavor-review__text {
    margin: 0;
    font-size: 0.8125rem;
    line-height: 1.45;
    color: var(--lmh-text);
    white-space: pre-wrap;
    word-break: break-word;
}

button.lmh-header-search__hit {
    width: 100%;
    border: none;
    background: transparent;
    cursor: pointer;
    text-align: left;
    font: inherit;
    color: inherit;
}

@media (max-width: 860px) {
    .lmh-flavor-modal .lmh-modal-dialog.lmh-flavor-modal__dialog {
        max-height: min(calc(94vh - 16px), 820px);
        overflow-y: auto;
    }

    .lmh-flavor-modal__shell {
        flex-direction: column;
        overflow: visible;
        min-height: auto;
    }

    .lmh-flavor-modal__main {
        flex: 0 0 auto;
        max-height: none;
        overflow: visible;
    }

    .lmh-flavor-modal__about .lmh-flavor-about__cards {
        grid-template-columns: 1fr;
    }

    .lmh-flavor-modal__reviews {
        min-width: 0;
        min-height: 280px;
        max-height: 42vh;
        border-left: none;
        border-top: 1px solid var(--lmh-border);
    }

    .lmh-flavor-modal__extras-row {
        grid-template-columns: 1fr;
    }

    .lmh-flavor-modal__drink-repeat {
        grid-template-columns: 1fr;
    }

    .lmh-flavor-modal__drink-btn {
        width: 100%;
    }
}

@media (max-width: 400px) {
    .lmh-flavor-modal__hero {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .lmh-flavor-modal__head {
        width: 100%;
    }

    .lmh-flavor-modal__criteria {
        grid-template-columns: 1fr;
    }

    .lmh-flavor-modal__footer {
        flex-direction: column;
        align-items: stretch;
    }

    .lmh-flavor-modal__save {
        width: 100%;
    }
}

/* --- Flavor image lightbox --- */
.lmh-flavor-lightbox {
    position: fixed;
    inset: 0;
    z-index: 300;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.22s ease, visibility 0.22s ease;
}

.lmh-flavor-lightbox.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.lmh-flavor-lightbox__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(2, 3, 5, 0.88);
    backdrop-filter: blur(14px);
    cursor: zoom-out;
}

.lmh-flavor-lightbox__close {
    position: absolute;
    top: 16px;
    right: 16px;
    z-index: 2;
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    border: 1px solid rgba(148, 163, 184, 0.25);
    background: rgba(12, 11, 10, 0.85);
    color: var(--lmh-cream);
    font-size: 1.5rem;
    line-height: 1;
    cursor: pointer;
    transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.lmh-flavor-lightbox__close:hover {
    transform: rotate(90deg) scale(1.05);
    background: rgba(122, 154, 74, 0.22);
    border-color: rgba(122, 154, 74, 0.45);
}

.lmh-flavor-lightbox__stage {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    width: min(520px, calc(100vw - 48px));
    max-height: calc(100vh - 80px);
    padding: 20px;
    border-radius: 18px;
    background: linear-gradient(180deg, rgba(24, 27, 33, 0.95), rgba(10, 11, 14, 0.98));
    border: 1px solid rgba(122, 154, 74, 0.22);
    box-shadow: 0 28px 80px rgba(0, 0, 0, 0.65);
}

.lmh-flavor-lightbox__img {
    display: block;
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: calc(100vh - 140px);
    object-fit: contain;
    object-position: center bottom;
}

.lmh-flavor-lightbox.is-open .lmh-flavor-lightbox__stage {
    animation: lmh-rise-in 0.28s var(--lmh-ease-out) both;
}

/* ==========================================================================
   UI polish — motion, glass, micro-interactions (v27)
   ========================================================================== */

@keyframes lmh-rise-in {
    from {
        opacity: 0;
        transform: translateY(14px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes lmh-fade-in {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes lmh-soft-pulse {
    0%, 100% { box-shadow: 0 0 0 rgba(122, 154, 74, 0); }
    50% { box-shadow: 0 0 18px rgba(122, 154, 74, 0.14); }
}

@keyframes lmh-bg-breathe {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.92; }
}

@keyframes lmh-hero-glow {
    0%, 100% { filter: drop-shadow(0 8px 24px rgba(0, 0, 0, 0.45)); }
    50% { filter: drop-shadow(0 10px 32px rgba(122, 154, 74, 0.18)); }
}

/* --- Ambient background --- */
.lmh-bg-pattern::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 45% 35% at 15% 85%, rgba(122, 154, 74, 0.05), transparent 60%),
        radial-gradient(ellipse 40% 30% at 85% 20%, rgba(100, 116, 139, 0.04), transparent 55%);
    animation: lmh-bg-breathe 12s ease-in-out infinite;
}

/* --- Page entrance --- */
.lmh-hero {
    animation: lmh-rise-in var(--lmh-dur-slow) var(--lmh-ease-out) both;
}

.lmh-hero__logo {
    animation: lmh-hero-glow 6s ease-in-out infinite;
}

.lmh-main > .lmh-fiesta-card,
.lmh-main > .lmh-catalog-toolbar,
.lmh-main > .lmh-page-head,
.lmh-main > section {
    animation: lmh-rise-in var(--lmh-dur-slow) var(--lmh-ease-out) both;
}

.lmh-main > *:nth-child(2) { animation-delay: 0.04s; }
.lmh-main > *:nth-child(3) { animation-delay: 0.08s; }
.lmh-main > *:nth-child(4) { animation-delay: 0.12s; }
.lmh-main > *:nth-child(5) { animation-delay: 0.16s; }
.lmh-main > *:nth-child(6) { animation-delay: 0.2s; }

.lmh-fiesta-card {
    transition:
        border-color var(--lmh-dur-med) ease,
        box-shadow var(--lmh-dur-med) ease,
        transform var(--lmh-dur-med) var(--lmh-ease-out);
}

.lmh-fiesta-card:hover {
    border-color: rgba(122, 154, 74, 0.22);
    box-shadow:
        var(--lmh-shadow-soft),
        0 0 0 1px rgba(122, 154, 74, 0.06) inset;
}

/* --- Header chrome (brand FROZEN — only actions/search) --- */
.lmh-auth-btn {
    transition:
        border-color var(--lmh-dur-fast) ease,
        background var(--lmh-dur-fast) ease,
        color var(--lmh-dur-fast) ease,
        transform var(--lmh-dur-fast) var(--lmh-ease-spring),
        box-shadow var(--lmh-dur-fast) ease;
}

.lmh-auth-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.22);
}

.lmh-auth-btn:active {
    transform: translateY(0) scale(0.98);
}

.lmh-header-search__panel {
    animation: lmh-rise-in 0.22s var(--lmh-ease-out) both;
    border: 1px solid rgba(122, 154, 74, 0.18);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.38);
}

.lmh-header-search__hit {
    transition:
        background var(--lmh-dur-fast) ease,
        transform var(--lmh-dur-fast) var(--lmh-ease-out);
}

.lmh-header-search__hit:hover,
.lmh-header-search__hit:focus-visible {
    transform: translateX(2px);
}

/* --- Auth modal --- */
.lmh-modal.is-open .lmh-modal-dialog {
    animation: lmh-rise-in 0.32s var(--lmh-ease-out) both;
}

.lmh-modal-backdrop {
    transition: backdrop-filter var(--lmh-dur-med) ease, background var(--lmh-dur-med) ease;
}

.lmh-modal.is-open .lmh-modal-backdrop {
    backdrop-filter: blur(10px);
}

.lmh-auth-tab {
    transition:
        background var(--lmh-dur-fast) ease,
        color var(--lmh-dur-fast) ease,
        transform var(--lmh-dur-fast) var(--lmh-ease-spring);
}

.lmh-auth-tab:active {
    transform: scale(0.97);
}

.lmh-back-link {
    transition: color var(--lmh-dur-fast) ease, transform var(--lmh-dur-fast) var(--lmh-ease-out);
}

.lmh-back-link:hover {
    transform: translateX(-2px);
}

/* --- Catalog sections --- */
.lmh-carousel-section {
    animation: lmh-rise-in var(--lmh-dur-slow) var(--lmh-ease-out) both;
}

.lmh-carousel-section:nth-child(2) { animation-delay: 0.05s; }
.lmh-carousel-section:nth-child(3) { animation-delay: 0.1s; }
.lmh-carousel-section:nth-child(4) { animation-delay: 0.15s; }
.lmh-carousel-section:nth-child(5) { animation-delay: 0.2s; }

.lmh-carousel-section__title::after {
    transition: opacity var(--lmh-dur-med) ease;
}

.lmh-carousel-section:hover .lmh-carousel-section__title::after {
    opacity: 0.85;
}

.lmh-flavor-card {
    position: relative;
    overflow: hidden;
}

.lmh-flavor-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(105deg, transparent 40%, rgba(255, 255, 255, 0.06) 50%, transparent 60%);
    transform: translateX(-120%);
    transition: transform 0.6s ease;
    pointer-events: none;
}

.lmh-flavor-card:hover::after,
.lmh-flavor-card:focus-visible::after {
    transform: translateX(120%);
}

.lmh-line-tile {
    position: relative;
    overflow: hidden;
}

.lmh-line-tile::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 50% 0%, rgba(122, 154, 74, 0.12), transparent 65%);
    opacity: 0;
    transition: opacity var(--lmh-dur-med) ease;
}

.lmh-line-tile:hover::before,
.lmh-line-tile:focus-visible::before {
    opacity: 1;
}

.lmh-section__title::after {
    transition: opacity var(--lmh-dur-med) ease, background var(--lmh-dur-med) ease;
}

.lmh-section:hover .lmh-section__title::after {
    background: linear-gradient(90deg, rgba(122, 154, 74, 0.35), transparent);
}

/* --- Flavor modal backdrop & shell --- */
.lmh-flavor-modal .lmh-modal-backdrop {
    background: rgba(4, 5, 7, 0.62);
    backdrop-filter: blur(0);
    transition: backdrop-filter var(--lmh-dur-slow) ease, background var(--lmh-dur-med) ease;
}

.lmh-flavor-modal.is-open .lmh-modal-backdrop {
    backdrop-filter: blur(12px);
    background: rgba(4, 5, 7, 0.78);
}

.lmh-flavor-modal__frame {
    transition: transform var(--lmh-dur-slow) var(--lmh-ease-out), opacity var(--lmh-dur-med) ease;
}

.lmh-flavor-modal .lmh-modal-dialog.lmh-flavor-modal__dialog {
    position: relative;
    background: linear-gradient(168deg, rgba(30, 33, 40, 0.97) 0%, rgba(13, 15, 19, 0.99) 55%, rgba(10, 11, 14, 1) 100%);
    backdrop-filter: blur(18px);
    border: 1px solid rgba(148, 163, 184, 0.14);
    box-shadow:
        0 28px 70px rgba(0, 0, 0, 0.58),
        0 0 0 1px rgba(122, 154, 74, 0.07) inset,
        0 1px 0 rgba(255, 255, 255, 0.035) inset;
}

.lmh-flavor-modal .lmh-flavor-modal__dialog::before {
    content: "";
    position: absolute;
    top: 0;
    left: 8%;
    right: 8%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(155, 184, 106, 0.55), transparent);
    pointer-events: none;
    z-index: 1;
}

.lmh-flavor-modal__close {
    transition:
        transform var(--lmh-dur-med) var(--lmh-ease-spring),
        background var(--lmh-dur-fast) ease,
        border-color var(--lmh-dur-fast) ease,
        box-shadow var(--lmh-dur-fast) ease;
}

.lmh-flavor-modal__close:hover {
    transform: rotate(90deg) scale(1.06);
    background: rgba(122, 154, 74, 0.2);
    border-color: rgba(122, 154, 74, 0.45);
    box-shadow: 0 6px 20px rgba(122, 154, 74, 0.2);
}

.lmh-flavor-modal.is-open .lmh-flavor-modal__main {
    animation: lmh-rise-in var(--lmh-dur-slow) var(--lmh-ease-out) both;
}

.lmh-flavor-modal.is-open .lmh-flavor-modal__reviews {
    animation: lmh-rise-in var(--lmh-dur-slow) 0.07s var(--lmh-ease-out) both;
}

.lmh-flavor-modal__art {
    transition: transform var(--lmh-dur-slow) var(--lmh-ease-out), box-shadow var(--lmh-dur-med) ease;
}

.lmh-flavor-modal__badge {
    transition: transform var(--lmh-dur-fast) var(--lmh-ease-out), box-shadow var(--lmh-dur-fast) ease;
}

.lmh-flavor-modal__hero:hover .lmh-flavor-modal__badge {
    transform: translateY(-1px);
}

.lmh-flavor-modal__panel {
    position: relative;
    overflow: hidden;
    background: linear-gradient(165deg, rgba(16, 18, 22, 0.72), rgba(10, 11, 14, 0.55));
    border: 1px solid rgba(148, 163, 184, 0.12);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
    transition: border-color var(--lmh-dur-med) ease, box-shadow var(--lmh-dur-med) ease;
}

.lmh-flavor-modal__panel:focus-within {
    border-color: rgba(122, 154, 74, 0.28);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.04),
        0 0 0 1px rgba(122, 154, 74, 0.08);
}

.lmh-flavor-modal .lmh-rating-slider--overall {
    background: linear-gradient(135deg, rgba(122, 154, 74, 0.12), rgba(122, 154, 74, 0.04));
    border-color: rgba(122, 154, 74, 0.2);
    transition: box-shadow var(--lmh-dur-fast) ease;
}

.lmh-flavor-modal .lmh-rating-slider--overall:focus-within {
    animation: lmh-soft-pulse 2s ease-in-out infinite;
}

.lmh-flavor-modal input[type="range"] {
    -webkit-appearance: none;
    appearance: none;
    height: 6px;
    border-radius: 999px;
    background: linear-gradient(90deg, rgba(122, 154, 74, 0.45), rgba(100, 116, 139, 0.25));
    outline: none;
    transition: box-shadow var(--lmh-dur-fast) ease;
}

.lmh-flavor-modal input[type="range"]:focus-visible {
    box-shadow: 0 0 0 3px rgba(122, 154, 74, 0.22);
}

.lmh-flavor-modal input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: linear-gradient(145deg, #b4cf82, #5a7838);
    border: 2px solid rgba(255, 255, 255, 0.18);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.35);
    cursor: grab;
    transition: transform var(--lmh-dur-fast) var(--lmh-ease-spring), box-shadow var(--lmh-dur-fast) ease;
}

.lmh-flavor-modal input[type="range"]::-moz-range-thumb {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: linear-gradient(145deg, #b4cf82, #5a7838);
    border: 2px solid rgba(255, 255, 255, 0.18);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.35);
    cursor: grab;
}

.lmh-flavor-modal input[type="range"]:active::-webkit-slider-thumb {
    transform: scale(1.18);
    cursor: grabbing;
    box-shadow: 0 0 14px rgba(122, 154, 74, 0.5);
}

.lmh-flavor-modal .lmh-rating-slider__value {
    transition: color var(--lmh-dur-fast) ease, transform var(--lmh-dur-fast) var(--lmh-ease-spring);
}

.lmh-flavor-modal input[type="range"]:active + .lmh-rating-slider__value,
.lmh-flavor-modal input[type="range"]:active ~ .lmh-rating-slider__value {
    color: var(--lmh-cream);
    transform: scale(1.08);
}

.lmh-flavor-modal .lmh-input,
.lmh-flavor-modal .lmh-flavor-modal__textarea {
    transition:
        border-color var(--lmh-dur-fast) ease,
        box-shadow var(--lmh-dur-fast) ease,
        background var(--lmh-dur-fast) ease;
}

.lmh-flavor-modal .lmh-input:focus,
.lmh-flavor-modal .lmh-flavor-modal__textarea:focus {
    border-color: rgba(122, 154, 74, 0.45);
    box-shadow: 0 0 0 3px rgba(122, 154, 74, 0.14);
}

.lmh-flavor-modal__preview strong {
    transition: transform var(--lmh-dur-fast) var(--lmh-ease-spring);
}

.lmh-flavor-modal__form:focus-within .lmh-flavor-modal__preview strong {
    transform: scale(1.04);
}

.lmh-flavor-modal__save {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #8eb356 0%, #5f7f38 48%, #4a6230 100%);
    box-shadow: 0 4px 16px rgba(74, 98, 48, 0.38);
    transition:
        transform var(--lmh-dur-fast) var(--lmh-ease-spring),
        box-shadow var(--lmh-dur-fast) ease,
        filter var(--lmh-dur-fast) ease;
}

.lmh-flavor-modal__save::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(105deg, transparent 30%, rgba(255, 255, 255, 0.18) 50%, transparent 70%);
    transform: translateX(-120%);
    transition: transform 0.55s ease;
}

.lmh-flavor-modal__save:hover {
    filter: brightness(1.06);
    box-shadow: 0 8px 22px rgba(74, 98, 48, 0.45);
    transform: translateY(-1px);
}

.lmh-flavor-modal__save:hover::after {
    transform: translateX(120%);
}

.lmh-flavor-modal__save:active {
    transform: translateY(0) scale(0.98);
}

.lmh-flavor-modal__reviews {
    background: linear-gradient(180deg, rgba(10, 11, 14, 0.35), rgba(8, 9, 11, 0.18));
}

.lmh-flavor-modal__filter {
    transition:
        border-color var(--lmh-dur-fast) ease,
        background var(--lmh-dur-fast) ease,
        transform var(--lmh-dur-fast) var(--lmh-ease-out),
        box-shadow var(--lmh-dur-fast) ease;
}

.lmh-flavor-modal__filter:active {
    transform: scale(0.97);
}

.lmh-flavor-modal__filter.is-active {
    box-shadow: 0 0 0 1px rgba(122, 154, 74, 0.2) inset;
}

.lmh-flavor-modal__sort-select {
    transition:
        border-color var(--lmh-dur-fast) ease,
        box-shadow var(--lmh-dur-fast) ease,
        background var(--lmh-dur-fast) ease;
}

.lmh-flavor-review {
    animation: lmh-rise-in 0.38s var(--lmh-ease-out) both;
    transition:
        border-color var(--lmh-dur-fast) ease,
        transform var(--lmh-dur-med) var(--lmh-ease-out),
        box-shadow var(--lmh-dur-med) ease;
}

.lmh-flavor-review:nth-child(1) { animation-delay: 0.03s; }
.lmh-flavor-review:nth-child(2) { animation-delay: 0.06s; }
.lmh-flavor-review:nth-child(3) { animation-delay: 0.09s; }
.lmh-flavor-review:nth-child(4) { animation-delay: 0.12s; }
.lmh-flavor-review:nth-child(5) { animation-delay: 0.15s; }

.lmh-flavor-review:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.28);
}

.lmh-flavor-review__rating {
    transition: transform var(--lmh-dur-fast) var(--lmh-ease-spring);
}

.lmh-flavor-review:hover .lmh-flavor-review__rating {
    transform: scale(1.05);
}

.lmh-flavor-review__avatar {
    transition: transform var(--lmh-dur-med) var(--lmh-ease-out), box-shadow var(--lmh-dur-med) ease;
}

.lmh-flavor-review:hover .lmh-flavor-review__avatar {
    transform: scale(1.05);
    box-shadow: 0 0 12px rgba(122, 154, 74, 0.2);
}

.lmh-flavor-review.is-own {
    box-shadow: 0 0 0 1px rgba(122, 154, 74, 0.15) inset;
}

.lmh-flavor-modal__review-empty {
    animation: lmh-fade-in 0.35s ease both;
}

/* --- Primary buttons --- */
.lmh-btn-primary {
    position: relative;
    overflow: hidden;
    transition:
        transform var(--lmh-dur-fast) var(--lmh-ease-spring),
        box-shadow var(--lmh-dur-fast) ease,
        filter var(--lmh-dur-fast) ease,
        background var(--lmh-dur-fast) ease;
}

.lmh-btn-primary::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(105deg, transparent 35%, rgba(255, 255, 255, 0.14) 50%, transparent 65%);
    transform: translateX(-120%);
    transition: transform 0.5s ease;
}

.lmh-btn-primary:hover {
    filter: brightness(1.08);
    box-shadow: 0 6px 18px rgba(74, 98, 48, 0.38);
    transform: translateY(-1px);
}

.lmh-btn-primary:hover::after {
    transform: translateX(120%);
}

.lmh-btn-chili {
    transition:
        background var(--lmh-dur-fast) ease,
        transform var(--lmh-dur-fast) var(--lmh-ease-spring),
        box-shadow var(--lmh-dur-fast) ease;
}

.lmh-btn-chili:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(194, 74, 58, 0.35);
}

.lmh-footer {
    animation: lmh-fade-in 0.6s ease 0.25s both;
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    .lmh-flavor-card:hover,
    .lmh-flavor-card:focus-visible,
    .lmh-line-tile:hover,
    .lmh-flavor-review:hover,
    .lmh-auth-btn:hover,
    .lmh-btn-primary:hover,
    .lmh-btn-chili:hover {
        transform: none;
    }

    .lmh-bg-pattern::before {
        animation: none;
    }

    .lmh-hero__logo {
        animation: none;
    }
}

/* --- Drink logs: modal, feed, cabinet, calendar --- */
.lmh-flavor-modal__drink {
    margin: 10px 0 0;
    padding: 10px 12px;
    border-radius: 10px;
    border: 1px solid rgba(122, 154, 74, 0.22);
    background: rgba(122, 154, 74, 0.08);
}

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

.lmh-flavor-modal__drink-rating-line {
    margin: 0;
    font-size: 0.8125rem;
    color: var(--lmh-text);
}

.lmh-flavor-modal__drink-btn {
    width: auto;
    min-width: 132px;
    padding: 8px 12px;
    font-size: 0.8125rem;
    white-space: nowrap;
}

.lmh-flavor-modal__drink-hint {
    margin: 0 0 10px;
    font-size: 0.8125rem;
    line-height: 1.45;
    color: var(--lmh-muted);
}

.lmh-flavor-modal__drink-check {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.8125rem;
    color: var(--lmh-cream);
    cursor: pointer;
}

.lmh-flavor-modal__drink-edit {
    margin-left: 8px;
    padding: 0;
    border: 0;
    background: transparent;
    font: inherit;
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--lmh-sage-soft);
    cursor: pointer;
}

.lmh-flavor-modal__drink-edit:hover,
.lmh-flavor-modal__drink-edit:focus-visible {
    color: var(--lmh-cream);
    outline: none;
}

.lmh-flavor-modal__drink-status {
    margin: 10px 0 0;
    min-height: 1.25em;
    font-size: 0.8125rem;
    color: var(--lmh-muted);
}

.lmh-flavor-modal__drink-history {
    margin-top: 12px;
    padding-top: 10px;
    border-top: 1px solid rgba(122, 154, 74, 0.18);
}

.lmh-flavor-modal__drink-history-title {
    margin: 0 0 8px;
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--lmh-cream);
}

.lmh-flavor-modal__drink-history-list {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 6px;
    max-height: 108px;
    overflow-y: auto;
    scrollbar-width: thin;
}

.lmh-flavor-modal__drink-history-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 8px 10px;
    border-radius: 8px;
    background: rgba(0, 0, 0, 0.18);
    border: 1px solid rgba(122, 154, 74, 0.14);
}

.lmh-flavor-modal__drink-history-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px 8px;
    min-width: 0;
}

.lmh-flavor-modal__drink-history-index {
    flex: 0 0 auto;
    font-size: 0.75rem;
    font-weight: 700;
    color: rgba(196, 214, 142, 0.85);
}

.lmh-flavor-modal__drink-history-when {
    font-size: 0.8125rem;
    line-height: 1.35;
    color: var(--lmh-text);
}

.lmh-flavor-modal__drink-history-badge {
    flex: 0 0 auto;
    padding: 2px 6px;
    border-radius: 999px;
    font-size: 0.6875rem;
    font-weight: 600;
    color: #1a2310;
    background: rgba(196, 214, 142, 0.88);
}

.lmh-flavor-modal__drink-history-delete {
    flex: 0 0 auto;
    width: 28px;
    height: 28px;
    border: 0;
    border-radius: 8px;
    background: rgba(180, 60, 60, 0.18);
    color: #ffb4b4;
    font-size: 1.125rem;
    line-height: 1;
    cursor: pointer;
}

.lmh-flavor-modal__drink-history-delete:hover,
.lmh-flavor-modal__drink-history-delete:focus-visible {
    background: rgba(180, 60, 60, 0.32);
    color: #ffd6d6;
}

.lmh-drink-feed-bar {
    width: 100%;
    display: flex;
    justify-content: flex-start;
    padding: 0;
    margin-bottom: 2px;
}

.lmh-drink-feed-section {
    width: max-content;
    max-width: 100%;
    margin: 0;
}

.lmh-drink-feed__track {
    display: flex;
    gap: 8px;
    padding: 0;
    margin: 0;
    overflow-x: auto;
    overflow-y: hidden;
    justify-content: flex-start;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.lmh-drink-feed__track::-webkit-scrollbar {
    display: none;
}

.lmh-drink-feed__card {
    flex: 0 0 auto;
    width: 52px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
    text-align: center;
}

.lmh-drink-feed__can {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 32px;
    padding: 0;
    border: 0;
    background: transparent;
    cursor: pointer;
    border-radius: 4px;
}

.lmh-drink-feed__can:hover,
.lmh-drink-feed__can:focus-visible {
    outline: none;
    opacity: 0.88;
}

.lmh-drink-feed__can-img {
    display: block;
    max-width: 100%;
    max-height: 32px;
    width: auto;
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.45));
}

.lmh-drink-feed__can-wrap {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

.lmh-drink-feed__can-wrap .lmh-flavor-img-fallback {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.lmh-drink-feed__can-wrap .lmh-drink-feed__can-img {
    position: relative;
    z-index: 1;
}

.lmh-drink-feed__can-ph {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 30px;
    border-radius: 4px;
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--lmh-sage-soft);
    background: rgba(122, 154, 74, 0.1);
}

.lmh-drink-feed__nick {
    max-width: 100%;
    margin-top: 1px;
    font-size: 0.625rem;
    font-weight: 600;
    line-height: 1.05;
    color: var(--lmh-cream);
    text-decoration: none;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.lmh-drink-feed__nick:hover,
.lmh-drink-feed__nick:focus-visible {
    color: var(--lmh-sage-soft);
}

.lmh-drink-feed__time {
    margin: 0;
    font-size: 0.5rem;
    font-weight: 500;
    line-height: 1.05;
    letter-spacing: 0;
    color: var(--lmh-muted);
    opacity: 0.9;
    white-space: nowrap;
}

.lmh-drink-feed__empty {
    margin: 0;
    padding: 4px 2px 10px;
    font-size: 0.75rem;
    color: var(--lmh-muted);
}

/* Floating «Я выпил» FAB */
.lmh-drink-fab {
    position: fixed;
    right: max(20px, env(safe-area-inset-right, 20px));
    bottom: max(24px, env(safe-area-inset-bottom, 24px));
    z-index: 90;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    padding: 0;
    border: 0;
    background: transparent;
    cursor: pointer;
    font: inherit;
    transition: transform var(--lmh-dur-fast) var(--lmh-ease-out);
}

.lmh-drink-fab:hover,
.lmh-drink-fab:focus-visible {
    transform: translateY(-2px) scale(1.04);
    outline: none;
}

.lmh-drink-fab:active {
    transform: translateY(0) scale(0.98);
}

.lmh-drink-fab__glow {
    position: absolute;
    top: 0;
    left: 50%;
    width: 72px;
    height: 72px;
    margin-left: -36px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(122, 154, 74, 0.55) 0%, rgba(122, 154, 74, 0) 70%);
    animation: lmh-drink-fab-pulse 2.4s ease-in-out infinite;
    pointer-events: none;
}

@keyframes lmh-drink-fab-pulse {
    0%, 100% {
        opacity: 0.55;
        transform: scale(1);
    }
    50% {
        opacity: 1;
        transform: scale(1.18);
    }
}

.lmh-drink-fab__core {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    border: 2px solid rgba(180, 220, 120, 0.65);
    background:
        radial-gradient(circle at 35% 28%, rgba(200, 240, 130, 0.35), transparent 55%),
        linear-gradient(145deg, #6b9e32, #3d5c22 55%, #2a4018);
    box-shadow:
        0 0 0 1px rgba(122, 154, 74, 0.35),
        0 0 28px rgba(122, 154, 74, 0.55),
        0 8px 24px rgba(0, 0, 0, 0.45),
        inset 0 1px 0 rgba(255, 255, 255, 0.25);
}

.lmh-drink-fab:hover .lmh-drink-fab__core,
.lmh-drink-fab:focus-visible .lmh-drink-fab__core {
    box-shadow:
        0 0 0 1px rgba(180, 220, 120, 0.5),
        0 0 40px rgba(140, 200, 80, 0.75),
        0 12px 32px rgba(0, 0, 0, 0.5),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.lmh-drink-fab__logo {
    width: 36px;
    height: 36px;
    object-fit: contain;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.35));
}

.lmh-drink-fab__label {
    position: relative;
    z-index: 1;
    padding: 3px 10px;
    border-radius: 999px;
    font-size: 0.6875rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #e8ffd0;
    background: rgba(20, 28, 14, 0.88);
    border: 1px solid rgba(122, 154, 74, 0.45);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.35);
}

body.lmh-home-guest-open .lmh-header__actions {
    display: none;
}

body.lmh-home-catalog-open {
    padding-bottom: 8px;
}

body.lmh-home-catalog-open .lmh-main {
    padding-bottom: 88px;
}

body.lmh-drink-fab-visible .lmh-main,
body.lmh-drink-fab-visible .simple-page-main {
    padding-bottom: 88px;
}

.lmh-flavor-modal.is-selecting-flavor .lmh-flavor-modal__reviews-head,
.lmh-flavor-modal.is-selecting-flavor .lmh-flavor-modal__reviews-toolbar {
    opacity: 0.55;
    pointer-events: none;
}

.lmh-flavor-modal__flavor-select {
    margin-bottom: 12px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(122, 154, 74, 0.16);
}

.lmh-flavor-modal__flavor-select-lead,
.lmh-flavor-modal__pick-lead {
    margin: 0 0 10px;
    font-size: 0.8125rem;
    line-height: 1.4;
    color: var(--lmh-muted);
}

.lmh-flavor-modal__pick {
    padding: 4px 2px 8px;
}

.lmh-flavor-modal__pick-title {
    display: none;
}

.lmh-flavor-modal__pick-search-wrap {
    display: block;
    position: relative;
    margin-bottom: 10px;
}

.lmh-flavor-modal__pick-search-icon {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--lmh-muted);
    pointer-events: none;
}

.lmh-flavor-modal__pick-search {
    width: 100%;
    padding: 10px 12px 10px 34px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(0, 0, 0, 0.28);
    color: var(--lmh-cream);
    font: inherit;
    font-size: 0.9375rem;
}

.lmh-flavor-modal__pick-search:focus {
    outline: none;
    border-color: rgba(122, 154, 74, 0.45);
}

.lmh-flavor-modal__pick-results {
    display: flex;
    flex-direction: column;
    gap: 6px;
    max-height: min(340px, 50vh);
    overflow-y: auto;
}

.lmh-flavor-modal__pick-hit {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
    width: 100%;
    padding: 10px 12px;
    border: 0;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.04);
    color: var(--lmh-cream);
    text-align: left;
    cursor: pointer;
}

.lmh-flavor-modal__pick-hit:hover,
.lmh-flavor-modal__pick-hit:focus-visible {
    background: rgba(122, 154, 74, 0.16);
    outline: none;
}

.lmh-flavor-modal__pick-hit-name {
    font-size: 0.9375rem;
    font-weight: 600;
}

.lmh-flavor-modal__pick-hit-line {
    font-size: 0.8125rem;
    color: var(--lmh-muted);
}

.lmh-flavor-modal__pick-empty {
    margin: 0;
    padding: 10px 4px;
    font-size: 0.875rem;
    color: var(--lmh-muted);
}

@media (max-width: 720px) {
    .lmh-drink-fab {
        right: max(14px, env(safe-area-inset-right, 14px));
        bottom: max(18px, env(safe-area-inset-bottom, 18px));
    }

    .lmh-drink-fab__core {
        width: 58px;
        height: 58px;
    }

    .lmh-drink-fab__logo {
        width: 32px;
        height: 32px;
    }
}

.lmh-cabinet__summary {
    margin: 0 0 12px;
    font-size: 0.8125rem;
    color: var(--lmh-muted);
}

.lmh-cabinet__progress-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 16px;
}

.lmh-cabinet-progress__head {
    display: flex;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 4px;
    font-size: 0.75rem;
}

.lmh-cabinet-progress__label {
    color: var(--lmh-cream);
}

.lmh-cabinet-progress__count {
    color: var(--lmh-sage-soft);
}

.lmh-cabinet-progress__track {
    width: 100%;
    height: var(--lmh-progress-track-height);
    border-radius: 999px;
    background: rgba(122, 154, 74, 0.12);
    overflow: hidden;
}

.lmh-cabinet-progress__bar {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, var(--lmh-sage-deep), var(--lmh-sage-soft));
}

.lmh-cabinet__grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(132px, 1fr));
    gap: 10px;
}

.lmh-cabinet__filters {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 14px;
}

.lmh-cabinet-lines-nav {
    margin-bottom: 14px;
}

.lmh-cabinet-lines-nav__scroll {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    max-height: 132px;
    overflow-y: auto;
    padding: 2px 0;
    scrollbar-width: thin;
}

.lmh-cabinet-lines-nav__link {
    flex: 0 1 auto;
    min-width: 0;
    max-width: 100%;
}

.user-profile-cabinet .lmh-lines-nav__link {
    padding: 6px 10px;
    font-size: 0.75rem;
}

.lmh-cabinet__body {
    margin-top: 4px;
}

.lmh-cabinet-line-view__head {
    margin-bottom: 10px;
}

.lmh-cabinet-line-view .lmh-catalog-line-view__title {
    font-size: 1.125rem;
}

.lmh-cabinet-progress--single {
    margin-bottom: 12px;
}

.lmh-cabinet__grid {
    padding: 0;
}

.lmh-cabinet__catalog {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.lmh-cabinet-line-section .lmh-line-section__title {
    font-size: 0.9375rem;
}

.lmh-cabinet-filter {
    padding: 5px 10px;
    border-radius: 999px;
    border: 1px solid rgba(122, 154, 74, 0.22);
    background: rgba(18, 22, 16, 0.55);
    color: var(--lmh-muted);
    font: inherit;
    font-size: 0.75rem;
    line-height: 1.2;
    cursor: pointer;
    transition: color 0.15s ease, border-color 0.15s ease, background 0.15s ease;
}

.lmh-cabinet-filter:hover,
.lmh-cabinet-filter:focus-visible {
    color: var(--lmh-cream);
    border-color: rgba(122, 154, 74, 0.45);
    outline: none;
}

.lmh-cabinet-filter.is-active {
    color: var(--lmh-cream);
    border-color: rgba(122, 154, 74, 0.55);
    background: rgba(122, 154, 74, 0.18);
}

.lmh-cabinet__shelves {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.lmh-cabinet-shelf {
    position: relative;
}

.lmh-cabinet-shelf__head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 8px;
}

.lmh-cabinet-shelf__title {
    margin: 0;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--lmh-cream);
}

.lmh-cabinet-shelf__count {
    font-size: 0.75rem;
    color: var(--lmh-sage-soft);
}

.lmh-cabinet-shelf__board {
    height: 6px;
    margin-bottom: 10px;
    border-radius: 3px 3px 1px 1px;
    background: linear-gradient(180deg, rgba(122, 154, 74, 0.28), rgba(74, 58, 42, 0.85));
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.28);
}

.lmh-cabinet-shelf__grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(132px, 1fr));
    gap: 10px;
    padding-top: 2px;
}

.lmh-cabinet-card--empty .lmh-flavor-card--ghost {
    opacity: 0.72;
    border-style: dashed;
    border-color: rgba(122, 154, 74, 0.18);
    background: rgba(18, 22, 16, 0.35);
}

.lmh-cabinet-card--empty .lmh-flavor-card--ghost:hover,
.lmh-cabinet-card--empty .lmh-flavor-card--ghost:focus-visible {
    opacity: 0.92;
    border-color: rgba(122, 154, 74, 0.38);
}

.lmh-cabinet-slot {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 88px;
    border-radius: 6px;
    border: 1px dashed rgba(122, 154, 74, 0.22);
    background:
        linear-gradient(180deg, rgba(122, 154, 74, 0.06), rgba(0, 0, 0, 0.08)),
        repeating-linear-gradient(
            135deg,
            rgba(122, 154, 74, 0.04) 0,
            rgba(122, 154, 74, 0.04) 6px,
            transparent 6px,
            transparent 12px
        );
}

.lmh-cabinet-card--empty .lmh-flavor-card__name {
    color: var(--lmh-muted);
}

.lmh-cabinet-card {
    position: relative;
}

.lmh-cabinet-card__count {
    position: absolute;
    top: 6px;
    right: 6px;
    z-index: 2;
    padding: 2px 6px;
    border-radius: 999px;
    font-size: 0.6875rem;
    font-weight: 700;
    color: var(--lmh-cream);
    background: rgba(122, 154, 74, 0.85);
}

.lmh-cabinet__empty,
.lmh-cabinet__loading {
    margin: 0;
    font-size: 0.875rem;
    color: var(--lmh-muted);
}

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

.lmh-cabinet__filters {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    flex: 1 1 auto;
}

.lmh-cabinet-filter {
    padding: 5px 10px;
    border-radius: 999px;
    border: 1px solid rgba(122, 154, 74, 0.22);
    background: rgba(18, 22, 16, 0.55);
    color: var(--lmh-muted);
    font: inherit;
    font-size: 0.75rem;
    cursor: pointer;
}

.lmh-cabinet-filter.is-active {
    color: var(--lmh-cream);
    border-color: rgba(122, 154, 74, 0.55);
    background: rgba(122, 154, 74, 0.18);
}

.lmh-cabinet-filter__count {
    opacity: 0.75;
}

.lmh-cabinet__sort .imdb-filter-btn.is-active {
    background: rgba(122, 154, 74, 0.22);
    border-color: rgba(122, 154, 74, 0.65);
    color: var(--lmh-cream);
}

.lmh-cabinet-table-wrap {
    border: 1px solid rgba(148, 163, 184, 0.1);
    border-radius: 8px;
    overflow: hidden;
}

.user-profile-cabinet .imdb-table tbody tr:hover {
    background: rgba(122, 154, 74, 0.08);
}

.lmh-cabinet-poster-cell {
    width: 58px;
}

.lmh-cabinet-can {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 56px;
    padding: 0;
    border: 1px solid rgba(148, 163, 184, 0.16);
    border-radius: 6px;
    background: rgba(12, 14, 18, 0.72);
    cursor: pointer;
    overflow: hidden;
    position: relative;
}

.lmh-cabinet-can__img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.lmh-cabinet-can__ph {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--lmh-sage-soft);
}

.lmh-cabinet-can__img.is-missing + .lmh-cabinet-can__ph,
.lmh-cabinet-can:not(:has(.lmh-cabinet-can__img:not(.is-missing))) .lmh-cabinet-can__ph {
    display: flex;
}

.lmh-cabinet-can__img:not(.is-missing) + .lmh-cabinet-can__ph {
    display: none;
}

.lmh-cabinet-title-link {
    background: none;
    border: 0;
    padding: 0;
    font: inherit;
    text-align: left;
    cursor: pointer;
}

.lmh-cabinet-title-link:hover,
.lmh-cabinet-title-link:focus-visible {
    color: var(--lmh-sage-soft);
    outline: none;
}

.lmh-cabinet-count-cell,
.lmh-cabinet-rating-cell {
    white-space: nowrap;
    font-variant-numeric: tabular-nums;
}

.lmh-cabinet-rating-cell {
    font-weight: 600;
    color: var(--lmh-sage-soft);
}

.lmh-drink-calendar--month {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.user-profile-drink-calendar .lmh-drink-calendar--month {
    max-width: none;
}

.lmh-drink-calendar__toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 6px;
    margin-bottom: 8px;
}

.lmh-drink-calendar__pickers {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    flex: 1 1 auto;
    min-width: 0;
}

.lmh-drink-calendar__select {
    flex: 1 1 auto;
    min-width: 0;
    max-width: 132px;
    height: 28px;
    padding: 0 8px;
    border-radius: 8px;
    border: 1px solid rgba(122, 154, 74, 0.22);
    background: rgba(18, 22, 16, 0.72);
    color: var(--lmh-cream);
    font: inherit;
    font-size: 0.75rem;
    font-weight: 600;
    line-height: 1.2;
    cursor: pointer;
}

.lmh-drink-calendar__select:hover,
.lmh-drink-calendar__select:focus-visible {
    border-color: rgba(122, 154, 74, 0.45);
    outline: none;
}

.lmh-drink-calendar__month {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--lmh-cream);
    text-transform: capitalize;
}

.lmh-drink-calendar__nav {
    width: 28px;
    height: 28px;
    padding: 0;
    border-radius: 8px;
    border: 1px solid rgba(122, 154, 74, 0.22);
    background: rgba(18, 22, 16, 0.55);
    color: var(--lmh-cream);
    font: inherit;
    font-size: 1rem;
    line-height: 1;
    cursor: pointer;
}

.lmh-drink-calendar__nav:hover,
.lmh-drink-calendar__nav:focus-visible {
    border-color: rgba(122, 154, 74, 0.45);
    outline: none;
}

.lmh-drink-calendar__weekdays {
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    gap: 4px;
    margin-bottom: 4px;
}

.lmh-drink-calendar__weekday {
    text-align: center;
    font-size: 0.625rem;
    font-weight: 600;
    color: var(--lmh-muted);
    text-transform: uppercase;
}

.lmh-drink-calendar__grid {
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    gap: 4px;
}

.lmh-drink-calendar__pad {
    display: block;
    min-height: 32px;
}

.lmh-drink-calendar__day {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 32px;
    padding: 0;
    border-radius: 6px;
    border: 1px solid rgba(148, 163, 184, 0.1);
    background: rgba(19, 21, 26, 0.45);
    font: inherit;
    font-size: 0.6875rem;
    font-weight: 600;
    color: var(--lmh-muted);
    cursor: pointer;
    transition:
        border-color var(--lmh-dur-fast) ease,
        box-shadow var(--lmh-dur-fast) ease;
}

.lmh-drink-calendar__day.is-empty {
    cursor: pointer;
    background: rgba(19, 21, 26, 0.28);
}

.lmh-drink-calendar__day.is-empty:hover,
.lmh-drink-calendar__day.is-empty:focus-visible,
.lmh-drink-calendar__day.is-empty.is-selected {
    border-color: rgba(122, 154, 74, 0.35);
    background: rgba(122, 154, 74, 0.08);
    outline: none;
}

.lmh-drink-calendar__day.is-empty.is-selected {
    box-shadow: inset 0 0 0 1px rgba(122, 154, 74, 0.45);
}

.lmh-drink-calendar__day.is-today {
    box-shadow: inset 0 0 0 1px rgba(122, 154, 74, 0.55);
}

.lmh-drink-calendar__day.is-today .lmh-drink-calendar__day-num {
    color: var(--lmh-cream);
}

.lmh-drink-calendar__day-num {
    line-height: 1;
}

.lmh-drink-calendar__day-badge {
    position: absolute;
    top: 2px;
    right: 3px;
    font-size: 0.5625rem;
    font-weight: 700;
    color: var(--lmh-sage-soft);
    line-height: 1;
}

.lmh-drink-calendar__day.is-drink-tier-green,
.lmh-drink-calendar__day.is-drink-tier-yellow,
.lmh-drink-calendar__day.is-drink-tier-orange,
.lmh-drink-calendar__day.is-drink-tier-red,
.lmh-drink-calendar__day.is-drink-tier-purple {
    cursor: pointer;
    color: var(--lmh-cream);
}

.lmh-drink-calendar__day.is-drink-tier-green:hover,
.lmh-drink-calendar__day.is-drink-tier-yellow:hover,
.lmh-drink-calendar__day.is-drink-tier-orange:hover,
.lmh-drink-calendar__day.is-drink-tier-red:hover,
.lmh-drink-calendar__day.is-drink-tier-purple:hover,
.lmh-drink-calendar__day.is-selected {
    filter: brightness(1.08);
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.12);
}

.lmh-drink-calendar__day.is-drink-tier-green {
    background: rgba(122, 154, 74, 0.62);
    border-color: rgba(155, 184, 106, 0.45);
}

.lmh-drink-calendar__day.is-drink-tier-yellow {
    background: rgba(202, 168, 32, 0.62);
    border-color: rgba(234, 196, 48, 0.45);
}

.lmh-drink-calendar__day.is-drink-tier-orange {
    background: rgba(217, 119, 32, 0.62);
    border-color: rgba(251, 146, 60, 0.45);
}

.lmh-drink-calendar__day.is-drink-tier-red {
    background: rgba(185, 52, 52, 0.68);
    border-color: rgba(248, 113, 113, 0.45);
}

.lmh-drink-calendar__day.is-drink-tier-purple {
    background: rgba(124, 58, 168, 0.68);
    border-color: rgba(192, 132, 252, 0.45);
}

.lmh-drink-calendar__day.is-drink-tier-yellow .lmh-drink-calendar__day-badge,
.lmh-drink-calendar__day.is-drink-tier-orange .lmh-drink-calendar__day-badge {
    color: #fef9c3;
}

.lmh-drink-calendar__day.is-selected {
    outline: none;
}

.lmh-drink-calendar__detail {
    margin-top: 8px;
    padding: 8px 10px;
    border-radius: 8px;
    border: 1px solid rgba(148, 163, 184, 0.1);
    background: rgba(18, 22, 16, 0.45);
    font-size: 0.8125rem;
}

.lmh-drink-calendar__detail-head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 8px;
    margin: 0 0 6px;
    font-size: 0.8125rem;
    color: var(--lmh-cream);
}

.lmh-drink-calendar__detail-total {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--lmh-sage-soft);
}

.lmh-drink-calendar__detail-list {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.lmh-drink-calendar__detail-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}

.lmh-drink-calendar__detail-name {
    min-width: 0;
    color: var(--lmh-cream);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.lmh-drink-calendar__detail-count {
    flex: 0 0 auto;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--lmh-sage-soft);
}

.lmh-drink-calendar__detail-empty {
    margin: 0;
    font-size: 0.75rem;
    color: var(--lmh-muted);
}

.lmh-drink-calendar__hint,
.lmh-drink-calendar__empty {
    margin: 10px 0 0;
    font-size: 0.75rem;
    color: var(--lmh-muted);
}

.user-profile-cabinet,
.user-profile-drink-calendar {
    margin-top: 0;
}

.user-profile-section-divider {
    position: relative;
    display: block;
    height: 1px;
    margin: 22px 0 20px;
    background: linear-gradient(
        90deg,
        transparent 0%,
        rgba(122, 154, 74, 0.12) 18%,
        rgba(122, 154, 74, 0.42) 50%,
        rgba(122, 154, 74, 0.12) 82%,
        transparent 100%
    );
}

.user-profile-section-divider::after {
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    width: 5px;
    height: 5px;
    transform: translate(-50%, -50%) rotate(45deg);
    border-radius: 1px;
    background: var(--lmh-sage-soft);
    box-shadow: 0 0 12px rgba(122, 154, 74, 0.45);
}

.user-profile-shell > .user-profile-section-divider:first-of-type {
    margin-top: 18px;
}

.user-profile-drink-calendar__layout {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
    align-items: stretch;
}

.user-profile-section-title + .user-profile-drink-calendar__layout,
.user-profile-section-title + #userProfileCabinetGrid {
    margin-top: 10px;
}

.user-profile-activity-label {
    margin: 0 0 10px;
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--lmh-sage-soft);
}

.user-profile-activity-sublabel {
    margin: 0 0 10px;
    font-size: 0.6875rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--lmh-muted);
}

.user-profile-drink-calendar {
    padding-top: 2px;
}

.user-profile-activity-col {
    display: flex;
    flex-direction: column;
    min-width: 0;
    min-height: 100%;
}

.user-profile-activity-col__body {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    min-height: 0;
}

.user-profile-activity-col__body .lmh-drink-summary {
    flex: 1;
    width: 100%;
}

.lmh-drink-summary__stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    margin: 0 0 14px;
}

.lmh-drink-summary__stat {
    padding: 8px 10px;
    border-radius: 8px;
    border: 1px solid rgba(148, 163, 184, 0.1);
    background: rgba(18, 22, 16, 0.45);
}

.lmh-drink-summary__stat dt {
    margin: 0 0 4px;
    font-size: 0.625rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--lmh-muted);
}

.lmh-drink-summary__stat dd {
    margin: 0;
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--lmh-cream);
    line-height: 1.2;
}

.lmh-drink-summary__block + .lmh-drink-summary__block {
    margin-top: 14px;
    padding-top: 14px;
    border-top: 1px solid rgba(148, 163, 184, 0.1);
}

.lmh-drink-summary-top {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.lmh-drink-summary-top__item {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 44px;
}

.lmh-drink-summary-top__item.is-empty {
    opacity: 0.55;
}

.lmh-drink-summary-top__btn {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 32px;
    padding: 0;
    border: 0;
    background: transparent;
    cursor: pointer;
}

.lmh-drink-summary-top__can-wrap {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

.lmh-drink-summary-top__can-wrap .lmh-flavor-img-fallback {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.lmh-drink-summary-top__can-wrap .lmh-drink-summary-top__can {
    position: relative;
    z-index: 1;
}

.lmh-drink-summary-top__can:not(.is-missing) + .lmh-drink-summary-top__ph {
    display: none;
}

.lmh-drink-summary-top__can.is-missing + .lmh-drink-summary-top__ph {
    display: flex;
}

.lmh-drink-summary-top__can {
    display: block;
    max-width: 100%;
    max-height: 32px;
    object-fit: contain;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.45));
}

.lmh-drink-summary-top__ph {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 30px;
    border-radius: 4px;
    font-size: 0.8125rem;
    font-weight: 700;
    color: var(--lmh-sage-soft);
    background: rgba(122, 154, 74, 0.1);
}

.lmh-drink-summary-top__meta {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.lmh-drink-summary-top__name {
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--lmh-cream);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.lmh-drink-summary-top__count {
    font-size: 0.6875rem;
    color: var(--lmh-muted);
}

.lmh-drink-summary__progress-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.lmh-drink-summary__empty {
    margin: 0;
    font-size: 0.75rem;
    color: var(--lmh-muted);
}

@media (max-width: 720px) {
    .user-profile-drink-calendar__layout {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .lmh-drink-summary__stats {
        grid-template-columns: 1fr;
    }
}

.lmh-drink-quick__dialog {
    width: min(440px, calc(100vw - 28px));
    max-height: min(90vh, 640px);
    overflow: auto;
}

.lmh-drink-quick__title {
    margin: 0 0 4px;
    font-family: var(--lmh-display);
    font-size: 1.75rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--lmh-cream);
}

.lmh-drink-quick__lead {
    margin: 0 0 14px;
    font-size: 0.8125rem;
    color: var(--lmh-muted);
    line-height: 1.45;
}

.lmh-drink-quick__search-wrap {
    display: block;
    position: relative;
    margin-bottom: 8px;
}

.lmh-drink-quick__search-icon {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--lmh-sage-soft);
    pointer-events: none;
}

.lmh-drink-quick__search {
    width: 100%;
    height: 42px;
    padding: 0 12px 0 34px;
    border-radius: 10px;
    border: 1px solid rgba(122, 154, 74, 0.28);
    background: rgba(8, 10, 12, 0.72);
    color: var(--lmh-cream);
    font: inherit;
    font-size: 0.875rem;
}

.lmh-drink-quick__search:focus {
    outline: none;
    border-color: rgba(155, 184, 106, 0.55);
    box-shadow: 0 0 0 3px rgba(122, 154, 74, 0.14);
}

.lmh-drink-quick__results {
    display: flex;
    flex-direction: column;
    gap: 4px;
    max-height: min(320px, 45vh);
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: rgba(122, 154, 74, 0.4) transparent;
}

.lmh-drink-quick__hit {
    display: flex;
    flex-direction: column;
    gap: 2px;
    width: 100%;
    padding: 10px 12px;
    border: 1px solid transparent;
    border-radius: 10px;
    background: rgba(19, 21, 26, 0.55);
    font: inherit;
    text-align: left;
    cursor: pointer;
    transition: background var(--lmh-dur-fast) ease, border-color var(--lmh-dur-fast) ease;
}

.lmh-drink-quick__hit:hover,
.lmh-drink-quick__hit:focus-visible {
    background: rgba(122, 154, 74, 0.12);
    border-color: rgba(122, 154, 74, 0.22);
    outline: none;
}

.lmh-drink-quick__hit-name {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--lmh-cream);
}

.lmh-drink-quick__hit-line {
    font-size: 0.75rem;
    color: var(--lmh-muted);
}

.lmh-drink-quick__empty {
    margin: 0;
    padding: 8px 4px;
    font-size: 0.8125rem;
    color: var(--lmh-muted);
}

.lmh-drink-quick__picked {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
    padding: 10px 12px;
    border-radius: 10px;
    border: 1px solid rgba(122, 154, 74, 0.2);
    background: rgba(122, 154, 74, 0.08);
}

.lmh-drink-quick__picked-art {
    flex: 0 0 44px;
    width: 44px;
    height: 52px;
    border-radius: 8px;
    object-fit: cover;
}

.lmh-drink-quick__picked-meta {
    flex: 1;
    min-width: 0;
}

.lmh-drink-quick__picked-line {
    margin: 0;
    font-size: 0.6875rem;
    color: var(--lmh-muted);
}

.lmh-drink-quick__picked-name {
    margin: 2px 0 0;
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--lmh-cream);
}

.lmh-drink-quick__change {
    flex-shrink: 0;
    padding: 4px 0;
    border: 0;
    background: transparent;
    font: inherit;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--lmh-sage-soft);
    cursor: pointer;
}

.lmh-drink-quick__rating-line {
    margin: 0 0 12px;
    font-size: 0.875rem;
    color: var(--lmh-text);
}

.lmh-drink-quick__edit-rating {
    padding: 0;
    border: 0;
    background: transparent;
    font: inherit;
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--lmh-sage-soft);
    cursor: pointer;
}

.lmh-drink-quick__form {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 12px;
}

.lmh-drink-quick__form-label {
    margin: 0;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--lmh-muted);
}

.lmh-drink-quick__volumes {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.lmh-drink-quick__vol-chip {
    display: inline-flex;
    cursor: pointer;
}

.lmh-drink-quick__vol-chip input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.lmh-drink-quick__vol-chip span {
    display: inline-block;
    padding: 5px 10px;
    border-radius: 999px;
    border: 1px solid rgba(148, 163, 184, 0.2);
    font-size: 0.75rem;
    color: var(--lmh-muted);
    transition: all var(--lmh-dur-fast) ease;
}

.lmh-drink-quick__vol-chip input:checked + span {
    border-color: rgba(122, 154, 74, 0.45);
    background: rgba(122, 154, 74, 0.18);
    color: var(--lmh-cream);
}

.lmh-drink-quick__criteria {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.lmh-drink-quick__actions {
    display: flex;
    gap: 10px;
    align-items: center;
}

.lmh-drink-quick__actions .lmh-btn-primary {
    flex: 1;
}

.lmh-drink-quick__success {
    margin: 16px 0 0;
    padding: 14px;
    border-radius: 10px;
    text-align: center;
    font-size: 1rem;
    font-weight: 600;
    color: var(--lmh-cream);
    background: rgba(122, 154, 74, 0.2);
    border: 1px solid rgba(122, 154, 74, 0.35);
}

.lmh-verify-banner {
    margin: 0 auto;
    max-width: var(--lmh-content-width);
    padding: 10px 16px 0;
}

.lmh-verify-banner__inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px 16px;
    padding: 10px 14px;
    border-radius: var(--lmh-radius-sm);
    border: 1px solid rgba(194, 74, 58, 0.35);
    background: rgba(194, 74, 58, 0.12);
}

.lmh-verify-banner__text {
    flex: 1 1 220px;
    margin: 0;
    font-size: 0.8125rem;
    line-height: 1.45;
    color: var(--lmh-cream);
}

.lmh-verify-banner__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.lmh-verify-banner__status {
    flex: 1 1 100%;
    margin: 0;
    font-size: 0.75rem;
    color: var(--lmh-muted);
}

.lmh-form-success {
    margin: 0 0 8px;
    font-size: 0.8125rem;
    color: var(--lmh-sage-soft);
}

.lmh-auth-link {
    padding: 0;
    border: 0;
    background: transparent;
    font: inherit;
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--lmh-sage-soft);
    cursor: pointer;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.lmh-auth-forgot {
    margin: 8px 0 0;
    text-align: center;
}

.lmh-auth-telegram {
    margin-top: 14px;
}

.lmh-auth-telegram-hint {
    margin: 0 0 12px;
    font-size: 0.8125rem;
    line-height: 1.45;
    color: var(--lmh-muted);
}

.lmh-auth-telegram-hint a {
    color: var(--lmh-sage-soft);
    text-decoration: underline;
}

.lmh-auth-telegram-divider {
    margin: 14px 0 10px;
    text-align: center;
    font-size: 0.75rem;
    color: var(--lmh-muted);
}

.lmh-auth-telegram-code-form {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.lmh-auth-telegram-code-input {
    font-variant-numeric: tabular-nums;
    letter-spacing: 0.15em;
    text-align: center;
    font-size: 1.125rem;
}

.lmh-auth-telegram-widget {
    display: flex;
    justify-content: center;
}

.lmh-auth-telegram-hint--warn {
    color: #e07a6a;
}

/* --- Settings modal --- */
.lmh-settings-modal .lmh-modal-backdrop {
    background: rgba(6, 7, 8, 0.78);
    backdrop-filter: blur(10px);
}

.lmh-settings-modal__frame {
    position: relative;
    width: min(440px, 100%);
    max-height: min(92vh, 720px);
}

.lmh-settings-modal.is-open .lmh-settings-modal__dialog {
    animation: lmh-rise-in 0.34s var(--lmh-ease-out) both;
}

.lmh-settings-modal__dialog {
    width: 100%;
    max-height: min(92vh, 720px);
    overflow: auto;
    padding: 22px 22px 18px;
    border: 1px solid var(--lmh-border);
    background:
        radial-gradient(120% 80% at 100% 0%, rgba(122, 154, 74, 0.1), transparent 55%),
        radial-gradient(90% 60% at 0% 100%, rgba(194, 74, 58, 0.08), transparent 50%),
        var(--lmh-surface-raised);
    box-shadow: 0 24px 56px rgba(0, 0, 0, 0.45);
    scrollbar-width: thin;
    scrollbar-color: rgba(148, 163, 184, 0.35) transparent;
}

.lmh-settings-modal__close {
    top: 10px;
    right: 12px;
    z-index: 2;
}

.lmh-settings-modal__head {
    margin-bottom: 18px;
    padding-right: 28px;
}

.lmh-settings-modal__eyebrow {
    margin: 0 0 4px;
    font-size: 0.6875rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--lmh-sage-soft);
}

.lmh-settings-modal__title {
    margin: 0 0 6px;
    font-family: var(--lmh-mexican);
    font-size: clamp(1.5rem, 4vw, 1.85rem);
    font-weight: 400;
    letter-spacing: 0.02em;
    line-height: 1.05;
}

.lmh-settings-modal__lead {
    margin: 0;
    font-size: 0.8125rem;
    line-height: 1.5;
    color: var(--lmh-muted);
}

.lmh-settings-card {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 12px;
    padding: 14px 14px 13px;
    border-radius: calc(var(--lmh-radius) - 2px);
    border: 1px solid var(--lmh-border);
    background: rgba(11, 12, 14, 0.55);
    box-shadow: var(--lmh-shadow-soft);
    transition:
        border-color var(--lmh-dur-fast) ease,
        transform var(--lmh-dur-fast) var(--lmh-ease-spring),
        box-shadow var(--lmh-dur-fast) ease;
}

.lmh-settings-card--profile {
    text-decoration: none;
    color: inherit;
    cursor: pointer;
}

.lmh-settings-card--profile:hover {
    border-color: var(--lmh-border-strong);
    transform: translateY(-1px);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.28);
}

.lmh-settings-card--telegram {
    flex-direction: column;
    gap: 0;
    padding: 16px;
}

.lmh-settings-card--telegram.is-linked {
    border-color: rgba(122, 154, 74, 0.35);
    background:
        linear-gradient(145deg, rgba(122, 154, 74, 0.1), rgba(11, 12, 14, 0.72));
}

.lmh-settings-card__top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    width: 100%;
    margin-bottom: 10px;
}

.lmh-settings-card__brand {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
}

.lmh-settings-card__icon {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.25rem;
    height: 2.25rem;
    border-radius: 10px;
    font-size: 1rem;
    color: var(--lmh-sage-soft);
    background: rgba(122, 154, 74, 0.14);
    border: 1px solid rgba(122, 154, 74, 0.22);
}

.lmh-settings-card__icon--telegram {
    color: #6eb5ea;
    background: rgba(62, 136, 198, 0.14);
    border-color: rgba(62, 136, 198, 0.28);
}

.lmh-settings-card__title {
    display: block;
    margin: 0;
    font-size: 0.9375rem;
    font-weight: 700;
    color: var(--lmh-cream);
}

.lmh-settings-card__caption {
    margin: 2px 0 0;
    font-size: 0.75rem;
    color: var(--lmh-muted);
}

.lmh-settings-card__text {
    margin: 0 0 12px;
    width: 100%;
    font-size: 0.8125rem;
    line-height: 1.55;
    color: var(--lmh-muted);
}

.lmh-settings-card__body {
    flex: 1;
    min-width: 0;
}

.lmh-settings-card__chevron {
    flex: 0 0 auto;
    margin-top: 2px;
    font-size: 1rem;
    color: var(--lmh-muted);
    transition: transform var(--lmh-dur-fast) ease, color var(--lmh-dur-fast) ease;
}

.lmh-settings-card--profile:hover .lmh-settings-card__chevron {
    transform: translateX(2px);
    color: var(--lmh-sage-soft);
}

.lmh-settings-badge {
    flex: 0 0 auto;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 0.6875rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    border: 1px solid var(--lmh-border);
    color: var(--lmh-muted);
    background: rgba(0, 0, 0, 0.22);
}

.lmh-settings-badge.is-success {
    color: #d7f0a8;
    border-color: rgba(122, 154, 74, 0.45);
    background: rgba(122, 154, 74, 0.18);
}

.lmh-settings-badge.is-muted {
    color: #f0c4bc;
    border-color: rgba(194, 74, 58, 0.35);
    background: rgba(194, 74, 58, 0.12);
}

.lmh-settings-steps {
    width: 100%;
    margin: 0 0 14px;
    padding: 12px 12px 12px 28px;
    border-radius: var(--lmh-radius-sm);
    border: 1px dashed rgba(148, 163, 184, 0.22);
    background: rgba(0, 0, 0, 0.18);
    font-size: 0.8125rem;
    line-height: 1.45;
    color: var(--lmh-muted);
}

.lmh-settings-steps li + li {
    margin-top: 6px;
}

.lmh-settings-steps li::marker {
    color: var(--lmh-sage-soft);
    font-weight: 700;
}

.lmh-settings-code {
    width: 100%;
    margin: 0 0 14px;
    padding: 14px 14px 12px;
    border-radius: var(--lmh-radius-sm);
    text-align: center;
    border: 1px solid rgba(122, 154, 74, 0.35);
    background: linear-gradient(180deg, rgba(122, 154, 74, 0.16), rgba(11, 12, 14, 0.5));
    animation: lmh-rise-in 0.28s var(--lmh-ease-out) both;
}

.lmh-settings-code__label {
    display: block;
    margin-bottom: 6px;
    font-size: 0.6875rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--lmh-sage-soft);
}

.lmh-settings-code__value {
    display: block;
    font-family: var(--lmh-display);
    font-size: clamp(1.75rem, 6vw, 2.25rem);
    letter-spacing: 0.22em;
    line-height: 1.1;
    color: var(--lmh-cream);
}

.lmh-settings-code__hint {
    margin: 8px 0 0;
    font-size: 0.75rem;
    line-height: 1.45;
    color: var(--lmh-muted);
}

.lmh-settings-code__hint a {
    color: var(--lmh-sage-soft);
    text-decoration: none;
}

.lmh-settings-code__hint a:hover {
    text-decoration: underline;
}

.lmh-settings-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    width: 100%;
}

.lmh-settings-btn {
    margin-top: 0;
    min-height: 40px;
    padding: 9px 16px;
    border-radius: 999px;
    font-family: var(--lmh-font);
    font-size: 0.875rem;
    font-weight: 600;
    cursor: pointer;
    transition:
        background var(--lmh-dur-fast) ease,
        border-color var(--lmh-dur-fast) ease,
        color var(--lmh-dur-fast) ease,
        transform var(--lmh-dur-fast) ease;
}

.lmh-settings-btn:active {
    transform: scale(0.98);
}

.lmh-settings-btn--ghost {
    border: 1px solid var(--lmh-border);
    background: rgba(0, 0, 0, 0.2);
    color: var(--lmh-muted);
}

.lmh-settings-btn--ghost:hover {
    border-color: var(--lmh-border-strong);
    color: var(--lmh-cream);
}

.lmh-settings-btn--wide {
    width: 100%;
}

.lmh-settings-status {
    min-height: 1.2em;
    width: 100%;
    margin: 10px 0 0;
    font-size: 0.8125rem;
    line-height: 1.45;
    color: var(--lmh-sage-soft);
}

.lmh-settings-modal__footer {
    margin-top: 16px;
    padding-top: 14px;
    border-top: 1px solid var(--lmh-border);
}

@media (max-width: 480px) {
    .lmh-settings-modal {
        align-items: flex-end;
        padding: 0;
    }

    .lmh-settings-modal__frame {
        width: 100%;
        max-height: 94vh;
    }

    .lmh-settings-modal__dialog {
        border-radius: var(--lmh-radius) var(--lmh-radius) 0 0;
        max-height: 94vh;
    }

    .lmh-settings-actions {
        flex-direction: column;
    }

    .lmh-settings-actions .lmh-settings-btn,
    .lmh-settings-actions .lmh-btn-primary {
        width: 100%;
    }
}

.user-settings-section {
    margin: 0 0 18px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--lmh-border);
}

.user-settings-section-title {
    margin: 0 0 8px;
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--lmh-cream);
}

.user-settings-section-text {
    margin: 0 0 10px;
    font-size: 0.8125rem;
    line-height: 1.45;
    color: var(--lmh-muted);
}

.user-settings-status {
    min-height: 1.2em;
    margin: 8px 0 0;
    font-size: 0.8125rem;
    color: var(--lmh-sage-soft);
}

.user-settings-code {
    margin: 8px 0 0;
    padding: 8px 10px;
    border-radius: 8px;
    font-size: 0.875rem;
    font-weight: 600;
    font-variant-numeric: tabular-nums;
    color: var(--lmh-cream);
    background: rgba(122, 154, 74, 0.12);
    border: 1px solid rgba(122, 154, 74, 0.2);
}

.user-settings-email-verify-actions .b2-form-actions {
    flex-wrap: wrap;
    gap: 8px;
}

.user-settings-email-hint {
    margin: 0 0 8px;
}

.user-settings-form .b2-label {
    margin-top: 8px;
}
