ed7c6232c1
Consolidate new-game wizard steps into reusable components and remove legacy duplicate files. Replace inline player inputs with a chip-first flow and minimal name-entry modal, while improving compact-screen spacing and step-specific selection behavior. Made-with: Cursor
67 lines
1.1 KiB
CSS
67 lines
1.1 KiB
CSS
.modalOverlay {
|
|
position: fixed;
|
|
inset: 0;
|
|
background: rgba(0, 0, 0, 0.7);
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
z-index: 1000;
|
|
padding: 16px;
|
|
}
|
|
|
|
.modalContent {
|
|
width: min(420px, 100%);
|
|
background: var(--color-surface);
|
|
border: 1px solid var(--color-border);
|
|
border-radius: var(--radius-lg);
|
|
box-shadow: var(--shadow-lg);
|
|
padding: 16px;
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 12px;
|
|
}
|
|
|
|
.modalTitle {
|
|
margin: 0;
|
|
font-size: 1.1rem;
|
|
color: var(--color-text);
|
|
}
|
|
|
|
.modalInput {
|
|
width: 100%;
|
|
}
|
|
|
|
.modalActions {
|
|
display: flex;
|
|
justify-content: flex-end;
|
|
gap: 8px;
|
|
}
|
|
|
|
.actionButton {
|
|
border: 1px solid var(--color-border);
|
|
background: var(--color-secondary);
|
|
color: var(--color-text);
|
|
border-radius: var(--radius-md);
|
|
padding: 10px 14px;
|
|
cursor: pointer;
|
|
min-height: var(--touch-target-min);
|
|
}
|
|
|
|
.actionButton:hover,
|
|
.actionButton:focus {
|
|
border-color: var(--color-primary);
|
|
outline: none;
|
|
}
|
|
|
|
.confirmButton {
|
|
background: var(--color-primary);
|
|
border-color: var(--color-primary);
|
|
color: #fff;
|
|
}
|
|
|
|
.errorText {
|
|
color: var(--color-danger);
|
|
font-size: 0.9rem;
|
|
margin: 0;
|
|
}
|