/* 自定义样式补充 - 配合 Tailwind */

/* 滚动平滑 */
html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", sans-serif;
}

/* 16列网格 */
.grid-cols-16 {
    grid-template-columns: repeat(16, minmax(0, 1fr));
}

/* 流程概览卡片 */
.flow-step {
    position: relative;
    text-align: center;
}

.flow-step-number {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    color: white;
    font-weight: bold;
    font-size: 1.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    box-shadow: 0 0 0 4px #0F1117, 0 8px 20px rgba(0,0,0,0.4);
    transition: transform 0.3s;
}

.flow-step:hover .flow-step-number {
    transform: scale(1.1) translateY(-4px);
}

.flow-step-card {
    background: rgba(26, 29, 41, 0.6);
    border: 1px solid rgba(75, 85, 99, 0.3);
    border-radius: 12px;
    padding: 16px 12px;
    transition: all 0.3s;
    backdrop-filter: blur(8px);
}

.flow-step:hover .flow-step-card {
    border-color: rgba(167, 139, 250, 0.5);
    background: rgba(37, 41, 56, 0.8);
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(124, 58, 237, 0.2);
}

/* 玩家圆点（天梯池） */
.player-dot {
    aspect-ratio: 1;
    border-radius: 4px;
    transition: all 0.3s;
    animation: dotFadeIn 0.4s ease-out backwards;
    animation-delay: calc(var(--i, 0) * 20ms);
}

.player-dot.qualified {
    background: linear-gradient(135deg, #06B6D4, #3B82F6) !important;
    box-shadow: 0 0 8px rgba(6, 182, 212, 0.6);
}

@keyframes dotFadeIn {
    from { opacity: 0; transform: scale(0.5); }
    to { opacity: 1; transform: scale(1); }
}

/* 漏斗 */
.funnel-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.funnel-stage {
    width: var(--w, 100%);
    background: linear-gradient(90deg, rgba(124, 58, 237, 0.3), rgba(88, 101, 242, 0.3));
    border: 1px solid rgba(167, 139, 250, 0.4);
    border-radius: 12px;
    padding: 16px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: all 0.3s;
    min-width: 280px;
}

.funnel-stage:hover {
    transform: scale(1.02);
    box-shadow: 0 8px 24px rgba(124, 58, 237, 0.3);
}

.funnel-label {
    font-weight: 600;
    font-size: 0.95rem;
}

.funnel-count {
    font-size: 1.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, #A78BFA, #EC4899);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.funnel-arrow {
    color: #9CA3AF;
    font-size: 0.8rem;
    display: flex;
    align-items: center;
    gap: 6px;
}

/* 小组卡片 */
.group-card {
    background: linear-gradient(135deg, rgba(124, 58, 237, 0.1), rgba(168, 85, 247, 0.05));
    border: 1px solid rgba(167, 139, 250, 0.3);
    border-radius: 12px;
    padding: 12px;
    cursor: pointer;
    transition: all 0.3s;
    text-align: center;
}

.group-card:hover {
    background: linear-gradient(135deg, rgba(124, 58, 237, 0.25), rgba(168, 85, 247, 0.15));
    border-color: rgba(167, 139, 250, 0.7);
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(124, 58, 237, 0.25);
}

.group-card.active {
    background: linear-gradient(135deg, rgba(236, 72, 153, 0.3), rgba(168, 85, 247, 0.2));
    border-color: #EC4899;
}

.group-card-name {
    font-weight: 700;
    font-size: 0.95rem;
    color: #C4B5FD;
}

.group-card-info {
    font-size: 0.7rem;
    color: #9CA3AF;
    margin-top: 4px;
}

/* 对阵 */
.match-player {
    background: rgba(31, 41, 55, 0.6);
    border: 1px solid rgba(75, 85, 99, 0.5);
    border-radius: 6px;
    padding: 8px 12px;
    font-size: 0.85rem;
    text-align: center;
}

.match-vs {
    text-align: center;
    font-size: 0.7rem;
    color: #6B7280;
    font-weight: 700;
    letter-spacing: 0.1em;
}

.bracket-pair {
    background: rgba(15, 17, 23, 0.5);
    border: 1px solid rgba(75, 85, 99, 0.4);
    border-radius: 8px;
    padding: 8px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.bracket-match {
    background: rgba(15, 17, 23, 0.6);
    border: 1px solid rgba(75, 85, 99, 0.4);
    border-radius: 12px;
    padding: 16px;
}

/* Info pill */
.info-pill {
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(15, 17, 23, 0.6);
    border: 1px solid rgba(75, 85, 99, 0.4);
    border-radius: 12px;
    padding: 12px 16px;
}

/* 4强 房间步骤 */
.room-step {
    position: relative;
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.08), rgba(234, 179, 8, 0.04));
    border: 1px solid rgba(245, 158, 11, 0.25);
    border-radius: 12px;
    padding: 20px 16px;
    text-align: center;
    transition: all 0.3s;
}

.room-step:hover {
    transform: translateY(-4px);
    border-color: rgba(245, 158, 11, 0.6);
    box-shadow: 0 8px 24px rgba(245, 158, 11, 0.2);
}

.room-step-num {
    position: absolute;
    top: -10px;
    right: 12px;
    background: linear-gradient(135deg, #F59E0B, #EAB308);
    color: white;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 700;
    box-shadow: 0 0 0 3px #1A1D29;
}

/* 听牌步骤 */
.ting-step {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    background: rgba(15, 17, 23, 0.6);
    border: 1px solid rgba(75, 85, 99, 0.4);
    border-radius: 12px;
    padding: 16px;
    transition: all 0.3s;
}

.ting-step:hover {
    border-color: rgba(245, 158, 11, 0.5);
    transform: translateX(4px);
}

.ting-num {
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    color: white;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.95rem;
}

/* 积分行 */
.score-row {
    display: grid;
    grid-template-columns: 80px 1fr 100px;
    gap: 12px;
    align-items: center;
}

.score-name {
    font-size: 0.85rem;
    font-weight: 600;
}

.score-bar {
    height: 12px;
    background: rgba(31, 41, 55, 0.6);
    border-radius: 6px;
    overflow: hidden;
}

.score-fill {
    height: 100%;
    border-radius: 6px;
    transition: width 1s cubic-bezier(0.4, 0, 0.2, 1);
    animation: scoreGrow 1.5s ease-out;
}

@keyframes scoreGrow {
    from { width: 0 !important; }
}

.score-val {
    font-size: 0.75rem;
    text-align: right;
    color: #9CA3AF;
}

/* Discord 卡片 */
.discord-card {
    background: rgba(26, 29, 41, 0.6);
    border: 1px solid rgba(75, 85, 99, 0.4);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s;
}

.discord-card:hover {
    transform: translateY(-4px);
    border-color: rgba(88, 101, 242, 0.5);
    box-shadow: 0 12px 24px rgba(88, 101, 242, 0.15);
}

.discord-card-header {
    padding: 12px 16px;
    color: white;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.95rem;
}

.discord-card-body {
    padding: 16px;
}

/* Rule 卡片 */
.rule-card {
    background: rgba(26, 29, 41, 0.6);
    border: 1px solid rgba(75, 85, 99, 0.4);
    border-radius: 12px;
    padding: 20px;
    transition: all 0.3s;
}

.rule-card:hover {
    transform: translateY(-2px);
    border-color: rgba(167, 139, 250, 0.4);
}

/* Tailwind grid-cols-16 兜底 */
@media (max-width: 640px) {
    .grid-cols-16 {
        grid-template-columns: repeat(8, minmax(0, 1fr));
    }
}

/* ========== 双败赛树状图 ========== */
.bracket-tree {
    position: relative;
}

.bracket-tree-header {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 16px;
    margin-bottom: 16px;
}

.bracket-col-title {
    text-align: center;
    padding: 8px;
}

.bracket-stage-label {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 700;
}

.bracket-tree-body {
    position: relative;
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 16px;
    min-height: 600px;
}

.bracket-col {
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    gap: 12px;
    position: relative;
    z-index: 2;
}

.bracket-node {
    background: rgba(26, 29, 41, 0.85);
    border: 1px solid rgba(75, 85, 99, 0.5);
    border-radius: 10px;
    padding: 10px 12px;
    transition: all 0.3s;
    backdrop-filter: blur(4px);
    position: relative;
}

.bracket-node:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
    z-index: 5;
}

.node-source {
    background: linear-gradient(135deg, rgba(236, 72, 153, 0.15), rgba(168, 85, 247, 0.1));
    border-color: rgba(236, 72, 153, 0.4);
    text-align: center;
    padding: 14px 12px;
}

.node-winner {
    border-color: rgba(16, 185, 129, 0.4);
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.08), rgba(26, 29, 41, 0.85));
}

.node-winner-final {
    border-color: rgba(16, 185, 129, 0.6);
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.12), rgba(255, 215, 0, 0.05));
    box-shadow: 0 0 12px rgba(16, 185, 129, 0.15);
}

.node-loser {
    border-color: rgba(239, 68, 68, 0.4);
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.08), rgba(26, 29, 41, 0.85));
}

.node-loser-final {
    border-color: rgba(239, 68, 68, 0.6);
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.12), rgba(255, 215, 0, 0.05));
    box-shadow: 0 0 12px rgba(239, 68, 68, 0.15);
}

.node-final {
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.18), rgba(245, 158, 11, 0.1));
    border: 1.5px solid rgba(255, 215, 0, 0.6);
    text-align: center;
    padding: 16px 12px;
    box-shadow: 0 0 16px rgba(255, 215, 0, 0.2);
    animation: trophyGlow 2.5s ease-in-out infinite;
}

@keyframes trophyGlow {
    0%, 100% { box-shadow: 0 0 16px rgba(255, 215, 0, 0.2); }
    50% { box-shadow: 0 0 24px rgba(255, 215, 0, 0.45); }
}

.node-final-num {
    font-size: 1.75rem;
    margin-bottom: 4px;
}

.node-title {
    font-weight: 700;
    font-size: 0.85rem;
    margin-bottom: 4px;
}

.node-sub {
    font-size: 0.7rem;
    color: #9CA3AF;
}

.node-row {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 4px 6px;
    border-radius: 4px;
    font-size: 0.72rem;
    line-height: 1.2;
    margin-top: 3px;
    background: rgba(15, 17, 23, 0.4);
}

.badge-win, .badge-warn, .badge-out, .badge-gold {
    flex-shrink: 0;
    width: 22px;
    height: 22px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    border-radius: 4px;
}

.badge-win {
    background: rgba(16, 185, 129, 0.2);
    border: 1px solid rgba(16, 185, 129, 0.5);
}

.badge-warn {
    background: rgba(245, 158, 11, 0.2);
    border: 1px solid rgba(245, 158, 11, 0.5);
}

.badge-out {
    background: rgba(239, 68, 68, 0.15);
    border: 1px solid rgba(239, 68, 68, 0.4);
}

.badge-gold {
    background: rgba(255, 215, 0, 0.25);
    border: 1px solid rgba(255, 215, 0, 0.6);
}

/* SVG 连接线层 */
.bracket-svg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
    overflow: visible;
}

.bracket-svg path {
    fill: none;
    stroke-width: 2;
    stroke-linecap: round;
    transition: opacity 0.3s;
}

.path-success { stroke: #10B981; opacity: 0.75; }
.path-warning { stroke: #F59E0B; opacity: 0.75; stroke-dasharray: 6 4; }
.path-gold    { stroke: #FFD700; opacity: 0.95; stroke-width: 2.5; }
.path-danger  { stroke: #EF4444; opacity: 0.5; stroke-dasharray: 3 3; }

/* 图例线 */
.legend-line {
    display: inline-block;
    width: 28px;
    height: 0;
    border-top-width: 2px;
    border-top-style: solid;
}

.legend-line-success { border-color: #10B981; }
.legend-line-warning { border-color: #F59E0B; border-top-style: dashed; }
.legend-line-gold    { border-color: #FFD700; border-top-width: 2.5px; }
.legend-line-danger  { border-color: #EF4444; border-top-style: dashed; }

/* ========== 16 → 4 BO5 直决简化树状图 ========== */
.simple-bracket {
    position: relative;
}

.simple-bracket-grid {
    position: relative;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 32px;
    min-height: 480px;
    align-items: stretch;
}

.simple-col {
    display: flex;
    flex-direction: column;
    gap: 14px;
    position: relative;
    z-index: 2;
}

.simple-col-title {
    text-align: center;
    margin-bottom: 4px;
}

.simple-node {
    background: rgba(26, 29, 41, 0.85);
    border: 1px solid rgba(75, 85, 99, 0.5);
    border-radius: 10px;
    padding: 12px 14px;
    transition: all 0.3s;
    backdrop-filter: blur(4px);
    text-align: center;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 76px;
}

.simple-node:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
    z-index: 5;
}

.node-source-simple {
    background: linear-gradient(135deg, rgba(236, 72, 153, 0.15), rgba(168, 85, 247, 0.1));
    border-color: rgba(236, 72, 153, 0.4);
    font-weight: 600;
    font-size: 0.9rem;
}

.node-match-simple {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.12), rgba(26, 29, 41, 0.85));
    border-color: rgba(16, 185, 129, 0.5);
}

.node-final-simple {
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.18), rgba(245, 158, 11, 0.1));
    border: 1.5px solid rgba(255, 215, 0, 0.6);
    box-shadow: 0 0 16px rgba(255, 215, 0, 0.2);
    animation: trophyGlow 2.5s ease-in-out infinite;
}

.match-title {
    font-weight: 700;
    font-size: 0.9rem;
    margin-bottom: 4px;
}

.match-detail {
    font-size: 0.72rem;
    color: #9CA3AF;
    display: flex;
    align-items: center;
    gap: 4px;
    justify-content: center;
}

.dot-gold {
    color: #FFD700;
}

.simple-bracket-svg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
    overflow: visible;
}

.simple-bracket-svg path {
    fill: none;
    stroke-width: 2;
    stroke-linecap: round;
}

/* ========================================================== */
/* ========== 赛制流程图（5 阶段总览） ====================== */
/* ========================================================== */
.flowchart-wrapper {
    position: relative;
}

.flowchart-grid {
    position: relative;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 18px;
    align-items: stretch;
    min-height: 360px;
}

/* 阶段卡片 */
.flow-stage {
    position: relative;
    z-index: 2;
    background: rgba(26, 29, 41, 0.85);
    border: 1px solid rgba(75, 85, 99, 0.45);
    border-radius: 14px;
    overflow: hidden;
    backdrop-filter: blur(6px);
    display: flex;
    flex-direction: column;
    transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
    animation: stageFadeIn 0.6s ease-out backwards;
}

.flow-stage:nth-child(1) { animation-delay: 0.05s; }
.flow-stage:nth-child(2) { animation-delay: 0.18s; }
.flow-stage:nth-child(3) { animation-delay: 0.31s; }
.flow-stage:nth-child(4) { animation-delay: 0.44s; }
.flow-stage:nth-child(5) { animation-delay: 0.57s; }

@keyframes stageFadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to   { opacity: 1; transform: translateY(0); }
}

.flow-stage:hover {
    transform: translateY(-4px);
    border-color: rgba(167, 139, 250, 0.55);
    box-shadow: 0 14px 32px rgba(0, 0, 0, 0.45);
    z-index: 5;
}

.flow-stage-final {
    border-color: rgba(255, 215, 0, 0.5);
    box-shadow: 0 0 18px rgba(255, 215, 0, 0.15);
    animation: stageFadeIn 0.6s ease-out backwards, finalGlow 2.8s ease-in-out 1s infinite;
}

@keyframes finalGlow {
    0%, 100% { box-shadow: 0 0 16px rgba(255, 215, 0, 0.18); }
    50%      { box-shadow: 0 0 28px rgba(255, 215, 0, 0.4); }
}

/* 阶段卡片头部（彩色横幅） */
.flow-stage-head {
    position: relative;
    padding: 14px 14px 12px;
    background: linear-gradient(135deg, var(--c1, #7C3AED), var(--c2, #A855F7));
    display: flex;
    align-items: center;
    gap: 10px;
    color: #fff;
}

.flow-stage-head::after {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 80% 20%, rgba(255,255,255,0.25), transparent 60%);
    pointer-events: none;
}

.flow-stage-num {
    flex-shrink: 0;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.22);
    border: 1.5px solid rgba(255, 255, 255, 0.55);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1rem;
    color: #fff;
    backdrop-filter: blur(2px);
    z-index: 1;
}

.flow-stage-title {
    font-size: 0.95rem;
    font-weight: 800;
    line-height: 1.2;
    color: #fff;
    z-index: 1;
}

.flow-stage-sub {
    font-size: 0.68rem;
    color: rgba(255, 255, 255, 0.85);
    margin-top: 2px;
    z-index: 1;
}

.flow-stage-icon {
    margin-left: auto;
    font-size: 1.6rem;
    color: rgba(255, 255, 255, 0.55);
    z-index: 1;
}

/* 阶段卡片主体 */
.flow-stage-body {
    flex: 1;
    padding: 14px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.flow-count-row {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    background: rgba(15, 17, 23, 0.6);
    border: 1px dashed rgba(75, 85, 99, 0.5);
    border-radius: 10px;
}

.flow-count-num {
    font-size: 1.6rem;
    font-weight: 900;
    line-height: 1.05;
    text-align: center;
    min-width: 56px;
    text-shadow: 0 0 12px currentColor;
    filter: drop-shadow(0 0 6px rgba(255,255,255,0.08));
}

.flow-count-label {
    font-size: 0.72rem;
    color: #9CA3AF;
    line-height: 1.4;
    flex: 1;
}

.flow-rule-list {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.flow-rule {
    display: flex;
    align-items: flex-start;
    gap: 6px;
    font-size: 0.72rem;
    color: #D1D5DB;
    line-height: 1.45;
}

.flow-rule i {
    flex-shrink: 0;
    margin-top: 1px;
    font-size: 0.85rem;
}

/* 阶段卡片底部（晋级 pill） */
.flow-stage-foot {
    padding: 10px 14px;
    border-top: 1px dashed rgba(75, 85, 99, 0.4);
    background: rgba(15, 17, 23, 0.4);
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
    min-height: 44px;
}

.flow-arrow {
    color: #9CA3AF;
    font-weight: 700;
    font-size: 0.9rem;
}

.flow-foot-label {
    font-size: 0.7rem;
    color: #9CA3AF;
}

.flow-pill {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 3px 8px;
    border-radius: 999px;
    font-size: 0.66rem;
    font-weight: 700;
    border: 1px solid transparent;
    white-space: nowrap;
}

.flow-pill-success {
    background: rgba(16, 185, 129, 0.15);
    border-color: rgba(16, 185, 129, 0.45);
    color: #6EE7B7;
}

.flow-pill-danger {
    background: rgba(239, 68, 68, 0.12);
    border-color: rgba(239, 68, 68, 0.4);
    color: #FCA5A5;
}

.flow-pill-gold {
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.25), rgba(245, 158, 11, 0.15));
    border-color: rgba(255, 215, 0, 0.6);
    color: #FFD700;
    text-shadow: 0 0 6px rgba(255, 215, 0, 0.5);
}

/* SVG 连线层 */
.flowchart-svg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
    overflow: visible;
}

.flowchart-svg path {
    fill: none;
    stroke-width: 2.5;
    stroke-linecap: round;
}

.flow-path-main {
    stroke: url(#flowGradient);
    opacity: 0.85;
    filter: drop-shadow(0 0 6px rgba(167, 139, 250, 0.45));
    stroke-dasharray: 800;
    stroke-dashoffset: 800;
    animation: flowDraw 1.6s ease-out 0.6s forwards;
}

.flow-path-final {
    stroke: #FFD700;
    stroke-width: 3;
    opacity: 0.9;
    filter: drop-shadow(0 0 8px rgba(255, 215, 0, 0.55));
    stroke-dasharray: 800;
    stroke-dashoffset: 800;
    animation: flowDraw 1.6s ease-out 1.4s forwards;
}

@keyframes flowDraw {
    to { stroke-dashoffset: 0; }
}

/* 横向漏斗条 */
.flow-funnel-bar {
    margin-top: 28px;
    padding: 18px 16px;
    background: rgba(15, 17, 23, 0.5);
    border: 1px solid rgba(75, 85, 99, 0.4);
    border-radius: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: nowrap;
    overflow-x: auto;
}

.ffb-step {
    --w: 100%;
    flex: 1 1 0;
    min-width: 96px;
    padding: 14px 14px;
    border-radius: 10px;
    color: #fff;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35);
}

.ffb-step::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 10px;
    background: linear-gradient(180deg, rgba(255,255,255,0.18), transparent 50%);
    pointer-events: none;
}

.ffb-step:hover {
    transform: translateY(-3px) scale(1.03);
    box-shadow: 0 10px 22px rgba(0, 0, 0, 0.45);
}

.ffb-step-gold {
    background: linear-gradient(135deg, #F59E0B, #FFD700) !important;
    box-shadow: 0 0 18px rgba(255, 215, 0, 0.45);
    animation: ffbGoldPulse 2.5s ease-in-out infinite;
}

@keyframes ffbGoldPulse {
    0%, 100% { box-shadow: 0 0 16px rgba(255, 215, 0, 0.35); }
    50%      { box-shadow: 0 0 28px rgba(255, 215, 0, 0.7); }
}

.ffb-num {
    font-size: 1.5rem;
    font-weight: 900;
    line-height: 1;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.4);
}

.ffb-label {
    font-size: 0.72rem;
    color: rgba(255, 255, 255, 0.92);
    font-weight: 600;
    letter-spacing: 0.02em;
}

.ffb-arrow {
    color: #6B7280;
    font-size: 1.4rem;
    flex-shrink: 0;
}

/* 响应式回退：屏幕窄时改为竖向 1 列，隐藏 SVG 连线 */
@media (max-width: 960px) {
    .flowchart-grid {
        grid-template-columns: 1fr;
        min-height: auto;
    }
    .flowchart-svg {
        display: none;
    }
}

/* ========== 流程图 SVG 连线（JS 动态绘制） ========== */
.flow-path {
    fill: none;
    stroke-width: 3;
    stroke-linecap: round;
    stroke-dasharray: 1000;
    stroke-dashoffset: 1000;
    animation: flowPathDraw 1.4s cubic-bezier(0.4, 0, 0.2, 1) forwards;
    filter: drop-shadow(0 0 5px rgba(124, 58, 237, 0.35));
}

.flow-path-blue   { filter: drop-shadow(0 0 5px rgba(59, 130, 246, 0.45)); }
.flow-path-cyan   { filter: drop-shadow(0 0 5px rgba(6, 182, 212, 0.45)); }
.flow-path-purple { filter: drop-shadow(0 0 5px rgba(168, 85, 247, 0.45)); }
.flow-path-pink   { filter: drop-shadow(0 0 5px rgba(236, 72, 153, 0.5)); }

@keyframes flowPathDraw {
    to { stroke-dashoffset: 0; }
}

/* 流转标签淡入 */
.flow-label-g {
    opacity: 0;
    animation: flowLabelFadeIn 0.6s ease-out forwards;
    transform-origin: center;
}

@keyframes flowLabelFadeIn {
    from { opacity: 0; transform: translateY(4px) scale(0.85); }
    to   { opacity: 1; transform: translateY(0)   scale(1); }
}

.flow-label-g rect {
    filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.5));
}

.flow-label-g text {
    pointer-events: none;
    font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", sans-serif;
}

/* ========================================================== */
/* ========== 16 强 5 轮大循环排表 =========================== */
/* ========================================================== */
.round-card {
    background: linear-gradient(180deg, rgba(236, 72, 153, 0.08), rgba(168, 85, 247, 0.04));
    border: 1px solid rgba(236, 72, 153, 0.3);
    border-radius: 14px;
    padding: 14px 12px 12px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(6px);
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
    opacity: 0;
    transform: translateY(14px);
    animation: roundCardIn 0.55s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.round-card:hover {
    transform: translateY(-3px);
    border-color: rgba(236, 72, 153, 0.6);
    box-shadow: 0 12px 28px rgba(236, 72, 153, 0.18);
}

.round-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 100% 0%, rgba(236, 72, 153, 0.18), transparent 55%);
    pointer-events: none;
}

@keyframes roundCardIn {
    to { opacity: 1; transform: translateY(0); }
}

.round-card-header {
    display: flex;
    align-items: center;
    gap: 8px;
    padding-bottom: 8px;
    border-bottom: 1px dashed rgba(236, 72, 153, 0.3);
}

.round-num {
    flex-shrink: 0;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: linear-gradient(135deg, #EC4899, #A855F7);
    color: #fff;
    font-weight: 800;
    font-size: 0.78rem;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(236, 72, 153, 0.35);
}

.round-name {
    font-weight: 700;
    color: #F9A8D4;
    font-size: 0.9rem;
}

.round-table-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.round-table {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 10px;
    border-radius: 10px;
    background: rgba(15, 17, 23, 0.6);
    border: 1px solid rgba(75, 85, 99, 0.4);
    transition: transform 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}

.round-table:hover {
    transform: translateX(3px);
    background: rgba(15, 17, 23, 0.8);
}

.round-table.table-a { border-color: rgba(59, 130, 246, 0.4); }
.round-table.table-b { border-color: rgba(34, 197, 94, 0.4); }
.round-table.table-c { border-color: rgba(245, 158, 11, 0.4); }
.round-table.table-d { border-color: rgba(168, 85, 247, 0.4); }

.round-table.table-a .round-table-label { background: rgba(59, 130, 246, 0.18); color: #60A5FA; }
.round-table.table-b .round-table-label { background: rgba(34, 197, 94, 0.18); color: #4ADE80; }
.round-table.table-c .round-table-label { background: rgba(245, 158, 11, 0.2);  color: #FBBF24; }
.round-table.table-d .round-table-label { background: rgba(168, 85, 247, 0.2);  color: #C084FC; }

.round-table-label {
    flex-shrink: 0;
    padding: 3px 8px;
    border-radius: 6px;
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    line-height: 1.3;
}

.round-table-players {
    display: flex;
    gap: 4px;
    flex-wrap: wrap;
    flex: 1;
    justify-content: flex-end;
}

.player-num {
    min-width: 26px;
    height: 26px;
    padding: 0 6px;
    border-radius: 6px;
    background: rgba(31, 41, 55, 0.85);
    border: 1px solid rgba(75, 85, 99, 0.5);
    color: #E5E7EB;
    font-size: 0.78rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.round-table:hover .player-num {
    background: rgba(31, 41, 55, 1);
    border-color: rgba(167, 139, 250, 0.6);
    color: #fff;
    box-shadow: 0 0 8px rgba(167, 139, 250, 0.25);
}

/* —— 4 桌（A/B/C/D）卡片整体强调色 —— */
.round-card.table-a-card { border-color: rgba(59, 130, 246, 0.4); }
.round-card.table-b-card { border-color: rgba(34, 197, 94, 0.4); }
.round-card.table-c-card { border-color: rgba(245, 158, 11, 0.4); }
.round-card.table-d-card { border-color: rgba(168, 85, 247, 0.4); }

.round-card.table-a-card:hover { border-color: rgba(59, 130, 246, 0.7); box-shadow: 0 12px 28px rgba(59, 130, 246, 0.18); }
.round-card.table-b-card:hover { border-color: rgba(34, 197, 94, 0.7); box-shadow: 0 12px 28px rgba(34, 197, 94, 0.18); }
.round-card.table-c-card:hover { border-color: rgba(245, 158, 11, 0.7); box-shadow: 0 12px 28px rgba(245, 158, 11, 0.18); }
.round-card.table-d-card:hover { border-color: rgba(168, 85, 247, 0.7); box-shadow: 0 12px 28px rgba(168, 85, 247, 0.18); }

/* —— 4 人座位列表 —— */
.seat-list {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 4px 2px 2px;
}

.seat-list-title {
    font-size: 0.68rem;
    color: #9CA3AF;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 2px;
}

.seat-slot {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 10px;
    border-radius: 8px;
    background: rgba(15, 17, 23, 0.55);
    border: 1px dashed rgba(75, 85, 99, 0.5);
    transition: border-color 0.25s ease, background 0.25s ease;
}

.seat-slot:hover {
    border-color: rgba(167, 139, 250, 0.55);
    background: rgba(15, 17, 23, 0.8);
}

.seat-num {
    flex-shrink: 0;
    width: 22px;
    height: 22px;
    border-radius: 6px;
    background: rgba(31, 41, 55, 0.85);
    border: 1px solid rgba(75, 85, 99, 0.55);
    color: #C4B5FD;
    font-size: 0.72rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.seat-name {
    color: #6B7280;
    font-size: 0.78rem;
    font-style: italic;
}

/* —— 5 局进度槽位 —— */
.round-slot-row {
    margin-top: 4px;
    padding: 8px 10px;
    border-radius: 10px;
    background: rgba(15, 17, 23, 0.5);
    border: 1px solid rgba(75, 85, 99, 0.35);
}

.round-slot-row-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.68rem;
    color: #9CA3AF;
    margin-bottom: 6px;
}

.round-slot-row-title i {
    margin-right: 3px;
    color: #F472B6;
}

.round-slot-legend {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.66rem;
}

.round-slot-legend em {
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    margin-right: 2px;
    font-style: normal;
}

.dot-day1 { background: #F472B6; box-shadow: 0 0 6px rgba(244, 114, 182, 0.5); }
.dot-day2 { background: #FB7185; box-shadow: 0 0 6px rgba(251, 113, 133, 0.5); }

.round-slot-list {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 5px;
}

.round-slot {
    aspect-ratio: 1;
    border-radius: 6px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.68rem;
    font-weight: 700;
    color: #E5E7EB;
    border: 1px solid rgba(75, 85, 99, 0.5);
    background: rgba(31, 41, 55, 0.5);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.round-slot:hover {
    transform: scale(1.08);
    box-shadow: 0 0 10px rgba(167, 139, 250, 0.3);
}

.round-slot-day1 {
    background: linear-gradient(135deg, rgba(236, 72, 153, 0.22), rgba(168, 85, 247, 0.12));
    border-color: rgba(236, 72, 153, 0.45);
    color: #FBCFE8;
}

.round-slot-day2 {
    background: linear-gradient(135deg, rgba(251, 113, 133, 0.22), rgba(244, 63, 94, 0.12));
    border-color: rgba(251, 113, 133, 0.45);
    color: #FECDD3;
}

.round-slot-num {
    line-height: 1;
}

/* —— 卡片底部晋级提示 —— */
.round-foot {
    margin-top: 4px;
    padding: 8px 10px;
    border-radius: 10px;
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.1), rgba(245, 158, 11, 0.05));
    border: 1px dashed rgba(255, 215, 0, 0.4);
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.74rem;
    color: #FCD34D;
}

.round-foot b { color: #FFD700; }

/* 响应式：移动端缩小内边距 */
@media (max-width: 640px) {
    .round-card {
        padding: 12px 10px 10px;
    }
    .player-num {
        min-width: 22px;
        height: 22px;
        font-size: 0.72rem;
    }
}

/* ========================================================== */
/* ========== Discord 应援 Bot 呈现效果 ====================== */
/* ========================================================== */

/* 玩法说明卡（3 张） */
.cheer-rule-card {
    background: rgba(26, 29, 41, 0.7);
    border: 1px solid rgba(236, 72, 153, 0.25);
    border-radius: 14px;
    padding: 18px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    transition: all 0.3s ease;
    backdrop-filter: blur(6px);
}

.cheer-rule-card:hover {
    border-color: rgba(236, 72, 153, 0.55);
    transform: translateY(-3px);
    box-shadow: 0 12px 28px rgba(236, 72, 153, 0.15);
}

.cheer-rule-icon {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.2rem;
    box-shadow: 0 6px 14px rgba(236, 72, 153, 0.25);
}

.cheer-rule-title {
    font-size: 1rem;
    font-weight: 800;
    color: #F9A8D4;
}

.cheer-rule-desc {
    font-size: 0.78rem;
    color: #D1D5DB;
    line-height: 1.55;
}

.cheer-rule-desc code {
    background: rgba(236, 72, 153, 0.15);
    color: #F9A8D4;
    padding: 1px 6px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-family: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace;
}

/* —— Discord 频道窗口 —— */
.dc-window {
    background: #313338;
    border: 1px solid rgba(75, 85, 99, 0.4);
    border-radius: 14px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.45);
}

.dc-titlebar {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 14px;
    background: #2B2D31;
    border-bottom: 1px solid rgba(0, 0, 0, 0.5);
}

.dc-traffic {
    display: inline-flex;
    gap: 6px;
}

.dc-traffic em {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    display: inline-block;
}

.dc-traffic em:nth-child(1) { background: #FF5F57; }
.dc-traffic em:nth-child(2) { background: #FEBC2E; }
.dc-traffic em:nth-child(3) { background: #28C840; }

.dc-channel {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    color: #DBDEE1;
    font-size: 0.92rem;
}

.dc-channel i {
    color: #80848E;
    font-size: 1.05rem;
}

.dc-channel-topic {
    color: #80848E;
    font-size: 0.78rem;
    font-weight: 400;
    border-left: 1px solid rgba(255, 255, 255, 0.1);
    padding-left: 10px;
    margin-left: 6px;
}

.dc-titlebar-actions {
    margin-left: auto;
    display: inline-flex;
    gap: 12px;
    color: #B5BAC1;
    font-size: 1.05rem;
}

.dc-chatlog {
    padding: 16px 16px 4px;
    background: #313338;
    display: flex;
    flex-direction: column;
    gap: 18px;
    max-height: 720px;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: #1E1F22 transparent;
}

.dc-chatlog::-webkit-scrollbar { width: 8px; }
.dc-chatlog::-webkit-scrollbar-thumb { background: #1E1F22; border-radius: 4px; }

.dc-msg {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    animation: dcMsgIn 0.45s ease-out backwards;
}

.dc-msg:nth-child(1) { animation-delay: 0.05s; }
.dc-msg:nth-child(2) { animation-delay: 0.18s; }
.dc-msg:nth-child(3) { animation-delay: 0.31s; }
.dc-msg:nth-child(4) { animation-delay: 0.44s; }
.dc-msg:nth-child(5) { animation-delay: 0.57s; }
.dc-msg:nth-child(6) { animation-delay: 0.7s; }
.dc-msg:nth-child(7) { animation-delay: 0.83s; }
.dc-msg:nth-child(8) { animation-delay: 0.96s; }

@keyframes dcMsgIn {
    from { opacity: 0; transform: translateY(10px); }
    to   { opacity: 1; transform: translateY(0); }
}

.dc-avatar {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    color: #fff;
    font-weight: 800;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.4);
}

.dc-avatar i { font-size: 1.1rem; }

.dc-body {
    flex: 1;
    min-width: 0;
}

.dc-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 4px;
    flex-wrap: wrap;
}

.dc-username {
    color: #F2F3F5;
    font-weight: 700;
    font-size: 0.92rem;
}

.dc-bot-tag {
    background: #5865F2;
    color: #fff;
    padding: 1px 5px;
    border-radius: 4px;
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    line-height: 1.4;
}

.dc-time {
    color: #949BA4;
    font-size: 0.7rem;
}

/* 频道命令行（玩家输入） */
.dc-cmd {
    display: inline-block;
    background: rgba(88, 101, 242, 0.12);
    border: 1px solid rgba(88, 101, 242, 0.4);
    border-radius: 6px;
    padding: 6px 12px;
    color: #DBDEE1;
    font-family: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace;
    font-size: 0.85rem;
}

.dc-cmd-slash { color: #5865F2; font-weight: 800; }
.dc-cmd-arg   { color: #949BA4; }
.dc-cmd-val   { color: #00A8FC; }

/* 嵌入式消息（Embed） */
.dc-embed {
    margin-top: 4px;
    background: #2B2D31;
    border-left: 4px solid #5865F2;
    border-radius: 4px;
    padding: 14px 16px;
    color: #DBDEE1;
    max-width: 560px;
}

.dc-embed-pink { border-left-color: #EC4899; }
.dc-embed-blue { border-left-color: #5865F2; }
.dc-embed-gold { border-left-color: #FFD700; }

.dc-embed-title {
    display: flex;
    align-items: center;
    gap: 6px;
    font-weight: 800;
    color: #F2F3F5;
    margin-bottom: 8px;
    font-size: 0.92rem;
}

.dc-embed-desc {
    font-size: 0.82rem;
    line-height: 1.6;
    color: #C5C8CE;
}

.dc-embed-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    color: #949BA4;
    font-size: 0.74rem;
}

.dc-embed-meta i { margin-right: 4px; }

/* 选手卡（Embed 内） */
.dc-player-card {
    margin-top: 10px;
    display: flex;
    gap: 12px;
    padding: 12px;
    background: rgba(0, 0, 0, 0.25);
    border-radius: 8px;
}

.dc-player-avatar {
    flex-shrink: 0;
    width: 56px;
    height: 56px;
    border-radius: 12px;
    color: #fff;
    font-weight: 900;
    font-size: 1.4rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

.dc-player-info { flex: 1; min-width: 0; }

.dc-player-name {
    color: #F2F3F5;
    font-weight: 800;
    font-size: 0.95rem;
}

.dc-player-tag {
    display: inline-block;
    background: rgba(255, 215, 0, 0.18);
    color: #FFD700;
    border: 1px solid rgba(255, 215, 0, 0.4);
    padding: 1px 6px;
    border-radius: 4px;
    font-size: 0.66rem;
    font-weight: 700;
    margin-left: 4px;
    vertical-align: middle;
}

.dc-player-sub {
    color: #949BA4;
    font-size: 0.74rem;
    margin-top: 2px;
}

.dc-player-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 8px;
    color: #B5BAC1;
    font-size: 0.74rem;
}

.dc-player-stats b { color: #F2F3F5; font-weight: 800; }

/* 按钮 */
.dc-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 12px;
}

.dc-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 14px;
    border-radius: 6px;
    font-size: 0.78rem;
    font-weight: 600;
    cursor: pointer;
    border: 1px solid transparent;
    transition: all 0.2s ease;
}

.dc-btn-primary {
    background: #5865F2;
    color: #fff;
}
.dc-btn-primary:hover {
    background: #4752C4;
    transform: translateY(-1px);
}

.dc-btn-secondary {
    background: rgba(236, 72, 153, 0.18);
    color: #F9A8D4;
    border-color: rgba(236, 72, 153, 0.45);
}
.dc-btn-secondary:hover {
    background: rgba(236, 72, 153, 0.28);
    transform: translateY(-1px);
}

.dc-btn-ghost {
    background: transparent;
    color: #B5BAC1;
    border-color: rgba(255, 255, 255, 0.15);
}
.dc-btn-ghost:hover {
    background: rgba(255, 255, 255, 0.05);
    color: #F2F3F5;
}

.dc-tip {
    margin-top: 10px;
    color: #949BA4;
    font-size: 0.72rem;
    line-height: 1.5;
}

.dc-tip i { margin-right: 4px; }
.dc-tip b { color: #F2F3F5; font-weight: 800; }

/* Toast 反馈 */
.dc-toast {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    border-radius: 8px;
    font-size: 0.82rem;
    color: #DBDEE1;
}

.dc-toast i { font-size: 1.1rem; }
.dc-toast b { color: #F2F3F5; font-weight: 800; }

.dc-toast-success {
    background: rgba(34, 197, 94, 0.15);
    border: 1px solid rgba(34, 197, 94, 0.4);
}
.dc-toast-success i { color: #4ADE80; }

.dc-toast-warn {
    background: rgba(245, 158, 11, 0.14);
    border: 1px solid rgba(245, 158, 11, 0.4);
}
.dc-toast-warn i { color: #FBBF24; }

/* Reactions */
.dc-reactions {
    display: flex;
    gap: 6px;
    margin-top: 10px;
    flex-wrap: wrap;
}

.dc-reaction {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: rgba(78, 80, 88, 0.4);
    border: 1px solid transparent;
    padding: 2px 8px;
    border-radius: 8px;
    font-size: 0.74rem;
    color: #DBDEE1;
    transition: all 0.2s ease;
    cursor: pointer;
}

.dc-reaction:hover {
    background: rgba(88, 101, 242, 0.18);
    border-color: rgba(88, 101, 242, 0.5);
}

.dc-reaction.active {
    background: rgba(88, 101, 242, 0.22);
    border-color: rgba(88, 101, 242, 0.6);
    color: #C9CDFB;
}

.dc-r-emoji { font-size: 0.95rem; }
.dc-r-count { font-weight: 700; }

.dc-reaction-add {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(78, 80, 88, 0.4);
    width: 28px;
    height: 22px;
    border-radius: 8px;
    color: #B5BAC1;
    cursor: pointer;
    transition: all 0.2s ease;
}

.dc-reaction-add:hover {
    background: rgba(88, 101, 242, 0.18);
    color: #C9CDFB;
}

/* /rank 命令的迷你榜单 */
.dc-mini-rank {
    margin-top: 8px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.dc-mini-rank-row {
    display: grid;
    grid-template-columns: 32px 1fr auto;
    align-items: center;
    gap: 10px;
    padding: 6px 10px;
    background: rgba(0, 0, 0, 0.22);
    border-radius: 6px;
    font-size: 0.78rem;
}

.dc-mini-rank-num {
    width: 22px;
    height: 22px;
    border-radius: 6px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 0.74rem;
    color: #fff;
}

.dc-mini-rank-num-1 { background: linear-gradient(135deg, #F59E0B, #FFD700); }
.dc-mini-rank-num-2 { background: linear-gradient(135deg, #6B7280, #9CA3AF); }
.dc-mini-rank-num-3 { background: linear-gradient(135deg, #B45309, #F59E0B); }
.dc-mini-rank-num-4 { background: rgba(75, 85, 99, 0.6); }

.dc-mini-rank-name {
    color: #F2F3F5;
    font-weight: 700;
}

.dc-mini-rank-bar {
    height: 4px;
    border-radius: 2px;
    background: rgba(255, 255, 255, 0.06);
    margin-top: 3px;
    overflow: hidden;
}

.dc-mini-rank-bar-fill {
    height: 100%;
    background: linear-gradient(90deg, #EC4899, #FFD700);
    border-radius: 2px;
}

.dc-mini-rank-val {
    color: #FFD700;
    font-weight: 800;
    font-size: 0.78rem;
}

/* 输入栏 */
.dc-inputbar {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    background: #383A40;
    border-top: 1px solid rgba(0, 0, 0, 0.3);
}

.dc-input-placeholder {
    flex: 1;
    color: #87898C;
    font-size: 0.84rem;
}

.dc-input-placeholder code {
    background: rgba(88, 101, 242, 0.16);
    color: #C9CDFB;
    padding: 1px 5px;
    border-radius: 4px;
    font-size: 0.78rem;
    margin: 0 2px;
    font-family: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace;
}

/* —— 实时应援榜（右侧面板） —— */
.cheer-leaderboard {
    background: linear-gradient(180deg, rgba(26, 29, 41, 0.85), rgba(15, 17, 23, 0.95));
    border: 1px solid rgba(236, 72, 153, 0.3);
    border-radius: 14px;
    padding: 18px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.45);
    backdrop-filter: blur(6px);
}

.cheer-lb-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 10px;
    border-bottom: 1px dashed rgba(236, 72, 153, 0.35);
}

.cheer-lb-title {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-weight: 800;
    color: #F9A8D4;
    font-size: 1rem;
}

.cheer-lb-live {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(239, 68, 68, 0.16);
    border: 1px solid rgba(239, 68, 68, 0.5);
    padding: 3px 8px;
    border-radius: 999px;
    color: #FCA5A5;
    font-size: 0.66rem;
    font-weight: 800;
    letter-spacing: 0.06em;
}

.cheer-live-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #EF4444;
    box-shadow: 0 0 8px rgba(239, 68, 68, 0.8);
    animation: liveBlink 1.4s ease-in-out infinite;
}

@keyframes liveBlink {
    0%, 100% { opacity: 1; transform: scale(1); }
    50%      { opacity: 0.4; transform: scale(0.8); }
}

.cheer-lb-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.cheer-lb-row {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 12px;
    padding: 12px;
    background: rgba(15, 17, 23, 0.6);
    border: 1px solid rgba(75, 85, 99, 0.4);
    border-radius: 12px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.cheer-lb-row:hover {
    transform: translateX(3px);
    border-color: rgba(236, 72, 153, 0.55);
}

.cheer-lb-row.is-top {
    border-color: rgba(255, 215, 0, 0.55);
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.1), rgba(15, 17, 23, 0.85));
    box-shadow: 0 0 18px rgba(255, 215, 0, 0.18);
}

.cheer-lb-rank {
    width: 32px;
    height: 32px;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: 900;
    font-size: 0.88rem;
    flex-shrink: 0;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.4);
}

.cheer-lb-rank-1 { background: linear-gradient(135deg, #F59E0B, #FFD700); }
.cheer-lb-rank-2 { background: linear-gradient(135deg, #94A3B8, #CBD5E1); color: #1F2937; }
.cheer-lb-rank-3 { background: linear-gradient(135deg, #B45309, #F59E0B); }
.cheer-lb-rank-4 { background: rgba(75, 85, 99, 0.7); }

.cheer-lb-info {
    min-width: 0;
}

.cheer-lb-name {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #F2F3F5;
    font-weight: 800;
    font-size: 0.92rem;
    margin-bottom: 5px;
}

.cheer-lb-name .table-tag {
    font-size: 0.64rem;
    padding: 1px 5px;
    border-radius: 4px;
    font-weight: 700;
    letter-spacing: 0.04em;
}

.tt-a { background: rgba(59, 130, 246, 0.18); color: #93C5FD; border: 1px solid rgba(59, 130, 246, 0.4); }
.tt-b { background: rgba(34, 197, 94, 0.18); color: #86EFAC; border: 1px solid rgba(34, 197, 94, 0.4); }
.tt-c { background: rgba(245, 158, 11, 0.2); color: #FDE68A; border: 1px solid rgba(245, 158, 11, 0.4); }
.tt-d { background: rgba(168, 85, 247, 0.2); color: #DDD6FE; border: 1px solid rgba(168, 85, 247, 0.4); }

.cheer-lb-bar {
    height: 8px;
    border-radius: 4px;
    background: rgba(31, 41, 55, 0.7);
    overflow: hidden;
    position: relative;
}

.cheer-lb-bar-fill {
    height: 100%;
    border-radius: 4px;
    background: linear-gradient(90deg, #EC4899, #F59E0B, #FFD700);
    background-size: 200% 100%;
    animation: cheerBarFlow 3s linear infinite;
    transition: width 1.2s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 0 10px rgba(236, 72, 153, 0.45);
}

@keyframes cheerBarFlow {
    0%   { background-position: 0% 50%; }
    100% { background-position: 200% 50%; }
}

.cheer-lb-meta {
    display: flex;
    gap: 10px;
    margin-top: 5px;
    font-size: 0.7rem;
    color: #9CA3AF;
}

.cheer-lb-meta i { margin-right: 2px; }

.cheer-lb-value {
    text-align: right;
    flex-shrink: 0;
}

.cheer-lb-num {
    font-size: 1.15rem;
    font-weight: 900;
    background: linear-gradient(135deg, #F59E0B, #FFD700);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1;
}

.cheer-lb-delta {
    margin-top: 3px;
    font-size: 0.66rem;
    color: #4ADE80;
    font-weight: 700;
}

.cheer-lb-delta.is-down { color: #FCA5A5; }

.cheer-lb-footer {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    padding-top: 10px;
    border-top: 1px dashed rgba(75, 85, 99, 0.4);
}

.cheer-stat {
    text-align: center;
    padding: 6px 4px;
    background: rgba(15, 17, 23, 0.5);
    border-radius: 8px;
}

.cheer-stat-num {
    font-size: 1.05rem;
    font-weight: 900;
    color: #F9A8D4;
    line-height: 1.1;
    font-feature-settings: "tnum";
}

.cheer-stat-label {
    font-size: 0.66rem;
    color: #9CA3AF;
    margin-top: 2px;
}

/* —— 奖励阶梯 —— */
.reward-card {
    background: rgba(26, 29, 41, 0.7);
    border: 1px solid rgba(75, 85, 99, 0.45);
    border-radius: 14px;
    padding: 18px;
    backdrop-filter: blur(6px);
}

.reward-card-player {
    border-color: rgba(255, 215, 0, 0.4);
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.06), rgba(26, 29, 41, 0.85));
}

.reward-card-fans {
    border-color: rgba(236, 72, 153, 0.4);
    background: linear-gradient(135deg, rgba(236, 72, 153, 0.06), rgba(26, 29, 41, 0.85));
}

.reward-card-head {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 14px;
    padding-bottom: 12px;
    border-bottom: 1px dashed rgba(75, 85, 99, 0.5);
}

.reward-card-title {
    font-weight: 800;
    color: #F2F3F5;
    font-size: 1rem;
}

.reward-card-sub {
    color: #9CA3AF;
    font-size: 0.74rem;
    margin-top: 2px;
}

.reward-tier-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.reward-tier {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 12px;
    background: rgba(15, 17, 23, 0.55);
    border: 1px solid rgba(75, 85, 99, 0.4);
    border-radius: 10px;
    transition: all 0.25s ease;
}

.reward-tier:hover {
    transform: translateX(3px);
    border-color: rgba(236, 72, 153, 0.5);
}

.tier-rank {
    flex-shrink: 0;
    min-width: 56px;
    padding: 5px 8px;
    border-radius: 8px;
    text-align: center;
    color: #fff;
    font-weight: 800;
    font-size: 0.8rem;
    letter-spacing: 0.04em;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.35);
}

.tier-rank-gold { background: linear-gradient(135deg, #EC4899, #FFD700); animation: rankPulse 2.5s ease-in-out infinite; }
.tier-rank-1 { background: linear-gradient(135deg, #F59E0B, #FFD700); color: #1F2937; }
.tier-rank-2 { background: linear-gradient(135deg, #94A3B8, #E5E7EB); color: #1F2937; }
.tier-rank-3 { background: linear-gradient(135deg, #B45309, #F59E0B); }
.tier-rank-4 { background: rgba(75, 85, 99, 0.7); }

@keyframes rankPulse {
    0%, 100% { box-shadow: 0 4px 14px rgba(255, 215, 0, 0.3); }
    50%      { box-shadow: 0 4px 22px rgba(255, 215, 0, 0.55); }
}

.tier-content { flex: 1; min-width: 0; }

.tier-name {
    color: #F2F3F5;
    font-weight: 700;
    font-size: 0.86rem;
    margin-bottom: 5px;
}

.tier-prize {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
}

.prize-pill {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 3px 8px;
    border-radius: 999px;
    font-size: 0.7rem;
    font-weight: 700;
    border: 1px solid transparent;
}

.prize-pill-gold {
    background: rgba(255, 215, 0, 0.15);
    color: #FFD700;
    border-color: rgba(255, 215, 0, 0.5);
}

.prize-pill-purple {
    background: rgba(168, 85, 247, 0.15);
    color: #DDD6FE;
    border-color: rgba(168, 85, 247, 0.5);
}

.prize-pill-blue {
    background: rgba(59, 130, 246, 0.15);
    color: #93C5FD;
    border-color: rgba(59, 130, 246, 0.5);
}

.prize-pill-gray {
    background: rgba(107, 114, 128, 0.18);
    color: #D1D5DB;
    border-color: rgba(107, 114, 128, 0.5);
}

/* 响应式：移动端 Discord 窗口适配 */
@media (max-width: 640px) {
    .dc-chatlog { padding: 12px 10px; gap: 14px; max-height: 600px; }
    .dc-avatar { width: 34px; height: 34px; }
    .dc-embed { padding: 10px 12px; }
    .dc-player-card { flex-direction: column; }
    .dc-actions .dc-btn { font-size: 0.74rem; padding: 6px 10px; }
}

/* ========================================================== */
/* ========== 竞猜 Bot 呈现效果 =============================== */
/* ========================================================== */

/* 玩法说明 3 卡 */
.guess-rule-card {
    background: rgba(26, 29, 41, 0.7);
    border: 1px solid rgba(245, 158, 11, 0.25);
    border-radius: 14px;
    padding: 18px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    transition: all 0.3s ease;
    backdrop-filter: blur(6px);
}

.guess-rule-card:hover {
    border-color: rgba(245, 158, 11, 0.55);
    transform: translateY(-3px);
    box-shadow: 0 12px 28px rgba(245, 158, 11, 0.15);
}

.guess-rule-icon {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.2rem;
    box-shadow: 0 6px 14px rgba(245, 158, 11, 0.25);
}

.guess-rule-title {
    font-size: 1rem;
    font-weight: 800;
    color: #FCD34D;
}

.guess-rule-desc {
    font-size: 0.78rem;
    color: #D1D5DB;
    line-height: 1.55;
}

/* Embed 琥珀色变体 */
.dc-embed-amber  { border-left-color: #F59E0B; }
.dc-embed-purple { border-left-color: #A855F7; }

/* —— 竞猜对局卡（Embed 内） —— */
.guess-match-card {
    margin-top: 12px;
    background: rgba(0, 0, 0, 0.28);
    border: 1px solid rgba(245, 158, 11, 0.25);
    border-radius: 10px;
    padding: 12px;
    transition: all 0.25s ease;
}

.guess-match-card + .guess-match-card { margin-top: 10px; }

.guess-match-card:hover {
    border-color: rgba(245, 158, 11, 0.55);
    box-shadow: 0 6px 18px rgba(245, 158, 11, 0.12);
}

.guess-match-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 10px;
}

.guess-match-tag {
    font-size: 0.66rem;
    padding: 2px 8px;
    border-radius: 4px;
    font-weight: 800;
    letter-spacing: 0.04em;
}

.guess-match-time {
    color: #94A3B8;
    font-size: 0.7rem;
}
.guess-match-time i { margin-right: 4px; }

.guess-match-body {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 10px;
}

.guess-match-player {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
}

.guess-match-player-right {
    justify-content: flex-end;
}

.guess-mp-avatar {
    flex-shrink: 0;
    width: 38px;
    height: 38px;
    border-radius: 10px;
    color: #fff;
    font-weight: 900;
    font-size: 1rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.4);
}

.guess-mp-info { min-width: 0; }

.guess-mp-name {
    color: #F2F3F5;
    font-weight: 800;
    font-size: 0.86rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.guess-mp-meta {
    color: #94A3B8;
    font-size: 0.7rem;
    margin-top: 1px;
}

.guess-mp-odds {
    flex-shrink: 0;
    padding: 3px 8px;
    border-radius: 8px;
    font-size: 0.78rem;
    font-weight: 900;
    color: #FCD34D;
    background: rgba(245, 158, 11, 0.15);
    border: 1px solid rgba(245, 158, 11, 0.45);
    letter-spacing: 0.02em;
    font-feature-settings: "tnum";
}

.guess-mp-odds.odds-hot {
    color: #93C5FD;
    background: rgba(59, 130, 246, 0.15);
    border-color: rgba(59, 130, 246, 0.5);
}

.guess-mp-odds.odds-cold {
    color: #F9A8D4;
    background: rgba(236, 72, 153, 0.13);
    border-color: rgba(236, 72, 153, 0.45);
}

.guess-match-vs {
    color: #FCD34D;
    font-weight: 900;
    font-size: 0.85rem;
    letter-spacing: 0.06em;
    text-shadow: 0 0 12px rgba(252, 211, 77, 0.5);
}

/* 投票占比条（双向） */
.guess-match-bar-wrap {
    margin-top: 10px;
}

.guess-match-bar {
    height: 8px;
    border-radius: 4px;
    background: rgba(31, 41, 55, 0.7);
    overflow: hidden;
    display: flex;
    gap: 2px;
}

.guess-match-bar-left,
.guess-match-bar-right {
    height: 100%;
    transition: width 1s cubic-bezier(0.4, 0, 0.2, 1);
}

.guess-match-bar-left {
    background: linear-gradient(90deg, #3B82F6, #06B6D4);
    border-radius: 4px 0 0 4px;
}

.guess-match-bar-right {
    background: linear-gradient(90deg, #EC4899, #F59E0B);
    border-radius: 0 4px 4px 0;
}

.guess-match-bar-meta {
    display: flex;
    justify-content: space-between;
    margin-top: 5px;
    font-size: 0.7rem;
}

.guess-match-bar-meta b { font-weight: 800; }

/* —— 冠军竞猜（一次性押宝） —— */
.champion-pick-grid {
    margin-top: 10px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
}

@media (min-width: 640px) {
    .champion-pick-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.champion-pick-card {
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(75, 85, 99, 0.5);
    border-radius: 10px;
    padding: 10px 8px;
    text-align: center;
    cursor: pointer;
    transition: all 0.25s ease;
    position: relative;
    overflow: hidden;
}

.champion-pick-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.08), transparent 60%);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.champion-pick-card:hover {
    transform: translateY(-3px);
    border-color: rgba(255, 215, 0, 0.55);
    box-shadow: 0 8px 18px rgba(255, 215, 0, 0.18);
}

.champion-pick-card:hover::before { opacity: 1; }

.champion-pick-card.is-active {
    border-color: rgba(255, 215, 0, 0.7);
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.14), rgba(0, 0, 0, 0.4));
    box-shadow: 0 0 18px rgba(255, 215, 0, 0.28);
}

.champion-pick-card.is-active::after {
    content: '✓';
    position: absolute;
    top: 4px;
    right: 6px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: linear-gradient(135deg, #F59E0B, #FFD700);
    color: #1F2937;
    font-weight: 900;
    font-size: 0.74rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.cp-avatar {
    width: 38px;
    height: 38px;
    margin: 0 auto 6px;
    border-radius: 50%;
    color: #fff;
    font-weight: 900;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.4);
}

.cp-name {
    color: #F2F3F5;
    font-weight: 800;
    font-size: 0.78rem;
    margin-bottom: 2px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.cp-odds {
    color: #FCD34D;
    font-size: 0.78rem;
    font-weight: 900;
    margin-bottom: 3px;
    font-feature-settings: "tnum";
}

.cp-vote {
    color: #94A3B8;
    font-size: 0.66rem;
    margin-bottom: 5px;
}

.cp-bar {
    height: 4px;
    border-radius: 2px;
    background: rgba(31, 41, 55, 0.7);
    overflow: hidden;
}

.cp-bar span {
    display: block;
    height: 100%;
    background: linear-gradient(90deg, #F59E0B, #FFD700);
    border-radius: 2px;
}

/* —— 个人战绩（/me 命令） —— */
.me-stats-grid {
    margin-top: 10px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
}

@media (min-width: 480px) {
    .me-stats-grid { grid-template-columns: repeat(4, 1fr); }
}

.me-stat {
    background: rgba(0, 0, 0, 0.28);
    border: 1px solid rgba(168, 85, 247, 0.25);
    border-radius: 10px;
    padding: 10px;
    text-align: center;
}

.me-stat-label {
    color: #9CA3AF;
    font-size: 0.66rem;
    margin-bottom: 4px;
}

.me-stat-num {
    color: #F2F3F5;
    font-weight: 900;
    font-size: 1.15rem;
    line-height: 1.1;
    font-feature-settings: "tnum";
}

.me-stat-unit {
    font-size: 0.7rem;
    font-weight: 700;
    color: #9CA3AF;
    margin-left: 2px;
}

/* —— 神预言家榜（右侧面板） —— */
.prophet-board {
    background: linear-gradient(180deg, rgba(26, 29, 41, 0.85), rgba(15, 17, 23, 0.95));
    border: 1px solid rgba(245, 158, 11, 0.3);
    border-radius: 14px;
    padding: 18px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.45);
    backdrop-filter: blur(6px);
}

.prophet-board-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 10px;
    border-bottom: 1px dashed rgba(245, 158, 11, 0.35);
}

.prophet-board-title {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-weight: 800;
    color: #FCD34D;
    font-size: 1rem;
}

.prophet-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.prophet-row {
    display: grid;
    grid-template-columns: 28px 36px 1fr auto;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    background: rgba(15, 17, 23, 0.55);
    border: 1px solid rgba(75, 85, 99, 0.4);
    border-radius: 10px;
    transition: all 0.25s ease;
}

.prophet-row:hover {
    transform: translateX(3px);
    border-color: rgba(245, 158, 11, 0.55);
}

.prophet-row-1 {
    border-color: rgba(255, 215, 0, 0.55);
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.1), rgba(15, 17, 23, 0.85));
    box-shadow: 0 0 16px rgba(255, 215, 0, 0.18);
}

.prophet-row-2 { border-color: rgba(203, 213, 225, 0.45); }
.prophet-row-3 { border-color: rgba(245, 158, 11, 0.45); }

.prophet-rank {
    font-size: 1.15rem;
    text-align: center;
    color: #F2F3F5;
    font-weight: 900;
}

.prophet-avatar {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    color: #fff;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.4);
}

.prophet-info { min-width: 0; }

.prophet-name {
    color: #F2F3F5;
    font-weight: 800;
    font-size: 0.88rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.prophet-meta {
    color: #94A3B8;
    font-size: 0.7rem;
    margin-top: 2px;
}

.prophet-coin {
    text-align: right;
    color: #FCD34D;
    font-weight: 900;
    font-size: 0.92rem;
    font-feature-settings: "tnum";
    white-space: nowrap;
}

.prophet-coin i { margin-right: 2px; }

.prophet-board-foot {
    color: #9CA3AF;
    font-size: 0.7rem;
    padding-top: 8px;
    border-top: 1px dashed rgba(75, 85, 99, 0.4);
}

.prophet-board-foot i { margin-right: 4px; color: #FCD34D; }
.prophet-board-foot b { color: #F2F3F5; }

/* —— 今日竞猜数据卡 —— */
.guess-stat-card {
    background: rgba(26, 29, 41, 0.75);
    border: 1px solid rgba(6, 182, 212, 0.3);
    border-radius: 14px;
    padding: 16px;
    backdrop-filter: blur(6px);
}

.guess-stat-head {
    display: flex;
    align-items: center;
    gap: 6px;
    font-weight: 800;
    color: #67E8F9;
    margin-bottom: 12px;
    font-size: 0.95rem;
}

.guess-stat-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
}

.guess-stat-cell {
    background: rgba(15, 17, 23, 0.6);
    border: 1px solid rgba(75, 85, 99, 0.35);
    border-radius: 10px;
    padding: 10px;
    text-align: center;
}

.guess-stat-num {
    font-size: 1.15rem;
    font-weight: 900;
    line-height: 1.1;
    font-feature-settings: "tnum";
}

.guess-stat-lbl {
    color: #9CA3AF;
    font-size: 0.66rem;
    margin-top: 3px;
}

/* —— 公平/防作弊清单 —— */
.guess-rules-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.guess-rules-list li {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    padding: 8px 10px;
    background: rgba(15, 17, 23, 0.55);
    border: 1px solid rgba(75, 85, 99, 0.35);
    border-radius: 10px;
    color: #D1D5DB;
    font-size: 0.78rem;
    line-height: 1.55;
}

.guess-rules-list li i {
    flex-shrink: 0;
    margin-top: 2px;
    font-size: 1rem;
}

.guess-rules-list li b { color: #F2F3F5; font-weight: 800; }

.guess-rules-list code {
    background: rgba(59, 130, 246, 0.16);
    color: #93C5FD;
    padding: 1px 5px;
    border-radius: 4px;
    font-size: 0.74rem;
    margin: 0 2px;
    font-family: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace;
}

/* 移动端适配：竞猜对局体两端紧凑 */
@media (max-width: 640px) {
    .guess-match-body {
        grid-template-columns: 1fr;
        gap: 6px;
    }
    .guess-match-vs { text-align: center; padding: 4px 0; }
    .guess-match-player-right { justify-content: flex-start; }
    .guess-match-player-right .guess-mp-info { text-align: left !important; }
    .champion-pick-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ========================================================== */
/* ========== 通用辅助：行内 code / 警告 toast / 旋转图标 ===== */
/* ========================================================== */

.dc-inline-code {
    background: rgba(99, 102, 241, 0.15);
    border: 1px solid rgba(99, 102, 241, 0.4);
    color: #C7D2FE;
    padding: 1px 6px;
    border-radius: 5px;
    font-family: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace;
    font-size: 0.78rem;
    margin: 0 2px;
}

.dc-toast-warn {
    margin-top: 8px;
    padding: 9px 12px;
    border-radius: 8px;
    background: rgba(245, 158, 11, 0.12);
    border: 1px solid rgba(245, 158, 11, 0.4);
    color: #FCD34D;
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: 0.82rem;
    line-height: 1.5;
}

.dc-toast-warn i { margin-top: 2px; flex-shrink: 0; font-size: 1rem; }

.anim-spin {
    display: inline-block;
    animation: anim-rotate 1.2s linear infinite;
}

@keyframes anim-rotate {
    from { transform: rotate(0); }
    to   { transform: rotate(360deg); }
}

.dc-embed-emerald { border-left-color: #10B981; }
.dc-embed-pink    { border-left-color: #EC4899; }

/* ========================================================== */
/* ========== 报名 Bot 呈现效果 =============================== */
/* ========================================================== */

.signup-rule-card {
    background: rgba(26, 29, 41, 0.7);
    border: 1px solid rgba(16, 185, 129, 0.25);
    border-radius: 14px;
    padding: 18px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    transition: all 0.3s ease;
    backdrop-filter: blur(6px);
}

.signup-rule-card:hover {
    border-color: rgba(16, 185, 129, 0.55);
    transform: translateY(-3px);
    box-shadow: 0 12px 28px rgba(16, 185, 129, 0.15);
}

.signup-rule-icon {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.2rem;
    box-shadow: 0 6px 14px rgba(16, 185, 129, 0.25);
}

.signup-rule-title {
    font-size: 1rem;
    font-weight: 800;
    color: #6EE7B7;
}

.signup-rule-desc {
    font-size: 0.78rem;
    color: #D1D5DB;
    line-height: 1.55;
}

.signup-req-grid {
    margin-top: 10px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
}

.signup-req-cell {
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(16, 185, 129, 0.25);
    border-radius: 10px;
    padding: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.signup-req-cell i { font-size: 1.4rem; flex-shrink: 0; }

.signup-req-lbl { font-size: 0.66rem; color: #94A3B8; }

.signup-req-val {
    color: #F2F3F5;
    font-weight: 800;
    font-size: 0.82rem;
    margin-top: 2px;
}

.signup-check-list {
    margin: 10px 0 0;
    padding: 0;
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.signup-check-list li {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 7px 10px;
    background: rgba(0, 0, 0, 0.28);
    border: 1px solid rgba(16, 185, 129, 0.25);
    border-radius: 8px;
    color: #D1D5DB;
    font-size: 0.8rem;
}

.signup-check-list li.ok i { color: #34D399; font-size: 1rem; }
.signup-check-list li b { color: #F2F3F5; font-weight: 800; }

.signup-card {
    margin-top: 10px;
    padding: 12px;
    background: rgba(0, 0, 0, 0.32);
    border: 1px solid rgba(16, 185, 129, 0.35);
    border-radius: 12px;
    display: flex;
    gap: 12px;
    align-items: flex-start;
}

.signup-card-avatar {
    flex-shrink: 0;
    width: 52px;
    height: 52px;
    border-radius: 12px;
    color: #fff;
    font-weight: 900;
    font-size: 1.2rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

.signup-card-body { flex: 1; min-width: 0; }

.signup-card-name {
    color: #F2F3F5;
    font-weight: 900;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.signup-card-id {
    background: rgba(16, 185, 129, 0.18);
    border: 1px solid rgba(16, 185, 129, 0.45);
    color: #6EE7B7;
    padding: 1px 8px;
    border-radius: 6px;
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    font-family: ui-monospace, monospace;
}

.signup-card-tags {
    margin-top: 5px;
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
}

.signup-tag {
    font-size: 0.66rem;
    padding: 2px 8px;
    border-radius: 4px;
    font-weight: 700;
    letter-spacing: 0.02em;
}

.signup-tag.tag-rank {
    background: rgba(168, 85, 247, 0.18);
    border: 1px solid rgba(168, 85, 247, 0.45);
    color: #C4B5FD;
}

.signup-tag.tag-state {
    background: rgba(16, 185, 129, 0.18);
    border: 1px solid rgba(16, 185, 129, 0.45);
    color: #6EE7B7;
}

.signup-tag.tag-step {
    background: rgba(245, 158, 11, 0.16);
    border: 1px solid rgba(245, 158, 11, 0.4);
    color: #FCD34D;
}

.signup-card-meta {
    margin-top: 7px;
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    color: #9CA3AF;
    font-size: 0.72rem;
}

.signup-card-meta i { margin-right: 3px; color: #6EE7B7; }

.signup-counter-card {
    background: linear-gradient(180deg, rgba(16, 185, 129, 0.1), rgba(15, 17, 23, 0.95));
    border: 1px solid rgba(16, 185, 129, 0.35);
    border-radius: 14px;
    padding: 18px;
    backdrop-filter: blur(6px);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.4);
}

.signup-counter-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
}

.signup-counter-title {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-weight: 800;
    color: #6EE7B7;
    font-size: 0.95rem;
}

.signup-counter-num {
    font-size: 2.6rem;
    font-weight: 900;
    line-height: 1.1;
    background: linear-gradient(135deg, #34D399, #06B6D4);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    font-feature-settings: "tnum";
    letter-spacing: -0.02em;
}

.signup-counter-sub {
    color: #9CA3AF;
    font-size: 0.78rem;
    margin-top: 2px;
}

.signup-counter-bar {
    margin-top: 12px;
    height: 8px;
    border-radius: 4px;
    background: rgba(31, 41, 55, 0.7);
    overflow: hidden;
}

.signup-counter-bar-fill {
    height: 100%;
    background: linear-gradient(90deg, #34D399, #06B6D4);
    border-radius: 4px;
    transition: width 1s cubic-bezier(0.4, 0, 0.2, 1);
}

.signup-counter-meta {
    margin-top: 8px;
    display: flex;
    justify-content: space-between;
    color: #94A3B8;
    font-size: 0.74rem;
}

.signup-counter-meta i { margin-right: 4px; color: #34D399; }
.signup-counter-meta b { color: #F2F3F5; }

.signup-dist-card,
.signup-region-card {
    background: rgba(26, 29, 41, 0.75);
    border: 1px solid rgba(6, 182, 212, 0.3);
    border-radius: 14px;
    padding: 16px;
    backdrop-filter: blur(6px);
}

.signup-region-card { border-color: rgba(236, 72, 153, 0.3); }

.signup-dist-head,
.signup-region-head {
    display: flex;
    align-items: center;
    gap: 6px;
    font-weight: 800;
    color: #67E8F9;
    margin-bottom: 12px;
    font-size: 0.95rem;
}

.signup-region-head { color: #F9A8D4; }

.signup-dist-list { display: flex; flex-direction: column; gap: 8px; }

.signup-dist-row {
    display: grid;
    grid-template-columns: 76px 1fr 56px;
    align-items: center;
    gap: 10px;
}

.signup-dist-label {
    font-size: 0.78rem;
    font-weight: 800;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.signup-dist-bar {
    height: 8px;
    border-radius: 4px;
    background: rgba(31, 41, 55, 0.7);
    overflow: hidden;
}

.signup-dist-bar span {
    display: block;
    height: 100%;
    border-radius: 4px;
    transition: width 1s ease;
}

.signup-dist-val {
    text-align: right;
    color: #F2F3F5;
    font-weight: 800;
    font-feature-settings: "tnum";
    font-size: 0.82rem;
}

.signup-region-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
}

.signup-region-cell {
    background: rgba(15, 17, 23, 0.6);
    border: 1px solid rgba(75, 85, 99, 0.35);
    border-radius: 10px;
    padding: 10px;
    text-align: center;
    transition: all 0.25s ease;
}

.signup-region-cell:hover {
    transform: translateY(-2px);
    border-color: rgba(236, 72, 153, 0.5);
}

.signup-region-flag { font-size: 1.4rem; line-height: 1; }
.signup-region-name { color: #94A3B8; font-size: 0.7rem; margin-top: 4px; }
.signup-region-num { font-size: 1.1rem; font-weight: 900; margin-top: 2px; font-feature-settings: "tnum"; }

.signup-flow {
    display: flex;
    flex-direction: column;
    gap: 10px;
    position: relative;
}

.signup-flow::before {
    content: '';
    position: absolute;
    left: 17px;
    top: 18px;
    bottom: 18px;
    width: 2px;
    background: linear-gradient(180deg, #10B981 0%, #06B6D4 33%, #A855F7 66%, #EC4899 100%);
    opacity: 0.45;
    border-radius: 2px;
}

.signup-flow-step {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    position: relative;
    z-index: 1;
}

.signup-flow-step-num {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    color: #fff;
    font-weight: 900;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.45);
    border: 2px solid rgba(15, 17, 23, 0.95);
}

.signup-flow-step-body {
    flex: 1;
    background: rgba(15, 17, 23, 0.55);
    border: 1px solid rgba(75, 85, 99, 0.4);
    border-radius: 10px;
    padding: 8px 12px;
}

.signup-flow-step-title {
    color: #F2F3F5;
    font-weight: 800;
    font-size: 0.86rem;
}

.signup-flow-step-desc {
    color: #94A3B8;
    font-size: 0.72rem;
    margin-top: 2px;
}

/* ========================================================== */
/* ========== 卡组征集 Bot 呈现效果 =========================== */
/* ========================================================== */

.deck-rule-card {
    background: rgba(26, 29, 41, 0.7);
    border: 1px solid rgba(236, 72, 153, 0.25);
    border-radius: 14px;
    padding: 18px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    transition: all 0.3s ease;
    backdrop-filter: blur(6px);
}

.deck-rule-card:hover {
    border-color: rgba(236, 72, 153, 0.55);
    transform: translateY(-3px);
    box-shadow: 0 12px 28px rgba(236, 72, 153, 0.15);
}

.deck-rule-icon {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.2rem;
    box-shadow: 0 6px 14px rgba(236, 72, 153, 0.25);
}

.deck-rule-title {
    font-size: 1rem;
    font-weight: 800;
    color: #F9A8D4;
}

.deck-rule-desc {
    font-size: 0.78rem;
    color: #D1D5DB;
    line-height: 1.55;
}

.deck-card {
    margin-top: 12px;
    background: linear-gradient(180deg, rgba(236, 72, 153, 0.06), rgba(0, 0, 0, 0.32));
    border: 1px solid rgba(236, 72, 153, 0.35);
    border-radius: 12px;
    padding: 14px;
    transition: all 0.25s ease;
}

.deck-card:hover {
    border-color: rgba(236, 72, 153, 0.6);
    box-shadow: 0 8px 22px rgba(236, 72, 153, 0.15);
}

.deck-card-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.deck-card-name {
    color: #F2F3F5;
    font-weight: 900;
    font-size: 0.95rem;
}

.deck-tier,
.deck-card-tier {
    padding: 2px 8px;
    border-radius: 6px;
    font-size: 0.66rem;
    font-weight: 900;
    letter-spacing: 0.04em;
    border: 1px solid;
}

.deck-tier-s {
    background: rgba(245, 158, 11, 0.2);
    border-color: rgba(245, 158, 11, 0.55);
    color: #FCD34D;
    box-shadow: 0 0 10px rgba(245, 158, 11, 0.25);
}

.deck-tier-a {
    background: rgba(168, 85, 247, 0.2);
    border-color: rgba(168, 85, 247, 0.55);
    color: #D8B4FE;
}

.deck-tier-b {
    background: rgba(6, 182, 212, 0.18);
    border-color: rgba(6, 182, 212, 0.55);
    color: #67E8F9;
}

.deck-card-author {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    padding-bottom: 10px;
    border-bottom: 1px dashed rgba(75, 85, 99, 0.4);
}

.deck-card-author-avatar {
    width: 26px;
    height: 26px;
    border-radius: 8px;
    color: #fff;
    font-weight: 900;
    font-size: 0.78rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.deck-card-author-name {
    color: #F2F3F5;
    font-weight: 800;
    font-size: 0.82rem;
}

.deck-card-winrate {
    margin-left: auto;
    color: #67E8F9;
    font-size: 0.78rem;
    font-weight: 800;
}

.deck-card-winrate i { margin-right: 3px; color: #34D399; }
.deck-card-winrate b { color: #FCD34D; font-weight: 900; }

.deck-bond-row {
    margin-top: 10px;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.deck-bond {
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 0.74rem;
    font-weight: 800;
    border: 1px solid;
    letter-spacing: 0.02em;
}

.deck-bond.bond-blue   { background: rgba(59, 130, 246, 0.18); border-color: rgba(59, 130, 246, 0.5); color: #93C5FD; }
.deck-bond.bond-purple { background: rgba(168, 85, 247, 0.18); border-color: rgba(168, 85, 247, 0.5); color: #D8B4FE; }
.deck-bond.bond-amber  { background: rgba(245, 158, 11, 0.18); border-color: rgba(245, 158, 11, 0.5); color: #FCD34D; }
.deck-bond.bond-green  { background: rgba(16, 185, 129, 0.18); border-color: rgba(16, 185, 129, 0.5); color: #6EE7B7; }

.deck-units-row {
    margin-top: 10px;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.deck-unit {
    flex: 1 1 calc(33.333% - 6px);
    min-width: 92px;
    background: rgba(0, 0, 0, 0.35);
    border: 1px solid;
    border-radius: 8px;
    padding: 6px 8px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: all 0.2s ease;
}

.deck-unit:hover { transform: translateY(-2px); }

.deck-unit-1 { border-color: rgba(148, 163, 184, 0.45); }
.deck-unit-2 { border-color: rgba(59, 130, 246, 0.5); background: linear-gradient(135deg, rgba(59, 130, 246, 0.1), rgba(0, 0, 0, 0.35)); }
.deck-unit-3 { border-color: rgba(168, 85, 247, 0.6); background: linear-gradient(135deg, rgba(168, 85, 247, 0.14), rgba(0, 0, 0, 0.35)); box-shadow: 0 0 10px rgba(168, 85, 247, 0.18); }

.deck-unit-name {
    color: #F2F3F5;
    font-weight: 700;
    font-size: 0.76rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.deck-unit-cost {
    flex-shrink: 0;
    margin-left: 6px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: linear-gradient(135deg, #F59E0B, #FCD34D);
    color: #1F2937;
    font-weight: 900;
    font-size: 0.7rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.deck-thoughts {
    margin-top: 10px;
    padding: 9px 12px;
    background: rgba(245, 158, 11, 0.08);
    border: 1px solid rgba(245, 158, 11, 0.3);
    border-radius: 8px;
    color: #D1D5DB;
    font-size: 0.78rem;
    line-height: 1.55;
    display: flex;
    align-items: flex-start;
    gap: 8px;
}

.deck-thoughts i { margin-top: 2px; flex-shrink: 0; font-size: 1rem; }
.deck-thoughts b { color: #F9A8D4; font-weight: 800; }

.deck-card-actions {
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px dashed rgba(75, 85, 99, 0.4);
    display: flex;
    align-items: center;
    gap: 14px;
}

.deck-stat {
    color: #D1D5DB;
    font-size: 0.78rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.deck-stat i { font-size: 0.95rem; }

.deck-mini-list {
    margin-top: 10px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.deck-mini-row {
    display: grid;
    grid-template-columns: 28px 1fr auto;
    align-items: center;
    gap: 10px;
    padding: 9px 12px;
    background: rgba(0, 0, 0, 0.32);
    border: 1px solid rgba(236, 72, 153, 0.25);
    border-radius: 10px;
    transition: all 0.2s ease;
}

.deck-mini-row:hover {
    transform: translateX(3px);
    border-color: rgba(236, 72, 153, 0.55);
}

.deck-mini-rank {
    font-size: 1.1rem;
    text-align: center;
    color: #F2F3F5;
    font-weight: 900;
}

.deck-mini-info { min-width: 0; }

.deck-mini-name {
    color: #F2F3F5;
    font-weight: 800;
    font-size: 0.86rem;
    display: flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.deck-mini-meta {
    color: #94A3B8;
    font-size: 0.72rem;
    margin-top: 2px;
}

.deck-mini-stats {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 2px;
    font-size: 0.74rem;
    font-weight: 700;
    font-feature-settings: "tnum";
}

.deck-mini-stats i { margin-right: 3px; }

.deck-rank-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.05rem;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.4);
}

.deck-value-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}

.deck-value-cell {
    background: rgba(15, 17, 23, 0.55);
    border: 1px solid rgba(168, 85, 247, 0.3);
    border-radius: 12px;
    padding: 14px 12px;
    text-align: center;
    transition: all 0.25s ease;
}

.deck-value-cell:hover {
    transform: translateY(-3px);
    border-color: rgba(168, 85, 247, 0.6);
    box-shadow: 0 10px 22px rgba(168, 85, 247, 0.15);
}

.deck-value-cell > i:first-child {
    font-size: 1.8rem;
    display: block;
    margin-bottom: 4px;
}

.deck-value-num {
    font-size: 1.6rem;
    font-weight: 900;
    line-height: 1.1;
    font-feature-settings: "tnum";
    letter-spacing: -0.02em;
}

.deck-value-lbl {
    color: #F2F3F5;
    font-weight: 800;
    font-size: 0.82rem;
    margin-top: 4px;
}

.deck-value-desc {
    color: #94A3B8;
    font-size: 0.7rem;
    margin-top: 3px;
    line-height: 1.45;
}

/* ========== 16 强 5 轮 × 4 桌 固定排表（renderRoundRobin5）样式 ========== */
.rr-round-block {
    border: 1px solid rgba(236, 72, 153, 0.25);
    background: linear-gradient(135deg, rgba(236, 72, 153, 0.04), rgba(168, 85, 247, 0.03));
    border-radius: 14px;
    padding: 14px 14px 16px;
    opacity: 0;
    transform: translateY(8px);
    animation: rrRoundIn 0.5s ease-out forwards;
}

@keyframes rrRoundIn {
    to { opacity: 1; transform: translateY(0); }
}

.rr-round-head {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 12px;
    padding-bottom: 10px;
    border-bottom: 1px dashed rgba(236, 72, 153, 0.25);
}

.rr-round-day {
    padding: 3px 10px;
    border-radius: 6px;
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.5px;
}

.rr-round-day.rr-day-1 {
    background: rgba(236, 72, 153, 0.18);
    color: #F9A8D4;
    border: 1px solid rgba(236, 72, 153, 0.4);
}

.rr-round-day.rr-day-2 {
    background: rgba(244, 63, 94, 0.18);
    color: #FDA4AF;
    border: 1px solid rgba(244, 63, 94, 0.4);
}

.rr-round-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 36px;
    height: 26px;
    padding: 0 8px;
    border-radius: 6px;
    background: linear-gradient(135deg, #EC4899, #A855F7);
    color: #fff;
    font-weight: 800;
    font-size: 0.78rem;
}

.rr-round-title {
    color: #F3F4F6;
    font-weight: 700;
    font-size: 0.92rem;
}

.rr-round-tip {
    margin-left: auto;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    color: #94A3B8;
    font-size: 0.7rem;
}

.rr-round-tip i { color: #67E8F9; }

.rr-round-tables {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
}

.rr-table-card {
    border: 1px solid rgba(148, 163, 184, 0.18);
    background: linear-gradient(180deg, rgba(15, 17, 23, 0.7), rgba(26, 29, 41, 0.7));
    border-radius: 10px;
    padding: 10px 10px 12px;
    transition: transform 0.2s ease, border-color 0.2s ease;
}

.rr-table-card:hover {
    transform: translateY(-2px);
    border-color: rgba(236, 72, 153, 0.4);
}

.rr-table-card.table-a-card { border-color: rgba(96, 165, 250, 0.3); }
.rr-table-card.table-b-card { border-color: rgba(74, 222, 128, 0.3); }
.rr-table-card.table-c-card { border-color: rgba(251, 191, 36, 0.3); }
.rr-table-card.table-d-card { border-color: rgba(192, 132, 252, 0.3); }

.rr-table-head {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 8px;
    padding-bottom: 6px;
    border-bottom: 1px dashed rgba(148, 163, 184, 0.2);
}

.rr-table-badge {
    width: 22px;
    height: 22px;
    border-radius: 6px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: 800;
    font-size: 0.72rem;
}

.rr-table-title {
    color: #E5E7EB;
    font-weight: 700;
    font-size: 0.8rem;
}

.rr-table-rule {
    margin-left: auto;
    color: #FCD34D;
    font-size: 0.65rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 3px;
}

.rr-table-body {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.rr-player-chip {
    display: flex;
    align-items: center;
    gap: 7px;
    padding: 5px 8px;
    border-radius: 7px;
    border: 1px solid;
    font-size: 0.72rem;
}

.rr-player-dot {
    width: 30px;
    height: 22px;
    border-radius: 5px;
    color: #fff;
    font-weight: 800;
    font-size: 0.66rem;
    letter-spacing: 0.3px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.rr-player-name {
    color: #E5E7EB;
    font-weight: 600;
}

.rr-verify {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-top: 6px;
    padding: 12px 14px;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.10), rgba(6, 182, 212, 0.06));
    border: 1px solid rgba(16, 185, 129, 0.35);
}

.rr-verify i {
    font-size: 1.4rem;
    margin-top: 2px;
}

.rr-verify-title {
    color: #6EE7B7;
    font-weight: 700;
    font-size: 0.85rem;
    margin-bottom: 3px;
}

.rr-verify-desc {
    color: #D1D5DB;
    font-size: 0.75rem;
    line-height: 1.6;
}

.rr-verify-tag {
    display: inline-block;
    margin-left: 8px;
    padding: 2px 8px;
    border-radius: 999px;
    background: rgba(16, 185, 129, 0.18);
    color: #6EE7B7;
    font-size: 0.7rem;
    font-weight: 700;
    border: 1px solid rgba(16, 185, 129, 0.4);
}

@media (max-width: 1023px) {
    .rr-round-tables { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 540px) {
    .rr-round-tables { grid-template-columns: 1fr; }
    .rr-round-tip { width: 100%; margin-left: 0; }
}

/* ========== 报名模板（Bot 下发 + 玩家填写）样式 ========== */
.signup-tpl-block {
    margin: 12px 0 10px;
    padding: 12px 14px;
    background: linear-gradient(180deg, rgba(16, 185, 129, 0.10), rgba(6, 182, 212, 0.06));
    border: 1px dashed rgba(16, 185, 129, 0.45);
    border-radius: 10px;
    font-family: 'JetBrains Mono', 'Fira Code', Menlo, Consolas, monospace;
    font-size: 0.78rem;
    line-height: 1.85;
    color: #E5E7EB;
    white-space: pre-wrap;
    overflow-x: auto;
}

.signup-tpl-block code {
    display: block;
    background: transparent;
    padding: 0;
    color: inherit;
}

.signup-tpl-key {
    display: inline-block;
    min-width: 84px;
    color: #6EE7B7;
    font-weight: 700;
}

.signup-tpl-sep {
    color: #94A3B8;
    margin: 0 2px;
}

.signup-tpl-ph {
    color: #94A3B8;
    font-style: italic;
}

.signup-tpl-val {
    color: #FCD34D;
    font-weight: 600;
}

.signup-tpl-fill {
    margin-top: 4px;
    padding: 12px 14px;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.10), rgba(14, 165, 233, 0.06));
    border-left: 3px solid #60A5FA;
    border-radius: 8px;
    font-size: 0.82rem;
    line-height: 1.9;
}

.signup-tpl-fill-warn {
    background: linear-gradient(135deg, rgba(244, 63, 94, 0.10), rgba(251, 113, 133, 0.05));
    border-left-color: #F87171;
}

.signup-tpl-fill-row {
    display: flex;
    align-items: baseline;
    gap: 4px;
    color: #E5E7EB;
}

.signup-tpl-miss {
    color: #FCA5A5 !important;
    font-style: italic;
    font-weight: 500;
}

@media (max-width: 640px) {
    .signup-req-grid { grid-template-columns: 1fr; }
    .signup-region-grid { grid-template-columns: repeat(2, 1fr); }
    .deck-units-row .deck-unit { flex: 1 1 calc(50% - 6px); }
    .deck-value-grid { grid-template-columns: 1fr; }
    .deck-card-author { flex-wrap: wrap; }
    .deck-card-winrate { margin-left: 0; }
    .signup-tpl-block { font-size: 0.72rem; }
    .signup-tpl-key { min-width: 72px; }
}