/* _content/runevents.BIE.PhotoApp/Components/Pages/Capture.razor.rz.scp.css */
/* Full-bleed immersive capture screen (rendered under CaptureLayout — no app bar). */
.cap[b-hfj1s492ce] {
    position: relative;
    z-index: 1;
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    flex-direction: column;
    animation: cap-in-b-hfj1s492ce .45s var(--ease-out) both;
}
@keyframes cap-in-b-hfj1s492ce { from { opacity: 0; } to { opacity: 1; } }

/* ---- Ceremonial header (full width, flush to the top) ----------------- */
.cap-bar[b-hfj1s492ce] {
    display: flex;
    align-items: center;
    gap: .85rem;
    padding: 1.1rem 1.5rem;
    background: linear-gradient(100deg, var(--bie-navy-deep), var(--bie-navy) 45%, var(--bie-ultramarine));
    border-bottom: 2px solid var(--bie-gold);
    color: #fff;
}
.cap-bar__mark[b-hfj1s492ce] {
    display: grid; place-items: center;
    width: 42px; height: 42px;
    border-radius: 11px;
    background: rgba(255, 255, 255, .1);
    border: 1px solid rgba(255, 255, 255, .18);
    color: #fff;
}
.cap-bar__mark svg[b-hfj1s492ce] { width: 24px; height: 24px; }
.cap-bar__txt[b-hfj1s492ce] { display: flex; flex-direction: column; line-height: 1.15; flex: 1; min-width: 0; }
.cap-bar__eyebrow[b-hfj1s492ce] {
    font-family: var(--font-mono);
    font-size: .6rem; letter-spacing: .28em; text-transform: uppercase;
    color: var(--bie-gold-bright);
}
.cap-bar__name[b-hfj1s492ce] {
    font-family: var(--font-serif);
    font-weight: 600; font-size: 1.32rem; letter-spacing: -.01em;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.cap-bar__close[b-hfj1s492ce] {
    display: grid; place-items: center;
    width: 38px; height: 38px; flex: none;
    border-radius: 10px; cursor: pointer;
    background: rgba(255, 255, 255, .08);
    border: 1px solid rgba(255, 255, 255, .16);
    color: #fff;
    transition: background .15s var(--ease);
}
.cap-bar__close:hover[b-hfj1s492ce] { background: rgba(255, 255, 255, .2); }
.cap-bar__close svg[b-hfj1s492ce] { width: 18px; height: 18px; }

/* ---- Identity strip --------------------------------------------------- */
.cap-meta[b-hfj1s492ce] {
    display: flex; align-items: center; justify-content: center; gap: .6rem; flex-wrap: wrap;
    padding: 1.15rem 1.4rem .2rem;
}
.cap-meta__co[b-hfj1s492ce] { color: var(--muted); font-size: .88rem; }

/* ---- Stage (grows to fill, viewfinder centered) ----------------------- */
.cap-stage[b-hfj1s492ce] {
    flex: 1;
    display: grid;
    place-items: center;
    padding: 1.4rem;
}

.cap-ring[b-hfj1s492ce] { position: relative; border-radius: 50%; }
.cap-ring[b-hfj1s492ce]::before {
    content: "";
    position: absolute; inset: -13px;
    border-radius: 50%;
    background: conic-gradient(from 0deg,
        var(--bie-ultramarine), var(--bie-gold), var(--bie-ultramarine),
        var(--bie-gold), var(--bie-ultramarine));
    z-index: 0;
    animation: cap-rot-b-hfj1s492ce 16s linear infinite;
    filter: saturate(1.05);
}
@keyframes cap-rot-b-hfj1s492ce { to { transform: rotate(360deg); } }

.cap-disc[b-hfj1s492ce] {
    position: relative;
    z-index: 1;
    width: min(460px, 86vw, 56vh);
    aspect-ratio: 1;
    border-radius: 50%;
    overflow: hidden;
    background: #0a0f2c;
    box-shadow: 0 22px 60px -18px rgba(5, 13, 82, .7);
}
.cap-disc.is-alpha[b-hfj1s492ce] {
    background:
        conic-gradient(#e9ecf7 25%, #fff 0 50%, #e9ecf7 0 75%, #fff 0) 0 0 / 26px 26px;
}

.cap-video[b-hfj1s492ce], .cap-shot[b-hfj1s492ce] {
    position: absolute; inset: 0;
    width: 100%; height: 100%;
    object-fit: cover;
}
.cap-video.is-off[b-hfj1s492ce] { visibility: hidden; }
.cap-shot[b-hfj1s492ce] { animation: cap-shot-in-b-hfj1s492ce .35s var(--ease-out) both; }
.cap-disc.is-alpha .cap-shot[b-hfj1s492ce] { object-fit: contain; }
@keyframes cap-shot-in-b-hfj1s492ce { from { opacity: 0; transform: scale(1.04); } to { opacity: 1; transform: none; } }

.cap-overlay[b-hfj1s492ce] {
    position: absolute; inset: 0;
    display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .7rem;
    text-align: center; padding: 1.5rem;
    color: #eef0ff;
    background: rgba(7, 13, 50, .55);
    backdrop-filter: blur(2px);
    font-weight: 500;
}
.cap-overlay svg[b-hfj1s492ce] { width: 40px; height: 40px; opacity: .8; }
.cap-overlay--err[b-hfj1s492ce] { background: rgba(40, 8, 20, .62); color: #ffe2e2; }
.cap-overlay--proc[b-hfj1s492ce] { background: rgba(7, 13, 50, .35); }

.cap-link[b-hfj1s492ce] {
    margin-top: .3rem;
    font: 600 .9rem var(--font-sans);
    color: #fff; background: rgba(255, 255, 255, .16);
    border: 1px solid rgba(255, 255, 255, .3);
    border-radius: var(--pill); padding: .45rem 1.1rem; cursor: pointer;
}
.cap-link:hover[b-hfj1s492ce] { background: rgba(255, 255, 255, .28); }

/* Face-positioning guide: dim outside the head shape + a crisp contour (viewfinder only) */
.cap-guide[b-hfj1s492ce] {
    position: absolute; inset: 0;
    width: 100%; height: 100%;
    pointer-events: none; z-index: 2;
    transform: translateY(2%) scale(.92);
    transform-origin: center;
}
.cap-guide__dim[b-hfj1s492ce] { fill: rgba(7, 13, 50, .40); }
.cap-guide__line[b-hfj1s492ce] {
    fill: none;
    stroke: #fff; stroke-opacity: .9; stroke-width: 3;
    vector-effect: non-scaling-stroke;
    filter: drop-shadow(0 0 2px rgba(0, 0, 0, .6));
}

/* Scanning band on the live viewfinder */
.cap-scan[b-hfj1s492ce] {
    position: absolute; left: 0; right: 0; top: 0; height: 32%;
    background: linear-gradient(180deg, transparent, rgba(120, 140, 255, .22), transparent);
    pointer-events: none;
    animation: cap-scan-b-hfj1s492ce 2.8s var(--ease) infinite;
}
@keyframes cap-scan-b-hfj1s492ce {
    0% { transform: translateY(-40%); opacity: 0; }
    18% { opacity: 1; }
    82% { opacity: 1; }
    100% { transform: translateY(320%); opacity: 0; }
}

/* ---- Actions (toward the bottom) -------------------------------------- */
.cap-actions[b-hfj1s492ce] {
    display: flex; align-items: center; justify-content: center; gap: 1rem;
    position: relative;
    padding: 1.2rem 1.4rem 2.4rem;
    min-height: 64px;
}
.cap-actions__hint[b-hfj1s492ce] {
    position: absolute; bottom: 1.1rem;
    font-family: var(--font-mono); font-size: .64rem; letter-spacing: .18em; text-transform: uppercase;
    color: var(--faint);
}

.cap-shutter[b-hfj1s492ce] {
    width: 78px; height: 78px; border-radius: 50%; border: none; cursor: pointer;
    background: #fff;
    box-shadow: 0 0 0 4px var(--bie-ultramarine), var(--shadow-blue);
    display: grid; place-items: center;
    transition: transform .16s var(--ease), box-shadow .16s var(--ease);
}
.cap-shutter span[b-hfj1s492ce] {
    width: 58px; height: 58px; border-radius: 50%; display: block;
    background: linear-gradient(180deg, var(--bie-ultra-bright), var(--bie-ultramarine));
    transition: transform .16s var(--ease);
}
.cap-shutter:hover[b-hfj1s492ce] { transform: scale(1.05); box-shadow: 0 0 0 4px var(--bie-ultra-bright), var(--shadow-blue); }
.cap-shutter:active span[b-hfj1s492ce] { transform: scale(.84); }

.cap-switch[b-hfj1s492ce] {
    position: absolute; left: 1.5rem;
    display: grid; place-items: center;
    width: 46px; height: 46px; border-radius: 50%; cursor: pointer;
    background: var(--surface); border: 1px solid var(--line-strong); color: var(--bie-navy);
    box-shadow: var(--shadow-sm);
    transition: border-color .15s var(--ease), transform .15s var(--ease);
}
.cap-switch:hover[b-hfj1s492ce] { border-color: var(--bie-ultramarine); transform: rotate(-20deg); }
.cap-switch svg[b-hfj1s492ce] { width: 22px; height: 22px; }

.cap-save[b-hfj1s492ce] {
    background: linear-gradient(180deg, var(--bie-ultra-bright), var(--bie-ultramarine));
    box-shadow: 0 0 0 1px var(--bie-gold) inset, var(--shadow-blue);
}
/* _content/runevents.BIE.PhotoApp/Components/Pages/ConfirmDialog.razor.rz.scp.css */
.pc-dlg-overlay[b-d05f9w8ui3] {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9000;
}

.pc-dlg-card[b-d05f9w8ui3] {
    background: white;
    border-radius: 8px;
    padding: 1.25rem 1.5rem 1rem;
    max-width: 460px;
    width: calc(100% - 2rem);
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.35);
    font-family: system-ui, -apple-system, sans-serif;
}

.pc-dlg-title[b-d05f9w8ui3] {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: #222;
}

.pc-dlg-body[b-d05f9w8ui3] {
    font-size: 0.95rem;
    color: #444;
    margin-bottom: 1.1rem;
    line-height: 1.4;
}

.pc-dlg-actions[b-d05f9w8ui3] {
    display: flex;
    justify-content: flex-end;
    gap: 0.6rem;
}

.pc-dlg-btn[b-d05f9w8ui3] {
    padding: 0.5rem 1rem;
    border-radius: 4px;
    border: 1px solid transparent;
    cursor: pointer;
    font: inherit;
    font-weight: 600;
}

.pc-dlg-btn--cancel[b-d05f9w8ui3] {
    background: white;
    color: #444;
    border-color: #bbb;
}

.pc-dlg-btn--cancel:hover[b-d05f9w8ui3] { background: #f5f5f5; }

.pc-dlg-btn--confirm[b-d05f9w8ui3] {
    background: #21ba45;
    color: white;
}

.pc-dlg-btn--confirm:hover[b-d05f9w8ui3] { background: #1ea53d; }
/* _content/runevents.BIE.PhotoApp/Components/Pages/Home.razor.rz.scp.css */
.hp[b-idlo8neocp] {
    position: relative;
    isolation: isolate;
}

/* Banded-sphere watermark drifting behind the hero */
.hp-orb[b-idlo8neocp] {
    position: absolute;
    top: -190px;
    right: -160px;
    width: 540px;
    height: 540px;
    opacity: .06;
    color: var(--bie-ultramarine);
    z-index: -1;
    pointer-events: none;
}

/* ---- Hero ------------------------------------------------------------- */
.hp-hero[b-idlo8neocp] {
    max-width: 680px;
    margin: 1.2rem auto 2.8rem;
    text-align: center;
}
.hp-eyebrow[b-idlo8neocp] {
    display: inline-block;
    font-family: var(--font-mono);
    font-size: .72rem;
    letter-spacing: .34em;
    text-transform: uppercase;
    color: var(--bie-gold);
    margin-bottom: 1.1rem;
    animation: hp-rise-b-idlo8neocp .6s var(--ease-out) both;
}
.hp-title[b-idlo8neocp] {
    font-family: var(--font-serif);
    font-weight: 600;
    font-size: clamp(2.6rem, 5.4vw, 3.9rem);
    line-height: 1.02;
    letter-spacing: -.01em;
    color: var(--bie-navy);
    margin: 0 0 .7rem;
    animation: hp-rise-b-idlo8neocp .6s .07s var(--ease-out) both;
}
.hp-sub[b-idlo8neocp] {
    color: var(--muted);
    font-size: 1.08rem;
    margin: 0 0 2rem;
    animation: hp-rise-b-idlo8neocp .6s .14s var(--ease-out) both;
}

/* ---- Search bar ------------------------------------------------------- */
.hp-search[b-idlo8neocp] {
    display: flex;
    align-items: center;
    gap: .5rem;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--pill);
    padding: .5rem .5rem .5rem 1.25rem;
    box-shadow: var(--shadow);
    max-width: 580px;
    margin: 0 auto;
    transition: box-shadow .25s var(--ease), border-color .25s var(--ease), transform .25s var(--ease);
    animation: hp-rise-b-idlo8neocp .6s .21s var(--ease-out) both;
}
.hp-search:focus-within[b-idlo8neocp] {
    border-color: var(--bie-ultramarine);
    box-shadow: var(--shadow-blue);
    transform: translateY(-1px);
}
.hp-search__icon[b-idlo8neocp] { width: 22px; height: 22px; color: var(--faint); flex: none; }
.hp-search:focus-within .hp-search__icon[b-idlo8neocp] { color: var(--bie-ultramarine); }
.hp-search__input[b-idlo8neocp] {
    flex: 1;
    border: none;
    outline: none;
    background: transparent;
    font: 500 1.12rem/1 var(--font-sans);
    color: var(--ink);
    padding: .55rem .2rem;
}
.hp-search__input[b-idlo8neocp]::placeholder { color: var(--faint); font-weight: 400; }
.hp-search__btn[b-idlo8neocp] { min-width: 120px; display: inline-flex; justify-content: center; align-items: center; }

/* ---- Results ---------------------------------------------------------- */
.hp-results[b-idlo8neocp] { max-width: 1100px; margin: 0 auto; }
.hp-meta[b-idlo8neocp] {
    display: flex; align-items: baseline; gap: 1rem;
    padding: 0 .3rem 1.1rem;
    border-bottom: 1px solid var(--line);
    margin-bottom: 1.6rem;
}
.hp-count[b-idlo8neocp] {
    font-family: var(--font-mono);
    font-size: .8rem;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--bie-navy);
}
.hp-meta .pa-note[b-idlo8neocp] { margin: 0; }

.hp-grid[b-idlo8neocp] {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(232px, 1fr));
    gap: 1.15rem;
}

/* ---- Card ------------------------------------------------------------- */
.hp-card[b-idlo8neocp] {
    position: relative;
    overflow: hidden;
    text-align: center;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 1.7rem 1.2rem 1.25rem;
    cursor: pointer;
    font: inherit;
    color: inherit;
    transition: transform .26s var(--ease), box-shadow .26s var(--ease), border-color .26s var(--ease);
    animation: hp-rise-b-idlo8neocp .5s var(--ease-out) both;
    animation-delay: calc(var(--i) * 38ms);
}
.hp-card[b-idlo8neocp]::before {
    content: "";
    position: absolute; left: 0; right: 0; top: 0; height: 3px;
    background: linear-gradient(90deg, var(--bie-gold), var(--bie-gold-bright));
    transform: scaleX(0); transform-origin: left;
    transition: transform .3s var(--ease);
}
.hp-card:hover[b-idlo8neocp] { transform: translateY(-5px); box-shadow: var(--shadow); border-color: var(--line-strong); }
.hp-card:hover[b-idlo8neocp]::before { transform: scaleX(1); }
.hp-card:focus-visible[b-idlo8neocp] { outline: 3px solid rgba(17, 12, 169, .35); outline-offset: 2px; }

.hp-card__avatar[b-idlo8neocp] {
    width: 104px; height: 104px;
    border-radius: 50%;
    margin: 0 auto 1.1rem;
    overflow: hidden;
    background: var(--surface-2);
}
.hp-card__avatar img[b-idlo8neocp] { width: 100%; height: 100%; object-fit: cover; display: block; }
.hp-card__avatar.has[b-idlo8neocp] { outline: 2px solid var(--bie-gold); outline-offset: 4px; }
.hp-card__avatar.needs[b-idlo8neocp] { outline: 2px dashed var(--line-strong); outline-offset: 4px; }

.hp-card__name[b-idlo8neocp] {
    font-weight: 600;
    font-size: 1.06rem;
    color: var(--ink);
    line-height: 1.25;
    margin-bottom: .2rem;
}
.hp-card__company[b-idlo8neocp] {
    color: var(--muted);
    font-size: .88rem;
    margin-bottom: 1rem;
    min-height: 1.2em;
}
.hp-card__foot[b-idlo8neocp] {
    display: flex; flex-direction: column; align-items: center; gap: .5rem;
}

/* ---- Initial empty state --------------------------------------------- */
.hp-empty[b-idlo8neocp] { text-align: center; padding: 2.5rem 1rem; color: var(--muted); }
.hp-empty__orb[b-idlo8neocp] {
    width: 88px; height: 88px;
    margin: 0 auto 1.3rem;
    color: var(--bie-ultramarine);
    opacity: .22;
}
.hp-empty p[b-idlo8neocp] { font-size: 1.02rem; }
.hp-empty strong[b-idlo8neocp] { color: var(--bie-navy); font-weight: 600; }

@keyframes hp-rise-b-idlo8neocp {
    from { opacity: 0; transform: translateY(16px); }
    to   { opacity: 1; transform: none; }
}

@media (max-width: 560px) {
    .hp-search[b-idlo8neocp] { flex-wrap: wrap; border-radius: var(--radius); padding: 1rem; }
    .hp-search__btn[b-idlo8neocp] { width: 100%; }
    .hp-grid[b-idlo8neocp] { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: .8rem; }
}
