/* In-game notice for an item that stays in the bag (js/ui/item-notice.js), in the look of the bag's confirm dialog. */
.item-notice{position:fixed;inset:0;z-index:2147483000;display:grid;place-items:center;background:#0009;color:#e9e2ce}
.item-notice[hidden]{display:none}
.item-notice section{width:min(420px,calc(100% - 24px));box-sizing:border-box;padding:22px;background:#152127 url(/ui/mobile/popbg.png?v=3add4e59f44b5c98) center/100% 100%;border:1px solid #bca56b88;border-radius:4px;box-shadow:0 10px 40px #000c;font-size:14px;line-height:1.5}
.item-notice h2{margin:0 0 12px;color:#e7ce8c;font:22px Georgia,serif}
.item-notice p{margin:0 0 20px}
.item-notice section>div{display:flex;justify-content:flex-end}
.item-notice button{min-width:110px;min-height:40px;border:0;padding:7px 12px;background:url(/ui/mobile/btnY.png?v=be065432cc957cb3) center/100% 100%;color:#392a12;font:600 14px Georgia,serif;cursor:pointer}
.item-notice button:focus-visible{outline:2px solid #f0d78c;outline-offset:2px}
/* Phones use the mobile kit's fonts (mobile-hud.css .m-root); the desktop keeps the game's Courier like its other dialogs. */
body.mobile-ui .item-notice *{font-family:system-ui,-apple-system,"Segoe UI",Roboto,sans-serif!important}
body.mobile-ui .item-notice :is(h2,button){font-family:Palatino,"Book Antiqua",Georgia,serif!important}
