.form-content-section #regulation-display {
    width: 100%;
    max-width: 100%;
}

.setting-regulation-empty {
    margin: 0.75rem 0 0;
    color: #6b7280;
    text-align: center;
}

#settingPokemonErrorOverlayTitle,
#settingPokemonConfirmOverlayTitle {
    white-space: pre-line;
}

.yodame-pokemon-specific-content,
.hidame-pokemon-specific-content {
    width: 100%;
    margin-top: 1.5rem;
    box-sizing: border-box;
}

.yodame-pokemon-specific-content .form-row,
.hidame-pokemon-specific-content .form-row {
    text-align: left;
}

.yodame-pokemon-specific-content .form-label-with-button,
.hidame-pokemon-specific-content .form-label-with-button {
    text-align: left;
}

.setting-form-error {
    margin: 0.5rem 0 0;
    color: #ef4444;
    font-size: 0.85rem;
    text-align: left;
}

.setting-options-hint {
    margin: 0 0 0.75rem;
    color: #6b7280;
    font-size: 0.8rem;
    line-height: 1.45;
    text-align: left;
}

.setting-effort-simple-note {
    margin: 0;
    color: #6b7280;
    font-size: 0.85rem;
    line-height: 1.45;
    text-align: left;
}

.setting-options-section {
    margin-bottom: 0;
}

body > #settingDebugButtonGroup.setting-debug-button-group {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100vw;
    margin: 0;
    display: flex;
    z-index: 10001;
    box-shadow: 0 -2px 8px rgba(0, 0, 0, 0.1);
}

body > #settingDebugButtonGroup .setting-debug-button {
    flex: 1 1 100%;
    background: #6366f1;
    color: #ffffff;
    border: none;
    padding: 0.75rem 1rem;
    font-size: 1rem;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

body > #settingDebugButtonGroup .setting-debug-button:hover {
    background: #4f46e5;
}

body > #settingDebugButtonGroup .setting-debug-button:active {
    background: #4338ca;
}

.setting-debug-overlay-dialog {
    width: min(90%, 480px);
    max-width: 480px;
}

.setting-debug-variables-view {
    margin: 0.5rem 0 0.25rem;
}

.setting-debug-variables-text {
    margin: 0 0 1rem;
    padding: 0.75rem 1rem;
    max-height: min(50vh, 360px);
    overflow: auto;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
    font-size: 0.8rem;
    line-height: 1.5;
    color: #1f2937;
    white-space: pre-wrap;
    word-break: break-word;
    text-align: left;
}
