/* Approved Auto Hunt UI. Every decorative texture is from the existing original mobile kit. */
.m-autohunt{position:absolute;top:4px;right:calc(var(--safe-r) + var(--map-w,85px) + 108px);width:44px;height:40px}
.m-autohunt img,.classic-autohunt img{width:100%;height:100%;object-fit:contain;display:block}
.m-autohunt.active:after,.classic-autohunt.active:after{content:'';position:absolute;right:0;top:0;width:7px;height:7px;border-radius:50%;background:#b4e3a3;box-shadow:0 0 6px #9fce91}
.classic-autohunt{position:absolute;left:340px;top:-4px;width:44px;height:40px;background:none;border:0;padding:0;cursor:pointer}
.ah-sheet{position:absolute;inset:5px;z-index:18;display:flex;flex-direction:column;color:#e9e2ce;background:#111a20 url(/ui/mobile/sheetbg.png?v=f16b55896a7aa2db) center/cover;border:1px solid #bca56b88;border-radius:4px;box-shadow:0 10px 40px #000c;--ah-gold:#e7ce8c;font:12px/1.4 system-ui,sans-serif;overflow:hidden}
.ah-sheet[hidden],.ah-chip[hidden],.ah-confirm[hidden]{display:none!important}
body:not(.mobile-ui) .ah-sheet{inset:50% auto auto 50%;width:min(760px,96%);height:min(470px,92%);transform:translate(-50%,-50%)}
body.tablet-ui .ah-sheet{inset:30px}
.ah-sheet *{box-sizing:border-box}.ah-sheet button,.ah-chip button{appearance:none;cursor:pointer;border:0;color:inherit;font:inherit;background:transparent}
.ah-sheet button:disabled,.ah-sheet select:disabled,.ah-sheet input:disabled{opacity:.45;cursor:not-allowed}
.ah-sheet :is(button,input,select):focus-visible,.m-autohunt:focus-visible{outline:2px solid #f0d78c;outline-offset:2px}
.ah-head{display:flex;align-items:center;gap:10px;padding:8px 13px;flex:none;border-bottom:1px solid #ac956544;min-height:42px}
.ah-title{font:22px Georgia,serif!important;color:var(--ah-gold);margin:0}.ah-access{font-size:10px;color:#c9bc96}.ah-status{margin-left:auto;color:#cbbd91;font-size:10px;border:1px solid #ac98645c;border-radius:20px;padding:3px 8px;max-width:44%;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.ah-status.active{color:#b9d5ac;border-color:#94b58c77}
.ah-sheet .ah-close{background:url(/ui/mobile/close.png?v=857481304f77e458) center/contain no-repeat;width:25px;height:25px;flex:none;padding:0}
.ah-main{flex:1;min-height:0;display:flex;overflow:hidden}.ah-tabs{width:109px;flex:none;display:flex;flex-direction:column;gap:6px;padding:10px 3px 8px 6px}
.ah-sheet .ah-tab{background:url(/ui/mobile/tab.png?v=3b5f3f0e7e8c4f3a) center/100% 100%;width:99px;height:35px;flex:none;font:600 13px Georgia,serif!important;color:#263444;text-shadow:0 1px #ffffff80}
.ah-sheet .ah-tab[aria-selected=true]{background-image:url(/ui/mobile/tabon.png?v=4532b1ded01984c6);color:#392a12}
.ah-tab-help{margin:auto 5px 0;font-size:10px;color:#ada996;line-height:1.5}
.ah-content{flex:1;min-width:0;min-height:0;overflow:auto;padding:10px 12px 10px 4px;scrollbar-width:thin;scrollbar-color:#9c895b #152127}
.ah-content h2{font:18px Georgia,serif!important;color:var(--ah-gold);margin:0 0 4px}.ah-intro{color:#b4b5a8;font-size:10px;margin:0 0 9px;line-height:1.5}
.ah-cols{display:grid;grid-template-columns:1fr 1fr;gap:9px}.ah-card{background:url(/ui/mobile/card.png?v=ea1529f9c8e23a06) center/100% 100%;padding:16px 12px 10px;min-width:0;border-radius:4px}
.ah-eyebrow{font-size:9px;color:#b9a87d;font-weight:600;text-transform:uppercase;letter-spacing:.1em;margin:0 0 9px}.ah-skill{display:flex;align-items:center;gap:8px;margin-bottom:10px}.ah-icon{width:38px;height:38px;object-fit:contain;flex:none;padding:5px;background:url(/ui/mobile/slot.png?v=06d9c480a9ec4c36) center/contain no-repeat}.ah-skill b{display:block;font:15px Georgia,serif!important;color:#e9dcb7}.ah-skill small{display:block;font-size:10px;color:#abae9f}.ah-muted{font-size:10px;color:#b2b4a8}
.ah-detail{display:flex;justify-content:space-between;align-items:center;gap:7px;border-top:1px solid #ad986a28;padding:7px 0;font-size:10px;color:#babdac}.ah-detail b{font-weight:normal;color:#e4d8b8;text-align:right}.ah-hint{border-left:2px solid #c0a46755;background:#adb59d0a;padding:8px 10px;font-size:10px;color:#b6bdac;line-height:1.5;margin-top:9px}.ah-row{display:flex;justify-content:space-between;align-items:center;gap:8px}.ah-row b{display:block;font:15px Georgia,serif!important}.ah-row small{display:block;color:#aeb2a5;font-size:10px;line-height:1.5;margin-top:4px}
.ah-sheet .ah-switch{position:relative;width:36px;height:21px;border:1px solid #a18e5b88;border-radius:20px;padding:0;background:#263137;flex:none}.ah-switch:after{position:absolute;content:'';left:3px;top:3px;width:13px;height:13px;background:#a4aba1;border-radius:50%}.ah-sheet .ah-switch[aria-checked=true]{background:#716033;border-color:#cbb16c}.ah-switch[aria-checked=true]:after{transform:translateX(15px);background:#ebd38a}
.ah-section{display:flex;justify-content:space-between;align-items:center;color:#e3cca0;font:14px Georgia,serif!important;margin:10px 0 7px}.ah-tag{font:9px system-ui!important;border:1px solid #b29b6455;border-radius:3px;padding:2px 6px;color:#cbb987;white-space:nowrap}.ah-locked{padding:8px 10px;border:1px solid #b09b5d55;border-radius:3px;color:#d7bf88;background:#2b291b55;font-size:11px;margin:8px 0}.ah-locked small{display:block;font-size:10px;color:#afa891;margin-top:3px}.ah-picks{display:flex;gap:6px}.ah-pick{flex:1;border:1px solid #b29b6455;padding:8px 6px;border-radius:4px;background:#1b252d88;font-size:11px;white-space:nowrap}.ah-pick:has(input:checked){border-color:#d7b96e;color:#edd69b;background:#a38a4125}.ah-pick input{vertical-align:middle;margin:0 4px 0 0;accent-color:#c6aa62}
.ah-deposit{display:grid;grid-template-columns:28px minmax(100px,1fr) 36px 125px;gap:7px;align-items:center;padding:9px 0;border-top:1px solid #ad986a28}.ah-deposit img{width:26px;height:28px;object-fit:contain}.ah-deposit b{font-size:11px;font-weight:500;color:#eadab2}.ah-deposit small{display:block;font-size:9px;color:#a9ad9f}.ah-sheet select,.ah-sheet input[type=text]{background:#162128;border:1px solid #a18e5b66;border-radius:3px;color:#e4d6ae;font:10px system-ui;padding:6px;width:100%;min-width:0}.ah-sheet .ah-mini{border:1px solid #a48c5480;border-radius:3px;background:#26343b;color:#e3cc92;padding:6px 9px;font-size:10px;white-space:nowrap}.ah-sheet .ah-danger{background:transparent;color:#d6a78b;padding:5px;font-size:10px}
.ah-footer{display:flex;align-items:center;gap:10px;flex:none;min-height:45px;border-top:1px solid #ac956544;padding:6px 12px;background:#122029ad}.ah-foot-note{flex:1;color:#b4b19e;font-size:10px;line-height:1.4}.ah-foot-note strong{display:block;color:#e5d4a2;font-weight:500}.ah-sheet .ah-gold,.ah-sheet .ah-blue,.ah-sheet .ah-red{background:url(/ui/mobile/btnY.png?v=be065432cc957cb3) center/100% 100%;min-width:126px;height:34px;padding:5px 16px;font:600 12px Georgia,serif!important;color:#36270e;text-shadow:0 1px #ffefbc66}.ah-sheet .ah-blue{background-image:url(/ui/mobile/btnB.png?v=6985addbe008ac4c);color:#eee5d2;text-shadow:0 1px black}.ah-sheet .ah-red{background-image:url(/ui/mobile/btnR.png?v=f4b0de3fdd6bb610);color:#f5e2c7;text-shadow:0 1px black}
.ah-message{flex:none;margin:0;max-height:40px;overflow:auto;font-size:10px;color:#d1b589;padding:0 12px 5px;min-height:0}.ah-message:empty{display:none}
.ah-places{display:grid;gap:6px}.ah-place{display:grid;grid-template-columns:21px 1fr auto;align-items:center;gap:7px;padding:9px;background:#14202699;border:1px solid #a08c5b33;border-radius:3px}.ah-place-number{font:16px Georgia,serif!important;color:#9f8d5c}.ah-place-name{font-size:11px;color:#e1cda1}.ah-place-position{font-size:9px;color:#abb0a2}.ah-place-actions{display:flex;gap:5px}.ah-place input{max-width:190px}.ah-progress{height:7px;background:#07131c;border:1px solid #a28f5b66;border-radius:6px;overflow:hidden;margin-top:5px}.ah-progress i{display:block;height:100%;background:url(/ui/mobile/prggold.png?v=1fb668386229373b) center/100% 100%}.ah-group{display:flex;gap:8px;align-items:center;border:1px solid #a38c5855;border-radius:3px;padding:8px;width:100%;margin-bottom:6px;background:#16212999!important;text-align:left}.ah-group.selected{border-color:#e3c47c;background:#8b77452a!important}.ah-group span{min-width:0;flex:1}.ah-group b{display:block;font-size:11px;color:#e6d4a4}.ah-group small{display:block;font-size:9px;color:#a9ad9f}.ah-group .ah-icon{width:34px;height:34px}.ah-compose-actions{display:flex;justify-content:flex-end;margin-top:10px}
/* Under every window (warehouses 8, Remote Warehouse 9) so an open one covers it; level with the phone HUD (.m-root, 7). */
.ah-chip{position:absolute;left:var(--safe-l,12px);top:77px;z-index:7;display:flex;align-items:center;gap:9px;padding:8px 11px;border:1px solid #b49c5d77;border-radius:4px;background:#142522ed;color:#e3d2a4;font:11px system-ui;box-shadow:0 4px 15px #0006;max-width:70%}.ah-chip b{display:block;font:14px Georgia,serif!important}.ah-chip small{display:block;font-size:9px;color:#b3c7a9;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:220px}.ah-chip i{width:7px;height:7px;background:#b1d59a;border-radius:50%;flex:none}.ah-chip button{padding:5px 7px;border:1px solid #a58d5655;border-radius:3px;color:#e6d3a4;background:#21332a;font-size:10px}.ah-confirm{position:absolute;inset:0;z-index:2;background:#02090dd4;display:grid;place-items:center;padding:15px}.ah-confirm-box{max-width:375px;width:100%;padding:23px;background:#18242c url(/ui/mobile/card.png?v=ea1529f9c8e23a06) center/100% 100%;border:1px solid #c0a87088;border-radius:5px;box-shadow:0 6px 30px #000a}.ah-confirm h3{font:22px Georgia,serif!important;color:#e7cd8a;margin:0 0 12px}.ah-confirm p{font-size:12px;line-height:1.6;color:#d2ccb7}.ah-confirm-actions{display:flex;justify-content:flex-end;gap:8px;margin-top:15px}.ah-confirm .ah-gold,.ah-confirm .ah-blue{min-width:100px}
@media(max-width:540px){.ah-main{flex-direction:column}.ah-tabs{width:100%;padding:6px 8px 0;flex-direction:row;gap:4px}.ah-sheet .ah-tab{width:auto;flex:1;height:30px;font-size:12px!important}.ah-tab-help{display:none}.ah-content{padding:10px}.ah-cols{grid-template-columns:1fr}.ah-deposit{grid-template-columns:23px minmax(90px,1fr) 34px 100px;gap:4px}.ah-sheet select{font-size:9px}.ah-place{grid-template-columns:18px 1fr}.ah-place-actions{grid-column:2}.ah-head{gap:7px}.ah-title{font-size:19px!important}.ah-access,.ah-status{font-size:9px}.ah-sheet .ah-gold,.ah-sheet .ah-red{min-width:112px}.ah-chip{max-width:90%}.ah-status{max-width:35%}}
