.messenger-page,.messenger-modal-backdrop,.messenger-context-layer,.profile-messenger-actions,.drawer-messenger-link,.admin-messenger-reports{--panel:var(--ui-surface-a);--panel-soft:var(--ui-bg-secondary);--background:var(--ui-bg);--accent:var(--ui-accent);--accent-contrast:var(--ui-on-accent);--border:var(--ui-border);--text:var(--text-primary);--muted:var(--text-muted);--shadow:0 18px 52px #00000052}:root[data-theme=light] .messenger-page,:root[data-theme=light] .messenger-modal-backdrop,:root[data-theme=light] .messenger-context-layer,:root[data-theme=light] .profile-messenger-actions,:root[data-theme=light] .drawer-messenger-link,:root[data-theme=light] .admin-messenger-reports{--panel:var(--ui-light-surface-a);--panel-soft:var(--ui-light-surface-b);--background:var(--ui-light-bg);--shadow:0 18px 45px color-mix(in srgb,var(--ui-accent-deep) 13%,transparent)}.shell.messenger-shell{height:100dvh;min-height:0;max-height:100dvh;padding-bottom:max(10px,env(safe-area-inset-bottom));overscroll-behavior:none;flex-direction:column;display:flex;overflow:hidden}.messenger-shell>header{flex:none;margin-bottom:12px}.messenger-shell>.messenger-page{flex:1 1 0;width:100%;height:0;min-height:0}.messenger-page{--msg-surface:color-mix(in srgb,var(--panel) 94%,var(--background));--msg-soft:color-mix(in srgb,var(--panel-soft) 88%,var(--panel));--msg-hover:color-mix(in srgb,var(--accent) 12%,var(--panel));--msg-own:color-mix(in srgb,var(--accent) 18%,var(--panel));isolation:isolate;border:1px solid var(--border);background:radial-gradient(circle at 0 0,var(--ui-glow),transparent 34%),var(--msg-surface);height:calc(100dvh - 150px);min-height:600px;box-shadow:inset 0 1px color-mix(in srgb,var(--accent) 9%,transparent),var(--shadow);border-radius:26px;grid-template-columns:minmax(292px,356px) minmax(0,1fr);display:grid;overflow:hidden}.messenger-page button,.messenger-page input,.messenger-page textarea,.messenger-confirm button,.messenger-confirm select,.messenger-confirm textarea,.messenger-directory button,.messenger-directory input{font:inherit}.messenger-icon{fill:none;stroke:currentColor;stroke-width:1.8px;stroke-linecap:round;stroke-linejoin:round;flex:none;width:22px;height:22px;overflow:visible}.messenger-sidebar{border-right:1px solid var(--border);background:linear-gradient(180deg,color-mix(in srgb,var(--accent) 6%,var(--panel)),var(--msg-surface) 24%);min-width:0;box-shadow:inset -1px 0 color-mix(in srgb,var(--accent) 8%,transparent);flex-direction:column;display:flex}.messenger-sidebar-heading,.messenger-chat-heading{border-bottom:1px solid var(--border);background:linear-gradient(110deg,color-mix(in srgb,var(--accent) 9%,var(--panel)),color-mix(in srgb,var(--panel) 96%,transparent));min-height:76px;box-shadow:inset 0 -1px color-mix(in srgb,var(--accent) 7%,transparent);justify-content:space-between;align-items:center;gap:14px;padding:14px 16px;display:flex}.messenger-brand,.messenger-chat-title{align-items:center;gap:11px;min-width:0;display:flex}.messenger-brand>div,.messenger-chat-title>span:last-child{gap:2px;min-width:0;display:grid}.messenger-brand small,.messenger-confirm>small,.messenger-directory>small{color:var(--accent);letter-spacing:.14em;font-size:10px;font-weight:900}.messenger-brand h1{color:var(--text);margin:0;font-size:clamp(21px,2vw,29px);line-height:1}.messenger-brand-icon,.messenger-icon-button,.messenger-chat-tools>button,.messenger-peer-actions>button,.profile-messenger-actions button{border:1px solid var(--border);background:var(--msg-soft,var(--panel-soft));width:42px;height:42px;color:var(--text);border-radius:13px;place-items:center;padding:0;transition:all .15s;display:grid}.messenger-brand-icon{border-color:color-mix(in srgb,var(--accent) 48%,var(--border));color:var(--accent)}.messenger-icon-button:hover,.messenger-chat-tools>button:hover,.messenger-peer-actions>button:hover,.profile-messenger-actions button:hover{border-color:var(--accent);background:var(--msg-hover);color:var(--accent);transform:translateY(-1px)}.messenger-conversation-search{border:1px solid color-mix(in srgb,var(--border) 78%,transparent);background:color-mix(in srgb,var(--panel-soft) 84%,var(--panel));height:42px;color:var(--muted);box-shadow:inset 0 1px color-mix(in srgb,var(--accent) 5%,transparent);border-radius:12px;align-items:center;gap:9px;margin:10px 12px 8px;padding:0 12px;transition:all .15s;display:flex}.messenger-conversation-search:focus-within{border-color:color-mix(in srgb,var(--accent) 70%,var(--border));box-shadow:0 0 0 3px color-mix(in srgb,var(--accent) 10%,transparent);color:var(--accent)}.messenger-conversation-search .messenger-icon{width:18px}.messenger-conversation-search input{min-width:0;color:var(--text);background:0 0;border:0;outline:0;flex:1}.messenger-conversation-search button{width:28px;height:28px;color:var(--muted);background:0 0;border:0;place-items:center;padding:0;display:grid}.messenger-conversation-search button .messenger-icon{width:15px}.messenger-conversations{scrollbar-color:var(--accent) transparent;scrollbar-width:thin;flex:1;min-height:0;padding:2px 10px 12px;overflow-y:auto}.messenger-conversations>button{border:0;border-bottom:1px solid color-mix(in srgb,var(--border) 62%,transparent);width:100%;min-height:66px;color:var(--text);text-align:left;background:0 0;border-radius:0;grid-template-columns:48px minmax(0,1fr) auto;align-items:center;gap:11px;margin:0;padding:9px 10px;transition:all .14s;display:grid;position:relative;overflow:hidden}.messenger-conversations>button:hover{background:linear-gradient(90deg,var(--msg-hover),transparent)}.messenger-conversations>button.active{border-bottom-color:color-mix(in srgb,var(--accent) 42%,var(--border));background:linear-gradient(105deg,color-mix(in srgb,var(--accent) 18%,var(--panel)),color-mix(in srgb,var(--accent) 4%,var(--panel)))}.messenger-conversations>button.active:before{background:var(--accent);width:3px;box-shadow:0 0 10px var(--ui-glow);content:"";border-radius:0 4px 4px 0;position:absolute;inset:7px auto 7px 0}.messenger-conversation-copy{gap:4px;min-width:0;display:grid}.messenger-conversation-copy strong,.messenger-conversation-copy small{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.messenger-conversation-copy strong{color:var(--text);font-size:14px}.messenger-conversation-copy small{color:var(--muted);font-size:12px}.messenger-conversation-meta{flex-direction:column;justify-content:space-between;align-self:stretch;align-items:flex-end;gap:4px;padding-block:3px;display:flex}.messenger-conversation-meta time{color:var(--muted);font-size:10px}.messenger-conversation-meta b{background:var(--accent);min-width:23px;color:var(--accent-contrast);text-align:center;border-radius:999px;padding:3px 6px;font-size:10px;line-height:1.4}.messenger-conversation-meta b.mention{background:var(--warning,#c89636);color:#111}.messenger-sidebar-empty{min-height:160px;color:var(--muted);align-content:center;place-items:center;gap:10px;font-size:13px;display:grid}.messenger-sidebar-empty .messenger-icon{width:30px;height:30px}.messenger-avatar{border:1px solid color-mix(in srgb,var(--accent) 58%,var(--border));object-fit:cover;background:color-mix(in srgb,var(--accent) 8%,var(--panel-soft));width:44px;height:44px;color:var(--accent);border-radius:50%;flex:0 0 44px;place-items:center;font-size:12px;font-weight:900;display:grid;overflow:hidden}.messenger-avatar.large{width:58px;height:58px}.messenger-avatar.common{color:var(--accent)}.messenger-avatar.common .messenger-icon{width:23px}.messenger-chat{background:linear-gradient(color-mix(in srgb,var(--border) 11%,transparent) 1px,transparent 1px),radial-gradient(circle at 15% 20%,color-mix(in srgb,var(--accent) 7%,transparent),transparent 28%),radial-gradient(circle at 84% 78%,color-mix(in srgb,var(--accent) 5%,transparent),transparent 25%),color-mix(in srgb,var(--background) 92%,var(--panel));background-size:100% 42px,auto,auto,auto;flex-direction:column;min-width:0;display:flex;position:relative}.messenger-chat-heading{z-index:8;flex:none;position:relative}.messenger-chat-title{flex:1}.messenger-chat-title strong,.messenger-chat-title small{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.messenger-chat-title strong{color:var(--text);font-size:16px}.messenger-chat-title small{color:var(--muted);font-size:11px}.messenger-chat-tools{align-items:center;gap:6px;display:flex}.messenger-chat-tools>button,.messenger-peer-actions>button{border-radius:11px;width:36px;height:36px;position:relative}.messenger-chat-tools>button.active{border-color:color-mix(in srgb,var(--warning,#c89636) 68%,var(--border));background:color-mix(in srgb,var(--warning,#c89636) 13%,var(--panel));color:var(--warning,#c89636)}.messenger-chat-tools>button b{background:var(--warning,#c89636);color:#111;border-radius:999px;min-width:18px;padding:2px 4px;font-size:9px;position:absolute;top:-5px;right:-5px}.messenger-peer-actions{position:relative}.messenger-peer-menu{z-index:20;border:1px solid color-mix(in srgb,var(--accent) 30%,var(--border));background:color-mix(in srgb,var(--panel) 93%,var(--accent) 7%);border-radius:15px;width:222px;display:grid;position:absolute;top:calc(100% + 8px);right:0;overflow:hidden;box-shadow:0 18px 48px #0000006b}.messenger-peer-menu button,.messenger-message-menu>button{border:0;border-bottom:1px solid var(--border);width:100%;min-height:44px;color:var(--text);text-align:left;background:0 0;border-radius:0;align-items:center;gap:11px;padding:9px 13px;display:flex}.messenger-peer-menu button:last-child,.messenger-message-menu>button:last-child{border-bottom:0}.messenger-peer-menu button:hover,.messenger-message-menu>button:hover{background:var(--msg-hover)}.messenger-peer-menu button.danger,.messenger-message-menu>button.danger{color:var(--danger,#dd7773)}.messenger-mobile-back{display:none}.messenger-message-list{border-block:1px solid color-mix(in srgb,var(--border) 42%,transparent);scrollbar-color:var(--accent) transparent;scrollbar-width:thin;overscroll-behavior:contain;flex:1;min-height:0;padding:18px clamp(12px,3vw,38px);position:relative;overflow-y:auto}.messenger-day-divider{z-index:3;pointer-events:none;justify-content:center;align-items:center;gap:10px;margin:10px 0 16px;display:flex;position:sticky;top:5px}.messenger-day-divider:before,.messenger-day-divider:after{background:linear-gradient(90deg,transparent,color-mix(in srgb,var(--border) 78%,transparent));content:"";flex:1;height:1px}.messenger-day-divider:after{background:linear-gradient(90deg,color-mix(in srgb,var(--border) 78%,transparent),transparent)}.messenger-day-divider span{border:1px solid color-mix(in srgb,var(--border) 85%,transparent);background:color-mix(in srgb,var(--panel) 92%,transparent);box-shadow:0 3px 14px color-mix(in srgb,var(--background) 30%,transparent);color:var(--muted);-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);border-radius:999px;padding:5px 10px;font-size:10px;font-weight:800}.messenger-message{align-items:flex-end;gap:8px;margin:0 0 9px;display:flex}.messenger-message.own{justify-content:flex-end}.messenger-message-avatar{background:0 0;border:0;align-self:flex-end;padding:0}.messenger-message-avatar .messenger-avatar,.messenger-message-avatar-spacer{flex:0 0 32px;width:32px;height:32px}.messenger-message-avatar .messenger-avatar{font-size:9px}.messenger-bubble{border:1px solid color-mix(in srgb,var(--accent) 30%,var(--border));background:linear-gradient(145deg,color-mix(in srgb,var(--panel) 90%,var(--accent) 10%),color-mix(in srgb,var(--panel-soft) 84%,var(--panel)));min-width:112px;max-width:min(72%,720px);color:var(--text);box-shadow:0 7px 20px color-mix(in srgb,var(--background) 34%,transparent),inset 0 1px color-mix(in srgb,var(--accent) 8%,transparent);touch-action:pan-y;border-radius:17px 17px 17px 5px;padding:8px 11px 7px;position:relative}.messenger-message.own .messenger-bubble{border-color:color-mix(in srgb,var(--accent) 58%,var(--border));background:linear-gradient(145deg,color-mix(in srgb,var(--accent) 25%,var(--panel)),color-mix(in srgb,var(--accent) 11%,var(--panel-soft)));border-radius:17px 17px 5px}.messenger-message.mentioned .messenger-bubble{border-color:var(--warning,#c89636);box-shadow:inset 3px 0 var(--warning,#c89636)}.messenger-message.deleted .messenger-bubble{opacity:.62;font-style:italic}.messenger-sender{align-items:center;gap:6px;margin:0 24px 4px 0;display:flex}.messenger-sender strong{color:var(--accent);font-size:12px}.messenger-bubble p{overflow-wrap:anywhere;white-space:pre-wrap;margin:0;padding-right:42px;font-size:13px;line-height:1.38}.messenger-message-meta{float:right;height:14px;color:var(--muted);align-items:center;gap:3px;margin:4px 0 -1px 8px;font-size:9px;display:inline-flex}.messenger-message-meta i{font-style:normal}.messenger-message-meta .messenger-icon{width:13px;height:13px;color:var(--accent);stroke-width:2.2px}.messenger-reply-preview{border:0;border-left:3px solid var(--accent);background:color-mix(in srgb,var(--accent) 8%,transparent);width:100%;color:var(--text);text-align:left;border-radius:7px;margin:0 0 6px;padding:5px 8px;display:grid;overflow:hidden}.messenger-reply-preview strong{color:var(--accent);font-size:10px}.messenger-reply-preview span{color:var(--muted);text-overflow:ellipsis;white-space:nowrap;font-size:10px;overflow:hidden}.messenger-reactions{clear:both;flex-wrap:wrap;gap:4px;margin:7px 0 -13px;display:flex}.messenger-reactions button{border:1px solid var(--border);background:var(--panel-soft);min-width:34px;height:25px;color:var(--text);border-radius:999px;align-items:center;gap:3px;padding:2px 7px;font-size:13px;display:flex}.messenger-reactions b{font-size:9px}.messenger-scroll-down{z-index:4;float:right;border:1px solid color-mix(in srgb,var(--accent) 48%,var(--border));background:var(--panel);width:40px;height:40px;color:var(--accent);box-shadow:var(--shadow);border-radius:50%;place-items:center;padding:0;display:grid;position:sticky;bottom:4px;right:10px}.messenger-context-layer{z-index:260;background:#00000014;position:fixed;inset:0}.messenger-message-menu{z-index:261;border:1px solid color-mix(in srgb,var(--accent) 34%,var(--border));background:color-mix(in srgb,var(--panel) 93%,var(--accent) 7%);border-radius:17px;width:276px;animation:.13s ease-out messenger-menu-in;position:fixed;overflow:hidden;box-shadow:0 18px 52px #00000080}@keyframes messenger-menu-in{0%{opacity:0;transform:scale(.96)}}.messenger-quick-reactions{border-bottom:1px solid var(--border);background:var(--msg-soft);grid-template-columns:repeat(6,1fr);gap:2px;padding:8px;display:grid}.messenger-quick-reactions button{background:0 0;border:0;border-radius:10px;place-items:center;height:36px;padding:0;font-size:20px;transition:all .13s;display:grid}.messenger-quick-reactions button:hover{background:var(--msg-hover);transform:translateY(-2px)scale(1.08)}.messenger-composer{z-index:6;padding:8px 11px calc(8px + env(safe-area-inset-bottom));border-top:1px solid var(--border);background:linear-gradient(110deg,color-mix(in srgb,var(--accent) 7%,var(--panel)),color-mix(in srgb,var(--panel) 97%,transparent));box-shadow:0 -8px 24px color-mix(in srgb,var(--background) 28%,transparent);flex:none;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:6px;display:grid;position:relative}.messenger-compose-field{border:1px solid color-mix(in srgb,var(--accent) 28%,var(--border));background:color-mix(in srgb,var(--panel-soft) 82%,var(--panel));min-height:44px;box-shadow:inset 0 1px color-mix(in srgb,var(--accent) 6%,transparent);border-radius:13px;align-items:center;gap:4px;padding:3px 5px;transition:all .15s;display:flex}.messenger-compose-field:focus-within{border-color:color-mix(in srgb,var(--accent) 70%,var(--border));box-shadow:0 0 0 2px color-mix(in srgb,var(--accent) 10%,transparent)}.messenger-compose-field textarea{resize:none;min-width:0;min-height:34px;max-height:112px;color:var(--text);flex:1;padding:7px 4px 5px;outline-offset:0!important;box-shadow:none!important;background:0 0!important;border:0!important;border-radius:0!important;outline:0!important}.messenger-compose-field textarea:focus,.messenger-compose-field textarea:focus-visible{box-shadow:none!important;border:0!important;outline:0!important}.messenger-emoji-toggle{width:34px;height:34px;color:var(--muted);background:0 0;border:0;border-radius:10px;flex:0 0 34px;place-items:center;padding:0;display:grid}.messenger-emoji-toggle:hover,.messenger-emoji-toggle.active{background:var(--msg-hover);color:var(--accent)}.messenger-send{border:1px solid color-mix(in srgb,var(--accent) 78%,var(--border));background:linear-gradient(145deg,color-mix(in srgb,var(--accent) 88%,white 12%),var(--accent));width:44px;height:44px;color:var(--accent-contrast);box-shadow:0 5px 14px color-mix(in srgb,var(--accent) 28%,transparent);border-radius:12px;align-self:center;place-items:center;padding:9px;display:grid;position:static}.messenger-send svg{fill:none;stroke:currentColor;stroke-width:1.8px;width:21px}.messenger-send:disabled{filter:grayscale(.45);opacity:.4}.messenger-compose-reply,.messenger-mention-list{grid-column:1/-1}.messenger-emoji-picker{right:13px;bottom:calc(70px + env(safe-area-inset-bottom));z-index:10;border:1px solid var(--border);background:var(--panel);box-shadow:var(--shadow);border-radius:15px;grid-template-columns:repeat(6,38px);gap:3px;padding:8px;display:grid;position:absolute}.messenger-emoji-picker button{background:0 0;border:0;border-radius:10px;place-items:center;width:38px;height:38px;padding:0;font-size:20px;display:grid}.messenger-emoji-picker button:hover{background:var(--msg-hover)}.messenger-compose-reply{border-left:3px solid var(--accent);background:var(--msg-soft);border-radius:7px;justify-content:space-between;gap:12px;margin:0 2px 7px;padding:7px 10px;display:flex}.messenger-compose-reply>span{min-width:0;display:grid}.messenger-compose-reply strong{color:var(--accent);font-size:11px}.messenger-compose-reply small{color:var(--muted);text-overflow:ellipsis;white-space:nowrap;font-size:10px;overflow:hidden}.messenger-compose-reply button{width:28px;height:28px;color:var(--muted);background:0 0;border:0;place-items:center;padding:0;display:grid}.messenger-compose-reply button .messenger-icon{width:16px}.messenger-mention-list{z-index:11;right:13px;bottom:calc(70px + env(safe-area-inset-bottom));border:1px solid var(--border);background:var(--panel);max-height:220px;box-shadow:var(--shadow);border-radius:15px;position:absolute;left:13px;overflow-y:auto}.messenger-mention-list button{border:0;border-bottom:1px solid var(--border);width:100%;color:var(--text);text-align:left;background:0 0;border-radius:0;align-items:center;gap:8px;padding:8px 11px;display:flex}.messenger-mention-list button:hover{background:var(--msg-hover)}.messenger-mention-list .messenger-avatar{flex-basis:29px;width:29px;height:29px}.messenger-empty{border:1px dashed color-mix(in srgb,var(--accent) 34%,var(--border));background:color-mix(in srgb,var(--panel) 52%,transparent);color:var(--muted);border-radius:18px;flex:1;align-content:center;place-items:center;gap:11px;margin:24px;display:grid}.messenger-empty h2{color:var(--text);margin:0;font-size:22px}.messenger-empty>.messenger-icon{width:54px;height:54px;color:var(--accent)}.messenger-inline-error{z-index:30;right:14px;bottom:calc(72px + env(safe-area-inset-bottom));border:1px solid var(--danger,#d66);background:color-mix(in srgb,var(--danger,#d66) 11%,var(--panel));color:var(--danger,#d66);box-shadow:var(--shadow);border-radius:13px;justify-content:space-between;align-items:center;gap:12px;padding:11px 13px;display:flex;position:absolute;left:14px}.messenger-inline-error button{width:28px;height:28px;color:inherit;background:0 0;border:0;place-items:center;padding:0;display:grid}.messenger-inline-error .messenger-icon{width:17px}.messenger-modal-backdrop{z-index:280;-webkit-backdrop-filter:blur(9px);backdrop-filter:blur(9px);background:#0000009e;place-items:center;padding:20px;display:grid;position:fixed;inset:0}.messenger-confirm,.messenger-directory{border:1px solid var(--border);background:var(--panel);width:min(520px,100%);color:var(--text);box-shadow:var(--shadow);border-radius:22px;padding:25px;position:relative}.messenger-confirm h3,.messenger-directory h2{color:var(--text);margin:4px 46px 10px 0;font-size:clamp(25px,4vw,37px);line-height:1.08}.messenger-confirm p{color:var(--muted)}.messenger-confirm>div:last-child{grid-template-columns:1fr 1fr;gap:9px;margin-top:17px;display:grid}.messenger-confirm:has(.messenger-confirm-actions.three){width:min(650px,100%)}.messenger-confirm-actions.three{grid-template-columns:.8fr 1fr 1.18fr}.messenger-confirm button,.messenger-directory button{min-height:43px}.messenger-confirm .danger{border-color:var(--danger,#d66);background:color-mix(in srgb,var(--danger,#d66) 18%,var(--panel));color:var(--danger,#df7773)}.messenger-confirm .danger-strong{background:var(--danger,#c95757);color:#fff;box-shadow:0 8px 24px color-mix(in srgb,var(--danger,#c95757) 25%,transparent)}.messenger-close{place-items:center;width:38px;padding:0;display:grid;position:absolute;top:15px;right:16px;min-height:38px!important;color:var(--muted)!important;background:0 0!important;border:0!important}.messenger-close:hover{color:var(--text)!important}.messenger-close .messenger-icon{width:23px;height:23px}.messenger-report-dialog select,.messenger-report-dialog textarea{border:1px solid var(--border);background:var(--msg-soft,var(--panel-soft));width:100%;color:var(--text);border-radius:11px;margin-top:9px;padding:11px}.messenger-report-dialog textarea{resize:vertical;min-height:110px}.messenger-error{color:var(--danger,#df7773)!important}.messenger-directory{width:min(500px,100%);padding:19px}.messenger-directory h2{font-size:clamp(25px,3vw,32px)}.messenger-directory-search{border:1px solid var(--border);background:var(--msg-soft,var(--panel-soft));height:44px;color:var(--muted);border-radius:12px;align-items:center;gap:9px;margin-top:9px;padding:0 12px;display:flex;overflow:hidden}.messenger-directory-search:focus-within{border-color:var(--accent);box-shadow:0 0 0 3px color-mix(in srgb,var(--accent) 10%,transparent);color:var(--accent)}.messenger-directory-search input{width:100%!important;min-width:0!important;height:100%!important;box-shadow:none!important;color:var(--text)!important;background:0 0!important;border:0!important;border-radius:0!important;outline:0!important;margin:0!important;padding:0!important}.messenger-directory-search .messenger-icon{flex:0 0 18px;width:18px}.messenger-directory>div{scrollbar-color:var(--accent) transparent;max-height:min(360px,48dvh);margin-top:9px;overflow-y:auto}.messenger-directory>div>button{border:0;border-bottom:1px solid var(--border);width:100%;color:var(--text);text-align:left;background:0 0;border-radius:0;align-items:center;gap:10px;padding:7px 8px;display:flex}.messenger-directory>div>button:hover{background:var(--msg-hover)}.messenger-directory>div>button>span:last-child{display:grid}.messenger-directory>div>button small{color:var(--muted)}.profile-messenger-actions{gap:7px;display:flex}.profile-messenger-actions button{width:41px;height:41px}.profile-messenger-actions button.active{border-color:var(--danger,#d66);color:var(--danger,#d66)}.drawer-messenger-link{align-items:center;justify-content:space-between!important;display:flex!important}.drawer-messenger-link b{background:var(--accent);min-width:24px;color:var(--accent-contrast);text-align:center;border-radius:999px;padding:3px 7px;font-size:11px}.admin-messenger-reports{border:1px solid var(--border);background:var(--panel);border-radius:24px;grid-column:1/-1;padding:24px}.admin-messenger-heading{justify-content:space-between;align-items:center;gap:15px;display:flex}.admin-messenger-heading h2{margin:3px 0;font-size:clamp(28px,3vw,46px)}.admin-messenger-heading small{color:var(--accent);letter-spacing:.14em;font-weight:900}.admin-messenger-heading select{border:1px solid var(--border);background:var(--panel-soft);color:var(--text);border-radius:10px;padding:10px}.admin-report-list{gap:10px;margin-top:18px;display:grid}.admin-report-list article{border:1px solid var(--border);background:var(--panel-soft);border-radius:15px;padding:15px}.admin-report-list header,.admin-report-list footer{justify-content:space-between;align-items:center;gap:8px;display:flex}.admin-report-list h3,.admin-report-list p{margin:7px 0}.admin-report-list blockquote{border-left:3px solid var(--accent);color:var(--muted);margin:9px 0;padding:9px}.admin-report-list footer{justify-content:flex-end}.admin-report-list footer button{min-height:36px;padding:6px 11px}.report-status{background:var(--panel);text-transform:uppercase;border-radius:999px;padding:3px 7px;font-size:10px;font-weight:900}.report-status.open{color:var(--danger,#df7773)}.report-status.reviewing{color:var(--warning,#c89636)}.report-status.resolved{color:var(--accent)}@media (width<=820px){.messenger-page{border-radius:18px;min-height:0;display:block}.messenger-sidebar,.messenger-chat{height:100%}.messenger-page.conversation-open .messenger-sidebar,.messenger-page:not(.conversation-open) .messenger-chat{display:none}.messenger-sidebar{border-right:0}.messenger-sidebar-heading{min-height:66px;padding:10px 12px}.messenger-brand-icon{width:38px;height:38px}.messenger-brand h1{font-size:22px}.messenger-conversation-search{margin-block:8px 5px}.messenger-conversations>button{min-height:64px}.messenger-mobile-back{width:34px;height:38px;color:var(--text);background:0 0;border:0;flex:0 0 34px;place-items:center;padding:0;display:grid}.messenger-mobile-back .messenger-icon{width:23px}.messenger-chat-heading{min-height:62px;padding:8px}.messenger-chat-title{gap:8px}.messenger-chat-title .messenger-avatar{flex-basis:37px;width:37px;height:37px}.messenger-chat-title strong{font-size:13px}.messenger-chat-title small{font-size:9px}.messenger-chat-tools{gap:3px}.messenger-chat-tools>button,.messenger-peer-actions>button{width:32px;height:32px}.messenger-peer-menu{width:min(220px,100vw - 28px);right:-2px}.messenger-message-list{padding:10px 7px 15px}.messenger-message{gap:5px;margin-bottom:7px}.messenger-message-avatar .messenger-avatar,.messenger-message-avatar-spacer{flex-basis:27px;width:27px;height:27px}.messenger-bubble{max-width:84%;padding:7px 9px 6px}.messenger-bubble p{font-size:12px}.messenger-reactions{margin-bottom:-11px}.messenger-scroll-down{width:37px;height:37px}.messenger-message-menu{right:9px;bottom:calc(9px + env(safe-area-inset-bottom));border-radius:19px;width:auto;animation-name:messenger-sheet-in;top:auto!important;left:9px!important}@keyframes messenger-sheet-in{0%{opacity:0;transform:translateY(24px)}}.messenger-composer{padding:7px 8px calc(7px + env(safe-area-inset-bottom))}.messenger-compose-field{min-height:45px}.messenger-send{right:15px;bottom:calc(12px + env(safe-area-inset-bottom))}.messenger-emoji-picker{right:8px;bottom:calc(64px + env(safe-area-inset-bottom));grid-template-columns:repeat(6,minmax(35px,1fr));width:calc(100% - 16px)}.messenger-mention-list{right:8px;bottom:calc(64px + env(safe-area-inset-bottom));left:8px}.messenger-inline-error{right:8px;bottom:calc(65px + env(safe-area-inset-bottom));left:8px}.messenger-modal-backdrop{align-items:end;padding:9px}.messenger-confirm,.messenger-directory{max-height:calc(100dvh - 18px);padding:22px 17px calc(17px + env(safe-area-inset-bottom));border-radius:22px;overflow-y:auto}.messenger-confirm h3,.messenger-directory h2{font-size:28px}.admin-messenger-heading{flex-direction:column;align-items:flex-start}.admin-messenger-reports{padding:16px}.admin-report-list footer{grid-template-columns:repeat(3,1fr);display:grid}.admin-report-list footer button{padding:5px;font-size:11px}}@media (prefers-reduced-motion:reduce){.messenger-page *,.messenger-message-menu{scroll-behavior:auto!important;transition:none!important;animation:none!important}}.messenger-avatar{border-radius:12px}.messenger-avatar.large{border-radius:16px}.messenger-message-avatar .messenger-avatar{border-radius:9px}.messenger-send{border:1px solid color-mix(in srgb,var(--accent) 78%,var(--border));background:linear-gradient(145deg,color-mix(in srgb,var(--accent) 88%,white 12%),var(--accent));width:42px;height:42px;box-shadow:0 7px 18px color-mix(in srgb,var(--accent) 30%,transparent);border-radius:12px;padding:9px}.messenger-send:hover:not(:disabled){filter:brightness(1.08);transform:translateY(-1px)}.messenger-bubble{cursor:pointer;transition:transform .17s cubic-bezier(.2,.75,.25,1),border-color .15s,background .15s}.messenger-bubble.swiping{transition:none}.messenger-bubble:before{border:1px solid color-mix(in srgb,var(--accent) 55%,var(--border));background:var(--panel);width:29px;height:29px;color:var(--accent);content:"↩";opacity:var(--swipe-progress,0);transform:translateY(-50%) scale(calc(.72 + var(--swipe-progress,0) * .28));box-shadow:var(--shadow);pointer-events:none;border-radius:9px;place-items:center;font-size:17px;font-weight:900;display:grid;position:absolute;top:50%;left:-38px}.messenger-context-layer{-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px);background:#00000080;place-items:center;padding:20px;display:grid}.messenger-message-menu{background:linear-gradient(145deg,color-mix(in srgb,var(--panel) 92%,var(--accent) 8%),var(--panel));border-radius:24px;grid-template-columns:repeat(3,minmax(0,1fr));width:min(650px,100vw - 32px);max-height:min(720px,100dvh - 32px);display:grid;overflow:hidden;box-shadow:0 28px 90px #0000008f;position:relative!important;inset:auto!important}.messenger-action-menu-heading{border-bottom:1px solid var(--border);grid-column:1/-1;justify-content:space-between;align-items:center;gap:14px;min-height:58px;padding:10px 14px;display:flex}.messenger-action-menu-heading>span{color:var(--text);align-items:center;gap:9px;display:flex}.messenger-action-menu-heading>span .messenger-icon{color:var(--accent)}.messenger-action-menu-heading>button,.messenger-emoji-modal>header>button{border:1px solid var(--border);background:var(--msg-soft);width:36px;height:36px;color:var(--muted);border-radius:11px;place-items:center;padding:0;display:grid}.messenger-quick-reactions{scrollbar-width:thin;scrollbar-color:var(--accent) transparent;grid-column:1/-1;grid-template-columns:repeat(12,minmax(38px,1fr));gap:5px;max-height:245px;padding:12px;overflow-y:auto}.messenger-quick-reactions button{border:1px solid color-mix(in srgb,var(--border) 70%,transparent);background:color-mix(in srgb,var(--panel-soft) 88%,transparent);border-radius:12px;height:42px;font-size:23px}.messenger-message-menu>button{border:0;border-right:1px solid var(--border);text-align:center;border-radius:0;flex-direction:column;justify-content:center;gap:5px;min-width:0;min-height:72px;padding:9px 5px}.messenger-message-menu>button:last-child{border-right:0}.messenger-message-menu>button .messenger-icon{width:24px;height:24px;color:var(--accent)}.messenger-message-menu>button span{text-overflow:ellipsis;white-space:nowrap;max-width:100%;font-size:11px;overflow:hidden}.messenger-message-menu.own-message{grid-template-columns:repeat(4,minmax(0,1fr))}.messenger-mention-link{color:var(--accent);font:inherit;font-weight:800;line-height:inherit;text-decoration:underline;-webkit-text-decoration-color:color-mix(in srgb,var(--accent) 42%,transparent);text-decoration-color:color-mix(in srgb,var(--accent) 42%,transparent);text-underline-offset:2px;cursor:pointer;background:0 0;border:0;margin:0;padding:0;display:inline}.messenger-mention-link:hover{color:color-mix(in srgb,var(--accent) 78%,white)}.messenger-compose-edit{border-left-color:var(--warning,#c89636)}.messenger-compose-edit strong{color:var(--warning,#c89636)}.messenger-modal-backdrop.messenger-emoji-backdrop{z-index:270;-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px);background:#00000085}.messenger-emoji-modal{border:1px solid color-mix(in srgb,var(--accent) 40%,var(--border));background:linear-gradient(145deg,color-mix(in srgb,var(--panel) 93%,var(--accent) 7%),var(--panel));border-radius:20px;flex-direction:column;width:min(560px,100vw - 32px);max-height:min(560px,68dvh);display:flex;overflow:hidden;box-shadow:0 24px 72px #0000008f}.messenger-emoji-modal>header{border-bottom:1px solid var(--border);justify-content:space-between;align-items:center;gap:12px;min-height:50px;padding:7px 10px 7px 13px;display:flex}.messenger-emoji-modal>header>span{color:var(--text);align-items:center;gap:8px;font-size:15px;display:flex}.messenger-emoji-modal>header>span .messenger-icon{color:var(--accent)}.messenger-emoji-groups{scrollbar-width:thin;scrollbar-color:var(--accent) transparent;min-height:0;padding:5px 10px 10px;overflow-y:auto}.messenger-emoji-groups>section{border-bottom:1px solid color-mix(in srgb,var(--border) 70%,transparent);padding:7px 0}.messenger-emoji-groups>section:last-child{border-bottom:0}.messenger-emoji-groups>section>small{color:var(--accent);letter-spacing:.12em;text-transform:uppercase;margin:0 0 5px;font-size:9px;font-weight:900;display:block}.messenger-emoji-groups>section>div{grid-template-columns:repeat(12,minmax(32px,1fr));gap:3px;display:grid}.messenger-emoji-groups button{border:1px solid color-mix(in srgb,var(--border) 62%,transparent);background:var(--msg-soft);border-radius:9px;place-items:center;height:35px;padding:0;font-size:20px;transition:all .13s;display:grid}.messenger-emoji-groups button:hover{border-color:var(--accent);background:var(--msg-hover);transform:translateY(-1px)scale(1.04)}.messenger-user-search-results{border:1px solid color-mix(in srgb,var(--accent) 34%,var(--border));background:color-mix(in srgb,var(--accent) 6%,var(--panel));border-radius:14px;margin:2px 0 8px;padding:7px;display:grid}.messenger-user-search-results>small{color:var(--accent);letter-spacing:.13em;padding:3px 5px 7px;font-size:9px;font-weight:900}.messenger-user-search-results>button{border:0;border-top:1px solid color-mix(in srgb,var(--border) 68%,transparent);width:100%;color:var(--text);text-align:left;background:0 0;border-radius:0;grid-template-columns:38px minmax(0,1fr) 24px;align-items:center;gap:9px;padding:7px;display:grid}.messenger-user-search-results>button:hover{background:var(--msg-hover)}.messenger-user-search-results .messenger-avatar{border-radius:10px;flex-basis:36px;width:36px;height:36px}.messenger-user-search-results>button>span{min-width:0;display:grid}.messenger-user-search-results strong,.messenger-user-search-results>button>span small{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.messenger-user-search-results>button>span small{color:var(--muted);font-size:10px}.messenger-user-search-results>button>.messenger-icon{width:18px;color:var(--accent)}.messenger-conversation-search input{width:100%!important;height:auto!important;box-shadow:none!important;background:0 0!important;border:0!important;border-radius:0!important;outline:0!important;margin:0!important;padding:0!important}.profile-messenger-actions{flex-wrap:wrap;justify-content:flex-end;gap:7px;display:flex}.profile-messenger-actions button{border-radius:12px;gap:8px;width:auto;height:43px;min-height:43px;padding:0 13px;font-size:9px;font-weight:900;display:inline-flex}.profile-messenger-actions button .messenger-icon{width:19px;height:19px}.messenger-icon-button,.messenger-chat-tools>button,.messenger-peer-actions>button{border-radius:12px;width:42px;min-width:42px;height:42px;min-height:42px}.messenger-icon-button .messenger-icon,.messenger-chat-tools>button .messenger-icon,.messenger-peer-actions>button .messenger-icon{width:20px;height:20px}@media (width<=820px){.messenger-confirm-actions.three{grid-template-columns:1fr 1fr}.messenger-confirm-actions.three>button:first-child{order:3;grid-column:1/-1}.messenger-confirm-actions.three>button:nth-child(2){order:1}.messenger-confirm-actions.three>button:nth-child(3){order:2}.messenger-context-layer{padding:8px 8px calc(8px + env(safe-area-inset-bottom));place-items:end center}.messenger-message-menu{border-radius:23px;grid-template-columns:repeat(3,minmax(0,1fr));width:100%;max-height:calc(100dvh - 30px)}.messenger-quick-reactions{grid-template-columns:repeat(8,minmax(36px,1fr));max-height:252px;padding:10px}.messenger-quick-reactions button{height:40px;font-size:22px}.messenger-message-menu>button{min-height:68px}.messenger-message-menu>button span{font-size:9px}.messenger-emoji-backdrop{padding:8px 8px calc(8px + env(safe-area-inset-bottom));align-items:flex-end}.messenger-emoji-modal{border-radius:19px;width:min(430px,100%);max-height:min(58dvh,520px)}.messenger-emoji-groups{padding-inline:8px}.messenger-emoji-groups>section>div{grid-template-columns:repeat(8,minmax(32px,1fr));gap:3px}.messenger-emoji-groups button{height:34px;font-size:19px}.messenger-icon-button,.messenger-chat-tools>button,.messenger-peer-actions>button{border-radius:11px;width:38px;min-width:38px;height:38px;min-height:38px}}.messenger-bubble{box-sizing:border-box;width:min(68%,580px);min-width:0;max-width:none;padding:6px 9px 5px}.messenger-message{gap:6px;margin-bottom:5px}.messenger-message.grouped{margin-top:-2px}.messenger-sender{gap:5px;margin:0 18px 2px 0}.messenger-bubble p{padding-right:0;font-size:12px;line-height:1.3}.messenger-message-footer{justify-content:space-between;align-items:center;gap:6px;min-height:17px;margin-top:2px;display:flex}.messenger-message.own .messenger-message-footer{flex-direction:row-reverse}.messenger-message-footer .messenger-message-meta{float:none;flex:none;height:auto;margin:0 0 0 auto}.messenger-message.own .messenger-message-footer .messenger-message-meta{margin:0 auto 0 0}.messenger-reactions{clear:none;flex-wrap:wrap;align-items:center;gap:3px;margin:0;display:flex}.messenger-reactions button{border:1px solid color-mix(in srgb,var(--border) 82%,transparent);background:color-mix(in srgb,var(--panel-soft) 91%,transparent);width:auto;min-width:29px;height:18px;min-height:0;color:var(--text);box-shadow:none;border-radius:7px;justify-content:center;align-items:center;gap:2px;padding:0 4px;font-size:11px;line-height:1;display:inline-flex}.messenger-reactions button span{font-size:12px;line-height:1}.messenger-reactions button b{font-size:8px;font-weight:900;line-height:1}.messenger-reactions button.active{border-color:color-mix(in srgb,var(--accent) 72%,var(--border));background:color-mix(in srgb,var(--accent) 15%,var(--panel))}.messenger-reactions button:disabled,.messenger-quick-reactions button:disabled{cursor:not-allowed;filter:grayscale(.45);opacity:.34}.messenger-quick-reactions button.active{border-color:var(--accent);background:color-mix(in srgb,var(--accent) 17%,var(--panel));box-shadow:inset 0 0 0 1px color-mix(in srgb,var(--accent) 28%,transparent)}.profile-messenger-actions .profile-messenger-action{color:#efc66e;background:linear-gradient(145deg,#a6792b33,#3b2c143b);border-color:#80683e}.profile-messenger-actions .profile-messenger-action:hover:not(:disabled){color:#ffe09a;background:linear-gradient(145deg,#ba8b3545,#4c37174d);border-color:#d2a755}.profile-messenger-actions .profile-messenger-action.active{color:#f2a09a;background:linear-gradient(145deg,#87302b3d,#3a161442);border-color:#8b4540}.profile-messenger-actions .profile-messenger-action .messenger-icon{fill:none;stroke:currentColor;stroke-width:1.8px}@media (width<=820px){.messenger-bubble{width:calc(100% - 38px);min-width:0;max-width:none;padding:5px 7px 4px}.messenger-message-list{padding:7px 6px 10px}.messenger-message{gap:4px;margin-bottom:4px}.messenger-message.grouped{margin-top:-1px}.messenger-sender{margin-bottom:1px}.messenger-bubble p{font-size:12px;line-height:1.26}.messenger-message-footer{gap:5px;margin-top:2px}.messenger-shell>.messenger-page:not(.conversation-open){flex:auto;align-self:stretch;min-height:0}.messenger-page:not(.conversation-open) .messenger-sidebar{height:100%;min-height:0}.messenger-page:not(.conversation-open) .messenger-conversations{min-height:0;padding-bottom:max(8px,env(safe-area-inset-bottom));flex:auto}html:has(.messenger-page){overscroll-behavior:none;height:100%;min-height:0;overflow:hidden}body:has(.messenger-page){overscroll-behavior:none;height:100%;min-height:0;overflow:hidden}#root:has(.messenger-page){overscroll-behavior:none;height:100%;min-height:0;overflow:hidden}.shell.messenger-shell{box-sizing:border-box;height:100dvh;max-height:100dvh}.messenger-shell>.messenger-page{flex:1 1 0;height:0;min-height:0}.messenger-message-list{overscroll-behavior:contain;min-height:0;scroll-padding-bottom:74px}.messenger-composer{padding:5px 6px calc(5px + env(safe-area-inset-bottom));border-top:1px solid var(--border);background:var(--panel);box-shadow:0 -5px 15px color-mix(in srgb,var(--background) 24%,transparent);gap:5px}.messenger-compose-field{min-height:42px;box-shadow:none;border:0;border-radius:12px;padding:2px 4px}.messenger-compose-field:focus-within{box-shadow:none;border-color:#0000}.messenger-compose-field textarea{min-height:34px;max-height:92px;padding:6px 3px 4px;font-size:16px;line-height:1.28}.messenger-send{border-radius:11px;width:42px;height:42px;padding:8px;position:static}.messenger-message-menu.own-message{grid-template-columns:repeat(4,minmax(0,1fr))}.messenger-message-menu.own-message>button span{font-size:8px}}@font-face{font-family:"Exo 2";src:url(/fonts/exo2-400.ttf)format("truetype");font-style:normal;font-weight:400;font-display:swap}@font-face{font-family:"Exo 2";src:url(/fonts/exo2-600.ttf)format("truetype");font-style:normal;font-weight:600;font-display:swap}@font-face{font-family:"Exo 2";src:url(/fonts/exo2-700.ttf)format("truetype");font-style:normal;font-weight:700;font-display:swap}@font-face{font-family:"Exo 2";src:url(/fonts/exo2-800.ttf)format("truetype");font-style:normal;font-weight:800;font-display:swap}@font-face{font-family:Russo One;src:url(/fonts/russo-one-400.ttf)format("truetype");font-style:normal;font-weight:400;font-display:swap}:root{--text-primary:#f1f8f5;--text-secondary:#aec3ba;--text-muted:#90aa9f;--ui-accent:#78e0b8;--ui-accent-strong:#91efca;--ui-accent-deep:#39a77c;--ui-border:#315d4b;--ui-divider:#26483a;--ui-muted:#78978b;--ui-bg:#07110f;--ui-bg-secondary:#0b1d17;--ui-surface-a:#10281f;--ui-surface-b:#07140f;--ui-glow:#4ad29d33;--ui-glow-soft:#4ad29d14;--ui-light-bg:#edf6f2;--ui-light-surface-a:#fff;--ui-light-surface-b:#e5f1ec;--ui-on-accent:#06130d;color:var(--text-primary);background:var(--ui-bg);font-synthesis:none;font-family:"Exo 2",Inter,ui-sans-serif,system-ui,sans-serif}:root[data-profile-gradient=sapphire]{--text-secondary:#b7cbd9;--text-muted:#8ea9bb;--ui-accent:#76c8ff;--ui-accent-strong:#a6dcff;--ui-accent-deep:#397fc0;--ui-border:#315f82;--ui-divider:#29485f;--ui-muted:#7895a9;--ui-bg:#070e14;--ui-bg-secondary:#0b1923;--ui-surface-a:#0e2230;--ui-surface-b:#07121a;--ui-glow:#3397e738;--ui-glow-soft:#3397e714;--ui-light-bg:#edf5fa;--ui-light-surface-a:#fff;--ui-light-surface-b:#e4eef6}:root[data-profile-gradient=violet]{--text-secondary:#c9bdd6;--text-muted:#a997b8;--ui-accent:#c093ff;--ui-accent-strong:#d7b8ff;--ui-accent-deep:#7950bd;--ui-border:#65478c;--ui-divider:#4c3963;--ui-muted:#9a86ad;--ui-bg:#0d0912;--ui-bg-secondary:#171020;--ui-surface-a:#20162d;--ui-surface-b:#100b17;--ui-glow:#995be738;--ui-glow-soft:#995be714;--ui-light-bg:#f4eff8;--ui-light-surface-a:#fff;--ui-light-surface-b:#ede5f5}:root[data-profile-gradient=amber]{--text-secondary:#d2c4aa;--text-muted:#af9e7f;--ui-accent:#f1c36f;--ui-accent-strong:#f8d99b;--ui-accent-deep:#b77a23;--ui-border:#806338;--ui-divider:#604c2e;--ui-muted:#aa936d;--ui-bg:#100c06;--ui-bg-secondary:#1d160b;--ui-surface-a:#2a2011;--ui-surface-b:#130f07;--ui-glow:#e09a2d3b;--ui-glow-soft:#e09a2d16;--ui-light-bg:#f8f3e9;--ui-light-surface-a:#fff;--ui-light-surface-b:#f4ead7}:root[data-profile-gradient=crimson]{--text-secondary:#d1b9bc;--text-muted:#b18f93;--ui-accent:#f08d96;--ui-accent-strong:#ffb5bb;--ui-accent-deep:#b64958;--ui-border:#81444c;--ui-divider:#60353b;--ui-muted:#ad7e83;--ui-bg:#100708;--ui-bg-secondary:#1d0d10;--ui-surface-a:#2a1519;--ui-surface-b:#14090b;--ui-glow:#de4c5d38;--ui-glow-soft:#de4c5d14;--ui-light-bg:#f9eeee;--ui-light-surface-a:#fff;--ui-light-surface-b:#f5e4e6}*{box-sizing:border-box}body{background:radial-gradient(circle at 20% -10%,var(--ui-glow),transparent 38%),var(--ui-bg);min-width:320px;min-height:100vh;margin:0}button,input,select{font:inherit}button{color:inherit}.shell{width:min(1180px,100%);min-height:100vh;padding:max(18px, env(safe-area-inset-top)) 18px 90px;margin:auto}header{border-bottom:1px solid var(--ui-divider);min-height:66px;color:var(--ui-muted);letter-spacing:.2em;justify-content:space-between;align-items:center;padding-bottom:6px;font-size:11px;display:flex}.shell>header{z-index:60;background:0 0;position:relative}header .brand-mark{aspect-ratio:3;cursor:pointer;background:0 0;border:0;border-radius:0;width:clamp(190px,24vw,270px);height:auto;min-height:0;padding:0;position:relative;overflow:visible}.brand-mark:after{content:none}.brand-mark img{z-index:1;object-fit:contain;transform-origin:50%;width:100%;height:100%;animation:4.2s ease-in-out infinite brand-pulse;display:block;position:relative}@keyframes brand-pulse{0%,to{filter:brightness(.92)saturate(.96)drop-shadow(0 0 #0000);transform:scale(.995)}50%{filter:brightness(1.08) saturate(1.12) drop-shadow(0 0 7px var(--ui-glow));transform:scale(1.012)}}.header-profile-card{border-color:var(--ui-border);background:linear-gradient(145deg,var(--ui-surface-a),var(--ui-surface-b));letter-spacing:normal;text-align:left;border-radius:14px;grid-template-columns:46px minmax(80px,auto) auto;align-items:center;gap:10px;max-width:min(330px,48vw);min-height:58px;padding:6px 12px 6px 7px;display:grid;box-shadow:inset 0 1px #ffffff09,0 8px 30px #00000029}.header-profile-card:hover{border-color:var(--ui-accent);background:radial-gradient(circle at 100% 0,var(--ui-glow),transparent 55%),linear-gradient(145deg,var(--ui-surface-a),var(--ui-surface-b))}.header-profile-card>img,.header-avatar-placeholder{border:1px solid var(--ui-accent);object-fit:cover;background:var(--ui-bg-secondary);width:46px;height:46px;color:var(--ui-accent);border-radius:11px;place-items:center;font-size:13px;font-weight:900;display:grid}.header-profile-copy{gap:4px;min-width:0;display:grid}.header-profile-copy strong{color:#eef8f4;text-overflow:ellipsis;white-space:nowrap;font-size:14px;overflow:hidden}.header-profile-copy small{color:var(--ui-muted);letter-spacing:.16em;text-transform:uppercase;font-size:8px}.header-profile-card>b{color:var(--ui-accent);font-size:18px}.mobile-menu-button{border-color:var(--ui-border);background:linear-gradient(145deg,var(--ui-surface-a),var(--ui-surface-b));border-radius:13px;align-content:center;gap:5px;width:46px;min-height:46px;padding:9px 11px;display:grid}.mobile-menu-button span{background:var(--ui-accent);border-radius:999px;width:100%;height:2px;transition:transform .2s;display:block}.header-messenger-button{border-color:var(--ui-border);background:linear-gradient(145deg,var(--ui-surface-a),var(--ui-surface-b));width:46px;min-height:46px;color:var(--ui-accent);border-radius:13px;place-items:center;padding:9px;display:grid;position:relative}.header-messenger-button:hover,.header-messenger-button.active{border-color:var(--ui-accent);background:radial-gradient(circle at 50% 45%,var(--ui-glow),transparent 72%),linear-gradient(145deg,var(--ui-surface-a),var(--ui-surface-b));color:var(--ui-accent-strong)}.header-messenger-button svg{fill:none;stroke:currentColor;stroke-width:1.7px;stroke-linecap:round;stroke-linejoin:round;width:25px;height:25px}.header-messenger-button>b{border:2px solid var(--ui-bg);background:var(--ui-accent);min-width:20px;height:20px;color:var(--ui-on-accent);letter-spacing:0;border-radius:999px;place-items:center;padding:0 5px;font-size:9px;font-weight:900;line-height:1;display:grid;position:absolute;top:-6px;right:-6px;box-shadow:0 3px 10px #00000052}:root[data-theme=light] .header-messenger-button>b{border-color:var(--ui-light-bg)}.mobile-drawer-backdrop{z-index:300;visibility:visible;opacity:1;pointer-events:auto;-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px);background:#010805a8;justify-content:flex-end;width:100vw;height:100dvh;display:flex;position:fixed;inset:0}.mobile-drawer{border-left:1px solid var(--ui-border);background:radial-gradient(circle at 100% 0,var(--ui-glow),transparent 34%),var(--ui-bg-secondary);width:min(360px,90vw);min-height:100dvh;padding:max(18px, env(safe-area-inset-top)) 16px max(18px, env(safe-area-inset-bottom));flex-direction:column;gap:18px;animation:.22s ease-out drawer-enter;display:flex;box-shadow:-22px 0 70px #0000007a}@keyframes drawer-enter{0%{transform:translate(100%)}to{transform:translate(0)}}.mobile-drawer-heading{justify-content:space-between;align-items:center;display:flex}.drawer-profile-card{border-color:var(--ui-border);background:radial-gradient(circle at 100% 0,var(--ui-glow-soft),transparent 45%),linear-gradient(145deg,var(--ui-surface-a),var(--ui-surface-b));text-align:left;border-radius:16px;grid-template-columns:56px minmax(0,1fr) auto;align-items:center;gap:11px;width:100%;min-height:78px;padding:9px;display:grid}.drawer-profile-card>img,.drawer-profile-card>span:first-child{border:1px solid var(--ui-accent);object-fit:cover;background:var(--ui-bg-secondary);width:56px;height:56px;color:var(--ui-accent);border-radius:13px;place-items:center;font-size:15px;font-weight:900;display:grid}.drawer-profile-card>span:nth-child(2){gap:6px;min-width:0;display:grid}.drawer-profile-card strong{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.drawer-profile-card small{color:var(--ui-muted);letter-spacing:.07em;font-size:8px}.drawer-profile-card>b{color:var(--ui-accent);font-size:25px}.drawer-navigation{gap:2px;display:grid}.drawer-navigation button{background:linear-gradient(90deg,var(--ui-glow-soft),transparent 68%);text-align:left;border:0;border-radius:0;width:100%;min-height:52px;padding:0 16px 0 19px;transition:color .18s,background .18s,padding-left .18s;position:relative;overflow:hidden}.drawer-navigation button:before{content:"";width:3px;box-shadow:none;background:0 0;border-radius:0 3px 3px 0;transition:background .18s,box-shadow .18s;position:absolute;top:8px;bottom:8px;left:0}.drawer-navigation button:hover{background:linear-gradient(90deg,var(--ui-glow),transparent 70%);border:0;padding-left:22px}.drawer-navigation button.active,.drawer-navigation button[aria-current=page]{color:var(--ui-accent-strong);background:linear-gradient(90deg,var(--ui-glow),transparent 72%);font-weight:800}.drawer-utility-row{border-top:1px solid var(--ui-divider);grid-template-columns:repeat(4,minmax(0,1fr));gap:7px;margin-top:auto;padding-top:15px;display:grid}.drawer-utility-row.telegram-session{grid-template-columns:repeat(2,minmax(0,1fr))}.drawer-utility-row button{min-width:0;min-height:68px;color:var(--text-muted);border-radius:13px;align-content:center;place-items:center;gap:5px;padding:7px 3px;font-size:10px;display:grid}.drawer-utility-row button:hover{border-color:var(--ui-accent);color:var(--ui-accent-strong)}.drawer-utility-row svg{fill:none;stroke:currentColor;stroke-width:1.65px;stroke-linecap:round;stroke-linejoin:round;width:24px;height:24px}.drawer-utility-row .drawer-push-control{min-height:68px;color:var(--text-muted)}.drawer-utility-row .drawer-push-control:hover,.drawer-utility-row .drawer-push-control.enabled{border-color:var(--ui-accent);color:var(--ui-accent-strong);background:var(--ui-glow-soft)}.drawer-utility-row .drawer-push-control:disabled{cursor:default;opacity:.58}.drawer-utility-row .drawer-logout{color:#d89b95;border-color:#59413f}h1{letter-spacing:-.035em;margin:5px 0 12px;font-family:Russo One,Arial Black,sans-serif;font-size:clamp(30px,6vw,58px);font-weight:400;line-height:.96}h2,h3{font-family:Russo One,Arial Black,sans-serif;font-weight:400}h2{margin-top:28px}p{color:var(--text-secondary);line-height:1.55}small{color:var(--ui-accent);letter-spacing:.14em;font-weight:800}button,input,select{border:1px solid var(--ui-divider);background:var(--ui-bg-secondary);min-height:44px;color:inherit;border-radius:9px;padding:10px 15px}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.35}button.primary{border-color:var(--ui-accent);color:var(--ui-on-accent);background:var(--ui-accent);font-weight:850}button.danger{color:#ffe9e6;background:#773631;border-color:#a95850;font-weight:800}.hero{max-width:680px;padding:13vh 0}.hero p{max-width:560px;font-size:18px}.hero .primary{margin:22px 0}.auth-login-stack{text-align:center;width:fit-content;max-width:100%}.auth-login-stack .primary{margin:22px auto;display:block}details{color:var(--text-muted);margin-top:16px}details input{color:#fff;margin:12px 8px 0 0}.panel{border:1px solid var(--ui-divider);background:linear-gradient(145deg,var(--ui-surface-a),var(--ui-surface-b));border-radius:16px;margin-top:50px;padding:28px}.narrow{max-width:560px}.narrow input{color:#fff;width:100%;margin:12px 0}.page-head,.profile-head{justify-content:space-between;align-items:center;gap:20px;padding:42px 0 25px;display:flex}.profile-head{justify-content:flex-start}.profile-head>img,.profile-head>span{border:2px solid var(--ui-accent);object-fit:cover;background:radial-gradient(circle at 28% 20%,var(--ui-glow),transparent 43%),linear-gradient(145deg,var(--ui-surface-a),var(--ui-bg-secondary));width:88px;height:88px;color:var(--ui-accent-strong);border-radius:22px;place-items:center;font-size:26px;font-weight:900;display:grid}.profile-head h1{font-size:42px}.hero-grid{grid-template-columns:repeat(auto-fill,minmax(128px,1fr));gap:22px;padding:8px;display:grid}.hero-grid>.hero-icon{content-visibility:auto;contain-intrinsic-size:96px 96px}.defense-picker-grid>.hero-icon,.attack-picker-grid>.hero-icon{content-visibility:visible;contain:style}.hero-icon{--accent:#70dcb3;--accent-2:#173f31;z-index:1;aspect-ratio:1;isolation:isolate;filter:drop-shadow(0 12px 18px #00000059);background:0 0;border:0;border-radius:0;width:100%;min-width:0;min-height:0;padding:0;position:relative;overflow:visible;container-type:inline-size}.hero-icon.selected{outline:2px solid var(--accent);outline-offset:5px;filter:drop-shadow(0 0 12px color-mix(in srgb, var(--accent) 48%, transparent))}.hero-art{z-index:0;background:radial-gradient(circle at 50% 58%, color-mix(in srgb, var(--accent) 72%, #facc15), #07110e 82%);border-radius:0;position:absolute;inset:6.25cqw;overflow:hidden}.hero-art img{object-fit:cover;width:100%;max-width:none;height:100%;position:absolute;inset:0}.hero-frame{z-index:2;object-fit:fill;pointer-events:none;width:100%;max-width:none;height:100%;position:absolute;inset:0}.hero-level{z-index:5;color:#fff;text-shadow:0 .8cqw 1.6cqw #002f43;background:linear-gradient(#2589ad,#075775);border:clamp(1px,1.55cqw,2px) solid #b9efff;border-radius:5.5cqw 5.5cqw 7cqw 7cqw;justify-content:center;align-items:center;gap:3.1cqw;min-width:35.9cqw;height:21.1cqw;padding:0 6.25cqw;font-size:9.4cqw;display:flex;position:absolute;top:-3.9cqw;left:7.8cqw;box-shadow:0 2.35cqw 5.5cqw #0000008c,inset 0 0 3.9cqw #ffffff59}.hero-level.talisman{gap:3.1cqw;min-width:40cqw;height:21.1cqw;padding:0 5.2cqw;font-size:9.4cqw;top:-2.2cqw;left:50%;right:auto;transform:translate(-50%)}.hero-level.talisman img{object-fit:contain;filter:brightness(1.2)drop-shadow(0 .8cqw 1.6cqw #000000a6);width:14.8cqw;max-width:none;height:14.8cqw}.hero-level.talisman.stat-strength,.hero-level.talisman.stat-physicalAttack,.hero-level.talisman.stat-critChance,.hero-level.talisman.stat-ferocity{background:linear-gradient(#b54a48,#6f211f);border-color:#ffc8bd}.hero-level.talisman.stat-intelligence,.hero-level.talisman.stat-magicAttack,.hero-level.talisman.stat-magicPenetration,.hero-level.talisman.stat-magicCrit{background:linear-gradient(#9a4caf,#552468);border-color:#efc4ff}.hero-level.talisman.stat-health,.hero-level.talisman.stat-magicDefense,.hero-level.talisman.stat-tenacity{background:linear-gradient(#61a94f,#2e6d32);border-color:#d9f6ca}.hero-level strong{font-size:inherit}.hero-stars{z-index:5;filter:drop-shadow(0 1.55cqw 2.35cqw #000);justify-content:center;align-items:center;display:flex;position:absolute;bottom:-5.5cqw;left:50%;transform:translate(-50%)}.hero-stars img{object-fit:contain;width:40.6cqw;max-width:none;height:23.4cqw}.hero-relic{z-index:6;place-items:center;width:38.3cqw;height:38.3cqw;display:grid;position:absolute;top:-9.4cqw;right:-10.15cqw}.hero-relic img{object-fit:contain;filter:drop-shadow(0 3.1cqw 5.5cqw #00000080);grid-area:1/1;width:100%;height:100%}.defense-workspace{grid-template:"pool packs"minmax(0,auto)"save packs"/minmax(0,1fr) minmax(390px,430px);align-items:start;gap:10px 28px;padding-top:24px;display:grid}.defense-hero-pool,.defense-packs-panel{min-width:0}.defense-hero-pool{grid-area:pool}.defense-packs-panel{grid-area:packs}.defense-section-heading{justify-content:space-between;align-items:center;gap:9px;min-height:40px;margin-bottom:14px;display:flex}.defense-section-heading>span{border:1px solid var(--ui-border);min-width:62px;height:40px;color:var(--ui-accent);border-radius:999px;place-items:center;padding:0 9px;font-size:11px;font-weight:850;display:grid}.defense-hero-grid{scrollbar-color:var(--ui-accent-deep) transparent;scrollbar-width:thin;grid-template-columns:repeat(auto-fill,minmax(72px,1fr));gap:13px 9px;max-height:calc(100vh - 225px);padding:9px 15px 18px 8px;overflow-y:auto}.defense-packs-panel{gap:9px;display:grid;position:sticky;top:18px}.defense-packs-track{scrollbar-color:var(--ui-accent-deep) transparent;scrollbar-width:thin;gap:9px;min-width:0;max-height:calc(100dvh - 215px);padding:2px 4px 2px 2px;display:grid;overflow-y:auto}.defense-pack-card{border:1px solid var(--ui-divider);background:linear-gradient(100deg,var(--ui-surface-a),var(--ui-surface-b));border-radius:15px;transition:border-color .18s,box-shadow .18s,transform .18s;overflow:hidden}.defense-pack-card.active{border-color:var(--ui-accent);box-shadow:0 0 0 1px var(--ui-glow-soft),0 12px 34px #0003}.defense-pack-card.pack-dragging{z-index:24;opacity:.92;pointer-events:none;cursor:grabbing;transition:none;position:relative;box-shadow:0 18px 42px #0000007a,0 0 0 2px #ebb1469e}.defense-pack-card.pack-drop-target{border-color:#e6aa42;box-shadow:inset 0 0 0 2px #eaae4345,0 0 22px #e09b2b24}.defense-pack-heading{background:linear-gradient(90deg,var(--ui-glow-soft),transparent 70%);text-align:left;border:0;border-radius:0;justify-content:space-between;align-items:center;gap:12px;width:100%;min-height:45px;padding:7px 11px 7px 14px;display:flex}.defense-pack-heading,.defense-pack-card img{-webkit-user-select:none;user-select:none;-webkit-user-drag:none}.defense-pack-heading,.defense-slot.filled{cursor:grab}.defense-pack-heading span{gap:2px;display:grid}.defense-pack-heading small{color:#648579;letter-spacing:.08em;font-size:8px}.defense-pack-heading strong{color:var(--ui-accent);font-size:14px}.defense-pack-card.active .defense-pack-heading{background:linear-gradient(90deg,var(--ui-glow),transparent 72%)}.defense-slots{border-top:1px solid #4f856f2e;grid-template-columns:repeat(5,minmax(0,1fr));gap:6px;padding:8px 10px 11px;display:grid}.defense-slot{aspect-ratio:1;min-width:0}.defense-slot.empty{color:#4e816d;background:#040e0a75;border:1px dashed #355b4c;border-radius:9px;place-content:center;gap:1px;width:100%;min-height:0;padding:0;display:grid}.defense-slot.empty:hover{color:#75dcb4;background:#44ac821a;border-color:#68cda6}.defense-slot.empty span{font-size:21px;font-weight:300;line-height:.7}.defense-slot.empty small{color:inherit;font-size:7px}.defense-slot.filled{transition:opacity .16s,transform .16s,filter .16s;position:relative}.defense-slot.hero-dragging{opacity:.3;transform:scale(.88)}.defense-slot.hero-drop-target{z-index:3;outline-offset:2px;filter:drop-shadow(0 0 10px #ebb04775);outline:2px solid #efb64f;transform:scale(1.045)}.defense-slot.filled .hero-icon{filter:drop-shadow(0 5px 7px #0000005c);width:100%;height:100%}.defense-hero-drag-ghost{z-index:760;pointer-events:none;filter:drop-shadow(0 13px 18px #0009);width:76px;height:76px;position:fixed;transform:translate(-50%,-50%)scale(.94)}.defense-hero-drag-ghost .hero-icon{width:100%;height:100%}.defense-shuffle-button{color:#e8a938;background:linear-gradient(145deg,#ecac342b,#69440d14);border:1px solid #e7ae469e;border-radius:9px;place-items:center;width:40px;min-width:40px;height:40px;min-height:40px;padding:5px;display:grid;box-shadow:inset 0 0 0 1px #ffd3760a}.defense-shuffle-button:hover:not(:disabled){color:#ffc75f;filter:none;background:#e09e2c1f;border-color:#f0b64b}.defense-shuffle-button:disabled{opacity:.34}.defense-shuffle-button svg{fill:none;stroke:currentColor;stroke-width:1.7px;stroke-linecap:round;stroke-linejoin:round;filter:drop-shadow(0 1px #140a0080);width:28px;height:28px;overflow:visible}html.defense-drag-active{overscroll-behavior:none}html.defense-drag-active body{-webkit-user-select:none;user-select:none}.talisman-picker-backdrop{z-index:460}.talisman-picker-modal{width:min(760px,100%)}.talisman-options{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;display:grid}.talisman-option{text-align:left;background:radial-gradient(circle at 0 0,#69dcb121,#0000 38%),linear-gradient(145deg,#10281f,#081711);border:1px solid #335849;border-radius:14px;gap:10px;min-width:0;padding:13px;display:grid}.talisman-option-head{grid-template-columns:58px minmax(0,1fr) auto;align-items:center;gap:10px;min-width:0;display:grid}.talisman-option-head>img{object-fit:contain;filter:drop-shadow(0 5px 8px #0000006b);width:58px;height:58px}.talisman-option-head>span{gap:4px;min-width:0;display:grid}.talisman-option-head small{font-size:7px}.talisman-option-head strong{text-overflow:ellipsis;white-space:nowrap;font-size:14px;overflow:hidden}.talisman-option-head>b{color:#82e8c0;background:#5ac29921;border:1px solid #5dbb96;border-radius:6px;padding:4px 6px;font-size:7px}.talisman-stat-row{border-top:1px solid #659f8833;grid-template-columns:31px minmax(0,1fr) auto;align-items:center;gap:8px;min-width:0;padding-top:9px;display:grid}.talisman-stat-row>img{object-fit:contain;width:31px;height:31px}.talisman-stat-row>span{gap:2px;min-width:0;display:grid}.talisman-stat-row small{color:#668579;letter-spacing:.03em;font-size:7px}.talisman-stat-row span b{font-size:11px}.talisman-stat-row>strong{color:#8de9c4;font-family:Russo One,sans-serif;font-size:15px}.hero-filter-groups{background:linear-gradient(110deg,#205b4457,#0b1e17b8 58%,#05110de0);border:1px solid #5ccda233;border-radius:13px;gap:7px;margin:0 0 15px;padding:9px 11px 7px;display:grid;box-shadow:inset 0 1px #ffffff06}.icon-filter-group{scrollbar-width:none;align-items:center;gap:4px;padding:1px 2px 3px;display:flex;overflow-x:auto}.icon-filter-group::-webkit-scrollbar{display:none}.icon-filter-button{color:#668077;background:0 0;border:1px solid #0000;border-radius:8px;place-items:center;width:37px;min-width:37px;height:37px;min-height:37px;padding:4px;transition:transform .18s,border-color .18s,color .18s,background .18s,box-shadow .18s;display:grid;position:relative}.icon-filter-button img{object-fit:contain;opacity:.58;filter:saturate(.55)brightness(.78);width:27px;max-width:none;height:27px;transition:opacity .18s,filter .18s,transform .18s}.icon-filter-button svg{fill:none;stroke:currentColor;stroke-width:1.65px;stroke-linejoin:round;width:21px;height:21px}.icon-filter-button.filter-all{background:#050e0b85;border-color:#77e6be1a;margin-right:5px}.icon-filter-button.filter-all:after{content:"";background:#29483b;width:1px;height:25px;position:absolute;top:6px;right:-7px}.icon-filter-button:hover{color:#77e6be;background:#77e6be0f;border-color:#77e6be47;transform:translateY(-1px)}.icon-filter-button:hover img{opacity:.9;filter:saturate(.9)brightness();transform:scale(1.04)}.icon-filter-button.active{color:#83ebc5;background:linear-gradient(145deg,#77e6be29,#77e6be0e);border-color:#77e6be85;box-shadow:inset 0 0 16px #77e6be14,0 0 0 1px #77e6be0a}.icon-filter-button.active img{opacity:1;filter:saturate(1.1)brightness(1.18)drop-shadow(0 2px 4px #0000008c)}.icon-filter-group.factions .icon-filter-button.active{color:#f2c06c;background:linear-gradient(145deg,#f2c06c26,#f2c06c0b);border-color:#f2c06c8c;box-shadow:inset 0 0 16px #f2c06c12,0 0 0 1px #f2c06c0a}.defense-hero-picker{width:min(850px,100%)}.defense-pack-picker{width:min(900px,100%)}.pack-picker-top{z-index:4;background:inherit;margin:-4px -2px 14px;padding:4px 2px 12px;position:sticky;top:-22px}.pack-picker-top .modal-heading{margin-bottom:12px}.pack-picker-slots{background:linear-gradient(110deg,#25634b5c,#06130ee6);border:1px solid #5cd8a93d;border-radius:14px;grid-template-columns:repeat(5,minmax(0,1fr));gap:9px;width:min(620px,100%);margin:0 auto;padding:10px;display:grid;box-shadow:0 10px 30px #0003}.pack-picker-slot{aspect-ratio:1;min-width:0}.pack-picker-slot.filled{position:relative}.pack-picker-slot.filled .hero-icon{width:100%;height:100%}.pack-picker-slot.empty{color:#5d9a81;text-align:center;background:#040f0b8f;border:1px dashed #3e6e5a;border-radius:9px;place-content:center;gap:2px;padding:0;display:grid}.pack-picker-slot.empty span{font-size:23px;font-weight:300;line-height:.75}.pack-picker-slot.empty small{color:inherit;font-size:8px}.slot-remove-action{color:#e4a39c;background:#6f2b262e;border-color:#74423e;min-height:36px;margin:0 0 12px;padding:7px 11px;font-size:11px}.defense-save-button{z-index:auto;border-radius:9px;grid-area:save;justify-self:start;width:172px;min-height:42px;margin:0 0 2px 6px;padding:7px 12px;font-size:12px;position:static;box-shadow:0 8px 22px #00000038}.defense-picker-grid{grid-template-columns:repeat(auto-fill,minmax(76px,1fr));gap:14px 9px;max-height:62vh;padding:10px 13px 18px 8px;overflow-y:auto}.attack-slots{border:1px solid var(--ui-border);background:radial-gradient(circle at 0 50%,var(--ui-glow-soft),transparent 44%),linear-gradient(110deg,var(--ui-surface-a),var(--ui-surface-b));border-radius:14px;grid-template-columns:repeat(5,minmax(0,1fr));gap:8px;width:min(590px,100%);margin:0 0 18px;padding:11px;display:grid}.attack-slot{aspect-ratio:1;min-width:0}.attack-slot.filled{position:relative}.attack-slot.empty{color:#4e816d;text-align:center;background:#040e0a75;border:1px dashed #355b4c;border-radius:10px;place-content:center;gap:2px;display:grid}.attack-slot.empty span{font-size:22px;font-weight:300;line-height:.75}.attack-slot.empty small{color:inherit;font-size:8px}.pack-tabs{grid-template-columns:repeat(5,1fr);gap:8px;margin:0 0 22px;display:grid}.pack-tabs button{flex-direction:column;gap:5px;display:flex}.pack-tabs .active{border-color:var(--ui-accent);color:var(--ui-accent)}.action-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;display:grid}.action-grid button{min-height:74px}.action-grid .big{grid-column:1/-1;min-height:105px;font-size:22px}.match-list{gap:10px;display:grid}.match-list button{text-align:left;justify-content:space-between;display:flex}.match-list div{gap:5px;display:grid}.match-list span{text-align:right}.match-list em{color:var(--ui-accent);font-style:normal}.match-list-empty{border:1px dashed var(--ui-border);text-align:center;border-radius:13px;padding:28px}.duel-activity-card{background:radial-gradient(circle at 0,#59d5a41f,#0000 38%),linear-gradient(110deg,#112a21f5,#06130efa);border:1px solid #315244;border-radius:14px;grid-template-columns:minmax(190px,1fr) minmax(180px,.8fr) auto;align-items:center;gap:14px;padding:12px 14px;display:grid;overflow:hidden;box-shadow:0 10px 30px #00000024}.duel-activity-card.status-pending{border-color:#876638}.duel-activity-card.status-declined{border-color:#77453f}.duel-activity-player{align-items:center;min-width:0;gap:10px!important;display:flex!important}.duel-activity-player .lobby-player-avatar{border-radius:10px;flex:0 0 45px;width:45px;height:45px}.duel-activity-player>span{text-align:left;gap:3px;min-width:0;display:grid}.duel-activity-player small{font-size:7px}.duel-activity-player button{color:#edf8f4;text-align:left;text-overflow:ellipsis;white-space:nowrap;background:0 0;border:0;border-radius:0;min-height:0;padding:0;font-size:15px;font-weight:850;display:block;overflow:hidden}.duel-activity-player button:hover{color:#7ce2ba;background:0 0;border:0}.duel-activity-state{gap:5px;display:grid}.duel-activity-state b{color:#8ee7c3;font-size:12px}.status-pending .duel-activity-state b{color:#e5b867}.status-declined .duel-activity-state b,.status-cancelled .duel-activity-state b{color:#e79d95}.duel-activity-state time{color:#68877b;font-size:9px}.duel-activity-actions{justify-content:flex-end;gap:7px!important;display:flex!important}.duel-activity-actions button{text-align:center;white-space:nowrap;min-height:34px;padding:6px 10px;font-size:10px;display:block}.journal-toolbar{justify-content:space-between;align-items:center;gap:14px;margin:18px 0 16px;display:flex}.journal-status-tabs{border:1px solid var(--ui-border);background:var(--ui-bg-secondary);border-radius:14px;grid-template-columns:repeat(3,minmax(0,1fr));gap:5px;width:100%;padding:5px;display:grid}.journal-status-tabs button{color:#779287;background:0 0;border:0;justify-content:center;align-items:center;gap:9px;min-height:46px;font-size:11px;font-weight:850;display:flex}.journal-status-tabs button b{color:#8fafa2;background:#122d22bf;border:1px solid #36584a;border-radius:7px;place-items:center;min-width:23px;height:23px;font-size:10px;display:grid}.journal-status-tabs button.active{background:linear-gradient(135deg,var(--ui-accent),var(--ui-accent-deep));color:var(--ui-on-accent);box-shadow:0 7px 19px var(--ui-glow-soft);border:0}.journal-status-tabs button.active b{color:#07170f;background:#07170f1f;border-color:#07170f2e}.journal-list{gap:14px;display:grid}.journal-card{border:1px solid var(--ui-border);background:radial-gradient(circle at 0 50%,var(--ui-glow-soft),transparent 38%),linear-gradient(120deg,var(--ui-surface-a),var(--ui-surface-b));border-radius:17px;grid-template-columns:minmax(0,1.25fr) minmax(240px,.75fr);display:grid;overflow:hidden;box-shadow:0 14px 40px #00000030}.journal-card.status-pending{background:radial-gradient(circle at 0,#dca3421f,#0000 38%),linear-gradient(120deg,#1d2319fa,#07120efc);border-color:#80663d}.journal-card.status-waiting{background:radial-gradient(circle at 0,#69be9e1a,#0000 38%),linear-gradient(120deg,#12251efa,#07120efc);border-color:#5a7668}.journal-card.status-declined,.journal-card.status-cancelled,.journal-card.status-revoked,.journal-card.status-expired{border-color:#65423d}.journal-card-head{background:#030c0847;border-bottom:1px solid #3d65546b;grid-column:1/-1;justify-content:space-between;align-items:center;gap:12px;min-height:38px;padding:7px 14px;display:flex}.journal-kind{color:var(--ui-accent);letter-spacing:.13em;text-transform:uppercase;font-size:8px;font-weight:900}.status-pending .journal-kind{color:#dfb66d}.journal-card-head time{color:#678478;font-size:9px;font-weight:700}.journal-versus{grid-template-columns:minmax(0,1fr) 58px minmax(0,1fr);align-items:center;gap:13px;min-width:0;padding:18px 20px;display:grid}.journal-player{align-items:center;gap:11px;min-width:0;display:flex}.journal-player:last-child{text-align:right;flex-direction:row-reverse}.journal-player>span{gap:3px;min-width:0;display:grid}.journal-player small{color:#607e72;letter-spacing:.11em;text-transform:uppercase;font-size:7px;font-weight:850}.journal-player-avatar{border:1px solid var(--ui-border);background:radial-gradient(circle at 28% 20%,var(--ui-glow),transparent 43%),linear-gradient(145deg,var(--ui-surface-a),var(--ui-bg-secondary));border-radius:14px;width:62px;min-width:62px;height:62px;min-height:62px;padding:0;overflow:hidden;box-shadow:0 7px 20px #0000003d}.journal-player-avatar:hover{border-color:var(--ui-accent);background:var(--ui-bg-secondary)}.journal-player-avatar .lobby-player-avatar{border:0;border-radius:0;width:100%;height:100%}.journal-player-name,.journal-player-name:hover{color:#eef8f4;text-align:left;text-overflow:ellipsis;white-space:nowrap;background:0 0;border:0;border-radius:0;min-width:0;min-height:0;padding:0;font-family:Russo One,sans-serif;font-size:clamp(14px,1.7vw,20px);display:block;overflow:hidden}.journal-player:last-child .journal-player-name{text-align:right}.journal-player-name:hover{color:var(--ui-accent)}.journal-versus-icon{color:#efc56f;background:radial-gradient(circle,#41351f,#121b16 70%);border:1px solid #725f39;border-radius:15px;justify-self:center;place-items:center;width:52px;height:52px;display:grid;box-shadow:inset 0 0 16px #e6b3481c,0 6px 18px #0000003d}.journal-versus-icon svg{fill:none;stroke:currentColor;stroke-width:1.35px;opacity:.35;grid-area:1/1;width:28px;height:28px}.journal-versus-icon b{text-shadow:0 1px 4px #000;grid-area:1/1;font-family:Russo One,sans-serif;font-size:12px}.journal-versus-center{align-content:center;place-items:center;gap:5px;min-width:0;display:grid}.journal-versus-center .journal-rating-delta{white-space:nowrap;margin:0;font-size:9px;line-height:1}.journal-match-progress{border-left:1px solid #3d65546b;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);align-items:center;gap:12px;min-width:0;padding:18px 20px;display:grid}.journal-match-progress>span{text-align:center;gap:5px;min-width:0;display:grid}.journal-match-progress small{color:#668277;letter-spacing:.06em;text-overflow:ellipsis;text-transform:uppercase;white-space:nowrap;font-size:7px;font-weight:800;overflow:hidden}.journal-match-progress span b{color:var(--ui-accent-strong);font-family:Russo One,sans-serif;font-size:18px}.journal-match-progress>strong{color:#f0f7f4;align-items:center;gap:8px;font-family:Russo One,sans-serif;font-size:25px;display:flex}.journal-match-progress>strong i{color:#55756a;font-style:normal}.journal-invitation-state{color:#a7c6ba;text-align:center;border-left:1px solid #3d65546b;justify-content:center;align-items:center;gap:9px;min-width:0;padding:18px 20px;display:flex}.journal-invitation-state b{font-size:11px}.journal-invitation-copy{justify-items:center;gap:5px;min-width:0;display:grid}.invitation-deadline{color:#78968a;white-space:nowrap;justify-content:center;align-items:center;gap:6px;font-size:9px;line-height:1;display:flex}.invitation-deadline span{font-weight:750}.invitation-deadline b{letter-spacing:.04em;font-family:Russo One,sans-serif;font-size:10px;font-weight:400;color:#d9e9e2!important}.invitation-deadline.expired{color:#d18f88}.status-pending .journal-invitation-state b{color:#e2bb77}.status-declined .journal-invitation-state b,.status-revoked .journal-invitation-state b,.status-cancelled .journal-invitation-state b,.status-expired .journal-invitation-state b{color:#d18f88}.status-dot{background:#68d5aa;border-radius:50%;flex:0 0 7px;width:7px;height:7px;box-shadow:0 0 9px #53d6a399}.status-pending .status-dot{background:#deb05e;box-shadow:0 0 9px #deb05e8c}.status-declined .status-dot,.status-revoked .status-dot,.status-cancelled .status-dot,.status-expired .status-dot{box-shadow:none;background:#bc6a62}.journal-card-footer{background:#030c083d;border-top:1px solid #3d65546b;grid-column:1/-1;justify-content:flex-end;align-items:center;gap:8px;min-height:53px;padding:8px 13px;display:flex}.journal-card-footer button{min-height:36px;padding:7px 14px;font-size:10px}.journal-card-footer .danger-outline{color:#d3918b;border-color:#704a44}.journal-card-footer .danger-outline:hover:not(:disabled){background:#89403833;border-color:#a96057}.journal-rating-delta{min-width:0;color:var(--ui-accent);margin-right:auto;font-size:10px;font-weight:850}.journal-rating-delta.negative{color:#df8d84}.journal-card-action-footer{min-height:51px;padding:0;display:block}.journal-card-action-footer .journal-open-battle{background:linear-gradient(135deg,var(--ui-accent),var(--ui-accent-deep));width:100%;min-height:51px;color:var(--ui-on-accent);border:0;border-radius:0;font-size:11px}.journal-card-action-footer .journal-open-battle:hover:not(:disabled){background:linear-gradient(135deg,var(--ui-accent-strong),var(--ui-accent));border:0}.battle-type-tabs,.battle-perspective-tabs{background:#06120db8;border:1px solid #2d4d40;border-radius:12px;grid-template-columns:repeat(2,minmax(0,1fr));gap:4px;padding:4px;display:grid}.duel-deadline{color:#e4bd72;letter-spacing:.06em;font-family:Russo One,sans-serif;font-size:11px}.duel-deadline.completed{color:#70d8b0}.duel-deadline.expired{color:#df8981}.duel-deadline.compact{letter-spacing:.03em;font-size:7px}.duel-status-card{background:radial-gradient(circle at 50% 0,#4ab98f1a,#0000 58%),linear-gradient(115deg,#123528e6,#05110df5);border:1px solid #315748;border-radius:13px;margin:14px 0 16px;overflow:hidden;box-shadow:0 12px 28px #00000021}.duel-status-timer{border-bottom:1px solid #47786361;justify-content:space-between;align-items:center;gap:18px;min-height:43px;padding:7px 13px;display:flex}.duel-status-time-copy,.duel-current-score{align-items:center;gap:10px;min-width:0;display:flex}.duel-current-score{flex:none}.duel-current-score strong{color:#edf8f4;white-space:nowrap;font-family:Russo One,sans-serif;font-size:20px;font-weight:400}.duel-current-score strong i{color:#66877a;margin-inline:5px;font-style:normal}.duel-status-timer small{color:#789b8d;letter-spacing:.1em;font-size:10px;font-weight:850}.duel-status-timer .duel-deadline{font-size:13px}.duel-player-progress{grid-template-columns:repeat(2,minmax(0,1fr));display:grid}.duel-player-progress>div{gap:7px;min-width:0;padding:10px 13px 11px;display:grid}.duel-player-progress>div+div{border-left:1px solid #47786361}.duel-player-progress span{justify-content:space-between;align-items:center;gap:10px;min-width:0;display:flex}.duel-player-progress span>b{color:#e8f7f1;text-overflow:ellipsis;white-space:nowrap;font-size:12px;overflow:hidden}.duel-player-progress strong{color:#83e2bd;flex:none;font-family:Russo One,sans-serif;font-size:17px;font-weight:400}.duel-player-progress strong i{color:#66877a;margin:0 3px;font-style:normal}.duel-player-progress em{background:#628b7b38;border-radius:999px;height:4px;overflow:hidden}.duel-player-progress em>i{border-radius:inherit;background:linear-gradient(90deg,#4dba90,#79e3ba);height:100%;transition:width .25s;display:block;box-shadow:0 0 10px #54d3a257}.duel-result-scoreboard{grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);align-items:center;gap:14px;min-height:58px;padding:9px 18px;display:grid}.duel-result-scoreboard>b{color:#dff2ea;text-overflow:ellipsis;white-space:nowrap;font-size:clamp(12px,1.6vw,16px);overflow:hidden}.duel-result-scoreboard>b:last-child{text-align:right}.duel-result-scoreboard>strong{color:#f1f8f5;white-space:nowrap;font-family:Russo One,sans-serif;font-size:clamp(24px,3vw,32px);font-weight:400}.duel-result-scoreboard>strong i{color:#66877a;margin:0 7px;font-style:normal}.duel-result-outcome{color:#9ae6c7;background:#2c84611f;border-top:1px solid #47786361;justify-content:center;align-items:center;gap:9px;min-height:37px;padding:7px 12px;font-size:12px;font-weight:800;display:flex}.duel-result-outcome span{text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}.duel-result-outcome strong{color:#79e0b8;flex:none;font-family:Russo One,sans-serif;font-size:13px;font-weight:400}.duel-result-outcome.draw{color:#e0bd78;background:#9469231c}.duel-result-outcome.draw strong{color:#e8c97f}.battle-type-tabs{width:min(430px,100%);margin-bottom:18px}.battle-type-tabs button,.battle-perspective-tabs button{min-height:39px;color:var(--text-muted);background:0 0;border:0;font-size:11px;font-weight:800}.battle-type-tabs button.active,.battle-perspective-tabs button.active{color:var(--ui-on-accent);background:linear-gradient(135deg,var(--ui-accent),var(--ui-accent-deep));box-shadow:0 5px 15px var(--ui-glow-soft);border:0}.battle-perspective-tabs{display:none}.match-perspectives{grid-template-columns:repeat(2,minmax(0,1fr));align-items:start;gap:14px;display:grid}.match-perspective-column{min-width:0}.match-perspective-heading{justify-content:space-between;align-items:flex-end;gap:12px;min-height:55px;padding:0 5px 10px;display:flex}.match-perspective-heading h2{margin:0;font-size:19px}.match-perspective-heading small{font-size:7px}.match-perspective-column .battle-pack-list{width:100%}.match-perspective-column .battle-pack-main{grid-template-columns:93px minmax(0,1fr)}.match-perspective-column .battle-pack-action{padding-inline:9px}.match-perspective-column .battle-pack-defense{padding:7px 8px;display:block}.match-perspective-column .battle-pack-heading{justify-content:space-between;align-items:center;gap:5px;margin-bottom:5px;display:flex}.match-perspective-column .battle-pack-heading b{font-size:10px}.match-perspective-column .battle-pack-heading small{text-overflow:ellipsis;white-space:nowrap;max-width:48%;font-size:5px;overflow:hidden}.match-perspective-column .battle-defense-slots{grid-template-columns:repeat(5,minmax(0,1fr));gap:3px}.match-perspective-column .battle-result-score{grid-template-columns:minmax(95px,1fr) auto minmax(110px,1fr);gap:7px;padding-inline:9px}.match-perspective-column .battle-result-score>span:first-child b{font-size:13px}.match-perspective-column .battle-result-score>strong{font-size:21px}.match-perspective-column .battle-result-meta{font-size:6px}.match-perspective-column .battle-history-open{min-height:43px;padding:7px 10px}.tournament-defense-heading,.tournament-hero,.tournament-join-card,.tournament-control-card,.tournament-closed-card,.tournament-standings-card,.admin-card{background:radial-gradient(circle at 100% 0,#55cd9e1c,#0000 38%),linear-gradient(145deg,#0f251dfa,#05110dfa);border:1px solid #2d4d40;border-radius:18px;box-shadow:0 18px 50px #0000002e}.tournament-defense-heading{justify-content:space-between;align-items:center;gap:16px;margin-top:24px;padding:18px 20px;display:flex}.tournament-defense-heading h1{margin:4px 0 0;font-size:27px}.tournament-hero{background:radial-gradient(circle at 90% 20%,#dba34333,#0000 32%),linear-gradient(145deg,#17281f,#08130f);border-color:#856d3e;justify-content:space-between;align-items:center;gap:24px;margin-top:30px;padding:26px 28px;display:flex}.tournament-hero h1{margin-bottom:8px;font-size:clamp(34px,5vw,54px)}.tournament-hero p{margin:0}.rated-tournament-hero>div:first-child{min-width:0}.rated-tournament-hero-actions{flex:none;justify-content:flex-end;align-items:center;display:flex}.rated-tournament-join-button{min-width:220px}.rated-tournament-view-tabs{margin-top:16px}.rated-tournament-overview{border:1px solid var(--ui-border);background:radial-gradient(circle at 100% 0,var(--ui-glow),transparent 40%),linear-gradient(145deg,var(--ui-surface-a),var(--ui-surface-b));border-radius:20px;margin-top:30px;overflow:hidden;box-shadow:0 18px 50px #0000002e}.rated-tournament-overview-header{justify-content:space-between;align-items:center;gap:24px;min-height:156px;padding:24px 28px;display:flex}.rated-tournament-overview-header>div{min-width:0}.rated-tournament-overview-header h1{color:var(--text-primary);text-overflow:ellipsis;white-space:nowrap;margin:5px 0 9px;font-size:clamp(34px,5vw,54px);overflow:hidden}.rated-tournament-overview-header p{color:var(--text-secondary);margin:0}.rated-tournament-overview-body{border-top:1px solid var(--ui-divider);grid-template-columns:minmax(0,1fr) 1px minmax(220px,260px);align-items:stretch;gap:14px;padding:14px;display:grid}.rated-tournament-overview-body .tournament-stat-grid{border:1px solid var(--ui-border);background:var(--ui-bg-secondary);border-radius:15px;gap:0;overflow:hidden}.rated-tournament-overview-body .tournament-stat-grid article{background:0 0;border:0;border-radius:0}.rated-tournament-overview-body .tournament-stat-grid article+article{border-left:1px solid var(--ui-divider)}.rated-tournament-overview-body .tournament-stat-grid strong{color:var(--ui-accent-strong)}.rated-tournament-overview-body .tournament-stat-grid span{color:var(--text-muted)}.rated-tournament-overview .tournament-place{border-color:var(--ui-accent-deep);color:var(--ui-on-accent);background:linear-gradient(145deg,var(--ui-accent),var(--ui-accent-deep));box-shadow:0 10px 28px var(--ui-glow),inset 0 1px 0 color-mix(in srgb,var(--ui-on-accent) 28%,transparent)}.tournament-place{color:#f0c76f;background:#6f4e1940;border:1px solid #c69b50;border-radius:18px;place-items:center;min-width:86px;height:86px;font-family:Russo One,sans-serif;font-size:27px;display:grid}.tournament-closed-card,.tournament-join-card{margin-top:16px;padding:28px}.tournament-closed-card strong{font-family:Russo One,sans-serif;font-size:24px}.tournament-join-card{justify-content:space-between;align-items:center;gap:20px;display:flex}.tournament-join-card h2{margin:5px 0}.tournament-control-card{margin-top:16px;padding:18px}.rated-tournament-control-card{border-color:var(--ui-border);background:radial-gradient(circle at 100% 0,var(--ui-glow),transparent 42%),linear-gradient(145deg,var(--ui-surface-a),var(--ui-surface-b));grid-template-columns:minmax(0,1fr) 1px minmax(220px,260px);align-items:stretch;gap:14px;padding:14px;display:grid;overflow:hidden}.tournament-stat-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:9px;display:grid}.tournament-stat-grid article{background:#07140fad;border:1px solid #315044;border-radius:13px;gap:5px;min-width:0;padding:14px;display:grid}.tournament-stat-grid strong{color:#86e7bf;font-family:Russo One,sans-serif;font-size:27px}.tournament-stat-grid span{color:#718e82;font-size:9px}.rated-tournament-control-card .tournament-stat-grid{border:1px solid var(--ui-border);background:var(--ui-bg-secondary);border-radius:15px;gap:0;overflow:hidden}.rated-tournament-control-card .tournament-stat-grid article{background:0 0;border:0;border-radius:0}.rated-tournament-control-card .tournament-stat-grid article+article{border-left:1px solid var(--ui-divider)}.rated-tournament-control-card .tournament-stat-grid strong{color:var(--ui-accent-strong)}.rated-tournament-control-card .tournament-stat-grid span{color:var(--text-muted)}.rated-tournament-control-divider{background:linear-gradient(transparent,var(--ui-border) 18%,var(--ui-accent) 50%,var(--ui-border) 82%,transparent);width:1px;min-height:100%;box-shadow:0 0 12px var(--ui-glow)}.tournament-actions.rated-tournament-actions{border:1px solid var(--ui-border);background:var(--ui-bg-secondary);border-radius:15px;grid-template-rows:repeat(2,minmax(68px,1fr));grid-template-columns:1fr;gap:0;margin:0;display:grid;overflow:hidden}.rated-tournament-action-card{background:linear-gradient(135deg,var(--ui-surface-b),var(--ui-glow-soft));text-align:left;border:0;border-radius:0;grid-template-columns:44px minmax(0,1fr);align-items:center;gap:11px;min-width:0;min-height:68px;padding:10px 13px;display:grid}.rated-tournament-action-card+.rated-tournament-action-card{border-top:1px solid var(--ui-divider)}.rated-tournament-action-card:hover:not(:disabled){border-color:var(--ui-accent);background:linear-gradient(135deg,var(--ui-glow),var(--ui-surface-b));transform:translateY(-1px)}.rated-tournament-action-card.match{border-color:color-mix(in srgb,var(--ui-accent) 68%,var(--ui-border))}.rated-tournament-action-card.searching{box-shadow:inset 0 0 18px var(--ui-glow-soft)}.rated-tournament-action-card:disabled{opacity:.62;cursor:not-allowed}.rated-tournament-action-card>span{gap:4px;min-width:0;display:grid}.rated-tournament-action-card strong{color:var(--text-primary);font:400 15px/1 Russo One,sans-serif}.rated-tournament-action-card small{color:var(--text-muted);text-overflow:ellipsis;font-size:9px;line-height:1.2;overflow:hidden}.rated-tournament-action-icon{border:1px solid var(--ui-border);background:var(--ui-glow-soft);fill:none;width:42px;height:42px;stroke:var(--ui-accent-strong);stroke-width:1.8px;stroke-linecap:round;stroke-linejoin:round;border-radius:12px;padding:8px;overflow:visible}.rated-tournament-action-card.match .rated-tournament-action-icon{border-color:color-mix(in srgb,var(--ui-accent) 70%,var(--ui-border))}.tournament-actions{justify-content:flex-end;gap:8px;margin-top:14px;display:flex}.tournament-find-button{min-width:180px}.tournament-hint{text-align:right;margin:9px 2px 0;font-size:11px}.tournament-standings-card{margin-top:16px;padding:20px}.tournament-table{min-width:650px;display:grid}.tournament-standings-card{overflow-x:auto}.rated-tournament-standings-card{overflow:hidden}.tournament-table-head,.tournament-table>button{grid-template-columns:42px minmax(180px,1fr) 90px 90px 110px;align-items:center;gap:8px;min-width:0;display:grid}.tournament-table-head{color:#678378;text-transform:uppercase;padding:8px 11px;font-size:8px;font-weight:800}.tournament-table>button{text-align:left;background:0 0;border:0;border-top:1px solid #385e4e7a;border-radius:0;min-height:57px;padding:7px 11px}.tournament-table>button:hover,.tournament-table>button.mine{background:linear-gradient(90deg,#4bc39426,#0000);border-color:#385e4e7a}.tournament-player{align-items:center;gap:9px;min-width:0;display:flex}.tournament-player .lobby-player-avatar{width:36px;height:36px}.tournament-player strong{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.tournament-search-cancel{min-width:220px}.tournament-hint.danger{color:#df8178}.rated-tournament-arena{overflow:hidden}.rated-tournament-arena-list{gap:8px;display:grid}.rated-tournament-arena-list>button{background:linear-gradient(105deg,#1f4a3999,#071811c2);border-color:#569d806b;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);align-items:center;gap:12px;min-width:0;min-height:78px;padding:10px 14px;display:grid}.rated-tournament-arena-list>button>span{text-align:left;grid-template-columns:42px minmax(0,1fr);align-items:center;gap:2px 9px;min-width:0;display:grid}.rated-tournament-arena-list>button>span.right{text-align:right;grid-template-columns:minmax(0,1fr) 42px}.rated-tournament-arena-list>button>span .lobby-player-avatar{grid-row:1/3;width:42px;height:42px}.rated-tournament-arena-list>button>span.right .lobby-player-avatar{grid-column:2}.rated-tournament-arena-list>button>span b{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.rated-tournament-arena-list>button>span small{color:var(--muted)}.rated-tournament-arena-list>button>strong{color:var(--accent);text-align:center;font-family:Russo One,sans-serif;font-size:20px;display:grid}.rated-tournament-arena-list>button>strong small{font-size:8px}.rated-tournament-arena-heading-actions{align-items:center;gap:9px;display:flex}.rated-tournament-arena-heading-actions>button{border:1px solid var(--ui-border);background:color-mix(in srgb,var(--ui-accent) 10%,var(--ui-surface-b));width:42px;height:42px;color:var(--ui-accent-strong);border-radius:12px;place-items:center;padding:0;display:grid}.rated-tournament-arena-heading-actions>button:hover,.rated-tournament-arena-heading-actions>button.active{border-color:var(--ui-accent);background:color-mix(in srgb,var(--ui-accent) 22%,var(--ui-surface-b));color:var(--ui-on-accent)}.rated-tournament-arena-heading-actions>b{border:1px solid var(--ui-border);min-width:34px;height:34px;color:var(--ui-accent-strong);border-radius:999px;place-items:center;font:400 12px/1 Russo One,sans-serif;display:grid}.arena-journal-icon{fill:none;stroke:currentColor;stroke-width:1.8px;stroke-linecap:round;stroke-linejoin:round;width:23px;height:23px}.rated-tournament-arena-list>button.history{min-height:92px}.rated-tournament-arena-list>button>strong time{color:var(--text-muted);white-space:nowrap;gap:2px;margin-top:5px;font:600 8px/1.25 inherit;display:grid}.rated-tournament-block-heading.journal h2{font-size:clamp(24px,3.1vw,38px)}.player-rank-dialog{border-color:#806337;width:min(500px,100%)}.rank-choice-list{gap:7px;display:grid}.rank-choice{text-align:left;background:linear-gradient(100deg,#19362bcc,#081711d1);border-color:#315043;border-radius:11px;grid-template-columns:37px minmax(0,1fr) auto;align-items:center;gap:11px;width:100%;min-height:61px;padding:9px 12px;display:grid}.rank-choice:hover:not(:disabled){background:linear-gradient(100deg,#23493ae0,#0a1b14db);border-color:#569b7e}.rank-choice.selected{background:linear-gradient(100deg,#7d581d57,#181c13d1);border-color:#d2a756;box-shadow:inset 3px 0 #e0b75f,0 0 22px #d5a64714}.rank-choice.banned.selected{background:linear-gradient(100deg,#75272157,#1e1210d6);border-color:#bd655d;box-shadow:inset 3px 0 #d46c63,0 0 22px #c5504614}.rank-choice-icon{color:#dcb05a;background:#d7ad5717;border:1px solid #526b55;border-radius:9px;place-items:center;width:37px;height:37px;display:grid}.rank-choice-icon svg{fill:currentColor;width:22px;height:22px}.rank-choice>span:nth-child(2){gap:3px;min-width:0;display:grid}.rank-choice strong{color:#e7f2ed;font-family:Russo One,sans-serif;font-size:13px;font-weight:400}.rank-choice small{color:#789187;letter-spacing:.01em;font-size:9px}.rank-choice em{color:#d4ac61;text-transform:uppercase;border:1px solid #6e5b38;border-radius:999px;padding:4px 7px;font-size:8px;font-style:normal}.rank-current-summary{background:#081812ad;border:1px solid #315043;border-radius:10px;justify-content:space-between;align-items:center;gap:12px;margin:0 0 10px;padding:9px 12px;display:flex}.rank-current-summary span{color:#789187;text-transform:uppercase;font-size:9px}.rank-current-summary strong{color:#e5bf6c;font-family:Russo One,sans-serif;font-size:12px;font-weight:400}.rank-ban-warning{color:#e4b1ab;background:#852a2324;border-left:3px solid #c85d54;margin:11px 0 0;padding:10px 12px;font-size:11px}.admin-page-head{padding-bottom:12px}.admin-grid{grid-template-columns:repeat(2,minmax(0,1fr));align-items:start;gap:14px;padding-top:14px;display:grid}.admin-card{min-width:0;padding:19px}.admin-season-card{grid-row:auto}.admin-card .section-heading h2{margin:4px 0 0}.season-create-form{grid-template-columns:minmax(0,1fr) 90px auto;align-items:end;gap:8px;margin:15px 0;display:grid}.season-create-form label{color:#80998f;gap:5px;font-size:9px;display:grid}.admin-season-list{gap:7px;display:grid}.admin-season-list>article{border:1px solid #2b483c;border-radius:11px;justify-content:space-between;align-items:center;gap:8px;min-width:0;padding:10px;display:flex}.admin-season-list>article>span{gap:3px;min-width:0;display:grid}.admin-season-list small{font-size:7px}.admin-season-list button{min-height:36px;padding:6px 10px;font-size:10px}.admin-season-list time{color:#7f958c;font-size:10px}.admin-cup-participants-button{border-color:var(--ui-border);background:var(--ui-glow-soft);color:var(--ui-accent-strong);white-space:nowrap;margin-left:auto}.admin-tournament-participants-modal{flex-direction:column;width:min(680px,100vw - 28px);max-height:min(760px,100dvh - 28px);display:flex;overflow:hidden}.admin-tournament-participants-summary{border:1px solid var(--ui-divider);background:var(--ui-glow-soft);border-radius:12px;justify-content:space-between;align-items:center;gap:12px;padding:11px 13px;display:flex}.admin-tournament-participants-summary strong{color:var(--ui-accent-strong)}.admin-tournament-participants-summary span{color:var(--text-secondary);text-align:right;font-size:10px}.admin-tournament-participants-list{scrollbar-color:var(--ui-accent) transparent;gap:6px;min-height:120px;margin-top:12px;padding-right:4px;display:grid;overflow:auto}.admin-tournament-participants-list>button{border-color:var(--ui-divider);background:var(--ui-bg-secondary);text-align:left;grid-template-columns:46px minmax(0,1fr);align-items:center;gap:11px;min-height:62px;padding:7px 10px;display:grid}.admin-tournament-participants-list .lobby-player-avatar{width:46px;height:46px}.admin-tournament-participants-list>button>span{gap:4px;min-width:0;display:grid}.admin-tournament-participants-list strong{color:var(--text-primary);text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.admin-tournament-participants-list small{color:var(--text-secondary);font-size:8px}.admin-tournament-participants-loading{min-height:150px;color:var(--text-secondary);place-items:center;display:grid}.admin-ban-note{color:#c38b85;border-left:3px solid #ae625a;padding-left:10px}.admin-config-list{grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;display:grid}.admin-config-list span{border:1px solid #2c493d;border-radius:9px;justify-content:space-between;padding:9px;display:flex}.admin-feedback{margin:12px 0 0}.admin-success{color:#86e4be;background:#379f7524;border:1px solid #3e8065;border-radius:10px;padding:10px 13px;font-size:12px}.admin-rating-card{overflow:hidden}.admin-rating-heading{align-items:center;margin-bottom:14px}.admin-rules-info{color:#e1b45e;background:radial-gradient(circle,#e0b45833,#4e35112e);border:1px solid #8b6b36;border-radius:11px;place-items:center;width:42px;min-width:42px;height:42px;min-height:42px;padding:0;display:grid}.admin-rules-info:hover:not(:disabled){color:#ffda87;background:radial-gradient(circle,#e0b45852,#4e35113d);border-color:#d6aa55;box-shadow:0 0 20px #dbaa471f}.admin-rules-info svg{fill:none;stroke:currentColor;stroke-width:1.7px;stroke-linecap:round;stroke-linejoin:round;width:24px;height:24px}.friendly-rating-form{gap:13px;display:grid}.rating-config-meta{background:#0717118f;border:1px solid #2d4e40;border-radius:11px;grid-template-columns:repeat(2,minmax(0,1fr));display:grid;overflow:hidden}.rating-config-meta>span{gap:4px;padding:10px 12px;display:grid}.rating-config-meta>span+span{border-left:1px solid #2d4e40}.rating-config-meta small{color:#6f8b80;letter-spacing:.08em;font-size:10px;font-weight:800}.rating-config-meta strong{color:#83e5bd;font-family:Russo One,sans-serif;font-size:18px;font-weight:400}.rating-config-groups{gap:10px;display:grid}.rating-config-groups fieldset{background:linear-gradient(110deg,#18372b75,#07161066);border:1px solid #2b493d;border-radius:12px;min-width:0;margin:0;padding:12px}.rating-config-groups legend{color:#d9b66b;letter-spacing:.04em;padding:0 7px;font-size:11px;font-weight:850}.rating-config-fields{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;display:grid}.rating-config-fields label{color:#88a298;gap:6px;min-width:0;font-size:11px;display:grid}.rating-config-fields label:first-child:nth-last-child(odd){grid-column:1/-1}.rating-config-fields input{color:#edf8f3;background:#04100bb8;border-color:#355a4a;border-radius:9px;width:100%;min-width:0;min-height:42px;padding:8px 10px;font-family:Russo One,sans-serif;font-size:14px}.rating-config-fields input:focus{border-color:#67c69f;outline:2px solid #53c49724}.rating-config-note{color:#a9bdb5;background:#885f1d1a;border-left:3px solid #aa843f;margin:0;padding:9px 11px;font-size:11px;line-height:1.45}.rating-config-save{width:100%;min-height:44px}.rating-rules-backdrop{z-index:160}.modal-card.rating-rules-dialog{width:min(900px,100%);max-height:calc(100dvh - 28px);padding:18px 20px 20px}.rating-rules-heading{z-index:2;background:linear-gradient(155deg,#10271f,#0b1c16);border-bottom:1px solid #2b4a3d;margin:-2px -2px 12px;padding:8px 2px 12px;position:sticky;top:-18px}.rating-rules-heading h2{font-size:24px}.rating-rules-content{gap:10px;display:grid}.rating-rules-content>section{background:linear-gradient(120deg,#18372b70,#06140e61);border:1px solid #29483b;border-radius:12px;padding:12px 14px}.rating-rules-content h3{color:#e5bf6c;margin:0 0 7px;font-family:Russo One,sans-serif;font-size:14px;font-weight:400}.rating-rules-content p{color:#b3c8c0;margin:5px 0;font-size:12px;line-height:1.5}.rating-rules-content ul{color:#b3c8c0;gap:6px;margin:7px 0 0;padding-left:19px;font-size:12px;line-height:1.45;display:grid}.rating-rules-result-grid{border:1px solid #315345;border-radius:10px;grid-template-columns:repeat(3,minmax(0,1fr));margin-bottom:9px;display:grid;overflow:hidden}.rating-rules-result-grid span{gap:4px;padding:10px 11px;display:grid}.rating-rules-result-grid span+span{border-left:1px solid #315345}.rating-rules-result-grid small{color:#789287;font-size:10px;font-weight:850}.rating-rules-result-grid strong{color:#83e5bd;font-size:15px}.rating-rules-result-grid span:nth-child(2) strong{color:#e18d86}.rating-rules-result-grid span:nth-child(3) strong{color:#dfbd70}.rating-rules-table-scroll{overflow-x:auto}.rating-rules-table{border-collapse:collapse;width:100%;min-width:590px}.rating-rules-table th,.rating-rules-table td{color:#b9cdc5;text-align:left;border-bottom:1px solid #29483b;padding:9px 10px;font-size:11px}.rating-rules-table thead th{color:#6f8d81;letter-spacing:.06em;text-transform:uppercase;font-size:10px}.rating-rules-table tbody th{color:#dceae5}.rating-rules-table tbody tr:last-child th,.rating-rules-table tbody tr:last-child td{border-bottom:0}.shell:has(.lobby-dashboard){height:100dvh;min-height:0;padding-top:max(10px,env(safe-area-inset-top));padding-bottom:max(10px,env(safe-area-inset-bottom));flex-direction:column;display:flex;overflow:hidden}.shell:has(.lobby-dashboard)>header{flex:none;min-height:66px;padding-bottom:6px}.shell:has(.lobby-dashboard)>header .brand-mark{width:clamp(190px,24vw,270px)}.lobby-dashboard{flex-direction:column;flex:auto;min-height:0;padding:10px 0 0;display:flex;overflow:hidden}.online-summary{color:#8eb1a3;background:#0c1f18bd;border:1px solid #315646;border-radius:999px;align-items:center;gap:8px;padding:8px 12px;font-size:11px;font-weight:700;display:inline-flex}.online-summary i{background:#60e3a9;border-radius:50%;width:8px;height:8px;box-shadow:0 0 10px #60e3a9cc}.lobby-notice{margin:0 0 14px}.lobby-mobile-tabs{display:none}.lobby-grid{flex:auto;grid-template-columns:1fr 1fr 1.18fr;align-items:stretch;gap:11px;min-height:0;display:grid}.lobby-card{border:1px solid var(--ui-divider);background:radial-gradient(circle at 100% 0,var(--ui-glow-soft),transparent 37%),linear-gradient(150deg,var(--ui-surface-a),var(--ui-surface-b));border-radius:17px;grid-template-rows:auto minmax(0,1fr) auto;min-width:0;min-height:0;display:grid;overflow:hidden;box-shadow:0 18px 52px #0003,inset 0 1px #ffffff06}.lobby-card-heading{border:0;border-bottom:1px solid var(--ui-divider);letter-spacing:normal;justify-content:space-between;align-items:center;gap:9px;min-height:66px;padding:10px 13px;display:flex}.lobby-card-heading>span{gap:4px;display:grid}.lobby-card-heading small{font-size:8px}.lobby-card-heading h2{color:#edf8f3;letter-spacing:-.02em;margin:0;font-size:18px}.lobby-card-heading-actions{justify-content:flex-end;align-items:center;gap:6px;min-width:0;display:flex}.lobby-card-count{border:1px solid var(--ui-border);min-width:29px;height:29px;color:var(--ui-accent);border-radius:8px;place-items:center;font-size:12px;display:grid}.random-match-open{color:#e9bd6b;background:linear-gradient(145deg,#855b1d59,#2a1f0fb8);border-color:#7d6537;border-radius:9px;grid-template-columns:20px minmax(0,auto) auto;align-items:center;gap:5px;min-width:0;min-height:38px;padding:6px 7px;display:grid}.random-match-open:hover:not(:disabled){color:#ffdc91;background:linear-gradient(145deg,#aa74237a,#372610cc);border-color:#d5a957}.random-match-open.queued{color:#7ce1b9;background:linear-gradient(145deg,#318f6957,#133629bf);border-color:#3e8869}.random-match-open.found{color:#b6f6dc;border-color:#6bc89f;animation:1.8s ease-in-out infinite random-match-found-pulse;box-shadow:0 0 16px #52d3a129}@keyframes random-match-found-pulse{50%{box-shadow:0 0 25px #52d3a152}}.random-match-open svg{fill:none;stroke:currentColor;stroke-width:1.7px;stroke-linecap:round;stroke-linejoin:round;width:20px;height:20px}.random-match-open span{text-align:left;text-overflow:ellipsis;text-transform:uppercase;font-size:7px;font-weight:900;line-height:1.1;overflow:hidden}.random-match-open b{border:1px solid;border-radius:6px;place-items:center;min-width:20px;height:20px;font-size:8px;display:grid}.online-player-list,.mvp-player-list,.live-battle-list{scrollbar-color:var(--ui-accent-deep) color-mix(in srgb,var(--ui-bg-secondary) 68%,transparent);scrollbar-width:thin;grid-auto-rows:max-content;align-content:start;min-height:0;display:grid;overflow-y:auto}.online-player-row,.mvp-player-row{border-bottom:1px solid #2f4d419e;align-items:center;gap:9px;min-width:0;padding:10px 12px;display:grid}.online-player-row{grid-template-columns:39px minmax(0,1fr) auto}.mvp-player-row{grid-template-columns:25px 35px minmax(0,1fr) auto;padding:9px 12px}.lobby-mvp-card .mvp-player-list{grid-template-rows:repeat(10,minmax(0,1fr));grid-auto-rows:minmax(0,1fr);align-content:stretch;overflow:hidden;container-type:size}.lobby-mvp-card .mvp-player-row{grid-template-columns:clamp(18px,5cqh,25px) clamp(26px,7cqh,35px) minmax(0,1fr) auto;gap:clamp(5px,1.5cqh,9px);height:100%;min-height:0;padding:clamp(2px,.9cqh,7px) clamp(8px,2cqh,12px)}.lobby-mvp-card .mvp-player-row .lobby-player-avatar{width:clamp(26px,7cqh,35px);height:clamp(26px,7cqh,35px)}.lobby-mvp-card .mvp-player-row>b{font-size:clamp(9px,2.2cqh,11px)}.lobby-mvp-card .mvp-player-row .lobby-player-link{gap:clamp(1px,.6cqh,3px)}.lobby-mvp-card .mvp-player-row .lobby-player-link strong{font-size:clamp(10px,2.4cqh,12px)}.lobby-mvp-card .mvp-player-row .lobby-player-link span{font-size:clamp(6px,1.6cqh,8px)}.lobby-mvp-card .mvp-player-row>em{font-size:clamp(11px,2.6cqh,13px)}.lobby-mvp-card .mvp-player-list>.lobby-empty{grid-row:1/-1}.online-player-row:last-child,.mvp-player-row:last-child{border-bottom:0}.lobby-player-avatar{border:1px solid var(--ui-border);object-fit:cover;background:radial-gradient(circle at 28% 20%,var(--ui-glow),transparent 43%),linear-gradient(145deg,var(--ui-surface-a),var(--ui-bg-secondary));width:39px;height:39px;color:var(--ui-accent-strong);border-radius:9px;place-items:center;font-size:10px;font-weight:900;display:grid}.mvp-player-row .lobby-player-avatar{border-radius:8px;width:35px;height:35px}.lobby-player-link{text-align:left;background:0 0;border:0;border-radius:0;gap:3px;min-width:0;min-height:0;padding:2px 0;display:grid}.lobby-player-link:hover{background:0 0;border:0}.lobby-player-link strong{color:#dcebe5;text-overflow:ellipsis;white-space:nowrap;font-size:12px;overflow:hidden}.lobby-player-link:hover strong{color:var(--ui-accent);text-decoration:underline}.lobby-player-link span{color:#678378;text-overflow:ellipsis;white-space:nowrap;font-size:8px;overflow:hidden}.pvp-challenge-button{color:#f0c271;letter-spacing:.05em;background:linear-gradient(145deg,#8050176b,#301f0db3);border-color:#a57633;border-radius:9px;grid-template-columns:19px auto;align-items:center;gap:4px;min-width:57px;min-height:39px;padding:6px 8px;font-size:9px;font-weight:900;display:grid}.pvp-challenge-button:hover:not(:disabled){color:#ffda8c;background:linear-gradient(145deg,#ae6f208c,#3f270ecc);border-color:#e2af59;box-shadow:0 0 16px #d7993921}.pvp-challenge-button svg{fill:none;stroke:currentColor;stroke-width:1.45px;stroke-linecap:round;stroke-linejoin:round;width:19px;height:19px}.mvp-player-row>b{color:#5c786d;font-family:Russo One,sans-serif;font-size:11px}.mvp-player-row>em{color:#8fe9c5;font-family:Russo One,sans-serif;font-size:13px;font-style:normal}.mvp-player-row.rank-1>b{color:#ffd479}.mvp-player-row.rank-2>b{color:#c8d8d2}.mvp-player-row.rank-3>b{color:#d69c69}.live-battle-list{gap:9px;padding:10px}.live-battle-row{background:#05100c8f;border:1px solid #2b4b3e;border-radius:12px;padding:10px;position:relative}.live-battle-meta{color:#789388;letter-spacing:.08em;text-transform:uppercase;justify-content:space-between;gap:8px;margin-bottom:9px;font-size:8px;font-weight:800;display:flex}.live-battle-meta span{color:#74dcb5}.live-versus{grid-template-columns:minmax(0,1fr) 44px minmax(0,1fr);align-items:center;gap:5px;display:grid}.live-versus>b{color:#b6894b;text-align:center;font-family:Russo One,sans-serif;font-size:9px}.live-battle-score{color:#e9c16f;place-items:center;gap:1px;min-width:0;display:grid}.live-battle-score small{color:#c29a55;letter-spacing:.08em;font-size:10px;font-weight:900;line-height:1}.live-battle-score b{white-space:nowrap;font-family:Russo One,sans-serif;font-size:12px;font-weight:400}.live-battle-score b i{color:#6d745f;margin-inline:2px;font-style:normal}.live-player{grid-template-columns:32px minmax(0,1fr);align-items:center;gap:7px;min-width:0;display:grid}.live-player.reverse{text-align:right;grid-template-columns:minmax(0,1fr) 32px}.live-player.reverse .lobby-player-avatar{grid-column:2}.live-player.reverse button{text-align:right;grid-area:1/1;justify-self:end}.live-player .lobby-player-avatar{border-radius:7px;width:32px;height:32px;font-size:8px}.live-player button{text-align:left;background:0 0;border:0;border-radius:0;justify-self:start;justify-items:center;gap:2px;width:fit-content;min-width:0;max-width:100%;min-height:0;padding:0;display:grid}.live-player button:hover{background:0 0;border:0}.live-player strong{color:#dceae5;text-overflow:ellipsis;white-space:nowrap;font-size:10px;overflow:hidden}.live-player button:hover strong{color:#7ee4bc}.live-player span{color:#647e74;text-align:center;width:100%;font-size:7px}.live-battle-progress{background:#172b23;border-radius:99px;height:3px;margin-top:9px;overflow:hidden}.live-battle-progress i{background:linear-gradient(90deg,#c58a37,#69ddae);height:100%;display:block;box-shadow:0 0 8px #64ddae61}.live-battle-row>small{color:#657f75;text-align:center;margin-top:5px;font-size:7px;display:block}.lobby-card-more{border:0;border-top:1px solid var(--ui-border);background:linear-gradient(90deg,var(--ui-accent-deep),var(--ui-accent));width:100%;min-height:48px;color:var(--ui-on-accent);border-radius:0;padding:9px 14px;font-size:11px;font-weight:900}.lobby-card-more:hover{border-color:var(--ui-border);background:linear-gradient(90deg,var(--ui-accent),var(--ui-accent-strong))}.lobby-full-list-backdrop{z-index:135;padding:18px}.modal-card.lobby-full-list-dialog{grid-template-rows:auto minmax(0,1fr);width:min(760px,100%);max-height:calc(100dvh - 36px);padding:16px;display:grid;overflow:hidden}.lobby-full-list-heading{margin-bottom:10px}.lobby-full-list-heading h2{margin:3px 0 0;font-size:24px}.lobby-full-list-heading>div:last-child{align-items:center;gap:8px;display:flex}.lobby-full-list-heading .icon-button{place-items:center;width:38px;min-width:38px;height:38px;min-height:38px;padding:0;display:grid}.lobby-full-list-content{border:1px solid var(--ui-divider);background:var(--ui-bg-secondary);scrollbar-color:var(--ui-accent-deep) transparent;scrollbar-width:thin;border-radius:13px;grid-auto-rows:max-content;align-content:start;min-height:180px;display:grid;overflow-y:auto}.lobby-full-list-content .online-player-row,.lobby-full-list-content .mvp-player-row{padding:11px 13px}.lobby-presence-divider{color:#789388;letter-spacing:.12em;align-items:center;gap:10px;padding:12px 13px 8px;font-size:9px;font-weight:900;display:flex}.lobby-presence-divider hr{border:0;border-top:1px solid #4c97786b;flex:1;min-width:0;margin:0}.lobby-full-list-content.section-arena{gap:9px;padding:10px}.lobby-full-list-content.section-arena .live-battle-row{padding:12px}.lobby-full-list-error{margin:0;padding:14px}.open-live-match{border-color:var(--ui-border);background:var(--ui-glow-soft);width:100%;min-height:30px;color:var(--ui-accent-strong);margin-top:8px;padding:4px 8px;font-size:9px}.lobby-empty{color:#527065;text-align:center;place-content:center;gap:5px;min-height:118px;padding:18px;display:grid}.lobby-empty span{color:#4b8a70;font-size:21px}.lobby-empty p{margin:0;font-size:11px}html.duel-notification-open,html.duel-notification-open body{overscroll-behavior:none;overflow:hidden}.duel-invite-backdrop{z-index:120;overscroll-behavior:contain;isolation:isolate;width:100%;min-width:0;max-width:100vw;overflow-x:hidden}.duel-invite-dialog{text-align:center;background:radial-gradient(circle at 50% 0,#c98f372b,#0000 40%),linear-gradient(155deg,#142a21,#07130f 72%);border-color:#8a6432;width:min(430px,100%);min-width:0;max-width:100%}.duel-invite-dialog.declined{background:radial-gradient(circle at 50% 0,#a6484024,#0000 39%),linear-gradient(155deg,#172a22,#08130f 72%);border-color:#774b46}.tournament-player-notification-dialog{text-align:center;border-color:var(--ui-border);background:radial-gradient(circle at 50% 0,var(--ui-glow),transparent 44%),linear-gradient(155deg,var(--ui-surface-a),var(--ui-surface-b) 72%);width:min(500px,100%);max-width:100%}.tournament-player-notification-dialog.eliminated{border-color:color-mix(in srgb,#c76f67 70%,var(--ui-border))}.tournament-player-notification-dialog>small{color:var(--ui-accent);letter-spacing:.16em;margin:2px 0 8px;font-size:11px;font-weight:900;display:block}.tournament-player-notification-dialog h2{margin:0;font-size:clamp(25px,5vw,34px)}.tournament-player-notification-dialog p{max-width:410px;color:var(--ui-text-muted);margin:14px auto 20px;font-size:14px;line-height:1.55}.tournament-player-notification-icon{border:1px solid var(--ui-border);width:66px;height:66px;color:var(--ui-accent);background:var(--ui-soft);box-shadow:0 12px 34px var(--ui-glow);border-radius:18px;place-items:center;margin:0 auto 12px;display:grid}.tournament-player-notification-dialog.eliminated .tournament-player-notification-icon{color:#ef978f;background:#8236312b;border-color:#ef978f80}.tournament-player-notification-icon svg{fill:none;stroke:currentColor;stroke-width:1.8px;stroke-linecap:round;stroke-linejoin:round;width:40px;height:40px}.tournament-player-notification-icon .tournament-registration-icon{fill:currentColor;stroke:none}.tournament-player-notification-icon .tournament-registration-icon-base{fill:none;stroke:currentColor}.tournament-player-notification-ack{width:100%;min-height:54px;font-size:16px}.duel-invite-dialog>small{color:#e5b867;font-size:8px}.duel-invite-dialog.declined>small{letter-spacing:.16em;margin:-14px 0 9px;display:block;font-size:14px!important}.duel-invite-player{text-align:left;background:linear-gradient(105deg,#a9712421,#1e523d24);border:1px solid #be8f466b;border-radius:15px;justify-content:flex-start;align-items:center;gap:16px;width:100%;min-height:92px;margin:0 0 15px;padding:11px 14px;display:flex}.duel-invite-player .lobby-player-avatar{border-color:#c18c42;border-radius:15px;flex:0 0 68px;width:68px;height:68px;font-size:16px;box-shadow:0 8px 22px #0000003d}.duel-invite-player>span{text-align:left;gap:6px;min-width:0;display:grid}.duel-invite-player b{color:#f1f8f5;text-overflow:ellipsis;white-space:nowrap;font-family:Russo One,sans-serif;font-size:21px;font-weight:400;overflow:hidden}.duel-invite-player small{color:#a8bdb4;letter-spacing:.1em;font-size:10px;font-weight:850}.duel-invite-dialog h2{margin:0 0 5px;font-size:27px}.duel-invite-dialog>p{margin:7px 0;font-size:12px}.duel-invite-dialog.declined .duel-invite-player{background:linear-gradient(105deg,#91403921,#1e523d1a);border-color:#ad5b5273}.random-match-backdrop{z-index:118}.random-match-dialog{border-color:var(--ui-border);background:radial-gradient(circle at 50% 0,var(--ui-glow),transparent 38%),linear-gradient(155deg,var(--ui-surface-a),var(--ui-surface-b) 72%);width:min(540px,100%);overflow:hidden}.random-match-heading{margin-bottom:12px}.random-match-heading small{color:var(--ui-accent)}.random-match-heading h2{font-size:29px}.random-match-intro{color:var(--text-secondary);margin:0 0 13px;font-size:11px;line-height:1.5}.random-match-warning,.random-match-carry{color:#e1a19a;background:#7e302a2b;border:1px solid #71433e;border-radius:9px;margin:0 0 11px;padding:9px 11px;font-size:10px}.random-match-carry{color:#dfbd78;background:#89652229;border-color:#766039}.random-match-clock{border:1px solid var(--ui-border);background:linear-gradient(145deg,var(--ui-surface-a),var(--ui-surface-b));border-radius:14px;overflow:hidden}.random-match-clock>span{place-content:center;justify-items:center;gap:5px;min-height:105px;padding:15px;display:grid}.random-match-clock small{color:var(--ui-muted);letter-spacing:.13em;font-size:8px;font-weight:900}.random-match-clock strong{color:var(--text-primary);letter-spacing:.04em;font-family:Russo One,sans-serif;font-size:clamp(38px,9vw,54px);font-weight:400;line-height:1}.random-match-clock>div{background:var(--ui-divider);height:5px;overflow:hidden}.random-match-clock>div i{background:linear-gradient(90deg,var(--ui-accent-deep),var(--ui-accent));height:100%;transition:width .25s linear;display:block}.random-match-clock.phase-confirmation{border-color:var(--ui-accent-deep);background:radial-gradient(circle at 50% 0,var(--ui-glow),transparent 62%),linear-gradient(145deg,var(--ui-surface-a),var(--ui-surface-b))}.random-match-clock.phase-confirmation small,.random-match-clock.phase-confirmation strong{color:var(--ui-accent)}.random-match-clock.phase-confirmation>div i{background:linear-gradient(90deg,var(--ui-accent-deep),var(--ui-accent-strong))}.random-match-clock.phase-resolving strong{color:var(--ui-accent);letter-spacing:.15em;animation:1.2s ease-in-out infinite random-resolving}@keyframes random-resolving{50%{opacity:.42}}.random-match-clock.idle{opacity:.75}.random-match-clock.idle>div i{width:0}.random-match-counts{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-top:9px;display:grid}.random-match-counts article{border:1px solid var(--ui-divider);background:color-mix(in srgb,var(--ui-surface-b) 82%,transparent);border-radius:10px;align-items:center;gap:9px;min-width:0;padding:10px 12px;display:flex}.random-match-counts strong{color:var(--ui-accent);font-family:Russo One,sans-serif;font-size:22px;font-weight:400}.random-match-counts span{color:var(--ui-muted);text-transform:uppercase;font-size:8px}.random-match-state{border:1px solid var(--ui-divider);background:color-mix(in srgb,var(--ui-surface-b) 72%,transparent);text-align:center;border-radius:10px;place-items:center;min-height:61px;margin-top:9px;padding:9px;display:grid}.random-match-state>button{width:100%}.random-match-state p{color:var(--text-secondary);justify-content:center;align-items:center;gap:8px;margin:0;font-size:10px;display:flex}.random-match-state p.ready{color:var(--ui-accent)}.random-match-ready-button{border-color:var(--ui-accent-deep);background:linear-gradient(135deg,var(--ui-accent-strong),var(--ui-accent-deep));min-height:45px;color:var(--ui-bg);animation:1.2s ease-in-out infinite ready-button-pulse}@keyframes ready-button-pulse{50%{filter:brightness(1.16)}}.random-match-leave{color:#c88983;background:#5d2a2521;border-color:#65423e;width:100%;margin-top:8px}.random-match-error{text-align:center;margin:9px 0 0}.random-match-found{text-align:center;justify-items:center;gap:14px;padding:8px 0 2px;display:grid}.random-match-found>small{color:var(--ui-accent);letter-spacing:.15em;font-size:8px}.random-match-versus{border-block:1px solid var(--ui-divider);grid-template-columns:minmax(0,1fr) 58px minmax(0,1fr);align-items:center;gap:12px;width:100%;padding:18px 5px;display:grid}.random-match-versus>span{justify-items:center;gap:7px;min-width:0;display:grid}.random-match-versus .lobby-player-avatar{border-radius:16px;width:72px;height:72px}.random-match-versus b{max-width:100%;color:var(--text-primary);text-overflow:ellipsis;white-space:nowrap;font-family:Russo One,sans-serif;font-size:16px;overflow:hidden}.random-match-found p{max-width:390px;margin:0;font-size:11px}.random-match-enter{width:100%;min-height:45px}.duel-invite-actions{justify-content:center}.duel-invite-actions button{min-width:130px}.duel-invite-later{color:#afc9bf;border-color:#5d756b}.duel-invite-actions.has-later{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;width:100%;margin-top:17px;display:grid}.duel-invite-actions.has-later button{min-width:0}.duel-invite-action{border-radius:13px;align-content:center;place-items:center;gap:7px;min-height:72px;padding:9px 6px;font-weight:900;line-height:1.12;display:grid}.duel-invite-action svg{fill:none;stroke:currentColor;stroke-width:1.8px;stroke-linecap:round;stroke-linejoin:round;width:25px;height:25px}.duel-invite-action span{text-align:center;max-width:100%;font-size:10px}.duel-invite-action.defer{color:#e1bc73;background:linear-gradient(145deg,#8660253d,#272f228a);border-color:#8b713e}.duel-invite-action.defer:hover:not(:disabled){background:linear-gradient(145deg,#a9772a57,#313a27a6);border-color:#c59a51}.duel-invite-action.decline{color:#dfa099;background:linear-gradient(145deg,#843d3633,#301e1d80);border-color:#754a45}.duel-invite-action.decline:hover:not(:disabled){background:linear-gradient(145deg,#a448404f,#3b2220a3);border-color:#a9655e}.duel-invite-action.accept{color:#071a12;background:linear-gradient(145deg,#7be2bb,#51bf96);border-color:#65d8ad;box-shadow:0 9px 22px #3fbe8e33}.duel-invite-action.accept:hover:not(:disabled){background:linear-gradient(145deg,#91e9c8,#63cea5);border-color:#91ebc8}.duel-invite-actions.single{grid-template-columns:minmax(0,1fr);width:100%;margin-top:17px;display:grid}.duel-invite-actions.single button{width:100%;min-width:0}.duel-invite-acknowledge{border-radius:13px;justify-content:center;align-items:center;gap:9px;min-height:54px;display:flex}.duel-invite-acknowledge svg{fill:none;stroke:currentColor;stroke-width:1.9px;stroke-linecap:round;stroke-linejoin:round;width:22px;height:22px}.duel-invite-acknowledge span{font-size:12px;font-weight:900}.opponent-profile-link{color:#79ddb7;letter-spacing:.11em;text-transform:uppercase;background:0 0;border:0;min-height:30px;padding:0;font-size:10px;font-weight:800}.opponent-profile-link:hover{text-decoration:underline}.timer{color:#f5c76f;text-align:center;border:1px solid #e4b45e;border-radius:12px;min-width:100px;padding:18px;font-size:28px;font-weight:900}.enemy-pack{background:#1a1210;border:1px solid #583d38;border-radius:14px;flex-wrap:wrap;gap:10px;padding:18px;display:flex}.enemy-pack h2{width:100%;margin:0}.enemy-pack .hero-icon{flex:0 0 110px;width:110px}.battle-pack-list{gap:10px;width:min(980px,100%);margin:0 auto 28px;display:grid}.battle-pack-card{background:radial-gradient(circle at 100% 0,#3dbc8b14,#0000 34%),linear-gradient(105deg,#0f251dfa,#05110dfa);border:1px solid #2d4d40;border-radius:16px;overflow:hidden;box-shadow:0 13px 35px #00000029}.battle-pack-card.state-revealed,.battle-pack-card.state-drafting{border-color:#59c99d;box-shadow:0 0 0 1px #5bdaa91a,0 16px 45px #0000003d}.battle-pack-card.state-queued,.battle-pack-card.state-running{border-color:#8b713e}.battle-pack-card.outcome-victory{border-color:#49b887}.battle-pack-card.outcome-defeat{border-color:#83504b}.battle-pack-main{grid-template-columns:126px minmax(0,1fr);min-height:104px;display:grid}.battle-pack-action{text-align:center;background:radial-gradient(circle at 50% 10%,#64cda329,#0000 58%),linear-gradient(145deg,#1d4d3ad1,#081b14f5);border:0;border-right:1px solid #5a977e4d;border-radius:0;flex-direction:column;justify-content:center;align-items:center;gap:7px;min-width:0;min-height:104px;padding:10px 9px;display:flex;position:relative;overflow:hidden}.battle-pack-action:before{content:"";pointer-events:none;border:1px solid #77e0b633;border-radius:10px;transition:border-color .18s,box-shadow .18s;position:absolute;inset:9px 8px}.battle-pack-action:not(:disabled){background:radial-gradient(circle at 50% 5%,#97ffd657,#0000 55%),linear-gradient(145deg,#237b5b,#0e3b2b);box-shadow:inset 0 1px #ffffff1a,inset -8px 0 28px #020e093d}.battle-pack-action:hover:not(:disabled){background:radial-gradient(circle at 50% 5%,#b7ffe36b,#0000 56%),linear-gradient(145deg,#2b916b,#124b37);border-color:#5a977e4d}.battle-pack-action:hover:not(:disabled):before{border-color:#abffdc99;box-shadow:0 0 18px #5de6b033,inset 0 0 14px #7feec414}.battle-pack-action:disabled{opacity:.8}.battle-pack-action b{z-index:1;color:#b8cec5;text-overflow:ellipsis;text-shadow:0 2px 8px #00000073;white-space:nowrap;max-width:100%;font-family:Russo One,sans-serif;font-size:16px;font-weight:400;line-height:1.05;position:relative;overflow:hidden}.battle-pack-action b.battle-pack-action-marquee{text-overflow:clip;width:100%;max-width:none;height:1.05em}.battle-pack-action b.battle-pack-action-marquee>span{z-index:auto;width:max-content;color:inherit;font:inherit;line-height:inherit;letter-spacing:normal;animation:2.8s ease-in-out infinite alternate battle-pack-action-marquee;display:inline-block;position:absolute;top:0;left:0}@keyframes battle-pack-action-marquee{0%,15%{left:0;transform:translate(0)}85%,to{left:100%;transform:translate(-100%)}}.battle-pack-action:not(:disabled) b{color:#f4fff9}.battle-pack-action span{z-index:1;color:#f0ca7e;letter-spacing:.08em;font-size:10px;font-weight:800;position:relative}.battle-pack-outcome-icon,.battle-pack-state-icon{background:#ffffff09;border:1px solid;border-radius:9px;flex:none;place-items:center;width:31px;height:31px;display:grid;box-shadow:inset 0 0 12px #ffffff09,0 4px 12px #0003}.battle-pack-outcome-icon svg,.battle-pack-state-icon svg{fill:none;stroke:currentColor;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;width:23px;height:23px}.battle-pack-outcome-icon.victory{color:#79e2b8;background:#42b7871a}.battle-pack-outcome-icon.defeat{color:#e2958e;background:#a648411f}.battle-pack-outcome-icon.draw{color:#dec17f;background:#a97d301c}.battle-pack-outcome-icon .shield{opacity:.9}.battle-pack-state-icon.attack{color:#f0ca7e;background:#b37e271f}.battle-pack-state-icon.waiting{color:#9db9ae;background:#668f7e1a}.battle-pack-state-icon.queue{color:#dfb969;background:#ac7b291c}.battle-pack-state-icon.running{color:#75d8b2;background:#3aa67c1c}.outcome-defeat .battle-pack-action b{color:#e2958e}.outcome-draw .battle-pack-action b{color:#d7ba80}.battle-pack-defense{grid-template-columns:145px minmax(0,1fr);align-items:center;gap:8px;min-width:0;padding:7px 10px 7px 14px;display:grid}.battle-pack-heading{gap:5px;min-width:0;display:grid}.battle-pack-heading b{color:#f1f8f5;font-family:Russo One,sans-serif;font-size:14px;font-weight:400}.battle-pack-heading small{color:#a2b9af;font-size:7px;line-height:1.35}.battle-defense-slots{grid-template-columns:repeat(5,minmax(0,76px));justify-content:end;gap:6px;min-width:0;display:grid}.battle-defense-slot{aspect-ratio:1;min-width:0}.battle-defense-slot.filled .hero-icon{filter:drop-shadow(0 5px 8px #00000061);width:100%;height:100%}.battle-defense-slot.hidden,.battle-defense-slot.empty{color:#f2f8f5;text-align:center;background:radial-gradient(circle,#4674611f,#0000 65%),repeating-linear-gradient(135deg,#375b4c14 0 6px,#0000 6px 12px),#07120e;border:1px solid #304c41;border-radius:9px;place-content:center;gap:1px;display:grid}.battle-defense-slot.empty{color:#78978a;background:#05100c80}.battle-defense-slot.hidden span,.battle-defense-slot.empty span{font-family:Russo One,sans-serif}.battle-defense-slot.hidden span{font-size:28px;line-height:1}.battle-defense-slot.empty span{font-size:18px}.battle-defense-slot.hidden small,.battle-defense-slot.empty small{color:inherit;font-size:7px}.battle-result-panel{background:#020a0766;border-top:1px solid #4d826c4d}.battle-result-score{background:linear-gradient(90deg,#3aaf811f,#0000 48%,#3aaf810f);grid-template-columns:minmax(165px,1fr) auto minmax(190px,1fr);align-items:center;gap:14px;min-height:70px;padding:10px 15px;display:grid}.battle-result-score>span:first-child{gap:3px;display:grid}.battle-result-score>span:first-child small{font-size:7px}.battle-result-score>span:first-child b{color:#dff4eb;font-family:Russo One,sans-serif;font-size:17px;font-weight:400}.outcome-victory .battle-result-score>span:first-child b{color:#72e0b4}.outcome-defeat .battle-result-score>span:first-child b{color:#e7958e}.battle-result-score>strong{color:#f0faf6;font-family:Russo One,sans-serif;font-size:28px;font-weight:400}.battle-result-score>strong i{color:#5a756a;margin:0 7px;font-style:normal}.battle-result-meta{color:#a1b8ae;text-align:right;justify-items:end;font-size:9px;display:grid}.battle-result-meta em{color:#84dfbb;margin-top:4px;font-size:11px;font-style:normal;font-weight:800}.battle-history-open{color:#82e4bd;text-align:left;background:linear-gradient(90deg,#47be8f1c,#47be8f06,#0000);border:0;border-top:1px solid #406a5940;border-radius:0;grid-template-columns:28px minmax(0,1fr) auto;align-items:center;gap:10px;width:100%;min-height:50px;padding:9px 16px;display:grid}.battle-history-open:hover:not(:disabled){background:linear-gradient(90deg,#53d4a230,#47be8f0e,#0000);border-color:#406a5940}.battle-history-open svg{fill:none;stroke:currentColor;stroke-width:1.8px;stroke-linecap:round;width:24px;height:24px}.battle-history-open span{font-size:12px;font-weight:800}.battle-history-open b{border:1px solid #3d6c58;border-radius:7px;place-items:center;min-width:27px;height:27px;font-size:10px;display:grid}.battle-history-backdrop{z-index:125}.modal-card.battle-history-modal{grid-template-rows:auto auto minmax(0,1fr);width:min(1060px,100%);max-height:calc(100dvh - 24px);padding:15px 17px 17px;display:grid;overflow:hidden}.battle-history-heading{margin-bottom:8px}.battle-history-heading h2{font-size:24px}.training-column-labels{color:#68877a;letter-spacing:.12em;text-transform:uppercase;grid-template-columns:minmax(0,1fr) 92px minmax(0,1fr);gap:8px;padding:0 9px 6px;font-size:7px;font-weight:850;display:grid}.training-column-labels span:last-child{text-align:right}.training-column-labels b{color:#806f4c;font-size:inherit;text-align:center}.training-run-list{scrollbar-color:var(--ui-accent-deep) transparent;scrollbar-width:thin;grid-auto-rows:max-content;align-content:start;gap:5px;min-height:0;padding:2px 7px 6px 2px;display:grid;overflow-y:auto}.training-run-row{background:linear-gradient(90deg,#0e221beb,#153428d1 50%,#0e221beb);border:1px solid #29483b;border-radius:12px;grid-template-columns:minmax(0,1fr) 92px minmax(0,1fr);align-items:center;gap:8px;min-width:0;min-height:94px;padding:7px 9px;display:grid}.training-run-row.outcome-attacker{background:linear-gradient(90deg,#0f2a1ff0,#215b3bbd 50%,#0f2a1ff0);border-color:#366b50}.training-run-row.outcome-defender{background:linear-gradient(90deg,#2b1816eb,#592a2594 50%,#2b1816eb);border-color:#68413d}.training-team{grid-template-columns:repeat(5,minmax(0,1fr));align-items:end;gap:5px;min-width:0;display:grid}.training-hero{grid-template-rows:minmax(0,1fr) 4px 3px;justify-self:center;gap:2px;width:min(100%,64px);min-width:0;display:grid}.training-hero-icon{aspect-ratio:1;min-width:0;padding:2px}.training-hero-icon .hero-icon{filter:drop-shadow(0 3px 4px #0006);width:100%;height:100%}.compact-hero-portrait{object-fit:cover;width:100%;height:100%;display:block}.training-hero.dead .training-hero-icon{filter:grayscale()brightness(.57);opacity:.64}.training-resource{background:#111b17;border:1px solid #00000080;border-radius:2px;height:100%;overflow:hidden}.training-resource i{height:100%;display:block}.training-resource.hp i{background:linear-gradient(90deg,#43a936,#73e65d);box-shadow:0 0 4px #5be14661}.training-resource.energy i{background:linear-gradient(90deg,#1684c9,#50c8ff)}.training-hero.dead .training-resource.hp i{box-shadow:none;background:#626b67}.training-hero.empty{color:#48665a;border:1px dashed #304a3f;border-radius:6px;grid-template-rows:1fr;place-items:center;min-height:42px}.training-run-center{text-align:center;justify-items:center;gap:3px;min-width:0;display:grid}.training-run-center>small{color:#728c81;font-size:6px}.training-run-center>b{color:#80dfb8;text-transform:uppercase;font-family:Russo One,sans-serif;font-size:10px;font-weight:400}.outcome-defender .training-run-center>b{color:#e28e87}.outcome-draw .training-run-center>b{color:#d4b571}.training-run-center>div{gap:5px;display:flex}.training-run-button{border-radius:7px;place-items:center;width:33px;min-width:33px;height:33px;min-height:33px;padding:0;display:grid}.training-run-button svg{fill:none;stroke:currentColor;stroke-width:1.8px;stroke-linecap:round;stroke-linejoin:round;width:21px;height:21px}.training-run-button.info{color:#effff5;background:linear-gradient(#41b76e,#207944);border-color:#5ac591;box-shadow:inset 0 1px #ffffff40,0 3px 8px #00000052}.training-run-button.camera{color:#769384;background:#25382e;border-color:#476854}.battle-details-backdrop{z-index:140}.modal-card.battle-details-modal{width:min(920px,100%);max-height:calc(100dvh - 24px);padding:16px 18px 18px;overflow:hidden}.battle-details-heading{margin-bottom:7px}.battle-details-heading h2{font-size:23px}.battle-details-legend{color:#8ba398;justify-content:center;align-items:center;gap:16px;margin-bottom:8px;font-size:8px;font-weight:800;display:flex}.battle-details-legend span:before{content:"";background:currentColor;border-radius:1px;width:7px;height:7px;margin-right:5px;display:inline-block}.battle-details-legend .damage{color:#e55249}.battle-details-legend .received{color:#329be2}.battle-details-legend .healing{color:#6cc14f}.battle-details-list{gap:5px;display:grid}.battle-details-pair{border-bottom:1px solid #436a5a47;grid-template-columns:minmax(0,1fr) 24px minmax(0,1fr);align-items:center;gap:8px;min-width:0;min-height:78px;padding:5px 0;display:grid}.battle-details-pair:last-child{border-bottom:0}.battle-details-versus{color:#a88951;text-align:center;font-family:Russo One,sans-serif;font-size:15px}.battle-detail-hero{grid-template-columns:58px minmax(0,1fr);align-items:center;gap:9px;min-width:0;display:grid}.battle-detail-hero.defender{text-align:right;grid-template-columns:minmax(0,1fr) 58px}.battle-detail-hero.defender .battle-detail-portrait{grid-area:1/2}.battle-detail-hero.defender .battle-detail-copy{grid-area:1/1}.battle-detail-portrait{width:58px}.battle-detail-portrait .hero-icon{width:100%}.battle-detail-hero.dead .battle-detail-portrait{filter:grayscale()brightness(.58);opacity:.66}.battle-detail-copy{gap:2px;min-width:0;display:grid}.battle-detail-copy>b{color:#dceae4;text-overflow:ellipsis;white-space:nowrap;font-size:10px;overflow:hidden}.battle-detail-copy>small{color:#718b80;letter-spacing:.04em;text-overflow:ellipsis;white-space:nowrap;font-size:6px;overflow:hidden}.battle-detail-metrics{gap:2px;min-width:0;display:grid}.battle-detail-metrics>span{grid-template-columns:minmax(20px,1fr) 42px;align-items:center;gap:5px;min-width:0;display:grid}.battle-detail-metrics>span>i{background:#1b2521;border:1px solid #374841;border-radius:1px;height:5px;overflow:hidden}.battle-detail-metrics>span>i>i{height:100%;display:block}.battle-detail-metrics>span>em{color:#acbdb6;text-align:right;text-overflow:ellipsis;white-space:nowrap;font-size:7px;font-style:normal;overflow:hidden}.battle-detail-metrics .damage>i>i{background:linear-gradient(90deg,#9d2925,#ed5c51)}.battle-detail-metrics .received>i>i{background:linear-gradient(90deg,#176ca9,#3aaaf2)}.battle-detail-metrics .healing>i>i{background:linear-gradient(90deg,#397f2c,#77ce55)}.battle-detail-hero.defender .battle-detail-metrics>span{grid-template-columns:42px minmax(20px,1fr)}.battle-detail-hero.defender .battle-detail-metrics>span>i{grid-column:2}.battle-detail-hero.defender .battle-detail-metrics>span>i>i{margin-left:auto}.battle-detail-hero.defender .battle-detail-metrics>span>em{text-align:left;grid-area:1/1}.battle-detail-hero.empty{color:#49655a;grid-template-columns:1fr;place-items:center;min-height:54px}.battle-result-team{border-top:1px solid #406a5938;padding:9px 14px 12px}.battle-result-team h3{color:#718d82;letter-spacing:.13em;text-transform:uppercase;margin:0 0 7px;font-family:"Exo 2",sans-serif;font-size:8px;font-weight:800}.battle-result-roster{grid-template-columns:repeat(5,minmax(0,1fr));gap:6px;display:grid}.battle-result-hero{background:#0a1a14b3;border:1px solid #3f695861;border-radius:9px;grid-template-columns:48px minmax(0,1fr);align-items:center;gap:7px;min-width:0;padding:6px;display:grid}.battle-result-hero>div{width:48px}.battle-result-hero>span{gap:2px;min-width:0;display:grid}.battle-result-hero b{color:#d8e8e2;text-overflow:ellipsis;white-space:nowrap;font-size:8px;overflow:hidden}.battle-result-hero small{color:#69b794;letter-spacing:.01em;text-overflow:ellipsis;white-space:nowrap;font-size:6px;overflow:hidden}.battle-result-hero em{color:#6d857b;text-overflow:ellipsis;white-space:nowrap;font-size:6px;font-style:normal;overflow:hidden}.attack-pack-picker{width:min(980px,100%)!important}.attack-picker-teams{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;display:grid}.attack-picker-teams>div{gap:5px;min-width:0;display:grid}.attack-picker-teams>div>small{color:#728f83;padding-left:3px;font-size:7px}.attack-picker-teams>div:last-child>small{color:#74dcb6}.attack-picker-teams .pack-picker-slots{gap:5px;width:100%;padding:7px}.enemy-picker-slots{background:linear-gradient(110deg,#5b2f1f52,#140d0ae0);border-color:#c07b564d}.attack-picker-scroll{min-height:0}.attack-picker-grid{grid-template-columns:repeat(auto-fill,minmax(70px,1fr));max-height:min(41vh,440px)}.attack-picker-footer{z-index:6;background:inherit;justify-content:space-between;align-items:center;gap:12px;margin:10px -2px -4px;padding:12px 2px 4px;display:flex;position:sticky;bottom:-22px}.attack-picker-footer>span{color:#738e83;font-size:10px}.attack-picker-footer .primary{min-width:210px}.sticky{z-index:20;left:50%;bottom:max(15px, env(safe-area-inset-bottom));width:min(520px,100% - 30px);position:fixed;transform:translate(-50%);box-shadow:0 12px 40px #000}.error{color:#ff9b91}.feedback-message{border:1px solid;border-radius:11px;justify-content:space-between;align-items:center;gap:12px;width:100%;min-width:0;margin:10px 0;padding:10px 11px 10px 14px;font-size:11px;line-height:1.4;display:flex;box-shadow:0 8px 22px #00000024}.feedback-message>span{overflow-wrap:anywhere;min-width:0}.feedback-message.notice{border-color:var(--ui-border);background:radial-gradient(circle at 0 50%,var(--ui-glow),transparent 48%),linear-gradient(115deg,var(--ui-surface-a),var(--ui-surface-b));color:var(--ui-accent-strong)}.feedback-message.error{color:#f0aaa3;background:linear-gradient(115deg,#682d286b,#281110d1);border-color:#7a4843}.feedback-message>button{color:currentColor;background:0 0;border:0;border-radius:0;flex:none;place-items:center;width:30px;min-width:30px;height:30px;min-height:30px;padding:0;display:grid}.feedback-message>button:hover{background:#ffffff14;border:0}.feedback-message>button svg{fill:none;stroke:currentColor;stroke-width:1.8px;stroke-linecap:round;width:20px;height:20px}.avatar-preview{background:#10231d;border:2px solid #70dcb3;border-radius:50%;width:240px;height:240px;margin:20px auto;overflow:hidden}.avatar-preview img{object-fit:cover;width:100%;height:100%}.avatar-preview span{place-items:center;height:100%;font-size:50px;display:grid}.visually-hidden{clip:rect(0 0 0 0)!important;clip-path:inset(50%)!important;white-space:nowrap!important;width:1px!important;height:1px!important;position:absolute!important;overflow:hidden!important}.profile-gradient-emerald{--profile-accent:#78e0b8;--profile-accent-deep:#39a77c;--profile-muted:#789f90;--profile-border:#2d6952;--profile-divider:#254a3b;--profile-glow:#4ad29d33;--profile-glow-soft:#4ad29d11;--profile-glow-light:#36b38233;--profile-surface-a:#0e221b;--profile-surface-b:#06120e;--profile-light-a:#fff;--profile-light-b:#e7f2ed}.profile-gradient-sapphire{--profile-accent:#76c8ff;--profile-accent-deep:#397fc0;--profile-muted:#7895a9;--profile-border:#315f82;--profile-divider:#294b63;--profile-glow:#3397e738;--profile-glow-soft:#3397e712;--profile-glow-light:#2b89cf33;--profile-surface-a:#0d1b25;--profile-surface-b:#070f16;--profile-light-a:#fbfdff;--profile-light-b:#e5eff7}.profile-gradient-violet{--profile-accent:#c093ff;--profile-accent-deep:#7950bd;--profile-muted:#9a86ad;--profile-border:#65478c;--profile-divider:#4d3a65;--profile-glow:#995be738;--profile-glow-soft:#995be712;--profile-glow-light:#8548ce30;--profile-surface-a:#1b1425;--profile-surface-b:#0e0a14;--profile-light-a:#fdfbff;--profile-light-b:#eee7f6}.profile-gradient-amber{--profile-accent:#f1c36f;--profile-accent-deep:#b77a23;--profile-muted:#aa936d;--profile-border:#806338;--profile-divider:#604d2e;--profile-glow:#e09a2d3b;--profile-glow-soft:#e09a2d13;--profile-glow-light:#c77d1833;--profile-surface-a:#231c10;--profile-surface-b:#120e07;--profile-light-a:#fffdf8;--profile-light-b:#f5eddc}.profile-gradient-crimson{--profile-accent:#f08d96;--profile-accent-deep:#b64958;--profile-muted:#ad7e83;--profile-border:#81444c;--profile-divider:#60353b;--profile-glow:#de4c5d38;--profile-glow-soft:#de4c5d12;--profile-glow-light:#c5394a2e;--profile-surface-a:#241316;--profile-surface-b:#12090b;--profile-light-a:snow;--profile-light-b:#f5e6e8}.full-profile-card{border:1px solid var(--profile-border,#2d6952);background:radial-gradient(circle at 100% 0,var(--profile-glow),transparent 46%),radial-gradient(circle at 0 100%,var(--profile-glow-soft),transparent 39%),linear-gradient(145deg,var(--profile-surface-a),var(--profile-surface-b));border-radius:24px;margin:34px 0 42px;padding:30px;overflow:hidden;box-shadow:0 24px 80px #00000042,inset 0 1px #ffffff09}.profile-hero{align-items:center;gap:30px;padding:0 0 28px;display:flex}.profile-avatar-large{border:2px solid var(--profile-accent,#78e0b8);background:radial-gradient(circle at 28% 20%,var(--profile-glow),transparent 44%),linear-gradient(145deg,var(--profile-surface-a,#18362b),var(--profile-surface-b,#0b1c17));width:156px;height:156px;box-shadow:0 18px 60px #00000052, 0 0 35px var(--profile-glow,#4cdea317);border-radius:34px;flex:none;position:relative}.profile-avatar-large>img,.profile-avatar-large>span{object-fit:cover;width:100%;height:100%;color:var(--profile-accent,#83e8c0);border-radius:31px;place-items:center;font-size:42px;font-weight:950;display:grid}.profile-avatar-trigger{cursor:pointer;padding:0;overflow:visible}.profile-avatar-trigger:hover:not(:disabled){border-color:var(--profile-accent,#a2f2d2);background:radial-gradient(circle at 28% 20%,var(--profile-glow),transparent 44%),linear-gradient(145deg,var(--profile-surface-a,#18362b),var(--profile-surface-b,#0b1c17));box-shadow:0 21px 66px #0000005c, 0 0 36px var(--profile-glow,#4cdea329);transform:translateY(-2px)}.profile-avatar-trigger:focus-visible{outline:3px solid var(--profile-glow,#76e2b852);outline-offset:4px}.avatar-edit-indicator{border:1px solid var(--profile-accent,#89e7c2);background:linear-gradient(145deg,var(--profile-accent,#75dfb7),var(--profile-accent-deep,#43a981));color:#07130e;border-radius:11px;place-items:center;width:43px;height:43px;transition:transform .18s,box-shadow .18s;display:grid;position:absolute;bottom:-8px;right:-8px;box-shadow:0 9px 25px #00000061}.avatar-edit-indicator svg{fill:currentColor;width:23px;height:23px}.profile-avatar-trigger:hover .avatar-edit-indicator{transform:translate(-2px,-2px)rotate(-4deg);box-shadow:0 12px 29px #0000006b,0 0 15px #59dca840}.profile-identity{flex:1;min-width:0}.profile-mode-row{flex-wrap:wrap;align-items:center;gap:10px;display:flex}.full-profile-card .profile-mode-row small,.full-profile-card .profile-rating-heading small{color:var(--profile-accent)}.profile-name-row{flex-wrap:wrap;align-items:flex-end;gap:12px 20px;display:flex}.profile-name-row h1{overflow-wrap:anywhere}.profile-identity>p{margin:0 0 14px}.account-id{overflow-wrap:anywhere;max-width:650px;color:var(--profile-muted,#789187);font-family:ui-monospace,SFMono-Regular,Consolas,monospace;font-size:11px}.notice{border:1px solid var(--ui-border);background:var(--ui-bg-secondary);color:var(--ui-accent-strong);border-radius:9px;padding:10px 14px}.profile-rating-summary{border-top:1px solid var(--profile-border,#356552);border-right:0;border-bottom:1px solid var(--profile-border,#356552);background:radial-gradient(circle at 100% 0,var(--profile-glow),transparent 48%),linear-gradient(145deg,var(--profile-surface-a),var(--profile-surface-b));border-left:0;border-radius:0;margin-inline:-30px;overflow:hidden}.profile-rating-heading{border-bottom:1px solid var(--profile-divider,#355c4c);justify-content:space-between;align-items:center;gap:14px;min-height:42px;padding:9px 15px;display:flex}.profile-rating-heading>span{gap:3px;display:grid}.profile-rating-heading small{font-size:8px}.profile-rating-heading b{color:#dcebe5;font-size:12px}.profile-rating-heading em{color:#678378;font-size:9px;font-style:normal}.profile-rating-metrics{grid-template-columns:repeat(4,minmax(0,1fr));display:grid}.profile-rating-metrics article{border-right:1px solid var(--profile-divider,#355c4c);gap:5px;min-width:0;padding:13px 15px;display:grid}.profile-rating-metrics article:last-child{border-right:0}.profile-rating-metrics strong{color:#f0faf6;text-overflow:ellipsis;font-family:Russo One,Arial Black,sans-serif;font-size:clamp(21px,3vw,31px);font-weight:400;line-height:1;overflow:hidden}.profile-rating-metrics span{color:var(--profile-muted,#769287);text-overflow:ellipsis;white-space:nowrap;font-size:9px;overflow:hidden}.profile-management-bar{border-top:1px solid var(--profile-divider,#355c4c);justify-content:space-between;align-items:center;gap:16px;margin-top:14px;padding-top:14px;display:flex}.profile-management-bar>span{gap:3px;min-width:0;display:grid}.profile-management-bar>span small{color:#66877a;font-size:7px}.profile-management-bar>span b{color:#9bb2a9;font-size:10px}.profile-management-bar>div{justify-content:flex-end;gap:7px;margin-left:auto;display:flex}.profile-management-action{border-radius:9px;align-items:center;gap:7px;min-height:38px;padding:7px 10px;font-size:9px;font-weight:800;display:flex}.profile-management-action svg{fill:currentColor;flex:0 0 18px;width:18px;height:18px}.profile-action-icon{stroke:currentColor;stroke-width:1.8px;stroke-linecap:round;stroke-linejoin:round;overflow:visible;fill:none!important}.profile-management-action.rank{color:#efc66e;background:linear-gradient(145deg,#a6792b33,#3b2c143b);border-color:#80683e}.profile-management-action.delete{color:#df958e;background:linear-gradient(145deg,#792b2530,#36171538);border-color:#70413c}.profile-management-action.rank:hover:not(:disabled){color:#ffe09a;border-color:#d2a755}.profile-management-action.delete:hover:not(:disabled){color:#ffc1bb;border-color:#c76259}.statistics-section{padding-bottom:30px}.section-heading{justify-content:space-between;align-items:flex-end;gap:16px;margin-bottom:18px;display:flex}.section-heading h2{margin:4px 0 0;font-size:28px}.source-chip{color:#718b81;border:1px solid #29443a;border-radius:999px;padding:7px 10px;font-size:10px}.profile-statistics-table-card{background:linear-gradient(145deg,#0b1d17f2,#06120efa);border:1px solid #294a3d;border-radius:15px;overflow:hidden}.profile-table-heading{border-bottom:1px solid #29443a;justify-content:space-between;align-items:center;gap:16px;min-height:64px;padding:12px 16px;display:flex}.profile-table-heading>span{gap:4px;display:grid}.profile-table-heading b{color:#dcebe5;font-size:14px}.profile-table-heading span small{color:#6f8a7f;font-size:8px}.profile-table-heading>strong{color:#7de2ba;align-items:baseline;gap:6px;font-family:Russo One,sans-serif;font-size:24px;font-weight:400;display:flex}.profile-table-heading>strong small{color:#6f8a7f;font-family:"Exo 2",sans-serif;font-size:8px}.profile-battle-totals{border-bottom:1px solid #29443a;grid-template-columns:repeat(4,minmax(0,1fr));display:grid}.profile-battle-totals article{border-right:1px solid #20372e;gap:5px;padding:12px 16px;display:grid}.profile-battle-totals article:last-child{border-right:0}.profile-battle-totals small{color:#668278;letter-spacing:.1em;font-size:7px}.profile-battle-totals strong{color:#e2eee9;font-family:Russo One,sans-serif;font-size:21px;font-weight:400}.profile-battle-totals .positive strong{color:#72dab1}.profile-battle-totals .negative strong{color:#dd8e87}.profile-battle-totals .draw strong{color:#d7b46e}.profile-average-score{border-bottom:1px solid var(--ui-divider);background:linear-gradient(90deg,var(--ui-glow-soft),transparent 48%,var(--ui-glow-soft));grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);align-items:center;gap:12px;min-height:54px;padding:9px 16px;display:grid}.profile-average-score>span{color:var(--text-muted);font-size:10px}.profile-average-score>span:last-child{text-align:right}.profile-average-score small{color:var(--ui-accent-strong);letter-spacing:.1em;font-size:10px}.profile-average-score>strong{color:var(--text-primary);font-family:Russo One,sans-serif;font-size:25px;font-weight:400}.profile-table-scroll{scrollbar-color:var(--ui-accent-deep) transparent;scrollbar-width:thin;overflow-x:auto}.profile-statistics-table{border-collapse:collapse;table-layout:fixed;width:100%}.profile-statistics-table th,.profile-statistics-table td{text-align:center;border-bottom:1px solid #20372e;padding:11px 15px}.profile-statistics-table thead th{color:#6c887d;letter-spacing:.1em;text-transform:uppercase;background:#0e241cb8;font-size:8px}.profile-statistics-table thead th:first-child,.profile-statistics-table tbody th{text-align:left;width:46%}.profile-statistics-table tbody th{color:#c9dad3;font-size:11px;font-weight:700}.profile-statistics-table tbody th small{color:#607a70;letter-spacing:.02em;margin-top:3px;font-size:7px;font-weight:600;display:block}.profile-statistics-table tbody td{color:#dbe9e4;font-family:Russo One,sans-serif;font-size:16px}.profile-statistics-table tbody tr:last-child th,.profile-statistics-table tbody tr:last-child td{border-bottom:0}.profile-statistics-table tbody tr.positive td{color:#72dab1}.profile-statistics-table tbody tr.negative td{color:#dd8e87}.profile-match-history-table{table-layout:auto;min-width:620px}.profile-match-history-table thead th:first-child,.profile-match-history-table tbody th{width:auto}.profile-match-history-table td,.profile-match-history-table th{white-space:nowrap}.profile-match-history-table tbody th a{color:#d9e8e2;text-decoration:none}.profile-match-history-table tbody th a:hover{color:#82e6bd}.profile-match-history-table td:first-child{color:#718b81;font-family:"Exo 2",sans-serif;font-size:10px}.profile-match-history-table td strong{color:#e7f3ee;font-size:15px}.profile-match-history-table td:last-child{justify-content:center;align-items:center;gap:8px;display:flex}.profile-match-history-table td:last-child small{color:#718b81;font-size:8px}.profile-match-outcome{color:#7ddfba;text-transform:uppercase;background:#389b751f;border:1px solid #3c6d59;border-radius:7px;align-items:center;min-height:24px;padding:3px 8px;font-size:8px;font-weight:850;display:inline-flex}.profile-match-history-table .outcome-loss .profile-match-outcome{color:#db9189;background:#9142391f;border-color:#704640}.profile-match-history-table .outcome-draw .profile-match-outcome{color:#d7b46e;background:#8f6f321f;border-color:#756239}.profile-privacy-note{color:#617d72;border-top:1px solid #29443a;margin:0;padding:10px 16px;font-size:9px;line-height:1.45}.private-pack-history-section{margin-top:28px}.private-pack-history-card{background:linear-gradient(145deg,#0b1d17f2,#06120efa);border:1px solid #294a3d;border-radius:15px;overflow:hidden}.private-pack-table-scroll{scrollbar-color:var(--ui-accent-deep) transparent;scrollbar-width:thin;overflow-x:auto}.private-pack-table{border-collapse:collapse;table-layout:auto;width:100%;min-width:760px}.private-pack-table th,.private-pack-table td{text-align:left;white-space:nowrap;border-bottom:1px solid #20372e;padding:10px 12px}.private-pack-table thead th{color:#6b877c;letter-spacing:.1em;text-transform:uppercase;background:#0e241cb8;font-size:7px;font-weight:850}.private-pack-table tbody tr:last-child td{border-bottom:0}.private-pack-table tbody tr:hover{background:#45b4890e}.private-pack-table td{color:#9cb1a9;font-size:10px}.private-pack-table td b{color:#dce9e4;font-size:11px}.private-pack-table td strong{color:#eef7f3;font-family:Russo One,sans-serif;font-size:13px}.private-pack-table td small{color:#647d73;font-size:8px}.private-pack-table td em{color:#74dcb4;font-style:normal;font-weight:850}.private-pack-table .outcome-loss td em{color:#dc8c84}.private-pack-outcome{color:#7ddfba;text-transform:uppercase;background:#389b751f;border:1px solid #3c6d59;border-radius:7px;align-items:center;min-height:23px;padding:3px 7px;font-size:8px;font-weight:850;display:inline-flex}.outcome-loss .private-pack-outcome{color:#db9189;background:#9142391f;border-color:#704640}.outcome-draw .private-pack-outcome{color:#d7b46e;background:#8f6f321f;border-color:#756239}.private-pack-table td:last-child{text-align:right;width:42px;padding-inline:6px}.private-pack-table td:last-child button{color:#7de0ba;border-radius:8px;width:30px;min-width:30px;height:30px;min-height:30px;padding:0;font-size:21px;line-height:1}.private-pack-history-card>p{color:#658075;border-top:1px solid #20372e;margin:0;padding:10px 14px;font-size:9px}.empty-statistics{text-align:center;place-content:center;gap:7px;min-height:120px;display:grid}.empty-statistics b{color:#bcd0c8}.empty-statistics span{color:#6e897e;max-width:260px;font-size:12px}.modal-backdrop{z-index:100;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);background:#010705d6;place-items:center;padding:18px;display:grid;position:fixed;inset:0;overflow-y:auto}.modal-card{border:1px solid var(--ui-border);background:radial-gradient(circle at 100% 0,var(--ui-glow-soft),transparent 42%),linear-gradient(155deg,var(--ui-surface-a),var(--ui-surface-b) 70%);border-radius:19px;width:min(520px,100%);max-height:calc(100vh - 36px);padding:22px;overflow-y:auto;box-shadow:0 24px 90px #0000009e}.modal-card.defense-hero-picker{width:min(850px,100%)}.modal-card.defense-pack-picker{width:min(900px,100%)}.modal-heading{justify-content:space-between;align-items:flex-start;gap:15px;margin-bottom:17px;display:flex}.modal-heading h2{margin:4px 0 0;font-size:25px}.icon-button{color:#91b6a7;background:0 0;border:0;border-radius:0;width:40px;min-width:40px;min-height:40px;padding:0;font-size:0;position:relative}.icon-button:before,.icon-button:after{content:"";transform-origin:50%;background:currentColor;border-radius:2px;width:23px;height:2px;transition:width .18s,color .18s,filter .18s;position:absolute;top:50%;left:50%}.icon-button:before{transform:translate(-50%,-50%)rotate(45deg)}.icon-button:after{transform:translate(-50%,-50%)rotate(-45deg)}.icon-button:hover:not(:disabled){color:var(--ui-accent);background:0 0;border:0}.icon-button:hover:not(:disabled):before,.icon-button:hover:not(:disabled):after{filter:drop-shadow(0 0 5px #5ce7b18c);width:27px}.modal-actions{justify-content:flex-end;gap:8px;margin-top:18px;display:flex}.network-recovery-open body{overflow:hidden}.network-recovery-backdrop{z-index:220}.network-recovery-dialog{background:radial-gradient(circle at 50% 0,#da9f3d2b,#0000 42%),linear-gradient(155deg,#142a21,#07130f 72%);border-color:#8b6638;width:min(470px,100%);overflow:hidden}.network-recovery-icon{color:#e4b563;background:linear-gradient(145deg,#b17b2a38,#5c3d112e);border:1px solid #9b7542;border-radius:14px;place-items:center;width:58px;height:58px;margin:0 auto 10px;display:grid;box-shadow:0 12px 34px #0000003d}.network-recovery-icon svg{fill:none;stroke:currentColor;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;width:36px;height:36px}.network-recovery-heading{align-items:center;margin-bottom:10px}.network-recovery-heading small{color:#ddb164}.network-recovery-heading h2{font-size:clamp(22px,5vw,29px)}.network-recovery-dialog>p{color:#93aaa0;margin:0;font-size:13px;line-height:1.55}.network-recovery-actions{grid-template-columns:minmax(0,.72fr) minmax(0,1.28fr);display:grid}.network-recovery-actions button{min-width:0}.profile-editor-dialog{width:min(620px,100%);overflow-x:hidden}.profile-editor-tabs{border:1px solid var(--ui-divider);background:var(--ui-bg-secondary);border-radius:13px;grid-template-columns:repeat(3,minmax(0,1fr));gap:5px;margin:-3px 0 19px;padding:5px;display:grid}.profile-editor-tabs button{min-width:0;min-height:42px;color:var(--text-muted);background:0 0;border:0;border-radius:9px;padding:8px 7px;font-size:10px;font-weight:850}.profile-editor-tabs button:hover:not(:disabled){background:var(--ui-glow-soft);color:var(--ui-accent-strong);border:0}.profile-editor-tabs button.active{background:linear-gradient(145deg,var(--ui-accent),var(--ui-accent-deep));color:var(--ui-on-accent);box-shadow:0 8px 22px var(--ui-glow-soft)}.profile-editor-pane{min-height:285px;animation:.18s both profile-editor-pane-in}@keyframes profile-editor-pane-in{0%{opacity:0;transform:translateY(4px)}to{opacity:1;transform:none}}.profile-editor-nickname{align-content:start;gap:13px;padding:16px 4px 0;display:grid}.profile-editor-nickname>p{margin:0;font-size:11px;line-height:1.55}.profile-editor-nickname .modal-actions{margin-top:4px}.avatar-manager-preview{background:linear-gradient(145deg,#17362a,#091b14);border:2px solid #70dcb3;border-radius:32px;place-items:center;width:184px;height:184px;margin:2px auto 13px;display:grid;overflow:hidden;box-shadow:0 15px 42px #0000004d,0 0 26px #4fd9a41a}.avatar-manager-preview img,.avatar-manager-preview span{object-fit:cover;color:#83e8c0;place-items:center;width:100%;height:100%;font-family:Russo One,sans-serif;font-size:43px;display:grid}.avatar-manager-hint{color:#789187;text-align:center;margin:0 auto 17px;font-size:11px}.avatar-manager-actions{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;display:grid}.avatar-manager-actions.single{grid-template-columns:1fr}.avatar-manager-action{text-align:left;border-radius:12px;grid-template-columns:34px minmax(0,1fr);align-items:center;gap:10px;min-width:0;min-height:76px;padding:10px 12px;display:grid}.avatar-manager-action>svg{fill:currentColor;width:28px;height:28px}.avatar-manager-action>span{gap:3px;min-width:0;display:grid}.avatar-manager-action strong{font-size:11px}.avatar-manager-action small{color:#789187;font-size:8px;line-height:1.25}.avatar-manager-action.upload{color:#83e8c0;background:linear-gradient(145deg,#3b947033,#1135273d);border-color:#39705a}.avatar-manager-action.upload:hover:not(:disabled){background:linear-gradient(145deg,#45af844a,#12402d4d);border-color:#70dcb3}.avatar-manager-action.delete{color:#e89c95;background:linear-gradient(145deg,#7b2b2533,#3918163d);border-color:#68403c}.avatar-manager-action.delete:hover:not(:disabled){background:linear-gradient(145deg,#97312a4a,#4c1b174d);border-color:#bd625a}.avatar-delete-confirmation{background:#852a2324;border-left:3px solid #c85d54;gap:11px;padding:12px 14px;display:grid}.avatar-delete-confirmation p{color:#e4b1ab;margin:0;font-size:11px}.avatar-delete-confirmation>div{justify-content:flex-end;gap:7px;display:flex}.profile-style-preview{border:1px solid var(--profile-border);background:radial-gradient(circle at 100% 0,var(--profile-glow),transparent 47%),radial-gradient(circle at 0 100%,var(--profile-glow-soft),transparent 40%),linear-gradient(145deg,var(--profile-surface-a),var(--profile-surface-b));border-radius:16px;align-items:center;gap:16px;min-height:118px;padding:16px;display:flex;overflow:hidden;box-shadow:inset 0 1px #ffffff09}.profile-style-avatar{border:2px solid var(--profile-accent);background:radial-gradient(circle at 28% 20%,var(--profile-glow),transparent 44%),linear-gradient(145deg,var(--profile-surface-a),var(--profile-surface-b));width:82px;height:82px;color:var(--profile-accent);border-radius:20px;flex:0 0 82px;place-items:center;font-family:Russo One,sans-serif;font-size:25px;display:grid;overflow:hidden}.profile-style-avatar img{object-fit:cover;width:100%;height:100%}.profile-style-preview>span{gap:5px;min-width:0;display:grid}.profile-style-preview>span small{color:var(--profile-accent);font-size:8px}.profile-style-preview>span strong{color:#eef8f4;text-overflow:ellipsis;font-family:Russo One,sans-serif;font-size:clamp(23px,6vw,35px);font-weight:400;overflow:hidden}.profile-style-hint{color:#789187;margin:12px 2px 9px;font-size:10px}.profile-gradient-presets{grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;display:grid}.profile-gradient-preset{text-align:left;background:linear-gradient(145deg,#0e221bd1,#06120ee6);border-color:#2c4e40;border-radius:12px;grid-template-columns:35px minmax(0,1fr) 22px;align-items:center;gap:9px;min-width:0;min-height:59px;padding:8px 10px;display:grid}.profile-gradient-preset>i{border:1px solid var(--profile-accent);background:radial-gradient(circle at 75% 20%,var(--profile-accent),transparent 37%),linear-gradient(145deg,var(--profile-accent-deep),#091711 72%);width:35px;height:35px;box-shadow:0 5px 14px var(--profile-glow);border-radius:10px;display:block}.profile-gradient-preset>span{gap:2px;min-width:0;display:grid}.profile-gradient-preset strong{color:#dbeae4;font-size:10px}.profile-gradient-preset small{color:#728d82;font-size:7px}.profile-gradient-preset>b{color:var(--profile-accent);text-align:center;font-size:18px}.profile-gradient-preset:hover:not(:disabled){border-color:var(--profile-border);background:radial-gradient(circle at 100% 0,var(--profile-glow),transparent 52%),linear-gradient(145deg,#122a21f0,#071510f5)}.profile-gradient-preset.selected{border-color:var(--profile-accent);background:radial-gradient(circle at 100% 0,var(--profile-glow),transparent 55%),linear-gradient(145deg,#122a21f5,#071510fa);box-shadow:inset 0 0 0 1px var(--profile-glow)}.delete-account-dialog{border-color:#75433e}.delete-account-warning{color:#e4b1ab;background:#852a2324;border-left:3px solid #c85d54;padding:12px 14px}.delete-confirm-button{color:#fff1ef;background:#8f332d;border-color:#bf5b52;font-weight:800}.delete-confirm-button:hover:not(:disabled){background:#b64239;border-color:#ef8177}.crop-stage{cursor:grab;touch-action:none;background:#030907;border:1px solid #4c806a;border-radius:3px;width:min(410px,100%);margin:auto;position:relative;overflow:hidden}.crop-stage:active{cursor:grabbing}.crop-stage canvas{touch-action:none;width:100%;height:auto;display:block}.crop-ring{pointer-events:none;border:2px solid #e5fff4db;border-radius:0;position:absolute;inset:0;box-shadow:inset 0 0 28px #0000003d}.zoom-control{color:#8ca49a;grid-template-columns:auto 1fr;align-items:center;gap:13px;margin-top:14px;font-size:12px;display:grid}.zoom-control input[type=range]{accent-color:#72deb5;background:0 0;border:0;width:100%;min-height:24px;padding:0}.editor-hint{text-align:center;margin:8px 0 0;font-size:11px}.field-label{color:#9eb3ab;gap:7px;font-size:12px;display:grid}.field-label input{color:#fff;width:100%;font-size:18px}.cooldown-note{color:#d8bd80;background:#503a103d;border:1px solid #594a2c;border-radius:10px;padding:11px;font-size:12px}pre{color:#9fd5c0;background:#06100d;border:1px solid #29433a;border-radius:12px;padding:18px;overflow:auto}:root[data-theme=light]{--text-primary:#14251f;--text-secondary:#405e51;--text-muted:#587468;color:var(--text-primary);--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light;background:#e8f1ed}:root[data-theme=light] header{color:#506b61;border-color:#b7cec4}:root[data-theme=light] header .brand-mark{background:0 0;border:0}:root[data-theme=light] .brand-mark:before{content:none}:root[data-theme=light] button,:root[data-theme=light] input,:root[data-theme=light] select{color:#172720;background:#f5faf8;border-color:#abc5ba}:root[data-theme=light] .battle-type-tabs,:root[data-theme=light] .battle-perspective-tabs{background:#f0f7f4e6;border-color:#aec8bd}:root[data-theme=light] .duel-status-card{background:radial-gradient(circle at 50% 0,#40b0851f,#0000 58%),linear-gradient(115deg,#e2f1eb,#f9fcfb);border-color:#a9c8bb;box-shadow:0 12px 28px #2b594717}:root[data-theme=light] .duel-status-timer,:root[data-theme=light] .duel-player-progress>div+div,:root[data-theme=light] .duel-result-outcome{border-color:#4f7e6b47}:root[data-theme=light] .duel-status-timer small{color:#315f4d}:root[data-theme=light] .duel-player-progress span>b,:root[data-theme=light] .duel-result-scoreboard>b{color:#18392c}:root[data-theme=light] .duel-player-progress strong{color:#13704f}:root[data-theme=light] .duel-current-score strong{color:#17382b}:root[data-theme=light] .duel-player-progress em{background:#31655029}:root[data-theme=light] .duel-result-scoreboard>strong{color:#142e24}:root[data-theme=light] .duel-result-outcome{color:#176d50;background:#2e976f1a}:root[data-theme=light] .duel-result-outcome strong{color:#0d7550}:root[data-theme=light] .duel-result-outcome.draw{color:#795315;background:#b8852f1f}:root[data-theme=light] .duel-result-outcome.draw strong{color:#795315}:root[data-theme=light] .battle-type-tabs button,:root[data-theme=light] .battle-perspective-tabs button{color:#5d756b;background:0 0;border:0}:root[data-theme=light] .battle-type-tabs button.active,:root[data-theme=light] .battle-perspective-tabs button.active{color:#0d251b;background:linear-gradient(135deg,#78d9b2,#4db087)}:root[data-theme=light] .tournament-defense-heading,:root[data-theme=light] .tournament-hero,:root[data-theme=light] .tournament-join-card,:root[data-theme=light] .tournament-control-card,:root[data-theme=light] .tournament-closed-card,:root[data-theme=light] .tournament-standings-card,:root[data-theme=light] .admin-card{background:radial-gradient(circle at 100% 0,#43be8f21,#0000 38%),linear-gradient(145deg,#fff,#e8f3ee);border-color:#abc8bc;box-shadow:0 16px 42px #2752411a}:root[data-theme=light] .tournament-hero{background:radial-gradient(circle at 90% 20%,#daa44838,#0000 34%),linear-gradient(145deg,#fff,#f2eadb);border-color:#c4a36b}:root[data-theme=light] .tournament-stat-grid article{background:#ffffffad;border-color:#b8cec4}:root[data-theme=light] .tournament-stat-grid strong{color:#166f50}:root[data-theme=light] .rated-tournament-control-card{border-color:var(--ui-border);background:radial-gradient(circle at 100% 0,var(--ui-glow),transparent 42%),linear-gradient(145deg,var(--ui-light-surface-a),var(--ui-light-surface-b))}:root[data-theme=light] .rated-tournament-control-card .tournament-stat-grid,:root[data-theme=light] .rated-tournament-actions{border-color:var(--ui-border);background:var(--ui-light-surface-a)}:root[data-theme=light] .rated-tournament-control-card .tournament-stat-grid article{background:0 0}:root[data-theme=light] .rated-tournament-overview{border-color:var(--ui-border);background:radial-gradient(circle at 100% 0,var(--ui-glow),transparent 42%),linear-gradient(145deg,var(--ui-light-surface-a),var(--ui-light-surface-b))}:root[data-theme=light] .rated-tournament-overview-body .tournament-stat-grid,:root[data-theme=light] .rated-tournament-overview-body .rated-tournament-actions{border-color:var(--ui-border);background:color-mix(in srgb,var(--ui-accent) 7%,var(--ui-light-surface-a))}:root[data-theme=light] .rated-tournament-overview-body .tournament-stat-grid article{background:0 0}:root[data-theme=light] .rated-tournament-action-card{background:linear-gradient(135deg,var(--ui-light-surface-a),color-mix(in srgb,var(--ui-accent) 9%,var(--ui-light-surface-b)));color:var(--text-primary)}:root[data-theme=light] .rated-tournament-action-card:hover:not(:disabled){background:linear-gradient(135deg,color-mix(in srgb,var(--ui-accent) 16%,var(--ui-light-surface-a)),var(--ui-light-surface-b))}:root[data-theme=light] .tournament-table>button{background:0 0;border-color:#c4d7cf}:root[data-theme=light] .tournament-table>button:hover,:root[data-theme=light] .tournament-table>button.mine{background:linear-gradient(90deg,#43b28729,#0000);border-color:#c4d7cf}:root[data-theme=light] .rated-tournament-arena-list>button{background:linear-gradient(105deg,#eef8f4,#fff);border-color:#afcfc2}:root[data-theme=light] .rated-tournament-arena-heading-actions>button{background:color-mix(in srgb,var(--ui-accent) 10%,#fff);color:var(--ui-accent-deep)}:root[data-theme=light] .rated-tournament-arena-heading-actions>button:hover,:root[data-theme=light] .rated-tournament-arena-heading-actions>button.active{background:color-mix(in srgb,var(--ui-accent) 28%,#fff);color:var(--text-primary)}:root[data-theme=light] .player-rank-dialog{border-color:#b8965b}:root[data-theme=light] .rank-choice{background:linear-gradient(100deg,#f9fcfb,#e6f1ec);border-color:#b7cec4}:root[data-theme=light] .rank-choice:hover:not(:disabled){background:linear-gradient(100deg,#fff,#dcece5);border-color:#77ad96}:root[data-theme=light] .rank-choice.selected{background:linear-gradient(100deg,#faefd9,#edf3e9);border-color:#bb8e3e;box-shadow:inset 3px 0 #c99b44,0 8px 20px #78572014}:root[data-theme=light] .rank-choice.banned.selected{background:linear-gradient(100deg,#f7deda,#f4ece8);border-color:#b85d55;box-shadow:inset 3px 0 #c35d54,0 8px 20px #82342d12}:root[data-theme=light] .rank-choice-icon{color:#a77520;background:#f8edda;border-color:#c4ac78}:root[data-theme=light] .rank-choice strong{color:#1a3027}:root[data-theme=light] .rank-choice em{color:#8d661e;border-color:#c9aa6e}:root[data-theme=light] .rank-current-summary{background:#ffffff94;border-color:#b7cec4}:root[data-theme=light] .rank-current-summary strong{color:#8d661e}:root[data-theme=light] .rank-ban-warning{color:#7c3731;background:#f9e9e6}:root[data-theme=light] .admin-season-list>article,:root[data-theme=light] .admin-config-list span{border-color:#bfd2ca}:root[data-theme=light] .admin-season-list .admin-cup-title strong{color:var(--text-primary)}:root[data-theme=light] .admin-season-list .admin-cup-title small{color:var(--text-secondary)}:root[data-theme=light] .admin-cup-participants-button{border-color:var(--ui-border);background:var(--ui-light-surface-a);color:var(--text-primary)}:root[data-theme=light] .admin-tournament-participants-modal{background:linear-gradient(145deg,var(--ui-light-surface-a),var(--ui-light-surface-b));color:var(--text-primary)}:root[data-theme=light] .admin-tournament-participants-summary{background:var(--ui-light-surface-b)}:root[data-theme=light] .admin-tournament-participants-summary strong{color:var(--text-primary)}:root[data-theme=light] .admin-tournament-participants-list>button{border-color:var(--ui-border);background:var(--ui-light-surface-a);color:var(--text-primary)}:root[data-theme=light] .admin-success{color:#146b4a;background:#e1f3eb;border-color:#78b39a}:root[data-theme=light] .admin-rules-info{color:#815919;background:radial-gradient(circle,#f7e9ca,#eee1c8);border-color:#a98548}:root[data-theme=light] .admin-rules-info:hover:not(:disabled){color:#68420c;background:radial-gradient(circle,#fae8be,#ead7ad);border-color:#916723}:root[data-theme=light] .rating-config-meta{background:#f4faf7db;border-color:#b5cec3}:root[data-theme=light] .rating-config-meta>span+span{border-color:#b5cec3}:root[data-theme=light] .rating-config-meta small{color:#3f6555}:root[data-theme=light] .rating-config-meta strong{color:#126e4c}:root[data-theme=light] .rating-config-groups fieldset{background:linear-gradient(110deg,#d9efe5b8,#f9fcfbd6);border-color:#b6cfc4}:root[data-theme=light] .rating-config-groups legend{color:#775318}:root[data-theme=light] .rating-config-fields label{color:#315847}:root[data-theme=light] .rating-config-fields input{color:#142b22;background:#ffffffe6;border-color:#91b7a7}:root[data-theme=light] .rating-config-fields input:focus{border-color:#278a65;outline-color:#278a6529}:root[data-theme=light] .rating-config-note{color:#4f493b;background:#f3ead8;border-color:#9b7432}:root[data-theme=light] .rating-rules-heading{background:linear-gradient(155deg,#f8fcfa,#e4f0eb);border-color:#b8cfc5}:root[data-theme=light] .rating-rules-content>section{background:linear-gradient(120deg,#e1f2ead1,#fbfdfce0);border-color:#b7cec4}:root[data-theme=light] .rating-rules-content h3{color:#745116}:root[data-theme=light] .rating-rules-content p,:root[data-theme=light] .rating-rules-content ul{color:#294c3d}:root[data-theme=light] .rating-rules-result-grid,:root[data-theme=light] .rating-rules-result-grid span+span{border-color:#aac5ba}:root[data-theme=light] .rating-rules-result-grid small{color:#3e6454}:root[data-theme=light] .rating-rules-result-grid strong{color:#126e4c}:root[data-theme=light] .rating-rules-result-grid span:nth-child(2) strong{color:#923f38}:root[data-theme=light] .rating-rules-result-grid span:nth-child(3) strong{color:#785416}:root[data-theme=light] .rating-rules-table th,:root[data-theme=light] .rating-rules-table td{color:#294c3d;border-color:#bfd2ca}:root[data-theme=light] .rating-rules-table thead th{color:#3f6555}:root[data-theme=light] .rating-rules-table tbody th{color:#173128}:root[data-theme=light] .hero-icon{background:0 0;border:0}:root[data-theme=light] .icon-filter-button{color:#557b6b;background:0 0;border-color:#0000}:root[data-theme=light] .icon-filter-button.filter-all{background:#ffffff94;border-color:#24825e29}:root[data-theme=light] .icon-filter-button.filter-all:after{background:#acc6ba}:root[data-theme=light] .icon-filter-button.active{color:#137552;background:linear-gradient(145deg,#32ae7e33,#32ae7e12);border-color:#23976b7a}:root[data-theme=light] .icon-filter-button img{filter:saturate(.7)brightness(.9)}:root[data-theme=light] .icon-filter-button.active img{filter:saturate(1.08)brightness(1.02)drop-shadow(0 2px 3px #23503e33)}:root[data-theme=light] .icon-filter-group.factions .icon-filter-button.active{color:#9a6515;background:linear-gradient(145deg,#dfa94b38,#dfa94b12);border-color:#ad741980}:root[data-theme=light] .defense-section-heading>span{color:#187956;border-color:#9dbdaf}:root[data-theme=light] .defense-pack-card{background:linear-gradient(100deg,#fffffff5,#e7f1ecf7);border-color:#b2cbbf}:root[data-theme=light] .defense-pack-card.active{border-color:#3da97f;box-shadow:0 0 0 1px #36a67b1a,0 12px 28px #2654411f}:root[data-theme=light] .defense-pack-heading{background:linear-gradient(90deg,#2d996f1a,#0000 72%);border:0}:root[data-theme=light] .defense-pack-card.active .defense-pack-heading{background:linear-gradient(90deg,#28a97733,#0000 72%)}:root[data-theme=light] .defense-pack-heading strong{color:#197855}:root[data-theme=light] .defense-slot.empty{color:#4e8a70;background:#ffffff94;border-color:#9abaaa}:root[data-theme=light] .hero-filter-groups{background:linear-gradient(110deg,#bee2d3b3,#eff7f3e6 58%,#fffffff5);border-color:#35946f38;box-shadow:inset 0 1px #fffc}:root[data-theme=light] .attack-slots{background:linear-gradient(110deg,#cae7dab8,#f8fcfaf5);border-color:#b1cbbf}:root[data-theme=light] .attack-slot.empty{color:#4e8a70;background:#ffffff9e;border-color:#9abaaa}:root[data-theme=light] .battle-pack-card{background:radial-gradient(circle at 100% 0,#35ae801a,#0000 34%),linear-gradient(105deg,#fffffffa,#e5f1ebfa);border-color:#adc8bc;box-shadow:0 12px 30px #254e3d1a}:root[data-theme=light] .battle-pack-card.state-revealed,:root[data-theme=light] .battle-pack-card.state-drafting,:root[data-theme=light] .battle-pack-card.outcome-victory{border-color:#3aa77c}:root[data-theme=light] .battle-pack-card.state-queued,:root[data-theme=light] .battle-pack-card.state-running{border-color:#b48b4b}:root[data-theme=light] .battle-pack-card.outcome-defeat{border-color:#bd7a73}:root[data-theme=light] .battle-pack-action{background:radial-gradient(circle at 50% 8%,#48ae8529,#0000 58%),linear-gradient(145deg,#d9ebe3,#f6faf8);border-color:#458b6e47}:root[data-theme=light] .battle-pack-action:before{border-color:#27846040}:root[data-theme=light] .battle-pack-action:not(:disabled){background:radial-gradient(circle at 50% 5%,#dcfff180,#0000 56%),linear-gradient(145deg,#6bd1a8,#3fa47c);box-shadow:inset 0 1px #ffffff85,inset -8px 0 26px #1b64491f}:root[data-theme=light] .battle-pack-action:hover:not(:disabled){background:radial-gradient(circle at 50% 5%,#f0fff99e,#0000 56%),linear-gradient(145deg,#78ddb5,#49af86);border-color:#458b6e47}:root[data-theme=light] .battle-pack-action b{color:#177653}:root[data-theme=light] .battle-pack-action:not(:disabled) b{color:#0a2a1d;text-shadow:0 1px #ffffff59}:root[data-theme=light] .battle-pack-heading small,:root[data-theme=light] .battle-result-meta{color:var(--text-secondary)}:root[data-theme=light] .outcome-defeat .battle-pack-action b{color:#9e4f48}:root[data-theme=light] .battle-pack-heading b{color:#183027}:root[data-theme=light] .battle-defense-slot.hidden,:root[data-theme=light] .battle-defense-slot.empty{color:#6c9b87;background:radial-gradient(circle,#5d9f8421,#0000 65%),repeating-linear-gradient(135deg,#55887312 0 6px,#0000 6px 12px),#edf5f1;border-color:#aec7bc}:root[data-theme=light] .battle-defense-slot.hidden{color:#183027}:root[data-theme=light] .battle-defense-slot.empty{color:#8aab9d;background:#f7fbf9cc}:root[data-theme=light] .battle-result-panel{background:#eef7f3b8;border-color:#b6cdc3}:root[data-theme=light] .battle-result-score>span:first-child b,:root[data-theme=light] .battle-result-score>strong{color:#183027}:root[data-theme=light] .outcome-victory .battle-result-score>span:first-child b{color:#137451}:root[data-theme=light] .outcome-defeat .battle-result-score>span:first-child b{color:#a44d46}:root[data-theme=light] .battle-history-open{color:#176f50;background:linear-gradient(90deg,#36a87c24,#36a87c09,#0000);border-color:#c2d6cd}:root[data-theme=light] .battle-history-open:hover:not(:disabled){background:linear-gradient(90deg,#36a87c38,#36a87c12,#0000);border-color:#c2d6cd}:root[data-theme=light] .battle-history-open b{border-color:#8eb9a7}:root[data-theme=light] .training-run-row{background:linear-gradient(90deg,#f9fcfbfa,#dfefe7e6 50%,#f9fcfbfa);border-color:#b9cec5}:root[data-theme=light] .training-run-row.outcome-attacker{background:linear-gradient(90deg,#f1faf6fa,#bee5d2e0 50%,#f1faf6fa);border-color:#75b99b}:root[data-theme=light] .training-run-row.outcome-defender{background:linear-gradient(90deg,#fdf7f6fa,#efcfcbc7 50%,#fdf7f6fa);border-color:#c3918c}:root[data-theme=light] .training-resource{background:#d8e4df;border-color:#8ca59a}:root[data-theme=light] .training-run-center>b{color:#176f50}:root[data-theme=light] .outcome-defender .training-run-center>b{color:#a44e47}:root[data-theme=light] .training-run-button.camera{color:#6f887c;background:#dfe9e4;border-color:#a8bdb4}:root[data-theme=light] .battle-details-pair{border-color:#c8d8d1}:root[data-theme=light] .battle-detail-copy>b{color:#20382f}:root[data-theme=light] .battle-detail-copy>small{color:#637c71}:root[data-theme=light] .battle-detail-metrics>span>i{background:#d8e3de;border-color:#aabdb4}:root[data-theme=light] .battle-detail-metrics>span>em{color:#475e54}:root[data-theme=light] .battle-result-team{border-color:#c6d9d1}:root[data-theme=light] .battle-result-hero{background:#ffffffb3;border-color:#c1d5cc}:root[data-theme=light] .battle-result-hero b{color:#20382f}:root[data-theme=light] .battle-result-hero small{color:#28795a}:root[data-theme=light] .battle-result-hero em{color:#637b71}:root[data-theme=light] .enemy-picker-slots{background:linear-gradient(110deg,#eed3c2b8,#fffaf7f5);border-color:#d2ae98}:root[data-theme=light] .icon-button{color:#58756a;background:0 0;border:0}:root[data-theme=light] .icon-button:hover:not(:disabled){color:#16815c}:root[data-theme=light] .pack-picker-slots{background:linear-gradient(110deg,#c6e7d8d1,#f9fcfbf5);border-color:#aacabd;box-shadow:0 10px 26px #2653411f}:root[data-theme=light] .pack-picker-slot.empty{color:#4e8a70;background:#ffffffa8;border-color:#9abaaa}:root[data-theme=light] .talisman-option{background:radial-gradient(circle at 0 0,#53b7901f,#0000 38%),linear-gradient(145deg,#fff,#eaf4f0);border-color:#acc9bd}:root[data-theme=light] .talisman-option.selected{border-color:#4da984}:root[data-theme=light] .talisman-option-head strong,:root[data-theme=light] .talisman-stat-row span b{color:#183128}:root[data-theme=light] .slot-remove-action{color:#8b3b35;background:#f5e1de;border-color:#c48a84}:root[data-theme=light] button.primary{color:#07150f;background:#53c99c;border-color:#269b70}:root[data-theme=light] .header-profile-card{background:linear-gradient(145deg,#fffffff2,#e0efe9f5);border-color:#9bbcaf;box-shadow:0 8px 28px #2046381a}:root[data-theme=light] .header-profile-card:hover{background:#f8fcfa;border-color:#39a77e}:root[data-theme=light] .header-profile-copy strong,:root[data-theme=light] .profile-name-button{color:#15271f}:root[data-theme=light] .panel{background:#f8fcfae0;border-color:#b8cec5}:root[data-theme=light] .profile-rating-summary{border-color:var(--profile-border,#91b7a7);background:radial-gradient(circle at 100% 0,var(--profile-glow-light,#44bb8d29),transparent 47%),linear-gradient(145deg,var(--profile-light-a),var(--profile-light-b))}:root[data-theme=light] .profile-rating-heading{border-color:var(--profile-divider,#bad0c6)}:root[data-theme=light] .profile-rating-heading b,:root[data-theme=light] .profile-rating-metrics strong,:root[data-theme=light] .profile-table-heading b,:root[data-theme=light] .profile-statistics-table tbody th,:root[data-theme=light] .profile-statistics-table tbody td,:root[data-theme=light] .empty-statistics b{color:#183027}:root[data-theme=light] .profile-rating-metrics article{border-color:var(--profile-divider,#bfd3ca)}:root[data-theme=light] .profile-management-bar{border-color:var(--profile-divider,#bfd2c9)}:root[data-theme=light] .profile-statistics-table-card{background:linear-gradient(145deg,#fff,#e8f3ee);border-color:#afc9be}:root[data-theme=light] .profile-table-heading,:root[data-theme=light] .profile-privacy-note,:root[data-theme=light] .profile-battle-totals{border-color:#bfd2c9}:root[data-theme=light] .profile-battle-totals article{border-color:#cbdcd5}:root[data-theme=light] .profile-battle-totals strong,:root[data-theme=light] .profile-match-history-table td strong,:root[data-theme=light] .profile-match-history-table tbody th a{color:#183027}:root[data-theme=light] .profile-statistics-table th,:root[data-theme=light] .profile-statistics-table td{border-color:#cbdcd5}:root[data-theme=light] .profile-statistics-table thead th{color:#597469;background:#e4f0eb}:root[data-theme=light] .profile-statistics-table tbody tr.emphasis{background:#2e9a7114}:root[data-theme=light] .profile-avatar-large{background:radial-gradient(circle at 28% 20%,var(--profile-glow-light),transparent 44%),linear-gradient(145deg,var(--profile-light-b,#def1e9),var(--profile-light-a,#f8fcfa))}:root[data-theme=light] .profile-head>img,:root[data-theme=light] .profile-head>span{background:radial-gradient(circle at 28% 20%,var(--ui-glow),transparent 44%),linear-gradient(145deg,var(--ui-light-surface-b),var(--ui-light-surface-a))}:root[data-theme=light] .profile-avatar-trigger:hover:not(:disabled){border-color:var(--profile-accent,#2ea77a);background:radial-gradient(circle at 28% 20%,var(--profile-glow-light),transparent 44%),linear-gradient(145deg,var(--profile-light-b,#def1e9),var(--profile-light-a,#f8fcfa));box-shadow:0 18px 45px #1f533f2e, 0 0 28px var(--profile-glow-light,#2ca1741c)}:root[data-theme=light] .avatar-edit-indicator{border-color:var(--profile-accent-deep,#287f60);background:linear-gradient(145deg,var(--profile-accent,#59c99d),var(--profile-accent-deep,#2f9d73));color:#fff}:root[data-theme=light] .full-profile-card{border-color:var(--profile-border,#abc8bc);background:radial-gradient(circle at 100% 0,var(--profile-glow-light,#43be8f24),transparent 46%),radial-gradient(circle at 0 100%,var(--profile-glow-soft),transparent 38%),linear-gradient(145deg,var(--profile-light-a),var(--profile-light-b));box-shadow:0 22px 65px #27524121,inset 0 1px #fff}:root[data-theme=light] .profile-name-button,:root[data-theme=light] .profile-name-button:hover{color:#173228;background:0 0;border:0}:root[data-theme=light] .profile-name-button:after{color:#156e4d;background:#dcefe7;border-color:#4f9d7e;box-shadow:0 0 12px #28856121}:root[data-theme=light] .profile-action-icon.rank{color:#93671c;background:linear-gradient(145deg,#f7e9cc,#eee0c2);border-color:#b39355}:root[data-theme=light] .profile-action-icon.rank:hover:not(:disabled){color:#774d0d;background:linear-gradient(145deg,#fae6bb,#e9d39f);border-color:#a97724}:root[data-theme=light] .profile-action-icon.delete{color:#913c35;background:linear-gradient(145deg,#f7e5e2,#efd3cf);border-color:#bf7770}:root[data-theme=light] .profile-action-icon.delete:hover:not(:disabled){color:#762a25;background:linear-gradient(145deg,#f4d7d3,#ebc0bb);border-color:#a94e46}:root[data-theme=light] .profile-avatar-large>span{color:var(--profile-accent-deep,#176847)}:root[data-theme=light] .profile-head>span,:root[data-theme=light] .header-avatar-placeholder{color:var(--ui-accent-deep)}:root[data-theme=light] .modal-card{background:linear-gradient(155deg,#f8fcfa,#e0eee8 70%);border-color:#8eb5a5}:root[data-theme=light] .profile-editor-tabs{background:#e1efe9b3;border-color:#adc9bd}:root[data-theme=light] .profile-editor-tabs button{color:var(--text-secondary)}:root[data-theme=light] .profile-style-preview{border-color:var(--profile-border);background:radial-gradient(circle at 100% 0,var(--profile-glow-light),transparent 47%),linear-gradient(145deg,var(--profile-light-a),var(--profile-light-b));box-shadow:inset 0 1px #fff}:root[data-theme=light] .profile-style-avatar{background:radial-gradient(circle at 28% 20%,var(--profile-glow-light),transparent 44%),linear-gradient(145deg,var(--profile-light-b),var(--profile-light-a));color:var(--profile-accent-deep)}:root[data-theme=light] .profile-style-preview>span strong{color:#172b23}:root[data-theme=light] .profile-gradient-preset{background:linear-gradient(145deg,#fff,#e8f2ee);border-color:#abc5ba}:root[data-theme=light] .profile-gradient-preset strong{color:#203a30}:root[data-theme=light] .profile-gradient-preset small{color:#5c776c}:root[data-theme=light] .profile-gradient-preset:hover:not(:disabled),:root[data-theme=light] .profile-gradient-preset.selected{border-color:var(--profile-accent-deep);background:radial-gradient(circle at 100% 0,var(--profile-glow-light),transparent 55%),linear-gradient(145deg,#fff,#e5f0eb)}:root[data-theme=light] .network-recovery-dialog{background:radial-gradient(circle at 50% 0,#f4dfb8,#0000 42%),linear-gradient(155deg,#fbfdfc,#e4f0eb 72%);border-color:#b58b4c}:root[data-theme=light] .network-recovery-icon{color:#8a5c14;background:linear-gradient(145deg,#fff8e8,#efdfbd);border-color:#b78a49;box-shadow:0 12px 30px #533d191f}:root[data-theme=light] .network-recovery-heading small{color:#79500f}:root[data-theme=light] .network-recovery-dialog>p{color:#405e51}:root[data-theme=light] .avatar-manager-preview{background:linear-gradient(145deg,#dcefe7,#f9fcfb);border-color:#399d76;box-shadow:0 15px 38px #26534124}:root[data-theme=light] .avatar-manager-action.upload{color:#166e4e;background:linear-gradient(145deg,#e2f3ec,#f7fbf9);border-color:#7caf99}:root[data-theme=light] .avatar-manager-action.upload:hover:not(:disabled){background:linear-gradient(145deg,#d5eee4,#eff8f4);border-color:#399d76}:root[data-theme=light] .avatar-manager-action.delete{color:#8a3831;background:linear-gradient(145deg,#f8e8e5,#f4dedb);border-color:#c28a84}:root[data-theme=light] .avatar-manager-action.delete:hover:not(:disabled){background:linear-gradient(145deg,#f4d7d3,#ecc4bf);border-color:#a9544c}:root[data-theme=light] .avatar-delete-confirmation{background:#f9e9e6}:root[data-theme=light] .avatar-delete-confirmation p{color:#7c3731}:root[data-theme=light] .delete-account-dialog{border-color:#c88e87}:root[data-theme=light] .delete-account-warning{color:#7c3731;background:#f9e9e6}:root[data-theme=light] .delete-confirm-button{color:#fff;background:#a43e36;border-color:#ad4f47}:root[data-theme=light] .field-label input{color:#172720}:root[data-theme=light] pre{color:#285e49;background:#f5faf8;border-color:#aec8bd}:root[data-theme=light] .mobile-menu-button{background:#f6fbf9;border-color:#92b8a8}:root[data-theme=light] .mobile-drawer-backdrop{background:#1c31294d}:root[data-theme=light] .mobile-drawer{background:radial-gradient(circle at 100% 0,#cae9dd,#0000 34%),#f3f9f6;border-color:#9dbbad;box-shadow:-22px 0 70px #21463738}:root[data-theme=light] .drawer-profile-card{background:linear-gradient(145deg,#fff,#e3f1eb);border-color:#8db6a5}:root[data-theme=light] .drawer-profile-card>span:first-child{color:#176847;background:#dcefe7;border-color:#72ad94}:root[data-theme=light] .drawer-navigation button{background:linear-gradient(90deg,#1f855e14,#3c8e6e06 62%,#0000);border:0}:root[data-theme=light] .drawer-navigation button:hover{background:linear-gradient(90deg,#1d946729,#419a770e 64%,#0000)}:root[data-theme=light] .drawer-utility-row .drawer-push-control{color:#315e4d}:root[data-theme=light] .drawer-utility-row .drawer-push-control:hover,:root[data-theme=light] .drawer-utility-row .drawer-push-control.enabled{color:#126b4b;background:#2c9e731f;border-color:#2b956e}:root[data-theme=light] .online-summary{color:#49685c;background:#ffffffb8;border-color:#a8c4b8}:root[data-theme=light] .lobby-mobile-tabs{background:#f0f7f4e6;border-color:#aec8bd}:root[data-theme=light] .lobby-mobile-tabs button{color:#5d756b;background:0 0;border:0}:root[data-theme=light] .lobby-mobile-tabs button.active{color:#0d251b;background:linear-gradient(135deg,#78d9b2,#4db087)}:root[data-theme=light] .lobby-card{background:radial-gradient(circle at 100% 0,#3ab7881f,#0000 38%),linear-gradient(150deg,#fffffff7,#e6f1ecfa);border-color:#afc9be;box-shadow:0 17px 45px #2752411a}:root[data-theme=light] .lobby-card-more{color:#092219;background:linear-gradient(90deg,#48bf93,#67d4ad);border-color:#2d846247}:root[data-theme=light] .lobby-card-more:hover{background:linear-gradient(90deg,#3fb88a,#71dbb5);border-color:#2d846247}:root[data-theme=light] .lobby-full-list-content{background:#f7fbf9c2;border-color:#afc9be}:root[data-theme=light] .lobby-presence-divider{color:#315a4a}:root[data-theme=light] .lobby-presence-divider hr{border-color:#b2cac0}:root[data-theme=light] .lobby-card-heading{border-color:#bfd2ca}:root[data-theme=light] .lobby-card-heading h2,:root[data-theme=light] .lobby-player-link strong,:root[data-theme=light] .live-player strong,:root[data-theme=light] .duel-invite-player b{color:#183027}:root[data-theme=light] .lobby-card-count{color:#187552;border-color:#8db7a5}:root[data-theme=light] .random-match-open{color:#805719;background:linear-gradient(145deg,#fff3db,#eedcb9);border-color:#c09a59}:root[data-theme=light] .random-match-open.queued,:root[data-theme=light] .random-match-open.found{color:#176b4c;background:linear-gradient(145deg,#def2e9,#c5e5d8);border-color:#6ba88f}:root[data-theme=light] .online-player-row,:root[data-theme=light] .mvp-player-row{border-color:#c9d9d2}:root[data-theme=light] .lobby-player-avatar{color:#176847;background:linear-gradient(145deg,#d9eee5,#f7fbf9);border-color:#8fb5a5}:root[data-theme=light] .lobby-player-link,:root[data-theme=light] .lobby-player-link:hover,:root[data-theme=light] .live-player button,:root[data-theme=light] .live-player button:hover{background:0 0;border:0}:root[data-theme=light] .pvp-challenge-button{color:#85581b;background:linear-gradient(145deg,#fff2d9,#f5dfb9);border-color:#c18d43}:root[data-theme=light] .live-battle-row{background:#ffffff94;border-color:#b5ccc2}:root[data-theme=light] .live-battle-score{color:#8b5c18}:root[data-theme=light] .live-battle-score small{color:#786545}:root[data-theme=light] .live-battle-score b i{color:#668074}:root[data-theme=light] .duel-invite-dialog{background:radial-gradient(circle at 50% 0,#f4dfb8,#0000 42%),linear-gradient(155deg,#fbfdfc,#e4f0eb 72%);border-color:#b1874b}:root[data-theme=light] .duel-invite-dialog.declined{background:radial-gradient(circle at 50% 0,#f5d8d4,#0000 42%),linear-gradient(155deg,#fbfdfc,#e4f0eb 72%);border-color:#bb817b}:root[data-theme=light] .duel-invite-player{background:linear-gradient(105deg,#fff8e9,#e8f3ee);border-color:#c7a56b}:root[data-theme=light] .duel-invite-dialog.declined .duel-invite-player{background:linear-gradient(105deg,#fbe9e6,#e8f3ee);border-color:#ca918a}:root[data-theme=light] .feedback-message.notice{color:#176f50;background:linear-gradient(115deg,#e1f3eb,#f7fbf9);border-color:#82bba4}:root[data-theme=light] .feedback-message.error{color:#91443d;background:linear-gradient(115deg,#f8e4e1,#fff8f7);border-color:#c78c85}:root[data-theme=light] .duel-invite-action.defer{color:#74501b;background:linear-gradient(145deg,#fff4dc,#ecdfc3);border-color:#b28a4d}:root[data-theme=light] .duel-invite-action.decline{color:#8d4039;background:linear-gradient(145deg,#fbe9e6,#efd8d4);border-color:#c38b84}:root[data-theme=light] .duel-invite-action.accept{color:#092117;background:linear-gradient(145deg,#70d5ae,#48b88e);border-color:#4ba984}:root[data-theme=light] .random-match-dialog{border-color:var(--ui-border);background:radial-gradient(circle at 50% 0,var(--ui-glow),transparent 40%),linear-gradient(155deg,var(--ui-light-surface-a),var(--ui-light-surface-b) 72%)}:root[data-theme=light] .random-match-intro{color:var(--text-secondary)}:root[data-theme=light] .random-match-warning{color:#91443d;background:#f8e4e1;border-color:#c78c85}:root[data-theme=light] .random-match-carry{color:#845b1d;background:#f5ead5;border-color:#c4a36b}:root[data-theme=light] .random-match-clock{border-color:var(--ui-border);background:linear-gradient(145deg,var(--ui-light-surface-a),var(--ui-light-surface-b))}:root[data-theme=light] .random-match-clock small{color:var(--ui-muted)}:root[data-theme=light] .random-match-clock strong{color:var(--text-primary)}:root[data-theme=light] .random-match-clock>div{background:var(--ui-divider)}:root[data-theme=light] .random-match-clock.phase-confirmation{border-color:var(--ui-accent-deep);background:radial-gradient(circle at 50% 0,var(--ui-glow),transparent 62%),linear-gradient(145deg,var(--ui-light-surface-a),var(--ui-light-surface-b))}:root[data-theme=light] .random-match-clock.phase-confirmation small,:root[data-theme=light] .random-match-clock.phase-confirmation strong{color:var(--ui-accent-deep)}:root[data-theme=light] .random-match-counts article,:root[data-theme=light] .random-match-state{border-color:var(--ui-border);background:color-mix(in srgb,var(--ui-light-surface-a) 76%,transparent)}:root[data-theme=light] .random-match-counts strong{color:var(--ui-accent-deep)}:root[data-theme=light] .random-match-counts span,:root[data-theme=light] .random-match-state p{color:var(--text-secondary)}:root[data-theme=light] .random-match-state p.ready{color:var(--ui-accent-deep)}:root[data-theme=light] .random-match-versus{border-color:var(--ui-divider)}:root[data-theme=light] .random-match-versus b{color:var(--text-primary)}:root[data-theme=light] .duel-activity-card{background:radial-gradient(circle at 0,#33aa7c21,#0000 40%),linear-gradient(110deg,#fff,#e8f2ee);border-color:#abc7bb;box-shadow:0 10px 30px #244c3c17}:root[data-theme=light] .duel-activity-card.status-pending{border-color:#c49a5d}:root[data-theme=light] .duel-activity-card.status-declined{border-color:#c78c85}:root[data-theme=light] .duel-activity-player button{color:#183027}:root[data-theme=light] .duel-activity-state b{color:#176c4d}:root[data-theme=light] .status-pending .duel-activity-state b{color:#8b5d1d}:root[data-theme=light] .status-declined .duel-activity-state b,:root[data-theme=light] .status-cancelled .duel-activity-state b{color:#9a4941}:root[data-theme=light] .journal-status-tabs{background:#ecf5f1e6;border-color:#abc8bc}:root[data-theme=light] .journal-status-tabs button{color:#607a70;background:0 0;border:0}:root[data-theme=light] .journal-status-tabs button b{color:#527064;background:#f7fbf9;border-color:#b5cec3}:root[data-theme=light] .journal-status-tabs button.active{color:#0b251a;background:linear-gradient(135deg,#77dcb5,#4bb187)}:root[data-theme=light] .journal-status-tabs button.active b{color:#0b251a;background:#0b251a1a;border-color:#0b251a26}:root[data-theme=light] .journal-card{background:radial-gradient(circle at 0,#33aa7c1f,#0000 40%),linear-gradient(120deg,#fff,#e8f3ee);border-color:#abc8bc;box-shadow:0 12px 32px #2752411a}:root[data-theme=light] .journal-card.status-pending{background:radial-gradient(circle at 0,#d39e4224,#0000 40%),linear-gradient(120deg,#fff,#f1ebdf);border-color:#c49a5d}:root[data-theme=light] .journal-card.status-waiting{background:radial-gradient(circle at 0,#49a5801a,#0000 40%),linear-gradient(120deg,#fff,#edf5f1);border-color:#9ebdaf}:root[data-theme=light] .journal-card.status-declined,:root[data-theme=light] .journal-card.status-cancelled,:root[data-theme=light] .journal-card.status-revoked,:root[data-theme=light] .journal-card.status-expired{border-color:#c78c85}:root[data-theme=light] .journal-card-head,:root[data-theme=light] .journal-card-footer{background:#ecf5f173;border-color:#c7dad2}:root[data-theme=light] .journal-kind{color:#187452}:root[data-theme=light] .status-pending .journal-kind{color:#8b601f}:root[data-theme=light] .journal-card-head time,:root[data-theme=light] .journal-player small,:root[data-theme=light] .journal-match-progress small{color:#607b70}:root[data-theme=light] .journal-player-avatar{border-color:var(--ui-border);background:radial-gradient(circle at 28% 20%,var(--ui-glow),transparent 43%),linear-gradient(145deg,var(--ui-light-surface-b),var(--ui-light-surface-a));box-shadow:0 7px 18px color-mix(in srgb,var(--ui-border) 18%,transparent)}:root[data-theme=light] .journal-player-name,:root[data-theme=light] .journal-player-name:hover{color:#193128;background:0 0;border:0}:root[data-theme=light] .journal-player-name:hover{color:#177552}:root[data-theme=light] .journal-versus-icon{color:#95681e;background:radial-gradient(circle,#f6e6c4,#e6ede8 72%);border-color:#b49359;box-shadow:inset 0 0 14px #b884281c,0 5px 15px #2c4b3e1a}:root[data-theme=light] .journal-match-progress,:root[data-theme=light] .journal-invitation-state{border-color:#c7dad2}:root[data-theme=light] .journal-match-progress span b,:root[data-theme=light] .journal-match-progress>strong{color:#193128}:root[data-theme=light] .journal-match-progress>strong i{color:#789187}:root[data-theme=light] .journal-invitation-state,:root[data-theme=light] .invitation-deadline{color:#49695d}:root[data-theme=light] .invitation-deadline b{color:#183027!important}:root[data-theme=light] .duel-invite-later{color:#315c4c;border-color:#8eaa9e}:root[data-theme=light] .journal-rating-delta{color:#177653}:root[data-theme=light] .journal-rating-delta.negative{color:#9c4840}:root[data-theme=light] .private-pack-history-card{background:linear-gradient(145deg,#fff,#e8f3ee);border-color:#afc9be}:root[data-theme=light] .private-pack-table th,:root[data-theme=light] .private-pack-table td,:root[data-theme=light] .private-pack-history-card>p{border-color:#cbdcd5}:root[data-theme=light] .private-pack-table thead th{color:#597469;background:#e4f0eb}:root[data-theme=light] .private-pack-table tbody tr:hover{background:#2e9a7111}:root[data-theme=light] .private-pack-table td{color:#527065}:root[data-theme=light] .private-pack-table td b,:root[data-theme=light] .private-pack-table td strong{color:#183027}:root[data-theme=light] .private-pack-history-card>p{color:#5c776c}@media (width>=901px){.shell:has(.defense-workspace){padding-bottom:18px}.defense-page-head{padding:24px 0 15px}.defense-page-head h1{font-size:42px}.defense-hero-grid{max-height:max(220px,100dvh - 350px)}.defense-packs-panel{grid-template-rows:auto minmax(0,1fr);align-self:stretch;gap:6px}.defense-packs-track{grid-auto-rows:minmax(64px,auto);gap:6px}.match-perspective-column .battle-pack-list{scrollbar-color:var(--ui-accent-deep) transparent;scrollbar-width:thin;max-height:calc(100dvh - 205px);padding-right:4px;overflow-y:auto}.defense-packs-panel>.defense-section-heading{margin-bottom:1px}.defense-pack-card{grid-template-columns:105px minmax(0,1fr);min-height:0;display:grid}.defense-pack-heading{flex-direction:column;justify-content:center;align-items:flex-start;gap:3px;height:100%;min-height:0;padding:6px 8px 6px 11px}.defense-pack-heading span{display:block}.defense-pack-heading b{white-space:nowrap}.defense-pack-heading small{display:none}.defense-pack-heading strong{font-size:12px}.defense-slots{border-top:0;border-left:1px solid #4f856f2e;align-items:center;gap:4px;padding:5px 7px}.defense-slot.empty{border-radius:7px}}@media (width<=900px){.shell{padding-left:12px;padding-right:12px}.shell>header{min-height:58px;padding-bottom:5px}.shell>header .brand-mark{width:clamp(165px,46vw,225px)}.shell:has(.defense-workspace){padding-bottom:max(96px, calc(76px + env(safe-area-inset-bottom)))}.page-head{align-items:flex-end}.page-head h1{font-size:34px}.shell:has(.lobby-dashboard)>header{min-height:58px;padding-bottom:5px}.shell:has(.lobby-dashboard)>header .brand-mark{width:clamp(165px,46vw,225px)}.lobby-dashboard{padding-top:6px}.lobby-mobile-tabs{background:#06120db8;border:1px solid #2d4d40;border-radius:11px;flex:none;grid-template-columns:repeat(3,minmax(0,1fr));gap:4px;margin-bottom:6px;padding:3px;display:grid}.lobby-mobile-tabs button{color:#718b80;background:0 0;border:0;min-height:34px;padding:5px 4px;font-size:10px;font-weight:800}.lobby-mobile-tabs button.active{color:#091711;background:linear-gradient(135deg,#77e0b8,#54bd94)}.lobby-grid{flex:1 1 0;grid-template-rows:minmax(0,1fr);grid-template-columns:minmax(0,1fr);height:0;min-height:0;display:grid}.lobby-grid .lobby-card{height:100%;display:none}.lobby-grid .lobby-card.mobile-active{display:grid}.match-perspectives{display:block}.battle-perspective-tabs{z-index:8;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);margin:0 auto 12px;display:grid;position:sticky;top:5px}.duel-status-card{margin:10px 0 12px}.duel-status-timer{min-height:35px;padding:6px 9px}.duel-status-time-copy,.duel-current-score{gap:1px;display:grid}.duel-current-score{justify-items:end}.duel-status-timer small{font-size:8px}.duel-status-timer .duel-deadline{font-size:12px}.duel-current-score strong{font-size:17px}.duel-player-progress>div{gap:6px;padding:8px 9px 9px}.duel-player-progress span>b{font-size:11px}.duel-player-progress strong{font-size:15px}.duel-result-scoreboard{gap:8px;min-height:51px;padding:7px 10px}.duel-result-scoreboard>strong{font-size:22px}.duel-result-scoreboard>strong i{margin-inline:5px}.duel-result-outcome{min-height:34px;padding:6px 9px;font-size:11px}.match-perspective-column{display:none}.match-perspective-column.selected{display:block}.match-perspective-heading{display:none}.match-perspective-column .battle-pack-list{margin-bottom:20px}.match-perspective-column.selected .battle-pack-list{max-height:calc(100dvh - 190px);padding-right:3px;overflow-y:auto}.tournament-defense-heading,.tournament-hero,.tournament-join-card{flex-direction:column;align-items:flex-start;padding:18px}.rated-tournament-hero{flex-direction:row;align-items:center}.rated-tournament-hero-actions{margin-left:auto}.rated-tournament-join-button{min-width:180px}.rated-tournament-overview-header{min-height:0;padding:18px}.rated-tournament-overview-body{grid-template-columns:1fr;gap:12px}.rated-tournament-overview-body .tournament-stat-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.rated-tournament-control-card{grid-template-columns:1fr;gap:12px}.rated-tournament-control-card .tournament-stat-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.rated-tournament-control-divider{width:100%;height:1px;min-height:1px}.tournament-actions.rated-tournament-actions{grid-template-rows:repeat(2,minmax(68px,auto));grid-template-columns:1fr;margin:0}.tournament-place{border-radius:13px;width:62px;min-width:62px;height:62px;font-size:20px}.tournament-stat-grid{grid-template-columns:1fr}.tournament-actions{grid-template-columns:1fr;display:grid}.tournament-find-button{min-width:0}.tournament-hint{text-align:left}.tournament-standings-card{padding:14px 10px}.admin-grid{grid-template-columns:1fr}.admin-season-card{grid-row:auto}.season-create-form{grid-template-columns:1fr 80px}.season-create-form button{grid-column:1/-1}.admin-card{padding:15px}.admin-rating-heading{flex-direction:row;align-items:center}.admin-rating-heading h2{font-size:22px}.rating-config-fields{grid-template-columns:1fr 1fr}.rating-config-groups fieldset{padding:10px}.rating-config-fields label{font-size:10px}.rating-config-fields input{min-height:40px;font-size:13px}.rating-rules-backdrop{align-items:stretch;padding:0}.modal-card.rating-rules-dialog{width:100%;min-height:100dvh;max-height:100dvh;padding:max(14px,env(safe-area-inset-top)) 10px max(14px,env(safe-area-inset-bottom));border:0;border-radius:0}.rating-rules-heading{top:calc(-1 * max(14px,env(safe-area-inset-top)));margin:0 -2px 10px;padding:8px 2px 10px}.rating-rules-heading h2{font-size:21px}.rating-rules-content>section{padding:11px}.rating-rules-result-grid{grid-template-columns:1fr}.rating-rules-result-grid span{grid-template-columns:minmax(0,1fr) auto;align-items:center}.rating-rules-result-grid span+span{border-top:1px solid #315345;border-left:0}:root[data-theme=light] .rating-rules-result-grid span+span{border-color:#aac5ba}.lobby-card-heading{min-height:60px;padding:9px 12px}.lobby-card-heading-actions{gap:5px}.lobby-card-more{min-height:44px}.lobby-full-list-backdrop{align-items:stretch;padding:0}.modal-card.lobby-full-list-dialog{width:100%;min-height:100dvh;max-height:100dvh;padding:max(13px,env(safe-area-inset-top)) 10px max(13px,env(safe-area-inset-bottom));border:0;border-radius:0}.lobby-full-list-heading{margin-bottom:8px;padding-inline:3px}.lobby-full-list-heading h2{font-size:21px}.lobby-full-list-content{border-radius:10px}.random-match-open{grid-template-columns:19px minmax(0,auto) auto;min-height:36px;padding:5px 6px}.random-match-open span{max-width:82px;font-size:6.5px}.random-match-dialog{width:min(540px,100%);padding:17px 15px}.random-match-heading h2{font-size:25px}.random-match-clock>span{min-height:91px}.random-match-versus .lobby-player-avatar{width:62px;height:62px}.online-player-row{padding:9px 10px}.live-battle-list{padding:9px}.duel-invite-backdrop{padding:max(12px,env(safe-area-inset-top)) 12px max(12px,env(safe-area-inset-bottom));place-items:center}.duel-invite-dialog{width:100%;max-width:430px;max-height:calc(100dvh - 24px - env(safe-area-inset-top) - env(safe-area-inset-bottom));padding:18px 14px}.duel-invite-player{gap:12px;min-height:82px;margin:0 0 12px;padding:9px 10px}.duel-invite-player .lobby-player-avatar{border-radius:13px;flex-basis:60px;width:60px;height:60px}.duel-invite-dialog h2{font-size:clamp(21px,7vw,27px)}.duel-invite-dialog>p{font-size:11px;line-height:1.45}.duel-invite-actions{grid-template-columns:1fr 1fr;display:grid}.duel-invite-actions button{min-width:0}.duel-invite-actions.has-later{grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}.duel-invite-actions.has-later .duel-invite-later{grid-column:auto}.duel-invite-action{border-radius:11px;min-height:66px;padding:7px 4px}.duel-invite-action svg{width:22px;height:22px}.hero-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:17px 11px;padding:6px}.defense-workspace{padding-top:14px;display:block}.defense-hero-pool{display:none}.defense-packs-panel{width:min(100%,600px);margin-inline:auto;position:static}.defense-packs-track{grid-auto-rows:max-content;align-content:start;gap:12px;max-height:none;padding:0 0 10px;overflow:visible}.defense-pack-card{min-height:0;display:block}.defense-pack-card.active{transform:none}.defense-pack-heading{flex-direction:row;justify-content:space-between;align-items:center;gap:10px;min-height:48px;padding:7px 12px}.defense-pack-heading span{align-items:baseline;min-width:0;display:flex}.defense-pack-heading b{white-space:nowrap;font-size:13px;line-height:1.1}.defense-pack-heading small{display:none}.defense-pack-heading strong{font-size:13px}.defense-slots{border-top:1px solid #4f856f2e;border-left:0;align-items:center;gap:7px;padding:10px 11px 13px}.defense-slot.empty{border-radius:9px}.defense-save-button{width:min(100%,600px);min-height:44px;margin:12px auto 0;padding:7px 12px;font-size:11px;display:block}.hero-filter-groups{border-radius:11px;padding:7px 8px 5px}.attack-slots{gap:5px;padding:8px 7px}.pack-tabs{gap:4px}.pack-tabs button{min-width:0;padding:6px 2px;font-size:10px}.battle-pack-list{gap:8px;width:min(100%,520px)}.battle-pack-main{grid-template-columns:84px minmax(0,1fr);min-height:82px}.battle-pack-action{gap:4px;min-height:82px;padding:7px 5px}.battle-pack-action:before{border-radius:8px;inset:7px 5px}.battle-pack-action b{font-size:10px}.battle-pack-outcome-icon,.battle-pack-state-icon{border-radius:8px;width:27px;height:27px}.battle-pack-outcome-icon svg,.battle-pack-state-icon svg{width:20px;height:20px}.battle-pack-action span{font-size:7px}.battle-pack-defense{padding:6px 7px;display:block}.battle-pack-heading{justify-content:space-between;align-items:center;gap:6px;margin-bottom:3px;display:flex}.battle-pack-heading b{font-size:10px}.battle-pack-heading small{text-overflow:ellipsis;white-space:nowrap;max-width:62%;font-size:5.5px;overflow:hidden}.battle-defense-slots{grid-template-columns:repeat(5,minmax(0,1fr));gap:3px}.battle-defense-slot.hidden,.battle-defense-slot.empty{border-radius:6px}.battle-defense-slot.hidden span{font-size:21px}.battle-defense-slot.empty span{font-size:12px}.battle-result-score{grid-template-columns:minmax(105px,1fr) auto minmax(115px,1fr);gap:7px;min-height:58px;padding:8px 9px}.battle-result-score>span:first-child small{font-size:5.5px}.battle-result-score>span:first-child b{font-size:13px}.battle-result-score>strong{font-size:21px}.battle-result-meta{font-size:6.5px}.battle-result-meta em{font-size:8px}.battle-history-open{grid-template-columns:23px minmax(0,1fr) auto;gap:8px;min-height:43px;padding:7px 10px}.battle-history-open svg{width:20px;height:20px}.battle-history-open span{font-size:10px}.battle-history-open b{min-width:24px;height:24px;font-size:8px}.battle-history-backdrop{align-items:stretch;padding:0}.modal-card.battle-history-modal{width:100%;min-height:100dvh;max-height:100dvh;padding:max(10px, env(safe-area-inset-top)) 7px max(10px, env(safe-area-inset-bottom));border:0;border-radius:0}.battle-history-heading{margin-bottom:5px;padding:0 3px}.battle-history-heading h2{font-size:20px}.training-column-labels{grid-template-columns:minmax(0,1fr) 52px minmax(0,1fr);gap:3px;padding:0 3px 4px;font-size:5px}.training-run-list{gap:4px;padding:1px 2px 5px}.training-run-row{border-radius:8px;grid-template-columns:minmax(0,1fr) 52px minmax(0,1fr);gap:3px;min-height:62px;padding:5px 4px}.training-team{gap:2px}.training-hero{grid-template-rows:minmax(0,1fr) 3px 2px;gap:1px}.training-hero-icon{padding:1px}.training-run-center{gap:2px}.training-run-center>small{font-size:4.5px}.training-run-center>b{font-size:7px}.training-run-center>div{gap:3px}.training-run-button{border-radius:5px;width:22px;min-width:22px;height:22px;min-height:22px}.training-run-button svg{width:15px;height:15px}.battle-details-backdrop{align-items:stretch;padding:0}.modal-card.battle-details-modal{width:100%;min-height:100dvh;max-height:100dvh;padding:max(9px, env(safe-area-inset-top)) 8px max(9px, env(safe-area-inset-bottom));border:0;border-radius:0;overflow-y:auto}.battle-details-heading{margin-bottom:3px}.battle-details-heading h2{font-size:18px}.battle-details-legend{gap:8px;margin-bottom:4px;font-size:5.5px}.battle-details-legend span:before{width:5px;height:5px;margin-right:3px}.battle-details-list{gap:2px}.battle-details-pair{grid-template-columns:minmax(0,1fr) 14px minmax(0,1fr);gap:3px;min-height:58px;padding:3px 0}.battle-details-versus{font-size:10px}.battle-detail-hero{grid-template-columns:38px minmax(0,1fr);gap:4px}.battle-detail-hero.defender{grid-template-columns:minmax(0,1fr) 38px}.battle-detail-portrait{width:38px}.battle-detail-copy{gap:1px}.battle-detail-copy>b{font-size:7px}.battle-detail-copy>small{font-size:4.5px}.battle-detail-metrics{gap:1px}.battle-detail-metrics>span{grid-template-columns:minmax(8px,1fr) 28px;gap:2px}.battle-detail-hero.defender .battle-detail-metrics>span{grid-template-columns:28px minmax(8px,1fr)}.battle-detail-metrics>span>i{height:3px}.battle-detail-metrics>span>em{font-size:5px}.battle-result-team{padding:8px 8px 10px}.battle-result-roster{scrollbar-width:thin;grid-template-columns:none;grid-auto-columns:145px;grid-auto-flow:column;justify-content:start;padding:0 0 3px;overflow-x:auto}.battle-result-hero{grid-template-columns:42px minmax(0,1fr)}.battle-result-hero>div{width:42px}.attack-picker-teams{grid-template-columns:1fr;gap:7px}.attack-picker-teams .pack-picker-slots{width:min(430px,100%)}.attack-picker-grid{grid-template-columns:repeat(5,minmax(0,1fr));max-height:none}.attack-picker-footer{bottom:calc(-1 * max(16px, env(safe-area-inset-bottom)));margin:8px -13px calc(-1 * max(16px, env(safe-area-inset-bottom)));padding:10px 13px max(12px, env(safe-area-inset-bottom));border-top:1px solid #4b7c6847}.attack-picker-footer>span{display:none}.attack-picker-footer .primary{width:100%;min-width:0}.journal-toolbar{margin:12px 0}.journal-status-tabs{width:100%}.journal-status-tabs button{gap:3px;min-height:43px;padding-inline:3px;font-size:8.5px}.journal-card{border-radius:14px;grid-template-columns:minmax(0,1fr)}.journal-card-head{grid-column:1;min-height:35px;padding-inline:11px}.journal-versus{grid-template-columns:minmax(0,1fr) 44px minmax(0,1fr);gap:7px;padding:14px 10px}.journal-player{gap:7px}.journal-player-avatar{border-radius:11px;width:48px;min-width:48px;height:48px;min-height:48px}.journal-player-name,.journal-player-name:hover{font-size:clamp(11px,3.6vw,15px)}.journal-versus-icon{border-radius:11px;width:40px;height:40px}.journal-versus-icon svg{width:22px;height:22px}.journal-versus-icon b{font-size:9px}.journal-match-progress{border-top:1px solid #3d65546b;border-left:0;grid-column:1;padding:11px 13px}.journal-match-progress span b{font-size:15px}.journal-match-progress>strong{font-size:21px}.journal-invitation-state{border-top:1px solid #3d65546b;border-left:0;grid-column:1;min-height:45px;padding:10px 13px}.journal-card-footer{grid-column:1;grid-template-columns:repeat(2,minmax(0,1fr));padding:8px 10px;display:grid}.journal-card-footer button{width:100%;min-width:0}.journal-card-footer button:only-child{grid-column:1/-1}.journal-card-footer.has-later .journal-invite-later{grid-area:1/1/auto/-1}.journal-rating-delta{text-align:center;grid-column:1/-1;margin:0}.private-pack-history-section{margin-top:22px}.profile-head{padding-top:28px}.profile-head>img,.profile-head>span{width:68px;height:68px}.profile-head h1{font-size:34px}header{min-height:78px}header .brand-mark{width:160px;height:auto}.header-profile-card{display:none}.mobile-menu-button{border-radius:11px;gap:4px;width:38px;min-height:38px;padding:7px 9px}.mobile-menu-button span{background:var(--ui-accent);border-radius:999px;width:100%;height:2px;transition:transform .2s;display:block}.header-messenger-button{border-radius:11px;width:38px;min-height:38px;padding:7px}.header-messenger-button svg{width:22px;height:22px}.header-messenger-button>b{min-width:18px;height:18px;padding:0 4px;font-size:8px;top:-5px;right:-5px}.mobile-drawer-backdrop{z-index:300;-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px);background:#010805a8;justify-content:flex-end;display:flex;position:fixed;inset:0}.mobile-drawer{border-left:1px solid var(--ui-border);background:radial-gradient(circle at 100% 0,var(--ui-glow),transparent 34%),var(--ui-bg-secondary);width:min(338px,89vw);min-height:100dvh;padding:max(18px, env(safe-area-inset-top)) 16px max(18px, env(safe-area-inset-bottom));flex-direction:column;gap:18px;animation:.22s ease-out drawer-enter;display:flex;box-shadow:-22px 0 70px #0000007a}@keyframes drawer-enter{0%{transform:translate(100%)}to{transform:translate(0)}}.mobile-drawer-heading{justify-content:space-between;align-items:center;display:flex}.drawer-profile-card{border-color:var(--ui-border);background:radial-gradient(circle at 100% 0,var(--ui-glow-soft),transparent 45%),linear-gradient(145deg,var(--ui-surface-a),var(--ui-surface-b));text-align:left;border-radius:16px;grid-template-columns:56px minmax(0,1fr) auto;align-items:center;gap:11px;width:100%;min-height:78px;padding:9px;display:grid}.drawer-profile-card>img,.drawer-profile-card>span:first-child{border:1px solid var(--ui-accent);object-fit:cover;background:var(--ui-bg-secondary);width:56px;height:56px;color:var(--ui-accent-strong);border-radius:13px;place-items:center;font-size:15px;font-weight:900;display:grid}.drawer-profile-card>span:nth-child(2){gap:6px;min-width:0;display:grid}.drawer-profile-card strong{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.drawer-profile-card small{color:var(--text-muted);letter-spacing:.07em;font-size:8px}.drawer-profile-card>b{color:var(--ui-accent);font-size:25px}.drawer-navigation{gap:2px}.drawer-navigation button{min-height:50px}.drawer-utility-row{border-top:1px solid var(--ui-divider);grid-template-columns:repeat(4,minmax(0,1fr));gap:7px;margin-top:auto;padding-top:15px;display:grid}.drawer-utility-row.telegram-session{grid-template-columns:repeat(2,minmax(0,1fr))}.drawer-utility-row button{min-width:0;min-height:68px;color:var(--text-muted);border-radius:13px;align-content:center;place-items:center;gap:5px;padding:7px 3px;font-size:10px;display:grid}.drawer-utility-row button:hover{border-color:var(--ui-accent);color:var(--ui-accent-strong)}.drawer-utility-row svg{fill:none;stroke:currentColor;stroke-width:1.65px;stroke-linecap:round;stroke-linejoin:round;width:24px;height:24px}.drawer-utility-row .drawer-logout{color:#d89b95;border-color:#59413f}:root[data-theme=light] .mobile-menu-button{border-color:var(--ui-border);background:var(--ui-light-surface-a)}:root[data-theme=light] .mobile-menu-button span{background:var(--ui-accent-deep)}:root[data-theme=light] .mobile-drawer-backdrop{background:#1c31294d}:root[data-theme=light] .mobile-drawer{border-color:var(--ui-border);background:radial-gradient(circle at 100% 0,var(--ui-glow),transparent 34%),var(--ui-light-bg);box-shadow:-22px 0 70px color-mix(in srgb,var(--ui-border) 22%,transparent)}:root[data-theme=light] .drawer-profile-card{border-color:var(--ui-border);background:linear-gradient(145deg,var(--ui-light-surface-a),var(--ui-light-surface-b))}.full-profile-card{border-radius:19px;margin:24px 0 32px;padding:18px}.profile-hero{align-items:flex-start;gap:18px;padding:0 0 24px}.profile-avatar-large{border-radius:24px;width:104px;height:104px}.profile-avatar-large>img,.profile-avatar-large>span{border-radius:21px;font-size:30px}.profile-name-row{display:block}.profile-name-row h1,.profile-name-button{font-size:32px}.profile-rating-summary{margin-inline:-18px}.profile-rating-heading{min-height:38px}.profile-rating-metrics article{padding:11px 8px}.profile-rating-metrics strong{font-size:clamp(19px,6vw,27px)}.profile-rating-metrics span{font-size:8px}.profile-management-bar{flex-direction:column;align-items:stretch;gap:9px}.profile-management-bar>div{grid-template-columns:repeat(2,minmax(0,1fr));width:100%;margin-left:0;display:grid}.profile-management-action:only-child{grid-column:1/-1;justify-content:center}.section-heading{flex-direction:column;align-items:flex-start;gap:8px}.source-chip{border-radius:8px}.profile-statistics-table th,.profile-statistics-table td{padding:10px 6px}.profile-statistics-table thead th:first-child,.profile-statistics-table tbody th{width:43%;padding-left:10px}.profile-statistics-table tbody th small{display:none}.profile-statistics-table tbody td{font-size:14px}.profile-battle-totals article{padding:10px 8px}.profile-battle-totals strong{font-size:18px}.profile-average-score{grid-template-columns:minmax(0,1fr) auto;gap:5px 10px;padding:9px 11px}.profile-average-score>strong{grid-area:1/2/3;font-size:22px}.profile-average-score>span:last-child{text-align:left}.profile-match-history-table thead th:first-child,.profile-match-history-table tbody th{width:auto;padding-left:10px}.profile-match-history-table tbody td{font-size:11px}.profile-privacy-note{padding-inline:11px}.modal-card{padding:17px}.profile-editor-dialog{width:100%}.profile-editor-tabs{margin-bottom:14px}.profile-editor-tabs button{min-height:39px;padding-inline:3px;font-size:9px}.profile-editor-pane{min-height:0}.profile-style-preview{gap:12px;min-height:102px;padding:12px}.profile-style-avatar{border-radius:16px;flex-basis:68px;width:68px;height:68px;font-size:21px}.profile-gradient-presets{grid-template-columns:1fr}.profile-gradient-preset{min-height:52px}.talisman-picker-backdrop{align-items:center;padding:12px}.talisman-picker-modal{width:100%;max-height:calc(100dvh - 24px);overflow-y:auto}.talisman-options{grid-template-columns:1fr}.hero-picker-backdrop{align-items:stretch;padding:0}.defense-hero-picker{width:100%;min-height:100dvh;max-height:100dvh;padding:max(16px, env(safe-area-inset-top)) 13px max(16px, env(safe-area-inset-bottom));border:0;border-radius:0}.defense-hero-picker .modal-heading{z-index:3;background:inherit;margin:-4px -1px 12px;padding:4px 1px 8px;position:sticky;top:0}.defense-pack-picker .pack-picker-top{top:calc(-1 * max(16px, env(safe-area-inset-top)));margin:calc(-1 * max(16px, env(safe-area-inset-top))) -1px 12px;padding:max(16px, env(safe-area-inset-top)) 1px 10px}.defense-pack-picker .modal-heading{margin:0 0 10px;padding:0;position:static}.pack-picker-slots{border-radius:11px;gap:5px;padding:7px}.defense-picker-grid{grid-template-columns:repeat(5,minmax(0,1fr));gap:12px 7px;max-height:none;padding:8px 4px 18px;overflow:visible}.duel-activity-card{grid-template-columns:minmax(0,1fr) auto;gap:10px;padding:10px}.duel-activity-state{text-align:right;align-items:end}.duel-activity-actions{grid-column:1/-1;grid-template-columns:repeat(2,minmax(0,1fr));display:grid!important}.duel-activity-actions button:only-child{grid-column:1/-1}}@media (height<=600px){.shell:has(.lobby-dashboard){padding-top:max(6px,env(safe-area-inset-top));padding-bottom:max(6px,env(safe-area-inset-bottom))}.shell:has(.lobby-dashboard)>header{min-height:46px;padding-bottom:3px}.shell:has(.lobby-dashboard)>header .brand-mark{width:155px}.lobby-dashboard{padding-top:3px}.lobby-mobile-tabs{margin-bottom:4px}.lobby-mobile-tabs button{min-height:30px;padding-block:3px}.lobby-card-heading{min-height:52px;padding-block:7px}.online-player-row,.mvp-player-row{padding-block:7px}.live-battle-list{gap:6px;padding:7px}}@media (width<=410px){header .brand-mark{width:155px;height:auto}.training-column-labels,.training-run-row{grid-template-columns:minmax(0,1fr) 48px minmax(0,1fr)}.training-run-row{padding-inline:3px}.training-run-button{width:20px;min-width:20px;height:20px;min-height:20px}.training-run-button svg{width:13px;height:13px}.battle-detail-hero{grid-template-columns:34px minmax(0,1fr)}.battle-detail-hero.defender{grid-template-columns:minmax(0,1fr) 34px}.battle-detail-portrait{width:34px}.profile-hero{grid-template-columns:90px 1fr;gap:15px;display:grid}.profile-avatar-large{width:90px;height:90px}.avatar-edit-indicator{border-radius:9px;width:34px;height:34px;bottom:-6px;right:-6px}.avatar-edit-indicator svg{width:18px;height:18px}.avatar-manager-preview{border-radius:26px;width:146px;height:146px}.avatar-manager-actions{grid-template-columns:1fr}.rank-choice{grid-template-columns:35px minmax(0,1fr) auto;padding-inline:9px}.section-heading{flex-direction:column;align-items:flex-start}.lobby-card-heading{padding-inline:10px}.lobby-card-heading h2{font-size:17px}.random-match-open span{max-width:62px;font-size:6px}.random-match-open b{display:none}.random-match-dialog{padding-inline:12px}.random-match-counts article{padding-inline:8px}.random-match-versus{grid-template-columns:minmax(0,1fr) 44px minmax(0,1fr);gap:7px}.random-match-versus .lobby-player-avatar{border-radius:13px;width:54px;height:54px}.journal-versus{grid-template-columns:minmax(0,1fr) 36px minmax(0,1fr);gap:5px;padding-inline:7px}.journal-player{gap:5px}.journal-player-avatar{border-radius:9px;width:42px;min-width:42px;height:42px;min-height:42px}.journal-versus-icon{border-radius:9px;width:34px;height:34px}.journal-versus-icon svg{width:19px;height:19px}.journal-player small{font-size:6px}.journal-player-name,.journal-player-name:hover{font-size:10px}.journal-match-progress{gap:7px;padding-inline:8px}}.replay-modal-backdrop{z-index:160;background:#000403eb;padding:12px}.replay-modal{background:#070b0a;border:1px solid #3b5b4e;border-radius:12px;grid-template-rows:auto minmax(0,1fr);width:min(1180px,100%);max-height:calc(100dvh - 24px);display:grid;overflow:hidden;box-shadow:0 30px 100px #000000b8}.replay-modal-heading{background:#101715;border-bottom:1px solid #2e4039;justify-content:space-between;align-items:center;gap:14px;min-height:58px;padding:8px 10px 8px 17px;display:flex}.replay-modal-heading>div:first-child{min-width:0}.replay-modal-heading>div:last-child{gap:7px;display:flex}.replay-modal-heading small{color:#81968d;letter-spacing:.08em;font-size:8px;font-weight:800;display:block}.replay-modal-heading h2{margin:2px 0 0;font-size:21px}.replay-modal-heading .icon-button{place-items:center;width:38px;min-width:38px;height:38px;min-height:38px;padding:0;display:grid}.replay-fullscreen-button svg{fill:none;stroke:currentColor;stroke-width:1.8px;stroke-linecap:round;stroke-linejoin:round;width:20px;height:20px}.replay-frame{aspect-ratio:16/9;isolation:isolate;background:#050807;width:100%;min-height:0;position:relative;overflow:hidden}.replay-frame iframe{z-index:0;background:#080b0d;border:0;width:100%;height:100%;position:absolute;inset:0}.replay-team-overlay{z-index:3;pointer-events:none;grid-template-columns:repeat(5,minmax(0,1fr));align-items:end;gap:clamp(2px,.45vw,6px);display:grid;position:absolute;bottom:62px}.replay-team-overlay.attack{left:clamp(8px,1.5vw,20px)}.replay-team-overlay.defense{right:clamp(8px,1.5vw,20px)}.replay-hero-portrait{filter:drop-shadow(0 4px 7px #000000b8);grid-template-rows:minmax(0,1fr) 4px 3px;gap:2px;width:clamp(42px,5.2vw,68px);min-width:0;display:grid}.replay-hero-icon{aspect-ratio:1;min-width:0}.replay-hero-icon .hero-icon{filter:none;width:100%;height:100%}.replay-hero-fallback{color:#cbd5d0;background:#18201e;border:1px solid #53625d;border-radius:4px;place-items:center;font-size:10px;font-weight:800;display:grid;overflow:hidden}.replay-hero-fallback img{object-fit:cover;width:100%;height:100%}.replay-hero-portrait.dead .replay-hero-icon{filter:grayscale()brightness(.48);opacity:.72}.replay-hero-portrait.pending .replay-resource{opacity:.42}.replay-resource{background:#070a09e0;border:1px solid #000000b8;border-radius:2px;height:100%;overflow:hidden}.replay-resource i{height:100%;transition:width 80ms linear;display:block}.replay-resource.hp i{background:linear-gradient(90deg,#36a52d,#79ef5e);box-shadow:0 0 4px #5be14675}.replay-resource.energy i{background:linear-gradient(90deg,#d39418,#ffd653)}.replay-resource.energy{border-color:#ffd8539e;box-shadow:0 0 4px #ffcb3666}.replay-player-status{z-index:5;color:#d8e3de;text-align:center;background:#050908e0;place-items:center;padding:24px;font-size:14px;font-weight:800;display:grid;position:absolute;inset:0}.replay-player-status.error{color:#ffaaa4}.replay-loading-card{grid-template-rows:auto auto auto;place-items:center;gap:12px;display:grid}.replay-loading-card img{object-fit:contain;filter:drop-shadow(0 10px 26px #00000094);width:clamp(150px,28vw,280px);max-height:112px}.replay-loading-card span{color:#dce8e2;letter-spacing:0;font-size:12px}.replay-loading-card i{background:#26322e;border-radius:2px;width:82px;height:3px;overflow:hidden}.replay-loading-card i:after{content:"";border-radius:inherit;background:var(--ui-accent,#d7ae51);width:38%;height:100%;animation:1.1s ease-in-out infinite alternate replay-loading-progress;display:block}@keyframes replay-loading-progress{0%{transform:translate(0)}to{transform:translate(164%)}}.replay-modal:fullscreen{border:0;border-radius:0;width:100vw;height:100dvh;max-height:none}.replay-modal:fullscreen .replay-frame{aspect-ratio:auto;width:100%;height:100%}.replay-modal:fullscreen .replay-hero-portrait{width:clamp(42px,4.2vw,62px)}.training-run-button.camera:not(:disabled){color:#ffe3a1;background:linear-gradient(#6f541f,#3d2e12);border-color:#b48b3d;box-shadow:inset 0 1px #ffffff29,0 3px 8px #00000052}@media (width<=900px){.replay-modal-backdrop{padding:0}.replay-modal{border-inline:0;border-radius:0;width:100%}.replay-modal-heading{min-height:50px;padding:6px 7px 6px 11px}.replay-modal-heading h2{font-size:17px}.replay-modal-heading .icon-button{width:34px;min-width:34px;height:34px;min-height:34px}.replay-team-overlay{gap:1px;bottom:80px}.replay-team-overlay.attack{left:3px}.replay-team-overlay.defense{right:3px}.replay-hero-portrait{grid-template-rows:minmax(0,1fr) 3px 3px;gap:1px;width:clamp(24px,5.8vw,32px)}}@media (width<=900px) and (orientation:portrait){.replay-modal{height:auto;max-height:calc(100dvh - 16px)}.replay-frame{aspect-ratio:auto;height:min(56.25vw + 76px,100dvh - 66px)}.replay-hero-portrait{width:clamp(22px,5.5vw,30px)}}@media (orientation:landscape) and (height<=650px){.replay-modal-backdrop{padding:0}.replay-modal{border-radius:0;grid-template-rows:44px minmax(0,1fr);width:100%;height:100dvh;max-height:100dvh}.replay-frame{aspect-ratio:auto;width:100%;height:100%}.replay-modal-heading{min-height:44px;padding:4px 8px 4px 12px}.replay-modal-heading h2{font-size:16px}.replay-modal-heading .icon-button{width:30px;min-width:30px;height:30px;min-height:30px}.replay-team-overlay{bottom:48px}.replay-hero-portrait{grid-template-rows:minmax(0,1fr) 3px 3px;gap:1px;width:clamp(30px,3.4vw,44px)}}:is(.header-profile-copy small,.drawer-profile-card small,.defense-pack-heading small,.defense-slot.empty small,.talisman-option-head small,.talisman-option-head>b,.talisman-stat-row small,.pack-picker-slot.empty small,.attack-slot.empty small,.duel-activity-player small,.journal-kind,.journal-player small,.journal-match-progress small,.duel-deadline-summary>span>small:first-child,.duel-deadline.compact,.duel-total-score small,.match-perspective-heading small,.match-perspective-column .battle-result-meta,.tournament-table-head,.rank-choice em,.admin-season-list small,.lobby-card-heading small,.random-match-open span,.random-match-open b,.lobby-player-link span,.live-battle-meta,.live-player .lobby-player-avatar,.live-player span,.live-battle-row>small,.duel-invite-dialog>small,.duel-invite-player small,.random-match-clock small,.random-match-counts span,.random-match-found>small,.battle-pack-heading small,.battle-defense-slot.hidden small,.battle-defense-slot.empty small,.battle-result-score>span:first-child small,.training-column-labels,.training-run-center>small,.training-run-center>b,.battle-details-legend,.battle-detail-copy>small,.battle-detail-copy>b,.battle-detail-metrics>span>em,.battle-result-team h3,.battle-result-hero b,.battle-result-hero small,.battle-result-hero em,.attack-picker-teams>div>small,.profile-rating-heading small,.profile-management-bar>span small,.profile-table-heading span small,.profile-table-heading>strong small,.profile-battle-totals small,.profile-statistics-table thead th,.profile-statistics-table tbody th small,.profile-match-history-table td:last-child small,.profile-match-outcome,.private-pack-table thead th,.private-pack-table td small,.private-pack-outcome,.avatar-manager-action small,.battle-history-open b,.journal-status-tabs button,.replay-modal-heading small){font-size:10px!important}:is(.duel-activity-state time,.journal-card-head time,.journal-versus-center .journal-rating-delta,.tournament-stat-grid span,.rank-choice small,.rank-current-summary span,.season-create-form label,.pvp-challenge-button,.live-versus>b,.open-live-match,.battle-pack-action span,.battle-result-meta,.profile-rating-heading em,.profile-rating-metrics span,.profile-management-action,.profile-privacy-note,.private-pack-history-card>p){font-size:11px!important}:is(.header-profile-copy small,.defense-pack-heading small,.talisman-stat-row small,.duel-activity-state time,.journal-card-head time,.journal-player small,.journal-match-progress small,.duel-deadline-summary>span>small:first-child,.battle-pack-heading small,.battle-result-meta,.training-column-labels,.training-run-center>small,.battle-detail-copy>small,.battle-detail-metrics>span>em,.battle-result-hero small,.battle-result-hero em,.lobby-player-link span,.live-player span,.live-battle-row>small,.profile-rating-metrics span,.profile-match-history-table td:first-child){color:var(--text-secondary)}@media (width<=900px){.training-column-labels,.training-run-row{grid-template-columns:minmax(0,1fr) 68px minmax(0,1fr)}.random-match-open span{max-width:92px}.battle-pack-heading small{max-width:58%}.battle-result-meta{min-width:92px}}@media (width<=410px){.training-column-labels,.training-run-row{grid-template-columns:minmax(0,1fr) 64px minmax(0,1fr)}.random-match-open span{max-width:82px}}@media (prefers-reduced-motion:reduce){.brand-mark img{animation:none}}:root[data-theme=light]{--text-secondary:#294b3d;--text-muted:#38594b}:root[data-theme=light] p{color:#355749}:root[data-theme=light] button:disabled{opacity:.58}:root[data-theme=light] .lobby-player-link span{color:#274f3f}:root[data-theme=light] .mvp-player-row>b{color:#405f52}:root[data-theme=light] .mvp-player-row.rank-1>b{color:#926316}:root[data-theme=light] .mvp-player-row.rank-2>b{color:#4d675d}:root[data-theme=light] .mvp-player-row.rank-3>b{color:#9a582e}:root[data-theme=light] .mvp-player-row>em{color:#0f7652}:root[data-theme=light] .pvp-challenge-button:disabled{color:#73531a;opacity:.72;background:linear-gradient(145deg,#f3ead8,#e7dcc5);border-color:#bba36f}:root[data-theme=light] .journal-versus-icon{color:#765019}:root[data-theme=light] .journal-versus-icon svg{opacity:.72;stroke-width:1.7px}:root[data-theme=light] .journal-versus-icon b{color:#68430e;text-shadow:none}:root[data-theme=light] .profile-statistics-table thead th{color:#34594a}:root[data-theme=light] .profile-match-history-table td:first-child,:root[data-theme=light] .profile-match-history-table td:last-child small{color:#294d3e}:root[data-theme=light] .profile-match-outcome{color:#126b49;background:#29916821;border-color:#579578}:root[data-theme=light] .profile-match-history-table .outcome-loss .profile-match-outcome{color:#8d3d36;background:#f5e3e0;border-color:#aa6962}:root[data-theme=light] .profile-match-history-table .outcome-draw .profile-match-outcome{color:#795315;background:#f4e8cc;border-color:#a17b37}@media (width<=900px){.profile-table-scroll{overflow-x:hidden}.profile-match-history-table{table-layout:fixed;width:100%;min-width:0}.profile-match-history-table th,.profile-match-history-table td{white-space:normal;overflow-wrap:anywhere;padding:8px 3px}.profile-match-history-table thead th:first-child{width:28%}.profile-match-history-table thead th:nth-child(2){width:22%}.profile-match-history-table thead th:nth-child(3){width:18%}.profile-match-history-table thead th:nth-child(4){width:32%}.profile-match-history-table thead th:first-child,.profile-match-history-table tbody th{padding-left:5px}.profile-match-history-table td:first-child{line-height:1.25;font-size:9px!important}.profile-match-history-table td strong{font-size:12px}.profile-match-history-table td:last-child{white-space:normal;display:table-cell}.profile-match-history-table td:last-child small{margin-top:3px;display:block;font-size:9px!important}.profile-match-outcome{min-height:22px;padding:2px 5px;font-size:8px!important}}.talisman-drawer-trigger{color:#e8a938;background:#08191224;border-color:#e7ae469e;justify-content:center;align-items:center;gap:8px;width:auto;min-width:0;min-height:40px;padding:5px 10px 5px 6px;font-size:10px;font-weight:900;display:inline-flex;box-shadow:inset 0 0 0 1px #ffd37609}.talisman-drawer-trigger:hover{color:#ffc75f;filter:none;background:#e09e2c17;border-color:#f0b64b}.talisman-drawer-trigger.compact{border-radius:9px;width:40px;min-width:40px;height:40px;min-height:40px;padding:4px}.talisman-menu-icon{fill:none;stroke:currentColor;stroke-width:2.1px;stroke-linecap:round;stroke-linejoin:round;filter:drop-shadow(0 1px #140a0080);width:28px;height:28px;overflow:visible}.talisman-menu-icon circle{fill:#ffc4420f;stroke-width:1.5px}.pack-picker-team-actions{flex:none;align-items:center;gap:7px;display:inline-flex}.copy-defense-trigger{border-color:var(--ui-border);background:var(--ui-glow-soft);width:40px;min-width:40px;height:40px;min-height:40px;color:var(--ui-accent);box-shadow:inset 0 0 0 1px color-mix(in srgb,var(--ui-accent) 6%,transparent);border-radius:9px;place-items:center;padding:5px;display:grid}.copy-defense-trigger:hover:not(:disabled){border-color:var(--ui-accent);background:var(--ui-glow);color:var(--ui-accent-strong);filter:none}.copy-defense-trigger svg{fill:none;stroke:currentColor;stroke-width:1.8px;stroke-linecap:round;stroke-linejoin:round;width:27px;height:27px}.defense-section-heading>div:first-child{margin-right:auto}.pack-picker-team-heading{justify-content:space-between;align-items:center;gap:10px;min-height:40px;margin:0 auto 6px;display:flex}.pack-picker-team-heading>small{color:#789589;letter-spacing:.11em;min-width:0;font-size:8px}.attack-picker-teams>div>.pack-picker-team-heading{width:100%}.attack-picker-teams>div:last-child>small{align-items:center;min-height:40px;padding-left:3px;display:flex}.talisman-drawer-backdrop{z-index:520;-webkit-backdrop-filter:blur(7px);backdrop-filter:blur(7px);background:#010705a8;justify-content:flex-end;display:flex;position:fixed;inset:0;overflow:hidden}.talisman-drawer{background:radial-gradient(circle at 100% 0,#ca8b2833,#0000 28%),linear-gradient(150deg,#14291f,#07130f 68%);border-left:1px solid #7b5a27;grid-template-rows:auto minmax(0,1fr);width:min(590px,96vw);min-width:0;height:100dvh;animation:.25s ease-out talisman-drawer-enter;display:grid;box-shadow:-24px 0 70px #00000080}@keyframes talisman-drawer-enter{0%{transform:translate(100%)}to{transform:translate(0)}}header.talisman-drawer-heading{min-height:0;padding:max(18px,env(safe-area-inset-top)) 18px 15px;color:inherit;letter-spacing:normal;border-bottom:1px solid #b9893d57;justify-content:space-between;align-items:flex-start;gap:16px;display:flex}.talisman-drawer-heading>div{min-width:0}.talisman-drawer-heading small{color:#e8b85f;letter-spacing:.15em;font-size:9px}.talisman-drawer-heading h2{margin:4px 0 0;font-size:25px}.talisman-drawer-close{color:#bbcabf;background:0 0;border:0;border-radius:0;place-items:center;width:40px;min-width:40px;height:40px;min-height:40px;padding:0;display:grid}.talisman-drawer-close:hover{color:#f0bd64;background:#ffffff0f;border:0}.talisman-drawer-close svg{fill:none;stroke:currentColor;stroke-width:1.8px;stroke-linecap:round;width:25px;height:25px}.talisman-drawer-list{min-height:0;padding:4px 14px max(18px,env(safe-area-inset-bottom));scrollbar-color:var(--ui-accent-deep) transparent;scrollbar-width:thin;grid-auto-rows:max-content;display:grid;overflow-y:auto}.talisman-drawer-hero{border-bottom:1px solid #638b793b;grid-template-columns:76px minmax(0,1fr);align-items:center;gap:10px;min-width:0;padding:10px 2px;display:grid}.talisman-drawer-portrait{place-items:center;min-width:0;display:grid}.talisman-drawer-portrait .hero-icon{pointer-events:none;width:68px;height:68px}.talisman-drawer-options{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;min-width:0;display:grid}.talisman-drawer-options.single{grid-template-columns:minmax(0,230px)}.talisman-drawer-option{text-align:left;background:linear-gradient(145deg,#22392ff5,#091913fa);border-color:#4a604d;border-radius:11px;align-content:center;min-width:0;min-height:0;padding:8px;display:grid;position:relative;box-shadow:inset 0 0 18px #ffffff05}.talisman-drawer-option:hover{background:linear-gradient(145deg,#37412bf5,#0e1e16fa);border-color:#b4893f}.talisman-drawer-option.selected{border-color:#e1b051;box-shadow:inset 0 0 0 1px #f5c4614d,0 0 17px #d59a2f1f}.talisman-drawer-option-head{grid-template-columns:48px minmax(0,1fr) 22px;align-items:center;gap:7px;min-width:0;display:grid}.talisman-drawer-option-head>img{object-fit:contain;filter:drop-shadow(0 4px 7px #0000006b);width:48px;height:48px}.talisman-drawer-option-head>span{gap:2px;min-width:0;display:grid}.talisman-drawer-option-head small{color:#e1b15b;letter-spacing:.07em;font-size:7px}.talisman-drawer-option-name{color:#eff7f3;white-space:nowrap;height:1.25em;font-size:10px;line-height:1.25;display:block;position:relative;overflow:hidden}.talisman-drawer-option-name>span{min-width:max-content;display:inline-block}.talisman-drawer-option-name.pendulum>span{animation:3.4s ease-in-out infinite alternate talisman-name-pendulum;position:absolute;top:0;left:0}@keyframes talisman-name-pendulum{0%,14%{left:0;transform:translate(0)}86%,to{left:100%;transform:translate(-100%)}}@media (prefers-reduced-motion:reduce){.talisman-drawer-option-name.pendulum>span{animation:none}}.talisman-drawer-option-head>i{color:#241403;background:#d3922e;border:1px solid #e0ad4b;border-radius:6px;align-self:start;place-items:center;width:22px;height:22px;display:grid}.talisman-drawer-option-head>i svg{fill:none;stroke:currentColor;stroke-width:2.5px;stroke-linecap:round;stroke-linejoin:round;width:16px;height:16px}:root[data-theme=light] .talisman-drawer{background:radial-gradient(circle at 100% 0,#f5dfb7,#0000 30%),linear-gradient(150deg,#f9fcfb,#e4f0eb 68%);border-color:#b58a45}:root[data-theme=light] .talisman-drawer-backdrop{background:#182d2557}:root[data-theme=light] .talisman-drawer-heading{border-color:#c9aa74}:root[data-theme=light] .talisman-drawer-heading h2,:root[data-theme=light] .talisman-drawer-option-name{color:#193128}:root[data-theme=light] .talisman-drawer-close{color:#44685a}:root[data-theme=light] .talisman-drawer-hero{border-color:#bfd2ca}:root[data-theme=light] .talisman-drawer-trigger{color:#8b5709;box-shadow:none;background:#ffffff47;border-color:#a9782c}:root[data-theme=light] .talisman-drawer-trigger:hover{color:#704300;background:#ba7e1d1a;border-color:#8f5c12}:root[data-theme=light] .talisman-drawer-option{background:linear-gradient(145deg,#fff,#e9f2ee);border-color:#aabfb5}:root[data-theme=light] .talisman-drawer-option:hover{background:linear-gradient(145deg,#fff8e9,#e8f2ed);border-color:#b88b43}:root[data-theme=light] .talisman-drawer-option.selected{border-color:#b47b28;box-shadow:inset 0 0 0 1px #b47b282e,0 0 15px #84591b1a}@media (width<=620px){.talisman-drawer{width:100vw}header.talisman-drawer-heading{padding-inline:13px}.talisman-drawer-heading h2{font-size:22px}.talisman-drawer-list{padding-inline:9px}.talisman-drawer-hero{grid-template-columns:70px minmax(0,1fr);gap:8px;padding-block:11px}.talisman-drawer-portrait .hero-icon{width:62px;height:62px}.talisman-drawer-options{gap:5px}.talisman-drawer-options.single{grid-template-columns:minmax(0,1fr)}.talisman-drawer-option{border-radius:9px;min-height:0;padding:6px}.talisman-drawer-option-head{grid-template-columns:39px minmax(0,1fr) 19px;gap:5px}.talisman-drawer-option-head>img{width:39px;height:39px}.talisman-drawer-option-head>i{width:19px;height:19px}.talisman-drawer-option-name{font-size:9px}}.modal-card.defense-hero-picker{flex-direction:column;display:flex;overflow:hidden}.defense-hero-picker>.modal-heading,.defense-hero-picker>.pack-picker-top,.defense-hero-picker>.hero-filter-groups,.defense-hero-picker>.attack-picker-footer{flex:none}.defense-hero-picker>.defense-picker-grid{overscroll-behavior:contain;flex:auto;grid-auto-rows:82px;align-content:start;align-items:start;min-height:0;max-height:none;padding:13px 17px 20px 11px;overflow:hidden auto}.defense-hero-picker>.defense-picker-grid>.hero-icon{justify-self:center;width:min(82px,100%);height:auto}.defense-hero-pool{min-height:0}.defense-hero-pool>.hero-filter-groups{flex:none}.defense-hero-pool>.defense-hero-grid{flex:auto;min-height:0}@media (width>=901px){.defense-hero-pool{flex-direction:column;display:flex}}@media (width<=700px){.modal-card.defense-hero-picker{height:100dvh;min-height:100dvh;max-height:100dvh}.defense-pack-picker .pack-picker-top{position:relative;top:auto}.defense-hero-picker>.defense-picker-grid{grid-template-columns:repeat(5,minmax(0,1fr));grid-auto-rows:max(58px,20vw - 16.4px);gap:14px 8px;padding:13px 12px 22px 8px;overflow-y:auto}.defense-hero-picker>.defense-picker-grid>.hero-icon{width:100%;max-width:82px}.modal-card.attack-pack-picker{padding:max(8px,env(safe-area-inset-top)) 10px max(8px,env(safe-area-inset-bottom))}.attack-pack-picker .attack-picker-top{margin:calc(-1 * max(8px,env(safe-area-inset-top))) 0 4px;padding:max(8px,env(safe-area-inset-top)) 0 4px}.attack-picker-top .modal-heading{align-items:center;min-height:32px;margin:0 0 2px}.attack-picker-top .modal-heading small{font-size:9px}.attack-picker-top .modal-heading .icon-button{width:32px;min-width:32px;min-height:32px}.attack-picker-top .modal-heading .icon-button:before,.attack-picker-top .modal-heading .icon-button:after{width:20px}.attack-picker-teams{gap:3px}.attack-picker-teams>div{gap:1px}.attack-picker-teams .pack-picker-team-heading{min-height:29px;margin-bottom:1px}.attack-picker-teams>div:last-child>small{min-height:21px;padding-left:3px}.talisman-drawer-trigger.compact{border-radius:7px;width:30px;min-width:30px;height:30px;min-height:30px;padding:3px}.talisman-drawer-trigger.compact .talisman-menu-icon{width:22px;height:22px}.pack-picker-team-actions{gap:4px}.copy-defense-trigger{border-radius:7px;width:30px;min-width:30px;height:30px;min-height:30px;padding:3px}.copy-defense-trigger svg{width:21px;height:21px}.attack-picker-teams .pack-picker-slots{border-radius:9px;gap:4px;padding:4px}.attack-picker-scroll{overscroll-behavior:contain;scrollbar-color:var(--ui-accent-deep) transparent;scrollbar-width:thin;flex:auto;min-height:0;overflow:hidden auto}.attack-picker-scroll>.hero-filter-groups{border-radius:9px;gap:3px;margin:0 2px 5px;padding:4px 5px 2px}.attack-picker-scroll .icon-filter-group{gap:3px;padding:0 1px 2px}.attack-picker-scroll .icon-filter-button{border-radius:7px;width:33px;min-width:33px;height:33px;min-height:33px;padding:3px}.attack-picker-scroll .icon-filter-button img{width:24px;height:24px}.attack-picker-scroll .icon-filter-button svg{width:19px;height:19px}.attack-picker-scroll .icon-filter-button.filter-all:after{height:22px;top:5px}.attack-picker-scroll>.attack-picker-grid{grid-template-columns:repeat(5,minmax(0,1fr));grid-auto-rows:max(58px,20vw - 15.6px);gap:13px 7px;max-height:none;padding:7px 10px 18px 7px;overflow:visible}.attack-picker-scroll>.attack-picker-grid>.hero-icon{justify-self:center;width:100%;max-width:82px}.attack-pack-picker>.attack-picker-footer{margin:3px -10px calc(-1 * max(8px,env(safe-area-inset-bottom)));padding:6px 10px max(8px,env(safe-area-inset-bottom));position:relative;bottom:auto}}@media (orientation:landscape) and (height<=600px){.hero-picker-backdrop{align-items:stretch;padding:0}.modal-card.defense-hero-picker{width:100%;height:100dvh;min-height:100dvh;max-height:100dvh;padding:max(7px,env(safe-area-inset-top)) 10px max(7px,env(safe-area-inset-bottom));border:0;border-radius:0}.defense-pack-picker .pack-picker-top{margin:0 0 4px;padding:0;position:relative;top:auto}.pack-picker-top .modal-heading{margin-bottom:3px}.attack-picker-top .modal-heading h2{margin-top:0;font-size:18px}.attack-picker-top .modal-heading small{font-size:8px}.attack-picker-teams{grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}.attack-picker-teams>div{gap:2px}.pack-picker-team-heading{min-height:30px;margin-bottom:2px}.talisman-drawer-trigger.compact{width:31px;min-width:31px;height:31px;min-height:31px;padding:3px}.talisman-drawer-trigger.compact .talisman-menu-icon{width:23px;height:23px}.copy-defense-trigger{width:31px;min-width:31px;height:31px;min-height:31px;padding:3px}.copy-defense-trigger svg{width:22px;height:22px}.attack-picker-teams .pack-picker-slots{gap:4px;width:min(360px,100%);padding:4px}.defense-hero-picker>.hero-filter-groups{gap:2px;margin-bottom:4px;padding:3px 6px 2px}.defense-hero-picker .icon-filter-button{width:29px;min-width:29px;height:29px;min-height:29px;padding:3px}.defense-hero-picker .icon-filter-button img{width:22px;height:22px}.defense-hero-picker>.defense-picker-grid{grid-template-columns:repeat(auto-fill,minmax(58px,1fr));grid-auto-rows:64px;gap:11px 6px;padding:9px 13px 16px 8px}.defense-hero-picker>.defense-picker-grid>.hero-icon{width:min(64px,100%)}.attack-picker-scroll{overscroll-behavior:contain;flex:auto;min-height:0;overflow:hidden auto}.attack-picker-scroll>.hero-filter-groups{gap:2px;margin-bottom:4px;padding:3px 6px 2px}.attack-picker-scroll .icon-filter-button{width:29px;min-width:29px;height:29px;min-height:29px;padding:3px}.attack-picker-scroll .icon-filter-button img{width:22px;height:22px}.attack-picker-scroll>.attack-picker-grid{grid-template-columns:repeat(auto-fill,minmax(58px,1fr));grid-auto-rows:64px;gap:11px 6px;max-height:none;padding:9px 13px 16px 8px;overflow:visible}.attack-picker-scroll>.attack-picker-grid>.hero-icon{justify-self:center;width:min(64px,100%)}.attack-picker-footer{margin:3px -10px -7px;padding:5px 10px 7px;position:relative;bottom:auto}.attack-picker-footer>span{font-size:9px}.attack-picker-footer .primary{min-width:190px;min-height:38px;padding-block:6px}}.streamer-studio{gap:18px;padding-top:30px;display:grid}.stream-studio-heading{justify-content:space-between;align-items:center;gap:16px;display:flex}.stream-studio-heading h1{margin-bottom:0;font-size:clamp(30px,5vw,50px)}.stream-on-air{color:#ff9a91;letter-spacing:.13em;background:#67231f6b;border:1px solid #cb625a;border-radius:999px;padding:9px 14px;font-size:11px;font-weight:900}.stream-control-panel{background:linear-gradient(145deg,#112b22f0,#071510f5);border:1px solid #2a5041;border-radius:18px;gap:12px;padding:13px;display:grid}.stream-mode-tabs{grid-template-columns:repeat(3,minmax(0,1fr));gap:7px;display:grid}.stream-mode-tabs button{color:var(--text-secondary);border-radius:12px;font-weight:800}.stream-mode-tabs button.active{color:#06120d;background:linear-gradient(135deg,#70dfb4,#50bd98);border-color:#74e0b7}.stream-control-row{grid-template-columns:minmax(220px,1fr) auto auto;gap:8px;display:grid}.stream-control-row select{width:100%}.stream-studio-empty{text-align:center;background:#07141085;border:1px dashed #345b4b;border-radius:18px;align-content:center;place-items:center;gap:12px;min-height:360px;display:grid}.stream-studio-empty b{color:#6fdbb0;font-size:38px}.stream-preview-grid{gap:14px;display:grid}.stream-preview-grid.mode-director,.stream-preview-grid.mode-broadcast{grid-template-columns:repeat(2,minmax(0,1fr))}.stream-screen-preview{background:radial-gradient(circle at 20% 0,#225b4452,#0000 42%),#071813;border:1px solid #376454;border-radius:18px;min-width:0;overflow:hidden;box-shadow:0 18px 50px #00000038}.stream-screen-preview>header{letter-spacing:normal;border-color:#28483c;grid-template-columns:46px minmax(0,1fr) auto;gap:10px;min-height:70px;padding:10px 13px;display:grid}.stream-target-avatar,.stream-target-avatar img,.stream-target-avatar>span{border:1px solid var(--ui-border);object-fit:cover;background:radial-gradient(circle at 28% 20%,var(--ui-glow),transparent 43%),linear-gradient(145deg,var(--ui-surface-a),var(--ui-bg-secondary));width:46px;height:46px;color:var(--ui-accent-strong);border-radius:12px;place-items:center;font-size:12px;font-weight:900;display:grid}.stream-screen-preview>header>div:nth-child(2){align-content:center;gap:3px;min-width:0;display:grid}.stream-screen-preview>header strong{color:var(--text-primary);text-overflow:ellipsis;white-space:nowrap;font-size:15px;overflow:hidden}.stream-screen-preview>header small{color:var(--text-muted);letter-spacing:.08em;text-overflow:ellipsis;white-space:nowrap;font-size:9px;overflow:hidden}.stream-screen-preview>header>span{letter-spacing:.09em;border-radius:999px;align-self:center;padding:5px 8px;font-size:8px;font-weight:900}.stream-screen-preview>header>span.live{color:#72e5b8;border:1px solid #55c99e}.stream-screen-preview>header>span.offline{color:#c88b82;border:1px solid #66504a}.stream-screen-preview.stale{border-color:#55453f}.stream-screen-preview.has-mirror{background:#020705}.stream-mirror-stage{isolation:isolate;background:#020705;width:100%;height:min(72dvh,820px);min-height:420px;position:relative;overflow:hidden}.stream-mirror-canvas{transform-origin:0 0;pointer-events:none;position:absolute;top:0;left:0;overflow:hidden}.stream-mirror-canvas .replayer-wrapper{box-shadow:none!important;position:relative!important}.stream-mirror-canvas iframe{pointer-events:none!important}.stream-mirror-fullscreen{z-index:4;color:#79e2b9;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);background:#04150fd6;border:1px solid #70dfb4b8;border-radius:11px;place-items:center;width:42px;height:42px;padding:0;display:grid;position:absolute;top:10px;right:10px;box-shadow:0 6px 20px #00000057}.stream-mirror-fullscreen:hover{color:#b5f8dd;background:#0e3427f0;border-color:#86ebc4}.stream-mirror-fullscreen svg{fill:none;stroke:currentColor;stroke-width:1.8px;stroke-linecap:round;stroke-linejoin:round;width:23px;height:23px}.stream-mirror-stage:fullscreen{border-radius:0;width:100vw;height:100vh;min-height:0}.stream-mirror-stage:fullscreen .stream-mirror-fullscreen{top:max(12px,env(safe-area-inset-top));right:max(12px,env(safe-area-inset-right))}.stream-preview-grid.mode-player .stream-screen-preview{width:100%}.stream-empty-screen,.stream-private-screen,.stream-generic-screen{text-align:center;align-content:center;place-items:center;gap:9px;min-height:280px;padding:30px;display:grid}.stream-empty-screen i{border:2px solid #4f8d75;border-top-color:#80e6bd;border-radius:50%;width:18px;height:18px;animation:.9s linear infinite spinner}.stream-private-screen b{color:#c8a768;font-size:27px}.stream-generic-screen b{font-family:Russo One,sans-serif;font-size:28px}.stream-generic-screen small{font-size:10px}.stream-match-screen{align-content:start;gap:16px;min-height:280px;padding:24px 18px;display:grid}.stream-score{grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);align-items:center;gap:12px;display:grid}.stream-score>span{min-width:0;color:var(--text-primary);text-align:center;gap:5px;font-weight:850;display:grid}.stream-score>span b{color:#7ce2b9;font-size:13px}.stream-score>strong{color:#edc469;white-space:nowrap;font-family:Russo One,sans-serif;font-size:29px}.stream-score>strong i{color:#6e9083;padding:0 5px;font-style:normal}.stream-screen-meta{color:var(--text-secondary);background:#0a1f18b8;border:1px solid #294d3f;border-radius:11px;justify-content:center;align-items:center;gap:12px;padding:9px;font-size:12px;display:flex}.stream-screen-meta b{color:#edc469}.stream-selected-heroes{grid-template-columns:repeat(5,minmax(0,74px));justify-content:center;gap:8px;padding:9px;display:grid}.stream-selected-heroes>div{min-width:0}.stream-defense-screen{gap:4px;max-height:420px;padding:10px;display:grid;overflow:auto}.stream-defense-screen>div{background:#0d231bb3;border-left:3px solid #0000;border-radius:8px;grid-template-columns:26px minmax(0,1fr);align-items:center;gap:7px;padding:5px 7px;display:grid}.stream-defense-screen>div.active{background:#265c4666;border-left-color:#72dfb5}.stream-defense-screen>div>b{color:#e7bd68;text-align:center}.stream-defense-screen>div>span{grid-template-columns:repeat(5,minmax(0,52px));gap:5px;display:grid}.stream-defense-screen>div>span>i{min-width:0}.stream-archive{background:#06130fe0;border:1px solid #345d4d;border-radius:18px;overflow:hidden}.stream-archive-score{border-bottom:1px solid #2d5042;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);align-items:center;gap:14px;min-height:96px;padding:13px 20px;display:grid}.stream-archive-score>span{grid-template-rows:auto auto;grid-template-columns:48px minmax(0,1fr);align-items:center;gap:2px 10px;min-width:0;display:grid}.stream-archive-score>span:last-child{text-align:right;grid-template-columns:minmax(0,1fr) 48px}.stream-archive-score>span:last-child>img,.stream-archive-score>span:last-child>span{grid-area:1/2/3}.stream-archive-score img,.stream-archive-score>span>span{border:1px solid var(--ui-border);object-fit:cover;background:radial-gradient(circle at 28% 20%,var(--ui-glow),transparent 43%),linear-gradient(145deg,var(--ui-surface-a),var(--ui-bg-secondary));width:48px;height:48px;color:var(--ui-accent-strong);border-radius:11px;grid-row:1/3;place-items:center;font-size:11px;display:grid}.stream-archive-score b{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.stream-archive-score small{font-size:9px}.stream-archive-score>strong{color:#eac16b;white-space:nowrap;font-family:Russo One,sans-serif;font-size:34px}.stream-archive-score>strong i{color:#6e8b80;padding:0 7px;font-style:normal}.stream-archive-mobile-tabs{border:1px solid var(--ui-border);background:linear-gradient(135deg,var(--ui-surface-a),var(--ui-bg-secondary));box-shadow:inset 0 1px 0 color-mix(in srgb,var(--ui-accent) 16%,transparent);border-radius:13px;grid-template-columns:repeat(2,minmax(0,1fr));gap:5px;margin:8px 8px 0;padding:4px;display:grid}.stream-archive-mobile-tabs button{min-width:0;min-height:42px;color:var(--text-secondary);box-shadow:none;background:0 0;border:1px solid #0000;border-radius:9px;justify-content:center;align-items:center;gap:6px;padding:7px 8px;display:flex;overflow:hidden}.stream-archive-mobile-tabs button b{text-overflow:ellipsis;white-space:nowrap;font-size:10px;overflow:hidden}.stream-archive-mobile-tabs button span{border:1px solid color-mix(in srgb,var(--ui-accent) 42%,transparent);width:21px;height:21px;color:var(--ui-accent-strong);border-radius:7px;flex:0 0 21px;place-items:center;font-size:12px;line-height:1;display:grid}.stream-archive-mobile-tabs button span svg{fill:none;stroke:currentColor;stroke-width:1.7px;stroke-linecap:round;stroke-linejoin:round;width:15px;height:12px;overflow:visible}.stream-archive-mobile-tabs button:not(.active):hover{border-color:color-mix(in srgb,var(--ui-accent) 34%,var(--ui-border));background:var(--ui-glow-soft);color:var(--text-primary)}.stream-archive-mobile-tabs button.active{border-color:var(--ui-accent-deep);background:linear-gradient(135deg,var(--ui-accent),var(--ui-accent-deep));color:var(--ui-on-accent);box-shadow:0 5px 14px var(--ui-glow-soft)}.stream-archive-mobile-tabs button.active span{color:inherit}.stream-archive-sides{grid-template-columns:repeat(2,minmax(0,1fr));display:grid}.stream-archive-side{align-content:start;gap:5px;min-width:0;padding:14px;display:grid}.stream-archive-side+.stream-archive-side{border-left:1px solid #29473b}.stream-archive-side h3{margin:0 0 8px;font-size:15px}.stream-archive-side h3 small{color:var(--text-muted);margin-left:5px;font-family:"Exo 2",sans-serif;font-size:9px}.stream-archive-side .stream-battle-pack-list{scrollbar-color:var(--ui-accent-deep) transparent;scrollbar-width:thin;grid-auto-rows:max-content;align-content:start;gap:10px;width:100%;max-height:min(72dvh,820px);margin:0;padding-right:4px;display:grid;overflow-y:auto}.stream-archive-side .battle-pack-main{grid-template-columns:93px minmax(0,1fr)}.stream-archive-side .battle-pack-action{padding-inline:9px}.stream-archive-side .battle-pack-defense{padding:7px 8px;display:block}.stream-archive-side .battle-pack-heading{justify-content:space-between;align-items:center;gap:5px;margin-bottom:5px;display:flex}.stream-archive-side .battle-pack-heading b{font-size:10px}.stream-archive-side .battle-pack-heading small{text-overflow:ellipsis;white-space:nowrap;max-width:48%;font-size:6px;overflow:hidden}.stream-archive-side .battle-defense-slots{grid-template-columns:repeat(5,minmax(0,1fr));gap:3px}.stream-archive-side .battle-result-score{grid-template-columns:minmax(95px,1fr) auto minmax(110px,1fr);gap:7px;padding-inline:9px}.stream-archive-side .battle-result-score>span:first-child b{font-size:13px}.stream-archive-side .battle-result-score>strong{font-size:21px}.stream-archive-side .battle-result-meta{font-size:7px}.stream-archive-side .battle-history-open{min-height:43px;padding:7px 10px}.observer-match-view{gap:12px;width:min(1480px,100%);margin:0 auto;padding:8px 0 30px;display:grid}.observer-match-loading{min-height:240px;color:var(--text-muted);place-items:center;margin:0;display:grid}.stream-observer-pack{content-visibility:auto;contain-intrinsic-size:auto 360px;gap:6px;min-width:0;display:grid}.stream-observer-pack-placeholder{border:1px solid var(--ui-divider);background:linear-gradient(145deg,var(--ui-surface-a),var(--ui-bg-secondary));content-visibility:visible;contain-intrinsic-size:none;border-radius:14px;min-height:280px}.stream-observer-attack-team{border:1px solid var(--ui-border);background:radial-gradient(circle at 0 50%,var(--ui-glow-soft),transparent 45%),linear-gradient(145deg,var(--ui-surface-a),var(--ui-surface-b));border-radius:12px;grid-template-columns:93px minmax(0,1fr);align-items:stretch;min-width:0;padding:6px 8px;display:grid;overflow:hidden}.stream-observer-attack-team>b{border-right:1px solid var(--ui-divider);color:var(--ui-accent-strong);text-transform:uppercase;place-items:center;font-size:10px;display:grid}.stream-observer-attack-team>div{grid-template-columns:repeat(5,minmax(0,1fr));gap:3px;min-width:0;padding-left:8px;display:grid}.stream-observer-attack-team>div>span{aspect-ratio:1;min-width:0}.stream-observer-attack-team>div>span.filled .hero-icon{filter:drop-shadow(0 4px 7px #00000057);width:100%;height:100%}.stream-observer-attack-team>div>span.empty{border:1px solid var(--ui-divider);background:repeating-linear-gradient(135deg,var(--ui-glow-soft) 0 6px,transparent 6px 12px);color:var(--text-muted);border-radius:8px;place-items:center;font-family:Russo One,sans-serif;font-size:16px;display:grid}.stream-pack-result{text-align:left;background:linear-gradient(90deg,#1842329e,#091b15b3);border-radius:10px;grid-template-columns:52px minmax(0,1fr) auto;align-items:center;gap:8px;min-height:52px;padding:5px 10px;display:grid}.stream-pack-result>span{align-items:baseline;gap:5px;display:flex}.stream-pack-result>span small{font-size:7px}.stream-pack-result>span b{color:#e7bb64;font-size:18px}.stream-pack-result>strong{text-align:center}.stream-pack-result>em{color:#6fd9ae;font-size:10px;font-style:normal}.stream-pack-result:disabled{opacity:.52}.stream-runs-modal{width:min(760px,96vw);max-height:88dvh;overflow:hidden}.stream-runs-list{gap:6px;max-height:62dvh;padding-right:4px;display:grid;overflow:auto}.stream-run-row{background:#091d16bf;border:1px solid #294b3e;border-radius:10px;grid-template-columns:62px minmax(0,1fr) auto auto;align-items:center;gap:10px;min-height:58px;padding:7px 10px;display:grid}.stream-run-row>span{color:#80e2ba;letter-spacing:.1em;font-size:9px;font-weight:900}.stream-run-row>small{color:var(--text-muted);font-size:9px}.stream-run-row>div{gap:5px;display:flex}.stream-runs-loading{text-align:center;padding:35px}.streamer-studio.clean{background:radial-gradient(circle at 50% 0,#14453373,#0000 45%),#030a08;align-content:center;min-height:100vh;padding:22px}.streamer-studio.clean .stream-screen-preview{min-height:min(72vh,760px)}.streamer-studio.clean .stream-screen-preview>header{display:none}.streamer-studio.clean .stream-match-screen,.streamer-studio.clean .stream-empty-screen{align-content:center;min-height:min(72vh,760px)}.stream-clean-score{background:#030c09db;border:1px solid #466855;border-radius:14px;justify-content:center;align-items:center;gap:22px;padding:12px 20px;font-family:Russo One,sans-serif;font-size:clamp(18px,3vw,34px);display:flex}.stream-clean-score span b{color:#edc36a}.stream-clean-score i{color:#7fe0b8;font-size:.55em;font-style:normal}:root[data-theme=light] .stream-control-panel,:root[data-theme=light] .stream-screen-preview,:root[data-theme=light] .stream-archive{background:linear-gradient(145deg,#f9fcfb,#e5f1ec);border-color:#a9c7ba;box-shadow:0 14px 34px #2f53441a}:root[data-theme=light] .stream-screen-meta,:root[data-theme=light] .stream-defense-screen>div,:root[data-theme=light] .stream-run-row{background:#e2f0eacc;border-color:#b4cbbf}:root[data-theme=light] .stream-pack-result{background:linear-gradient(90deg,#e4f3ec,#f9fcfb);border-color:#acc7ba}:root[data-theme=light] .stream-archive-side+.stream-archive-side{border-color:#b8cec3}:root[data-theme=light] .stream-observer-attack-team{border-color:var(--ui-border);background:radial-gradient(circle at 0 50%,var(--ui-glow),transparent 48%),linear-gradient(145deg,var(--ui-light-surface-a),var(--ui-light-surface-b));box-shadow:inset 0 1px #ffffffb8}:root[data-theme=light] .stream-observer-attack-team>b{border-color:var(--ui-divider);color:var(--ui-accent-deep)}:root[data-theme=light] .stream-observer-attack-team>div>span.empty{border-color:var(--ui-border);background:repeating-linear-gradient(135deg,var(--ui-glow-soft) 0 6px,var(--ui-light-surface-a) 6px 12px);color:var(--text-secondary)}@media (width<=900px){.stream-archive-sides{display:block}.stream-archive-side+.stream-archive-side{border-top:0;border-left:0}.stream-archive-side h3{display:none}.stream-archive-side{padding-top:8px}.stream-observer-pack-placeholder{min-height:245px}}@media (width<=760px){.streamer-studio{padding-top:18px}.stream-studio-heading h1{font-size:30px}.stream-mode-tabs,.stream-control-row,.stream-preview-grid.mode-director,.stream-preview-grid.mode-broadcast,.stream-archive-sides{grid-template-columns:1fr}.stream-archive-side+.stream-archive-side{border-top:1px solid #29473b;border-left:0}.stream-archive-score{grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);gap:7px;padding-inline:9px}.stream-archive-score>span{grid-template-columns:38px minmax(0,1fr);gap:2px 6px}.stream-archive-score>span:last-child{grid-template-columns:minmax(0,1fr) 38px}.stream-archive-score img,.stream-archive-score>span>span{width:38px;height:38px}.stream-archive-score>strong{font-size:24px}.stream-archive-side{padding:10px 8px 12px}.stream-archive-side .stream-battle-pack-list{max-height:68dvh;padding-right:2px}.stream-archive-side .battle-pack-main{grid-template-columns:84px minmax(0,1fr)}.stream-archive-side .battle-result-score{grid-template-columns:minmax(82px,1fr) auto minmax(92px,1fr)}.observer-match-view{padding:4px 0 22px}.stream-observer-attack-team{grid-template-columns:84px minmax(0,1fr);padding:5px 6px}.stream-observer-attack-team>div{padding-left:6px}.stream-run-row{grid-template-columns:48px minmax(0,1fr) auto}.stream-run-row>small{display:none}.streamer-studio.clean{padding:6px}.stream-mirror-stage{height:min(74dvh,720px);min-height:360px}}.lobby-mobile-tabs,.battle-type-tabs,.battle-perspective-tabs{border-color:var(--ui-border);background:var(--ui-bg-secondary)}.lobby-mobile-tabs button.active,.battle-type-tabs button.active,.battle-perspective-tabs button.active{border-color:var(--ui-accent);background:linear-gradient(135deg,var(--ui-accent),var(--ui-accent-deep));color:var(--ui-on-accent)}.hero-filter-groups,.pack-picker-slots{border-color:var(--ui-border);background:radial-gradient(circle at 0 50%,var(--ui-glow-soft),transparent 42%),linear-gradient(110deg,var(--ui-surface-a),var(--ui-surface-b))}.battle-pack-card,.duel-status-card,.duel-activity-card{border-color:var(--ui-border);background:radial-gradient(circle at 0 50%,var(--ui-glow-soft),transparent 40%),linear-gradient(120deg,var(--ui-surface-a),var(--ui-surface-b))}.battle-pack-action:not(:disabled),.battle-history-open{border-color:var(--ui-border);background:radial-gradient(circle at 50% 50%,var(--ui-glow),transparent 72%),linear-gradient(145deg,var(--ui-surface-a),var(--ui-surface-b))}.battle-pack-action:not(:disabled) b,.battle-history-open,.battle-history-open b,.duel-player-progress strong,.duel-result-outcome:not(.draw) strong{color:var(--ui-accent)}.stream-control-panel,.stream-screen-preview,.stream-archive{border-color:var(--ui-border);background:linear-gradient(145deg,var(--ui-surface-a),var(--ui-surface-b))}:root[data-theme=light]{background:var(--ui-light-bg)}:root[data-theme=light] body{background:radial-gradient(circle at 18% -8%,var(--ui-glow),transparent 37%),var(--ui-light-bg)}:root[data-theme=light] small{color:var(--ui-accent-deep)}:root[data-theme=light] header{border-color:var(--ui-divider);color:var(--ui-muted)}:root[data-theme=light] button,:root[data-theme=light] input,:root[data-theme=light] select{border-color:var(--ui-border);background:var(--ui-light-surface-a);color:var(--text-primary)}:root[data-theme=light] button.primary{border-color:var(--ui-accent-deep);background:var(--ui-accent);color:var(--ui-on-accent)}:root[data-theme=light] .panel,:root[data-theme=light] .modal-card,:root[data-theme=light] .header-profile-card,:root[data-theme=light] .lobby-card,:root[data-theme=light] .journal-card,:root[data-theme=light] .defense-pack-card,:root[data-theme=light] .battle-pack-card,:root[data-theme=light] .duel-status-card,:root[data-theme=light] .duel-activity-card,:root[data-theme=light] .stream-control-panel,:root[data-theme=light] .stream-screen-preview,:root[data-theme=light] .stream-archive{border-color:var(--ui-border);background:radial-gradient(circle at 100% 0,var(--ui-glow-soft),transparent 43%),linear-gradient(145deg,var(--ui-light-surface-a),var(--ui-light-surface-b))}:root[data-theme=light] .header-profile-card:hover{border-color:var(--ui-accent-deep);background:radial-gradient(circle at 100% 0,var(--ui-glow),transparent 55%),var(--ui-light-surface-a)}:root[data-theme=light] .drawer-profile-card{border-color:var(--ui-border);background:linear-gradient(145deg,var(--ui-light-surface-a),var(--ui-light-surface-b))}:root[data-theme=light] .drawer-profile-card>span:first-child{border-color:var(--ui-accent-deep);background:var(--ui-light-surface-b);color:var(--ui-accent-deep)}:root[data-theme=light] .lobby-mobile-tabs,:root[data-theme=light] .battle-type-tabs,:root[data-theme=light] .battle-perspective-tabs,:root[data-theme=light] .journal-status-tabs{border-color:var(--ui-border);background:var(--ui-light-surface-b)}:root[data-theme=light] .lobby-mobile-tabs button.active,:root[data-theme=light] .battle-type-tabs button.active,:root[data-theme=light] .battle-perspective-tabs button.active,:root[data-theme=light] .journal-status-tabs button.active{background:linear-gradient(135deg,var(--ui-accent),var(--ui-accent-deep));color:var(--ui-on-accent)}:root[data-theme=light] .lobby-card-more,:root[data-theme=light] .journal-card-action-footer .journal-open-battle{border-color:var(--ui-border);background:linear-gradient(90deg,var(--ui-accent-deep),var(--ui-accent));color:var(--ui-on-accent)}:root[data-theme=light] .lobby-full-list-content,:root[data-theme=light] .hero-filter-groups,:root[data-theme=light] .pack-picker-slots,:root[data-theme=light] .attack-slots{border-color:var(--ui-border);background:linear-gradient(145deg,var(--ui-light-surface-a),var(--ui-light-surface-b))}:root[data-theme=light] .profile-editor-tabs{border-color:var(--ui-border);background:var(--ui-light-surface-b)}:root[data-theme=light] .profile-editor-tabs button:hover:not(:disabled){background:var(--ui-glow-soft);color:var(--ui-accent-deep)}:root[data-theme=light] .profile-editor-tabs button.active{background:linear-gradient(145deg,var(--ui-accent),var(--ui-accent-deep));color:var(--ui-on-accent)}:is(h1,h2,h3,.header-profile-copy strong,.drawer-profile-card strong,.lobby-card-heading h2,.lobby-player-link strong,.live-player strong,.journal-player-name,.battle-pack-heading b,.profile-table-heading b,.tournament-player strong,.stream-screen-preview>header strong){color:var(--text-primary)}:is(.header-profile-copy small,.drawer-profile-card small,.drawer-utility-row button,.lobby-player-link span,.live-player span,.live-battle-meta,.journal-card-head time,.journal-player small,.journal-match-progress small,.battle-pack-heading small,.battle-result-meta,.defense-pack-heading small,.profile-rating-heading em,.profile-rating-metrics span,.profile-style-hint,.profile-gradient-preset small,.tournament-stat-grid span,.stream-screen-preview>header small,.stream-archive-side h3 small,.stream-run-row>small){color:var(--text-muted)}:is(.lobby-card-heading small,.lobby-card-count,.mvp-player-row em,.defense-section-heading>span,.defense-pack-heading strong,.battle-history-open,.profile-table-heading>strong,.profile-rating-heading small,.profile-management-action:not(.delete),.tournament-place,.stream-score>span b,.stream-run-row>span){color:var(--ui-accent)}.profile-management-bar{justify-content:flex-end}.profile-management-bar>div{flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:8px;margin-left:auto;display:flex}@media (width<=760px){.profile-management-bar{flex-direction:row;align-items:flex-end}.profile-management-bar>div{flex-wrap:wrap;justify-content:flex-end;width:auto;display:flex}.profile-management-action,.profile-messenger-actions button{place-items:center;border-radius:12px!important;width:43px!important;min-width:43px!important;height:43px!important;padding:0!important;display:grid!important}.profile-management-action span,.profile-messenger-actions button span{display:none!important}.profile-management-action:only-child{grid-column:auto}}:is(.panel,.modal-card,.header-profile-card,.drawer-profile-card,.lobby-card,.journal-card,.defense-pack-card,.battle-pack-card,.duel-status-card,.duel-activity-card,.profile-statistics-table-card,.tournament-defense-heading,.tournament-hero,.tournament-join-card,.tournament-control-card,.tournament-closed-card,.tournament-standings-card,.admin-card,.stream-control-panel,.stream-screen-preview,.stream-archive,.talisman-drawer,.talisman-drawer-option){border-color:var(--ui-border);background:radial-gradient(circle at 100% 0,var(--ui-glow-soft),transparent 42%),linear-gradient(145deg,var(--ui-surface-a),var(--ui-surface-b))}:is(.online-player-row,.mvp-player-row,.live-battle-row,.lobby-full-list-content,.journal-card-head,.journal-card-footer,.profile-rating-heading,.profile-rating-metrics article,.tournament-table-head,.tournament-table button,.rating-config-meta,.rating-config-groups fieldset,.stream-screen-meta,.stream-defense-screen>div,.stream-run-row){border-color:var(--ui-divider)}.mobile-drawer{border-color:var(--ui-border);background:radial-gradient(circle at 100% 0,var(--ui-glow),transparent 34%),var(--ui-bg-secondary)}.mobile-drawer-backdrop{background:color-mix(in srgb,var(--ui-bg) 76%,transparent)}.drawer-profile-card>img,.drawer-profile-card>span:first-child{border-color:var(--ui-accent);background:var(--ui-bg-secondary);color:var(--ui-accent)}.drawer-profile-card>b,.drawer-utility-row button:hover,.drawer-utility-row .drawer-push-control.enabled{color:var(--ui-accent-strong)}.drawer-utility-row{border-color:var(--ui-divider)}.drawer-utility-row button{border-color:var(--ui-divider);background:var(--ui-bg-secondary)}.hero-filter-groups,.pack-picker-slots,.attack-slots{border-color:var(--ui-border);background:radial-gradient(circle at 0 50%,var(--ui-glow-soft),transparent 42%),linear-gradient(110deg,var(--ui-surface-a),var(--ui-surface-b))}.icon-filter-group+.icon-filter-group{border-color:var(--ui-divider)}.icon-filter-button{color:var(--ui-muted);border-color:#0000}.icon-filter-button.active{border-color:var(--ui-accent);color:var(--ui-accent);background:var(--ui-glow-soft)}.lobby-card-heading,.lobby-card-more,.journal-card-action-footer .journal-open-battle,.profile-editor-tabs,.battle-type-tabs,.battle-perspective-tabs,.journal-status-tabs{border-color:var(--ui-border)}.lobby-card-more,.journal-card-action-footer .journal-open-battle{background:linear-gradient(105deg,var(--ui-accent-deep),var(--ui-accent));color:var(--ui-on-accent)}.lobby-card-more:hover,.journal-card-action-footer .journal-open-battle:hover:not(:disabled){background:linear-gradient(105deg,var(--ui-accent),var(--ui-accent-strong))}.profile-gradient-preset:not(.selected){border-color:var(--ui-divider);background:linear-gradient(145deg,var(--ui-surface-a),var(--ui-surface-b))}.profile-gradient-preset:not(.selected) strong{color:var(--text-primary)}.profile-editor-tabs{background:var(--ui-bg-secondary)}.profile-editor-tabs button{color:var(--text-secondary)}.profile-editor-tabs button:hover:not(:disabled){color:var(--ui-accent-strong);background:var(--ui-glow-soft)}.profile-editor-tabs button.active{border-color:var(--ui-accent);background:linear-gradient(145deg,var(--ui-accent),var(--ui-accent-deep));color:var(--ui-on-accent)}:is(.defense-hero-grid,.defense-packs-track,.attack-picker-grid,.defense-picker-grid,.lobby-card-body,.lobby-full-list-content,.stream-archive-side .stream-battle-pack-list,.stream-runs-list){scrollbar-color:var(--ui-accent-deep) transparent}:root[data-theme=light]{--text-primary:#17231f;--text-secondary:#405b50;--text-muted:#5d746a;--ui-muted:#526f63;color:var(--text-primary)}:root[data-theme=light] :is(h1,h2,h3,.header-profile-copy strong,.drawer-profile-card strong,.lobby-card-heading h2,.lobby-player-link strong,.live-player strong,.journal-player-name,.battle-pack-heading b,.profile-table-heading b,.tournament-player strong,.stream-screen-preview>header strong){color:var(--text-primary)}:root[data-theme=light] :is(p,.lobby-player-link span,.live-player span,.journal-player small,.battle-result-meta,.profile-style-hint,.stream-screen-preview>header small){color:var(--text-secondary)}:root[data-theme=light] :is(.panel,.modal-card,.header-profile-card,.drawer-profile-card,.lobby-card,.journal-card,.defense-pack-card,.battle-pack-card,.duel-status-card,.duel-activity-card,.profile-statistics-table-card,.tournament-defense-heading,.tournament-hero,.tournament-join-card,.tournament-control-card,.tournament-closed-card,.tournament-standings-card,.admin-card,.stream-control-panel,.stream-screen-preview,.stream-archive,.talisman-drawer,.talisman-drawer-option){border-color:var(--ui-border);background:radial-gradient(circle at 100% 0,var(--ui-glow-soft),transparent 43%),linear-gradient(145deg,var(--ui-light-surface-a),var(--ui-light-surface-b))}:root[data-theme=light] .drawer-profile-card>img,:root[data-theme=light] .drawer-profile-card>span:first-child{border-color:var(--ui-accent-deep);background:var(--ui-light-surface-b);color:var(--ui-accent-deep)}:root[data-theme=light] .drawer-utility-row button{border-color:var(--ui-border);background:var(--ui-light-surface-a);color:var(--text-secondary)}:root[data-theme=light] .hero-filter-groups,:root[data-theme=light] .pack-picker-slots,:root[data-theme=light] .attack-slots,:root[data-theme=light] .profile-gradient-preset:not(.selected){border-color:var(--ui-border);background:linear-gradient(145deg,var(--ui-light-surface-a),var(--ui-light-surface-b))}:is(.lobby-card-heading small,.section-heading small,.modal-heading small,.battle-pack-heading small,.profile-table-heading small,.tournament-table-head,.rating-config-meta small,.stream-studio-heading small){letter-spacing:.11em;text-transform:uppercase;font-size:10px;line-height:1.25}:is(.drawer-navigation button,.lobby-card-more,.journal-card-action-footer button,.profile-editor-tabs button,.battle-type-tabs button,.battle-perspective-tabs button,.journal-status-tabs button){letter-spacing:.015em;font-weight:800}@media (width<=900px){:is(.drawer-profile-card small,.lobby-player-link span,.journal-player small,.battle-pack-heading small,.battle-result-meta,.profile-rating-metrics span,.stream-screen-preview>header small){font-size:10px!important}}:root{--status-success:#78e0b8;--status-success-strong:#9af0ce;--status-success-soft:#48be9124;--status-danger:#e2948d;--status-danger-strong:#ffb3ac;--status-danger-soft:#a9463e24;--status-warning:#e4bd72;--status-warning-strong:#f4d491;--status-warning-soft:#a6742524}:root[data-theme=light]{--status-success:#147451;--status-success-strong:#0e6847;--status-success-soft:#238f6521;--status-danger:#9d433d;--status-danger-strong:#87352f;--status-danger-soft:#a6433a1f;--status-warning:#8a611c;--status-warning-strong:#735014;--status-warning-soft:#a5742221}:root[data-theme=light][data-profile-gradient=sapphire]{--text-primary:#142433;--text-secondary:#405c70;--text-muted:#60798b;--ui-muted:#56768d}:root[data-theme=light][data-profile-gradient=violet]{--text-primary:#251a2e;--text-secondary:#5c496a;--text-muted:#796887;--ui-muted:#705d80}:root[data-theme=light][data-profile-gradient=amber]{--text-primary:#2b2114;--text-secondary:#68563b;--text-muted:#857251;--ui-muted:#786442}:root[data-theme=light][data-profile-gradient=crimson]{--text-primary:#2b181b;--text-secondary:#69494e;--text-muted:#866168;--ui-muted:#7b555c}:is(.duel-activity-player button,.journal-player-name,.duel-current-score strong,.duel-player-progress span>b,.duel-result-scoreboard>b,.duel-result-scoreboard>strong,.battle-pack-heading b,.battle-result-score>span:first-child b,.battle-result-score>strong,.battle-detail-copy>b,.battle-result-hero b,.profile-rating-heading b,.profile-rating-metrics strong,.profile-table-heading b,.profile-statistics-table tbody th,.profile-statistics-table tbody td,.profile-match-history-table tbody th a,.profile-match-history-table td strong,.private-pack-table td b,.private-pack-table td strong,.empty-statistics b,.profile-style-preview>span strong,.rank-choice strong,.rating-rules-table tbody th,.talisman-option-head strong,.talisman-stat-row span b,.talisman-drawer-option-name,.stream-clean-score,.stream-archive-side h3){color:var(--text-primary)}:is(.defense-pack-heading small,.talisman-stat-row small,.duel-activity-player small,.duel-activity-state time,.journal-card-head time,.journal-player small,.journal-match-progress small,.invitation-deadline,.duel-status-timer small,.duel-player-progress strong i,.duel-result-scoreboard>strong i,.tournament-stat-grid span,.tournament-table-head,.rank-choice small,.rank-current-summary span,.season-create-form label,.admin-season-list time,.rating-config-meta small,.rating-config-fields label,.rating-rules-result-grid small,.rating-rules-table thead th,.live-battle-meta,.lobby-presence-divider,.battle-pack-heading small,.battle-result-meta,.battle-result-hero small,.profile-rating-heading em,.profile-rating-metrics span,.profile-table-heading span small,.profile-statistics-table thead th,.profile-statistics-table tbody th small,.profile-match-history-table td:first-child,.profile-match-history-table td:last-child small,.avatar-manager-hint,.avatar-manager-action small,.profile-style-hint,.profile-gradient-preset small,.network-recovery-dialog>p,.stream-run-row>small){color:var(--text-muted)}:is(.profile-head>span,.notice,.defense-section-heading>span,.defense-pack-heading strong,.talisman-option-head>b,.talisman-stat-row>strong,.duel-activity-player button:hover,.duel-activity-state b,.journal-kind,.journal-player-name:hover,.journal-match-progress span b,.journal-rating-delta,.duel-player-progress strong,.tournament-stat-grid strong,.rating-config-meta strong,.rating-rules-result-grid strong,.lobby-card-heading small,.lobby-card-count,.mvp-player-row>em,.live-battle-meta span,.live-player button:hover strong,.open-live-match,.lobby-empty span,.battle-pack-action:not(:disabled) b,.battle-history-open,.battle-history-open b,.training-run-center>b,.battle-detail-hero small,.profile-table-heading>strong,.profile-match-history-table tbody th a:hover,.private-pack-table td em,.private-pack-table td:last-child button,.profile-style-preview>span small,.profile-gradient-preset>b,.zoom-control input[type=range],.stream-studio-empty b,.stream-screen-preview>header>span.live,.stream-mirror-fullscreen,.stream-score>span b,.stream-defense-screen>div.active,.stream-run-row>span,.stream-clean-score i){color:var(--ui-accent)}:is(.talisman-option,.duel-activity-card,.duel-status-card,.tournament-stat-grid article,.rank-choice,.rank-current-summary,.admin-season-list>article,.admin-config-list span,.rating-config-meta,.rating-config-groups fieldset,.rating-rules-heading,.rating-rules-content>section,.live-battle-row,.duel-invite-dialog,.random-match-dialog,.network-recovery-dialog,.profile-statistics-table-card,.private-pack-history-card,.profile-style-preview,.avatar-manager-preview,.stream-studio-empty,.stream-screen-preview,.stream-screen-meta,.stream-defense-screen>div,.stream-archive,.stream-run-row){border-color:var(--ui-border);background:radial-gradient(circle at 100% 0,var(--ui-glow-soft),transparent 42%),linear-gradient(145deg,var(--ui-surface-a),var(--ui-surface-b))}:is(.talisman-stat-row,.icon-filter-group+.icon-filter-group,.journal-card-head,.journal-card-footer,.journal-match-progress,.journal-invitation-state,.duel-status-timer,.duel-player-progress>div+div,.profile-table-heading,.profile-battle-totals,.profile-battle-totals article,.profile-statistics-table th,.profile-statistics-table td,.profile-privacy-note,.private-pack-table th,.private-pack-table td,.private-pack-history-card>p,.rating-config-meta>span+span,.rating-rules-result-grid,.rating-rules-result-grid span+span,.rating-rules-table th,.rating-rules-table td,.lobby-presence-divider hr,.stream-archive-side+.stream-archive-side){border-color:var(--ui-divider)}.rating-config-groups fieldset,.rating-rules-content>section{background:linear-gradient(120deg,var(--ui-glow-soft),transparent 72%)}.rating-rules-heading{background:linear-gradient(155deg,var(--ui-surface-a),var(--ui-surface-b))}.profile-statistics-table thead th,.private-pack-table thead th{background:var(--ui-glow-soft);color:var(--ui-accent-strong)}.profile-statistics-table tbody tr.emphasis{background:var(--ui-glow-soft)}.profile-statistics-table tbody tr.emphasis td{color:var(--ui-accent-strong)}.live-battle-progress,.duel-player-progress em{background:color-mix(in srgb,var(--ui-divider) 66%,transparent)}.live-battle-progress i,.duel-player-progress em>i{background:linear-gradient(90deg,var(--ui-accent-deep),var(--ui-accent));box-shadow:0 0 9px var(--ui-glow)}.icon-button{color:var(--text-muted)}.icon-button:hover:not(:disabled){border-color:var(--ui-accent);color:var(--ui-accent-strong);background:var(--ui-glow-soft)}.drawer-navigation button{color:var(--text-secondary);background:linear-gradient(90deg,var(--ui-glow-soft),transparent 68%)}.drawer-navigation button:hover{color:var(--ui-accent-strong);background:linear-gradient(90deg,var(--ui-glow),transparent 70%)}.drawer-navigation button.active,.drawer-navigation button[aria-current=page]{color:var(--ui-accent-strong);background:linear-gradient(90deg,var(--ui-glow),transparent 72%)}.drawer-navigation button.active:before,.drawer-navigation button[aria-current=page]:before{background:var(--ui-accent);box-shadow:0 0 12px var(--ui-glow)}.drawer-utility-row .drawer-push-control.enabled{border-color:var(--ui-accent);color:var(--ui-accent-strong);background:var(--ui-glow-soft)}.lobby-mobile-tabs button{color:var(--text-muted)}.lobby-mobile-tabs button.active,.battle-type-tabs button.active,.battle-perspective-tabs button.active,.journal-status-tabs button.active,.stream-mode-tabs button.active{border-color:var(--ui-accent);background:linear-gradient(135deg,var(--ui-accent),var(--ui-accent-deep));color:var(--ui-on-accent);box-shadow:0 6px 18px var(--ui-glow-soft)}.journal-status-tabs button{color:var(--text-muted)}.journal-status-tabs button b{border-color:var(--ui-border);background:var(--ui-glow-soft);color:var(--text-muted)}.journal-status-tabs button.active b{border-color:color-mix(in srgb,var(--ui-on-accent) 22%,transparent);background:color-mix(in srgb,var(--ui-on-accent) 12%,transparent);color:var(--ui-on-accent)}.icon-filter-button{color:var(--ui-muted)}.icon-filter-button.filter-all{border-color:var(--ui-divider);background:var(--ui-bg-secondary)}.icon-filter-button.filter-all:after{background:var(--ui-divider)}.icon-filter-button:hover:not(:disabled){border-color:var(--ui-border);color:var(--ui-accent-strong);background:var(--ui-glow-soft)}.icon-filter-button.active{border-color:var(--ui-accent);color:var(--ui-accent);background:var(--ui-glow-soft);box-shadow:inset 0 0 16px var(--ui-glow-soft),0 0 0 1px var(--ui-glow-soft)}.talisman-option{background:radial-gradient(circle at 0 0,var(--ui-glow-soft),transparent 38%),linear-gradient(145deg,var(--ui-surface-a),var(--ui-surface-b))}.talisman-option:hover{border-color:var(--ui-accent-deep)}.talisman-option.selected{border-color:var(--ui-accent);box-shadow:inset 0 0 0 1px var(--ui-glow),0 0 22px var(--ui-glow-soft)}.talisman-option-head>b{border-color:var(--ui-accent-deep);background:var(--ui-glow-soft)}.pack-picker-slot.empty,.attack-slot.empty,.defense-slot.empty{border-color:var(--ui-border);background:var(--ui-glow-soft);color:var(--ui-muted)}.pack-picker-slot.empty:hover,.attack-slot.empty:hover,.defense-slot.empty:hover{border-color:var(--ui-accent);background:var(--ui-glow);color:var(--ui-accent-strong)}.profile-head>img,.profile-head>span,.avatar-manager-preview{border-color:var(--ui-accent)}.profile-head>span,.avatar-manager-preview span{color:var(--ui-accent)}.avatar-manager-preview{background:linear-gradient(145deg,var(--ui-surface-a),var(--ui-surface-b));box-shadow:0 15px 42px #0000004d,0 0 26px var(--ui-glow-soft)}.avatar-manager-action.upload{border-color:var(--ui-border);background:linear-gradient(145deg,var(--ui-glow),var(--ui-glow-soft));color:var(--ui-accent-strong)}.avatar-manager-action.upload:hover:not(:disabled){border-color:var(--ui-accent);background:linear-gradient(145deg,var(--ui-glow),var(--ui-surface-a));color:var(--ui-accent-strong)}.crop-stage{border-color:var(--ui-border)}.rating-config-fields input{border-color:var(--ui-border);background:var(--ui-bg-secondary);color:var(--text-primary)}.rating-config-fields input:focus{border-color:var(--ui-accent);outline-color:var(--ui-glow)}.rank-choice:not(.selected):hover:not(:disabled){border-color:var(--ui-accent-deep);background:radial-gradient(circle at 0 50%,var(--ui-glow-soft),transparent 58%),linear-gradient(100deg,var(--ui-surface-a),var(--ui-surface-b))}.battle-pack-card.state-revealed,.battle-pack-card.state-drafting{border-color:var(--ui-accent)}.battle-pack-action:not(:disabled),.battle-history-open,.training-run-button.info{border-color:var(--ui-accent-deep);background:linear-gradient(145deg,var(--ui-accent-deep),var(--ui-accent));color:var(--ui-on-accent)}.battle-pack-action:hover:not(:disabled),.battle-history-open:hover:not(:disabled),.training-run-button.info:hover:not(:disabled){border-color:var(--ui-accent);background:linear-gradient(145deg,var(--ui-accent),var(--ui-accent-strong));color:var(--ui-on-accent)}.stream-control-panel,.stream-screen-preview,.stream-archive{border-color:var(--ui-border)}.stream-mode-tabs,.stream-mirror-fullscreen{border-color:var(--ui-border);background:var(--ui-bg-secondary)}.stream-mirror-fullscreen:hover{border-color:var(--ui-accent);color:var(--ui-accent-strong);background:var(--ui-glow-soft)}:is(.status-dot,.duel-deadline.completed,.battle-pack-state-icon.running,.battle-pack-outcome-icon.victory,.outcome-victory .battle-result-score>span:first-child b,.profile-battle-totals .positive strong,.profile-statistics-table tbody tr.positive td,.profile-match-outcome,.private-pack-outcome,.duel-result-outcome:not(.draw),.duel-result-outcome:not(.draw) strong){color:var(--status-success)}.profile-match-outcome,.private-pack-outcome{border-color:var(--status-success);background:var(--status-success-soft)}.duel-result-outcome:not(.draw){background:var(--status-success-soft)}:is(.status-declined .duel-activity-state b,.status-cancelled .duel-activity-state b,.duel-deadline.expired,.journal-rating-delta.negative,.profile-battle-totals .negative strong,.profile-statistics-table tbody tr.negative td,.outcome-loss .profile-match-outcome){color:var(--status-danger)}.outcome-loss .profile-match-outcome{border-color:var(--status-danger);background:var(--status-danger-soft)}:is(.status-pending .duel-activity-state b,.status-pending .journal-kind,.duel-deadline,.duel-result-outcome.draw,.duel-result-outcome.draw strong,.outcome-draw .profile-match-outcome){color:var(--status-warning)}.duel-result-outcome.draw,.outcome-draw .profile-match-outcome{border-color:var(--status-warning);background:var(--status-warning-soft)}:root[data-theme=light] :is(.panel,.modal-card,.talisman-option,.duel-activity-card,.duel-status-card,.tournament-stat-grid article,.rank-choice,.rank-current-summary,.admin-season-list>article,.admin-config-list span,.rating-config-meta,.rating-config-groups fieldset,.rating-rules-heading,.rating-rules-content>section,.live-battle-row,.duel-invite-dialog,.random-match-dialog,.network-recovery-dialog,.profile-statistics-table-card,.private-pack-history-card,.profile-style-preview,.avatar-manager-preview,.stream-studio-empty,.stream-screen-preview,.stream-screen-meta,.stream-defense-screen>div,.stream-archive,.stream-run-row){border-color:var(--ui-border);background:radial-gradient(circle at 100% 0,var(--ui-glow-soft),transparent 42%),linear-gradient(145deg,var(--ui-light-surface-a),var(--ui-light-surface-b))}:root[data-theme=light] .mobile-drawer{border-color:var(--ui-border);background:radial-gradient(circle at 100% 0,var(--ui-glow),transparent 34%),var(--ui-light-bg)}:root[data-theme=light] .drawer-navigation button{color:var(--text-secondary);background:linear-gradient(90deg,var(--ui-glow-soft),transparent 68%)}:root[data-theme=light] .drawer-navigation button:hover{color:var(--ui-accent-deep);background:linear-gradient(90deg,var(--ui-glow),transparent 70%)}:root[data-theme=light] .drawer-navigation button.active,:root[data-theme=light] .drawer-navigation button[aria-current=page]{color:var(--ui-accent-deep);background:linear-gradient(90deg,var(--ui-glow),transparent 72%)}:root[data-theme=light] .drawer-navigation button.active:before,:root[data-theme=light] .drawer-navigation button[aria-current=page]:before{background:var(--ui-accent-deep);box-shadow:0 0 10px var(--ui-glow)}:root[data-theme=light] .drawer-utility-row .drawer-push-control.enabled{border-color:var(--ui-accent-deep);background:var(--ui-glow-soft);color:var(--ui-accent-deep)}:root[data-theme=light] .lobby-mobile-tabs button{color:var(--text-muted)}:root[data-theme=light] :is(.lobby-mobile-tabs,.battle-type-tabs,.battle-perspective-tabs,.journal-status-tabs,.stream-mode-tabs) button.active{background:linear-gradient(135deg,var(--ui-accent),var(--ui-accent-deep));color:var(--ui-on-accent)}:root[data-theme=light] :is(.lobby-card-heading small,.lobby-card-count,.mvp-player-row>em,.live-battle-meta span,.profile-table-heading>strong,.rating-config-meta strong,.rating-rules-result-grid strong){color:var(--ui-accent-deep)}:root[data-theme=light] .live-battle-progress{background:color-mix(in srgb,var(--ui-divider) 36%,var(--ui-light-surface-b))}:root[data-theme=light] .profile-statistics-table thead th,:root[data-theme=light] .private-pack-table thead th{background:var(--ui-glow-soft);color:var(--ui-accent-deep)}:root[data-theme=light] .avatar-manager-preview{border-color:var(--ui-accent-deep);background:linear-gradient(145deg,var(--ui-light-surface-b),var(--ui-light-surface-a))}:root[data-theme=light] .avatar-manager-preview span{color:var(--ui-accent-deep)}:root[data-theme=light] .avatar-manager-action.upload{border-color:var(--ui-border);background:linear-gradient(145deg,var(--ui-glow),var(--ui-light-surface-a));color:var(--ui-accent-deep)}:root[data-theme=light] .avatar-manager-action.upload:hover:not(:disabled){border-color:var(--ui-accent-deep);background:linear-gradient(145deg,var(--ui-glow),var(--ui-light-surface-b))}:root[data-theme=light] .profile-gradient-preset:not(.selected){border-color:var(--ui-divider);background:linear-gradient(145deg,var(--ui-light-surface-a),var(--ui-light-surface-b))}:root[data-theme=light] .profile-gradient-preset:not(.selected) strong{color:var(--text-primary)}:root[data-theme=light] .rating-config-fields input{border-color:var(--ui-border);background:var(--ui-light-surface-a);color:var(--text-primary)}:root[data-theme=light] .rating-rules-content p,:root[data-theme=light] .rating-rules-content ul,:root[data-theme=light] .rating-rules-table th,:root[data-theme=light] .rating-rules-table td{color:var(--text-secondary)}:root[data-theme=light] .icon-button{color:var(--text-muted)}:root[data-theme=light] .icon-button:hover:not(:disabled){border-color:var(--ui-accent-deep);background:var(--ui-glow-soft);color:var(--ui-accent-deep)}:root .mobile-menu-button{border-color:var(--ui-border);background:linear-gradient(145deg,var(--ui-surface-a),var(--ui-surface-b))}:root .mobile-menu-button span{background:var(--ui-accent)}:root .lobby-player-avatar{border-color:var(--ui-border);background:linear-gradient(145deg,var(--ui-surface-a),var(--ui-surface-b));color:var(--ui-accent)}:root .avatar-manager-preview{border-color:var(--ui-accent)}:root .profile-statistics-table thead th,:root .private-pack-table thead th{background:var(--ui-glow-soft);color:var(--ui-accent-strong)}html:root body .profile-statistics-table-card .profile-match-history-table tr.outcome-win .profile-match-outcome{border-color:var(--status-success);background:var(--status-success-soft);color:var(--status-success)}html:root body .profile-statistics-table-card .profile-match-history-table tr.outcome-loss .profile-match-outcome{border-color:var(--status-danger);background:var(--status-danger-soft);color:var(--status-danger)}html:root body .profile-statistics-table-card .profile-match-history-table tr.outcome-draw .profile-match-outcome{border-color:var(--status-warning);background:var(--status-warning-soft);color:var(--status-warning)}html:root[data-theme=light] body .profile-editor-dialog .avatar-manager-preview{border-color:var(--ui-accent-deep)}:root[data-theme=light] .mobile-menu-button{border-color:var(--ui-border);background:var(--ui-light-surface-a)}:root[data-theme=light] .mobile-menu-button span{background:var(--ui-accent-deep)}:root[data-theme=light] .lobby-player-avatar{border-color:var(--ui-border);background:linear-gradient(145deg,var(--ui-light-surface-b),var(--ui-light-surface-a));color:var(--ui-accent-deep)}:root[data-theme=light] .profile-statistics-table thead th,:root[data-theme=light] .private-pack-table thead th{color:var(--ui-accent-deep)}*{scrollbar-color:var(--ui-accent-deep) color-mix(in srgb,var(--ui-bg-secondary) 68%,transparent);scrollbar-width:thin}::-webkit-scrollbar{width:8px;height:8px}::-webkit-scrollbar-track{background:color-mix(in srgb,var(--ui-bg-secondary) 68%,transparent);border-radius:999px}::-webkit-scrollbar-thumb{background:linear-gradient(var(--ui-accent),var(--ui-accent-deep)) padding-box;border:2px solid #0000;border-radius:999px;min-height:34px}::-webkit-scrollbar-thumb:hover{background:linear-gradient(var(--ui-accent-strong),var(--ui-accent)) padding-box}button{transition:border-color .16s,background .16s,color .16s,box-shadow .16s,transform .16s}button.primary:hover:not(:disabled),.lobby-card-more:hover:not(:disabled),.journal-card-action-footer .journal-open-battle:hover:not(:disabled){border-color:var(--ui-accent);background:linear-gradient(105deg,var(--ui-accent),var(--ui-accent-strong));color:var(--ui-on-accent);box-shadow:0 8px 22px var(--ui-glow-soft)}.random-match-open:not(.queued):not(.found):hover:not(:disabled){border-color:var(--ui-accent);background:linear-gradient(145deg,var(--ui-glow),var(--ui-glow-soft));color:var(--ui-accent-strong)}.open-live-match:hover:not(:disabled){border-color:var(--ui-accent);background:linear-gradient(105deg,var(--ui-accent),var(--ui-accent-deep));color:var(--ui-on-accent);box-shadow:0 7px 18px var(--ui-glow-soft)}.battle-pack-card,.battle-pack-card.state-revealed,.battle-pack-card.state-drafting,.battle-pack-card.state-queued,.battle-pack-card.state-running,.battle-pack-card.outcome-victory,.battle-pack-card.outcome-defeat{border-color:var(--ui-border);background:radial-gradient(circle at 100% 0,var(--ui-glow-soft),transparent 38%),linear-gradient(118deg,var(--ui-surface-a),var(--ui-surface-b));box-shadow:0 12px 30px #0000002e,inset 0 1px color-mix(in srgb,var(--ui-accent) 8%,transparent)}.battle-pack-card.outcome-victory{box-shadow:inset 3px 0 var(--status-success),0 12px 30px #0000002e}.battle-pack-card.outcome-defeat{box-shadow:inset 3px 0 var(--status-danger),0 12px 30px #0000002e}.battle-pack-action,.battle-result-panel{border-color:var(--ui-divider);background:linear-gradient(145deg,var(--ui-glow-soft),transparent 72%)}.outcome-victory .battle-pack-action{background:linear-gradient(145deg,var(--status-success-soft),transparent 72%)}.outcome-defeat .battle-pack-action{background:linear-gradient(145deg,var(--status-danger-soft),transparent 72%)}.battle-result-score{background:linear-gradient(90deg,var(--ui-glow-soft),transparent 48%,var(--ui-glow-soft))}.battle-history-open,.battle-history-open:hover:not(:disabled){border-color:var(--ui-border);background:linear-gradient(90deg,var(--ui-glow),var(--ui-glow-soft),transparent);color:var(--ui-accent-strong)}.battle-history-open:hover:not(:disabled){border-color:var(--ui-accent);background:linear-gradient(90deg,var(--ui-accent-deep),var(--ui-accent),var(--ui-glow));color:var(--ui-on-accent)}.drawer-heading-actions{justify-content:flex-end;align-items:center;gap:5px;display:flex}.drawer-heading-tool{border:1px solid var(--ui-divider);background:linear-gradient(145deg,var(--ui-glow-soft),transparent);width:38px;min-width:38px;min-height:38px;color:var(--text-muted);border-radius:11px;place-items:center;padding:0;transition:border-color .16s,background .16s,color .16s,box-shadow .16s,transform .16s;display:grid}.drawer-heading-tool svg{fill:none;stroke:currentColor;stroke-width:1.7px;stroke-linecap:round;stroke-linejoin:round;width:21px;height:21px}.drawer-heading-tool:hover:not(:disabled),.drawer-heading-tool.active{border-color:var(--ui-accent);background:var(--ui-glow);color:var(--ui-accent-strong);box-shadow:0 0 16px var(--ui-glow-soft)}.drawer-heading-tool:active:not(:disabled){transform:translateY(1px)}.drawer-heading-tool:focus-visible{outline:2px solid var(--ui-accent);outline-offset:2px}.drawer-heading-actions>.icon-button{width:38px;min-width:38px;min-height:38px}:root[data-theme=light] .drawer-heading-tool{border-color:var(--ui-divider);background:linear-gradient(145deg,var(--ui-glow-soft),var(--ui-light-surface-a));color:var(--text-secondary)}:root[data-theme=light] .drawer-heading-tool:hover:not(:disabled),:root[data-theme=light] .drawer-heading-tool.active{border-color:var(--ui-accent-deep);color:var(--ui-accent-deep)}.battle-history-open b{color:inherit;border-color:currentColor}.stream-mode-tabs{border:1px solid var(--ui-border);background:var(--ui-glow-soft);border-radius:15px;gap:5px;padding:4px}.stream-mode-tabs button{color:var(--text-secondary);background:0 0;border:1px solid #0000;border-radius:11px}.stream-mode-tabs button:hover:not(:disabled):not(.active){border-color:var(--ui-border);background:var(--ui-glow-soft);color:var(--ui-accent-strong)}.stream-mode-tabs button.active{border-color:var(--ui-accent);background:linear-gradient(135deg,var(--ui-accent),var(--ui-accent-deep));color:var(--ui-on-accent);box-shadow:0 7px 20px var(--ui-glow-soft)}.stream-control-row select,.stream-control-row>button:not(.danger){border-color:var(--ui-border);background:var(--ui-bg-secondary);color:var(--text-primary)}.stream-control-row select:hover:not(:disabled),.stream-control-row>button:not(.danger):hover:not(:disabled){border-color:var(--ui-accent);background:var(--ui-glow-soft);color:var(--ui-accent-strong)}.stream-control-row>button.primary,.stream-control-row>button.primary:hover:not(:disabled){border-color:var(--ui-accent);background:linear-gradient(135deg,var(--ui-accent),var(--ui-accent-deep));color:var(--ui-on-accent)}:root[data-theme=light] *{scrollbar-color:var(--ui-accent-deep) color-mix(in srgb,var(--ui-light-surface-b) 70%,transparent)}:root[data-theme=light] ::-webkit-scrollbar-track{background:color-mix(in srgb,var(--ui-light-surface-b) 70%,transparent)}:root[data-theme=light] .lobby-card-more:hover:not(:disabled),:root[data-theme=light] .journal-card-action-footer .journal-open-battle:hover:not(:disabled),:root[data-theme=light] button.primary:hover:not(:disabled){border-color:var(--ui-accent-deep);background:linear-gradient(105deg,var(--ui-accent),var(--ui-accent-strong));color:var(--ui-on-accent)}:root[data-theme=light] .random-match-open:not(.queued):not(.found):hover:not(:disabled){border-color:var(--ui-accent-deep);background:linear-gradient(145deg,var(--ui-glow),var(--ui-light-surface-b));color:var(--ui-accent-deep)}:root[data-theme=light] .online-player-list,:root[data-theme=light] .mvp-player-list,:root[data-theme=light] .live-battle-list{scrollbar-color:var(--ui-accent-deep) color-mix(in srgb,var(--ui-light-surface-b) 70%,transparent)}:root[data-theme=light] .open-live-match{border-color:var(--ui-border);background:var(--ui-glow-soft);color:var(--ui-accent-deep)}:root[data-theme=light] .open-live-match:hover:not(:disabled){border-color:var(--ui-accent-deep);background:linear-gradient(105deg,var(--ui-accent),var(--ui-accent-deep));color:var(--ui-on-accent)}:root[data-theme=light] .battle-pack-card,:root[data-theme=light] .battle-pack-card.state-revealed,:root[data-theme=light] .battle-pack-card.state-drafting,:root[data-theme=light] .battle-pack-card.state-queued,:root[data-theme=light] .battle-pack-card.state-running,:root[data-theme=light] .battle-pack-card.outcome-victory,:root[data-theme=light] .battle-pack-card.outcome-defeat{border-color:var(--ui-border);background:radial-gradient(circle at 100% 0,var(--ui-glow-soft),transparent 38%),linear-gradient(118deg,var(--ui-light-surface-a),var(--ui-light-surface-b));box-shadow:0 12px 30px color-mix(in srgb,var(--ui-border) 15%,transparent),inset 0 1px #ffffffd1}:root[data-theme=light] .battle-pack-card.outcome-victory{box-shadow:inset 3px 0 var(--status-success),0 12px 30px color-mix(in srgb,var(--ui-border) 15%,transparent)}:root[data-theme=light] .battle-pack-card.outcome-defeat{box-shadow:inset 3px 0 var(--status-danger),0 12px 30px color-mix(in srgb,var(--ui-border) 15%,transparent)}:root[data-theme=light] .battle-pack-action,:root[data-theme=light] .battle-result-panel{border-color:var(--ui-divider);background:linear-gradient(145deg,var(--ui-glow-soft),#ffffff6b)}:root[data-theme=light] .outcome-victory .battle-pack-action{background:linear-gradient(145deg,var(--status-success-soft),#ffffff75)}:root[data-theme=light] .outcome-defeat .battle-pack-action{background:linear-gradient(145deg,var(--status-danger-soft),#ffffff75)}:root[data-theme=light] .battle-result-score{background:linear-gradient(90deg,var(--ui-glow-soft),transparent 48%,var(--ui-glow-soft))}:root[data-theme=light] .battle-history-open{border-color:var(--ui-border);background:linear-gradient(90deg,var(--ui-glow),var(--ui-glow-soft),transparent);color:var(--ui-accent-deep)}:root[data-theme=light] .battle-history-open:hover:not(:disabled){border-color:var(--ui-accent-deep);background:linear-gradient(90deg,var(--ui-accent-deep),var(--ui-accent),var(--ui-glow));color:var(--ui-on-accent)}:root[data-theme=light] .stream-mode-tabs{border-color:var(--ui-border);background:var(--ui-glow-soft)}:root[data-theme=light] .stream-mode-tabs button{color:var(--text-secondary);background:0 0;border-color:#0000}:root[data-theme=light] .stream-mode-tabs button:hover:not(:disabled):not(.active){border-color:var(--ui-border);background:var(--ui-glow-soft);color:var(--ui-accent-deep)}:root[data-theme=light] .stream-mode-tabs button.active{border-color:var(--ui-accent-deep);background:linear-gradient(135deg,var(--ui-accent),var(--ui-accent-deep));color:var(--ui-on-accent)}:root[data-theme=light] .stream-control-row select,:root[data-theme=light] .stream-control-row>button:not(.danger){border-color:var(--ui-border);background:var(--ui-light-surface-a);color:var(--text-primary)}:root[data-theme=light] .stream-control-row select:hover:not(:disabled),:root[data-theme=light] .stream-control-row>button:not(.danger):hover:not(:disabled){border-color:var(--ui-accent-deep);background:var(--ui-glow-soft);color:var(--ui-accent-deep)}:root[data-theme=light] .stream-control-row>button.primary,:root[data-theme=light] .stream-control-row>button.primary:hover:not(:disabled){border-color:var(--ui-accent-deep);background:linear-gradient(135deg,var(--ui-accent),var(--ui-accent-deep));color:var(--ui-on-accent)}:is(button,[role=button],a[href],input,select,textarea):focus-visible{outline:2px solid var(--ui-accent);outline-offset:2px}:root[data-theme=light] :is(button,[role=button],a[href],input,select,textarea):focus-visible{outline-color:var(--ui-accent-deep)}button:active:not(:disabled){transform:translateY(1px)}:is(.lobby-mobile-tabs,.battle-type-tabs,.battle-perspective-tabs,.journal-status-tabs,.profile-editor-tabs,.stream-mode-tabs){border-color:var(--ui-border);background:var(--ui-bg-secondary)}:is(.lobby-mobile-tabs,.battle-type-tabs,.battle-perspective-tabs,.journal-status-tabs,.profile-editor-tabs,.stream-mode-tabs) button{color:var(--text-secondary);background:0 0;border-color:#0000}:is(.lobby-mobile-tabs,.battle-type-tabs,.battle-perspective-tabs,.journal-status-tabs,.profile-editor-tabs,.stream-mode-tabs) button:hover:not(:disabled):not(.active){border-color:var(--ui-border);background:var(--ui-glow-soft);color:var(--ui-accent-strong)}:is(.lobby-mobile-tabs,.battle-type-tabs,.battle-perspective-tabs,.journal-status-tabs,.profile-editor-tabs,.stream-mode-tabs) button.active{border-color:var(--ui-accent);background:linear-gradient(135deg,var(--ui-accent),var(--ui-accent-deep));color:var(--ui-on-accent);box-shadow:0 6px 18px var(--ui-glow-soft)}:is(.mobile-menu-button,.icon-button,.drawer-utility-row button,.icon-filter-button,.defense-shuffle-button,.talisman-drawer-trigger,.battle-history-open,.open-live-match,.random-match-open,.stream-mirror-fullscreen):hover:not(:disabled){border-color:var(--ui-accent);color:var(--ui-accent-strong);box-shadow:0 6px 18px var(--ui-glow-soft)}:root[data-theme=light] :is(.lobby-mobile-tabs,.battle-type-tabs,.battle-perspective-tabs,.journal-status-tabs,.profile-editor-tabs,.stream-mode-tabs){background:var(--ui-light-surface-b)}:root[data-theme=light] :is(.lobby-mobile-tabs,.battle-type-tabs,.battle-perspective-tabs,.journal-status-tabs,.profile-editor-tabs,.stream-mode-tabs) button{color:var(--text-secondary)}:root[data-theme=light] :is(.lobby-mobile-tabs,.battle-type-tabs,.battle-perspective-tabs,.journal-status-tabs,.profile-editor-tabs,.stream-mode-tabs) button:hover:not(:disabled):not(.active){border-color:var(--ui-accent-deep);color:var(--ui-accent-deep)}:root[data-theme=light] :is(.lobby-mobile-tabs,.battle-type-tabs,.battle-perspective-tabs,.journal-status-tabs,.profile-editor-tabs,.stream-mode-tabs) button.active{border-color:var(--ui-accent-deep);color:var(--ui-on-accent)}:root[data-theme=light] .stream-archive-mobile-tabs{border-color:color-mix(in srgb,var(--ui-accent-deep) 40%,var(--ui-border));background:linear-gradient(135deg,var(--ui-light-surface-b),color-mix(in srgb,var(--ui-accent) 12%,var(--ui-light-surface-a)));box-shadow:inset 0 1px #ffffffe6}:root[data-theme=light] .stream-archive-mobile-tabs button{color:var(--text-secondary);box-shadow:none;background:0 0;border-color:#0000}:root[data-theme=light] .stream-archive-mobile-tabs button:not(.active):hover{border-color:color-mix(in srgb,var(--ui-accent-deep) 42%,var(--ui-border));background:color-mix(in srgb,var(--ui-accent) 10%,var(--ui-light-surface-a));color:var(--text-primary)}:root[data-theme=light] .stream-archive-mobile-tabs button.active{border-color:color-mix(in srgb,var(--ui-accent-deep) 76%,var(--ui-border));background:linear-gradient(135deg,var(--ui-accent),var(--ui-accent-deep));color:var(--ui-on-accent);box-shadow:0 5px 14px var(--ui-glow)}:root[data-theme=light] .stream-archive-mobile-tabs button.active span{border-color:color-mix(in srgb,var(--ui-on-accent) 44%,transparent)}:is(.header-avatar-placeholder,.drawer-profile-card>span:first-child,.lobby-player-avatar.placeholder,.avatar-manager-preview>span,.stream-target-avatar>span,.stream-archive-score>span>span){background:radial-gradient(circle at 28% 20%,var(--ui-glow),transparent 43%),linear-gradient(145deg,var(--ui-surface-a),var(--ui-bg-secondary));color:var(--ui-accent-strong);text-shadow:0 0 14px var(--ui-glow)}.header-avatar-placeholder,.drawer-profile-card>span:first-child,.lobby-player-avatar.placeholder,.avatar-manager-preview,.journal-player-avatar,.stream-target-avatar,.stream-target-avatar img,.stream-target-avatar>span,.stream-archive-score img,.stream-archive-score>span>span{border-color:var(--ui-border)}.journal-player-avatar:hover{border-color:var(--ui-accent);background:radial-gradient(circle at 28% 20%,var(--ui-glow),transparent 43%),linear-gradient(145deg,var(--ui-surface-a),var(--ui-bg-secondary));box-shadow:0 8px 22px #0000003d,0 0 18px var(--ui-glow-soft)}:root[data-theme=light] :is(.header-avatar-placeholder,.drawer-profile-card>span:first-child,.lobby-player-avatar.placeholder,.avatar-manager-preview>span,.stream-target-avatar>span,.stream-archive-score>span>span){background:radial-gradient(circle at 28% 20%,var(--ui-glow),transparent 43%),linear-gradient(145deg,var(--ui-light-surface-b),var(--ui-light-surface-a));color:var(--ui-accent-deep);text-shadow:none}:root[data-theme=light] .stream-target-avatar,:root[data-theme=light] .stream-target-avatar img,:root[data-theme=light] .stream-archive-score img{border-color:var(--ui-border);background:radial-gradient(circle at 28% 20%,var(--ui-glow),transparent 43%),linear-gradient(145deg,var(--ui-light-surface-b),var(--ui-light-surface-a))}:root[data-theme=light] .journal-player-avatar:hover{border-color:var(--ui-accent-deep);background:radial-gradient(circle at 28% 20%,var(--ui-glow),transparent 43%),linear-gradient(145deg,var(--ui-light-surface-b),var(--ui-light-surface-a));box-shadow:0 8px 20px color-mix(in srgb,var(--ui-border) 20%,transparent),0 0 16px var(--ui-glow-soft)}:where(button,[role=button],a[href]){-webkit-tap-highlight-color:transparent}:is(.lobby-mobile-tabs,.battle-type-tabs,.battle-perspective-tabs,.journal-status-tabs,.profile-editor-tabs,.stream-mode-tabs,.wiki-tabs,.pack-tabs) button:active:not(:disabled){border-color:var(--ui-accent);background:var(--ui-glow);color:var(--ui-accent-strong);box-shadow:inset 0 0 0 1px var(--ui-glow-soft)}:is(.lobby-mobile-tabs,.battle-type-tabs,.battle-perspective-tabs,.journal-status-tabs,.profile-editor-tabs,.stream-mode-tabs,.wiki-tabs,.pack-tabs) button.active:active:not(:disabled){border-color:var(--ui-accent);background:linear-gradient(135deg,var(--ui-accent),var(--ui-accent-deep));color:var(--ui-on-accent);box-shadow:0 6px 18px var(--ui-glow-soft)}.drawer-utility-row button:not(.drawer-logout){border-color:var(--ui-divider);background:var(--ui-bg-secondary);color:var(--text-muted)}.drawer-utility-row button:not(.drawer-logout):active:not(:disabled){border-color:var(--ui-accent);background:var(--ui-glow);color:var(--ui-accent-strong);box-shadow:inset 0 0 0 1px var(--ui-glow-soft)}:root[data-theme=light] .drawer-utility-row button:not(.drawer-logout){border-color:var(--ui-border);background:var(--ui-light-surface-a);color:var(--text-secondary)}:root[data-theme=light] .drawer-utility-row button:not(.drawer-logout):active:not(:disabled){border-color:var(--ui-accent-deep);background:var(--ui-glow);color:var(--ui-accent-deep)}@media (width<=900px){:root{--mobile-scroll-end:max(104px, calc(env(safe-area-inset-bottom) + 84px))}html,body{scroll-padding-bottom:var(--mobile-scroll-end)}body{min-height:100svh}.shell:not(:has(.lobby-dashboard)):not(.messenger-shell){min-height:100svh;padding-bottom:var(--mobile-scroll-end)}.observer-match-view{padding-bottom:var(--mobile-scroll-end)}.modal-card:not(.replay-modal){max-height:calc(100svh - 24px)}:is(.match-perspective-column.selected .battle-pack-list,.attack-picker-scroll,.defense-picker-grid,.defense-hero-picker>.defense-picker-grid,.training-run-list,.lobby-full-list-content,.online-player-list,.mvp-player-list,.live-battle-list,.talisman-drawer-list,.stream-archive-side .stream-battle-pack-list,.stream-runs-list){scroll-padding-bottom:var(--mobile-scroll-end);padding-bottom:var(--mobile-scroll-end)}.lobby-grid .lobby-mvp-card.mobile-active{grid-template-rows:auto repeat(var(--mvp-row-count),minmax(0,1fr)) auto}.lobby-mvp-card .mvp-player-list{display:contents;container-type:normal}.lobby-mvp-card .mvp-player-list>.lobby-empty{grid-row:auto}.lobby-mvp-card .mvp-player-row{grid-template-columns:clamp(18px,2.6svh,22px) clamp(26px,4.5svh,38px) minmax(0,1fr) auto;gap:clamp(5px,1svh,8px);height:100%;min-height:0;padding:clamp(2px,.65svh,6px) 12px;overflow:hidden}.lobby-mvp-card .mvp-player-row .lobby-player-avatar{width:clamp(26px,4.5svh,38px);height:clamp(26px,4.5svh,38px)}.lobby-mvp-card .mvp-player-row>b{font-size:clamp(9px,1.2svh,10px)}.lobby-mvp-card .mvp-player-row .lobby-player-link{gap:clamp(1px,.35svh,3px)}.lobby-mvp-card .mvp-player-row .lobby-player-link strong{font-size:clamp(10px,1.45svh,12px)}.lobby-mvp-card .mvp-player-row .lobby-player-link span{font-size:clamp(7px,1.05svh,9px)}.lobby-mvp-card .mvp-player-row>em{font-size:clamp(11px,1.55svh,13px)}.lobby-mvp-card .lobby-card-more{margin:0}.shell:has(.lobby-dashboard .lobby-mvp-card.mobile-active){padding-bottom:0}.observer-match-view .stream-archive-side .stream-battle-pack-list{max-height:none;padding-bottom:0;scroll-padding-bottom:0;overflow:visible}:is(.modal-card.rating-rules-dialog,.modal-card.lobby-full-list-dialog,.modal-card.battle-history-modal,.modal-card.battle-details-modal,.modal-card.defense-hero-picker,.talisman-drawer,.mobile-drawer,.mobile-drawer-backdrop){max-height:100svh}:is(.modal-card.rating-rules-dialog,.modal-card.lobby-full-list-dialog,.modal-card.battle-history-modal,.modal-card.battle-details-modal,.modal-card.defense-hero-picker),.mobile-drawer,.mobile-drawer-backdrop,.talisman-drawer{height:100svh;min-height:100svh}}.shell-header-actions{align-items:center;gap:10px;display:flex}.tournament-registration-trigger{border-color:var(--ui-accent);background:linear-gradient(135deg,var(--ui-accent),var(--ui-accent-deep));min-height:46px;color:var(--ui-on-accent);letter-spacing:.02em;justify-content:center;align-items:center;gap:9px;font-weight:900;display:inline-flex}.tournament-registration-trigger.registered{background:var(--ui-glow-soft);color:var(--ui-accent-strong)}.tournament-registration-icon{width:25px;height:25px;filter:drop-shadow(0 2px 4px color-mix(in srgb,currentColor 30%,transparent));flex:0 0 25px;overflow:visible}.tournament-registration-icon.cup{fill:none;stroke:currentColor;stroke-width:1.75px;stroke-linecap:round;stroke-linejoin:round}.tournament-registration-icon.cup .tournament-registration-icon-gem,.tournament-registration-icon.participant{fill:currentColor;stroke:none}.tournament-registration-icon.participant .tournament-registration-icon-base{fill:none;stroke:currentColor;stroke-width:1.6px;stroke-linecap:round}.tournament-registration-dialog{border-color:var(--ui-border);background:radial-gradient(circle at 100% 0,var(--ui-glow),transparent 40%),linear-gradient(145deg,var(--ui-surface-a),var(--ui-surface-b));flex-direction:column;width:min(720px,100vw - 28px);max-height:min(760px,100dvh - 28px);display:flex;overflow:hidden}.tournament-registration-timer{border:1px solid var(--ui-border);background:var(--ui-bg-secondary);border-radius:16px;place-items:center;gap:6px;padding:18px;display:grid}.tournament-registration-timer strong{color:var(--ui-accent-strong);font:400 clamp(34px,8vw,58px)/1 Russo One,sans-serif}.tournament-registration-meta{color:var(--text-secondary);justify-content:space-between;align-items:center;gap:14px;padding:12px 2px;display:flex}.tournament-registration-players{border-block:1px solid var(--ui-divider);gap:6px;min-height:110px;padding:9px 0;display:grid;overflow:auto}.tournament-registration-players button{background:var(--ui-glow-soft);text-align:left;border:0;border-radius:10px;grid-template-columns:46px minmax(0,1fr) auto;grid-template-areas:"avatar name status";align-items:center;gap:10px;min-height:62px;display:grid;overflow:hidden}.tournament-registration-players .lobby-player-avatar{grid-area:avatar;width:46px;height:46px}.tournament-registration-players button>strong{text-overflow:ellipsis;white-space:nowrap;grid-area:name;min-width:0;overflow:hidden}.tournament-registration-players small{min-width:0;color:var(--text-muted);grid-area:status;line-height:1.2}.tournament-registration-actions{justify-content:flex-end;gap:10px;padding-top:14px;display:flex}.olympic-tournament-page,.hall-of-fame-page{gap:18px;padding-top:28px;display:grid}.olympic-cup-bar,.olympic-bracket-round,.tournament-participant-table-card,.tournament-arena-card,.hall-of-fame-cup,.profile-tournament-list article{border:1px solid var(--ui-border);background:radial-gradient(circle at 100% 0,var(--ui-glow-soft),transparent 42%),linear-gradient(145deg,var(--ui-surface-a),var(--ui-surface-b));border-radius:20px}.olympic-cup-bar{grid-template-columns:minmax(0,1fr) auto auto;align-items:center;gap:18px;padding:20px 22px;display:grid}.olympic-cup-name{min-width:0;padding-left:14px;position:relative}.olympic-cup-name:before{content:"";background:linear-gradient(var(--ui-accent-strong),var(--ui-accent-deep));width:3px;box-shadow:0 0 14px var(--ui-glow);border-radius:999px;position:absolute;inset:4px auto 4px 0}.olympic-cup-bar h1{color:var(--text-primary);text-overflow:ellipsis;margin:0;font-size:clamp(26px,4vw,44px);overflow:hidden}.olympic-cup-countdown{justify-items:end;gap:5px;padding-left:24px;display:grid;position:relative}.olympic-cup-countdown:before{content:"";background:linear-gradient(transparent,var(--ui-border) 22%,var(--ui-accent) 50%,var(--ui-border) 78%,transparent);width:1px;box-shadow:0 0 12px var(--ui-glow);position:absolute;inset:1px auto 1px 0}.olympic-cup-countdown strong{font:400 20px/1 Russo One,sans-serif}.tournament-view-tabs{border:1px solid var(--ui-border);background:radial-gradient(circle at 50% 0,var(--ui-glow-soft),transparent 70%),var(--ui-bg-secondary);box-shadow:inset 0 1px 0 color-mix(in srgb,var(--ui-accent) 10%,transparent);border-radius:18px;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;padding:7px;display:grid}.tournament-view-tabs button{min-height:52px;color:var(--text-secondary);background:0 0;border:0;justify-content:center;align-items:center;gap:10px;display:flex}.tournament-view-tabs button.active{background:linear-gradient(135deg,var(--ui-accent),var(--ui-accent-deep));color:var(--ui-on-accent);box-shadow:0 8px 22px var(--ui-glow-soft)}.tournament-view-icon{fill:none;stroke:currentColor;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;flex:0 0 25px;width:25px;height:25px;overflow:visible}.tournament-arena-card{min-height:360px;overflow:hidden}.tournament-arena-card>.section-heading{padding:20px 22px}.tournament-block-heading{flex-direction:row;align-items:center;margin-bottom:0}.tournament-block-heading>h2{min-width:0}.tournament-block-heading>b{border:1px solid var(--ui-border);background:var(--ui-glow-soft);min-width:40px;min-height:32px;color:var(--ui-accent-strong);border-radius:999px;flex:none;justify-content:center;align-items:center;padding:5px 11px;font:400 14px/1 Russo One,sans-serif;display:inline-flex}.tournament-arena-list{border-top:1px solid var(--ui-border);grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;padding:16px;display:grid}.tournament-arena-list .live-battle-row{min-width:0}.tournament-arena-list>.lobby-empty{grid-column:1/-1;min-height:220px}.olympic-round-tabs{grid-template-columns:repeat(var(--tournament-round-count,7),minmax(110px,1fr));border:1px solid var(--ui-border);background:radial-gradient(circle at 0 50%,var(--ui-glow-soft),transparent 42%),var(--ui-surface-a);scrollbar-color:var(--ui-accent) var(--ui-surface-a);border-radius:17px;gap:8px;padding:7px;display:grid;overflow-x:auto}.olympic-round-tabs button{background:var(--ui-surface-b);text-align:left;grid-template-columns:24px minmax(0,1fr);grid-template-areas:"icon label""icon status";align-content:center;align-items:center;gap:3px 8px;min-width:0;min-height:62px;padding:8px 10px;display:grid}.olympic-round-tabs button>span{grid-area:label}.olympic-round-tabs button>small{grid-area:status}.tournament-round-icon{fill:none;width:24px;height:24px;stroke:var(--ui-accent);stroke-width:1.8px;stroke-linecap:round;stroke-linejoin:round;grid-area:icon;overflow:visible}.olympic-round-tabs button.active{border-color:var(--ui-accent);background:linear-gradient(135deg,var(--ui-accent),var(--ui-accent-deep));color:var(--ui-on-accent)}.olympic-round-tabs button.active small{color:var(--ui-on-accent)}.olympic-round-tabs button.active .tournament-round-icon{stroke:var(--ui-on-accent)}.olympic-bracket-round{padding:18px}.olympic-bracket-round .section-heading{margin-bottom:12px}.olympic-bracket-matches{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;display:grid}.olympic-bracket-match{border:1px solid var(--ui-divider);background:var(--ui-bg-secondary);border-radius:14px;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);align-items:center;gap:10px;min-width:0;padding:12px;display:grid;position:relative;overflow:hidden}.olympic-bracket-match.kind-bronze{border-color:color-mix(in srgb,var(--ui-accent-strong) 64%,var(--ui-border));padding-top:35px}.olympic-match-kind{border-bottom:1px solid color-mix(in srgb,var(--ui-accent) 42%,var(--ui-divider));background:linear-gradient(90deg,transparent,color-mix(in srgb,var(--ui-accent) 16%,var(--ui-bg-secondary)),transparent);min-height:28px;color:var(--text-primary);letter-spacing:.07em;text-transform:uppercase;place-items:center;padding:0 10px;font:800 11px/1 "Exo 2",sans-serif;display:grid;position:absolute;inset:0 0 auto}.olympic-bracket-match.status-active,.olympic-bracket-match.status-tiebreak{border-color:var(--ui-accent);box-shadow:inset 0 0 22px var(--ui-glow-soft)}.olympic-bracket-player{align-items:center;gap:9px;min-width:0;display:flex}.olympic-bracket-player.right{text-align:right;flex-direction:row-reverse}.olympic-bracket-player .lobby-player-avatar,.olympic-empty-player{border:1px solid var(--ui-border);background:var(--ui-surface-a);border-radius:11px;flex:0 0 48px;place-items:center;width:48px;height:48px;display:grid}.olympic-bracket-player span:not(.lobby-player-avatar):not(.olympic-empty-player){gap:4px;min-width:0;display:grid}.olympic-bracket-player strong{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.olympic-bracket-player.winner strong{color:var(--ui-accent-strong)}.olympic-versus{justify-items:center;gap:2px;min-width:72px;display:grid}.olympic-versus strong{font:400 18px/1 Russo One,sans-serif}.olympic-versus span{color:var(--ui-accent);font-size:8px}.olympic-open-match{border:0;border-top:1px solid var(--ui-divider);background:linear-gradient(90deg,transparent,var(--ui-glow-soft),transparent);min-height:40px;color:var(--ui-accent-strong);border-radius:0;grid-column:1/-1;justify-content:center;align-items:center;gap:8px;margin:2px -12px -12px;padding:8px 12px;font-size:10px;display:flex}.olympic-open-match:hover,.olympic-open-match:focus-visible{background:linear-gradient(90deg,var(--ui-glow-soft),color-mix(in srgb,var(--ui-accent) 24%,transparent),var(--ui-glow-soft));color:var(--ui-accent-strong)}.olympic-open-match.action-play{background:linear-gradient(135deg,var(--ui-accent),var(--ui-accent-deep));color:var(--ui-on-accent)}.olympic-open-match svg,.hall-of-fame-archive-link svg{fill:none;stroke:currentColor;stroke-width:1.8px;stroke-linecap:round;stroke-linejoin:round;flex:0 0 20px;width:20px;height:20px}.olympic-open-match.action-play svg{fill:currentColor;stroke:none}.tournament-participant-table-card{overflow:hidden}.tournament-participant-table-card>.section-heading{padding:18px}.tournament-participant-table{overscroll-behavior-x:contain;scrollbar-color:var(--ui-accent-deep) transparent;scrollbar-width:thin;overflow-x:auto}.tournament-participant-table .head,.tournament-participant-table>button{grid-template-columns:220px repeat(5,minmax(108px,1fr));align-items:stretch;gap:0;width:max(100%,820px);min-width:820px;padding:0;display:grid}.tournament-participant-table .head{border-top:1px solid var(--ui-divider);border-bottom:1px solid var(--ui-divider);color:var(--text-muted);text-transform:uppercase;font-size:8px;font-weight:800}.tournament-participant-table .head>span,.tournament-participant-table>button>*{align-items:center;min-height:42px;padding:7px 14px;display:flex}.tournament-participant-table .head>span:not(:first-child),.tournament-participant-table>button>:not(:first-child){border-left:1px solid var(--ui-divider)}.tournament-participant-table>button{border:0;border-bottom:1px solid var(--ui-divider);text-align:left;background:0 0;border-radius:0;min-height:58px}.tournament-participant-table>button:hover{background:var(--ui-glow-soft)}.tournament-participant-table .head>span:first-child,.tournament-participant-table>button>span:first-child{z-index:3;background:linear-gradient(145deg,var(--ui-surface-a),var(--ui-surface-b));box-shadow:8px 0 18px color-mix(in srgb,var(--ui-bg) 38%,transparent);position:sticky;left:0}.tournament-participant-table .head>span:first-child{z-index:4}.tournament-participant-table>button:hover>span:first-child{background:color-mix(in srgb,var(--ui-surface-a) 82%,var(--ui-accent) 18%)}.tournament-participant-table>button>span:first-child{gap:9px}.tournament-participant-table .lobby-player-avatar{width:42px;height:42px}.rated-tournament-block-heading{flex-direction:row;align-items:center;margin-bottom:16px}.rated-tournament-block-heading>div{min-width:0}.rated-tournament-block-heading>div h2{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.rated-tournament-block-heading>b{margin-left:auto}.rated-tournament-table .head,.rated-tournament-table>button{grid-template-columns:minmax(250px,1fr) 120px 100px 140px;width:max(100%,620px);min-width:620px}.rated-tournament-table>button.mine{background:linear-gradient(90deg,var(--ui-glow-soft),transparent)}.rated-tournament-table>button.mine>span:first-child{background:color-mix(in srgb,var(--ui-surface-a) 82%,var(--ui-accent) 18%)}.rated-tournament-player-cell{min-width:0}.rated-tournament-player-cell>b{width:34px;color:var(--ui-accent-strong);flex:0 0 34px;font-size:11px}.rated-tournament-player-cell>strong{min-width:0;color:var(--text-primary);text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.hall-of-fame-page{position:relative}.hall-of-fame-heading{border:1px solid var(--ui-border);background:radial-gradient(circle at 50% 110%,var(--ui-glow),transparent 56%),linear-gradient(145deg,var(--ui-surface-a),var(--ui-surface-b));text-align:center;border-radius:20px;justify-content:center;align-items:center;gap:14px;min-height:92px;padding:16px 22px;display:flex}.hall-of-fame-heading-mark{border:1px solid var(--ui-border);background:var(--ui-glow-soft);width:54px;height:54px;color:var(--ui-accent-strong);box-shadow:inset 0 1px color-mix(in srgb,var(--ui-accent) 22%,transparent),0 9px 28px var(--ui-glow-soft);border-radius:16px;place-items:center;display:grid}.hall-of-fame-heading-mark svg{width:34px;height:34px}.hall-of-fame-heading small,.hall-of-fame-cup>header small,.hall-of-fame-archive>header small{color:var(--ui-accent-strong);letter-spacing:.15em;font-weight:900}.hall-of-fame-heading h1{margin:3px 0 0;font-size:clamp(28px,4.2vw,48px)}.hall-of-fame-layout{grid-template-columns:minmax(230px,280px) minmax(0,1fr);align-items:stretch;gap:16px;min-width:0;display:grid}.hall-of-fame-archive{border:1px solid var(--ui-border);background:linear-gradient(145deg,var(--ui-surface-a),var(--ui-surface-b));border-radius:20px;min-width:0;overflow:hidden}.hall-of-fame-archive>header{border-bottom:1px solid var(--ui-divider);justify-content:space-between;align-items:center;gap:10px;min-height:62px;padding:12px 16px;display:flex}.hall-of-fame-archive>header strong{border:1px solid var(--ui-border);background:var(--ui-glow-soft);min-width:34px;height:30px;color:var(--ui-accent-strong);border-radius:999px;place-items:center;display:grid}.hall-of-fame-cup-list{scrollbar-color:var(--ui-accent) transparent;scrollbar-width:thin;max-height:620px;display:grid;overflow-y:auto}.hall-of-fame-cup-list>button{border:0;border-bottom:1px solid var(--ui-divider);min-width:0;min-height:78px;color:var(--text-primary);text-align:left;background:0 0;border-radius:0;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:10px;padding:12px 14px;display:grid}.hall-of-fame-cup-list>button>span{gap:5px;min-width:0;display:grid}.hall-of-fame-cup-list>button strong{text-overflow:ellipsis;white-space:nowrap;font-size:14px;overflow:hidden}.hall-of-fame-cup-list>button small{color:var(--text-muted);font-size:9px}.hall-of-fame-cup-list>button>b{color:var(--ui-accent-strong);letter-spacing:.1em;font-size:8px}.hall-of-fame-cup-list>button:hover,.hall-of-fame-cup-list>button.active{background:linear-gradient(90deg,var(--ui-glow),var(--ui-glow-soft))}.hall-of-fame-cup-list>button.active{box-shadow:inset 4px 0 var(--ui-accent)}.hall-of-fame-mobile-select{display:none}.hall-of-fame-cup{flex-direction:column;min-width:0;min-height:620px;display:flex;overflow:hidden}.hall-of-fame-cup>header{border-bottom:1px solid var(--ui-divider);background:radial-gradient(circle at 0 50%,var(--ui-glow),transparent 42%);justify-content:space-between;align-items:center;gap:18px;min-height:92px;padding:14px 22px;display:flex}.hall-of-fame-cup>header>div{min-width:0}.hall-of-fame-cup-title{align-items:center;gap:13px;display:flex}.hall-of-fame-cup-title>span{border:1px solid var(--ui-border);background:var(--ui-glow-soft);width:48px;height:48px;color:var(--ui-accent-strong);box-shadow:inset 0 1px color-mix(in srgb,var(--ui-accent) 24%,transparent);border-radius:14px;flex:0 0 48px;place-items:center;display:grid}.hall-of-fame-cup-title svg{width:30px;height:30px}.hall-of-fame-cup h2{text-overflow:ellipsis;white-space:nowrap;margin:0;font-size:clamp(25px,3vw,38px);overflow:hidden}.hall-of-fame-cup>header time{border:1px solid var(--ui-divider);background:var(--ui-glow-soft);min-height:36px;color:var(--text-secondary);border-radius:999px;flex:none;align-items:center;padding:7px 12px;font-size:11px;font-weight:800;display:flex}.hall-of-fame-podium{background:radial-gradient(ellipse at 50% 100%,var(--ui-glow),transparent 60%),linear-gradient(180deg,transparent,var(--ui-glow-soft));grid-template-columns:repeat(3,minmax(0,1fr));align-items:end;gap:12px;min-height:480px;padding:64px 18px 22px;display:grid}.hall-podium-player{min-width:0;color:var(--text-primary);background:0 0;border:0;justify-items:center;gap:8px;padding:0 5px;display:grid;position:relative}.hall-podium-player:hover{background:0 0;transform:translateY(-4px)}.hall-podium-player.place-1{transform:translateY(-32px)}.hall-podium-player.place-1:hover{transform:translateY(-38px)}.hall-trophy{--trophy-highlight:#fff1a4;--trophy-main:#f0b42f;--trophy-shadow:#87480c;aspect-ratio:190/230;filter:drop-shadow(0 18px 22px #00000057);width:min(100%,190px);position:relative}.hall-trophy.place-2{--trophy-highlight:#f0f8ff;--trophy-main:#9bb7d9;--trophy-shadow:#445a82}.hall-trophy.place-3{--trophy-highlight:#ffd1a2;--trophy-main:#c77a43;--trophy-shadow:#69341f}.hall-trophy>svg{width:100%;height:100%;overflow:visible}.hall-trophy-bowl,.hall-trophy-wing,.hall-trophy-stem,.hall-trophy-base,.hall-trophy-rim{fill:url(#hall-trophy-1);stroke:color-mix(in srgb,var(--trophy-shadow) 72%,#000);stroke-width:2px;stroke-linejoin:round}.hall-trophy.place-2 .hall-trophy-bowl,.hall-trophy.place-2 .hall-trophy-wing,.hall-trophy.place-2 .hall-trophy-stem,.hall-trophy.place-2 .hall-trophy-base,.hall-trophy.place-2 .hall-trophy-rim{fill:url(#hall-trophy-2)}.hall-trophy.place-3 .hall-trophy-bowl,.hall-trophy.place-3 .hall-trophy-wing,.hall-trophy.place-3 .hall-trophy-stem,.hall-trophy.place-3 .hall-trophy-base,.hall-trophy.place-3 .hall-trophy-rim{fill:url(#hall-trophy-3)}.hall-trophy-handle{fill:none;stroke:var(--trophy-main);stroke-width:10px;stroke-linecap:round}.hall-trophy-shine{fill:#fff;opacity:.2}.hall-trophy-avatar{border:5px solid var(--trophy-highlight);background:var(--ui-surface-a);width:68px;height:68px;box-shadow:0 0 0 3px var(--trophy-shadow),0 7px 16px #0000005c;border-radius:50%;place-items:center;display:grid;position:absolute;top:31%;left:50%;overflow:hidden;transform:translate(-50%,-50%)}.hall-trophy-avatar .lobby-player-avatar{border:0;border-radius:50%;width:100%;height:100%}.hall-trophy-place{color:#fff6cf;text-align:center;text-shadow:0 2px 2px #0000009e;font:400 26px/1 Russo One,sans-serif;position:absolute;bottom:4%;left:0;right:0}.hall-podium-name{border:1px solid color-mix(in srgb,var(--trophy-main) 58%,var(--ui-border));background:linear-gradient(145deg,var(--ui-surface-b),var(--ui-bg-secondary));border-radius:13px;align-content:center;place-items:center;gap:4px;width:100%;min-height:60px;padding:9px;display:grid}.hall-podium-name strong{text-overflow:ellipsis;white-space:nowrap;width:100%;font-size:16px;overflow:hidden}.hall-podium-name small{color:var(--text-secondary)}.hall-podium-average{color:var(--text-muted);align-items:center;gap:6px;display:flex}.hall-podium-average small{letter-spacing:.1em;font-size:8px}.hall-podium-average b{color:var(--ui-accent-strong)}.hall-of-fame-archive-link{background:linear-gradient(135deg,var(--ui-accent),var(--ui-accent-deep));width:100%;min-height:58px;color:var(--ui-on-accent);border-width:1px 0 0;border-radius:0;justify-content:center;align-items:center;gap:10px;margin-top:auto;display:flex}.profile-tournament-history{margin-top:34px}.profile-tournament-list{gap:9px;display:grid}.profile-tournament-list article{grid-template-columns:minmax(210px,1.4fr) repeat(5,minmax(72px,.5fr));align-items:center;gap:10px;padding:14px;display:grid}.profile-tournament-list article>div,.profile-tournament-list article>span{gap:4px;display:grid}.admin-season-card .season-create-form{z-index:460;border:1px solid var(--ui-border);background:radial-gradient(circle at 100% 0,var(--ui-glow),transparent 42%),linear-gradient(145deg,var(--ui-surface-a),var(--ui-surface-b));border-radius:20px;grid-template-columns:1fr 1fr;align-items:end;width:min(560px,100vw - 28px);max-height:calc(100dvh - 28px);margin:0;padding:22px;position:fixed;top:50%;left:50%;overflow:auto;transform:translate(-50%,-50%);box-shadow:0 0 0 100vmax #000000b8,0 28px 80px #0000008c}.admin-season-card .season-create-form>label:first-of-type{grid-column:1/-1}.season-create-heading,.season-create-actions{grid-column:1/-1;justify-content:space-between;align-items:center;gap:12px;display:flex}.season-create-heading h3{margin:4px 0 0;font-size:clamp(24px,4vw,38px)}.season-create-heading small{color:var(--ui-accent);letter-spacing:.14em}.season-create-actions{justify-content:flex-end;margin-top:6px}.season-create-actions button{min-width:150px}.admin-create-cup-button{width:100%;margin:12px 0}@media (width<=620px){.admin-season-card .season-create-form{grid-template-columns:1fr}.admin-season-card .season-create-form>label,.season-create-heading,.season-create-actions{grid-column:1}.season-create-actions button{flex:1;min-width:0}.rated-tournament-arena-list>button{grid-template-columns:minmax(0,1fr) 62px minmax(0,1fr);gap:5px;min-height:68px;padding:8px}.rated-tournament-arena-list>button>span{grid-template-columns:34px minmax(0,1fr);gap:1px 5px}.rated-tournament-arena-list>button>span.right{grid-template-columns:minmax(0,1fr) 34px}.rated-tournament-arena-list>button>span .lobby-player-avatar{width:34px;height:34px}.rated-tournament-arena-list>button>strong{font-size:14px}.rated-tournament-arena-list>button.history{grid-template-columns:minmax(0,1fr) 76px minmax(0,1fr);min-height:72px;padding:7px 8px}.rated-tournament-arena-list>button>strong time{letter-spacing:0;gap:1px;margin-top:3px;font-size:6.5px;font-weight:500;line-height:1.15}.rated-tournament-block-heading.journal h2{font-size:26px}.tournament-search-cancel{width:100%;min-width:0}}:root[data-theme=light] .tournament-registration-dialog,:root[data-theme=light] .olympic-cup-bar,:root[data-theme=light] .olympic-bracket-round,:root[data-theme=light] .tournament-participant-table-card,:root[data-theme=light] .tournament-arena-card,:root[data-theme=light] .hall-of-fame-cup,:root[data-theme=light] .profile-tournament-list article{background:radial-gradient(circle at 100% 0,var(--ui-glow),transparent 42%),linear-gradient(145deg,var(--ui-light-surface-a),var(--ui-light-surface-b));color:#10251d}:root[data-theme=light] .hall-of-fame-heading,:root[data-theme=light] .hall-of-fame-archive{background:radial-gradient(circle at 50% 110%,var(--ui-glow),transparent 58%),linear-gradient(145deg,var(--ui-light-surface-a),var(--ui-light-surface-b));color:var(--text-primary)}:root[data-theme=light] .hall-of-fame-heading-mark{background:color-mix(in srgb,var(--ui-accent) 17%,var(--ui-light-surface-a));color:var(--ui-accent-deep)}:root[data-theme=light] .hall-of-fame-heading h1,:root[data-theme=light] .hall-of-fame-cup h2,:root[data-theme=light] .hall-of-fame-cup-list>button strong{color:var(--text-primary)}:root[data-theme=light] .hall-of-fame-heading small,:root[data-theme=light] .hall-of-fame-cup>header small,:root[data-theme=light] .hall-of-fame-archive>header small,:root[data-theme=light] .hall-of-fame-cup-list>button>b,:root[data-theme=light] .hall-podium-average b{color:var(--ui-accent-deep)}:root[data-theme=light] .hall-of-fame-archive>header strong{border-color:var(--ui-border);background:color-mix(in srgb,var(--ui-accent) 14%,var(--ui-light-surface-a));color:var(--ui-accent-deep)}:root[data-theme=light] .hall-of-fame-cup-list>button{border-color:var(--ui-divider);color:var(--text-primary);background:0 0}:root[data-theme=light] .hall-of-fame-cup-list>button small,:root[data-theme=light] .hall-of-fame-cup>header time,:root[data-theme=light] .hall-podium-name small,:root[data-theme=light] .hall-podium-average{color:var(--text-secondary)}:root[data-theme=light] .hall-of-fame-cup-list>button:hover,:root[data-theme=light] .hall-of-fame-cup-list>button.active{background:linear-gradient(90deg,color-mix(in srgb,var(--ui-accent) 22%,var(--ui-light-surface-a)),color-mix(in srgb,var(--ui-accent) 8%,var(--ui-light-surface-b)))}:root[data-theme=light] .hall-of-fame-cup-list>button.active{box-shadow:inset 4px 0 var(--ui-accent-deep)}:root[data-theme=light] .hall-of-fame-mobile-select>span{color:var(--text-secondary)}:root[data-theme=light] .hall-of-fame-mobile-select select{border-color:var(--ui-border);background:var(--ui-light-surface-a);color:var(--text-primary)}:root[data-theme=light] .hall-of-fame-cup>header{background:radial-gradient(circle at 0 50%,var(--ui-glow),transparent 44%)}:root[data-theme=light] .hall-of-fame-cup-title>span{background:color-mix(in srgb,var(--ui-accent) 17%,var(--ui-light-surface-a));color:var(--ui-accent-deep)}:root[data-theme=light] .hall-of-fame-cup>header time{border-color:var(--ui-border);background:color-mix(in srgb,var(--ui-accent) 10%,var(--ui-light-surface-a));color:var(--text-secondary)}:root[data-theme=light] .hall-of-fame-podium{background:radial-gradient(ellipse at 50% 100%,var(--ui-glow),transparent 62%),linear-gradient(180deg,transparent,color-mix(in srgb,var(--ui-accent) 8%,var(--ui-light-surface-b)))}:root[data-theme=light] .hall-podium-player,:root[data-theme=light] .hall-podium-player:hover{color:var(--text-primary);background:0 0;border:0}:root[data-theme=light] .hall-podium-name{background:linear-gradient(145deg,var(--ui-light-surface-a),var(--ui-light-surface-b))}:root[data-theme=light] .hall-podium-average small{color:var(--text-secondary)}:root[data-theme=light] .hall-trophy-avatar{background:var(--ui-light-surface-a)}:root[data-theme=light] .hall-of-fame-archive-link,:root[data-theme=light] .hall-of-fame-archive-link:hover{border-color:var(--ui-divider);background:linear-gradient(135deg,var(--ui-accent),var(--ui-accent-deep));color:var(--ui-on-accent)}:root[data-theme=light] .olympic-bracket-match,:root[data-theme=light] .tournament-registration-timer{background:var(--ui-light-surface-a)}:root[data-theme=light] .olympic-match-kind{border-bottom-color:color-mix(in srgb,var(--ui-accent-deep) 48%,var(--ui-border));background:linear-gradient(90deg,var(--ui-light-surface-a),color-mix(in srgb,var(--ui-accent) 38%,var(--ui-light-surface-a)),var(--ui-light-surface-a));color:color-mix(in srgb,var(--ui-on-accent) 82%,#000);text-shadow:0 1px #ffffffb8}:root[data-theme=light] .tournament-view-tabs{background:linear-gradient(135deg,color-mix(in srgb,var(--ui-accent) 12%,var(--ui-light-surface-a)),color-mix(in srgb,var(--ui-accent-deep) 10%,var(--ui-light-surface-b)))}:root[data-theme=light] .tournament-view-tabs button:not(.active){background:color-mix(in srgb,var(--ui-accent) 8%,var(--ui-light-surface-a));color:var(--text-primary)}:root[data-theme=light] .tournament-view-tabs button:not(.active):hover{background:color-mix(in srgb,var(--ui-accent) 16%,var(--ui-light-surface-a));color:var(--ui-accent-deep)}:root[data-theme=light] .olympic-round-tabs{background:radial-gradient(circle at 0 50%,var(--ui-glow),transparent 46%),linear-gradient(145deg,var(--ui-light-surface-a),var(--ui-light-surface-b));scrollbar-color:var(--ui-accent-deep) var(--ui-light-surface-b)}:root[data-theme=light] .olympic-round-tabs button:not(.active){background:var(--ui-light-surface-a);color:var(--text-primary)}:root[data-theme=light] .tournament-block-heading>b{border-color:var(--ui-border);background:var(--ui-light-surface-a);color:var(--text-primary)}:root[data-theme=light] .tournament-participant-table .head>span:first-child,:root[data-theme=light] .tournament-participant-table>button>span:first-child{background:linear-gradient(145deg,var(--ui-light-surface-a),var(--ui-light-surface-b))}:root[data-theme=light] .tournament-participant-table>button:hover>span:first-child{background:color-mix(in srgb,var(--ui-light-surface-a) 82%,var(--ui-accent) 18%)}:root[data-theme=light] .rated-tournament-table>button.mine>span:first-child{background:color-mix(in srgb,var(--ui-light-surface-a) 80%,var(--ui-accent) 20%)}@media (width<=900px){.shell-header-actions{gap:6px}.tournament-registration-trigger{max-width:180px;min-height:42px;padding:7px 10px;font-size:9px}.olympic-cup-bar{grid-template-columns:minmax(0,1fr) auto;gap:10px;padding:15px}.olympic-cup-bar>button{grid-column:1/-1;width:100%}.olympic-round-tabs{flex-wrap:wrap;display:flex;overflow:visible}.olympic-round-tabs button{flex:1 1 calc(var(--tournament-round-mobile-basis,25%) - 8px);min-width:92px}.olympic-bracket-matches{grid-template-columns:1fr}.profile-tournament-list article{grid-template-columns:repeat(3,1fr)}.profile-tournament-list article>div{grid-column:1/-1}}@media (width<=760px){.hall-of-fame-layout{grid-template-columns:1fr}.hall-of-fame-archive>header{min-height:50px}.hall-of-fame-cup-list{display:none}.hall-of-fame-mobile-select{gap:6px;padding:12px;display:grid}.hall-of-fame-mobile-select>span{color:var(--text-muted);letter-spacing:.09em;text-transform:uppercase;font-size:9px;font-weight:800}.hall-of-fame-mobile-select select{border:1px solid var(--ui-border);background:var(--ui-bg-secondary);width:100%;min-height:46px;color:var(--text-primary);border-radius:12px;padding:0 12px;font:700 14px/1 "Exo 2",sans-serif}.hall-of-fame-cup{min-height:0}.hall-of-fame-podium{grid-template-columns:1fr;align-items:stretch;gap:9px;min-height:0;padding:12px}.hall-podium-player{border:1px solid var(--ui-divider);background:linear-gradient(100deg,var(--ui-glow-soft),transparent);border-radius:15px;grid-template-columns:104px minmax(0,1fr) auto;place-items:center start;gap:10px;padding:8px 12px 8px 5px}.hall-podium-player:hover{background:linear-gradient(100deg,var(--ui-glow),var(--ui-glow-soft));transform:none}.hall-podium-player.place-1,.hall-podium-player.place-1:hover{order:1;transform:none}.hall-podium-player.place-2{order:2}.hall-podium-player.place-3{order:3}.hall-trophy{width:100px}.hall-trophy-avatar{border-width:3px;width:42px;height:42px}.hall-trophy-place{font-size:17px;bottom:5%}.hall-podium-name{justify-items:start;place-items:initial;text-align:left;background:0 0;border:0;align-content:center;min-width:0;min-height:0;padding:0}.hall-podium-name strong{font-size:15px}.hall-podium-average{justify-items:end;gap:4px;display:grid}:root[data-theme=light] .hall-podium-player{background:linear-gradient(100deg,var(--ui-glow),transparent)}:root[data-theme=light] .hall-podium-name{background:0 0}}@media (width<=560px){.rated-tournament-hero{grid-template-columns:minmax(0,1fr) auto;gap:10px;padding:15px;display:grid}.rated-tournament-hero h1{text-overflow:ellipsis;font-size:clamp(24px,8vw,32px);overflow:hidden}.rated-tournament-hero p{font-size:10px}.rated-tournament-join-button{width:124px;min-width:0;min-height:48px;padding:8px 10px;font-size:10px;line-height:1.15}.rated-tournament-overview{border-radius:16px;margin-top:16px}.rated-tournament-overview-header{grid-template-columns:minmax(0,1fr) auto;gap:10px;padding:15px;display:grid}.rated-tournament-overview-header h1{font-size:clamp(24px,8vw,32px)}.rated-tournament-overview-header p{font-size:10px}.rated-tournament-overview-body{gap:9px;padding:9px}.rated-tournament-overview-body .tournament-stat-grid{gap:0}.rated-tournament-overview-body .tournament-stat-grid article{gap:3px;padding:9px 7px}.rated-tournament-overview-body .tournament-stat-grid article small{font-size:7px}.rated-tournament-overview-body .tournament-stat-grid strong{font-size:21px}.rated-tournament-overview-body .tournament-stat-grid span{font-size:7px}.rated-tournament-control-card .tournament-stat-grid{gap:5px}.rated-tournament-control-card .tournament-stat-grid article{gap:3px;padding:9px 7px}.rated-tournament-control-card .tournament-stat-grid article small{font-size:7px}.rated-tournament-control-card .tournament-stat-grid strong{font-size:21px}.rated-tournament-control-card .tournament-stat-grid span{font-size:7px}.tournament-registration-trigger{width:44px;min-width:44px;min-height:44px;padding:0;overflow:visible}.tournament-registration-trigger>span{display:none}.tournament-registration-icon{flex-basis:26px;width:26px;height:26px}.tournament-registration-dialog{padding:16px}.tournament-registration-players button{grid-template:"avatar name""avatar status"/46px minmax(0,1fr);gap:2px 10px;min-height:72px;padding:7px 10px}.tournament-registration-players button small{white-space:nowrap;align-self:start;font-size:9px}.tournament-registration-actions{grid-template-columns:1fr;display:grid}.olympic-tournament-page,.hall-of-fame-page{padding-top:16px}.olympic-cup-bar h1{font-size:25px}.olympic-cup-countdown{padding-left:14px}.olympic-cup-countdown strong{font-size:15px}.olympic-bracket-round{padding:10px}.olympic-round-tabs{flex-wrap:wrap;gap:5px;padding:5px;display:flex;overflow:visible}.olympic-round-tabs button{flex:1 1 calc(var(--tournament-round-mobile-basis,25%) - 5px);grid-template-columns:17px minmax(0,1fr);column-gap:4px;min-width:0;min-height:54px;padding:5px 4px}.olympic-round-tabs button span{font-size:9px}.olympic-round-tabs button small{letter-spacing:.07em;font-size:7px}.tournament-round-icon{stroke-width:2px;width:17px;height:17px}.olympic-bracket-match{grid-template-columns:minmax(0,1fr) 58px minmax(0,1fr);gap:5px;padding:9px 7px}.olympic-bracket-player{text-align:center;justify-items:center;display:grid}.olympic-bracket-player.right{text-align:center;display:grid}.olympic-bracket-player .lobby-player-avatar,.olympic-empty-player{flex-basis:42px;width:42px;height:42px}.olympic-bracket-player strong{max-width:92px;font-size:10px}.tournament-view-tabs{border-radius:14px;grid-template-columns:repeat(2,minmax(0,1fr));justify-self:stretch;gap:6px;width:100%;padding:5px}.tournament-view-tabs button{gap:8px;width:auto;min-width:0;min-height:44px;padding:5px 9px;font-size:11px}.tournament-view-tabs button>span{display:inline}.tournament-view-icon{flex-basis:21px;width:21px;height:21px}.olympic-open-match{min-height:42px;margin:3px -7px -9px;font-size:10px}.tournament-participant-table .head,.tournament-participant-table>button{grid-template-columns:190px repeat(5,minmax(105px,1fr));width:800px;min-width:800px}.rated-tournament-table .head,.rated-tournament-table>button{grid-template-columns:178px 105px 82px 137px;width:520px;min-width:520px}.rated-tournament-table .head>span,.rated-tournament-table>button>*{min-height:38px;padding:6px 9px}.rated-tournament-table>button{min-height:52px}.rated-tournament-table .lobby-player-avatar{width:34px;height:34px}.rated-tournament-player-cell{gap:6px!important}.rated-tournament-player-cell>b{flex-basis:28px;width:28px;font-size:9px}.rated-tournament-block-heading{flex-direction:row;align-items:center;gap:10px;margin-bottom:12px}.rated-tournament-block-heading>div h2{font-size:clamp(24px,8vw,34px)}.rated-tournament-block-heading>b{min-width:37px;min-height:29px;padding:4px 9px;font-size:12px}.tournament-arena-list{grid-template-columns:1fr;gap:10px;padding:10px}.tournament-arena-card>.section-heading{padding:15px}.tournament-block-heading{flex-direction:row;align-items:center;gap:10px}.tournament-block-heading>h2{font-size:clamp(25px,8vw,36px)}.tournament-block-heading>b{min-width:37px;min-height:29px;padding:4px 9px;font-size:12px}.hall-of-fame-heading{text-align:left;justify-content:flex-start;min-height:74px;padding:12px 14px}.hall-of-fame-heading-mark{border-radius:13px;flex:0 0 45px;width:45px;height:45px}.hall-of-fame-heading-mark svg{width:28px;height:28px}.hall-of-fame-heading h1{font-size:27px}.hall-of-fame-cup>header{gap:10px;min-height:0;padding:14px 15px;display:grid}.hall-of-fame-cup-title{gap:10px}.hall-of-fame-cup-title>span{border-radius:12px;flex-basis:42px;width:42px;height:42px}.hall-of-fame-cup-title svg{width:26px;height:26px}.hall-of-fame-cup h2{text-overflow:clip;white-space:normal;font-size:25px;line-height:1.06;overflow:visible}.hall-of-fame-cup>header time{width:max-content;min-height:31px;padding:5px 10px;font-size:10px}.hall-podium-player{grid-template-columns:88px minmax(0,1fr) auto;gap:7px;padding-right:9px}.hall-trophy{width:85px}.hall-trophy-avatar{width:38px;height:38px}.hall-podium-average small{font-size:7px}.hall-of-fame-archive-link{min-height:54px}.profile-tournament-list article{grid-template-columns:repeat(2,1fr)}}
