.world-boss-home-slot {
    position: absolute;
    top: 10px;
    right: 48px;
    z-index: 50;
    width: min(248px, 38vw);
    min-width: 210px;
}

.world-boss-entry-btn {
    position: relative;
    z-index: 1;
    width: 100%;
    min-width: 0;
    display: grid;
    gap: 5px;
    text-align: center;
    padding: 14px 18px 16px;
    border-radius: 18px;
    border: 1px solid rgba(255, 162, 94, 0.95);
    background:
        radial-gradient(circle at 20% 12%, rgba(255, 120, 75, 0.34), transparent 48%),
        radial-gradient(circle at 80% 88%, rgba(255, 72, 45, 0.26), transparent 52%),
        linear-gradient(145deg, rgba(24, 3, 9, 0.96), rgba(56, 7, 8, 0.9) 40%, rgba(24, 4, 30, 0.9));
    color: #fff0e5;
    box-shadow:
        0 0 0 1px rgba(255, 208, 148, 0.38) inset,
        0 0 30px rgba(255, 80, 40, 0.46),
        0 10px 24px rgba(0, 0, 0, 0.55);
    cursor: pointer;
    isolation: isolate;
    overflow: hidden;
}

.world-boss-entry-btn > * {
    position: relative;
    z-index: 3;
}

.world-boss-entry-btn .world-boss-entry-btn__badge,
.world-boss-entry-btn .world-boss-entry-btn__title,
.world-boss-entry-btn .world-boss-entry-btn__sub {
    position: relative;
    z-index: 3;
}

.world-boss-entry-btn::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    pointer-events: none;
    background:
        radial-gradient(75% 95% at 12% 115%, rgba(255, 80, 30, 0.52), transparent 56%),
        radial-gradient(72% 95% at 85% 115%, rgba(255, 125, 48, 0.44), transparent 58%),
        linear-gradient(
            110deg,
            rgba(255, 70, 20, 0.05) 0%,
            rgba(255, 110, 28, 0.36) 28%,
            rgba(255, 165, 65, 0.5) 48%,
            rgba(255, 70, 18, 0.34) 68%,
            rgba(255, 50, 15, 0.08) 100%
        );
    background-size: 160% 160%, 160% 160%, 240% 100%;
    background-position: 0% 100%, 100% 100%, 0% 50%;
    opacity: 0.95;
    filter: blur(0.8px) saturate(1.2);
    z-index: 1;
    animation: world-boss-flame-wave 1.55s linear infinite;
}

.world-boss-entry-btn::after {
    content: '👹';
    position: absolute;
    right: 8px;
    top: 8px;
    font-size: 1.08rem;
    filter: drop-shadow(0 0 6px rgba(255, 120, 80, 0.9));
    opacity: 0.95;
    transform: rotate(-10deg);
    z-index: 4;
}

.world-boss-entry-btn.is-active::after {
    animation: world-boss-emblem-shake 1.15s ease-in-out infinite;
}

.world-boss-entry-btn.is-active {
    animation: world-boss-pulse 1.35s ease-in-out infinite;
}

.world-boss-entry-btn:hover {
    transform: translateY(-1px);
    box-shadow:
        0 0 0 1px rgba(255, 224, 158, 0.54) inset,
        0 0 34px rgba(255, 90, 42, 0.58),
        0 14px 30px rgba(0, 0, 0, 0.58);
}

.world-boss-entry-btn__badge {
    display: inline-block;
    width: fit-content;
    font-size: 0.65rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    color: #ffd8bd;
    text-shadow: 0 0 6px rgba(255, 120, 70, 0.65);
}

.world-boss-entry-btn__title {
    font-size: 1rem;
    font-weight: 900;
    line-height: 1.25;
    letter-spacing: 0.02em;
    text-shadow:
        0 0 6px rgba(255, 94, 45, 0.72),
        0 0 14px rgba(255, 160, 70, 0.45);
}

.world-boss-entry-btn__sub {
    font-size: 0.76rem;
    line-height: 1.35;
    color: rgba(255, 229, 206, 0.92);
    text-shadow: 0 0 8px rgba(255, 70, 35, 0.44);
}

.world-boss-entry-btn__sub-time {
    font-size: 0.72rem;
    line-height: 1.35;
    color: rgba(255, 209, 102, 0.92);
    text-shadow: 0 0 8px rgba(255, 70, 35, 0.35);
}

.world-boss-entry-btn__sub-time.hidden {
    display: none;
}

@media (max-width: 768px) {
    .world-boss-entry-btn::before {
        display: none;
    }

    .world-boss-entry-btn {
        animation: none;
    }
}

.world-boss-panel {
    position: absolute;
    right: 0;
    top: calc(100% + 10px);
    z-index: 2;
    width: min(480px, calc(100vw - 32px));
    max-height: none;
    overflow: visible;
    border-radius: 16px;
    padding: 18px;
    border: 1px solid rgba(255, 120, 120, 0.45);
    background: linear-gradient(180deg, rgba(10, 7, 26, 0.95), rgba(16, 10, 34, 0.93));
    box-shadow: 0 12px 48px rgba(0, 0, 0, 0.55), 0 0 32px rgba(255, 70, 70, 0.14);
    text-align: center;
    scrollbar-gutter: stable;
}

.world-boss-panel.hidden {
    display: none;
}

.world-boss-panel__head {
    position: relative;
    display: block;
    margin-bottom: 10px;
    text-align: center;
    padding-right: 44px;
}

.world-boss-panel__head > div {
    position: relative;
    left: 12px;
}

.world-boss-panel__eyebrow {
    margin: 0 auto;
    font-size: 0.67rem;
    letter-spacing: 0.1em;
    color: rgba(255, 200, 200, 0.7);
    text-align: center;
}

.world-boss-panel__head h3 {
    margin: 2px auto 0;
    color: #ffe8cf;
    text-align: center;
    font-size: clamp(1.15rem, 2.8vw, 1.45rem);
}

.world-boss-panel__close {
    position: absolute;
    right: 0;
    top: 0;
    width: 30px;
    height: 30px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.06);
    color: #f9e5e5;
    cursor: pointer;
}

.world-boss-panel__status {
    margin: 0 0 6px;
    font-size: 0.92rem;
    color: rgba(240, 232, 255, 0.9);
    text-align: center;
}

.world-boss-panel__countdown {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.45em;
    margin: 0 0 8px;
    font-size: 0.92rem;
    text-align: center;
}

.world-boss-countdown__label {
    color: rgba(240, 232, 255, 0.78);
    font-weight: 700;
    letter-spacing: 0.04em;
    white-space: nowrap;
}

.world-boss-countdown__label::after {
    content: ':';
    margin-left: 0.15em;
    font-family: ui-monospace, 'Cascadia Mono', Consolas, monospace;
}

.world-boss-countdown__time {
    font-family: ui-monospace, 'Cascadia Mono', Consolas, monospace;
    font-variant-numeric: tabular-nums;
    font-weight: 800;
    font-size: 1.05rem;
    letter-spacing: 0.06em;
    color: #ffd9a8;
    min-width: 8ch;
    text-align: center;
}

.world-boss-hp {
    margin-top: 10px;
}

.world-boss-hp__meta {
    display: flex;
    justify-content: center;
    align-items: baseline;
    gap: 10px;
    margin-bottom: 6px;
    font-size: 0.88rem;
    color: #f3dcff;
}

.world-boss-hp__bar {
    width: 100%;
    height: 16px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: rgba(0, 0, 0, 0.44);
    overflow: hidden;
}

.world-boss-hp__fill {
    height: 100%;
    width: 100%;
    background: linear-gradient(90deg, #ff4f72 0%, #ff9361 55%, #ffd57b 100%);
    transition: width 0.3s ease;
}

.world-boss-attempts {
    margin-top: 12px;
    display: grid;
    gap: 8px;
}

.world-boss-attempt-stats {
    display: grid;
    gap: 6px;
}

.world-boss-attempts p,
.world-boss-tickets-line {
    margin: 0;
    font-size: 0.92rem;
    color: #f5e8ff;
}

.world-boss-tickets-line strong {
    font-family: Orbitron, 'Noto Sans TC', sans-serif;
    font-size: 1.02rem;
    color: #7ee8ff;
}

.world-boss-attack-btn {
    position: relative;
    z-index: 2;
    border: none;
    border-radius: 10px;
    padding: 13px 14px;
    font-size: 1rem;
    font-weight: 800;
    color: #2d1300;
    background: linear-gradient(120deg, #ffd064, #ff9f57);
    cursor: pointer;
    touch-action: manipulation;
    -webkit-tap-highlight-color: rgba(255, 200, 120, 0.35);
    pointer-events: auto;
}

.world-boss-attack-btn:disabled {
    opacity: 0.55;
    cursor: not-allowed;
}

.world-boss-attack-btn.is-blocked {
    opacity: 0.55;
    cursor: not-allowed;
}

.world-boss-attack-btn.is-blocked:not(:disabled) {
    pointer-events: auto;
}

.world-boss-attack-btn.is-cooldown {
    opacity: 0.65;
    background: linear-gradient(120deg, #8a7a6a, #6a5a50);
    color: #f0e6dc;
}

.world-boss-attack-btn.is-ready:not(:disabled) {
    box-shadow: 0 0 16px rgba(255, 180, 80, 0.45);
}

.world-boss-attack-log {
    min-height: 20px;
    color: #ffd7b0;
    font-size: 0.82rem;
    line-height: 1.45;
}

.world-boss-attack-log.is-battle {
    min-height: 132px;
    padding: 10px 12px;
    border-radius: 12px;
    border: 1px solid rgba(255, 150, 90, 0.28);
    background: linear-gradient(180deg, rgba(18, 8, 6, 0.92), rgba(8, 4, 12, 0.88));
    text-align: center;
}

.world-boss-attack-log.is-error {
    min-height: auto;
    padding: 10px 12px;
    border-radius: 12px;
    border: 1px solid rgba(255, 90, 90, 0.45);
    background: rgba(40, 8, 12, 0.88);
    text-align: center;
}

.wb-battle__phase--error {
    color: #ffb8b8;
    font-size: 0.84rem;
    line-height: 1.45;
}

.world-boss-replay-bar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin-top: 10px;
}

.world-boss-replay-select {
    flex: 1 1 140px;
    min-width: 0;
    border-radius: 8px;
    border: 1px solid rgba(255, 180, 100, 0.35);
    padding: 8px 10px;
    font-size: 0.82rem;
    color: #ffe8cc;
    background: rgba(12, 6, 18, 0.92);
    cursor: pointer;
}

.world-boss-replay-btn {
    flex: 1 1 auto;
    border: 1px solid rgba(140, 200, 255, 0.45);
    border-radius: 10px;
    padding: 10px 14px;
    font-size: 0.88rem;
    font-weight: 700;
    color: #dff4ff;
    background: linear-gradient(120deg, rgba(40, 70, 110, 0.95), rgba(24, 44, 72, 0.95));
    cursor: pointer;
    transition: box-shadow 0.2s ease, opacity 0.2s ease;
}

.world-boss-replay-btn:hover:not(:disabled) {
    box-shadow: 0 0 14px rgba(120, 190, 255, 0.35);
}

.world-boss-replay-btn:disabled {
    opacity: 0.55;
    cursor: not-allowed;
}

.wb-battle {
    display: grid;
    gap: 6px;
    text-align: center;
    justify-items: center;
    animation: wb-battle-in 0.35s ease-out;
}

@keyframes wb-battle-in {
    from {
        opacity: 0;
        transform: translateY(6px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.wb-battle__phase {
    margin: 0;
    font-size: 0.92rem;
    font-weight: 800;
    color: #ffe8c8;
    letter-spacing: 0.02em;
}

.wb-battle__lead {
    margin: 0;
    font-size: 0.78rem;
    color: rgba(255, 230, 200, 0.82);
}

.wb-battle__team {
    list-style: none;
    margin: 4px auto 0;
    padding: 0;
    display: grid;
    gap: 4px;
    width: 100%;
    max-width: 100%;
    max-height: 88px;
    overflow: auto;
}

.wb-battle__team li {
    display: grid;
    grid-template-columns: 1fr auto;
    justify-items: center;
    gap: 4px 8px;
    font-size: 0.76rem;
    color: rgba(255, 236, 210, 0.9);
    padding: 4px 6px;
    border-radius: 8px;
    background: rgba(255, 120, 60, 0.08);
    text-align: center;
}

.wb-battle__team strong {
    color: #fff4dc;
    font-weight: 700;
}

.wb-battle__team span {
    color: rgba(255, 210, 160, 0.88);
    white-space: nowrap;
}

.wb-battle__skill {
    margin: 0;
    font-size: 0.84rem;
    font-weight: 700;
    color: #ffd89a;
}

.wb-battle__skill-desc {
    margin: 0;
    font-size: 0.76rem;
    color: rgba(230, 220, 255, 0.88);
    line-height: 1.4;
}

.wb-battle__dmg {
    margin: 2px 0 0;
    font-size: 0.86rem;
    color: #ffe0b8;
}

.wb-battle__dmg strong {
    color: #ffb86a;
    font-size: 1rem;
}

.wb-battle__dmg--total strong {
    color: #ffd064;
    font-size: 1.08rem;
}

.wb-battle__crit {
    display: inline-block;
    margin-left: 6px;
    padding: 1px 6px;
    border-radius: 999px;
    font-size: 0.68rem;
    font-weight: 800;
    color: #2d1300;
    background: linear-gradient(120deg, #ffd064, #ff7a45);
}

.wb-battle__meta {
    margin: 0;
    font-size: 0.8rem;
    color: rgba(255, 230, 200, 0.9);
}

.world-boss-guide {
    margin-top: 12px;
    display: grid;
    gap: 8px;
    text-align: left;
}

.world-boss-guide__block {
    border-radius: 10px;
    border: 1px solid rgba(255, 180, 120, 0.28);
    background: rgba(0, 0, 0, 0.28);
    padding: 0 10px 8px;
}

.world-boss-guide__summary {
    cursor: pointer;
    list-style: none;
    font-size: 0.92rem;
    font-weight: 800;
    color: #ffe0b8;
    padding: 8px 0 6px;
    user-select: none;
    text-align: center;
}

.world-boss-guide__summary::-webkit-details-marker {
    display: none;
}

.world-boss-guide__summary::before {
    content: '▸ ';
    color: rgba(255, 196, 130, 0.85);
}

.world-boss-guide__block[open] .world-boss-guide__summary::before {
    content: '▾ ';
}

.world-boss-guide__list {
    margin: 0;
    padding: 0 0 2px;
    display: grid;
    gap: 6px;
    width: 100%;
    max-width: 100%;
    font-size: 0.84rem;
    line-height: 1.45;
    color: rgba(240, 228, 255, 0.9);
    list-style: none;
    text-align: left;
}

.world-boss-guide__list li {
    position: relative;
    display: block;
    padding-left: 1em;
}

.world-boss-guide__list li::before {
    content: '•';
    position: absolute;
    left: 0;
    top: 0;
    color: rgba(240, 228, 255, 0.85);
    line-height: 1.45;
    font-weight: 700;
}

.world-boss-guide__list strong {
    color: #ffd9a8;
    font-weight: 800;
}

.world-boss-guide__list--chests li::before {
    content: '•';
}

.world-boss-guide__note {
    margin: 4px 0 0;
    padding: 0;
    font-size: 0.7rem;
    line-height: 1.4;
    color: rgba(255, 214, 170, 0.72);
    text-align: left;
}

.world-boss-ranking {
    margin-top: 12px;
}

.world-boss-ranking__head {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-bottom: 8px;
    min-height: 1.4em;
}

.world-boss-ranking__head h4 {
    margin: 0;
    font-size: 0.9rem;
    color: #fcecc6;
    text-align: center;
}

.world-boss-ranking__meta {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    font-size: 0.68rem;
    color: rgba(255, 228, 196, 0.78);
    white-space: nowrap;
}

.world-boss-ranking__list {
    display: grid;
    gap: 6px;
    max-height: none;
    overflow: visible;
    padding-right: 0;
}

.world-boss-ranking__pager {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 8px;
}

.world-boss-ranking__pager.hidden {
    display: none;
}

.world-boss-rank-pager-btn {
    padding: 5px 10px;
    border-radius: 999px;
    border: 1px solid rgba(255, 198, 120, 0.55);
    background: rgba(255, 196, 96, 0.12);
    color: #ffe8c8;
    font-size: 0.72rem;
    cursor: pointer;
    transition: background 0.15s ease, opacity 0.15s ease;
}

.world-boss-rank-pager-btn:hover:not(:disabled) {
    background: rgba(255, 208, 120, 0.22);
}

.world-boss-rank-pager-btn:disabled {
    opacity: 0.38;
    cursor: not-allowed;
}

.world-boss-rank-pager-info {
    min-width: 4.2em;
    text-align: center;
    font-size: 0.74rem;
    font-weight: 700;
    color: #ffeccc;
}

.world-boss-my-rank {
    margin-top: 8px;
}

.world-boss-rank-card {
    display: grid;
    gap: 4px;
    padding: 8px 10px;
    border-radius: 10px;
    border: 1px solid rgba(255, 215, 125, 0.65);
    background: rgba(255, 207, 105, 0.12);
    color: #ffeccc;
    font-size: 0.79rem;
    text-align: center;
}

.world-boss-rank-card__title {
    font-size: 0.72rem;
    color: rgba(255, 228, 188, 0.86);
}

@keyframes world-boss-pulse {
    0% {
        box-shadow:
            0 0 0 1px rgba(255, 206, 138, 0.34) inset,
            0 0 18px rgba(255, 92, 42, 0.35),
            0 10px 24px rgba(0, 0, 0, 0.56);
        transform: translateY(0);
    }
    45% {
        box-shadow:
            0 0 0 1px rgba(255, 236, 162, 0.52) inset,
            0 0 44px rgba(255, 92, 36, 0.72),
            0 0 62px rgba(255, 146, 64, 0.32),
            0 14px 30px rgba(0, 0, 0, 0.62);
        transform: translateY(-2px) scale(1.01);
    }
    100% {
        box-shadow:
            0 0 0 1px rgba(255, 206, 138, 0.34) inset,
            0 0 18px rgba(255, 92, 42, 0.35),
            0 10px 24px rgba(0, 0, 0, 0.56);
        transform: translateY(0);
    }
}

@keyframes world-boss-flame-wave {
    0% {
        background-position: 0% 100%, 100% 100%, 0% 50%;
        filter: blur(0.7px) saturate(1.15);
        opacity: 0.9;
    }
    50% {
        background-position: 8% 96%, 92% 97%, 60% 50%;
        filter: blur(1.1px) saturate(1.36);
        opacity: 1;
    }
    100% {
        background-position: 0% 100%, 100% 100%, 120% 50%;
        filter: blur(0.8px) saturate(1.22);
        opacity: 0.92;
    }
}

@keyframes world-boss-emblem-shake {
    0%, 100% { transform: rotate(-10deg) scale(1); }
    50% { transform: rotate(-6deg) scale(1.08); }
}

.world-boss-rank-row {
    display: grid;
    grid-template-columns: 40px minmax(0, 1fr) auto;
    align-items: center;
    gap: 8px;
    font-size: 0.8rem;
    padding: 6px 8px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.05);
    color: #f4ecff;
    text-align: center;
}

.world-boss-rank-row__name,
.world-boss-rank-row__uid {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-weight: 700;
}

.world-boss-rank-row__dmg {
    font-size: 0.74rem;
    color: rgba(255, 236, 210, 0.92);
    white-space: nowrap;
}

.world-boss-rank-row--top1 {
    border: 1px solid rgba(255, 215, 90, 0.75);
    background: linear-gradient(90deg, rgba(255, 196, 64, 0.2), rgba(255, 255, 255, 0.04));
}

.world-boss-rank-row--top2 {
    border: 1px solid rgba(200, 220, 255, 0.55);
    background: linear-gradient(90deg, rgba(180, 200, 255, 0.14), rgba(255, 255, 255, 0.04));
}

.world-boss-rank-row--top3 {
    border: 1px solid rgba(255, 170, 120, 0.5);
    background: linear-gradient(90deg, rgba(255, 140, 80, 0.14), rgba(255, 255, 255, 0.04));
}

.world-boss-rank-row--empty {
    grid-template-columns: 1fr;
    justify-items: center;
    align-items: center;
    min-height: 52px;
    text-align: center;
}

.world-boss-rank-row.is-me {
    border: 1px solid rgba(255, 215, 125, 0.6);
    background: rgba(255, 208, 100, 0.12);
}

@media (max-width: 900px) {
    .world-boss-home-slot {
        top: 6px;
        right: 28px;
        width: min(220px, 58vw);
        min-width: 190px;
    }
    .world-boss-entry-btn {
        padding: 12px 14px 14px;
    }
    .world-boss-panel {
        width: min(460px, calc(100vw - 24px));
    }
}

@media (max-width: 720px) {
    .home-arena {
        display: flex;
        flex-direction: column;
    }

    .home-arena > .home-stage {
        order: 1;
    }

    .world-boss-home-slot {
        position: relative;
        order: 0;
        top: auto;
        right: auto;
        z-index: 6;
        width: 100%;
        min-width: 0;
        max-width: 100%;
        margin: 0 0 10px;
        padding: 0 2px;
        box-sizing: border-box;
    }

    .world-boss-entry-btn {
        padding: 10px 12px 11px;
    }

    .world-boss-entry-btn__title {
        font-size: 14px;
    }

    .world-boss-entry-btn__sub {
        font-size: 11px;
    }

    body.world-boss-panel-open {
        overflow: auto;
    }

    body.world-boss-panel-open .world-boss-panel:not(.hidden) {
        top: auto;
        bottom: calc(var(--void-mobile-nav-h, 54px) + 12px);
        transform: translateX(-50%);
        width: min(580px, calc(100vw - 12px));
        max-height: min(82vh, 920px);
        overflow-y: auto;
    }

    .world-boss-panel {
        position: fixed;
        left: 50%;
        top: auto;
        bottom: calc(var(--void-mobile-nav-h, 54px) + 8px);
        transform: translateX(-50%);
        width: min(580px, calc(100vw - 12px));
        max-height: min(88vh, 920px);
        overflow-y: auto;
        z-index: 10050;
        pointer-events: auto;
        padding: 0 0 14px;
    }

    .world-boss-panel > *:not(.world-boss-panel__head) {
        padding-left: 12px;
        padding-right: 12px;
        box-sizing: border-box;
    }

    .world-boss-panel__head {
        position: sticky;
        top: 0;
        z-index: 3;
        flex-shrink: 0;
        margin-bottom: 0;
        padding: 12px 52px 10px 12px;
        text-align: left;
        background: linear-gradient(180deg, rgba(16, 10, 34, 0.98), rgba(16, 10, 34, 0.92));
        border-bottom: 1px solid rgba(255, 120, 120, 0.25);
    }

    .world-boss-panel__head > div {
        left: 0;
    }

    .world-boss-panel__head h3 {
        text-align: left;
        margin-left: 0;
    }

    .world-boss-panel__eyebrow {
        text-align: left;
        margin-left: 0;
    }

    .world-boss-panel__close {
        top: 8px;
        right: 8px;
        width: 44px;
        height: 44px;
        font-size: 20px;
        line-height: 1;
        border-color: rgba(255, 180, 120, 0.45);
        background: rgba(80, 20, 20, 0.55);
        touch-action: manipulation;
    }

    .world-boss-guide__block {
        padding: 0;
        overflow: hidden;
    }

    .world-boss-guide__summary {
        display: flex;
        align-items: center;
        justify-content: center;
        min-height: 48px;
        padding: 12px 14px;
        font-size: 0.92rem;
        -webkit-tap-highlight-color: rgba(255, 180, 120, 0.2);
        touch-action: manipulation;
    }

    .world-boss-guide__summary::before {
        flex-shrink: 0;
        margin-right: 6px;
    }

    .world-boss-guide__list {
        padding: 0 14px 12px;
        font-size: 0.8rem;
    }

    .world-boss-guide__note {
        padding: 0 14px 12px;
    }

    .world-boss-panel__foot-close {
        display: block;
        margin: 12px 12px 4px;
        padding: 12px 14px;
        width: calc(100% - 24px);
        min-height: 48px;
        border-radius: 10px;
        border: 1px solid rgba(255, 180, 120, 0.45);
        background: rgba(60, 20, 20, 0.5);
        color: #ffe0b8;
        font-size: 0.9rem;
        font-weight: 800;
        cursor: pointer;
        touch-action: manipulation;
        -webkit-tap-highlight-color: rgba(255, 180, 120, 0.2);
    }
}

.world-boss-panel__foot-close {
    display: none;
}

.world-boss-backdrop {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 10040;
    margin: 0;
    padding: 0;
    border: none;
    background: rgba(2, 0, 8, 0.72);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    cursor: pointer;
    touch-action: manipulation;
}

.world-boss-backdrop:not(.hidden) {
    display: block;
}

/* 面板開啟：置於遮罩之上、偏下方（避免貼頂） */
body.world-boss-panel-open .world-boss-panel:not(.hidden) {
    position: fixed;
    left: 50%;
    top: auto;
    right: auto;
    bottom: max(32px, 6vh);
    transform: translateX(-50%);
    z-index: 10050;
    pointer-events: auto;
    width: min(580px, calc(100vw - 20px));
    max-height: min(82vh, 920px);
    overflow-y: auto;
    padding: 18px;
}

body.world-boss-panel-open #toast {
    z-index: 10100;
}

.world-boss-boss-name {
    margin: 0 0 8px;
    font-size: 1.05rem;
    font-weight: 800;
    letter-spacing: 0.02em;
    color: #ffd89a;
    text-shadow: 0 0 12px rgba(255, 180, 80, 0.35);
}

.world-boss-roster {
    list-style: none;
    margin: 0 0 10px;
    padding: 10px 12px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 180, 100, 0.18);
    display: grid;
    gap: 8px;
}

.world-boss-roster__item {
    display: grid;
    gap: 2px;
    font-size: 0.82rem;
    line-height: 1.35;
    color: rgba(255, 240, 220, 0.92);
}

.world-boss-roster__item strong {
    color: #fff4dc;
    font-size: 0.9rem;
}
