/* Hunt settings: illustrated field journal, restrained gilding, native enemy art. */
html body dialog.game-dialog#activity-settings{background:linear-gradient(115deg,#0c110ff2,#080d0cf5),var(--ever-stone)!important}
html body #activity-settings>.game-dialog-heading{gap:0 10px!important;padding:17px 16px 12px!important;margin-bottom:12px!important;isolation:isolate;background:linear-gradient(90deg,#090d0bf5 0%,#0a0e0bc7 42%,#0b0e0b26 100%),url('/ui/assets/theme/hunt-v1/forest-small.webp') right 40%/cover no-repeat!important;border-bottom-color:#b69a6266!important;box-shadow:inset 0 -1px #000,inset 0 1px #e2c18220!important}
#activity-settings>.game-dialog-heading>div:not(.hunt-modes){flex:1;min-width:0}
html body #activity-settings>.game-dialog-heading .hunt-heading-icon{width:41px!important;height:43px!important;filter:drop-shadow(0 2px 5px #000a)}
html body #activity-settings>.game-dialog-heading h2{font:bold 25px/1.15 Georgia,serif!important;color:#f1e6c8!important;text-shadow:0 2px 4px #000}
html body #activity-settings>.game-dialog-heading .hunt-settings-location{display:flex;align-items:center;gap:5px;color:#c5b796!important;font:12px/1.4 Arial,sans-serif!important;margin:5px 0 0!important}
.hunt-settings-location:before{content:'';width:11px;height:14px;background:currentColor;clip-path:polygon(50% 100%,10% 45%,10% 22%,28% 0,72% 0,90% 22%,90% 45%,50% 100%,50% 55%,65% 37%,65% 23%,50% 17%,35% 23%,35% 37%,50% 55%)}
html body #activity-settings .hunt-modes{order:10;flex:0 0 100%;display:grid;grid-template-columns:1fr 1fr;gap:8px;margin:13px 0 0;padding:0;background:none;border:0}
html body #activity-settings .hunt-modes button{position:relative;justify-content:flex-start;gap:9px;min-height:65px;padding:9px 12px;border:1px solid #6e76615c;border-radius:5px;background:linear-gradient(130deg,#1c2221ed,#0c1010f5);color:#b1b4a5;box-shadow:inset 0 1px #dfd8ba18,inset 0 0 0 2px #0005,0 2px 5px #0005;text-align:left;transition:background .18s,box-shadow .18s,border-color .18s}
html body #activity-settings .hunt-modes button.active{background:linear-gradient(125deg,#7b5d2a5c,#332715e6 50%,#211b10e8);border-color:#d0ac64;color:#f4e6bd;box-shadow:inset 0 1px #ffe1a0ae,inset 0 0 0 2px #a8874033,inset 0 -1px #d4b87666,0 0 12px #c69e442e}
html body #activity-settings .hunt-modes img{width:38px;height:40px;flex:none;object-fit:contain;filter:drop-shadow(0 2px 4px #0008)}
.hunt-mode-copy{min-width:0}.hunt-mode-copy strong{display:block;font:bold 17px/1.15 Georgia,serif}.hunt-mode-copy small{display:block;margin-top:5px;color:#b8b3a0;font:11px/1.3 Arial,sans-serif}.active .hunt-mode-copy small{color:#c5b895}
html body #activity-settings .game-dialog-content{scroll-padding-block:12px}
html body #activity-settings #panel-farm{grid-template-columns:minmax(0,1fr) 240px;gap:18px}
html body #activity-settings #panel-farm:before,html body #activity-settings #panel-farm:after{display:none}
html body #activity-settings .encounter-editor{margin:0;padding:0;border:0}
html body #activity-settings .hunt-support-settings{padding-left:18px;border-left-color:#9e895432}
html body #activity-settings .hunt-population{margin-bottom:15px;padding:2px 0 14px;border-bottom-color:#c5b28c20}
html body #activity-settings .hunt-population label{font:bold 17px/1.2 Georgia,serif;color:#e6ddc3}
.hunt-section-title{display:flex;align-items:center;gap:9px}.hunt-section-title svg{width:21px;height:23px;fill:#c9b789;flex:none}
html body #activity-settings .hunt-population output{width:53px;height:30px;font:bold 16px Georgia,serif;border:1px solid #a88b4c99;border-radius:5px;color:#e8d9b3;background:linear-gradient(125deg,#3c342669,#0d110ee6);box-shadow:inset 0 1px #f1d99b26,inset 0 -1px #000,0 1px 5px #0007}
html body #activity-settings #hunt-count{appearance:none;-webkit-appearance:none;height:26px;min-height:26px;margin:8px 0 0;outline-offset:3px;background:transparent;touch-action:pan-y}
#hunt-count::-webkit-slider-runnable-track{height:6px;border-radius:6px;background:linear-gradient(90deg,#b98c41 0%,#e0b86c var(--range-fill,50%),#29302a var(--range-fill,50%),#29302a 100%);box-shadow:inset 0 1px #f6df9f44,0 1px 3px #0009}
#hunt-count::-webkit-slider-thumb{appearance:none;-webkit-appearance:none;position:relative;z-index:2;margin-top:-7px;width:20px;height:20px;border:3px solid #f5d693;border-radius:50%;background:radial-gradient(circle at 40% 30%,#fbdea0,#b68c41);box-shadow:0 0 0 2px #7b602d,0 0 10px #efc1696b;cursor:grab}
#hunt-count::-moz-range-track{height:6px;border-radius:5px;background:#29302a;box-shadow:inset 0 1px #f6df9f44,0 1px 3px #0009}
#hunt-count::-moz-range-progress{height:6px;border-radius:5px;background:linear-gradient(90deg,#b98c41,#e0b86c)}
#hunt-count::-moz-range-thumb{width:15px;height:15px;border:3px solid #f5d693;border-radius:50%;background:#d9ae61;box-shadow:0 0 0 2px #7b602d,0 0 10px #efc1696b}
html body #activity-settings .hunt-range-scale{font:11px/1.3 Arial,sans-serif;padding-inline:7px;color:#929687;pointer-events:none}
.hunt-range-scale span{position:relative;width:10px;text-align:center}.hunt-range-scale span:before{content:'';position:absolute;top:-16px;left:1px;width:8px;height:8px;border-radius:50%;background:#3b4032;box-shadow:0 1px 3px #0008}.hunt-range-scale .reached:before{background:linear-gradient(#d8ac61,#ad7f37)}.hunt-range-scale .current{color:#f2d99b;text-shadow:0 0 6px #d2a85666}.hunt-range-scale .current:before{opacity:0}
html body #activity-settings .hunt-pool-heading{align-items:center;gap:8px}
.hunt-pool-emblem{width:21px;height:25px;flex:none;object-fit:contain;filter:saturate(.35)}
html body #activity-settings .hunt-pool-heading h3{flex:1;font:bold 17px/1.25 Georgia,serif;color:#e6ddc3}
html body #activity-settings #hunt-pool-count{font:11px/1.4 Arial,sans-serif;color:#b7b6a4}
html body #activity-settings .hunt-pool-help{font:12px/1.45 Arial,sans-serif;color:#a5aa9b;margin:6px 0 12px}
.hunt-search-tools{display:flex;align-items:stretch;gap:7px;margin-bottom:9px}
html body #activity-settings .hunt-search-tools .hunt-search{flex:1;min-width:0;margin:0}
html body #activity-settings #hunt-search{height:40px;padding-left:32px;font-size:12px;border:1px solid #777d665e;border-radius:4px;background:linear-gradient(#101613,#0b100e);box-shadow:inset 0 1px #d9d8b511,inset 0 2px 4px #0006;color:#e6ddc3}
html body #activity-settings .hunt-search-icon{inset:11px auto auto 10px;color:#a4a48c}
html body #activity-settings .hunt-filter-toggle{display:flex;align-items:center;justify-content:center;gap:5px;min-height:40px;padding:7px 9px;border:1px solid #89886b80;border-radius:4px;background:linear-gradient(#252a22b3,#101711);box-shadow:inset 0 1px #dbd5b51c,0 2px 4px #0005;color:#d9ceae;font:15px Georgia,serif}
.hunt-filter-toggle svg{width:17px;height:17px}.hunt-filter-chevron{font:16px Arial}.hunt-filter-toggle[aria-expanded=true] .hunt-filter-chevron{transform:rotate(180deg)}
html body #activity-settings .hunt-filter-toggle.filtered{border-color:#ccac69;color:#edce87}
.hunt-filters{padding:8px 9px;margin:0 0 9px;border:1px solid #88734a55;border-radius:4px;background:#161d17;box-shadow:inset 0 1px #c6b48b14}.hunt-filters[hidden]{display:none!important}.hunt-filters>div{display:flex;align-items:center;flex-wrap:wrap;gap:5px}.hunt-filters>div+div{margin-top:7px}.hunt-filters>div>span{width:34px;font-size:11px;color:#a3a893}
html body #activity-settings .hunt-filters button{min-height:32px;padding:5px 9px;font-size:11px;background:#0e140f;border:1px solid #6e76554a;color:#bbbfa9}.hunt-filters button[aria-pressed=true]{color:#f4d797!important;border-color:#c6a45d99!important;background:#6b542b44!important}
html body #activity-settings .hunt-roster{gap:7px;max-height:min(43dvh,410px);padding-right:3px;scrollbar-color:#8a7650 transparent}
html body #activity-settings .hunt-enemy{isolation:isolate;border:1px solid #65715a55;border-radius:5px;background:linear-gradient(105deg,#1c231b55,#10161399 45%,#0d130f);box-shadow:inset 0 1px #d0d7b411,0 2px 4px #0005;transition:border-color .18s,box-shadow .18s,background .18s}
html body #activity-settings .hunt-enemy.selected{border-color:#bb9854;background:linear-gradient(100deg,#6c50262b,#211b11bf 50%,#11170ff5);box-shadow:inset 3px 0 #f4d38b,inset 0 1px #e8cf8b33,0 0 8px #b98e3629}
html body #activity-settings .hunt-enemy-select{gap:9px;padding:7px 9px;min-height:64px}
html body #activity-settings .hunt-enemy-select .mob-portrait{width:39px;height:48px;flex-basis:39px;background:none;object-fit:contain;filter:drop-shadow(0 2px 3px #0009)}
html body #activity-settings .hunt-enemy-select .model-pending{position:relative;overflow:hidden;border:0}
.hunt-enemy .model-pending:before{content:'';width:23px;height:38px;background:linear-gradient(120deg,#6f756142,#c6b88c6b,#6f756142);clip-path:polygon(35% 0,65% 0,75% 18%,65% 33%,90% 42%,100% 70%,77% 70%,65% 53%,66% 100%,48% 100%,46% 78%,35% 100%,17% 100%,29% 52%,12% 70%,0 65%,15% 40%,35% 33%,25% 18%);animation:hunt-portrait-wait 1.4s ease-in-out infinite alternate}
@keyframes hunt-portrait-wait{from{opacity:.35}to{opacity:.85}}
html body #activity-settings .hunt-enemy-copy strong{font:bold 16px/1.18 Georgia,serif;color:#e8e0c7;text-shadow:0 1px 2px #0008}
html body #activity-settings .hunt-enemy-copy small{font:11px/1.4 Arial,sans-serif;color:#a7ad9e;margin-top:5px}
html body #activity-settings .hunt-selection-mark{display:block;flex:none;width:22px;height:23px;border:1px solid #69705a80;border-radius:4px;background:#0b100b99;color:transparent;font:bold 19px/21px Arial,sans-serif;box-shadow:inset 0 1px 3px #0006}
html body #activity-settings .selected .hunt-selection-mark{border-color:#c19b54;background:linear-gradient(135deg,#c29344,#735326);color:#fff0bc;text-shadow:0 1px 2px #5c3c0c;box-shadow:inset 0 1px #f9e0a05c,0 0 7px #c99b3933}
html body #activity-settings .hunt-enemy-loot{display:flex;align-items:center;justify-content:center;align-self:center;gap:4px;width:64px;min-width:64px;min-height:40px;margin:6px;padding:5px;border:1px solid #6f775965;border-radius:4px;background:linear-gradient(#23291e88,#10170eee);box-shadow:inset 0 1px #e5dfbe19;font:14px Georgia,serif;color:#d1c6a3}
.hunt-enemy-loot:before{content:'';width:17px;height:19px;flex:none;background:url('/ui/assets/navigation/v1/loot.webp') center/contain no-repeat;filter:saturate(.55)}
html body #activity-settings>.hunt-settings-actions{gap:9px;padding:12px 14px!important;background:linear-gradient(#161c16,#0b110d)!important;border-top-color:#9a865040!important}
html body #activity-settings .hunt-settings-actions button{gap:8px;min-height:46px;padding:8px;font:bold 17px/1.15 Georgia,serif;border-radius:5px;box-shadow:inset 0 1px #f6dda12e,0 2px 6px #0006}
#hunt-apply:before,#toggle-farm:before{content:'';width:25px;height:27px;flex:none;background:center/contain no-repeat;filter:saturate(.6)}
#hunt-apply:before{background-image:url('/ui/assets/social/v1/settings.webp')}
#toggle-farm:before{background-image:url('/ui/assets/navigation/v1/activity.webp')}
#toggle-farm.hunt-stop:before{width:14px;height:14px;border:1px solid currentColor;background:none;box-shadow:inset 0 0 0 2px #45291e}
html body #activity-settings #hunt-apply{border-color:#7f87615e;background:linear-gradient(130deg,#293424bb,#172117);color:#ded6b9}
html body #activity-settings #toggle-farm{border-color:#c8a05b;background:linear-gradient(120deg,#a67a36,#785025 55%,#60411f);color:#fff0c4;box-shadow:inset 0 1px #ffe5a591,inset 0 -1px #b3884899,0 3px 8px #0008}
html body #activity-settings #toggle-farm.hunt-stop{border-color:#aa7257;background:linear-gradient(#70412b,#41251a);color:#f6d0b7}
@media(max-width:700px){html body #activity-settings #panel-farm{display:block}html body #activity-settings .hunt-support-settings{padding:15px 0 0;margin-top:15px;border:0;border-top:1px solid #9a865031}html body #activity-settings>.game-dialog-heading{padding:0 14px 11px!important;gap:0 8px!important}html body #activity-settings>.game-dialog-heading .hunt-heading-icon{width:34px!important;height:39px!important}html body #activity-settings>.game-dialog-heading h2{font-size:23px!important}html body #activity-settings .hunt-modes{margin-top:12px;gap:7px}html body #activity-settings .hunt-modes button{gap:7px;min-height:60px;padding:8px}html body #activity-settings .hunt-modes img{width:29px;height:33px}.hunt-mode-copy strong{font-size:15px}.hunt-mode-copy small{font-size:10px;margin-top:4px}html body #activity-settings .hunt-roster{max-height:280px}html body #activity-settings .hunt-settings-actions button{font-size:16px}#hunt-apply:before,#toggle-farm:before{width:22px;height:24px}}
@media(min-width:701px){html body #activity-settings>.game-dialog-heading{background-image:linear-gradient(90deg,#090d0bf5,#0a0e0ba3 42%,#0b0e0b26),url('/ui/assets/theme/hunt-v1/forest.webp')!important}html body #activity-settings .hunt-modes button{min-height:67px}.hunt-mode-copy strong{font-size:18px}}
@media(max-width:359px){html body #activity-settings .hunt-mode-copy strong{font-size:13px}.hunt-mode-copy small{font-size:9px}html body #activity-settings .hunt-modes button{gap:5px;padding:7px 5px}html body #activity-settings .hunt-modes img{width:26px}html body #activity-settings .hunt-enemy-copy strong{font-size:15px}html body #activity-settings .hunt-enemy-loot{width:48px;min-width:48px;font-size:12px}.hunt-enemy-loot:before{display:none}html body #activity-settings .hunt-filter-toggle{gap:4px;padding-inline:7px}}
@media(hover:hover){#activity-settings .hunt-enemy:hover{border-color:#bcad73aa}#activity-settings .hunt-enemy-loot:hover,#activity-settings .hunt-filter-toggle:hover{filter:brightness(1.16)}#activity-settings .hunt-modes button:hover{border-color:#c0aa72}}
@media(prefers-reduced-motion:reduce){#activity-settings .hunt-modes button,#activity-settings .hunt-enemy{transition:none}.hunt-enemy .model-pending:before{animation:none}}
@media(max-width:700px){#activity-settings .hunt-mode-copy{flex:1}#activity-settings .hunt-mode-copy strong{font-size:14px}html body #activity-settings .hunt-settings-actions button{font-size:15px;white-space:nowrap}}
@media(min-width:360px) and (max-width:700px){#activity-settings .hunt-mode-copy strong{white-space:nowrap}}
@media(max-width:359px){#activity-settings .hunt-mode-copy strong{font-size:13px}#activity-settings .hunt-settings-actions button:before{display:none}}

/* A neutral loading ring, shared by original-model portraits throughout the UI. */
html body .mob-portrait.model-pending{display:grid;place-items:center;position:relative}
html body .mob-portrait.model-pending>span{display:none}
html body .mob-portrait.model-pending:before{content:'';display:block;position:static;width:18px;height:18px;box-sizing:border-box;border:2px solid #b69a6133;border-top-color:#dfbd76;border-right-color:#b8914c;border-radius:50%;clip-path:none;background:none;box-shadow:0 0 7px #c59b3f16;animation:portrait-ring-turn .9s linear infinite;transform:none}
html body .mob-portrait.model-unavailable:before{animation:none;border-color:#8f81524d;border-top-color:#b9a26a;opacity:.6}
@keyframes portrait-ring-turn{to{transform:rotate(360deg)}}
@media(prefers-reduced-motion:reduce){html body .mob-portrait.model-pending:before{animation:none}}
