/* Auto-Jagd window (ui/hunt.js): start / stop, target, route of the maps with their zones, settings;
   card "Neue Karte für dich" */
#hunt .tabs { margin-bottom: 3px; }
.hunt-body { max-height: 268px; overflow-y: auto; padding-right: 2px; }
.hunt-go { width: 100%; gap: 4px; }
.hunt-go i { width: 0; height: 0; border-top: 3px solid transparent; border-bottom: 3px solid transparent; border-left: 5px solid currentColor; }
.hunt-go.on { background: linear-gradient(#4f7a3a, #2e4f22); box-shadow: 0 0 0 1px var(--edge), inset 0 1px 0 #8fd06a, inset 0 -1px 0 #1d3315; }
.hunt-go.on:hover { background: linear-gradient(#5c8a44, #375c29); }
.hunt-go.on i { width: 5px; height: 5px; border: 0; background: currentColor; }
.hunt-state { display: flex; align-items: center; justify-content: center; gap: 3px; height: 9px; margin-top: 2px; font-size: 6px; color: var(--dim); }
.hunt-state i { width: 4px; height: 4px; background: #5a4e40; }
.hunt-state.on { color: #c8f0b8; }
.hunt-state.on i { background: var(--green); }
.hunt-sec { margin: 5px 0 2px; color: var(--gold); font-size: 7px; line-height: 8px; }
.hunt-modes { display: grid; grid-template-columns: 1fr 1fr; gap: 3px; }
.hunt-mode { padding: 2px 3px 3px; cursor: pointer; background: #15100d; box-shadow: inset 0 0 0 1px #33281d; }
.hunt-mode:hover { box-shadow: inset 0 0 0 1px var(--bronze); }
.hunt-mode.picked { background: #2a2018; box-shadow: inset 0 0 0 1px var(--gold-d); }
.hm-t { display: flex; align-items: center; gap: 3px; height: 9px; font-size: 7px; }
.hm-t i { flex: none; width: 6px; height: 6px; background: #0f0c0a; box-shadow: inset 0 0 0 1px #4a3b2b; }
.hunt-mode.picked .hm-t { color: var(--gold); }
.hunt-mode.picked .hm-t i { background: var(--gold); box-shadow: inset 0 0 0 1px var(--gold-d), inset 0 0 0 2px #0f0c0a; }
.hm-d { margin-top: 1px; font-size: 6px; line-height: 7px; color: var(--dim); }

/* the chosen zone and the recommendation */
.hunt-card { margin-top: 2px; padding: 3px 4px; font-size: 7px; background: #1d1712; box-shadow: inset 0 0 0 1px var(--bronze-d); }
.hunt-card.empty { padding: 4px; color: var(--dim); font-size: 6px; line-height: 7px; }
.hunt-card.better { margin-top: 4px; background: #241b10; box-shadow: inset 0 0 0 1px var(--gold-d); }
.hunt-card.weak { margin-top: 4px; box-shadow: inset 0 0 0 1px #7a2f26; }
.hc-head { margin-bottom: 1px; color: var(--gold); font-size: 7px; line-height: 8px; }
.hc-map { font-size: 6px; line-height: 7px; color: var(--gold-d); }
.hc-line { display: flex; align-items: center; justify-content: space-between; gap: 4px; min-height: 10px; }
.hc-name { flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hc-sub { font-size: 6px; line-height: 8px; color: var(--dim); }
.hc-tip { margin-top: 2px; font-size: 6px; line-height: 7px; }
.hc-tip.travel, .hunt-help.travel { display: flex; gap: 3px; align-items: flex-start; }
.hc-tip.travel i, .hunt-help.travel i { flex: none; width: 8px; height: 8px; margin-top: -1px; background: var(--ic-map) center / 8px 8px no-repeat; }
.hc-btns { display: flex; justify-content: flex-end; gap: 3px; margin-top: 3px; }
.hc-btns .btn.small.primary { height: 11px; min-width: 0; font-size: 7px; }

/* verdict: one word for how a zone or map suits the character */
.vchip { flex: none; display: inline-flex; align-items: center; height: 9px; padding: 0 3px; font-size: 6px; line-height: 9px; white-space: nowrap;
  box-shadow: inset 0 0 0 1px currentColor; }
.vchip.best { color: var(--gold); background: rgba(242, 196, 90, .12); }
.vchip.good { color: var(--green); }
.vchip.pots { color: #ffaa40; }
.vchip.hard { color: #ff7a6a; }
.vchip.easy, .vchip.locked, .vchip.few { color: #8a7f6c; }

/* experience per hour against the best zone of all */
.xbar { display: flex; flex: 1; align-items: center; gap: 3px; min-width: 0; font-size: 6px; color: var(--text); }
.xbar b { position: relative; flex: 1; height: 3px; background: #0c0907; box-shadow: 0 0 0 1px var(--edge); }
.xbar b i { position: absolute; left: 0; top: 0; bottom: 0; background: linear-gradient(#ffe8a0 0 1px, #c8962e 1px); }
.xbar span { flex: none; min-width: 44px; text-align: right; white-space: nowrap; }

/* guide */
.hunt-guide { margin-top: 4px; padding: 2px 4px; background: rgba(242, 196, 90, .05); box-shadow: inset 0 0 0 1px var(--bronze-d); }
.hunt-guide-h { display: flex; justify-content: space-between; align-items: center; height: 9px; font-size: 7px; cursor: pointer; }
.hunt-guide-h .dim { font-size: 6px; }
.hunt-guide ol { margin: 2px 0 1px; padding-left: 9px; font-size: 6px; line-height: 7px; }
.hunt-guide li { margin-top: 1px; }

/* route of the maps */
.hunt-help { margin: 1px 0 2px; font-size: 6px; line-height: 7px; color: var(--dim); }
.route { position: relative; margin-top: 2px; }
.route::before { content: ''; position: absolute; left: 5px; top: 9px; bottom: 9px; width: 1px; background: #4a3b2b; }
.rt-map { position: relative; display: flex; align-items: center; gap: 3px; min-height: 19px; padding: 2px 3px 2px 12px; cursor: pointer; }
.rt-map:hover { background: rgba(242, 196, 90, .06); }
.rt-map.open { background: #2a2018; box-shadow: inset 0 0 0 1px var(--bronze-d); }
.rt-dot { position: absolute; left: 3px; top: 50%; width: 5px; height: 5px; margin-top: -3px; background: #5a4e40; box-shadow: 0 0 0 1px var(--edge); }
.rt-map.v-best .rt-dot { background: var(--gold); }
.rt-map.v-good .rt-dot { background: var(--green); }
.rt-map.v-pots .rt-dot { background: #ffaa40; }
.rt-map.v-hard .rt-dot { background: var(--red); }
.rt-map.here .rt-dot { box-shadow: 0 0 0 1px var(--edge), 0 0 0 2px #f3ecdc; }
.rt-main { flex: 1; min-width: 0; }
.rt-line { display: flex; align-items: center; justify-content: space-between; gap: 4px; height: 9px; font-size: 7px; }
.rt-name { min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rt-map.v-easy .rt-name, .rt-map.v-locked .rt-name { color: var(--dim); }
.rt-map.v-best .rt-name { color: var(--gold); }
.rt-sub { display: flex; justify-content: space-between; gap: 4px; height: 8px; font-size: 6px; line-height: 8px; color: var(--dim); white-space: nowrap; }
.rt-map.here .rt-sub span:first-child { color: var(--text); }
.rt-arrow { flex: none; width: 0; height: 0; border-top: 2px solid transparent; border-bottom: 2px solid transparent; border-left: 3px solid var(--bronze-l); }
.rt-map.open .rt-arrow { border-left: 2px solid transparent; border-right: 2px solid transparent; border-top: 3px solid var(--gold); border-bottom: 0; }
.rt-zones { margin: 1px 0 3px 12px; }
.rt-zones .hunt-help { padding: 2px 3px; }
.rt-zone { padding: 2px 3px; border-bottom: 1px solid #2a2119; }
.rt-zone:hover { background: rgba(242, 196, 90, .05); }
.rt-zone.cur { background: rgba(120, 214, 90, .1); box-shadow: inset 0 0 0 1px #3f7a32; }
.rz-line { display: flex; align-items: center; gap: 3px; min-height: 11px; font-size: 7px; }
.rz-name { flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rz-lv { flex: none; min-width: 30px; font-size: 6px; color: var(--dim); }
.rz-none { flex: 1; font-size: 6px; color: var(--dim); }
.rz-cur { flex: none; min-width: 34px; font-size: 6px; text-align: center; color: var(--green); }
.rz-line .btn.small { flex: none; min-width: 34px; }
.rz-fold { display: flex; align-items: center; gap: 3px; height: 11px; padding: 0 3px; font-size: 6px; color: var(--dim); cursor: pointer;
  border-bottom: 1px solid #2a2119; }
.rz-fold:hover { color: var(--text); }
.rz-fold.open .rt-arrow { border-left: 2px solid transparent; border-right: 2px solid transparent; border-top: 3px solid var(--bronze-l); border-bottom: 0; }

/* settings */
.hunt-group { margin-top: 4px; padding: 2px 4px 3px; background: #1d1712; box-shadow: inset 0 0 0 1px var(--bronze-d); }
.hunt-group:first-child { margin-top: 0; }
.hg-t { color: var(--gold); font-size: 7px; line-height: 9px; }
.hg-d { margin-bottom: 1px; font-size: 6px; line-height: 7px; color: var(--dim); }

/* card "Neue Karte für dich" */
#hunt-intro { position: absolute; left: 50%; top: 32%; transform: translate(-50%, -50%); width: 196px; padding: 6px 7px; z-index: 900; }
#hunt-intro .hi-k { font-size: 6px; letter-spacing: .5px; text-align: center; color: var(--dim); }
#hunt-intro .hi-t { font-size: 11px; line-height: 12px; text-align: center; color: var(--gold); text-shadow: 1px 1px 0 var(--ink); }
#hunt-intro .hi-lv { font-size: 7px; text-align: center; color: var(--dim); }
#hunt-intro .hi-p { margin-top: 3px; font-size: 7px; line-height: 8px; }
#hunt-intro .hi-tp { display: flex; gap: 4px; align-items: flex-start; margin-top: 4px; padding: 3px 4px; font-size: 7px; line-height: 8px;
  background: #1d1712; box-shadow: inset 0 0 0 1px var(--bronze-d); }
#hunt-intro .hi-tp i { flex: none; width: 12px; height: 12px; background: var(--ic-map) center / 12px 12px no-repeat; }
#hunt-intro .hc-btns { margin-top: 5px; gap: 4px; }
/* "Später" as tall as the main button next to it */
#hunt-intro .hc-btns .btn { height: 16px; font-size: 9px; }
