.simulator-container{max-width:none;margin:0;padding:0;min-height:calc(100vh - 60px);overflow:hidden}.simulator-layout{display:flex;height:calc(100vh - 60px);overflow:hidden}.simulator-nav{width:140px;background-color:#f5f5f7;padding:1.5rem 0;height:100%;border-right:1px solid rgba(0,0,0,.1);display:flex;flex-direction:column;gap:.5rem;flex-shrink:0}.back-button{position:absolute;top:10px;left:10px;display:flex;align-items:center;padding:.5rem 1rem;color:#06c;font-size:.9rem;text-decoration:none;border-radius:980px;transition:all .2s ease}.back-button:hover{background-color:rgba(0,102,204,.1)}.back-button::before{content:"←";margin-right:5px}.nav-btn{display:block;width:90%;margin:0 auto;padding:.8rem 1rem;text-align:center;background:0 0;border:none;border-radius:8px;color:#1d1d1f;font-size:.85rem;font-weight:400;cursor:pointer;transition:all .2s ease}.nav-btn:hover{background-color:rgba(0,0,0,.04)}.nav-btn.active{background-color:#06c;color:#fff;font-weight:500}.simulator-content{flex:1;height:100%;background-color:#fff;overflow:hidden;position:relative}.content-page{height:100%;width:100%;overflow-y:auto;padding:0}.affixes-columns-container{display:flex;width:100%;height:100%;overflow:hidden}.affixes-column{flex:0 0 120px;height:100%;border-right:1px solid #e5e5ea;overflow:hidden;display:flex;flex-direction:column}.affixes-column:nth-child(3){flex:0 0 300px}.affixes-interaction-area{flex:1;min-width:300px;height:100%;padding:15px;overflow:auto;background-color:#f9f9f9}.affixes-column h3{margin:0;padding:12px 8px;font-size:1rem;background-color:#f5f5f7;border-bottom:1px solid #e5e5ea;text-align:center}.affixes-column-content{flex:1;overflow-y:auto;padding:12px}.affixes-column:nth-child(3) .affixes-column-content{display:grid;grid-template-columns:1fr 1fr;gap:8px;padding:12px 8px;align-items:start;align-content:start;justify-items:stretch}.affixes-btn{width:100%;padding:12px;margin-bottom:10px;text-align:center;background-color:#f5f5f7;border:1px solid #e5e5ea;border-radius:6px;cursor:pointer;transition:all .2s;position:relative}.affixes-btn:hover{background-color:#e5e5ea}.affixes-btn.active{background-color:#06c;color:#fff;border-color:#06c}.item-card{width:100%;height:160px;padding:8px;margin-bottom:8px;background-color:#f5f5f7;border:1px solid #e5e5ea;border-radius:6px;cursor:pointer;transition:all .2s;text-align:center;font-size:.9rem;display:flex;flex-direction:column;justify-content:flex-start;align-items:center;box-sizing:border-box}.item-card:hover{background-color:#e5e5ea;transform:translateY(-1px);box-shadow:0 2px 4px rgba(0,0,0,.1)}.item-card.selected{background-color:#06c;color:#fff;border-color:#06c}.item-card .item-image{width:100%;height:100px;display:flex;align-items:center;justify-content:center;margin-bottom:6px;position:relative}.item-card .item-image img{max-width:100%;max-height:100%;object-fit:contain;transition:transform .3s ease}.item-hover-popup{position:fixed;width:240px;height:240px;background-size:contain;background-repeat:no-repeat;background-position:center;border:1px solid #ddd;border-radius:8px;background-color:#2c2c2c;box-shadow:0 4px 12px rgba(0,0,0,.3);z-index:9999;pointer-events:none;display:none}.item-card .item-name{font-weight:500;margin-top:4px;margin-bottom:0;font-size:.9rem;line-height:1.2;flex-shrink:0;text-align:center;word-wrap:break-word;max-width:100%}.item-card .item-english{font-size:.75rem;color:#666;margin-bottom:2px}.item-card .item-type{font-size:.75rem;color:#666}.item-card.selected .item-english,.item-card.selected .item-type{color:rgba(255,255,255,.8)}.selected-affixes-summary{background-color:#fff;border-radius:8px;padding:15px;margin-bottom:15px;box-shadow:0 1px 3px rgba(0,0,0,.1);display:flex;justify-content:space-around;align-items:center}.summary-item{display:flex;flex-direction:column;align-items:center;text-align:center}.summary-label{font-size:.9rem;color:#666;margin-bottom:4px}.summary-count{font-size:1.1rem;font-weight:700;color:#06c}.affixes-info-container{background-color:#fff;border-radius:8px;padding:15px;box-shadow:0 1px 3px rgba(0,0,0,.1)}.affixes-info-container h2{margin-top:0;margin-bottom:20px;font-size:1.5rem;color:#333;text-align:center}.affixes-list{margin-top:10px;display:flex;flex-wrap:wrap;width:100%;gap:10px;flex-direction:row}.affixes-type-group{margin-bottom:15px}.affixes-type-group h4{font-size:14px;color:#333;margin-bottom:8px;padding-bottom:4px;border-bottom:1px solid #e5e5ea}.affixes-items{list-style:none;padding:0;margin:0}.affixes-center-column,.affixes-left-column,.affixes-right-column{flex:1;margin-right:10px}.affixes-right-column{margin-right:0}.affixes-item{margin-bottom:6px;border:1px solid #e5e5ea;border-radius:4px;overflow:hidden;background-color:#f9f9f9;width:100%;box-sizing:border-box}.affixes-item.has-selected{background-color:#e6f3ff;border-color:#b3d9ff}.affixes-item.has-selected .affixes-header{background-color:#dceeff}.affixes-item.has-selected .affixes-header:hover{background-color:#d0e8ff}.affixes-header{padding:6px 10px;background-color:#f5f5f7;cursor:pointer;display:flex;justify-content:space-between;align-items:center;position:relative;font-size:13px}.affixes-header:hover{background-color:#e5e5ea}.affixes-right-content{display:flex;align-items:center;gap:6px;flex:1;justify-content:flex-end;min-width:0}.affixes-desc{font-weight:500;color:#333;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;min-width:0}.affixes-count{color:#0968c8;font-weight:800;margin-left:6px;font-size:1.1em;display:inline-block}.affixes-details{padding:0;background-color:#fff;border-top:1px solid #e5e5ea}.affixes-tier-list{list-style:none;padding:0;margin:0}.affixes-tier-item{padding:6px 10px;border-bottom:1px solid #f5f5f7;font-size:12px;display:flex;align-items:center;cursor:pointer;transition:all .3s cubic-bezier(.4, 0, .2, 1);position:relative;overflow:hidden}.affixes-tier-item::before{content:'';position:absolute;top:0;left:-100%;width:100%;height:100%;background:linear-gradient(90deg,transparent,rgba(0,102,204,.1),transparent);transition:left .5s;z-index:1}.affixes-tier-item:last-child{border-bottom:none}.affixes-tier-item:hover{background-color:#f0f0f5;transform:translateY(-1px);box-shadow:0 2px 4px rgba(0,0,0,.1)}.affixes-tier-item:active{transform:translateY(0) scale(.98);transition:all .1s cubic-bezier(.4, 0, .2, 1)}@keyframes affixSelectPulse{0%{transform:translateX(0) scale(1);background-color:rgba(0,102,204,.05)}50%{transform:translateX(3px) scale(1.02);background-color:rgba(0,102,204,.25);box-shadow:0 4px 12px rgba(0,102,204,.3)}100%{transform:translateX(2px) scale(1);background-color:rgba(0,102,204,.15);box-shadow:0 2px 8px rgba(0,102,204,.2)}}@keyframes prefixSelectPulse{0%{transform:translateX(0) scale(1);background-color:rgba(0,102,204,.05)}50%{transform:translateX(3px) scale(1.02);background-color:rgba(0,102,204,.25);box-shadow:0 4px 12px rgba(0,102,204,.3)}100%{transform:translateX(2px) scale(1);background-color:rgba(0,102,204,.15);box-shadow:0 2px 8px rgba(0,102,204,.2)}}@keyframes suffixSelectPulse{0%{transform:translateX(0) scale(1);background-color:rgba(52,199,89,.05)}50%{transform:translateX(3px) scale(1.02);background-color:rgba(52,199,89,.25);box-shadow:0 4px 12px rgba(52,199,89,.3)}100%{transform:translateX(2px) scale(1);background-color:rgba(52,199,89,.15);box-shadow:0 2px 8px rgba(52,199,89,.2)}}@keyframes corruptedSelectPulse{0%{transform:translateX(0) scale(1);background-color:rgba(220,53,69,.05)}50%{transform:translateX(3px) scale(1.02);background-color:rgba(220,53,69,.25);box-shadow:0 4px 12px rgba(220,53,69,.3)}100%{transform:translateX(2px) scale(1);background-color:rgba(220,53,69,.15);box-shadow:0 2px 8px rgba(220,53,69,.2)}}.affixes-tier-item[data-selection-type=prefix].selected{background-color:rgba(0,102,204,.15);border-left:4px solid #06c;animation:prefixSelectPulse .4s cubic-bezier(.4,0,.2,1)}.affixes-tier-item[data-selection-type=prefix].selected::before{background:linear-gradient(90deg,transparent,rgba(0,102,204,.1),transparent)}.affixes-tier-item[data-selection-type=prefix].selected:hover{background-color:rgba(0,102,204,.2)}.affixes-tier-item[data-selection-type=suffix].selected{background-color:rgba(52,199,89,.15);border-left:4px solid #34c759;animation:suffixSelectPulse .4s cubic-bezier(.4,0,.2,1)}.affixes-tier-item[data-selection-type=suffix].selected::before{background:linear-gradient(90deg,transparent,rgba(52,199,89,.1),transparent)}.affixes-tier-item[data-selection-type=suffix].selected:hover{background-color:rgba(52,199,89,.2)}.affixes-tier-item[data-selection-type=corrupted].selected{background-color:rgba(220,53,69,.15);border-left:4px solid #dc3545;animation:corruptedSelectPulse .4s cubic-bezier(.4,0,.2,1)}.affixes-tier-item[data-selection-type=corrupted].selected::before{background:linear-gradient(90deg,transparent,rgba(220,53,69,.1),transparent)}.affixes-tier-item[data-selection-type=corrupted].selected:hover{background-color:rgba(220,53,69,.2)}.affixes-tier-item.selected{padding-left:6px;transform:translateX(2px);box-shadow:0 2px 8px rgba(0,102,204,.2)}.affixes-tier-item.selected::before{left:100%}.affixes-tier-item.selected:hover{transform:translateX(2px) translateY(-1px)}.affixes-tier-main{display:flex;align-items:center;gap:3px;width:100%;flex-wrap:wrap;position:relative;z-index:2}.affixes-tier-secondary{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.affixes-tier-level{color:#06c;font-weight:700;font-size:.9em;white-space:nowrap;flex:0 0 auto}.affixes-tier-item.selected .affixes-tier-level{color:#06c;font-weight:700}.affixes-tier-desc{color:#666;font-size:.9em;flex:1 1 auto;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;min-width:0}.affixes-tier-req-level{color:#000;font-size:.85em;background-color:#f0f0f0;padding:2px 6px;border-radius:3px;white-space:nowrap;flex:0 0 auto;border:1px solid #4a4a4a}.affixes-tier-req-level:before{content:"Lv."}.affixes-tier-weight{color:#000;font-size:.9em;background-color:#e6f3ff;padding:2px 6px;border-radius:3px;white-space:nowrap;flex:0 0 auto;cursor:pointer;position:relative;border:1px solid #2e52b6}.affixes-tier-probability{color:#000;font-size:.9em;background-color:#e6f3ff;padding:2px 3px;border-radius:3px;white-space:nowrap;flex:0 0 auto;cursor:pointer;position:relative;border:1px solid #2e52b6;margin-left:2px}.affixes-tier-probability1{color:#000;font-size:.9em;background-color:#e6f3ff;padding:2px 4px;border-radius:3px;white-space:nowrap;flex:0 0 auto;cursor:pointer;position:relative;border:1px solid #2e52b6;margin-left:2px}.affixes-tier-probability2{color:#000;font-size:.9em;background-color:#e6f3ff;padding:2px 4px;border-radius:3px;white-space:nowrap;flex:0 0 auto;cursor:pointer;position:relative;border:1px solid #2e52b6;margin-left:2px}.weight-separator{color:#dc3545;font-weight:700;margin:0 2px}.weight-tooltip-popup{position:fixed;background-color:#2c2c2c;color:#fff;padding:12px 16px;border-radius:8px;font-size:.8em;font-weight:400;box-shadow:0 4px 12px rgba(0,0,0,.3);z-index:10001;pointer-events:none;display:none;max-width:280px;white-space:normal;word-wrap:break-word;line-height:1.3}.affixes-types{display:flex;flex-wrap:wrap;gap:2px;flex-shrink:0}.affixes-type{padding:1px 5px;border-radius:3px;font-size:11px;font-weight:400;white-space:nowrap;display:inline-flex;align-items:center;max-width:100%}.affixes-type.prefix{background-color:rgba(0,102,204,.1);color:#06c}.affixes-type.suffix{background-color:rgba(52,199,89,.1);color:#28a745}.affixes-type.corrupted{background-color:rgba(220,53,69,.1);color:#dc3545}.mother-affix-elements{flex-shrink:0}.mother-affix-elements .element-tag{font-size:.65rem;padding:1px 3px;margin:1px 2px}@media (max-width:768px){.simulator-layout{flex-direction:column}.simulator-nav{width:100%;height:auto;flex-direction:row;justify-content:center;padding:1rem 0;border-right:none;border-bottom:1px solid rgba(0,0,0,.1)}.nav-btn{width:auto;margin:0 .5rem;padding:.6rem 1rem;font-size:.8rem}.back-button{position:static;margin-right:auto;margin-left:1rem}.affixes-columns-container{flex-direction:column;height:auto}.affixes-column{flex:none;height:auto;border-right:none;border-bottom:1px solid #e5e5ea}.affixes-interaction-area{min-width:auto;height:auto;flex:none}.affixes-list{flex-direction:column}.affixes-center-column,.affixes-left-column,.affixes-right-column{margin-right:0;margin-bottom:15px}.affixes-right-column{margin-bottom:0}}@media (max-width:480px){.simulator-nav{padding:.8rem 0}.nav-btn{padding:.5rem .8rem;font-size:.75rem}}.affixes-tier-item.readonly{cursor:not-allowed;opacity:.7;background-color:#f8f8f8}.affixes-tier-item.readonly:hover{background-color:#f8f8f8;transform:none}.affixes-tier-item.readonly .affixes-tier-level{color:#999}.affixes-tier-item.readonly .affixes-tier-desc,.affixes-tier-item.readonly .affixes-tier-mods{color:#888}.element-tags{display:flex;gap:2px;flex-wrap:wrap;flex:0 0 auto}.element-tag{display:inline-block;padding:1px 3px;margin:1px;border-radius:2px;font-size:.7rem;font-weight:500;border:1px solid transparent}.item-level-input{background-color:#fff;border-radius:8px;padding:15px;margin-bottom:15px;box-shadow:0 1px 3px rgba(0,0,0,.1);display:flex;flex-direction:column;gap:15px}.item-level-input label{font-weight:700;color:#333;white-space:nowrap}.item-level-input input{border:1px solid #ddd;border-radius:4px;padding:6px 10px;font-size:1em;width:80px;text-align:center}.item-level-input input:focus{outline:0;border-color:#06c;box-shadow:0 0 0 2px rgba(0,102,204,.2)}.item-level-input .level-hint{color:#666;font-size:.9em}.weight-summary{display:flex;gap:10px;margin-left:10px}.weight-item{font-size:.9em;color:#333;white-space:nowrap;padding:6px 12px;border-radius:4px;border:1px solid}.weight-item:first-child{background-color:#e6f3ff;border-color:#b3d9ff}.weight-item:last-child{background-color:#e6ffe6;border-color:#b3ffb3}.weight-item span{font-weight:700;color:#333}.affixes-tier-item.level-restricted{opacity:.5;cursor:not-allowed;background-color:#f8f8f8}.affixes-tier-item.level-restricted:hover{background-color:#f8f8f8;transform:none}.affixes-tier-item.level-restricted .affixes-tier-desc,.affixes-tier-item.level-restricted .affixes-tier-level,.affixes-tier-item.level-restricted .affixes-tier-req-level,.affixes-tier-item.level-restricted .affixes-tier-weight{color:#999}.affixes-tier-item.level-restricted .element-tag{opacity:.6}.weight-percentage-popup{position:fixed;background-color:#2c2c2c;color:#fff;padding:8px 12px;border-radius:6px;font-size:.85em;font-weight:700;box-shadow:0 4px 12px rgba(0,0,0,.3);z-index:10000;pointer-events:none;display:none;white-space:nowrap;min-width:80px;text-align:center}.vaal-orb-effects{display:flex;align-items:center;gap:10px;margin-left:20px}.vaal-label{font-size:.9em;color:#333;font-weight:700;white-space:nowrap}.vaal-tags{display:flex;gap:6px;flex-wrap:wrap}.vaal-effect-tag{font-size:.8em;padding:4px 8px;border-radius:4px;border:1px solid;white-space:nowrap;font-weight:500}.vaal-effect-tag.vaal-replace{background-color:#f8d7da;color:#721c24;border-color:#f5c6cb}.vaal-effect-tag.vaal-corrupt{background-color:#f8d7da;color:#721c24;border-color:#f5c6cb}.vaal-effect-tag.vaal-socket{background-color:#f8d7da;color:#721c24;border-color:#f5c6cb}.vaal-effect-tag.vaal-modify{background-color:#f8d7da;color:#721c24;border-color:#f5c6cb}.vaal-effect-tag.vaal-nochange{background-color:#f8d7da;color:#721c24;border-color:#f5c6cb}.auto-hide-toast{position:fixed;top:20px;right:20px;background-color:#28a745;color:#fff;padding:16px 20px;border-radius:8px;font-size:.9rem;font-weight:500;box-shadow:0 4px 12px rgba(0,0,0,.15);z-index:10002;transform:translateX(400px);opacity:0;transition:all .3s ease;white-space:pre-line;max-width:300px;line-height:1.4}.auto-hide-toast.show{transform:translateX(0);opacity:1}.affix-control-panel-inline{display:flex;gap:16px;justify-content:flex-start;padding:20px 15px;background:linear-gradient(135deg,#f8f9fa,#e9ecef);border-radius:12px;border:2px solid #dee2e6;margin-bottom:20px;box-shadow:0 4px 12px rgba(0,0,0,.1)}.affix-control-panel-inline .control-btn{flex:0 0 auto;padding:12px 20px;font-size:.9rem;font-weight:600;border:none;border-radius:8px;cursor:pointer;transition:all .3s ease;text-align:center;white-space:nowrap;min-width:140px;position:relative;overflow:hidden;box-shadow:0 4px 12px rgba(0,0,0,.15)}.affix-control-panel-inline .control-btn::before{content:'';position:absolute;top:0;left:-100%;width:100%;height:100%;background:linear-gradient(90deg,transparent,rgba(255,255,255,.3),transparent);transition:left .6s ease}.affix-control-panel-inline .control-btn:hover::before{left:100%}.affix-control-panel-inline .random-select-btn{background-color:#d4edda;color:#155724;border:1px solid #c3e6cb;text-shadow:none}.affix-control-panel-inline .random-select-btn:hover{background-color:#c3e6cb;transform:translateY(-2px) scale(1.02);box-shadow:0 6px 20px rgba(21,87,36,.4);border-color:#b3d9c6}.affix-control-panel-inline .simulate-craft-btn{background-color:#cce7ff;color:#004085;border:1px solid #a3d2ff;text-shadow:none}.affix-control-panel-inline .simulate-craft-btn:hover{background-color:#a3d2ff;transform:translateY(-2px) scale(1.02);box-shadow:0 6px 20px rgba(0,64,133,.4);border-color:#85c1ff}.affix-control-panel-inline .control-btn:active{transform:translateY(0) scale(.98);box-shadow:0 2px 8px rgba(0,0,0,.2)}@keyframes button-pulse{0%{box-shadow:0 4px 12px rgba(0,0,0,.15);transform:scale(1)}50%{box-shadow:0 8px 25px rgba(0,0,0,.25);transform:scale(1.02)}100%{box-shadow:0 4px 12px rgba(0,0,0,.15);transform:scale(1)}}@keyframes button-pulse-green{0%{box-shadow:0 4px 12px rgba(40,167,69,.3);transform:scale(1)}50%{box-shadow:0 8px 25px rgba(40,167,69,.5);transform:scale(1.02)}100%{box-shadow:0 4px 12px rgba(40,167,69,.3);transform:scale(1)}}@keyframes button-pulse-blue{0%{box-shadow:0 4px 12px rgba(0,123,255,.3);transform:scale(1)}50%{box-shadow:0 8px 25px rgba(0,123,255,.5);transform:scale(1.02)}100%{box-shadow:0 4px 12px rgba(0,123,255,.3);transform:scale(1)}}.affix-control-panel-inline .random-select-btn{animation:button-pulse-green 2.5s ease-in-out infinite}.affix-control-panel-inline .simulate-craft-btn{animation:button-pulse-blue 2.5s ease-in-out infinite .5s}.affix-control-panel-inline .control-btn:hover{animation:none}.affix-control-panel-inline .control-btn i{margin-right:8px;font-size:1rem;vertical-align:middle}.affix-control-panel-inline .control-btn span{vertical-align:middle}.affix-control-panel-inline .control-btn{position:relative}.affix-control-panel-inline .control-btn::after{content:'';position:absolute;top:-3px;left:-3px;right:-3px;bottom:-3px;border-radius:11px;z-index:-1;opacity:.7}.affix-control-panel-inline .random-select-btn::after{background:linear-gradient(135deg,#c3e6cb,#b3d9c6)}.affix-control-panel-inline .simulate-craft-btn::after{background:linear-gradient(135deg,#a3d2ff,#85c1ff)}.affix-control-panel-inline .control-btn:hover::after{opacity:1}.item-level-controls{display:flex;align-items:center;gap:10px;margin-top:10px}.crafting-layout{display:flex;width:100%;height:100%;overflow:hidden;justify-content:center;align-items:center}.crafting-placeholder{text-align:center;padding:40px;background-color:#f9f9f9;border-radius:8px;box-shadow:0 2px 8px rgba(0,0,0,.1)}.crafting-placeholder h2{font-size:1.5rem;color:#1d1d1f;margin-bottom:16px}.crafting-placeholder p{font-size:1rem;color:#666;margin-bottom:12px;line-height:1.6}.tutorial-content-area{flex:1;height:100%;background-color:#fff;overflow:hidden}.tutorial-layout{display:flex;height:100%;width:100%}.tutorial-nav-column{min-width:200px;width:200px;flex-shrink:0;background-color:#f5f5f7;border-right:1px solid rgba(0,0,0,.1);display:flex;flex-direction:column;overflow:hidden}.tutorial-nav-header{padding:1rem;background-color:#f5f5f7;border-bottom:1px solid rgba(0,0,0,.1);text-align:center}.tutorial-nav-header h2{margin:0;font-size:1rem;color:#1d1d1f;font-weight:600}.tutorial-nav-content{padding:.8rem;overflow-y:auto;flex-grow:1}.tutorial-nav-btn{display:flex;align-items:center;justify-content:center;width:100%;padding:.8rem;margin-bottom:.5rem;background-color:#fff;border:1px solid rgba(0,0,0,.1);border-radius:12px;cursor:pointer;transition:all .2s ease;text-align:center;box-shadow:0 1px 3px rgba(0,0,0,.05)}.tutorial-nav-btn:hover{background-color:#f5f5f7;border-color:rgba(0,0,0,.2);transform:translateY(-1px);box-shadow:0 2px 5px rgba(0,0,0,.1)}.tutorial-nav-btn.active{background-color:#06c;color:#fff;border-color:#06c;box-shadow:0 2px 8px rgba(0,102,204,.3)}.tutorial-nav-btn .tutorial-icon{font-size:1.2rem;margin-right:.8rem;flex-shrink:0}.tutorial-nav-btn .tutorial-title{font-size:.9rem;font-weight:500;line-height:1.3}.tutorial-content-column{flex:1;background-color:#fff;display:flex;flex-direction:column;overflow:hidden}.tutorial-content-header{padding:1rem 2rem;background-color:#f5f5f7;border-bottom:1px solid rgba(0,0,0,.1)}.tutorial-content-header h2{margin:0;font-size:1.5rem;color:#1d1d1f;font-weight:600}.tutorial-content-main{flex:1;padding:2rem;overflow-y:auto;background-color:#fff}.tutorial-section{width:100%;max-width:none;margin:0}.tutorial-placeholder{background-color:transparent;border:none;border-radius:0;padding:0;text-align:left;color:#333}.tutorial-placeholder h3{margin:0 0 1rem 0;font-size:1.8rem;font-weight:700;color:#06c;text-shadow:0 1px 2px rgba(0,0,0,.1)}.tutorial-placeholder p{margin:.5rem 0;font-size:1rem;line-height:1.6}.tutorial-placeholder ul{text-align:left;max-width:none;margin:1rem 0;padding-left:1.5rem}.tutorial-placeholder li{margin:.5rem 0;font-size:.95rem;line-height:1.5}@media (max-width:768px){.tutorial-layout{flex-direction:column}.tutorial-nav-column{width:100%;min-width:100%;max-height:200px}.tutorial-nav-content{display:flex;flex-direction:row;overflow-x:auto;padding:.5rem}.tutorial-nav-btn{min-width:150px;margin-right:.5rem;margin-bottom:0}.tutorial-content-main{padding:1rem}}.crafting-container{display:flex;width:100%;height:100%;overflow:hidden}.crafting-column{flex:1;height:100%;border-right:1px solid #e5e5ea;overflow:hidden;display:flex;flex-direction:column;padding:15px}.crafting-column:last-child{border-right:none}.crafting-column h3{margin:0 0 15px 0;padding:0;font-size:1.2rem;color:#1d1d1f;border-bottom:none;padding-bottom:0}.item-info-column{flex:0 0 450px;background-color:#f9f9f9}.item-info-column h3{margin:0 0 15px 0;padding:0;font-size:1.2rem;color:#1d1d1f;border-bottom:none;padding-bottom:0;text-align:center}.item-info-content{display:flex;flex-direction:column;gap:0;height:100%}.rupture-stone-section{display:flex;justify-content:center}.rupture-stone-btn{display:flex;align-items:center;gap:8px;padding:12px 24px;background:linear-gradient(135deg,#4a4a4a,#2a2a2a);color:#fff;border:none;border-radius:8px;font-size:1rem;font-weight:600;cursor:pointer;transition:all .3s ease;box-shadow:0 2px 8px rgba(74,74,74,.3)}.rupture-stone-btn:hover{background:linear-gradient(135deg,#5a5a5a,#3a3a3a);transform:translateY(-1px);box-shadow:0 4px 12px rgba(74,74,74,.4)}.rupture-stone-btn:active{transform:translateY(0);box-shadow:0 2px 6px rgba(74,74,74,.3)}.rupture-stone-btn img{width:40px;height:40px;object-fit:contain}.item-image-section{display:flex;flex-direction:column;align-items:center;flex:0 0 auto}.item-image-container{display:flex;flex-direction:column;align-items:center;gap:0;width:100%}.item-image-wrapper{position:relative;width:100%;height:240px;border:2px solid #2a2a2a;border-radius:8px;overflow:hidden;background-color:#2a2a2a;display:flex;align-items:center;justify-content:center;margin-bottom:0}.item-image{width:100%;height:100%;object-fit:contain}.item-image-placeholder{display:flex;flex-direction:column;align-items:center;justify-content:center;color:#86868b;font-size:.9rem;gap:8px}.item-image-placeholder i{font-size:2rem}.item-name-display{font-size:1.1rem;font-weight:600;color:#1d1d1f;text-align:center;padding:8px 12px;background-color:#fff;border:1px solid #e5e5ea;border-radius:6px;min-height:40px;display:flex;align-items:center;justify-content:center}.item-details-section{flex:1;overflow-y:hidden;margin-top:-2px}.item-details-content{display:flex;flex-direction:column;gap:0;margin-top:0;height:100%;overflow:hidden}.simplified-item-info{background-color:#2a2a2a;border:1px solid #2a2a2a;border-radius:6px;padding:4px;margin:0}.simplified-item-name{font-size:1.8rem;font-weight:500;color:#ffeb3b;margin-bottom:8px;text-align:center;padding:6px 12px;position:relative;background-image:url('left.webp'),url('right.webp'),url('mid.webp');background-repeat:no-repeat,no-repeat,repeat-x;background-position:left center,right center,center center;background-size:auto 100%,auto 100%,auto 100%;min-height:48px;display:flex;align-items:center;justify-content:center;z-index:1;position:relative}.simplified-item-category{font-size:1rem;color:#ccc;font-weight:400;margin-bottom:8px;text-align:center;font-style:italic}.simplified-item-level{font-size:.85rem;color:#888;font-weight:400;margin-bottom:8px;text-align:center}.simplified-affix-list{display:flex;flex-direction:column;gap:6px;margin-top:4px;overflow:hidden}.simplified-affix-item{font-size:.9rem;color:#fff;padding:2px 0;border-bottom:none;display:flex;align-items:center;text-align:center;justify-content:center;position:relative}.simplified-affix-item:last-child{border-bottom:none}.simplified-affix-tier{font-weight:300;font-size:.75rem;position:absolute;left:0;margin-right:0}.simplified-affix-req-level{font-weight:300;font-size:.75rem;position:absolute;right:0;margin-left:0}.simplified-affix-description{flex:1;text-align:center;padding-left:30px;padding-right:30px;color:#7d9afe;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.simplified-affix-prefix .simplified-affix-tier{color:#ffeb3b}.simplified-affix-suffix .simplified-affix-tier{color:#ffa000}.simplified-affix-corrupted .simplified-affix-tier{color:#f08080}.simplified-affix-prefix .simplified-affix-req-level{color:#ffeb3b}.simplified-affix-suffix .simplified-affix-req-level{color:#ffa000}.simplified-affix-corrupted .simplified-affix-req-level{color:#f08080}.simplified-no-affixes{text-align:center;color:#ccc;font-style:italic;padding:8px 0}.crafting-steps-column,.simulation-results-column{background-color:#fff}.crafting-steps-column h3,.simulation-results-column h3{border-bottom:none;text-align:center}.placeholder-content{display:flex;align-items:center;justify-content:center;height:200px;background-color:#f9f9f9;border:2px dashed #e5e5ea;border-radius:8px;color:#86868b;font-style:italic}.temporary-message{position:fixed;top:50%;left:50%;transform:translate(-50%,-50%);background-color:#1d1d1f;color:#fff;padding:12px 24px;border-radius:8px;font-size:.9rem;font-weight:500;z-index:1000;opacity:0;transition:opacity .3s ease;pointer-events:none;white-space:nowrap;text-align:center;display:flex;align-items:center;justify-content:center;min-height:48px;box-shadow:0 4px 16px rgba(0,0,0,.3)}.temporary-message.show{opacity:1}@media (max-width:1024px){.crafting-container{flex-direction:column;overflow-y:auto}.crafting-column{flex:none;height:auto;min-height:300px;border-right:none;border-bottom:1px solid #e5e5ea}.item-info-column{flex:none}}@media (max-width:768px){.crafting-column{padding:10px}.item-image-wrapper{width:200px;height:200px}.simplified-affix-list{max-height:150px;overflow-y:hidden}.simplified-affix-description{padding-left:25px;padding-right:25px}.simplified-affix-req-level,.simplified-affix-tier{font-size:.7rem}}.rupture-stone-btn.active{background:linear-gradient(135deg,#6a4c93,#4a2c73);box-shadow:0 4px 12px rgba(106,76,147,.5);transform:translateY(-1px)}.rupture-mode .simplified-affix-item.rupture-selectable{cursor:pointer;transition:all .2s ease;border:1px solid transparent;border-radius:4px;margin:1px}.rupture-mode .simplified-affix-item.rupture-selectable:hover{background-color:rgba(255,255,255,.1);border-color:rgba(255,255,255,.3);transform:translateY(-1px)}.simplified-affix-item.ruptured .simplified-affix-description{color:#d6c400!important;font-weight:600;text-shadow:0 0 3px rgba(214,196,0,.3)}.rupture-mode{cursor:crosshair}.rupture-mode .simplified-affix-item.rupture-selectable::before{content:"🔨";position:absolute;right:4px;top:50%;transform:translateY(-50%);font-size:.8rem;opacity:.7}.crafting-steps-content{padding:15px;display:flex;flex-direction:column;gap:10px;height:100%;overflow-y:auto}.crafting-steps-title{font-size:1.1rem;font-weight:600;color:#333;margin-bottom:10px;text-align:center;padding:0 10px}.crafting-step-description{margin-bottom:8px}.step-line{display:flex;align-items:center;flex-wrap:wrap;gap:8px;margin-bottom:6px;line-height:1.5}.step-text{font-size:.95rem;color:#333;font-weight:500;white-space:nowrap}.inline-dropdown{min-width:150px;max-width:300px;width:auto;padding:6px 10px;border:2px solid #e5e5ea;border-radius:4px;background-color:#fff;font-size:.85rem;color:#333;cursor:pointer;transition:all .2s ease;appearance:none;background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23666' viewBox='0 0 16 16'%3E%3Cpath d='M8 11L3 6h10l-5 5z'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 6px center;background-size:10px;padding-right:25px;white-space:normal;overflow:visible;text-overflow:clip;word-wrap:break-word;box-sizing:border-box}.inline-dropdown:hover{border-color:#06c;box-shadow:0 0 0 2px rgba(0,102,204,.1)}.inline-dropdown:focus{outline:0;border-color:#06c;box-shadow:0 0 0 3px rgba(0,102,204,.2)}.inline-dropdown option{padding:8px 12px;font-size:.85rem;white-space:normal;word-wrap:break-word}.condition-group-container{border:2px dashed #007bff;border-radius:8px;padding:10px;background-color:#e3f2fd;position:relative;transition:all .3s ease}.condition-group-container.expanded{border-color:#007bff;background-color:#e3f2fd}.or-condition-group{border-color:#007bff;background-color:#e3f2fd;margin-top:8px}.or-condition-group.expanded{border-color:#007bff;background-color:#e3f2fd}.or-condition-group.color-1,.or-condition-group.color-2,.or-condition-group.color-3,.or-condition-group.color-4,.or-condition-group.color-5{border-color:#007bff;background-color:#e3f2fd}.or-condition-group.color-1.expanded,.or-condition-group.color-2.expanded,.or-condition-group.color-3.expanded,.or-condition-group.color-4.expanded,.or-condition-group.color-5.expanded{border-color:#007bff;background-color:#e3f2fd}.condition-line{display:flex;align-items:center;flex-wrap:wrap;gap:8px;margin-bottom:6px;line-height:1.5;position:relative}.new-condition-line{margin-top:4px;padding:6px;background-color:#f0f7ff;border-radius:6px;animation:slideIn .3s ease}.delete-condition-btn{width:20px;height:20px;border:1px solid #dc3545;border-radius:50%;background-color:#fff;color:#dc3545;font-size:.8rem;font-weight:700;cursor:pointer;transition:all .2s ease;display:flex;align-items:center;justify-content:center;margin-left:8px;flex-shrink:0}.delete-condition-btn:hover{background-color:#dc3545;color:#fff;transform:scale(1.1)}.delete-condition-btn:active{transform:scale(.9)}.delete-group-btn{position:absolute;top:6px;right:6px;width:24px;height:24px;border:1px solid #dc3545;border-radius:50%;background-color:#fff;color:#dc3545;font-size:.9rem;font-weight:700;cursor:pointer;transition:all .2s ease;display:flex;align-items:center;justify-content:center;z-index:10}.delete-group-btn:hover{background-color:#dc3545;color:#fff;transform:scale(1.1);box-shadow:0 2px 4px rgba(220,53,69,.3)}.delete-group-btn:active{transform:scale(.9)}.condition-line.deletable{padding-right:32px}.or-condition-group{padding-top:35px}.add-condition-area{display:flex;justify-content:center;margin-top:8px}.add-condition-btn{width:36px;height:36px;border:2px solid #06c;border-radius:50%;background-color:#fff;color:#06c;font-size:1.2rem;font-weight:700;cursor:pointer;transition:all .3s ease;display:flex;align-items:center;justify-content:center;box-shadow:0 2px 4px rgba(0,0,0,.1)}.add-condition-btn:hover{background-color:#06c;color:#fff;transform:scale(1.05);box-shadow:0 4px 8px rgba(0,102,204,.3)}.add-condition-btn:active{transform:scale(.95)}.condition-actions{display:none;flex-direction:column;gap:8px;margin-top:8px}.condition-actions.show{display:flex}.condition-action-btn{padding:6px 10px;border:1px solid #e5e5ea;border-radius:6px;background-color:#fff;color:#333;font-size:.8rem;cursor:pointer;transition:all .2s ease;text-align:center;white-space:nowrap}.condition-action-btn:hover{background-color:#f0f7ff;border-color:#06c;color:#06c}.condition-action-btn:active{background-color:#e0f0ff}.condition-action-btn.or-condition{border-color:#28a745;color:#28a745}.condition-action-btn.or-condition:hover{background-color:#f0fff4;border-color:#28a745}.condition-action-btn.and-condition{border-color:#06c;color:#06c}.condition-action-btn.and-condition:hover{background-color:#f0f7ff;border-color:#06c}.condition-action-btn.and-not-condition{border-color:#dc3545;color:#dc3545}.condition-action-btn.and-not-condition:hover{background-color:#fff5f5;border-color:#dc3545}@keyframes slideIn{from{opacity:0;transform:translateY(-10px)}to{opacity:1;transform:translateY(0)}}.condition-relation-label{font-size:.85rem;color:#666;font-weight:500;margin-right:8px}.condition-relation-label.or{color:#28a745}.condition-relation-label.and{color:#06c}.condition-relation-label.and-not{color:#dc3545}@media (max-width:768px){.crafting-steps-content{padding:10px;gap:8px}.condition-line,.step-line{flex-direction:column;align-items:flex-start;gap:4px}.delete-condition-btn{width:18px;height:18px;font-size:.75rem}.delete-group-btn{width:22px;height:22px;font-size:.8rem;top:4px;right:4px}.or-condition-group{padding-top:32px}.inline-dropdown{min-width:120px;max-width:250px;font-size:.8rem}.step-text{font-size:.9rem}.condition-action-btn{font-size:.75rem;padding:6px 10px}}.crafting-steps-content::-webkit-scrollbar{width:6px}.crafting-steps-content::-webkit-scrollbar-track{background:#f1f1f1;border-radius:3px}.crafting-steps-content::-webkit-scrollbar-thumb{background:#c1c1c1;border-radius:3px}.crafting-steps-content::-webkit-scrollbar-thumb:hover{background:#a8a8a8}.next-step-area{margin-top:20px;padding-top:15px;border-top:1px solid #e5e5ea;display:flex;justify-content:center}.next-step-btn{padding:12px 24px;background:linear-gradient(135deg,#007bff,#0056b3);color:#fff;border:none;border-radius:8px;font-size:1rem;font-weight:600;cursor:pointer;transition:all .3s ease;box-shadow:0 4px 12px rgba(0,123,255,.3);display:flex;align-items:center;gap:8px}.next-step-btn:hover{background:linear-gradient(135deg,#0056b3,#004085);transform:translateY(-2px);box-shadow:0 6px 20px rgba(0,123,255,.4)}.next-step-btn:active{transform:translateY(0);box-shadow:0 2px 8px rgba(0,123,255,.3)}.next-step-btn:disabled{background:linear-gradient(135deg,#6c757d,#5a6268);cursor:not-allowed;transform:none;box-shadow:0 2px 6px rgba(108,117,125,.3)}.next-step-btn:disabled:hover{transform:none;box-shadow:0 2px 6px rgba(108,117,125,.3)}.crafting-step-container{margin-bottom:20px;padding:15px;border:1px solid #e5e5ea;border-radius:8px;background-color:#fff}.crafting-step-container.hidden{display:none}.crafting-step-header{display:flex;align-items:center;justify-content:space-between;margin-bottom:15px;padding-bottom:10px;border-bottom:1px solid #f0f0f0}.crafting-step-title{font-size:1.1rem;font-weight:600;color:#333;margin:0}.crafting-step-controls{display:flex;align-items:center;gap:8px}.crafting-step-number{background-color:#007bff;color:#fff;width:24px;height:24px;border-radius:50%;display:flex;align-items:center;justify-content:center;font-size:.9rem;font-weight:700}.delete-step-btn{width:24px;height:24px;border:1px solid #dc3545;border-radius:50%;background-color:#fff;color:#dc3545;font-size:.9rem;font-weight:700;cursor:pointer;transition:all .2s ease;display:flex;align-items:center;justify-content:center;margin-left:4px}.delete-step-btn:hover{background-color:#dc3545;color:#fff;transform:scale(1.1);box-shadow:0 2px 4px rgba(220,53,69,.3)}.delete-step-btn:active{transform:scale(.9)}.multi-select-dropdown{position:relative;min-width:400px;max-width:500px;width:400px}.multi-select-trigger{min-width:400px;max-width:500px;width:400px;padding:6px 25px 6px 10px;border:2px solid #e5e5ea;border-radius:4px;background-color:#fff;font-size:.85rem;color:#333;cursor:pointer;transition:all .2s ease;appearance:none;background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23666' viewBox='0 0 16 16'%3E%3Cpath d='M8 11L3 6h10l-5 5z'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 6px center;background-size:10px;white-space:normal;overflow:visible;text-overflow:clip;display:block;line-height:1.3;min-height:32px;box-sizing:border-box}.multi-select-trigger:hover{border-color:#06c;box-shadow:0 0 0 2px rgba(0,102,204,.1)}.multi-select-trigger.active{border-color:#06c;box-shadow:0 0 0 3px rgba(0,102,204,.2)}.multi-select-dropdown-list{position:absolute;top:100%;left:0;right:0;background-color:#fff;border:2px solid #06c;border-top:none;border-radius:0 0 4px 4px;max-height:200px;overflow-y:auto;z-index:1000;display:none;box-shadow:0 4px 8px rgba(0,0,0,.1);min-width:400px;width:100%}.multi-select-dropdown-list.show{display:block}.multi-select-option{padding:8px 12px;cursor:pointer;transition:background-color .2s ease;display:flex;align-items:flex-start;gap:8px;font-size:.85rem;border-bottom:1px solid #f0f0f0;line-height:1.3}.multi-select-option:last-child{border-bottom:none}.multi-select-option:hover{background-color:#f0f7ff}.multi-select-option.selected{background-color:#e3f2fd;color:#06c}.multi-select-checkbox{width:14px;height:14px;border:1px solid #ccc;border-radius:2px;position:relative;flex-shrink:0;margin-top:2px}.multi-select-checkbox.checked{background-color:#06c;border-color:#06c}.multi-select-checkbox.checked::after{content:'✓';position:absolute;top:-1px;left:2px;color:#fff;font-size:10px;font-weight:700}.multi-select-option-text{flex:1;white-space:normal;overflow:visible;text-overflow:clip;word-wrap:break-word}.multi-select-count{background-color:#06c;color:#fff;border-radius:10px;padding:2px 6px;font-size:.7rem;margin-left:4px;min-width:16px;text-align:center;display:inline-block;vertical-align:middle}.multi-select-selected-details{margin-top:4px;padding:4px 0;border-top:1px solid #e5e5ea;font-size:.75rem;color:#666;line-height:1.2}.multi-select-selected-item{display:block;margin-bottom:2px;padding:2px 0}.multi-select-selected-item:last-child{margin-bottom:0}@media (max-width:768px){.multi-select-dropdown{min-width:300px;max-width:300px;width:300px}.multi-select-trigger{min-width:300px;max-width:300px;width:300px;font-size:.8rem;padding:6px 20px 6px 8px}.multi-select-option{padding:6px 10px;font-size:.8rem}.multi-select-dropdown-list{max-height:150px;min-width:300px;width:100%}}.crafting-steps-column{flex:2;background-color:#fff}.simulation-results-column{flex:1;background-color:#fff}.simulation-results-content{padding:15px;display:flex;flex-direction:column;gap:20px;height:100%;overflow-y:auto}.simulation-control-section{margin-bottom:20px;padding:15px;background:#f8f9fa;border-radius:8px;border:1px solid #dee2e6;display:flex;flex-direction:column;align-items:center;gap:15px}.simulation-top-row{display:flex;justify-content:center;align-items:center;width:100%;gap:30px}.simulation-settings{display:flex;align-items:center;gap:10px;flex-shrink:0}.simulation-settings label{font-size:.9rem;font-weight:600;color:#495057;white-space:nowrap}.simulation-settings input{padding:6px 10px;border:1px solid #ced4da;border-radius:4px;font-size:.9rem;width:90px;text-align:center}.simulation-settings input:focus{outline:0;border-color:#007bff;box-shadow:0 0 0 2px rgba(0,123,255,.25)}.simulation-buttons-container{display:flex;gap:15px;align-items:center}.failure-mode-settings{display:flex;align-items:center;justify-content:center;gap:15px;width:100%}.failure-mode-label{font-size:.9rem;font-weight:600;color:#495057}.failure-mode-buttons{display:flex;gap:10px}.failure-mode-btn{padding:8px 16px;background:#fff;color:#6c757d;border:2px solid #dee2e6;border-radius:6px;font-size:.85rem;font-weight:500;cursor:pointer;transition:all .2s ease;white-space:nowrap}.failure-mode-btn:hover{background:#f8f9fa;border-color:#ced4da;color:#495057}.failure-mode-btn.active{background:#007bff;color:#fff;border-color:#007bff}.failure-mode-btn.active:hover{background:#0056b3;border-color:#0056b3}.start-simulation-btn{padding:12px 32px;background:linear-gradient(135deg,#28a745,#20c997);color:#fff;border:none;border-radius:8px;font-size:1rem;font-weight:600;cursor:pointer;transition:all .3s ease;box-shadow:0 4px 12px rgba(40,167,69,.3);display:flex;align-items:center;gap:8px;min-width:160px;justify-content:center}.start-simulation-btn:hover{background:linear-gradient(135deg,#218838,#1ea080);transform:translateY(-2px);box-shadow:0 6px 20px rgba(40,167,69,.4)}.start-simulation-btn:active{transform:translateY(0);box-shadow:0 2px 8px rgba(40,167,69,.3)}.simulation-statistics-section{flex:1;background-color:#f8f9fa;border-radius:8px;padding:15px;border:1px solid #e9ecef}.statistics-container{display:flex;flex-direction:column;border-radius:6px;overflow:hidden;border:1px solid #e9ecef}.statistics-row{background-color:#fff;border-radius:0;padding:12px;border:none;border-bottom:1px solid #e9ecef;box-shadow:none;display:flex;justify-content:space-between;align-items:center;gap:15px}.statistics-row:last-child{border-bottom:none}.statistics-row:first-child,.statistics-row:only-child{border-radius:0}.statistics-row.total-statistics{background:linear-gradient(135deg,#e3f2fd,#f3e5f5);font-weight:600}.statistics-row.step-statistics{background-color:#fff}.statistics-row.step-statistics .statistics-label{color:#495057;font-weight:600}.statistics-label{font-size:.95rem;margin-bottom:8px;padding-bottom:6px;border-bottom:1px solid #e9ecef;text-align:center}.statistics-details{display:flex;flex-direction:column;gap:6px}.stat-item{display:flex;justify-content:space-between;align-items:center;font-size:.85rem;color:#495057;padding:2px 0}.stat-value{font-weight:600;color:#212529}.stat-value.success-rate{color:#28a745;font-weight:700}@media (max-width:768px){.simulation-results-content{padding:10px;gap:15px}.start-simulation-btn{padding:10px 20px;font-size:.9rem;min-width:120px}.simulation-statistics-section{padding:12px}.statistics-row{padding:10px;flex-direction:column;gap:8px}.stat-text{font-size:.8rem;text-align:left}}.stat-text{font-size:.85rem;color:#495057;white-space:nowrap;flex:1;text-align:center}.statistics-row.total-statistics .stat-text{color:#1976d2;font-weight:600}.stat-value{font-weight:700;color:#212529}.stat-value.success-rate{color:#28a745;font-weight:700}#additional-step-statistics{display:flex;flex-direction:column;gap:12px}.consumption-statistics-section{margin-top:20px;background-color:#f8f9fa;border-radius:8px;padding:15px;border:1px solid #e9ecef}.consumption-container{display:flex;flex-direction:column;gap:12px}.consumption-header{text-align:center;border-bottom:1px solid #e9ecef;padding-bottom:8px}.consumption-header h4{margin:0;font-size:1rem;color:#495057;font-weight:600}.consumption-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;min-height:80px;align-items:start}.consumption-item{display:flex;align-items:center;gap:6px;padding:6px 8px;background-color:#fff;border:1px solid #e9ecef;border-radius:4px;font-size:.9rem;color:#495057;transition:all .2s ease}.consumption-item:hover{background-color:#f8f9fa;border-color:#dee2e6;transform:translateY(-1px);box-shadow:0 2px 4px rgba(0,0,0,.1)}.consumption-icon{width:30px;height:30px;object-fit:contain;flex-shrink:0}.consumption-icons-container{display:flex;align-items:center;gap:2px;flex-shrink:0}.consumption-icon.multi-icon{width:24px;height:24px}.consumption-name{font-weight:500;color:#333;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;flex:1;min-width:0}.consumption-count{font-weight:700;color:#dc3545;white-space:nowrap;flex-shrink:0}.consumption-placeholder{grid-column:1/-1;text-align:center;color:#6c757d;font-style:italic;padding:20px;background-color:#fff;border:1px dashed #dee2e6;border-radius:4px}@media (max-width:768px){.consumption-statistics-section{padding:12px;margin-top:15px}.consumption-grid{grid-template-columns:repeat(2,1fr);gap:6px;min-height:60px}.consumption-item{padding:4px 6px;font-size:.75rem}.consumption-icon{width:16px;height:16px}.consumption-placeholder{padding:15px;font-size:.8rem}}.simulation-process-section{margin-top:20px;background-color:#f8f9fa;border-radius:8px;padding:15px;border:1px solid #e9ecef;flex:1;display:flex;flex-direction:column;min-height:200px}.simulation-process-container{display:flex;flex-direction:column;height:100%;gap:12px}.simulation-process-header{display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid #e9ecef;padding-bottom:8px}.simulation-process-header h4{margin:0;font-size:1rem;color:#495057;font-weight:600}.process-controls{display:flex;gap:8px}.clear-process-btn{padding:4px 12px;background-color:#6c757d;color:#fff;border:none;border-radius:4px;font-size:.8rem;cursor:pointer;transition:all .2s ease;display:flex;align-items:center;gap:4px}.clear-process-btn:hover{background-color:#5a6268;transform:translateY(-1px);box-shadow:0 2px 4px rgba(0,0,0,.1)}.clear-process-btn:active{transform:translateY(0);box-shadow:0 1px 2px rgba(0,0,0,.1)}.download-process-btn{padding:6px 12px;background:#007cba;color:#fff;border:none;border-radius:4px;font-size:12px;cursor:pointer;transition:all .2s ease}.download-process-btn:hover{background:#005a8b;transform:translateY(-1px)}.download-process-btn:active{transform:translateY(0)}.simulation-process-content{flex:1;background-color:#fff;border:1px solid #e9ecef;border-radius:6px;padding:12px;overflow-y:auto;max-height:300px;min-height:150px}.process-placeholder{text-align:center;color:#6c757d;font-style:italic;padding:40px 20px;height:100%;display:flex;flex-direction:column;justify-content:center;align-items:center;gap:8px}.process-placeholder span{font-size:1rem;font-weight:500}.process-placeholder p{font-size:.9rem;margin:0;opacity:.8}.process-record{padding:8px 12px;margin-bottom:4px;border-radius:4px;border-left:3px solid #ddd;background:#f8f9fa;animation:slideInProcess .3s ease-out}.process-record:last-child{margin-bottom:0}@keyframes slideInProcess{from{opacity:0;transform:translateX(-20px)}to{opacity:1;transform:translateX(0)}}.process-content{font-size:13px;line-height:1.4;color:#495057}.process-record.step-start{border-left-color:#007cba;background:#e7f3ff}.process-record.step-success{border-left-color:#28a745;background:#e8f5e8}.process-record.step-failure{border-left-color:#dc3545;background:#f8e8e8}.process-record.step-info{border-left-color:#6c757d;background:#f1f3f4}.process-record.step-warning{border-left-color:#ffc107;background:#fff8e1}.process-highlight{font-weight:600;color:#007cba}.process-success{color:#28a745;font-weight:500}.process-failure{color:#dc3545;font-weight:500}.process-warning{color:#ffc107;font-weight:500}.simulation-process-content::-webkit-scrollbar{width:6px}.simulation-process-content::-webkit-scrollbar-track{background:#f1f1f1;border-radius:3px}.simulation-process-content::-webkit-scrollbar-thumb{background:#c1c1c1;border-radius:3px}.simulation-process-content::-webkit-scrollbar-thumb:hover{background:#a8a8a8}@media (max-width:768px){.simulation-process-section{padding:12px;margin-top:15px;min-height:150px}.simulation-process-content{max-height:200px;min-height:100px;padding:10px}.process-placeholder{padding:30px 15px}.process-placeholder span{font-size:.9rem}.process-placeholder p{font-size:.8rem}.process-record{padding:8px;font-size:.8rem;margin-bottom:10px}.clear-process-btn{padding:3px 10px;font-size:.75rem}}.simulation-control-section{margin-bottom:20px;padding:15px;background:#f8f9fa;border-radius:8px;border:1px solid #dee2e6;display:flex;flex-direction:column;align-items:center;gap:15px}.simulation-settings{display:flex;align-items:center;gap:15px;margin-bottom:0;flex-wrap:wrap}.simulation-buttons-container{display:flex;gap:15px;align-items:center}.failure-mode-settings{display:flex;align-items:center;gap:15px;padding:10px 15px;background-color:#fff;border-radius:8px;border:1px solid #e9ecef}.failure-mode-label{font-size:.9rem;font-weight:600;color:#495057;white-space:nowrap}.failure-mode-options{display:flex;gap:20px}.failure-mode-option{display:flex;align-items:center;gap:6px;cursor:pointer;font-size:.85rem;color:#495057;transition:color .2s ease}.failure-mode-option:hover{color:#212529}.failure-mode-option input[type=radio]{margin:0;cursor:pointer}.failure-mode-option span{white-space:nowrap;user-select:none}.stop-simulation-btn{padding:12px 24px;background:linear-gradient(135deg,#dc3545,#c82333);color:#fff;border:none;border-radius:8px;font-size:1rem;font-weight:600;cursor:pointer;transition:all .3s ease;box-shadow:0 4px 12px rgba(220,53,69,.3);display:flex;align-items:center;gap:8px;min-width:140px;justify-content:center}.stop-simulation-btn:hover{background:linear-gradient(135deg,#c82333,#a02622);transform:translateY(-2px);box-shadow:0 6px 20px rgba(220,53,69,.4)}.stop-simulation-btn:active{transform:translateY(0);box-shadow:0 2px 8px rgba(220,53,69,.3)}@media (max-width:768px){.simulation-control-section{gap:12px;padding:12px}.simulation-top-row{flex-direction:column;gap:15px;align-items:stretch}.simulation-settings{justify-content:center}.simulation-settings input{width:80px}.simulation-buttons-container{justify-content:center}.start-simulation-btn{min-width:140px;padding:12px 24px}.failure-mode-settings{flex-direction:column;gap:8px}.failure-mode-buttons{gap:8px;flex-wrap:wrap;justify-content:center}.failure-mode-btn{font-size:.8rem;padding:6px 12px}.consumption-icon.multi-icon{width:20px;height:20px}.consumption-icons-container{gap:1px}}.consumption-placeholder{grid-column:1/-1;text-align:center;color:#6c757d;font-style:italic;padding:20px;background-color:#fff;border:1px dashed #dee2e6;border-radius:4px}.affixes-item[data-affix-type=prefix].has-selected{background-color:#d6ebff;border-color:#9cf}.affixes-item[data-affix-type=prefix].has-selected .affixes-header{background-color:#c7e2ff}.affixes-item[data-affix-type=prefix].has-selected .affixes-header:hover{background-color:#b8d9ff}.affixes-item[data-affix-type=suffix].has-selected{background-color:#d6f0dd;border-color:#99d9b3}.affixes-item[data-affix-type=suffix].has-selected .affixes-header{background-color:#c7e8d1}.affixes-item[data-affix-type=suffix].has-selected .affixes-header:hover{background-color:#b8e0c5}.affixes-item[data-affix-type=corrupted].has-selected{background-color:#f9e6e6;border-color:#e6b3b3}.affixes-item[data-affix-type=corrupted].has-selected .affixes-header{background-color:#f2d6d6}.affixes-item[data-affix-type=corrupted].has-selected .affixes-header:hover{background-color:#ebc7c7}.currency-module{margin-top:0;flex:1;display:flex;flex-direction:column}.currency-buttons-section{padding:15px;background-color:#1d1d1f;border-radius:8px;border:1px solid #333;flex:1;overflow-y:auto;display:flex;flex-direction:column;max-height:500px}.currency-buttons-section::-webkit-scrollbar{width:6px}.currency-buttons-section::-webkit-scrollbar-track{background:rgba(255,255,255,.1);border-radius:3px}.currency-buttons-section::-webkit-scrollbar-thumb{background:rgba(255,255,255,.3);border-radius:3px}.currency-buttons-section::-webkit-scrollbar-thumb:hover{background:rgba(255,255,255,.5)}.currency-buttons-section h4{margin:0 0 12px 0;font-size:1rem;color:#fff;text-align:center;font-weight:600}.history-buttons-container{display:flex;gap:6px;margin-bottom:12px;justify-content:center}.history-btn{flex:1;display:flex;align-items:center;justify-content:center;gap:4px;padding:6px 8px;background:linear-gradient(135deg,#444 0,#2a2a2a 100%);border:1px solid #555;border-radius:4px;color:#fff;font-size:.8rem;font-weight:500;cursor:pointer;transition:all .2s ease;min-height:28px;box-shadow:0 1px 3px rgba(0,0,0,.3)}.history-btn:hover{background:linear-gradient(135deg,#555 0,#3a3a3a 100%);border-color:#06c;transform:translateY(-1px);box-shadow:0 2px 6px rgba(0,102,204,.2)}.history-btn:active{transform:translateY(0);box-shadow:0 1px 3px rgba(0,0,0,.3)}.history-btn i{font-size:.8rem}.history-btn.disabled,.history-btn:disabled{background:#2a2a2a;color:#666;border-color:#333;cursor:not-allowed;transform:none;box-shadow:none}.history-btn.disabled:hover,.history-btn:disabled:hover{background:#2a2a2a;color:#666;border-color:#333;transform:none;box-shadow:none}.currency-buttons-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:4px;padding:0;flex:1}.currency-btn{display:flex;flex-direction:row;align-items:center;justify-content:center;padding:6px 8px;background-color:#2a2a2a;border:1px solid #444;border-radius:6px;cursor:pointer;transition:all .2s ease;min-height:36px;text-align:center;position:relative;overflow:hidden}.currency-btn:hover{background-color:#3a3a3a;border-color:#06c;transform:translateY(-2px);box-shadow:0 4px 12px rgba(0,102,204,.3)}.currency-btn:active{transform:translateY(-1px);box-shadow:0 2px 8px rgba(0,102,204,.15)}.currency-btn img{width:35px;height:35px;margin-right:6px;margin-bottom:0;object-fit:contain;border-radius:2px;flex-shrink:0}.currency-name{font-size:.9rem;color:#fff;font-weight:500;line-height:1.1;text-align:center;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.currency-btn:hover .currency-name{color:#fff}.currency-btn::before{content:'';position:absolute;top:0;left:-100%;width:100%;height:100%;background:linear-gradient(90deg,transparent,rgba(255,255,255,.2),transparent);transition:left .6s}.currency-btn:hover::before{left:100%}.currency-btn:disabled{opacity:.5;cursor:not-allowed;transform:none}.currency-btn:disabled:hover{background-color:#2a2a2a;border-color:#444;transform:none;box-shadow:none}.currency-btn:disabled .currency-name{color:#86868b}.currency-btn.error{border-color:#ff3b30;background-color:#ffe6e6}.currency-btn.error .currency-name{color:#ff3b30}@media (max-width:768px){.history-buttons-container{gap:4px;margin-bottom:10px}.history-btn{padding:5px 6px;font-size:.75rem;min-height:26px}.history-btn i{font-size:.75rem}.currency-buttons-grid{grid-template-columns:repeat(3,1fr);gap:3px}.currency-btn{min-height:32px;padding:4px 6px}.currency-btn img{width:18px;height:18px;margin-right:4px}.currency-name{font-size:.65rem}}@media (max-width:480px){.history-btn span{display:none}.history-btn{justify-content:center;padding:4px 6px;min-height:24px}.currency-buttons-grid{grid-template-columns:repeat(2,1fr);gap:3px}.currency-btn{min-height:30px;padding:4px 5px}.currency-btn img{width:16px;height:16px;margin-right:4px}.currency-name{font-size:.6rem}}.corrupted-notice{text-align:center;padding:20px 15px;background:linear-gradient(135deg,#4a1515 0,#2a0a0a 100%);border:2px solid #8b4513;border-radius:8px;margin-top:10px;box-shadow:0 4px 12px rgba(139,69,19,.3)}.corrupted-text{color:#ff6b6b;font-size:1rem;font-weight:600;margin:0 0 8px 0;text-shadow:0 1px 2px rgba(0,0,0,.5)}.corrupted-hint{color:#fc9;font-size:.85rem;font-weight:400;margin:0;opacity:.9;line-height:1.3}@media (max-width:768px){.corrupted-notice{padding:15px 10px;margin-top:8px}.corrupted-text{font-size:.9rem}.corrupted-hint{font-size:.8rem}}@media (max-width:480px){.corrupted-notice{padding:12px 8px}.corrupted-text{font-size:.85rem}.corrupted-hint{font-size:.75rem}}