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

        body {
            font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
            background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
            color: #eee;
            min-height: 100vh;
            display: flex;
            flex-direction: column;
        }

        .container {
            max-width: 900px;
            margin: 0 auto;
            padding: 20px;
            flex: 1;
        }

        header {
            text-align: center;
            padding: 40px 20px;
            background: rgba(255, 255, 255, 0.05);
            border-radius: 12px;
            margin-bottom: 30px;
        }

        h1 {
            font-size: 2.5em;
            margin-bottom: 10px;
            background: linear-gradient(135deg, #a855f7, #7c3aed);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
        }

        .subtitle {
            color: #ccc;
            font-size: 1.1em;
        }

        .query-section {
            background: rgba(255, 255, 255, 0.05);
            border-radius: 12px;
            padding: 30px;
            margin-bottom: 20px;
        }

        .input-group {
            display: flex;
            gap: 10px;
            margin-bottom: 15px;
        }

        .query-section input[type="text"] {
            flex: 1;
            padding: 15px;
            font-size: 16px;
            border: 2px solid rgba(255, 255, 255, 0.1);
            border-radius: 8px;
            background: rgba(255, 255, 255, 0.05);
            color: #eee;
            transition: all 0.3s;
        }

        .query-section input[type="text"]:focus {
            outline: none;
            border-color: #a855f7;
            background: rgba(255, 255, 255, 0.08);
        }

        button {
            padding: 15px 30px;
            font-size: 16px;
            font-weight: 600;
            border: none;
            border-radius: 8px;
            cursor: pointer;
            transition: all 0.3s;
            background: linear-gradient(135deg, #a855f7, #7c3aed);
            color: white;
        }

        button:hover:not(:disabled) {
            transform: translateY(-2px);
            box-shadow: 0 5px 15px rgba(255, 140, 0, 0.4);
        }

        button:disabled {
            opacity: 0.5;
            cursor: not-allowed;
        }

        .examples {
            display: flex;
            gap: 10px;
            flex-wrap: wrap;
        }

        .example-btn {
            padding: 8px 15px;
            font-size: 14px;
            background: rgba(255, 255, 255, 0.1);
            border: 1px solid rgba(255, 255, 255, 0.2);
            border-radius: 20px;
            cursor: pointer;
            transition: all 0.3s;
        }

        .example-btn:hover {
            background: rgba(255, 255, 255, 0.2);
            transform: none;
        }

        .response-section {
            background: rgba(255, 255, 255, 0.05);
            border-radius: 12px;
            padding: 30px;
            display: none;
        }

        .response-section.visible {
            display: block;
            animation: fadeIn 0.5s;
        }

        @keyframes fadeIn {
            from { opacity: 0; transform: translateY(20px); }
            to { opacity: 1; transform: translateY(0); }
        }

        .answer {
            background: rgba(255, 255, 255, 0.08);
            border-left: 4px solid #a855f7;
            padding: 20px;
            border-radius: 8px;
            margin-bottom: 20px;
            line-height: 1.8;
            overflow: visible;
        }

        .answer-yes {
            border-left-color: #2ecc71;
        }

        .answer-no {
            border-left-color: #e74c3c;
        }

        /* Markdown content styling inside .answer */
        .answer h2 {
            font-size: 1.4em;
            margin: 0.8em 0 0.4em;
            color: #a855f7;
        }
        .answer h2:first-child {
            margin-top: 0;
        }
        .answer h3 {
            font-size: 1.2em;
            margin: 0.6em 0 0.3em;
            color: #eee;
        }
        .answer p {
            margin: 0.5em 0;
        }
        .answer ul, .answer ol {
            margin: 0.5em 0 0.5em 1.5em;
        }
        .answer li {
            margin: 0.3em 0;
        }
        .answer strong {
            color: #ffaa33;
        }
        /* table styles moved to bottom of stylesheet */
        .answer hr {
            border: none;
            border-top: 1px solid rgba(255, 255, 255, 0.15);
            margin: 1em 0;
        }
        .answer blockquote {
            border-left: 3px solid #a855f7;
            padding-left: 12px;
            margin: 0.5em 0;
            color: #ddd;
        }
        .answer code {
            background: rgba(0, 0, 0, 0.3);
            padding: 2px 6px;
            border-radius: 3px;
            font-size: 0.9em;
        }

        /* Stat card styling */
        .stat-card {
            background: rgba(0, 0, 0, 0.3);
            border: 1px solid rgba(255, 140, 0, 0.3);
            border-radius: 10px;
            overflow: hidden;
            margin: 1em 0;
        }
        .stat-card-header {
            background: linear-gradient(135deg, #a855f7, #a855f7);
            padding: 10px 16px;
            font-size: 1.3em;
            font-weight: 700;
            color: #1a1a2e;
            text-transform: uppercase;
            letter-spacing: 0.5px;
        }
        .stat-grid {
            display: flex;
            justify-content: center;
            gap: 2px;
            padding: 12px;
            background: rgba(0, 0, 0, 0.2);
        }
        .stat-box {
            background: rgba(0, 0, 0, 0.5);
            border: 1px solid rgba(255, 255, 255, 0.15);
            border-radius: 6px;
            text-align: center;
            padding: 8px 0;
            min-width: 60px;
            flex: 1;
            max-width: 90px;
        }
        .stat-box-label {
            font-size: 0.8em;
            color: #a855f7;
            font-weight: 700;
            text-transform: uppercase;
            letter-spacing: 1px;
            margin-bottom: 4px;
        }
        .stat-box-value {
            font-size: 1.5em;
            font-weight: 700;
            color: #fff;
        }
        .stat-card-body {
            padding: 12px 16px;
        }
        .keyword-tag {
            display: inline-block;
            background: rgba(255, 140, 0, 0.15);
            border: 1px solid rgba(255, 140, 0, 0.3);
            color: #ffaa33;
            padding: 3px 10px;
            border-radius: 12px;
            font-size: 0.9em;
            font-weight: 600;
            margin: 2px 3px;
            text-transform: uppercase;
            letter-spacing: 0.5px;
        }

        .metadata {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
            gap: 15px;
            margin-bottom: 20px;
        }

        .metadata-item {
            background: rgba(255, 255, 255, 0.05);
            padding: 15px;
            border-radius: 8px;
        }

        .metadata-label {
            color: #ccc;
            font-size: 0.95em;
            margin-bottom: 5px;
        }

        .metadata-value {
            font-size: 1.2em;
            font-weight: 600;
        }

        .confidence-high { color: #2ecc71; }
        .confidence-medium { color: #a855f7; }
        .confidence-low { color: #e74c3c; }
        .confidence-unclear { color: #95a5a6; }

        .citations {
            margin-top: 20px;
        }

        .citations-title {
            font-weight: 600;
            margin-bottom: 10px;
            color: #a855f7;
        }

        .citation {
            background: rgba(255, 255, 255, 0.05);
            padding: 12px;
            margin-bottom: 8px;
            border-radius: 6px;
            font-size: 1em;
        }

        .citation-source {
            font-weight: 600;
            color: #a855f7;
        }

        .loading {
            text-align: center;
            padding: 40px;
        }

        .spinner {
            border: 4px solid rgba(255, 255, 255, 0.1);
            border-top: 4px solid #a855f7;
            border-radius: 50%;
            width: 50px;
            height: 50px;
            animation: spin 1s linear infinite;
            margin: 0 auto 20px;
        }

        @keyframes spin {
            0% { transform: rotate(0deg); }
            100% { transform: rotate(360deg); }
        }

        .error {
            background: rgba(231, 76, 60, 0.2);
            border-left: 4px solid #e74c3c;
            padding: 20px;
            border-radius: 8px;
            margin-bottom: 20px;
        }

        footer {
            text-align: center;
            padding: 20px;
            color: #888;
            font-size: 0.95em;
        }

        /* Glossary tooltip styling */
        .glossary-term {
            border-bottom: 1px dotted #a855f7;
            cursor: help;
            position: relative;
        }
        .glossary-tooltip {
            display: none;
            position: absolute;
            bottom: calc(100% + 8px);
            left: 50%;
            transform: translateX(-50%);
            background: #1a1a2e;
            border: 1px solid #a855f7;
            border-radius: 8px;
            padding: 10px 14px;
            font-size: 0.95em;
            font-weight: 400;
            color: #eee;
            line-height: 1.5;
            width: max-content;
            max-width: 350px;
            z-index: 100;
            box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
            pointer-events: none;
        }
        .glossary-tooltip::after {
            content: '';
            position: absolute;
            top: 100%;
            left: 50%;
            transform: translateX(-50%);
            border: 6px solid transparent;
            border-top-color: #a855f7;
        }
        .glossary-term:hover .glossary-tooltip {
            display: block;
        }
        .glossary-tooltip .tooltip-title {
            color: #a855f7;
            font-weight: 700;
            margin-bottom: 4px;
            font-size: 0.95em;
        }

        /* Unit name tooltip styling */
        .unit-term {
            border-bottom: 1px dotted #a855f7;
            cursor: help;
            position: relative;
            color: #ffaa33;
        }
        .unit-tooltip {
            display: none;
            position: absolute;
            bottom: calc(100% + 8px);
            left: 50%;
            transform: translateX(-50%);
            background: #1a1a2e;
            border: 1px solid #a855f7;
            border-radius: 8px;
            padding: 10px 14px;
            font-size: 0.95em;
            font-weight: 400;
            color: #eee;
            line-height: 1.5;
            width: max-content;
            max-width: 400px;
            z-index: 100;
            box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
            pointer-events: none;
        }
        .unit-tooltip::after {
            content: '';
            position: absolute;
            top: 100%;
            left: 50%;
            transform: translateX(-50%);
            border: 6px solid transparent;
            border-top-color: #a855f7;
        }
        .unit-term:hover .unit-tooltip {
            display: block;
        }
        .unit-tooltip .tooltip-title {
            color: #a855f7;
            font-weight: 700;
            margin-bottom: 2px;
            font-size: 1em;
        }

        /* Cleaner army list tables */
        .answer table {
            width: 100%;
            border-collapse: separate;
            border-spacing: 0;
            margin: 1em 0;
            border-radius: 8px;
            overflow: visible;
        }
        .answer table tr:first-child th:first-child { border-top-left-radius: 8px; }
        .answer table tr:first-child th:last-child { border-top-right-radius: 8px; }
        .answer table tr:last-child td:first-child { border-bottom-left-radius: 8px; }
        .answer table tr:last-child td:last-child { border-bottom-right-radius: 8px; }
        .answer table th {
            background: rgba(255, 140, 0, 0.25);
            color: #a855f7;
            padding: 10px 14px;
            text-align: left;
            font-weight: 700;
            font-size: 1em;
            text-transform: uppercase;
            letter-spacing: 0.5px;
            border-bottom: 2px solid rgba(255, 140, 0, 0.3);
        }
        .answer table td {
            padding: 10px 14px;
            text-align: left;
            border-bottom: 1px solid rgba(255, 255, 255, 0.06);
            background: transparent;
            font-weight: 400;
            font-size: 1em;
        }
        .answer table tr:nth-child(even) td {
            background: rgba(255, 255, 255, 0.03);
        }
        .answer table tr:last-child td {
            font-weight: 700;
            border-top: 2px solid rgba(255, 140, 0, 0.2);
            border-bottom: none;
        }

        /* Tab bar */
        .tab-bar { display: flex; gap: 0; margin-bottom: 20px; border-bottom: 2px solid rgba(255,255,255,0.1); }
        .tab-btn { padding: 12px 24px; font-size: 1.1em; font-weight: 600; background: none; color: #aaa; border: none; border-bottom: 3px solid transparent; margin-bottom: -2px; cursor: pointer; transition: color 0.3s, border-color 0.3s; }
        .tab-btn:hover { color: #eee; transform: none; box-shadow: none; }
        .tab-btn.active { color: #a855f7; border-bottom-color: #a855f7; }
        .tab-panel { display: none; }
        .tab-panel.active { display: block; }

        /* ===== META TAB ===== */
        .container.meta-active { max-width: 1200px; padding: 10px 16px; }
        .meta-active header { display: none; }
        .meta-active .tab-bar { margin-bottom: 10px; }

        .meta-header { text-align: center; margin-bottom: 24px; }
        .meta-header h2 { font-size: 1.8em; margin-bottom: 6px; background: linear-gradient(135deg, #a855f7, #7c3aed); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
        .meta-header .meta-subtitle { color: #bbb; font-size: 1em; }
        .meta-header .meta-season { display: inline-block; margin-top: 8px; padding: 3px 12px; border-radius: 12px; background: rgba(168,85,247,0.15); color: #a855f7; font-size: 0.88em; font-weight: 700; }
        .meta-stale-warning { color: #a855f7; font-size: 0.88em; margin-top: 6px; }

        .meta-tier-list { margin-bottom: 24px; }
        .meta-tier-row { display: flex; align-items: stretch; margin-bottom: 8px; gap: 8px; }
        .meta-tier-label { width: 36px; min-width: 36px; display: flex; align-items: center; justify-content: center; font-weight: 900; font-size: 1.4em; border-radius: 8px; }
        .meta-tier-label.tier-S { background: rgba(168,85,247,0.2); color: #a855f7; }
        .meta-tier-label.tier-A { background: rgba(46,204,113,0.2); color: #2ecc71; }
        .meta-tier-label.tier-B { background: rgba(52,152,219,0.2); color: #3498db; }
        .meta-tier-label.tier-C { background: rgba(149,165,166,0.15); color: #95a5a6; }
        .meta-tier-label.tier-D { background: rgba(231,76,60,0.15); color: #e74c3c; }
        .meta-tier-factions { display: flex; flex-wrap: wrap; gap: 6px; flex: 1; }
        .meta-fcard { padding: 8px 12px; border-radius: 8px; background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.08); cursor: pointer; transition: all 0.2s; display: flex; flex-direction: column; gap: 2px; min-width: 140px; }
        .meta-fcard:hover { background: rgba(255,255,255,0.1); border-color: rgba(168,85,247,0.5); transform: translateY(-1px); }
        .meta-fcard.selected { border-color: #a855f7; background: rgba(168,85,247,0.1); }
        .meta-fcard-name { font-weight: 700; font-size: 0.95em; color: #eee; white-space: nowrap; }
        .meta-fcard-stats { display: flex; gap: 8px; font-size: 0.85em; color: #ccc; }
        .meta-fcard-wr { font-weight: 700; }
        .meta-fcard-trend { font-size: 0.8em; }
        .meta-fcard-trend.up { color: #2ecc71; }
        .meta-fcard-trend.down { color: #e74c3c; }
        .meta-fcard-trend.stable { color: #95a5a6; }

        .meta-detail { background: #1e1e1e; border: 2px solid #a855f7; border-radius: 12px; padding: 20px; margin-top: 16px; display: none; }
        .meta-detail.visible { display: block; }
        .meta-detail-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; flex-wrap: wrap; gap: 8px; background: #a855f7; color: #fff; padding: 12px 16px; border-radius: 10px 10px 0 0; margin: -20px -20px 16px -20px; }
        .meta-detail-name { font-size: 1.5em; font-weight: 800; color: #fff; }
        .meta-detail-badges { display: flex; gap: 8px; flex-wrap: wrap; }
        .meta-detail-badge { padding: 4px 12px; border-radius: 10px; font-size: 0.88em; font-weight: 700; }
        .meta-detail-badge.wr { background: rgba(46,204,113,0.15); color: #2ecc71; }
        .meta-detail-badge.games { background: rgba(52,152,219,0.15); color: #3498db; }
        .meta-detail-badge.players { background: rgba(155,89,182,0.15); color: #9b59b6; }
        .meta-detail-badge.wins { background: rgba(168,85,247,0.15); color: #a855f7; }

        .meta-section { margin-bottom: 16px; }
        .meta-section-title { font-size: 0.95em; font-weight: 700; color: #a855f7; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 8px; border-bottom: 1px solid #444; padding-bottom: 4px; }

        .meta-det-bar { display: flex; align-items: center; gap: 8px; margin-bottom: 6px; }
        .meta-det-name { width: 180px; min-width: 180px; font-size: 0.95em; color: #eee; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
        .meta-det-fill-wrap { flex: 1; height: 18px; background: rgba(255,255,255,0.05); border-radius: 4px; overflow: hidden; position: relative; }
        .meta-det-fill { height: 100%; border-radius: 4px; transition: width 0.5s; min-width: 2px; }
        .meta-det-fill.hot { background: linear-gradient(90deg, #a855f7, #a855f7); }
        .meta-det-fill.warm { background: linear-gradient(90deg, #2ecc71, #27ae60); }
        .meta-det-fill.neutral { background: linear-gradient(90deg, #3498db, #2980b9); }
        .meta-det-fill.cold { background: linear-gradient(90deg, #e74c3c, #c0392b); }
        .meta-det-wr { font-size: 0.9em; font-weight: 700; color: #eee; width: 42px; text-align: right; }
        .meta-det-games { font-size: 0.8em; color: #999; width: 55px; }

        .meta-units-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 8px; }
        .meta-unit-card { padding: 8px 10px; border-radius: 8px; background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.06); display: flex; justify-content: space-between; align-items: center; }
        .meta-unit-name { font-size: 0.95em; font-weight: 600; color: #eee; }
        .meta-unit-stats { display: flex; gap: 6px; align-items: center; }
        .meta-unit-pick { font-size: 0.8em; color: #bbb; }
        .meta-unit-score { font-size: 0.85em; font-weight: 800; padding: 1px 6px; border-radius: 8px; }
        .meta-unit-score.hot { background: rgba(168,85,247,0.2); color: #a855f7; }
        .meta-unit-score.warm { background: rgba(52,152,219,0.2); color: #3498db; }
        .meta-unit-score.cool { background: rgba(149,165,166,0.15); color: #95a5a6; }

        .meta-synergy { padding: 8px 12px; border-radius: 8px; background: rgba(46,204,113,0.06); border-left: 3px solid #2ecc71; margin-bottom: 6px; }
        .meta-synergy-units { font-size: 0.95em; font-weight: 700; color: #2ecc71; margin-bottom: 2px; }
        .meta-synergy-note { font-size: 0.9em; color: #bbb; }

        /* Meta score badge on unit cards */
        .lb-ucard-meta { font-size: 0.7em; padding: 1px 5px; border-radius: 8px; font-weight: 800; margin-left: 6px; line-height: 1.4; }
        .lb-ucard-meta.meta-hot { background: rgba(168,85,247,0.2); color: #a855f7; border: 1px solid rgba(168,85,247,0.3); }
        .lb-ucard-meta.meta-warm { background: rgba(52,152,219,0.2); color: #3498db; border: 1px solid rgba(52,152,219,0.3); }
        .lb-ucard-meta.meta-cool { background: rgba(149,165,166,0.15); color: #95a5a6; border: 1px solid rgba(149,165,166,0.2); }

        /* Synergy toast */
        .synergy-toast { position: fixed; top: 16px; right: 16px; padding: 12px 18px; background: rgba(46,204,113,0.15); border: 1px solid rgba(46,204,113,0.4); border-radius: 10px; color: #2ecc71; font-size: 0.95em; z-index: 9999; animation: toastIn 0.3s ease-out; max-width: 360px; backdrop-filter: blur(8px); }
        .synergy-toast-title { font-weight: 800; margin-bottom: 2px; }
        .synergy-toast-note { color: #ccc; font-size: 0.9em; }
        @keyframes toastIn { from { opacity: 0; transform: translateY(-10px); } to { opacity: 1; transform: translateY(0); } }

        /* ===== LIST BUILDER 3-COLUMN LAYOUT ===== */
        .container.lb-active { max-width: 100%; padding: 10px 16px; }
        .lb-active header { display: none; }
        .lb-active .tab-bar { margin-bottom: 10px; }

        /* Header bar */
        .lb-header { display: flex; justify-content: space-between; align-items: center; padding: 8px 14px; background: rgba(0,0,0,0.3); border: 1px solid rgba(255,255,255,0.06); border-radius: 10px; margin-bottom: 10px; flex-wrap: wrap; gap: 8px; }
        .lb-header-left { display: flex; align-items: center; gap: 12px; flex: 1; min-width: 200px; }
        .lb-army-name { background: transparent; border: none; color: #a855f7; font-size: 1.1em; font-weight: 700; width: 180px; padding: 2px 0; border-bottom: 2px solid transparent; transition: border-color 0.2s; }
        .lb-army-name:focus { outline: none; border-bottom-color: #a855f7; }
        .lb-army-name::placeholder { color: rgba(168,85,247,0.4); }
        .lb-header-center { display: flex; align-items: center; gap: 14px; }
        .lb-pts-display { font-size: 1.4em; font-weight: 800; color: #fff; letter-spacing: -0.5px; }
        .lb-pts-display.over { color: #e74c3c; }
        .lb-validity { padding: 5px 14px; border-radius: 20px; font-size: 0.78em; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; }
        .lb-validity.valid { background: rgba(46,204,113,0.15); color: #2ecc71; border: 1px solid rgba(46,204,113,0.3); }
        .lb-validity.invalid { background: rgba(231,76,60,0.15); color: #e74c3c; border: 1px solid rgba(231,76,60,0.3); }
        .lb-validity.empty { background: rgba(255,255,255,0.05); color: #666; border: 1px solid rgba(255,255,255,0.1); }
        .lb-header-right { display: flex; align-items: center; gap: 8px; }
        .lb-header select { background: #0d0d1a; color: #fff; border: 1px solid rgba(255,255,255,0.15); padding: 8px 12px; border-radius: 6px; font-size: 0.85em; }
        .lb-header select option { background: #0d0d1a; color: #fff; }
        .lb-header button { padding: 8px 16px; font-size: 0.85em; border-radius: 6px; }
        .btn-outline { background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.15); color: #ccc; }
        .btn-outline:hover { background: rgba(255,255,255,0.12); transform: none; box-shadow: none; }

        /* 3-column grid */
        .lb-grid { display: grid; grid-template-columns: 340px 1fr 320px; gap: 12px; margin-bottom: 10px; }
        @media (max-width: 1400px) { .lb-grid { grid-template-columns: 310px 1fr 280px; gap: 10px; } }
        @media (max-width: 1200px) { .lb-grid { grid-template-columns: 270px 1fr 240px; gap: 8px; } }
        @media (max-width: 1024px) { .lb-grid { grid-template-columns: 1fr; } }

        /* Left sidebar: Library */
        .lb-library { background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.06); border-radius: 10px; padding: 10px; display: flex; flex-direction: column; max-height: calc(100vh - 110px); position: sticky; top: 8px; }
        .lb-lib-title { font-size: 0.7em; font-weight: 700; color: #a855f7; text-transform: uppercase; letter-spacing: 1.5px; margin-bottom: 6px; }
        .lb-lib-search { width: 100%; padding: 6px 10px; background: rgba(0,0,0,0.3); border: 1px solid rgba(255,255,255,0.1); border-radius: 6px; color: #fff; font-size: 0.82em; margin-bottom: 6px; }
        .lb-lib-search:focus { outline: none; border-color: #a855f7; }
        .lb-lib-search::placeholder { color: #555; }
        .lb-lib-faction { width: 100%; padding: 6px 10px; background: #0d0d1a; border: 1px solid rgba(255,255,255,0.12); border-radius: 6px; color: #fff; font-size: 0.82em; margin-bottom: 6px; }
        .lb-lib-faction option { background: #0d0d1a; color: #fff; }
        .lb-lib-faction:focus { outline: none; border-color: #a855f7; }
        .lb-filter-label { font-size: 0.65em; color: #888; text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 3px; font-weight: 600; }
        .lb-filter-tags { display: flex; flex-wrap: wrap; gap: 3px; margin-bottom: 6px; }
        .lb-ftag { padding: 2px 7px; font-size: 0.62em; border-radius: 10px; border: 1px solid rgba(255,255,255,0.1); background: rgba(255,255,255,0.03); color: #777; cursor: pointer; transition: all 0.15s; text-transform: uppercase; letter-spacing: 0.5px; font-weight: 600; user-select: none; }
        .lb-ftag:hover { background: rgba(255,255,255,0.08); color: #aaa; transform: none; box-shadow: none; }
        .lb-ftag.active { background: rgba(168,85,247,0.2); color: #a855f7; border-color: rgba(168,85,247,0.4); }
        .lb-slider-row { display: flex; align-items: center; gap: 6px; margin-bottom: 4px; }
        .lb-slider-row label { font-size: 0.65em; color: #888; min-width: 24px; }
        .lb-slider-row input[type="range"] { flex: 1; accent-color: #a855f7; height: 3px; }
        .lb-slider-val { font-size: 0.7em; color: #a855f7; font-weight: 700; min-width: 30px; text-align: right; }
        .lb-lib-count { font-size: 0.65em; color: #555; margin-bottom: 4px; }
        .lb-unit-list { flex: 1; overflow-y: auto; display: flex; flex-direction: column; gap: 4px; scrollbar-width: thin; scrollbar-color: rgba(168,85,247,0.2) transparent; min-height: 0; }

        /* Unit cards — compact 2-row design inspired by team picker UIs */
        .lb-ucard { background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.06); border-radius: 6px; cursor: pointer; border-left: 3px solid var(--role-color); flex-shrink: 0; transition: background 0.15s, border-color 0.15s; }
        .lb-ucard:hover { background: rgba(255,255,255,0.07); border-color: rgba(255,255,255,0.15); border-left-color: var(--role-color); }
        /* Row 1: role icon + name + points + add */
        .lb-ucard-r1 { display: flex; align-items: center; padding: 5px 7px 2px 7px; gap: 5px; }
        .lb-ucard-icon { font-size: 0.85em; color: var(--role-color); flex-shrink: 0; width: 16px; text-align: center; }
        .lb-ucard-name { flex: 1; font-size: 0.78em; font-weight: 700; color: #e8eaed; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; line-height: 1.3; }
        .lb-ucard-pts { font-size: 0.7em; font-weight: 800; color: #a855f7; white-space: nowrap; flex-shrink: 0; }
        .lb-ucard-add { width: 20px; height: 20px; border-radius: 4px; background: rgba(46,204,113,0.12); border: 1px solid rgba(46,204,113,0.25); color: #2ecc71; font-size: 0.8em; font-weight: 800; cursor: pointer; display: flex; align-items: center; justify-content: center; flex-shrink: 0; padding: 0; line-height: 1; transition: background 0.15s; }
        .lb-ucard-add:hover { background: rgba(46,204,113,0.3); transform: none; box-shadow: none; }
        /* Row 2: stats inline + ability pills */
        .lb-ucard-r2 { display: flex; align-items: center; padding: 0 7px 5px 28px; gap: 3px; flex-wrap: wrap; }
        .lb-ucard-s { font-size: 0.56em; color: #6a727a; font-weight: 600; }
        .lb-ucard-s b { color: #b0b6bc; font-weight: 800; }
        .lb-ucard-inv { font-size: 0.56em; color: #5dade2; font-weight: 800; }
        .lb-ucard-sep { color: rgba(255,255,255,0.08); font-size: 0.55em; margin: 0 1px; }
        .lb-ucard-ab { font-size: 0.48em; padding: 1px 4px; border-radius: 6px; background: rgba(155,89,182,0.15); color: #c890e8; border: 1px solid rgba(155,89,182,0.2); text-transform: uppercase; letter-spacing: 0.2px; font-weight: 700; white-space: nowrap; }
        /* Hover expansion: size options + keywords */
        .lb-ucard-exp { max-height: 0; overflow: hidden; transition: max-height 0.25s ease; }
        .lb-ucard:hover .lb-ucard-exp { max-height: 150px; }
        .lb-ucard-sizes { display: flex; flex-wrap: wrap; gap: 3px; padding: 4px 7px 5px 28px; border-top: 1px solid rgba(255,255,255,0.04); }
        .lb-ucard-sz { font-size: 0.52em; padding: 2px 6px; border-radius: 4px; background: rgba(255,255,255,0.05); color: #8a929a; font-weight: 600; }
        .lb-ucard-kw { padding: 3px 7px 5px 28px; font-size: 0.48em; color: #4a5260; line-height: 1.5; border-top: 1px solid rgba(255,255,255,0.04); }
        .lb-ucard-kw em { color: var(--role-color); font-style: normal; font-weight: 700; }

        /* Center: Roster */
        .lb-roster { display: flex; flex-direction: column; min-height: 400px; }
        .lb-roster-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; }
        .lb-roster-title { font-size: 0.8em; font-weight: 700; color: #a855f7; text-transform: uppercase; letter-spacing: 1.5px; }
        .lb-roster-count { font-size: 0.85em; color: #888; }
        .lb-roster-list { flex: 1; display: flex; flex-direction: column; gap: 6px; max-height: calc(100vh - 170px); overflow-y: auto; scrollbar-width: thin; scrollbar-color: rgba(168,85,247,0.2) transparent; }
        .lb-roster-empty { text-align: center; padding: 80px 20px; color: #444; font-size: 0.95em; }
        .lb-roster-empty span { display: block; font-size: 2em; margin-bottom: 12px; }

        /* Roster entry */
        .lb-rentry { background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.07); border-radius: 10px; padding: 12px; display: grid; grid-template-columns: 28px 1fr auto 32px; gap: 10px; align-items: start; transition: all 0.15s; }
        .lb-rentry:hover { border-color: rgba(255,255,255,0.15); background: rgba(255,255,255,0.06); }
        .lb-rentry.dragging { opacity: 0.3; }
        .lb-rentry.drag-over { border-color: #a855f7; box-shadow: 0 0 0 1px #a855f7; }
        .lb-rdrag { cursor: grab; color: #444; font-size: 1.1em; text-align: center; padding-top: 2px; user-select: none; }
        .lb-rdrag:hover { color: #a855f7; }
        .lb-rdrag:active { cursor: grabbing; }
        .lb-rinfo {}
        .lb-rname { font-weight: 700; font-size: 0.95em; color: #eee; margin-bottom: 5px; }
        .lb-rstats { display: flex; gap: 3px; margin-bottom: 5px; }
        .lb-rstat { background: rgba(0,0,0,0.35); border: 1px solid rgba(255,255,255,0.08); border-radius: 4px; padding: 2px 6px; font-size: 0.68em; text-align: center; }
        .lb-rstat .rl { color: #a855f7; font-weight: 700; }
        .lb-rstat .rv { color: #fff; font-weight: 600; margin-left: 2px; }
        .lb-rtags { display: flex; flex-wrap: wrap; gap: 3px; }
        .lb-rtag { font-size: 0.6em; padding: 2px 7px; border-radius: 10px; background: rgba(255,255,255,0.04); color: #666; text-transform: uppercase; letter-spacing: 0.3px; }
        .lb-rmeta { text-align: right; }
        .lb-rmodels { font-size: 0.78em; color: #888; margin-bottom: 2px; }
        .lb-rpts { font-size: 1.1em; font-weight: 800; color: #a855f7; }
        .lb-rremove { background: none; border: none; color: #555; font-size: 1.1em; cursor: pointer; padding: 2px 4px; transition: color 0.15s; line-height: 1; }
        .lb-rremove:hover { color: #e74c3c; transform: none; box-shadow: none; }

        /* Right sidebar: Analytics */
        .lb-analytics { background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.06); border-radius: 10px; padding: 10px; max-height: calc(100vh - 110px); overflow-y: auto; position: sticky; top: 8px; scrollbar-width: thin; scrollbar-color: rgba(168,85,247,0.2) transparent; }
        .lb-an-title { font-size: 0.8em; font-weight: 700; color: #a855f7; text-transform: uppercase; letter-spacing: 1.5px; margin-bottom: 12px; }
        .lb-an-section { margin-bottom: 18px; padding-bottom: 14px; border-bottom: 1px solid rgba(255,255,255,0.06); }
        .lb-an-section:last-child { border-bottom: none; margin-bottom: 0; }
        .lb-an-heading { font-size: 0.72em; font-weight: 700; color: #aaa; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 8px; }
        .lb-an-row { display: flex; justify-content: space-between; align-items: center; padding: 4px 0; font-size: 0.85em; }
        .lb-an-label { color: #888; }
        .lb-an-val { font-weight: 700; color: #fff; }
        .lb-an-bar { height: 6px; background: rgba(0,0,0,0.4); border-radius: 3px; overflow: hidden; margin: 6px 0 10px; }
        .lb-an-fill { height: 100%; border-radius: 3px; transition: width 0.4s ease; background: linear-gradient(90deg, #a855f7, #a855f7); }
        .lb-an-fill.green { background: linear-gradient(90deg, #2ecc71, #27ae60); }
        .lb-cap-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 5px; }
        .lb-cap-item { display: flex; justify-content: space-between; padding: 5px 8px; background: rgba(0,0,0,0.25); border-radius: 5px; font-size: 0.75em; }
        .lb-cap-name { color: #888; text-transform: uppercase; font-weight: 600; letter-spacing: 0.3px; }
        .lb-cap-count { color: #a855f7; font-weight: 800; }
        .lb-comp-row { margin-bottom: 8px; }
        .lb-comp-header { display: flex; justify-content: space-between; font-size: 0.72em; margin-bottom: 3px; }
        .lb-comp-name { color: #888; text-transform: uppercase; font-weight: 600; }
        .lb-comp-pct { color: #a855f7; font-weight: 700; }
        .lb-comp-bar { height: 4px; background: rgba(0,0,0,0.4); border-radius: 2px; overflow: hidden; }
        .lb-comp-fill { height: 100%; background: #a855f7; border-radius: 2px; transition: width 0.4s ease; }

        /* AI Analysis */
        .lb-ai-btn { width: 100%; padding: 10px; background: linear-gradient(135deg, #9b59b6, #8e44ad); border: none; color: #fff; border-radius: 8px; font-weight: 700; font-size: 0.85em; cursor: pointer; transition: all 0.2s; letter-spacing: 0.5px; }
        .lb-ai-btn:hover:not(:disabled) { box-shadow: 0 4px 15px rgba(155,89,182,0.4); transform: translateY(-1px); }
        .lb-ai-btn:disabled { opacity: 0.4; cursor: not-allowed; }
        .lb-ai-results { margin-top: 12px; display: none; }
        .lb-ai-results.visible { display: block; animation: fadeIn 0.4s; }
        .lb-ai-matchups { display: grid; grid-template-columns: 1fr 1fr; gap: 5px; margin-bottom: 10px; }
        .lb-ai-mu { background: rgba(0,0,0,0.3); padding: 7px; border-radius: 6px; text-align: center; }
        .lb-ai-mu-name { font-size: 0.65em; color: #888; text-transform: uppercase; letter-spacing: 0.5px; }
        .lb-ai-mu-rating { font-size: 0.85em; font-weight: 800; margin-top: 2px; }
        .lb-ai-mu-rating.strong { color: #2ecc71; }
        .lb-ai-mu-rating.even { color: #a855f7; }
        .lb-ai-mu-rating.weak { color: #e74c3c; }
        .lb-ai-text { font-size: 0.8em; color: #bbb; line-height: 1.6; }
        .lb-ai-text h4 { color: #a855f7; font-size: 0.9em; margin: 10px 0 4px; }
        .lb-ai-text ul { margin: 4px 0 4px 16px; }
        .lb-ai-text li { margin: 3px 0; }

        /* Size picker modal */
        .lb-modal { position: fixed; top: 0; left: 0; right: 0; bottom: 0; background: rgba(0,0,0,0.75); z-index: 200; display: flex; align-items: center; justify-content: center; animation: fadeIn 0.15s; }
        .lb-modal-box { background: #1a1a2e; border: 2px solid rgba(168,85,247,0.4); border-radius: 14px; padding: 24px; min-width: 300px; max-width: 400px; }
        .lb-modal-title { color: #a855f7; font-weight: 700; font-size: 1.15em; margin-bottom: 14px; text-align: center; }
        .lb-modal-opt { padding: 12px 16px; margin: 6px 0; background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.1); border-radius: 8px; cursor: pointer; display: flex; justify-content: space-between; color: #ddd; transition: all 0.15s; }
        .lb-modal-opt:hover { background: rgba(168,85,247,0.12); border-color: rgba(168,85,247,0.3); }
        .lb-modal-opt-pts { color: #a855f7; font-weight: 700; }

        /* Print styles */
        @media print {
            body { background: #fff; color: #fff; }
            header, .tab-bar, .lb-header, .lb-library, .lb-analytics, footer, .lb-rdrag, .lb-rremove, .secondaries-section { display: none !important; }
            .container { max-width: 100% !important; padding: 10px; }
            .lb-grid { display: block !important; }
            .lb-roster { min-height: auto; }
            .lb-rentry { background: #fff; border: 1px solid #ccc; color: #fff; }
            .lb-rname { color: #fff; }
            .lb-rpts { color: #333; }
            .lb-rstat { background: #f5f5f5; border-color: #ccc; }
            .lb-rstat .rl { color: #333; }
            .lb-rstat .rv { color: #fff; }
        }

        /* Secondaries panel */
        .secondaries-section { margin-top: 20px; }
        .secondaries-header { cursor: pointer; display: flex; align-items: center; gap: 8px; padding: 12px 16px; background: rgba(255,255,255,0.05); border-radius: 8px; font-weight: 600; color: #ddd; }
        .secondaries-header:hover { background: rgba(255,255,255,0.08); }
        .secondaries-header .arrow { transition: transform 0.3s; display: inline-block; }
        .secondaries-header .arrow.open { transform: rotate(90deg); }
        .secondaries-grid { display: none; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 12px; margin-top: 12px; }
        .secondaries-grid.visible { display: grid; }
        .sec-card { background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.08); border-radius: 8px; padding: 14px; }
        .sec-card h4 { color: #a855f7; font-size: 0.9em; margin-bottom: 4px; text-transform: uppercase; letter-spacing: 0.5px; }
        .sec-card .cat-tag { display: inline-block; font-size: 0.65em; padding: 2px 8px; border-radius: 10px; margin-bottom: 8px; text-transform: uppercase; font-weight: 700; letter-spacing: 0.5px; }
        .cat-primary { background: rgba(46,204,113,0.15); color: #2ecc71; }
        .cat-secondary { background: rgba(168,85,247,0.15); color: #a855f7; }
        .cat-twist { background: rgba(155,89,182,0.15); color: #bb6bd9; }
        .cat-deployment { background: rgba(52,152,219,0.15); color: #3498db; }
        .cat-stratagem { background: rgba(231,76,60,0.15); color: #e74c3c; }
        .sec-card p { font-size: 0.8em; color: #999; line-height: 1.5; max-height: 80px; overflow: hidden; }
        .sec-card.expanded p { max-height: none; }
        .sec-card .expand-btn { font-size: 0.75em; color: #a855f7; cursor: pointer; margin-top: 4px; display: inline-block; }
        .sec-filter-bar { display: flex; gap: 8px; margin-bottom: 12px; flex-wrap: wrap; }
        .sec-filter-btn { padding: 4px 12px; font-size: 0.8em; border-radius: 16px; cursor: pointer; border: 1px solid rgba(255,255,255,0.2); background: rgba(255,255,255,0.05); color: #aaa; transition: all 0.2s; }
        .sec-filter-btn:hover { background: rgba(255,255,255,0.1); transform: none; box-shadow: none; }
        .sec-filter-btn.active { background: rgba(168,85,247,0.2); color: #a855f7; border-color: rgba(168,85,247,0.4); }

        /* Detachment selector */
        .lb-det-link { display: none; font-size: 0.78em; color: #a855f7; cursor: pointer; margin-bottom: 6px; padding: 4px 0; text-decoration: underline; text-decoration-style: dotted; }
        .lb-det-link:hover { color: #ffaa33; }
        .lb-det-link.visible { display: block; }

        /* Detachment info popup */
        .lb-det-popup-overlay { display: none; position: fixed; top: 0; left: 0; right: 0; bottom: 0; background: rgba(0,0,0,0.7); z-index: 10000; justify-content: center; align-items: center; }
        .lb-det-popup-overlay.visible { display: flex; }
        .lb-det-popup { background: #1a1a2e; border: 1px solid rgba(168,85,247,0.3); border-radius: 12px; max-width: 600px; width: 90%; max-height: 80vh; overflow-y: auto; padding: 24px; position: relative; scrollbar-width: thin; scrollbar-color: rgba(168,85,247,0.2) transparent; }
        .lb-det-popup-close { position: absolute; top: 10px; right: 14px; font-size: 1.4em; color: #888; cursor: pointer; background: none; border: none; padding: 4px 8px; }
        .lb-det-popup-close:hover { color: #fff; transform: none; box-shadow: none; }
        .lb-det-popup h3 { color: #a855f7; font-size: 1.1em; margin-bottom: 16px; padding-right: 30px; }
        .lb-det-popup-section { margin-bottom: 16px; }
        .lb-det-popup-section h4 { color: #ffaa33; font-size: 0.85em; margin-bottom: 6px; text-transform: uppercase; letter-spacing: 0.5px; }
        .lb-det-popup-ability { font-size: 0.8em; color: #bbb; line-height: 1.6; background: rgba(0,0,0,0.25); border-radius: 6px; padding: 10px; border-left: 3px solid #a855f7; }
        .lb-det-popup-list { list-style: none; padding: 0; }
        .lb-det-popup-item { font-size: 0.8em; padding: 6px 8px; border-bottom: 1px solid rgba(255,255,255,0.05); color: #ccc; }
        .lb-det-popup-item:last-child { border-bottom: none; }
        .lb-det-popup-item .enh-cost { color: #bb6bd9; font-weight: 700; margin-left: 6px; }
        .lb-det-popup-item .strat-cp { display: inline-block; min-width: 28px; text-align: center; padding: 1px 6px; border-radius: 4px; font-size: 0.85em; font-weight: 700; margin-right: 6px; }
        .lb-det-popup-item .cp0 { background: rgba(46,204,113,0.15); color: #2ecc71; }
        .lb-det-popup-item .cp1 { background: rgba(168,85,247,0.15); color: #a855f7; }
        .lb-det-popup-item .cp2 { background: rgba(231,76,60,0.15); color: #e74c3c; }

        /* Enhancement selector in roster entries */
        .lb-renhancement { display: flex; align-items: center; gap: 6px; margin-top: 5px; }
        .lb-renhancement select { background: #0d0d1a; color: #ddd; border: 1px solid rgba(155,89,182,0.3); padding: 3px 6px; border-radius: 4px; font-size: 0.75em; max-width: 200px; cursor: pointer; }
        .lb-renhancement select:focus { outline: none; border-color: #9b59b6; }
        .lb-renhancement-cost { font-size: 0.72em; color: #bb6bd9; font-weight: 700; }
        .lb-enh-count { font-size: 0.6em; color: #888; text-align: center; margin-top: 4px; }

        /* Stratagems panel */
        .strat-tabs { display: flex; gap: 0; border-bottom: 2px solid rgba(255,255,255,0.08); margin-bottom: 12px; }
        .strat-tab { padding: 10px 18px; font-size: 0.85em; font-weight: 600; background: none; color: #666; border: none; border-bottom: 2px solid transparent; margin-bottom: -2px; cursor: pointer; transition: color 0.2s; }
        .strat-tab:hover { color: #aaa; transform: none; box-shadow: none; }
        .strat-tab.active { color: #a855f7; border-bottom-color: #a855f7; }
        .strat-panel { display: none; }
        .strat-panel.active { display: block; }
        .strat-search { width: 100%; padding: 6px 10px; background: rgba(0,0,0,0.3); border: 1px solid rgba(255,255,255,0.1); border-radius: 6px; color: #fff; font-size: 0.82em; margin-bottom: 8px; }
        .strat-search:focus { outline: none; border-color: #a855f7; }
        .strat-search::placeholder { color: #555; }
        .strat-phase-bar { display: flex; gap: 4px; flex-wrap: wrap; margin-bottom: 12px; }
        .strat-phase-btn { padding: 4px 10px; font-size: 0.72em; border-radius: 12px; cursor: pointer; border: 1px solid rgba(255,255,255,0.12); background: rgba(255,255,255,0.04); color: #888; transition: all 0.15s; font-weight: 600; text-transform: uppercase; letter-spacing: 0.3px; }
        .strat-phase-btn:hover { background: rgba(255,255,255,0.08); color: #aaa; transform: none; box-shadow: none; }
        .strat-phase-btn.active { background: rgba(168,85,247,0.2); color: #a855f7; border-color: rgba(168,85,247,0.4); }
        .strat-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); gap: 10px; }
        .strat-card { background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.08); border-radius: 8px; padding: 12px; transition: border-color 0.15s; }
        .strat-card:hover { border-color: rgba(255,255,255,0.15); }
        .strat-card-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 6px; }
        .strat-card-name { font-size: 0.85em; font-weight: 700; color: #eee; text-transform: uppercase; letter-spacing: 0.3px; }
        .strat-cp { display: inline-flex; align-items: center; justify-content: center; min-width: 28px; height: 22px; border-radius: 11px; font-size: 0.72em; font-weight: 800; padding: 0 6px; }
        .strat-cp-0 { background: rgba(46,204,113,0.2); color: #2ecc71; border: 1px solid rgba(46,204,113,0.3); }
        .strat-cp-1 { background: rgba(168,85,247,0.2); color: #a855f7; border: 1px solid rgba(168,85,247,0.3); }
        .strat-cp-2 { background: rgba(231,76,60,0.2); color: #e74c3c; border: 1px solid rgba(231,76,60,0.3); }
        .strat-card-meta { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 6px; }
        .strat-card-tag { font-size: 0.6em; padding: 2px 6px; border-radius: 8px; background: rgba(255,255,255,0.06); color: #888; text-transform: uppercase; letter-spacing: 0.3px; font-weight: 600; }
        .strat-card-body { display: none; }
        .strat-card.expanded .strat-card-body { display: block; }
        .strat-card-body dt { font-size: 0.7em; color: #a855f7; font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px; margin-top: 6px; }
        .strat-card-body dd { font-size: 0.78em; color: #bbb; line-height: 1.5; margin: 2px 0 0 0; }
        .strat-expand { font-size: 0.72em; color: #a855f7; cursor: pointer; margin-top: 4px; display: inline-block; }
        .strat-count { font-size: 0.7em; color: #555; margin-bottom: 8px; }

        /* Header detachment badge */
        .lb-det-badge { font-size: 0.72em; color: #bb6bd9; font-weight: 600; padding: 3px 10px; border-radius: 12px; background: rgba(155,89,182,0.12); border: 1px solid rgba(155,89,182,0.25); display: none; }
        .lb-det-badge.visible { display: inline-block; }

        /* Toast notifications */
        .toast-container {
            position: fixed;
            bottom: 20px;
            right: 20px;
            z-index: 10000;
            display: flex;
            flex-direction: column;
            gap: 8px;
        }
        .toast {
            padding: 10px 16px;
            border-radius: 8px;
            color: #fff;
            font-size: 13px;
            max-width: 320px;
            animation: dataToastIn 0.3s ease, dataToastOut 0.3s ease 3.7s forwards;
            box-shadow: 0 4px 12px rgba(0,0,0,0.3);
        }
        .toast.warn { background: rgba(128, 60, 200, 0.95); }
        .toast.error { background: rgba(180, 40, 40, 0.95); }
        .toast.info { background: rgba(40, 100, 180, 0.95); }
        @keyframes dataToastIn { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
        @keyframes dataToastOut { from { opacity: 1; } to { opacity: 0; } }
