/**
 * ShadowBoard 2.0 - Burn Vote CSS
 * Community justice. 7 votes = ash.
 */

/* Inline burn vote in post meta */
.burn-inline {
    float: right;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.burn-count {
    font-size: 0.8em;
    color: #ff0033;
    font-weight: bold;
}

.burn-count.hot {
    animation: burn-pulse 0.5s ease-in-out infinite alternate;
}

@keyframes burn-pulse {
    from { color: #ff0033; text-shadow: 0 0 5px rgba(255, 0, 51, 0.5); }
    to { color: #ff6600; text-shadow: 0 0 15px rgba(255, 102, 0, 0.8); }
}

.burn-btn-mini {
    background: transparent;
    border: 1px solid #ff0033;
    color: #ff0033;
    padding: 2px 6px;
    font-size: 0.75em;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 3px;
}

.burn-btn-mini:hover {
    background: rgba(255, 0, 51, 0.3);
    box-shadow: 0 0 8px rgba(255, 0, 51, 0.5);
}

/* Legacy - keep for modal button */
.burn-container {
    margin-top: 15px;
    padding: 12px;
    background: rgba(255, 0, 51, 0.05);
    border: 1px solid rgba(255, 0, 51, 0.2);
    border-radius: 4px;
}

.burn-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 10px;
}

.burn-title {
    font-size: 0.85em;
    color: #ff6600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Burn POW Modal */
.burn-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 10000;
    align-items: center;
    justify-content: center;
}

.burn-modal.active {
    display: flex;
}

.burn-modal-content {
    background: linear-gradient(135deg, #0a0a0a 0%, #1a0a0a 100%);
    border: 2px solid #ff0033;
    border-radius: 8px;
    padding: 30px;
    max-width: 500px;
    width: 90%;
    text-align: center;
    box-shadow: 0 0 50px rgba(255, 0, 51, 0.3);
}

.burn-modal-title {
    font-size: 1.5em;
    color: #ff0033;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.burn-modal-subtitle {
    color: #ff6600;
    margin-bottom: 20px;
    font-size: 0.9em;
}

.burn-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 8px;
    margin: 20px auto;
    max-width: 360px;
}

.burn-cell {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8em;
    background: rgba(10, 10, 10, 0.8);
    border: 1px solid #333;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.2s ease;
    user-select: none;
}

.burn-cell:hover {
    border-color: #ff6600;
    background: rgba(255, 102, 0, 0.1);
}

.burn-cell.selected {
    border-color: #ff0033;
    background: rgba(255, 0, 51, 0.3);
    box-shadow: 0 0 10px rgba(255, 0, 51, 0.5);
}

.burn-status {
    margin-top: 15px;
    padding: 10px;
    font-size: 0.9em;
    color: #888;
}

.burn-status.grinding {
    color: #ff6600;
    animation: grind-text 0.5s linear infinite;
}

@keyframes grind-text {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.burn-status.success {
    color: #00ff41;
}

.burn-status.error {
    color: #ff0033;
}

.burn-close {
    margin-top: 20px;
    background: transparent;
    border: 1px solid #666;
    color: #888;
    padding: 8px 20px;
    cursor: pointer;
    font-family: 'Courier New', monospace;
}

.burn-close:hover {
    border-color: #ff0033;
    color: #ff0033;
}

/* Burned post placeholder */
.post-burned {
    background: rgba(255, 0, 51, 0.05);
    border: 1px dashed rgba(255, 0, 51, 0.3);
    padding: 20px;
    text-align: center;
    color: #666;
    font-style: italic;
}

.post-burned::before {
    content: '🔥';
    display: block;
    font-size: 2em;
    margin-bottom: 10px;
}

/* Protection badge for pinned */
.burn-protected {
    color: #666;
    font-size: 0.8em;
    font-style: italic;
}

.burn-protected::before {
    content: '🛡️';
    margin-right: 5px;
}
