body {
	background: url('Copilot_20260228_195458.png') no-repeat center center fixed;
	background-size: cover;
	background-color: #1a0033;
}
/* Secondary neon header style, matches .site-header but smaller */
.neon-section-header {
	font-size: 28px;
	font-weight: 700;
	text-align: center;
	margin: 0 0 12px;
	color: #ffd5a1 !important;
	letter-spacing: .03em;
	-webkit-text-stroke: 1.5px rgba(255,132,43,.97);
}
.neon-section-header .neon-char {
	display: inline-block;
	transition: opacity .11s linear,filter .11s linear,text-shadow .11s linear;
}
.neon-section-header .neon-space {
	width: .34em;
}
.neon-section-header .neon-char.neon-off {
	opacity: .72;
	filter: brightness(.85);
	text-shadow:
		0 0 1px rgba(255,201,138,.5),
		0 0 3px rgba(249,115,22,.28),
		0 0 7px rgba(234,88,12,.18);
}
.site-header .neon-glow-bright {
	text-shadow:
		0 0 8px #ff9800,
		0 0 18px #ff9800,
		0 0 32px #ff9800,
		0 0 48px #ff9800,
		0 0 68px #ff9800;
	-webkit-text-stroke:3.2px #ff9800;
}
.site-header .neon-glow-normal {
	text-shadow:
		0 0 4px #ff9800,
		0 0 12px #ff9800,
		0 0 22px #ff9800,
		0 0 32px #ff9800,
		0 0 48px #ff9800;
	-webkit-text-stroke:3.2px #ff9800;
}
.site-header .neon-glow-dim {
	text-shadow:
		0 0 2px #ff9800,
		0 0 6px #ff9800,
		0 0 12px #ff9800,
		0 0 18px #ff9800;
	-webkit-text-stroke:3.2px #ff9800;
}
.site-header .neon-glow-hot {
	text-shadow:
		0 0 10px #ff9800,
		0 0 24px #ff9800,
		0 0 38px #ff9800,
		0 0 54px #ff9800;
	-webkit-text-stroke:3.2px #ff9800;
}
.site-header .neon-glow-cool {
	text-shadow:
		0 0 6px #ff9800,
		0 0 16px #ff9800,
		0 0 28px #ff9800,
		0 0 38px #ff9800;
	-webkit-text-stroke:3.2px #ff9800;
}
:root{--bg:#191970;--card:#6f84ad;--card-dark:#6178a3;--accent:#2b7aee;--muted:#1f2937;--nav-button-width:14.5rem;--header-nav-height:40px;--header-search-width:320px}
*{box-sizing:border-box;font-family:Segoe UI,Roboto,Arial,sans-serif}
html{
	scrollbar-gutter: stable;
}
body{
		background-color:#000;
	margin:0;
	padding:24px;
	background-attachment:fixed;
}

/* Header System: shared spacing + subheader indent */
/* Theme/Tokens Map
	- Header rhythm: --header-spacing, --subheader-indent
	- Controls: --control-height, --control-height-compact, --control-radius
	- Toolbar/Nav: --toolbar-gap, --listheader-gap, --nav-pill-radius, --nav-pill-padding
	- Layout surfaces: --section-radius, --section-padding, --summary-padding, --surface-radius
	- Overlays/utility: --modal-radius, --suggestions-radius, --scroll-pill-padding
	- Card containers: --panel-shell-radius, --cards-container-*
*/
.app-polished{
	--header-spacing:4px;
	--subheader-indent:24px;
	--control-height:40px;
	--control-height-compact:30px;
	--control-radius:8px;
	--toolbar-gap:8px;
	--listheader-gap:12px;
	--nav-pill-radius:8px;
	--nav-pill-padding:6px 9px;
	--section-radius:10px;
	--section-padding:12px;
	--summary-padding:14px;
	--surface-radius:16px;
	--modal-radius:12px;
	--suggestions-radius:10px;
	--scroll-pill-padding:10px 14px;
	--panel-shell-radius:28px;
	--cards-container-radius:24px;
	--cards-container-padding:14px;
	--cards-container-border-alpha:.36;
	--cards-container-sweep-duration:36s;
	--cards-item-sweep-duration:16s;
}

.app-polished :is(.section-header,.group-header){
	margin:0 0 var(--header-spacing) !important;
	padding:10px 12px !important;
}

.app-polished :is(#uniqueItems,#rewardSections) > :is(.group-section,.reward-section){
	margin:0 !important;
	padding:0 !important;
}

.app-polished :is(#uniqueItems,#rewardSections) > :is(.group-section,.reward-section) + :is(.group-section,.reward-section){
	margin-top:var(--header-spacing) !important;
}

.app-polished .preview-category-body{gap:0}

.app-polished .preview-category-section,
.app-polished .preview-category-body > .preview-subgroup-section,
.app-polished #rewardSections .items-container > .group-section,
.app-polished #rewardSections .items-container > .ship-source-group{
	margin:0 !important;
	padding:0 !important;
}

.app-polished .preview-category-section + .preview-category-section,
.app-polished .preview-category-body > .preview-subgroup-section + .preview-subgroup-section,
.app-polished #rewardSections .items-container > .group-section + .group-section,
.app-polished #rewardSections .items-container > .ship-source-group + .ship-source-group{
	margin-top:var(--header-spacing) !important;
}

.app-polished .preview-subgroup-section > .group-header,
.app-polished #rewardSections .items-container > .group-section > .group-header,
.app-polished #rewardSections .items-container > .ship-source-group > .group-header{
	margin-left:var(--subheader-indent) !important;
}

.container{width:min(1680px,100%);max-width:none;margin:0 auto}
h1{margin:0 0 12px;font-size:2.1rem;text-align:center}
h2{font-size:1.6rem}
h3{font-size:1.3rem}

.site-header{
	font-size:68px;
	font-weight:700;
	text-align:left;
	margin:0 auto 12px;
	color:#ffd5a1 !important;
	letter-spacing:.03em;
	position:relative;
	width:fit-content;
	white-space:nowrap;
	line-height:1;
	padding-top:.2em;
		   0 0 4px rgba(255,237,213,.97),
		   0 0 12px rgba(255,201,138,.97),
		   0 0 22px rgba(255,167,84,.95),
		   0 0 32px rgba(255,132,43,.9),
		   0 0 48px rgba(249,115,22,.75),
		   0 0 68px rgba(234,88,12,.5);
	   -webkit-text-stroke:3.2px rgba(255,132,43,.97);
}
.site-header::before{content:none}

.site-header .site-header-prefix-line{
	display:block;
	font-size:.333em;
	line-height:1;
	letter-spacing:.03em;
	color:inherit;
	text-shadow:none;
	-webkit-text-stroke:0;
}
.site-header .site-header-presented-line{
	display:block;
	margin-top:.08em;
	font-size:.333em;
	line-height:1;
	letter-spacing:.03em;
	color:inherit;
	text-shadow:none;
	-webkit-text-stroke:0;
}

.site-header .site-header-prefix-line .neon-char:not(.neon-space),
.site-header .site-header-presented-line > .neon-char:not(.neon-space){
	text-shadow:
		0 0 1px rgba(255,201,138,.62),
		0 0 4px rgba(255,167,84,.38) !important;
	-webkit-text-stroke:.55px rgba(255,132,43,.62) !important;
}

.site-header .site-header-presented-name{
	color:#4ade80;
	text-shadow:
		0 0 4px rgba(74,222,128,.95),
		0 0 10px rgba(34,197,94,.85),
		0 0 18px rgba(22,163,74,.7);
	-webkit-text-stroke:1.1px rgba(22,163,74,.85);
}

.site-header .site-header-presented-name-char{
	color:#4ade80;
	text-shadow:
		0 0 4px rgba(74,222,128,.95),
		0 0 10px rgba(34,197,94,.85),
		0 0 18px rgba(22,163,74,.7);
	-webkit-text-stroke:1.1px rgba(22,163,74,.85);
}

.site-header .site-header-presented-name-char.neon-off{
	opacity:.72;
	filter:brightness(.85);
	text-shadow:
		0 0 1px rgba(74,222,128,.6),
		0 0 4px rgba(34,197,94,.34),
		0 0 8px rgba(22,163,74,.24);
}
.site-header .neon-char{
	display:inline-block;
	transition:opacity .11s linear,filter .11s linear,text-shadow .11s linear;
}
.site-header .neon-space{
	width:.34em;
}
.site-header .neon-char.neon-off{
	opacity:.72;
	filter:brightness(.85);
	text-shadow:
		0 0 1px rgba(255,201,138,.5),
		0 0 3px rgba(249,115,22,.28),
		0 0 7px rgba(234,88,12,.18);
}
@keyframes neonHeaderHum{
	0%,100%{opacity:1;filter:brightness(1)}
	8%{opacity:.96;filter:brightness(.96)}
	10%{opacity:.9;filter:brightness(.9)}
	12%{opacity:.98;filter:brightness(.99)}
	29%{opacity:.93;filter:brightness(.92)}
	32%{opacity:.99;filter:brightness(1)}
	50%{opacity:.88;filter:brightness(.86)}
	54%{opacity:.99;filter:brightness(1)}
	70%{opacity:.92;filter:brightness(.91)}
	73%{opacity:1;filter:brightness(1)}
}
.site-header.neon-blackout{
	animation:none !important;
	opacity:.03;
	filter:brightness(.18);
	text-shadow:
		0 0 1px rgba(255,201,138,.2),
		0 0 3px rgba(249,115,22,.12) !important;
}
.site-header.neon-reignite{
	animation:neonReignite 2.8s steps(1,end) both;
}
@keyframes neonReignite{
	0%{opacity:.03;filter:brightness(.15)}
	8%{opacity:.65;filter:brightness(.75)}
	14%{opacity:.08;filter:brightness(.2)}
	20%{opacity:.78;filter:brightness(.82)}
	28%{opacity:.12;filter:brightness(.25)}
	37%{opacity:.86;filter:brightness(.9)}
	46%{opacity:.2;filter:brightness(.3)}
	57%{opacity:.92;filter:brightness(.94)}
	68%{opacity:.45;filter:brightness(.55)}
	79%{opacity:.98;filter:brightness(1)}
	100%{opacity:1;filter:brightness(1)}
}
.top-nav{display:flex;gap:10px;margin-top:16px;margin-bottom:12px}
.top-nav a{display:inline-block;background:#f3f4f6;border:1px solid #e5e7eb;padding:9px 14px;border-radius:8px;color:#111;text-decoration:none;font-size:1rem;line-height:1.2}
.top-nav a.active{background:var(--accent);border-color:var(--accent);color:#fff}
.top-nav .nav-link{display:inline-block;background:#f3f4f6;border:1px solid #e5e7eb;padding:9px 14px;border-radius:8px;color:#111;text-decoration:none;font-size:1rem;line-height:1.2}
.top-nav .nav-link.active{background:var(--accent);border-color:var(--accent);color:#fff}

.top-nav.with-home-stacked{
	flex-wrap:wrap;
	justify-content:center;
	align-items:center;
	row-gap:10px;
	margin-top:24px;
}

.top-nav.with-home-stacked > a[href="index.html"]{
	order:1;
	flex:0 0 100%;
	width:max-content;
	margin:0 auto;
}

.top-nav.with-home-stacked > :not(a[href="index.html"]){
	order:2;
}

section{background:var(--card);padding:12px;border-radius:8px;margin:16px 0;border:1px solid #000;box-shadow:0 1px 2px rgba(16,24,40,.05)}
.summary-card{
	padding:14px 16px;
}
.summary-card p{
	margin:0;
	font-size:1.25rem;
	line-height:1.45;
	text-align:center;
}

.summary-card .summary-label{
	margin:0 0 6px;
	font-size:1.46rem;
	font-weight:800;
	line-height:1.35;
	text-align:center;
}

.summary-card .summary-bullets{
	margin:0 0 10px;
	padding-left:0;
	text-align:center;
	list-style-position:inside;
	font-size:1rem;
	font-weight:400;
}

.summary-card .summary-bullets:last-child{
	margin-bottom:0;
}

.summary-card .summary-bullets li{
	margin:0;
	line-height:1.4;
	font-weight:400;
}

@media (max-width: 760px){
	.summary-card .summary-label{
		font-size:1.28rem;
	}

	.summary-card .summary-bullets{
		font-size:1rem;
	}
}
.add form{display:flex;gap:8px}
input[type=text],input[type=number],input{padding:8px;border:1px solid #e5e7eb;border-radius:6px}
button{background:var(--accent);color:#fff;border:none;padding:8px 12px;border-radius:6px;cursor:pointer}
.btn-secondary{background:#f3f4f6;color:#111;border:1px solid #e5e7eb}
.reset-all-btn{padding:6px 10px;font-size:.85rem}
.nav-entry-log-btn{
	margin-right:auto;
	padding:9px 14px;
	font-size:1rem;
	border:1px solid #2563eb !important;
	color:#2563eb !important;
	background:transparent !important;
}

.page-auth-btn{
	position:fixed;
	top:14px;
	right:14px;
	z-index:3600;
	margin-right:0;
}

.page-account-btn{
	position:fixed;
	top:14px;
	right:152px;
	z-index:3600;
	margin-right:0;
}

.page-auth-btn,
.page-account-btn{
	min-width:124px;
	text-align:center;
}

.nav-entry-log-btn:hover,
.nav-entry-log-btn:focus-visible,
.app-polished .top-nav .nav-entry-log-btn:hover,
.app-polished .top-nav .nav-entry-log-btn:focus-visible{
	border-color:#60a5fa !important;
	color:#60a5fa !important;
	background:rgba(37,99,235,.12) !important;
}

.app-polished .page-auth-btn,
.app-polished .page-auth-btn:hover,
.app-polished .page-auth-btn:focus-visible{
	border:1px solid #2563eb !important;
	color:#2563eb !important;
	background:transparent !important;
}

.app-polished .page-account-btn,
.app-polished .page-account-btn:hover,
.app-polished .page-account-btn:focus-visible{
	border:1px solid #2563eb !important;
	color:#2563eb !important;
	background:transparent !important;
}

@media (max-width: 640px){
	.page-auth-btn,
	.page-account-btn{
		min-width:108px;
		padding:8px 10px;
		font-size:.92rem;
	}

	.page-account-btn{
		right:132px;
	}
}

.nav-reset-options-btn{
	margin-left:auto;
	padding:9px 14px;
	font-size:1rem;
	border:1px solid #f97316 !important;
	color:#f97316 !important;
	background:transparent !important;
}

.nav-reset-options-btn:hover,
.nav-reset-options-btn:focus-visible,
.app-polished .top-nav .nav-reset-options-btn:hover,
.app-polished .top-nav .nav-reset-options-btn:focus-visible{
	border-color:#fb923c !important;
	color:#fb923c !important;
	background:rgba(249,115,22,.12) !important;
}

.hangar-entry-log-modal-card{
	width:min(1920px,calc(100vw - 32px));
	max-width:100%;
}

.hangar-entry-log-list-wrap{
	margin-top:14px;
	height:min(62vh,720px);
	overflow-y:auto;
	overflow-x:hidden;
	padding:12px 14px;
	border:1px solid #000;
	border-radius:10px;
	background:rgba(255,255,255,.06);
	text-align:left;
}

.hangar-entry-log-stream{
	margin:0;
	padding:0;
	white-space:pre-wrap;
	word-break:break-word;
	font-family:Consolas, "Courier New", monospace !important;
	font-size:.96rem;
	line-height:1.5;
	text-align:left;
	color:var(--space-card-ink) !important;
	text-shadow:0 0 10px rgba(131,223,255,.2);
}

.hangar-entry-log-archive-list{
	display:flex;
	flex-direction:column;
	gap:8px;
}

.hangar-entry-log-archive-item{
	display:flex;
	align-items:center;
	justify-content:space-between;
	gap:10px;
	padding:8px 10px;
	border-radius:8px;
}

.hangar-entry-log-archive-actions{
	display:flex;
	align-items:center;
	gap:8px;
	flex-shrink:0;
}

.hangar-entry-log-archive-delete-btn{
	min-width:34px;
	padding:8px 10px;
	font-weight:700;
	line-height:1;
	border-color:#dc2626 !important;
	color:#dc2626 !important;
	background:transparent !important;
}

.hangar-entry-log-archive-delete-btn:hover{
	background:rgba(220,38,38,.1) !important;
}

.hangar-entry-log-archive-meta{
	display:flex;
	flex-direction:column;
	gap:2px;
	min-width:0;
}

.hangar-entry-log-archive-name{
	font-family:Consolas, "Courier New", monospace;
	font-size:.94rem;
	line-height:1.3;
	word-break:break-word;
}

.hangar-entry-log-archive-time{
	font-size:.84rem;
}

.hangar-entry-log-toast{
	position:fixed;
	right:16px;
	bottom:16px;
	z-index:4000;
	opacity:0;
	transform:translateY(8px);
	pointer-events:none;
	transition:opacity 160ms ease, transform 160ms ease;
}
#items{display:flex;flex-direction:column;gap:8px}
.items-container{display:grid;grid-template-columns:repeat(4,minmax(260px,1fr));gap:12px;align-items:start}
.reward-section{margin-bottom:16px}
.reward-section h3{margin:0;flex:1}
.section-header{display:flex;align-items:center;gap:8px}
.section-header h3{margin:0;flex:1}
.section-toggle{background:transparent;border:1px solid #e5e7eb;padding:4px 8px;border-radius:6px;cursor:pointer;color:#000;display:inline-flex;align-items:center;justify-content:center;width:34px;min-width:34px;font-size:12px}
.section-expand-btn{background:#f3f4f6;border:1px solid #e5e7eb;padding:6px 10px;border-radius:6px;cursor:pointer;color:#000}
.reward-section.section-collapsed .section-expand-btn{display:none}
.reward-section.section-collapsed .items-container{display:none}
.item{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;padding:10px;border:1px solid #000;border-radius:8px;background:var(--card-dark)}
.meta{display:flex;gap:12px;align-items:center;min-width:0}
.meta.flexcol{align-items:flex-start;text-align:left;flex:1}
.controls{display:flex;gap:6px;align-items:center;flex-shrink:0;white-space:nowrap;width:240px;text-align:right}
#rewardSections .item > .controls{justify-content:flex-end}
#rewardSections .item > .controls{width:100%}
#uniqueItemTotals .item > .controls{justify-content:flex-end}
#uniqueItemTotals .item > .controls{width:100%}
#stationInventoryRows .item > .controls{justify-content:flex-end}
#stationInventoryRows .item > .controls{width:100%}
#uniqueItemTotals .count{
	width:68px;
	height:68px;
	min-width:68px;
	min-height:68px;
	padding:0;
	display:flex;
	align-items:center;
	justify-content:center;
	text-align:center;
	font-size:1.15rem;
	line-height:1;
}
#stationInventoryRows .count{
	width:68px;
	height:68px;
	min-width:68px;
	min-height:68px;
	padding:0;
	display:flex;
	align-items:center;
	justify-content:center;
	text-align:center;
	font-size:1.15rem;
	line-height:1;
}
.small{background:#f3f4f6;color:#111;padding:6px 8px;border-radius:6px}
.muted{color:var(--muted)}
.count{min-width:48px;text-align:center}
.controls .small.count{font-size:.75rem}
.app-polished #uniqueItemTotals .controls .small.count,
.app-polished #stationInventoryRows .controls .small.count{
	color:var(--space-header-ink) !important;
	text-shadow:0 0 12px rgba(95,232,255,.38);
	border:1px solid rgba(var(--scan-border),.5) !important;
	background:
		radial-gradient(120% 120% at 92% -16%, rgba(94,255,240,.4), rgba(94,255,240,0) 48%),
		radial-gradient(140% 130% at -12% 118%, rgba(174,123,255,.35), rgba(174,123,255,0) 52%),
		linear-gradient(145deg, rgba(13,26,53,.72) 0%, rgba(17,31,63,.7) 46%, rgba(8,17,40,.74) 100%) !important;
	box-shadow:
		inset 0 0 0 1px rgba(255,255,255,.1),
		inset 0 8px 18px rgba(92,173,255,.16),
		0 8px 18px rgba(1,8,25,.45),
		0 0 0 1px rgba(62,115,185,.22) !important;
	border-radius:10px;
}
.flexcol{display:flex;flex-direction:column}
.importExport{display:flex;gap:8px;align-items:center}

/* requirement complete */
.req-complete{background:#ecfdf5;border:1px solid #10b981}
.available-ok{color:#047857}
.available-low{color:#b91c1c}
/* reward complete */
.reward-complete{box-shadow:0 0 0 3px rgba(16,185,129,0.06);border:1px solid #10b981}

/* requirements card styling */
.req-card{margin-left:0;margin-top:0;background:var(--card-dark);border:1px solid #000}
.req-card .meta{align-items:flex-start}


/* collapsed reward: hide requirements and controls */
.item.collapsed .requirements{display:none}
.item.collapsed .controls{display:none}
.toggle-btn{background:transparent;border:1px solid #e5e7eb;padding:4px 8px;border-radius:6px;cursor:pointer;color:#000;display:inline-flex;align-items:center;justify-content:center;width:34px;min-width:34px}

.reward-card{position:relative;isolation:isolate;min-height:208px;padding-top:86px;overflow:hidden}
.active-rewards-page #activeRewards .items-container,
#activeRewards .items-container,
#activeRewards .completion-grid{grid-template-columns:1fr}
.reward-card-toggle{position:absolute !important;top:8px !important;left:8px !important;right:auto !important;z-index:6;transform:none;margin:0 !important}

.reward-card > .meta.reward-card-meta{
	position:static;
	min-height:0;
	margin:0;
	padding:0;
	display:block;
	z-index:2;
}

.reward-card-title{
	position:absolute;
	top:8px;
	left:12px;
	right:12px;
	transform:none;
	margin:0;
	line-height:1.2;
	font-size:1.26rem;
	text-align:center;
	max-width:none;
	display:-webkit-box;
	-webkit-line-clamp:2;
	line-clamp:2;
	-webkit-box-orient:vertical;
	white-space:normal;
	overflow:hidden;
	text-overflow:ellipsis;
	min-height:2.4em;
	pointer-events:none;
	z-index:4;
}

.reward-card-mission-watermark{
	position:absolute;
	top:56px;
	left:12px;
	right:12px;
	transform:none;
	margin:0;
	font-size:1.18rem;
	font-weight:700;
	line-height:1.2;
	letter-spacing:.01em;
	color:rgba(228,248,255,.98) !important;
	opacity:.9;
	text-align:center;
	max-width:none;
	display:-webkit-box;
	-webkit-line-clamp:2;
	line-clamp:2;
	-webkit-box-orient:vertical;
	white-space:normal;
	overflow:hidden;
	text-overflow:ellipsis;
	max-height:2.4em;
	text-shadow:0 1px 1px rgba(1,10,24,.85);
	-webkit-text-stroke:0;
	pointer-events:none;
	z-index:1;
}

.reward-card .controls,
.reward-card .requirements,
.reward-card .active-progress-wrap,
.reward-card .reward-card-complete-float,
.reward-card .reward-card-top-actions{
	position:relative;
	z-index:3;
}

.reward-card-top-actions{
	position:absolute;
	top:8px;
	right:8px;
	display:flex;
	align-items:center;
	gap:8px;
}

#rewardSections .reward-card{
	padding-top:86px;
	min-height:190px;
}

#rewardSections .reward-card .reward-card-toggle{
	top:8px !important;
	left:8px !important;
	right:auto;
	z-index:6;
}

#activeRewards .reward-card .reward-card-toggle{
	top:8px !important;
	left:8px !important;
	right:auto;
	z-index:6;
}

#activeRewards .reward-card{
	min-height:196px;
}

#activeRewards .reward-card[data-collapsed="true"]{
	min-height:0;
	padding-top:64px;
}

#activeRewards .reward-card[data-collapsed="true"] .reward-card-mission-watermark{
	top:52px;
}

#activeRewards .reward-card[data-collapsed="true"] .active-progress-wrap{
	margin-top:4px;
}

.requirements{width:100%;display:flex;flex-direction:column;gap:6px}
.requirements .muted.small{font-size:.9rem;line-height:1.25;padding:4px 6px}
.availability-pill{display:inline-flex;flex-direction:column;align-items:center;justify-content:center;min-width:72px;line-height:1.15}
.required-pill{display:inline-flex;flex-direction:column;align-items:center;justify-content:center;min-width:72px;line-height:1.15}
.availability-label{font-size:.78rem;opacity:.95}
.availability-value{font-size:.98rem}
.pending-commit-input{text-align:center}

/* list header layout */
.listHeader{display:flex;justify-content:space-between;align-items:center}
.listHeader h2{margin:0}
.listHeader button{background:#f3f4f6;border:1px solid #e5e7eb;padding:6px 10px;border-radius:6px;cursor:pointer;color:#000}
.crafting-blueprint-table-wrap{margin-top:10px;overflow-x:auto;border:1px solid rgba(191,240,255,.28);border-radius:12px;background:linear-gradient(165deg, rgba(8,19,39,.55) 0%, rgba(12,26,52,.55) 100%)}
.crafting-blueprint-list{list-style:none;margin:0;padding:0;min-width:960px}
.crafting-blueprint-row{margin:0;display:grid;grid-template-columns:var(--crafting-blueprint-template, repeat(var(--crafting-blueprint-columns, 7), minmax(110px,1fr)));align-items:center}
.crafting-blueprint-header{background:rgba(14,31,58,.82);border-bottom:1px solid rgba(194,244,255,.34)}
.crafting-blueprint-header .crafting-blueprint-cell{font-size:.82rem;letter-spacing:.02em;text-transform:none;color:#39ff14 !important;font-weight:800}
.crafting-blueprint-header .crafting-blueprint-cell{cursor:pointer}
.crafting-blueprint-header-label{display:inline-flex;align-items:center;gap:6px}
.crafting-blueprint-sort-arrow{display:inline-block;min-width:10px;text-align:center;opacity:.92}
.crafting-blueprint-row:not(.crafting-blueprint-header){background:rgba(16,34,63,.58);border-bottom:1px solid rgba(186,240,255,.2)}
.crafting-blueprint-row:not(.crafting-blueprint-header):nth-child(odd){background:rgba(20,42,77,.54)}
.crafting-blueprint-row:not(.crafting-blueprint-header):not(.crafting-blueprint-row-empty){transition:background-color .18s ease,box-shadow .2s ease}
.crafting-blueprint-row:not(.crafting-blueprint-header):not(.crafting-blueprint-row-empty):hover{background:rgba(46,92,150,.52);box-shadow:inset 0 0 0 1px rgba(165,233,255,.28)}
.crafting-blueprint-cell{padding:11px 12px;border-right:1px solid rgba(168,233,255,.16);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:.95rem;line-height:1.2;color:var(--space-card-ink) !important;text-shadow:0 0 10px rgba(131,223,255,.2)}
.crafting-blueprint-row:not(.crafting-blueprint-header) .crafting-blueprint-cell{font-size:.78rem}
.crafting-blueprint-cell:last-child{border-right:none}
.crafting-blueprint-row .crafting-blueprint-cell.is-name{color:var(--space-card-ink) !important;font-weight:800}
.crafting-blueprint-cell-wrap{white-space:normal;overflow-wrap:anywhere;text-overflow:clip}
.crafting-blueprint-cell-actions{display:flex;align-items:center;justify-content:center}
.crafting-blueprint-row-empty .crafting-blueprint-cell{grid-column:1 / -1;text-align:center;color:var(--space-header-muted);padding:16px 12px;white-space:normal}
.crafting-blueprint-controls{display:flex;flex-wrap:nowrap;gap:8px;align-items:center;min-width:0;max-width:100%}
.crafting-blueprint-input,.crafting-blueprint-select{padding:8px 10px;border:1px solid #e5e7eb;border-radius:8px;background:#fff !important;color:#111 !important}
.crafting-blueprint-input::placeholder{color:rgba(17,24,39,.5) !important;opacity:1}
.app-polished .crafting-blueprint-controls .crafting-blueprint-input[list]{width:clamp(180px,28vw,var(--header-search-width));min-width:0;max-width:100%}
#customBlueprintFormRow{display:flex;align-items:flex-start;flex-wrap:wrap}
#customBlueprintDynamicFields{display:flex;flex-wrap:wrap;gap:8px;flex:1 1 100%}
#customBlueprintDynamicFields .crafting-blueprint-input{width:clamp(170px,22vw,280px);min-width:170px}
#customBlueprintFormRow #customBlueprintAddBtn{align-self:center}
select{padding:6px 8px;border:1px solid #e5e7eb;border-radius:6px;background:var(--card)}
.highlight-jump{animation:jumpHighlight 5s ease-out}
@keyframes jumpHighlight{0%{background:#86efac;box-shadow:0 0 0 3px rgba(134,239,172,0.5)};100%{background:inherit;box-shadow:inherit}}

@media (max-width: 980px){
	.crafting-blueprint-controls{flex-wrap:wrap;}
}

@media (max-width: 760px){
	.crafting-blueprint-cell{padding:10px 10px;font-size:.9rem}
}

.group-section{margin-top:12px}
.group-section h3{margin:0 0 8px;text-align:left}
.group-header{display:flex;align-items:center;gap:8px}
.group-header h3{margin:0;text-align:left}
.group-toggle{background:transparent;border:1px solid #e5e7eb;padding:4px 8px;border-radius:6px;cursor:pointer;color:#000;display:inline-flex;align-items:center;justify-content:center;width:34px;min-width:34px;font-size:12px}
.group-items{display:grid;grid-template-columns:repeat(4,minmax(260px,1fr));gap:12px;align-items:start}
.group-items.group-collapsed{display:none}

.preview-category-body{display:flex;flex-direction:column;gap:2px}
.preview-category-body.group-collapsed{display:none}
.preview-category-section{margin:2px 0 !important;padding:4px !important;border:none !important;box-shadow:none !important;background:transparent !important;min-height:0}
.preview-category-section:first-child{margin-top:0 !important}
.preview-subgroup-section{margin:1px 0 !important;padding:4px !important;border:none !important;box-shadow:none !important;background:transparent !important;min-height:0}
.preview-category-body > .preview-subgroup-section{margin:1px 0 !important;min-height:0}
.preview-category-body > .preview-subgroup-section:first-child{margin-top:0 !important}
.preview-category-body > .preview-subgroup-section:last-child{margin-bottom:0 !important}

.ship-source-group{grid-column:1 / -1;width:100%}
.ship-source-group .group-items{grid-template-columns:repeat(4,minmax(0,1fr))}

.ship-source-group .reward-card{
	min-height:auto;
	padding-top:92px;
}

.ship-source-group .reward-card-title{
	display:block;
	-webkit-line-clamp:unset;
	line-clamp:unset;
	-webkit-box-orient:unset;
	max-height:none;
	overflow:visible;
	text-overflow:clip;
	white-space:normal;
	min-height:0;
}

.items-container .item,
.group-items .item,
#uniqueItemTotals .item,
#stationInventoryRows .item,
.completion-grid .item{
	flex-direction:column;
	align-items:stretch;
	gap:10px;
}

.items-container .item .controls,
.group-items .item .controls,
#uniqueItemTotals .item .controls,
#stationInventoryRows .item .controls,
.completion-grid .item .controls{
	width:100%;
	justify-content:space-between;
	text-align:left;
	white-space:normal;
}

.items-container .req-card{
	grid-column:1 / -1;
}

.totals-grid,
.completion-grid{
	display:grid;
	grid-template-columns:repeat(4,minmax(260px,1fr));
	gap:12px;
	align-items:start;
}

#totals .completion-grid{grid-template-columns:1fr}

.completion-grid .item textarea{
	width:100%;
	min-height:48px;
}

#uniqueItemTotals section,
#stationInventoryRows section{
	margin:8px 0 0;
	padding:8px 10px;
}

#uniqueItemTotals section:first-child,
#stationInventoryRows section:first-child{
	margin-top:6px;
}

#uniqueItemTotals section h3,
#stationInventoryRows section h3{
	margin:0 0 6px;
	line-height:1.15;
}

body,
body *:not(.site-header):not(.site-header *)
	:not(.neon-section-header):not(.neon-section-header *)
	:not(h1):not(h1 *)
	:not(input):not(textarea):not(select):not(option){
	color:var(--space-card-ink, #d7ecff) !important;
	font-weight:700 !important;
	text-shadow:0 0 1px rgba(255,255,255,.95),0 0 2px rgba(255,255,255,.55);
}

.available-ok{color:#047857 !important}
.available-low{color:#b91c1c !important}

.reward-inventory-status{min-width:0;max-width:100%;display:block;white-space:normal;overflow-wrap:anywhere;word-break:normal;line-height:1.25;text-align:center;text-shadow:0 0 1px rgba(0,0,0,.9),0 0 2px rgba(0,0,0,.75);background:transparent !important;border:none !important;padding:0 !important;border-radius:0 !important;box-shadow:none !important}
.reward-inventory-status-red{color:#b91c1c !important}
.reward-inventory-status-yellow{color:#f59e0b !important}
.reward-inventory-status-green{color:#047857 !important}

.required-items-page button[data-action="inc"],
.required-items-page button[data-action="dec"]{
	min-width:44px;
	min-height:44px;
	padding:10px 14px;
	font-size:1.35rem;
	line-height:1;
	box-shadow:0 0 1px rgba(255,255,255,.95),0 0 2px rgba(255,255,255,.55);
}

#activeRewards .requirements .req-adjust-btn{
	min-width:44px;
	min-height:44px;
	padding:10px 14px;
	font-size:1.35rem;
	line-height:1;
	box-shadow:0 0 1px rgba(255,255,255,.95),0 0 2px rgba(255,255,255,.55);
}

#activeRewards .requirements .active-req-count-input{
	width:76px;
	text-align:center;
}

.required-items-page #uniqueItems .item .meta strong{
	font-size:1.28rem;
	line-height:1.2;
}

.required-items-page #uniqueItems .item .meta .required-item-detail{
	font-size:1rem;
	line-height:1.25;
}

#uniqueItemTotals .item .meta strong,
#stationInventoryRows .item .meta strong{
	font-size:1.28rem;
	line-height:1.2;
}

#uniqueItemTotals .item .meta .muted,
#stationInventoryRows .item .meta .muted{
	font-size:1rem;
	line-height:1.25;
}

#uniqueItemTotals .item.available-item,
#stationInventoryRows .item.available-item{
	position:relative;
}

body[data-inventory-scope] #uniqueItemTotals .item.available-item{
	min-height:92px;
}

#uniqueItemTotals .item.available-item .meta,
#stationInventoryRows .item.available-item .meta{
	padding-right:0;
}

#uniqueItemTotals .item.available-item .meta .item-name,
#stationInventoryRows .item.available-item .meta .item-name{
	padding-right:160px;
}

#uniqueItemTotals .item.available-item .controls,
#stationInventoryRows .item.available-item .controls{
	position:absolute;
	top:8px;
	right:8px;
	width:auto;
	display:grid;
	grid-template-columns:auto auto;
	grid-template-areas:
		"count move"
		"count remove";
	column-gap:6px;
	row-gap:4px;
	align-items:center;
	justify-items:end;
}

#uniqueItemTotals .item.available-item .count,
#stationInventoryRows .item.available-item .count{grid-area:count}
#uniqueItemTotals .item.available-item .inventory-move-btn,
#stationInventoryRows .item.available-item .inventory-move-btn{grid-area:move}
#uniqueItemTotals .item.available-item .inventory-remove-btn,
#stationInventoryRows .item.available-item .inventory-remove-btn{grid-area:remove}

#uniqueItemTotals .item.available-item .inventory-move-btn,
#uniqueItemTotals .item.available-item .inventory-remove-btn,
#stationInventoryRows .item.available-item .inventory-move-btn,
#stationInventoryRows .item.available-item .inventory-remove-btn{
	padding:4px 8px;
	min-height:30px;
	min-width:74px;
	line-height:1;
}

#uniqueItemTotals .item.available-item .inventory-move-btn,
#uniqueItemTotals .item.available-item .inventory-remove-btn,
#stationInventoryRows .item.available-item .inventory-move-btn,
#stationInventoryRows .item.available-item .inventory-remove-btn{
	white-space:nowrap;
}

#uniqueItemTotals .item.available-item .inventory-remove-btn,
#stationInventoryRows .item.available-item .inventory-remove-btn{
	color:#b91c1c !important;
}

#uniqueItemTotals .item.available-item .location-label,
#stationInventoryRows .item.available-item .location-label{
	display:block;
	width:100%;
	margin-top:3px;
	font-size:1.08rem;
	line-height:1.2;
}

#uniqueItemTotals .item.available-item .location-entry,
#stationInventoryRows .item.available-item .location-entry{
	display:block;
	width:100%;
	margin-top:1px;
	line-height:1.15;
}

#uniqueItemTotals .item.unavailable-item{
	flex-direction:row;
	align-items:stretch;
	gap:8px;
	padding:8px 6px;
	height:84px;
}

#uniqueItemTotals .item.unavailable-item .meta{
	display:flex;
	align-items:center;
	justify-content:flex-start;
	flex:1;
	min-width:0;
	text-align:left;
}

#uniqueItemTotals .item.unavailable-item .meta .item-name{
	display:-webkit-box;
	-webkit-line-clamp:2;
	line-clamp:2;
	-webkit-box-orient:vertical;
	width:100%;
	overflow:hidden;
	text-overflow:ellipsis;
	white-space:normal;
	line-height:1.2;
	text-align:left;
	margin:0;
	padding:0;
	text-indent:0;
}

#uniqueItemTotals .item.unavailable-item .controls{
	width:auto;
	justify-content:flex-end;
	align-items:center;
}

#rewardSections .item .meta strong,
#activeRewards .item .meta strong,
.reward-entry-name{
	font-size:1.14rem;
	line-height:1.2;
}

.active-progress-wrap{width:100%;margin-top:8px}
.active-progress-track{width:100%;height:8px;background:#f3f4f6;border:1px solid #e5e7eb;border-radius:999px;overflow:hidden}
.active-progress-fill{height:100%;background:var(--accent);transition:width .2s ease}

#activeRewards .reward-remove-active-btn,
#activeRewards .active-complete-btn{
	padding:6px 10px;
	white-space:nowrap;
}

#activeRewards .reward-card-complete-float{
	position:absolute;
	right:8px;
	top:52px;
	background:var(--accent);
	border:1px solid var(--accent);
	color:#fff;
	z-index:2;
}

.scroll-top-btn{
	position:fixed;
	right:20px;
	bottom:20px;
	z-index:1000;
	opacity:0;
	transform:translateY(12px);
	pointer-events:none;
	transition:opacity .2s ease,transform .2s ease;
	padding:10px 12px;
	border:1px solid #000;
	background:#f3f4f6;
	color:#111;
}

.scroll-top-btn.is-visible{
	opacity:1;
	transform:translateY(0);
	pointer-events:auto;
}

.modal-overlay{
	position:fixed;
	inset:0;
	background:rgba(2,6,23,.55);
	display:none;
	align-items:center;
	justify-content:center;
	z-index:1200;
	padding:16px;
	overflow:visible;
}

.modal-overlay.is-open{
	display:flex;
}

.modal-card{
	width:min(680px,100%);
	background:var(--card);
	border:1px solid #000;
	border-radius:10px;
	padding:20px 18px;
	box-shadow:0 10px 30px rgba(0,0,0,.35);
	text-align:center;
	overflow:visible;
}

.required-items-page .modal-card,
.inventory-quick-view-page .modal-card,
.add-to-inventory-preview-page .modal-card{
	width:min(900px,calc(100vw - 40px));
}

.modal-card h3{margin:0 0 10px}
.modal-field{display:flex;flex-direction:column;gap:10px;margin-top:14px;position:relative;text-align:center;width:100%;align-items:stretch;padding:0 28px 8px}
.modal-overlay.inventory-location-locked .inventory-location-card{display:none !important}
.modal-input-wrap{position:relative;display:block;align-self:stretch;width:100%;max-width:100%}
.modal-input-wrap input{width:100%;padding-right:34px;min-height:46px;padding-top:10px;padding-bottom:10px}
.modal-field > input[type="text"]{width:100%;max-width:100%;min-height:46px;padding-top:10px;padding-bottom:10px}
.input-clear-btn{
	position:absolute;
	top:50%;
	right:8px;
	transform:translateY(-50%);
	width:20px;
	height:20px;
	min-width:20px;
	min-height:20px;
	padding:0;
	display:none;
	align-items:center;
	justify-content:center;
	border:1px solid #000;
	border-radius:999px;
	background:var(--card-dark);
	color:#000;
	line-height:1;
	font-size:14px;
	cursor:pointer;
	z-index:2;
}
.input-clear-btn.is-visible{display:inline-flex}
.modal-actions{display:flex;justify-content:center;gap:10px;margin-top:18px}
.modal-actions a.btn-secondary{display:inline-flex;align-items:center;justify-content:center;text-decoration:none}
#contactCreatorDmLink{
	gap:8px;
	white-space:nowrap;
	padding-inline:12px;
	max-width:100%;
}
#contactCreatorDmLink .contact-creator-discord-icon{
	display:inline-flex;
	align-items:center;
	justify-content:center;
	flex:0 0 auto;
	line-height:1;
}
#contactCreatorDmLink .contact-creator-discord-icon svg{
	width:1em;
	height:1em;
	display:block;
}
.account-modal-status{
	display:none;
	margin:8px auto 4px;
	padding:8px 10px;
	border:1px solid transparent;
	border-radius:8px;
	font-size:.92rem;
	line-height:1.3;
	max-width:92%;
}
.account-modal-status.is-visible{display:block}
.account-modal-status.is-info{
	border-color:rgba(56,189,248,.5);
	background:rgba(14,116,144,.14);
	color:#bae6fd;
}
.account-modal-status.is-success{
	border-color:rgba(74,222,128,.6);
	background:rgba(22,163,74,.14);
	color:#dcfce7;
}
.account-modal-status.is-error{
	border-color:rgba(245,158,11,.7);
	background:rgba(245,158,11,.14);
	color:#fde68a;
}
.account-modal-cloud-state{
	margin:4px auto 0;
	font-size:.86rem;
	line-height:1.25;
	opacity:.95;
}
.account-modal-cloud-state.is-checking{color:#93c5fd}
.account-modal-cloud-state.is-ready{color:#86efac}
.account-modal-cloud-state.is-offline{color:#fbbf24}
.account-auth-shell{
	margin-top:6px;
}
.account-auth-provider-switcher{
	display:grid;
	grid-template-columns:repeat(3,minmax(0,1fr));
	gap:6px;
	margin:8px auto 6px;
	padding:0 16px;
}
.account-provider-btn{
	width:100%;
	min-width:0;
	display:inline-flex;
	align-items:center;
	justify-content:center;
	gap:8px;
}
.account-provider-icon{
	display:inline-flex;
	align-items:center;
	justify-content:center;
	width:16px;
	height:16px;
	line-height:0;
	background-repeat:no-repeat;
	background-size:16px 16px;
	background-position:center;
	font-size:11px;
	font-weight:700;
}
.account-provider-icon-google{
	background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23EA4335' d='M12 10.2v3.9h5.5c-.2 1.3-1.5 3.9-5.5 3.9-3.3 0-6-2.7-6-6s2.7-6 6-6c1.9 0 3.2.8 3.9 1.5l2.7-2.6C16.9 3.3 14.7 2.4 12 2.4 6.8 2.4 2.6 6.6 2.6 11.8S6.8 21.2 12 21.2c6.9 0 9.1-4.8 9.1-7.3 0-.5 0-.9-.1-1.3H12z'/%3E%3Cpath fill='%2334A853' d='M3.7 7.8l3.2 2.3C7.8 8.4 9.7 7 12 7c1.9 0 3.2.8 3.9 1.5l2.7-2.6C16.9 3.3 14.7 2.4 12 2.4c-3.6 0-6.8 2-8.3 5.4z'/%3E%3Cpath fill='%23FBBC05' d='M12 21.2c2.6 0 4.9-.9 6.5-2.5l-3-2.4c-.8.6-2 1.1-3.5 1.1-3.9 0-5.3-2.6-5.5-3.9l-3.2 2.5c1.5 3.4 4.7 5.2 8.7 5.2z'/%3E%3Cpath fill='%234285F4' d='M21.1 12.5c0-.7-.1-1.2-.2-1.7H12v3.9h5.1c-.2 1.1-.9 2-1.9 2.6l3 2.4c1.8-1.7 2.9-4.2 2.9-7.2z'/%3E%3C/svg%3E");
	color:#4285F4;
}
.account-provider-icon-google::before{content:'G'; opacity:0}
.account-provider-icon-discord{
	background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%235865F2' d='M20.3 4.4a16.3 16.3 0 0 0-4.1-1.3l-.2.4-.8 1.7a15.2 15.2 0 0 0-6.4 0L8 3.5l-.2-.4c-1.4.2-2.8.7-4.1 1.3C1.1 8.4.4 12.2.8 15.9c1.7 1.3 3.3 2 4.9 2.4l1.2-1.9c-.7-.2-1.4-.5-2-.9l.5-.4c3.8 1.8 7.9 1.8 11.6 0l.5.4c-.6.4-1.3.7-2 .9l1.2 1.9c1.6-.4 3.2-1.1 4.9-2.4.5-4.2-.8-8-3.3-11.5zM8.9 13.6c-1.1 0-2-1-2-2.3s.9-2.3 2-2.3c1.1 0 2 1 2 2.3s-.9 2.3-2 2.3zm6.2 0c-1.1 0-2-1-2-2.3s.9-2.3 2-2.3c1.1 0 2 1 2 2.3s-.9 2.3-2 2.3z'/%3E%3C/svg%3E");
	color:#5865F2;
}
.account-provider-icon-discord::before{content:'D'; opacity:0}
.account-provider-label{
	display:inline-block;
}
.account-provider-btn.is-active{
	border-color:#60a5fa !important;
	color:#60a5fa !important;
	background:rgba(37,99,235,.12) !important;
}
@media (max-width:640px){
	.account-auth-provider-switcher{
		grid-template-columns:1fr;
		gap:8px;
		padding:0 10px;
	}
}
.account-auth-mode-switcher{
	display:flex;
	gap:8px;
	justify-content:center;
	margin:8px auto 0;
	padding:0 22px;
}
.account-mode-btn{
	min-width:140px;
}
.account-mode-btn.is-active{
	border-color:#60a5fa !important;
	color:#60a5fa !important;
	background:rgba(37,99,235,.12) !important;
}
.account-auth-primary-actions{
	margin-top:14px;
}
.account-auth-primary-actions .btn-secondary{
	min-width:180px;
}
.account-auth-secondary-actions{
	margin-top:10px;
	gap:14px;
	flex-wrap:wrap;
}
.account-link-btn{
	border:none !important;
	background:transparent !important;
	color:#60a5fa !important;
	padding:4px 2px !important;
	min-height:unset !important;
	height:auto !important;
	text-decoration:underline;
}
.account-link-btn:hover,
.account-link-btn:focus-visible{
	color:#93c5fd !important;
	background:transparent !important;
}
.account-signed-in-panel{
	margin:8px auto 4px;
	padding:10px;
	border:1px solid rgba(148,163,184,.35);
	border-radius:10px;
	background:rgba(15,23,42,.22);
	max-width:94%;
}
.account-username-setup{
	margin:8px auto 4px;
	padding:10px;
	border:1px solid rgba(148,163,184,.35);
	border-radius:10px;
	background:rgba(15,23,42,.22);
	max-width:94%;
}
.account-username-setup .modal-field{
	margin-top:8px;
}
.account-username-setup .modal-actions{
	margin-top:10px;
}
.modal-inventory-tracker{text-align:center;margin:10px 0 4px}
.modal-qty-row{display:flex;align-items:center;justify-content:center;gap:12px}
.modal-qty-row button{min-width:44px;min-height:44px;padding:8px 12px;font-size:1.2rem;line-height:1;display:inline-flex;align-items:center;justify-content:center;color:inherit}
#commitQtyInput,
#moveInventoryQtyInput,
#removeInventoryQtyInput{width:180px;min-height:44px;padding:8px 10px;text-align:center;font-size:1.2rem;color:#000}
.modal-card .location-suggestion-header,
.modal-card .location-suggestion-option{text-align:center}

.location-suggestions{
	position:absolute;
	top:calc(100% + 4px);
	left:0;
	right:0;
	display:none;
	max-height:240px;
	overflow:auto;
	overflow-x:hidden;
	overscroll-behavior:contain;
	background:var(--card);
	border:1px solid #000;
	border-radius:8px;
	z-index:4000;
	padding:6px;
}

.location-suggestions.location-suggestions-portal{
	position:fixed !important;
	left:0;
	top:0;
	right:auto;
	transform:none !important;
	z-index:7000 !important;
	max-height:min(42vh,320px);
}

.modal-field > .location-suggestions{
	left:0;
	right:0;
	transform:none;
	width:auto;
}

.location-suggestions.is-open{display:block}

body.modal-open{overflow:hidden}

.location-suggestion-header{
	font-weight:700;
	font-size:24px;
	color:var(--muted);
	padding:6px 8px 4px;
}

.location-suggestion-option{
	display:block;
	width:100%;
	text-align:left;
	padding:7px 8px;
	background:transparent;
	border:1px solid transparent;
	border-radius:6px;
	cursor:pointer;
	color:inherit;
}

.location-suggestion-row{
	display:flex;
	align-items:center;
	gap:8px;
}

.location-suggestion-row .location-suggestion-option{
	flex:1 1 auto;
	min-width:0;
}

.location-quick-access-btn{
	margin-left:auto;
	white-space:nowrap;
	padding:6px 10px;
	min-height:32px;
	font-size:.86rem;
}

.location-suggestion-option:hover,
.location-suggestion-option.is-active,
.location-suggestion-option:focus-visible{
	background:var(--card-dark);
	border-color:#000;
	outline:none;
}

.required-items-page button[data-action="commit"][data-tooltip]:hover::after{
	content:attr(data-tooltip);
	position:absolute;
	left:50%;
	top:-34px;
	transform:translateX(-50%);
	background:#111;
	color:#fff !important;
	padding:4px 8px;
	border-radius:6px;
	font-size:12px;
	line-height:1.2;
	white-space:nowrap;
	z-index:12;
	pointer-events:none;
}

.required-items-page button[data-action="commit"]{position:relative}

@media (max-width: 640px){
	.site-header{font-size:52px}
	.scroll-top-btn{right:12px;bottom:12px}
}

@media (max-width: 1400px){
	.items-container,
	.group-items,
	.totals-grid,
	.completion-grid{grid-template-columns:repeat(3,minmax(240px,1fr))}
}

@media (max-width: 1024px){
	.items-container,
	.group-items,
	.totals-grid,
	.completion-grid{grid-template-columns:repeat(2,minmax(220px,1fr))}
}

@media (max-width: 700px){
	.items-container,
	.group-items,
	.totals-grid,
	.completion-grid{grid-template-columns:1fr}
}

.inventory-quick-view-page *{
	text-shadow:none !important;
}

.inventory-quick-view-page .container{
	max-width:1240px;
}

 .inventory-quick-view-page .site-header{
	font-size:68px;
	line-height:1.05;
	margin-bottom:10px;
}

.inventory-quick-view-page h1{
	font-size:2rem;
	margin-bottom:10px;
}

.inventory-quick-view-page .top-nav{
	display:flex;
	flex-wrap:wrap;
	gap:10px;
	margin-bottom:14px;
}

.inventory-quick-view-page .top-nav a,
.inventory-quick-view-page .top-nav .nav-entry-log-btn{
	border-radius:8px;
	padding:8px 12px;
	line-height:1.2;
	text-decoration:none;
}

.inventory-quick-view-page section{
	border-radius:var(--section-radius);
	padding:var(--section-padding);
}

.inventory-quick-view-page .summary-card{
	padding:var(--summary-padding);
}

.inventory-quick-view-page .summary-card p{
	font-size:1.08rem;
	line-height:1.45;
	max-width:980px;
	margin:0 auto;
}

.inventory-quick-view-page .listHeader{
	gap:12px;
	align-items:center;
	margin-bottom:8px;
	flex-wrap:wrap;
}

.inventory-quick-view-page .listHeader h2{
	font-size:1.35rem;
	line-height:1.2;
}

.inventory-quick-view-page .quickview-tools{
	display:flex;
	gap:8px;
	align-items:center;
	flex-wrap:nowrap;
}

.inventory-quick-view-page #uniqueItemTotals section h3,
.inventory-quick-view-page #stationInventoryRows section h3{
	font-size:1.2rem;
	line-height:1.2;
	margin-bottom:6px;
}

.inventory-quick-view-page #uniqueItemTotals .item,
.inventory-quick-view-page #stationInventoryRows .item{
	border-radius:var(--surface-radius);
	padding:10px 12px;
	gap:10px;
}

.inventory-quick-view-page #uniqueItemTotals .item .item-name,
.inventory-quick-view-page #stationInventoryRows .item .item-name{
	font-size:1.12rem;
	line-height:1.2;
}

.inventory-quick-view-page #uniqueItemTotals .item .location-label,
.inventory-quick-view-page #stationInventoryRows .item .location-label{
	margin-top:4px;
}

.inventory-quick-view-page #uniqueItemTotals .item .location-entry,
.inventory-quick-view-page #stationInventoryRows .item .location-entry{
	margin-top:0;
}

.inventory-quick-view-page #uniqueItemTotals .item.available-item,
.inventory-quick-view-page #stationInventoryRows .item.available-item{
	position:relative;
	min-height:0;
	padding:10px 12px;
	gap:10px;
	align-items:start;
	display:grid;
	grid-template-columns:minmax(0,1fr) auto;
	grid-template-areas:"meta controls";
}

.inventory-quick-view-page #uniqueItemTotals .item.available-item .meta,
.inventory-quick-view-page #stationInventoryRows .item.available-item .meta{
	grid-area:meta;
	padding-right:0;
	align-items:flex-start;
	text-align:left;
	min-width:0;
}

.inventory-quick-view-page #uniqueItemTotals .item.available-item .item-name,
.inventory-quick-view-page #stationInventoryRows .item.available-item .item-name{
	padding-right:0;
	line-height:1.2;
	overflow-wrap:anywhere;
}

.inventory-quick-view-page #uniqueItemTotals .item.available-item .controls,
.inventory-quick-view-page #stationInventoryRows .item.available-item .controls{
	grid-area:controls;
	position:static;
	width:auto;
	display:flex;
	flex-direction:column;
	gap:4px;
	justify-content:flex-start;
	align-items:flex-end;
	text-align:right;
}

.inventory-quick-view-page #uniqueItemTotals .item.available-item .controls .count,
.inventory-quick-view-page #stationInventoryRows .item.available-item .controls .count{
	order:2;
}

.inventory-quick-view-page #uniqueItemTotals .item.available-item .controls .inventory-move-btn,
.inventory-quick-view-page #stationInventoryRows .item.available-item .controls .inventory-move-btn{order:3}

.inventory-quick-view-page #uniqueItemTotals .item.available-item .controls .inventory-remove-btn,
.inventory-quick-view-page #stationInventoryRows .item.available-item .controls .inventory-remove-btn{order:4}

.inventory-quick-view-page #uniqueItemTotals .item.available-item .controls button,
.inventory-quick-view-page #stationInventoryRows .item.available-item .controls button{
	min-width:86px;
	min-height:30px;
	padding:4px 8px;
	line-height:1;
	white-space:nowrap;
}

@media (max-width: 760px){
	.inventory-quick-view-page #uniqueItemTotals .item.available-item,
	.inventory-quick-view-page #stationInventoryRows .item.available-item{
		grid-template-columns:1fr;
		grid-template-areas:
			"meta"
			"controls";
	}

	.inventory-quick-view-page #uniqueItemTotals .item.available-item .controls,
	.inventory-quick-view-page #stationInventoryRows .item.available-item .controls{
		align-items:flex-start;
		text-align:left;
	}
}

.inventory-quick-view-page .muted{
	font-weight:600 !important;
}

.inventory-quick-view-page p,
.inventory-quick-view-page input,
.inventory-quick-view-page button,
.inventory-quick-view-page .top-nav a{
	font-weight:600 !important;
}

.inventory-quick-view-page #uniqueItemTotals .item .item-name,
.inventory-quick-view-page #uniqueItemTotals .item .count,
.inventory-quick-view-page #stationInventoryRows .item .item-name,
.inventory-quick-view-page #stationInventoryRows .item .count,
.inventory-quick-view-page #uniqueItemTotals section h3,
.inventory-quick-view-page #stationInventoryRows section h3,
.inventory-quick-view-page .listHeader h2,
.inventory-quick-view-page h1{
	font-weight:700 !important;
}

.app-polished *{
	text-shadow:none !important;
}

.app-polished p,
.app-polished input,
.app-polished button,
.app-polished .top-nav a,
.app-polished .muted{
	font-weight:600 !important;
}

.app-polished h1,
.app-polished h2,
.app-polished h3,
.app-polished .site-header,
.app-polished .item-name,
.app-polished .count{
	font-weight:700 !important;
}

.app-polished .container{
	max-width:1240px;
	position:relative;
	z-index:2;
}

 .app-polished .site-header{
	font-size:68px;
	line-height:1.05;
	margin-bottom:10px;
}

.app-polished h1{
	font-size:2rem;
	margin-bottom:10px;
}

.app-polished .top-nav{
	display:flex;
	flex-wrap:wrap;
	gap:10px;
	margin-bottom:14px;
	justify-content:center;
	position:relative;
}

.app-polished .top-nav a,
.app-polished .top-nav .nav-link,
.app-polished .top-nav .nav-entry-log-btn,
.app-polished .top-nav .nav-reset-options-btn{
	display:inline-flex;
	align-items:center;
	justify-content:center;
	width:var(--nav-button-width);
	white-space:nowrap;
	border-radius:var(--nav-pill-radius);
	padding:var(--nav-pill-padding);
	line-height:1.2;
	text-decoration:none;
}

.app-polished .top-nav .nav-entry-log-btn{
	position:absolute;
	left:0;
	top:50%;
	transform:translateY(-50%);
	margin-right:0;
}

.app-polished .top-nav .nav-reset-options-btn{
	position:absolute;
	right:0;
	top:50%;
	transform:translateY(-50%);
	margin-left:0;
}

@media (max-width: 980px){
	.app-polished .top-nav .nav-entry-log-btn,
	.app-polished .top-nav .nav-reset-options-btn,
	.app-polished .top-nav .nav-entry-log-btn{
		position:static;
		transform:none;
		flex-basis:100%;
		width:max-content;
		margin:0 auto;
	}
}

.app-polished section{
	border-radius:var(--section-radius);
	padding:var(--section-padding);
}

.app-polished .summary-card{
	padding:var(--summary-padding);
}

.app-polished .summary-card p{
	font-size:1.08rem;
	line-height:1.45;
	max-width:980px;
	margin:0 auto;
}

.app-polished .listHeader{
	gap:var(--listheader-gap);
	align-items:center;
	margin-bottom:8px;
	flex-wrap:wrap;
}

.app-polished .listHeader h2{
	font-size:1.35rem;
	line-height:1.2;
}

.page-tools-row{
	display:flex;
	gap:var(--toolbar-gap);
	align-items:center;
	flex-wrap:nowrap;
	justify-content:flex-start;
	min-width:0;
	max-width:100%;
}

.listHeader .page-tools-row,
.listHeader .quickview-tools{
	margin-left:auto;
	min-width:0;
	max-width:100%;
}

.listHeader .page-tools-row input[type="text"][list],
.listHeader .quickview-tools input[type="text"][list]{
	order:2;
}

.listHeader .page-tools-row #toggleAllSections,
.listHeader .page-tools-row #refreshOnPerson,
.listHeader .quickview-tools #refreshTotals,
.listHeader .quickview-tools #refreshStationInventory{
	order:1;
}

@media (max-width: 980px){
	.page-tools-row,
	.inventory-quick-view-page .quickview-tools{
		flex-wrap:wrap;
	}
}

.reward-page-links{
	display:flex;
	gap:var(--toolbar-gap);
	align-items:center;
	justify-content:center;
	flex-wrap:wrap;
	margin:0 0 12px;
}

.reward-page-link{
	display:inline-flex;
	align-items:center;
	justify-content:center;
	width:var(--nav-button-width);
	white-space:nowrap;
	text-decoration:none;
	background:#f3f4f6;
	color:#111;
	border:1px solid #e5e7eb;
	padding:var(--nav-pill-padding);
	border-radius:var(--nav-pill-radius);
	min-height:var(--header-nav-height);
	height:var(--header-nav-height);
	line-height:1.25;
}

.top-nav a,
.top-nav .nav-link,
.top-nav .nav-entry-log-btn,
.top-nav .nav-reset-options-btn,
.reward-page-link{
	display:inline-flex;
	align-items:center;
	justify-content:center;
	min-height:var(--header-nav-height);
	height:var(--header-nav-height);
	font-size:max(.85rem, calc(var(--nav-fit-font-size, 1rem) * 1.3));
}

.reward-page-link.active{
	background:var(--accent);
	border-color:var(--accent);
	color:#fff;
}

.home-summary-grid{
	display:grid;
	grid-template-columns:repeat(3,minmax(0,1fr));
	gap:12px;
	margin:0;
}

.account-profile-grid{
	display:grid;
	grid-template-columns:repeat(2,minmax(0,1fr));
	gap:12px;
	margin:14px 0 0;
}

.account-profile-card{
	margin:0;
	padding:14px 16px;
	border-radius:10px;
	border:1px solid #000;
	background:var(--card);
	box-shadow:0 1px 2px rgba(16,24,40,.05);
}

.account-profile-card h2{
	margin:0 0 10px;
	font-size:1.3rem;
	text-align:center;
}

.account-profile-card p{
	margin:0 0 8px;
	line-height:1.4;
	text-align:left;
}

.account-profile-card p:last-child{
	margin-bottom:0;
}

.account-page .profile-page{
	width:100%;
	padding:40px 0;
	backdrop-filter:blur(10px);
	color:#fff !important;
	font-family:'Inter',sans-serif;
}

.account-page .module{
	width:100%;
	padding:32px 48px;
	margin:32px 0;
	background:rgba(10,25,40,.55);
	border:1px solid rgba(255,255,255,.08);
	backdrop-filter:blur(20px);
	box-shadow:0 0 40px rgba(0,0,0,.35);
	border-radius:0;
}

.account-page .module-title{
	font-size:20px;
	font-weight:600;
	color:#ffb85c !important;
	margin:0 0 12px 0;
	padding-bottom:6px;
	border-bottom:1px solid rgba(255,184,92,.45);
	text-align:left;
	display:flex;
	align-items:center;
	gap:10px;
}

.account-page .module-title-toggle{
	appearance:none;
	border:1px solid rgba(154,238,255,.5);
	background:rgba(7,20,40,.7);
	color:#dff9ff !important;
	width:30px;
	height:30px;
	min-width:30px;
	display:inline-flex;
	align-items:center;
	justify-content:center;
	border-radius:8px;
	cursor:pointer;
	box-shadow:inset 0 0 0 1px rgba(214,251,255,.1), 0 0 10px rgba(118,231,255,.16);
	transition:background .16s ease, border-color .16s ease, transform .16s ease;
}

.account-page .module-title-toggle:hover,
.account-page .module-title-toggle:focus-visible{
	border-color:rgba(194,250,255,.75);
	background:rgba(11,30,58,.82);
	outline:none;
}

.account-page .module-title-toggle-glyph{
	display:inline-block;
	line-height:1;
	font-size:14px;
	transform:translateY(-1px);
}

.account-page .module.is-collapsed .module-title-toggle-glyph{
	transform:rotate(-90deg) translateX(1px);
}

.account-page .module-title-text{
	display:inline-block;
}

.account-page .module.is-collapsed > :not(.module-title){
	display:none !important;
}

.account-page .module-content{
	margin-top:12px;
	display:block;
}

.account-page .pilot-name{
	font-size:28px;
	font-weight:700;
	margin-bottom:6px;
	color:#fff !important;
	text-align:left;
}

.account-page .pilot-meta{
	font-size:14px;
	opacity:.8;
	color:#fff !important;
	text-align:left;
	line-height:1.35;
	margin-bottom:4px;
}

.account-page .fleet-grid{
	display:grid;
	grid-template-columns:repeat(auto-fill,minmax(220px,1fr));
	gap:16px;
	margin-top:16px;
}

.account-page .earned-rewards-grid{
	display:grid;
	grid-template-columns:repeat(4,minmax(0,1fr));
	gap:16px;
	margin-top:16px;
}

.account-page .earned-reward-card{
	padding:0;
	background:rgba(20,40,60,.55);
	border-radius:8px;
	border:1px solid rgba(255,255,255,.05);
	transition:.2s;
	color:#fff !important;
	display:block;
	aspect-ratio:2 / 3;
	min-height:0;
}

.account-page .earned-reward-card:hover{
	background:rgba(30,60,90,.65);
	box-shadow:0 0 12px rgba(0,255,255,.25);
}

.account-page .earned-reward-card[data-complete-id]{
	cursor:pointer;
}

.account-page .earned-reward-card[data-complete-id]:focus-visible{
	outline:2px solid rgba(154,238,255,.95);
	outline-offset:2px;
}

.account-page .earned-reward-image-wrap{
	position:relative;
	width:100%;
	height:100%;
	border-radius:8px;
	overflow:hidden;
	border:none;
	background:rgba(9,19,31,.65);
	display:flex;
	align-items:center;
	justify-content:center;
}

.account-page .earned-reward-image{
	width:100%;
	height:100%;
	object-fit:cover;
	display:block;
	opacity:0;
	transition:opacity .2s ease;
}

.account-page .earned-reward-image.is-loaded{
	opacity:1;
}

.account-page .earned-reward-image-placeholder{
	position:absolute;
	inset:0;
	display:flex;
	align-items:center;
	justify-content:center;
	font-size:13px;
	letter-spacing:.04em;
	text-transform:uppercase;
	opacity:.72;
	color:#cdefff !important;
	z-index:1;
}

.account-page .earned-reward-overlay{
	position:absolute;
	left:0;
	right:0;
	padding:8px 10px;
	font-size:13px;
	line-height:1.25;
	text-align:center;
	color:#ffffff !important;
	z-index:2;
	pointer-events:none;
	text-shadow:0 1px 2px rgba(0,0,0,.7);
}

.account-page .earned-reward-overlay-top{
	top:0;
	font-weight:700;
	background:linear-gradient(180deg, rgba(3,11,19,.75) 0%, rgba(3,11,19,.15) 100%);
	overflow-wrap:anywhere;
	text-align:center;
}

.account-page .earned-reward-overlay-bottom{
	bottom:0;
	font-weight:600;
	background:linear-gradient(0deg, rgba(3,11,19,.78) 0%, rgba(3,11,19,.16) 100%);
	text-align:center;
}

.account-page .earned-reward-empty{
	aspect-ratio:auto;
	min-height:0;
	display:flex;
	align-items:center;
	justify-content:center;
	text-align:center;
	padding:12px;
}

.account-page .earned-reward-empty-message{
	font-size:1rem;
	font-weight:700;
	line-height:1.3;
	color:var(--space-card-muted, #95b6d4) !important;
}

.account-page .ship-card{
	background:rgba(20,40,60,.55);
	padding:20px;
	border-radius:8px;
	border:1px solid rgba(255,255,255,.05);
	transition:.2s;
	color:#fff !important;
	text-align:left;
}

.account-page .ship-card:hover{
	background:rgba(30,60,90,.65);
	box-shadow:0 0 12px rgba(0,255,255,.25);
}

.account-page .inventory-stats{
	display:flex;
	gap:24px;
	margin-bottom:16px;
}

.account-page .stat{
	font-size:14px;
	opacity:.85;
	color:#fff !important;
	padding:0;
	border:none;
	background:transparent;
	text-align:left;
}

.account-page .storage-bar{
	width:100%;
	height:10px;
	background:rgba(255,255,255,.1);
	border-radius:4px;
	overflow:hidden;
	margin-bottom:16px;
	border:none;
}

.account-page .storage-fill{
	height:100%;
	background:#00e0ff;
}

.account-page .location-percent-list{
	display:flex;
	flex-direction:column;
	gap:10px;
	margin-bottom:6px;
}

.account-page .location-percent-row{
	display:flex;
	flex-direction:column;
	gap:6px;
}

.account-page .location-percent-header{
	display:flex;
	align-items:center;
	justify-content:space-between;
	gap:10px;
	font-size:13px;
	color:#fff !important;
	opacity:.9;
}

.account-page .location-percent-name{
	min-width:0;
	overflow-wrap:anywhere;
}

.account-page .location-percent-value{
	white-space:nowrap;
	font-weight:700;
}

.account-page .reward{
	margin-bottom:16px;
	display:block;
}

.account-page .reward-name{
	font-size:14px;
	margin-bottom:6px;
	color:#fff !important;
	font-weight:400;
	text-align:left;
}

.account-page .reward-progress{
	width:100%;
	height:8px;
	background:rgba(255,255,255,.1);
	border-radius:4px;
	overflow:hidden;
	border:none;
}

.account-page .reward-fill{
	height:100%;
	background:#00e0ff;
}

.account-page .activity-log{
	margin-top:16px;
	display:block;
}

.account-page .activity-log .hangar-entry-log-list-wrap{
	margin-top:8px;
	margin-bottom:10px;
}

.account-page .account-hangar-log-table-wrap{
	width:100%;
	overflow:auto;
	border:1px solid rgba(154,238,255,.32);
	border-radius:10px;
	background:rgba(7,20,40,.5);
}

.account-page .account-hangar-log-table{
	width:100%;
	border-collapse:collapse;
	min-width:760px;
}

.account-page .account-hangar-log-table th,
.account-page .account-hangar-log-table td{
	padding:8px 10px;
	text-align:left;
	border-bottom:1px solid rgba(154,238,255,.18);
	font-size:.82rem;
	line-height:1.2;
	vertical-align:top;
}

.account-page .account-hangar-log-table th{
	position:sticky;
	top:0;
	background:rgba(10,27,54,.88);
	color:var(--space-header-ink) !important;
	font-weight:800;
	z-index:1;
}

.account-page .account-hangar-log-table tbody tr:nth-child(odd){
	background:rgba(12,31,58,.36);
}

.account-page .account-hangar-archive-panel{
	margin-top:10px;
	padding-top:8px;
	border-top:1px solid rgba(154,238,255,.28);
}

.account-page .account-reset-location-field{
	margin-top:8px;
	margin-bottom:12px;
}

.account-page #accountPatchResetLocationField[hidden]{
	display:none !important;
}

.account-page .account-reset-actions-grid{
	display:grid;
	grid-template-columns:repeat(2, minmax(0, 1fr));
	gap:10px;
	width:100%;
}

.account-page .account-reset-actions-grid .btn-secondary{
	width:100%;
	min-height:46px;
	justify-content:center;
}

.account-page .account-reset-status{
	margin:10px 0 0;
	min-height:1.2em;
	font-size:.9rem;
	color:var(--space-header-ink) !important;
}

@media (max-width: 760px){
	.account-page .account-reset-actions-grid{
		grid-template-columns:1fr;
	}
}

.account-page .log-entry{
	font-size:14px;
	opacity:.85;
	margin-bottom:8px;
	color:#fff !important;
	padding:0;
	border:none;
	background:transparent;
}

.account-page .action-btn{
	margin-top:12px;
	padding:10px 18px;
	background:rgba(0,200,255,.15);
	border:1px solid rgba(0,200,255,.4);
	color:#00eaff !important;
	border-radius:6px;
	cursor:pointer;
	transition:.2s;
	text-decoration:none;
	display:inline-flex;
	align-items:center;
	justify-content:center;
}

.account-page .action-btn:hover{
	background:rgba(0,200,255,.25);
	box-shadow:0 0 12px rgba(0,200,255,.3);
}

.home-summary-link{
	display:block;
	text-decoration:none;
	color:inherit;
}

.home-summary-link .summary-card{
	height:100%;
	margin:0;
}

.home-how-it-works-wrap{
	display:flex;
	justify-content:center;
	align-items:center;
	margin:0 0 16px;
}

.home-how-it-works-btn{
	min-width:min(560px,92vw);
	max-width:100%;
	min-height:64px;
	padding:14px 34px;
	font-size:1.34rem;
	font-weight:700;
	letter-spacing:.02em;
	border-radius:14px;
	border:1px solid rgba(255,132,43,.55);
	background:linear-gradient(180deg, rgba(255,255,255,.17) 0%, rgba(255,255,255,.1) 100%);
	color:#fff4df;
	backdrop-filter:blur(10px) saturate(120%);
	-webkit-backdrop-filter:blur(10px) saturate(120%);
	box-shadow:
		0 0 0 1px rgba(255,176,99,.24) inset,
		0 0 14px rgba(249,115,22,.28),
		0 10px 26px rgba(0,0,0,.34);
	transition:transform .16s ease, box-shadow .16s ease, border-color .16s ease;
}

.home-how-it-works-btn:hover,
.home-how-it-works-btn:focus-visible{
	border-color:rgba(255,132,43,.72);
	box-shadow:
		0 0 0 1px rgba(255,176,99,.34) inset,
		0 0 18px rgba(249,115,22,.34),
		0 12px 28px rgba(0,0,0,.38);
	transform:translateY(-1px);
	outline:none;
}

.app-polished .home-how-it-works-btn,
.app-polished button.home-how-it-works-btn{
	border-color:rgba(255,166,84,.88) !important;
	background:
		radial-gradient(130% 120% at 100% 0%, rgba(255,166,84,.24), rgba(255,166,84,0) 52%),
		linear-gradient(155deg, rgba(50,30,12,.82), rgba(38,23,10,.8)) !important;
	color:#fff1e2 !important;
	box-shadow:
		inset 0 0 0 1px rgba(255,236,215,.16),
		0 8px 20px rgba(22,12,3,.36),
		0 0 16px rgba(255,145,55,.44) !important;
	backdrop-filter:blur(10px) saturate(120%) !important;
	-webkit-backdrop-filter:blur(10px) saturate(120%) !important;
}

.app-polished .home-how-it-works-btn:hover,
.app-polished .home-how-it-works-btn:focus-visible,
.app-polished button.home-how-it-works-btn:hover,
.app-polished button.home-how-it-works-btn:focus-visible{
	border-color:rgba(255,198,140,.98) !important;
	box-shadow:
		inset 0 0 0 1px rgba(255,244,230,.2),
		0 10px 24px rgba(24,13,3,.44),
		0 0 20px rgba(255,145,55,.58) !important;
}

@media (max-width: 760px){
	.home-how-it-works-wrap{
		margin:0 0 14px;
	}

	.home-how-it-works-btn{
		width:100%;
		min-width:0;
		font-size:1.12rem;
		min-height:56px;
		padding:12px 18px;
	}
}

@media (max-width: 1100px){
	.home-summary-grid{
		grid-template-columns:repeat(2,minmax(0,1fr));
	}
}

@media (max-width: 760px){
	.home-summary-grid{
		grid-template-columns:1fr;
	}

	.account-profile-grid{
		grid-template-columns:1fr;
	}

	.account-page .module{
		padding:22px 16px;
		margin:16px 0;
	}

	.account-page .inventory-stats{
		flex-direction:column;
		gap:8px;
	}

	.account-page .earned-rewards-grid{
		grid-template-columns:repeat(2,minmax(0,1fr));
	}
}

@media (max-width: 560px){
	.account-page .earned-rewards-grid{
		grid-template-columns:1fr;
	}
}

.empty-state-message{
	font-size:1.35rem;
	line-height:1.2;
}

.site-legal-footer{
	margin:22px 0 0;
	text-align:center;
}

.site-legal-footer a{
	display:inline-flex;
	align-items:center;
	justify-content:center;
	text-decoration:none;
	background:#f3f4f6;
	color:#111;
	border:1px solid #e5e7eb;
	padding:9px 14px;
	border-radius:var(--nav-pill-radius);
	min-height:var(--header-nav-height);
	height:var(--header-nav-height);
	font-size:max(.85rem, calc(var(--nav-fit-font-size, 1rem) * 1.3));
}

.site-legal-footer a + a{
	margin-left:10px;
}

.site-legal-note{
	margin:8px auto 0;
	max-width:980px;
	font-size:.9rem;
	line-height:1.4;
	color:var(--space-header-ink, #ffd5a1);
	text-shadow:0 1px 2px rgba(0,0,0,.6);
}

.empty-state-card{
	align-items:center !important;
	justify-content:center !important;
	text-align:center;
	min-height:110px;
	padding:16px;
	gap:0;
}

.community-feedback-list{
	display:flex;
	flex-direction:column;
	gap:10px;
}

.community-feedback-item{
	padding:12px;
	border:1px solid #000;
	border-radius:10px;
	background:rgba(255,255,255,.05);
	text-align:left;
}

.community-feedback-actions{
	display:flex;
	align-items:center;
	justify-content:space-between;
	gap:10px;
	margin-top:10px;
}

.community-feedback-actions .community-feedback-votes{
	margin-top:0;
}

.community-delete-btn{
	border-color:rgba(239,68,68,.7);
	color:#fecaca;
	background:rgba(127,29,29,.2);
}

.community-delete-btn:hover{
	border-color:rgba(248,113,113,.9);
	background:rgba(127,29,29,.32);
}

.community-feedback-item h3{
	margin:0 0 6px;
	font-size:1.12rem;
}

.community-feedback-meta{
	margin:0 0 8px;
	font-size:.86rem;
	opacity:.9;
}

.community-feedback-item p{
	margin:0;
	white-space:pre-wrap;
	word-break:break-word;
}

.community-feedback-votes{
	display:flex;
	gap:8px;
	margin-top:10px;
}

.community-vote-btn{
	display:inline-flex;
	align-items:center;
	gap:6px;
	padding:7px 10px;
	border:1px solid #e5e7eb;
	border-radius:8px;
	background:#f3f4f6;
	color:#111;
	cursor:pointer;
}

.community-vote-btn.is-disabled,
.community-vote-btn:disabled{
	opacity:.6;
	cursor:not-allowed;
	filter:saturate(.7);
}

.community-vote-count{
	font-weight:700;
}

.community-vote-up.is-active{
	border-color:#16a34a;
	color:#16a34a;
	background:rgba(22,163,74,.12);
}

.community-vote-down.is-active{
	border-color:#dc2626;
	color:#dc2626;
	background:rgba(220,38,38,.12);
}

.community-feedback-form{
	display:flex;
	flex-direction:column;
	gap:10px;
}

.community-feedback-form textarea{
	min-height:120px;
	resize:vertical;
}

.community-composer-identity{
	margin:8px 2px 0;
	display:none;
	font-size:.9rem;
	line-height:1.25;
	color:#cbd5e1;
}

.community-composer-identity.is-visible{
	display:block;
}

.community-composer-identity.is-warning{
	color:#fbbf24;
}

.community-feedback-helper-wrap{
	margin:8px 2px 0;
	display:none;
	align-items:center;
	justify-content:space-between;
	gap:10px;
}

.community-feedback-helper-wrap.is-visible{
	display:flex;
}

.community-feedback-helper{
	margin:0;
	font-size:.9rem;
	line-height:1.25;
	color:#fbbf24;
}

.community-open-account-btn{
	white-space:nowrap;
	padding:6px 10px;
}

.community-feedback-notice{
	margin:10px 2px 0;
	padding:8px 10px;
	border:1px solid transparent;
	border-radius:8px;
	font-size:.92rem;
	line-height:1.3;
	min-height:38px;
	display:none;
}

.community-feedback-notice.is-visible{
	display:block;
}

.community-feedback-notice.is-success{
	border-color:rgba(74,222,128,.6);
	color:#dcfce7;
	background:rgba(22,163,74,.14);
}

.community-feedback-notice.is-error{
	border-color:rgba(245,158,11,.7);
	color:#fde68a;
	background:rgba(245,158,11,.14);
}

.community-cloud-status{
	display:inline-flex;
	align-items:center;
	justify-content:center;
	padding:4px 8px;
	border-radius:999px;
	font-size:.78rem;
	line-height:1;
	border:1px solid rgba(74,222,128,.7);
	color:#fff;
	background:rgba(22,163,74,.14);
	white-space:nowrap;
	margin-left:auto;
}

.community-cloud-status.is-local{
	border-color:rgba(245,158,11,.65);
	color:#f59e0b;
	background:rgba(245,158,11,.14);
}

@media (max-width: 760px){
	.community-cloud-status{
		margin:6px auto 0;
	}
}

.app-polished :is(.listHeader,.page-tools-row,.quickview-tools) :is(input[type="text"],button,select){
	min-height:var(--control-height);
	border-radius:var(--control-radius);
}

.app-polished .item .controls button{
	min-height:var(--control-height-compact);
	border-radius:var(--control-radius);
}

.app-polished .listHeader input[type="text"][list]{
	width:clamp(160px,28vw,var(--header-search-width));
	min-width:0;
	max-width:100%;
}

.app-polished .scroll-top-btn{
	border-radius:999px;
	padding:var(--scroll-pill-padding);
}

.app-polished .location-suggestions{
	border-radius:var(--suggestions-radius);
}

.app-polished .modal-card{
	border-radius:var(--modal-radius);
	overflow:visible;
}

.app-polished .modal-card h3,
.app-polished .modal-card p,
.app-polished .modal-card label,
.app-polished .modal-card .muted,
.app-polished .modal-card .location-suggestion-header,
.app-polished .modal-card .location-suggestion-option{
	color:var(--space-card-ink) !important;
	text-shadow:0 0 10px rgba(131,223,255,.2);
}

.app-polished .modal-card .muted{
	color:var(--space-card-muted) !important;
}

.app-polished .modal-card input,
.app-polished .modal-card textarea,
.app-polished .modal-card select{
	color:#000 !important;
	text-shadow:none !important;
}

.app-polished .modal-card .modal-qty-row button{
	color:var(--space-card-ink) !important;
}

.app-polished .modal-field,
.app-polished .modal-input-wrap{
	overflow:visible;
}

.app-polished .modal-card .location-suggestions{
	z-index:50;
}

.app-polished .modal-card > .modal-field{
	z-index:1;
}

.app-polished .modal-card > .modal-field:focus-within{
	z-index:40;
}

.app-polished .modal-card > .modal-field:has(.location-suggestions.is-open){
	z-index:60;
}

.app-polished{
	--space-card-ink:#d7ecff;
	--space-card-muted:#95b6d4;
	--space-header-ink:#d8fbff;
	--space-header-muted:#8dc7dc;
	--scan-primary:91,243,255;
	--scan-secondary:127,155,255;
	--scan-rings:159,244,255;
	--scan-border:123,244,255;
	--scan-glow:74,217,255;
}

.app-polished .container > section,
.app-polished #uniqueItemTotals section,
.app-polished #stationInventoryRows section{
	position:relative;
	overflow:hidden;
	isolation:isolate;
	border-radius:var(--panel-shell-radius);
	clip-path:inset(0 round var(--panel-shell-radius));
	border:1px solid rgba(var(--scan-border),.42);
	background:
		radial-gradient(170% 120% at 100% 0%, rgba(var(--scan-primary),.5), rgba(var(--scan-primary),0) 54%),
		radial-gradient(170% 150% at 0% 100%, rgba(var(--scan-secondary),.5), rgba(var(--scan-secondary),0) 58%),
		linear-gradient(165deg, rgba(3,11,31,.5) 0%, rgba(5,16,36,.5) 55%, rgba(2,9,24,.5) 100%);
	background-clip:padding-box;
	box-shadow:
		inset 0 0 0 1px rgba(208,246,255,.1),
		inset 0 14px 30px rgba(var(--scan-primary),.12),
		0 14px 36px rgba(1,8,23,.62);
	backdrop-filter:blur(8px) saturate(130%);
	-webkit-backdrop-filter:blur(8px) saturate(130%);
}

.app-polished .container > section::before,
.app-polished #uniqueItemTotals section::before,
.app-polished #stationInventoryRows section::before{
	content:"";
	position:absolute;
	inset:0;
	border-radius:inherit;
	pointer-events:none;
	z-index:0;
	background:
		repeating-linear-gradient(90deg, rgba(var(--scan-rings),.07) 0 1px, rgba(var(--scan-rings),0) 1px 36px),
		repeating-linear-gradient(0deg, rgba(var(--scan-rings),.05) 0 1px, rgba(var(--scan-rings),0) 1px 36px),
		conic-gradient(from 210deg at 50% 50%, rgba(var(--scan-primary),0) 0deg, rgba(var(--scan-primary),.2) 18deg, rgba(var(--scan-primary),0) 42deg, rgba(var(--scan-primary),0) 360deg);
	opacity:.35;
	animation:radarSweepSpin 24s linear infinite;
}

.app-polished .container > section.list::before{
	inset:-55%;
	border-radius:50%;
	opacity:.32;
}

.app-polished .container > section::after,
.app-polished #uniqueItemTotals section::after,
.app-polished #stationInventoryRows section::after{
	content:"";
	position:absolute;
	inset:0;
	border-radius:inherit;
	pointer-events:none;
	z-index:0;
	box-shadow:inset 0 0 0 1px rgba(195,245,255,.08);
}

.app-polished .container > section > *,
.app-polished #uniqueItemTotals section > *,
.app-polished #stationInventoryRows section > *{
	position:relative;
	z-index:1;
}

.app-polished .summary-card,
.app-polished .item,
.app-polished .req-card,
.app-polished .modal-card,
.app-polished .modal-field,
.app-polished .modal-input-wrap{
	position:relative;
	overflow:hidden;
	isolation:isolate;
	border-radius:var(--surface-radius);
	border:1px solid rgba(123,223,255,.42);
	background:
		radial-gradient(120% 120% at 92% -16%, rgba(94,255,240,.5), rgba(94,255,240,0) 48%),
		radial-gradient(140% 130% at -12% 118%, rgba(174,123,255,.5), rgba(174,123,255,0) 52%),
		linear-gradient(145deg, rgba(13,26,53,.5) 0%, rgba(17,31,63,.5) 46%, rgba(8,17,40,.5) 100%);
	box-shadow:
		inset 0 0 0 1px rgba(255,255,255,.09),
		inset 0 8px 22px rgba(92,173,255,.2),
		0 14px 30px rgba(1,8,25,.62),
		0 0 0 1px rgba(62,115,185,.22);
	backdrop-filter:blur(8px) saturate(130%);
	-webkit-backdrop-filter:blur(8px) saturate(130%);
	transition:transform .18s ease,box-shadow .22s ease,border-color .22s ease;
}

.app-polished .summary-card::before,
.app-polished .item::before,
.app-polished .req-card::before,
.app-polished .modal-card::before,
.app-polished .modal-field::before,
.app-polished .modal-input-wrap::before{
	content:"";
	position:absolute;
	inset:0;
	background:
		radial-gradient(140% 90% at 100% 0%, rgba(176,251,255,.2), rgba(176,251,255,0) 58%),
		linear-gradient(112deg, rgba(255,255,255,.15), rgba(255,255,255,0) 28%, rgba(255,255,255,.08) 52%, rgba(255,255,255,0) 75%);
	opacity:.82;
	pointer-events:none;
	z-index:0;
}

.app-polished .summary-card::after,
.app-polished .item::after,
.app-polished .req-card::after,
.app-polished .modal-card::after,
.app-polished .modal-field::after,
.app-polished .modal-input-wrap::after{
	content:"";
	position:absolute;
	inset:-130% -40%;
	background:
		linear-gradient(115deg, rgba(140,245,255,0) 35%, rgba(140,245,255,.16) 49%, rgba(208,164,255,.22) 52%, rgba(140,245,255,0) 66%),
		repeating-linear-gradient(0deg, rgba(173,232,255,.06) 0 1px, rgba(173,232,255,0) 1px 6px);
	mix-blend-mode:screen;
	opacity:.6;
	pointer-events:none;
	z-index:0;
	transform:translate3d(-22%, -8%, 0) rotate(2deg);
	animation:spaceCardSweep 14.8s linear infinite;
}

.app-polished .container > section.summary-card::before,
.app-polished .summary-card::after{
	animation:none;
}

.app-polished .summary-card::after{
	content:none;
	background:none;
}

.app-polished .container > section.summary-card::before{
	content:none;
	background:none;
}

.app-polished .container > section.summary-card::after{
	content:none;
	box-shadow:none;
}

.app-polished .summary-card > *,
.app-polished .item > *,
.app-polished .req-card > *,
.app-polished .modal-card > *,
.app-polished .modal-field > *,
.app-polished .modal-input-wrap > *{
	position:relative;
	z-index:1;
}

.app-polished .summary-card:hover,
.app-polished .item:hover{
	transform:translateY(-2px);
	border-color:rgba(132,239,255,.7);
	box-shadow:
		inset 0 0 0 1px rgba(255,255,255,.12),
		inset 0 10px 24px rgba(112,208,255,.25),
		0 18px 38px rgba(2,10,31,.74),
		0 0 16px rgba(68,214,255,.22);
}

.app-polished .summary-card,
.app-polished .summary-card p,
.app-polished .summary-card .summary-label,
.app-polished .summary-card .summary-bullets,
.app-polished .summary-card .summary-bullets li,
.app-polished .item,
.app-polished .modal-card h3{
	color:var(--space-card-ink) !important;
	text-shadow:0 0 10px rgba(131,223,255,.2);
}

.app-polished .item .item-name,
.app-polished .reward-entry-name,
.app-polished #rewardSections .item .meta strong,
.app-polished #activeRewards .item .meta strong,
.app-polished #uniqueItems .item .meta strong,
.app-polished #uniqueItemTotals .item .meta strong,
.app-polished #stationInventoryRows .item .meta strong{
	color:var(--space-header-ink) !important;
	text-shadow:0 0 12px rgba(95,232,255,.38);
}

.app-polished .item .muted,
.app-polished .modal-card .muted,
.app-polished .summary-card .muted{
	color:var(--space-card-muted) !important;
}

.app-polished #activeRewards .requirements .muted.small:not(.req-complete),
.app-polished #rewardSections .requirements .muted.small:not(.req-complete){
	color:var(--space-card-ink) !important;
	text-shadow:0 0 10px rgba(131,223,255,.2);
	background:rgba(6,20,44,.34);
	border:1px solid rgba(var(--scan-border),.5);
	box-shadow:
		inset 0 0 0 1px rgba(236,252,255,.16),
		inset 0 8px 16px rgba(var(--scan-primary),.08),
		0 8px 18px rgba(1,10,29,.45);
	border-radius:10px;
}

.app-polished #rewardRequirementsModal .requirements .muted.small:not(.req-complete){
	color:var(--space-card-ink) !important;
	text-shadow:0 0 10px rgba(131,223,255,.2);
	background:rgba(6,20,44,.34);
	border:1px solid rgba(var(--scan-border),.5);
	box-shadow:
		inset 0 0 0 1px rgba(236,252,255,.16),
		inset 0 8px 16px rgba(var(--scan-primary),.08),
		0 8px 18px rgba(1,10,29,.45);
	border-radius:10px;
}

.app-polished #activeRewards .requirements .muted.small > span:first-child,
.app-polished #rewardSections .requirements .muted.small > span:first-child{
	color:var(--space-header-ink) !important;
	text-shadow:0 0 12px rgba(95,232,255,.38);
	font-size:1.06rem;
	line-height:1.25;
}

.app-polished #rewardRequirementsModal .requirements .muted.small > span:first-child{
	color:var(--space-header-ink) !important;
	text-shadow:0 0 12px rgba(95,232,255,.38);
	font-size:1.06rem;
	line-height:1.25;
}

.app-polished #activeRewards .requirements .required-pill,
.app-polished #activeRewards .requirements .availability-pill,
.app-polished #rewardSections .requirements .required-pill,
.app-polished #rewardSections .requirements .availability-pill,
.app-polished #rewardRequirementsModal .requirements .required-pill,
.app-polished #rewardRequirementsModal .requirements .availability-pill{
	color:var(--space-card-ink) !important;
	text-shadow:0 0 10px rgba(131,223,255,.2);
	background:rgba(6,20,44,.34);
	border:1px solid rgba(var(--scan-border),.5);
	box-shadow:
		inset 0 0 0 1px rgba(236,252,255,.16),
		inset 0 8px 16px rgba(var(--scan-primary),.08),
		0 8px 18px rgba(1,10,29,.45);
	border-radius:10px;
}

.app-polished #activeRewards .requirements .required-pill .availability-label,
.app-polished #activeRewards .requirements .required-pill .availability-value,
.app-polished #activeRewards .requirements .availability-pill .availability-label,
.app-polished #activeRewards .requirements .availability-pill .availability-value,
.app-polished #rewardSections .requirements .required-pill .availability-label,
.app-polished #rewardSections .requirements .required-pill .availability-value,
.app-polished #rewardSections .requirements .availability-pill .availability-label,
.app-polished #rewardSections .requirements .availability-pill .availability-value,
.app-polished #rewardRequirementsModal .requirements .required-pill .availability-label,
.app-polished #rewardRequirementsModal .requirements .required-pill .availability-value,
.app-polished #rewardRequirementsModal .requirements .availability-pill .availability-label,
.app-polished #rewardRequirementsModal .requirements .availability-pill .availability-value{
	color:var(--space-card-ink) !important;
	text-shadow:0 0 10px rgba(131,223,255,.2);
}

.app-polished #activeRewards .requirements .availability-pill.available-ok,
.app-polished #rewardSections .requirements .availability-pill.available-ok,
.app-polished #activeRewards .requirements .availability-pill.available-ok .availability-label,
.app-polished #activeRewards .requirements .availability-pill.available-ok .availability-value,
.app-polished #rewardSections .requirements .availability-pill.available-ok .availability-label,
.app-polished #rewardSections .requirements .availability-pill.available-ok .availability-value,
.app-polished #rewardRequirementsModal .requirements .availability-pill.available-ok,
.app-polished #rewardRequirementsModal .requirements .availability-pill.available-ok .availability-label,
.app-polished #rewardRequirementsModal .requirements .availability-pill.available-ok .availability-value{
	color:#047857 !important;
	text-shadow:0 0 8px rgba(16,185,129,.28) !important;
}

.app-polished #activeRewards .requirements .availability-pill.available-low,
.app-polished #rewardSections .requirements .availability-pill.available-low,
.app-polished #activeRewards .requirements .availability-pill.available-low .availability-label,
.app-polished #activeRewards .requirements .availability-pill.available-low .availability-value,
.app-polished #rewardSections .requirements .availability-pill.available-low .availability-label,
.app-polished #rewardSections .requirements .availability-pill.available-low .availability-value,
.app-polished #rewardRequirementsModal .requirements .availability-pill.available-low,
.app-polished #rewardRequirementsModal .requirements .availability-pill.available-low .availability-label,
.app-polished #rewardRequirementsModal .requirements .availability-pill.available-low .availability-value{
	color:#b91c1c !important;
	text-shadow:0 0 8px rgba(239,68,68,.24) !important;
}

.app-polished #rewardRequirementsModal .requirements .req-adjust-btn,
.app-polished #rewardRequirementsModal .requirements .active-req-count-input,
.app-polished #rewardRequirementsModal .requirements .pending-commit-input{
	display:none !important;
}

body[data-reward-categories="Ship Rewards,Vehicle Rewards,Skin Rewards"] #rewardSections .requirements .muted.small,
body[data-reward-categories="Weapon Rewards,Armor Rewards,Item Rewards"] #rewardSections .requirements .muted.small{
	display:grid !important;
	grid-template-columns:minmax(72px,1fr) minmax(72px,1fr);
	align-items:center !important;
	justify-items:center;
	row-gap:8px;
	column-gap:8px;
	text-align:center;
}

body[data-reward-categories="Ship Rewards,Vehicle Rewards,Skin Rewards"] #rewardSections .requirements .muted.small > span:first-child,
body[data-reward-categories="Weapon Rewards,Armor Rewards,Item Rewards"] #rewardSections .requirements .muted.small > span:first-child{
	grid-column:1 / -1;
	justify-self:center;
	text-align:center;
	width:100%;
}

body[data-reward-categories="Ship Rewards,Vehicle Rewards,Skin Rewards"] #rewardSections .requirements .muted.small .required-pill,
body[data-reward-categories="Weapon Rewards,Armor Rewards,Item Rewards"] #rewardSections .requirements .muted.small .required-pill{
	grid-column:1;
	justify-self:end;
}

body[data-reward-categories="Ship Rewards,Vehicle Rewards,Skin Rewards"] #rewardSections .requirements .muted.small .availability-pill,
body[data-reward-categories="Weapon Rewards,Armor Rewards,Item Rewards"] #rewardSections .requirements .muted.small .availability-pill{
	grid-column:2;
	justify-self:start;
}

body[data-reward-categories="Ship Rewards,Vehicle Rewards,Skin Rewards"] #rewardSections .requirements .muted.small .required-pill:last-child,
body[data-reward-categories="Weapon Rewards,Armor Rewards,Item Rewards"] #rewardSections .requirements .muted.small .required-pill:last-child{
	grid-column:1 / -1;
	justify-self:center;
}

body[data-reward-categories="Ship Rewards,Vehicle Rewards,Skin Rewards"] #rewardSections .reward-card,
body[data-reward-categories="Weapon Rewards,Armor Rewards,Item Rewards"] #rewardSections .reward-card{
	display:flex;
	flex-direction:column;
	align-items:stretch;
	justify-content:flex-start;
	align-content:flex-start;
	gap:8px;
}

body[data-reward-categories="Ship Rewards,Vehicle Rewards,Skin Rewards"] #rewardSections .reward-card-title,
body[data-reward-categories="Weapon Rewards,Armor Rewards,Item Rewards"] #rewardSections .reward-card-title{
	left:12px;
}

body[data-reward-categories="Ship Rewards,Vehicle Rewards,Skin Rewards"] #rewardSections .reward-card .controls,
body[data-reward-categories="Weapon Rewards,Armor Rewards,Item Rewards"] #rewardSections .reward-card .controls,
body[data-reward-categories="Ship Rewards,Vehicle Rewards,Skin Rewards"] #rewardSections .reward-card .requirements,
body[data-reward-categories="Weapon Rewards,Armor Rewards,Item Rewards"] #rewardSections .reward-card .requirements{
	margin-top:0;
}

.app-polished .reward-complete,
.app-polished .req-complete{
	border-color:rgba(103,255,211,.82);
	box-shadow:
		inset 0 0 0 1px rgba(194,255,234,.2),
		inset 0 10px 26px rgba(28,196,148,.28),
		0 16px 34px rgba(1,18,20,.58),
		0 0 20px rgba(46,245,181,.35);
}

.app-polished #activeRewards .requirements .muted.small.req-complete{
	background:rgba(6,20,44,.34) !important;
	border:1px solid rgba(16,185,129,.85) !important;
	box-shadow:
		inset 0 0 0 1px rgba(194,255,234,.08),
		0 0 0 1px rgba(16,185,129,.35),
		0 0 6px rgba(46,245,181,.22) !important;
}

.app-polished #rewardRequirementsModal .requirements .muted.small.req-complete{
	background:rgba(6,20,44,.34) !important;
	border:1px solid rgba(16,185,129,.85) !important;
	box-shadow:
		inset 0 0 0 1px rgba(194,255,234,.08),
		0 0 0 1px rgba(16,185,129,.35),
		0 0 6px rgba(46,245,181,.22) !important;
}

.app-polished .items-container .item,
.app-polished .group-items .item,
.app-polished .totals-grid .item,
.app-polished .completion-grid .item,
.app-polished #uniqueItemTotals .item,
.app-polished #stationInventoryRows .item,
.app-polished #activeRewards .item,
.app-polished #rewardSections .item,
.app-polished #uniqueItems .item{
	border-color:rgba(var(--scan-border),.64);
	background:rgba(6,20,44,.34);
	box-shadow:
		inset 0 0 0 1px rgba(236,252,255,.24),
		inset 0 10px 20px rgba(var(--scan-primary),.08),
		0 14px 32px rgba(1,10,29,.74),
		0 0 10px rgba(var(--scan-glow),.09);
	backdrop-filter:blur(12px) saturate(135%);
	-webkit-backdrop-filter:blur(12px) saturate(135%);
}

.app-polished .items-container .item::before,
.app-polished .group-items .item::before,
.app-polished .totals-grid .item::before,
.app-polished .completion-grid .item::before,
.app-polished #uniqueItemTotals .item::before,
.app-polished #stationInventoryRows .item::before,
.app-polished #activeRewards .item::before,
.app-polished #rewardSections .item::before,
.app-polished #uniqueItems .item::before{
	background:
		radial-gradient(145% 100% at 100% 0%, rgba(var(--scan-primary),.16), rgba(var(--scan-primary),0) 56%),
		repeating-linear-gradient(90deg, rgba(var(--scan-rings),.07) 0 1px, rgba(var(--scan-rings),0) 1px 16px),
		linear-gradient(112deg, rgba(255,255,255,.17), rgba(255,255,255,0) 30%, rgba(255,255,255,.08) 55%, rgba(255,255,255,0) 76%);
	opacity:.42;
}

.app-polished .items-container .item::after,
.app-polished .group-items .item::after,
.app-polished .totals-grid .item::after,
.app-polished .completion-grid .item::after,
.app-polished #uniqueItemTotals .item::after,
.app-polished #stationInventoryRows .item::after,
.app-polished #activeRewards .item::after,
.app-polished #rewardSections .item::after,
.app-polished #uniqueItems .item::after{
	inset:-120% -55%;
	background:
		conic-gradient(from 180deg at 50% 50%, rgba(var(--scan-primary),0) 0deg, rgba(var(--scan-primary),.32) 14deg, rgba(var(--scan-primary),0) 34deg, rgba(var(--scan-primary),0) 360deg),
		radial-gradient(circle at 50% 50%, rgba(var(--scan-primary),.16) 0 11%, rgba(var(--scan-primary),.08) 11% 22%, rgba(var(--scan-primary),0) 22% 100%),
		repeating-radial-gradient(circle at 50% 50%, rgba(var(--scan-rings),.09) 0 1px, rgba(var(--scan-rings),0) 1px 14px);
	mix-blend-mode:screen;
	opacity:.22;
	transform:translate3d(0,0,0);
	animation:radarSweepSpin var(--cards-item-sweep-duration) linear infinite;
}

/* Card Container System: shared shell for all item/reward card regions */
.app-polished .items-container,
.app-polished .group-items,
.app-polished .totals-grid,
.app-polished .completion-grid,
.app-polished #activeRewards,
.app-polished #rewardSections,
.app-polished #uniqueItems,
.app-polished #uniqueItemTotals,
.app-polished #stationInventoryRows{
	position:relative;
	overflow:hidden;
	border-radius:var(--cards-container-radius);
	padding:var(--cards-container-padding);
	border:1px solid rgba(var(--scan-border),var(--cards-container-border-alpha));
	background:
		radial-gradient(180% 120% at 100% 0%, rgba(var(--scan-primary),.5), rgba(var(--scan-primary),0) 50%),
		radial-gradient(170% 150% at 0% 100%, rgba(var(--scan-secondary),.5), rgba(var(--scan-secondary),0) 56%),
		linear-gradient(170deg, rgba(2,9,27,.5) 0%, rgba(4,14,34,.5) 55%, rgba(1,7,20,.5) 100%);
	box-shadow:
		inset 0 0 0 1px rgba(207,241,255,.08),
		inset 0 20px 44px rgba(var(--scan-primary),.08),
		0 12px 34px rgba(1,8,22,.62);
}

.app-polished .items-container::before,
.app-polished .group-items::before,
.app-polished .totals-grid::before,
.app-polished .completion-grid::before,
.app-polished #activeRewards::before,
.app-polished #rewardSections::before,
.app-polished #uniqueItems::before,
.app-polished #uniqueItemTotals::before,
.app-polished #stationInventoryRows::before{
	content:"";
	position:absolute;
	inset:0;
	pointer-events:none;
	background:
		radial-gradient(circle at 8% 16%, rgba(255,255,255,.35) 0 1px, rgba(255,255,255,0) 2px),
		radial-gradient(circle at 76% 22%, rgba(var(--scan-rings),.45) 0 1px, rgba(var(--scan-rings),0) 2px),
		radial-gradient(circle at 37% 64%, rgba(255,255,255,.28) 0 1px, rgba(255,255,255,0) 2px),
		radial-gradient(circle at 63% 78%, rgba(var(--scan-primary),.42) 0 1px, rgba(var(--scan-primary),0) 2px),
		repeating-linear-gradient(90deg, rgba(var(--scan-rings),.08) 0 1px, rgba(var(--scan-rings),0) 1px 42px),
		repeating-linear-gradient(0deg, rgba(var(--scan-rings),.06) 0 1px, rgba(var(--scan-rings),0) 1px 42px);
	opacity:.2;
	animation:starfieldDrift var(--cards-container-sweep-duration) linear infinite;
	z-index:0;
}

.app-polished .items-container > *,
.app-polished .group-items > *,
.app-polished .totals-grid > *,
.app-polished .completion-grid > *,
.app-polished #activeRewards > *,
.app-polished #rewardSections > *,
.app-polished #uniqueItems > *,
.app-polished #uniqueItemTotals > *,
.app-polished #stationInventoryRows > *{
	position:relative;
	z-index:1;
}

.app-polished .listHeader,
.app-polished .section-header,
.app-polished .group-header,
.app-polished .reward-page-links{
	position:relative;
	overflow:hidden;
	border-radius:22px;
	padding:10px 12px;
	border:1px solid rgba(122,238,255,.5);
	background:
		radial-gradient(130% 130% at 100% 0%, rgba(0,255,235,.16), rgba(0,255,235,0) 44%),
		radial-gradient(130% 150% at 0% 100%, rgba(114,157,255,.22), rgba(114,157,255,0) 46%),
		linear-gradient(145deg, rgba(6,18,41,.96) 0%, rgba(10,28,55,.96) 50%, rgba(4,13,34,.98) 100%);
	box-shadow:
		inset 0 0 0 1px rgba(209,247,255,.14),
		0 10px 26px rgba(1,9,25,.66),
		0 0 18px rgba(54,211,255,.2);
	backdrop-filter:blur(6px) saturate(150%);
	-webkit-backdrop-filter:blur(6px) saturate(150%);
	gap:10px;
}

.app-polished button,
.app-polished .top-nav a,
.app-polished .top-nav .nav-link,
.app-polished .reward-page-link,
.app-polished .section-toggle,
.app-polished .group-toggle,
.app-polished .toggle-btn{
	border:1px solid rgba(var(--scan-border),.6);
	background:
		radial-gradient(130% 120% at 100% 0%, rgba(var(--scan-primary),.26), rgba(var(--scan-primary),0) 48%),
		linear-gradient(150deg, rgba(8,20,44,.78) 0%, rgba(12,30,62,.72) 55%, rgba(5,14,33,.75) 100%);
	color:var(--space-card-ink) !important;
	box-shadow:
		inset 0 0 0 1px rgba(221,249,255,.12),
		0 8px 20px rgba(1,9,25,.45),
		0 0 12px rgba(var(--scan-glow),.22);
	backdrop-filter:blur(4px) saturate(120%);
	-webkit-backdrop-filter:blur(4px) saturate(120%);
	transition:transform .16s ease,box-shadow .2s ease,border-color .2s ease;
}

.app-polished button:hover,
.app-polished .top-nav a:hover,
.app-polished .top-nav .nav-link:hover,
.app-polished .reward-page-link:hover,
.app-polished .section-toggle:hover,
.app-polished .group-toggle:hover,
.app-polished .toggle-btn:hover{
	transform:translateY(-1px);
	border-color:rgba(var(--scan-border),.9);
	box-shadow:
		inset 0 0 0 1px rgba(235,252,255,.18),
		0 10px 24px rgba(1,11,29,.55),
		0 0 16px rgba(var(--scan-glow),.3);
}

.app-polished .top-nav a.active,
.app-polished .top-nav .nav-link.active,
.app-polished .reward-page-link.active{
	border-color:rgba(var(--scan-border),.95) !important;
	background:
		radial-gradient(135% 120% at 100% 0%, rgba(var(--scan-primary),.36), rgba(var(--scan-primary),0) 50%),
		linear-gradient(150deg, rgba(10,28,56,.84) 0%, rgba(14,38,74,.82) 55%, rgba(6,19,42,.84) 100%) !important;
	color:var(--space-header-ink) !important;
	box-shadow:
		inset 0 0 0 1px rgba(243,253,255,.2),
		0 10px 24px rgba(1,11,29,.58),
		0 0 20px rgba(var(--scan-glow),.34) !important;
}

.app-polished .reward-section,
.app-polished .group-section{
	background:transparent !important;
	box-shadow:none !important;
}

.app-polished .top-nav.with-home-stacked{
	display:grid !important;
	grid-template-columns:repeat(3, var(--nav-button-width));
	justify-content:center;
	column-gap:10px;
	row-gap:10px;
	margin-top:24px !important;
	position:static;
}

.app-polished .top-nav.with-home-stacked > a[href="index.html"]{
	grid-column:2;
	grid-row:1;
	justify-self:center;
}

.app-polished .top-nav.with-home-stacked > :not(a[href="index.html"]){
	grid-row:2;
	justify-self:center;
}

.app-polished .top-nav.with-home-stacked .nav-entry-log-btn{
	position:static;
	top:auto;
	left:auto;
	right:auto;
	transform:none;
	margin:0;
}

.app-polished .top-nav.with-home-stacked .nav-reset-options-btn{
	position:static;
	top:auto;
	left:auto;
	right:auto;
	transform:none;
	margin:0;
}

@media (max-width: 760px){
	.app-polished .top-nav.with-home-stacked{
		grid-template-columns:repeat(2, minmax(0, 1fr));
		grid-auto-flow:row;
		column-gap:8px;
		row-gap:8px;
	}

	.app-polished .site-header{
		font-size:clamp(34px, 8.2vw, 56px);
		line-height:1.02;
		letter-spacing:.015em;
		width:100%;
		text-align:center;
	}

	.app-polished .site-header .site-header-prefix-line,
	.app-polished .site-header .site-header-presented-line,
	.app-polished .site-header .site-header-presented-name,
	.app-polished .neon-section-header,
	.app-polished h1{
		white-space:nowrap;
	}

	.app-polished .neon-section-header,
	.app-polished h1{
		font-size:clamp(24px, 6.2vw, 34px);
		letter-spacing:.01em;
	}

	.app-polished .neon-section-header .mobile-hyphen-break{
		display:block;
		width:100%;
		height:0;
		line-height:0;
	}

	.app-polished .top-nav.with-home-stacked > :not(a[href="index.html"]){
		grid-row:auto;
		justify-self:stretch;
	}

	.app-polished .top-nav.with-home-stacked > a[href="index.html"],
	.app-polished .top-nav.with-home-stacked > button[data-nav-target="index.html"],
	.app-polished .top-nav.with-home-stacked > button[data-nav-target="./index.html"]{
		grid-column:1 / -1;
		justify-self:stretch;
	}

	.app-polished .top-nav.with-home-stacked > a,
	.app-polished .top-nav.with-home-stacked > .nav-link,
	.app-polished .top-nav.with-home-stacked > .nav-entry-log-btn,
	.app-polished .top-nav.with-home-stacked > .nav-reset-options-btn{
		width:100% !important;
		min-width:0;
		white-space:normal;
		text-align:center;
		height:auto;
		min-height:var(--header-nav-height);
	}

	.app-polished .top-nav.with-home-stacked .nav-entry-log-btn,
	.app-polished .top-nav.with-home-stacked .nav-reset-options-btn{
		grid-column:1 / -1;
	}
}

@media (max-width: 420px){
	.app-polished .site-header{
		font-size:clamp(28px, 8.6vw, 42px);
	}

	.app-polished .neon-section-header,
	.app-polished h1{
		font-size:clamp(20px, 6.8vw, 28px);
	}
}

.top-nav .nav-entry-log-btn,
.top-nav .nav-reset-options-btn,
.app-polished .top-nav .nav-entry-log-btn,
.app-polished .top-nav .nav-reset-options-btn{
	width:14.5rem;
	min-height:40px;
	height:40px;
}

.reset-options-modal-actions{
	margin-top:22px;
}

.reset-options-close-btn{
	position:absolute;
	top:10px;
	right:10px;
	width:34px;
	height:34px;
	min-width:34px;
	min-height:34px;
	padding:0;
	display:inline-flex;
	align-items:center;
	justify-content:center;
	border-radius:999px;
	border:1px solid #dc2626 !important;
	background:rgba(127,29,29,.16) !important;
	color:#f87171 !important;
	font-size:1.05rem;
	font-weight:800;
	line-height:1;
	text-shadow:0 0 8px rgba(248,113,113,.7);
	box-shadow:0 0 10px rgba(220,38,38,.35), inset 0 0 8px rgba(220,38,38,.22);
	z-index:5;
}

.reset-options-close-btn:hover,
.reset-options-close-btn:focus-visible{
	border-color:#fca5a5 !important;
	color:#fecaca !important;
	background:rgba(127,29,29,.26) !important;
	box-shadow:0 0 14px rgba(248,113,113,.46), inset 0 0 10px rgba(248,113,113,.25);
	outline:none;
}

.patch-reset-home-select{
	width:100%;
	min-height:46px;
	padding:10px;
	text-align:left;
}

#resetOptionsResetAllBtn{
	border:1px solid #dc2626 !important;
	color:#dc2626 !important;
	background:transparent !important;
}

#resetOptionsResetAllBtn:hover,
#resetOptionsResetAllBtn:focus-visible{
	border-color:#f87171 !important;
	color:#f87171 !important;
	background:rgba(220,38,38,.12) !important;
}

#resetOptionsPatchBtn{
	border:1px solid #16a34a !important;
	color:#16a34a !important;
	background:transparent !important;
}

#resetOptionsPatchBtn:hover,
#resetOptionsPatchBtn:focus-visible{
	border-color:#4ade80 !important;
	color:#4ade80 !important;
	background:rgba(22,163,74,.12) !important;
}

.pre-top-nav-row{
	display:flex;
	justify-content:center;
	align-items:center;
	gap:10px;
	margin-top:16px;
	margin-bottom:8px;
}

.pre-top-nav-row .pre-top-nav-btn{
	display:inline-flex;
	align-items:center;
	justify-content:center;
	width:var(--nav-button-width);
	min-height:var(--header-nav-height);
	height:var(--header-nav-height);
	padding:var(--nav-pill-padding);
	border-radius:var(--nav-pill-radius);
	white-space:nowrap;
}

.app-polished .pre-top-nav-row{
	margin-top:20px;
	margin-bottom:10px;
}

.app-polished .listHeader::before,
.app-polished .section-header::before,
.app-polished .group-header::before,
.app-polished .reward-page-links::before{
	content:"";
	position:absolute;
	inset:0;
	border-radius:inherit;
	background:
		linear-gradient(90deg, rgba(138,236,255,0) 0%, rgba(138,236,255,.2) 30%, rgba(138,236,255,0) 68%),
		repeating-linear-gradient(90deg, rgba(151,245,255,.1) 0 1px, rgba(151,245,255,0) 1px 18px),
		repeating-linear-gradient(0deg, rgba(151,245,255,.08) 0 1px, rgba(151,245,255,0) 1px 18px);
	opacity:.68;
	pointer-events:none;
	z-index:0;
	animation:commandDeckPulse 12.4s ease-in-out infinite;
}

.app-polished .section-header::after,
.app-polished .group-header::after{
	content:"";
	position:absolute;
	inset:-18% -42%;
	background:linear-gradient(102deg, rgba(140,245,255,0) 42%, rgba(140,245,255,.14) 49%, rgba(190,214,255,.18) 52%, rgba(140,245,255,0) 60%);
	opacity:.4;
	pointer-events:none;
	z-index:0;
	transform:translate3d(-56%, 0, 0);
	animation:headerCardSweep 8.6s ease-in-out infinite;
}

.app-polished .listHeader > *,
.app-polished .section-header > *,
.app-polished .group-header > *,
.app-polished .reward-page-links > *{
	position:relative;
	z-index:1;
}

.app-polished .listHeader h2,
.app-polished .section-header h3,
.app-polished .group-header h3{
	color:var(--space-header-ink) !important;
	text-shadow:0 0 12px rgba(95,232,255,.38);
}

.app-polished #uniqueItemTotals section h3,
.app-polished #stationInventoryRows section h3{
	color:var(--space-header-ink) !important;
	text-shadow:0 0 12px rgba(95,232,255,.38);
}

.app-polished .empty-state-message{
	color:var(--space-header-ink) !important;
	text-shadow:0 0 12px rgba(95,232,255,.38);
}

.app-polished .inventory-empty-message{
	color:var(--space-card-ink) !important;
	text-shadow:0 0 10px rgba(131,223,255,.2);
}

.app-polished .listHeader .muted,
.app-polished .section-header .muted,
.app-polished .group-header .muted{
	color:var(--space-header-muted) !important;
}

.app-polished .site-header,
.app-polished .neon-section-header{
	background:linear-gradient(180deg, rgba(204,254,255,.98) 0%, rgba(151,235,255,.97) 45%, rgba(174,195,255,.96) 100%);
	-webkit-background-clip:text;
	background-clip:text;
	color:transparent !important;
	text-shadow:
		0 0 8px rgba(87,241,255,.65),
		0 0 22px rgba(61,190,255,.5),
		0 0 44px rgba(143,111,255,.38);
	-webkit-text-stroke:1.4px rgba(155,238,255,.7);
	filter:drop-shadow(0 4px 18px rgba(35,177,255,.35));
}

.mobile-hyphen-break{
	display:none;
}

.app-polished .crafting-blueprint-header .crafting-blueprint-cell,
.app-polished .crafting-blueprint-header .crafting-blueprint-cell *,
.app-polished .crafting-blueprint-header .crafting-blueprint-sort-arrow{
	color:#39ff14 !important;
}

@keyframes spaceCardSweep{
	0%{transform:translate3d(-24%, -10%, 0) rotate(2deg)}
	50%{transform:translate3d(8%, 4%, 0) rotate(2deg)}
	100%{transform:translate3d(32%, 10%, 0) rotate(2deg)}
}

@keyframes commandDeckPulse{
	0%,100%{opacity:.54;filter:brightness(.95)}
	50%{opacity:.82;filter:brightness(1.15)}
}

@keyframes headerCardSweep{
	0%,12%{transform:translate3d(-56%, 0, 0)}
	48%,62%{transform:translate3d(0%, 0, 0)}
	100%{transform:translate3d(56%, 0, 0)}
}

@keyframes radarSweepSpin{
	0%{transform:rotate(0deg)}
	100%{transform:rotate(360deg)}
}

@keyframes starfieldDrift{
	0%{transform:translate3d(0,0,0)}
	50%{transform:translate3d(-10px,8px,0)}
	100%{transform:translate3d(-20px,16px,0)}
}

.star-twinkle-layer{
	position:fixed;
	inset:0;
	pointer-events:none;
	z-index:1;
	overflow:hidden;
}

.star-twinkle-dot{
	position:absolute;
	width:12px;
	height:12px;
	margin-left:-6px;
	margin-top:-6px;
	border-radius:50%;
	background:radial-gradient(circle, rgba(255,255,255,1) 0%, rgba(215,239,255,.78) 36%, rgba(215,239,255,0) 78%);
	opacity:.18;
	transform:scale(.62);
	will-change:opacity,transform;
	filter:drop-shadow(0 0 7px rgba(226,244,255,.78));
}

.star-twinkle-dot::before,
.star-twinkle-dot::after{
	content:"";
	position:absolute;
	left:50%;
	top:50%;
	transform:translate(-50%, -50%);
	pointer-events:none;
	opacity:.34;
	background:linear-gradient(180deg, rgba(255,255,255,0) 0%, rgba(255,255,255,.95) 50%, rgba(255,255,255,0) 100%);
	filter:drop-shadow(0 0 3px rgba(235,248,255,.65));
	border-radius:999px;
	will-change:opacity,transform;
}

.star-twinkle-dot::before{
	width:1.5px;
	height:calc(var(--star-size, 12px) * 2.2);
}

.star-twinkle-dot::after{
	width:calc(var(--star-size, 12px) * 2.2);
	height:1.5px;
}

.star-twinkle-dot.is-twinkling{
	animation:starTwinklePulse var(--twinkle-duration, 1200ms) ease-in-out;
}

.star-twinkle-dot.is-twinkling::before,
.star-twinkle-dot.is-twinkling::after{
	animation:starCrossPulse var(--twinkle-duration, 1200ms) ease-in-out;
}

@keyframes starTwinklePulse{
	0%,100%{opacity:.18;transform:scale(.62)}
	48%{opacity:.95;transform:scale(1.06)}
}

@keyframes starCrossPulse{
	0%,100%{opacity:.34}
	48%{opacity:.96}
}

.app-polished .modal-card{
	overflow:visible !important;
}

.app-polished .modal-card .modal-field,
.app-polished .modal-card .modal-input-wrap,
.app-polished .modal-card .location-suggestions{
	overflow:visible !important;
}

.app-polished .modal-card .location-suggestions{
	overflow:auto !important;
	overflow-x:hidden !important;
	z-index:6000 !important;
}

.app-polished .site-legal-footer .site-legal-note{
	color:#d8fbff !important;
	opacity:1 !important;
	text-shadow:0 0 10px rgba(95,232,255,.38) !important;
}

/* ------------------------------
   2026 UI Refresh (Calmer Modern Pass)
   Keeps neon identity while reducing visual overload
------------------------------ */

.app-polished{
	--ui-surface-bg: rgba(8, 16, 34, .72);
	--ui-surface-bg-strong: rgba(10, 20, 42, .84);
	--ui-surface-border: rgba(153, 223, 255, .34);
	--ui-surface-shadow: 0 10px 24px rgba(2, 7, 19, .44);
	--ui-pill-bg: rgba(11, 23, 47, .86);
	--ui-pill-border: rgba(162, 230, 255, .38);
	--ui-pill-hover: rgba(17, 33, 64, .9);
	--ui-text: #e8f6ff;
	--ui-text-muted: #b7d3e6;
	--ui-accent-soft: rgba(111, 214, 255, .22);
}

body.app-polished::before{
	content:"";
	position:fixed;
	inset:0;
	pointer-events:none;
	z-index:0;
	background:
		radial-gradient(120% 90% at 50% 0%, rgba(7, 18, 40, .34), rgba(3, 8, 20, .58) 70%),
		linear-gradient(180deg, rgba(3, 7, 18, .22), rgba(3, 7, 18, .42));
}

.app-polished .container,
.app-polished main.container{
	position:relative;
	z-index:2;
	width:min(1320px, 100%);
}

.app-polished .site-header,
.app-polished .neon-section-header{
	text-shadow:
		0 0 5px rgba(92, 236, 255, .38),
		0 0 14px rgba(84, 173, 255, .3),
		0 0 24px rgba(147, 134, 255, .2) !important;
	-webkit-text-stroke: 1px rgba(167, 235, 255, .6) !important;
	filter: drop-shadow(0 2px 10px rgba(22, 128, 178, .26));
}

.app-polished .site-header{
	font-size: clamp(42px, 6vw, 58px) !important;
	margin-bottom: 10px;
	max-width:100%;
}

.app-polished .top-nav,
.app-polished .reward-page-links{
	gap: 8px !important;
	padding: 8px 10px !important;
	border-radius: 14px !important;
	border: 1px solid var(--ui-surface-border) !important;
	background: linear-gradient(160deg, rgba(10, 20, 42, .86), rgba(7, 15, 33, .8)) !important;
	box-shadow: var(--ui-surface-shadow) !important;
	backdrop-filter: blur(7px) saturate(120%) !important;
	-webkit-backdrop-filter: blur(7px) saturate(120%) !important;
}

.app-polished .listHeader,
.app-polished .section-header,
.app-polished .group-header,
.app-polished .summary-card,
.app-polished .items-container,
.app-polished .group-items,
.app-polished .totals-grid,
.app-polished .completion-grid,
.app-polished #activeRewards,
.app-polished #rewardSections,
.app-polished #uniqueItems,
.app-polished #uniqueItemTotals,
.app-polished #stationInventoryRows,
.app-polished .list,
.app-polished section.list{
	border-radius: 14px !important;
	border: 1px solid var(--ui-surface-border) !important;
	background: linear-gradient(165deg, var(--ui-surface-bg-strong), var(--ui-surface-bg)) !important;
	box-shadow: var(--ui-surface-shadow) !important;
	backdrop-filter: blur(7px) saturate(120%) !important;
	-webkit-backdrop-filter: blur(7px) saturate(120%) !important;
}

.app-polished .listHeader::before,
.app-polished .section-header::before,
.app-polished .group-header::before,
.app-polished .reward-page-links::before,
.app-polished .section-header::after,
.app-polished .group-header::after,
.app-polished .items-container::before,
.app-polished .group-items::before,
.app-polished .totals-grid::before,
.app-polished .completion-grid::before,
.app-polished #activeRewards::before,
.app-polished #rewardSections::before,
.app-polished #uniqueItems::before,
.app-polished #uniqueItemTotals::before,
.app-polished #stationInventoryRows::before,
.app-polished .summary-card::before,
.app-polished .summary-card::after,
.app-polished .container > section.summary-card::before,
.app-polished .container > section.summary-card::after{
	content: none !important;
	animation: none !important;
	background: none !important;
	opacity: 0 !important;
}

.app-polished button,
.app-polished .btn-secondary,
.app-polished .top-nav a,
.app-polished .top-nav .nav-link,
.app-polished .top-nav .nav-entry-log-btn,
.app-polished .top-nav .nav-reset-options-btn,
.app-polished .reward-page-link,
.app-polished .section-toggle,
.app-polished .group-toggle,
.app-polished .toggle-btn{
	border-radius: 10px !important;
	border: 1px solid var(--ui-pill-border) !important;
	background: linear-gradient(160deg, var(--ui-pill-bg), rgba(11, 24, 49, .74)) !important;
	color: var(--ui-text) !important;
	box-shadow: 0 3px 12px rgba(2, 7, 19, .36) !important;
	transform: none !important;
	transition: background-color .16s ease, border-color .16s ease, box-shadow .16s ease !important;
}

.app-polished button:hover,
.app-polished .btn-secondary:hover,
.app-polished .top-nav a:hover,
.app-polished .top-nav .nav-link:hover,
.app-polished .top-nav .nav-entry-log-btn:hover,
.app-polished .top-nav .nav-reset-options-btn:hover,
.app-polished .reward-page-link:hover,
.app-polished .section-toggle:hover,
.app-polished .group-toggle:hover,
.app-polished .toggle-btn:hover{
	background: var(--ui-pill-hover) !important;
	border-color: rgba(190, 238, 255, .6) !important;
	box-shadow: 0 5px 14px rgba(2, 9, 22, .42) !important;
}

.app-polished .top-nav a.active,
.app-polished .top-nav .nav-link.active,
.app-polished .reward-page-link.active{
	background: linear-gradient(160deg, rgba(27, 73, 112, .96), rgba(18, 58, 91, .92)) !important;
	border-color: rgba(181, 236, 255, .9) !important;
	color: #f4fbff !important;
	box-shadow:
		0 7px 18px rgba(6, 19, 42, .46),
		0 0 0 1px rgba(183, 232, 255, .22) inset !important;
}

.app-polished .summary-card,
.app-polished .summary-card p,
.app-polished .summary-card .summary-bullets,
.app-polished .summary-card .summary-bullets li,
.app-polished .listHeader .muted,
.app-polished .section-header .muted,
.app-polished .group-header .muted,
.app-polished .muted{
	color: var(--ui-text-muted) !important;
	text-shadow: none !important;
}

.app-polished h2,
.app-polished h3,
.app-polished .listHeader h2,
.app-polished .section-header h3,
.app-polished .group-header h3{
	text-shadow: 0 0 8px rgba(95, 232, 255, .18) !important;
}

.star-twinkle-layer{
	opacity: .35;
}

.star-twinkle-dot{
	opacity: .12;
	filter: drop-shadow(0 0 4px rgba(226,244,255,.45));
}

/* ------------------------------
   Neon Glass Controls + Modal Parity
------------------------------ */

.app-polished{
	--glass-blue:#6ad9ff;
	--glass-orange:#ffb466;
	--glass-green:#66f0a8;
	--glass-red:#ff7e7e;
}

.app-polished button,
.app-polished .top-nav a,
.app-polished .top-nav .nav-link,
.app-polished .reward-page-link,
.app-polished .section-toggle,
.app-polished .group-toggle,
.app-polished .toggle-btn{
	border-width:1px !important;
	border-style:solid !important;
	border-color:rgba(106,217,255,.78) !important;
	background:
		radial-gradient(130% 120% at 100% 0%, rgba(106,217,255,.2), rgba(106,217,255,0) 52%),
		linear-gradient(155deg, rgba(12,23,46,.85), rgba(9,19,39,.82)) !important;
	box-shadow:
		inset 0 0 0 1px rgba(222,247,255,.14),
		0 6px 16px rgba(2,8,20,.4),
		0 0 12px rgba(106,217,255,.3) !important;
	backdrop-filter:blur(7px) saturate(140%) !important;
	-webkit-backdrop-filter:blur(7px) saturate(140%) !important;
}

.app-polished button:hover,
.app-polished .top-nav a:hover,
.app-polished .top-nav .nav-link:hover,
.app-polished .reward-page-link:hover,
.app-polished .section-toggle:hover,
.app-polished .group-toggle:hover,
.app-polished .toggle-btn:hover{
	border-color:rgba(142,229,255,.96) !important;
	box-shadow:
		inset 0 0 0 1px rgba(235,251,255,.2),
		0 8px 18px rgba(2,10,24,.46),
		0 0 14px rgba(106,217,255,.42) !important;
}

.app-polished .top-nav a.active,
.app-polished .top-nav .nav-link.active,
.app-polished .reward-page-link.active{
	border-color:rgba(128,222,255,.98) !important;
	background:
		radial-gradient(130% 120% at 100% 0%, rgba(90,205,255,.28), rgba(90,205,255,0) 52%),
		linear-gradient(155deg, rgba(20,56,86,.9), rgba(13,42,69,.9)) !important;
	box-shadow:
		inset 0 0 0 1px rgba(236,251,255,.24),
		0 8px 18px rgba(2,10,24,.52),
		0 0 16px rgba(96,214,255,.48) !important;
}

/* Orange glass: secondary/cancel style */
.app-polished .btn-secondary,
.app-polished button[id*="Cancel"],
.app-polished button[id*="Close"],
.app-polished button[id*="Guest"],
.app-polished #accountResetPasswordBtn,
.app-polished #accountResendVerificationBtn{
	border-color:rgba(255,180,102,.82) !important;
	background:
		radial-gradient(130% 120% at 100% 0%, rgba(255,180,102,.22), rgba(255,180,102,0) 52%),
		linear-gradient(155deg, rgba(48,28,11,.78), rgba(39,22,10,.76)) !important;
	box-shadow:
		inset 0 0 0 1px rgba(255,236,214,.15),
		0 6px 16px rgba(21,11,3,.35),
		0 0 12px rgba(255,180,102,.32) !important;
}

/* Green glass: positive/confirm style */
.app-polished button[id*="Confirm"],
.app-polished button[id*="Save"],
.app-polished button[id*="Create"],
.app-polished button[id*="SignIn"],
.app-polished button[id*="MoveAll"],
.app-polished #resetOptionsPatchBtn,
.app-polished .community-vote-up.is-active{
	border-color:rgba(102,240,168,.86) !important;
	background:
		radial-gradient(130% 120% at 100% 0%, rgba(102,240,168,.24), rgba(102,240,168,0) 52%),
		linear-gradient(155deg, rgba(10,44,28,.8), rgba(8,35,23,.78)) !important;
	box-shadow:
		inset 0 0 0 1px rgba(219,255,237,.16),
		0 6px 16px rgba(5,20,14,.34),
		0 0 12px rgba(102,240,168,.34) !important;
}

/* Red glass: destructive style */
.app-polished .community-delete-btn,
.app-polished button[id*="Delete"],
.app-polished button[id*="Remove"],
.app-polished button[id*="SignOut"],
.app-polished #resetOptionsResetAllBtn,
.app-polished .community-vote-down.is-active{
	border-color:rgba(255,126,126,.86) !important;
	background:
		radial-gradient(130% 120% at 100% 0%, rgba(255,126,126,.24), rgba(255,126,126,0) 52%),
		linear-gradient(155deg, rgba(52,14,18,.82), rgba(38,11,14,.8)) !important;
	box-shadow:
		inset 0 0 0 1px rgba(255,223,223,.16),
		0 6px 16px rgba(23,6,8,.36),
		0 0 12px rgba(255,126,126,.34) !important;
}

/* Modal parity: same refreshed style system applied to popups */
.app-polished .modal-overlay{
	background:rgba(2,8,20,.68) !important;
	backdrop-filter:blur(4px) saturate(120%);
	-webkit-backdrop-filter:blur(4px) saturate(120%);
}

.app-polished .modal-card{
	border:1px solid rgba(138,226,255,.42) !important;
	background:
		radial-gradient(140% 130% at 100% 0%, rgba(106,217,255,.16), rgba(106,217,255,0) 56%),
		linear-gradient(165deg, rgba(10,20,42,.92), rgba(8,16,34,.9)) !important;
	box-shadow:
		inset 0 0 0 1px rgba(226,248,255,.1),
		0 16px 36px rgba(2,8,20,.6),
		0 0 18px rgba(106,217,255,.2) !important;
}

.app-polished .modal-card input,
.app-polished .modal-card textarea,
.app-polished .modal-card select{
	border:1px solid rgba(145,224,255,.46) !important;
	background:linear-gradient(160deg, rgba(12,23,47,.82), rgba(9,18,37,.8)) !important;
	color:#e8f6ff !important;
	text-shadow:none !important;
	box-shadow:inset 0 0 0 1px rgba(224,248,255,.08), 0 0 8px rgba(106,217,255,.14) !important;
}

.app-polished .modal-card input::placeholder,
.app-polished .modal-card textarea::placeholder{
	color:rgba(198,225,244,.72) !important;
}

/* Modal motion off: remove legacy animated sweeps and movement */
.app-polished .modal-card,
.app-polished .modal-field,
.app-polished .modal-input-wrap,
.app-polished .modal-card *,
.app-polished .modal-actions button,
.app-polished .modal-qty-row button{
	animation:none !important;
	transition:none !important;
	transform:none !important;
}

.app-polished .modal-card::before,
.app-polished .modal-card::after,
.app-polished .modal-field::before,
.app-polished .modal-field::after,
.app-polished .modal-input-wrap::before,
.app-polished .modal-input-wrap::after{
	content:none !important;
	animation:none !important;
	background:none !important;
	opacity:0 !important;
}

/* Keep modal depth static (no movement), subtle neon edge glow only */
.app-polished .modal-card{
	box-shadow:
		inset 0 0 0 1px rgba(222,246,255,.12),
		0 14px 32px rgba(2,8,20,.58),
		0 0 0 1px rgba(138,226,255,.22),
		0 0 14px rgba(106,217,255,.18) !important;
}

/* Remove top-nav container card; keep only individual glass buttons */
.app-polished .top-nav,
.app-polished .top-nav.with-home-stacked{
	background:transparent !important;
	border:none !important;
	box-shadow:none !important;
	backdrop-filter:none !important;
	-webkit-backdrop-filter:none !important;
	padding:0 !important;
}

/* Restore distinct nav utility button outline colors */
.app-polished .top-nav .nav-entry-log-btn,
.app-polished .nav-entry-log-btn{
	border-color:rgba(106,169,255,.92) !important;
	color:#dcedff !important;
	background:
		radial-gradient(130% 120% at 100% 0%, rgba(106,169,255,.22), rgba(106,169,255,0) 52%),
		linear-gradient(155deg, rgba(12,24,50,.84), rgba(9,20,42,.82)) !important;
	box-shadow:
		inset 0 0 0 1px rgba(226,240,255,.16),
		0 6px 16px rgba(4,10,24,.38),
		0 0 12px rgba(106,169,255,.38) !important;
}

.app-polished .top-nav .nav-entry-log-btn:hover,
.app-polished .top-nav .nav-entry-log-btn:focus-visible,
.app-polished .nav-entry-log-btn:hover,
.app-polished .nav-entry-log-btn:focus-visible{
	border-color:rgba(140,191,255,.98) !important;
	box-shadow:
		inset 0 0 0 1px rgba(236,246,255,.2),
		0 8px 18px rgba(4,12,28,.46),
		0 0 14px rgba(106,169,255,.52) !important;
}

.app-polished .top-nav .nav-reset-options-btn,
.app-polished .nav-reset-options-btn{
	border-color:rgba(255,179,109,.94) !important;
	color:#fff1e2 !important;
	background:
		radial-gradient(130% 120% at 100% 0%, rgba(255,179,109,.24), rgba(255,179,109,0) 52%),
		linear-gradient(155deg, rgba(50,30,12,.82), rgba(38,23,10,.8)) !important;
	box-shadow:
		inset 0 0 0 1px rgba(255,236,215,.16),
		0 6px 16px rgba(22,12,3,.36),
		0 0 12px rgba(255,179,109,.4) !important;
}

.app-polished .top-nav .nav-reset-options-btn:hover,
.app-polished .top-nav .nav-reset-options-btn:focus-visible,
.app-polished .nav-reset-options-btn:hover,
.app-polished .nav-reset-options-btn:focus-visible{
	border-color:rgba(255,198,140,.98) !important;
	box-shadow:
		inset 0 0 0 1px rgba(255,244,230,.2),
		0 8px 18px rgba(24,13,3,.44),
		0 0 14px rgba(255,179,109,.54) !important;
}

/* Footer nav buttons: glass + neon parity */
.app-polished .site-legal-footer{
	display:flex;
	flex-wrap:wrap;
	justify-content:center;
	align-items:center;
	gap:10px;
}

.site-legal-footer,
.app-polished .site-legal-footer{
	display:flex;
	flex-wrap:wrap;
	justify-content:center !important;
	align-items:center;
	text-align:center;
}

.site-legal-footer .site-legal-note,
.app-polished .site-legal-footer .site-legal-note{
	flex-basis:100%;
	width:100%;
	text-align:center;
}

.app-polished .site-legal-footer :is(a, button.footer-contact-site-creator-btn),
.app-polished .site-legal-footer :is(a, button.footer-contact-site-creator-btn) + :is(a, button.footer-contact-site-creator-btn){
	margin-left:0;
	display:inline-flex;
	align-items:center;
	justify-content:center;
	font-size:max(.85rem, calc(var(--nav-fit-font-size, 1rem) * 1.3));
	line-height:1.2;
	font-weight:400 !important;
	font-family:inherit;
	min-height:var(--header-nav-height);
	height:var(--header-nav-height);
	padding:var(--nav-pill-padding);
	border-radius:var(--nav-pill-radius);
	text-decoration:none;
	border:1px solid rgba(106,217,255,.84) !important;
	background:
		radial-gradient(130% 120% at 100% 0%, rgba(106,217,255,.2), rgba(106,217,255,0) 52%),
		linear-gradient(155deg, rgba(12,23,46,.85), rgba(9,19,39,.82)) !important;
	color:#e8f6ff !important;
	box-shadow:
		inset 0 0 0 1px rgba(222,247,255,.14),
		0 6px 16px rgba(2,8,20,.4),
		0 0 12px rgba(106,217,255,.3) !important;
	backdrop-filter:blur(7px) saturate(140%);
	-webkit-backdrop-filter:blur(7px) saturate(140%);
	transition:background-color .16s ease, border-color .16s ease, box-shadow .16s ease;
}

.app-polished .site-legal-footer :is(a, button.footer-contact-site-creator-btn):hover,
.app-polished .site-legal-footer :is(a, button.footer-contact-site-creator-btn):focus-visible{
	border-color:rgba(142,229,255,.98) !important;
	box-shadow:
		inset 0 0 0 1px rgba(235,251,255,.2),
		0 8px 18px rgba(2,10,24,.46),
		0 0 14px rgba(106,217,255,.44) !important;
}

/* Final footer centering lock */
.site-legal-footer,
.app-polished .site-legal-footer{
	width:100% !important;
	margin-left:auto !important;
	margin-right:auto !important;
	display:flex !important;
	flex-wrap:wrap !important;
	justify-content:center !important;
	align-items:center !important;
	gap:10px !important;
	text-align:center !important;
}

.site-legal-footer > a,
.app-polished .site-legal-footer > a,
.site-legal-footer a + a,
.app-polished .site-legal-footer a + a{
	margin:0 !important;
	flex:0 0 auto;
}

.site-legal-footer > button.footer-contact-site-creator-btn,
.app-polished .site-legal-footer > button.footer-contact-site-creator-btn,
.site-legal-footer button.footer-contact-site-creator-btn + :is(a, button.footer-contact-site-creator-btn),
.app-polished .site-legal-footer button.footer-contact-site-creator-btn + :is(a, button.footer-contact-site-creator-btn){
	margin:0 !important;
	flex:0 0 auto;
}

/* Footer centering hard-fallback (non-flex) */
.site-legal-footer,
.app-polished .site-legal-footer{
	display:block !important;
	text-align:center !important;
}

.site-legal-footer > a,
.app-polished .site-legal-footer > a,
.site-legal-footer a,
.app-polished .site-legal-footer a{
	display:inline-flex !important;
	float:none !important;
	vertical-align:middle;
	margin:0 5px !important;
}

.site-legal-footer > button.footer-contact-site-creator-btn,
.app-polished .site-legal-footer > button.footer-contact-site-creator-btn,
.site-legal-footer button.footer-contact-site-creator-btn,
.app-polished .site-legal-footer button.footer-contact-site-creator-btn{
	display:inline-flex !important;
	float:none !important;
	vertical-align:middle;
	margin:0 5px !important;
}

.site-legal-footer .site-legal-note,
.app-polished .site-legal-footer .site-legal-note{
	display:block !important;
	width:100%;
	margin-top:10px;
	text-align:center !important;
}

.onboarding-panel {
	max-width: 960px;
	margin: 0 auto;
	padding: 32px;
	border-radius: 24px;
	position: relative;
	overflow: hidden;
	isolation: isolate;

	background: rgba(20, 20, 20, 0.55);
	backdrop-filter: blur(28px) saturate(140%);
	border: 1px solid rgba(255, 180, 80, 0.25);

	box-shadow:
		0 0 40px rgba(255, 150, 50, 0.25),
		inset 0 0 60px rgba(255, 160, 60, 0.15);

	animation: panelFloat 6s ease-in-out infinite;
}

.onboarding-panel::before {
	content: "";
	position: absolute;
	inset: -4%;
	pointer-events: none;
	z-index: 1;

	background: radial-gradient(
		circle at center,
		rgba(255,255,255,0.04) 0%,
		rgba(255,255,255,0.01) 40%,
		transparent 70%
	);

	opacity: 0;
	animation: vignetteRipple 4.6s infinite;
}

.onboarding-panel::after {
	content: "";
	position: absolute;
	inset: 0;
	pointer-events: none;
	z-index: 3;

	background:
		repeating-linear-gradient(
			to bottom,
			rgba(210,235,255,0.05) 0px,
			rgba(210,235,255,0.05) 1px,
			transparent 1px,
			transparent 3px
		),
		linear-gradient(90deg,
			rgba(120,220,255,0.08) 0%,
			rgba(120,220,255,0.16) 18%,
			rgba(255,170,90,0.14) 50%,
			rgba(120,220,255,0.16) 82%,
			rgba(120,220,255,0.08) 100%),
		linear-gradient(0deg,
			transparent 0%,
			rgba(255,255,255,0.18) 46%,
			transparent 54%,
			transparent 100%);

	mix-blend-mode: screen;
	opacity: 0.16;

	animation: panelGlitch 2.2s infinite ease-in-out, panelScanDrift 1.4s infinite linear;
}

@keyframes panelFloat {
	0% { transform: translateY(0px); }
	50% { transform: translateY(-3px); }
	100% { transform: translateY(0px); }
}

@keyframes panelGlitch {
	0%, 100% {
		transform: translate3d(0, 0, 0) skewX(0deg);
		filter: hue-rotate(0deg) contrast(1) brightness(1);
		opacity: 0.12;
	}
	12% {
		transform: translate3d(0.3px, 0, 0);
		opacity: 0.14;
	}
	13% {
		transform: translate3d(-1.2px, 0, 0) skewX(0.18deg);
		filter: hue-rotate(6deg) contrast(1.1) brightness(1.08);
		opacity: 0.28;
	}
	14% {
		transform: translate3d(0, 0, 0) skewX(0deg);
		filter: hue-rotate(0deg) contrast(1) brightness(1);
		opacity: 0.13;
	}
	42% {
		transform: translate3d(0.4px, 0, 0);
		opacity: 0.14;
	}
	43% {
		transform: translate3d(-0.95px, 0, 0) skewX(-0.2deg);
		filter: hue-rotate(-7deg) contrast(1.09) brightness(1.06);
		opacity: 0.24;
	}
	44% {
		transform: translate3d(0, 0, 0) skewX(0deg);
		filter: hue-rotate(0deg) contrast(1) brightness(1);
		opacity: 0.13;
	}
	73% {
		transform: translate3d(0.35px, 0, 0);
		opacity: 0.14;
	}
	74% {
		transform: translate3d(-1.1px, 0, 0) skewX(0.16deg);
		filter: hue-rotate(8deg) contrast(1.1) brightness(1.08);
		opacity: 0.27;
	}
	75% {
		transform: translate3d(0, 0, 0) skewX(0deg);
		filter: hue-rotate(0deg) contrast(1) brightness(1);
		opacity: 0.12;
	}
}

@keyframes panelScanDrift {
	0% { background-position: 0 0, -20px 0, 0 -14px; }
	100% { background-position: 0 6px, 20px 0, 0 14px; }
}

@keyframes vignetteRipple {
	0%, 75%, 100% { opacity: 0; transform: scale(1); }
	78% { opacity: 0.18; transform: scale(1.03); }
	82% { opacity: 0.10; transform: scale(1.06); }
}

.onboarding-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 24px;
	position: relative;
	z-index: 2;
}

.onboarding-card {
	background: rgba(30, 60, 100, 0.55);
	border-radius: 18px;
	padding: 22px 18px;
	text-align: center;

	border: 1px solid rgba(120, 200, 255, 0.25);
	box-shadow:
		inset 0 0 20px rgba(0, 180, 255, 0.08),
		0 0 20px rgba(0, 200, 255, 0.12);

	transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.onboarding-card:hover {
	box-shadow:
		0 0 12px rgba(0, 255, 255, 0.35),
		inset 0 0 25px rgba(0, 255, 255, 0.25);
	transform: translateY(-2px);
}

.onboarding-card:active {
	transform: translateY(1px) scale(0.99);
	box-shadow:
		0 0 6px rgba(0, 255, 255, 0.25),
		inset 0 0 18px rgba(0, 255, 255, 0.35);
}

.card-icon {
	width: 42px;
	height: 42px;
	margin: 0 auto 10px;
	border-radius: 50%;
	border: 1px solid rgba(255, 170, 90, 0.68);
	display: flex;
	align-items: center;
	justify-content: center;
	color: rgba(255, 208, 156, 0.98);
	font-size: 1.55rem;
	line-height: 1;
	text-shadow:
		0 0 6px rgba(255,145,55,.78),
		0 0 14px rgba(255,132,43,.55);
	box-shadow:
		inset 0 0 10px rgba(255,160,70,.18),
		0 0 12px rgba(255,132,43,.22);
}

.icon-upload::before,
.icon-reward::before,
.icon-assign::before,
.icon-complete::before{
	display:flex;
	align-items:center;
	justify-content:center;
	width:100%;
	height:100%;
	line-height:1;
	font-weight:700;
	font-size:1.06em;
	color: rgba(255, 214, 168, 1);
	text-shadow:
		0 0 6px rgba(255,145,55,.86),
		0 0 16px rgba(255,132,43,.62),
		0 0 24px rgba(249,115,22,.38);
}

.icon-upload::before { content: "↑"; }
.icon-reward::before { content: "◎"; }
.icon-assign::before { content: "+"; }
.icon-complete::before { content: "✓"; }

.onboarding-card h3 {
	margin: 10px 0 12px;
	font-size: 1rem;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: #e9f3ff;
}

.onboarding-card p {
	margin: 4px 0;
	font-size: 0.9rem;
	line-height: 1.4;
	color: #d8e8f8;
}

.onboarding-card p strong,
.app-polished #homeHowItWorksModal .onboarding-card p strong{
	color: rgba(255, 214, 168, 1) !important;
	text-shadow:
		0 0 6px rgba(255,145,55,.86),
		0 0 16px rgba(255,132,43,.62),
		0 0 24px rgba(249,115,22,.38);
}

@media (max-width: 640px) {
	.onboarding-grid {
		grid-template-columns: 1fr;
	}
}

.app-polished #homeHowItWorksModal .onboarding-panel{
	animation: panelFloat 6s ease-in-out infinite !important;
}

.app-polished #homeHowItWorksModal .onboarding-panel::before{
	animation: vignetteRipple 4.6s infinite !important;
	opacity: 0.12 !important;
	mix-blend-mode: screen;
}

.app-polished #homeHowItWorksModal .onboarding-panel::after{
	animation: panelGlitch 2.2s infinite ease-in-out, panelScanDrift 1.4s infinite linear !important;
	mix-blend-mode: screen !important;
	opacity: 0.3 !important;
	filter: contrast(1.14) brightness(1.06) !important;
	background:
		repeating-linear-gradient(
			to bottom,
			rgba(220,240,255,0.09) 0px,
			rgba(220,240,255,0.09) 1px,
			transparent 1px,
			transparent 3px
		),
		linear-gradient(90deg,
			rgba(120,220,255,0.11) 0%,
			rgba(120,220,255,0.2) 18%,
			rgba(255,170,90,0.18) 50%,
			rgba(120,220,255,0.2) 82%,
			rgba(120,220,255,0.11) 100%),
		linear-gradient(0deg,
			transparent 0%,
			rgba(255,255,255,0.22) 46%,
			transparent 54%,
			transparent 100%) !important;
}

.app-polished #homeHowItWorksModal .onboarding-card{
	transition: transform 0.15s ease, box-shadow 0.15s ease !important;
}

.app-polished #homeHowItWorksModal .onboarding-card:hover{
	transform: translateY(-2px) !important;
}

.app-polished #homeHowItWorksModal .onboarding-card:active{
	transform: translateY(1px) scale(0.99) !important;
}

#homeHowItWorksModal.modal-overlay{
	align-items:flex-start;
	overflow-y:auto;
	overflow-x:hidden;
	-webkit-overflow-scrolling:touch;
}

#homeHowItWorksModal .modal-card{
	width:min(1120px,100%);
	margin:16px auto;
	max-height:calc(100dvh - 32px);
	overflow-y:auto;
	overflow-x:hidden;
	-webkit-overflow-scrolling:touch;
}

@media (max-width: 760px){
	#homeHowItWorksModal.modal-overlay{
		padding:10px;
	}

	#homeHowItWorksModal .modal-card{
		margin:0 auto;
		max-height:calc(100dvh - 20px);
		padding:14px 12px;
	}
}

/* Community Feedback text normalization (exclude inputs/pills/dropdowns) */
.app-polished .community-feedback-list,
.app-polished .community-feedback-item,
.app-polished .community-feedback-item h3,
.app-polished .community-feedback-item p,
.app-polished .community-feedback-meta,
.app-polished .community-feedback-helper,
.app-polished .community-composer-identity,
.app-polished .community-feedback-notice,
.app-polished .community-feedback-form label,
.app-polished #communityFeedbackForm,
.app-polished #communityFeedbackForm + .community-composer-identity,
.app-polished #communityFeedbackForm ~ .community-feedback-helper-wrap,
.app-polished #communityFeedbackForm ~ .community-feedback-notice{
	color:var(--space-card-ink) !important;
	text-shadow:0 0 10px rgba(131,223,255,.2) !important;
}

.app-polished .community-feedback-meta,
.app-polished .community-composer-identity,
.app-polished .community-feedback-helper{
	color:var(--space-card-muted) !important;
}

/* Keep requested exceptions unchanged */
.app-polished .community-feedback-form :is(input, textarea, select, option),
.app-polished .community-cloud-status,
.app-polished .community-cloud-status *,
.app-polished .community-feedback-item :is(.availability-pill, .required-pill, .small, .count),
.app-polished .community-feedback-item :is(.availability-pill *, .required-pill *){
	color:#000 !important;
	text-shadow:none !important;
}

/* Preserve status tones for notices and vote states */
.app-polished .community-feedback-notice.is-success{color:#dcfce7 !important;}
.app-polished .community-feedback-notice.is-error{color:#fde68a !important;}
.app-polished .community-vote-up.is-active{color:#66f0a8 !important;}
.app-polished .community-vote-down.is-active{color:#ff7e7e !important;}

/* Modal text normalization: keep non-input content on modal theme color */
.app-polished .modal-card #commitQtyInventoryValue,
.app-polished .modal-card .input-clear-btn,
.app-polished .modal-card .modal-inventory-tracker,
.app-polished .modal-card .modal-inventory-tracker strong,
.app-polished .modal-card #commitLocationSubtitle,
.app-polished .modal-card #moveInventorySubtitle,
.app-polished .modal-card #removeInventorySubtitle{
	color:var(--space-card-ink) !important;
	text-shadow:0 0 10px rgba(131,223,255,.2) !important;
}

/* Explicitly preserve user-requested exceptions */
.app-polished .modal-card :is(input, textarea, select, option),
.app-polished .modal-card :is(.small, .count, .availability-pill, .required-pill),
.app-polished .modal-card :is(.availability-pill *, .required-pill *){
	color:#000 !important;
	text-shadow:none !important;
}

/* Account modal inputs: keep readable light text to match modal typography */
.app-polished #accountModal .modal-card :is(input, textarea, select, option){
	color:var(--space-card-ink) !important;
	text-shadow:none !important;
}

.app-polished #accountModal .modal-card :is(input, textarea)::placeholder{
	color:var(--space-card-muted) !important;
}

.app-polished :is(#commitLocationModal, #moveInventoryModal, #removeInventoryModal) .modal-card :is(.small.count, .count, .small){
	color:var(--space-card-ink) !important;
	text-shadow:0 0 10px rgba(131,223,255,.2) !important;
}

.app-polished .modal-card :is(#commitQtyInventoryValue, #moveInventoryCurrentValue, #removeInventoryCurrentValue){
	color:var(--space-card-ink) !important;
	text-shadow:0 0 10px rgba(131,223,255,.2) !important;
}

.app-polished .modal-card :is(#commitLocationInput, #moveInventoryFromInput, #moveInventoryToInput, #removeInventoryLocationInput){
	color:var(--space-card-ink) !important;
	text-shadow:none !important;
}

.app-polished .modal-card :is(#commitQtyInput, #moveInventoryQtyInput, #removeInventoryQtyInput){
	color:var(--space-card-ink) !important;
	text-shadow:none !important;
}

.app-polished .modal-card :is(#commitLocationInput, #moveInventoryFromInput, #moveInventoryToInput, #removeInventoryLocationInput)::placeholder{
	color:var(--space-card-muted) !important;
}

.app-polished #commitLocationConfirm.commit-action-remove{
	border-color:rgba(255,126,126,.86) !important;
	background:
		radial-gradient(130% 120% at 100% 0%, rgba(255,126,126,.24), rgba(255,126,126,0) 52%),
		linear-gradient(155deg, rgba(52,14,18,.82), rgba(38,11,14,.8)) !important;
	box-shadow:
		inset 0 0 0 1px rgba(255,223,223,.16),
		0 6px 16px rgba(23,6,8,.36),
		0 0 12px rgba(255,126,126,.34) !important;
}

/* Global modal viewport behavior: keep popups usable on desktop + mobile */
.modal-overlay,
.app-polished .modal-overlay{
	overflow-y:auto;
	overflow-x:hidden;
	-webkit-overflow-scrolling:touch;
}

.modal-overlay.is-open,
.app-polished .modal-overlay.is-open{
	align-items:flex-start;
}

.modal-card,
.app-polished .modal-card{
	margin:16px auto;
}

@media (max-width: 760px){
	.modal-overlay,
	.app-polished .modal-overlay{
		padding:10px;
	}

	.modal-card,
	.app-polished .modal-card{
		margin:0 auto;
	}
}

/* Modal sizing profiles by page/context */
.required-items-page .modal-card,
.add-to-inventory-preview-page .modal-card,
.app-polished .required-items-page .modal-card,
.app-polished .add-to-inventory-preview-page .modal-card{
	width:min(860px,calc(100vw - 20px)) !important;
	max-height:calc(100dvh - 32px);
	overflow-y:auto;
	overflow-x:hidden;
}

.inventory-quick-view-page .modal-card,
.app-polished .inventory-quick-view-page .modal-card{
	width:min(780px,calc(100vw - 20px)) !important;
	max-height:calc(100dvh - 32px);
	overflow-y:auto;
	overflow-x:hidden;
}

#accountModal .modal-card,
.app-polished #accountModal .modal-card{
	width:min(760px,calc(100vw - 20px)) !important;
	max-height:calc(100dvh - 32px);
	overflow-y:auto;
	overflow-x:hidden;
}

#moveInventoryModal .modal-card,
#removeInventoryModal .modal-card,
#commitLocationModal .modal-card,
.app-polished #moveInventoryModal .modal-card,
.app-polished #removeInventoryModal .modal-card,
.app-polished #commitLocationModal .modal-card{
	max-width:min(780px,100%);
}

@media (max-width: 760px){
	.required-items-page .modal-card,
	.add-to-inventory-preview-page .modal-card,
	.inventory-quick-view-page .modal-card,
	#accountModal .modal-card,
	#moveInventoryModal .modal-card,
	#removeInventoryModal .modal-card,
	#commitLocationModal .modal-card,
	.app-polished .required-items-page .modal-card,
	.app-polished .add-to-inventory-preview-page .modal-card,
	.app-polished .inventory-quick-view-page .modal-card,
	.app-polished #accountModal .modal-card,
	.app-polished #moveInventoryModal .modal-card,
	.app-polished #removeInventoryModal .modal-card,
	.app-polished #commitLocationModal .modal-card{
		width:min(100%,calc(100vw - 20px)) !important;
		max-height:calc(100dvh - 20px);
		padding:14px 12px;
	}
}

@media (max-width: 480px){
	.modal-card,
	.app-polished .modal-card{
		padding:12px 10px;
	}

	.modal-card h3,
	.app-polished .modal-card h3{
		font-size:1.06rem;
		line-height:1.25;
		margin-bottom:8px;
	}

	.modal-field,
	.app-polished .modal-field,
	.app-polished .modal-card > .modal-field{
		padding:0 8px 6px;
		gap:8px;
		margin-top:10px;
	}

	.modal-actions,
	.app-polished .modal-actions{
		gap:8px;
		margin-top:12px;
		flex-wrap:wrap;
	}

	#homeHowItWorksModal .onboarding-panel,
	.app-polished #homeHowItWorksModal .onboarding-panel{
		padding:12px;
		border-radius:14px;
	}

	#homeHowItWorksModal .onboarding-grid,
	.app-polished #homeHowItWorksModal .onboarding-grid{
		gap:10px;
	}

	#homeHowItWorksModal .onboarding-card,
	.app-polished #homeHowItWorksModal .onboarding-card{
		padding:12px 10px;
		border-radius:12px;
	}

	#homeHowItWorksModal .onboarding-card h3,
	.app-polished #homeHowItWorksModal .onboarding-card h3{
		font-size:.88rem;
		letter-spacing:.02em;
		margin:6px 0 8px;
	}

	#homeHowItWorksModal .onboarding-card p,
	.app-polished #homeHowItWorksModal .onboarding-card p{
		font-size:.84rem;
		line-height:1.34;
		margin:3px 0;
	}

	#homeHowItWorksModal .card-icon,
	.app-polished #homeHowItWorksModal .card-icon{
		width:34px;
		height:34px;
		font-size:1.2rem;
		margin:0 auto 6px;
	}
}

/* Unified non-account card shell: Account Earned Rewards 2:3 image panel + overlay UI */
body.app-polished:not(.account-page) :is(
	.items-container .item,
	.group-items .item,
	.totals-grid .item,
	.completion-grid .item,
	#uniqueItems .item,
	#uniqueItemTotals .item,
	#stationInventoryRows .item,
	#rewardSections .reward-card,
	#activeRewards .reward-card
){
	position:relative !important;
	overflow:hidden !important;
	isolation:isolate !important;
	display:block !important;
	aspect-ratio:2 / 3;
	padding:10px !important;
	border-radius:8px !important;
	border:1px solid rgba(255,255,255,.05) !important;
	background:rgba(20,40,60,.55) !important;
	box-shadow:0 0 0 1px rgba(255,255,255,.03) inset !important;
	transition:.2s !important;
}

body.app-polished:not(.account-page) :is(
	.items-container .item,
	.group-items .item,
	.totals-grid .item,
	.completion-grid .item,
	#uniqueItems .item,
	#uniqueItemTotals .item,
	#stationInventoryRows .item,
	#rewardSections .reward-card,
	#activeRewards .reward-card
):hover{
	background:rgba(30,60,90,.65) !important;
	box-shadow:0 0 12px rgba(0,255,255,.25) !important;
}

body.app-polished:not(.account-page) :is(
	.items-container .item,
	.group-items .item,
	.totals-grid .item,
	.completion-grid .item,
	#uniqueItems .item,
	#uniqueItemTotals .item,
	#stationInventoryRows .item,
	#rewardSections .reward-card,
	#activeRewards .reward-card
)::before{
	content:"";
	position:absolute;
	inset:10px;
	border-radius:8px;
	border:1px solid rgba(255,255,255,.08);
	background:
		linear-gradient(180deg, rgba(3,11,19,.78) 0%, rgba(3,11,19,.22) 46%, rgba(3,11,19,.82) 100%),
		radial-gradient(130% 120% at 100% 0%, rgba(80,190,255,.24), rgba(80,190,255,0) 52%),
		radial-gradient(130% 110% at 0% 100%, rgba(45,115,180,.24), rgba(45,115,180,0) 56%),
		linear-gradient(165deg, rgba(8,22,38,.88), rgba(10,26,44,.84));
	pointer-events:none;
	z-index:0;
	animation:none !important;
	transform:none !important;
}

body.app-polished:not(.account-page) :is(
	.items-container .item,
	.group-items .item,
	.totals-grid .item,
	.completion-grid .item,
	#uniqueItems .item,
	#uniqueItemTotals .item,
	#stationInventoryRows .item,
	#rewardSections .reward-card,
	#activeRewards .reward-card
)::after{
	content:"";
	position:absolute;
	inset:10px;
	border-radius:8px;
	pointer-events:none;
	z-index:0;
	background:
		linear-gradient(180deg, rgba(3,11,19,.76) 0%, rgba(3,11,19,.12) 24%, rgba(3,11,19,.1) 62%, rgba(3,11,19,.8) 100%),
		linear-gradient(180deg, rgba(255,255,255,.08) 0%, rgba(255,255,255,0) 20%);
	animation:none !important;
	transform:none !important;
}

body.app-polished:not(.account-page) :is(
	.items-container .item,
	.group-items .item,
	.totals-grid .item,
	.completion-grid .item,
	#uniqueItems .item,
	#uniqueItemTotals .item,
	#stationInventoryRows .item,
	#rewardSections .reward-card,
	#activeRewards .reward-card
) > *{
	position:relative;
	z-index:1;
}

body.app-polished:not(.account-page) :is(
	.items-container .item,
	.group-items .item,
	.totals-grid .item,
	.completion-grid .item,
	#uniqueItems .item,
	#uniqueItemTotals .item,
	#stationInventoryRows .item,
	#rewardSections .reward-card,
	#activeRewards .reward-card
) > .meta,
body.app-polished:not(.account-page) :is(
	.items-container .item,
	.group-items .item,
	.totals-grid .item,
	.completion-grid .item,
	#uniqueItems .item,
	#uniqueItemTotals .item,
	#stationInventoryRows .item,
	#rewardSections .reward-card,
	#activeRewards .reward-card
) > .reward-card-meta{
	position:absolute;
	top:16px;
	left:16px;
	right:16px;
	margin:0 !important;
	padding:6px 8px;
	text-align:center;
	align-items:center !important;
	background:transparent !important;
	border-radius:8px;
	pointer-events:none;
}

body.app-polished:not(.account-page) :is(
	.items-container .item,
	.group-items .item,
	.totals-grid .item,
	.completion-grid .item,
	#uniqueItems .item,
	#uniqueItemTotals .item,
	#stationInventoryRows .item,
	#rewardSections .reward-card,
	#activeRewards .reward-card
) :is(.item-name, .reward-card-title, .reward-entry-name){
	text-align:center !important;
	display:block;
	width:100%;
	margin-left:auto;
	margin-right:auto;
}

body.app-polished:not(.account-page) :is(
	.items-container .item,
	.group-items .item,
	.totals-grid .item,
	.completion-grid .item,
	#uniqueItems .item,
	#uniqueItemTotals .item,
	#stationInventoryRows .item,
	#rewardSections .reward-card,
	#activeRewards .reward-card
) > .meta.flexcol{
	align-items:center !important;
	text-align:center !important;
}

body.app-polished:not(.account-page) :is(
	.items-container .item,
	.group-items .item,
	.totals-grid .item,
	.completion-grid .item,
	#uniqueItems .item,
	#uniqueItemTotals .item,
	#stationInventoryRows .item,
	#rewardSections .reward-card,
	#activeRewards .reward-card
) > .controls,
body.app-polished:not(.account-page) :is(
	.items-container .item,
	.group-items .item,
	.totals-grid .item,
	.completion-grid .item,
	#uniqueItems .item,
	#uniqueItemTotals .item,
	#stationInventoryRows .item,
	#rewardSections .reward-card,
	#activeRewards .reward-card
) > .requirements,
body.app-polished:not(.account-page) :is(#rewardSections .reward-card, #activeRewards .reward-card) .active-progress-wrap{
	position:absolute;
	left:16px;
	right:16px;
	bottom:16px;
	margin:0 !important;
	padding:8px;
	max-height:42%;
	overflow:auto;
	background:transparent !important;
	border:none !important;
	box-shadow:none !important;
	border-radius:8px;
}

body.app-polished:not(.account-page) :is(#rewardSections .reward-card, #activeRewards .reward-card) .reward-card-top-actions{
	position:absolute;
	top:16px;
	right:16px;
	z-index:3;
}

body.app-polished:not(.account-page) :is(#rewardSections .reward-card, #activeRewards .reward-card) .reward-card-complete-float{
	position:absolute;
	bottom:16px;
	right:16px;
	z-index:3;
}

body.app-polished:not(.account-page) :is(#rewardSections .reward-card, #activeRewards .reward-card) > .controls{
	display:flex;
	flex-direction:column-reverse;
	align-items:center;
	justify-content:flex-end;
	gap:8px;
	text-align:center;
}

body.app-polished:not(.account-page) :is(#rewardSections .reward-card, #activeRewards .reward-card) > .controls .btn-secondary{
	align-self:center;
}

body.app-polished:not(.account-page) :is(#rewardSections .reward-card, #activeRewards .reward-card) > .controls .reward-inventory-status{
	display:block;
	width:100%;
	text-align:center;
}

/* Reset Options close X: force red neon top-right on modal */
#resetOptionsModal .modal-card{
	position:relative !important;
}

#resetOptionsModal .modal-card #resetOptionsCloseBtn,
#resetOptionsModal .reset-options-close-btn{
	position:absolute !important;
	top:10px !important;
	right:10px !important;
	left:auto !important;
	bottom:auto !important;
	width:34px !important;
	height:34px !important;
	min-width:34px !important;
	min-height:34px !important;
	padding:0 !important;
	margin:0 !important;
	display:inline-flex !important;
	align-items:center !important;
	justify-content:center !important;
	line-height:1 !important;
	font-size:1.05rem !important;
	font-weight:900 !important;
	border-radius:999px !important;
	border:1px solid #ff4d4d !important;
	background:rgba(120,0,0,.28) !important;
	color:#ff9a9a !important;
	text-shadow:0 0 10px rgba(255,120,120,.95), 0 0 18px rgba(255,60,60,.78) !important;
	box-shadow:0 0 12px rgba(255,40,40,.62), inset 0 0 10px rgba(255,40,40,.32) !important;
	z-index:999 !important;
	transform:none !important;
	cursor:pointer;
}

#resetOptionsModal .modal-card #resetOptionsCloseBtn:hover,
#resetOptionsModal .modal-card #resetOptionsCloseBtn:focus-visible,
#resetOptionsModal .reset-options-close-btn:hover,
#resetOptionsModal .reset-options-close-btn:focus-visible{
	border-color:#ffd2d2 !important;
	background:rgba(160,0,0,.4) !important;
	color:#ffe0e0 !important;
	text-shadow:0 0 12px rgba(255,188,188,.98), 0 0 24px rgba(255,90,90,.9) !important;
	box-shadow:0 0 16px rgba(255,70,70,.82), inset 0 0 12px rgba(255,70,70,.42) !important;
	outline:none;
}

.required-items-page .group-items .item > .controls,
.required-items-page .items-container .item > .controls,
.required-items-page #uniqueItems .item > .controls{
	display:flex !important;
	flex-direction:column !important;
	align-items:center !important;
	justify-content:flex-end !important;
	text-align:center !important;
	left:10px !important;
	right:10px !important;
	width:auto !important;
	padding-left:0 !important;
	padding-right:0 !important;
	margin-left:0 !important;
	margin-right:0 !important;
	gap:4px !important;
	box-sizing:border-box !important;
}

.required-items-page .group-items .item > .controls > div,
.required-items-page .items-container .item > .controls > div,
.required-items-page #uniqueItems .item > .controls > div{
	display:flex !important;
	justify-content:center !important;
	align-items:center !important;
	width:100% !important;
}

.required-items-page .group-items .item > .controls > .muted,
.required-items-page .items-container .item > .controls > .muted,
.required-items-page #uniqueItems .item > .controls > .muted{
	display:block !important;
	width:100% !important;
	text-align:center !important;
	margin-left:0 !important;
	margin-right:0 !important;
}

/* Final global text-color lock: remove black text outside title/textbox exceptions */
body.app-polished :where(*)
	:not(.site-header):not(.site-header *)
	:not(.neon-section-header):not(.neon-section-header *)
	:not(h1):not(h1 *)
	:not(input):not(textarea):not(select):not(option)
	:not(.available-ok):not(.available-ok *)
	:not(.available-low):not(.available-low *)
	:not(.reward-inventory-status-red):not(.reward-inventory-status-red *)
	:not(.reward-inventory-status-yellow):not(.reward-inventory-status-yellow *)
	:not(.reward-inventory-status-green):not(.reward-inventory-status-green *){
	color:var(--space-card-ink, #d7ecff) !important;
}

body.app-polished:not(.account-page) :is(
	.items-container .item,
	.group-items .item,
	.totals-grid .item,
	.completion-grid .item,
	#uniqueItems .item,
	#uniqueItemTotals .item,
	#stationInventoryRows .item,
	#rewardSections .reward-card,
	#activeRewards .reward-card
) :is(.small, .count, .muted.small, .required-pill, .availability-pill, .active-progress-track, .active-progress-fill){
	background:transparent !important;
	border-color:transparent !important;
	box-shadow:none !important;
}

body.app-polished:not(.account-page) :is(
	.items-container .item,
	.group-items .item,
	.totals-grid .item,
	.completion-grid .item,
	#uniqueItems .item,
	#uniqueItemTotals .item,
	#stationInventoryRows .item,
	#rewardSections .reward-card,
	#activeRewards .reward-card
) .controls :is(button, .btn-secondary){
	background:transparent !important;
	box-shadow:none !important;
}

/* Final header tube style: transparent fill + subtle orange neon outline */
body.app-polished .site-header,
body.app-polished .site-header :is(.site-header-prefix-line, .site-header-presented-line, .site-header-presented-name){
	background:none !important;
	color:transparent !important;
	filter:none !important;
	text-shadow:none !important;
}

body.app-polished .site-header :is(
	.neon-char,
	.site-header-presented-name-char,
	.neon-glow-bright,
	.neon-glow-normal,
	.neon-glow-dim,
	.neon-glow-hot,
	.neon-glow-cool
){
	color:transparent !important;
	-webkit-text-stroke:1.15px rgba(255,168,92,.88) !important;
	text-shadow:
		0 0 5px rgba(255,170,92,.3),
		0 0 10px rgba(255,134,43,.2) !important;
	filter:none !important;
}

body.app-polished .site-header .neon-char.neon-off,
body.app-polished .site-header .site-header-presented-name-char.neon-off{
	opacity:var(--neon-off-opacity, .34);
	filter:brightness(var(--neon-off-brightness, .45)) !important;
	text-shadow:
		0 0 2px rgba(255,170,92,var(--neon-off-glow-alpha, .14)),
		0 0 5px rgba(255,134,43,var(--neon-off-glow-alpha, .1)) !important;
}

body.app-polished .site-header .site-header-prefix-line .neon-char:not(.neon-space),
body.app-polished .site-header .site-header-presented-line .neon-char:not(.neon-space),
body.app-polished .site-header .site-header-presented-name .site-header-presented-name-char:not(.neon-space){
	color:transparent !important;
	-webkit-text-stroke:1.15px rgba(255,168,92,.88) !important;
	text-shadow:
		0 0 5px rgba(255,170,92,.3),
		0 0 10px rgba(255,134,43,.2) !important;
	filter:none !important;
}

/* Final page-title style: match main header treatment with blue neon */
body.app-polished .neon-section-header,
body.app-polished .neon-section-header :is(.neon-char, .neon-glow-bright, .neon-glow-normal, .neon-glow-dim, .neon-glow-hot, .neon-glow-cool){
	background:none !important;
	color:transparent !important;
	filter:none !important;
	text-shadow:none !important;
}

body.app-polished .neon-section-header :is(.neon-char, .neon-glow-bright, .neon-glow-normal, .neon-glow-dim, .neon-glow-hot, .neon-glow-cool){
	-webkit-text-stroke:1.15px rgba(142,226,255,.9) !important;
	text-shadow:
		0 0 5px rgba(126,221,255,.34),
		0 0 10px rgba(87,188,255,.25) !important;
	filter:none !important;
}

body.app-polished .neon-section-header .neon-char.neon-off{
	opacity:var(--neon-off-opacity, .34);
	filter:brightness(var(--neon-off-brightness, .45)) !important;
	text-shadow:
		0 0 2px rgba(126,221,255,var(--neon-off-glow-alpha, .14)),
		0 0 5px rgba(87,188,255,var(--neon-off-glow-alpha, .1)) !important;
}

body.app-polished .page-inline-notice,
body.app-polished .page-inline-notice a{
	margin: -2px 0 16px;
	font-size: clamp(1rem, 2.3vw, 1.25rem);
	font-weight: 800;
	letter-spacing: .08em;
	text-transform: uppercase;
	line-height: 1.35;
	text-align: center;
	color: var(--glass-red) !important;
	text-shadow:
		0 0 6px color-mix(in srgb, var(--glass-red) 75%, transparent),
		0 0 14px color-mix(in srgb, var(--glass-red) 55%, transparent) !important;
}

body.app-polished .page-inline-notice a:hover,
body.app-polished .page-inline-notice a:focus-visible{
	color: #ffd2d2 !important;
}

/* Final reward-card alignment pass: center all reward text and UI buttons */
body.app-polished :is(#rewardSections .reward-card, #activeRewards .reward-card){
	text-align:center !important;
}

body.app-polished :is(#rewardSections .reward-card, #activeRewards .reward-card) :is(.meta, .reward-card-meta){
	align-items:center !important;
	text-align:center !important;
}

body.app-polished :is(#rewardSections .reward-card, #activeRewards .reward-card) .controls{
	align-items:center !important;
	justify-content:center !important;
	text-align:center !important;
}

body.app-polished :is(#rewardSections .reward-card, #activeRewards .reward-card) .controls > div{
	justify-content:center !important;
	align-items:center !important;
	width:100%;
}

body.app-polished :is(#rewardSections .reward-card, #activeRewards .reward-card) :is(button, .btn-secondary){
	text-align:center !important;
	justify-content:center !important;
	align-items:center !important;
	margin-left:auto;
	margin-right:auto;
}

body.app-polished :is(#rewardSections .reward-card, #activeRewards .reward-card) .requirements .muted.small{
	text-align:center !important;
	justify-items:center !important;
}

body.app-polished :is(#rewardSections .reward-card, #activeRewards .reward-card) .requirements :is(.required-pill, .availability-pill){
	justify-self:center !important;
	align-self:center !important;
}

body.app-polished :is(#rewardSections .reward-card, #activeRewards .reward-card) .reward-card-top-actions{
	left:50% !important;
	right:auto !important;
	transform:translateX(-50%) !important;
	justify-content:center !important;
}

body.app-polished :is(#rewardSections .reward-card, #activeRewards .reward-card) .reward-card-complete-float{
	left:50% !important;
	right:auto !important;
	transform:translateX(-50%) !important;
}

body.app-polished :is(#rewardSections .reward-card, #activeRewards .reward-card) > :is(.meta, .reward-card-meta){
	left:50% !important;
	right:auto !important;
	transform:translateX(-50%) !important;
	width:calc(100% - 32px) !important;
	max-width:calc(100% - 32px) !important;
	margin:0 !important;
	padding-left:8px !important;
	padding-right:8px !important;
	box-sizing:border-box !important;
}

body.app-polished :is(#rewardSections .reward-card, #activeRewards .reward-card) :is(.controls, .requirements, .active-progress-wrap){
	left:50% !important;
	right:auto !important;
	transform:translateX(-50%) !important;
	width:calc(100% - 32px) !important;
	max-width:calc(100% - 32px) !important;
	margin:0 !important;
	padding-left:8px !important;
	padding-right:8px !important;
	box-sizing:border-box !important;
}

body.app-polished :is(#rewardSections .reward-card, #activeRewards .reward-card) .reward-card-title{
	left:50% !important;
	right:auto !important;
	transform:translateX(-50%) !important;
	width:calc(100% - 28px) !important;
	max-width:calc(100% - 28px) !important;
	margin:0 !important;
	text-align:center !important;
	box-sizing:border-box !important;
}

body.app-polished :is(#rewardSections .reward-card, #activeRewards .reward-card) .reward-inventory-status.reward-inventory-status-red{
	color:#b91c1c !important;
}

body.app-polished :is(#rewardSections .reward-card, #activeRewards .reward-card) .reward-inventory-status.reward-inventory-status-yellow{
	color:#f59e0b !important;
}

body.app-polished :is(#rewardSections .reward-card, #activeRewards .reward-card) .reward-inventory-status.reward-inventory-status-green{
	color:#047857 !important;
}

/* Final corner-safe outline ring pass: keeps rounded-corner borders visible on all pages */
body.app-polished :is(
	.container > section,
	#uniqueItemTotals section,
	#stationInventoryRows section,
	.summary-card,
	.item,
	.req-card,
	.modal-card,
	.modal-field,
	.modal-input-wrap,
	.account-profile-card,
	.account-page .module,
	.account-page .ship-card,
	.account-page .earned-reward-card,
	.community-feedback-item,
	.onboarding-card,
	.empty-state-card
){
	position:relative !important;
	overflow:hidden !important;
	clip-path:none !important;
}

body.app-polished :is(
	.container > section,
	#uniqueItemTotals section,
	#stationInventoryRows section,
	.summary-card,
	.item,
	.req-card,
	.modal-card,
	.modal-field,
	.modal-input-wrap,
	.account-profile-card,
	.account-page .module,
	.account-page .ship-card,
	.account-page .earned-reward-card,
	.community-feedback-item,
	.onboarding-card,
	.empty-state-card
)::after{
	content:"" !important;
	position:absolute !important;
	inset:0 !important;
	border-radius:inherit !important;
	pointer-events:none !important;
	z-index:3 !important;
	border:1px solid rgba(126, 236, 248, .30) !important;
	box-shadow:inset 0 0 0 1px rgba(182, 247, 255, .10), 0 0 8px rgba(88, 218, 232, .10) !important;
	background:none !important;
	mix-blend-mode:normal !important;
	transform:none !important;
	animation:none !important;
}

/* Final card outline pass: subtle aqua neon edge with consistent rounded corners */
body.app-polished :is(
	.summary-card,
	.item,
	.req-card,
	.account-profile-card,
	.account-page .module,
	.account-page .ship-card,
	.account-page .earned-reward-card,
	.community-feedback-item,
	.onboarding-card,
	.empty-state-card
){
	border-radius:var(--surface-radius, 16px) !important;
	overflow:hidden !important;
	border:1px solid rgba(122, 236, 248, .30) !important;
	background-clip:padding-box !important;
	box-shadow:
		inset 0 0 0 1px rgba(181, 246, 255, .14),
		0 0 0 1px rgba(122, 236, 248, .14),
		0 8px 22px rgba(5, 24, 38, .34),
		0 0 10px rgba(76, 214, 230, .12) !important;
}

body.app-polished :is(
	.summary-card,
	.item,
	.req-card,
	.account-profile-card,
	.account-page .module,
	.account-page .ship-card,
	.account-page .earned-reward-card,
	.community-feedback-item,
	.onboarding-card,
	.empty-state-card
):hover{
	border-color:rgba(141, 244, 255, .38) !important;
	box-shadow:
		inset 0 0 0 1px rgba(194, 250, 255, .18),
		0 0 0 1px rgba(141, 244, 255, .18),
		0 10px 24px rgba(5, 24, 38, .38),
		0 0 12px rgba(90, 224, 240, .16) !important;
}

body.app-polished .site-header{
	font-size:calc(clamp(42px, 6vw, 58px) * 1.2) !important;
}

body.app-polished .completion-grid .item.linked-complete-target{
	border-color:rgba(154, 238, 255, .92) !important;
	box-shadow:
		inset 0 0 0 1px rgba(214, 251, 255, .35),
		0 0 0 1px rgba(154, 238, 255, .62),
		0 0 22px rgba(118, 231, 255, .35),
		0 10px 24px rgba(5, 24, 38, .42) !important;
}

body.app-polished :is(#activeRewards, #totals) .completion-grid .empty-state-card{
	aspect-ratio:auto !important;
	min-height:0 !important;
	height:auto !important;
	max-height:none !important;
	padding:12px 14px !important;
	align-items:center !important;
	justify-content:center !important;
}

body.app-polished .site-header .site-header-presented-name .site-header-presented-name-char:not(.neon-space){
	color:transparent !important;
	-webkit-text-stroke:1.18px rgba(74, 222, 128, .92) !important;
	text-shadow:
		0 0 6px rgba(74, 222, 128, .45),
		0 0 12px rgba(34, 197, 94, .3) !important;
}

/* Active Rewards should use dedicated full-width auto-height cards (no 2:3 overlay shell) */
body.app-polished #activeRewards .items-container,
body.app-polished #activeRewards .completion-grid{
	grid-template-columns:minmax(0, 1fr) !important;
}

body.app-polished #activeRewards .reward-card{
	aspect-ratio:auto !important;
	width:100% !important;
	height:auto !important;
	min-height:0 !important;
	display:flex !important;
	flex-direction:column !important;
	align-items:stretch !important;
	justify-content:flex-start !important;
	gap:8px !important;
	padding:10px 12px 12px !important;
	padding-top:92px !important;
}

body.app-polished #activeRewards .reward-card::before,
body.app-polished #activeRewards .reward-card::after{
	inset:0 !important;
	border:none !important;
	background:none !important;
	box-shadow:none !important;
	animation:none !important;
	transform:none !important;
}

body.app-polished #activeRewards .reward-card > :is(.meta, .reward-card-meta){
	left:auto !important;
	right:auto !important;
	transform:none !important;
	width:100% !important;
	max-width:none !important;
	padding:0 !important;
	margin:0 !important;
	background:transparent !important;
	text-align:center !important;
	align-items:center !important;
}

body.app-polished #activeRewards .reward-card > :is(.controls, .requirements),
body.app-polished #activeRewards .reward-card .active-progress-wrap{
	position:static !important;
	left:auto !important;
	right:auto !important;
	bottom:auto !important;
	transform:none !important;
	width:100% !important;
	max-width:none !important;
	max-height:none !important;
	overflow:visible !important;
	margin:0 !important;
	padding:0 !important;
	background:transparent !important;
	text-align:center !important;
}

body.app-polished #activeRewards .reward-card .reward-card-top-actions,
body.app-polished #activeRewards .reward-card .reward-card-complete-float{
	position:static !important;
	top:auto !important;
	right:auto !important;
	left:auto !important;
	bottom:auto !important;
	transform:none !important;
	margin:0 !important;
	align-self:center;
}

/* Reward nickname/watermark placement: watermark line restored above nickname */
body.app-polished :is(#rewardSections .reward-card, #activeRewards .reward-card) .reward-card-title{
	top:8px !important;
}

body.app-polished :is(#rewardSections .reward-card, #activeRewards .reward-card) .reward-card-mission-watermark{
	display:block !important;
	visibility:visible !important;
	opacity:.96 !important;
	left:50% !important;
	right:auto !important;
	transform:translateX(-50%) !important;
	width:calc(100% - 28px) !important;
	max-width:calc(100% - 28px) !important;
	top:calc(56px + 1.2em) !important;
	text-align:center !important;
	z-index:4 !important;
	font-size:.92rem !important;
	line-height:1.2 !important;
}

/* Active Rewards legacy restore (pre 2:3 card shell) */
body.app-polished #activeRewards .reward-card{
	aspect-ratio:auto !important;
	display:block !important;
	width:100% !important;
	height:auto !important;
	min-height:196px !important;
	padding-top:86px !important;
	padding-right:10px !important;
	padding-bottom:10px !important;
	padding-left:10px !important;
	gap:0 !important;
	text-align:initial !important;
}

body.app-polished #activeRewards .reward-card > .meta.reward-card-meta{
	position:static !important;
	min-height:0 !important;
	margin:0 !important;
	padding:0 !important;
	display:block !important;
	left:auto !important;
	right:auto !important;
	transform:none !important;
	width:auto !important;
	max-width:none !important;
	background:transparent !important;
	align-items:flex-start !important;
	text-align:left !important;
	z-index:2 !important;
}

body.app-polished #activeRewards .reward-card .reward-card-title{
	position:absolute !important;
	top:8px !important;
	left:12px !important;
	right:12px !important;
	width:auto !important;
	max-width:none !important;
	transform:none !important;
	margin:0 !important;
	text-align:center !important;
	z-index:4 !important;
}

body.app-polished #activeRewards .reward-card .reward-card-mission-watermark{
	display:-webkit-box !important;
	visibility:visible !important;
	opacity:.9 !important;
	position:absolute !important;
	top:56px !important;
	left:12px !important;
	right:12px !important;
	width:auto !important;
	max-width:none !important;
	transform:none !important;
	font-size:1.18rem !important;
	line-height:1.2 !important;
	text-align:center !important;
	z-index:1 !important;
}

body.app-polished #activeRewards .reward-card > :is(.controls, .requirements),
body.app-polished #activeRewards .reward-card .active-progress-wrap{
	position:relative !important;
	left:auto !important;
	right:auto !important;
	bottom:auto !important;
	transform:none !important;
	width:100% !important;
	max-width:none !important;
	max-height:none !important;
	overflow:visible !important;
	margin:0 !important;
	padding:0 !important;
	background:transparent !important;
	text-align:left !important;
	z-index:3 !important;
}

body.app-polished #activeRewards .reward-card .reward-card-top-actions{
	position:absolute !important;
	top:8px !important;
	right:8px !important;
	left:auto !important;
	bottom:auto !important;
	transform:none !important;
	margin:0 !important;
	display:flex !important;
	align-items:center !important;
	gap:8px !important;
	z-index:3 !important;
}

body.app-polished #activeRewards .reward-card .reward-card-complete-float{
	position:absolute !important;
	right:8px !important;
	top:52px !important;
	left:auto !important;
	bottom:auto !important;
	transform:none !important;
	margin:0 !important;
	z-index:2 !important;
}

body.app-polished #activeRewards .reward-card[data-collapsed="true"]{
	min-height:0 !important;
	padding-top:64px !important;
}

body.app-polished #activeRewards .reward-card[data-collapsed="true"] .reward-card-mission-watermark{
	top:52px !important;
}

body.app-polished #activeRewards .reward-card[data-collapsed="true"] .active-progress-wrap{
	margin-top:4px !important;
}

/* Active Rewards expansion direction lock: grow downward only */
body.app-polished #activeRewards .reward-card{
	overflow:visible !important;
	padding-bottom:12px !important;
}

body.app-polished #activeRewards .reward-card :is(.active-progress-wrap, .requirements){
	position:static !important;
	left:auto !important;
	right:auto !important;
	bottom:auto !important;
	inset:auto !important;
	transform:none !important;
	max-height:none !important;
	overflow:visible !important;
	width:100% !important;
	margin-top:8px !important;
	margin-bottom:0 !important;
	padding:0 !important;
}

/* Hard in-flow stack for Active Rewards: no upward reflow when expanding */
body.app-polished #activeRewards .reward-card{
	display:flex !important;
	flex-direction:column !important;
	align-items:stretch !important;
	justify-content:flex-start !important;
	padding-top:10px !important;
	min-height:0 !important;
	gap:8px !important;
}

body.app-polished #activeRewards .reward-card .reward-card-toggle,
body.app-polished #activeRewards .reward-card .reward-card-top-actions,
body.app-polished #activeRewards .reward-card .reward-card-complete-float,
body.app-polished #activeRewards .reward-card .reward-card-title,
body.app-polished #activeRewards .reward-card .reward-card-mission-watermark{
	position:static !important;
	left:auto !important;
	right:auto !important;
	top:auto !important;
	bottom:auto !important;
	transform:none !important;
	width:100% !important;
	max-width:none !important;
	margin:0 !important;
	text-align:center !important;
}

body.app-polished #activeRewards .reward-card > .meta.reward-card-meta{
	display:flex !important;
	flex-direction:column !important;
	align-items:center !important;
	justify-content:flex-start !important;
	gap:4px !important;
}

body.app-polished #activeRewards .reward-card .reward-card-top-actions,
body.app-polished #activeRewards .reward-card .reward-card-complete-float{
	display:flex !important;
	justify-content:center !important;
	align-items:center !important;
}

body.app-polished #activeRewards .reward-card[data-collapsed="true"]{
	padding-top:10px !important;
}

body.app-polished #activeRewards .reward-card .reward-card-toggle{
	position:absolute !important;
	top:8px !important;
	left:8px !important;
	right:auto !important;
	bottom:auto !important;
	transform:none !important;
	width:34px !important;
	min-width:34px !important;
	max-width:34px !important;
	height:auto !important;
	margin:0 !important;
	z-index:6 !important;
	display:inline-flex !important;
	align-items:center !important;
	justify-content:center !important;
}

/* Active Rewards: 2-wide 2:3 card rework */
body.app-polished #activeRewards .completion-grid{
	grid-template-columns:repeat(2, minmax(0, 1fr)) !important;
	align-items:start !important;
}

body.app-polished #activeRewards .reward-card{
	position:relative !important;
	aspect-ratio:2 / 3 !important;
	min-height:0 !important;
	height:auto !important;
	display:flex !important;
	flex-direction:column !important;
	justify-content:flex-start !important;
	align-items:stretch !important;
	gap:10px !important;
	padding:14px !important;
	padding-bottom:138px !important;
	overflow:hidden !important;
}

body.app-polished #activeRewards .reward-card[data-collapsed="false"]{
	aspect-ratio:auto !important;
	min-height:0 !important;
}

body.app-polished #activeRewards .reward-card > .meta.reward-card-meta{
	display:flex !important;
	flex-direction:column !important;
	align-items:center !important;
	justify-content:flex-start !important;
	gap:0 !important;
	text-align:center !important;
	width:100% !important;
	margin:0 !important;
	padding:0 !important;
}

body.app-polished #activeRewards .reward-card .reward-card-title,
body.app-polished #activeRewards .reward-card .reward-card-mission-watermark,
body.app-polished #activeRewards .reward-card .reward-card-toggle,
body.app-polished #activeRewards .reward-card .reward-card-top-actions,
body.app-polished #activeRewards .reward-card .reward-card-complete-float{
	position:static !important;
	left:auto !important;
	right:auto !important;
	top:auto !important;
	bottom:auto !important;
	transform:none !important;
	width:100% !important;
	max-width:none !important;
	margin:0 !important;
	text-align:center !important;
}

body.app-polished #activeRewards .reward-card .reward-card-title{
	display:block !important;
	min-height:0 !important;
	max-height:none !important;
	line-height:1.25 !important;
}

body.app-polished #activeRewards .reward-card .reward-card-mission-watermark{
	display:block !important;
	margin-top:3.6em !important;
	line-height:1.2 !important;
	opacity:.9 !important;
}

body.app-polished #activeRewards .reward-card .active-progress-wrap,
body.app-polished #activeRewards .reward-card .reward-card-top-actions,
body.app-polished #activeRewards .reward-card .reward-card-complete-float{
	display:none !important;
}

body.app-polished #activeRewards .reward-card .requirements{
	position:static !important;
	margin-top:8px !important;
	margin-bottom:0 !important;
	padding:0 !important;
	width:100% !important;
}

body.app-polished #activeRewards .active-req-row{
	display:flex !important;
	flex-wrap:nowrap !important;
	align-items:center !important;
	justify-content:flex-start !important;
	text-align:center !important;
	gap:6px !important;
	width:100% !important;
	box-sizing:border-box !important;
	border:1px solid rgba(126,236,248,.72) !important;
	border-radius:10px;
	padding:6px 8px !important;
	overflow:hidden !important;
	box-shadow:
		inset 0 0 0 1px rgba(182,247,255,.16),
		0 0 10px rgba(88,218,232,.22) !important;
}

body.app-polished #activeRewards .active-req-row.req-complete{
	border-color:rgba(74,222,128,.72) !important;
	box-shadow:
		inset 0 0 0 1px rgba(187,255,213,.18),
		0 0 10px rgba(74,222,128,.2) !important;
}

body.app-polished #activeRewards .active-req-name{
	margin-right:auto !important;
	min-width:0 !important;
	flex:1 1 auto !important;
	text-align:left !important;
	overflow-wrap:anywhere;
}

body.app-polished #activeRewards .active-req-controls{
	display:inline-flex !important;
	align-items:center !important;
	justify-content:flex-end !important;
	gap:4px !important;
	flex:0 0 auto !important;
	white-space:nowrap;
}

body.app-polished #activeRewards .active-req-controls .req-adjust-btn{
	min-width:34px !important;
	width:34px !important;
	height:34px !important;
	padding:0 !important;
}

body.app-polished #activeRewards .active-req-add-all{
	min-width:64px;
	padding:5px 7px !important;
}

body.app-polished #activeRewards .active-req-metric{
	min-width:62px;
	text-align:center;
	flex:0 0 auto;
	padding:4px 6px !important;
}

body.app-polished #activeRewards .active-req-controls .active-req-current-pill{
	min-width:44px !important;
	height:34px !important;
	padding:0 12px !important;
	display:inline-flex !important;
	align-items:center !important;
	justify-content:center !important;
	border-radius:999px !important;
	border:2px solid rgba(126,236,248,.96) !important;
	background:rgba(6,20,44,.46) !important;
	box-shadow:
		inset 0 0 0 1px rgba(182,247,255,.16),
		0 0 10px rgba(88,218,232,.24) !important;
	line-height:1 !important;
	flex:0 0 auto !important;
}

body.app-polished #activeRewards .active-req-controls .active-req-current-pill .active-req-current-value{
	display:block !important;
	font-size:1rem !important;
	font-weight:800 !important;
	color:var(--space-header-ink) !important;
	text-shadow:0 0 10px rgba(95,232,255,.34) !important;
}

body.app-polished #activeRewards .requirements{
	align-items:center !important;
	gap:8px !important;
}

body.app-polished #activeRewards .active-card-action-stack{
	display:flex;
	flex-direction:column;
	justify-content:flex-end;
	align-items:stretch;
	gap:8px;
	position:absolute;
	left:14px;
	right:14px;
	bottom:14px;
	margin-top:0;
	z-index:4;
}

body.app-polished #activeRewards .active-card-spacer{
	display:none;
}

body.app-polished #activeRewards .active-card-toggle-btn,
body.app-polished #activeRewards .active-card-remove-btn,
body.app-polished #activeRewards .active-card-action-stack .reward-card-complete-float{
	display:inline-flex !important;
	width:100% !important;
	min-width:100% !important;
	max-width:100% !important;
	min-height:46px !important;
	padding-top:10px !important;
	padding-bottom:10px !important;
	justify-content:center !important;
}

body.app-polished #activeRewards .active-card-remove-btn{
	order:2;
	border-color:rgba(255,126,126,.82) !important;
	background:
		radial-gradient(130% 120% at 100% 0%, rgba(255,126,126,.24), rgba(255,126,126,0) 52%),
		linear-gradient(155deg, rgba(54,14,21,.92), rgba(39,10,16,.9)) !important;
	color:#ffd6d6 !important;
	box-shadow:
		inset 0 0 0 1px rgba(255,228,228,.14),
		0 6px 16px rgba(25,5,8,.42),
		0 0 12px rgba(255,126,126,.32) !important;
}

body.app-polished #activeRewards .active-card-remove-btn:hover,
body.app-polished #activeRewards .active-card-remove-btn:focus-visible{
	border-color:rgba(255,176,176,.96) !important;
	background:
		radial-gradient(130% 120% at 100% 0%, rgba(255,158,158,.3), rgba(255,158,158,0) 52%),
		linear-gradient(155deg, rgba(74,18,28,.94), rgba(48,12,20,.92)) !important;
	color:#ffe9e9 !important;
	box-shadow:
		inset 0 0 0 1px rgba(255,240,240,.2),
		0 8px 18px rgba(33,8,12,.48),
		0 0 14px rgba(255,146,146,.4) !important;
}

/* Active Rewards bottom actions: conflict-proof final layout */
body.app-polished #activeRewards .reward-card[data-collapsed="true"]{
	display:grid !important;
	grid-template-rows:auto auto minmax(0, 1fr) auto !important;
	aspect-ratio:2 / 3 !important;
	padding:14px !important;
	min-height:0 !important;
}

body.app-polished #activeRewards .reward-card[data-collapsed="false"]{
	display:grid !important;
	grid-template-rows:auto auto auto auto !important;
	aspect-ratio:auto !important;
	padding:14px !important;
	min-height:0 !important;
}

body.app-polished #activeRewards .reward-card[data-collapsed="true"] .active-card-spacer{
	display:block !important;
	min-height:0 !important;
}

body.app-polished #activeRewards .reward-card[data-collapsed="false"] .active-card-spacer{
	display:none !important;
}

body.app-polished #activeRewards .reward-card .active-card-action-stack{
	position:static !important;
	display:flex !important;
	flex-direction:column !important;
	justify-content:flex-end !important;
	align-items:stretch !important;
	gap:8px !important;
	margin:0 !important;
	z-index:4 !important;
}

body.app-polished #activeRewards .reward-card .active-card-toggle-btn,
body.app-polished #activeRewards .reward-card .active-card-remove-btn{
	display:inline-flex !important;
	width:100% !important;
	min-width:100% !important;
	max-width:100% !important;
}

/* Active Rewards requirement mini-cards: overflow-safe final pass */
body.app-polished #activeRewards .requirements{
	width:100% !important;
	max-width:100% !important;
	min-width:0 !important;
	align-items:stretch !important;
	justify-content:flex-start !important;
	gap:8px !important;
	padding:0 !important;
	box-sizing:border-box !important;
}

body.app-polished #activeRewards .requirements .active-req-row{
	display:flex !important;
	align-items:center !important;
	justify-content:flex-start !important;
	flex-wrap:nowrap !important;
	gap:6px !important;
	width:100% !important;
	max-width:100% !important;
	min-width:0 !important;
	margin:0 !important;
	padding:7px 9px !important;
	box-sizing:border-box !important;
	overflow:hidden !important;
	border:1.5px solid rgba(126,236,248,.92) !important;
	border-radius:12px !important;
	background:rgba(6,20,44,.4) !important;
	box-shadow:
		inset 0 0 0 1px rgba(182,247,255,.14),
		0 0 10px rgba(88,218,232,.2) !important;
}

body.app-polished #activeRewards .requirements .active-req-row.req-complete{
	border-color:rgba(74,222,128,.94) !important;
	box-shadow:
		inset 0 0 0 1px rgba(194,255,214,.2),
		0 0 10px rgba(74,222,128,.22) !important;
}

body.app-polished #activeRewards .requirements .active-req-name{
	flex:1 1 auto !important;
	min-width:0 !important;
	margin-right:auto !important;
	text-align:left !important;
	overflow-wrap:anywhere !important;
}

body.app-polished #activeRewards .requirements .active-req-controls,
body.app-polished #activeRewards .requirements .active-req-metric{
	flex:0 0 auto !important;
	max-width:100% !important;
}

/* FINAL OVERRIDE: force visible requirement-row and counter-pill borders */
body.app-polished #activeRewards .reward-card[data-collapsed="false"] .requirements .active-req-row{
	position:relative !important;
	width:100% !important;
	max-width:100% !important;
	min-width:0 !important;
	box-sizing:border-box !important;
	padding:8px 10px !important;
	overflow:hidden !important;
	background:rgba(6,20,44,.46) !important;
	border:none !important;
	outline:none !important;
	box-shadow:none !important;
	border-radius:12px !important;
}

body.app-polished #activeRewards .reward-card[data-collapsed="false"] .requirements .active-req-row::after{
	content:"";
	position:absolute;
	inset:0;
	pointer-events:none;
	border-radius:inherit;
	border:2px solid rgba(126,236,248,.95);
	box-shadow:
		inset 0 0 0 1px rgba(196,249,255,.16),
		0 0 10px rgba(88,218,232,.26);
}

body.app-polished #activeRewards .reward-card[data-collapsed="false"] .requirements .active-req-row.req-complete::after{
	border-color:rgba(74,222,128,.96);
	box-shadow:
		inset 0 0 0 1px rgba(206,255,225,.2),
		0 0 10px rgba(74,222,128,.28);
}

body.app-polished #activeRewards .reward-card[data-collapsed="false"] .requirements .active-req-controls .active-req-current-pill{
	position:relative !important;
	border:none !important;
	outline:none !important;
	background:rgba(6,20,44,.58) !important;
	box-shadow:none !important;
	border-radius:999px !important;
	padding:0 12px !important;
	min-width:44px !important;
	height:34px !important;
	display:inline-flex !important;
	align-items:center !important;
	justify-content:center !important;
}

body.app-polished #activeRewards .reward-card[data-collapsed="false"] .requirements .active-req-controls .active-req-current-pill::after{
	content:"";
	position:absolute;
	inset:0;
	pointer-events:none;
	border-radius:999px;
	border:2px solid rgba(126,236,248,.96);
	box-shadow:
		inset 0 0 0 1px rgba(196,249,255,.16),
		0 0 8px rgba(88,218,232,.22);
}

/* Active Rewards requirement border hard overrides */
body.app-polished #activeRewards .requirements .active-req-row{
	border-width:2px !important;
	border-style:solid !important;
	border-color:rgba(126,236,248,.88) !important;
	outline:1px solid rgba(126,236,248,.32) !important;
	outline-offset:0 !important;
	box-shadow:
		inset 0 0 0 1px rgba(193,248,255,.18),
		0 0 12px rgba(88,218,232,.22) !important;
}

body.app-polished #activeRewards .requirements .active-req-row.req-complete{
	border-color:rgba(74,222,128,.92) !important;
	outline-color:rgba(74,222,128,.34) !important;
	box-shadow:
		inset 0 0 0 1px rgba(194,255,214,.22),
		0 0 12px rgba(74,222,128,.24) !important;
}

body.app-polished #activeRewards .requirements .active-req-current-pill{
	border-width:2px !important;
	border-style:solid !important;
	border-color:rgba(126,236,248,.9) !important;
	border-radius:999px !important;
	background:rgba(5,20,44,.5) !important;
	box-shadow:
		inset 0 0 0 1px rgba(194,248,255,.16),
		0 0 10px rgba(88,218,232,.2) !important;
}

/* Active Rewards final lock: fixed 2:3, overlay expansion, bottom-pinned actions */
body.app-polished #activeRewards .reward-card,
body.app-polished #activeRewards .reward-card[data-collapsed="false"],
body.app-polished #activeRewards .reward-card[data-collapsed="true"]{
	aspect-ratio:2 / 3 !important;
	min-height:0 !important;
	height:auto !important;
	position:relative !important;
	overflow:hidden !important;
	padding:14px !important;
	padding-top:14px !important;
	padding-bottom:124px !important;
	display:block !important;
}

body.app-polished #activeRewards .reward-card > .meta.reward-card-meta{
	position:relative !important;
	z-index:2 !important;
	display:flex !important;
	flex-direction:column !important;
	align-items:center !important;
	justify-content:flex-start !important;
	text-align:center !important;
	gap:0 !important;
	width:100% !important;
	margin:0 !important;
	padding:0 !important;
}

body.app-polished #activeRewards .reward-card .reward-card-mission-watermark{
	margin-top:3.6em !important;
}

body.app-polished #activeRewards .reward-card .active-card-spacer{
	display:none !important;
}

body.app-polished #activeRewards .reward-card .active-card-action-stack{
	position:absolute !important;
	left:14px !important;
	right:14px !important;
	bottom:14px !important;
	width:auto !important;
	margin:0 !important;
	z-index:6 !important;
	display:flex !important;
	flex-direction:column !important;
	align-items:stretch !important;
	gap:8px !important;
}

body.app-polished #activeRewards .reward-card .active-card-toggle-btn,
body.app-polished #activeRewards .reward-card .active-card-remove-btn,
body.app-polished #activeRewards .reward-card .active-card-action-stack .reward-card-complete-float{
	display:inline-flex !important;
	width:100% !important;
	min-width:100% !important;
	max-width:100% !important;
	min-height:46px !important;
	justify-content:center !important;
}

body.app-polished #activeRewards .reward-card .active-card-toggle-btn{ order:1 !important; }
body.app-polished #activeRewards .reward-card .active-card-action-stack .reward-card-complete-float{ order:2 !important; }
body.app-polished #activeRewards .reward-card .active-card-remove-btn{ order:3 !important; }

body.app-polished #activeRewards .reward-card .active-card-action-stack .active-complete-btn.active-card-remove-btn{
	order:2 !important;
	border-color:rgba(122,255,170,.9) !important;
	background:
		radial-gradient(130% 120% at 100% 0%, rgba(122,255,170,.28), rgba(122,255,170,0) 52%),
		linear-gradient(155deg, rgba(10,44,30,.94), rgba(9,36,25,.92)) !important;
	color:#eafff0 !important;
	box-shadow:
		inset 0 0 0 1px rgba(231,255,240,.2),
		0 8px 18px rgba(5,28,16,.45),
		0 0 16px rgba(122,255,170,.45) !important;
}

body.app-polished #activeRewards .reward-card .active-card-action-stack .active-complete-btn.active-card-remove-btn:hover,
body.app-polished #activeRewards .reward-card .active-card-action-stack .active-complete-btn.active-card-remove-btn:focus-visible{
	border-color:rgba(170,255,200,.98) !important;
	background:
		radial-gradient(130% 120% at 100% 0%, rgba(145,255,186,.34), rgba(145,255,186,0) 52%),
		linear-gradient(155deg, rgba(13,56,38,.95), rgba(10,45,31,.93)) !important;
	color:#f3fff7 !important;
	box-shadow:
		inset 0 0 0 1px rgba(242,255,248,.24),
		0 10px 20px rgba(6,34,20,.5),
		0 0 18px rgba(145,255,186,.5) !important;
}

body.app-polished #activeRewards .reward-card[data-collapsed="true"] .requirements{
	display:none !important;
}

body.app-polished #activeRewards .reward-card[data-collapsed="false"] .requirements{
	display:flex !important;
	flex-direction:column !important;
	position:absolute !important;
	left:14px !important;
	right:14px !important;
	top:auto !important;
	bottom:124px !important;
	max-height:calc(100% - 152px) !important;
	overflow:auto !important;
	margin:0 !important;
	padding:0 !important;
	z-index:5 !important;
	background:transparent !important;
}

/* FINAL FINAL: expanded requirement rows width lock + non-clipping border */
body.app-polished #activeRewards .reward-card[data-collapsed="false"] .requirements{
	overflow-x:hidden !important;
	box-sizing:border-box !important;
}

body.app-polished #activeRewards .reward-card[data-collapsed="false"] .requirements .active-req-row{
	display:grid !important;
	grid-template-columns:minmax(0, 1fr) max-content max-content max-content !important;
	align-items:center !important;
	column-gap:6px !important;
	row-gap:0 !important;
	width:100% !important;
	max-width:100% !important;
	min-width:0 !important;
	margin:0 !important;
	padding:8px 10px !important;
	box-sizing:border-box !important;
	overflow:hidden !important;
	position:relative !important;
	border:none !important;
	outline:none !important;
	border-radius:12px !important;
	background:rgba(6,20,44,.46) !important;
	box-shadow:none !important;
}

body.app-polished #activeRewards .reward-card[data-collapsed="false"] .requirements .active-req-row::after{
	content:"";
	position:absolute;
	inset:1px;
	border-radius:11px;
	pointer-events:none;
	border:2px solid rgba(126,236,248,.95);
	box-shadow:
		inset 0 0 0 1px rgba(196,249,255,.16),
		0 0 10px rgba(88,218,232,.24);
}

body.app-polished #activeRewards .reward-card[data-collapsed="false"] .requirements .active-req-row.req-complete::after{
	border-color:rgba(74,222,128,.96);
	box-shadow:
		inset 0 0 0 1px rgba(206,255,225,.2),
		0 0 10px rgba(74,222,128,.26);
}

body.app-polished #activeRewards .reward-card[data-collapsed="false"] .requirements .active-req-name{
	min-width:0 !important;
	text-align:left !important;
	justify-self:start !important;
	margin:0 !important;
	overflow-wrap:anywhere !important;
	font-size:clamp(.74rem, .95vw, 1.1rem) !important;
	line-height:1.12 !important;
}

body.app-polished #activeRewards .reward-card[data-collapsed="false"] .requirements :is(.active-req-controls, .active-req-metric){
	justify-self:end !important;
	min-width:0 !important;
}

body.app-polished #activeRewards .reward-card[data-collapsed="false"] .requirements .active-req-metric .availability-label{
	font-size:.68rem !important;
	line-height:1.05 !important;
}

body.app-polished #activeRewards .reward-card[data-collapsed="false"] .requirements .active-req-metric .availability-value{
	font-size:1rem !important;
	line-height:1.05 !important;
}

/* Anti-clip micro-adjustment */
body.app-polished #activeRewards .reward-card[data-collapsed="false"] .requirements{
	padding-right:2px !important;
	box-sizing:border-box !important;
}

body.app-polished #activeRewards .reward-card[data-collapsed="false"] .requirements .active-req-row{
	width:calc(100% - 4px) !important;
	max-width:calc(100% - 4px) !important;
	margin:0 2px 0 0 !important;
}

body.app-polished #activeRewards .reward-card[data-collapsed="false"] .requirements .active-req-row::after{
	inset:2px !important;
	border-radius:10px !important;
}

/* FIT-FIRST FINAL: keep name left and force row to fit card width */
body.app-polished #activeRewards .reward-card[data-collapsed="false"] .requirements .active-req-row{
	display:flex !important;
	align-items:center !important;
	justify-content:flex-start !important;
	gap:4px !important;
	width:calc(100% - 6px) !important;
	max-width:calc(100% - 6px) !important;
	min-width:0 !important;
	margin:0 3px 0 0 !important;
	padding:7px 8px !important;
	box-sizing:border-box !important;
	overflow:hidden !important;
}

body.app-polished #activeRewards .reward-card[data-collapsed="false"] .requirements .active-req-name{
	flex:1 1 auto !important;
	min-width:0 !important;
	margin-right:auto !important;
	text-align:left !important;
	font-size:clamp(.68rem, .9vw, 1rem) !important;
	line-height:1.08 !important;
}

body.app-polished #activeRewards .reward-card[data-collapsed="false"] .requirements .active-req-controls{
	display:inline-flex !important;
	align-items:center !important;
	justify-content:flex-end !important;
	gap:3px !important;
	flex:0 0 auto !important;
	margin-left:0 !important;
}

body.app-polished #activeRewards .reward-card[data-collapsed="false"] .requirements .active-req-controls .req-adjust-btn,
body.app-polished #activeRewards .reward-card[data-collapsed="false"] .requirements .active-req-controls .active-req-current-pill{
	width:34px !important;
	min-width:34px !important;
	height:34px !important;
	padding:0 !important;
	border-radius:10px !important;
	display:inline-flex !important;
	align-items:center !important;
	justify-content:center !important;
}

body.app-polished #activeRewards .reward-card[data-collapsed="false"] .requirements .active-req-controls .active-req-current-pill{
	border:2px solid rgba(126,236,248,.96) !important;
	background:rgba(6,20,44,.58) !important;
	box-shadow:inset 0 0 0 1px rgba(196,249,255,.16), 0 0 8px rgba(88,218,232,.2) !important;
}

body.app-polished #activeRewards .reward-card[data-collapsed="false"] .requirements .active-req-controls .active-req-current-pill::after{
	display:none !important;
}

body.app-polished #activeRewards .reward-card[data-collapsed="false"] .requirements .active-req-add-all{
	min-width:58px !important;
	padding:5px 6px !important;
}

body.app-polished #activeRewards .reward-card[data-collapsed="false"] .requirements .active-req-metric{
	flex:0 0 auto !important;
	min-width:54px !important;
	padding:3px 4px !important;
	text-align:center !important;
}

body.app-polished #activeRewards .reward-card[data-collapsed="false"] .requirements .active-req-metric .availability-label{
	font-size:.62rem !important;
	line-height:1 !important;
}

body.app-polished #activeRewards .reward-card[data-collapsed="false"] .requirements .active-req-metric .availability-value{
	font-size:.92rem !important;
	line-height:1 !important;
}

/* HARD WIDTH LOCK: requirements area matches bottom button stack exactly */
body.app-polished #activeRewards .reward-card[data-collapsed="false"] .requirements{
	left:14px !important;
	right:14px !important;
	width:calc(100% - 28px) !important;
	max-width:calc(100% - 28px) !important;
	min-width:calc(100% - 28px) !important;
	margin:0 !important;
	padding:0 !important;
	box-sizing:border-box !important;
	overflow-x:hidden !important;
}

body.app-polished #activeRewards .reward-card[data-collapsed="false"] .requirements .active-req-row{
	width:100% !important;
	max-width:100% !important;
	min-width:100% !important;
	margin:0 !important;
	box-sizing:border-box !important;
}

body.app-polished #activeRewards .requirements.requirements-focus-mode{
	gap:10px !important;
}

body.app-polished #activeRewards .requirements .requirements-focus-nav{
	display:flex !important;
	align-items:center !important;
	justify-content:space-between !important;
	gap:8px !important;
	width:100% !important;
	max-width:100% !important;
	padding:0 !important;
	box-sizing:border-box !important;
}

body.app-polished #activeRewards .requirements .requirements-focus-btn{
	min-height:34px !important;
	padding:6px 10px !important;
}

body.app-polished #activeRewards .requirements .requirements-focus-index{
	min-width:72px;
	text-align:center;
	font-weight:800;
	color:var(--space-header-ink) !important;
	text-shadow:0 0 10px rgba(95,232,255,.28);
}

body.app-polished #totals .completion-grid{
	grid-template-columns:repeat(2, minmax(280px, 1fr)) !important;
}

body.app-polished #totals .completion-grid .completed-reward-card{
	aspect-ratio:2 / 3 !important;
	min-height:0 !important;
	height:auto !important;
	padding:14px !important;
	position:relative !important;
	overflow:hidden !important;
	gap:0 !important;
}

body.app-polished #totals .completion-grid .completed-reward-card .reward-card-title{
	left:14px !important;
	right:14px !important;
}

body.app-polished #totals .completion-grid .completed-reward-card .reward-card-mission-watermark{
	left:14px !important;
	right:14px !important;
	top:58px !important;
}

body.app-polished #totals .completion-grid .completed-card-bottom{
	position:absolute !important;
	left:14px !important;
	right:14px !important;
	bottom:14px !important;
	display:flex !important;
	flex-direction:column !important;
	gap:8px !important;
	z-index:6 !important;
}

body.app-polished #totals .completion-grid .completed-earned-at{
	text-align:center;
	font-weight:800;
	padding:8px 10px;
	border-radius:12px;
	border:1px solid rgba(154,238,255,.42);
	background:rgba(10,27,54,.62);
	box-shadow:inset 0 0 0 1px rgba(214,251,255,.12), 0 0 10px rgba(118,231,255,.16);
	color:var(--space-header-ink) !important;
	line-height:1.2;
	font-size:.84rem;
	text-shadow:0 0 8px rgba(95,232,255,.24);
}

body.app-polished #totals .completion-grid .completed-comment-box{
	width:100% !important;
	min-height:88px !important;
	max-height:132px !important;
	resize:vertical;
	padding:10px 12px;
	border-radius:12px;
	border:1px solid rgba(154,238,255,.42);
	background:rgba(7,20,40,.72) !important;
	color:var(--space-card-ink) !important;
	line-height:1.3;
	box-shadow:inset 0 0 0 1px rgba(214,251,255,.08);
}

body.app-polished #totals .completion-grid .completed-comment-box::placeholder{
	color:rgba(191,226,247,.7) !important;
}

body.app-polished #totals .completion-grid .completed-remove-btn{
	display:inline-flex !important;
	width:100% !important;
	min-width:100% !important;
	max-width:100% !important;
	min-height:46px !important;
	justify-content:center !important;
	align-items:center !important;
	border-color:rgba(255,126,126,.82) !important;
	background:
		radial-gradient(130% 120% at 100% 0%, rgba(255,126,126,.24), rgba(255,126,126,0) 52%),
		linear-gradient(155deg, rgba(54,14,21,.92), rgba(39,10,16,.9)) !important;
	color:#ffd6d6 !important;
	box-shadow:
		inset 0 0 0 1px rgba(255,228,228,.14),
		0 6px 16px rgba(25,5,8,.42),
		0 0 12px rgba(255,126,126,.32) !important;
}

body.app-polished #totals .completion-grid .completed-remove-btn:hover,
body.app-polished #totals .completion-grid .completed-remove-btn:focus-visible{
	border-color:rgba(255,176,176,.96) !important;
	background:
		radial-gradient(130% 120% at 100% 0%, rgba(255,158,158,.3), rgba(255,158,158,0) 52%),
		linear-gradient(155deg, rgba(74,18,28,.94), rgba(48,12,20,.92)) !important;
	color:#ffe9e9 !important;
	box-shadow:
		inset 0 0 0 1px rgba(255,240,240,.2),
		0 8px 18px rgba(33,8,12,.48),
		0 0 14px rgba(255,146,146,.4) !important;
}

@media (max-width: 960px){
	body.app-polished #totals .completion-grid{
		grid-template-columns:1fr !important;
	}
}


