.play-mode-needs-selection { box-shadow: 0 0 0 2px #e6c38c, 0 0 18px #e6c38c55; }
.bossrush-guide { position: fixed; left: 24px; top: 185px; z-index: 9010; width: min(340px, calc(100vw - 48px)); box-sizing: border-box; padding: 20px; color: #ebe7df; background: #15191ff5; border: 1px solid #a88b5f; border-radius: 6px; box-shadow: 0 8px 28px #0008; }
.bossrush-guide button[hidden] { display: none !important; }
.bossrush-guide[hidden], body:not(.meeting-square) .bossrush-guide { display: none; }
.bossrush-guide-step { color: #e6c38c; font-size: 12px; }
.bossrush-guide h3 { margin: 8px 0; font-size: 18px; }
.bossrush-guide p { font-size: 14px; line-height: 1.6; margin: 10px 0 16px; }
.bossrush-guide > div { display: flex; gap: 8px; flex-wrap: wrap; }
.bossrush-guide small { display: block; color: #ffb2a3; margin-top: 8px; }
.play-mode-bossrush #masthead-actions .nav-item:not(#friend-open-top):not(#play-mode-open-top),
.play-mode-bossrush #masthead-actions .nav-group[aria-label="성장"],
.play-mode-bossrush #masthead-actions .nav-group[aria-label="활동"],
.play-mode-bossrush .resource-bar,
.play-mode-bossrush #raid-reward-open,
.play-mode-bossrush .battle-item-enhancement-toggle,
.play-mode-bossrush .battle-item-enhance-btn { display: none !important; }
.play-mode-bossrush #meeting-square-topbar { position: absolute; top: 16px; left: 50%; right: auto; transform: translateX(-50%); width: max-content; max-width: calc(100% - 32px); }
.play-mode-bossrush #meeting-square-help, .play-mode-bossrush .meeting-square-topbar-divider { display: none !important; }
.raid-roster-row[data-bossrush-black] { position: relative; border: 1px solid #bd6638; background: linear-gradient(90deg, #331d23d9, #17151ee6); box-shadow: inset 0 -3px 12px #ee702744; }
/* One entry cell per boss (no difficulty columns): the cell names its clear state. */
.raid-roster-grid[data-difficulties="1"] { --roster-difficulty-count: 1; }
.raid-roster-grid[data-difficulties="1"] .raid-roster-column { --roster-cell-w: 140px; }
/* In the square panel the one cell spans the width the difficulty cells take in vanilla (raid-roster.css). */
.square-content-panels .raid-roster-grid[data-difficulties="1"] .raid-roster-column { --roster-cell-w: calc(88px * 4 + var(--space-1) * 3); }
@container (max-width: 460px) { .raid-roster-grid[data-difficulties="1"] .raid-roster-column { --roster-cell-w: 96px; } }
html.touch-mode:not(.touch-mode-tablet) .square-content-panels .raid-roster-grid[data-difficulties="1"] .raid-roster-column { --roster-cell-w: 120px; }
.raid-roster-grid[data-difficulties="1"] .raid-roster-head { display: none; }
.party-raid-tiers[hidden], .party-raid-badge[hidden] { display: none !important; }
.raid-roster-row[data-bossrush-black="locked"] { animation: bossrush-black-embers 2.6s ease-in-out infinite alternate; }
.raid-roster-row[data-bossrush-black] .raid-roster-name { color: #ffc18c; }
.raid-roster-row[data-bossrush-black="locked"] .raid-roster-cell { opacity: 1; color: #f2c09b; }
@keyframes bossrush-black-embers { from { box-shadow: inset 0 -3px 12px #ee702733; } to { box-shadow: inset 0 -5px 22px #ee702788; } }
@media (prefers-reduced-motion: reduce) { .raid-roster-row[data-bossrush-black="locked"] { animation: none; } }
@media (max-width: 600px) {
    #play-mode-open-top .nav-item-label { display: block; font-size: 12px; }
    #play-mode-open-top { min-width: 130px; }
    .bossrush-guide { left: 12px; right: 12px; top: auto; bottom: 16px; width: auto; padding: 14px; }
}
/* Free bossrush entry of the rift, hell and narak: no stock, count, sweep or reward lines (BossRushFreeEntry.js). */
.dungeon-panel.is-free-entry :is(.dungeon-panel-next-unlock, .rift-ticket-count, .rift-ticket-max, .hell-key-count, .narak-key-count, .dungeon-enter-input,
    .dungeon-multi-label, .hell-synth-shortcut, .content-sweep-btn) { display: none !important; }
.dungeon-free-entry-note { margin: 0; color: #e6c38c; font-size: 13px; line-height: 1.5; word-break: keep-all; }
.dungeon-panel:not(.is-free-entry) .dungeon-free-entry-note { display: none; }
.play-mode-bossrush :is(.hell-hud-row:has(#hell-key-remaining), .narak-hud-row:has(#narak-key-remaining), #rift-reward-hud) { display: none !important; }
/* Bossrush top bar (user 2026-10-15): bug report and Discord larger, with their names, at the right end (wide screens; a narrow bar keeps its icons). */
@media (min-width: 1100px) {
    .play-mode-bossrush .topbar-end > .mode-switch { order: 1; }
    .play-mode-bossrush .topbar-utilities { order: 2; gap: 6px; }
    .play-mode-bossrush :is(#issue-report-open-top, #discord-open-top) { display: inline-flex; gap: 8px; width: auto; min-width: 0; height: 40px;
        padding: 0 14px; border-color: var(--color-line-2); background: var(--color-surface-2); color: var(--color-text-1); font-weight: 600; }
    .play-mode-bossrush :is(#issue-report-open-top, #discord-open-top) .ui-icon { --icon-size: 22px; }
    .play-mode-bossrush :is(#issue-report-open-top, #discord-open-top):not(.is-discord-reward)::after { content: attr(aria-label); white-space: nowrap; }
    .play-mode-bossrush #discord-open-top.is-discord-preclick-glow { color: #9aa6ff; border-color: #6f7cff; }
}
