/* /Features/TrendsV2/TrendsV2Chart.razor.rz.scp.css */
/* TrendsV2Chart.razor.css
   Responsive sizing + spacing to prevent squashed look and label overlap.
*/
/* Ensure wrapper always contributes height even before Blazor CSS isolation applies */
.trends-v2-chart-wrapper[b-s51f0b0h30] {
    position: relative;
    width: 100%;
    min-height: 400px; /* fallback */
    height: clamp(400px, 66vh, 900px);
    padding: 12px 0 40px 0; /* extra bottom space for date labels */
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
}

@media (max-height: 760px) {
    .trends-v2-chart-wrapper[b-s51f0b0h30] {
        height: clamp(380px, 60vh, 760px);
        padding-bottom: 36px;
    }
}

.trends-v2-chart-surface[b-s51f0b0h30] {
    flex: 1 1 auto;
    width: 100%;
    height: 100%;
    position: relative;
    background: var(--mud-palette-background, #fff);
    -webkit-font-smoothing: antialiased;
}

.trends-v2-chart-surface canvas[b-s51f0b0h30],
.trends-v2-chart-surface > div[b-s51f0b0h30] {
    width: 100% !important;
    height: 100% !important;
    display: block;
}

@media (max-width: 540px) {
    .trends-v2-chart-wrapper[b-s51f0b0h30] { padding-bottom: 48px; }
}
/* /Layout/EldritchShell.razor.rz.scp.css */
.page[b-7rhyam85wa] {
    display: flex;
    flex-direction: row;
    height: 100vh;
    width: 100vw;
    min-width: 0;
}

.sidebar[b-7rhyam85wa] {
    width: 250px;
    min-width: 220px;
    max-width: 300px;
    height: 100vh;
    position: fixed;
    left: 0;
    top: 0;
    z-index: 1000;
    background-image: linear-gradient(180deg, rgb(5, 39, 103) 0%, #3a0647 70%);
    overflow-y: auto;
    box-shadow: 2px 0 8px rgba(0,0,0,0.04);
}

.main-content-area[b-7rhyam85wa] {
    margin-left: 250px;
    min-width: 0;
    height: 100vh;
    display: flex;
    flex-direction: column;
}

.eldritch-layout[b-7rhyam85wa] {
    min-height: 100vh;
    background: transparent;
}

.eldritch-appbar[b-7rhyam85wa] {
    border-bottom: 1px solid rgba(114, 244, 213, .24);
    background:
        radial-gradient(circle at 14% 0%, rgba(114, 244, 213, .14), transparent 20rem),
        linear-gradient(100deg, #12081f, #230d38 58%, #120b28) !important;
    box-shadow: 0 8px 30px rgba(1, 0, 8, .45), inset 0 -1px 0 rgba(247, 239, 255, .06) !important;
}

.eldritch-brand[b-7rhyam85wa] {
    min-width: 0;
    color: #fff4d7;
}

.eldritch-brand .mud-typography[b-7rhyam85wa] {
    font-family: Georgia, "Times New Roman", serif;
    font-weight: 700;
    letter-spacing: .04em;
}

.eldritch-brand-sigil[b-7rhyam85wa] {
    display: grid;
    flex: none;
    width: 2.3rem;
    height: 2.3rem;
    padding: 2px;
    place-items: center;
    color: #72f4d5;
    border: 1px solid rgba(255, 244, 215, .5);
    border-radius: 50%;
    background: radial-gradient(circle at 50% 50%, #05030b 0 45%, #1d0d33 75%, #3b1a63 100%);
    box-shadow: 0 0 18px rgba(114, 244, 213, .4), inset 0 0 10px rgba(167, 122, 255, .35);
}

.eldritch-brand-tagline[b-7rhyam85wa] {
    color: rgba(255, 244, 215, .6) !important;
    font-family: inherit !important;
    font-style: italic;
}

.eldritch-drawer[b-7rhyam85wa] {
    border-right: 1px solid rgba(166, 123, 255, .24);
    background:
        radial-gradient(circle at 10% 0%, rgba(114, 244, 213, .12), transparent 16rem),
        linear-gradient(180deg, #120a21, #0b0818) !important;
}

.eldritch-main-content[b-7rhyam85wa] {
    min-height: 100vh;
    background: transparent;
}

.eldritch-page-shell[b-7rhyam85wa] {
    position: relative;
    min-height: calc(100vh - 6.2rem);
    padding-bottom: 1.5rem;
}

/* Below MudBlazor's sm breakpoint (600px) the tagline would wrap next to the title. */
@media (max-width: 599.98px) {
    .eldritch-brand-tagline[b-7rhyam85wa] {
        display: none;
    }
}

.topbar[b-7rhyam85wa] {
    height: 56px;
    min-height: 56px;
    background: #fff;
    border-bottom: 1px solid #e5e5e5;
    z-index: 1100;
    position: sticky;
    top: 0;
}

app-content[b-7rhyam85wa] {
    flex: 1;
    overflow-y: auto;
    padding: 2rem 1.5rem;
    background: #f8f9fa;
}

@media (max-width: 640.98px) {
    .sidebar[b-7rhyam85wa] {
        position: static;
        width: 100vw;
        height: auto;
        min-width: 0;
        max-width: none;
    }
    .main-content-area[b-7rhyam85wa] {
        margin-left: 0;
    }
    .topbar[b-7rhyam85wa] {
        position: static;
    }
}

/* The brand leads to the start page but keeps looking like the brand. */
.eldritch-brand-link[b-7rhyam85wa] {
    min-width: 0;
    color: inherit;
    text-decoration: none;
}

.eldritch-brand-link:focus-visible[b-7rhyam85wa] {
    outline: 2px solid #72f4d5;
    outline-offset: 4px;
    border-radius: 8px;
}
/* /Layout/NavMenu.razor.rz.scp.css */
.navbar-toggler[b-brs4lymam2] {
    background-color: rgba(255, 255, 255, 0.1);
}

.top-row[b-brs4lymam2] {
    min-height: 3.5rem;
    background-color: rgba(0,0,0,0.4);
}

.navbar-brand[b-brs4lymam2] {
    font-size: 1.1rem;
}

.bi[b-brs4lymam2] {
    display: inline-block;
    position: relative;
    width: 1.25rem;
    height: 1.25rem;
    margin-right: 0.75rem;
    top: -1px;
    background-size: cover;
}

.bi-house-door-fill-nav-menu[b-brs4lymam2] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-house-door-fill' viewBox='0 0 16 16'%3E%3Cpath d='M6.5 14.5v-3.505c0-.245.25-.495.5-.495h2c.25 0 .5.25.5.5v3.5a.5.5 0 0 0 .5.5h4a.5.5 0 0 0 .5-.5v-7a.5.5 0 0 0-.146-.354L13 5.793V2.5a.5.5 0 0 0-.5-.5h-1a.5.5 0 0 0-.5.5v1.293L8.354 1.146a.5.5 0 0 0-.708 0l-6 6A.5.5 0 0 0 1.5 7.5v7a.5.5 0 0 0 .5.5h4a.5.5 0 0 0 .5-.5Z'/%3E%3C/svg%3E");
}

.bi-plus-square-fill-nav-menu[b-brs4lymam2] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-plus-square-fill' viewBox='0 0 16 16'%3E%3Cpath d='M2 0a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V2a2 2 0 0 0-2-2H2zm6.5 4.5v3h3a.5.5 0 0 1 0 1h-3v3a.5.5 0 0 1-1 0v-3h-3a.5.5 0 0 1 0-1h3v-3a.5.5 0 0 1 1 0z'/%3E%3C/svg%3E");
}

.bi-list-nested-nav-menu[b-brs4lymam2] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-list-nested' viewBox='0 0 16 16'%3E%3Cpath fill-rule='evenodd' d='M4.5 11.5A.5.5 0 0 1 5 11h10a.5.5 0 0 1 0 1H5a.5.5 0 0 1-.5-.5zm-2-4A.5.5 0 0 1 3 7h10a.5.5 0 0 1 0 1H3a.5.5 0 0 1-.5-.5zm-2-4A.5.5 0 0 1 1 3h10a.5.5 0 0 1 0 1H1a.5.5 0 0 1-.5-.5z'/%3E%3C/svg%3E");
}

.nav-item[b-brs4lymam2] {
    font-size: 0.9rem;
    padding-bottom: 0.5rem;
}

.eldritch-nav-menu[b-brs4lymam2] {
    height: 100%;
    color: #f6efff;
}

.eldritch-nav-crest[b-brs4lymam2] {
    display: flex;
    gap: .7rem;
    align-items: center;
    margin: .4rem .25rem .75rem;
    padding: .8rem;
    border: 1px solid rgba(114, 244, 213, .22);
    border-radius: 14px;
    background: linear-gradient(135deg, rgba(114, 244, 213, .09), rgba(167, 122, 255, .13));
}

.eldritch-nav-crest > span[b-brs4lymam2] {
    color: #72f4d5;
    font-family: Georgia, serif;
    font-size: 1.5rem;
    text-shadow: 0 0 15px rgba(114, 244, 213, .7);
}

.eldritch-nav-crest .mud-typography:first-of-type[b-brs4lymam2] {
    color: #fff4d7;
    font-family: Georgia, serif;
    font-weight: 700;
}

.eldritch-nav-crest .mud-typography-caption[b-brs4lymam2] {
    color: rgba(246, 239, 255, .63);
}

.eldritch-nav-heading[b-brs4lymam2] {
    color: #72f4d5 !important;
    font-size: .66rem;
    font-weight: 800;
    letter-spacing: .14em;
}

    .nav-item:first-of-type[b-brs4lymam2] {
        padding-top: 1rem;
    }

    .nav-item:last-of-type[b-brs4lymam2] {
        padding-bottom: 1rem;
    }

    .nav-item[b-brs4lymam2]  a {
        color: #d7d7d7;
        border-radius: 4px;
        height: 3rem;
        display: flex;
        align-items: center;
        line-height: 3rem;
    }

.nav-item[b-brs4lymam2]  a.active {
    background-color: rgba(255,255,255,0.37);
    color: white;
}

.nav-item[b-brs4lymam2]  a:hover {
    background-color: rgba(255,255,255,0.1);
    color: white;
}

@media (min-width: 641px) {
    .navbar-toggler[b-brs4lymam2] {
        display: none;
    }

    .collapse[b-brs4lymam2] {
        /* Never collapse the sidebar for wide screens */
        display: block;
    }

    .nav-scrollable[b-brs4lymam2] {
        /* Allow sidebar to scroll for tall menus */
        height: calc(100vh - 3.5rem);
        overflow-y: auto;
    }
}
/* /Shared/AlcoholWheels.razor.rz.scp.css */
.alcohol-wheels[b-i7pxyui0np] {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    gap: .2rem;
    align-items: center;
}

.alcohol-wheels-separator[b-i7pxyui0np] {
    color: #ffe3a0;
    font: 700 1.6rem/1 "Space Grotesk", sans-serif;
}
/* /Shared/WheelPicker.razor.rz.scp.css */
.wheel-picker[b-asswnab69j] {
    --wheel-row: 44px;
    position: relative;
    display: block;
    width: 100%;
    min-width: 4.25rem;
    /* Five rows inside the 1px border, so rows snap exactly into the centre band. */
    height: calc(var(--wheel-row) * 5 + 2px);
    overflow: hidden;
    color: #fff0d3;
    border: 1px solid rgba(244, 189, 90, .38);
    border-radius: 14px;
    background: linear-gradient(180deg, rgba(10, 5, 18, .95), rgba(40, 19, 56, .9) 50%, rgba(10, 5, 18, .95));
    box-shadow: inset 0 0 18px rgba(0, 0, 0, .45);
    outline: none;
}

.wheel-picker:focus-visible[b-asswnab69j] {
    border-color: #72f4d5;
    box-shadow: 0 0 0 3px rgba(114, 244, 213, .55), inset 0 0 18px rgba(0, 0, 0, .45);
}

/* The centre band: whatever rests in it is the value. */
.wheel-picker[b-asswnab69j]::before {
    position: absolute;
    top: calc(var(--wheel-row) * 2);
    right: 5px;
    left: 5px;
    height: var(--wheel-row);
    border-top: 1px solid rgba(244, 189, 90, .75);
    border-bottom: 1px solid rgba(244, 189, 90, .75);
    border-radius: 10px;
    background: rgba(244, 189, 90, .13);
    box-shadow: 0 0 14px rgba(244, 189, 90, .18);
    content: "";
    pointer-events: none;
}

.wheel-picker-viewport[b-asswnab69j] {
    height: 100%;
    overflow-y: auto;
    overscroll-behavior: contain;
    scroll-snap-type: y mandatory;
    scrollbar-width: none;
    touch-action: pan-y;
    cursor: grab;
    -webkit-mask-image: linear-gradient(to bottom, transparent, #000 32%, #000 68%, transparent);
    mask-image: linear-gradient(to bottom, transparent, #000 32%, #000 68%, transparent);
}

.wheel-picker-viewport[b-asswnab69j]::-webkit-scrollbar { display: none; }

.wheel-picker-viewport.is-dragging[b-asswnab69j] {
    scroll-snap-type: none;
    cursor: grabbing;
}

.wheel-picker-spacer[b-asswnab69j] { height: calc(var(--wheel-row) * 2); }

.wheel-picker-item[b-asswnab69j] {
    display: flex;
    height: var(--wheel-row);
    align-items: center;
    justify-content: center;
    color: rgba(255, 240, 211, .55);
    font: 600 1.3rem/1 "Space Grotesk", sans-serif;
    font-variant-numeric: tabular-nums;
    scroll-snap-align: center;
    user-select: none;
}

/* is-selected is the value C# holds; is-centred (set by the scroll script) follows the centre band while the
   column moves, so the highlight never lags behind the finger. */
.wheel-picker-item.is-selected[b-asswnab69j],
.wheel-picker-item.is-centred[b-asswnab69j] {
    color: #ffe3a0;
    font-size: 1.6rem;
    text-shadow: 0 0 10px rgba(244, 189, 90, .45);
}

.wheel-picker-viewport.is-moving .wheel-picker-item.is-selected:not(.is-centred)[b-asswnab69j] {
    color: rgba(255, 240, 211, .55);
    font-size: 1.3rem;
    text-shadow: none;
}

.wheel-picker-viewport:focus[b-asswnab69j] { outline: none; }

.wheel-picker-unit[b-asswnab69j] {
    position: absolute;
    top: calc(var(--wheel-row) * 2);
    right: .55rem;
    display: flex;
    height: var(--wheel-row);
    align-items: center;
    color: rgba(255, 240, 211, .75);
    font-size: .85rem;
    pointer-events: none;
}
