@font-face{font-family:ResourceHanRoundedCN;src:url(/%E6%BA%90%E5%9C%86%E5%AD%97%E4%BD%93/ResourceHanRoundedCN-Regular.woff2)format("woff2");font-weight:400;font-style:normal;font-display:swap}@font-face{font-family:ResourceHanRoundedCN;src:url(/%E6%BA%90%E5%9C%86%E5%AD%97%E4%BD%93/ResourceHanRoundedCN-Light.woff2)format("woff2");font-weight:300;font-style:normal;font-display:swap}@font-face{font-family:ResourceHanRoundedCN;src:url(/%E6%BA%90%E5%9C%86%E5%AD%97%E4%BD%93/ResourceHanRoundedCN-ExtraLight.woff2)format("woff2");font-weight:200;font-style:normal;font-display:swap}@font-face{font-family:ResourceHanRoundedCN;src:url(/%E6%BA%90%E5%9C%86%E5%AD%97%E4%BD%93/ResourceHanRoundedCN-Medium.woff2)format("woff2");font-weight:500;font-style:normal;font-display:swap}@font-face{font-family:ResourceHanRoundedCN;src:url(/%E6%BA%90%E5%9C%86%E5%AD%97%E4%BD%93/ResourceHanRoundedCN-Bold.woff2)format("woff2");font-weight:700;font-style:normal;font-display:swap}@font-face{font-family:ResourceHanRoundedCN;src:url(/%E6%BA%90%E5%9C%86%E5%AD%97%E4%BD%93/ResourceHanRoundedCN-Heavy.woff2)format("woff2");font-weight:800;font-style:normal;font-display:swap}:root{--gradient-primary:linear-gradient(135deg, #8ac4e2 0%, #b5dbe5 50%, #d3eed9 100%);--gradient-primary-hover:linear-gradient(135deg, #7bb5d6 0%, #a5d0de 50%, #c5e8cd 100%);--gradient-primary-active:linear-gradient(135deg, #6aa6ca 0%, #95c5d7 50%, #b7e2c1 100%);--color-primary:#5a9ab8;--color-primary-light:#8ac4e2;--color-primary-lighter:#b5dbe5;--color-primary-lightest:#d3eed9;--color-primary-dark:#3d8aad;--color-primary-darker:#2a7a9f;--text-on-gradient:#1a4d5c;--text-on-light-bg:#1e3a45;--text-primary:#2c3e50;--text-secondary:#546e7a;--shadow-primary:#8ac4e259;--shadow-primary-light:#8ac4e22e;--shadow-primary-subtle:#8ac4e21a;--border-primary:#8ac4e266;--border-primary-light:#8ac4e240;--bg-gradient-subtle:linear-gradient(135deg, #f0f8fc 0%, #e8f4f8 30%, #f0faf4 60%, #eaf6f1 100%)}html{background:#f5f7fa}*{box-sizing:border-box;-webkit-user-select:none;user-select:none;-webkit-tap-highlight-color:transparent;-webkit-touch-callout:none;margin:0;padding:0}:focus{outline:none!important}.element-tab,.pet-card,.selected-pet{transition:transform .15s,opacity .15s}.element-tab:active,.pet-card:active,.selected-pet:active{opacity:.75!important;transform:scale(.92)!important}button{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;backface-visibility:hidden;box-sizing:border-box;transition:transform .15s,opacity .15s;overflow:hidden}button:active{opacity:.75!important;transform:scale(.92)!important}body{background:var(--bg-gradient-subtle);min-height:100vh;color:var(--text-primary);-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-family:ResourceHanRoundedCN,Microsoft YaHei,sans-serif}input,textarea{-webkit-user-select:text;user-select:text}img{-webkit-user-drag:none;max-width:100%}.pet-layout-container img,#configPetPool img,#configPetLayoutSlots img,#petPool img,#petLayoutSlots img,.pet-pool-item img,.pet-slot img{-webkit-user-drag:element}@media print{body *{visibility:hidden}body:after{content:"该内容禁止打印";color:#666;font-size:24px;position:fixed;top:50%;left:50%;transform:translate(-50%,-50%)}}.container{max-width:1400px;margin:0 auto;padding:20px}header{background:var(--gradient-primary);box-shadow:0 10px 40px var(--shadow-primary);border-radius:20px;justify-content:center;align-items:center;gap:20px;margin-bottom:25px;padding:25px 30px;display:flex}header h1{background:linear-gradient(90deg,#fff,#f0f0f0);-webkit-text-fill-color:transparent;text-shadow:0 2px 10px #0000001a;-webkit-background-clip:text;background-clip:text;margin-bottom:2px;font-size:2.5em;font-weight:800}header p{color:#ffffffe6;font-size:1.1em}.main-content{grid-template-columns:1fr 400px;gap:25px;display:grid}.pets-section{background:#fff;border-radius:20px;padding:28px;box-shadow:0 4px 24px #0000000f,0 1px 4px #0000000a}.selected-section{background:#fff;border-radius:20px;height:fit-content;max-height:calc(100vh - 40px);padding:28px;position:sticky;top:20px;overflow-y:auto;box-shadow:0 4px 24px #0000000f,0 1px 4px #0000000a}.section-title{color:#2d3748;border-bottom:2px solid #eef0f2;align-items:center;gap:10px;padding-bottom:14px;font-size:1.25em;font-weight:700;display:flex}.section-title-row{border-bottom:2px solid #eef0f2;justify-content:space-between;align-items:center;margin-bottom:20px;padding-bottom:14px;display:flex}.section-title-row .section-title{border-bottom:none;margin-bottom:0;padding-bottom:0}.btn-group{gap:8px;display:flex}.btn-config{background:var(--gradient-primary);color:var(--text-on-gradient);cursor:pointer;box-shadow:0 3px 12px var(--shadow-primary-light), 0 0 0 1px transparent;border:none;border-radius:10px;padding:8px 18px;font-size:13px;font-weight:600;transition:all .25s;overflow:hidden}.btn-config:hover{box-shadow:0 6px 20px var(--shadow-primary), 0 0 0 1px #ffffff4d;box-shadow:0 6px 20px var(--shadow-primary);transform:translateY(-2px)}.section-title .icon{background:var(--gradient-primary);border-radius:9px;flex-shrink:0;justify-content:center;align-items:center;width:30px;height:30px;display:flex}.section-title .icon svg{fill:#fff;width:18px;height:18px}.element-tabs{flex-wrap:wrap;gap:10px;margin-bottom:24px;display:flex}@media (width<=900px){.element-tabs{grid-template-columns:repeat(3,1fr);display:grid}}.element-tab{cursor:pointer;color:#666;-webkit-user-select:none;user-select:none;background:#f5f5f5;border:none;border-radius:25px;align-items:center;gap:6px;padding:10px 20px;font-size:.9em;font-weight:500;transition:all .25s;display:flex;overflow:hidden;box-shadow:0 0 0 2px #0000}.element-tab:hover{transform:translateY(-2px);box-shadow:0 6px 20px #0000001a,0 0 0 2px #e0e0e0}.element-tab.active{transform:scale(1.04);box-shadow:0 6px 24px #0000002e}.element-tab:active{transform:scale(.95)}.pets-grid{grid-template-columns:repeat(auto-fill,minmax(130px,1fr));gap:18px;display:grid}.pet-card{cursor:pointer;text-align:center;background:#fff;border:none;border-radius:16px;padding:16px 12px;transition:all .3s cubic-bezier(.4,0,.2,1);position:relative;overflow:hidden;box-shadow:0 2px 12px #0000000a,0 0 0 2px #e8e8e8}.pet-card:hover{box-shadow:0 12px 32px var(--shadow-primary-subtle), 0 0 0 2px var(--color-primary-light);transform:translateY(-6px)}.pet-card.selected{background:linear-gradient(145deg,#fffbeb,#fef3c7);box-shadow:0 8px 28px #ffd70040,0 0 0 2px gold}.pet-card.in-team{opacity:.5}.pet-card:active{transform:scale(.95)}.pet-icon{background:linear-gradient(145deg,#f0f0f0,#e0e0e0);border-radius:50%;justify-content:center;align-items:center;width:85px;height:85px;margin:0 auto 10px;display:flex;overflow:hidden;box-shadow:inset 0 2px 10px #0000001a}.pet-icon img{object-fit:contain;width:75px;height:75px}.pet-icon.demo-icon{box-shadow:none!important;background:0 0!important}.pet-name{color:#333;margin-bottom:6px;font-size:.95em;font-weight:600}.pet-bonds{flex-wrap:wrap;justify-content:center;gap:2px;margin-top:4px;display:flex}.bond-mini-icon{border-radius:3px;width:16px;height:16px}.pet-level{background:var(--gradient-primary);color:var(--text-on-gradient);border-radius:12px;padding:4px 8px;font-size:.7em;font-weight:600;position:absolute;top:8px;right:8px}.pet-count{color:#fff;background:linear-gradient(135deg,#10b981,#059669);border-radius:12px;padding:4px 8px;font-size:.7em;font-weight:600;position:absolute;top:8px;left:8px}.selected-pets{min-height:180px;box-shadow:0 0 0 2px dashed #e2e5ea;background:linear-gradient(145deg,#f8f9fa,#f3f4f6);border:none;border-radius:16px;flex-wrap:wrap;justify-content:center;gap:12px;margin-bottom:20px;padding:20px 16px;display:flex}.selected-pet{cursor:pointer;background:#fff;border:none;border-radius:14px;flex-direction:column;align-items:center;width:80px;height:100px;padding:10px 6px;transition:all .3s cubic-bezier(.4,0,.2,1);display:flex;position:relative;overflow:hidden;box-shadow:0 2px 8px #0000000a,0 0 0 2px #e8e8e8}.selected-pet:hover{background:linear-gradient(145deg,#fff5f5,#fee2e2);transform:translateY(-4px)scale(1.05);box-shadow:0 8px 24px #ef444426,0 0 0 2px #ef4444}.selected-pet:active{opacity:.7;transform:scale(.92)}.selected-pet .slot-number{background:var(--gradient-primary);width:22px;height:22px;color:var(--text-on-gradient);z-index:5;box-shadow:0 1px 3px #00000040;box-shadow:0 3px 10px var(--shadow-primary-light);border-radius:50%;justify-content:center;align-items:center;font-size:.75em;font-weight:700;line-height:1;display:flex;position:absolute;top:2px;left:2px}.selected-pet .pet-icon{width:55px;height:55px}.selected-pet .pet-icon img{width:50px;height:50px}.selected-pet .pet-name{text-align:center;margin-top:5px;font-size:.7em}.empty-slot{width:80px;height:100px;box-shadow:0 0 0 2px dashed #d0d0d0;color:#bbb;background:#fafafa;border:none;border-radius:14px;flex-direction:column;justify-content:center;align-items:center;font-size:.75em;display:flex}.empty-slot .slot-num{margin-bottom:3px;font-size:1.2em}.slots-count{text-align:center;color:#666;margin-bottom:15px;font-size:1.05em}.slots-count span{color:var(--color-primary);font-weight:700}.fetter-section{margin-top:20px}.fetter-box{background:linear-gradient(145deg,#f8f9fa,#f0f0f0);border-radius:16px;margin-bottom:16px;padding:16px}.fetter-box-title{border-bottom:2px solid #e0e0e0;margin-bottom:14px;padding-bottom:10px;font-size:1.1em;font-weight:600}.fetter-box-active .fetter-box-title{color:#10b981;border-bottom-color:#10b981}.fetter-box-inactive .fetter-box-title{color:#9ca3af;border-bottom-color:#d1d5db}.fetter-sub-category{margin-bottom:14px}.fetter-sub-category:last-child{margin-bottom:0}.fetter-sub-title{color:#666;border-left:3px solid;margin-bottom:10px;padding-left:10px;font-size:.9em;font-weight:600}.fetter-sub-category:first-child .fetter-sub-title{color:#ff6b6b;border-color:#ff6b6b}.fetter-sub-category:nth-child(2) .fetter-sub-title{color:#4ecdc4;border-color:#4ecdc4}.fetter-sub-category:nth-child(3) .fetter-sub-title{color:#a29bfe;border-color:#a29bfe}.fetter-category{margin-bottom:22px}.fetter-category-title{color:#555;border-left:4px solid;align-items:center;gap:10px;margin-bottom:12px;padding-left:12px;font-size:1em;font-weight:600;display:flex}.fetter-category-title.element{border-color:#ff6b6b}.fetter-category-title.race{border-color:#4ecdc4}.fetter-category-title.feature{border-color:#a29bfe}.fetter-category-title img{border-radius:6px;width:26px;height:26px}.fetter-list{flex-direction:column;gap:10px;display:flex}.fetter-item{background:#fff;border:none;border-radius:14px;align-items:center;gap:14px;padding:16px;transition:all .3s cubic-bezier(.4,0,.2,1);display:flex;position:relative;overflow:hidden;box-shadow:0 1px 6px #00000005,0 0 0 1px #e8e8e8}.fetter-item:before{content:"";background:#d1d5db;width:4px;transition:all .3s;position:absolute;top:0;bottom:0;left:0}.fetter-item.level-1:before{background:linear-gradient(#10b981,#059669)}.fetter-item.level-2:before{background:linear-gradient(#3b82f6,#2563eb)}.fetter-item.level-3:before{background:linear-gradient(#8b5cf6,#7c3aed)}.fetter-item:hover{transform:translate(6px);box-shadow:0 6px 24px #00000014,0 0 0 1px #d0d0d0}.fetter-item.level-1:hover{box-shadow:0 6px 24px #10b98126,0 0 0 1px #10b981}.fetter-item.level-2:hover{box-shadow:0 6px 24px #3b82f626,0 0 0 1px #3b82f6}.fetter-item.level-3:hover{box-shadow:0 6px 24px #8b5cf633,0 0 0 1px #8b5cf6}.fetter-item.inactive{opacity:.5}.fetter-item.active-highlight{background:linear-gradient(145deg,#f0fdf4,#dcfce7)}.fetter-item.level-2.active-highlight{background:linear-gradient(145deg,#eff6ff,#dbeafe)}.fetter-item.level-3.active-highlight{background:linear-gradient(145deg,#f5f3ff,#ede9fe)}.fetter-icon{background:linear-gradient(145deg,#f0f0f0,#e8e8e8);border-radius:14px;flex-shrink:0;justify-content:center;align-items:center;width:50px;height:50px;display:flex;overflow:hidden;box-shadow:0 2px 8px #0000000a}.fetter-icon img{object-fit:contain;width:42px;height:42px}.fetter-info{flex:1;min-width:0}.fetter-name{color:#333;align-items:center;gap:4px;margin-bottom:4px;font-weight:600;display:inline-flex}.fetter-desc{color:#888;margin-bottom:4px;font-size:.8em}.fetter-value{border-radius:6px;margin-top:4px;padding:4px 10px;font-size:.8em;font-weight:700;display:inline-block}.fetter-value.level-1{color:#065f46;background:linear-gradient(135deg,#d1fae5,#a7f3d0)}.fetter-value.level-2{color:#1e40af;background:linear-gradient(135deg,#dbeafe,#bfdbfe)}.fetter-value.level-3{color:#5b21b6;background:linear-gradient(135deg,#ede9fe,#ddd6fe)}.fetter-badge{color:#fff;vertical-align:middle;border-radius:11px;justify-content:center;align-items:center;min-width:32px;height:22px;padding:0 8px;font-size:.75em;font-weight:700;display:inline-flex}.fetter-badge.level-0{background:#d1d5db}.fetter-badge.level-1{background:linear-gradient(135deg,#10b981,#059669);box-shadow:0 2px 8px #10b9814d}.fetter-badge.level-2{background:linear-gradient(135deg,#3b82f6,#2563eb);box-shadow:0 2px 8px #3b82f64d}.fetter-badge.level-3{background:linear-gradient(135deg,#8b5cf6,#7c3aed);box-shadow:0 2px 8px #8b5cf64d}.no-fetters{text-align:center;color:#999;padding:40px;font-size:1em}.btn-share{background:var(--gradient-primary);color:var(--text-on-gradient);cursor:pointer;box-shadow:0 2px 10px var(--shadow-primary-light), 0 0 0 1px transparent;border:none;border-radius:8px;align-items:center;gap:5px;padding:7px 16px;font-size:.8em;font-weight:600;transition:all .25s;display:flex;overflow:hidden}.btn-share:hover{box-shadow:0 4px 14px var(--shadow-primary), 0 0 0 1px #ffffff4d;box-shadow:0 5px 18px var(--shadow-primary);transform:translateY(-2px)}.btn-share:active{transform:scale(.95)}.btn-share svg{fill:#fff}.btn-share:disabled{opacity:.5;cursor:not-allowed}.btn-share-icon{cursor:pointer;background:#f3f4f6;border:none;border-radius:8px;justify-content:center;align-items:center;width:34px;height:34px;padding:0;transition:all .2s;display:flex;overflow:hidden;box-shadow:0 0 0 1px #e5e7eb}.btn-share-icon:hover{background:#e5e7eb;transform:scale(1.08)}.btn-share-icon:active{transform:scale(.95)}.btn-share-icon svg{fill:#6b7280}.btn-group .header-share{background:var(--gradient-primary);color:var(--text-on-gradient);cursor:pointer;box-shadow:0 3px 12px var(--shadow-primary-light), 0 0 0 1px transparent;border:none;border-radius:10px;padding:8px 16px;font-size:.9em;font-weight:600;transition:all .25s;overflow:hidden}.btn-group .header-share:hover{box-shadow:0 5px 18px var(--shadow-primary), 0 0 0 1px #ffffff4d;box-shadow:0 6px 20px var(--shadow-primary);transform:translateY(-2px)}.btn-group .header-share:active{transform:scale(.95)}.btn-group .header-share-icon{background:var(--gradient-primary);cursor:pointer;width:36px;height:36px;box-shadow:0 3px 12px var(--shadow-primary-light), 0 0 0 1px transparent;border:none;border-radius:10px;justify-content:center;align-items:center;padding:0;transition:all .2s;display:flex;overflow:hidden}.btn-group .header-share-icon:hover{box-shadow:0 5px 18px var(--shadow-primary), 0 0 0 1px #ffffff4d;box-shadow:0 6px 20px var(--shadow-primary);transform:translateY(-2px)}.btn-group .header-share-icon:active{transform:scale(.95)}.btn-group .header-share-icon svg{fill:#fff}.composite-btn{background:var(--gradient-primary);box-shadow:0 3px 12px var(--shadow-primary-light), 0 0 0 1px transparent;border:none;border-radius:10px;align-items:center;height:36px;transition:all .25s;display:inline-flex;overflow:hidden}.composite-btn:hover{box-shadow:0 5px 18px var(--shadow-primary), 0 0 0 1px #ffffff4d;transform:translateY(-2px)}.composite-btn-left,.composite-btn-right{color:#fff;cursor:pointer;background:0 0;border:none;justify-content:center;align-items:center;gap:4px;height:100%;padding:0 12px;font-size:.9em;font-weight:600;transition:all .2s;display:flex;position:relative;overflow:hidden}.composite-btn-left{border-radius:9px 0 0 9px;padding-left:10px;padding-right:10px}.composite-btn-right{white-space:nowrap;border-radius:0 9px 9px 0;padding-left:12px;padding-right:14px}.composite-btn-divider{background:#ffffff59;flex-shrink:0;width:1px;height:20px}.composite-btn-left:hover,.composite-btn-right:hover{background:#ffffff26}.composite-btn-left:active,.composite-btn-right:active{background:#ffffff40;transform:scale(.95)}.composite-btn-left svg,.composite-btn-right svg{fill:#fff;flex-shrink:0}.composite-btn-left:after,.composite-btn-right:after{content:"";opacity:0;pointer-events:none;background:#ffffff4d;border-radius:50%;width:0;height:0;transition:width .4s,height .4s,opacity .4s;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}.composite-btn-left:active:after,.composite-btn-right:active:after{opacity:0;width:120px;height:120px}.composite-btn-left[title]:before,.composite-btn-right[title]:before{content:attr(title);color:#fff;white-space:nowrap;opacity:0;pointer-events:none;z-index:100;background:#000c;border-radius:6px;padding:4px 10px;font-size:.75em;transition:all .2s;position:absolute;bottom:calc(100% + 8px);left:50%;transform:translate(-50%)translateY(4px)}.composite-btn-left:hover[title]:hover:before,.composite-btn-right:hover[title]:hover:before{opacity:1;transform:translate(-50%)translateY(0)}.modal-overlay{z-index:1000;opacity:0;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);background:#0000008c;justify-content:center;align-items:center;width:100%;height:100%;transition:opacity .3s;display:none;position:fixed;top:0;left:0}.modal-overlay.show{opacity:1;display:flex}.modal-content{opacity:0;background:#fff;border-radius:18px;flex-direction:column;width:90%;max-width:400px;max-height:90vh;transition:opacity .35s cubic-bezier(.4,0,.2,1),transform .35s cubic-bezier(.4,0,.2,1);display:flex;transform:translateY(-30px)scale(.97);box-shadow:0 25px 80px #0000004d}.modal-overlay.show .modal-content{opacity:1;transform:translateY(0)scale(1)}.modal-header{border-bottom:1px solid #eef0f2;flex-shrink:0;justify-content:space-between;align-items:center;padding:18px 24px;display:flex}.modal-header h3{color:#1f2937;margin:0;font-size:1.1em;font-weight:700}.modal-close{cursor:pointer;background:0 0;border:none;border-radius:8px;justify-content:center;align-items:center;width:30px;height:30px;padding:0;transition:all .2s;display:flex}.modal-close:hover{background:#f3f4f6;transform:rotate(90deg)}.modal-close svg{fill:#6b7280}.modal-body{-webkit-overflow-scrolling:touch;flex:1;padding:24px;overflow-y:auto}.modal-large .modal-content{max-width:550px}.config-section{border-bottom:1px solid #e5e7eb;margin-bottom:24px;padding-bottom:20px}.config-section:last-child{border-bottom:none;margin-bottom:0;padding-bottom:0}.config-section h4{color:#1f2937;margin:0 0 12px;font-size:1em;font-weight:600}.setting-group{margin-bottom:20px}.setting-group:last-child{margin-bottom:0}.setting-group label{color:#374151;margin-bottom:10px;font-size:.9em;font-weight:600;display:block}.setting-group input[type=text]{color:#1f2937;box-sizing:border-box;border:none;border-radius:8px;width:100%;padding:10px 14px;font-size:.9em;transition:box-shadow .2s;box-shadow:0 0 0 1px #d1d5db}.setting-group input[type=text]:focus{box-shadow:0 0 0 1px var(--color-primary-light), 0 0 0 3px var(--shadow-primary-subtle);outline:none}.checkbox-group{flex-direction:column;gap:12px;display:flex}.checkbox-item{cursor:pointer;color:#4b5563;align-items:center;padding-left:32px;font-size:.9em;display:flex;position:relative}.checkbox-item input{opacity:0;cursor:pointer;position:absolute}.checkmark{border:none;border-radius:5px;width:20px;height:20px;transition:all .2s;position:absolute;top:50%;left:0;transform:translateY(-50%);box-shadow:0 0 0 2px #d1d5db}.checkbox-item:hover .checkmark{box-shadow:0 0 0 2px var(--color-primary-light)}.checkbox-item input:checked~.checkmark{background:var(--gradient-primary);box-shadow:0 0 0 2px var(--color-primary-light)}.checkbox-item input:checked~.checkmark:after{content:"";border:2px solid #fff;border-width:0 2px 2px 0;width:5px;height:10px;position:absolute;top:2px;left:6px;transform:rotate(45deg)}.setting-group select{color:#374151;cursor:pointer;appearance:none;background:#fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%236b7280' d='M6 8L1 3h10z'/%3E%3C/svg%3E") right 12px center no-repeat;border:none;border-radius:8px;width:100%;padding:10px 14px;font-family:inherit;font-size:.9em;box-shadow:0 0 0 1px #d1d5db}.setting-group select:focus{box-shadow:0 0 0 1px var(--color-primary-light), 0 0 0 3px var(--shadow-primary-subtle);outline:none}.enemy-slots{grid-template-rows:repeat(5,1fr);grid-template-columns:repeat(3,1fr);gap:2px;padding:2px;display:grid}.enemy-slots .pet-slot{background:#ffffff14;border:2px dashed #fff3;border-radius:6px;width:100%}.enemy-slots .pet-slot.has-pet{justify-content:center;align-items:center;display:flex}.enemy-slots .pet-icon-small{background:#fffffff2;border-radius:50%;justify-content:center;align-items:center;width:28px;height:28px;display:flex;box-shadow:0 2px 6px #00000040}.enemy-slots .pet-icon-small img{object-fit:contain;width:22px;height:22px}.enemy-slots .pet-level-label{color:#fff;white-space:nowrap;background:#0009;border-radius:3px;padding:1px 4px;font-size:9px;position:absolute;bottom:2px;left:50%;transform:translate(-50%)}.pet-layout-container.enemy-layout{justify-content:center}.pet-layout-container.enemy-layout .map-preview{width:280px}.pet-layout-container.enemy-layout .map-title{text-align:center;color:#6b7280;margin-bottom:8px;font-size:.85em}.pet-layout-container.enemy-layout .pet-slots{position:absolute;inset:25px 0 0}#configEnemyLayoutSlots{z-index:3;grid-template-rows:repeat(5,1fr);grid-template-columns:repeat(3,1fr);gap:2px;width:50%;height:100%;padding:2px;display:grid;position:absolute;top:0;left:auto;right:0}#configEnemyLayoutSlots .pet-slot{background:#ffffff14;border:2px dashed #fff3;border-radius:6px;width:100%}#configEnemyLayoutSlots .pet-slot.has-pet{cursor:pointer;justify-content:center;align-items:center;display:flex}#configEnemyLayoutSlots .pet-slot.has-pet:hover{background:#8ac4e24d}#configEnemyLayoutSlots .pet-icon-small{background:#fffffff2;border-radius:50%;justify-content:center;align-items:center;width:28px;height:28px;display:flex;box-shadow:0 2px 6px #00000040}#configEnemyLayoutSlots .pet-icon-small img{object-fit:contain;object-fit:contain;width:100%;height:100%}.modal-footer{border-top:1px solid #e5e7eb;flex-shrink:0;justify-content:flex-end;gap:12px;padding:16px 20px;display:flex}.btn-cancel{color:#4b5563;cursor:pointer;background:#f3f4f6;border:none;border-radius:8px;padding:8px 20px;font-size:.85em;font-weight:500;transition:all .2s;overflow:hidden;box-shadow:0 0 0 1px #d1d5db}.btn-cancel:hover{background:#e5e7eb}.btn-confirm{background:var(--gradient-primary);color:var(--text-on-gradient);cursor:pointer;border:none;border-radius:8px;padding:8px 20px;font-size:.85em;font-weight:600;transition:all .2s;overflow:hidden;box-shadow:0 0 0 1px #0000}.btn-confirm:hover{box-shadow:0 3px 10px var(--shadow-primary-light), 0 0 0 1px #ffffff4d;box-shadow:0 4px 12px var(--shadow-primary);transform:scale(1.02)}.pet-layout-container{flex-direction:column;gap:15px;display:flex}.map-preview{background:#1a1a2e;border-radius:12px;width:100%;height:200px;position:relative;overflow:hidden}.map-preview:before{content:"";z-index:5;pointer-events:none;background:linear-gradient(#0000,#ffffff80,#0000);width:2px;height:100%;position:absolute;top:0;left:50%}@media (height<=600px){.map-preview{height:180px}}.map-bg{object-fit:cover;height:100%;position:absolute;top:0}.map-left{width:50%;left:0}.map-right{width:50%;right:0}.pet-slots{grid-template-rows:repeat(5,1fr);grid-template-columns:repeat(3,1fr);gap:4px;width:50%;height:100%;padding:8px;display:grid;position:absolute;top:0;left:0}.pet-slots.enemy-side{gap:2px;width:50%;padding:2px;left:auto;right:0}.pet-slots.enemy-side .pet-slot{background:0 0;border:2px dashed #ffffff40;border-radius:6px}.pet-slots.enemy-side .pet-slot.empty{background:0 0;border:2px dashed #ffffff40}.pet-slots.enemy-side .pet-slot.has-pet{background:#ffffffd9;border:none}.pet-slots.enemy-side .pet-icon-small{background:#fffffff2;border-radius:50%;justify-content:center;align-items:center;width:28px;height:28px;display:flex;box-shadow:0 2px 6px #00000040}.pet-slots.enemy-side .pet-icon-small img{object-fit:contain;width:22px;height:22px}.pet-slots.enemy-side .pet-level-label{color:#fff;white-space:nowrap;background:#0009;border-radius:3px;padding:1px 4px;font-size:9px;position:absolute;bottom:2px;left:50%;transform:translate(-50%)}.pet-slot{cursor:pointer;border-radius:8px;justify-content:center;align-items:center;transition:all .2s;display:flex}.pet-slot.empty{border:2px dashed #ffffff4d}.pet-slot.has-pet{background:#ffffff26}.pet-slot.enemy-slot.empty{background:#ef44441a;border-color:#ef44444d}.pet-slot.enemy-slot.has-pet{background:#ef444426}.pet-slot.enemy-slot:hover{background:#ef444466}.enemy-pet-detail-modal{border-radius:12px;max-width:180px;overflow:hidden}@media (width>=768px){.enemy-pet-detail-modal{max-width:200px;max-height:280px}.enemy-pet-detail-modal .modal-header{padding:10px 14px}.enemy-pet-detail-modal .modal-header .pet-name{font-size:16px}.enemy-pet-detail-modal .modal-header .pet-level-badge{padding:3px 8px;font-size:12px}.enemy-pet-detail-modal .modal-header .modal-close{width:24px;height:24px}.enemy-pet-detail-modal .modal-header .modal-close svg{width:14px;height:14px}.enemy-pet-detail-stats{padding:12px 14px}.enemy-pet-detail-stats .stat-grid{gap:8px}.enemy-pet-detail-stats .stat-item{padding:6px 8px}.enemy-pet-detail-stats .stat-label{font-size:10px}.enemy-pet-detail-stats .stat-value{font-size:14px}}.enemy-pet-detail-modal .modal-body{padding:0}.enemy-pet-detail-modal .modal-header{color:#333;background:#fff;border-bottom:1px solid #e5e7eb;justify-content:space-between;align-items:center;padding:8px 10px;display:flex}.enemy-pet-detail-modal .modal-header .pet-info{flex:1;align-items:center;gap:6px;display:flex}.enemy-pet-detail-modal .modal-header .pet-name{font-size:14px;font-weight:700}.enemy-pet-detail-modal .modal-header .pet-level-badge{color:#666;background:#f3f4f6;border-radius:8px;padding:2px 6px;font-size:11px}.enemy-pet-detail-modal .modal-header .modal-close{cursor:pointer;background:#f3f4f6;border:none;border-radius:50%;flex-shrink:0;justify-content:center;align-items:center;width:20px;height:20px;padding:0;display:flex}.enemy-pet-detail-modal .modal-header .modal-close:hover{background:#e5e7eb}.enemy-pet-detail-modal .modal-header .modal-close svg{fill:#666;width:12px;height:12px}.enemy-pet-detail-stats{padding:8px 10px}.enemy-pet-detail-stats .stat-grid{grid-template-columns:repeat(3,1fr);gap:6px;display:grid}.enemy-pet-detail-stats .stat-item{text-align:center;background:#f9fafb;border-radius:4px;padding:4px 6px}.enemy-pet-detail-stats .stat-label{color:#6b7280;margin-bottom:2px;font-size:9px}.enemy-pet-detail-stats .stat-value{color:#1f2937;font-size:12px;font-weight:700}.enemy-pet-detail-stats .stat-value.hp{color:#10b981}.enemy-pet-detail-stats .stat-value.atk{color:#ef4444}.enemy-pet-detail-stats .stat-value.def{color:#3b82f6}.enemy-pet-detail-stats .stat-value.spd{color:#f59e0b}.bond-pets-modal{flex-direction:column;max-width:320px;max-height:80vh;display:flex}.bond-pets-modal .modal-body{padding:10px;overflow-y:auto}.bond-pets-list{flex-wrap:wrap;gap:8px;display:flex}.bond-pet-item{cursor:pointer;background:#f9fafb;border-radius:8px;flex-direction:column;align-items:center;gap:4px;width:52px;padding:6px;transition:all .15s;display:flex}.bond-pet-item:hover{background:#e5e7eb;transform:scale(1.05)}.bond-pet-item.selected{box-shadow:0 0 0 1px var(--color-primary-light);background:#8ac4e226}.bond-pet-item.selected .bond-pet-icon{filter:grayscale();opacity:.6}.bond-pet-item.selected:after{content:"已选";color:var(--color-primary);font-size:9px;font-weight:700}.bond-pet-icon{background:#fff;border-radius:50%;justify-content:center;align-items:center;width:36px;height:36px;display:flex;box-shadow:0 1px 3px #0000001a}.bond-pet-icon img{border-radius:50%;width:30px;height:30px}.bond-pet-name{color:#374151;text-align:center;text-overflow:ellipsis;white-space:nowrap;max-width:50px;font-size:10px;overflow:hidden}.bond-empty{text-align:center;color:#9ca3af;padding:20px;font-size:13px}.pet-slot:hover{background:#8ac4e266}.pet-slot .pet-icon-small{background:#ffffffe6;border-radius:50%;justify-content:center;align-items:center;width:36px;height:36px;display:flex;box-shadow:0 2px 8px #0000004d}.pet-slot .pet-icon-small img{object-fit:contain;pointer-events:none;-webkit-user-drag:none;width:30px;height:30px}.pet-pool{background:#f3f4f6;border:2px dashed #e2e5ea;border-radius:10px;flex-wrap:wrap;gap:8px;min-height:50px;padding:10px;transition:background .2s,border .2s;display:flex}.pet-pool.drag-over{background:#d1fae5;border-color:#10b981}.pet-pool-item{cursor:grab;background:#fff;border-radius:50%;justify-content:center;align-items:center;width:40px;height:40px;transition:transform .2s;display:flex;box-shadow:0 2px 6px #00000026}.pet-pool-item:hover{transform:scale(1.1)}.pet-pool-item:active{cursor:grabbing}.pet-pool-item img,.pet-slot .pet-icon-small img{object-fit:contain;pointer-events:none;-webkit-user-drag:none;width:32px;height:32px}.pet-slot .pet-icon-small img{width:30px;height:30px}.mobile-drag-ghost{box-shadow:0 8px 20px var(--shadow-primary);background:#fff;border-radius:50%;justify-content:center;align-items:center;display:flex;width:40px!important;height:40px!important}.mobile-drag-ghost img{pointer-events:none;width:32px!important;height:32px!important}.dragging-source{opacity:.4;transform:scale(.9)}.pet-slot.drop-target{transform:scale(1.05);border:2px dashed var(--color-primary-light)!important;background:#8ac4e266!important}@media (hover:none) and (pointer:coarse){.pet-pool-item{cursor:pointer;-webkit-touch-callout:none}.pet-pool-item:active{transform:scale(.95)}.pet-slot{cursor:pointer}.pet-slot:active{transform:scale(.95)}}.fetter-section .section-title-row{border-bottom:none;justify-content:space-between;align-items:center;margin-bottom:15px;padding-bottom:0;display:flex}.fetter-section .section-title-row .section-title{border-bottom:none;margin-bottom:0;padding-bottom:0}.tips{color:#92400e;background:linear-gradient(145deg,#fef8e7,#fef3cd);border-left:4px solid #f59e0b;border-radius:12px;margin-top:18px;padding:14px 18px;font-size:.85em;line-height:1.6}.tips:before{content:"💡 "}.fetter-stat{text-align:center;background:linear-gradient(145deg,#f8f9fa,#f0f1f3);border:none;border-radius:16px;justify-content:space-around;gap:8px;margin-bottom:18px;padding:20px;display:flex;box-shadow:0 0 0 1px #e5e7eb}.stat-item{flex-direction:column;flex:1;display:flex}.stat-value{background:var(--gradient-primary);-webkit-text-fill-color:transparent;-webkit-background-clip:text;background-clip:text;font-size:2em;font-weight:800;line-height:1.2}.stat-label{color:#888;margin-top:6px;font-size:.8em;font-weight:500}.collapse-btn{cursor:pointer;opacity:.7;background:0 0;border:none;justify-content:center;align-items:center;margin-left:auto;padding:5px;transition:opacity .2s,transform .15s;display:flex}.collapse-btn:hover{opacity:1}.collapse-btn:active{opacity:.6;transform:scale(.9)}.collapse-btn svg{fill:#666;width:24px;height:24px;transition:transform .3s}.collapse-btn.collapsed svg{transform:rotate(-90deg)}.pets-content{opacity:1;max-height:2000px;transition:max-height .4s,opacity .3s;overflow:hidden}.pets-content.collapsed{opacity:0;max-height:0}@media (width<=900px){.main-content{grid-template-columns:1fr}.selected-section{max-height:none;padding:15px;position:static}.section-title-row{flex-direction:row;align-items:center}.section-title-row .section-title{font-size:1.1em}.btn-clear{padding:6px 12px;font-size:.75em}.selected-pets{justify-content:center}.selected-pet,.empty-slot{width:calc(33.3333% - 8px);max-width:110px;height:auto;min-height:90px}.selected-pet .pet-icon{width:50px;height:50px}.selected-pet .pet-icon img{width:45px;height:45px}.selected-pet .pet-name{font-size:.65em}.pets-section{padding:15px}.pets-grid{grid-template-columns:repeat(3,1fr);gap:10px;display:grid}.pet-card{width:100%;padding:10px 5px}.pet-card .pet-icon{width:55px;height:55px}.pet-card .pet-icon img{width:48px;height:48px}.pet-card .pet-name{font-size:.8em}.pet-card .bond-mini-icon{width:14px;height:14px}.collapse-btn{display:flex}}.player-pet-stats-container{gap:16px;min-height:280px;display:flex}.player-pet-nav{background:#f8f9fa;border:none;border-radius:12px;flex-direction:column;flex-shrink:0;gap:8px;width:70px;padding:8px;display:flex;box-shadow:0 0 0 1px #e5e7eb}.player-pet-nav-item{cursor:pointer;background:#fff;border:none;border-radius:10px;justify-content:center;align-items:center;width:54px;height:54px;transition:all .2s;display:flex;position:relative;overflow:hidden;box-shadow:0 0 0 2px #0000}.player-pet-nav-item:hover{box-shadow:0 0 0 2px var(--color-primary-light);transform:scale(1.05)}.player-pet-nav-item.active{box-shadow:0 0 0 2px var(--color-primary-light);background:#8ac4e21a}.player-pet-nav-item.empty{cursor:default;background:#f3f4f6;border:2px dashed #d1d5db}.player-pet-nav-item.empty:hover{border-color:#d1d5db;transform:none}.player-pet-nav-item img{object-fit:contain;border-radius:8px;width:40px;height:40px}.player-pet-nav-item .slot-number{background:var(--color-primary);color:#fff;border-radius:50%;justify-content:center;align-items:center;width:16px;height:16px;font-size:9px;font-weight:700;display:flex;position:absolute;top:2px;left:2px}.player-pet-nav-item.empty .slot-number{background:#9ca3af}.player-pet-stats-panel{flex-direction:column;flex:1;min-width:0;display:flex}.stats-empty-hint{box-shadow:0 0 0 1px dashed #e5e7eb;background:#f9fafb;border:none;border-radius:12px;flex:1;justify-content:center;align-items:center;display:flex}.stats-empty-hint p{color:#9ca3af;font-size:13px}.stats-edit-area{background:#fafafa;border:none;border-radius:12px;flex-direction:column;flex:1;padding:12px;display:flex;box-shadow:0 0 0 1px #e5e7eb}.stats-pet-header{border-bottom:1px solid #e5e7eb;align-items:center;gap:12px;margin-bottom:12px;padding-bottom:12px;display:flex}.stats-pet-icon{background:#fff;border:none;border-radius:10px;justify-content:center;align-items:center;width:50px;height:50px;display:flex;overflow:hidden;box-shadow:0 0 0 2px #e5e7eb}.stats-pet-icon img{object-fit:contain;width:44px;height:44px}.stats-pet-info{flex:1}.stats-pet-name{color:#1f2937;flex-wrap:wrap;align-items:center;gap:6px;margin-bottom:4px;font-size:14px;font-weight:600;display:flex}.hb-pet-trait{color:var(--text-on-gradient);background:var(--gradient-primary);white-space:nowrap;border-radius:8px;padding:1px 8px;font-size:11px;font-weight:500}.hb-pet-fetters{background:#f9fafb;border-radius:10px;align-items:center;gap:10px;margin-bottom:2px;padding:10px 14px;display:flex}.hb-pet-evolution-item{flex-shrink:0;align-items:center;gap:6px;display:flex}.hb-pet-evolution-icon{object-fit:contain;border-radius:4px;width:28px;height:28px}.hb-pet-evolution-name{color:#374151;white-space:nowrap;font-size:11px;font-weight:500}.hb-pet-fetters-right{align-items:center;gap:10px;margin-left:auto;display:flex}.hb-pet-fetter-item{flex-direction:column;align-items:center;gap:4px;display:flex}.hb-pet-fetter-icon{cursor:pointer;border-radius:4px;width:26px;height:26px;transition:transform .2s}.hb-pet-fetter-icon:hover{transform:scale(1.25)}.hb-fetters-divider{background:#e5e7eb;height:1px;margin:8px 0}.hb-pet-fetter-name{color:#9ca3af;white-space:nowrap;font-size:9px;line-height:1}.stats-pet-level{color:#6b7280;align-items:center;gap:6px;font-size:12px;display:flex}.stats-pet-level input{text-align:center;color:#374151;border:none;border-radius:4px;width:55px;padding:3px 6px;font-size:12px;box-shadow:0 0 0 1px #d1d5db}.stats-pet-level input:focus{box-shadow:0 0 0 1px var(--color-primary-light);outline:none}.stats-items{flex-direction:column;flex:1;gap:6px;display:flex}.stats-item{background:#fff;border:none;border-radius:8px;align-items:center;gap:10px;padding:6px 8px;display:flex;box-shadow:0 0 0 1px #e5e7eb}.stats-item-icon{flex-shrink:0;justify-content:center;align-items:center;width:28px;height:28px;display:flex}.stats-item-icon img{object-fit:contain;width:24px;height:24px}.stats-item-content{flex:1;align-items:center;gap:6px;min-width:0;display:flex}.stats-item-label{color:#6b7280;flex-shrink:0;min-width:24px;font-size:12px;font-weight:500}.stats-item-value{color:#374151;cursor:pointer;border-radius:4px;flex-shrink:0;width:42px;padding:2px 4px;font-size:12px;font-weight:600;transition:color .15s,transform .15s}.stats-item-value:hover{color:#ef4444;background:#ef44441a}.stats-item-value:active{transform:scale(.95)}.stats-item-bar{flex:1;gap:4px;height:18px;display:flex}.bar-segment{cursor:pointer;background-image:url(/%E7%8E%A9%E5%AE%B6%E8%B7%9F%E5%AE%A0%E9%9D%A2%E6%9D%BF/%E7%A9%BA%E8%BF%9B%E5%BA%A6%E6%9D%A1.webp);background-position:50%;background-repeat:no-repeat;background-size:contain;border-radius:2px;flex-shrink:0;width:16px;height:100%;transition:transform .1s}.bar-segment:hover{transform:scaleY(1.1)}.bar-segment.filled{background-image:url(/%E7%8E%A9%E5%AE%B6%E8%B7%9F%E5%AE%A0%E9%9D%A2%E6%9D%BF/%E5%AE%9E%E8%BF%9B%E5%BA%A6%E6%9D%A1.webp)}@media (width<=500px){.player-pet-stats-container{flex-direction:column}.player-pet-nav{flex-flow:wrap;justify-content:center;width:100%}.player-pet-nav-item{width:48px;height:48px}.player-pet-nav-item img{width:36px;height:36px}}.top-nav{background:var(--gradient-primary);color:var(--text-on-gradient);box-shadow:0 2px 12px var(--shadow-primary);z-index:100;justify-content:space-between;align-items:center;padding:8px 20px;display:flex;position:sticky;top:0}.nav-home-btn{color:#fff;cursor:pointer;background:#ffffff2e;border:none;border-radius:20px;align-items:center;gap:6px;padding:8px 16px;font-size:.85em;font-weight:500;transition:all .25s;display:flex;overflow:hidden;box-shadow:0 0 0 1px #ffffff4d}.nav-home-btn:hover{background:#ffffff47;transform:translateY(-1px)}.nav-home-btn svg{fill:#fff}.nav-title{letter-spacing:.5px;color:#ffffffd9;font-size:1em;font-weight:800}.nav-spacer{width:100px}@media (width<=600px){.top-nav{padding:6px 12px}.nav-home-btn{padding:6px 12px;font-size:.8em}.nav-title{font-size:.85em}.nav-spacer{width:60px}}.home-body{background:var(--bg-gradient-subtle);justify-content:center;align-items:center;min-height:100vh;display:flex;position:relative;overflow:hidden}.home-bg-decor{pointer-events:none;z-index:0;position:fixed;inset:0}.home-bg-circle{opacity:.5;border-radius:50%;position:absolute}.home-bg-circle-1{background:radial-gradient(circle,#8ac4e226 0%,#8ac4e200 70%);width:500px;height:500px;animation:8s ease-in-out infinite homeCircleFloat;top:-150px;right:-100px}.home-bg-circle-2{background:radial-gradient(circle,#b5dbe51f 0%,#b5dbe500 70%);width:400px;height:400px;animation:10s ease-in-out infinite reverse homeCircleFloat;bottom:-100px;left:-80px}.home-bg-circle-3{background:radial-gradient(circle,#d3eed91a 0%,#d3eed900 70%);width:300px;height:300px;animation:6s ease-in-out infinite homePulse;top:50%;left:50%;transform:translate(-50%,-50%)}@keyframes homeCircleFloat{0%,to{transform:translate(0)}50%{transform:translate(20px,-20px)}}@keyframes homePulse{0%,to{opacity:.5;transform:translate(-50%,-50%)scale(1)}50%{opacity:.3;transform:translate(-50%,-50%)scale(1.2)}}.home-container{text-align:center;z-index:1;width:100%;max-width:720px;padding:40px 20px;position:relative}.home-hero{-webkit-backdrop-filter:blur(20px);backdrop-filter:blur(20px);background:#ffffffd9;border:1px solid #fff9;border-radius:28px;padding:55px 44px 48px;overflow:hidden;box-shadow:0 25px 80px #00000014,0 0 0 1px #ffffff80}.home-logo{flex-shrink:0;animation:3.5s ease-in-out infinite homeFloat}.home-logo img{object-fit:cover;width:90px;height:90px;box-shadow:0 8px 30px var(--shadow-primary-light);border-radius:24px}@keyframes homeFloat{0%,to{transform:translateY(0)}50%{transform:translateY(-10px)}}.home-title-row{justify-content:center;align-items:center;gap:24px;margin-bottom:24px;display:flex}.home-title-group{text-align:center}.home-title{background:var(--gradient-primary);-webkit-text-fill-color:transparent;letter-spacing:1px;-webkit-background-clip:text;background-clip:text;margin-bottom:2px;font-size:2.4em;font-weight:800}.home-subtitle{color:#8b74bd;letter-spacing:2px;font-size:1.05em;font-weight:600}.home-desc{color:#999;max-width:480px;margin-bottom:40px;margin-left:auto;margin-right:auto;font-size:.95em;line-height:1.7}.home-features{justify-content:center;gap:20px;margin-bottom:40px;display:flex}.home-feature-card{max-width:240px;color:inherit;cursor:pointer;background:linear-gradient(145deg,#f8f9fc,#f0f2f8);border:none;border-radius:18px;flex:1;padding:24px 18px 22px;text-decoration:none;transition:all .35s cubic-bezier(.4,0,.2,1);display:block;overflow:hidden;box-shadow:0 0 0 1px #e6e8f080}.home-feature-card:hover{box-shadow:0 12px 40px var(--shadow-primary-subtle), 0 0 0 1px var(--border-primary-light);background:linear-gradient(145deg,#fafffe,#f2faf8);transform:translateY(-6px)}.home-feature-icon{background:var(--gradient-primary);width:52px;height:52px;box-shadow:0 6px 20px var(--shadow-primary-light);border-radius:16px;justify-content:center;align-items:center;margin:0 auto 14px;display:flex}.home-feature-icon svg{fill:#fff}.home-feature-card h3{color:#2d3748;margin-bottom:6px;font-size:1.05em;font-weight:700}.home-feature-card p{color:#999;font-size:.82em;line-height:1.6}.home-footer{color:#bbb;letter-spacing:.5px;margin-top:28px;font-size:.85em}@media (width<=600px){.home-hero{border-radius:22px;padding:36px 20px 32px}.home-logo img{width:70px;height:70px}.home-title{font-size:1.7em}.home-subtitle{font-size:.9em}.home-title-row{gap:16px;margin-bottom:20px}.home-desc{margin-bottom:28px;font-size:.85em}.home-features{flex-direction:row;gap:14px;margin-bottom:28px}.home-feature-card{width:100%;max-width:100%}.home-bg-circle-1{width:300px;height:300px}.home-bg-circle-2{width:250px;height:250px}}.handbook-body{background:var(--bg-gradient-subtle);min-height:100vh}.handbook-container{text-align:center;max-width:1200px;margin:0 auto;padding:30px 20px}.handbook-header{background:var(--gradient-primary);box-shadow:0 10px 40px var(--shadow-primary);border-radius:20px;justify-content:center;align-items:center;gap:20px;margin-bottom:25px;padding:25px 30px;display:flex}.page-icon-wrap{-webkit-backdrop-filter:blur(8px);background:#fff3;border:none;border-radius:16px;flex-shrink:0;justify-content:center;align-items:center;width:78px;height:78px;display:flex;overflow:hidden;box-shadow:0 0 0 1.5px #ffffff59,0 4px 16px #0000001f}.page-icon{object-fit:cover;width:78px;height:78px;display:block}.page-title-group{text-align:left}.handbook-header h1{background:linear-gradient(90deg,#fff,#f0f0f0);-webkit-text-fill-color:transparent;text-shadow:0 2px 10px #0000001a;-webkit-background-clip:text;background-clip:text;margin-bottom:2px;font-size:2.5em;font-weight:800}.handbook-header p{color:#ffffffe6;font-size:1.1em}.handbook-stats{justify-content:center;gap:12px;margin-top:10px;display:flex}.handbook-stat{color:#ffffffd9;background:#ffffff1f;border-radius:12px;padding:4px 14px;font-size:.85em}.handbook-search-bar{justify-content:center;margin-bottom:20px;display:flex}.handbook-search-input{color:#333;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);background:#ffffffd9;border:none;border-radius:30px;outline:none;width:100%;max-width:420px;padding:12px 22px;font-size:.9em;transition:all .3s;box-shadow:0 0 0 2px #e5e7eb}.handbook-search-input:focus{box-shadow:0 0 0 2px var(--color-primary-light), 0 0 0 4px var(--shadow-primary-subtle), 0 4px 16px var(--shadow-primary-subtle);background:#fff}.handbook-search-input::placeholder{color:#bbb}.handbook-tabs{justify-content:center}.handbook-grid{grid-template-columns:repeat(auto-fill,minmax(340px,1fr));gap:18px;display:grid}.handbook-empty{color:#bbb;flex-direction:column;grid-column:1/-1;justify-content:center;align-items:center;padding:60px 20px;display:flex}.handbook-empty svg{fill:#ddd;margin-bottom:12px}.handbook-empty p{color:#aaa;font-size:1em}#section-pets,#section-talents,#section-skills,#section-fetters{text-align:left}.skill-card{text-align:left;background:#fff;border:none;border-radius:18px;flex-direction:column;transition:all .3s cubic-bezier(.4,0,.2,1);display:flex;overflow:hidden;box-shadow:0 2px 16px #0000000d,0 0 0 1px #eee}.skill-card:hover{transform:translateY(-5px);box-shadow:0 12px 32px #0000001a,0 0 0 1px #d0d5f0}.skill-card.skill-unknown{opacity:.6}.skill-card-header{border-bottom:1px solid #f0f2f5;align-items:center;gap:14px;padding:18px 20px;display:flex}.skill-icon-wrap{background:#fff;border-radius:14px;flex-shrink:0;justify-content:center;align-items:center;width:54px;height:54px;display:flex;overflow:hidden;box-shadow:0 2px 8px #0000000f}.skill-icon-img{object-fit:contain;width:44px;height:44px}.skill-icon-placeholder{border-radius:14px;justify-content:center;align-items:center;width:54px;height:54px;font-size:1.4em;font-weight:700;display:flex}.skill-header-info{flex:1;min-width:0}.skill-name{color:#333;white-space:nowrap;text-overflow:ellipsis;margin-bottom:6px;font-size:1.05em;font-weight:700;overflow:hidden}.skill-meta{flex-wrap:wrap;gap:6px;display:flex}.skill-element-tag,.skill-damage-tag{border-radius:10px;padding:3px 10px;font-size:.7em;font-weight:600}.skill-damage-tag.damage-phys{color:#e65100;background:#fff3e0}.skill-damage-tag.damage-magic{color:#3f51b5;background:#e8eaf6}.skill-card-body{flex:1;padding:14px 18px}.skill-desc-item{margin-bottom:10px}.skill-desc-item:last-child{margin-bottom:0}.skill-desc-label{color:var(--color-primary);text-transform:uppercase;letter-spacing:.5px;margin-bottom:4px;font-size:.75em;font-weight:600}.skill-desc-text{color:#555;font-size:.85em;line-height:1.6}.skill-desc-parsed{color:#333;font-weight:500}.skill-card-footer{background:#fafafa;border-top:1px solid #f5f5f5;justify-content:space-between;align-items:center;padding:10px 18px;display:flex}.skill-cooldown{color:#888;align-items:center;gap:5px;font-size:.8em;display:flex}.skill-cooldown svg{fill:#aaa}.skill-id-tag{color:#ccc;font-family:monospace;font-size:.7em}.skill-num{color:var(--color-primary);letter-spacing:.2px;box-shadow:0 0 0 1px var(--border-primary-light);background:linear-gradient(135deg,#8ac4e21f,#b5dbe514);border:none;border-radius:4px;padding:0 5px;font-family:Courier New,Consolas,Monaco,monospace;font-size:.92em;font-weight:800;line-height:1.5;display:inline-block}.skill-desc-parsed .skill-num{border-color:var(--border-primary-light);color:var(--color-primary-dark);background:linear-gradient(135deg,#b5dbe51f,#8ac4e214)}.skill-card-footer .skill-num{color:var(--color-primary);background:0 0;border:none;padding:0 2px;font-size:.95em}.skill-dmgtype{color:#d6336c;background:linear-gradient(135deg,#d6336c1a,#d6336c0a);border:none;border-radius:4px;padding:0 5px;font-family:ResourceHanRoundedCN,sans-serif;font-size:.93em;font-weight:700;line-height:1.5;display:inline-block;box-shadow:0 0 0 1px #d6336c2e}.skill-desc-parsed .skill-dmgtype{color:#e65100;background:linear-gradient(135deg,#e651001a,#e651000a);border-color:#e651002e}.skill-num-dmg{letter-spacing:.2px;box-shadow:0 0 0 1px var(--border-primary);color:var(--text-on-light-bg);background:linear-gradient(135deg,#8ac4e21a 0%,#d6336c12 100%);border:none;border-radius:4px;padding:0 6px;font-family:Courier New,Consolas,monospace,ResourceHanRoundedCN;font-size:.92em;font-weight:800;line-height:1.5;display:inline-block}.skill-desc-parsed .skill-num-dmg{border-color:var(--border-primary-light);color:var(--color-primary-dark);background:linear-gradient(135deg,#b5dbe51a 0%,#e651000f 100%)}.skill-card-footer .skill-num-dmg{color:var(--color-primary);background:0 0;border:none;padding:0 2px;font-size:.95em}@media (width<=768px){.handbook-container{padding:20px 12px}.handbook-header{padding:18px 10px}.handbook-header h1{font-size:1.8em}.handbook-grid{grid-template-columns:1fr}.skill-card-header{gap:10px;padding:12px 14px}.skill-card-body{padding:10px 14px}.skill-card-footer{padding:8px 14px}}.handbook-sub-tabs{box-sizing:border-box;width:100%;max-width:640px;box-shadow:0 2px 12px #5a9ab81a, inset 0 1px 0 #ffffffb3, 0 0 0 1.5px var(--border-primary-light);-webkit-backdrop-filter:blur(8px);background:#ffffffa6;border-radius:14px;margin:0 auto;padding:5px;display:flex;position:relative;overflow:hidden}.handbook-sub-tab{cursor:pointer;min-width:0;color:var(--text-secondary);text-align:center;z-index:10;-webkit-user-select:none;user-select:none;white-space:nowrap;box-shadow:none;background:0 0;border:none;border-radius:10px;flex:1;padding:11px 12px;font-size:.9em;font-weight:600;line-height:1.4;transition:color .3s cubic-bezier(.4,0,.2,1);position:relative;transform:none}.handbook-sub-tabs .tab-animation{background:var(--gradient-primary);z-index:1;height:calc(100% - 10px);box-shadow:0 4px 16px var(--shadow-primary), 0 2px 6px #5a9ab82e;border-radius:10px;transition:all .35s cubic-bezier(.4,0,.2,1);position:absolute;top:5px}.handbook-sub-tab.active,.handbook-sub-tab:hover{color:var(--text-on-gradient)}.handbook-sub-tab:active{opacity:1!important;transform:none!important}.handbook-pet-grid{grid-template-columns:repeat(auto-fill,minmax(140px,1fr));gap:16px;display:grid}.handbook-pet-card{text-align:center;cursor:pointer;background:#fff;border:none;border-radius:16px;padding:18px 12px 16px;transition:all .3s cubic-bezier(.4,0,.2,1);overflow:hidden;box-shadow:0 2px 16px #0000000d,0 0 0 2px #0000}.handbook-pet-card:hover{box-shadow:0 12px 32px var(--shadow-primary-subtle), 0 0 0 2px var(--border-primary-light);transform:translateY(-6px)}.handbook-pet-card:active{transform:scale(.96)}.h-pet-star{letter-spacing:2px;margin-bottom:8px;font-size:.85em}.h-pet-icon{background:#f5f5f5;border-radius:50%;justify-content:center;align-items:center;width:72px;height:72px;margin:0 auto 8px;display:flex;overflow:hidden}.h-pet-icon img{object-fit:cover;width:100%;height:100%}.h-pet-name{color:#333;margin-bottom:6px;font-size:.95em;font-weight:600}.h-pet-element{border-radius:10px;padding:2px 10px;font-size:.75em;font-weight:500;display:inline-block}.handbook-talent-grid{grid-template-columns:repeat(auto-fill,minmax(320px,1fr));gap:18px;display:grid}.handbook-talent-card{background:#fff;border-radius:18px;padding:20px;transition:all .3s cubic-bezier(.4,0,.2,1);overflow:hidden;box-shadow:0 2px 16px #0000000d}.handbook-talent-card:hover{transform:translateY(-3px);box-shadow:0 8px 32px #0000001a}.h-talent-header{border-bottom:1px solid #f0f2f5;align-items:center;gap:14px;margin-bottom:14px;padding-bottom:14px;display:flex}.h-talent-icon{background:#f5f5f5;border-radius:14px;flex-shrink:0;justify-content:center;align-items:center;width:54px;height:54px;display:flex;overflow:hidden;box-shadow:0 2px 8px #0000000a}.h-talent-icon img{object-fit:cover;width:100%;height:100%}.h-talent-info{flex:1}.h-talent-name{color:#333;margin-bottom:4px;font-size:1.05em;font-weight:700}.h-talent-elem{border-radius:10px;flex-wrap:wrap;align-items:center;gap:6px;padding:2px 10px;font-size:.75em;font-weight:500;display:inline-flex}.h-talent-trait{color:inherit;opacity:.9;white-space:nowrap;background:#ffffff40;border-radius:4px;padding:0 5px;font-size:.9em;font-weight:500}.h-talent-stats{grid-template-columns:1fr 1fr;gap:8px 16px;display:grid}.h-talent-stat{flex-wrap:wrap;align-items:center;gap:6px;display:flex}.h-talent-stat-label{color:#888;min-width:24px;font-size:.78em;font-weight:500}.h-talent-stat-val{color:#444;text-align:right;min-width:24px;font-size:.85em;font-weight:700}.h-talent-stat-bar{background:#f0f0f0;border-radius:3px;flex:1;min-width:40px;height:5px;overflow:hidden}.h-talent-stat-fill{border-radius:3px;height:100%;transition:width .4s}.handbook-fetter-options{flex-wrap:wrap;gap:6px;display:flex}.handbook-fetter-grid{grid-template-columns:repeat(auto-fill,minmax(340px,1fr));gap:18px;display:grid}.handbook-fetter-card{background:#fff;border-left:4px solid;border-radius:18px;padding:20px;transition:all .3s cubic-bezier(.4,0,.2,1);overflow:hidden;box-shadow:0 2px 16px #0000000d}.handbook-fetter-card:hover{transform:translateY(-3px);box-shadow:0 8px 32px #0000001a}.h-fetter-header{align-items:center;gap:14px;margin-bottom:10px;display:flex}.h-fetter-icon{background:#f5f5f5;border-radius:10px;flex-shrink:0;justify-content:center;align-items:center;width:40px;height:40px;display:flex;overflow:hidden}.h-fetter-icon img{object-fit:contain;width:100%;height:100%;padding:3px}.h-fetter-info{flex:1}.h-fetter-name{color:#333;margin-bottom:4px;font-size:1.05em;font-weight:700}.h-fetter-type{border-radius:10px;padding:2px 10px;font-size:.75em;font-weight:500;display:inline-block}.h-fetter-desc{color:#666;margin-bottom:10px;font-size:.88em;line-height:1.5}.h-fetter-levels{flex-direction:column;gap:4px;margin-bottom:10px;display:flex}.h-fetter-level{color:#555;align-items:center;gap:8px;font-size:.85em;display:flex}.h-fetter-lv-tag{background:var(--color-primary);color:var(--text-on-gradient);text-align:center;border-radius:8px;min-width:38px;padding:1px 8px;font-size:.8em;font-weight:600}.h-fetter-pets{color:#777;border-top:1px solid #f0f0f0;flex-wrap:wrap;align-items:center;gap:6px;padding-top:8px;font-size:.85em;display:flex}.h-fetter-pets-label{color:#999;font-size:.85em}.h-fetter-pet-tag{border:none;border-radius:8px;padding:1px 8px;font-size:.82em;font-weight:500;box-shadow:0 0 0 1px}@media (width<=768px){.handbook-pet-grid{grid-template-columns:repeat(auto-fill,minmax(110px,1fr));gap:12px}.handbook-pet-card{padding:12px 8px}.h-pet-icon{width:56px;height:56px}.handbook-talent-grid,.handbook-fetter-grid{grid-template-columns:1fr}.handbook-sub-tab{padding:8px 16px;font-size:.85em}}.skill-heal-limit-hint{border-top:1px dashed #d97706;margin-top:4px;padding-top:6px}.skill-heal-limit-hint .skill-desc-label{color:#b45309!important;font-size:.78em!important;font-weight:400!important}.skill-heal-limit-hint .skill-desc-text{color:#92400e;background:0 0;border-radius:0;padding:2px 0 0;font-size:.78em;line-height:1.5}.heal-limit-trigger{color:#fff;cursor:pointer;box-shadow:none;-webkit-user-select:none;user-select:none;vertical-align:middle;background:linear-gradient(135deg,#f59e0b,#d97706);border-radius:4px;margin:0 2px;padding:1px 7px;font-size:.82em;font-weight:500;transition:all .2s;display:inline-block}.heal-limit-trigger:hover{background:linear-gradient(135deg,#d97706,#b45309);transform:translateY(-1px);box-shadow:0 4px 12px #d9770673}.heal-limit-trigger:active{transform:scale(.96)}.skill-limit-hint{border-top:1px dashed #94a3b8;margin-top:4px;padding-top:6px}.skill-limit-hint .skill-desc-text{color:#b45309;background:0 0;border-radius:0;padding:2px 0 0;font-size:.78em;line-height:1.5}.skill-healed-limit-hint{border-top:1px dashed #7c3aed;margin-top:4px;padding-top:6px}.skill-healed-limit-hint .skill-desc-label{color:#6d28d9!important;font-size:.78em!important;font-weight:400!important}.skill-healed-limit-hint .skill-desc-text{color:#5b21b6;background:0 0;border-radius:0;padding:2px 0 0;font-size:.78em;line-height:1.5}.healed-limit-trigger{color:#fff;cursor:pointer;box-shadow:none;-webkit-user-select:none;user-select:none;vertical-align:middle;background:linear-gradient(135deg,#7c3aed,#6d28d9);border-radius:4px;margin:0 2px;padding:1px 7px;font-size:.82em;font-weight:500;transition:all .2s;display:inline-block}.healed-limit-trigger:hover{background:linear-gradient(135deg,#6d28d9,#5b21b6);transform:translateY(-1px)}.healed-limit-trigger:active{transform:scale(.96)}.toast-overlay{z-index:10000;pointer-events:none;justify-content:center;align-items:center;width:100%;height:100%;display:flex;position:fixed;top:0;left:0}.toast-box{text-align:center;pointer-events:auto;background:#fff;border-radius:16px;width:90%;max-width:380px;padding:36px 44px;animation:.35s toastIn;position:relative;box-shadow:0 20px 60px #0003}.toast-box .toast-icon{background:linear-gradient(135deg,#10b981,#059669);border-radius:50%;justify-content:center;align-items:center;width:56px;height:56px;margin:0 auto 16px;display:flex}.toast-box .toast-icon svg{fill:#fff;width:28px;height:28px}.toast-box .toast-title{color:#1f2937;margin-bottom:8px;font-size:1.25em;font-weight:700}.toast-box .toast-desc{color:#6b7280;font-size:.85em;line-height:1.5}.toast-box .toast-close{cursor:pointer;background:#f3f4f6;border:none;border-radius:50%;justify-content:center;align-items:center;width:28px;height:28px;transition:background .2s;display:flex;position:absolute;top:10px;right:12px}.toast-box .toast-close:hover{background:#e5e7eb}.toast-box .toast-close svg{fill:#6b7280;width:14px;height:14px}@keyframes toastIn{0%{opacity:0;transform:scale(.85)translateY(-20px)}to{opacity:1;transform:scale(1)translateY(0)}}.toast-box.toast-out{animation:.25s forwards toastOut}@keyframes toastOut{0%{opacity:1;transform:scale(1)translateY(0)}to{opacity:0;transform:scale(.85)translateY(-20px)}}.btn-compare-toggle{background:var(--gradient-primary);color:var(--text-on-gradient);cursor:pointer;box-shadow:0 3px 12px var(--shadow-primary-light), 0 0 0 2px transparent;border:none;border-radius:25px;flex-shrink:0;align-items:center;gap:6px;margin-left:auto;padding:6px 16px;font-size:.85em;font-weight:600;transition:all .25s;display:flex;position:relative;overflow:hidden}.btn-compare-toggle:hover{box-shadow:0 5px 18px var(--shadow-primary), 0 0 0 2px #ffffff4d;box-shadow:0 6px 20px var(--shadow-primary);transform:translateY(-2px)}.btn-compare-toggle:active{transform:scale(.95)}.btn-compare-toggle svg{fill:#fff}.btn-compare-toggle #compareBadge{text-align:center;min-width:1.2em;font-weight:700;display:inline-block}.h-compare-btn{cursor:pointer;color:#999;z-index:2;-webkit-user-select:none;user-select:none;background:#f0f0f0;border:none;border-radius:12px;padding:3px 10px;font-size:.7em;font-weight:600;line-height:1.5;transition:all .25s;position:absolute;top:8px;right:8px;overflow:hidden;box-shadow:0 0 0 1px #e0e0e0}.h-compare-btn:hover{background:var(--color-primary-light);color:var(--text-on-gradient);box-shadow:0 0 0 1px var(--color-primary-light);transform:scale(1.05)}.h-compare-btn:active{transform:scale(.92)}.h-compare-btn.active{background:var(--gradient-primary);color:var(--text-on-gradient);box-shadow:0 2px 8px var(--shadow-primary-light), 0 0 0 1px transparent}.handbook-talent-card{position:relative}.compare-overlay{z-index:1000;opacity:0;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);background:#0000008c;justify-content:center;align-items:center;width:100%;height:100%;transition:opacity .3s;display:none;position:fixed;top:0;left:0}.compare-overlay.show{opacity:1;display:flex}.compare-panel{opacity:0;background:#fff;border-radius:18px;flex-direction:column;width:92%;max-width:780px;max-height:88vh;transition:opacity .35s cubic-bezier(.4,0,.2,1),transform .35s cubic-bezier(.4,0,.2,1);display:flex;overflow:hidden;transform:translateY(-30px)scale(.97);box-shadow:0 25px 80px #0000004d}.compare-overlay.show .compare-panel{opacity:1;transform:translateY(0)scale(1)}.compare-panel-header{border-bottom:1px solid #eef0f2;flex-shrink:0;justify-content:space-between;align-items:center;padding:18px 24px;display:flex}.compare-panel-header h3{color:#1f2937;align-items:center;gap:8px;margin:0;font-size:1.1em;font-weight:700;display:flex}.compare-panel-header h3 svg{fill:#667eea}.compare-panel-actions{align-items:center;gap:10px;display:flex}.btn-compare-clear{color:#ef4444;cursor:pointer;background:#f3f4f6;border:none;border-radius:8px;padding:6px 14px;font-size:.8em;font-weight:500;transition:all .2s;overflow:hidden;box-shadow:0 0 0 1px #e5e7eb}.btn-compare-clear:hover{background:#fee2e2;box-shadow:0 0 0 1px #fecaca}.btn-compare-clear:active{transform:scale(.95)}.compare-panel-close{cursor:pointer;background:0 0;border:none;border-radius:8px;justify-content:center;align-items:center;width:30px;height:30px;padding:0;transition:all .2s;display:flex}.compare-panel-close:hover{background:#f3f4f6;transform:rotate(90deg)}.compare-panel-close svg{fill:#6b7280}.compare-panel-body{-webkit-overflow-scrolling:touch;flex:1;padding:20px 24px;overflow-y:auto}.compare-empty{color:#bbb;text-align:center;flex-direction:column;justify-content:center;align-items:center;padding:50px 20px;display:flex}.compare-empty svg{fill:#ddd;margin-bottom:14px}.compare-empty p{color:#aaa;margin-bottom:6px;font-size:1em}.compare-empty-hint{color:#ccc!important;font-size:.85em!important}.compare-content{flex-direction:column;gap:20px;display:flex}.compare-pet-cards{border-bottom:1px solid #f0f2f5;flex-wrap:wrap;justify-content:center;gap:12px;padding-bottom:16px;display:flex}.c-pet-card{background:#f9fafb;border:none;border-radius:14px;flex-direction:column;align-items:center;gap:6px;min-width:90px;padding:14px 12px 12px;transition:all .2s;display:flex;position:relative;overflow:hidden;box-shadow:0 0 0 2px #e8e8e8}.c-pet-card:hover{box-shadow:0 4px 16px #0000000f,0 0 0 2px #d0d0d0}.c-pet-remove{cursor:pointer;opacity:0;background:#ff4757;border:2px solid #fff;border-radius:50%;justify-content:center;align-items:center;width:22px;height:22px;transition:all .2s;display:flex;position:absolute;top:-8px;right:-8px;box-shadow:0 2px 6px #ff47574d}.c-pet-card:hover .c-pet-remove{opacity:1}.c-pet-remove svg{fill:#fff}.c-pet-remove:hover{transform:scale(1.15)}.c-pet-remove:active{transform:scale(.9)}.c-pet-icon{background:#e8e8e8;border-radius:50%;flex-shrink:0;justify-content:center;align-items:center;width:48px;height:48px;display:flex;overflow:hidden}.c-pet-icon img{object-fit:contain;width:42px;height:42px}.c-pet-name{color:#333;text-align:center;text-overflow:ellipsis;white-space:nowrap;max-width:80px;font-size:.8em;font-weight:600;overflow:hidden}.c-pet-elem{border-radius:8px;padding:1px 8px;font-size:.65em;font-weight:500}.c-pet-order{background:var(--gradient-primary);width:22px;height:22px;color:var(--text-on-gradient);box-shadow:0 2px 6px var(--shadow-primary-light);border:2px solid #fff;border-radius:50%;justify-content:center;align-items:center;font-size:.7em;font-weight:700;display:flex;position:absolute;top:-8px;left:-8px}.compare-stats-section{flex-direction:column;gap:14px;display:flex}.c-stat-row{background:#f9fafb;border-radius:12px;align-items:center;gap:12px;padding:12px 16px;display:flex;overflow:hidden}.c-stat-label{color:#666;flex-shrink:0;min-width:36px;font-size:.85em;font-weight:600}.c-stat-values{flex:1;align-items:center;gap:10px;display:flex}.c-stat-item{flex:1;align-items:center;gap:6px;min-width:0;display:flex}.c-stat-bar-wrap{flex:1;min-width:0}.c-stat-bar{background:#e8e8e8;border-radius:4px;height:8px;overflow:hidden}.c-stat-fill{background:var(--color-primary);border-radius:4px;height:100%;transition:width .5s}.c-stat-val{color:#444;text-align:right;flex-shrink:0;min-width:28px;font-size:.8em;font-weight:700}.c-stat-rank{color:#999;text-align:left;flex-shrink:0;min-width:60px;font-size:.7em;font-weight:500}@media (width<=768px){.compare-panel{border-radius:14px;width:96%;max-height:92vh}.compare-panel-header,.compare-panel-body{padding:14px 16px}.c-pet-card{min-width:70px;padding:10px 8px}.c-pet-icon{width:40px;height:40px}.c-pet-icon img{width:36px;height:36px}.c-pet-name{max-width:60px;font-size:.7em}.c-stat-row{flex-direction:column;align-items:flex-start;gap:8px;padding:10px 12px}.c-stat-label{min-width:auto;font-size:.8em}.c-stat-values{flex-direction:column;gap:6px;width:100%}.c-stat-item{gap:4px;width:100%}.c-stat-rank{min-width:50px;font-size:.65em}.c-pet-card:hover .c-pet-remove{opacity:1}}@media (width<=480px){.compare-pet-cards{gap:8px}.c-pet-card{min-width:60px;padding:8px 6px}.c-pet-icon{width:34px;height:34px}.c-pet-icon img{width:30px;height:30px}}.filter-bar{flex-wrap:wrap;align-items:center;gap:10px;margin-bottom:18px;display:flex}.filter-bar-header{align-items:center;gap:8px;width:100%;display:flex}.filter-bar-toggle{cursor:pointer;color:#888;background:#f0f0f0;border:1px solid #e0e0e0;border-radius:20px;align-items:center;gap:6px;padding:6px 16px;font-family:inherit;font-size:.82em;font-weight:600;transition:all .25s;display:flex;overflow:hidden}.filter-bar-toggle:hover{color:var(--color-primary);background:#e4e6ea;border-color:#ccc}.filter-bar-toggle svg{fill:#999;flex-shrink:0;transition:transform .3s}.filter-bar-toggle:hover svg{fill:#667eea}.filter-bar-toggle.collapsed svg{transform:rotate(-90deg)}.filter-bar-body{opacity:1;background:0 0;border:none;border-radius:0;flex-direction:column;gap:10px;width:100%;max-height:1200px;padding:0;transition:max-height .4s,opacity .3s,margin .3s,padding .3s,border-width .3s;display:flex;overflow:hidden}.filter-bar-body.collapsed{opacity:0;pointer-events:none;border-width:0;max-height:0;margin:0;padding:0;overflow:hidden}.filter-section{-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);background:#ffffffe0;border:1px solid #eef0f2;border-radius:14px;padding:14px 16px;transition:box-shadow .2s}.filter-section:hover{box-shadow:0 2px 12px #0000000a}.filter-section-sort{border-left:3.5px solid #10b981}.filter-section-filter{border-left:3.5px solid #f59e0b}.filter-section-title{color:#444;border-bottom:1px solid #f0f2f5;align-items:center;gap:6px;margin-bottom:10px;padding-bottom:8px;font-size:.82em;font-weight:700;display:flex}.filter-section-title svg{fill:#888;flex-shrink:0}.filter-section-sort .filter-section-title svg{fill:#10b981}.filter-section-filter .filter-section-title svg{fill:#f59e0b}.filter-section-content{flex-wrap:wrap;align-content:flex-start;align-items:center;gap:6px;display:flex}.filter-row{flex-wrap:wrap;align-items:center;gap:0 8px;width:100%;display:flex}.filter-row-nowrap{flex-wrap:nowrap!important}.hb-search-inline{color:#555;background:#fafafa;border:1px solid #e0e0e0;border-radius:16px;outline:none;flex:1;min-width:120px;max-width:260px;padding:4px 12px;font-family:inherit;font-size:.78em;transition:border-color .2s}.hb-search-inline:focus{background:#fff;border-color:#667eea;box-shadow:0 0 0 2px #667eea14}.hb-search-inline::placeholder{color:#bbb}.filter-element-tabs{flex-wrap:wrap;gap:4px;margin:0;display:flex}.filter-element-tabs .element-tab{margin:0;padding:0 10px;font-size:.78em;line-height:2;border:none!important;transform:none!important}.filter-element-tabs .element-tab:hover{transform:none!important}.filter-group{flex-wrap:wrap;align-items:center;gap:6px;display:flex}.filter-label{color:#888;white-space:nowrap;flex-shrink:0;min-width:48px;font-size:.78em;font-weight:600;line-height:2}.filter-sub-label{color:#aaa;white-space:nowrap;font-size:.72em;font-weight:500}.filter-options{flex-wrap:wrap;gap:4px;display:flex}.filter-btn{cursor:pointer;color:#999;-webkit-user-select:none;user-select:none;background:#f0f0f0;border:1px solid #e0e0e0;border-radius:14px;padding:4px 12px;font-family:inherit;font-size:.75em;font-weight:600;line-height:1.5;transition:all .2s;overflow:hidden}.filter-btn:hover{color:var(--color-primary);background:#e8e8e8;border-color:#d0d0d0;transform:translateY(-1px)}.filter-btn:active{transform:scale(.95)}.filter-btn.active{background:var(--gradient-primary);color:var(--text-on-gradient);box-shadow:0 2px 8px var(--shadow-primary-light);border-color:#0000}.filter-btn.icon-btn{text-align:center;min-width:26px;padding:4px 8px;font-size:.8em}.filter-btn.icon-btn.active{background:var(--gradient-primary);color:var(--text-on-gradient);border-color:#0000}.dir-toggle{justify-content:center;align-items:center;display:inline-flex}.dir-toggle .dir-arrow{fill:currentColor;transition:transform .35s cubic-bezier(.34,1.56,.64,1);display:block}.dir-toggle.is-asc .dir-arrow{transform:rotate(180deg)}.filter-select{color:#555;cursor:pointer;background:#fff;border:1px solid #e0e0e0;border-radius:10px;outline:none;max-width:100px;padding:4px 10px;font-family:inherit;font-size:.78em;font-weight:500;transition:border-color .2s}.filter-select:focus{border-color:var(--color-primary-light)}.filter-sort-group{flex-wrap:wrap;align-items:center;gap:5px;display:flex}.filter-range-grid{grid-template-columns:repeat(3,1fr);gap:6px 16px;width:100%;display:grid}.range-item{color:#888;white-space:nowrap;align-items:center;gap:3px;font-size:.72em;font-weight:500;display:flex}.range-input{color:#555;text-align:center;border:1.5px solid #e0e0e0;border-radius:8px;outline:none;width:55px;padding:3px 6px;font-family:inherit;font-size:.75em;transition:border-color .2s}.range-input:focus{border-color:var(--color-primary-light);box-shadow:0 0 0 2px var(--shadow-primary-subtle)}.range-input::placeholder{color:#ccc}.range-sep{color:#bbb;font-size:.78em}.range-input::-webkit-outer-spin-button{appearance:none;margin:0}.range-input::-webkit-inner-spin-button{appearance:none;margin:0}.range-input[type=number]{appearance:textfield}.filter-count{color:var(--color-primary);white-space:nowrap;background:#8ac4e214;border-radius:12px;padding:4px 12px;font-size:.78em;font-weight:600}.filter-reset{cursor:pointer;color:#ef4444;-webkit-user-select:none;user-select:none;background:0 0;border:1px solid #fecaca;border-radius:14px;flex-shrink:0;padding:4px 14px;font-family:inherit;font-size:.75em;font-weight:500;transition:all .2s;overflow:hidden}.filter-reset:hover{background:#fee2e2;border-color:#fca5a5;transform:translateY(-1px)}.filter-reset:active{transform:scale(.95)}@media (width<=768px){.filter-range-grid{grid-template-columns:repeat(2,1fr);gap:4px 12px}.filter-section{padding:12px}.filter-row{flex-direction:column;align-items:flex-start;gap:6px}.filter-row-nowrap{flex-direction:row!important;align-items:center!important;gap:8px!important}.filter-label{min-width:auto}.filter-sort-group{width:100%}.filter-select{max-width:80px;font-size:.72em}.range-input{width:50px}}.fetter-sub-nav{-webkit-user-select:none;user-select:none;align-items:center;margin:8px 0 14px;display:flex;position:relative}.fetter-sub-inner{scroll-behavior:smooth;-webkit-overflow-scrolling:touch;scrollbar-width:none;-ms-overflow-style:none;width:100%;padding:4px 0 8px;position:relative;overflow:auto hidden}.fetter-sub-inner::-webkit-scrollbar{display:none}.fetter-sub-inner-track{justify-content:center;gap:2px;width:fit-content;min-width:100%;margin:0 auto;display:flex}.fetter-sub-tab{min-width:60px;color:var(--text-secondary);text-align:center;white-space:nowrap;cursor:pointer;-webkit-tap-highlight-color:transparent;touch-action:pan-x;background:0 0;border:none;border-radius:8px;flex:none;padding:7px 12px;font-size:.82em;font-weight:600;line-height:1.4;transition:color .25s}.fetter-sub-tab:hover{color:var(--color-primary)}.fetter-sub-tab.active{color:var(--color-primary);font-weight:700}.fetter-sub-indicator{background:var(--color-primary);pointer-events:none;z-index:1;will-change:left, width;border-radius:2px;height:3px;transition:left .3s cubic-bezier(.4,0,.2,1),width .3s cubic-bezier(.4,0,.2,1);position:absolute;bottom:8px;box-shadow:0 1px 4px #5a9ab84d}.fetter-sub-fade{pointer-events:none;z-index:2;opacity:0;width:28px;transition:opacity .25s;position:absolute;top:0;bottom:0}.fetter-sub-fade-l{background:linear-gradient(90deg,#fff,#0000);left:0}.fetter-sub-fade-r{background:linear-gradient(270deg,#fff,#0000);right:0}.fetter-sub-fade.visible{opacity:1}.fetter-sub-panels{min-height:100px;position:relative}.fetter-sub-panel{display:block}@media (width<=768px){.fetter-sub-tab{min-width:54px;padding:6px 10px;font-size:.78em}.fetter-sub-inner{padding:4px 0 8px}.fetter-sub-inner-track{gap:1px}.fetter-sub-indicator{height:3px;bottom:8px}}@media (width<=480px){.fetter-sub-nav{margin:6px 0 10px}.fetter-sub-tab{min-width:48px;padding:5px 8px;font-size:.74em}.fetter-sub-fade{width:20px}}.fsub-filter{margin:10px 0 14px;padding:0}.fsub-filter-row{border:1.5px solid var(--border-primary-light);background:#ffffff80;border-radius:10px;flex-wrap:wrap;align-items:center;gap:6px;padding:8px 12px;display:flex}.fsub-filter-lbl{display:none}.fsub-filter-tabs{flex-wrap:wrap;flex:auto;gap:3px;display:flex}.fsub-filter-tab{color:var(--text-secondary);cursor:pointer;-webkit-user-select:none;user-select:none;white-space:nowrap;-webkit-tap-highlight-color:transparent;background:0 0;border:none;border-radius:8px;flex:none;padding:4px 10px;font-size:.76em;font-weight:600;line-height:1.4;transition:all .2s}.fsub-filter-tab:hover{color:var(--color-primary);box-shadow:inset 0 0 0 1.5px var(--border-primary-light)}.fsub-filter-tab.active{color:var(--text-on-gradient);background:var(--gradient-primary);box-shadow:0 2px 8px var(--shadow-primary);border-color:#0000}.fsub-filter-count{color:var(--text-secondary);white-space:nowrap;margin-left:auto;padding-right:4px;font-size:.72em}.fsub-empty{text-align:center;color:#bbb;padding:40px 16px;font-size:.85em}@media (width<=768px){.fsub-filter-row{gap:4px;padding:6px 10px}.fsub-filter-tab{padding:3px 8px;font-size:.72em}.fsub-filter-lbl{font-size:.72em}.fsub-filter-count{font-size:.68em}}@media (width<=480px){.fsub-filter{margin:6px 0 10px}.fsub-filter-row{border-radius:8px;padding:5px 8px}}.counter-grid{flex-direction:column;gap:12px;padding:4px 0 12px;display:flex}.counter-card{background:#fff;border-radius:14px;transition:box-shadow .2s;overflow:hidden;box-shadow:0 1px 6px #0000000f}.counter-card-header{align-items:center;gap:10px;padding:14px 16px 0;display:flex}.counter-card-icon{object-fit:contain;border-radius:8px;flex-shrink:0;width:36px;height:42px}.counter-card-name{font-size:1.08em;font-weight:700;line-height:1.3}.counter-card-body{padding:10px 16px 14px}.counter-relation-row{flex-wrap:wrap;align-items:center;gap:6px;margin-top:8px;display:flex}.counter-relation-row:first-child{margin-top:0}.counter-tag{white-space:nowrap;border-radius:6px;flex-shrink:0;align-items:center;gap:2px;padding:2px 8px;font-size:.72em;font-weight:600;line-height:1.5;display:inline-flex}.counter-tag-strong{color:#2e7d32;background:#4caf501f}.counter-tag-weak{color:#c62828;background:#f443361f}.counter-target-item{border:1.5px solid var(--elem-color,#e0e0e0);background:#00000008;border-radius:6px;align-items:center;gap:3px;padding:2px 6px;display:inline-flex}.counter-target-icon{object-fit:contain;border-radius:5px;flex-shrink:0;width:24px;height:28px}.counter-target-name{color:var(--text-secondary);font-size:.72em;font-weight:600;line-height:1.3}.counter-note{color:#7f8c8d;text-align:center;background:#b2bec326;border-radius:8px;margin-top:8px;padding:8px 12px;font-size:.78em;font-weight:500}@media (width<=768px){.counter-card-icon{width:32px;height:37px}.counter-card-header{padding:12px 14px 0}.counter-card-body{padding:8px 14px 12px}.counter-target-icon{width:22px;height:26px}.counter-target-item{padding:1px 5px}}@media (width<=480px){.counter-grid{gap:10px}.counter-card-icon{width:28px;height:33px}.counter-card-header{padding:10px 12px 0}.counter-card-body{padding:6px 12px 10px}.counter-tag{padding:1px 6px;font-size:.68em}.counter-target-icon{width:20px;height:23px}.counter-target-name{font-size:.68em}.counter-note{padding:6px 10px;font-size:.72em}}.talent-list{padding:4px 0 12px}.talent-group{background:#fff;border-radius:14px;margin-bottom:14px;overflow:hidden;box-shadow:0 1px 6px #0000000d}.talent-group-header{cursor:pointer;-webkit-user-select:none;user-select:none;background:linear-gradient(135deg,#f8f9fc,#f0f2f5);border-bottom:1px solid #eef0f4;align-items:center;gap:8px;padding:12px 16px;transition:background .2s;display:flex}.talent-group-header:hover{background:linear-gradient(135deg,#f0f2f7,#e8ebf0)}.talent-group-arrow{color:#999;flex-shrink:0;font-size:.7em;transition:transform .2s}.talent-group-title{color:#333;flex:1;font-size:.92em;font-weight:700}.talent-group-count{color:#999;background:#eef0f4;border-radius:10px;padding:1px 8px;font-size:.75em}.talent-group-body{padding:10px 14px 14px}.talent-card{border-bottom:1px solid #f2f4f8;padding:10px 0}.talent-card:last-child{border-bottom:none}.talent-card-header{justify-content:space-between;align-items:center;margin-bottom:3px;display:flex}.talent-card-name{color:#333;font-size:.92em;font-weight:700}.talent-card-type{color:#888;white-space:nowrap;background:#f0f2f5;border-radius:8px;padding:1px 8px;font-size:.68em}.talent-card-desc{color:#999;margin-bottom:8px;font-size:.78em}.talent-card-levels{text-align:center;grid-template-columns:repeat(5,1fr);margin-bottom:2px;display:grid}.talent-lv-roman{color:#bbb;font-size:.7em;font-weight:500}.talent-card-values{text-align:center;grid-template-columns:repeat(5,1fr);display:grid}.talent-lv-val{color:#222;font-family:Courier New,Consolas,monospace,ResourceHanRoundedCN;font-size:.92em;font-weight:800}@media (width<=480px){.talent-group-body{padding:8px 12px 12px}.talent-card{padding:8px 0}.talent-card-name{font-size:.88em}.talent-lv-val{font-size:.85em}}.evolve-material-list{padding:4px 0 12px}.evolve-element-group{margin-bottom:12px}.evolve-element-title{color:var(--text-primary);border-left:3px solid var(--color-primary);align-items:center;gap:8px;margin-bottom:6px;padding:10px 4px 8px 10px;font-family:ResourceHanRoundedCN,Microsoft YaHei,sans-serif;font-size:.85em;font-weight:700;display:flex}.evolve-element-count{color:var(--text-secondary);font-family:ResourceHanRoundedCN,Microsoft YaHei,sans-serif;font-size:.82em;font-weight:400}.evolve-cards{grid-template-columns:repeat(5,1fr);gap:6px;display:grid}@media (width>=540px){.evolve-cards{grid-template-columns:repeat(6,1fr);gap:8px}}@media (width>=769px){.evolve-cards{gap:10px}}.evolve-card{background:#fff;border-radius:10px;transition:box-shadow .2s;overflow:hidden;box-shadow:0 1px 4px #0000000f}.evolve-card:active{box-shadow:0 1px 2px #0000000a}.evolve-card-img-wrap{background:var(--bg-gradient-subtle);aspect-ratio:1;justify-content:center;align-items:center;display:flex;position:relative}.evolve-card-img{object-fit:contain;max-width:90%;max-height:90%}.evolve-tier-badge{white-space:nowrap;pointer-events:none;border-radius:8px;padding:2px 7px;font-size:.6em;font-weight:700;line-height:1.5;position:absolute;top:6px;right:6px}.evolve-tier-t2{background:var(--color-primary-lightest);color:var(--color-primary-dark)}.evolve-tier-t3{color:#2d6a4f;background:#a8d5ba}.evolve-tier-t4{color:#2c5282;background:#a8c8e8}.evolve-tier-t5{color:#553c7b;background:#d4b8e0}.evolve-tier-t6{color:#8b6914;background:#f0d4a8}.evolve-tier-t7{color:#9b2c2c;background:#f0a8a8}.evolve-tier-t8{color:#97266d;background:#f0a8c8}.evolve-card-info{text-align:center;color:var(--text-primary);white-space:nowrap;text-overflow:ellipsis;padding:6px 8px 8px;font-family:ResourceHanRoundedCN,Microsoft YaHei,sans-serif;font-size:.78em;font-weight:600;overflow:hidden}.food-list{padding:4px 0 12px}.food-cards{grid-template-columns:repeat(4,1fr);gap:8px;display:grid}@media (width>=540px){.food-cards{grid-template-columns:repeat(5,1fr);gap:10px}}.food-card{background:#fff;border-radius:10px;overflow:hidden;box-shadow:0 1px 4px #0000000f}.food-card-img-wrap{background:var(--bg-gradient-subtle);aspect-ratio:1;justify-content:center;align-items:center;display:flex;position:relative}.food-card-img{object-fit:contain;max-width:90%;max-height:90%}.food-card-info{text-align:center;color:var(--text-primary);white-space:nowrap;text-overflow:ellipsis;padding:6px 8px 8px;font-family:ResourceHanRoundedCN,Microsoft YaHei,sans-serif;font-size:.76em;font-weight:600;overflow:hidden}.food-hunger-badge{pointer-events:none;border-radius:6px;padding:1px 5px;font-size:.55em;font-weight:700;line-height:1.6;position:absolute;top:4px;right:4px}.food-hunger-100{background:var(--color-primary-lightest);color:var(--color-primary-dark)}.food-hunger-200{color:#2d6a4f;background:#a8d5ba}.food-hunger-400{color:#8b6914;background:#f0d4a8}.food-hunger-1000{color:#9b2c2c;background:#f0a8a8}
