.calc-widget{display:inline-block;box-sizing:border-box;width:220px;padding:10px;background:#f5f5f5;border:1px solid #cccccc;border-radius:8px;font-family:Segoe UI,Arial,sans-serif;user-select:none}.calc-display{background:#fff;border:1px solid #d0d0d0;border-radius:4px;padding:6px 8px;margin-bottom:8px;text-align:right;min-height:48px;display:flex;flex-direction:column;justify-content:space-between;overflow:hidden}.calc-display-prev{font-size:12px;color:#888;min-height:14px;line-height:1.2;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.calc-display-current{font-size:22px;color:#222;font-weight:600;line-height:1.2;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.calc-buttons{display:grid;grid-template-columns:repeat(4,1fr);grid-auto-rows:40px;gap:6px}.calc-btn{border:1px solid #c0c0c0;border-radius:4px;background:#fff;color:#222;font-size:16px;font-weight:600;cursor:pointer;padding:0;line-height:1;transition:background-color .1s,transform .05s}.calc-btn:hover{background:#eaeaea}.calc-btn:active{transform:scale(.96)}.calc-btn-op{background:#e8eef9;color:#1d4ed8}.calc-btn-op:hover{background:#d6e1f6}.calc-btn-clear,.calc-btn-back{background:#fdecec;color:#b91c1c}.calc-btn-clear:hover,.calc-btn-back:hover{background:#f9d6d6}.calc-btn-equal{background:#2563eb;color:#fff;grid-row:span 2;height:auto}.calc-btn-equal:hover{background:#1d4ed8}body.dark-mode .calc-widget{background:#1f1f23;border-color:#3a3a40}body.dark-mode .calc-display{background:#14141a;border-color:#3a3a40}body.dark-mode .calc-display-prev{color:#999}body.dark-mode .calc-display-current{color:#ececec}body.dark-mode .calc-btn{background:#2a2a30;border-color:#3a3a40;color:#ececec}body.dark-mode .calc-btn:hover{background:#3a3a44}body.dark-mode .calc-btn-op{background:#1e293b;color:#67e8f9}body.dark-mode .calc-btn-op:hover{background:#2b3a55}body.dark-mode .calc-btn-clear,body.dark-mode .calc-btn-back{background:#3b1f1f;color:#fca5a5}body.dark-mode .calc-btn-clear:hover,body.dark-mode .calc-btn-back:hover{background:#4d2828}body.dark-mode .calc-btn-equal{background:#2563eb;color:#fff}body.dark-mode .calc-btn-equal:hover{background:#1d4ed8}.calc-side{display:inline-flex;flex-direction:column;align-items:flex-start;margin-left:80px;vertical-align:top}.calc-side-link{color:#2563eb;text-decoration:none;font-weight:700;font-size:14px;margin-bottom:6px}.calc-side-link:hover{color:#1d4ed8;text-decoration:none}body.dark-mode .calc-side-link{color:#67e8f9}body.dark-mode .calc-side-link:hover{color:#a5f3fc}.rl-burst-panel>.calc-side{margin-left:0;margin-top:28px}.rl-burst-row{display:flex;align-items:flex-start;flex-wrap:nowrap}.sim-switcher,.sim-choice-row{display:flex;flex-wrap:nowrap;align-items:flex-end;width:max-content;box-sizing:border-box;border-radius:16px;background:linear-gradient(180deg,#fff,#eef1f6);border:1px solid #e2e6ed;box-shadow:0 12px 26px -16px #0f172a80}body.dark-mode .sim-switcher,body.dark-mode .sim-choice-row{background:linear-gradient(180deg,#282c33,#1c1e23);border-color:#33373f;box-shadow:0 12px 26px -14px #000000e6}.sim-switcher{gap:8px;margin:80px 40px 40px;padding:0 16px 12px}.sim-switcher-item{position:relative;display:block;flex:0 0 auto;width:62px;height:62px;margin-top:-26px;line-height:0;text-decoration:none;transition:transform .3s cubic-bezier(.2,.8,.2,1)}.sim-switcher-item img{width:100%;height:100%;object-fit:contain;display:block;border-radius:12px;filter:drop-shadow(0 8px 7px rgba(0,0,0,.35));pointer-events:none;-webkit-user-drag:none}a.sim-switcher-item:hover{transform:translateY(-6px) scale(1.06)}.sim-switcher-current{width:88px;height:88px;margin-top:-38px}.sim-switcher-current:after,.sim-choice-btn.active:after{content:"";position:absolute;left:50%;bottom:-8px;width:26px;height:3px;margin-left:-13px;border-radius:3px;background:#0284c7;box-shadow:0 0 8px #0284c7}body.dark-mode .sim-switcher-current:after,body.dark-mode .sim-choice-btn.active:after{background:#38bdf8;box-shadow:0 0 8px #38bdf8}.sim-switcher-disabled{opacity:.35;cursor:default}.sim-switcher-row{display:flex;align-items:center}.sim-battle-launch{position:relative;display:flex;align-items:center;gap:10px;flex:0 0 auto;min-height:52px;padding:10px 18px 10px 20px;border:1px solid rgba(0,0,0,.18);border-radius:999px;background:#ffffffeb;box-shadow:inset 0 1px #ffffffe6,0 2px 8px #00000024;color:#1d2025;font-size:20px;font-weight:700;line-height:1.2;letter-spacing:.04em;white-space:nowrap;cursor:pointer}.sim-battle-launch:hover:not(:disabled){background:#fff}.sim-battle-launch:active:not(:disabled){background:#ebeef2f2;box-shadow:inset 0 1px #ffffffe6}.sim-battle-launch:focus-visible{outline:2px solid currentColor;outline-offset:2px}.sim-battle-launch:disabled{opacity:.3;cursor:not-allowed}body.dark-mode .sim-battle-launch{border-color:#ffffff6b;background:#ffffff29;box-shadow:inset 0 1px #ffffff59,0 3px 10px #00000059;color:#f3f5f8}body.dark-mode .sim-battle-launch:hover:not(:disabled){background:#ffffff42}body.dark-mode .sim-battle-launch:active:not(:disabled){background:#ffffff1a;box-shadow:inset 0 1px #ffffff59}.sim-battle-launch:before{content:"";flex:none;width:1.15em;height:1em;background:url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='3.15 6.05 17.7 15.4' fill='none'><defs><linearGradient id='g' x1='0' y1='1' x2='1' y2='0'><stop offset='0' stop-color='%23FFD700'/><stop offset='.5' stop-color='%23FFA500'/><stop offset='1' stop-color='%23FFD700'/></linearGradient></defs><g fill='url(%23g)' stroke='%23E8A300' stroke-width='0.7'><path d='M3.5 19.4h17v1.7h-17z'/><path d='M4.8 12.4h3.3v5.7H4.8z'/><path d='M10.35 6.4h3.3v11.7h-3.3z'/><path d='M15.9 9.4h3.3v8.7h-3.3z'/></g></svg>") center / contain no-repeat}.sim-battle-launch:after{content:"";flex:none;width:8px;height:8px;margin-left:2px;border-top:2px solid currentColor;border-right:2px solid currentColor;transform:rotate(45deg)}.sim-upgrade-btn,.sim-downgrade-btn{display:inline-flex;align-items:center;justify-content:center;background:none;color:#2563eb;border:none;cursor:pointer;padding:0;transition:opacity .15s}.sim-upgrade-btn:active,.sim-downgrade-btn:active{opacity:.6}.sim-upgrade-btn:disabled,.sim-downgrade-btn:disabled{opacity:.4;cursor:default}body.dark-mode .sim-upgrade-btn,body.dark-mode .sim-downgrade-btn{color:#67e8f9}.sim-title-row{display:flex;align-items:center;flex:0 0 auto}.sim-title-row>.sim-upgrade-btn,.sim-title-row>.sim-downgrade-btn{flex:0 0 auto;margin:0 6px 0 4px}.sim-choice-row{gap:10px;margin:0 60px 40px;padding:0 14px 12px}.sim-choice-btn{position:relative;display:flex;align-items:center;justify-content:center;flex:0 0 auto;width:48px;height:48px;margin-top:-18px;padding:0;border:0;background:none;cursor:pointer;transition:transform .25s cubic-bezier(.2,.8,.2,1)}.sim-choice-btn:hover{transform:translateY(-4px)}.sim-choice-btn.active{transform:translateY(-8px) scale(1.14)}.sim-choice-btn.active:after{bottom:-9px;width:20px;margin-left:-10px}.sim-choice-btn .sim-company-icon{border-radius:11px;overflow:hidden;background:#2a2a2a;box-shadow:0 8px 12px -6px #00000080}.sim-choice-btn .sim-boss-icon img{filter:drop-shadow(0 6px 6px rgba(0,0,0,.35))}.sim-company-icon{display:inline-flex;align-items:center;justify-content:center;width:100%;height:100%;line-height:0}.sim-company-icon img{width:105%;height:105%;object-fit:contain;display:block;pointer-events:none}.sim-company-icon.sim-company-icon-all{display:grid;grid-template-columns:1fr 1fr;grid-template-rows:1fr 1fr}.sim-company-icon.sim-company-icon-all img{width:100%;height:100%}.sim-boss-icon{display:inline-flex;width:100%;height:100%;line-height:0}.sim-boss-icon img{width:100%;height:100%;object-fit:contain;display:block;pointer-events:none}.sr-slot-company,.sr-slot-boss{flex:0 0 auto;width:30px;height:30px;border-radius:5px;overflow:hidden;background:#2a2a2a}.sr-panel .sr-slot-company,.sr-panel .sr-slot-boss{width:24px;height:24px}.sr-panel .sr-slot-main:has(.sr-slot-company) .sr-slot-images img,.sr-panel .sr-slot-main:has(.sr-slot-company) .sr-slot-img-placeholder,.sr-panel .sr-slot-main:has(.sr-slot-boss) .sr-slot-images img,.sr-panel .sr-slot-main:has(.sr-slot-boss) .sr-slot-img-placeholder{width:51px;height:34px}@keyframes simUpgradeGlow{0%,to{filter:drop-shadow(0 0 1px currentColor)}50%{filter:drop-shadow(0 0 7px currentColor)}}.sim-upgrade-btn svg{animation:simUpgradeGlow 5s ease-in-out infinite}.sr-panel-wrap{width:330px;margin:8px 0 0}.sr-panel .sr-tab-row{gap:3px;margin-bottom:3px}.sr-panel .sr-tab-button{min-width:0;padding:4px 2px;font-size:13px;overflow:hidden;text-overflow:ellipsis}.sr-panel-list{display:flex;flex-direction:column;gap:3px;margin-top:4px}.sr-panel .sr-slot-row{padding:3px 5px;border-radius:5px}.sr-panel .sr-slot-main{gap:4px}.sr-panel .sr-slot-number{font-size:15px;min-width:14px}.sr-panel .sr-slot-images{gap:1px}.sr-panel .sr-slot-images img,.sr-panel .sr-slot-img-placeholder{width:57px;height:38px}.sr-panel .sr-img-wrapper .sr-cube-overlay{width:20px;height:20px;border-radius:3px}.sr-panel .sr-slot-memo{font-size:13px;margin-top:2px;padding-left:20px}.sr-panel .sr-panel-empty{opacity:.55}.sr-tab-premium.sr-tab-locked{color:transparent;background-color:#78788240;pointer-events:none;cursor:default;user-select:none}.rl-burst-panel .sr-panel-wrap,.rl-burst-panel .sr-panel-wrap~.wl-memo{position:relative;z-index:101}
