/* Lawod Arc Raiders Blueprint Tracker — Jannah açık/koyu temaya uyumlu */
.lat-app {
	--lat-line: rgba(127, 127, 127, .25);
	--lat-soft: rgba(127, 127, 127, .08);
	--lat-accent: #3d8bfd;
	--lat-common: #8a939d;
	--lat-uncommon: #2fa65c;
	--lat-rare: #2f7de1;
	--lat-epic: #9b4dff;
	--lat-legendary: #e08e0b;
	margin: 0 0 28px;
}
.lat-app [hidden] { display: none !important; }
.lat-app *, .lat-app *::before, .lat-app *::after { box-sizing: border-box; }

/* Nadirlik renkleri */
.lat-app .r-common { --lat-r: var(--lat-common); }
.lat-app .r-uncommon { --lat-r: var(--lat-uncommon); }
.lat-app .r-rare { --lat-r: var(--lat-rare); }
.lat-app .r-epic { --lat-r: var(--lat-epic); }
.lat-app .r-legendary { --lat-r: var(--lat-legendary); }

.lat-badge {
	display: inline-block;
	padding: 2px 10px;
	border: 1px solid var(--lat-r, var(--lat-line));
	border-radius: 999px;
	color: var(--lat-r, inherit);
	font-size: 12px;
	font-weight: 700;
	letter-spacing: .04em;
	line-height: 1.6;
	text-transform: uppercase;
	white-space: nowrap;
}

/* İlerleme */
.lat-progress {
	padding: 16px;
	border: 1px solid var(--lat-line);
	border-radius: 12px;
	background: var(--lat-soft);
	margin-bottom: 16px;
}
.lat-progress-head { display: flex; justify-content: space-between; gap: 12px; font-size: 15px; }
.lat-bar { height: 10px; margin-top: 10px; border-radius: 999px; background: var(--lat-line); overflow: hidden; }
.lat-bar span { display: block; width: 0; height: 100%; background: var(--lat-accent); border-radius: inherit; transition: width .3s ease; }
.lat-catstats { display: flex; flex-wrap: wrap; gap: 6px 18px; margin: 12px 0 0 !important; padding: 0 !important; list-style: none !important; font-size: 13px; }
.lat-catstats li { display: flex; gap: 6px; margin: 0 !important; padding: 0 !important; }
.lat-catstats li::before { display: none !important; }
.lat-catstats a { text-decoration: none; }

/* Filtreler */
.lat-controls { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 8px; margin-bottom: 18px; }
.lat-controls input, .lat-controls select {
	width: 100%;
	min-height: 40px;
	margin: 0;
	padding: 6px 10px;
	border: 1px solid var(--lat-line);
	border-radius: 8px;
	background: transparent;
	color: inherit;
	font-size: 14px;
}
.lat-controls select option { color: #222; }

/* Kart ızgarası */
.lat-group { margin-bottom: 22px; scroll-margin-top: 90px; }
.lat-group-title { margin: 0 0 10px !important; }
.lat-group-title small { font-size: 60%; opacity: .7; font-weight: 400; }
.lat-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
	gap: 10px;
	margin: 0 !important;
	padding: 0 !important;
	list-style: none !important;
}
.lat-card {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 6px;
	margin: 0 !important;
	padding: 10px 10px 12px !important;
	border: 1px solid var(--lat-line);
	border-top: 3px solid var(--lat-r, var(--lat-line));
	border-radius: 10px;
	background: var(--lat-soft);
	text-align: center;
	transition: border-color .2s, opacity .2s;
}
.lat-card::before { display: none !important; }
.lat-card-link { display: flex; flex-direction: column; align-items: center; gap: 6px; color: inherit !important; text-decoration: none !important; }
.lat-card-img { display: flex; align-items: center; justify-content: center; width: 96px; height: 96px; border-radius: 8px; background: #121a29; }
.lat-card-img img { display: block; width: 88px; height: 88px; object-fit: contain; margin: 0 !important; }
.lat-card-name { font-size: 14px; font-weight: 700; line-height: 1.3; }
.lat-card.is-owned { border-color: var(--lat-r); }
.lat-card.is-owned .lat-card-img { box-shadow: inset 0 0 0 2px var(--lat-r); }

/* Sahip olma düğmesi */
.lat-own {
	min-height: 32px;
	margin-top: auto;
	padding: 4px 12px;
	border: 1px solid var(--lat-line);
	border-radius: 999px;
	background: transparent;
	color: inherit;
	font-size: 13px;
	font-weight: 600;
	line-height: 1.4;
	cursor: pointer;
}
.lat-own:hover { border-color: var(--lat-accent); }
.lat-own .lat-on, .lat-own.is-on .lat-off { display: none; }
.lat-own.is-on .lat-on { display: inline; }
.lat-own.is-on { border-color: #2fa65c; background: #2fa65c; color: #fff; }
.lat-own-lg { min-height: 44px; padding: 8px 20px; font-size: 15px; margin-top: 0; }

/* Alt araçlar */
.lat-tools { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 12px; font-size: 13px; opacity: .9; }
.lat-tools span { margin-right: auto; }
.lat-btn {
	display: inline-block;
	padding: 8px 14px;
	border: 1px solid var(--lat-accent);
	border-radius: 8px;
	background: var(--lat-accent);
	color: #fff !important;
	font-size: 14px;
	font-weight: 600;
	line-height: 1.3;
	text-decoration: none !important;
	cursor: pointer;
}
.lat-btn-ghost { background: transparent; color: inherit !important; border-color: var(--lat-line); }
.lat-empty { padding: 20px; text-align: center; opacity: .8; }

/* Tekil sayfa */
.lat-single-head {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 18px;
	padding: 16px;
	border: 1px solid var(--lat-line);
	border-left: 4px solid var(--lat-r, var(--lat-line));
	border-radius: 12px;
	margin-bottom: 12px;
}
.lat-single-head .lat-card-img { width: 112px; height: 112px; }
.lat-single-head .lat-card-img img { width: 104px; height: 104px; }
.lat-facts { flex: 1 1 220px; display: flex; flex-wrap: wrap; gap: 8px 24px; margin: 0 !important; }
.lat-facts div { margin: 0; }
.lat-facts dt { margin: 0; font-size: 12px; text-transform: uppercase; letter-spacing: .05em; opacity: .7; font-weight: 600; }
.lat-facts dd { margin: 2px 0 0 !important; font-weight: 700; }
.lat-single .lat-progress { padding: 12px 16px; }
.lat-more { margin-top: 28px; }
.lat-cta { margin: 16px 0 24px !important; text-align: center; }
.lat-guides { margin-top: 8px; }

@media (max-width: 767px) {
	.lat-controls { grid-template-columns: 1fr 1fr; }
	.lat-controls .lat-q { grid-column: 1 / -1; }
	.lat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.lat-single-head .lat-own-lg { width: 100%; }
	.lat-single-head .lat-card-img { width: 80px; height: 80px; }
	.lat-single-head .lat-card-img img { width: 72px; height: 72px; }
}
