.arena-presets {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 20px;
    padding-top: 16px;
    border-top: 1px solid #e0e0e0;
}

.arena-presets:first-child {
    margin-top: 0;
    padding-top: 0;
    border-top: none;
}

.arena-open-row {
    display: flex;
    justify-content: center;
    margin-top: 20px;
}

.arena-presets-hint {
    margin: 0 auto;
    font-size: 0.85em;
    color: #757575;
}

.arena-presets-row {
    display: flex;
    gap: 8px;
    justify-content: center;
    flex-wrap: wrap;
}

.arena-preset-select {
    min-width: 0;
    flex: 1 1 200px;
    max-width: 320px;
    padding: 4px;
    border-radius: 5px;
    border: 2px solid rgb(148,207,150);
    background-color: white;
}

.arena-presets-row input[type="text"] {
    flex: 1 1 200px;
    max-width: 320px;
    padding: 4px;
}

.arena-preset-button {
    padding: 6px 12px;
    border: 1px solid #2e7d32;
    border-radius: 6px;
    background-color: white;
    color: #2e7d32;
    cursor: pointer;
}

.arena-preset-button:hover:not(:disabled) {
    background-color: #e8f5e9;
}

.arena-preset-button-danger {
    border-color: #c62828;
    color: #c62828;
}

.arena-preset-button-danger:hover:not(:disabled) {
    background-color: #fdecea;
}

.arena-preset-button:disabled {
    opacity: 0.4;
    cursor: default;
}

.dead-zone-toolbar {
    position: fixed;
    top: 12px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10000;
    display: flex;
    align-items: center;
    gap: 12px;
    max-width: calc(100vw - 32px);
    box-sizing: border-box;
    padding: 6px 12px;
    border: 2px solid rgb(148,207,150);
    border-radius: 8px;
    background-color: white;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.dead-zone-toolbar[hidden] {
    display: none;
}

.dead-zone-toolbar-title {
    font-weight: bold;
}

.dead-zone-toolbar-hint {
    font-size: 0.85em;
    color: #757575;
}

.dead-zone-types {
    display: flex;
    gap: 4px;
}

.dead-zone-types input {
    display: none;
}

.dead-zone-types img {
    display: block;
    width: 36px;
    height: 36px;
    border: 2px solid transparent;
    border-radius: 6px;
    cursor: pointer;
}

.dead-zone-types input:checked + img {
    border-color: #2e7d32;
}

@media (width < 700px) {
    .dead-zone-toolbar-hint {
        display: none;
    }
}

@media print {
    .dead-zone-toolbar {
        display: none !important;
    }
}
