.app{min-height:100vh;display:flex;flex-direction:column;background-color:var(--bg-primary);color:var(--text-primary)}.main-container{display:flex;flex:1;overflow:hidden}@media(max-width:768px){.main-container{flex-direction:column}}.modal-overlay{position:fixed;inset:0;background-color:#000000b3;display:flex;justify-content:center;align-items:center;z-index:1000;animation:fadeIn .2s ease-in-out}@keyframes fadeIn{0%{opacity:0}to{opacity:1}}.modal-content{background:var(--bg-primary);border-radius:12px;padding:2rem;width:90%;max-width:400px;position:relative;box-shadow:0 8px 32px #0003;animation:slideUp .3s ease-out}@keyframes slideUp{0%{transform:translateY(30px);opacity:0}to{transform:translateY(0);opacity:1}}.modal-close{position:absolute;top:1rem;right:1rem;background:none;border:none;font-size:1.5rem;color:var(--text-primary);cursor:pointer;padding:.25rem;display:flex;align-items:center;justify-content:center;transition:color .2s}.modal-close:hover{color:var(--accent-color)}.modal-title{font-size:1.75rem;color:var(--text-primary);margin-bottom:1.5rem;text-align:center}.auth-form{display:flex;flex-direction:column;gap:1.25rem}.form-group label{font-size:.9rem;font-weight:500;color:var(--text-primary)}.form-group input{padding:.75rem;border:1px solid var(--border-color);border-radius:6px;font-size:1rem;background:var(--bg-secondary);color:var(--text-primary);transition:border-color .2s,box-shadow .2s}.form-group input:focus{outline:none;border-color:var(--accent-color);box-shadow:0 0 0 3px #007bff1a}.form-group input:disabled{opacity:.6;cursor:not-allowed}.password-input-wrapper{position:relative;display:flex;align-items:center}.password-input-wrapper input{width:100%;padding-right:2.75rem}.password-toggle{position:absolute;right:.75rem;background:none;border:none;color:var(--text-secondary);cursor:pointer;padding:.25rem;display:flex;align-items:center;justify-content:center;transition:color .2s;font-size:1.1rem}.password-toggle:hover:not(:disabled){color:var(--text-primary)}.password-toggle:disabled{opacity:.5;cursor:not-allowed}.error-message{padding:.75rem;background:#dc35451a;border:1px solid rgba(220,53,69,.3);border-radius:6px;color:#dc3545;font-size:.9rem;text-align:center}.auth-submit-button{padding:.875rem;background:var(--accent-color);color:#fff;border:none;border-radius:6px;font-size:1rem;font-weight:600;cursor:pointer;transition:background-color .2s,transform .1s;margin-top:.5rem}.auth-submit-button:hover:not(:disabled){background:#0056b3;transform:translateY(-1px)}.auth-submit-button:active:not(:disabled){transform:translateY(0)}.auth-submit-button:disabled{opacity:.6;cursor:not-allowed}.auth-switch{text-align:center;margin-top:1.5rem;color:var(--text-secondary);font-size:.9rem}.auth-switch-link{background:none;border:none;color:var(--accent-color);cursor:pointer;font-weight:600;text-decoration:none;padding:0;margin-left:.25rem;transition:color .2s}.auth-switch-link:hover:not(:disabled){color:#0056b3;text-decoration:underline}.auth-switch-link:disabled{opacity:.6;cursor:not-allowed}@media(max-width:480px){.modal-content{padding:1.5rem;width:95%}.modal-title{font-size:1.5rem}}.form-hint{font-size:.8rem;color:var(--text-secondary);margin-top:.25rem}.auth-form .form-group:has(.form-hint){gap:.25rem}.header{display:flex;justify-content:space-between;align-items:center;padding:1rem 1.5rem;background-color:var(--bg-secondary);border-bottom:1px solid var(--border-color);box-shadow:0 2px 4px var(--shadow);position:sticky;top:0;z-index:100}.header-left{display:flex;align-items:center;gap:1rem}.header-title{font-size:1.5rem;font-weight:700;margin:0;background:linear-gradient(135deg,var(--accent-color) 0%,#00d4ff 100%);-webkit-background-clip:text;-webkit-text-fill-color:transparent;background-clip:text;letter-spacing:-.02em;transition:all .3s ease;cursor:default;-webkit-user-select:none;user-select:none}.header-title:hover{filter:brightness(1.2);transform:scale(1.02)}.header-nav{display:flex;align-items:center;gap:1rem;margin-left:1rem}.nav-link{font-size:.95rem;color:var(--text-secondary);text-decoration:none;padding:.5rem 1rem;border-radius:6px;transition:all .2s ease;font-weight:500;white-space:nowrap}.nav-link:hover{color:var(--text-primary);background-color:var(--bg-tertiary)}.nav-link.active{color:var(--accent-color);background-color:var(--bg-tertiary);font-weight:600}.header-right{display:flex;align-items:center;gap:.75rem}.icon-button{display:flex;align-items:center;justify-content:center;width:40px;height:40px;border-radius:8px;background-color:var(--bg-tertiary);color:var(--text-primary);transition:all .2s ease;font-size:1.2rem}.icon-button:hover{background-color:var(--accent-color);color:#fff;transform:translateY(-1px)}.login-button{display:flex;align-items:center;gap:.5rem;padding:.6rem 1.2rem;border-radius:8px;background-color:var(--accent-color);color:#fff;font-weight:600;transition:all .2s ease}.login-button:hover{background-color:var(--accent-hover);transform:translateY(-1px)}.user-menu{position:relative}.user-dropdown{position:absolute;top:calc(100% + .5rem);right:0;min-width:200px;background:var(--bg-primary);border:1px solid var(--border-color);border-radius:8px;box-shadow:0 8px 24px var(--shadow);z-index:1000;animation:dropdownFade .2s ease-out}@keyframes dropdownFade{0%{opacity:0;transform:translateY(-10px)}to{opacity:1;transform:translateY(0)}}.dropdown-header{padding:1rem;border-bottom:1px solid var(--border-color);display:flex;flex-direction:column;gap:.25rem}.dropdown-header strong{color:var(--text-primary);font-size:.95rem}.dropdown-header small{color:var(--text-secondary);font-size:.8rem}.dropdown-item{width:100%;display:flex;align-items:center;gap:.75rem;padding:.75rem 1rem;background:none;border:none;color:var(--text-primary);font-size:.9rem;cursor:pointer;transition:background-color .2s;text-align:left}.dropdown-item:hover{background-color:var(--bg-tertiary)}.logout-item{color:#dc3545;border-top:1px solid var(--border-color)}.logout-item:hover{background-color:#dc35451a}@media(max-width:768px){.header-nav{gap:.5rem;margin-left:.5rem}.nav-link{font-size:.85rem;padding:.4rem .75rem}}@media(max-width:480px){.header{padding:.75rem 1rem}.header-title{font-size:1.2rem}.header-title:hover{transform:none}.header-nav{flex-direction:column;gap:.25rem;align-items:flex-start}.nav-link{font-size:.75rem;padding:.3rem .5rem}.login-button span{display:none}.login-button{padding:.6rem;width:40px;height:40px;justify-content:center}}.sidebar{width:250px;background-color:var(--bg-secondary);border-right:1px solid var(--border-color);height:calc(100vh - 64px);overflow-y:auto;transition:transform .3s ease,width .3s ease;position:sticky;top:64px}.sidebar.closed{transform:translate(-100%);width:0}.sidebar-nav{padding:1rem 0}.category-list{list-style:none;padding:0;margin:0}.category-item{display:flex;align-items:center;gap:.75rem;width:100%;padding:.875rem 1.25rem;background:none;border:none;color:var(--text-primary);text-align:left;cursor:pointer;transition:all .2s ease;font-size:1rem;border-left:3px solid transparent}.category-item:hover{background-color:var(--bg-tertiary);border-left-color:var(--accent-color)}.category-item.active{background-color:var(--bg-tertiary);border-left-color:var(--accent-color);color:var(--accent-color);font-weight:600}.category-icon{font-size:1.2rem;width:24px;display:flex;align-items:center;justify-content:center}.category-label{flex:1}@media(max-width:768px){.sidebar{position:fixed;top:64px;left:0;width:250px;z-index:90;box-shadow:2px 0 10px var(--shadow)}.sidebar.closed{transform:translate(-100%)}.sidebar.open{transform:translate(0)}}@media(max-width:480px){.sidebar{width:200px}.category-item{padding:.75rem 1rem;font-size:.9rem}}.arbitrage-card{background:linear-gradient(135deg,var(--bg-secondary) 0%,var(--bg-tertiary) 100%);border:2px solid var(--success-color);border-radius:12px;padding:1.5rem;transition:all .2s ease;box-shadow:0 4px 8px var(--shadow)}.arbitrage-card:hover{transform:translateY(-3px);box-shadow:0 6px 16px var(--shadow);border-color:var(--accent-color)}.arbitrage-header{display:flex;justify-content:space-between;align-items:flex-start;gap:1rem;margin-bottom:1.25rem}.arbitrage-title{font-size:1.2rem;font-weight:700;margin:0;flex:1;line-height:1.4}.arbitrage-percentage{display:flex;align-items:center;gap:.375rem;padding:.5rem 1rem;background-color:var(--success-color);color:#fff;border-radius:20px;font-size:1.1rem;font-weight:700;white-space:nowrap}.arbitrage-strategy{display:flex;align-items:center;justify-content:space-between;gap:1rem;margin-bottom:1.25rem}.strategy-step{flex:1;display:flex;flex-direction:column;gap:.5rem;padding:1rem;background-color:var(--bg-primary);border-radius:8px}.strategy-step.buy{border-left:4px solid var(--success-color)}.strategy-step.sell{border-left:4px solid var(--accent-color)}.step-label{font-size:.75rem;font-weight:700;color:var(--text-secondary);text-transform:uppercase;letter-spacing:.5px}.step-details{display:flex;flex-direction:column;gap:.375rem}.platform-badge{padding:.25rem .625rem;background-color:var(--bg-tertiary);border-radius:6px;font-size:.85rem;font-weight:600;text-transform:capitalize}.outcome-badge{padding:.25rem .625rem;background-color:var(--accent-color);color:#fff;border-radius:6px;font-size:.75rem;font-weight:700;text-align:center}.price{font-size:1.25rem;font-weight:700;color:var(--text-primary);margin-top:.25rem}.strategy-arrow{font-size:1.5rem;color:var(--accent-color);flex-shrink:0}.arbitrage-footer{display:flex;justify-content:space-between;align-items:center;padding-top:1rem;border-top:1px solid var(--border-color)}.profit-info{display:flex;flex-direction:column;gap:.25rem}.profit-info .label{font-size:.8rem;color:var(--text-secondary)}.profit-info .value.profit{font-size:1.25rem;font-weight:700;color:var(--success-color)}.category-badge{padding:.375rem .875rem;background-color:var(--bg-tertiary);border-radius:20px;font-size:.75rem;font-weight:600;text-transform:uppercase}@media(max-width:768px){.arbitrage-strategy{flex-direction:column}.strategy-arrow{transform:rotate(90deg)}.arbitrage-footer{flex-direction:column;align-items:flex-start;gap:.75rem}}@media(max-width:480px){.arbitrage-card{padding:1rem}.arbitrage-title{font-size:1rem}.arbitrage-percentage{padding:.375rem .75rem;font-size:.95rem}.strategy-step{padding:.75rem}}.market-card{background-color:var(--bg-secondary);border:1px solid var(--border-color);border-radius:12px;padding:1.25rem;transition:all .2s ease;box-shadow:0 2px 4px var(--shadow)}.market-card:hover{transform:translateY(-2px);box-shadow:0 4px 12px var(--shadow);border-color:var(--accent-color)}.market-card.has-arb{border-color:#10b981;background:linear-gradient(135deg,var(--bg-secondary) 0%,rgba(16,185,129,.05) 100%)}.market-card.has-arb:hover{border-color:#059669;box-shadow:0 4px 16px #10b9814d}.market-header{display:flex;flex-direction:column;gap:.5rem;margin-bottom:1rem}.market-title{font-size:1.1rem;font-weight:600;margin:0;line-height:1.4}.market-meta{display:flex;gap:.5rem;flex-wrap:wrap}.market-league{padding:.25rem .75rem;background-color:var(--bg-tertiary);color:var(--text-primary);border-radius:20px;font-size:.75rem;font-weight:600;white-space:nowrap}.market-category{padding:.25rem .75rem;background-color:var(--accent-color);color:#fff;border-radius:20px;font-size:.75rem;font-weight:600;text-transform:uppercase;white-space:nowrap}.market-type{padding:.25rem .75rem;background-color:#8b5cf6;color:#fff;border-radius:20px;font-size:.75rem;font-weight:600;text-transform:uppercase;white-space:nowrap}.market-type.game{background-color:#3b82f6}.market-type.prop{background-color:#f59e0b}.market-type.future{background-color:#8b5cf6}.arb-indicator{padding:.25rem .75rem;background-color:#10b981;color:#fff;border-radius:20px;font-size:.75rem;font-weight:600;white-space:nowrap;animation:pulse 2s ease-in-out infinite}@keyframes pulse{0%,to{opacity:1}50%{opacity:.7}}.market-platforms{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:1rem}.platform-section{display:flex;flex-direction:column;gap:.5rem}.platform-header{display:flex;align-items:center;justify-content:space-between;margin-bottom:.5rem}.platform-name{font-weight:600;font-size:.9rem;color:var(--text-secondary)}.arb-tag{padding:.2rem .5rem;background-color:#10b981;color:#fff;border-radius:12px;font-size:.7rem;font-weight:600}.prices{display:flex;gap:.5rem}.price-item{flex:1;display:flex;flex-direction:column;align-items:center;padding:.5rem;border-radius:8px;background-color:var(--bg-tertiary)}.price-item.yes{border-left:3px solid var(--success-color)}.price-item.no{border-left:3px solid var(--danger-color)}.price-item .label{font-size:.7rem;font-weight:600;color:var(--text-secondary);margin-bottom:.25rem}.price-item .value{font-size:1rem;font-weight:700;color:var(--text-primary)}.market-options{display:flex;flex-direction:column;gap:.75rem}.options-list{display:flex;flex-direction:column;gap:.5rem}.option-item{display:flex;justify-content:space-between;align-items:center;padding:.75rem;background-color:var(--bg-tertiary);border-radius:8px;transition:background-color .2s ease}.option-item:hover{background-color:var(--bg-primary)}.option-item.more{background-color:transparent;border:1px dashed var(--border-color);cursor:default}.option-item.more:hover{background-color:transparent}.option-name{font-size:.95rem;font-weight:500;color:var(--text-primary);flex:1}.option-prices{display:flex;align-items:center;gap:.5rem}.option-prices .price{font-size:.9rem;font-weight:600;padding:.25rem .5rem;border-radius:4px}.option-prices .price.yes{color:var(--success-color);background-color:#22c55e1a}.option-prices .price.no{color:var(--danger-color);background-color:#ef44441a}.option-prices .price-divider{color:var(--text-secondary);font-size:.8rem}.price-table{display:flex;flex-direction:column;gap:.25rem;font-size:.85rem}.price-row{display:grid;grid-template-columns:80px 1fr 1fr 1fr;gap:.5rem;padding:.4rem;border-radius:6px;align-items:center}.price-row.header{background-color:var(--bg-tertiary);font-weight:600;font-size:.75rem;color:var(--text-secondary);text-transform:uppercase}.price-row:not(.header):not(.summary){background-color:#00000005}.price-row.summary{background-color:var(--bg-tertiary);font-weight:600;margin-top:.25rem}.price-label{font-weight:600;color:var(--text-primary)}.price-label.yes-label{color:var(--success-color)}.price-label.no-label{color:var(--danger-color)}.price-value{text-align:center;color:var(--text-primary)}.price-value.bid{color:var(--success-color);font-weight:600}.price-value.ask{color:var(--danger-color);font-weight:600}.price-value.spread{color:var(--text-secondary)}.price-value.sum{font-weight:700;text-align:center}.price-value.sum.arb{color:#10b981;background-color:#10b9811a;padding:.3rem;border-radius:6px}.options-table{display:flex;flex-direction:column;gap:.25rem;font-size:.85rem}.options-table-header{display:grid;grid-template-columns:2fr 1fr 1fr 1fr 1fr .8fr;gap:.5rem;padding:.4rem .5rem;background-color:var(--bg-tertiary);border-radius:6px;font-weight:600;font-size:.75rem;color:var(--text-secondary);text-transform:uppercase}.option-row{display:grid;grid-template-columns:2fr 1fr 1fr 1fr 1fr .8fr;gap:.5rem;padding:.2rem;background-color:#00000005;border-radius:6px;align-items:center;transition:background-color .2s ease}.option-row:hover:not(.more){background-color:var(--bg-tertiary)}.option-row.has-arb{background-color:#10b9810d;border:1px solid rgba(16,185,129,.3)}.option-row.more{background-color:transparent;border:1px dashed var(--border-color);grid-template-columns:1fr}.option-name-col{font-weight:500;color:var(--text-primary)}.price-col{text-align:center;color:var(--text-primary)}.price-col.bid{color:var(--success-color);font-weight:400}.price-col.ask{color:var(--danger-color);font-weight:400}.price-col.sum{font-weight:600}.price-col.sum.arb{color:#10b981;background-color:#10b98126;padding:.3rem;border-radius:4px}@media(max-width:768px){.options-table-header,.option-row:not(.more){grid-template-columns:2fr .8fr .8fr .8fr .8fr .7fr;font-size:.75rem}.price-table{font-size:.8rem}}@media(max-width:480px){.market-card{padding:1rem}.market-title{font-size:1rem}.market-platforms{grid-template-columns:1fr}.options-table-header,.option-row:not(.more){grid-template-columns:1.5fr .7fr .7fr .7fr .7fr .6fr;font-size:.7rem;gap:.3rem;padding:.4rem}.price-row{grid-template-columns:60px 1fr 1fr 1fr;gap:.3rem;font-size:.75rem}}.dashboard{flex:1;padding:2rem;overflow-y:auto;background-color:var(--bg-primary);transition:margin-left .3s ease}.dashboard.sidebar-open,.dashboard.sidebar-closed{margin-left:0}.dashboard-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:2rem;flex-wrap:wrap;gap:1rem}.header-content{flex:1}.dashboard-title{font-size:2rem;font-weight:700;margin:0 0 .5rem;text-transform:capitalize}.dashboard-subtitle{color:var(--text-secondary);margin:0;font-size:1rem}.view-toggle{display:flex;gap:.5rem;background-color:var(--bg-secondary);padding:.25rem;border-radius:8px}.toggle-button{padding:.625rem 1.25rem;border-radius:6px;background:none;color:var(--text-primary);font-weight:600;transition:all .2s ease}.toggle-button:hover{background-color:var(--bg-tertiary)}.toggle-button.active{background-color:var(--accent-color);color:#fff}.league-filter{display:flex;align-items:center;gap:1rem;padding:1rem 0;margin-bottom:1.5rem;border-bottom:1px solid var(--bg-tertiary);flex-wrap:wrap}.filter-label{font-weight:600;color:var(--text-primary);font-size:1rem}.filter-buttons{display:flex;gap:.5rem;flex-wrap:wrap}.filter-button{padding:.3rem .5rem;border-radius:6px;background-color:var(--bg-secondary);color:var(--text-primary);font-size:.9rem;font-weight:500;transition:all .2s ease;border:1px solid transparent}.filter-button:hover{background-color:var(--bg-tertiary);transform:translateY(-1px)}.filter-button.active{background-color:var(--accent-color);color:#fff;border-color:var(--accent-color);box-shadow:0 2px 4px #0000001a}.dashboard-content{min-height:400px}.opportunities-grid,.markets-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(350px,1fr));gap:1.5rem}.loading-state{display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:400px;gap:1rem}.spinner{width:50px;height:50px;border:4px solid var(--bg-tertiary);border-top-color:var(--accent-color);border-radius:50%;animation:spin 1s linear infinite}.error-state{display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:400px;gap:1rem;color:var(--danger-color)}.retry-button{padding:.75rem 1.5rem;background-color:var(--accent-color);color:#fff;border-radius:8px;font-weight:600;transition:all .2s ease}.retry-button:hover{background-color:var(--accent-hover);transform:translateY(-1px)}.empty-state{display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:400px;gap:.5rem;text-align:center;color:var(--text-secondary)}.empty-state p{margin:0;font-size:1.1rem}.empty-subtitle{font-size:.95rem!important}@media(max-width:768px){.dashboard{padding:1.5rem 1rem}.dashboard-title{font-size:1.5rem}.dashboard-header{flex-direction:column;align-items:flex-start}.view-toggle{width:100%;justify-content:center}.league-filter{flex-direction:column;align-items:flex-start}.filter-buttons{width:100%}.filter-button{flex:1;min-width:80px;text-align:center}.opportunities-grid,.markets-grid{grid-template-columns:1fr;gap:1rem}}@media(max-width:480px){.dashboard{padding:1rem}.dashboard-title{font-size:1.25rem}.toggle-button{padding:.5rem 1rem;font-size:.9rem}}.volume-alerts-sidebar{width:250px;height:calc(100vh - 60px);background-color:var(--bg-secondary);border-right:1px solid var(--border-color);position:fixed;left:0;top:60px;transition:transform .3s ease;z-index:100;overflow-y:auto}.volume-alerts-sidebar.closed{transform:translate(-100%)}.volume-alerts-sidebar-content{padding:1.5rem 1rem}.new-alert-btn{width:100%;display:flex;align-items:center;justify-content:center;gap:.5rem;padding:.75rem 1rem;background:linear-gradient(135deg,var(--accent-color),#2563eb);color:#fff;border:none;border-radius:8px;font-weight:600;cursor:pointer;transition:transform .2s,box-shadow .2s;margin-bottom:1.5rem}.new-alert-btn:hover{transform:translateY(-2px);box-shadow:0 4px 12px #3b82f666}.alerts-list{margin-top:1rem}.alerts-list-header{display:flex;align-items:center;gap:.5rem;padding:.75rem .5rem;color:var(--text-secondary);font-size:.875rem;font-weight:600;text-transform:uppercase;letter-spacing:.05em;border-bottom:1px solid var(--border-color);margin-bottom:.5rem}.empty-list{text-align:center;padding:2rem 1rem;color:var(--text-secondary);list-style:none}.alert-items{list-style:none;padding:0;margin:0}.alert-items li{margin-bottom:.25rem}.alert-item{display:flex;align-items:center;gap:.75rem;width:100%;padding:.25rem .5rem;background:none;border:1px solid transparent;color:var(--text-primary);text-align:left;cursor:pointer;transition:all .2s ease;border-radius:6px}.alert-item:hover{background-color:var(--hover-bg);border-color:var(--border-color)}.alert-item.active{background-color:var(--accent-color);color:#fff}.alert-icon{font-size:1.2rem;flex-shrink:0}.alert-content{flex:1;display:flex;flex-direction:column;gap:.25rem;min-width:0}.alert-label{font-size:.875rem;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.alert-label-custom{font-size:.875rem;font-weight:600;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.alert-label-title{font-size:.875rem;font-weight:500;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;line-height:1.3}.alert-label-summary{font-size:.875rem;font-weight:600}.alert-label-pending{font-size:.875rem;font-weight:500;font-style:italic;opacity:.7}.alert-item.pending{border-style:dashed;opacity:.85}.alert-item.pending:hover{opacity:1}.alert-ticker{font-size:.75rem;opacity:.8;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.alert-label-primary{font-size:.875rem;font-weight:600;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.alert-label-secondary{font-size:.75rem;opacity:.8;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}@media(max-width:768px){.volume-alerts-sidebar{width:250px;z-index:1000}}@media(max-width:480px){.volume-alerts-sidebar{width:220px}.alert-item{padding:.625rem .5rem;font-size:.875rem}.alert-icon{font-size:1rem}}@keyframes slideInRight{0%{transform:translate(120%);opacity:0}to{transform:translate(0);opacity:1}}@keyframes slideOutRight{0%{transform:translate(0);opacity:1}to{transform:translate(120%);opacity:0}}@keyframes progressBar{0%{width:100%}to{width:0%}}.toast{position:relative;min-width:320px;max-width:420px;background:var(--bg-secondary);border-radius:12px;box-shadow:0 8px 32px #0003,0 2px 8px #0000001a;margin-bottom:1rem;overflow:hidden;animation:slideInRight .4s cubic-bezier(.68,-.55,.265,1.55);border-left:4px solid var(--accent-color);-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px)}.toast.toast-removing{animation:slideOutRight .3s ease-in forwards}.toast.toast-clickable{cursor:pointer}.toast.toast-clickable:hover{transform:translateY(-2px);box-shadow:0 12px 40px #00000040,0 4px 12px #00000026}.toast-content{padding:1rem 1.25rem}.toast-header{display:flex;align-items:center;gap:.75rem;margin-bottom:.5rem}.toast-icon{font-size:1.25rem;flex-shrink:0}.toast-icon.success{color:#10b981}.toast-icon.error{color:#ef4444}.toast-icon.alert{color:#f59e0b;animation:pulse 2s ease-in-out infinite}.toast-icon.info{color:#3b82f6}@keyframes pulse{0%,to{transform:scale(1)}50%{transform:scale(1.1)}}.toast-title{font-weight:600;font-size:.95rem;color:var(--text-primary);flex:1}.toast-close{background:none;border:none;color:var(--text-secondary);cursor:pointer;padding:.25rem;display:flex;align-items:center;justify-content:center;border-radius:4px;transition:all .2s ease;font-size:.9rem}.toast-close:hover{background:var(--bg-tertiary);color:var(--text-primary)}.toast-message{font-size:.875rem;color:var(--text-secondary);line-height:1.6;padding-left:2rem;white-space:pre-line;font-family:Inter,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif}.toast-actions{display:flex;gap:.5rem;margin-top:.75rem;padding-left:2rem}.toast-action-btn{display:flex;align-items:center;gap:.375rem;padding:.5rem .875rem;background-color:var(--accent-color);color:#fff;border:none;border-radius:6px;font-size:.8125rem;font-weight:600;cursor:pointer;transition:all .2s;white-space:nowrap}.toast-action-btn:hover{transform:translateY(-1px);box-shadow:0 4px 8px #3b82f64d;background-color:#2563eb}.toast-action-btn:active{transform:translateY(0)}.toast-action-btn .action-icon{font-size:.875rem}.toast-progress{position:absolute;bottom:0;left:0;right:0;height:3px;background:#0000001a}.toast-progress-bar{height:100%;background:linear-gradient(90deg,var(--accent-color),#3b82f6);animation:progressBar linear forwards}.toast-success{border-left-color:#10b981}.toast-error{border-left-color:#ef4444}.toast-alert{border-left-color:#f59e0b}.toast-info{border-left-color:#3b82f6}.toast-container{position:fixed;bottom:2rem;right:2rem;z-index:9999;pointer-events:none;max-width:420px}.toast-container>*{pointer-events:auto}@media(max-width:768px){.toast-container{bottom:1rem;right:1rem;left:1rem;max-width:none}.toast{min-width:auto;max-width:none}}@media(max-width:480px){.toast-content{padding:.875rem 1rem}.toast-title{font-size:.875rem}.toast-message{font-size:.8125rem;padding-left:1.75rem}.toast-actions{flex-direction:column;padding-left:0}.toast-action-btn{width:100%;justify-content:center}}.direction-indicator{display:inline-flex;align-items:center;gap:.35rem;padding:.25rem .6rem;border-radius:.375rem;font-weight:600;transition:all .2s ease;white-space:nowrap}.direction-indicator.inline{padding:.15rem .4rem;gap:.25rem}.direction-indicator.small{font-size:.75rem;padding:.2rem .5rem}.direction-indicator.medium{font-size:.85rem}.direction-indicator.large{font-size:1rem;padding:.4rem .8rem}.direction-indicator.yes{background:#22c55e26;color:#22c55e;border:1px solid rgba(34,197,94,.3)}.direction-indicator.yes.confidence-high{background:#22c55e40;border-color:#22c55e80;box-shadow:0 0 8px #22c55e4d}.direction-indicator.yes.confidence-medium{background:#22c55e33;border-color:#22c55e66}.direction-indicator.no{background:#ef444426;color:#ef4444;border:1px solid rgba(239,68,68,.3)}.direction-indicator.no.confidence-high{background:#ef444440;border-color:#ef444480;box-shadow:0 0 8px #ef44444d}.direction-indicator.no.confidence-medium{background:#ef444433;border-color:#ef444466}.direction-indicator.neutral{background:#9ca3af26;color:#9ca3af;border:1px solid rgba(156,163,175,.3)}.direction-icon{font-size:.9em}.direction-text{font-weight:700;text-transform:uppercase;letter-spacing:.025em}.direction-change{font-size:.85em;opacity:.9;margin-left:.25rem}.direction-percent{font-size:.9em;opacity:.8}.direction-indicator:hover{transform:translateY(-1px);filter:brightness(1.1)}@media(prefers-color-scheme:dark){.direction-indicator.yes{background:#22c55e33;border-color:#22c55e66}.direction-indicator.no{background:#ef444433;border-color:#ef444466}.direction-indicator.neutral{background:#9ca3af33;border-color:#9ca3af66}}@media(max-width:768px){.direction-indicator{font-size:.8rem;padding:.2rem .5rem}.direction-change{font-size:.75em}}.mdm-overlay{position:fixed;inset:0;background-color:#0009;display:flex;align-items:center;justify-content:center;z-index:9999;padding:1rem;animation:mdmFadeIn .2s ease-out}@keyframes mdmFadeIn{0%{opacity:0}to{opacity:1}}.mdm-content{background-color:var(--bg-secondary);border-radius:12px;box-shadow:var(--shadow-lg);max-width:1100px;width:100%;max-height:90vh;display:flex;flex-direction:column;animation:mdmSlideUp .3s ease-out;border:1px solid var(--border-color)}@keyframes mdmSlideUp{0%{transform:translateY(20px);opacity:0}to{transform:translateY(0);opacity:1}}.mdm-header{display:flex;justify-content:space-between;align-items:center;padding:1.5rem;border-bottom:1px solid var(--border-color);background-color:var(--bg-tertiary);border-radius:12px 12px 0 0}.mdm-header-title{display:flex;align-items:center;gap:.75rem}.mdm-header-title h3{margin:0;font-size:1.25rem;color:var(--text-primary);font-weight:600}.mdm-icon{color:var(--accent-color);font-size:1.5rem}.mdm-close-button{background:none;border:none;color:var(--text-secondary);font-size:1.25rem;cursor:pointer;padding:.5rem;border-radius:6px;transition:all .2s ease;display:flex;align-items:center;justify-content:center}.mdm-close-button:hover{background-color:var(--bg-primary);color:var(--text-primary)}.mdm-body{padding:1.5rem;overflow-y:auto;overflow-x:hidden;flex:1}.mdm-body::-webkit-scrollbar{width:8px}.mdm-body::-webkit-scrollbar-track{background:var(--bg-tertiary);border-radius:4px}.mdm-body::-webkit-scrollbar-thumb{background:var(--accent-color);border-radius:4px}.mdm-body::-webkit-scrollbar-thumb:hover{background:#2563eb}.mdm-loading,.mdm-error,.mdm-no-markets-message{text-align:center;padding:2rem 1rem;color:var(--text-secondary);font-size:.95rem}.mdm-error{color:var(--error-color)}.mdm-no-markets-message{color:var(--text-tertiary);font-style:italic}.mdm-table-wrapper{overflow-x:auto}.mdm-table{width:100%;border-collapse:collapse;font-size:.9rem;table-layout:fixed}.mdm-table th:nth-child(1){width:25%}.mdm-table th:nth-child(2){width:12%}.mdm-table th:nth-child(3){width:15%}.mdm-table th:nth-child(4){width:14%}.mdm-table th:nth-child(5){width:18%}.mdm-table th:nth-child(6){width:16%}.mdm-table th{background-color:var(--bg-tertiary);color:var(--text-primary);font-weight:600;text-align:left;padding:.875rem .75rem;border-bottom:2px solid var(--border-color);font-size:.85rem;letter-spacing:.3px}.mdm-table th:last-child{text-align:center}.mdm-table td{padding:.25rem;border-bottom:1px solid rgba(255,255,255,.05);color:var(--text-secondary);vertical-align:middle}.mdm-table tbody tr:last-child td{border-bottom:none}.mdm-table tbody tr{transition:background-color .15s ease}.mdm-table tbody tr:hover{background-color:var(--bg-tertiary)}.mdm-market-name-cell{font-weight:600;color:var(--text-primary);font-size:.95rem;line-height:1.4}.mdm-market-volume-cell{font-weight:600;color:var(--text-primary);font-variant-numeric:tabular-nums;font-size:.95rem}.mdm-market-change-cell .mdm-change{font-weight:600}.mdm-market-change-cell .mdm-positive{color:var(--success-color)}.mdm-market-change-cell .mdm-negative{color:var(--error-color)}.mdm-change-percent{font-size:.875rem;opacity:.9}.mdm-change-na{color:var(--text-tertiary)}.mdm-market-direction-cell{text-align:center;vertical-align:middle}.mdm-market-price-cell{text-align:left;vertical-align:middle}.mdm-price-info{display:flex;flex-direction:column;gap:.35rem}.mdm-last-price{font-size:1rem;font-weight:700;color:var(--text-primary);font-variant-numeric:tabular-nums}.mdm-spread-info{font-size:.8rem;color:var(--text-tertiary);display:flex;gap:.35rem;align-items:center}.mdm-spread-label{font-weight:600;color:var(--text-secondary);font-size:.75rem}.mdm-spread-values{font-family:Courier New,monospace;color:var(--accent-color);font-weight:500}.mdm-price-na{color:var(--text-tertiary);font-style:italic;font-size:.875rem}.mdm-market-oi-liquidity-cell{text-align:left;vertical-align:middle;font-size:.85rem}.mdm-oi-liquidity-info{display:flex;flex-direction:column;gap:.4rem;width:100%}.mdm-oi-row,.mdm-liquidity-row{display:flex;align-items:center;justify-content:space-between;width:100%}.mdm-oi-label,.mdm-liquidity-label{font-weight:600;color:var(--text-secondary);font-size:.8rem;flex-shrink:0}.mdm-oi-value,.mdm-liquidity-value{font-family:Courier New,monospace;color:var(--text-primary);font-weight:600;font-size:.875rem;margin-left:auto;margin-right:.4rem}.mdm-oi-change,.mdm-liquidity-change{font-size:.7rem;padding:.15rem .4rem;border-radius:4px;font-weight:600;white-space:nowrap;flex-shrink:0}.mdm-oi-change.mdm-positive,.mdm-liquidity-change.mdm-positive{color:var(--success-color);background-color:#27ae6026}.mdm-oi-change.mdm-negative,.mdm-liquidity-change.mdm-negative{color:var(--error-color);background-color:#e74c3c26}.mdm-oi-liquidity-na{color:var(--text-tertiary);font-style:italic;font-size:.875rem}.mdm-footer{padding:1rem 1.5rem;border-top:1px solid var(--border-color);display:flex;justify-content:flex-end;background-color:var(--bg-tertiary);border-radius:0 0 12px 12px}.mdm-btn{padding:.625rem 1.5rem;border:none;border-radius:6px;font-size:.9rem;font-weight:500;cursor:pointer;transition:all .2s ease}.mdm-btn-close{background-color:var(--bg-primary);color:var(--text-primary);border:1px solid var(--border-color)}.mdm-btn-close:hover{background-color:var(--bg-secondary);border-color:var(--accent-color)}@media(max-width:1024px){.mdm-content{max-width:95%}.mdm-table{font-size:.85rem}}@media(max-width:768px){.mdm-overlay{padding:.5rem}.mdm-content{max-width:calc(100% - 1rem);max-height:95vh;margin:0;border-radius:16px}.mdm-header{padding:1rem 1.25rem}.mdm-header-title h3{font-size:1.05rem}.mdm-body{padding:.75rem}.mdm-table-wrapper{margin:-.25rem}.mdm-table{display:block;border:none}.mdm-table thead{display:none}.mdm-table tbody,.mdm-table tr,.mdm-table td{display:block;width:100%}.mdm-table tr{margin-bottom:1rem;border:1px solid var(--border-color);border-radius:12px;overflow:hidden;background-color:var(--bg-primary);box-shadow:0 2px 8px #0000001a}.mdm-table tbody tr:hover{background-color:var(--bg-primary);transform:none}.mdm-table td{text-align:right;padding:.75rem 1rem;padding-left:35%;position:relative;border-bottom:1px solid rgba(255,255,255,.05);min-height:2.5rem;display:flex;align-items:center;justify-content:flex-end}.mdm-table td:first-child{background-color:var(--bg-tertiary);text-align:left;font-size:1rem;font-weight:600;border-bottom:1px solid var(--border-color);padding:1rem;display:block;min-height:auto}.mdm-market-name-cell{font-size:1rem}.mdm-table td:first-child:before{display:none}.mdm-table td:last-child{border-bottom:none}.mdm-table td:before{content:attr(data-label);position:absolute;left:0;width:35%;padding-left:1rem;padding-right:.5rem;font-weight:600;font-size:1rem;color:var(--text-secondary);text-align:left;line-height:1.3}.mdm-market-volume-cell{font-size:1rem}.mdm-market-oi-liquidity-cell{display:block!important;padding-top:.5rem!important;padding-bottom:.75rem!important}.mdm-market-oi-liquidity-cell:before{display:none!important}.mdm-oi-liquidity-info{width:100%;gap:.6rem;display:flex;flex-direction:column;align-items:flex-end}.mdm-oi-row,.mdm-liquidity-row{display:flex;gap:.5rem;align-items:center;justify-content:space-between;width:100%;padding-left:1rem;padding-right:0}.mdm-oi-label,.mdm-liquidity-label{font-size:1rem;font-weight:600;color:var(--text-secondary);min-width:auto;text-align:left}.mdm-oi-value,.mdm-liquidity-value{font-size:.9rem;text-align:right;white-space:nowrap}.mdm-oi-change,.mdm-liquidity-change{font-size:.7rem;padding:.15rem .35rem;text-align:right;white-space:nowrap}.mdm-market-price-cell{display:block!important;padding-top:.5rem!important;padding-bottom:.75rem!important}.mdm-price-info{gap:.35rem;width:100%;align-items:flex-end}.mdm-last-price{font-size:1.1rem;text-align:right}.mdm-spread-info{font-size:.8rem;text-align:right;justify-content:flex-end}.mdm-market-change-cell{display:block!important;padding-top:.5rem!important;padding-bottom:.75rem!important}.mdm-change{font-size:.95rem}.mdm-change-percent{display:block;margin-top:.15rem;font-size:.8rem}.mdm-market-direction-cell{justify-content:flex-end;padding-left:35%}}@media(max-width:480px){.mdm-overlay{padding:2rem}.mdm-content{max-width:calc(100% - .5rem);border-radius:12px}.mdm-header{padding:.875rem 1rem}.mdm-header-title h3{font-size:.95rem;line-height:1.3}.mdm-icon{font-size:1.25rem}.mdm-body{padding:1.2rem}.mdm-table td{padding:0 .75rem;font-size:.9rem}.mdm-table td:before{width:35%;font-size:.9rem;padding-left:.75rem;padding-right:.25rem}.mdm-table td:first-child{padding:.375rem .75rem}.mdm-market-volume-cell{font-size:.95rem}.mdm-oi-row,.mdm-liquidity-row{padding-left:.25rem}.mdm-oi-label,.mdm-liquidity-label{font-size:.9rem;font-weight:600;color:var(--text-secondary);text-align:left}.mdm-oi-value,.mdm-liquidity-value{font-size:.9rem}.mdm-oi-change,.mdm-liquidity-change{font-size:.65rem;padding:.1rem .3rem}.mdm-last-price{font-size:.9rem}.mdm-spread-info{font-size:.75rem}.mdm-change{font-size:.9rem}.mdm-change-percent{font-size:.75rem}}.alert-history{margin-top:2rem;border:1px solid var(--border-color);border-radius:12px;background-color:var(--bg-secondary);overflow:hidden;width:100%;box-sizing:border-box}.history-toggle{width:100%;padding:1rem 1.5rem;background-color:transparent;border:none;display:flex;align-items:center;justify-content:space-between;cursor:pointer;transition:background-color .2s ease;color:var(--text-primary);font-size:1rem;font-weight:600}.history-toggle:hover{background-color:var(--bg-tertiary)}.history-toggle-left{display:flex;align-items:center;gap:.75rem}.history-toggle-title{font-weight:600}.history-badge{padding:.25rem .75rem;background-color:var(--bg-tertiary);border-radius:20px;font-size:.85rem;font-weight:500;color:var(--text-secondary)}.market-url-link{display:inline-flex;align-items:center;padding:.25rem .5rem;color:var(--accent-color);background-color:#3b82f61a;border-radius:6px;text-decoration:none;font-size:.85rem;transition:all .2s ease}.market-url-link:hover{background-color:#3b82f633;color:#2563eb;transform:translateY(-1px)}.history-status{display:flex;align-items:center;gap:.5rem;padding:.4rem .9rem;border-radius:20px;font-size:.85rem;font-weight:500}.history-status.active{background-color:#10b9811a;color:#059669}.spin{animation:spin 1s linear infinite}.history-content{border-top:1px solid var(--border-color);padding:1.5rem;background-color:var(--bg-primary)}.current-average-banner{display:flex;align-items:center;gap:.75rem;padding:1rem 1.25rem;background:linear-gradient(135deg,#3b82f61a,#9333ea1a);border-left:4px solid var(--accent-color);border-radius:8px;margin-bottom:1rem;flex-wrap:wrap;transition:all .3s ease}.current-average-banner.threshold-exceeded{background:linear-gradient(135deg,#10b98126,#05966926);border-left:4px solid #10b981;box-shadow:0 0 20px #10b98133}.average-label{font-weight:600;color:var(--text-primary);font-size:.95rem}.average-value{font-size:1.5rem;font-weight:700;transition:color .3s ease}.average-value.positive{color:#10b981}.average-value.negative{color:#ef4444}.threshold-badge{padding:.25rem .75rem;background-color:#10b98133;color:#059669;border-radius:20px;font-size:.85rem;font-weight:600;animation:pulse-badge 2s ease-in-out infinite}@keyframes pulse-badge{0%,to{opacity:1}50%{opacity:.7}}.average-hint{font-size:.8rem;color:var(--text-secondary);font-style:italic}.history-loading,.history-error,.history-empty{display:flex;align-items:center;justify-content:center;gap:.75rem;padding:2rem;color:var(--text-secondary);font-size:.95rem}.history-error{color:#dc2626}.history-list{display:flex;flex-direction:column;gap:.5rem}.history-header{display:grid;grid-template-columns:2fr 1.5fr 1.5fr 1fr 50px;gap:1rem;padding:.75rem 1rem;background-color:var(--bg-tertiary);border-radius:8px;font-size:.85rem;font-weight:600;color:var(--text-secondary);text-transform:uppercase;letter-spacing:.5px}.history-item{display:grid;grid-template-columns:2fr 1.5fr 1.5fr 1fr 50px;gap:1rem;padding:.625rem 1rem;background-color:var(--bg-secondary);border-radius:8px;font-size:.95rem;transition:all .2s ease;align-items:center}.history-item:hover{background-color:var(--bg-tertiary);transform:translate(4px);box-shadow:0 2px 6px #0000001a;cursor:pointer}.history-item.threshold-exceeded{background:linear-gradient(90deg,#10b9811a,#10b98108);border-left:3px solid #10b981;padding-left:calc(1rem - 3px);box-shadow:0 2px 8px #10b98133}.history-item.threshold-exceeded:hover{background:linear-gradient(90deg,#10b98126,#10b9810d)}.col-time{color:var(--text-secondary);font-size:.9rem}.col-volume{font-weight:600;color:var(--text-primary);font-variant-numeric:tabular-nums}.col-change{font-variant-numeric:tabular-nums}.change{display:inline-flex;flex-direction:row;align-items:baseline;gap:.375rem;font-weight:500}.change.positive{color:#919191}.change.negative{color:#ef4444}.change-percent{font-size:.85rem;opacity:.8;font-weight:500}.change-na{color:var(--text-secondary);opacity:.5}.col-status{display:flex;align-items:center;justify-content:flex-end}.status-icon{color:var(--text-secondary);opacity:.5;font-size:.9rem}.col-expand{display:flex;align-items:center;justify-content:center}.expand-btn{background:transparent;border:none;color:var(--text-secondary);cursor:pointer;padding:.25rem;display:flex;align-items:center;justify-content:center;border-radius:4px;transition:all .2s ease;font-size:.85rem}.expand-btn:hover{background-color:var(--bg-tertiary);color:var(--text-primary);transform:scale(1.1)}.expand-btn:active{transform:scale(.95)}.status-badge{padding:.35rem .75rem;background-color:var(--accent-color);color:#fff;border-radius:12px;font-size:.8rem;font-weight:600;text-transform:uppercase;letter-spacing:.5px}.history-footer{margin-top:1rem;padding-top:1rem;border-top:1px solid var(--border-color);display:flex;align-items:center;justify-content:center}.footer-text{font-size:.85rem;color:var(--text-secondary);font-style:italic}@media(max-width:768px){.history-toggle{padding:.875rem 1rem;font-size:.95rem;gap:10px}.history-toggle-left{gap:.5rem}.history-badge{font-size:.8rem;padding:.2rem .6rem}.history-status{font-size:.8rem;padding:.35rem .75rem}.history-content{padding:1rem}.history-header{grid-template-columns:1.5fr 1fr 1fr 1fr 40px;font-size:.75rem;padding:.5rem .75rem}.history-item{grid-template-columns:1.5fr 1fr 1fr 1fr 40px;padding:.75rem;font-size:.85rem}.col-time,.change-percent{font-size:.85rem}.status-badge{font-size:.7rem;padding:.3rem .6rem}}@media(max-width:480px){.history-header,.history-item{grid-template-columns:1fr;gap:.5rem}.history-item{padding:1rem}.col-time,.col-volume,.col-change,.col-status{display:flex;justify-content:space-between;align-items:center}.col-expand{justify-content:flex-end;padding-top:.5rem}.col-time:before{content:"Time:";font-weight:600;color:var(--text-secondary)}.col-volume:before{content:"Volume:";font-weight:600;color:var(--text-secondary)}.col-time{font-size:.9rem}.change{text-align:right;font-size:1rem}.change.positive{font-size:1rem}.change.negative{color:#f87171;font-size:1rem}.change-percent{font-size:.9rem}.col-change:before{content:"Change:";font-weight:600;color:var(--text-secondary)}.col-status:before{content:"Status:";font-weight:600;color:var(--text-secondary)}.history-header{display:none}.col-status{justify-content:space-between}}.load-more-container{display:flex;justify-content:center;padding:1rem 1.5rem;border-top:1px solid var(--border-color)}.btn-load-more{padding:.625rem 1.25rem;background-color:var(--bg-tertiary);color:var(--text-primary);border:1px solid var(--border-color);border-radius:6px;font-size:.9rem;font-weight:500;cursor:pointer;transition:all .2s ease}.btn-load-more:hover{background-color:var(--bg-secondary);border-color:var(--accent-color);color:var(--accent-color);transform:translateY(-1px)}.btn-load-more:active{transform:translateY(0)}.history-item-wrapper{display:flex;flex-direction:column;margin-bottom:.25rem}.history-item-wrapper:last-child{border-bottom:none;margin-bottom:0}.history-item-wrapper .history-item{border-radius:8px 8px 0 0}.history-item-wrapper:not(:has(.individual-markets-container)) .history-item{border-radius:8px}.markets-count-badge{display:inline-block;margin-left:.375rem;padding:.125rem .375rem;background-color:var(--accent-color);color:#fff;font-size:.7rem;font-weight:600;border-radius:10px;vertical-align:middle}.triggered-count-badge{display:inline-block;margin-left:.375rem;padding:.125rem .375rem;background:linear-gradient(135deg,#f59e0b,#ef4444);color:#fff;font-size:.7rem;font-weight:600;border-radius:10px;vertical-align:middle;box-shadow:0 0 8px #ef44444d}@keyframes pulse-glow{0%,to{box-shadow:0 0 8px #ef44444d}50%{box-shadow:0 0 12px #ef444480}}.individual-markets-container{display:flex;flex-direction:column;background:linear-gradient(90deg,#ffffff0a,#ffffff05);border-top:1px solid rgba(255,255,255,.1);border-left:3px solid rgba(255,255,255,.15);border-bottom:1px solid rgba(255,255,255,.08);border-right:1px solid rgba(255,255,255,.08);border-radius:0 0 8px 8px;box-shadow:inset 0 2px 4px #00000026}.markets-header{padding:.5rem 1rem;color:#8d8d8d;font-size:.75rem;font-weight:400;text-transform:uppercase;letter-spacing:.5px;text-align:right;background-color:#ffffff0d;border-bottom:1px solid rgba(255,255,255,.1)}.individual-market-summary{display:grid;grid-template-columns:1fr auto auto auto;align-items:center;gap:1rem;padding:.5rem 1rem;font-size:.875rem;border-bottom:1px solid rgba(255,255,255,.03);transition:background-color .2s ease}.individual-market-summary:hover{background-color:#ffffff0d}.individual-market-summary:last-child{border-bottom:none}.market-number{color:var(--text-secondary);font-weight:700;min-width:1.5rem;text-align:right;font-size:.8rem;opacity:.7}.market-summary-name{color:var(--text-primary);font-weight:500;text-align:right;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;padding-right:.5rem}.market-summary-spike{font-weight:600;padding:.25rem .5rem;border-radius:4px;font-size:.8rem;text-align:center;white-space:nowrap;min-width:150px}.market-summary-spike.direction-yes{background-color:#10b98126;color:#10b981;border:1px solid rgba(16,185,129,.3)}.market-summary-spike.direction-no{background-color:#ef444426;color:#ef4444;border:1px solid rgba(239,68,68,.3)}.market-summary-spike.direction-neutral{background-color:#6b728026;color:#6b7280;border:1px solid rgba(107,114,128,.3)}.market-summary-price{font-weight:600;color:var(--text-primary);font-size:.85rem;white-space:nowrap;display:flex;align-items:center;justify-content:center;gap:.25rem;min-width:120px}.price-spread{font-size:.75rem;color:var(--text-secondary);font-weight:500}.individual-market-summary>div:last-child{display:flex;justify-content:center;align-items:center}@media(max-width:768px){.individual-market-summary{padding:.5rem .75rem;gap:.75rem;grid-template-columns:1fr auto auto auto}.markets-header{padding:.5rem .75rem;font-size:.7rem}.market-summary-name{font-size:.8rem}.market-summary-spike{font-size:.75rem;padding:.2rem .4rem;min-width:130px}.market-summary-price{font-size:.8rem;min-width:100px}.price-spread{font-size:.7rem}}@media(max-width:480px){.individual-market-summary{font-size:.8rem;padding:.75rem;gap:.5rem;grid-template-columns:1fr;grid-template-areas:"name" "spike" "price" "direction"}.markets-header{font-size:.7rem;padding:.5rem .75rem}.market-number{display:none}.market-summary-name{grid-area:name;text-align:left;padding-right:0;font-size:.85rem}.market-summary-spike{grid-area:spike;font-size:.75rem;padding:.3rem .5rem;min-width:auto;justify-self:start}.market-summary-price{grid-area:price;font-size:.8rem;min-width:auto;justify-self:start;justify-content:flex-start}.price-spread{font-size:.7rem}.individual-market-summary>div:last-child{grid-area:direction;justify-self:start}.markets-count-badge,.triggered-count-badge{font-size:.65rem;padding:.1rem .3rem}}.volume-chart{margin-top:2rem;border:1px solid var(--border-color);border-radius:12px;background-color:var(--bg-secondary);overflow:hidden;width:100%;box-sizing:border-box}.chart-toggle{width:100%;padding:1rem 1.5rem;background-color:transparent;border:none;display:flex;align-items:center;justify-content:space-between;cursor:pointer;transition:background-color .2s ease;color:var(--text-primary);font-size:1rem;font-weight:600;gap:.5rem}.chart-toggle:hover{background-color:var(--bg-tertiary)}.chart-toggle-left{display:flex;align-items:center;gap:.75rem}.chart-toggle-title{font-weight:600}.chart-badge{padding:.25rem .75rem;background-color:var(--bg-tertiary);border-radius:20px;font-size:.85rem;font-weight:500;color:var(--text-secondary)}.chart-status{display:flex;align-items:center;gap:.5rem;padding:.4rem .9rem;border-radius:20px;font-size:.85rem;font-weight:500}.chart-status.active{background-color:#10b9811a;color:#059669}.pulse-dot{width:8px;height:8px;background-color:#10b981;border-radius:50%;animation:pulse 2s ease-in-out infinite}@keyframes pulse{0%,to{opacity:1;transform:scale(1)}50%{opacity:.5;transform:scale(1.1)}}.chart-content{padding:1.5rem;border-top:1px solid var(--border-color);position:relative;min-height:450px}.chart-controls{margin-bottom:1.5rem;display:flex;justify-content:space-between;align-items:center;gap:1rem;flex-wrap:wrap}.view-toggle{display:inline-flex;background-color:var(--bg-tertiary);border-radius:8px;padding:4px;gap:4px}.direction-filter{display:flex;align-items:center;gap:.5rem}.filter-label{font-size:.875rem;font-weight:600;color:var(--text-secondary);text-transform:uppercase;letter-spacing:.5px}.filter-select{padding:.5rem .75rem;background-color:var(--bg-tertiary);border:1px solid var(--border-color);border-radius:6px;color:var(--text-primary);font-size:.875rem;font-weight:500;cursor:pointer;transition:all .2s ease}.filter-select:hover{background-color:var(--bg-secondary);border-color:var(--accent-color)}.filter-select:focus{outline:none;border-color:var(--accent-color);box-shadow:0 0 0 3px #3b82f61a}.toggle-btn{padding:.5rem 1.25rem;background-color:transparent;border:none;border-radius:6px;font-size:.9rem;font-weight:500;color:var(--text-secondary);cursor:pointer;transition:all .2s ease}.toggle-btn:hover{color:var(--text-primary)}.toggle-btn.active{background-color:var(--accent-color);color:#fff}.chart-container{background-color:#0003;border-radius:12px;padding:1.5rem;margin-bottom:1rem}.legend-container{display:flex;flex-direction:column;gap:.5rem}.custom-legend{display:flex;flex-wrap:wrap;justify-content:center;gap:1rem;padding:1rem .5rem .5rem;-webkit-user-select:none;user-select:none}.custom-legend-hidden{padding-top:.75rem;border-top:1px solid var(--border-color);margin-top:.5rem}.legend-hidden-section{display:flex;flex-direction:column;align-items:center;padding:0 .5rem .5rem}.legend-toggle-btn{display:flex;align-items:center;gap:.5rem;padding:.5rem 1rem;background-color:var(--bg-tertiary);border:1px solid var(--border-color);border-radius:6px;color:var(--text-secondary);font-size:.85rem;font-weight:500;cursor:pointer;transition:all .2s ease;margin-bottom:.5rem}.legend-toggle-btn:hover{background-color:var(--bg-secondary);border-color:var(--accent-color);color:var(--text-primary)}.legend-toggle-btn svg{font-size:.75rem}.legend-item{display:flex;align-items:center;gap:.5rem;cursor:pointer;transition:opacity .2s ease}.legend-item:hover{opacity:.8!important}.legend-color-box{width:14px;height:14px;border-radius:2px}.legend-text{font-size:.85rem;font-weight:500;color:var(--text-secondary)}.chart-tooltip{background-color:#111827f2;border:1px solid var(--border-color);border-radius:8px;padding:.75rem;box-shadow:0 4px 6px #0000004d}.tooltip-label{font-weight:600;margin-bottom:.5rem;color:var(--text-primary);font-size:.85rem}.chart-tooltip p{margin:.25rem 0;font-size:.85rem}.chart-footer{display:flex;flex-direction:column;align-items:center;gap:.5rem;padding-top:.5rem}.footer-text{color:var(--text-secondary);font-size:.85rem}.footer-hint{color:var(--text-secondary);font-size:.75rem;opacity:.7}.chart-loading{display:flex;flex-direction:column;align-items:center;justify-content:center;padding:3rem 1rem;color:var(--text-secondary);min-height:450px;height:100%}.chart-loading-overlay{position:absolute;inset:0;background-color:#0000004d;display:flex;align-items:center;justify-content:center;z-index:10;-webkit-backdrop-filter:blur(1px);backdrop-filter:blur(1px);border-radius:0 0 12px 12px}.spinner{width:40px;height:40px;border:3px solid var(--border-color);border-top-color:var(--accent-color);border-radius:50%;animation:spin 1s linear infinite;margin-bottom:1rem}.chart-loading-overlay .spinner{margin-bottom:0}.chart-empty{display:flex;flex-direction:column;align-items:center;justify-content:center;padding:3rem 1rem;text-align:center;min-height:450px}.empty-icon{font-size:3rem;color:var(--text-secondary);opacity:.5;margin-bottom:1rem}.empty-title{font-size:1.1rem;font-weight:600;color:var(--text-primary);margin-bottom:.5rem}.empty-description{color:var(--text-secondary);font-size:.9rem;max-width:500px;line-height:1.6}.chart-error{padding:2rem 1rem;text-align:center;min-height:450px;display:flex;align-items:center;justify-content:center}.error-message{color:#ef4444;font-size:.95rem}@media(max-width:768px){.chart-content,.chart-container{padding:1rem}.view-toggle{flex-direction:row;width:100%}.toggle-btn{width:100%;text-align:center}.chart-controls{width:100%}.custom-legend{gap:.75rem}.legend-item{gap:.4rem}.legend-color-box{width:12px;height:12px}.legend-text{font-size:.8rem}}.alert-config{background-color:var(--bg-secondary);border:1px solid var(--border-color);border-radius:12px;padding:1.5rem;box-shadow:0 2px 4px var(--shadow);max-width:800px;width:100%;box-sizing:border-box}.alert-config-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:1.5rem;padding-bottom:1rem;border-bottom:1px solid var(--border-color);overflow:hidden;text-overflow:ellipsis}.alert-title-section{display:flex;align-items:center;gap:.75rem;flex:1;min-width:0}.alert-config-title{font-size:1.25rem;font-weight:600;margin:0;color:var(--text-primary);text-transform:capitalize;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.edit-name-icon-btn{display:flex;align-items:center;justify-content:center;width:32px;height:32px;padding:0;border:none;background-color:transparent;color:var(--text-secondary);border-radius:6px;cursor:pointer;transition:all .2s ease;flex-shrink:0}.edit-name-icon-btn:hover{background-color:var(--bg-tertiary);color:var(--accent-color);transform:scale(1.1)}.edit-name-container{display:flex;align-items:center;gap:.5rem;flex:1;min-width:0}.edit-name-input{flex:1;padding:.5rem .75rem;border:2px solid var(--accent-color);border-radius:6px;background-color:var(--bg-primary);color:var(--text-primary);font-size:1rem;font-weight:600;transition:all .2s ease;min-width:0}.edit-name-input:focus{outline:none;box-shadow:0 0 0 3px #007bff1a}.edit-name-btn{display:flex;align-items:center;justify-content:center;width:32px;height:32px;padding:0;border:none;border-radius:6px;cursor:pointer;transition:all .2s ease;flex-shrink:0;font-size:.9rem}.edit-name-btn.save-btn{background-color:#10b981;color:#fff}.edit-name-btn.save-btn:hover:not(:disabled){background-color:#059669;transform:scale(1.05)}.edit-name-btn.save-btn:disabled{opacity:.5;cursor:not-allowed}.edit-name-btn.cancel-btn{background-color:#ef4444;color:#fff}.edit-name-btn.cancel-btn:hover{background-color:#dc2626;transform:scale(1.05)}.alert-status{display:flex;align-items:center;gap:.25rem;font-size:.9rem;font-weight:600;padding:.4rem .75rem;border-radius:20px}.alert-status.active{color:#10b981;background-color:#10b9811a}.alert-status.inactive{color:var(--text-secondary);background-color:var(--bg-tertiary)}.market-title-section{display:flex;justify-content:space-between;align-items:center;padding:1rem 1.25rem;margin-bottom:1rem;background:linear-gradient(135deg,#3b82f614,#10b98114);border:1px solid rgba(59,130,246,.15);border-radius:8px;gap:1rem}.market-title{font-size:1rem;font-weight:600;color:var(--text-primary);margin:0;flex:1;line-height:1.4}.market-action-buttons{display:flex;gap:.75rem;align-items:center}.market-link-btn{display:inline-flex;align-items:center;gap:.5rem;padding:.5rem 1rem;background-color:var(--accent-color);color:#fff;text-decoration:none;border:none;border-radius:6px;font-size:.875rem;font-weight:600;transition:all .2s ease;white-space:nowrap;flex-shrink:0;cursor:pointer}.market-link-btn:hover{transform:translateY(-2px)}.market-link-btn svg{font-size:.875rem}.alert-config-body{display:flex;flex-direction:column;gap:1.5rem}.alert-message{padding:.875rem 1rem;border-radius:8px;font-size:.95rem;font-weight:500;margin-bottom:.5rem}.error-message{background-color:#ef44441a;color:#dc2626;border:1px solid rgba(239,68,68,.3)}.success-message{background-color:#10b9811a;color:#059669;border:1px solid rgba(16,185,129,.3)}.form-row{display:grid;grid-template-columns:1fr 1fr;gap:1rem}.form-group{display:flex;flex-direction:column;gap:.5rem}.form-label-row{display:flex;justify-content:space-between;align-items:center;gap:1rem}.form-label{font-size:.95rem;font-weight:600;color:var(--text-primary)}.checkbox-label{display:flex;align-items:center;gap:.5rem;font-size:.9rem;font-weight:500;color:var(--text-secondary);cursor:pointer;-webkit-user-select:none;user-select:none}.checkbox-label input[type=checkbox]{cursor:pointer;width:16px;height:16px;accent-color:var(--accent-color)}.checkbox-label input[type=checkbox]:disabled{cursor:not-allowed;opacity:.6}.checkbox-text{white-space:nowrap}.form-input,.form-select{padding:.75rem 1rem;border:1px solid var(--border-color);border-radius:8px;background-color:var(--bg-primary);color:var(--text-primary);font-size:.95rem;transition:all .2s ease}.form-input:disabled,.form-select:disabled{opacity:.6;cursor:not-allowed;background-color:var(--bg-tertiary)}.form-input[type=number]{-moz-appearance:textfield}.form-input[type=number]::-webkit-inner-spin-button,.form-input[type=number]::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}.form-select{cursor:pointer;appearance:none;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23666' d='M6 9L1 4h10z'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 1rem center;padding-right:2.5rem}.form-input:focus,.form-select:focus{outline:none;border-color:var(--accent-color);box-shadow:0 0 0 3px #007bff1a}.form-input::placeholder{color:var(--text-secondary);opacity:.6}.form-hint{font-size:.85rem;color:var(--text-secondary);font-style:italic}.telegram-input-row{display:flex;gap:.5rem;align-items:stretch}.telegram-input-row .form-input{flex:1}.btn-update-inline{padding:.75rem 1rem;border:none;border-radius:8px;font-size:.9rem;font-weight:600;cursor:pointer;transition:all .2s ease;background-color:#3b82f6;color:#fff;white-space:nowrap;min-width:90px}.btn-update-inline:hover:not(:disabled){background-color:#2563eb;transform:translateY(-1px);box-shadow:0 4px 12px #3b82f64d}.btn-update-inline:disabled{opacity:.5;cursor:not-allowed}.form-actions{display:flex;gap:1rem;margin-top:.5rem}.info-note{display:flex;align-items:flex-start;gap:.75rem;padding:1rem 1.25rem;background:linear-gradient(135deg,#3b82f614,#3b82f608);border:1px solid rgba(59,130,246,.2);border-left:3px solid #3b82f6;border-radius:8px;margin-top:1.5rem;font-size:.875rem;line-height:1.5}.info-icon{font-size:1.25rem;flex-shrink:0;margin-top:.125rem}.info-text{color:var(--text-secondary)}.info-text strong{color:var(--text-primary);font-weight:600}.btn{flex:1;padding:.875rem 1.5rem;border:none;border-radius:8px;font-size:1rem;font-weight:600;cursor:pointer;transition:all .2s ease;display:flex;align-items:center;justify-content:center}.btn:disabled{opacity:.5;cursor:not-allowed}.btn-start{background-color:#10b981;color:#fff}.btn-start:hover:not(:disabled){background-color:#059669;transform:translateY(-1px);box-shadow:0 4px 12px #10b9814d}.btn-update{background-color:#3b82f6;color:#fff}.btn-update:hover:not(:disabled){background-color:#2563eb;transform:translateY(-1px);box-shadow:0 4px 12px #3b82f64d}.btn-stop{background-color:#ef4444;color:#fff}.btn-stop:hover:not(:disabled){background-color:#dc2626;transform:translateY(-1px);box-shadow:0 4px 12px #ef44444d}@media(max-width:768px){.alert-config{padding:1.25rem}.alert-config-header{flex-direction:column;align-items:flex-start;gap:.75rem}.market-title-section{flex-direction:column;align-items:flex-start;padding:.875rem 1rem}.market-action-buttons{width:100%;flex-direction:row}.market-link-btn{justify-content:center}.form-label-row{flex-direction:column;align-items:flex-start;gap:.5rem}.form-row{grid-template-columns:1fr}.form-actions{flex-direction:column}.btn{width:100%}}@media(max-width:480px){.alert-config{padding:.875rem;border-radius:8px}.alert-config-title{font-size:1.1rem}.form-input,.form-select{padding:.625rem .875rem;font-size:.9rem}.form-select{padding-right:2rem}.btn{padding:.75rem 1.25rem;font-size:.95rem}}.monitoring-loading{display:flex;flex-direction:column;align-items:center;justify-content:center;padding:3rem 1.5rem;gap:1rem;background-color:var(--bg-primary);border:1px solid var(--border-color);border-radius:8px;margin-top:1rem}.monitoring-loading .spinner{width:40px;height:40px;border:3px solid var(--border-color);border-top-color:var(--accent-color);border-radius:50%;animation:spin .8s linear infinite}.monitoring-loading p{color:var(--text-secondary);font-size:.95rem;margin:0}@keyframes spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.alert-config-section{background-color:var(--bg-primary);border:1px solid var(--border-color);border-radius:8px;overflow:hidden;margin-top:1.5rem}.config-toggle{width:100%;display:flex;justify-content:space-between;align-items:center;padding:1rem 1.25rem;background-color:transparent;border:none;cursor:pointer;transition:all .2s ease;font-family:inherit}.config-toggle:hover{background-color:var(--bg-tertiary)}.config-toggle-left{display:flex;align-items:center;gap:.75rem;color:var(--text-primary)}.config-toggle-left svg:first-child{font-size:.875rem;color:var(--text-secondary);transition:transform .2s ease}.config-icon{font-size:1rem;color:var(--accent-color)}.config-toggle-title{font-size:1rem;font-weight:600;color:var(--text-primary)}.alert-status-badge{display:flex;align-items:center;gap:.25rem;font-size:.85rem;font-weight:600;padding:.375rem .75rem;border-radius:20px;white-space:nowrap}.alert-status-badge.active{color:#10b981;background-color:#10b9811a}.alert-status-badge.inactive{color:var(--text-secondary);background-color:var(--bg-tertiary)}.config-content{padding:0 1.25rem 1.25rem;display:flex;flex-direction:column;gap:1.25rem}@media(max-width:768px){.config-toggle{padding:.875rem 1rem}.config-toggle-left{gap:.5rem}.config-toggle-title{font-size:.95rem}.config-content{padding:0 1rem 1rem}}@media(max-width:480px){.config-toggle{padding:.75rem .875rem}.config-toggle-title{font-size:.9rem}.alert-status-badge{font-size:.8rem;padding:.3rem .625rem}}.market-selection-group{background-color:var(--bg-tertiary);border:1px solid var(--border-color);border-radius:8px;padding:1rem;margin-top:.5rem}.monitoring-mode-options{display:flex;flex-direction:column;gap:.75rem;margin:.75rem 0}.radio-label{display:flex;align-items:flex-start;gap:.75rem;padding:.75rem;border:1px solid var(--border-color);border-radius:6px;background-color:var(--bg-primary);cursor:pointer;transition:all .2s ease}.radio-label:hover:not(:has(input:disabled)){border-color:var(--accent-color);background-color:var(--bg-secondary)}.radio-label input[type=radio]{margin-top:.25rem;cursor:pointer;flex-shrink:0}.radio-label input[type=radio]:disabled{cursor:not-allowed}.radio-text{flex:1;color:var(--text-primary);line-height:1.5}.radio-text strong{color:var(--text-primary);font-weight:600}.specific-markets-selection{margin-top:1rem;padding:1rem;background-color:var(--bg-primary);border:1px solid var(--border-color);border-radius:6px}.markets-list-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:.75rem}.select-all-btn{padding:.375rem .75rem;background-color:var(--accent-color);color:#fff;border:none;border-radius:4px;font-size:.875rem;cursor:pointer;transition:all .2s ease}.select-all-btn:hover:not(:disabled){background-color:var(--accent-hover);transform:translateY(-1px)}.select-all-btn:disabled{background-color:var(--bg-tertiary);color:var(--text-secondary);cursor:not-allowed}.markets-list{display:flex;flex-direction:column;gap:.5rem;max-height:400px;overflow-y:auto;padding:.5rem;background-color:var(--bg-secondary);border-radius:4px}.market-checkbox{display:flex;align-items:center;gap:.75rem;padding:.625rem;border:1px solid var(--border-color);border-radius:4px;background-color:var(--bg-primary);cursor:pointer;transition:all .2s ease}.market-checkbox:hover:not(:has(input:disabled)){border-color:var(--accent-color);background-color:var(--bg-secondary);transform:translate(2px)}.market-checkbox input[type=checkbox]{cursor:pointer;flex-shrink:0}.market-checkbox input[type=checkbox]:disabled{cursor:not-allowed}.market-checkbox .checkbox-text{flex:1;display:flex;justify-content:space-between;align-items:center}.market-volume{font-size:.85rem;color:var(--text-secondary);margin-left:.5rem}@media(max-width:768px){.market-selection-group,.specific-markets-selection{padding:.875rem}.markets-list{max-height:300px}}@media(max-width:480px){.markets-list-header{flex-direction:column;align-items:flex-start;gap:.5rem}.select-all-btn{width:100%}.market-checkbox .checkbox-text{flex-direction:column;align-items:flex-start;gap:.25rem}.market-volume{margin-left:0}}.interval-input-group{display:flex;gap:.5rem;align-items:center}.interval-input-group .interval-value{flex:1;min-width:0}.interval-input-group .interval-unit{flex-shrink:0;width:auto;min-width:120px;padding:.75rem;border:1px solid var(--border-color);border-radius:8px;background-color:var(--bg-primary);color:var(--text-primary);font-size:.9rem;cursor:pointer;transition:all .2s ease}.interval-input-group .interval-unit:hover:not(:disabled){border-color:#3b82f6}.interval-input-group .interval-unit:disabled{opacity:.5;cursor:not-allowed}.alert-summary-container{max-width:1400px;margin:0 auto;width:100%;box-sizing:border-box}.summary-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:2rem}.summary-header h2{font-size:1.75rem;font-weight:600;color:var(--text-primary);margin:0}.alert-count{padding:.5rem 1rem;background:var(--accent-color);color:#fff;border-radius:20px;font-size:.875rem;font-weight:500}.summary-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(350px,1fr));gap:1.5rem}.summary-card{background:var(--bg-secondary);border:1px solid var(--border-color);border-radius:12px;padding:1rem;cursor:pointer;transition:all .2s ease;box-shadow:0 2px 4px var(--shadow);min-width:0}.summary-card:hover{transform:translateY(-2px);box-shadow:0 4px 12px #00000026;border-color:var(--accent-color)}.summary-card.spike-detected{border-color:#10b981;box-shadow:0 0 0 2px #10b98133,0 0 20px #10b9814d,0 2px 4px var(--shadow);animation:spike-pulse 2s ease-in-out infinite}.summary-card.spike-detected:hover{box-shadow:0 0 0 2px #10b9814d,0 0 24px #10b98166,0 4px 12px #00000026}@keyframes spike-pulse{0%,to{box-shadow:0 0 0 2px #10b98133,0 0 20px #10b9814d,0 2px 4px var(--shadow)}50%{box-shadow:0 0 0 2px #10b9814d,0 0 28px #10b98166,0 2px 4px var(--shadow)}}.card-header{margin-bottom:1rem;padding-bottom:1rem;border-bottom:1px solid var(--border-color)}.card-title-row{display:flex;justify-content:space-between;align-items:center;margin-bottom:.75rem}.card-title{font-size:1.125rem;font-weight:600;color:var(--text-primary);margin:0;flex:1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;min-width:0}.card-action-buttons{display:flex;gap:.5rem;align-items:center}.market-link-btn,.analyze-sentiment-btn{background:none;border:none;color:var(--accent-color);cursor:pointer;padding:.375rem;font-size:.875rem;transition:all .2s ease;border-radius:4px;flex-shrink:0}.market-link-btn:hover,.analyze-sentiment-btn:hover{background:var(--accent-color);color:#fff;transform:scale(1.1)}.card-badges{display:flex;gap:.5rem;flex-wrap:wrap}.status-badge{display:inline-flex;align-items:center;gap:.375rem;padding:.25rem .625rem;border-radius:12px;font-size:.75rem;font-weight:500}.status-badge.active{background:#10b98126;color:#10b981}.pulse-dot{width:6px;height:6px;background:#10b981;border-radius:50%;animation:pulse 2s ease-in-out infinite}.status-badge.threshold-exceeded .pulse-dot{animation:pulse-glow 2s ease-in-out infinite;box-shadow:0 0 8px #10b981cc,0 0 12px #10b98199}@keyframes pulse{0%,to{opacity:1}50%{opacity:.5}}@keyframes pulse-glow{0%,to{opacity:1;box-shadow:0 0 8px #10b981cc,0 0 12px #10b98199}50%{opacity:.7;box-shadow:0 0 12px #10b981,0 0 18px #10b981cc}}.threshold-badge{padding:.25rem .625rem;background:var(--bg-primary);border:1px solid var(--border-color);border-radius:12px;font-size:.75rem;color:var(--text-secondary);font-weight:500}.markets-badge{padding:.25rem .625rem;background:var(--accent-color);color:#fff;border-radius:12px;font-size:.75rem;font-weight:600}.card-metrics{display:grid;grid-template-columns:repeat(3,1fr);gap:.75rem;margin-bottom:1rem}.metric{display:flex;flex-direction:column;gap:.25rem;padding:.5rem;background:var(--bg-primary);border-radius:8px}.metric-label{font-size:.75rem;color:var(--text-secondary);font-weight:500;text-transform:uppercase;letter-spacing:.025em}.metric-value{font-size:1.125rem;font-weight:600;color:var(--text-primary)}.metric-value.positive{color:#10b981}.metric-value.negative{color:#ef4444}.top-mover{padding:.5rem;background:var(--bg-primary);border-radius:8px;margin-bottom:1rem}.mover-header{display:flex;align-items:center;gap:.5rem;margin-bottom:.5rem}.trophy-icon{color:#f59e0b;font-size:.875rem}.mover-label{font-size:.75rem;color:var(--text-secondary);font-weight:500;text-transform:uppercase;letter-spacing:.025em}.mover-details{display:flex;justify-content:space-between;align-items:center;gap:.75rem}.mover-name{font-size:.875rem;color:var(--text-primary);font-weight:500;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;flex:1;min-width:0}.mover-spike{font-size:.875rem;font-weight:600;white-space:nowrap}.mover-spike.positive{color:#10b981}.mover-spike.negative{color:#ef4444}.card-chart{margin-bottom:1rem;background:var(--bg-primary);border-radius:8px;padding:.5rem;height:80px}.sparkline-empty{display:flex;flex-direction:column;align-items:center;justify-content:center;height:60px;color:var(--text-secondary);gap:.5rem}.sparkline-empty .empty-icon{font-size:1.25rem;opacity:.5}.sparkline-empty span{font-size:.75rem}.card-no-data{display:flex;flex-direction:column;align-items:center;justify-content:center;padding:2rem 1rem;text-align:center;color:var(--text-secondary)}.no-data-icon{font-size:2rem;opacity:.5;margin-bottom:.75rem}.card-no-data p{margin:0 0 .5rem;font-size:.875rem;font-weight:500;color:var(--text-primary)}.no-data-hint{font-size:.75rem;color:var(--text-secondary)}.card-footer{display:flex;justify-content:space-between;align-items:center;padding-top:1rem;margin-top:1rem;border-top:1px solid var(--border-color)}.last-checked{font-size:.75rem;color:var(--text-secondary)}.summary-loading{display:flex;flex-direction:column;align-items:center;justify-content:center;padding:4rem 2rem;text-align:center}.summary-loading .spinner{width:40px;height:40px;border:3px solid var(--border-color);border-top-color:var(--accent-color);border-radius:50%;animation:spin .8s linear infinite;margin-bottom:1rem}.summary-loading p{color:var(--text-secondary);font-size:.875rem}.summary-error{display:flex;flex-direction:column;align-items:center;justify-content:center;padding:4rem 2rem;text-align:center}.error-message{color:#ef4444;margin-bottom:1rem;font-size:.875rem}.retry-btn{padding:.625rem 1.25rem;background:var(--accent-color);color:#fff;border:none;border-radius:8px;font-size:.875rem;font-weight:500;cursor:pointer;transition:all .2s ease}.retry-btn:hover{background:var(--accent-hover);transform:translateY(-1px)}.summary-empty{display:flex;flex-direction:column;align-items:center;justify-content:center;padding:4rem 2rem;text-align:center}.summary-empty .empty-icon{font-size:4rem;color:var(--text-secondary);opacity:.5;margin-bottom:1.5rem}.summary-empty h3{font-size:1.5rem;font-weight:600;color:var(--text-primary);margin:0 0 .75rem}.summary-empty p{font-size:.875rem;color:var(--text-secondary);margin:0 0 1.5rem;max-width:400px}.create-alert-btn{padding:.75rem 1.5rem;background:var(--accent-color);color:#fff;border:none;border-radius:8px;font-size:.875rem;font-weight:500;cursor:pointer;transition:all .2s ease}.create-alert-btn:hover{background:var(--accent-hover);transform:translateY(-2px);box-shadow:0 4px 12px #007bff4d}@media(max-width:768px){.alert-summary-container{padding:0;max-width:100%}.summary-header{flex-direction:column;align-items:flex-start;gap:1rem;margin-bottom:1.5rem}.summary-grid{grid-template-columns:1fr;gap:1rem}.card-metrics{grid-template-columns:1fr}.metric{flex-direction:row;justify-content:space-between;align-items:center}.mover-details{flex-direction:column;align-items:flex-start}}@media(max-width:480px){.alert-summary-container{padding:0}.summary-header{margin-bottom:1rem}.summary-header h2{font-size:1.5rem}.card-title{font-size:1rem}.summary-card{padding:1rem}.summary-grid{gap:.875rem}}.volume-alerts-container{display:flex;min-height:calc(100vh - 73px);background-color:var(--bg-primary);overflow-x:hidden}.volume-alerts-main{flex:1;padding:2rem;margin-left:250px;transition:margin-left .3s ease;width:100%;box-sizing:border-box;overflow-x:hidden}.volume-alerts-main.sidebar-closed{margin-left:0}.volume-alerts-header{margin-bottom:2rem}.header-content{display:flex;flex-direction:column;gap:.5rem}.page-title{font-size:2rem;font-weight:700;color:var(--text-primary);margin:0}.page-subtitle{font-size:1rem;color:var(--text-secondary);margin:0}.volume-alerts-content{display:flex;flex-direction:column;gap:1.5rem;width:100%;box-sizing:border-box}@media(max-width:768px){.volume-alerts-main{padding:1rem;margin-left:0;max-width:100vw}.volume-alerts-main.sidebar-open{margin-left:0}.page-title{font-size:1.75rem}.page-subtitle{font-size:.95rem}.volume-alerts-content{gap:1rem}}@media(max-width:480px){.volume-alerts-main{padding:1.5rem;max-width:100vw}.volume-alerts-header{margin-bottom:1rem}.page-title{font-size:1.5rem}.page-subtitle{font-size:.9rem}}.sentiment-sidebar{width:250px;height:calc(100vh - 60px);background-color:var(--bg-secondary);border-right:1px solid var(--border-color);position:fixed;left:0;top:60px;transition:transform .3s ease;z-index:100;overflow-y:auto}.sentiment-sidebar.closed{transform:translate(-100%)}.sentiment-sidebar-content{padding:1.5rem 1rem}.new-research-btn{width:100%;display:flex;align-items:center;justify-content:center;gap:.5rem;padding:.75rem 1rem;background:linear-gradient(135deg,var(--accent-color),#2563eb);color:#fff;border:none;border-radius:8px;font-weight:600;cursor:pointer;transition:transform .2s,box-shadow .2s;margin-bottom:1.5rem}.new-research-btn:hover{transform:translateY(-2px);box-shadow:0 4px 12px #3b82f666}.research-list{margin-top:1rem}.research-list-header{display:flex;align-items:center;gap:.5rem;padding:.75rem .5rem;color:var(--text-secondary);font-size:.875rem;font-weight:600;text-transform:uppercase;letter-spacing:.05em;border-bottom:1px solid var(--border-color);margin-bottom:.5rem}.empty-list{text-align:center;padding:2rem 1rem;color:var(--text-secondary)}.empty-list p{margin:.25rem 0}.research-items{list-style:none;padding:0;margin:0}.research-items li{margin-bottom:.25rem}.research-item{display:flex;align-items:center;gap:.75rem;width:100%;padding:.25rem .5rem;background:none;border:1px solid transparent;color:var(--text-primary);text-align:left;cursor:pointer;transition:all .2s ease;border-radius:6px}.research-item:hover{background-color:var(--hover-bg);border-color:var(--border-color)}.research-item.active{background-color:var(--accent-color);color:#fff}.research-icon{font-size:1.2rem;flex-shrink:0}.research-item-content{flex:1;display:flex;flex-direction:column;gap:.25rem;min-width:0}.research-item-title{font-weight:600;font-size:.875rem;margin-bottom:.5rem;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.research-item-meta{display:flex;align-items:center;gap:.5rem;font-size:.75rem;opacity:.8}.research-type-badge{padding:.125rem .5rem;background-color:#ffffff1a;border-radius:4px;font-weight:600}.research-item.active .research-type-badge{background-color:#fff3}.research-date{font-size:.75rem}.research-item-actions{display:flex;flex-direction:column;align-items:center;gap:.25rem;opacity:0;transition:opacity .2s}.research-item:hover .research-item-actions{opacity:1}.delete-research-btn,.create-alert-btn{padding:.4rem;background:transparent;border:none;color:var(--text-secondary);cursor:pointer;border-radius:4px;transition:all .2s;display:flex;align-items:center;justify-content:center;font-size:.875rem}.create-alert-btn:hover{background-color:#3b82f61a;color:var(--accent-color)}.delete-research-btn:hover{background-color:#ef44441a;color:#ef4444}.research-item.active .delete-research-btn,.research-item.active .create-alert-btn{color:#fff;opacity:.9}.research-item.active .create-alert-btn:hover,.research-item.active .delete-research-btn:hover{background-color:#fff3;color:#fff;opacity:1}@media(max-width:768px){.sentiment-sidebar{width:250px;z-index:1000}}@media(max-width:480px){.sentiment-sidebar{width:220px}.research-item{padding:.625rem .5rem;font-size:.875rem}.research-icon{font-size:1rem}}.market-input-container{width:100%}.market-input-card{background-color:var(--bg-secondary);border-radius:12px;padding:2rem;box-shadow:0 2px 8px #0000001a}.market-input-title{font-size:1.5rem;font-weight:700;color:var(--text-primary);margin-bottom:.5rem}.market-input-subtitle{font-size:.875rem;color:var(--text-secondary);margin-bottom:1.5rem}.market-input-form{width:100%}.input-wrapper{display:flex;gap:.75rem;margin-bottom:.75rem}.market-input{flex:1;padding:.875rem 1rem;border:2px solid var(--border-color);border-radius:8px;background-color:var(--bg-primary);color:var(--text-primary);font-size:.875rem;transition:border-color .2s}.market-input:focus{outline:none;border-color:var(--accent-color)}.market-input:disabled{opacity:.6;cursor:not-allowed}.fetch-button{display:flex;align-items:center;gap:.5rem;padding:.875rem 1.5rem;background:linear-gradient(135deg,var(--accent-color),#2563eb);color:#fff;border:none;border-radius:8px;font-weight:600;cursor:pointer;transition:transform .2s,box-shadow .2s;white-space:nowrap}.fetch-button:hover:not(:disabled){transform:translateY(-2px);box-shadow:0 4px 12px #3b82f666}.fetch-button:disabled{opacity:.6;cursor:not-allowed;transform:none}.button-spinner{width:16px;height:16px;border:2px solid rgba(255,255,255,.3);border-top-color:#fff;border-radius:50%;animation:spin .6s linear infinite}.error-message{padding:.75rem 1rem;background-color:#ef44441a;border:1px solid rgba(239,68,68,.3);border-radius:6px;color:var(--error-color);font-size:.875rem;margin-bottom:.75rem}.input-hint{font-size:.8125rem;color:var(--text-secondary);font-style:italic}@media(max-width:768px){.market-input-card{padding:1.5rem}.input-wrapper{flex-direction:column}.fetch-button{width:100%;justify-content:center}}.market-display{background-color:var(--bg-secondary);border-radius:12px;margin-bottom:1.5rem;box-shadow:0 2px 8px #0000001a;overflow:hidden}.market-display-toggle{width:100%;display:flex;align-items:center;justify-content:space-between;padding:1rem 1.5rem;background-color:transparent;border:none;cursor:pointer;transition:background-color .2s}.market-display-toggle:hover{background-color:var(--hover-bg)}.market-type-badge{padding:.25rem .75rem;background-color:var(--accent-color);color:#fff;border-radius:12px;font-size:.75rem;font-weight:600}.market-display-actions{display:flex;align-items:center;gap:.75rem}.market-link{display:flex;align-items:center;gap:.5rem;padding:.5rem 1rem;background-color:var(--accent-color);color:#fff;text-decoration:none;border:none;border-radius:6px;font-size:.875rem;font-weight:600;transition:transform .2s;cursor:pointer}.market-link:hover{transform:translateY(-2px)}.market-display-content{padding:1.5rem;border-top:1px solid var(--border-color)}.market-header{margin-bottom:1.5rem}.market-title{font-size:1.25rem;font-weight:700;color:var(--text-primary);margin-bottom:.5rem}.market-subtitle{font-size:.875rem;color:var(--text-secondary);margin:0}.markets-table-container{overflow-x:auto}.markets-table{width:100%;border-collapse:collapse}.markets-table th{text-align:left;padding:.75rem;background-color:var(--bg-primary);color:var(--text-secondary);font-size:.875rem;font-weight:600;border-bottom:2px solid var(--border-color)}.markets-table td{padding:1rem .75rem;border-bottom:1px solid var(--border-color);font-size:.875rem}.market-name-cell{min-width:200px}.market-name{font-weight:600;color:var(--text-primary);margin-bottom:.25rem}.market-ticker{font-size:.75rem;color:var(--text-secondary);font-family:monospace}.price-cell{font-weight:600;color:var(--accent-color)}.volume-cell{color:var(--text-secondary)}@media(max-width:768px){.market-display-toggle{padding:.875rem 1rem}.toggle-left{gap:.5rem}.toggle-title{font-size:.875rem}.market-display-actions{gap:.5rem}.market-link span{display:none}.market-display-content{padding:1rem}.markets-table th,.markets-table td{padding:.5rem;font-size:.8125rem}.market-name-cell{min-width:150px}}.sentiment-gauge{background-color:var(--bg-secondary);padding:1.5rem;border-radius:8px;margin-bottom:1.5rem}.gauge-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:1rem}.gauge-header h4{font-size:1rem;font-weight:600;color:var(--text-primary);margin:0}.total-count{font-size:.875rem;color:var(--text-secondary)}.gauge-bar{display:flex;height:24px;border-radius:12px;overflow:hidden;margin-bottom:1rem;background-color:var(--bg-primary)}.gauge-segment{height:100%;transition:width .3s ease}.gauge-segment.positive{background-color:#10b981}.gauge-segment.neutral{background-color:#6b7280}.gauge-segment.negative{background-color:#ef4444}.gauge-labels{display:flex;gap:1rem;margin-bottom:1rem;flex-wrap:wrap}.gauge-label{display:flex;align-items:center;gap:.5rem;font-size:.875rem}.label-color{width:12px;height:12px;border-radius:3px}.positive-color{background-color:#10b981}.neutral-color{background-color:#6b7280}.negative-color{background-color:#ef4444}.gauge-label span{color:var(--text-secondary)}.gauge-label strong{color:var(--text-primary);font-weight:600}.gauge-score{padding-top:1rem;border-top:1px solid var(--border-color);display:flex;justify-content:space-between;align-items:center}.score-label{font-size:.875rem;color:var(--text-secondary);font-weight:600}.score-value{font-size:1.5rem;font-weight:700}.gauge-empty{text-align:center;padding:2rem;color:var(--text-secondary);font-style:italic}.social-sentiment{background-color:var(--bg-secondary);border-radius:12px;margin-bottom:1.5rem;box-shadow:0 2px 8px #0000001a;overflow:hidden}.social-sentiment-toggle{width:100%;display:flex;align-items:center;justify-content:space-between;padding:1rem 1.5rem;background-color:transparent;border:none;cursor:pointer;transition:background-color .2s}.social-sentiment-toggle:hover{background-color:var(--hover-bg)}.twitter-icon{color:#1da1f2}.data-badge{padding:.25rem .75rem;background-color:#1da1f21a;color:#1da1f2;border-radius:12px;font-size:.75rem;font-weight:600}.social-sentiment-content{padding:1.5rem;border-top:1px solid var(--border-color)}.query-input:focus{outline:none;border-color:#1da1f2}.fetch-btn{padding:.75rem 1.5rem;background-color:#1da1f2;color:#fff;border:none;border-radius:8px;font-weight:600;cursor:pointer;transition:transform .2s;white-space:nowrap}.market-label-btn:hover:not(:disabled){background-color:#1da1f2;color:#fff;border-color:#1da1f2;transform:translateY(-1px)}.spinner{width:40px;height:40px;border:4px solid var(--border-color);border-top-color:#1da1f2;border-radius:50%;animation:spin .8s linear infinite;margin:0 auto 1rem}.keywords-section{margin-bottom:1.5rem}.keywords-section h4{font-size:1rem;font-weight:600;color:var(--text-primary);margin-bottom:.75rem}.keywords-list{display:flex;flex-wrap:wrap;gap:.5rem}.keyword-badge{padding:.375rem .875rem;background-color:var(--bg-primary);border:1px solid var(--border-color);border-radius:16px;font-size:.875rem;color:var(--text-primary)}.tweets-section h4{font-size:1rem;font-weight:600;color:var(--text-primary);margin-bottom:.75rem}.tweets-list{display:flex;flex-direction:column;gap:1rem;max-height:600px;overflow-y:auto}.tweet-card{padding:1rem;background-color:var(--bg-primary);border:1px solid var(--border-color);border-radius:8px;transition:transform .2s,box-shadow .2s}.tweet-card:hover{transform:translateY(-2px);box-shadow:0 4px 12px #0000001a}.tweet-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:.5rem}.tweet-author{font-weight:600;color:#1da1f2;font-size:.875rem;text-decoration:none;transition:color .2s}.tweet-author:hover{color:#1a8cd8;text-decoration:underline}.tweet-link{text-decoration:none;color:inherit;display:block}.tweet-link:hover .tweet-text{color:var(--text-primary)}.tweet-text{font-size:.875rem;color:var(--text-primary);line-height:1.5;margin-bottom:.75rem;cursor:pointer}.tweet-metrics{display:flex;gap:1rem;font-size:.8125rem;color:var(--text-secondary)}.empty-icon{font-size:3rem;color:#1da1f2;margin-bottom:1rem;opacity:.5}@media(max-width:768px){.fetch-input-wrapper{flex-direction:column}.fetch-btn{width:100%}.tweet-header{flex-direction:column;align-items:flex-start;gap:.5rem}}.news-sentiment{background-color:var(--bg-secondary);border-radius:12px;margin-bottom:1.5rem;box-shadow:0 2px 8px #0000001a;overflow:hidden}.news-sentiment-toggle{width:100%;display:flex;align-items:center;justify-content:space-between;padding:1rem 1.5rem;background-color:transparent;border:none;cursor:pointer;transition:background-color .2s}.news-sentiment-toggle:hover{background-color:var(--hover-bg)}.toggle-left{display:flex;align-items:center;gap:.75rem;color:var(--text-primary);font-weight:600}.news-icon{color:#f59e0b}.toggle-title{font-size:1rem}.data-badge{padding:.25rem .75rem;background-color:#f59e0b1a;color:#f59e0b;border-radius:12px;font-size:.75rem;font-weight:600}.news-sentiment-content{padding:1.5rem;border-top:1px solid var(--border-color)}.fetch-section{margin-bottom:1.5rem}.fetch-input-wrapper{display:flex;gap:.75rem}.query-input{flex:1;padding:.75rem 1rem;border:2px solid var(--border-color);border-radius:8px;background-color:var(--bg-primary);color:var(--text-primary);font-size:.875rem;transition:border-color .2s}.query-input:focus{outline:none;border-color:#f59e0b}.fetch-btn{padding:.75rem 1.5rem;background-color:#f59e0b;color:#fff;border:none;border-radius:8px;font-weight:600;cursor:pointer;transition:transform .2s;white-space:nowrap}.fetch-btn:hover:not(:disabled){transform:translateY(-2px)}.fetch-btn:disabled{opacity:.6;cursor:not-allowed}.market-labels{display:flex;flex-wrap:wrap;gap:.5rem;align-items:center;margin-top:.75rem;padding-top:.75rem;border-top:1px solid var(--border-color)}.market-labels-hint{font-size:.75rem;color:var(--text-secondary);font-weight:600}.market-label-btn{padding:.4rem .75rem;background-color:var(--bg-primary);color:var(--text-primary);border:1px solid var(--border-color);border-radius:6px;font-size:.75rem;font-weight:500;cursor:pointer;transition:all .2s}.market-label-btn:hover:not(:disabled){background-color:var(--accent-color);color:#fff;border-color:var(--accent-color);transform:translateY(-1px)}.market-label-btn:disabled{opacity:.5;cursor:not-allowed}.loading-state{text-align:center;padding:3rem;color:var(--text-secondary)}.spinner{width:40px;height:40px;border:4px solid var(--border-color);border-top-color:#f59e0b;border-radius:50%;animation:spin .8s linear infinite;margin:0 auto 1rem}.summary-stats{display:flex;gap:2rem;padding:1rem;background-color:var(--bg-primary);border-radius:8px;margin-bottom:1.5rem;flex-wrap:wrap}.stat-item{display:flex;flex-direction:column;gap:.25rem}.stat-label{font-size:.8125rem;color:var(--text-secondary);font-weight:600}.stat-value{font-size:1.125rem;color:var(--text-primary);font-weight:700}.articles-section h4{font-size:1rem;font-weight:600;color:var(--text-primary);margin-bottom:.75rem}.articles-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:.75rem}.sort-select{padding:.5rem 1rem;border:1px solid var(--border-color);border-radius:6px;background-color:var(--bg-primary);color:var(--text-primary);font-size:.875rem;cursor:pointer}.articles-list{display:flex;flex-direction:column;gap:1rem;max-height:600px;overflow-y:auto}.article-card{padding:1rem;background-color:var(--bg-primary);border:1px solid var(--border-color);border-radius:8px;transition:border-color .2s}.article-card:hover{border-color:#f59e0b}.article-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:.75rem}.article-source{display:flex;align-items:center;gap:.5rem;font-size:.875rem;color:var(--text-secondary)}.source-icon{width:16px;height:16px;border-radius:3px}.sentiment-badge{padding:.25rem .625rem;border-radius:12px;font-size:.75rem;font-weight:600;text-transform:capitalize}.sentiment-positive{background-color:#10b9811a;color:#10b981}.sentiment-negative{background-color:#ef44441a;color:#ef4444}.sentiment-neutral{background-color:#6b72801a;color:#6b7280}.article-title{display:flex;align-items:center;gap:.5rem;font-size:.9375rem;font-weight:600;color:var(--text-primary);text-decoration:none;line-height:1.5;margin-bottom:.5rem;transition:color .2s}.article-title:hover{color:#f59e0b}.external-icon{font-size:.75rem;opacity:.6}.article-meta{display:flex;justify-content:space-between;font-size:.8125rem;color:var(--text-secondary)}.relevance-score{font-weight:600}.empty-state{text-align:center;padding:3rem;color:var(--text-secondary)}.empty-icon{font-size:3rem;color:#f59e0b;margin-bottom:1rem;opacity:.5}.empty-hint{font-size:.875rem;opacity:.7}.error-message{padding:.75rem 1rem;background-color:#ef44441a;border:1px solid rgba(239,68,68,.3);border-radius:6px;color:var(--error-color);font-size:.875rem;margin-top:.75rem}@media(max-width:768px){.fetch-input-wrapper{flex-direction:column}.fetch-btn{width:100%}.articles-header{flex-direction:column;align-items:flex-start;gap:.75rem}.sort-select{width:100%}.article-header{flex-direction:column;align-items:flex-start;gap:.5rem}.article-meta{flex-direction:column;gap:.25rem}}.sentiment-analysis-container{display:flex;min-height:100vh;background-color:var(--bg-primary)}.sentiment-analysis-main{flex:1;padding:2rem;margin-left:250px;transition:margin-left .3s ease}.sentiment-analysis-main.sidebar-closed{margin-left:0}.sentiment-analysis-header{margin-bottom:2rem}.header-content{max-width:1200px}.page-title{font-size:2rem;font-weight:700;color:var(--text-primary);margin-bottom:.5rem}.page-subtitle{font-size:1rem;color:var(--text-secondary)}.sentiment-analysis-content{max-width:1200px}.loading-container,.error-container{display:flex;flex-direction:column;align-items:center;justify-content:center;padding:3rem;background-color:var(--bg-secondary);border-radius:12px;margin-top:2rem}.spinner{width:40px;height:40px;border:4px solid var(--bg-secondary);border-top-color:var(--accent-color);border-radius:50%;animation:spin .8s linear infinite;margin-bottom:1rem}@keyframes spin{to{transform:rotate(360deg)}}.error-message{color:var(--error-color);font-size:1rem}.new-research-container{margin-top:2rem}.research-actions{margin-top:2rem;padding:1.5rem;background-color:var(--bg-secondary);border-radius:12px;display:flex;justify-content:center;border-top:2px solid var(--border-color)}.delete-research-bottom-btn{display:flex;align-items:center;gap:.5rem;padding:.75rem 1.5rem;background-color:transparent;color:var(--text-secondary);border:2px solid var(--border-color);border-radius:8px;font-weight:600;cursor:pointer;transition:all .2s}.delete-research-bottom-btn:hover{background-color:#ef44441a;border-color:#ef4444;color:#ef4444;transform:translateY(-2px)}@media(max-width:768px){.sentiment-analysis-main{margin-left:0;padding:1rem}.sentiment-analysis-main.sidebar-open{margin-left:0}.page-title{font-size:1.5rem}.page-subtitle{font-size:.875rem}}:root{--bg-primary: #ffffff;--bg-secondary: #f5f5f5;--bg-tertiary: #e0e0e0;--text-primary: #1a1a1a;--text-secondary: #666666;--border-color: #ddd;--accent-color: #007bff;--accent-hover: #0056b3;--success-color: #28a745;--danger-color: #dc3545;--shadow: rgba(0, 0, 0, .1)}[data-theme=dark]{--bg-primary: #1a1a1a;--bg-secondary: #2d2d2d;--bg-tertiary: #3d3d3d;--text-primary: #ffffff;--text-secondary: #b0b0b0;--border-color: #444;--accent-color: #4da6ff;--accent-hover: #0077ff;--success-color: #4caf50;--danger-color: #f44336;--shadow: rgba(0, 0, 0, .3)}*{margin:0;padding:0;box-sizing:border-box}body{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Fira Sans,Droid Sans,Helvetica Neue,sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;background-color:var(--bg-primary);color:var(--text-primary);transition:background-color .3s ease,color .3s ease}#root{min-height:100vh}::-webkit-scrollbar{width:8px;height:8px}::-webkit-scrollbar-track{background:var(--bg-secondary)}::-webkit-scrollbar-thumb{background:var(--text-secondary);border-radius:4px}::-webkit-scrollbar-thumb:hover{background:var(--accent-color)}button{font-family:inherit;cursor:pointer;border:none;background:none}a{color:inherit;text-decoration:none}
