/* Night Ops Battle Pass — isolated from the legacy/ranked pass modal theme. */
:root {
    --nop-bg: #05070b;
    --nop-panel: #090d13;
    --nop-surface: #0d131b;
    --nop-surface-2: #121a24;
    --nop-line: rgba(147, 165, 184, 0.3);
    --nop-line-strong: rgba(196, 213, 228, 0.52);
    --nop-cyan: #66e8ff;
    --nop-cyan-soft: rgba(102, 232, 255, 0.16);
    --nop-violet: #c06cff;
    --nop-violet-soft: rgba(192, 108, 255, 0.17);
    --nop-red: #ff5268;
    --nop-text: #f4f7fa;
    --nop-muted: #8995a4;
    --nop-display: 'Orbitron', 'Exo 2', sans-serif;
    --nop-copy: 'Exo 2', sans-serif;
}

#battle-pass-widget {
    --bp-widget-background-image: url('../Loading Screen/Night Ops Dasha.png');
    border: 1px solid rgba(102, 232, 255, 0.48);
    border-radius: 2px;
    clip-path: polygon(0 0, calc(100% - 8px) 0, 100% 8px, 100% 100%, 8px 100%, 0 calc(100% - 8px));
    background:
        linear-gradient(110deg, rgba(4, 8, 13, 0.97), rgba(4, 8, 13, 0.62)),
        var(--bp-widget-background-image) 62% 20% / cover no-repeat;
    box-shadow: 0 18px 42px rgba(0, 0, 0, 0.78), inset 0 0 24px rgba(102, 232, 255, 0.035);
}

#battle-pass-widget:hover {
    border-color: var(--nop-cyan);
    box-shadow: 0 20px 46px rgba(0, 0, 0, 0.82), 0 0 20px rgba(102, 232, 255, 0.1);
}

#bp-modal.bp-modal {
    background:
        linear-gradient(rgba(1, 3, 7, 0.84), rgba(1, 3, 7, 0.92)),
        repeating-linear-gradient(90deg, transparent 0 63px, rgba(102, 232, 255, 0.025) 64px 65px);
    backdrop-filter: blur(9px) saturate(0.72);
    -webkit-backdrop-filter: blur(9px) saturate(0.72);
    animation: nop-overlay-in 180ms ease-out;
}

#bp-modal.bp-modal.active {
    align-items: center;
    justify-content: center;
}

#bp-modal .bp-modal-container {
    --bp-header-background-image: none;
    width: calc(100% - 144px);
    max-width: 1776px;
    height: 900px;
    max-height: calc(100% - 112px);
    border: 1px solid var(--nop-line-strong);
    border-radius: 0;
    clip-path: polygon(0 0, calc(100% - 14px) 0, 100% 14px, 100% 100%, 14px 100%, 0 calc(100% - 14px));
    background-color: var(--nop-bg);
    background-image:
        linear-gradient(90deg, rgba(5, 7, 11, 0.99) 0%, rgba(5, 7, 11, 0.96) 48%, rgba(5, 7, 11, 0.5) 72%, rgba(5, 7, 11, 0.68) 100%),
        linear-gradient(180deg, rgba(4, 7, 11, 0.1), rgba(4, 7, 11, 0.88));
    background-size: cover, cover;
    background-position: center, center;
    background-repeat: no-repeat;
    box-shadow: 0 42px 100px rgba(0, 0, 0, 0.76), 0 0 0 1px rgba(102, 232, 255, 0.08);
    animation: nop-shell-in 300ms cubic-bezier(0.2, 0.8, 0.2, 1);
    isolation: isolate;
}

#bp-modal .bp-modal-container::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 0;
    background:
        linear-gradient(90deg, var(--nop-cyan) 0 120px, transparent 120px calc(100% - 120px), var(--nop-violet) calc(100% - 120px)) top / 100% 2px no-repeat,
        repeating-linear-gradient(0deg, transparent 0 4px, rgba(255, 255, 255, 0.012) 5px 6px),
        url('../images/ui/night-ops/night-ops-panel-surface.png') center / cover no-repeat;
    filter: none;
    opacity: 0.48;
    z-index: 0;
    pointer-events: none;
}

#bp-modal .bp-modal-header,
#bp-modal .bp-modal-progress-header,
#bp-modal .bp-modal-body,
#bp-modal .bp-modal-footer {
    position: relative;
    z-index: 2;
}

#bp-modal .bp-modal-container::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 32%;
    left: -36%;
    z-index: 4;
    pointer-events: none;
    background: linear-gradient(90deg, transparent, rgba(102, 232, 255, 0.07), transparent);
    transform: skewX(-18deg);
    animation: nop-scan 7s linear infinite;
}

#bp-modal .bp-modal-header {
    flex: 0 0 230px;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 24px;
    padding: 52px 56px 30px;
    border: 0;
    background:
        linear-gradient(90deg, rgba(4, 7, 11, 0.96) 0%, rgba(4, 7, 11, 0.9) 31%, rgba(4, 7, 11, 0.48) 58%, rgba(4, 7, 11, 0.1) 100%),
        linear-gradient(180deg, rgba(3, 5, 9, 0.05), rgba(3, 5, 9, 0.42)),
        var(--bp-header-background-image) center 18% / cover no-repeat;
    overflow: visible;
}

#bp-modal .bp-operation-insignia {
    position: relative;
    z-index: 7;
    flex: 0 0 92px;
    width: 92px;
    height: 92px;
    margin-top: -4px;
    background: radial-gradient(circle, rgba(102, 232, 255, 0.11), transparent 68%);
    object-fit: contain;
    filter: brightness(1.35) contrast(1.08) drop-shadow(0 12px 22px rgba(0, 0, 0, 0.62)) drop-shadow(-5px 0 10px rgba(102, 232, 255, 0.13)) drop-shadow(5px 0 10px rgba(192, 108, 255, 0.12));
}

#bp-modal .bp-modal-header::before {
    display: none;
}

#bp-modal .bp-modal-title-section {
    gap: 8px;
    max-width: 760px;
}

#bp-modal .bp-modal-title {
    display: block;
    margin: 0;
    color: var(--nop-text);
    font-family: var(--nop-display);
    font-size: clamp(3.5rem, 5.1vw, 6.3rem);
    font-weight: 900;
    line-height: 0.9;
    letter-spacing: 0.045em;
    text-transform: uppercase;
    text-shadow: 0 0 24px rgba(102, 232, 255, 0.12);
}

#bp-modal .bp-modal-title-mark {
    display: block;
}

#bp-modal .bp-modal-title-label {
    display: block;
    margin-top: 16px;
    color: rgba(244, 247, 250, 0.74);
    font-family: var(--nop-display);
    font-size: 1.35rem;
    font-weight: 700;
    letter-spacing: 0.62em;
    line-height: 1;
    text-transform: uppercase;
}

#bp-modal .bp-modal-subtitle {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 18px;
    color: var(--nop-cyan);
    font-family: var(--nop-display);
    font-size: 0.86rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-shadow: 0 0 14px rgba(102, 232, 255, 0.28);
}

#bp-modal .bp-modal-subtitle::before {
    content: '';
    width: 18px;
    height: 18px;
    border: 1px solid currentColor;
    border-radius: 50%;
    background: radial-gradient(circle, currentColor 0 2px, transparent 3px);
    box-shadow: inset 0 0 0 5px var(--nop-bg), 0 0 12px rgba(102, 232, 255, 0.3);
}

#bp-modal .bp-modal-close {
    width: 54px;
    height: 54px;
    margin: -22px -24px 0 auto;
    border: 1px solid rgba(102, 232, 255, 0.52);
    border-radius: 0;
    background: rgba(4, 8, 13, 0.76);
    color: var(--nop-text);
    font-family: var(--nop-copy);
    font-size: 1.45rem;
    font-weight: 300;
    box-shadow: inset 0 0 18px rgba(102, 232, 255, 0.04);
}

#bp-modal .bp-modal-close:hover {
    border-color: var(--nop-red);
    background: rgba(255, 82, 104, 0.13);
    color: #fff;
    box-shadow: 0 0 22px rgba(255, 82, 104, 0.18);
}

#bp-modal .bp-modal-progress-header {
    flex: 0 0 108px;
    display: grid;
    grid-template-columns: 88px minmax(260px, 1fr) minmax(190px, auto) 152px minmax(180px, 236px);
    align-items: center;
    gap: 0;
    margin: 0 24px;
    padding: 0 22px;
    border: 1px solid var(--nop-line);
    border-radius: 0;
    background: rgba(5, 9, 14, 0.9);
    box-shadow: inset 0 0 30px rgba(102, 232, 255, 0.025);
}

#bp-modal .bp-command-cell {
    min-width: 0;
    min-height: 62px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 22px;
    border-right: 1px solid var(--nop-line);
}

#bp-modal .bp-command-cell:first-child {
    padding-left: 0;
}

#bp-modal .bp-command-cell:last-child {
    padding-right: 0;
    border-right: 0;
}

#bp-modal .bp-level-readout {
    width: 58px;
    height: 54px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(102, 232, 255, 0.62);
    color: var(--nop-cyan);
    font-family: var(--nop-display);
    font-size: 1.2rem;
    font-weight: 700;
    box-shadow: inset 0 0 18px rgba(102, 232, 255, 0.08);
}

#bp-modal .bp-modal-progress-info {
    width: 100%;
    margin: 0;
    display: block;
}

#bp-modal .bp-modal-progress-label,
#bp-modal .bp-command-label {
    display: block;
    margin-bottom: 9px;
    color: var(--nop-muted);
    font-family: var(--nop-display);
    font-size: 0.64rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

#bp-modal .bp-modal-progress-value {
    color: var(--nop-text);
    font-family: var(--nop-display);
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-shadow: none;
}

#bp-modal .bp-modal-progress-bar {
    height: 6px;
    margin-top: 10px;
    border: 1px solid rgba(147, 165, 184, 0.38);
    border-radius: 0;
    background: #020407;
    box-shadow: none;
}

#bp-modal .bp-modal-progress-fill {
    border-radius: 0;
    background: linear-gradient(90deg, var(--nop-cyan), #9bf4ff);
    box-shadow: 0 0 16px rgba(102, 232, 255, 0.42);
}

#bp-modal .bp-modal-progress-fill::after {
    display: none;
}

#bp-modal .bp-access-state {
    color: var(--nop-violet);
    font-family: var(--nop-display);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.07em;
    text-transform: uppercase;
}

#bp-modal .bp-access-state i {
    margin-right: 10px;
}

#bp-modal .bp-access-state.is-active {
    color: var(--nop-cyan);
}

#bp-modal .bp-command-cost {
    color: var(--nop-text);
    font-family: var(--nop-display);
    font-size: 0.88rem;
    font-weight: 700;
    white-space: nowrap;
}

#bp-modal .bp-command-cost i {
    margin-right: 9px;
    color: var(--nop-cyan);
}

#bp-modal .bp-claim-all-section {
    width: 100%;
    margin: 0;
}

#bp-modal .bp-claim-all-btn,
#bp-modal .bp-unlock-premium-btn {
    min-height: 48px;
    border-radius: 0;
    font-family: var(--nop-display);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.09em;
    text-transform: uppercase;
}

#bp-modal .bp-claim-all-btn {
    width: 100%;
    padding: 0 18px;
    border: 1px solid rgba(102, 232, 255, 0.65);
    background: rgba(102, 232, 255, 0.055);
    color: var(--nop-cyan);
    box-shadow: inset 0 0 18px rgba(102, 232, 255, 0.035);
}

#bp-modal .bp-claim-all-btn:hover:not(:disabled) {
    transform: none;
    border-color: var(--nop-cyan);
    background: rgba(102, 232, 255, 0.12);
    box-shadow: 0 0 22px rgba(102, 232, 255, 0.12);
}

#bp-modal .bp-modal-body {
    flex: 1 1 auto;
    min-height: 0;
    display: grid;
    grid-template-columns: 54px minmax(0, 1fr) 54px;
    align-items: stretch;
    gap: 10px;
    margin: 18px 24px 0;
    padding: 0;
    border: 1px solid var(--nop-line);
    border-radius: 0;
    background: rgba(3, 6, 10, 0.91);
    overflow: hidden;
}

#bp-modal .bp-rail-button {
    border: 0;
    border-right: 1px solid var(--nop-line);
    border-radius: 0;
    background: rgba(255, 255, 255, 0.018);
    color: rgba(244, 247, 250, 0.88);
    font-size: 1.6rem;
    cursor: pointer;
    transition: color 160ms ease, background 160ms ease;
}

#bp-modal .bp-rail-button:last-child {
    border-right: 0;
    border-left: 1px solid var(--nop-line);
}

#bp-modal .bp-rail-button:hover {
    color: var(--nop-cyan);
    background: var(--nop-cyan-soft);
}

#bp-modal .bp-reward-rail-viewport {
    min-width: 0;
    overflow-x: auto;
    overflow-y: hidden;
    scrollbar-width: thin;
    scrollbar-color: var(--nop-cyan) rgba(255, 255, 255, 0.04);
    scroll-behavior: smooth;
    overscroll-behavior-x: contain;
}

#bp-modal .bp-reward-rail-viewport::-webkit-scrollbar {
    height: 5px;
}

#bp-modal .bp-reward-rail-viewport::-webkit-scrollbar-thumb {
    background: var(--nop-cyan);
}

#bp-modal .bp-rewards-track {
    min-width: max-content;
    height: 100%;
    display: flex;
    align-items: stretch;
    gap: 14px;
    padding: 18px 4px 14px;
}

#bp-modal .bp-rewards-track::before {
    display: none;
}

#bp-modal .bp-reward-item {
    position: relative;
    width: 214px;
    min-width: 214px;
    min-height: 100%;
    display: grid;
    grid-template-rows: minmax(0, 1fr) 76px;
    align-items: stretch;
    gap: 0;
    border: 1px solid rgba(147, 165, 184, 0.25);
    background: linear-gradient(180deg, rgba(15, 21, 29, 0.93), rgba(6, 9, 14, 0.97));
    clip-path: polygon(0 0, calc(100% - 9px) 0, 100% 9px, 100% 100%, 0 100%);
    transition: border-color 160ms ease, transform 160ms ease, box-shadow 160ms ease;
}

#bp-modal .bp-reward-item::before {
    content: '';
    position: absolute;
    inset: -2px;
    z-index: 6;
    pointer-events: none;
    background: url('../images/ui/night-ops/night-ops-reward-frame.png') center / calc(100% + 18px) calc(100% + 10px) no-repeat;
    opacity: 0.76;
    filter: drop-shadow(0 9px 12px rgba(0, 0, 0, 0.26));
}

#bp-modal .bp-reward-item:hover {
    transform: translateY(-3px);
    border-color: rgba(102, 232, 255, 0.7);
    box-shadow: 0 0 20px rgba(102, 232, 255, 0.08);
}

#bp-modal .bp-reward-item:has(.bp-reward-node.available) {
    border-color: var(--nop-cyan);
    box-shadow: 0 0 0 1px rgba(102, 232, 255, 0.16), 0 0 22px rgba(102, 232, 255, 0.11);
}

#bp-modal .bp-reward-item:has(.bp-reward-node.claimed) {
    border-color: rgba(102, 232, 255, 0.36);
}

#bp-modal .bp-reward-node {
    width: 100%;
    height: auto;
    min-height: 0;
    border: 0;
    border-radius: 0;
    background:
        linear-gradient(180deg, rgba(102, 232, 255, 0.035), transparent 40%),
        repeating-linear-gradient(90deg, transparent 0 35px, rgba(255, 255, 255, 0.012) 36px 37px);
    box-shadow: none;
    overflow: hidden;
}

#bp-modal .bp-reward-node::before {
    content: attr(data-tier);
    position: absolute;
    top: 10px;
    left: 10px;
    right: auto;
    bottom: auto;
    width: auto;
    height: auto;
    padding: 4px 10px;
    border: 1px solid var(--nop-line);
    background: rgba(3, 6, 10, 0.82);
    color: var(--nop-muted);
    font-family: var(--nop-display);
    font-size: 0.66rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    opacity: 1;
    z-index: 3;
}

#bp-modal .bp-reward-node:hover {
    transform: none;
    border: 0;
    box-shadow: none;
}

#bp-modal .bp-reward-node.locked {
    opacity: 0.62;
    cursor: not-allowed;
}

#bp-modal .bp-reward-node.locked::after,
#bp-modal .bp-reward-node.claimed::after {
    top: 10px;
    right: 10px;
    width: 28px;
    height: 28px;
    border-radius: 0;
    background: rgba(3, 6, 10, 0.86);
    color: var(--nop-muted);
    border: 1px solid var(--nop-line);
    box-shadow: none;
}

#bp-modal .bp-reward-node.claimed {
    border: 0;
    background: linear-gradient(180deg, rgba(102, 232, 255, 0.09), rgba(8, 17, 21, 0.94));
    box-shadow: none;
}

#bp-modal .bp-reward-node.available {
    border: 0;
    animation: nop-available 2.2s ease-in-out infinite;
}

#bp-modal .bp-reward-image {
    width: 100%;
    height: 100%;
    padding: 24px 12px 8px;
    object-fit: contain;
    filter: drop-shadow(0 12px 20px rgba(0, 0, 0, 0.45));
}

#bp-modal .bp-reward-selection-grid {
    width: 100%;
    height: 100%;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: repeat(2, minmax(0, 1fr));
    gap: 3px;
    padding: 42px 8px 8px;
    box-sizing: border-box;
}

#bp-modal .bp-reward-selection-grid img {
    width: 100%;
    height: 100%;
    min-height: 0;
    object-fit: cover;
    border: 1px solid rgba(147, 165, 184, 0.28);
    border-radius: 0;
}

#bp-modal .bp-reward-currency {
    color: var(--nop-text);
    font-family: var(--nop-display);
    font-size: 1.05rem;
    font-weight: 700;
    line-height: 1.6;
    text-shadow: 0 0 16px rgba(102, 232, 255, 0.18);
}

#bp-modal .bp-reward-currency i {
    color: var(--nop-cyan);
    font-size: 2.8rem;
}

#bp-modal .bp-reward-free-badge {
    top: auto;
    right: 0;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 5px 6px;
    border: 0;
    border-top: 1px solid rgba(102, 232, 255, 0.42);
    border-radius: 0;
    background: rgba(102, 232, 255, 0.09);
    color: var(--nop-cyan);
    font-family: var(--nop-display);
    font-size: 0.64rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-align: center;
    box-shadow: none;
}

#bp-modal .bp-reward-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    padding: 9px 11px;
    border-top: 1px solid var(--nop-line);
    background: rgba(3, 6, 10, 0.84);
    text-align: left;
}

#bp-modal .bp-reward-tier {
    margin: 0;
    color: var(--nop-muted);
    font-family: var(--nop-display);
    font-size: 0.66rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-shadow: none;
}

#bp-modal .bp-reward-name {
    max-width: none;
    display: block;
    color: var(--nop-text);
    font-family: var(--nop-display);
    font-size: 0.8rem;
    font-weight: 700;
    line-height: 1.35;
    letter-spacing: 0.025em;
    text-align: left;
    text-transform: uppercase;
    text-shadow: none;
}

#bp-modal .bp-reward-name-tooltip {
    display: none;
}

#bp-modal .bp-modal-footer {
    flex: 0 0 94px;
    display: grid;
    grid-template-columns: minmax(320px, 460px) minmax(220px, 1fr) auto;
    align-items: center;
    gap: 32px;
    margin: 14px 24px 24px;
    padding: 0 28px;
    border: 1px solid var(--nop-line);
    background: rgba(4, 7, 11, 0.92);
}

#bp-modal .bp-unlock-section {
    width: 100%;
    margin: 0;
    justify-content: flex-start;
}

#bp-modal .bp-unlock-premium-btn {
    width: 100%;
    justify-content: flex-start;
    gap: 12px;
    padding: 0 24px;
    border: 1px solid rgba(192, 108, 255, 0.78);
    background: rgba(192, 108, 255, 0.07);
    color: var(--nop-violet);
    box-shadow: inset 0 0 18px rgba(192, 108, 255, 0.04);
}

#bp-modal .bp-unlock-premium-btn:hover {
    transform: none;
    border-color: var(--nop-violet);
    background: rgba(192, 108, 255, 0.14);
    box-shadow: 0 0 24px rgba(192, 108, 255, 0.13);
}

#bp-modal .bp-unlock-icon {
    font-size: 1rem;
    animation: none;
    filter: none;
}

#bp-modal .bp-unlock-text {
    flex-direction: row;
    align-items: center;
    gap: 10px;
}

#bp-modal .bp-unlock-title,
#bp-modal .bp-unlock-cost {
    color: inherit;
    font-family: var(--nop-display);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.09em;
    text-shadow: none;
}

#bp-modal .bp-unlock-cost::before {
    content: '·';
    margin-right: 10px;
}

#bp-modal .bp-unlock-glow {
    display: none;
}

#bp-modal .bp-modal-footer-copy {
    color: var(--nop-muted);
    font-family: var(--nop-copy);
    font-size: 0.78rem;
    line-height: 1.45;
}

#bp-modal .bp-track-position {
    justify-self: end;
    color: var(--nop-muted);
    font-family: var(--nop-display);
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.09em;
    white-space: nowrap;
}

/* Night Ops reward choice overlay */
.bp-choice-overlay {
    position: fixed;
    inset: 0;
    z-index: 200000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 28px;
    background: rgba(1, 3, 7, 0.9);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.bp-choice-panel {
    width: min(1040px, 94vw);
    max-height: 88vh;
    overflow: auto;
    padding: 28px;
    border: 1px solid var(--nop-line-strong);
    clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 12px, 100% 100%, 12px 100%, 0 calc(100% - 12px));
    background: linear-gradient(145deg, rgba(13, 19, 27, 0.99), rgba(4, 7, 11, 0.99));
    color: var(--nop-text);
    box-shadow: 0 32px 90px rgba(0, 0, 0, 0.72), 0 0 0 1px rgba(102, 232, 255, 0.06);
}

.bp-choice-title {
    margin: 0;
    color: var(--nop-text);
    font-family: var(--nop-display);
    font-size: 1.25rem;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.bp-choice-subtitle {
    margin: 8px 0 20px;
    color: var(--nop-cyan);
    font-family: var(--nop-copy);
    font-size: 0.86rem;
}

.bp-choice-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 12px;
}

.bp-choice-grid.icons {
    grid-template-columns: repeat(auto-fit, minmax(126px, 1fr));
}

.bp-choice-option {
    min-height: 228px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 10px;
    padding: 10px;
    border: 1px solid var(--nop-line);
    border-radius: 0;
    background: rgba(255, 255, 255, 0.025);
    color: var(--nop-text);
    cursor: pointer;
    clip-path: polygon(0 0, calc(100% - 8px) 0, 100% 8px, 100% 100%, 0 100%);
    transition: transform 150ms ease, border-color 150ms ease, background 150ms ease;
}

.bp-choice-option:hover:not(:disabled),
.bp-choice-option:focus-visible {
    transform: translateY(-3px);
    border-color: var(--nop-cyan);
    background: var(--nop-cyan-soft);
    outline: none;
}

.bp-choice-option:disabled {
    opacity: 0.35;
    cursor: not-allowed;
    filter: grayscale(1);
}

.bp-choice-option img {
    width: 100%;
    height: 172px;
    object-fit: cover;
    border: 1px solid rgba(147, 165, 184, 0.25);
}

.bp-choice-grid.icons .bp-choice-option {
    min-height: 162px;
}

.bp-choice-grid.icons .bp-choice-option img {
    height: 108px;
    object-fit: contain;
}

.bp-choice-option span {
    min-height: 34px;
    display: flex;
    align-items: center;
    color: var(--nop-text);
    font-family: var(--nop-display);
    font-size: 0.68rem;
    font-weight: 700;
    line-height: 1.35;
    letter-spacing: 0.035em;
    text-align: left;
    text-transform: uppercase;
}

.bp-choice-cancel {
    width: 100%;
    min-height: 44px;
    margin-top: 18px;
    border: 1px solid var(--nop-line);
    border-radius: 0;
    background: rgba(255, 255, 255, 0.025);
    color: var(--nop-muted);
    font-family: var(--nop-display);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.09em;
    text-transform: uppercase;
    cursor: pointer;
}

.bp-choice-cancel:hover {
    border-color: var(--nop-red);
    color: var(--nop-text);
}

@keyframes nop-overlay-in {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes nop-shell-in {
    from { opacity: 0; transform: translateY(16px) scale(0.992); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes nop-scan {
    0%, 54% { left: -36%; }
    76%, 100% { left: 112%; }
}

@keyframes nop-available {
    0%, 100% { box-shadow: inset 0 0 0 1px rgba(102, 232, 255, 0.08); }
    50% { box-shadow: inset 0 0 34px rgba(102, 232, 255, 0.09); }
}

@media (max-height: 820px) {
    #bp-modal .bp-modal-container {
        height: calc(100% - 36px);
        max-height: none;
    }

    #bp-modal .bp-modal-header {
        flex-basis: 184px;
        padding-top: 36px;
    }

    #bp-modal .bp-operation-insignia {
        flex-basis: 72px;
        width: 72px;
        height: 72px;
    }

    #bp-modal .bp-modal-title {
        font-size: 4rem;
    }

    #bp-modal .bp-modal-title-label {
        margin-top: 10px;
        font-size: 1rem;
    }

    #bp-modal .bp-modal-subtitle {
        margin-top: 12px;
    }
}

@media (max-width: 760px) {
    #bp-modal .bp-modal-container {
        width: calc(100% - 24px);
        height: calc(100% - 24px);
        max-height: none;
    }

    #bp-modal .bp-modal-header {
        flex-basis: 150px;
        gap: 14px;
        padding: 28px 24px 18px;
    }

    #bp-modal .bp-operation-insignia {
        flex-basis: 48px;
        width: 48px;
        height: 48px;
        margin-top: 0;
    }

    #bp-modal .bp-modal-title {
        font-size: 2.8rem;
    }

    #bp-modal .bp-modal-title-label {
        font-size: 0.76rem;
        letter-spacing: 0.4em;
    }

    #bp-modal .bp-modal-progress-header {
        grid-template-columns: 56px minmax(0, 1fr) 148px;
        height: auto;
        margin-inline: 12px;
        padding-inline: 12px;
    }

    #bp-modal .bp-command-access,
    #bp-modal .bp-command-currency {
        display: none;
    }

    #bp-modal .bp-command-cell {
        padding-inline: 10px;
    }

    #bp-modal .bp-modal-body {
        grid-template-columns: 38px minmax(0, 1fr) 38px;
        margin-inline: 12px;
    }

    #bp-modal .bp-reward-item {
        width: 168px;
        min-width: 168px;
    }

    #bp-modal .bp-modal-footer {
        grid-template-columns: 1fr auto;
        margin: 10px 12px 12px;
        padding-inline: 14px;
    }

    #bp-modal .bp-modal-footer-copy {
        display: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    #bp-modal.bp-modal,
    #bp-modal .bp-modal-container,
    #bp-modal .bp-modal-container::after,
    #bp-modal .bp-reward-node.available {
        animation: none !important;
    }

    #bp-modal .bp-reward-rail-viewport {
        scroll-behavior: auto;
    }
}
