/* ==========================================================================
   Profile v2 — Neon compact dashboard
   ========================================================================== */

body.lmh-profile-v2 {
    --pv2-neon: #d4ff4d;
    --pv2-neon-dim: #8bc34a;
    --pv2-hot: #ff6b4a;
    --pv2-glow: rgba(212, 255, 77, 0.5);
    --pv2-panel: rgba(12, 14, 18, 0.94);
    --pv2-gap: 8px;
}

body.lmh-profile-v2 .user-profile-page.simple-page-main {
    max-width: 880px;
    padding: 8px 10px 40px;
}

/* === Card shell with animated border === */
body.lmh-profile-v2 .lmh-pv2__card {
    position: relative;
    padding: 0 0 12px;
    border: none;
    border-radius: 16px;
    background: #08090c;
    overflow: hidden;
    isolation: isolate;
}

body.lmh-profile-v2 .lmh-pv2__card::before {
    content: "";
    position: absolute;
    inset: 0;
    padding: 1px;
    border-radius: inherit;
    background: linear-gradient(135deg, var(--pv2-neon), transparent 40%, var(--pv2-hot) 70%, var(--pv2-neon-dim));
    background-size: 200% 200%;
    animation: pv2-border-flow 6s ease infinite;
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
    z-index: 3;
}

body.lmh-profile-v2 .lmh-pv2__card-glow {
    position: absolute;
    inset: -40%;
    background: radial-gradient(ellipse 50% 40% at 50% 0%, rgba(212, 255, 77, 0.12), transparent 60%);
    pointer-events: none;
    animation: pv2-glow-breathe 4s ease-in-out infinite;
}

body.lmh-profile-v2 .lmh-pv2__card-sparks i {
    position: absolute;
    width: 3px;
    height: 3px;
    border-radius: 50%;
    background: var(--pv2-neon);
    box-shadow: 0 0 8px var(--pv2-glow);
    animation: pv2-spark 5s ease-in-out infinite;
}

body.lmh-profile-v2 .lmh-pv2__card-sparks i:nth-child(1) { top: 12%; left: 8%; animation-delay: 0s; }
body.lmh-profile-v2 .lmh-pv2__card-sparks i:nth-child(2) { top: 22%; right: 12%; animation-delay: -1.2s; }
body.lmh-profile-v2 .lmh-pv2__card-sparks i:nth-child(3) { top: 55%; left: 4%; animation-delay: -2.4s; }
body.lmh-profile-v2 .lmh-pv2__card-sparks i:nth-child(4) { top: 70%; right: 6%; animation-delay: -0.8s; }
body.lmh-profile-v2 .lmh-pv2__card-sparks i:nth-child(5) { top: 40%; left: 50%; animation-delay: -3.5s; }

body.lmh-profile-v2 .user-profile-card.has-page-back > .user-profile-page-back,
body.lmh-profile-v2 .user-profile-edit-btn {
    z-index: 10;
    border-radius: 999px;
    border: 1px solid rgba(212, 255, 77, 0.25);
    background: rgba(0, 0, 0, 0.55);
    backdrop-filter: blur(8px);
    font-size: 0.72rem;
    color: rgba(255, 255, 255, 0.85);
    transition: all 0.18s ease;
}

body.lmh-profile-v2 .user-profile-card.has-page-back > .user-profile-page-back {
    top: 8px;
    left: 10px;
    transform: none;
    padding: 4px 10px;
}

body.lmh-profile-v2 .user-profile-edit-btn {
    top: 8px;
    right: 10px;
    width: 30px;
    height: 30px;
}

body.lmh-profile-v2 .user-profile-page-back:hover,
body.lmh-profile-v2 .user-profile-edit-btn:hover {
    border-color: var(--pv2-neon);
    color: var(--pv2-neon);
    box-shadow: 0 0 16px var(--pv2-glow);
}

/* === Banner === */
body.lmh-profile-v2 .user-profile-hero {
    margin: 0;
    padding: 0;
}

body.lmh-profile-v2 .user-profile-hero__banner {
    height: clamp(100px, 22vw, 140px);
    position: relative;
    overflow: hidden;
    background: #060708;
}

body.lmh-profile-v2 .user-profile-hero-bg {
    position: absolute;
    background-repeat: no-repeat;
}

body.lmh-profile-v2 .user-profile-hero-bg--ambient {
    inset: -20px;
    z-index: 0;
    background-size: cover !important;
    background-position: center !important;
    filter: blur(28px) saturate(1.3);
    transform: scale(1.1);
    opacity: 0;
}

body.lmh-profile-v2 .user-profile-hero.has-banner .user-profile-hero-bg--ambient {
    opacity: 1;
}

body.lmh-profile-v2 .user-profile-hero-bg--main {
    inset: 0;
    z-index: 1;
    background: linear-gradient(120deg, #1a2030, #0a0c10);
    background-size: cover !important;
    background-position: center !important;
}

body.lmh-profile-v2 .user-profile-hero.has-banner .user-profile-hero-bg--main {
    background-color: transparent;
}

body.lmh-profile-v2 .user-profile-hero-overlay {
    inset: 0;
    z-index: 2;
    background: linear-gradient(180deg, transparent 50%, rgba(8, 9, 12, 0.95) 100%);
}

/* === Identity — compact strip below banner === */
body.lmh-profile-v2 .lmh-pv2__identity {
    position: relative;
    z-index: 4;
    margin-top: -44px;
    padding: 0 12px 8px;
}

body.lmh-profile-v2 .user-profile-header {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

body.lmh-profile-v2 .user-profile-avatar {
    width: 132px;
    height: 132px;
    border-radius: 9999px;
    font-size: 2.8rem;
    border: 3px solid #08090c;
    box-shadow:
        0 0 0 2px var(--pv2-neon-dim),
        0 8px 24px rgba(0, 0, 0, 0.5),
        0 0 24px rgba(212, 255, 77, 0.15);
    transition: transform 0.25s var(--lmh-ease-spring), box-shadow 0.25s ease;
    animation: pv2-avatar-in 0.5s var(--lmh-ease-out) both;
}

body.lmh-profile-v2 .user-profile-avatar:hover {
    transform: scale(1.04);
    box-shadow:
        0 0 0 2px var(--pv2-neon),
        0 12px 28px rgba(0, 0, 0, 0.5),
        0 0 32px var(--pv2-glow);
}

body.lmh-profile-v2 .user-profile-header-main {
    flex: 1 1 auto;
    min-width: 0;
    padding-top: 48px;
    gap: 4px;
}

body.lmh-profile-v2 .user-profile-name {
    margin: 0;
    font-size: clamp(1.4rem, 3vw, 1.85rem);
    font-weight: 800;
    color: #fff;
    letter-spacing: -0.02em;
    animation: pv2-slide-in 0.45s var(--lmh-ease-out) 0.08s both;
}

body.lmh-profile-v2 .user-profile-status-line {
    margin: 0;
    padding: 0;
    border: none;
    background: none;
    font-size: 0.82rem;
    color: #a8b4c4;
    line-height: 1.35;
}

body.lmh-profile-v2 .user-profile-add-friend-btn {
    flex: 0 0 auto;
    margin-top: 48px;
    width: 36px;
    height: 36px;
    border-radius: 10px;
    border-color: rgba(212, 255, 77, 0.3);
    background: rgba(212, 255, 77, 0.08);
    color: var(--pv2-neon);
    transition: all 0.2s var(--lmh-ease-spring);
}

body.lmh-profile-v2 .user-profile-add-friend-btn:hover {
    transform: scale(1.08);
    box-shadow: 0 0 20px var(--pv2-glow);
    background: rgba(212, 255, 77, 0.18);
}

/* Level block — badge | bar mid-row + stats bottom | help */
body.lmh-profile-v2 .lmh-profile-level {
    flex: 0 1 auto;
    width: auto;
    max-width: min(440px, 48vw);
    min-width: 0;
    margin: 48px 0 0;
}

body.lmh-profile-v2 .lmh-profile-level__panel {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

body.lmh-profile-v2 .lmh-profile-level .lmh-pts-level--profile {
    --lmh-level-size: 42px;
    flex: 0 0 auto;
}

body.lmh-profile-v2 .lmh-profile-level__body {
    flex: 0 1 auto;
    width: max-content;
    max-width: 100%;
    min-width: 0;
    display: grid;
    grid-template-rows: 1fr auto;
    align-items: stretch;
    row-gap: 6px;
    min-height: 42px;
}

body.lmh-profile-v2 .lmh-pts-bar--profile {
    width: 100%;
    max-width: none;
    align-self: end;
    margin: 0;
}

body.lmh-profile-v2 .lmh-profile-level__stats {
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
    gap: 4px 10px;
    width: max-content;
}

body.lmh-profile-v2 .lmh-pts-bar--profile .lmh-pts-bar__track {
    height: 5px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.12);
}

body.lmh-profile-v2 .lmh-pts-bar--profile .lmh-pts-bar__fill {
    background: linear-gradient(90deg, var(--pv2-neon-dim), var(--pv2-neon));
    box-shadow: 0 0 10px var(--pv2-glow);
}

body.lmh-profile-v2 .lmh-profile-level__meta-item {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 0;
    border: 0;
    background: transparent;
    font-size: 0.84rem;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
    color: rgba(238, 242, 246, 0.92);
    letter-spacing: 0.01em;
    line-height: 1.1;
}

body.lmh-profile-v2 .lmh-profile-level__meta-item svg {
    width: 13px;
    height: 13px;
    color: var(--pv2-neon);
    opacity: 0.8;
}

body.lmh-profile-v2 .lmh-profile-level__pts-chip {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 2px 7px;
    border-radius: 999px;
    border: 1px solid rgba(212, 255, 77, 0.32);
    background: rgba(212, 255, 77, 0.1);
    color: var(--pv2-neon);
    line-height: 1.1;
}

body.lmh-profile-v2 .lmh-profile-level__pts-chip strong {
    font-size: 0.88rem;
    font-weight: 800;
    font-variant-numeric: tabular-nums;
    color: #f7fbe8;
}

body.lmh-profile-v2 .lmh-profile-level__pts-chip span:last-child {
    font-size: 0.64rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--pv2-neon);
}

body.lmh-profile-v2 .lmh-profile-level__pts-chip svg {
    width: 12px;
    height: 12px;
}

body.lmh-profile-v2 .lmh-profile-level__link {
    flex: 0 0 auto;
    align-self: center;
    width: 24px;
    height: 24px;
    margin: 0;
    padding: 0;
    border: 1px solid rgba(212, 255, 77, 0.22);
    border-radius: 7px;
    background: rgba(212, 255, 77, 0.06);
    color: rgba(212, 255, 77, 0.72);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: color 0.15s ease, background 0.15s ease, border-color 0.15s ease;
}

body.lmh-profile-v2 .lmh-profile-level__link svg {
    width: 13px;
    height: 13px;
}

body.lmh-profile-v2 .lmh-profile-level__link:hover,
body.lmh-profile-v2 .lmh-profile-level__link:focus-visible {
    color: var(--pv2-neon);
    border-color: rgba(212, 255, 77, 0.4);
    background: rgba(212, 255, 77, 0.12);
    outline: none;
}

/* === Dashboard === */
body.lmh-profile-v2 .lmh-pv2__dash {
    display: flex;
    flex-direction: column;
    gap: var(--pv2-gap);
    padding: 4px 10px 0;
}

body.lmh-profile-v2 .lmh-pv2__block {
    opacity: 0;
    transform: translateY(12px);
    transition: opacity 0.45s var(--lmh-ease-out), transform 0.45s var(--lmh-ease-out);
}

body.lmh-profile-v2 .lmh-pv2__block.is-in {
    opacity: 1;
    transform: translateY(0);
}

body.lmh-profile-v2 .lmh-pv2__cols {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--pv2-gap);
}

body.lmh-profile-v2 .lmh-pv2__panel {
    position: relative;
    padding: 10px;
    border-radius: 12px;
    background: var(--pv2-panel);
    border: 1px solid rgba(212, 255, 77, 0.1);
    overflow: hidden;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

body.lmh-profile-v2 .lmh-pv2__panel::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--pv2-neon), transparent);
    opacity: 0.5;
}

body.lmh-profile-v2 .lmh-pv2__panel:hover {
    border-color: rgba(212, 255, 77, 0.28);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3), 0 0 24px rgba(212, 255, 77, 0.06);
}

body.lmh-profile-v2 .lmh-pv2__panel-title {
    display: flex;
    align-items: center;
    gap: 6px;
    margin: 0 0 8px;
    font-size: 0.62rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--pv2-neon);
}

body.lmh-profile-v2 .lmh-pv2__dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--pv2-neon);
    box-shadow: 0 0 8px var(--pv2-glow);
    animation: pv2-dot-pulse 2s ease-in-out infinite;
}

body.lmh-profile-v2 .lmh-pv2__block--shelf {
    padding: 10px;
    border-radius: 12px;
    background: var(--pv2-panel);
    border: 1px solid rgba(212, 255, 77, 0.1);
}

body.lmh-profile-v2 .lmh-pv2__block--shelf .lmh-pv2__panel-title {
    margin-bottom: 8px;
}

/* === Calendar compact === */
body.lmh-profile-v2 .lmh-drink-calendar__toolbar {
    margin-bottom: 6px;
    gap: 4px;
}

body.lmh-profile-v2 .lmh-drink-calendar__nav {
    width: 24px;
    height: 24px;
    font-size: 0.85rem;
    border-radius: 8px;
    border: 1px solid rgba(212, 255, 77, 0.2);
    background: rgba(212, 255, 77, 0.06);
    transition: all 0.15s ease;
}

body.lmh-profile-v2 .lmh-drink-calendar__nav:hover {
    background: rgba(212, 255, 77, 0.18);
    color: var(--pv2-neon);
    box-shadow: 0 0 12px var(--pv2-glow);
}

body.lmh-profile-v2 .lmh-drink-calendar__select {
    height: 24px;
    padding: 0 6px;
    font-size: 0.68rem;
    border-radius: 8px;
    border-color: rgba(212, 255, 77, 0.18);
    background: rgba(0, 0, 0, 0.4);
}

body.lmh-profile-v2 .lmh-drink-calendar__weekdays {
    gap: 2px;
    margin-bottom: 4px;
}

body.lmh-profile-v2 .lmh-drink-calendar__weekday {
    font-size: 0.58rem;
    font-weight: 700;
    color: #6b7a8a;
}

body.lmh-profile-v2 .lmh-drink-calendar__grid {
    gap: 3px;
}

body.lmh-profile-v2 .lmh-drink-calendar__day {
    min-height: 26px;
    font-size: 0.65rem;
    border-radius: 6px;
    transition: transform 0.15s var(--lmh-ease-spring), box-shadow 0.15s ease;
}

body.lmh-profile-v2 .lmh-drink-calendar__day.pv2-pop {
    animation: pv2-pop 0.3s var(--lmh-ease-spring) both;
    animation-delay: calc(var(--pv2-i, 0) * 12ms);
}

body.lmh-profile-v2 .lmh-drink-calendar__day:hover:not(.is-empty) {
    transform: scale(1.15);
    z-index: 2;
    box-shadow: 0 0 12px rgba(212, 255, 77, 0.35);
}

body.lmh-profile-v2 .lmh-drink-calendar__day.is-today {
    box-shadow: 0 0 0 2px var(--pv2-neon);
}

body.lmh-profile-v2 .lmh-drink-calendar__day-badge {
    font-size: 0.55rem;
    min-width: 12px;
    height: 12px;
    line-height: 12px;
}

body.lmh-profile-v2 .lmh-drink-calendar__detail {
    margin-top: 6px;
    padding: 6px 8px;
    font-size: 0.72rem;
    border-radius: 8px;
    border: 1px solid rgba(212, 255, 77, 0.15);
    background: rgba(212, 255, 77, 0.04);
}

/* === Summary compact + bright === */
body.lmh-profile-v2 .lmh-drink-summary__stats {
    display: flex;
    gap: 6px;
    margin: 0 0 10px;
}

body.lmh-profile-v2 .lmh-drink-summary__stat {
    flex: 1;
    padding: 6px 4px;
    text-align: center;
    border-radius: 10px;
    border: 1px solid rgba(212, 255, 77, 0.15);
    background: linear-gradient(160deg, rgba(212, 255, 77, 0.08), rgba(0, 0, 0, 0.2));
    transition: transform 0.18s var(--lmh-ease-spring), box-shadow 0.18s ease;
}

body.lmh-profile-v2 .lmh-drink-summary__stat:hover {
    transform: translateY(-2px) scale(1.03);
    box-shadow: 0 4px 16px rgba(212, 255, 77, 0.15);
}

body.lmh-profile-v2 .lmh-drink-summary__stat dt {
    margin: 0 0 2px;
    font-size: 0.52rem;
    letter-spacing: 0.08em;
    color: #7a8a9a;
}

body.lmh-profile-v2 .lmh-drink-summary__stat dd {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--pv2-neon);
    text-shadow: 0 0 16px var(--pv2-glow);
    line-height: 1.1;
}

body.lmh-profile-v2 .user-profile-activity-sublabel {
    margin: 0 0 6px;
    font-size: 0.55rem;
    letter-spacing: 0.1em;
    color: var(--pv2-neon-dim);
    text-transform: uppercase;
    font-weight: 700;
}

body.lmh-profile-v2 .lmh-drink-summary__block {
    margin-top: 8px;
}

body.lmh-profile-v2 .lmh-drink-summary__block + .lmh-drink-summary__block {
    margin-top: 8px;
    padding-top: 8px;
    border-top: 1px solid rgba(212, 255, 77, 0.08);
}

body.lmh-profile-v2 .lmh-drink-summary-top {
    gap: 4px;
}

body.lmh-profile-v2 .lmh-drink-summary-top__item {
    padding: 4px 6px;
    border-radius: 8px;
    transition: background 0.15s ease, transform 0.15s ease;
}

body.lmh-profile-v2 .lmh-drink-summary-top__item:not(.is-empty):hover {
    background: rgba(212, 255, 77, 0.08);
    transform: translateX(3px);
}

body.lmh-profile-v2 .lmh-drink-summary-top__item.pv2-stagger {
    animation: pv2-slide-in 0.35s var(--lmh-ease-out) both;
    animation-delay: calc(var(--pv2-i, 0) * 50ms);
}

body.lmh-profile-v2 .lmh-drink-summary-top__name {
    font-size: 0.75rem;
}

body.lmh-profile-v2 .lmh-drink-summary-top__count {
    font-size: 0.68rem;
}

body.lmh-profile-v2 .lmh-cabinet-progress {
    padding: 4px 0;
}

body.lmh-profile-v2 .lmh-cabinet-progress__head {
    font-size: 0.68rem;
    margin-bottom: 3px;
}

body.lmh-profile-v2 .lmh-cabinet-progress__track {
    height: 5px;
    background: rgba(212, 255, 77, 0.1);
    border-radius: 999px;
}

body.lmh-profile-v2 .lmh-cabinet-progress__bar {
    background: linear-gradient(90deg, var(--pv2-neon-dim), var(--pv2-neon));
    box-shadow: 0 0 10px var(--pv2-glow);
    border-radius: 999px;
}

body.lmh-profile-v2 .lmh-cabinet-progress.pv2-stagger {
    animation: pv2-slide-in 0.4s var(--lmh-ease-out) both;
    animation-delay: calc(var(--pv2-i, 0) * 40ms);
}

/* === Shelf v2 — compact neon list === */
body.lmh-profile-v2 .lmh-cabinet__summary {
    margin: 0 0 8px;
    padding: 5px 10px;
    font-size: 0.72rem;
    font-weight: 700;
    border-radius: 8px;
    background: rgba(212, 255, 77, 0.08);
    border: 1px solid rgba(212, 255, 77, 0.15);
    color: var(--pv2-neon);
}

body.lmh-profile-v2 .lmh-cabinet-v2__toolbar {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 10px;
}

body.lmh-profile-v2 .lmh-cabinet-v2__search {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 0 10px;
    height: 34px;
    border-radius: 999px;
    border: 1px solid rgba(212, 255, 77, 0.14);
    background: rgba(0, 0, 0, 0.35);
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

body.lmh-profile-v2 .lmh-cabinet-v2__search:focus-within {
    border-color: rgba(212, 255, 77, 0.35);
    box-shadow: 0 0 0 2px rgba(212, 255, 77, 0.08);
}

body.lmh-profile-v2 .lmh-cabinet-v2__search-icon {
    display: flex;
    color: rgba(212, 255, 77, 0.55);
    flex-shrink: 0;
}

body.lmh-profile-v2 .lmh-cabinet-v2__search-input {
    flex: 1;
    min-width: 0;
    border: none;
    background: transparent;
    color: #eef0f2;
    font-size: 0.8rem;
    outline: none;
}

body.lmh-profile-v2 .lmh-cabinet-v2__search-input::placeholder {
    color: rgba(255, 255, 255, 0.35);
}

body.lmh-profile-v2 .lmh-cabinet-v2__sort-arrow {
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--pv2-neon);
}

body.lmh-profile-v2 .lmh-cabinet-v2__panel {
    border-radius: 10px;
    border: 1px solid rgba(212, 255, 77, 0.1);
    background: rgba(0, 0, 0, 0.22);
    overflow: hidden;
}

body.lmh-profile-v2 .lmh-cabinet-v2__head,
body.lmh-profile-v2 .lmh-cabinet-v2__row {
    display: grid;
    /* # | can | name | drunk | exp | rating — right trio shares one width rhythm */
    grid-template-columns: 24px 48px minmax(0, 1fr) 76px 68px 68px;
    column-gap: 12px;
    row-gap: 0;
    align-items: center;
    padding-left: 8px;
    padding-right: 12px;
    box-sizing: border-box;
}

body.lmh-profile-v2 .lmh-cabinet-v2__head {
    position: sticky;
    top: 0;
    z-index: 2;
    padding-top: 7px;
    padding-bottom: 7px;
    font-size: 0.58rem;
    font-weight: 700;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    color: #6a7a88;
    background: #0c1014;
    border-bottom: 1px solid rgba(212, 255, 77, 0.08);
}

body.lmh-profile-v2 .lmh-cabinet-v2__h-stat {
    text-align: right;
    justify-self: stretch;
    width: 100%;
    padding-right: 0;
    font-variant-numeric: tabular-nums;
}

body.lmh-profile-v2 .lmh-cabinet-v2__scroll {
    max-height: min(56vh, 500px);
    overflow-y: auto;
    overflow-x: hidden;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
    touch-action: pan-y;
    scrollbar-width: thin;
    scrollbar-color: rgba(212, 255, 77, 0.4) rgba(0, 0, 0, 0.25);
}

body.lmh-profile-v2 .lmh-cabinet-v2__scroll::-webkit-scrollbar {
    width: 5px;
}

body.lmh-profile-v2 .lmh-cabinet-v2__scroll::-webkit-scrollbar-track {
    margin: 4px 0;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 4px;
}

body.lmh-profile-v2 .lmh-cabinet-v2__scroll::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, var(--pv2-neon), rgba(139, 195, 74, 0.65));
    border-radius: 4px;
    box-shadow: 0 0 6px rgba(212, 255, 77, 0.25);
}

body.lmh-profile-v2 .lmh-cabinet-v2__list {
    display: flex;
    flex-direction: column;
    padding: 4px 0 6px;
}

body.lmh-profile-v2 .lmh-cabinet-v2__row {
    min-height: 48px;
    padding-top: 5px;
    padding-bottom: 5px;
    border-radius: 8px;
    touch-action: pan-y;
    transition: background 0.12s ease;
}

body.lmh-profile-v2 .lmh-cabinet-v2__row:hover {
    background: rgba(212, 255, 77, 0.06);
}

body.lmh-profile-v2 .lmh-cabinet-v2__rank {
    font-family: var(--lmh-display, "Bebas Neue", sans-serif);
    font-size: 0.88rem;
    text-align: center;
    color: rgba(255, 255, 255, 0.32);
}

body.lmh-profile-v2 .lmh-cabinet-v2__can .lmh-cabinet-can {
    width: 42px;
    height: 54px;
    padding: 2px;
    border-radius: 6px;
    border: 1px solid rgba(212, 255, 77, 0.12);
    background: rgba(0, 0, 0, 0.35);
    touch-action: pan-y;
    transition: transform 0.15s var(--lmh-ease-spring), filter 0.15s ease;
}

body.lmh-profile-v2 .lmh-cabinet-v2__can .lmh-cabinet-can__img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

body.lmh-profile-v2 .lmh-cabinet-v2__can .lmh-cabinet-can:hover {
    transform: scale(1.08);
    filter: drop-shadow(0 0 6px var(--pv2-glow));
}

body.lmh-profile-v2 .lmh-cabinet-v2__name {
    display: block;
    max-width: 100%;
    margin: 0;
    padding: 0;
    border: none;
    background: none;
    font-size: 0.78rem;
    font-weight: 600;
    color: #eef0f2;
    text-align: left;
    cursor: pointer;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    transition: color 0.12s ease;
}

body.lmh-profile-v2 .lmh-cabinet-v2__name:hover,
body.lmh-profile-v2 .lmh-cabinet-v2__name:focus-visible {
    color: var(--pv2-neon);
}

body.lmh-profile-v2 .lmh-cabinet-v2__line {
    display: block;
    font-size: 0.62rem;
    color: rgba(255, 255, 255, 0.36);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

body.lmh-profile-v2 .lmh-cabinet-v2__stat {
    font-size: 0.72rem;
    font-weight: 600;
    text-align: right;
    justify-self: stretch;
    width: 100%;
    color: rgba(255, 255, 255, 0.72);
    white-space: nowrap;
    font-variant-numeric: tabular-nums;
    padding-right: 0;
}

body.lmh-profile-v2 .lmh-cabinet-v2__stat-suffix {
    display: block;
    font-size: 0.55rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.35);
}

body.lmh-profile-v2 .lmh-cabinet-v2__stat--pts {
    font-variant-numeric: tabular-nums;
    color: rgba(255, 255, 255, 0.65);
}

body.lmh-profile-v2 .lmh-cabinet-v2__stat--rating {
    font-family: var(--lmh-display, "Bebas Neue", sans-serif);
    font-size: 0.88rem;
    letter-spacing: 0.02em;
    color: var(--pv2-neon);
}

body.lmh-profile-v2 .lmh-cabinet__empty {
    margin: 0;
    padding: 16px;
    text-align: center;
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.42);
    border-radius: 10px;
    border: 1px dashed rgba(212, 255, 77, 0.12);
}

@media (max-width: 480px) {
    body.lmh-profile-v2 .lmh-cabinet-v2__head,
    body.lmh-profile-v2 .lmh-cabinet-v2__row {
        grid-template-columns: 20px 30px minmax(0, 1fr) 58px 52px 52px;
        column-gap: 8px;
        padding-left: 6px;
        padding-right: 8px;
    }

    body.lmh-profile-v2 .lmh-cabinet-v2__name {
        font-size: 0.72rem;
    }
}

body.lmh-profile-v2 .user-profile-page-message {
    padding: 20px;
    text-align: center;
    font-size: 0.85rem;
}

/* === Keyframes === */
@keyframes pv2-border-flow {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

@keyframes pv2-glow-breathe {
    0%, 100% { opacity: 0.6; }
    50% { opacity: 1; }
}

@keyframes pv2-spark {
    0%, 100% { opacity: 0.2; transform: translateY(0); }
    50% { opacity: 1; transform: translateY(-8px); }
}

@keyframes pv2-dot-pulse {
    0%, 100% { box-shadow: 0 0 4px var(--pv2-glow); }
    50% { box-shadow: 0 0 12px var(--pv2-glow); }
}

@keyframes pv2-avatar-in {
    from { opacity: 0; transform: scale(0.85); }
    to { opacity: 1; transform: scale(1); }
}

@keyframes pv2-slide-in {
    from { opacity: 0; transform: translateX(-8px); }
    to { opacity: 1; transform: translateX(0); }
}

@keyframes pv2-pop {
    from { opacity: 0; transform: scale(0.5); }
    to { opacity: 1; transform: scale(1); }
}

@media (max-width: 640px) {
    body.lmh-profile-v2 .lmh-pv2__cols {
        grid-template-columns: 1fr;
    }

    body.lmh-profile-v2 .user-profile-avatar {
        width: 108px;
        height: 108px;
        font-size: 2.4rem;
    }

    body.lmh-profile-v2 .user-profile-header {
        flex-wrap: wrap;
        row-gap: 8px;
    }

    body.lmh-profile-v2 .user-profile-header-main {
        flex: 1 1 calc(100% - 150px);
        padding-top: 40px;
        margin-top: 0;
    }

    body.lmh-profile-v2 .user-profile-add-friend-btn {
        padding-top: 0;
        margin-top: 40px;
    }

    body.lmh-profile-v2 .lmh-profile-level {
        flex: 0 0 auto;
        width: max-content;
        max-width: 100%;
        order: 5;
        margin: 6px 0 0;
        padding-left: 0;
    }

    body.lmh-profile-v2 .lmh-profile-level__panel {
        gap: 8px;
        max-width: 100%;
    }

    body.lmh-profile-v2 .lmh-profile-level .lmh-pts-level--profile {
        --lmh-level-size: 38px;
    }

    body.lmh-profile-v2 .lmh-profile-level__body {
        min-height: 38px;
        width: fit-content;
        max-width: calc(100vw - 72px);
    }

    body.lmh-profile-v2 .lmh-profile-level__stats {
        flex-wrap: wrap;
        max-width: 100%;
    }

    body.lmh-profile-v2 .lmh-profile-level__meta-item {
        font-size: 0.8rem;
    }

    body.lmh-profile-v2 .lmh-profile-level__pts-chip strong {
        font-size: 0.84rem;
    }

    body.lmh-profile-v2 .lmh-pv2__identity {
        margin-top: -36px;
    }

    body.lmh-profile-v2 .lmh-drink-summary__stats {
        flex-direction: row;
    }
}

@media (prefers-reduced-motion: reduce) {
    body.lmh-profile-v2 .lmh-pv2__card::before,
    body.lmh-profile-v2 .lmh-pv2__card-glow,
    body.lmh-profile-v2 .lmh-pv2__card-sparks i,
    body.lmh-profile-v2 .pv2-pop,
    body.lmh-profile-v2 .pv2-stagger {
        animation: none !important;
    }

    body.lmh-profile-v2 .lmh-pv2__block {
        opacity: 1;
        transform: none;
    }
}
