/* Freestyle Chess embed widget - neutral theme for any site */
.fce-embed {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: #f8f9fa;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 16px;
    box-sizing: border-box;
    display: inline-block;
}

.fce-embed * {
    box-sizing: border-box;
}

.fce-board-wrap {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 12px;
}

.fce-board-wrap table {
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.fce-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
    justify-content: center;
    margin-bottom: 10px;
}

.fce-btn {
    padding: 8px 14px;
    font-size: 14px;
    font-weight: 600;
    border: 1px solid #ccc;
    border-radius: 6px;
    background: #fff;
    color: #333;
    cursor: pointer;
    transition: background 0.2s, border-color 0.2s;
}

.fce-btn:hover {
    background: #eee;
    border-color: #999;
}

.fce-go-row {
    display: flex;
    gap: 6px;
    align-items: center;
}

.fce-go-row input {
    width: 64px;
    padding: 6px 8px;
    font-size: 14px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

.fce-link {
    display: block;
    text-align: center;
    font-size: 12px;
    margin-top: 10px;
}

.fce-link a {
    color: #555;
    text-decoration: none;
}

.fce-link a:hover {
    text-decoration: underline;
}

.fce-position-label {
    font-size: 12px;
    color: #666;
    text-align: center;
    margin-top: 4px;
}
