.event-page-wrapper {
    position: relative;
    z-index: 2;
    padding-bottom: 6rem;
}

.event-container {
    max-width: 1240px;
    margin: 0 auto;
    padding: 1.5rem 1.25rem;
}

.grief-hero {
    position: relative;
    background: radial-gradient(circle at 80% 20%, rgba(239, 68, 68, 0.18) 0%, transparent 60%),
                radial-gradient(circle at 10% 80%, rgba(249, 115, 22, 0.14) 0%, transparent 50%),
                linear-gradient(180deg, rgba(20, 10, 10, 0.85) 0%, rgba(10, 7, 7, 0.95) 100%);
    border: 1px solid rgba(239, 68, 68, 0.3);
    border-radius: var(--radius-lg);
    padding: 2.5rem 2.25rem;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.6), 0 0 40px rgba(239, 68, 68, 0.12);
    backdrop-filter: blur(16px);
    overflow: hidden;
    margin-bottom: 2.5rem;
}

.hero-cover-media {
    position: relative;
    width: calc(100% + 4.5rem);
    height: 320px;
    margin: -2.5rem -2.25rem 2rem -2.25rem;
    overflow: hidden;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.hero-cover-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    filter: brightness(0.92) contrast(1.05);
}

.hero-cover-mask {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.15) 0%, rgba(10, 7, 7, 0.35) 50%, rgba(10, 7, 7, 0.98) 100%);
    pointer-events: none;
}

.grief-hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, #ef4444, #f97316, #fbbf24, transparent);
    z-index: 3;
}

.hero-tag-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.65rem;
    margin-bottom: 1.25rem;
}

.grief-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    padding: 0.35rem 0.85rem;
    border-radius: 9999px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-subtle);
    color: var(--text-muted);
}

.grief-pill.pill-flame {
    background: rgba(239, 68, 68, 0.18);
    border-color: rgba(239, 68, 68, 0.45);
    color: #fca5a5;
    box-shadow: 0 0 14px rgba(239, 68, 68, 0.2);
}

.grief-pill.pill-ended {
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.15), rgba(245, 158, 11, 0.12));
    border-color: rgba(245, 158, 11, 0.4);
    color: #fef08a;
    box-shadow: 0 0 16px rgba(245, 158, 11, 0.15);
    letter-spacing: 0.08em;
}

.grief-pill.pill-upcoming {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.18), rgba(99, 102, 241, 0.14));
    border-color: rgba(99, 102, 241, 0.45);
    color: #93c5fd;
    box-shadow: 0 0 16px rgba(59, 130, 246, 0.2);
    letter-spacing: 0.06em;
}

.grief-pill.pill-copy {
    background: rgba(249, 115, 22, 0.12);
    border-color: rgba(249, 115, 22, 0.35);
    color: #fed7aa;
}

.grief-title-box {
    margin-bottom: 1.25rem;
}

.grief-title {
    font-size: 3rem;
    font-weight: 900;
    letter-spacing: -0.03em;
    line-height: 1.05;
    margin: 0 0 0.5rem 0;
    text-transform: uppercase;
    background: linear-gradient(135deg, #ffffff 0%, #fee2e2 40%, #ef4444 80%, #b91c1c 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 4px 16px rgba(239, 68, 68, 0.35));
}

.grief-subtitle {
    font-size: 1.1rem;
    color: var(--text-muted);
    max-width: 720px;
    line-height: 1.5;
    margin: 0;
}

.hero-stats-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1rem;
    margin-top: 2rem;
}

.stat-cell {
    background: rgba(255, 255, 255, 0.025);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius);
    padding: 1.15rem;
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    position: relative;
    overflow: hidden;
    transition: var(--transition);
}

.stat-cell:hover {
    border-color: var(--border-strong);
    background: rgba(255, 255, 255, 0.045);
}

.stat-cell-label {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--text-dim);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.stat-cell-number {
    font-size: 1.65rem;
    font-weight: 800;
    color: var(--text-main);
    letter-spacing: -0.02em;
}

.stat-cell-number.glow-red {
    color: #f87171;
    text-shadow: 0 0 16px rgba(239, 68, 68, 0.4);
}

.stat-cell-number.glow-green {
    color: #34d399;
    text-shadow: 0 0 16px rgba(16, 185, 129, 0.4);
}

.stat-cell-number.glow-yellow {
    color: #fbbf24;
    text-shadow: 0 0 16px rgba(251, 191, 36, 0.4);
}

.countdown-box {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 0.25rem;
}

.cd-unit {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: rgba(0, 0, 0, 0.4);
    padding: 0.35rem 0.65rem;
    border-radius: 6px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    min-width: 44px;
}

.cd-num {
    font-size: 1.25rem;
    font-weight: 800;
    color: #ffedd5;
    line-height: 1;
}

.cd-lbl {
    font-size: 0.62rem;
    color: var(--text-dim);
    text-transform: uppercase;
    font-weight: 600;
}

.track-container {
    background: var(--surface-base);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: 1.75rem;
    margin-bottom: 2.5rem;
    box-shadow: var(--shadow-sm);
    backdrop-filter: blur(12px);
}

.track-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 1.25rem;
}

.track-title {
    font-size: 1.25rem;
    font-weight: 800;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 0.65rem;
}

.track-bar-outer {
    position: relative;
    padding-top: 1.5rem;
}

.track-ticks {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.4rem;
    font-size: 0.72rem;
    color: var(--text-dim);
    font-weight: 600;
}

.track-rail {
    height: 48px;
    background: rgba(12, 10, 9, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    display: flex;
    overflow: hidden;
    position: relative;
    box-shadow: inset 0 2px 8px rgba(0, 0, 0, 0.7);
}

.track-segment {
    height: 100%;
    position: absolute;
    top: 0;
    bottom: 0;
    box-sizing: border-box;
    border-right: 1px solid rgba(0, 0, 0, 0.45);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    cursor: pointer;
    transition: filter 0.2s ease;
    user-select: none;
    overflow: hidden;
}

.track-segment:hover {
    filter: brightness(1.35);
    z-index: 20;
}

.track-segment.seg-available {
    background: linear-gradient(180deg, #27272a 0%, #18181b 100%);
    color: #a1a1aa;
}

.track-segment.seg-reserved {
    background: linear-gradient(180deg, #3b82f6 0%, #1d4ed8 100%);
    color: #ffffff;
    box-shadow: inset 0 0 10px rgba(59, 130, 246, 0.4);
}

.track-segment.seg-pending_review {
    background: linear-gradient(180deg, #f59e0b 0%, #b45309 100%);
    color: #18181b;
    box-shadow: inset 0 0 10px rgba(245, 158, 11, 0.4);
}

.track-segment.seg-completed {
    background: linear-gradient(180deg, #10b981 0%, #047857 100%);
    color: #ffffff;
    box-shadow: inset 0 0 10px rgba(16, 185, 129, 0.4);
}

.track-seg-text {
    font-size: 0.65rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    pointer-events: none;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: clip;
}

.track-legend-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1.5rem;
    margin-top: 1.25rem;
    font-size: 0.82rem;
}

.legend-pill {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-muted);
}

.legend-glow-dot {
    width: 10px;
    height: 10px;
    border-radius: 3px;
}

.legend-glow-dot.dot-available { background: #3f3f46; }
.legend-glow-dot.dot-reserved { background: #3b82f6; box-shadow: 0 0 8px rgba(59, 130, 246, 0.6); }
.legend-glow-dot.dot-pending { background: #f59e0b; box-shadow: 0 0 8px rgba(245, 158, 11, 0.6); }
.legend-glow-dot.dot-completed { background: #10b981; box-shadow: 0 0 8px rgba(16, 185, 129, 0.6); }

.hud-panel {
    background: linear-gradient(135deg, rgba(249, 115, 22, 0.08) 0%, rgba(18, 14, 12, 0.8) 100%);
    border: 1px solid rgba(249, 115, 22, 0.35);
    border-radius: var(--radius-lg);
    padding: 1.75rem;
    margin-bottom: 2.5rem;
    box-shadow: var(--shadow-md), 0 0 25px rgba(249, 115, 22, 0.08);
    backdrop-filter: blur(12px);
}

.hud-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 1.25rem;
}

.hud-title {
    font-size: 1.25rem;
    font-weight: 800;
    color: #ffedd5;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 0.65rem;
}

.hud-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 1.25rem;
}

.hud-card {
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius);
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
    transition: var(--transition);
}

.hud-card:hover {
    border-color: var(--border-strong);
}

.notice-banner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
    padding: 1.25rem 1.5rem;
    border-radius: var(--radius);
    margin-bottom: 2.5rem;
    backdrop-filter: blur(10px);
}

.notice-banner.notice-auth {
    background: rgba(249, 115, 22, 0.08);
    border: 1px solid rgba(249, 115, 22, 0.3);
}

.notice-banner.notice-ban {
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.4);
}

.notice-banner.notice-success {
    background: rgba(16, 185, 129, 0.08);
    border: 1px solid rgba(16, 185, 129, 0.3);
}

.section-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1.25rem;
    margin-bottom: 1.5rem;
}

.section-heading {
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    margin: 0;
}

.filter-pills-bar {
    display: inline-flex;
    background: rgba(0, 0, 0, 0.45);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-sm);
    padding: 3px;
    gap: 3px;
}

.filter-btn {
    background: transparent;
    border: none;
    color: var(--text-muted);
    font-size: 0.82rem;
    font-weight: 600;
    padding: 0.45rem 0.95rem;
    border-radius: 6px;
    cursor: pointer;
    transition: var(--transition);
}

.filter-btn:hover {
    color: #ffffff;
    background: var(--surface-hover);
}

.filter-btn.active {
    background: var(--primary);
    color: #ffffff;
    box-shadow: 0 2px 10px var(--primary-glow);
}

.segments-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.25rem;
}

.seg-card {
    background: rgba(18, 14, 14, 0.7);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius);
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 200px;
    transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
    backdrop-filter: blur(10px);
    position: relative;
    cursor: pointer;
    overflow: hidden;
}

.seg-card.has-cover {
    background: #0f0c10;
}

.seg-cover-wrap {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    pointer-events: none;
    z-index: 0;
}

.seg-cover-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.4s ease, filter 0.4s ease;
    filter: brightness(0.85) contrast(1.15) saturate(1.25);
}

.seg-card:hover .seg-cover-img {
    transform: scale(1.06);
    filter: brightness(0.98) contrast(1.2) saturate(1.35);
}

.seg-cover-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        rgba(10, 8, 12, 0.45) 0%,
        rgba(10, 8, 12, 0.25) 35%,
        rgba(10, 8, 12, 0.75) 75%,
        rgba(10, 8, 12, 0.92) 100%
    );
    pointer-events: none;
}

.seg-card-body {
    position: relative;
    z-index: 1;
}

.seg-card.has-cover .seg-range {
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.9), 0 0 20px rgba(0, 0, 0, 0.8);
}

.seg-card.has-cover .seg-number {
    text-shadow: 0 1px 6px rgba(0, 0, 0, 0.9);
}

.seg-card.has-cover .seg-name {
    color: #f4f4f5;
    text-shadow: 0 1px 8px rgba(0, 0, 0, 0.95);
    background: rgba(0, 0, 0, 0.45);
    display: inline-block;
    padding: 0.15rem 0.5rem;
    border-radius: 6px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    max-width: 100%;
}

.seg-card:hover {
    transform: translateY(-3px);
    border-color: rgba(255, 255, 255, 0.18);
    box-shadow: var(--shadow-md);
}

.seg-card.is-selected {
    border-color: #ef4444;
    box-shadow: 0 0 20px rgba(239, 68, 68, 0.35);
    background: rgba(239, 68, 68, 0.08);
}

.seg-card.status-completed {
    border-color: rgba(16, 185, 129, 0.25);
}

.seg-card.status-pending_review {
    border-color: rgba(245, 158, 11, 0.25);
}

.seg-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.75rem;
}

.seg-number {
    font-size: 0.75rem;
    font-weight: 800;
    color: var(--text-dim);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.seg-status-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.2rem 0.6rem;
    border-radius: 9999px;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.seg-status-tag.tag-available {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #d4d4d8;
}

.seg-status-tag.tag-reserved {
    background: rgba(59, 130, 246, 0.15);
    border: 1px solid rgba(59, 130, 246, 0.4);
    color: #93c5fd;
}

.seg-status-tag.tag-pending_review {
    background: rgba(245, 158, 11, 0.15);
    border: 1px solid rgba(245, 158, 11, 0.4);
    color: #fde047;
}

.seg-status-tag.tag-completed {
    background: rgba(16, 185, 129, 0.15);
    border: 1px solid rgba(16, 185, 129, 0.4);
    color: #6ee7b7;
}

.seg-range {
    font-size: 1.65rem;
    font-weight: 900;
    letter-spacing: -0.02em;
    color: #ffffff;
    margin-bottom: 0.25rem;
}

.seg-name {
    font-size: 0.88rem;
    color: var(--text-muted);
    font-weight: 500;
    margin-bottom: 1rem;
}

.seg-footer {
    padding-top: 0.85rem;
    border-top: 1px solid var(--border-subtle);
    position: relative;
    z-index: 1;
}

.seg-player-box {
    display: flex;
    align-items: center;
    gap: 0.65rem;
}

.seg-player-avatar {
    width: 28px;
    height: 28px;
    border-radius: 0;
    background: transparent;
    object-fit: contain;
}

.seg-player-name {
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--text-main);
    text-decoration: none;
    transition: color 0.15s ease;
}

.seg-player-name:hover {
    color: var(--primary);
}

.seg-action-prompt {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.78rem;
}

.select-pill {
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    font-weight: 700;
    font-size: 0.72rem;
    text-transform: uppercase;
    transition: var(--transition);
}

.select-pill.pill-idle {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-subtle);
    color: var(--text-muted);
}

.select-pill.pill-selected {
    background: #ef4444;
    color: #ffffff;
    box-shadow: 0 0 12px rgba(239, 68, 68, 0.5);
}

.dock-bar {
    position: fixed;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(18, 12, 12, 0.94);
    border: 1px solid rgba(239, 68, 68, 0.5);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8), 0 0 30px rgba(239, 68, 68, 0.25);
    border-radius: 9999px;
    padding: 0.85rem 1.75rem;
    display: flex;
    align-items: center;
    gap: 1.75rem;
    z-index: 1050;
    backdrop-filter: blur(20px);
}

.dock-info {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.dock-title {
    font-size: 0.95rem;
    font-weight: 800;
    color: #ffffff;
    line-height: 1.1;
}

.dock-sub {
    font-size: 0.75rem;
    color: #fca5a5;
}

.dock-btn {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    color: #ffffff;
    border: none;
    font-size: 0.88rem;
    font-weight: 800;
    padding: 0.6rem 1.4rem;
    border-radius: 9999px;
    cursor: pointer;
    box-shadow: 0 4px 14px rgba(239, 68, 68, 0.4);
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.dock-btn:hover:not(:disabled) {
    transform: scale(1.02);
    box-shadow: 0 6px 20px rgba(239, 68, 68, 0.6);
}

.dock-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.modal-backdrop-custom {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(8px);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.25rem;
}

.modal-content-custom {
    background: #110d0d;
    border: 1px solid rgba(239, 68, 68, 0.35);
    border-radius: var(--radius-lg);
    max-width: 600px;
    width: 100%;
    padding: 2rem;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.8);
    position: relative;
}

.final-showcase {
    background: radial-gradient(circle at 50% 0%, rgba(239, 68, 68, 0.22) 0%, transparent 70%),
                linear-gradient(180deg, rgba(22, 12, 12, 0.95) 0%, rgba(10, 7, 7, 0.98) 100%);
    border: 1px solid rgba(239, 68, 68, 0.45);
    border-radius: var(--radius-lg);
    padding: 2.25rem;
    margin-bottom: 2.5rem;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.7), 0 0 35px rgba(239, 68, 68, 0.2);
    backdrop-filter: blur(16px);
}

.final-showcase-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 2rem auto;
}

.final-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.82rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 0.35rem 1rem;
    border-radius: 9999px;
    background: rgba(239, 68, 68, 0.2);
    border: 1px solid rgba(239, 68, 68, 0.5);
    color: #fca5a5;
    margin-bottom: 0.75rem;
    box-shadow: 0 0 16px rgba(239, 68, 68, 0.3);
}

.final-title {
    font-size: 2.25rem;
    font-weight: 900;
    letter-spacing: -0.02em;
    color: #ffffff;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    background: linear-gradient(135deg, #ffffff 0%, #fed7aa 60%, #ef4444 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.final-video-frame {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    border-radius: var(--radius);
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 16px 45px rgba(0, 0, 0, 0.8), 0 0 30px rgba(239, 68, 68, 0.25);
    background: #000000;
    margin-bottom: 2rem;
}

.final-video-frame iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.hall-of-fame-title {
    font-size: 1.4rem;
    font-weight: 800;
    letter-spacing: -0.01em;
    color: #ffffff;
    margin-bottom: 1.25rem;
    display: flex;
    align-items: center;
    gap: 0.65rem;
}

.ended-roster-box {
    background: radial-gradient(circle at 10% 20%, rgba(255, 255, 255, 0.03) 0%, transparent 50%),
                rgba(16, 14, 18, 0.85);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: 1.5rem 1.75rem;
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(12px);
}

.ended-table-wrap {
    overflow-x: auto;
    border-radius: var(--radius);
    border: 1px solid var(--border-subtle);
    background: rgba(10, 8, 12, 0.7);
}

.roster-table {
    width: 100%;
    margin-bottom: 0;
    border-collapse: collapse;
    background: transparent;
    color: var(--text-main);
}

.roster-table tbody tr {
    transition: background 0.15s ease;
    border-bottom: 1px solid var(--border-subtle);
}

.roster-table tbody tr:last-child {
    border-bottom: none;
}

.roster-table tbody tr:hover {
    background: rgba(255, 255, 255, 0.04);
}

.roster-table th {
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--text-dim);
    padding: 0.9rem 1.15rem;
    white-space: nowrap;
    border-bottom: 1px solid var(--border-subtle);
    background: rgba(0, 0, 0, 0.35);
}

.roster-table td {
    padding: 0.95rem 1.15rem;
    font-size: 0.9rem;
    border-bottom: 1px solid var(--border-subtle);
    vertical-align: middle;
    white-space: nowrap;
    background: transparent;
}

.roster-table-range {
    display: inline-block;
    background: rgba(239, 68, 68, 0.15);
    border: 1px solid rgba(239, 68, 68, 0.35);
    color: #fca5a5;
    font-weight: 800;
    font-size: 0.82rem;
    padding: 0.25rem 0.65rem;
    border-radius: 6px;
    letter-spacing: 0.02em;
    white-space: nowrap;
}

.roster-table-partname {
    font-weight: 600;
    color: #fde047;
    white-space: nowrap;
}

.roster-table-player {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    text-decoration: none;
    color: #ffffff;
    font-weight: 700;
    white-space: nowrap;
    transition: color 0.15s ease;
}

.roster-table-player:hover {
    color: var(--primary);
}

.roster-table-player-name {
    font-size: 0.92rem;
    white-space: nowrap;
}

.roster-user-name:hover {
    color: var(--primary);
}

.roster-user-city {
    font-size: 0.72rem;
    color: var(--text-dim);
}

.ended-date-badge {
    display: inline-flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 9999px;
    padding: 0.35rem 0.85rem;
    font-size: 0.82rem;
    font-weight: 700;
    color: #e2e8f0;
}

.editing-notice-card {
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.1) 0%, rgba(18, 14, 12, 0.85) 100%);
    border: 1px solid rgba(245, 158, 11, 0.4);
    border-radius: var(--radius-lg);
    padding: 2rem;
    margin-bottom: 2.5rem;
    text-align: center;
    backdrop-filter: blur(12px);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.6);
}

@media (max-width: 768px) {
    .grief-hero {
        padding: 1.5rem 1.25rem;
    }
    .hero-cover-media {
        width: calc(100% + 2.5rem);
        height: 190px;
        margin: -1.5rem -1.25rem 1.5rem -1.25rem;
    }
    .grief-title {
        font-size: 2.1rem;
    }
    .dock-bar {
        width: calc(100% - 2rem);
        flex-direction: column;
        border-radius: var(--radius);
        gap: 0.75rem;
        padding: 1rem;
        bottom: 1rem;
    }
    .dock-info {
        text-align: center;
    }
    .dock-btn {
        width: 100%;
        justify-content: center;
    }
    .final-title {
        font-size: 1.75rem;
    }
}

.catalog-header {
    margin-bottom: 2.5rem;
}

.catalog-title {
    font-size: 2.5rem;
    font-weight: 900;
    letter-spacing: -0.02em;
    margin-bottom: 0.5rem;
    background: linear-gradient(135deg, #ffffff 0%, #cbd5e1 60%, #94a3b8 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.catalog-subtitle {
    color: var(--text-muted);
    font-size: 1.05rem;
    max-width: 650px;
    margin: 0;
}

.events-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 1.5rem;
}

.event-card {
    background: linear-gradient(180deg, rgba(26, 26, 36, 0.75) 0%, rgba(16, 16, 24, 0.9) 100%);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
    backdrop-filter: blur(12px);
    text-decoration: none;
    color: inherit;
    position: relative;
}

.event-card:hover {
    transform: translateY(-4px);
    border-color: var(--event-accent, #ef4444);
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.5), 0 0 24px rgba(239, 68, 68, 0.15);
    color: inherit;
}

.event-card.is-disabled {
    cursor: not-allowed;
    user-select: none;
}

.event-card.is-disabled:hover {
    transform: none;
    border-color: rgba(59, 130, 246, 0.35);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}

.event-card-banner {
    height: 190px;
    position: relative;
    overflow: hidden;
    padding: 1rem 1.25rem;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    border-bottom: 1px solid var(--border-subtle);
    background: #0f0c10;
}

.event-card-cover-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.4s ease, filter 0.4s ease;
    filter: brightness(0.9) contrast(1.05);
}

.event-card:hover .event-card-cover-img {
    transform: scale(1.06);
    filter: brightness(1.02) contrast(1.1);
}

.event-card-cover-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.35) 0%, rgba(0, 0, 0, 0.15) 40%, rgba(16, 16, 24, 0.96) 100%);
    pointer-events: none;
}

.event-card-banner-top {
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    width: 100%;
}

.event-card-body {
    padding: 1.25rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.event-card-title {
    font-size: 1.35rem;
    font-weight: 800;
    color: #ffffff;
    margin: 0 0 0.4rem 0;
    line-height: 1.25;
}

.event-card-subtitle {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.4;
    margin-bottom: 1rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.event-card-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 0.78rem;
    color: var(--text-dim);
    margin-bottom: 1rem;
}

.event-card-progress {
    margin-top: auto;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.event-progress-header {
    display: flex;
    justify-content: space-between;
    font-size: 0.78rem;
    margin-bottom: 0.4rem;
}

.event-progress-bar-bg {
    width: 100%;
    height: 6px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 9999px;
    overflow: hidden;
}

.event-progress-bar-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--event-accent, #ef4444), #f59e0b);
    border-radius: 9999px;
    transition: width 0.3s ease;
}

.event-card-footer {
    padding: 0.85rem 1.25rem;
    background: rgba(0, 0, 0, 0.2);
    border-top: 1px solid var(--border-subtle);
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--text-muted);
}

.upcoming-launch-widget {
    background: linear-gradient(135deg, rgba(20, 25, 45, 0.85) 0%, rgba(15, 23, 42, 0.95) 100%);
    border: 1px solid rgba(59, 130, 246, 0.25);
    border-radius: var(--radius-sm, 10px);
    padding: 0.85rem 1rem;
    margin-bottom: 1rem;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05), 0 4px 16px rgba(0, 0, 0, 0.35);
}

.upcoming-widget-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.65rem;
}

.upcoming-widget-label {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #93c5fd;
}

.upcoming-widget-pulse {
    width: 6px;
    height: 6px;
    background: #3b82f6;
    border-radius: 50%;
    box-shadow: 0 0 8px #60a5fa;
    animation: pulse 1.8s infinite;
}

.upcoming-digits-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.4rem;
    margin-bottom: 0.65rem;
}

.upcoming-digit-cell {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 6px;
    padding: 0.35rem 0.2rem;
}

.upcoming-digit-val {
    font-size: 1.15rem;
    font-weight: 800;
    color: #ffffff;
    line-height: 1;
    font-variant-numeric: tabular-nums;
}

.upcoming-digit-lbl {
    font-size: 0.6rem;
    font-weight: 600;
    text-transform: uppercase;
    color: var(--text-dim, #71717a);
    margin-top: 2px;
}

.upcoming-widget-local {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    font-size: 0.73rem;
    color: var(--text-dim, #a1a1aa);
    padding-top: 0.45rem;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.upcoming-widget-local strong {
    color: #e2e8f0;
    font-weight: 600;
}

.hud-submission-hub {
    position: relative;
    background: radial-gradient(circle at 10% 10%, rgba(239, 68, 68, 0.16) 0%, transparent 60%),
                linear-gradient(135deg, rgba(26, 16, 16, 0.95) 0%, rgba(12, 9, 9, 0.98) 100%);
    border: 1px solid rgba(239, 68, 68, 0.4);
    border-radius: var(--radius-lg);
    padding: 2rem 2.25rem;
    margin-bottom: 2.5rem;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.65), 0 0 35px rgba(239, 68, 68, 0.12);
    backdrop-filter: blur(16px);
    overflow: hidden;
}

.hud-submission-hub::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, #ef4444, #f97316, transparent);
}

.hud-sub-badge {
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #fca5a5;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.35rem;
}

.status-indicator-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    display: inline-block;
    margin-right: 0.45rem;
}

.status-indicator-dot.dot-completed {
    background: #10b981;
    box-shadow: 0 0 8px #10b981;
}

.status-indicator-dot.dot-pending_review {
    background: #f59e0b;
    box-shadow: 0 0 8px #f59e0b;
}

.status-indicator-dot.dot-reserved {
    background: #3b82f6;
    box-shadow: 0 0 8px #3b82f6;
}

.hud-sector-strip {
    background: rgba(0, 0, 0, 0.45);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 1.15rem 1.35rem;
    margin-bottom: 1.25rem;
}

.sector-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 0.85rem;
}

.sector-percents {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    font-size: 1.6rem;
    font-weight: 900;
    color: #ffffff;
    font-family: inherit;
}

.sector-percents .pct-sep {
    font-size: 1rem;
    color: var(--event-accent, #ef4444);
    opacity: 0.85;
}

.sector-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
}

.sector-chip {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    padding: 0.3rem 0.65rem;
    border-radius: 6px;
    font-size: 0.82rem;
    font-weight: 700;
    color: #e4e4e7;
}

.sector-chip.chip-chain {
    background: rgba(239, 68, 68, 0.15);
    border-color: rgba(239, 68, 68, 0.4);
    color: #fca5a5;
}

.sector-progress-track {
    position: relative;
    height: 10px;
    background: rgba(255, 255, 255, 0.06);
    border-radius: 9999px;
    overflow: hidden;
}

.sector-progress-fill {
    position: absolute;
    height: 100%;
    background: linear-gradient(90deg, #ef4444, #f97316);
    border-radius: 9999px;
    box-shadow: 0 0 12px rgba(239, 68, 68, 0.75);
}

.hud-rule-alert {
    display: flex;
    align-items: flex-start;
    gap: 0.9rem;
    padding: 1rem 1.25rem;
    background: rgba(239, 68, 68, 0.08);
    border: 1px solid rgba(239, 68, 68, 0.28);
    border-radius: 12px;
    margin-bottom: 1.25rem;
}

.hud-rule-icon {
    font-size: 1.2rem;
    color: #ef4444;
    padding-top: 0.1rem;
    flex-shrink: 0;
}

.hud-status-card {
    display: flex;
    align-items: center;
    gap: 1.15rem;
    padding: 1.35rem 1.5rem;
    border-radius: 12px;
    margin-bottom: 1.25rem;
}

.hud-status-card .status-card-icon {
    font-size: 1.75rem;
    flex-shrink: 0;
}

.hud-status-card.status-card-success {
    background: rgba(16, 185, 129, 0.08);
    border: 1px solid rgba(16, 185, 129, 0.35);
}

.hud-status-card.status-card-success .status-card-icon {
    color: #10b981;
}

.hud-status-card.status-card-pending {
    background: rgba(245, 158, 11, 0.08);
    border: 1px solid rgba(245, 158, 11, 0.35);
}

.hud-status-card.status-card-pending .status-card-icon {
    color: #f59e0b;
}

.hud-status-card.status-card-rejected {
    background: rgba(239, 68, 68, 0.08);
    border: 1px solid rgba(239, 68, 68, 0.4);
}

.hud-status-card.status-card-rejected .status-card-icon {
    color: #ef4444;
}

.status-card-title {
    font-weight: 800;
    font-size: 1.1rem;
    margin-bottom: 0.25rem;
}

.status-card-desc {
    color: #a1a1aa;
    font-size: 0.88rem;
    line-height: 1.45;
}

.hud-input-zone {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.hud-input-label {
    font-size: 0.88rem;
    font-weight: 700;
    color: #e4e4e7;
    display: flex;
    align-items: center;
}

.hud-input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
}

.hud-input-icon {
    position: absolute;
    left: 1.1rem;
    color: #71717a;
    font-size: 1.05rem;
    pointer-events: none;
}

.hud-input-field {
    width: 100%;
    padding: 0.9rem 2.85rem 0.9rem 2.85rem;
    background: rgba(0, 0, 0, 0.55);
    border: 1.5px solid rgba(255, 255, 255, 0.12);
    border-radius: 10px;
    color: #ffffff;
    font-size: 0.95rem;
    transition: all 0.2s ease;
}

.hud-input-field:focus {
    outline: none;
    border-color: #ef4444;
    box-shadow: 0 0 18px rgba(239, 68, 68, 0.35);
    background: rgba(0, 0, 0, 0.8);
}

.hud-input-clear {
    position: absolute;
    right: 0.9rem;
    background: none;
    border: none;
    color: #a1a1aa;
    cursor: pointer;
    padding: 0.3rem;
    font-size: 0.95rem;
    transition: color 0.15s ease;
}

.hud-input-clear:hover {
    color: #ffffff;
}

.hud-comment-zone {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-top: 0.25rem;
}

.hud-char-counter {
    font-size: 0.75rem;
    font-weight: 600;
    font-variant-numeric: tabular-nums;
}

.hud-textarea-wrapper {
    position: relative;
    width: 100%;
}

.hud-textarea-field {
    width: 100%;
    padding: 0.85rem 1rem;
    background: rgba(0, 0, 0, 0.55);
    border: 1.5px solid rgba(255, 255, 255, 0.12);
    border-radius: 10px;
    color: #ffffff;
    font-size: 0.92rem;
    line-height: 1.45;
    resize: vertical;
    min-height: 70px;
    transition: all 0.2s ease;
    font-family: inherit;
}

.hud-textarea-field:focus {
    outline: none;
    border-color: #ef4444;
    box-shadow: 0 0 18px rgba(239, 68, 68, 0.35);
    background: rgba(0, 0, 0, 0.8);
}

.hud-supported-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 0.15rem;
}

.hud-chip {
    font-size: 0.76rem;
    font-weight: 600;
    color: #a1a1aa;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.07);
    padding: 0.22rem 0.6rem;
    border-radius: 9999px;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

.hud-actions-row {
    display: flex;
    gap: 0.85rem;
    align-items: center;
    margin-top: 0.65rem;
    flex-wrap: wrap;
}

.hud-submit-btn {
    flex-grow: 1;
    padding: 0.9rem 1.6rem;
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    border: none;
    border-radius: 10px;
    font-weight: 800;
    font-size: 0.95rem;
    letter-spacing: 0.02em;
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 18px rgba(239, 68, 68, 0.35);
    transition: all 0.2s ease;
    cursor: pointer;
}

.hud-submit-btn:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(239, 68, 68, 0.5);
    filter: brightness(1.1);
}

.hud-submit-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.hud-cancel-btn {
    padding: 0.9rem 1.35rem;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(239, 68, 68, 0.3);
    border-radius: 10px;
    color: #fca5a5;
    font-weight: 700;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    transition: all 0.2s ease;
    cursor: pointer;
}

.hud-cancel-btn:hover:not(:disabled) {
    background: rgba(239, 68, 68, 0.15);
    border-color: #ef4444;
    color: #ffffff;
}

.hud-audio-spec {
    display: flex;
    align-items: flex-start;
    gap: 0.85rem;
    padding: 0.9rem 1.15rem;
    background: rgba(30, 27, 46, 0.55);
    border: 1px solid rgba(139, 92, 246, 0.35);
    border-radius: 10px;
    margin-top: 0.25rem;
    margin-bottom: 0.35rem;
}

.hud-audio-icon {
    font-size: 1.15rem;
    color: #a78bfa;
    padding-top: 0.15rem;
    flex-shrink: 0;
}

.hud-audio-title {
    font-size: 0.85rem;
    font-weight: 800;
    color: #ddd6fe;
    letter-spacing: 0.02em;
    margin-bottom: 0.2rem;
    display: flex;
    align-items: center;
    gap: 0.45rem;
}

.hud-audio-desc {
    font-size: 0.82rem;
    color: #cbd5e1;
    line-height: 1.45;
}

.hud-audio-variants {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    margin-top: 0.45rem;
}

.hud-audio-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.76rem;
    font-weight: 700;
    color: #e2e8f0;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.12);
    padding: 0.22rem 0.65rem;
    border-radius: 6px;
    width: fit-content;
}

.hud-audio-badge strong {
    color: #38bdf8;
}

@media (max-width: 768px) {
    .hud-submission-hub {
        padding: 1.35rem 1.25rem;
    }
    .hud-actions-row {
        flex-direction: column;
    }
    .hud-submit-btn,
    .hud-cancel-btn {
        width: 100%;
        justify-content: center;
    }
    .sector-meta {
        flex-direction: column;
        align-items: flex-start;
    }
}


