/* Styles for store/missions.html (moved from its <style> block). */

body {
	margin: 0;
	font-family: var(--font-system);
	background: var(--color-surface-muted);
	color: var(--color-text);
}
#header { position: sticky; top: 0; z-index: var(--z-header); }
/* Sticky, not static -- pins right under the sticky #header while
   scrolling, same "stays visible" behavior as .cart-badge-link's
   fixed positioning below. flex-direction:column stacks the bold
   title over the tier details; align-items:flex-start keeps both
   lines clear of the fixed badge (top:58px, 29px tall -- 10px to
   39px measured from this banner's top), which is why there's a
   right padding reservation too. min-height (not height) is the
   smallest value that still keeps the badge comfortably inside
   with both lines at their natural size -- grows taller if the
   details line itself wraps. */
.deals-banner {
	position: sticky; top: 48px; z-index: var(--z-store-banner);
	background: var(--color-success-surface); color: var(--color-success); font-size: var(--font-size-xs);
	display: flex; flex-direction: column; justify-content: center; align-items: flex-start;
	min-height: 50px;
	padding: var(--space-1-5) 100px var(--space-1-5) var(--space-4);
}
.deals-banner-title { font-weight: var(--font-weight-bold); }
.deals-banner-details { font-weight: var(--font-weight-medium); margin-top: 1px; }
.browse-container { max-width: 600px; margin: 0 auto; padding: var(--space-6) var(--space-4) 64px; }
.browse-title { font-size: var(--font-size-5xl); font-weight: var(--font-weight-semibold); margin: var(--space-2) 0 var(--space-1); color: var(--color-text); }
.browse-subtitle { font-size: var(--font-size-md); color: var(--color-text-muted); margin: 0 0 var(--space-5); }
.browse-search {
	width: 100%; box-sizing: border-box; padding: var(--space-3) var(--space-3-5); font-size: var(--font-size-md);
	border: 1px solid var(--color-border); border-radius: var(--radius-md); margin-bottom: var(--space-4);
}
.browse-status { color: var(--color-text-muted); padding: var(--space-5) 0; text-align: center; }
.mission-list { list-style: none; margin: 0; padding: 0; }
.mission-list li {
	background: var(--color-surface); border-radius: var(--radius-md); margin-bottom: var(--space-2);
	box-shadow: var(--shadow-card-hairline);
}
.mission-list a {
	display: block; padding: var(--space-3) var(--space-4); color: var(--color-text); text-decoration: none; font-size: var(--font-size-md);
}
.mission-list a:hover { background: var(--color-surface-indigo); }
.result-count { color: var(--color-text-muted); font-size: var(--font-size-sm); margin-bottom: var(--space-2-5); }
.browse-nav-row { display: flex; justify-content: space-between; align-items: center; margin-bottom: var(--space-2); }
/* Fixed, not in normal flow -- stays visible while scrolling the (long)
   mission list. #header (the site nav) is a measured 48px tall. */
.cart-badge-link, .cart-badge-link:hover, .cart-badge-link:visited {
	display: inline-block; background: var(--color-text); color: var(--color-text-inverse); text-decoration: none;
	padding: var(--space-1-5) var(--space-3-5); border-radius: var(--radius-pill); font-size: var(--font-size-base); font-weight: var(--font-weight-semibold);
	position: fixed; top: 58px; right: 16px; z-index: var(--z-store-header);
	box-shadow: var(--shadow-card);
}
.cart-badge-link.cart-badge-empty { background: var(--color-text-tertiary); }
.back-link, .back-link:hover, .back-link:visited { font-size: var(--font-size-base); color: var(--color-primary); text-decoration: none; background: none; }


/* ==== Moved from inline styles in missions.html ==== */
