#modal.compact-item-modal{position:fixed;width:min(380px,calc(100vw - 24px))!important;max-width:380px!important;max-height:min(560px,calc(100dvh - 36px))!important;min-height:0!important;padding:16px!important;margin:auto!important;border:1px solid #658ba3!important;border-radius:13px!important;background:linear-gradient(140deg,#1c3b54,#10263c)!important;color:#cbe2ed;overflow:auto}#modal.compact-item-modal #modalbody{padding:0!important}#modal.compact-item-modal .item-detail-card{padding:12px!important;margin:0 0 10px!important;background:#142d43!important;border:1px solid var(--rarity,#7095af)!important;border-radius:9px!important;min-height:0}#modal.compact-item-modal .item-detail-card h2{font:800 17px/1.3 'Segoe UI',sans-serif!important;padding-right:55px;margin:0 0 8px!important;overflow-wrap:anywhere}#modal.compact-item-modal .item-detail-icon{width:46px!important;height:46px!important;float:right;object-fit:contain;margin:0 0 7px 8px}#modal.compact-item-modal .item-detail-card p{font-size:11px;line-height:1.4;margin:7px 0;color:#a8c6d8}#modal.compact-item-modal .item-detail-card>small:last-child{display:none}#modal.compact-item-modal .item-stat-line{font-size:12px;padding:7px 0!important}#modal.compact-item-modal .item-detail-actions{display:flex;gap:7px;flex-wrap:wrap;align-items:center}#modal.compact-item-modal .item-detail-actions>p{flex-basis:100%;margin:2px 0 4px;font-size:11px;color:#9fbdd1}#modal.compact-item-modal .item-detail-actions button{flex:1;min-width:84px;padding:9px 7px;font-size:11px;display:flex;justify-content:center;align-items:center;gap:5px;margin:0}#modal.compact-item-modal .item-refine-link img{width:22px;height:22px;object-fit:contain}#modal.compact-item-modal #close{position:absolute;top:4px;right:4px;width:23px;height:23px;min-height:0;padding:0!important;font-size:20px;line-height:1;background:#15364c;border:1px solid #57798d;color:#c9e3ee;border-radius:6px}#hud-buffs{position:absolute;z-index:28;display:flex;gap:4px;transform:translateX(-50%);pointer-events:auto}#hud-buffs[hidden]{display:none!important}#hud-buffs .hud-buff{width:18px;height:18px;min-width:18px;min-height:18px;padding:1px;border:1px solid #8db4b9;border-radius:4px;background:#123b42e0;box-shadow:0 0 5px #84cbbb33;display:grid;place-items:center}#hud-buffs .hud-buff img{width:15px;height:15px;object-fit:contain}.gacha-level-choice{padding:16px;border:1px solid #839a68;background:linear-gradient(120deg,#293f3b,#152d3e);border-radius:10px;margin:12px 0}.gacha-level-choice h3{color:#e1c77d}.gacha-levels{display:flex;gap:6px;flex-wrap:wrap;margin:10px 0}.gacha-levels button{padding:8px 11px;min-width:57px}.gacha-levels button.active{border-color:#b5dce0;background:#386b77;color:#e2fbff}.gacha-lock-warning{font-size:12px;color:#e6c887;line-height:1.5}.gacha-level-choice label{display:flex;align-items:flex-start;gap:8px;font-size:12px;margin:12px 0}.gacha-level-choice input{width:16px;height:16px;flex-shrink:0}.gacha-weekly-notice{font-size:11px;color:#9fc2d7;padding:9px 12px;background:#122c42;border-left:3px solid #6e9bb0}.gacha-complete-banner{padding:17px;text-align:center;border:1px solid #6db690;border-radius:10px;background:#173c34;color:#bcebd0;margin:12px 0}.gacha-complete-banner strong{font-size:23px;display:block;letter-spacing:2px}.gacha-selected-level{padding:12px;background:#153b47;border:1px solid #6b9d9f;border-radius:9px;color:#bde4e8;font-size:12px}.gacha-weekly-admin{padding:15px;border:1px solid #527c98;background:#13304a;border-radius:10px;margin-bottom:16px}.gacha-weekly-admin button{margin-top:8px}
