@import url('https://fonts.googleapis.com/css2?family=Space+Mono:wght@400;700&display=swap');

:root {
    --theme-background: #f0f2f5;
    --theme-network-bg: #ffffff;
    --theme-neutral: #9ca3af;
    --theme-infected: #ef4444;
    --theme-infected-glow: #dc2626;
    --theme-immune: #22c55e;
    --theme-immune-glow: #16a34a;
    --theme-edge: rgba(0, 0, 0, 0.15);
    --theme-text: #1a1a2e;
    --theme-accent: #ef4444;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Space Mono', monospace;
    background: var(--theme-background);
    color: var(--theme-text);
    min-height: 100vh;
    overflow-x: hidden;
    transition: background 0.3s ease, color 0.3s ease;
}

#app {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.phase {
    min-height: calc(100vh - 42px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.hidden {
    display: none !important;
}

/* Setup Phase */
.setup-container {
    max-width: 500px;
    width: 100%;
    text-align: center;
}

.setup-container h1 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    font-weight: 700;
    color: #1a1a2e;
}

.setup-container h2 {
    font-size: 1.2rem;
    margin-bottom: 3rem;
    color: #6b7280;
}

.setup-form {
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

.form-group {
    margin-bottom: 2rem;
    text-align: left;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 700;
    font-size: 0.9rem;
    color: #374151;
}

.form-group input[type="range"] {
    width: 100%;
    margin-bottom: 0.5rem;
    accent-color: #6366f1;
}

.form-group span {
    float: right;
    color: #6b7280;
    font-weight: 700;
}

.mode-selector,
.role-selector {
    display: flex;
    gap: 10px;
    margin-top: 0.5rem;
}

.mode-btn,
.role-btn {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    padding: 12px 8px;
    background: #f9fafb;
    border: 2px solid rgba(0, 0, 0, 0.12);
    border-radius: 8px;
    color: #6b7280;
    font-family: inherit;
    font-size: 0.85rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
}

.mode-btn:hover,
.role-btn:hover {
    border-color: rgba(0, 0, 0, 0.25);
    color: #374151;
}

.mode-btn.active,
.role-btn.active {
    border-color: #6366f1;
    background: #eef2ff;
    color: #1a1a2e;
}

.mode-icon,
.role-icon {
    font-size: 1.5rem;
}

.ai-settings {
    background: #f9fafb;
    border-radius: 8px;
    padding: 1rem;
    margin-bottom: 1.5rem;
}

.ai-difficulty {
    margin-top: 1rem;
}

.ai-difficulty select {
    width: 100%;
    padding: 8px 12px;
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.15);
    border-radius: 6px;
    color: #1a1a2e;
    font-family: inherit;
    font-size: 0.9rem;
    cursor: pointer;
    margin-top: 0.5rem;
}

.ai-difficulty select:focus {
    outline: none;
    border-color: #6366f1;
}

.ai-thinking-indicator {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 15px;
    background: rgba(99, 102, 241, 0.1);
    border-radius: 8px;
    margin-bottom: 10px;
    animation: pulse 1.5s ease-in-out infinite;
}

.ai-thinking-indicator .dot {
    width: 8px;
    height: 8px;
    background: #6366f1;
    border-radius: 50%;
    animation: bounce 1.4s infinite ease-in-out both;
}

.ai-thinking-indicator .dot:nth-child(1) { animation-delay: -0.32s; }
.ai-thinking-indicator .dot:nth-child(2) { animation-delay: -0.16s; }
.ai-thinking-indicator .dot:nth-child(3) { animation-delay: 0; }

@keyframes bounce {
    0%, 80%, 100% { transform: scale(0); }
    40% { transform: scale(1); }
}

.start-btn {
    background: #6366f1;
    color: #fff;
    border: none;
    padding: 1rem 2rem;
    border-radius: 8px;
    font-family: inherit;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.2s ease;
    width: 100%;
    margin-top: 1rem;
}

.start-btn:hover {
    background: #4f46e5;
    transform: translateY(-1px);
}

/* Game Phase */
#game-phase {
    padding: 0;
    min-height: calc(100vh - 42px);
    justify-content: flex-start;
}

.game-header {
    width: 100%;
    background: #ffffff;
    padding: 1rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04);
}

.game-info {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.turn-info {
    display: flex;
    gap: 2rem;
    align-items: center;
}

#current-player {
    font-weight: 700;
    font-size: 1.1rem;
}

#turn-counter {
    color: #6b7280;
}

.stats {
    display: flex;
    gap: 1.5rem;
}

.stat {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
}

.stat .label {
    color: #6b7280;
}

.stat.infected .label::before {
    content: "●";
    color: var(--theme-infected);
    margin-right: 0.25rem;
}

.stat.immune .label::before {
    content: "●";
    color: var(--theme-immune);
    margin-right: 0.25rem;
}

.stat.neutral .label::before {
    content: "●";
    color: var(--theme-neutral);
    margin-right: 0.25rem;
}

.game-controls {
    display: flex;
    gap: 1rem;
}

.control-btn {
    background: #f3f4f6;
    color: #374151;
    border: 1px solid rgba(0, 0, 0, 0.12);
    padding: 0.5rem 1rem;
    border-radius: 6px;
    font-family: inherit;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

.control-btn:hover:not(:disabled) {
    background: #e5e7eb;
}

.control-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.control-btn.secondary {
    background: transparent;
}

.game-content {
    flex: 1;
    display: flex;
    width: 100%;
}

#network-container {
    flex: 1;
    position: relative;
    background: var(--theme-network-bg);
    transition: background 0.3s ease;
}

#network-svg {
    width: 100%;
    height: 100%;
    cursor: crosshair;
}

.resize-handle {
    width: 6px;
    background: rgba(0, 0, 0, 0.06);
    cursor: ew-resize;
    transition: background 0.2s ease;
    flex-shrink: 0;
}

.resize-handle:hover,
.resize-handle.dragging {
    background: rgba(0, 0, 0, 0.15);
}

.action-panel {
    width: 250px;
    min-width: 180px;
    max-width: 500px;
    background: #ffffff;
    border-left: 1px solid rgba(0, 0, 0, 0.1);
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 2rem;
    flex-shrink: 0;
}

#action-message {
    font-weight: 700;
    text-align: center;
    padding: 1rem;
    background: #f9fafb;
    border-radius: 8px;
    border: 1px solid rgba(0, 0, 0, 0.08);
}

.legend {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.legend-color {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    border: 2px solid rgba(0, 0, 0, 0.15);
}

.legend-color.neutral {
    background: var(--theme-neutral);
}

.legend-color.infected {
    background: var(--theme-infected);
}

.legend-color.immune {
    background: var(--theme-immune);
}

.theme-selector {
    display: flex;
    gap: 0.75rem;
    margin-top: 0.5rem;
}

.theme-btn {
    flex: 1;
    padding: 0.75rem 0.5rem;
    border: 2px solid rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    background: #f9fafb;
    color: #374151;
    font-family: inherit;
    font-size: 0.75rem;
    cursor: pointer;
    transition: all 0.2s ease;
    text-align: center;
}

.theme-btn:hover {
    background: #f3f4f6;
    border-color: rgba(0, 0, 0, 0.2);
}

.theme-btn.active {
    border-color: var(--theme-accent);
    background: #fff;
    box-shadow: 0 0 0 1px var(--theme-accent);
}

.theme-btn .theme-icon {
    font-size: 1.2rem;
    display: block;
    margin-bottom: 0.25rem;
}

.recovery-settings {
    margin-top: 1rem;
    padding: 0.75rem;
    background: #f9fafb;
    border-radius: 8px;
    border: 1px solid rgba(0, 0, 0, 0.08);
}

.recovery-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.recovery-toggle label {
    font-size: 0.9rem;
}

.recovery-toggle input[type="checkbox"] {
    width: 20px;
    height: 20px;
    accent-color: var(--theme-accent);
}

.recovery-slider {
    margin-top: 1rem;
    margin-bottom: 0;
    padding-top: 0.75rem;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.sound-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 1rem;
    padding: 0.75rem;
    background: #f9fafb;
    border-radius: 8px;
    border: 1px solid rgba(0, 0, 0, 0.08);
}

.sound-toggle label {
    font-size: 0.9rem;
}

.sound-toggle input[type="checkbox"] {
    width: 20px;
    height: 20px;
    accent-color: var(--theme-accent);
}

.commentary-section {
    background: #f9fafb;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 8px;
    padding: 1rem;
    max-height: 300px;
    overflow-y: auto;
}

.commentary-section h3 {
    margin-bottom: 1rem;
    font-size: 0.9rem;
    color: #6b7280;
    text-transform: uppercase;
    letter-spacing: 1px;
}

#commentary-content {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.commentary-item {
    padding: 0.75rem;
    background: #ffffff;
    border-radius: 6px;
    font-size: 0.85rem;
    line-height: 1.4;
    border-left: 3px solid;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.commentary-item.villain {
    border-left-color: #ef4444;
}

.commentary-item.hero {
    border-left-color: #22c55e;
}

.commentary-item.neutral {
    border-left-color: #9ca3af;
}

.commentary-item.analysis {
    border-left-color: #6366f1;
    background: #eef2ff;
}

.commentary-rating {
    display: inline-block;
    padding: 0.2rem 0.4rem;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
}

.rating-excellent { background: #22c55e; color: white; }
.rating-good { background: #84cc16; color: white; }
.rating-fair { background: #eab308; color: white; }
.rating-poor { background: #f97316; color: white; }
.rating-terrible { background: #ef4444; color: white; }

.victory-analysis {
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 2rem;
    text-align: left;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.analysis-content {
    line-height: 1.6;
    font-size: 0.95rem;
}

/* Game Over Phase */
.gameover-container {
    text-align: center;
    max-width: 500px;
}

#winner-title {
    font-size: 3rem;
    margin-bottom: 2rem;
    font-weight: 700;
}

#final-stats {
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 12px;
    padding: 2rem;
    margin-bottom: 2rem;
    text-align: left;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

/* Network Styles */
.node {
    cursor: grab;
    stroke-width: 2;
    transition: all 0.2s ease;
}

.node:active {
    cursor: grabbing;
}

.node.neutral {
    fill: var(--theme-neutral);
    stroke: rgba(0, 0, 0, 0.15);
    transition: fill 0.3s ease;
}

.node.infected {
    fill: var(--theme-infected);
    stroke: var(--theme-infected-glow);
    animation: pulse 2s infinite, infectionPop 0.4s ease-out;
}

.node.immune {
    fill: var(--theme-immune);
    stroke: var(--theme-immune-glow);
    animation: shieldPop 0.5s ease-out;
}

@keyframes infectionPop {
    0% { transform: scale(1); }
    50% { transform: scale(1.5); }
    100% { transform: scale(1); }
}

@keyframes shieldPop {
    0% { transform: scale(1); filter: brightness(1); }
    50% { transform: scale(1.3); filter: brightness(2); }
    100% { transform: scale(1); filter: brightness(1); }
}

.node.selectable:hover {
    stroke-width: 4;
    stroke: #374151;
}

.node.unselectable {
    opacity: 0.6;
    cursor: not-allowed;
}

.node.highlighted {
    stroke: #f59e0b !important;
    stroke-width: 4 !important;
    filter: brightness(1.1);
}

.node.connected {
    stroke: #f59e0b !important;
    stroke-width: 3 !important;
    filter: brightness(1.05);
}

.edge {
    stroke: var(--theme-edge);
    stroke-width: 1;
    transition: stroke 0.3s ease;
}

.edge.bridge-edge {
    stroke-dasharray: 5, 3;
    stroke-width: 1.5;
    opacity: 0.5;
}

.edge.highlighted {
    stroke: #f59e0b !important;
    stroke-width: 3 !important;
    opacity: 1 !important;
}

.edge.dimmed {
    opacity: 0.08 !important;
}

@keyframes pulse {
    0%, 100% { 
        transform: scale(1);
        opacity: 1;
    }
    50% { 
        transform: scale(1.05);
        opacity: 0.8;
    }
}

/* Tab Navigation */
.tab-nav {
    display: flex;
    background: #ffffff;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    padding: 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04);
}

.tab-btn {
    flex: 1;
    max-width: 200px;
    padding: 0.75rem 1.5rem;
    background: transparent;
    border: none;
    border-bottom: 2px solid transparent;
    color: #9ca3af;
    font-family: inherit;
    font-size: 0.9rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.tab-btn:hover {
    color: #6b7280;
    background: rgba(0, 0, 0, 0.02);
}

.tab-btn.active {
    color: #1a1a2e;
    border-bottom-color: var(--theme-accent);
}

a.tab-link {
    text-decoration: none;
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

/* Practice Lab */
.lab-phase {
    min-height: calc(100vh - 42px);
    padding: 0 !important;
    justify-content: flex-start !important;
    align-items: stretch !important;
}

.lab-layout {
    display: flex;
    width: 100%;
    height: calc(100vh - 42px);
}

.lab-sidebar {
    width: 300px;
    min-width: 280px;
    background: #ffffff;
    border-right: 1px solid rgba(0, 0, 0, 0.1);
    padding: 1.25rem;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.lab-title {
    font-size: 1.3rem;
    margin-bottom: 0.15rem;
    color: #1a1a2e;
}

.lab-subtitle {
    font-size: 0.8rem;
    color: #9ca3af;
    margin-bottom: 0.5rem;
}

.lab-section {
    background: #f9fafb;
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 8px;
    padding: 0.75rem;
    margin-bottom: 0.25rem;
}

.lab-section h3 {
    font-size: 0.8rem;
    color: #6b7280;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.6rem;
}

.lab-control {
    margin-bottom: 0.5rem;
}

.lab-control label {
    display: block;
    font-size: 0.8rem;
    margin-bottom: 0.25rem;
    color: #374151;
}

.lab-control input[type="range"] {
    width: calc(100% - 45px);
    accent-color: var(--theme-accent);
    vertical-align: middle;
}

.lab-control span {
    display: inline-block;
    width: 40px;
    text-align: right;
    color: #6b7280;
    font-size: 0.8rem;
    font-weight: 700;
}

.lab-btn {
    padding: 0.5rem 1rem;
    border: 1px solid rgba(0, 0, 0, 0.12);
    border-radius: 6px;
    background: #f3f4f6;
    color: #374151;
    font-family: inherit;
    font-size: 0.8rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
}

.lab-btn:hover:not(:disabled) {
    background: #e5e7eb;
    color: #1a1a2e;
}

.lab-btn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

.lab-btn.primary {
    background: #6366f1;
    border-color: #6366f1;
    color: #fff;
    width: 100%;
    margin-top: 0.5rem;
}

.lab-btn.primary:hover {
    background: #4f46e5;
}

.lab-mode-selector {
    display: flex;
    gap: 6px;
}

.lab-mode-btn {
    flex: 1;
    padding: 0.4rem 0.5rem;
    border: 2px solid rgba(0, 0, 0, 0.1);
    border-radius: 6px;
    background: transparent;
    color: #6b7280;
    font-family: inherit;
    font-size: 0.75rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
}

.lab-mode-btn:hover {
    border-color: rgba(0, 0, 0, 0.2);
    color: #374151;
}

.lab-mode-btn.active {
    border-color: var(--theme-accent);
    color: #1a1a2e;
    background: #f9fafb;
}

.lab-mode-btn[data-mode="infect"].active {
    border-color: var(--theme-infected);
    background: #fef2f2;
}

.lab-mode-btn[data-mode="immunize"].active {
    border-color: var(--theme-immune);
    background: #f0fdf4;
}

.lab-mode-btn[data-mode="neutral"].active {
    border-color: var(--theme-neutral);
    background: #f3f4f6;
}

.lab-section select {
    width: 100%;
    padding: 0.4rem 0.5rem;
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.15);
    border-radius: 6px;
    color: #1a1a2e;
    font-family: inherit;
    font-size: 0.8rem;
    cursor: pointer;
    margin-bottom: 0.5rem;
}

.lab-section select:focus {
    outline: none;
    border-color: #6366f1;
}

.lab-model-desc {
    font-size: 0.75rem;
    color: #6b7280;
    line-height: 1.4;
    margin-bottom: 0.5rem;
    padding: 0.4rem;
    background: #ffffff;
    border-radius: 4px;
}

.lab-sim-buttons {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6px;
}

.lab-sim-buttons .sim-btn {
    text-align: center;
}

.lab-network-area {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.lab-network-container {
    flex: 1;
    position: relative;
    background: var(--theme-network-bg);
}

#lab-network-svg {
    width: 100%;
    height: 100%;
    cursor: crosshair;
}

.lab-instructions {
    padding: 0.6rem 1rem;
    background: #f9fafb;
    color: #9ca3af;
    font-size: 0.75rem;
    text-align: center;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.lab-stat-row {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
    font-size: 0.8rem;
    flex-wrap: wrap;
}

.lab-stat-label {
    min-width: 70px;
    color: #6b7280;
    font-size: 0.75rem;
}

.lab-stat-label.infected-label { color: var(--theme-infected); }
.lab-stat-label.immune-label { color: var(--theme-immune); }
.lab-stat-label.neutral-label { color: var(--theme-neutral); }

.lab-stat-num {
    font-weight: 700;
    min-width: 60px;
    font-size: 0.8rem;
}

.lab-stat-bar {
    flex: 1;
    height: 6px;
    background: rgba(0, 0, 0, 0.06);
    border-radius: 3px;
    min-width: 60px;
    overflow: hidden;
}

.lab-bar-fill {
    height: 100%;
    border-radius: 3px;
    transition: width 0.3s ease;
}

.lab-bar-fill.infected-bar { background: var(--theme-infected); }
.lab-bar-fill.immune-bar { background: var(--theme-immune); }
.lab-bar-fill.neutral-bar { background: var(--theme-neutral); }

.lab-timeline {
    margin-top: 0.5rem;
    padding-top: 0.5rem;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.lab-timeline-svg {
    display: block;
    margin-top: 0.3rem;
    background: #ffffff;
    border-radius: 4px;
    border: 1px solid rgba(0, 0, 0, 0.04);
}

.lab-hint {
    color: #9ca3af;
    font-size: 0.8rem;
    font-style: italic;
}

.lab-checkbox {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    font-size: 0.8rem;
    color: #374151;
    padding: 0.3rem 0;
}

.lab-checkbox input[type="checkbox"] {
    accent-color: var(--theme-accent, #6366f1);
    width: 16px;
    height: 16px;
    cursor: pointer;
}

.lab-insights-legend {
    margin-top: 0.5rem;
    font-size: 0.72rem;
    line-height: 1.5;
}

.lab-legend-item {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    margin-bottom: 0.35rem;
    color: #4b5563;
}

.lab-legend-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    flex-shrink: 0;
    border: 2px solid;
}

.lab-legend-dot.hub { border-color: #d97706; background: rgba(217, 119, 6, 0.15); }
.lab-legend-dot.bridge { border-color: #0891b2; background: rgba(8, 145, 178, 0.15); }
.lab-legend-dot.at-risk { border-color: #dc2626; background: rgba(220, 38, 38, 0.15); }

.node-insight-ring {
    pointer-events: none;
    fill: none;
    stroke-width: 2.5;
    opacity: 0.85;
}

.node-insight-ring.hub { stroke: #d97706; }
.node-insight-ring.bridge { stroke: #0891b2; }
.node-insight-ring.at-risk { stroke: #dc2626; }

@keyframes insightPulse {
    0%, 100% { opacity: 0.9; r: 17; }
    50% { opacity: 0.4; r: 22; }
}

.node-insight-ring.animated {
    animation: insightPulse 2s ease-in-out infinite;
}

.node-insight-label {
    pointer-events: none;
    font-size: 8px;
    font-weight: 700;
    text-anchor: middle;
    fill: #374151;
    text-shadow: 0 0 4px rgba(255,255,255,0.9);
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .game-header {
        flex-direction: column;
        gap: 1rem;
        align-items: stretch;
    }

    .game-info {
        align-items: center;
        text-align: center;
    }

    .turn-info {
        flex-direction: column;
        gap: 0.5rem;
    }

    .stats {
        justify-content: center;
    }

    .game-content {
        flex-direction: column;
    }

    .action-panel {
        width: 100%;
        order: -1;
        border-left: none;
        border-bottom: 1px solid rgba(0, 0, 0, 0.1);
        padding: 1rem;
    }

    .legend {
        flex-direction: row;
        justify-content: space-around;
    }

    .setup-container h1 {
        font-size: 2rem;
    }

    .node {
        stroke-width: 3;
    }
}
