.gunz-daily-bounty-root {
    position: fixed;
    inset: 0;
    z-index: 5200;
    pointer-events: none;
    opacity: 0;
    transition: opacity 180ms ease-out;
}

.gunz-daily-bounty-root.is-showing {
    opacity: 1;
}

.gunz-daily-bounty-panel {
    position: absolute;
    top: 24px;
    right: 24px;
    display: grid;
    grid-template-columns: 56px minmax(0, 1fr);
    gap: 9px;
    width: min(286px, calc(100% - 40px));
    min-height: 102px;
    box-sizing: border-box;
    padding: 12px 13px 11px;
    overflow: hidden;
    pointer-events: auto;
    color: #f6eeff;
    font-family: Tahoma, Arial, sans-serif;
    background:
        radial-gradient(circle at 12% 20%, rgba(208, 115, 255, 0.42), transparent 34%),
        linear-gradient(145deg, rgba(31, 18, 52, 0.96) 0%, rgba(14, 12, 24, 0.98) 58%, rgba(10, 10, 17, 0.98) 100%);
    border: 1px solid rgba(213, 152, 255, 0.72);
    border-radius: 8px;
    box-shadow:
        0 16px 30px rgba(0, 0, 0, 0.58),
        0 0 25px rgba(166, 80, 255, 0.34),
        inset 0 1px 0 rgba(255, 255, 255, 0.16);
    transform: translateY(-12px) scale(0.98);
    transition: transform 220ms ease-out;
}

.gunz-daily-bounty-root.is-showing .gunz-daily-bounty-panel {
    transform: translateY(0) scale(1);
}

.gunz-daily-bounty-panel::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.14) 48%, transparent 66%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.08), transparent 48%);
    opacity: 0.55;
}

.gunz-daily-bounty-close {
    position: absolute;
    top: 6px;
    right: 6px;
    z-index: 2;
    width: 20px;
    height: 20px;
    padding: 0;
    color: #d8c7ef;
    font: 700 12px/1 Tahoma, Arial, sans-serif;
    background: rgba(12, 8, 20, 0.52);
    border: 1px solid rgba(210, 178, 255, 0.28);
    border-radius: 3px;
    cursor: pointer;
}

.gunz-daily-bounty-close:hover,
.gunz-daily-bounty-close:focus-visible {
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.58);
    outline: none;
}

.gunz-daily-bounty-jewel-wrap {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    min-height: 78px;
}

.gunz-daily-bounty-jewel-wrap::before {
    content: "";
    position: absolute;
    width: 54px;
    height: 54px;
    background: radial-gradient(circle, rgba(220, 129, 255, 0.46), rgba(113, 56, 203, 0.16) 52%, transparent 72%);
    filter: blur(2px);
}

.gunz-daily-bounty-jewel {
    position: relative;
    width: 52px;
    height: 52px;
    object-fit: contain;
    image-rendering: auto;
    filter: drop-shadow(0 0 12px rgba(223, 126, 255, 0.72));
}

.gunz-daily-bounty-content {
    position: relative;
    z-index: 1;
    min-width: 0;
    padding-right: 13px;
}

.gunz-daily-bounty-eyebrow {
    margin: 0 0 3px;
    color: #f1b7ff;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0;
    text-transform: uppercase;
}

.gunz-daily-bounty-title {
    margin-bottom: 6px;
    color: #ffffff;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.18;
    text-shadow: 0 0 14px rgba(180, 97, 255, 0.48);
}

.gunz-daily-bounty-code {
    display: block;
    width: 100%;
    min-height: 29px;
    box-sizing: border-box;
    padding: 5px 8px;
    overflow-wrap: anywhere;
    color: #ffffff;
    font: 700 12px/1.25 Consolas, "Courier New", monospace;
    text-align: left;
    background: rgba(8, 6, 14, 0.78);
    border: 1px solid rgba(227, 192, 255, 0.46);
    border-radius: 6px;
    cursor: pointer;
    box-shadow: inset 0 0 12px rgba(142, 72, 220, 0.24);
}

.gunz-daily-bounty-code:hover,
.gunz-daily-bounty-code:focus-visible {
    border-color: rgba(255, 255, 255, 0.74);
    outline: none;
}

.gunz-daily-bounty-hint {
    margin-top: 5px;
    color: rgba(230, 212, 255, 0.68);
    font-size: 10px;
    font-weight: 400;
    line-height: 1.25;
}

.gunz-daily-bounty-copied {
    display: block;
    height: 13px;
    margin-top: 1px;
    color: #c9ffd9;
    font-size: 10px;
    opacity: 0;
    transition: opacity 120ms ease-out;
}

.gunz-daily-bounty-copied.is-visible {
    opacity: 1;
}

.gunz-daily-bounty-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6px;
    margin-top: 3px;
}

.gunz-daily-bounty-btn {
    min-height: 26px;
    padding: 0 7px;
    color: #f7f0ff;
    font: 700 10px/1 Tahoma, Arial, sans-serif;
    border-radius: 4px;
    cursor: pointer;
}

.gunz-daily-bounty-btn-primary {
    background: linear-gradient(180deg, #7f3dff 0%, #5124b7 100%);
    border: 1px solid rgba(223, 197, 255, 0.56);
    box-shadow: 0 0 10px rgba(127, 61, 255, 0.38);
}

.gunz-daily-bounty-btn-secondary {
    background: rgba(15, 11, 24, 0.72);
    border: 1px solid rgba(211, 177, 255, 0.42);
}

.gunz-daily-bounty-btn:hover,
.gunz-daily-bounty-btn:focus-visible {
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.78);
    outline: none;
}

.gunz-daily-bounty-compact {
    position: fixed;
    right: 12px;
    bottom: calc(12px + env(safe-area-inset-bottom));
    display: inline-grid;
    grid-template-columns: 24px minmax(0, auto);
    align-items: center;
    gap: 7px;
    max-width: calc(100% - 24px);
    min-height: 40px;
    box-sizing: border-box;
    padding: 6px 11px 6px 8px;
    pointer-events: auto;
    color: #f8f0ff;
    font: 700 12px/1 Tahoma, Arial, sans-serif;
    background:
        radial-gradient(circle at 16% 24%, rgba(211, 119, 255, 0.38), transparent 34%),
        linear-gradient(145deg, rgba(29, 18, 49, 0.96), rgba(10, 10, 17, 0.98));
    border: 1px solid rgba(213, 152, 255, 0.68);
    border-radius: 7px;
    cursor: pointer;
    box-shadow:
        0 10px 22px rgba(0, 0, 0, 0.48),
        0 0 18px rgba(166, 80, 255, 0.26),
        inset 0 1px 0 rgba(255, 255, 255, 0.14);
    transform: translateY(10px) scale(0.98);
    transition:
        border-color 120ms ease-out,
        transform 200ms ease-out;
}

.gunz-daily-bounty-root.is-showing .gunz-daily-bounty-compact {
    transform: translateY(0) scale(1);
}

.gunz-daily-bounty-compact:hover,
.gunz-daily-bounty-compact:focus-visible {
    border-color: rgba(255, 255, 255, 0.76);
    outline: none;
}

.gunz-daily-bounty-compact-jewel {
    width: 24px;
    height: 24px;
    object-fit: contain;
    filter: drop-shadow(0 0 9px rgba(223, 126, 255, 0.7));
}

.gunz-daily-bounty-compact-label {
    min-width: 0;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    text-shadow: 0 0 12px rgba(180, 97, 255, 0.48);
}

.gunz-daily-bounty-mobile-panel {
    position: fixed;
    right: 10px;
    bottom: calc(10px + env(safe-area-inset-bottom));
    left: 10px;
    max-height: min(260px, 55vh);
    box-sizing: border-box;
    padding: 12px 12px 11px;
    overflow: auto;
    pointer-events: auto;
    color: #f6eeff;
    font-family: Tahoma, Arial, sans-serif;
    background:
        radial-gradient(circle at 10% 10%, rgba(208, 115, 255, 0.36), transparent 34%),
        linear-gradient(145deg, rgba(31, 18, 52, 0.97) 0%, rgba(14, 12, 24, 0.99) 58%, rgba(10, 10, 17, 0.99) 100%);
    border: 1px solid rgba(213, 152, 255, 0.72);
    border-radius: 8px;
    box-shadow:
        0 16px 30px rgba(0, 0, 0, 0.58),
        0 0 22px rgba(166, 80, 255, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.16);
    transform: translateY(14px);
    transition: transform 220ms ease-out;
}

.gunz-daily-bounty-root.is-showing .gunz-daily-bounty-mobile-panel {
    transform: translateY(0);
}

.gunz-daily-bounty-mobile-header {
    display: grid;
    grid-template-columns: 34px minmax(0, 1fr);
    gap: 9px;
    align-items: center;
    padding-right: 28px;
}

.gunz-daily-bounty-mobile-jewel {
    width: 32px;
    height: 32px;
    object-fit: contain;
    filter: drop-shadow(0 0 10px rgba(223, 126, 255, 0.7));
}

.gunz-daily-bounty-mobile-heading {
    min-width: 0;
}

.gunz-daily-bounty-mobile-panel .gunz-daily-bounty-code {
    margin-top: 10px;
    min-height: 42px;
    padding: 10px;
    font-size: 13px;
}

.gunz-daily-bounty-mobile-panel .gunz-daily-bounty-hint {
    font-size: 11px;
}

.gunz-daily-bounty-mobile-actions {
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin-top: 4px;
}

.gunz-daily-bounty-mobile-panel .gunz-daily-bounty-btn {
    min-height: 42px;
    font-size: 12px;
}

.gunz-daily-bounty-mobile-close {
    top: 8px;
    right: 8px;
    width: 28px;
    height: 28px;
    font-size: 13px;
}

@media (max-width: 640px) {
    .gunz-daily-bounty-panel {
        top: 14px;
        right: 14px;
        grid-template-columns: 56px minmax(0, 1fr);
        gap: 9px;
        width: calc(100% - 28px);
        max-width: 286px;
        padding: 12px 13px 11px;
    }

    .gunz-daily-bounty-jewel-wrap {
        width: 56px;
    }

    .gunz-daily-bounty-jewel {
        width: 52px;
        height: 52px;
    }

    .gunz-daily-bounty-title {
        font-size: 13px;
    }

    .gunz-daily-bounty-actions {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 360px) {
    .gunz-daily-bounty-mobile-actions {
        grid-template-columns: 1fr;
    }
}
