.iv25-dialog.rank-potion-dialog{width:min(600px,96vw);max-width:600px;max-height:94dvh;margin:auto;padding:6px;border:24px solid transparent;border-image:url('/assets/items/rank-exp-potions-20261020/panel.webp') 90 70 fill / 24px / 0 stretch;border-radius:0;background:transparent;color:#eef4ff}
.iv25-dialog.rank-potion-dialog[open]{display:flex;flex-direction:column;overflow:hidden}.rank-potion-dialog *{box-sizing:border-box}.rank-potion-dialog .iv25-dialog-head{flex-shrink:0;border:0;background:transparent;padding:4px 10px 8px}.rank-potion-dialog .iv25-dialog-head button,.rank-potion-action{border:12px solid transparent;border-image:url('/assets/items/rank-exp-potions-20261020/panel.webp') 90 70 fill / 12px / 0 stretch;border-radius:0;background:transparent;color:#e3d9ff;min-height:48px;padding:4px 12px;font-size:14px;font-weight:700;cursor:pointer}.rank-potion-dialog .iv25-dialog-head button{border-width:8px;border-image-width:8px;padding:3px;min-height:36px}.rank-potion-content{padding:10px 12px 14px;min-height:0;overflow:auto}.rank-potion-heading{display:flex;align-items:center;gap:18px}.rank-potion-heading img{object-fit:contain;flex-shrink:0}.rank-potion-heading small{font-size:10px;letter-spacing:.14em;color:#b3c3e5}.rank-potion-heading h2{font-size:23px;line-height:1.4;margin:8px 0}.rank-potion-heading p{font-size:14px;color:#c4d3ef;margin:0;line-height:1.6}.rank-potion-heading b{color:#eee5ff}
.rank-potion-current{margin:18px 0 12px;padding:10px 14px;border:16px solid transparent;border-image:url('/assets/items/rank-exp-potions-20261020/panel.webp') 90 70 fill / 16px / 0 stretch}.rank-potion-current p{font-size:12px;color:#afc5e6;line-height:1.8;margin:0}.rank-potion-current strong{display:block;color:#e6ddff;font-size:18px;margin:8px 0}.rank-potion-current [data-potion-replace]{color:#f0cf9c}.rank-potion-rules{font-size:12px;color:#a8bad9;line-height:1.9;margin:14px}.rank-potion-stock{font-size:12px;color:#c6d1e4;margin:20px 14px 12px}.rank-potion-actions{display:grid;grid-template-columns:1fr 2fr;gap:10px}.rank-potion-action.secondary{color:#a8bad9}.rank-potion-action:disabled{opacity:.5;cursor:default}.rank-potion-action:hover:not(:disabled){filter:brightness(1.2)}.rank-potion-dialog button:focus-visible{outline:2px solid #c8ff6b;outline-offset:2px}.rank-potion-content output{display:block;min-height:20px;margin:12px 4px 0;color:#ecc5a2;font-size:12px;line-height:1.8;overflow-wrap:anywhere}.rank-potion-result{text-align:center}.rank-potion-result h3{font-size:21px;color:#e0dbff}.rank-potion-result p{font-size:13px;color:#b5c8e3;line-height:1.9}.rank-potion-result button{min-width:180px;margin:14px 0}
.live-operation-card.kind-rank-exp-potion{grid-template-columns:44px minmax(0,1fr) auto;cursor:default}.kind-rank-exp-potion .live-operation-icon,.live-operations-dialog .kind-rank-exp-potion .live-operation-icon{display:flex;width:44px;height:52px;padding:0;background:none;border:0;box-shadow:none}.kind-rank-exp-potion .live-operation-icon img{width:44px;height:52px;object-fit:contain}.live-operations-dialog .live-operation-card.kind-rank-exp-potion{grid-template-columns:44px minmax(0,1fr) auto}.kind-rank-exp-potion .live-operation-copy em{color:#c0e7ba}
@media(max-width:650px){.iv25-dialog.rank-potion-dialog{width:100%;border-width:12px;border-image-width:12px;padding:4px;max-height:96dvh}.rank-potion-content{padding:8px 4px}.rank-potion-heading{gap:8px}.rank-potion-heading img{width:82px;height:92px}.rank-potion-heading h2{font-size:19px}.rank-potion-heading p{font-size:12px}.rank-potion-current{padding:8px 4px;border-width:12px;border-image-width:12px}.rank-potion-current strong{font-size:16px}.rank-potion-rules{margin:12px 8px}.rank-potion-action{font-size:12px;padding:4px 2px}.rank-potion-actions{gap:6px}.live-operations-dialog .live-operation-card.kind-rank-exp-potion{grid-template-columns:34px minmax(0,1fr) auto;gap:8px}.live-operations-dialog .kind-rank-exp-potion .live-operation-icon,.live-operations-dialog .kind-rank-exp-potion .live-operation-icon img{width:34px;height:46px}.live-operations-dialog .kind-rank-exp-potion .live-operation-copy > b{font-size:12px}}
