.controls{display:flex;flex-direction:column;align-items:stretch;margin-bottom:25px;gap:15px}.search-container{position:relative;flex:2}#searchInput{padding:12px 15px;border:1px solid var(--border-color);border-radius:6px;background-color:var(--input-bg);color:var(--secondary-text);font-size:1em;outline:none;transition:border-color .3s ease;width:100%;box-sizing:border-box}#searchInput:focus{border-color:var(--primary-text)}#searchInput::-webkit-search-cancel-button{-webkit-appearance:none;appearance:none;height:20px;width:20px;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23E27429'%3E%3Cpath d='M19 6.41L17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z'/%3E%3C/svg%3E");background-repeat:no-repeat;background-size:contain;cursor:pointer;opacity:.7;transition:opacity .2s ease}#searchInput::-webkit-search-cancel-button:hover{opacity:1}.leaderboard-filters{display:flex;gap:10px;flex:1}#seasonSelect,#weekSelect,#modeSelect,#priceSelect{padding:12px 15px;border:1px solid var(--border-color);border-radius:6px;background-color:var(--input-bg);color:var(--secondary-text);font-size:1em;outline:none;transition:border-color .3s ease;cursor:pointer;flex:1;min-width:0}#seasonSelect:focus,#weekSelect:focus,#modeSelect:focus,#priceSelect:focus{border-color:var(--primary-text)}.total-rewards-container{display:flex;justify-content:center;margin-top:0;margin-bottom:0}@keyframes glowing-treasure{0%{box-shadow:0 0 8px #e2742980,0 0 12px #ffd70066;opacity:.7}50%{box-shadow:0 0 30px 2px #e27429e6,0 0 45px 5px #ffd700b3;opacity:1}to{box-shadow:0 0 8px #e2742980,0 0 12px #ffd70066;opacity:.7}}.total-rewards-button{background-color:transparent;border:none;padding:0;cursor:pointer;height:96px;width:96px;display:flex;align-items:center;justify-content:center;border-radius:50%;position:relative}.total-rewards-button:before{content:"";position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);width:48px;height:48px;background:transparent;border-radius:50%;z-index:0;opacity:0;pointer-events:none}.total-rewards-button.glowing:before{animation:glowing-treasure 2.5s infinite ease-in-out}.total-rewards-button:focus-visible{outline:none}.total-rewards-button img{height:64px;width:64px;position:relative;z-index:1}.table-container{overflow-x:auto;border:1px solid var(--border-color);border-radius:8px;margin-top:10px}#leaderboardTable{width:100%;border-collapse:collapse;table-layout:fixed}#leaderboardTable th,#leaderboardTable td{padding:5px;text-align:left;border-bottom:1px solid var(--border-color);vertical-align:middle}#leaderboardTable th{background-color:var(--table-header-bg);color:var(--primary-text);font-weight:600;text-transform:uppercase;letter-spacing:.5px}#leaderboardTable tbody tr:nth-child(2n){background-color:var(--input-bg)}#leaderboardTable tbody tr:hover{background-color:var(--table-row-hover-bg)}#leaderboardTable td{color:var(--secondary-text)}#leaderboardTable .col-actions{width:60px;white-space:nowrap;text-align:center}#leaderboardTable[data-is-totals-view=true] th.col-actions{display:none}#leaderboardTable th.col-actions{width:80px}#leaderboardTable .col-rank{width:45px;text-align:center}#leaderboardTable .col-avatar{display:none;width:48px;text-align:center}#leaderboardTable .col-name{word-break:break-all;padding-left:5px;padding-right:5px;display:flex;flex-direction:column;align-items:flex-start;justify-content:center;gap:2px}#leaderboardTable .col-score{width:110px;text-align:right;padding-right:10px}#leaderboardTable .score-container{display:flex;flex-direction:column;align-items:flex-end;justify-content:center;gap:2px}.col-score .token-amount{font-weight:600;line-height:1.1}.col-score .usd-value{font-size:.85em;color:var(--banner-text);opacity:.8;line-height:1}#leaderboardTable tbody tr:last-child td{border-bottom:none}.player-name{font-weight:600;line-height:1.2}.guild-name{font-size:.85em;color:var(--primary-text);opacity:.9;line-height:1.1}.player-avatar{width:36px;height:36px;border-radius:50%;object-fit:cover;vertical-align:middle;background-color:var(--input-bg);border:1px solid var(--border-color);opacity:0;transition:opacity .3s ease-in-out}.player-avatar.loaded{opacity:1}.action-buttons-container{display:inline-flex;justify-content:flex-start;align-items:center;gap:5px}.rewards-button,.add-remove-button{padding:6px 10px;border-radius:4px;cursor:pointer;font-size:1.2em;line-height:1;transition:background-color .2s ease,color .2s ease;width:36px;height:36px;display:flex;justify-content:center;align-items:center}.rewards-button{background-color:transparent;border:1px solid var(--primary-text);color:var(--primary-text)}.add-remove-button{background-color:transparent;border:none;color:var(--secondary-text);font-weight:700;padding:0;width:16px}.rewards-button:hover{background-color:var(--primary-text);color:var(--card-bg)}.add-remove-button:hover{background-color:transparent;color:var(--primary-text)}.rewards-button:focus,.add-remove-button:focus{outline:none}.rewards-button:focus-visible{background-color:var(--primary-text);color:var(--card-bg)}.add-remove-button:focus-visible{background-color:transparent;color:var(--primary-text)}#modalPlayerName{font-weight:400;color:var(--secondary-text)}.rewards-list{max-height:300px;overflow-y:auto;padding-right:10px}.rewards-list p{margin:8px 0;padding:8px 0;border-bottom:1px solid var(--reward-item-border);font-size:1em}.rewards-list p:last-child{border-bottom:none}.rewards-list .reward-name{font-weight:700;color:var(--primary-text)}.rewards-list .reward-value{color:var(--secondary-text)}.rewards-list .no-rewards,.rewards-list .empty-total{font-style:italic;color:var(--banner-text)}.clear-totals-button{background-color:var(--button-bg);color:var(--secondary-text);border:1px solid var(--border-color);padding:8px 16px;border-radius:6px;font-weight:600;cursor:pointer;transition:background-color .2s ease}.clear-totals-button:hover,.clear-totals-button:focus-visible{background-color:var(--button-hover)}.total-rewards-footer{display:flex;justify-content:center;margin-top:20px}.reward-breakdown-header,.seasonal-total-header{font-size:1.1em;color:var(--primary-text);margin-top:15px;margin-bottom:5px;padding-bottom:5px;border-bottom:1px solid var(--border-color)}.reward-breakdown-header:first-of-type{margin-top:0}.reward-breakdown-list{padding-left:10px}.reward-breakdown-list p{padding-top:4px;padding-bottom:4px;margin:4px 0}.rewards-separator{border:0;height:1px;background-image:linear-gradient(to right,rgba(0,0,0,0),var(--border-color),rgba(0,0,0,0));margin:20px 0}.seasonal-total-header{font-size:1.3em;text-align:center;margin-bottom:10px;border-bottom:none}@media (max-width: 600px){#leaderboardTable th,#leaderboardTable td{padding:10px 4px;font-size:.9em}}@media (min-width: 601px){.controls{flex-direction:row;align-items:center}#searchInput{width:auto}.leaderboard-filters{flex:3}#leaderboardTable{table-layout:auto}#leaderboardTable .col-avatar{display:table-cell}#leaderboardTable .col-name{width:auto}}.saved-players-container{position:absolute;top:calc(100% + 5px);left:0;right:0;background-color:#262c3a;border:1px solid var(--border-color);border-radius:8px;padding:12px 16px;z-index:10;box-shadow:0 8px 16px #0000004d;text-align:left}.saved-players-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:8px;padding-bottom:8px;font-size:.9em;color:#a0a0b0;border-bottom:1px solid var(--border-color)}.saved-players-header span{font-weight:600;text-transform:uppercase;letter-spacing:.5px}.clear-saved-players-button{background:none;border:none;color:#8ab4f8;cursor:pointer;padding:0;font-size:.9em}.clear-saved-players-button:hover{text-decoration:underline}.saved-players-list{display:flex;flex-direction:column;max-height:250px;overflow-y:auto}.saved-player-item{display:flex;justify-content:space-between;align-items:center;padding:10px 8px;border-radius:4px;cursor:pointer;transition:background-color .2s ease;border-bottom:1px solid var(--border-color)}.saved-player-item:last-child{border-bottom:none}.saved-player-item:hover{background-color:var(--table-row-hover-bg)}.saved-player-item-name{color:var(--secondary-text);font-weight:500}.saved-player-item .remove-player-button{background:none;border:none;color:#a0a0b0;cursor:pointer;font-size:1.5em;line-height:1;padding:0 5px;opacity:.7;transition:opacity .2s ease,color .2s ease}.saved-player-item .remove-player-button:hover{opacity:1;color:var(--error-text)}#calc-panel .main-container{width:100%}#calc-panel .main-container.playback-active{pointer-events:none}#calc-panel .status-section,#calc-panel .totals-section,#calc-panel .selector-section,#calc-panel .sacrifice-section,#calc-panel .charts-section,#calc-panel .costs-section,#calc-panel .section{background-color:var(--card-bg);border:2px solid var(--border-color);border-radius:8px;padding:20px 12px 12px;text-align:center;position:relative}#calc-panel .selector-section,#calc-panel .status-section,#calc-panel .sections-container,#calc-panel .totals-section,#calc-panel .sacrifice-section,#calc-panel .costs-section,#calc-panel .charts-section{margin-bottom:15px}#calc-panel select,#calc-panel input[type=number],#calculator-modal select{background-color:var(--input-bg);color:var(--primary-text);border:2px solid var(--border-color);border-radius:5px;padding:5px;font-size:1em;font-weight:700;transition:border-color .2s}#calc-panel input[type=checkbox]{accent-color:var(--primary-text);width:18px;height:18px;cursor:pointer}#calc-panel input[type=checkbox]:disabled{cursor:not-allowed;accent-color:#555}#calc-panel select:focus,#calc-panel input[type=number]:focus,#calculator-modal select:focus{border-color:var(--primary-text);outline:none}#calc-panel select option{background-color:var(--input-bg);color:var(--secondary-text);font-weight:400}#calc-panel input[type=number]{-moz-appearance:textfield}#calc-panel input::-webkit-outer-spin-button,#calc-panel input::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}#calc-panel .selector-section{padding-top:25px}#calc-panel .selector-grid{display:grid;grid-template-columns:1fr;gap:15px;align-items:start}#calc-panel .selector-group{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;margin-bottom:10px}#calc-panel .selector-row{display:flex;justify-content:center;align-items:center;flex-wrap:wrap;gap:10px;width:100%}#calc-panel .input-pair{display:flex;align-items:center;gap:8px}#calc-panel .input-pair--reverse{flex-direction:row-reverse}#calc-panel .selector-section label,#calc-panel .costs-section label{font-size:1.1em;margin:0}#calc-panel #start-levels-fieldset{border:1px dashed var(--border-color);border-radius:5px;padding:15px;display:flex;flex-direction:column;gap:10px;transition:opacity .3s ease;position:relative;margin-top:10px}#calc-panel #start-levels-fieldset:disabled{opacity:.5;cursor:not-allowed}#calc-panel #start-levels-fieldset legend{padding:0 10px;font-weight:700;color:var(--primary-text);background-color:var(--bg-color);position:relative;top:-2px;margin:0 auto;border:2px solid var(--border-color);border-radius:8px;font-size:1.2em}#calc-panel .cost-input{width:80px}#calc-panel .selector-buttons{display:flex;flex-direction:column;gap:10px;width:100%;max-width:200px}#calc-panel #reset-button{margin-top:8px;width:100%;max-width:200px}#calc-panel #target-calculator-btn,#calc-panel #log-button{width:100%}#calc-panel .costs-grid{display:grid;grid-template-columns:1fr;gap:10px}#calc-panel .cost-input-group{display:flex;flex-direction:column;align-items:center;gap:5px}#calc-panel .costs-grid .cost-input-group label{margin-bottom:4px}#calc-panel .buy-button{background-color:var(--button-bg);color:#fff;border:none;padding:6px 10px;border-radius:4px;font-size:.8em;cursor:pointer;transition:background-color .2s;width:110px;margin-top:4px}#calc-panel .buy-button:hover:not(:disabled){background-color:var(--button-hover)}#calc-panel .buy-button:disabled{background-color:var(--button-disabled);cursor:not-allowed;opacity:.7}#calc-panel h1,#calc-panel h2,#calc-panel h3{color:var(--primary-text);margin-top:0;font-size:1.2em;margin-bottom:8px}#calc-panel .status-section>h1,#calc-panel .section>h2,#calc-panel .totals-section>h3,#calc-panel .sacrifice-section>h3,#calc-panel .costs-section>h3,#calc-panel .charts-section>h3,#calc-panel .selector-section>h3{position:absolute;top:0;left:50%;transform:translate(-50%,-50%);background-color:var(--bg-color);padding:0 10px;margin:0;white-space:nowrap;border:2px solid var(--border-color);border-radius:8px}#calc-panel .status-display{display:flex;justify-content:center;font-size:1.1em;margin-bottom:0;flex-wrap:wrap;gap:30px}#calc-panel .status-display p{margin:0}#calc-panel .totals-grid,#calc-panel .sacrifice-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:8px;text-align:center}#calc-panel #total-cost-display{margin:4px 0 0;padding:4px 0 0;border-top:1px solid var(--border-color);font-size:1.1em;text-align:center}#calc-panel .totals-grid p,#calc-panel .sacrifice-grid p{margin:0;font-size:.9em;line-height:1.4}#calc-panel .totals-grid span,#calc-panel .sacrifice-grid span,#calc-panel #total-cost-value{color:var(--primary-text);font-weight:700;font-size:1.1em;display:block}#calc-panel #total-cost-value{display:inline}#calc-panel .usd-value{font-size:.8em;color:var(--secondary-text);opacity:.8}#calc-panel .chart-buttons-container{display:flex;justify-content:center;gap:15px;flex-wrap:wrap}#calc-panel .status-display span{color:var(--primary-text);font-weight:700}#calc-panel .sections-container{display:grid;grid-template-columns:1fr;gap:15px}#calc-panel .progress-info{background-color:var(--input-bg);border-left:4px solid var(--primary-text);padding:10px;margin:12px 0;border-radius:5px;text-align:left}#calc-panel .progress-info ul{list-style:none;padding-left:0;margin:8px 0 0}#calc-panel .progress-info li{margin-bottom:4px}#calc-panel .controls{display:flex;flex-direction:column;gap:10px;margin-top:15px}#calc-panel .control-group{display:flex;flex-direction:column;gap:8px}#calc-panel button{background-color:var(--button-bg);color:#fff;border:none;padding:10px 12px;border-radius:5px;font-size:.9em;cursor:pointer;transition:all .2s ease-in-out}#calc-panel button:hover:not(:disabled){background-color:var(--button-hover)}#calc-panel button:disabled{background-color:var(--button-disabled);cursor:not-allowed}@media (min-width: 768px){#calc-panel .sections-container{grid-template-columns:1fr 1fr}#calc-panel .totals-grid{grid-template-columns:repeat(4,1fr)}#calc-panel .selector-grid{grid-template-columns:repeat(3,1fr);align-items:start}#calc-panel .costs-grid{grid-template-columns:repeat(4,1fr)}}.modal-table-container{overflow-y:auto}#modal-table,#log-table{width:100%;border-collapse:collapse;margin-top:10px}#modal-table th,#modal-table td,#log-table th,#log-table td{border:1px solid var(--border-color);padding:8px 12px;text-align:left}#modal-table th,#log-table th{background-color:var(--input-bg);color:var(--primary-text);font-size:1.1em}#modal-table td,#log-table td{font-size:1em}.highlight-change{color:var(--primary-text);font-weight:700}.calculator-controls{display:flex;flex-direction:column;gap:15px;align-items:center}.calculator-selectors{display:flex;justify-content:center;gap:20px;margin-bottom:10px}.calculator-algorithm-buttons{display:flex;flex-direction:column;gap:10px;width:100%;max-width:300px}.calculator-algorithm-buttons button{background-color:var(--button-bg);color:var(--secondary-text);border:1px solid var(--border-color);padding:10px 16px;border-radius:6px;font-weight:600;cursor:pointer;transition:background-color .2s ease,transform .1s ease;font-size:1em}.calculator-algorithm-buttons button:hover:not(:disabled),.calculator-algorithm-buttons button:focus-visible{background-color:var(--button-hover);transform:translateY(-1px);outline:2px solid var(--primary-text);outline-offset:2px}.calculator-algorithm-buttons button:disabled{background-color:var(--button-disabled);cursor:not-allowed;border-color:#444;opacity:.6}.cost-display{font-weight:700;color:var(--secondary-text);margin-left:8px}.calculator-controls .input-pair label{font-size:1.1em}.calculator-controls .toggle-switch-container span{font-size:1em}.toggle-switch-container{display:flex;align-items:center;gap:10px;margin-bottom:15px}.toggle-switch{position:relative;display:inline-block;width:50px;height:24px}.toggle-switch input{opacity:0;width:0;height:0}.slider{position:absolute;cursor:pointer;inset:0;background-color:#555;transition:.4s;border-radius:24px}.slider:before{position:absolute;content:"";height:18px;width:18px;left:3px;bottom:3px;background-color:#fff;transition:.4s;border-radius:50%}input:checked+.slider{background-color:var(--primary-text)}input:checked+.slider:before{transform:translate(26px)}.playback-glow{box-shadow:0 0 15px 5px var(--primary-text);transform:scale(1.05)}#guardians-panel .container{padding-top:25px}#guardians-panel .controls{display:flex;flex-direction:row;align-items:center;gap:15px;margin-bottom:25px}#guardianSearchInput{flex:1;padding:12px 15px;border:1px solid var(--border-color);border-radius:6px;background-color:var(--input-bg);color:var(--secondary-text);font-size:1em;outline:none;transition:border-color .3s ease;box-sizing:border-box}#guardianSearchInput:focus{border-color:var(--primary-text)}.filter-button{flex-shrink:0;background-color:var(--input-bg);border:1px solid var(--border-color);color:var(--secondary-text);padding:8px;border-radius:6px;cursor:pointer;transition:all .2s ease;display:flex;align-items:center;justify-content:center}.filter-button svg{width:24px;height:24px;fill:var(--secondary-text);transition:fill .2s ease}.filter-button:hover,.filter-button:focus-visible{border-color:var(--primary-text);outline:none}.filter-button:hover svg,.filter-button:focus-visible svg{fill:var(--primary-text)}.filter-button.active{border-color:var(--primary-text);box-shadow:0 0 5px var(--primary-text)}.filter-button.active svg{fill:var(--primary-text)}#guardiansTable{width:100%;border-collapse:collapse;table-layout:fixed}#guardiansTable th,#guardiansTable td{padding:12px 15px;text-align:left;border-bottom:1px solid var(--border-color);vertical-align:middle}#guardiansTable th{background-color:var(--table-header-bg);color:var(--primary-text);font-weight:600;text-transform:uppercase;letter-spacing:.5px}#guardiansTable tbody tr:hover{background-color:var(--table-row-hover-bg)}#guardiansTable tbody tr:last-child td{border-bottom:none}.guardian-info-cell{width:35%}.guardian-wiki-link{color:inherit;text-decoration:none;display:flex;flex-direction:column;align-items:center;gap:8px;transition:transform .2s ease-in-out}.guardian-wiki-link:hover{transform:scale(1.03)}.guardian-avatar-frame{width:50px;height:50px;border-radius:50%;padding:3px;background-color:var(--input-bg);flex-shrink:0;position:relative;display:flex;align-items:center;justify-content:center;overflow:hidden}.guardian-avatar-frame:before{content:"sports_martial_arts";font-family:Material Symbols Outlined;font-variation-settings:"FILL" 0,"wght" 300;font-size:36px;color:var(--primary-text);position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);z-index:1;line-height:1;-webkit-font-smoothing:antialiased}.guardian-avatar-frame.rarity-common{border:3px solid #ffffff}.guardian-avatar-frame.rarity-rare{border:3px solid #007bff}.guardian-avatar-frame.rarity-epic{border:3px solid #8a2be2}.guardian-avatar-frame.rarity-legendary{border:3px solid #ffd700}.guardian-avatar{width:100%;height:100%;border-radius:50%;object-fit:cover;background-color:transparent;position:relative;z-index:2;opacity:0;transition:opacity .3s ease-in-out}.guardian-avatar.loaded{background-color:var(--input-bg);opacity:1}.guardian-name{font-weight:600;font-size:1.1em}.guardian-details-cell{width:45%}.guardian-details-list{list-style:none;padding:0;margin:0}.guardian-details-list li{margin-bottom:4px}.guardian-tokentrove-cell{width:20%;text-align:center}.tokentrove-guardian-link{display:inline-block;transition:transform .2s ease}.tokentrove-guardian-link:hover{transform:scale(1.1)}.tokentrove-guardian-logo{height:32px;opacity:.8}.tokentrove-guardian-link:hover .tokentrove-guardian-logo{opacity:1}#guardianFilterModal .modal-content{max-width:550px;max-height:90vh;background-color:#0c1427}.filter-options-container{display:grid;grid-template-columns:repeat(2,1fr);gap:15px 25px;margin-bottom:25px}.filter-group{border:1px solid #2a3b5f;border-radius:6px;padding:15px;margin:0;min-width:0}.filter-group legend{padding:0 8px;font-weight:700;color:var(--primary-text)}.filter-choices{display:flex;flex-direction:column;gap:12px;margin:10px 0 0}.filter-choice{display:flex;align-items:center;cursor:pointer;font-size:1em}.filter-choice input[type=checkbox]{-webkit-appearance:none;appearance:none;background-color:transparent;margin:0 10px 0 0;width:18px;height:18px;border:1px solid var(--secondary-text);border-radius:2px;display:grid;place-content:center;cursor:pointer;flex-shrink:0}.filter-choice input[type=checkbox]:before{content:"";width:10px;height:10px;transform:scale(0);transition:.12s transform ease-in-out;box-shadow:inset 1em 1em var(--primary-text);-webkit-clip-path:polygon(14% 44%,0 65%,50% 100%,100% 16%,80% 0%,43% 62%);clip-path:polygon(14% 44%,0 65%,50% 100%,100% 16%,80% 0%,43% 62%)}.filter-choice input[type=checkbox]:checked{border-color:var(--primary-text)}.filter-choice input[type=checkbox]:checked:before{transform:scale(1)}.filter-choice input[type=checkbox]:focus-visible{outline:2px solid var(--primary-text);outline-offset:2px}.modal-footer{display:flex;justify-content:center;gap:15px;margin-top:auto;padding-top:15px}.filter-action-button{padding:10px 25px;border-radius:6px;font-weight:600;cursor:pointer;transition:all .2s ease;font-size:1em;border:1px solid var(--border-color);background-color:#2a3b5f;color:var(--secondary-text)}.filter-action-button:hover{border-color:var(--primary-text);color:var(--primary-text)}.filter-action-button.primary{background-color:var(--button-bg);color:var(--secondary-text);border-color:var(--button-bg)}.filter-action-button.primary:hover{background-color:var(--button-hover);border-color:var(--button-hover);color:var(--secondary-text)}@media (max-width: 600px){#guardiansTable{table-layout:auto}#guardiansTable tbody tr{display:flex;align-items:center;margin-bottom:10px;border:1px solid var(--border-color);border-radius:8px;padding:15px;box-sizing:border-box}#guardiansTable td{border-bottom:none;padding:0}.guardian-info-cell{width:35%;flex-shrink:0}.guardian-details-cell{width:45%;padding-left:10px;box-sizing:border-box;border-left:1px solid var(--border-color);border-right:1px solid var(--border-color)}.guardian-tokentrove-cell{width:20%;display:flex;align-items:center;justify-content:center;padding:0 5px}.filter-options-container{grid-template-columns:1fr 1fr;gap:10px}.filter-choices{display:flex;flex-direction:column;gap:8px}.filter-choice{font-size:.85em}}#gear-panel .container{padding:20px}#gear-panel .tier-controls{display:flex;justify-content:center;align-items:center;gap:10px;margin:0 auto 5px}#gear-panel .randomize-button{background:transparent;border:none;color:var(--secondary-text);padding:4px;cursor:pointer;display:flex;align-items:center;justify-content:center;transition:transform .5s ease}#gear-panel .randomize-button:active{transform:rotate(360deg);outline:none}#gear-panel .randomize-button .material-symbols-outlined{font-size:28px;font-variation-settings:"FILL" 0,"wght" 400}#gear-panel .piece-tier-selector{display:block;width:-moz-fit-content;width:fit-content;-webkit-appearance:none;-moz-appearance:none;appearance:none;background-color:var(--input-bg);color:var(--primary-text);border:2px solid var(--border-color);border-radius:5px;padding:4px 22px 4px 8px;font-size:.9em;font-weight:700;cursor:pointer;transition:border-color .2s;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%23E27429' viewBox='0 0 16 16'%3E%3Cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708 .708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 5px center;background-size:12px}#gear-panel .piece-tier-selector:focus{border-color:var(--primary-text);outline:none}#gear-panel .gear-sections-container{display:grid;grid-template-columns:1fr;gap:20px;margin-bottom:25px}#gear-panel .gear-section,#gear-panel .gear-summary-section{background-color:var(--card-bg);border:2px solid var(--border-color);border-radius:8px;padding:25px 10px 10px;position:relative}#gear-panel .gear-section h2,#gear-panel .gear-summary-section h3{position:absolute;top:0;left:50%;transform:translate(-50%,-50%);background-color:var(--bg-color);padding:2px 15px;margin:0;color:var(--primary-text);font-size:1.3em;border:2px solid var(--border-color);border-radius:8px;white-space:nowrap}#gear-panel .stats-container{display:flex;flex-direction:column;gap:5px}.stat-row-wrapper{display:flex;flex-direction:column;gap:2px}#gear-panel .stat-row{display:grid;grid-template-columns:2fr 1fr 1fr;align-items:center;gap:5px}#gear-panel .stat-info{display:grid;grid-template-columns:2fr 1fr 1fr;gap:5px;margin-top:0}#gear-panel .range-info-text,#gear-panel .effective-info-text{font-size:.75em;color:var(--secondary-text);opacity:.7;text-align:center}#gear-panel .range-info-text{grid-column:1}#gear-panel .effective-info-text{grid-column:2}#gear-panel .stat-selector,#gear-panel .boost-selector{background-color:var(--input-bg);color:var(--secondary-text);border:1px solid var(--border-color);border-radius:5px;padding:2px 5px;font-size:.95em;width:100%;box-sizing:border-box;cursor:pointer}#gear-panel .stat-input{width:100%;background-color:var(--input-bg);color:var(--primary-text);border:1px solid var(--border-color);border-radius:5px;padding:2px 5px;font-size:1em;font-weight:700;text-align:center;box-sizing:border-box;-moz-appearance:textfield}#gear-panel .stat-input::-webkit-outer-spin-button,#gear-panel .stat-input::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}#gear-panel .stat-input::placeholder{color:var(--secondary-text);opacity:.5;font-weight:400;font-size:.8em}#gear-panel #gear-summary-list{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:5px;padding:0;margin:0;list-style:none}#gear-panel .summary-item{background-color:var(--input-bg);padding:5px;border-radius:6px;border-left:4px solid var(--primary-text);text-align:center;cursor:pointer;transition:background-color .2s ease}#gear-panel .summary-item:hover{background-color:var(--table-row-hover-bg)}#gear-panel .summary-item-name{font-weight:700;display:flex;align-items:center;justify-content:center;gap:8px;margin-bottom:5px}#gear-panel .summary-item-name .material-symbols-outlined{font-size:1.2em;opacity:.7;transition:opacity .2s ease}#gear-panel .summary-item:hover .summary-item-name .material-symbols-outlined{opacity:1}#gear-panel .summary-item-values{font-size:.9em;opacity:.9;display:flex;flex-wrap:wrap;align-items:baseline;gap:.3em;justify-content:center}#gear-panel .summary-item-points{color:var(--primary-text);font-weight:600}#gear-panel .summary-item-points.ideal-good{color:#27ae60}#gear-panel .summary-item-points.ideal-ok{color:var(--primary-text)}#gear-panel .summary-item-points.ideal-bad{color:var(--error-text)}#gear-panel .domain-bonus-container{display:flex;justify-content:center;align-items:center;gap:5px;margin-top:5px;padding-top:5px;border-top:1px solid var(--border-color)}#gear-panel .domain-bonus-container label{font-weight:600}#gear-panel .domain-bonus-selector{background-color:var(--input-bg);color:var(--secondary-text);border:1px solid var(--border-color);border-radius:5px;padding:2px 8px;font-size:.9em;cursor:pointer}#gear-panel .gear-io-container{display:flex;justify-content:center;gap:15px;margin-top:25px;padding-top:15px;border-top:1px solid var(--border-color)}#gear-panel .io-button{background-color:var(--button-bg);color:var(--secondary-text);border:1px solid var(--border-color);padding:10px 20px;border-radius:6px;font-weight:600;cursor:pointer;transition:all .2s ease;font-size:1em}#gear-panel .io-button:hover,#gear-panel .io-button:focus-visible{background-color:var(--button-hover);transform:translateY(-1px);outline:2px solid var(--primary-text);outline-offset:2px}@media (min-width: 768px){#gear-panel .gear-sections-container{grid-template-columns:repeat(2,1fr)}}#gearChartModal .modal-content{max-width:90%;width:800px}#gearChartModal .chart-container{width:100%;margin:20px 0}#gearChartModal #chartInfo{margin-top:15px;text-align:center;font-size:1.1em;color:var(--secondary-text);min-height:1.5em}#team-builder-panel .container{padding:20px}#team-builder-panel .team-builder-controls{display:flex;flex-direction:column;align-items:center;gap:15px;margin-bottom:25px;border-bottom:1px solid var(--border-color);padding-bottom:20px}#team-builder-panel .team-size-selector{border:none;padding:0;margin:0}#team-builder-panel .team-size-selector legend{font-weight:700;color:var(--primary-text);margin-bottom:8px;text-align:center}#team-builder-panel .team-size-selector label{margin:0 10px;cursor:pointer}#team-builder-panel .team-size-selector input[type=radio]{margin-right:5px;accent-color:var(--primary-text)}#team-builder-panel .team-actions{display:flex;gap:10px}#team-builder-panel .team-actions button{background-color:var(--input-bg);color:var(--secondary-text);border:1px solid var(--border-color);padding:8px 16px;border-radius:6px;font-weight:600;cursor:pointer;transition:all .2s ease}#team-builder-panel .team-actions button:hover{border-color:var(--primary-text);color:var(--primary-text)}#team-builder-panel .team-slots-container{display:grid;grid-template-columns:repeat(auto-fill,minmax(120px,1fr));gap:10px;background-color:var(--bg-color);padding:15px;border-radius:8px;border:1px solid var(--border-color);margin-bottom:25px}#team-builder-panel .team-slots-container.mode-15v15{display:flex;flex-direction:column;gap:20px;background-color:transparent;border:none;padding:0}.team-group{background-color:var(--bg-color);padding:15px;border-radius:8px;border:1px solid var(--border-color)}.team-group h3{margin:0 0 15px;text-align:center;color:var(--primary-text);font-size:1.2em}.team-group-grid{display:grid;grid-template-columns:repeat(5,1fr);gap:10px}.team-slot{aspect-ratio:1 / 1;border-radius:8px;position:relative;overflow:hidden;transition:all .2s ease}.team-slot.empty{border:2px dashed var(--border-color);display:flex;flex-direction:column;align-items:center;justify-content:center;color:var(--border-color);font-size:.8em;font-weight:500;cursor:pointer}.team-slot.empty:hover{border-color:var(--primary-text);color:var(--primary-text)}.team-slot.empty:before{content:"+";font-size:2.5em;line-height:1}.team-slot.filled{border:none;background-color:transparent}.team-slot.filled:hover .guardian-avatar{transform:scale(1.1)}.team-slot .guardian-name{position:absolute;bottom:0;left:0;right:0;background:linear-gradient(to top,rgba(0,0,0,.8),transparent);color:#fff;font-size:.9em;font-weight:600;padding:10px 5px 5px;text-align:center;text-shadow:1px 1px 3px black;z-index:2}.team-slot .remove-guardian-btn{position:absolute;top:5px;right:5px;background:#0009;color:#fff;border:none;border-radius:50%;width:24px;height:24px;font-size:16px;font-weight:700;line-height:24px;text-align:center;cursor:pointer;opacity:0;transition:opacity .2s ease;z-index:3}.team-slot:hover .remove-guardian-btn{opacity:1}.team-slot.hidden-slot{display:none}#team-builder-panel .guardian-pool-container{margin-top:20px}#team-builder-panel .guardian-pool-container h3{text-align:center;color:var(--primary-text)}#team-builder-panel .guardian-pool-controls{justify-content:center;margin-bottom:20px}#team-builder-panel #teamBuilderSearchInput{padding:12px 15px;border:1px solid var(--border-color);border-radius:6px;background-color:var(--input-bg);color:var(--secondary-text);font-size:1em;outline:none;transition:border-color .3s ease;box-sizing:border-box;width:100%;max-width:500px}#team-builder-panel #teamBuilderSearchInput:focus{border-color:var(--primary-text)}#team-builder-panel #teamBuilderSearchInput::-webkit-search-cancel-button{-webkit-appearance:none;appearance:none;height:20px;width:20px;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23E27429'%3E%3Cpath d='M19 6.41L17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z'/%3E%3C/svg%3E");background-repeat:no-repeat;background-size:contain;cursor:pointer;opacity:.7;transition:opacity .2s ease}#team-builder-panel #teamBuilderSearchInput::-webkit-search-cancel-button:hover{opacity:1}#team-builder-panel .guardian-pool-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(100px,1fr));gap:10px;max-height:500px;overflow-y:auto;padding:10px;background:var(--bg-color);border-radius:8px}#team-builder-panel .guardian-pool-card{position:relative;border-radius:6px;overflow:hidden;cursor:pointer;transition:transform .2s ease;aspect-ratio:1 / 1}#team-builder-panel .guardian-pool-card:hover{transform:scale(1.05);z-index:2}#team-builder-panel .guardian-pool-card .guardian-name{position:absolute;bottom:0;left:0;right:0;background:linear-gradient(to top,rgba(0,0,0,.8),transparent);color:#fff;font-size:.8em;font-weight:600;padding:8px 4px 4px;text-align:center;text-shadow:1px 1px 2px black;z-index:2}#team-builder-panel .add-guardian-btn{position:absolute;top:5px;right:5px;background:#000000b3;color:#fff;border:none;border-radius:50%;width:28px;height:28px;font-size:20px;font-weight:700;line-height:1;display:flex;align-items:center;justify-content:center;text-align:center;opacity:0;transition:opacity .2s ease;z-index:3}#team-builder-panel .guardian-pool-card:hover .add-guardian-btn{opacity:1}#team-builder-panel .guardian-pool-card.in-team{opacity:.6}#team-builder-panel .guardian-pool-card.in-team .add-guardian-btn{inset:0;width:100%;height:100%;border-radius:0;background:#00000080;color:#fff;font-size:80px;font-weight:300;line-height:.9;opacity:1;text-shadow:0 0 4px #000}#team-builder-panel .add-guardian-btn .material-symbols-outlined{font-size:20px}.team-slot.drag-over{border-style:solid!important;border-color:var(--primary-text)!important;background-color:var(--table-row-hover-bg);transform:scale(1.05)}.guardian-pool-card[draggable=true],.team-slot.filled[draggable=true]{cursor:grab}.dragging{opacity:.4;cursor:grabbing;transform:scale(.95);border:2px dashed var(--primary-text)}#team-builder-panel .guardian-avatar-frame{width:100%;height:100%;padding:3px;background-color:var(--input-bg);position:relative;display:flex;align-items:center;justify-content:center;box-sizing:border-box}#team-builder-panel .team-slot .guardian-avatar-frame{border-radius:8px;padding:0;overflow:hidden}#team-builder-panel .guardian-pool-card .guardian-avatar-frame{border-radius:6px}#team-builder-panel .guardian-avatar-frame:before{content:"sports_martial_arts";font-family:Material Symbols Outlined;font-variation-settings:"FILL" 0,"wght" 300;font-size:48px;color:var(--primary-text);position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);z-index:1;line-height:1;-webkit-font-smoothing:antialiased}#team-builder-panel .guardian-avatar-frame.rarity-common{border:3px solid #ffffff}#team-builder-panel .guardian-avatar-frame.rarity-rare{border:3px solid #007bff}#team-builder-panel .guardian-avatar-frame.rarity-epic{border:3px solid #8a2be2}#team-builder-panel .guardian-avatar-frame.rarity-legendary{border:3px solid #ffd700}#team-builder-panel .guardian-avatar{width:100%;height:100%;object-fit:cover;background-color:transparent;position:relative;z-index:2;opacity:0;transition:opacity .3s ease-in-out,transform .3s ease-in-out}#team-builder-panel .team-slot .guardian-avatar{border-radius:0}#team-builder-panel .guardian-pool-card .guardian-avatar{border-radius:3px}#team-builder-panel .guardian-avatar.loaded{background-color:var(--input-bg);opacity:1}#team-builder-panel .team-slot.filled .guardian-avatar.loaded{opacity:1}@media (min-width: 768px){#team-builder-panel .team-builder-controls{flex-direction:row;justify-content:space-between}}
