:root{font-family:IBM Plex Sans,Segoe UI,sans-serif;color:#e8f5f2;background:#4e1f6e;--c-deep: #4e1f6e;--c-mid: #3e3e75;--c-accent: #45a9a9;--c-soft: #98e8de;--c-text-dark: #cfe8e4;--c-white: #ffffff}*{box-sizing:border-box}body{margin:0}.page{min-height:100vh;display:grid;place-items:center;padding:12px;background:radial-gradient(circle at 14% 18%,rgba(152,232,222,.18),transparent 38%),radial-gradient(circle at 82% 2%,rgba(69,169,169,.24),transparent 34%),linear-gradient(145deg,#26113b,var(--c-deep) 38%,#24264e 74%,#1e314a)}.app-frame{width:min(1440px,100%);display:grid;grid-template-rows:auto auto;gap:14px}.app-shell{width:100%;height:min(78vh,calc(100vh - 24px));min-height:620px;display:grid;grid-template-columns:minmax(220px,260px) minmax(560px,1.6fr) minmax(260px,320px);gap:14px}.app-navigation{width:100%;border:1px solid rgba(69,169,169,.38);border-radius:16px;background:#1c1631e0;box-shadow:0 18px 40px #0806126b;padding:12px 14px;display:flex;gap:10px;align-items:center;justify-content:flex-start}.nav-link-button{border:1px solid rgba(152,232,222,.22);border-radius:999px;background:#3e3e75c7;color:#dcf3ef;padding:8px 14px;cursor:pointer;text-decoration:none;transition:background .16s ease,border-color .16s ease,color .16s ease}.nav-link-button:hover,.nav-link-button.active{background:#45a9a957;border-color:#98e8de6b;color:#efffff}.recent-matches-panel,.sidebar-panel,.checklist-panel{border:1px solid rgba(69,169,169,.38);border-radius:16px;background:#1c1631e0;box-shadow:0 18px 40px #08061285;padding:14px;display:flex;flex-direction:column;gap:10px;overflow:hidden}.recent-matches-panel h2,.sidebar-panel h2,.checklist-panel h2{margin:0;color:var(--c-soft);font-size:1.1rem}.checklist-state{margin:0;color:#9dc4cc;font-size:.92rem}.checklist-error{margin:0;color:#ff8fb0;font-size:.9rem}.checklist-list{min-height:0;overflow:auto;display:flex;flex-direction:column;gap:8px;padding-right:4px}.recent-matches-header{display:flex;justify-content:space-between;align-items:flex-start;gap:10px}.recent-matches-subtitle{margin:6px 0 0;color:#9dc4cc;font-size:.92rem}.recent-matches-sync{border:0;border-radius:999px;background:var(--c-accent);color:var(--c-white);padding:8px 12px;cursor:pointer;white-space:nowrap}.recent-match-list{min-height:0;overflow:auto;display:flex;flex-direction:column;gap:8px;padding-right:4px;flex:1}.recent-match-item{text-align:left;border:1px solid rgba(152,232,222,.2);background:#15182fc2;color:#d3f1ed;border-radius:12px;padding:10px 12px;cursor:pointer;display:grid;gap:6px}.recent-match-item.active{border-color:#98e8de8f;box-shadow:inset 0 0 0 1px #98e8de29}.recent-match-item-top,.recent-match-item-meta,.recent-match-item-stats{display:flex;justify-content:space-between;gap:8px;flex-wrap:wrap}.recent-match-item-top span,.recent-match-item-meta span,.recent-match-item-stats span{color:#9dc4cc;font-size:.88rem}.recent-match-detail{display:grid;gap:10px;flex:0 0 auto;max-height:42%;overflow:auto;padding-right:4px}.recent-match-detail-header{display:flex;justify-content:space-between;align-items:center;gap:10px}.recent-match-analyze{border:1px solid rgba(152,232,222,.28);background:#45a9a93d;color:#dcf3ef;border-radius:999px;padding:8px 12px;cursor:pointer;white-space:nowrap}.recent-match-analyze:disabled{opacity:.55;cursor:not-allowed}.recent-match-detail h3,.recent-match-detail h4{margin:0;color:var(--c-soft)}.recent-match-detail-grid{display:grid;gap:10px}.recent-match-detail-card{border:1px solid rgba(152,232,222,.18);border-radius:12px;padding:10px;background:#15182fc2}.recent-match-detail-card dl{margin:10px 0 0;display:grid;gap:8px}.recent-match-detail-card dl div{display:flex;justify-content:space-between;gap:10px}.recent-match-detail-card dt{color:#9dc4cc}.recent-match-detail-card dd{margin:0;color:#dcf3ef;text-align:right}.recent-matches-panel{min-height:0;display:flex;flex-direction:column;gap:10px}.checklist-item{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:8px;border-radius:10px;background:#15182fc2;border:1px solid rgba(152,232,222,.2)}.checklist-main{display:flex;align-items:flex-start;gap:8px;flex:1}.checklist-item input{margin-top:2px}.checklist-item span{color:#d3f1ed;line-height:1.35}.checklist-delete{border:1px solid rgba(255,143,176,.45);background:#7a1e4080;color:#ffd6e3;border-radius:8px;padding:4px 8px;font-size:.78rem;cursor:pointer}.checklist-delete:disabled{opacity:.55;cursor:not-allowed}.checklist-item.done span{color:#9dc4cc;text-decoration:line-through;opacity:.9}.chat-shell{width:100%;background:#1c1631e0;-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px);border:1px solid rgba(69,169,169,.38);border-radius:16px;box-shadow:0 18px 40px #08061285;padding:18px;display:grid;grid-template-rows:auto auto 1fr auto auto;gap:14px;height:100%;min-height:0;overflow:hidden}.chat-shell.auth-only{width:min(560px,95vw);min-height:0;height:400px}.live-match-shell{width:100%;min-height:min(78vh,calc(100vh - 24px));background:#1c1631e0;-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px);border:1px solid rgba(69,169,169,.38);border-radius:16px;box-shadow:0 18px 40px #08061285;padding:18px;display:grid;grid-template-rows:auto 1fr;gap:14px}.live-game-dashboard{min-height:0;overflow:auto;display:grid;align-content:start;grid-auto-rows:min-content;gap:12px;padding-right:4px}.live-game-meta{display:flex;align-self:start;gap:10px;flex-wrap:wrap}.live-game-meta span{border:1px solid rgba(152,232,222,.24);border-radius:999px;padding:6px 10px;color:#d3f1ed;background:#15182fc2;font-size:.86rem}.live-team-list{display:grid;gap:12px}.live-game-tips,.live-game-context-section{border:1px solid rgba(152,232,222,.2);border-radius:14px;background:#15182fc2;padding:12px;display:grid;gap:8px}.live-game-context-section label{color:var(--c-soft);font-size:.95rem;font-weight:500;margin:0}.live-tips-context-input{border:1px solid rgba(152,232,222,.16);border-radius:10px;background:#101224bf;color:#dff8f3;padding:10px 12px;font-family:inherit;font-size:.9rem;line-height:1.4;resize:vertical}.live-tips-context-input:focus{outline:none;border-color:#98e8de66;box-shadow:0 0 0 2px #45a9a933}.live-game-tips h2{margin:0;color:var(--c-soft);font-size:1rem}.live-game-tips-markdown{border:1px solid rgba(152,232,222,.16);border-radius:10px;background:#101224bf;padding:10px;color:#dff8f3;font-size:.9rem;line-height:1.4;overflow-wrap:anywhere}.live-game-tips-markdown p{margin:0 0 .55rem}.live-game-tips-markdown p:last-child{margin-bottom:0}.live-game-tips-markdown ul,.live-game-tips-markdown ol{margin:.3rem 0 .6rem;padding-left:1.25rem}.live-game-tips-markdown li{margin:.2rem 0}.live-game-tips-markdown code{background:#13162d94;border:1px solid rgba(152,232,222,.2);border-radius:6px;padding:.08rem .35rem;font-family:IBM Plex Mono,Consolas,monospace;font-size:.92em}.entity-highlight{position:relative;display:inline-block;border-bottom:1px dashed rgba(152,232,222,.7);color:#98e8de;font-weight:700;cursor:help;padding:0 .08rem}.entity-highlight:focus-visible{outline:2px solid rgba(69,169,169,.7);outline-offset:2px;border-radius:4px}.entity-tooltip{position:absolute;left:50%;top:calc(100% + 8px);transform:translate(-50%);z-index:10;min-width:180px;max-width:min(280px,70vw);display:grid;gap:4px;padding:10px 12px;border-radius:10px;border:1px solid rgba(152,232,222,.3);background:#0d1021fa;box-shadow:0 14px 28px #00000047;color:#f2fdfb;font-size:.86rem;line-height:1.3}.entity-tooltip-header{display:flex;align-items:center;gap:8px}.entity-tooltip-icon{width:32px;height:32px;border-radius:8px;object-fit:cover;border:1px solid rgba(152,232,222,.25);background:#15182fc2}.entity-tooltip strong{color:#98e8de}.entity-tooltip-title,.entity-tooltip-description,.entity-tooltip-tags{color:#dceff0}.live-game-tips-markdown pre{margin:.55rem 0;padding:.55rem .65rem;overflow-x:auto;max-width:100%;border-radius:8px;background:#101224cc;border:1px solid rgba(152,232,222,.2)}.live-game-tips-markdown pre code{background:transparent;border:0;padding:0}.live-game-tactics{display:grid;gap:8px;padding:10px;border:1px solid rgba(152,232,222,.16);border-radius:10px;background:#101224bf}.tactic-item{display:flex;gap:10px;align-items:center;flex-wrap:wrap}.tactic-item strong{color:#98e8de;font-size:.95rem}.tactic-badge{display:inline-block;padding:4px 12px;border-radius:8px;font-size:.9rem;font-weight:600;text-transform:capitalize;border:1px solid rgba(152,232,222,.3)}.tactic-very-safe{background:#4caf5033;color:#81c784;border-color:#4caf5080}.tactic-safe{background:#2196f333;color:#64b5f6;border-color:#2196f380}.tactic-agressive{background:#f4433633;color:#ef5350;border-color:#f4433680}.live-game-priority{display:grid;gap:8px;padding:10px;border:1px solid rgba(152,232,222,.16);border-radius:10px;background:#101224bf}.live-game-priority strong{color:#98e8de;font-size:.95rem}.priority-list{margin:0;padding-left:1.5rem;list-style-type:none;counter-reset:priority-counter}.priority-list li{counter-increment:priority-counter;margin:4px 0;color:#dff8f3;font-size:.9rem;display:flex;gap:8px;align-items:center}.priority-list li:before{content:counter(priority-counter);display:inline-flex;align-items:center;justify-content:center;width:22px;height:22px;border-radius:50%;background:#45a9a94d;border:1px solid rgba(152,232,222,.4);color:#98e8de;font-size:.8rem;font-weight:700;flex-shrink:0}.live-team-row{border:1px solid rgba(152,232,222,.2);border-radius:14px;background:#15182fc2;padding:12px;display:grid;gap:10px}.live-team-row h2{margin:0;color:var(--c-soft);font-size:1rem}.live-team-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:10px}.live-player-card{border:1px solid rgba(152,232,222,.2);border-radius:12px;padding:10px;display:grid;gap:6px;background:#101224bf}.live-player-champion-image{width:48px;height:48px;border-radius:10px;border:1px solid rgba(152,232,222,.26);background:#15182fc7;object-fit:cover}.live-player-card.is-player{border-color:#45a9a9e6;box-shadow:0 0 0 1px #45a9a966,0 8px 18px #0a787833;background:linear-gradient(140deg,#45a9a938,#45a9a914),#101224bf}.live-player-riot-id{margin:0;color:#dcf3ef;font-size:.92rem;overflow-wrap:anywhere}.live-player-champion{margin:0;color:#9dc4cc;font-size:.84rem}.live-game-empty{min-height:100%;border-radius:16px;border:1px dashed rgba(152,232,222,.35);background:linear-gradient(135deg,#45a9a91f,#4e1f6e47),#15182fc2;display:grid;place-items:center;text-align:center;padding:32px}.live-game-empty h2{margin:0 0 8px;color:var(--c-soft)}.live-game-empty p{margin:0;color:#aad6d0}.chat-header{display:flex;flex-direction:column;align-items:center;gap:4px}.app-logo{max-width:80px;height:auto;opacity:.9;transition:opacity .2s ease}.app-logo:hover{opacity:1}.chat-header h1{margin:0;font-size:1.5rem;color:var(--c-soft)}.chat-header p{margin:2px 0 0;color:#aad6d0}.me-badge{margin-top:6px;padding:8px 10px;border:1px solid rgba(152,232,222,.35);border-radius:10px;display:flex;justify-content:space-between;align-items:center;gap:10px;background:#45a9a929;color:#d3f1ed}.header-actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.nav-button{border:0;border-radius:8px;background:var(--c-accent);color:var(--c-white);padding:6px 10px;cursor:pointer}.nav-button.secondary{background:#3e3e75c7;border:1px solid rgba(152,232,222,.22)}.live-match-header{display:flex;justify-content:space-between;align-items:flex-start;gap:12px}.live-match-placeholder{min-height:0;display:grid}.live-match-placeholder-box{min-height:100%;border-radius:16px;border:1px dashed rgba(152,232,222,.35);background:linear-gradient(135deg,#45a9a91f,#4e1f6e47),#15182fc2;display:grid;place-items:center;text-align:center;padding:32px}.live-match-placeholder-box h2{margin:0 0 8px;color:var(--c-soft)}.live-match-placeholder-box p{margin:0;color:#aad6d0}.auth-card{margin-top:10px;border:1px solid rgba(69,169,169,.42);border-radius:10px;padding:10px;background:#232346b8}.auth-mode-row{display:flex;gap:8px;margin-bottom:8px}.auth-mode-row button{border:1px solid #4e6996;background:#2f2a57e6;border-radius:8px;padding:6px 10px;cursor:pointer;color:#cfe4ff}.auth-mode-row button.active{background:#45a9a957;border-color:var(--c-accent);color:#efffff}.auth-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.auth-fields input,.auth-fields button{padding:8px 10px;border-radius:8px;border:1px solid #50708e}.auth-fields input{background:#13162ddb;color:#dcf3ef}.auth-fields input::placeholder{color:#96bec2}.auth-fields button{border:0;background:var(--c-accent);color:var(--c-white);cursor:pointer}.auth-fields input[name=password],.auth-fields button{grid-column:span 2}.quick-actions{display:flex;gap:8px;flex-wrap:wrap}.quick-action{border:1px solid rgba(152,232,222,.28);background:#3e3e75c7;border-radius:999px;padding:8px 12px;cursor:pointer;color:#dcf3ef}.quick-action:hover{background:#45a9a957}.messages{min-height:0;overflow:auto;overscroll-behavior:contain;border:1px solid rgba(152,232,222,.22);border-radius:12px;padding:12px;background:#15182fc2;display:flex;flex-direction:column;gap:10px}.empty-state{color:#9dc4cc}.bubble{padding:10px 12px;border-radius:10px;width:fit-content;max-width:85%;line-height:1.4;overflow-wrap:anywhere}.bubble.user{align-self:flex-end;background:#45a9a94d;border:1px solid rgba(69,169,169,.62);color:#e8fffb}.bubble.assistant{align-self:flex-start;background:#4e1f6e57;border:1px solid rgba(152,232,222,.2);color:#dddffb}.bubble-role{font-size:.72rem;opacity:.7;margin-bottom:4px;text-transform:uppercase}.bubble-text{white-space:pre-wrap;overflow-wrap:anywhere}.bubble-markdown{white-space:normal;overflow-wrap:anywhere}.bubble-markdown p{margin:0 0 .55rem}.bubble-markdown p:last-child{margin-bottom:0}.bubble-markdown ul,.bubble-markdown ol{margin:.3rem 0 .6rem;padding-left:1.25rem}.bubble-markdown li{margin:.2rem 0}.bubble-markdown code{background:#13162d94;border:1px solid rgba(152,232,222,.2);border-radius:6px;padding:.08rem .35rem;font-family:IBM Plex Mono,Consolas,monospace;font-size:.92em}.bubble-markdown pre{margin:.55rem 0;padding:.55rem .65rem;overflow-x:auto;max-width:100%;border-radius:8px;background:#101224cc;border:1px solid rgba(152,232,222,.2)}.bubble-markdown pre code{background:transparent;border:0;padding:0}.bubble-markdown a{color:#98e8de;text-decoration:underline}.bubble-markdown table{width:100%;border-collapse:collapse;margin:.5rem 0}.bubble-markdown th,.bubble-markdown td{border:1px solid rgba(152,232,222,.24);padding:.35rem .45rem;text-align:left}.typing{color:#9ec8ca;font-style:italic}.error{margin:0;color:#ff8fb0}.chat-input{display:flex;gap:8px}.chat-input input{flex:1;padding:10px 12px;border-radius:10px;border:1px solid rgba(152,232,222,.3);color:#dbf5f0;background:#181a33eb}.chat-input input::placeholder{color:#8fb9bd}.chat-input button{border:0;border-radius:10px;background:var(--c-accent);color:var(--c-white);padding:10px 16px;cursor:pointer}.chat-input button:disabled,.quick-action:disabled{opacity:.55;cursor:not-allowed}.usage{color:#9dc4cc;font-size:.85rem;display:flex;gap:14px}.match-view-shell{min-height:95vh}.match-view-dashboard{min-height:0;overflow:auto;display:grid;align-content:start;gap:12px;padding-right:4px}.match-view-list{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:10px}.match-view-panels{display:grid;gap:12px}.match-view-table-wrap{margin-top:10px;overflow-x:auto}.match-view-table{width:100%;border-collapse:collapse;min-width:720px}.match-view-table th,.match-view-table td{border:1px solid rgba(152,232,222,.24);padding:.4rem .5rem;text-align:left;color:#dcf3ef;white-space:nowrap}.match-view-table thead th{color:var(--c-soft);background:#101224c7}.match-view-table tbody tr:nth-child(2n){background:#1012246b}.match-team-divider-row td{border-color:#45a9a96b;border-top-width:2px;background:linear-gradient(90deg,#45a9a93d,#4e1f6e33);color:var(--c-soft);font-weight:700;letter-spacing:.03em;text-transform:uppercase}.match-view-table tbody tr.match-player-row.is-player{background:linear-gradient(140deg,#06eeee47,#c3fafa1f),#101224bf}.match-view-table tbody tr.match-player-row.is-player td{background:inherit;border-color:#45a9a99e;font-weight:600}.match-player-champion-cell{display:inline-flex;align-items:center;gap:8px}.match-player-items{display:inline-flex;align-items:center;gap:4px;flex-wrap:wrap}.match-player-item{width:22px;height:22px;border-radius:6px;overflow:hidden;border:1px solid rgba(152,232,222,.24);background:#101224b8;display:inline-flex;align-items:center;justify-content:center}.match-player-icon{width:35px;height:35px;object-fit:cover;display:block}.match-player-item-fallback{font-size:.62rem;line-height:1;color:#c6ece5;padding:0 2px}@media (max-width: 720px){.page{padding:8px}.app-frame{width:100%}.app-shell{width:100%;height:auto;min-height:0;grid-template-columns:1fr}.app-navigation{flex-wrap:wrap}.recent-matches-panel,.sidebar-panel,.checklist-panel{max-height:40vh}.recent-matches-header{flex-direction:column}.recent-match-detail-header{flex-direction:column;align-items:flex-start}.recent-match-detail-card dl div{flex-direction:column}.recent-match-detail-card dd{text-align:left}.chat-shell{height:95vh;min-height:95vh;border-radius:10px}.live-match-shell{min-height:95vh;border-radius:10px}.match-view-table{min-width:640px}.live-match-header,.me-badge{flex-direction:column;align-items:flex-start}.auth-fields{grid-template-columns:1fr}.auth-fields input[name=password],.auth-fields button{grid-column:span 1}}
