.quest-card{padding:8px 12px;width:320px}
.quest-summary{display:flex;align-items:center;justify-content:space-between;gap:12px;width:100%;min-height:44px;padding:8px 0;border:0;background:none;color:#fff6e9;text-align:left;cursor:pointer}
.quest-summary:focus-visible{outline:2px solid #f3c66f;outline-offset:3px;border-radius:3px}
#quest-title{font:500 1rem/1.3 Arial,sans-serif;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;overflow-wrap:anywhere}
#quest-summary-distance{flex-shrink:0;color:#f3c5a2;font:500 .8125rem/1.3 Arial,sans-serif;white-space:nowrap}
#hud .quest-card.is-compact{padding:0 10px;max-height:none;background:#173734c9;overflow:visible}
.quest-card:not(.is-compact) .quest-summary{border-bottom:1px solid #ffffff2b;margin-bottom:9px}
#quest-details .eyebrow{display:block;font-size:.6875rem;line-height:1.4;margin-bottom:7px}
#quest-details p{font-size:.875rem;line-height:1.45}
#quest-card #nightlife-exit{min-height:44px;display:block}
#quest-card .task-progress{margin:4px 0 7px}
.map-legend{display:flex;flex-wrap:wrap;align-items:center;gap:8px 18px;margin:0 0 14px;color:#36534b;font-size:.875rem}
.map-legend>span{display:inline-flex;align-items:center;gap:6px}.map-legend b{font-size:1.2rem;line-height:1}.legend-story{color:#b55d36}.legend-home{color:#8e8069}.legend-player{color:#477b78}
@media(max-width:700px){
  .map-header{padding-right:0}
  .map-directory-links{gap:0 14px}
  .map-directory-links .text-button{margin-top:0}
}
@media(max-width:700px),(pointer:coarse),(max-width:900px) and (max-height:560px){
  #hud .quest-card{padding:7px 10px;max-height:min(230px,calc(100dvh - 284px - var(--safe-top) - var(--safe-bottom)))}
  #hud #quest-title{font-size:.9375rem}.quest-summary{gap:8px}.map-legend{font-size:.8125rem;gap:7px 13px}
}
@media(orientation:landscape) and (max-height:560px) and (max-width:900px),(orientation:landscape) and (max-height:560px) and (pointer:coarse){
  #hud .quest-card{max-height:calc(100dvh - 194px - var(--safe-top) - var(--safe-bottom))}
  #hud .quest-card.is-compact{max-height:none}
}
