/* /Components/BackendUnavailableOverlay.razor.rz.scp.css */
.backend-overlay[b-luouny9fcg] {
    position: fixed;
    inset: 0;
    z-index: 20000;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(20, 16, 12, 0.6);
    backdrop-filter: blur(3px);
}

.backend-overlay-card[b-luouny9fcg] {
    max-width: 26rem;
    width: calc(100% - 2rem);
    padding: 2rem 1.75rem;
    border-radius: 1rem;
    background: #fff;
    color: #000;
    text-align: center;
    box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.3);
}

.backend-overlay-card h5[b-luouny9fcg] {
    margin: 1rem 0 0.5rem;
}

.backend-overlay-spinner[b-luouny9fcg] {
    width: 2.5rem;
    height: 2.5rem;
    color: #8b5e34;
}

.backend-overlay-icon.success[b-luouny9fcg] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    background: #198754;
    color: #fff;
    font-size: 1.4rem;
}

.backend-overlay-attempt[b-luouny9fcg] {
    font-size: 0.85rem;
    color: #6c757d;
}

.backend-overlay-retry[b-luouny9fcg] {
    color: #f2f7ff;
    border: none;
    border-radius: 999px;
    padding: 0.35rem 1.25rem;
    background: linear-gradient(135deg, #b07a4b, #8b5e34);
    transition: transform 0.2s ease, background 0.2s ease;
}

.backend-overlay-retry:hover:not(:disabled)[b-luouny9fcg],
.backend-overlay-retry:focus-visible[b-luouny9fcg] {
    transform: translate3d(0, -2px, 0);
    background: linear-gradient(135deg, #a87045, var(--brand-600, #7a512c));
    color: #f2f7ff;
}

.backend-overlay-retry:disabled[b-luouny9fcg] {
    opacity: 0.6;
    color: #f2f7ff;
}
/* /Components/GridTextFilterBar.razor.rz.scp.css */
.grid-filter-bar[b-pal6o4xfw2] {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.grid-filter-input-wrap[b-pal6o4xfw2] {
    position: relative;
    flex: 0 0 auto;
    width: 220px;
    max-width: 100%;
}

.grid-filter-input[b-pal6o4xfw2] {
    width: 100%;
    padding-right: 1.75rem;
}

.grid-filter-clear[b-pal6o4xfw2] {
    position: absolute;
    right: 0.35rem;
    top: 50%;
    transform: translateY(-50%);
    border: 0;
    background: transparent;
    color: #6c757d;
    line-height: 1;
    font-size: 1rem;
    padding: 0;
    width: 1rem;
    height: 1rem;
}

.grid-filter-clear:hover[b-pal6o4xfw2] {
    color: #343a40;
}

.grid-filter-mode[b-pal6o4xfw2] {
    flex: 0 0 auto;
    width: auto;
}
/* /Components/KeywordAllowanceNotice.razor.rz.scp.css */
.keyword-allowance[b-071j44753u] {
    margin-bottom: 0.75rem;
    padding: 0.4rem 0.75rem;
    border-radius: 10px;
    font-size: 0.875rem;
    color: #3d3d46;
    background: rgba(28, 28, 34, 0.05);
}

.keyword-allowance-warning[b-071j44753u] {
    color: #7a5c00;
    background: #fff4d6;
}

.keyword-allowance-error[b-071j44753u] {
    color: #b42318;
    background: #fdecea;
}

.keyword-allowance-exceeded[b-071j44753u] {
    margin-bottom: 1rem;
    padding: 0.75rem 1rem;
    border: 1px solid #f3c4bf;
    border-radius: 12px;
    background: #fff;
}

.keyword-allowance-exceeded-text[b-071j44753u] {
    margin: 0 0 0.5rem;
    font-weight: 600;
}

.keyword-allowance-actions[b-071j44753u] {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}
/* /Components/SearchesGrid.razor.rz.scp.css */
.searches-grid-wrapper[b-axnc32zz8p] {
    flex: 1 1 auto;
    min-height: 0;
    height: 100%;
    overflow-y: auto;
    overflow-x: hidden;
}

.result-tab-controls[b-axnc32zz8p] {
    flex-shrink: 0;
    padding-top: 15px;
    padding-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 8px;
    border-left: solid 1px var(--bs-gray-300);
    border-right: solid 1px var(--bs-gray-300)
}

.refresh-all-searches-button[b-axnc32zz8p] {
    margin-left: 0.5rem;
}

.searches-controls-divider[b-axnc32zz8p] {
    height: 20px;
    border-left: 1px solid #000;
    margin: 0 10px;
    flex: 0 0 auto;
}

.searches-filter-bar-wrapper[b-axnc32zz8p] {
    padding-left: 0;
}

.filter-hiding-all-hint[b-axnc32zz8p] {
    margin-left: 0.75rem;
    color: #b02a37;
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    font-size: 0.875rem;
    font-weight: 600;
    line-height: 1.5;
    letter-spacing: normal;
    white-space: nowrap;
    text-decoration: underline;
    cursor: pointer;
}

.searches-grid-wrapper :deep(.searches-filter-bar)[b-axnc32zz8p] {
    margin: 0.5rem 0.25rem 0.75rem;
    border-left: solid;
}

.searches-grid[b-axnc32zz8p],
.searches-grid[b-axnc32zz8p]  .e-gridcontent,
.searches-grid[b-axnc32zz8p]  .e-content {
    height: auto !important;
    max-height: none !important;
    overflow: visible !important;
}

.searches-grid[b-axnc32zz8p]  .e-grid .e-sortfilterdiv {
    display: none !important;
}

.searches-grid[b-axnc32zz8p]  .e-grid .e-cellselectionbackground,
.searches-grid[b-axnc32zz8p]  .e-grid .e-selectionbackground,
.searches-grid[b-axnc32zz8p]  .e-grid .e-active,
.searches-grid[b-axnc32zz8p]  .e-grid .e-focused,
.searches-grid[b-axnc32zz8p]  .e-grid .e-focus {
    background-color: inherit !important;
    box-shadow: none !important;
}

.searches-grid[b-axnc32zz8p]  .e-grid td.e-focused,
.searches-grid[b-axnc32zz8p]  .e-grid td.e-focus,
.searches-grid[b-axnc32zz8p]  .e-grid .e-rowcell:focus,
.searches-grid[b-axnc32zz8p]  .e-grid td:focus {
    outline: none !important;
    box-shadow: none !important;
    border-color: transparent !important;
}

.searches-grid[b-axnc32zz8p]  .e-grid .e-rowcell.e-focused,
.searches-grid[b-axnc32zz8p]  .e-grid .e-rowcell.e-focus {
    border: none !important;
}

/* Syncfusion applies its focus outline via the compound .e-focused.e-focus
   class combination, which has higher specificity than the single-class
   rules above, so it must be targeted explicitly to be fully suppressed. */
.searches-grid[b-axnc32zz8p]  .e-grid .e-rowcell.e-focused:focus,
.searches-grid[b-axnc32zz8p]  .e-grid .e-rowcell.e-focused.e-focus,
.searches-grid[b-axnc32zz8p]  .e-grid .e-rowcell.e-focus:focus {
    outline: none !important;
    box-shadow: none !important;
    border: none !important;
}

.searches-grid[b-axnc32zz8p]  .e-gridpager {
    display: none !important;
}

.search-refresh-icon[b-axnc32zz8p] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

button.search-refresh-icon-enabled[b-axnc32zz8p] {
    border: none;
    background: transparent;
    color: #8b5e34;
    padding: 0;
    box-shadow: none;
    cursor: pointer;
}

@media (hover: hover) and (pointer: fine) {
    button.search-refresh-icon-enabled:hover:not(:disabled)[b-axnc32zz8p] {
        color: #b07a4b;
        transform: none;
        box-shadow: none;
        filter: none;
    }
}

button.search-refresh-icon-enabled:disabled[b-axnc32zz8p] {
    opacity: 0.68;
    filter: grayscale(0.25);
    cursor: default;
}

.search-refresh-icon-disabled[b-axnc32zz8p] {
    color: #adb5bd;
    cursor: not-allowed;
}

.search-refresh-icon-spinning svg[b-axnc32zz8p] {
    animation: search-refresh-icon-spin-b-axnc32zz8p 1s linear infinite;
}

@keyframes search-refresh-icon-spin-b-axnc32zz8p {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

.result-tab-controls .btn[b-axnc32zz8p],
.searches-grid .btn[b-axnc32zz8p],
.grid-mobile .mobile-card .btn[b-axnc32zz8p] {
    border: 1px solid rgba(139, 94, 52, 0.45);
    border-radius: 999px;
    background: linear-gradient(135deg, #b07a4b, #8b5e34);
    color: #f2f7ff;
    font-weight: 600;
    box-shadow: 0 6px 14px rgba(101, 67, 33, 0.2);
    transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

@media (hover: hover) and (pointer: fine) {
    .result-tab-controls .btn:hover:not(:disabled)[b-axnc32zz8p],
    .searches-grid .btn:hover:not(:disabled)[b-axnc32zz8p],
    .grid-mobile .mobile-card .btn:hover:not(:disabled)[b-axnc32zz8p] {
        transform: translate3d(0, -1px, 0);
        box-shadow: 0 6px 14px rgba(101, 67, 33, 0.2);
        filter: brightness(1.03);
        color: #f2f7ff;
        text-decoration: underline;
        text-underline-offset: 2px;
    }
}

.result-tab-controls .btn:disabled[b-axnc32zz8p],
.searches-grid .btn:disabled[b-axnc32zz8p],
.grid-mobile .mobile-card .btn:disabled[b-axnc32zz8p] {
    opacity: 0.68;
    filter: grayscale(0.25);
}

/* Layout visibility and card-list columns live in wwwroot/css/responsive.css. */
.mobile-card[b-axnc32zz8p] {
    border: 1px solid #dee2e6;
    border-radius: 6px;
    padding: 0.75rem;
    margin-bottom: 0.75rem;
    background-color: #fff;
}

.mobile-card-field[b-axnc32zz8p] {
    display: flex;
    flex-direction: column;
    padding: 0.25rem 0;
}

.mobile-card-field + .mobile-card-field[b-axnc32zz8p] {
    border-top: 1px solid #f1f3f5;
}

.mobile-card-tags-field[b-axnc32zz8p] {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem;
}

.mobile-card-label[b-axnc32zz8p] {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    color: #6c757d;
}

.mobile-card-value[b-axnc32zz8p] {
    font-size: 0.95rem;
    color: #212529;
    overflow-wrap: anywhere;
}

.mobile-empty[b-axnc32zz8p] {
    padding: 1rem;
    color: #6c757d;
}

@media not ((min-width: 1024px) and (pointer: fine)) {
    .result-tab-controls[b-axnc32zz8p] {
        flex-wrap: wrap;
    }
}
/* /Components/SearchResultGrid.razor.rz.scp.css */
.results-grid .e-grid .e-sortfilterdiv[b-5uufvtcuqo] {
    display: none !important;
}

.filter-hiding-all-hint[b-5uufvtcuqo] {
    margin-left: 0.75rem;
    color: #b02a37;
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    font-size: 0.875rem;
    font-weight: 600;
    line-height: 1.5;
    letter-spacing: normal;
    white-space: nowrap;
    text-decoration: underline;
    cursor: pointer;
}

.result-tab-controls[b-5uufvtcuqo] {
    flex-shrink: 0;
    padding-top: 15px;
    padding-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 8px;
    border-left: solid 1px var(--bs-gray-300);
    border-right: solid 1px var(--bs-gray-300)
}

.result-tab-title-group[b-5uufvtcuqo] {
    display: inline-flex;
    align-items: center;
    flex: 0 0 auto;
}

.result-tab-filter-wrap[b-5uufvtcuqo] {
    position: relative;
    flex: 0 0 auto;
    width: 220px;
    max-width: 100%;
}

.result-tab-filter[b-5uufvtcuqo] {
    width: 100%;
    padding-right: 1.75rem;
}

.result-tab-filter-clear[b-5uufvtcuqo] {
    position: absolute;
    right: 0.35rem;
    top: 50%;
    transform: translateY(-50%);
    border: 0;
    background: transparent;
    color: #6c757d;
    line-height: 1;
    font-size: 1rem;
    padding: 0;
    width: 1rem;
    height: 1rem;
}

.result-tab-filter-clear:hover[b-5uufvtcuqo] {
    color: #343a40;
}

.result-tab-filter-mode[b-5uufvtcuqo] {
    flex: 0 0 auto;
    width: auto;
}

.result-tab-search-title[b-5uufvtcuqo] {
    flex: 0 0 auto;
    max-width: 36rem;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.result-tab-divider[b-5uufvtcuqo] {
    height: 20px;
    border-left: 1px solid #000;
    margin: 0 10px;
    flex: 0 0 auto;
}

.result-tab-origin-label[b-5uufvtcuqo] {
    margin-left: auto;
    color: #495057;
    font-size: 0.875rem;
    font-weight: 600;
    white-space: nowrap;
}

.favourite-toggle[b-5uufvtcuqo] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.75rem;
    height: 1.75rem;
    text-decoration: none;
    cursor: pointer;
    line-height: 1;
}

.heart-icon[b-5uufvtcuqo] {
    font-size: 2.3rem;
    line-height: 1;
}

.favourite-toggle.favourited[b-5uufvtcuqo] {
    color: #dc3545;
}

.favourite-toggle.not-favourited[b-5uufvtcuqo] {
    color: #6c757d;
}

.result-tab-controls .btn[b-5uufvtcuqo],
.results-grid[b-5uufvtcuqo]  .btn,
.grid-mobile .mobile-card-actions .btn[b-5uufvtcuqo] {
    border: 1px solid rgba(139, 94, 52, 0.45);
    border-radius: 999px;
    background: linear-gradient(135deg, #b07a4b, #8b5e34);
    color: #f2f7ff;
    font-weight: 600;
    box-shadow: 0 6px 14px rgba(101, 67, 33, 0.2);
    transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

@media (hover: hover) and (pointer: fine) {
    .result-tab-controls .btn:hover:not(:disabled)[b-5uufvtcuqo],
    .results-grid[b-5uufvtcuqo]  .btn:hover:not(:disabled),
    .grid-mobile .mobile-card-actions .btn:hover:not(:disabled)[b-5uufvtcuqo] {
        transform: translate3d(0, -1px, 0);
        box-shadow: 0 6px 14px rgba(101, 67, 33, 0.2);
        filter: brightness(1.03);
        color: #f2f7ff;
        text-decoration: underline;
        text-underline-offset: 2px;
    }
}

.result-tab-controls .btn:disabled[b-5uufvtcuqo],
.results-grid[b-5uufvtcuqo]  .btn:disabled,
.grid-mobile .mobile-card-actions .btn:disabled[b-5uufvtcuqo] {
    opacity: 0.68;
    filter: grayscale(0.25);
}

.results-grid[b-5uufvtcuqo]  .cta-summary,
.results-grid[b-5uufvtcuqo]  .cta-scenes,
.results-grid[b-5uufvtcuqo]  .cta-similar,
.grid-mobile .mobile-card-actions .cta-summary[b-5uufvtcuqo],
.grid-mobile .mobile-card-actions .cta-scenes[b-5uufvtcuqo],
.grid-mobile .mobile-card-actions .cta-similar[b-5uufvtcuqo] {
    position: relative;
    min-width: 5.25rem;
    padding: 0.32rem 0.82rem;
    letter-spacing: 0.015em;
    border-width: 1px;
    backdrop-filter: blur(8px);
}

.results-grid[b-5uufvtcuqo]  .cta-summary,
.grid-mobile .mobile-card-actions .cta-summary[b-5uufvtcuqo] {
    border-color: rgba(139, 94, 52, 0.52);
    background: linear-gradient(140deg, #f7efe6 0%, #b07a4b 44%, #8b5e34 100%);
    color: #f2f7ff;
    box-shadow: 0 8px 18px rgba(101, 67, 33, 0.24);
}

.results-grid[b-5uufvtcuqo]  .cta-scenes,
.grid-mobile .mobile-card-actions .cta-scenes[b-5uufvtcuqo] {
    border-color: rgba(129, 143, 161, 0.42);
    background: linear-gradient(145deg, #ffffff 0%, #f7f9fc 50%, #edf1f7 100%);
    color: #2e3c50;
    box-shadow: 0 7px 16px rgba(101, 67, 33, 0.16);
}

.results-grid[b-5uufvtcuqo]  .cta-similar,
.grid-mobile .mobile-card-actions .cta-similar[b-5uufvtcuqo] {
    border-color: rgba(139, 110, 56, 0.45);
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.95) 0%, rgba(247, 239, 225, 0.95) 100%);
    color: #6f541f;
    box-shadow: 0 6px 14px rgba(161, 124, 58, 0.16);
}

.results-grid[b-5uufvtcuqo]  .cta-summary:focus-visible,
.results-grid[b-5uufvtcuqo]  .cta-scenes:focus-visible,
.results-grid[b-5uufvtcuqo]  .cta-similar:focus-visible,
.grid-mobile .mobile-card-actions .cta-summary:focus-visible[b-5uufvtcuqo],
.grid-mobile .mobile-card-actions .cta-scenes:focus-visible[b-5uufvtcuqo],
.grid-mobile .mobile-card-actions .cta-similar:focus-visible[b-5uufvtcuqo] {
    outline: 2px solid rgba(139, 94, 52, 0.7);
    outline-offset: 2px;
}

@media (hover: hover) and (pointer: fine) {
    .results-grid[b-5uufvtcuqo]  .cta-summary:hover:not(:disabled),
    .grid-mobile .mobile-card-actions .cta-summary:hover:not(:disabled)[b-5uufvtcuqo] {
        transform: translate3d(0, -2px, 0);
        box-shadow: 0 8px 18px rgba(101, 67, 33, 0.24);
        filter: brightness(1.035) saturate(1.03);
    }

    .results-grid[b-5uufvtcuqo]  .cta-scenes:hover:not(:disabled),
    .grid-mobile .mobile-card-actions .cta-scenes:hover:not(:disabled)[b-5uufvtcuqo] {
        transform: translate3d(0, -2px, 0);
        box-shadow: 0 7px 16px rgba(101, 67, 33, 0.16);
        filter: brightness(1.02);
    }

    .results-grid[b-5uufvtcuqo]  .cta-similar:hover:not(:disabled),
    .grid-mobile .mobile-card-actions .cta-similar:hover:not(:disabled)[b-5uufvtcuqo] {
        transform: translate3d(0, -2px, 0);
        box-shadow: 0 11px 20px rgba(161, 124, 58, 0.24);
        filter: brightness(1.03);
    }
}

@media (prefers-reduced-motion: reduce) {
    .results-grid[b-5uufvtcuqo]  .cta-summary,
    .results-grid[b-5uufvtcuqo]  .cta-scenes,
    .results-grid[b-5uufvtcuqo]  .cta-similar,
    .grid-mobile .mobile-card-actions .cta-summary[b-5uufvtcuqo],
    .grid-mobile .mobile-card-actions .cta-scenes[b-5uufvtcuqo],
    .grid-mobile .mobile-card-actions .cta-similar[b-5uufvtcuqo] {
        transition: none;
    }
}

/* Hide the built-in detail expand/collapse chevron column only in the results grid */
.results-grid[b-5uufvtcuqo]  .e-detailrowcollapse,
.results-grid[b-5uufvtcuqo]  .e-detailrowexpand,
.results-grid[b-5uufvtcuqo]  .e-detailindentcell,
.results-grid[b-5uufvtcuqo]  th.e-detailcell {
    display: none !important;
    width: 0 !important;
    min-width: 0 !important;
    max-width: 0 !important;
    padding: 0 !important;
    border: none !important;
    overflow: hidden !important;
}

/* Centered summary content in the detail row */
.summary-detail-text[b-5uufvtcuqo] {
    max-width: 90ch;
    margin: 0 auto;
    padding: 0.4rem 0.75rem 0.5rem;
    text-align: left;
    white-space: normal;
    overflow-wrap: anywhere;
    line-height: 1.45;
    font-size: 0.9rem;
    color: #212529;
}

.summary-detail-placeholder[b-5uufvtcuqo] {
    max-width: 75ch;
    margin: 0 auto;
    padding: 0.4rem 0.75rem 0.5rem;
    font-size: 0.85rem;
    color: #6c757d;
    font-style: italic;
}

/* Layout visibility and card-list columns live in wwwroot/css/responsive.css. */
.result-grid-shell[b-5uufvtcuqo],
.grid-desktop[b-5uufvtcuqo] {
    height: 100%;
}

.grid-mobile[b-5uufvtcuqo] {
    height: 100%;
    overflow-y: auto;
}

.mobile-card[b-5uufvtcuqo] {
    border: 1px solid #dee2e6;
    border-radius: 6px;
    padding: 0.75rem;
    margin-bottom: 0.75rem;
    background-color: #fff;
}

.mobile-card-field[b-5uufvtcuqo] {
    display: flex;
    flex-direction: column;
    padding: 0.25rem 0;
}

.mobile-card-field + .mobile-card-field[b-5uufvtcuqo] {
    border-top: 1px solid #f1f3f5;
}

.mobile-card-tags-field[b-5uufvtcuqo] {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem;
}

.mobile-card-label[b-5uufvtcuqo] {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    color: #6c757d;
}

.mobile-card-value[b-5uufvtcuqo] {
    font-size: 0.95rem;
    color: #212529;
    overflow-wrap: anywhere;
}

.mobile-card-actions[b-5uufvtcuqo] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem;
    padding-top: 0.5rem;
    margin-top: 0.25rem;
    border-top: 1px solid #f1f3f5;
}

.mobile-card-summary[b-5uufvtcuqo] {
    margin-top: 0.5rem;
    padding: 0.4rem 0.5rem;
    background-color: #f8f9fa;
    border-radius: 4px;
    font-size: 0.9rem;
    line-height: 1.45;
    color: #212529;
    overflow-wrap: anywhere;
}

.mobile-empty[b-5uufvtcuqo] {
    padding: 1rem;
    color: #6c757d;
}

@media not ((min-width: 1024px) and (pointer: fine)) {
    .result-tab-controls[b-5uufvtcuqo] {
        flex-wrap: wrap;
    }
}

@media (max-width: 639.98px) {
    .grid-mobile[b-5uufvtcuqo] {
        height: auto;
        overflow-y: visible;
    }
}


/* /Components/TagDropZone.razor.rz.scp.css */
.tags-cell[b-hymknxarq5] {
    display: flex;
    flex-direction: column;
    gap: 4px;
    align-items: stretch;
    padding: 2px 4px;
    border: 1px dashed #adb5bd;
    border-radius: 6px;
}

.tags-chip-list[b-hymknxarq5] {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    justify-content: center;
}

.tags-cell-dragover[b-hymknxarq5] {
    outline: 2px dashed #0d6efd;
    outline-offset: -2px;
    background: rgba(13, 110, 253, 0.06);
}

.tag-drop-hint[b-hymknxarq5] {
    display: block;
    width: 100%;
    text-align: center;
    font-style: italic;
}

.tag-chip[b-hymknxarq5] {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    padding: 2px 8px;
    border-radius: 12px;
    background-color: #e9ecef;
    font-size: 0.8rem;
    line-height: 1.4;
}

.tag-chip-delete[b-hymknxarq5] {
    background: none;
    border: none;
    padding: 0 0 0 2px;
    font-size: 0.9rem;
    line-height: 1;
    cursor: pointer;
    color: #6c757d;
}

.tag-chip-delete:hover[b-hymknxarq5] {
    color: #dc3545;
}

.tag-chip.tag-color-0[b-hymknxarq5] { background-color: #0d6efd; color: #fff; border: 1px solid #0a58ca; }
.tag-chip.tag-color-1[b-hymknxarq5] { background-color: #198754; color: #fff; border: 1px solid #146c43; }
.tag-chip.tag-color-2[b-hymknxarq5] { background-color: #ffc107; color: #664d03; border: 1px solid #cc9a06; }
.tag-chip.tag-color-3[b-hymknxarq5] { background-color: #dc3545; color: #fff; border: 1px solid #b02a37; }
.tag-chip.tag-color-4[b-hymknxarq5] { background-color: #6f42c1; color: #fff; border: 1px solid #59359a; }
.tag-chip.tag-color-5[b-hymknxarq5] { background-color: #fd7e14; color: #fff; border: 1px solid #ca6510; }
.tag-chip.tag-color-6[b-hymknxarq5] { background-color: #20c997; color: #063; border: 1px solid #1aa179; }
.tag-chip.tag-color-7[b-hymknxarq5] { background-color: #e35d6a; color: #fff; border: 1px solid #b74a55; }
.tag-chip.tag-color-8[b-hymknxarq5] { background-color: #3b5bdb; color: #fff; border: 1px solid #2e48ae; }
.tag-chip.tag-color-9[b-hymknxarq5] { background-color: #d6336c; color: #fff; border: 1px solid #ab2856; }

.tag-chip .tag-chip-delete[b-hymknxarq5] { color: inherit; opacity: 0.85; }
.tag-chip .tag-chip-delete:hover[b-hymknxarq5] { opacity: 1; color: #212529; }
/* /Components/TagList.razor.rz.scp.css */
.tag-list[b-0ieft9mda7] {
    display: inline-flex;
    flex-wrap: wrap;
    gap: 4px;
}

.tag-chip[b-0ieft9mda7] {
    display: inline-flex;
    align-items: center;
    padding: 2px 8px;
    border-radius: 12px;
    background-color: #e9ecef;
    font-size: 0.8rem;
    line-height: 1.4;
}

.tag-chip.tag-color-0[b-0ieft9mda7] { background-color: #0d6efd; color: #fff; border: 1px solid #0a58ca; }
.tag-chip.tag-color-1[b-0ieft9mda7] { background-color: #198754; color: #fff; border: 1px solid #146c43; }
.tag-chip.tag-color-2[b-0ieft9mda7] { background-color: #ffc107; color: #664d03; border: 1px solid #cc9a06; }
.tag-chip.tag-color-3[b-0ieft9mda7] { background-color: #dc3545; color: #fff; border: 1px solid #b02a37; }
.tag-chip.tag-color-4[b-0ieft9mda7] { background-color: #6f42c1; color: #fff; border: 1px solid #59359a; }
.tag-chip.tag-color-5[b-0ieft9mda7] { background-color: #fd7e14; color: #fff; border: 1px solid #ca6510; }
.tag-chip.tag-color-6[b-0ieft9mda7] { background-color: #20c997; color: #063; border: 1px solid #1aa179; }
.tag-chip.tag-color-7[b-0ieft9mda7] { background-color: #e35d6a; color: #fff; border: 1px solid #b74a55; }
.tag-chip.tag-color-8[b-0ieft9mda7] { background-color: #3b5bdb; color: #fff; border: 1px solid #2e48ae; }
.tag-chip.tag-color-9[b-0ieft9mda7] { background-color: #d6336c; color: #fff; border: 1px solid #ab2856; }
/* /Components/TagPalette.razor.rz.scp.css */
.tag-palette[b-wwqm9n2z8l] {
    margin: 20px 0 12px 0;
    padding: 8px 10px;
    border: 1px solid rgba(28, 28, 34, 0.12);
    border-radius: 6px;
    background: #ffffff;
}

/* Drag/drop is unreliable on touch screens, so hide the palette for the mobile/tablet
   layout tiers (matches wwwroot/js/viewport.js: anything not wide with a fine pointer). */
@media (max-width: 1023.98px), not (pointer: fine) {
    .tag-palette[b-wwqm9n2z8l] {
        display: none;
    }
}

.tag-palette-header[b-wwqm9n2z8l] {
    display: flex;
    gap: 8px;
    align-items: baseline;
    margin-bottom: 6px;
}

.tag-palette-hint[b-wwqm9n2z8l] {
    color: #8a8a96;
    font-size: 0.8rem;
}

@media (max-width: 1023.98px), (pointer: coarse) {
    .tag-palette-hint[b-wwqm9n2z8l] {
        display: none;
    }
}

.tag-palette-list[b-wwqm9n2z8l] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
}

.tag-palette-list .tag-add-row[b-wwqm9n2z8l] {
    display: flex;
    gap: 10px;
}

.tag-add-row .btn[b-wwqm9n2z8l] {
    border: 1px solid rgba(139, 94, 52, 0.45);
    color: #f2f7ff;
    background: linear-gradient(180deg, #b07a4b, #8b5e34);
}

.tag-add-row .btn:hover:not(:disabled)[b-wwqm9n2z8l] {
    color: #f2f7ff;
    filter: brightness(1.04);
}

.tag-add-row .btn:disabled[b-wwqm9n2z8l] {
    filter: grayscale(0.35);
    opacity: 0.7;
}

.tag-chip[b-wwqm9n2z8l] {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    padding: 2px 8px;
    border-radius: 12px;
    background-color: #e9ecef;
    font-size: 0.8rem;
    line-height: 1.4;
}

.tag-chip-delete[b-wwqm9n2z8l] {
    background: none;
    border: none;
    padding: 0 0 0 2px;
    font-size: 0.9rem;
    line-height: 1;
    cursor: pointer;
    color: #6c757d;
}

.tag-chip-delete:hover[b-wwqm9n2z8l] {
    color: #dc3545;
}

.tag-chip-draggable[b-wwqm9n2z8l] {
    cursor: grab;
    user-select: none;
}

.tag-chip-draggable:active[b-wwqm9n2z8l] {
    cursor: grabbing;
}

.tag-chip[b-wwqm9n2z8l] {
    position: relative;
}

.tag-chip-color-swatch[b-wwqm9n2z8l] {
    width: 14px;
    height: 14px;
    padding: 0;
    margin: 0 2px;
    border-radius: 50%;
    border: 1.5px solid #ffffff;
    background: conic-gradient(#dc3545, #ffc107, #20c997, #0d6efd, #6f42c1, #dc3545);
    box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.2);
    cursor: pointer;
    flex: 0 0 auto;
    transition: transform 0.15s ease;
}

.tag-chip-color-swatch:hover[b-wwqm9n2z8l],
.tag-chip-color-swatch:focus-visible[b-wwqm9n2z8l] {
    transform: scale(1.2);
}

.tag-color-picker[b-wwqm9n2z8l] {
    position: absolute;
    top: calc(100% + 4px);
    left: 0;
    z-index: 20;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 4px;
    padding: 6px;
    background: #fff;
    border: 1px solid #ced4da;
    border-radius: 6px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.tag-color-swatch-option[b-wwqm9n2z8l] {
    width: 18px;
    height: 18px;
    padding: 0;
    border-radius: 50%;
    cursor: pointer;
}

.tag-color-swatch-option:hover[b-wwqm9n2z8l] {
    outline: 2px solid #495057;
    outline-offset: 1px;
}

.tag-chip.tag-color-0[b-wwqm9n2z8l] { background-color: #0d6efd; color: #fff; border: 1px solid #0a58ca; }
.tag-chip.tag-color-1[b-wwqm9n2z8l] { background-color: #198754; color: #fff; border: 1px solid #146c43; }
.tag-chip.tag-color-2[b-wwqm9n2z8l] { background-color: #ffc107; color: #664d03; border: 1px solid #cc9a06; }
.tag-chip.tag-color-3[b-wwqm9n2z8l] { background-color: #dc3545; color: #fff; border: 1px solid #b02a37; }
.tag-chip.tag-color-4[b-wwqm9n2z8l] { background-color: #6f42c1; color: #fff; border: 1px solid #59359a; }
.tag-chip.tag-color-5[b-wwqm9n2z8l] { background-color: #fd7e14; color: #fff; border: 1px solid #ca6510; }
.tag-chip.tag-color-6[b-wwqm9n2z8l] { background-color: #20c997; color: #063; border: 1px solid #1aa179; }
.tag-chip.tag-color-7[b-wwqm9n2z8l] { background-color: #e35d6a; color: #fff; border: 1px solid #b74a55; }
.tag-chip.tag-color-8[b-wwqm9n2z8l] { background-color: #3b5bdb; color: #fff; border: 1px solid #2e48ae; }
.tag-chip.tag-color-9[b-wwqm9n2z8l] { background-color: #d6336c; color: #fff; border: 1px solid #ab2856; }

.tag-chip .tag-chip-delete[b-wwqm9n2z8l] { color: inherit; opacity: 0.85; }
.tag-chip .tag-chip-delete:hover[b-wwqm9n2z8l] { opacity: 1; color: #212529; }

/* Swatch backgrounds for the colour picker popover, matching the exact solid
   fills used by the .tag-chip.tag-color-N themes so the picker reflects the
   actual chip colours. */
.tag-color-swatch-option.tag-color-0[b-wwqm9n2z8l] { background-color: #0d6efd; border: 1px solid #0a58ca; }
.tag-color-swatch-option.tag-color-1[b-wwqm9n2z8l] { background-color: #198754; border: 1px solid #146c43; }
.tag-color-swatch-option.tag-color-2[b-wwqm9n2z8l] { background-color: #ffc107; border: 1px solid #cc9a06; }
.tag-color-swatch-option.tag-color-3[b-wwqm9n2z8l] { background-color: #dc3545; border: 1px solid #b02a37; }
.tag-color-swatch-option.tag-color-4[b-wwqm9n2z8l] { background-color: #6f42c1; border: 1px solid #59359a; }
.tag-color-swatch-option.tag-color-5[b-wwqm9n2z8l] { background-color: #fd7e14; border: 1px solid #ca6510; }
.tag-color-swatch-option.tag-color-6[b-wwqm9n2z8l] { background-color: #20c997; border: 1px solid #1aa179; }
.tag-color-swatch-option.tag-color-7[b-wwqm9n2z8l] { background-color: #e35d6a; border: 1px solid #b74a55; }
.tag-color-swatch-option.tag-color-8[b-wwqm9n2z8l] { background-color: #3b5bdb; border: 1px solid #2e48ae; }
.tag-color-swatch-option.tag-color-9[b-wwqm9n2z8l] { background-color: #d6336c; border: 1px solid #ab2856; }
/* /Layout/MainLayout.razor.rz.scp.css */
.page[b-vuxl6eh1o6] {
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100dvh;
    overflow: hidden;
    min-height: 0;
    padding-left: env(safe-area-inset-left);
    padding-right: env(safe-area-inset-right);
    padding-bottom: env(safe-area-inset-bottom);
}

main[b-vuxl6eh1o6] {
    flex: 1 1 auto;
    min-height: 0;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

article.content[b-vuxl6eh1o6] {
    flex: 1 1 auto;
    min-height: 0;
    overflow-y: auto;
    overflow-x: hidden;
    padding-top: 1.1rem;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    background: linear-gradient(180deg, #f7f4ee 0%, #f1eee7 100%);
}

.content-shell[b-vuxl6eh1o6] {
    width: 100%;
    max-width: 1920px;
    margin-left: auto;
    margin-right: auto;
}

.top-row[b-vuxl6eh1o6] {
    background-color: #f7f7f7;
    border-bottom: 1px solid #d6d5d5;
    justify-content: flex-start;
    position: relative;
    height: 3.5rem;
    min-height: 3.5rem;
    flex-shrink: 0;
    display: flex;
    align-items: center;
}

.top-nav-links[b-vuxl6eh1o6] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

.top-row[b-vuxl6eh1o6]  .top-nav-link {
    color: #f2f7ff;
    text-decoration: none;
    padding: 0.35rem 0.8rem;
    border-radius: 999px;
    white-space: nowrap;
    background: linear-gradient(135deg, #b07a4b, #8b5e34);
    box-shadow: none;
    font-weight: 600;
    transition: transform 0.2s ease, background 0.2s ease;
}

.top-row[b-vuxl6eh1o6]  .top-nav-link.active {
    background: linear-gradient(135deg, #a87045, var(--brand-600));
    color: #f2f7ff;
    box-shadow: none !important;
    filter: none !important;
}

.top-row[b-vuxl6eh1o6]  .top-nav-link:hover {
    transform: translate3d(0, -2px, 0);
    background: linear-gradient(135deg, #a87045, var(--brand-600));
    color: #f2f7ff;
    box-shadow: none !important;
    filter: none !important;
}

.top-row-left[b-vuxl6eh1o6] {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.admin-badge[b-vuxl6eh1o6] {
    background: #b42318;
    color: #fff;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    padding: 0.15rem 0.6rem;
    border-radius: 999px;
}

.balance-label[b-vuxl6eh1o6] {
    color: #000;
    font-weight: 500;
}

.top-up-button[b-vuxl6eh1o6] {
    padding: 0.35rem 0.8rem;
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.5;
    margin-left: 0;
    text-decoration: none;
    color: #f2f7ff;
    border: none;
    border-radius: 999px;
    background: linear-gradient(135deg, #b07a4b, #8b5e34);
    box-shadow: none;
    transition: transform 0.2s ease, background 0.2s ease;
}

.top-up-button:hover[b-vuxl6eh1o6],
.top-up-button:active[b-vuxl6eh1o6],
.top-up-button:focus-visible[b-vuxl6eh1o6] {
    transform: translate3d(0, -2px, 0);
    background: linear-gradient(135deg, #a87045, var(--brand-600));
    color: #f2f7ff;
    box-shadow: none !important;
    filter: none !important;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.payment-banner[b-vuxl6eh1o6] {
    margin: 0.5rem 1rem;
    flex-shrink: 0;
}

.top-row-right[b-vuxl6eh1o6] {
    display: flex;
    align-items: center;
    margin-left: auto;
}

.top-row[b-vuxl6eh1o6]  a, .top-row[b-vuxl6eh1o6]  .btn-link {
    white-space: nowrap;
    margin-left: 1.5rem;
    text-decoration: none;
}

.top-row[b-vuxl6eh1o6]  a:hover, .top-row[b-vuxl6eh1o6]  .btn-link:hover {
    text-decoration: underline;
}

.top-row[b-vuxl6eh1o6]  a:first-child {
    overflow: hidden;
    text-overflow: ellipsis;
}

@media (max-width: 639.98px) {
    .page[b-vuxl6eh1o6] {
        height: auto;
        min-height: 100dvh;
        overflow: visible;
    }

    main[b-vuxl6eh1o6] {
        overflow: visible;
    }

    article.content[b-vuxl6eh1o6] {
        overflow: visible;
    }

    .top-row[b-vuxl6eh1o6] {
        height: auto;
        min-height: 3.5rem;
        flex-wrap: wrap;
        row-gap: 0.25rem;
        padding-top: calc(0.35rem + env(safe-area-inset-top));
        padding-bottom: 0.35rem;
    }

    .top-nav-links[b-vuxl6eh1o6] {
        position: static;
        left: auto;
        transform: none;
        order: 1;
        width: 100%;
        overflow-x: auto;
        margin-right: 0;
        padding-bottom: 0.1rem;
    }

    .top-row-left[b-vuxl6eh1o6] {
        order: 2;
    }

    .top-row-right[b-vuxl6eh1o6] {
        order: 3;
        margin-left: auto;
    }

    .top-row[b-vuxl6eh1o6]  .top-nav-link {
        padding: 0.25rem 0.5rem;
    }

    .top-up-button[b-vuxl6eh1o6] {
        padding: 0.3rem 0.65rem;
        font-size: 0.85rem;
    }

    .top-row[b-vuxl6eh1o6]  a, .top-row[b-vuxl6eh1o6]  .btn-link {
        margin-left: 0;
    }

    /* Mobile header: one scrollable row of quiet text links (only the active page is a pill),
       then a single compact account row. */
    .top-row[b-vuxl6eh1o6] {
        padding-left: 0.75rem !important;
        padding-right: 0.75rem !important;
        row-gap: 0.4rem;
    }

    .top-nav-links[b-vuxl6eh1o6] {
        flex-wrap: wrap;
        justify-content: center;
        gap: 0.25rem 0.15rem;
        overflow: visible;
    }

    .top-row[b-vuxl6eh1o6]  .top-nav-links a:first-child {
        overflow: visible;
    }

    .top-row[b-vuxl6eh1o6]  .top-nav-link {
        padding: 0.3rem 0.65rem;
        font-size: 0.85rem;
        font-weight: 500;
        color: #55555f;
        background: transparent;
    }

    .top-row[b-vuxl6eh1o6]  .top-nav-link.active {
        color: #f2f7ff;
        font-weight: 600;
        background: linear-gradient(135deg, #b07a4b, #8b5e34);
    }

    .top-row[b-vuxl6eh1o6]  .top-nav-link:hover {
        transform: none;
        color: #1c1c22;
        background: rgba(139, 94, 52, 0.08);
    }

    .top-row[b-vuxl6eh1o6]  .top-nav-link.active:hover {
        color: #f2f7ff;
        background: linear-gradient(135deg, #a87045, var(--brand-600));
    }

    .top-row-left[b-vuxl6eh1o6] {
        gap: 0.5rem;
    }

    .balance-prefix[b-vuxl6eh1o6] {
        display: none;
    }

    .balance-label[b-vuxl6eh1o6] {
        font-size: 0.85rem;
        color: #55555f;
    }
}

@media (min-width: 640px) {
    main[b-vuxl6eh1o6] {
        min-width: 0;
    }

    .top-row[b-vuxl6eh1o6], article[b-vuxl6eh1o6] {
        padding-left: 2rem !important;
        padding-right: 1.5rem !important;
    }
}

/* Tablet (incl. large touch devices such as iPad Pro): the centred nav overlaps the
   account controls, so give it its own row beneath them. */
@media (min-width: 640px) and (max-width: 1023.98px), (min-width: 1024px) and (pointer: coarse) {
    .top-row[b-vuxl6eh1o6] {
        height: auto;
        flex-wrap: wrap;
        row-gap: 0.5rem;
        padding-top: 0.5rem;
        padding-bottom: 0.5rem;
    }

    .top-row-left[b-vuxl6eh1o6] {
        order: 1;
    }

    .top-row-right[b-vuxl6eh1o6] {
        order: 2;
    }

    .top-nav-links[b-vuxl6eh1o6] {
        position: static;
        transform: none;
        order: 3;
        width: 100%;
        justify-content: center;
        flex-wrap: wrap;
        gap: 0.25rem;
        padding-top: 0.45rem;
        border-top: 1px solid rgba(28, 28, 34, 0.08);
    }

    /* Even spacing: the generic header-link margin made the nav gaps uneven. */
    .top-row[b-vuxl6eh1o6]  .top-nav-links a {
        margin-left: 0;
    }

    /* Quiet text links; only the current page keeps the brown pill. */
    .top-row[b-vuxl6eh1o6]  .top-nav-link {
        padding: 0.35rem 0.9rem;
        font-weight: 500;
        color: #55555f;
        background: transparent;
    }

    .top-row[b-vuxl6eh1o6]  .top-nav-link:hover {
        transform: none;
        color: #1c1c22;
        background: rgba(139, 94, 52, 0.08);
    }

    .top-row[b-vuxl6eh1o6]  .top-nav-link.active,
    .top-row[b-vuxl6eh1o6]  .top-nav-link.active:hover {
        color: #f2f7ff;
        font-weight: 600;
        text-decoration: none;
        background: linear-gradient(135deg, #b07a4b, #8b5e34);
    }

    .balance-label[b-vuxl6eh1o6] {
        color: #55555f;
    }
}

/* Signed out (no account row): only Home and Sign in remain, so keep them on one row
   on mobile and tablet instead of giving the nav its own full-width line. */
@media (max-width: 1023.98px), (min-width: 1024px) and (pointer: coarse) {
    .top-row:not(:has(.top-row-left))[b-vuxl6eh1o6] {
        flex-wrap: nowrap;
    }

    .top-row:not(:has(.top-row-left)) .top-nav-links[b-vuxl6eh1o6] {
        width: auto;
        justify-content: flex-start;
        order: 1;
    }

    .top-row:not(:has(.top-row-left)) .top-row-right[b-vuxl6eh1o6] {
        order: 2;
    }
}

.version-footer[b-vuxl6eh1o6] {
    text-align: right;
    padding: 0.25rem 1rem;
    font-size: 0.7rem;
    color: #999;
    opacity: 0.6;
}

.top-row[b-vuxl6eh1o6]  .messages-button {
    position: relative;
    border: 0;
    cursor: pointer;
    font-size: inherit;
    line-height: inherit;
    margin-left: 1.5rem;
}

.top-row[b-vuxl6eh1o6]  .messages-button:hover {
    text-decoration: underline;
}

.top-row[b-vuxl6eh1o6]  .messages-badge {
    position: absolute;
    top: -0.4rem;
    right: -0.4rem;
    min-width: 1.15rem;
    height: 1.15rem;
    padding: 0 0.3rem;
    border-radius: 999px;
    background: #d92d20;
    color: #fff;
    font-size: 0.7rem;
    font-weight: 700;
    line-height: 1.15rem;
    text-align: center;
}

@media (max-width: 1023.98px), (min-width: 1024px) and (pointer: coarse) {
    .top-row[b-vuxl6eh1o6]  .messages-button {
        margin-left: 0;
    }
}
/* /Pages/FavouriteStories.razor.rz.scp.css */
.page-container[b-apnuxf0ten] {
    --page-gutter: 0.25rem;
    --ink: #1c1c22;
    --ink-soft: #55555f;
    --accent: #8b5e34;
    --surface: #ffffff;
    --surface-warm: #f5f8fd;
    display: flex;
    flex-direction: column;
    min-height: 0;
    height: 100%;
    padding-left: var(--page-gutter);
    padding-right: var(--page-gutter);
    width: 100%;
    overflow-x: auto;
    position: relative;
    isolation: isolate;
    color: var(--ink);
}

.fav-grain[b-apnuxf0ten] {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    opacity: 0.03;
    mix-blend-mode: overlay;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3'/></filter><rect width='160' height='160' filter='url(%23n)'/></svg>");
}

@media (prefers-reduced-motion: no-preference) {
    @supports (animation-timeline: view()) {
        .reveal[b-apnuxf0ten] {
            animation: fav-reveal-in-b-apnuxf0ten linear both;
            animation-timeline: view();
            animation-range: entry 3% cover 20%;
        }
    }

    @supports not (animation-timeline: view()) {
        .reveal[b-apnuxf0ten] {
            animation: fav-reveal-in-b-apnuxf0ten 0.6s cubic-bezier(0.22, 1, 0.36, 1) both;
        }
    }
}

@keyframes fav-reveal-in-b-apnuxf0ten {
    from {
        opacity: 0;
        transform: translate3d(0, 20px, 0);
    }

    to {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

.fav-header[b-apnuxf0ten] {
    position: relative;
    margin-top: 0.75rem;
    margin-bottom: 1.1rem;
    padding-bottom: 0.75rem;
}

.fav-header[b-apnuxf0ten]::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 4rem;
    height: 2px;
    background: linear-gradient(90deg, var(--accent), rgba(139, 94, 52, 0));
}

.fav-eyebrow[b-apnuxf0ten] {
    display: inline-block;
    margin-bottom: 0.5rem;
    padding: 0.28rem 0.85rem;
    border: 1px solid rgba(139, 94, 52, 0.45);
    border-radius: 999px;
    background: rgba(139, 94, 52, 0.08);
    font-size: 0.68rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: #724a28;
}

.fav-title[b-apnuxf0ten] {
    margin: 0;
    font-size: clamp(1.5rem, 2.6vw, 2.1rem);
    font-weight: 650;
    letter-spacing: -0.025em;
}

.fav-subtitle[b-apnuxf0ten] {
    margin: 0.35rem 0 0;
    font-size: 0.95rem;
    color: var(--ink-soft);
}

.fav-panel[b-apnuxf0ten] {
    border: 1px solid rgba(28, 28, 34, 0.12);
    border-radius: 16px;
    background: #ffffff;
    backdrop-filter: blur(12px);
    box-shadow: 0 8px 24px rgba(28, 28, 34, 0.06);
    padding: 0.85rem 0.9rem;
    margin-bottom: 0.9rem;
}

.fav-toolbar[b-apnuxf0ten] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* The tag palette is hidden on mobile/tablet, so hide its now-empty panel too. */
@media (max-width: 1023.98px), not (pointer: fine) {
    .fav-panel-tags[b-apnuxf0ten] {
        display: none;
    }
}

.fav-alert[b-apnuxf0ten] {
    border: 1px solid rgba(28, 28, 34, 0.12);
    border-radius: 14px;
    box-shadow: 0 6px 18px rgba(28, 28, 34, 0.06);
}

.fav-grid-shell[b-apnuxf0ten] {
    border: 1px solid rgba(28, 28, 34, 0.12);
    border-radius: 18px;
    overflow: hidden;
    background: var(--surface);
    box-shadow: 0 12px 34px rgba(28, 28, 34, 0.08);
}

.page-container[b-apnuxf0ten]  .favourites-grid .e-grid {
    border: none;
}

.page-container[b-apnuxf0ten]  .favourites-grid .e-headercell {
    background: var(--surface-warm);
    color: #6c6c78;
    font-size: 0.72rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.page-container[b-apnuxf0ten]  .favourites-grid .e-rowcell {
    transition: background-color 0.2s ease;
}

.page-container[b-apnuxf0ten]  .favourites-grid .e-row:hover .e-rowcell {
    background: rgba(139, 94, 52, 0.06);
}

.page-container[b-apnuxf0ten]  .favourites-grid a {
    color: var(--ink);
    text-decoration: none;
    background-image: linear-gradient(var(--accent), var(--accent));
    background-size: 0% 1px;
    background-repeat: no-repeat;
    background-position: 0 100%;
    transition: background-size 0.3s ease, color 0.3s ease;
}

.page-container[b-apnuxf0ten]  .favourites-grid a:hover {
    color: var(--accent);
    background-size: 100% 1px;
}

.page-container :deep(.favourites-filter-bar)[b-apnuxf0ten] {
    margin-bottom: 0;
}

.filter-hiding-all-hint[b-apnuxf0ten] {
    margin-left: 0.75rem;
    color: #b02a37;
    font-weight: 600;
    white-space: nowrap;
    text-decoration: underline;
    cursor: pointer;
}

/* Layout visibility and card-list columns live in wwwroot/css/responsive.css. */
.mobile-card[b-apnuxf0ten] {
    border: 1px solid rgba(28, 28, 34, 0.07);
    border-radius: 16px;
    padding: 0.85rem;
    margin-bottom: 0.75rem;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(250, 248, 244, 0.88));
    box-shadow: 0 8px 22px rgba(28, 28, 34, 0.06);
    transition: transform 0.25s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.25s ease;
    will-change: transform;
}

@media (hover: hover) and (pointer: fine) {
    .mobile-card:hover[b-apnuxf0ten] {
        transform: translate3d(0, -3px, 0);
        box-shadow: 0 16px 34px rgba(28, 28, 34, 0.12);
    }
}

.mobile-card-field[b-apnuxf0ten] {
    display: flex;
    flex-direction: column;
    padding: 0.25rem 0;
}

.mobile-card-field + .mobile-card-field[b-apnuxf0ten] {
    border-top: 1px solid #f1f3f5;
}

.mobile-card-tags-field[b-apnuxf0ten] {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem;
}

.mobile-card-label[b-apnuxf0ten] {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #6c757d;
}

.mobile-card-value[b-apnuxf0ten] {
    font-size: 0.95rem;
    color: #212529;
    overflow-wrap: anywhere;
}

.mobile-card-actions[b-apnuxf0ten] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem;
    padding-top: 0.5rem;
    margin-top: 0.25rem;
    border-top: 1px solid #f1f3f5;
}

.mobile-empty[b-apnuxf0ten] {
    padding: 1rem;
    color: #6c757d;
}

.page-container[b-apnuxf0ten]  .favourites-grid {
    min-height: 0;
}

.page-container[b-apnuxf0ten]  .favourites-grid .e-grid {
    min-width: 680px;
}

@media (min-width: 640px) {
    .page-container[b-apnuxf0ten] {
        --page-gutter: 0.5rem;
        overflow-x: visible;
    }

    .page-container[b-apnuxf0ten]  .favourites-grid .e-grid {
        min-width: 0;
    }
}

@media (min-width: 768px) {
    .page-container[b-apnuxf0ten] {
        --page-gutter: 0.75rem;
    }
}

@media (min-width: 1024px) {
    .page-container[b-apnuxf0ten] {
        --page-gutter: 1rem;
    }
}

@media (min-width: 1280px) {
    .page-container[b-apnuxf0ten] {
        --page-gutter: 1.25rem;
    }
}

@media (min-width: 1536px) {
    .page-container[b-apnuxf0ten] {
        --page-gutter: 1.5rem;
    }
}
/* /Pages/Guide.razor.rz.scp.css */
.guide-page[b-j6wr8vphu3] {
    --ink: #1c1c22;
    --ink-soft: #55555f;
    --accent: #8b5e34;
    --accent-light: #b07a4b;
    --surface-warm: #f5f8fd;
    max-width: 60rem;
    margin: 0 auto;
    padding: 0 0.75rem 2rem;
    color: var(--ink);
    scroll-behavior: smooth;
}

.guide-header[b-j6wr8vphu3] {
    position: relative;
    margin-top: 0.75rem;
    margin-bottom: 1.1rem;
    padding-bottom: 0.75rem;
}

.guide-header[b-j6wr8vphu3]::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 4rem;
    height: 2px;
    background: linear-gradient(90deg, var(--accent), rgba(139, 94, 52, 0));
}

.guide-eyebrow[b-j6wr8vphu3] {
    display: inline-block;
    margin-bottom: 0.5rem;
    padding: 0.28rem 0.85rem;
    border: 1px solid rgba(139, 94, 52, 0.45);
    border-radius: 999px;
    background: rgba(139, 94, 52, 0.08);
    font-size: 0.68rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: #724a28;
}

.guide-title[b-j6wr8vphu3] {
    margin: 0;
    font-size: clamp(1.5rem, 2.6vw, 2.1rem);
    font-weight: 650;
    letter-spacing: -0.025em;
}

.guide-subtitle[b-j6wr8vphu3] {
    margin: 0.35rem 0 0;
    font-size: 0.95rem;
    color: var(--ink-soft);
}

.guide-panel[b-j6wr8vphu3] {
    border: 1px solid rgba(28, 28, 34, 0.12);
    border-radius: 16px;
    background: #ffffff;
    box-shadow: 0 8px 24px rgba(28, 28, 34, 0.06);
    padding: 1rem 1.25rem;
    margin-bottom: 0.9rem;
    font-size: 0.92rem;
    line-height: 1.6;
    scroll-margin-top: 1rem;
}

.guide-panel p:last-child[b-j6wr8vphu3],
.guide-panel ul:last-child[b-j6wr8vphu3],
.guide-panel ol:last-child[b-j6wr8vphu3] {
    margin-bottom: 0;
}

.guide-section-title[b-j6wr8vphu3] {
    font-size: 1.05rem;
    font-weight: 650;
    letter-spacing: -0.01em;
    margin-bottom: 0.6rem;
    padding-left: 0.6rem;
    border-left: 3px solid var(--accent);
}

.guide-panel a[b-j6wr8vphu3] {
    color: var(--accent);
    text-decoration: none;
}

.guide-panel a:hover[b-j6wr8vphu3] {
    text-decoration: underline;
}

.guide-toc-label[b-j6wr8vphu3] {
    display: block;
    font-size: 0.72rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #6c6c78;
    margin-bottom: 0.4rem;
}

.guide-toc ul[b-j6wr8vphu3] {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.guide-toc a[b-j6wr8vphu3] {
    display: inline-block;
    padding: 0.2rem 0.7rem;
    border: 1px solid rgba(28, 28, 34, 0.12);
    border-radius: 999px;
    background: var(--surface-warm);
    color: var(--ink);
    font-size: 0.8rem;
    transition: border-color 0.2s ease, color 0.2s ease;
}

.guide-toc a:hover[b-j6wr8vphu3] {
    border-color: var(--accent);
    color: var(--accent);
    text-decoration: none;
}

.guide-steps li[b-j6wr8vphu3] {
    margin-bottom: 0.2rem;
}

.guide-cards[b-j6wr8vphu3] {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr));
    gap: 0.75rem;
    margin-bottom: 0.75rem;
}

.guide-card[b-j6wr8vphu3] {
    border: 1px solid rgba(28, 28, 34, 0.08);
    border-radius: 12px;
    background: var(--surface-warm);
    padding: 0.8rem 0.95rem;
}

.guide-card p[b-j6wr8vphu3],
.guide-card ul[b-j6wr8vphu3] {
    margin-bottom: 0.5rem;
}

.guide-card > :last-child[b-j6wr8vphu3] {
    margin-bottom: 0;
}

.guide-card-head[b-j6wr8vphu3] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    margin-bottom: 0.4rem;
}

.guide-card-title[b-j6wr8vphu3] {
    font-weight: 650;
}

.guide-pill[b-j6wr8vphu3] {
    display: inline-block;
    padding: 0.1rem 0.55rem;
    border-radius: 999px;
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    vertical-align: middle;
    white-space: nowrap;
}

.guide-pill-credit[b-j6wr8vphu3] {
    border: 1px solid rgba(139, 94, 52, 0.45);
    background: rgba(139, 94, 52, 0.1);
    color: #724a28;
}

.guide-pill-free[b-j6wr8vphu3] {
    border: 1px solid rgba(25, 135, 84, 0.4);
    background: rgba(25, 135, 84, 0.08);
    color: #146c43;
}

.guide-example[b-j6wr8vphu3] {
    font-style: italic;
    color: var(--ink-soft);
    padding-left: 0.7rem;
    border-left: 2px solid rgba(139, 94, 52, 0.35);
}

.guide-tip[b-j6wr8vphu3],
.guide-note[b-j6wr8vphu3] {
    font-size: 0.84rem;
    color: var(--ink-soft);
}

.guide-features[b-j6wr8vphu3] {
    margin: 0;
}

.guide-features > div[b-j6wr8vphu3] {
    padding: 0.55rem 0;
    border-top: 1px solid #f0f0f0;
}

.guide-features > div:first-child[b-j6wr8vphu3] {
    border-top: none;
    padding-top: 0;
}

.guide-features dt[b-j6wr8vphu3] {
    font-weight: 600;
    margin-bottom: 0.15rem;
}

.guide-features dd[b-j6wr8vphu3] {
    margin: 0;
    color: var(--ink-soft);
}

.guide-help[b-j6wr8vphu3] {
    background: linear-gradient(180deg, #ffffff, rgba(139, 94, 52, 0.05));
}

kbd[b-j6wr8vphu3] {
    padding: 0.05rem 0.35rem;
    font-size: 0.78rem;
    color: var(--ink);
    background: var(--surface-warm);
    border: 1px solid rgba(28, 28, 34, 0.18);
    border-radius: 4px;
}
/* /Pages/Messages.razor.rz.scp.css */
.messages-page[b-w3k61xr2lx] {
    max-width: 60rem;
    margin: 0 auto;
    padding: 0 0.75rem 2rem;
}

.messages-heading[b-w3k61xr2lx] {
    margin: 0.75rem 0 1rem;
}

.messages-item[b-w3k61xr2lx] {
    padding: 0.6rem 0;
    border-bottom: 1px solid #e3e7ee;
}
/* /Pages/PaymentReturn.razor.rz.scp.css */
.payment-return[b-njjafususu] {
    display: flex;
    justify-content: center;
    padding: 3rem 1.25rem;
}

.payment-return-card[b-njjafususu] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    max-width: 34rem;
    padding: 2.5rem;
    border-radius: 16px;
    background: #ffffff;
    box-shadow: 0 18px 48px rgba(20, 19, 26, 0.12);
    text-align: center;
}

.payment-return-card h2[b-njjafususu] {
    margin: 0;
    font-size: 1.5rem;
}

.payment-return-card p[b-njjafususu] {
    margin: 0;
    color: #55555f;
    line-height: 1.7;
}
/* /Pages/Search.razor.rz.scp.css */
.search-controls .form-control[b-wzv6yms3fm] {
    padding-left: 0.75rem;
}

/* Syncfusion capitalizes tab header text by default; keep the stored search text casing. */
[b-wzv6yms3fm] .e-tab .e-tab-text {
    text-transform: none !important;
}

[b-wzv6yms3fm] .e-tab .searches-list-tab .e-tab-text,
[b-wzv6yms3fm] .e-tab .e-toolbar-item.searches-list-tab .e-tab-text {
    font-weight: bold !important;
}

.search-page-container[b-wzv6yms3fm] {
    --page-gutter: 0.25rem;
    --ink: #1c1c22;
    --ink-soft: #55555f;
    --accent: #8b5e34;
    --accent-light: #b07a4b;
    --surface-warm: #f5f8fd;
    display: flex;
    flex-direction: column;
    height: 100%;
    overflow: hidden;
    min-height: 0;
    color: var(--ink);
}

@media (prefers-reduced-motion: no-preference) {
    .search-header[b-wzv6yms3fm],
    .search-controls[b-wzv6yms3fm],
    .tab-container[b-wzv6yms3fm] {
        animation: search-rise-in-b-wzv6yms3fm 0.5s cubic-bezier(0.22, 1, 0.36, 1) both;
    }

    .search-controls[b-wzv6yms3fm] {
        animation-delay: 0.06s;
    }

    .tab-container[b-wzv6yms3fm] {
        animation-delay: 0.12s;
    }
}

@keyframes search-rise-in-b-wzv6yms3fm {
    from {
        opacity: 0;
        transform: translate3d(0, 12px, 0);
    }

    to {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

.search-controls[b-wzv6yms3fm] {
    padding-left: var(--page-gutter);
    padding-right: var(--page-gutter);
    flex-shrink: 0;
}

/* ── Editorial header ──────────────────────────────────────────── */
.search-header[b-wzv6yms3fm] {
    position: relative;
    flex-shrink: 0;
    padding: 0 var(--page-gutter) 0.6rem;
    margin-top: 0.75rem;
    margin-bottom: 0.75rem;
}

.search-header[b-wzv6yms3fm]::after {
    content: "";
    position: absolute;
    left: var(--page-gutter);
    bottom: 0;
    width: 4rem;
    height: 2px;
    background: linear-gradient(90deg, var(--accent), rgba(139, 94, 52, 0));
}

.search-eyebrow[b-wzv6yms3fm] {
    display: inline-block;
    margin-bottom: 0.4rem;
    padding: 0.28rem 0.85rem;
    border: 1px solid rgba(139, 94, 52, 0.45);
    border-radius: 999px;
    background: rgba(139, 94, 52, 0.08);
    font-size: 0.68rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: #724a28;
}

.search-title[b-wzv6yms3fm] {
    margin: 0;
    font-size: clamp(1.5rem, 2.6vw, 2.1rem);
    font-weight: 650;
    letter-spacing: -0.025em;
}

.search-subtitle[b-wzv6yms3fm] {
    margin: 0.3rem 0 0;
    font-size: 0.95rem;
    color: var(--ink-soft);
}

.search-controls[b-wzv6yms3fm]  .search-mode-tabs.e-tab .e-content {
    border: 1px solid rgba(28, 28, 34, 0.12);
    border-top: 0;
    border-radius: 0 0 16px 16px;
    padding: 0.6rem 0.85rem;
    background: #ffffff;
    box-shadow: 0 8px 24px rgba(28, 28, 34, 0.06);
}

.search-controls[b-wzv6yms3fm]  .search-mode-tabs.e-tab .e-tab-header {
    border-bottom: 1px solid rgba(28, 28, 34, 0.12);
    background: transparent;
}

.search-controls[b-wzv6yms3fm]  .search-mode-tabs.e-tab .e-tab-header .e-toolbar-items {
    background: transparent;
}

.search-controls[b-wzv6yms3fm]  .search-mode-tabs.e-tab .e-tab-header .e-toolbar-item {
    background: transparent;
    border-radius: 10px 10px 0 0;
}

.search-controls[b-wzv6yms3fm]  .search-mode-tabs.e-tab .e-tab-header .e-toolbar-item.e-active {
    background: #ffffff;
}

.search-controls[b-wzv6yms3fm]  .search-mode-tabs.e-tab .e-tab-header .e-tab-text {
    font-size: 0.78rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #6c6c78;
}

.search-controls[b-wzv6yms3fm]  .search-mode-tabs.e-tab .e-tab-header .e-toolbar-item.e-active .e-tab-text {
    color: var(--ink);
}

.search-controls[b-wzv6yms3fm]  .search-mode-tabs.e-tab .e-tab-header .e-indicator {
    background: linear-gradient(90deg, var(--accent), var(--accent-light));
}

.search-controls[b-wzv6yms3fm]  .form-select,
.search-controls[b-wzv6yms3fm]  .form-control {
    border: 1px solid rgba(28, 28, 34, 0.12);
    border-radius: 10px;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.search-controls[b-wzv6yms3fm]  .form-select:focus,
.search-controls[b-wzv6yms3fm]  .form-control:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(139, 94, 52, 0.18);
}

.keyword-fulltext-action .btn-primary[b-wzv6yms3fm] {
    border: 1px solid rgba(139, 94, 52, 0.45);
    border-radius: 999px;
    padding-inline: 1.35rem;
    font-weight: 600;
    letter-spacing: 0.01em;
    color: #f2f7ff;
    background: linear-gradient(180deg, var(--accent-light), var(--accent));
    box-shadow: 0 4px 12px rgba(101, 67, 33, 0.2);
    transition: transform 0.2s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.2s ease, filter 0.2s ease;
    will-change: transform;
}

@media (hover: hover) and (pointer: fine) {
    .keyword-fulltext-action .btn-primary:hover:not(:disabled)[b-wzv6yms3fm] {
        transform: translate3d(0, -1px, 0);
        filter: brightness(1.04);
        box-shadow: 0 4px 12px rgba(101, 67, 33, 0.2);
        text-decoration: underline;
        text-underline-offset: 2px;
    }
}

.keyword-fulltext-action .btn-primary:active:not(:disabled)[b-wzv6yms3fm] {
    transform: translate3d(0, 0, 0);
}

.keyword-fulltext-action .btn-primary:disabled[b-wzv6yms3fm] {
    filter: grayscale(0.35);
    opacity: 0.7;
}

.keyword-fulltext-panel[b-wzv6yms3fm] {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1rem;
    align-items: flex-end;
}

.keyword-fulltext-field[b-wzv6yms3fm] {
    display: flex;
    flex-direction: column;
    min-width: 0;
    flex: 1 1 100%;
    padding-top: 0.5rem;
}

.keyword-fulltext-keywords-field[b-wzv6yms3fm] {
    flex: 1 1 100%;
}

.keyword-fulltext-action[b-wzv6yms3fm] {
    display: flex;
    align-items: flex-end;
    flex: 0 0 auto;
    width: 100%;
}

.keyword-fulltext-action .btn[b-wzv6yms3fm] {
    width: 100%;
}

.keyword-fulltext-number[b-wzv6yms3fm] {
    max-width: 180px;
}

.search-controls[b-wzv6yms3fm]  .search-message-dialog .e-dlg-content {
    padding-top: 1rem;
}

.search-status-alert[b-wzv6yms3fm] {
    margin-top: 1rem;
    border: 1px solid rgba(28, 28, 34, 0.12);
    border-radius: 14px;
    box-shadow: 0 6px 18px rgba(28, 28, 34, 0.06);
}

.tab-container[b-wzv6yms3fm] {
    padding-left: var(--page-gutter);
    padding-right: var(--page-gutter);
    flex: 1 1 auto;
    min-height: 0;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

/* The tag palette is hidden on mobile/tablet; keep a small gap where it was. */
@media (max-width: 1023.98px), not (pointer: fine) {
    .tab-container[b-wzv6yms3fm] {
        margin-top: 25px;
    }
}

.tab-container[b-wzv6yms3fm]  .e-tab {
    height: 100%;
    min-height: 0;
    display: flex;
    flex-direction: column;
}

.tab-container[b-wzv6yms3fm]  .e-content,
.tab-container[b-wzv6yms3fm]  .e-item {
    flex: 1 1 auto;
    min-height: 0;
    height: 100%;
    overflow: hidden;
}

.tab-container[b-wzv6yms3fm]  .search-grid.e-tab > .e-content {
    border: 0;
}

.tab-container[b-wzv6yms3fm]  .e-tab .e-tab-header,
.tab-container[b-wzv6yms3fm]  .e-tab .e-tab-header .e-toolbar-items,
.tab-container[b-wzv6yms3fm]  .e-tab .e-tab-header .e-toolbar-item {
    background: transparent;
}

.tab-container[b-wzv6yms3fm]  .e-tab .e-tab-header .e-toolbar-item.e-active {
    background: #ffffff;
}

.tab-container[b-wzv6yms3fm]  .e-tab .e-tab-header .e-indicator {
    background: linear-gradient(90deg, var(--accent), var(--accent-light));
}

.tab-container[b-wzv6yms3fm]  .e-tab .e-tab-header .e-toolbar-item.e-active .e-tab-text {
    color: var(--ink);
}

/* Colour blink (no movement), so it still runs when OS animation effects are off. */
.tab-container[b-wzv6yms3fm]  .e-tab .e-tab-header .e-toolbar-item.result-tab-highlight .e-tab-wrap {
    border-radius: 6px 6px 0 0;
    animation: result-tab-flash-b-wzv6yms3fm 1s steps(1, end) 4;
}

.tab-container[b-wzv6yms3fm]  .e-tab .e-tab-header .e-toolbar-item.result-tab-highlight .e-tab-text {
    animation: result-tab-flash-text-b-wzv6yms3fm 1s steps(1, end) 4;
}

@keyframes result-tab-flash-b-wzv6yms3fm {
    0% {
        background: var(--accent);
    }

    50% {
        background: transparent;
    }
}

@keyframes result-tab-flash-text-b-wzv6yms3fm {
    0% {
        color: #ffffff;
    }

    50% {
        color: var(--ink);
    }
}

.search-grid[b-wzv6yms3fm] {
    height: 100%;
    min-height: 0;
}

.initial-load-state[b-wzv6yms3fm] {
    flex: 1 1 auto;
    min-height: 0;
    position: relative;
}

.search-grid[b-wzv6yms3fm]  .e-tab-header .e-toolbar-item.searches-tab .e-close-icon,
.search-grid[b-wzv6yms3fm]  .e-tab-header .e-toolbar-item.searches-tab .e-close-icon.e-icons {
    display: none !important;
}

.result-tab-wrapper[b-wzv6yms3fm] {
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 0;
    overflow: hidden;
}

@media (max-width: 639.98px) {
    .search-page-container[b-wzv6yms3fm] {
        height: auto;
        overflow: visible;
    }

    .tab-container[b-wzv6yms3fm] {
        overflow: visible;
        flex: 0 0 auto;
    }

    .tab-container[b-wzv6yms3fm]  .e-tab {
        height: auto;
    }

    .tab-container[b-wzv6yms3fm]  .e-content,
    .tab-container[b-wzv6yms3fm]  .e-item {
        height: auto;
        overflow: visible;
    }

    .search-grid[b-wzv6yms3fm] {
        height: auto;
    }

    /* Mobile card list flows naturally; let the wrapper grow with content */
    .result-tab-wrapper[b-wzv6yms3fm] {
        height: auto;
        overflow: visible;
    }

    .initial-load-state[b-wzv6yms3fm] {
        height: 200px;
        flex: none;
    }

    /* The active nav pill already names the page, so the editorial header is reduced to the title. */
    .search-eyebrow[b-wzv6yms3fm],
    .search-subtitle[b-wzv6yms3fm],
    .search-header[b-wzv6yms3fm]::after {
        display: none;
    }

    .search-header[b-wzv6yms3fm] {
        margin-top: 0.5rem;
        margin-bottom: 0.5rem;
        padding-bottom: 0;
    }

    .search-title[b-wzv6yms3fm] {
        font-size: 1.35rem;
    }
}

@media (min-width: 640px) {
    .search-page-container[b-wzv6yms3fm] {
        --page-gutter: 0.5rem;
    }

    .keyword-fulltext-panel[b-wzv6yms3fm] {
        gap: 0.75rem 1rem;
    }

    .keyword-fulltext-field[b-wzv6yms3fm] {
        min-width: 220px;
        flex: 1 1 220px;
        padding-top: 15px;
    }

    .keyword-fulltext-keywords-field[b-wzv6yms3fm] {
        flex: 2 1 460px;
    }

    .keyword-fulltext-action[b-wzv6yms3fm] {
        width: auto;
    }

    .keyword-fulltext-action .btn[b-wzv6yms3fm] {
        width: auto;
    }
}

@media (min-width: 768px) {
    .search-page-container[b-wzv6yms3fm] {
        --page-gutter: 0.75rem;
    }
}

@media (min-width: 1024px) {
    .search-page-container[b-wzv6yms3fm] {
        --page-gutter: 1rem;
    }
}

@media (min-width: 1280px) {
    .search-page-container[b-wzv6yms3fm] {
        --page-gutter: 1.25rem;
    }
}

@media (min-width: 1536px) {
    .search-page-container[b-wzv6yms3fm] {
        --page-gutter: 1.5rem;
    }
}

/* /Pages/Settings.razor.rz.scp.css */
.settings-page[b-d5sxw0m8l6] {
    max-width: 700px;
    margin: 0 auto;
    padding: 1.5rem 1rem;
}

.settings-heading[b-d5sxw0m8l6] {
    font-size: 1.35rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: #212529;
}

.settings-section[b-d5sxw0m8l6] {
    border: 1px solid #dee2e6;
    border-radius: 6px;
    padding: 1rem 1.25rem;
    margin-bottom: 1.25rem;
    background-color: #fff;
}

.settings-section-title[b-d5sxw0m8l6] {
    font-size: 0.95rem;
    font-weight: 600;
    color: #495057;
    margin-bottom: 0.25rem;
}

.settings-section-description[b-d5sxw0m8l6] {
    font-size: 0.82rem;
    color: #6c757d;
    margin-bottom: 0.85rem;
}

.settings-row[b-d5sxw0m8l6] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.55rem 0;
    border-top: 1px solid #f0f0f0;
}

.settings-row:first-of-type[b-d5sxw0m8l6] {
    border-top: none;
}

.settings-row-label[b-d5sxw0m8l6] {
    flex: 1 1 auto;
    font-size: 0.88rem;
    color: #212529;
    min-width: 0;
}

.settings-row-control[b-d5sxw0m8l6] {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.settings-badge[b-d5sxw0m8l6] {
    font-size: 0.8rem;
    min-width: 2rem;
    text-align: center;
}
/* /Shared/LoginDisplay.razor.rz.scp.css */
.login-button[b-i51l6mpfr3] {
    padding: 0.35rem 0.8rem;
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.5;
    color: #f2f7ff;
    border: none;
    border-radius: 999px;
    background: linear-gradient(135deg, #b07a4b, #8b5e34);
    box-shadow: none;
    transition: transform 0.2s ease, background 0.2s ease;
}

.login-button:hover[b-i51l6mpfr3],
.login-button:active[b-i51l6mpfr3],
.login-button:focus-visible[b-i51l6mpfr3] {
    transform: translate3d(0, -2px, 0);
    background: linear-gradient(135deg, #a87045, var(--brand-600));
    box-shadow: none !important;
    filter: none !important;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.login-user-name[b-i51l6mpfr3] {
    color: #000;
    font-weight: 500;
}

@media (max-width: 639.98px) {
    .login-button[b-i51l6mpfr3] {
        padding: 0.3rem 0.65rem;
        font-size: 0.85rem;
    }

    .login-user-name[b-i51l6mpfr3] {
        display: none;
    }
}

.login-modal-shell[b-i51l6mpfr3] {
    z-index: 1060;
}

.login-modal-dialog[b-i51l6mpfr3] {
    max-width: 34rem;
}

.login-modal-content[b-i51l6mpfr3] {
    border: 1px solid rgba(214, 182, 120, 0.28);
    border-radius: 20px;
    overflow: hidden;
    background: radial-gradient(120% 140% at 12% 0%, #2a2340 0%, #14131a 62%),
                linear-gradient(135deg, #14131a 0%, #3d2b52 100%);
    color: #f5f3ef;
    box-shadow: 0 30px 80px rgba(20, 19, 26, 0.55);
}

.login-modal-header[b-i51l6mpfr3] {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1rem 1.1rem 0.9rem;
}

.login-modal-title[b-i51l6mpfr3] {
    font-size: 1.2rem;
    font-weight: 650;
    letter-spacing: -0.01em;
}

.login-modal-body[b-i51l6mpfr3] {
    padding: 1rem 1.1rem 1.2rem;
}

.login-modal-text[b-i51l6mpfr3] {
    color: rgba(245, 243, 239, 0.82);
}

.login-modal-body .form-label[b-i51l6mpfr3] {
    color: rgba(245, 243, 239, 0.9);
    font-size: 0.87rem;
    letter-spacing: 0.02em;
}

.login-modal-body .form-control[b-i51l6mpfr3] {
    border: 1px solid rgba(214, 182, 120, 0.35);
    background: #fff;
    color: #000;
    border-radius: 12px;
}

.login-modal-body .form-control[b-i51l6mpfr3]::placeholder {
    color: #6c757d;
}

.login-modal-body .form-control:focus[b-i51l6mpfr3] {
    border-color: rgba(214, 182, 120, 0.72);
    box-shadow: 0 0 0 0.2rem rgba(101, 67, 33, 0.2);
    background: #fff;
    color: #000;
}

.login-code-input[b-i51l6mpfr3] {
    letter-spacing: 6px;
    font-size: 1.25rem;
}

.login-primary-btn[b-i51l6mpfr3] {
    border: none;
    border-radius: 999px;
    font-weight: 600;
    background: linear-gradient(135deg, #b07a4b, #8b5e34);
    color: #1c1c22;
    box-shadow: 0 10px 24px rgba(101, 67, 33, 0.24);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.login-primary-btn:hover[b-i51l6mpfr3],
.login-primary-btn:focus-visible[b-i51l6mpfr3] {
    transform: translate3d(0, -2px, 0);
    background: linear-gradient(135deg, #f3f6fa, var(--brand-600));
    color: #1c1c22;
    box-shadow: 0 10px 24px rgba(101, 67, 33, 0.24);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.login-secondary-btn[b-i51l6mpfr3] {
    border-radius: 999px;
    border-color: rgba(255, 255, 255, 0.35);
    color: rgba(245, 243, 239, 0.95);
    background: rgba(255, 255, 255, 0.06);
}

.login-secondary-btn:hover[b-i51l6mpfr3],
.login-secondary-btn:focus-visible[b-i51l6mpfr3] {
    border-color: rgba(255, 255, 255, 0.55);
    color: #fff;
    background: rgba(255, 255, 255, 0.14);
}

.login-error[b-i51l6mpfr3] {
    color: #ffb4b4 !important;
}

.login-modal-backdrop[b-i51l6mpfr3] {
    background-color: rgba(9, 8, 14, 0.68);
    backdrop-filter: blur(5px);
}

.social-login-btn[b-i51l6mpfr3] {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    border-radius: 12px;
    padding: 0.7rem 0.9rem;
    border: 1px solid rgba(214, 182, 120, 0.3);
    font-weight: 500;
    font-size: 1rem;
    text-align: left;
    transition: transform 0.18s ease, background-color 0.18s ease, box-shadow 0.18s ease;
}

.social-login-btn:hover[b-i51l6mpfr3] {
    transform: translate3d(0, -2px, 0);
    box-shadow: 0 10px 24px rgba(20, 19, 26, 0.35);
}

.social-icon[b-i51l6mpfr3] {
    width: 1.5rem;
    height: 1.5rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 1.5rem;
}

.social-google[b-i51l6mpfr3] {
    background-color: rgba(255, 255, 255, 0.96);
    color: #3c4043;
    border-color: rgba(218, 220, 224, 0.8);
}

.social-google:hover[b-i51l6mpfr3] {
    background-color: #ffffff;
}

.social-email[b-i51l6mpfr3] {
    background-color: rgba(255, 255, 255, 0.96);
    color: #3c4043;
    border-color: rgba(218, 220, 224, 0.8);
}

.social-email:hover[b-i51l6mpfr3] {
    background-color: #ffffff;
}

.social-microsoft[b-i51l6mpfr3] {
    background-color: rgba(255, 255, 255, 0.96);
    color: #1f1f1f;
    border-color: rgba(208, 215, 222, 0.8);
}

.social-microsoft:hover[b-i51l6mpfr3] {
    background-color: #ffffff;
}

.social-letter-icon[b-i51l6mpfr3] {
    border-radius: 50%;
    font-weight: 700;
    font-family: Arial, sans-serif;
    line-height: 1;
}

.email-icon[b-i51l6mpfr3] {
    color: #ffc107;
}

.microsoft-icon[b-i51l6mpfr3] {
    display: grid;
    width: 1.4rem;
    height: 1.4rem;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(2, 1fr);
    gap: 2px;
}

.ms-square[b-i51l6mpfr3] {
    width: 100%;
    height: 100%;
    display: block;
    aspect-ratio: 1 / 1;
}

.ms-red[b-i51l6mpfr3] {
    background-color: #f25022;
}

.ms-green[b-i51l6mpfr3] {
    background-color: #7fba00;
}

.ms-blue[b-i51l6mpfr3] {
    background-color: #00a4ef;
}

.ms-yellow[b-i51l6mpfr3] {
    background-color: #ffb900;
}

.btn-close[b-i51l6mpfr3] {
    filter: invert(1) brightness(1.3);
    opacity: 0.85;
}

.btn-close:hover[b-i51l6mpfr3],
.btn-close:focus-visible[b-i51l6mpfr3] {
    opacity: 1;
}

/* /Shared/TopUpDialog.razor.rz.scp.css */
.topup-option-btn[b-g5eireby2q] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 0.75rem 1rem;
    border: 2px solid #d0d7de;
    border-radius: 6px;
    background-color: #fff;
    font-size: 1rem;
    cursor: pointer;
    transition: border-color 0.15s ease, background-color 0.15s ease;
}

.topup-option-btn:hover:not(:disabled)[b-g5eireby2q] {
    border-color: #0d6efd;
    background-color: #f0f6ff;
}

.topup-option-btn.selected[b-g5eireby2q] {
    border-color: #0d6efd;
    background-color: #e7f1ff;
}

.topup-option-btn:disabled[b-g5eireby2q] {
    opacity: 0.65;
    cursor: not-allowed;
}

.topup-label[b-g5eireby2q] {
    font-weight: 600;
}
