.idle-patrol-actions{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:6px;margin-top:10px}
.idle-patrol-actions>#idle-patrol-toggle{margin-top:0}
#idle-hunt-menu{min-height:44px;min-width:56px;padding:6px 8px;border:1px solid #b3a36b;border-radius:6px;background:#33534f;color:#ffe4ad;font:inherit;font-size:12px}
.patrol-actions>.home-hunt{min-height:44px;padding:6px 10px;border:1px solid #b3a36b;border-radius:6px;background:#33534f;color:#ffe0a0;font-size:12px}
.hunt-intro,.hunt-rule,.hunt-status,.hunt-preview p{font-size:12px;line-height:1.65;color:#cfddca}
.hunt-intro{margin-bottom:16px}
.hunt-layout{display:grid;grid-template-columns:minmax(0,1.3fr) minmax(240px,.8fr);gap:16px}
.hunt-targets{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.hunt-target{display:flex;flex-direction:column;align-items:flex-start;gap:7px;min-width:0;min-height:146px;padding:12px;border:1px solid #78978b;border-radius:8px;background:#1b3c4e;text-align:left}
.hunt-target[aria-pressed='true']{border-color:#efbf68;background:#3b5654;box-shadow:inset 0 0 0 1px #efbf68}
.hunt-target img{object-fit:contain;mix-blend-mode:lighten}
.hunt-target strong{font-size:15px;color:#ffe1a1}
.hunt-target span{font-size:12px;color:#e1ebbb}
.hunt-target small{font-size:10px;color:#ccdbcc;line-height:1.4}
.hunt-status{min-height:48px;padding:10px 0;color:#dfeaaf}
.hunt-rule{font-size:11px}
.hunt-preview{padding:14px;border:1px solid #78978b;border-radius:8px;background:#1b3c4e;min-width:0}
.hunt-preview h3{font-size:21px;color:#ffe1a1;margin-bottom:10px}
.hunt-preview p+p{margin-top:12px}
.hunt-preview ul{list-style:none;padding:0;margin:10px 0}
.hunt-preview li{padding:7px 0;border-bottom:1px solid #55766e}
.hunt-preview li strong,.hunt-preview li small{display:block;font-size:11px;line-height:1.5;color:#e1ebbb}
.hunt-preview li small{font-size:10px;color:#c7d6c9}
@media(min-width:640px){
  .hunt-preview li{display:flex;align-items:baseline;justify-content:space-between;gap:10px}
  .hunt-preview li strong{min-width:0}
  .hunt-preview li small{flex-shrink:0;text-align:right}
}
.hunt-preview button{font-size:12px;min-height:44px}
.hunt-mastery{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.6fr);column-gap:20px;align-items:center;padding:10px 12px;margin-bottom:14px;border:1px solid #8d946c;border-radius:7px;background:#294c50}
.hunt-mastery>div{display:flex;align-items:center;justify-content:space-between;gap:8px;font-size:12px;line-height:1.5;color:#ffe1a1}
.hunt-mastery>div>span{font-size:10px;color:#d2ddcd;white-space:nowrap}
.hunt-mastery-track{height:6px;margin-top:5px}

.hunt-mastery>.hunt-mastery-track{grid-column:1;grid-row:2}
.hunt-mastery p{grid-column:2;grid-row:1;font-size:11px;line-height:1.5;color:#e6dfb8}
.hunt-mastery small{grid-column:2;grid-row:2;display:block;font-size:10px;color:#c7d6c9}
.hunt-mastery-mini{display:block;min-width:118px;color:#e7d6a4;font-size:10px;line-height:1.5}
.hunt-mastery-mini .hunt-mastery-track{margin-top:3px;height:5px}
.hunt-mastery-receipt{display:flex;align-items:center;gap:7px;color:#ffe1a1}
.hunt-mastery-receipt>span{display:inline-flex;align-items:center;gap:3px;white-space:nowrap}
.hunt-mastery-receipt img{object-fit:contain;mix-blend-mode:lighten}
.hunt-after-mastery{display:block;margin-top:3px}
.hunt-footer{display:grid;grid-template-columns:1.3fr 1fr;gap:10px;position:sticky;bottom:0;z-index:4;margin-top:16px;padding-top:10px;background:#23475b}
.hunt-footer>button{min-height:46px;margin:0;font-size:13px}
@media(max-width:639px){
  .hunt-mastery{grid-template-columns:minmax(0,1fr);gap:5px;margin-bottom:10px;padding:9px}
  .hunt-mastery p,.hunt-mastery small,.hunt-mastery>.hunt-mastery-track{grid-column:auto;grid-row:auto}
  .hunt-layout{grid-template-columns:minmax(0,1fr);gap:10px}
  .hunt-intro{font-size:11px;margin-bottom:12px}
  .hunt-targets{gap:8px}
  .hunt-target{padding:10px;min-height:138px}
  .hunt-target strong{font-size:13px}
  .hunt-target span{font-size:11px}
  .hunt-preview{padding:10px}
  .hunt-preview p{font-size:11px}
  .hunt-footer{grid-template-columns:minmax(0,1fr);gap:6px}
  .idle-patrol-actions{margin-top:8px}
}
@media(max-width:639px) and (max-height:650px){
  .idle-patrol[data-activity='hunt'] .hunt-after-mastery{display:none}
  .game-shell[data-mood='rest']:has(.idle-patrol[data-activity='hunt']) .idle-panels{gap:3px}
  .game-shell[data-mood='rest']:has(.idle-patrol[data-activity='hunt']) #idle-goal-cost{margin-top:3px}
}
