/* Amaranth theme tokens — light default, dark via html[data-theme="dark"] */

:root,
html[data-theme="light"] {
	color-scheme: light;

	--surface: #f5f5f5;
	--surface-raised: #fafafa;
	--surface-card: #ffffff;
	--surface-muted: #eeeeee;
	--surface-panel: #f7f7f7;
	--surface-overlay: rgba(236, 236, 236, 0.94);
	--surface-dialog: #ffffff;

	--text: rgba(0, 0, 0, 0.87);
	--text-secondary: #666666;
	--text-muted: #999999;
	--text-disabled: rgba(0, 0, 0, 0.26);
	--text-hint: #cccccc;
	--text-on-primary: #ffffff;

	--border: #eeeeee;
	--border-strong: #e1e1e1;
	--border-dotted: #cccccc;
	--divider: rgba(0, 0, 0, 0.12);

	--accent: #00bcd4;
	--accent-contrast: #37474f;
	--primary: #607d8b;
	--error-bg: #ffecec;
	--error-text: #bb4e4e;

	--header-bg: #f5f5f5;
	--header-text: #757575;
	--header-bar: #cfd8dc;
	--header-bar-text: rgba(0, 0, 0, 0.87);
	--drawer-bg: #263238;
	--drawer-nav-bg: #37474f;

	--input-bg: #fafafa;
	--input-text: #444444;
	--shadow: rgba(0, 0, 0, 0.14);

	--fade-from: rgba(245, 245, 245, 0);
	--fade-to: rgba(245, 245, 245, 1);
	--panel-fade-from: rgba(247, 247, 247, 1);
	--panel-fade-to: rgba(255, 255, 255, 0);

	--seating-table: #ffffff;
	--seating-player: #cccccc;
	--seating-player-temp: #eeeeee;
	--seating-player-text: #444444;
	--seating-badge-bg: #ffffff;
	--seating-badge-text: #999999;

	--swal-bg: #ffffff;
	--swal-title: #575757;
	--swal-text: #555555;
	--swal-footer: #f1f1f1;
}

html[data-theme="dark"] {
	color-scheme: dark;
	--surface: #2f2f2f;
	--surface-raised: #1e1e1e;
	--surface-card: #292929;
	--surface-muted: #3c3b3b;
	--surface-panel: #252525;
	--surface-overlay: rgba(40, 40, 40, 0.94);
	--surface-dialog: #2a2a2a;
	--text: rgb(232 232 232 / 87%);
	--text-secondary: #b0b0b0;
	--text-muted: #9e9e9e;
	--text-disabled: rgba(255, 255, 255, 0.38);
	--text-hint: #757575;
	--text-on-primary: #ffffff;
	--border: #333333;
	--border-strong: #3a3a3a;
	--border-dotted: #555555;
	--divider: rgba(255, 255, 255, 0.12);
	--accent: #5db4c3;
	--accent-contrast: #00363a;
	--primary: #90a4ae;
	--error-bg: #3e1f1f;
	--error-text: #ef9a9a;
	--header-bg: #1e1e1e;
	--header-text: #bdbdbd;
	--header-bar: #2a3438;
	--header-bar-text: rgba(255, 255, 255, 0.87);
	--drawer-bg: #1a2327;
	--drawer-nav-bg: #243035;
	--input-bg: #2a2a2a;
	--input-text: #e0e0e0;
	--shadow: rgba(0, 0, 0, 0.45);
	--fade-from: rgba(18, 18, 18, 0);
	--fade-to: rgba(18, 18, 18, 1);
	--panel-fade-from: rgba(37, 37, 37, 1);
	--panel-fade-to: rgba(30, 30, 30, 0);
	--seating-table: #2a2a2a;
	--seating-player: #555555;
	--seating-player-temp: #3a3a3a;
	--seating-player-text: #e0e0e0;
	--seating-badge-bg: #1e1e1e;
	--seating-badge-text: #bdbdbd;
	--swal-bg: #2a2a2a;
	--swal-title: #eeeeee;
	--swal-text: #bdbdbd;
	--swal-footer: #1e1e1e;
}
