.atlas-material-card[data-material-drops]{cursor:pointer}.atlas-material-card[data-material-drops]:focus-visible{outline:2px solid #f2cc7a;outline-offset:3px}
.material-drop-search .visually-hidden{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.material-drop-results{max-height:46dvh;overflow-y:auto;padding:2px 2px 2px 0;scrollbar-color:#bfa36b #172136;scrollbar-width:thin}
.maple-tooltip.material-drop-tooltip{white-space:normal;width:330px;padding:14px;border-color:#e2bd71;background:linear-gradient(135deg,#30364bfa,#201e30fa)}.material-drop-hover-head{display:flex;align-items:flex-start;gap:12px}.material-drop-hover-head h3{margin:0 0 4px;color:#ffdb8c;font-size:15px}.material-drop-hover-head p{margin:0;font-size:11px;line-height:1.5}.material-drop-item-icon{width:40px;height:40px;object-fit:contain;image-rendering:pixelated;flex:none}.material-drop-tooltip h4{margin:12px 0 7px;border-top:1px solid #7d718b88;padding-top:10px;color:#c7d5ed;font-size:10px;text-transform:uppercase;letter-spacing:.8px}.material-drop-hover-list{list-style:none;padding:0;margin:0;display:grid;gap:6px}.material-drop-hover-list li{display:flex;align-items:center;gap:9px;font-size:12px}.material-drop-mini-sprite{width:30px;height:28px;object-fit:contain;image-rendering:pixelated}.material-drop-hover-list small{margin-left:auto;font-size:10px;color:#dbcfae}.material-drop-more,.material-drop-empty-hover{margin:8px 0 0;font-size:11px;color:#c4cde0}.material-drop-hover-footer{border-top:1px solid #7d718b88;margin-top:11px;padding-top:9px;color:#f3d790;font-size:10px}
.material-drop-dialog{box-sizing:border-box;width:min(880px,calc(100vw - 28px));max-width:880px;max-height:90dvh;margin:auto;padding:0;overflow:auto;border:2px solid #d8b66e;border-radius:14px;background:#20283a;color:#f3f5fc;box-shadow:0 25px 100px #000b,inset 0 0 0 1px #fff2;font-family:inherit}.material-drop-dialog:not([open]){display:none}.material-drop-dialog::backdrop{background:#080d19cb;backdrop-filter:blur(4px)}.material-drop-window{min-width:0}.material-drop-banner{position:relative;isolation:isolate;padding:18px 24px 20px;background:linear-gradient(90deg,#162035ed 8%,#17243cbf 63%,#17243c59);border-bottom:1px solid #dfbb73;min-height:116px}.material-drop-book-label{display:flex;align-items:center;gap:7px;font-size:10px;letter-spacing:1.7px;font-weight:700;color:#f4d58b;margin-bottom:16px}.material-drop-book-label img{width:22px;height:22px;object-fit:contain}.material-drop-close{position:absolute;top:15px;right:17px;display:grid;place-items:center;padding:6px;width:30px;height:30px;border:1px solid #e2c482a6;border-radius:6px;background:#202435db;cursor:pointer}.material-drop-close img{width:15px;height:15px;image-rendering:pixelated;object-fit:contain}.material-drop-close:hover{background:#604b38}.material-drop-heading{display:flex;align-items:center;gap:14px;padding-right:16px}.material-drop-item-well{display:grid;place-items:center;flex:none;width:60px;height:60px;border:1px solid #ead29790;border-radius:10px;background:linear-gradient(135deg,#62657980,#171d2ada);box-shadow:inset 0 0 0 3px #11182766}.material-drop-heading h2{margin:0;color:#ffdf96;font-size:25px;letter-spacing:-.4px;line-height:1.3}.material-drop-heading p{margin:6px 0 0;color:#d0d9ea;font-size:11px}.material-drop-needed{margin-left:auto;white-space:nowrap;background:#1a243bdf;color:#fbd783;border:1px solid #d2b57680;padding:8px 12px;border-radius:16px;font-size:11px;font-weight:700}.material-drop-needed[hidden]{display:none}.material-drop-content{padding:20px 24px}.material-drop-search{display:flex;align-items:center;gap:12px;border:1px solid #a9b6ce;border-radius:8px;background:linear-gradient(#111a2b,#1b2539);padding:0 14px}.material-drop-search:focus-within{outline:2px solid #e3c074;outline-offset:2px}.material-drop-search input{flex:1;min-width:0;background:transparent;border:0;outline:0;color:#fff;font:inherit;font-size:13px;padding:13px 0}.material-drop-search input::placeholder{color:#a9b7cf}.material-drop-search-mark{position:relative;display:block;width:12px;height:12px;border:2px solid #d3be83;border-radius:50%;margin-right:3px}.material-drop-search-mark:after{content:'';position:absolute;width:7px;height:2px;background:#d3be83;right:-6px;bottom:-3px;transform:rotate(45deg)}.material-drop-results-head{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:13px 0;color:#bac8df;font-size:10px}.material-drop-results-head p{margin:0;color:#e7cf93}.material-drop-results{display:grid;gap:12px}.material-drop-monster{display:grid;grid-template-columns:84px minmax(0,1fr) 154px;align-items:start;gap:16px;padding:16px;background:linear-gradient(125deg,#384157,#293044);border:1px solid #8994aa;border-radius:10px;box-shadow:inset 0 1px #ffffff13}.material-drop-monster-sprite{height:84px;display:grid;place-items:center;border:1px solid #7d8aa4;border-radius:9px;background:radial-gradient(ellipse at center,#65707c66,#152033);box-shadow:inset 0 0 0 3px #18223655}.material-drop-sprite{max-width:72px;max-height:72px;object-fit:contain;image-rendering:pixelated}.material-drop-monster-title{display:flex;align-items:center;gap:12px}.material-drop-monster-title h3{font-size:16px;margin:0;color:#ffdfa1;line-height:1.4}.material-drop-monster-title>span{font-size:10px;white-space:nowrap;color:#e4eaf6;background:#182338;border:1px solid #a5b3cc66;border-radius:12px;padding:3px 8px}.material-drop-combat{font-size:10px;color:#c9d3e6;margin:7px 0}.material-drop-map-preview{font-size:11px;line-height:1.5;margin:7px 0;color:#e0e6f2}.material-drop-locations{font-size:11px;line-height:1.5;color:#c6d6ec}.material-drop-locations summary{cursor:pointer;color:#a9e2e9;width:fit-content}.material-drop-locations ul{list-style:none;padding:0;margin:8px 0;display:grid;gap:6px}.material-drop-locations li{display:flex;justify-content:space-between;gap:12px;font-size:10px;border-bottom:1px solid #8c9ab233;padding:5px 0}.material-drop-locations li small{display:block;font-size:9px;color:#afc0db}.material-drop-observation{display:flex;align-items:flex-end;text-align:right;flex-direction:column;gap:6px;font-size:11px;padding-top:4px}.material-drop-observation strong{color:#f7d185;font-size:14px}.material-drop-observation small{color:#c0cce1;font-size:10px}.material-drop-observation a{color:#b5e5eb;font-size:11px;margin-top:12px;text-underline-offset:3px}.material-drop-notice{padding:13px 24px 17px;border-top:1px solid #9aacc04d;color:#bfcbe0;background:#182236;font-size:10px;line-height:1.6}.material-drop-empty{text-align:center;padding:35px 20px;border:1px dashed #8494b0;border-radius:8px;color:#c7d3e9}.material-drop-empty h3{font-size:16px;color:#f7da9b}.material-drop-empty p{font-size:12px;line-height:1.7}.material-drop-dialog :is(button,a,summary):focus-visible{outline:2px solid #f2cb79;outline-offset:3px}.material-drop-no-art{font-size:24px;color:#a9b8d3}
@media(max-width:600px){.material-drop-dialog{max-height:94dvh;width:calc(100vw - 16px);border-radius:10px}.material-drop-banner{padding:15px}.material-drop-content{padding:15px}.material-drop-heading{gap:10px;flex-wrap:wrap}.material-drop-heading h2{font-size:20px}.material-drop-needed{margin:4px 0 0 70px}.material-drop-monster{grid-template-columns:64px minmax(0,1fr);gap:12px;padding:12px}.material-drop-monster-sprite{height:66px}.material-drop-sprite{max-width:56px;max-height:56px}.material-drop-observation{grid-column:2;align-items:flex-start;text-align:left;padding:0}.material-drop-observation a{margin:2px 0 0}.material-drop-monster-title{gap:6px;flex-wrap:wrap}.material-drop-monster-title h3{font-size:14px}.material-drop-notice{padding:12px 15px}.material-drop-locations li{flex-direction:column;gap:2px}}
/* Live HTML book panel, using the existing village art and original sprites. */
.material-drop-banner{padding:0 22px 18px;min-height:190px;background:linear-gradient(90deg,#15213866,#15213811),url('../../assets/atlas/crafting-village-v2.png') center bottom/cover}.material-drop-book-label{justify-content:center;width:fit-content;max-width:calc(100% - 68px);margin:0 auto 62px;padding:9px 24px;border:2px solid #e4bf75;border-top:0;border-radius:0 0 18px 18px;background:linear-gradient(#603b31,#382334);box-shadow:0 3px 0 #0d142a88,inset 0 0 0 2px #f7d88f33;font-family:Georgia,serif;font-size:19px;font-weight:700;letter-spacing:1px;text-shadow:0 2px #27172d}.material-drop-book-label img{width:27px;height:27px}.material-drop-heading{padding:17px 19px;border:2px solid #d2ad65;border-radius:12px;background:linear-gradient(115deg,#fff2d2,#efdab0);box-shadow:inset 0 0 0 4px #fdf4dc,inset 0 -7px 0 #c0a67b55,0 5px 12px #07112455}.material-drop-heading h2{color:#422b24;font-family:Georgia,serif;font-size:27px}.material-drop-heading p{color:#745f4c}.material-drop-monster{border-color:#c7ac73;box-shadow:inset 0 0 0 2px #dfc37a15}.material-drop-monster-title h3{font-family:Georgia,serif;font-size:19px}.material-drop-close{background:#5c3531;border-color:#edc87b;box-shadow:inset 0 0 0 2px #f8df9c22}
@media(max-width:600px){.material-drop-banner{padding:0 12px 13px;min-height:165px}.material-drop-book-label{padding:7px 12px;font-size:14px;margin-bottom:45px}.material-drop-book-label img{width:21px;height:21px}.material-drop-heading{padding:12px;gap:10px}.material-drop-heading h2{font-size:20px}.material-drop-monster-title h3{font-size:16px}.material-drop-close{right:10px;top:9px;width:26px;height:26px}}
