/* ===== hex-blast · 六边形连锁爆破 ===== */

.hb-hero {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 32px 20px 28px;
    border-radius: var(--radius-lg);
    background: radial-gradient(ellipse at top, #e8f4ff 0%, #fff 55%, #f0f9ff 100%);
    overflow: hidden;
    margin-bottom: 24px;
    border: 1px solid #c7dffd;
}

.hb-glow {
    position: absolute;
    top: -140px;
    left: 50%;
    width: 500px;
    height: 500px;
    transform: translateX(-50%);
    border-radius: 50%;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.2) 0%, transparent 70%);
    pointer-events: none;
}

/* HUD */
.hb-hud {
    position: relative;
    z-index: 1;
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: center;
    width: 100%;
    max-width: 560px;
    margin-bottom: 16px;
}
.hb-hud-item {
    flex: 1;
    min-width: 96px;
    padding: 10px 12px;
    border-radius: 12px;
    background: #fff;
    border: 1px solid #c7dffd;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.08);
    text-align: center;
}
.hb-hud-label {
    font-size: 11px;
    color: #607d9c;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    font-weight: 700;
}
.hb-hud-value {
    font-size: 20px;
    font-weight: 900;
    color: #2563eb;
    margin-top: 2px;
}
.hb-hud-item.best { background: linear-gradient(135deg, #3b82f6, #1d4ed8); border-color: transparent; }
.hb-hud-item.best .hb-hud-label { color: rgba(255,255,255,0.8); }
.hb-hud-item.best .hb-hud-value { color: #fff; }

/* 操作行 */
.hb-actions {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    gap: 14px;
    width: 100%;
    max-width: 560px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}
.hb-btn {
    padding: 10px 22px;
    border-radius: 10px;
    border: 1px solid #c7dffd;
    background: #fff;
    color: #2563eb;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: transform 0.12s ease, box-shadow 0.12s ease, background 0.15s ease;
}
.hb-btn:hover { background: #eaf2ff; transform: translateY(-1px); }
.hb-btn:active { transform: translateY(0); }
.hb-btn.primary {
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
    color: #fff;
    border-color: transparent;
    box-shadow: 0 8px 20px rgba(29, 78, 216, 0.35);
}
.hb-btn.primary:hover { background: linear-gradient(135deg, #2563eb, #1e40af); }
.hb-hint {
    margin-left: auto;
    font-size: 12.5px;
    color: #607d9c;
}

/* 画布容器 */
.hb-board-wrap {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 560px;
    aspect-ratio: 1 / 1;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 16px 40px rgba(59, 130, 246, 0.18);
    background: linear-gradient(135deg, #dbeafe, #c7dffd);
}
.hb-board-wrap canvas {
    display: block;
    width: 100%;
    height: 100%;
    touch-action: none;
    user-select: none;
}

/* 覆盖层 */
.hb-overlay {
    position: absolute;
    inset: 0;
    z-index: 5;
    display: grid;
    place-items: center;
    background: rgba(199, 223, 253, 0.88);
    backdrop-filter: blur(4px);
    border-radius: 16px;
    animation: hb-fade 0.25s ease;
}
.hb-overlay[hidden] { display: none; }
@keyframes hb-fade { from { opacity: 0; } to { opacity: 1; } }

.hb-overlay-card {
    text-align: center;
    padding: 28px 24px;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 14px 40px rgba(29, 78, 216, 0.25);
    max-width: 86%;
}
.hb-overlay-emoji { font-size: 48px; line-height: 1; margin-bottom: 10px; }
.hb-overlay-title { font-size: 26px; font-weight: 900; color: #2563eb; letter-spacing: -0.02em; }
.hb-overlay-text { font-size: 14px; color: #607d9c; margin: 8px 0 18px; }
.hb-overlay-actions { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }

/* 简介区 */
.hb-info { margin-bottom: 28px; }
.hb-info .detail-title-row { margin-bottom: 16px; }
.hb-info h1 { font-size: 28px; }

/* 响应式 */
@media (max-width: 768px) {
    .hb-hero { padding: 24px 14px 22px; }
    .hb-hud { gap: 8px; }
    .hb-hud-item { min-width: 72px; padding: 8px 10px; }
    .hb-hud-value { font-size: 16px; }
    .hb-hint { display: none; }
}
