.ltg-root {
	max-width: 760px;
	margin: 0 auto;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
	color: #222;
}

.ltg-card {
	background: #fff;
	border: 1px solid #e2e2e2;
	border-radius: 12px;
	padding: 24px;
	box-shadow: 0 2px 6px rgba(0,0,0,0.06);
	margin-bottom: 20px;
}

.ltg-intro h2 {
	margin-top: 0;
}

.ltg-btn {
	display: inline-block;
	background: #2563eb;
	color: #fff;
	border: none;
	border-radius: 8px;
	padding: 10px 18px;
	font-size: 15px;
	font-weight: 600;
	cursor: pointer;
	transition: background 0.15s ease;
}
.ltg-btn:hover {
	background: #1d4ed8;
}
.ltg-btn.ltg-btn-secondary {
	background: #6b7280;
}
.ltg-btn.ltg-btn-secondary:hover {
	background: #4b5563;
}
.ltg-btn.ltg-btn-danger {
	background: #b91c1c;
}
.ltg-btn.ltg-btn-danger:hover {
	background: #991b1b;
}
.ltg-btn:disabled {
	background: #9ca3af;
	cursor: not-allowed;
}

.ltg-status-bar {
	display: flex;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 8px;
	font-size: 14px;
	color: #444;
	margin-bottom: 16px;
	padding: 10px 14px;
	background: #f3f4f6;
	border-radius: 8px;
}
.ltg-status-bar span strong {
	color: #111;
}

.ltg-scenario {
	background: #fffbea;
	border: 1px solid #fde68a;
	border-radius: 8px;
	padding: 14px 16px;
	margin-bottom: 18px;
	font-size: 15px;
}

.ltg-stage {
	border: 1px dashed #d1d5db;
	border-radius: 8px;
	padding: 14px;
	margin-bottom: 18px;
	background: #fafafa;
}
.ltg-stage-empty {
	text-align: center;
	color: #9ca3af;
	font-size: 14px;
}
.ltg-stage-empty p {
	margin: 6px 0;
}

.ltg-actions-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
	gap: 10px;
	margin-bottom: 18px;
}

.ltg-action-btn {
	text-align: left;
	background: #fff;
	border: 1px solid #d1d5db;
	border-radius: 8px;
	padding: 10px 12px;
	font-size: 14px;
	cursor: pointer;
	transition: border-color 0.15s ease, background 0.15s ease;
}
.ltg-action-btn:hover:not(:disabled) {
	border-color: #2563eb;
	background: #eff6ff;
}
.ltg-action-btn:disabled {
	opacity: 0.45;
	cursor: not-allowed;
}
.ltg-action-btn .ltg-check {
	color: #16a34a;
	font-weight: 700;
	margin-right: 4px;
}

.ltg-log {
	border-top: 1px dashed #d1d5db;
	padding-top: 14px;
	margin-bottom: 18px;
}
.ltg-log h3 {
	margin: 0 0 8px;
	font-size: 15px;
}
.ltg-log ul {
	list-style: none;
	margin: 0;
	padding: 0;
	max-height: 220px;
	overflow-y: auto;
}
.ltg-log li {
	padding: 8px 10px;
	border-radius: 6px;
	margin-bottom: 6px;
	font-size: 14px;
	line-height: 1.4;
}
.ltg-log li.ltg-positive {
	background: #ecfdf5;
	border-left: 3px solid #10b981;
}
.ltg-log li.ltg-negative {
	background: #f9fafb;
	border-left: 3px solid #d1d5db;
}
.ltg-log li .ltg-log-action {
	font-weight: 600;
	display: block;
	margin-bottom: 6px;
}

.ltg-clue-text {
	margin: 8px 0 0;
}

.ltg-photo-strip {
	display: flex;
	gap: 10px;
	flex-wrap: wrap;
}

.ltg-photo {
	flex: 1 1 90px;
	min-width: 90px;
	background: #fff;
	border: 1px solid #e5e7eb;
	border-radius: 8px;
	padding: 8px 6px;
	text-align: center;
	opacity: 1;
}

.ltg-photo-icon {
	color: #6b7280;
	display: flex;
	justify-content: center;
	align-items: center;
	margin-bottom: 4px;
}

.ltg-photo-icon svg {
	width: 40px;
	height: 40px;
}

.ltg-photo-caption {
	font-size: 11px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.02em;
	color: #6b7280;
}

.ltg-photo-neutral .ltg-photo-icon {
	color: #4b5563;
}

.ltg-photo-positive {
	border-color: #10b981;
	background: #ecfdf5;
}
.ltg-photo-positive .ltg-photo-icon,
.ltg-photo-positive .ltg-photo-caption {
	color: #059669;
}

.ltg-photo-negative {
	border-color: #d1d5db;
	background: #f9fafb;
}
.ltg-photo-negative .ltg-photo-icon,
.ltg-photo-negative .ltg-photo-caption {
	color: #9ca3af;
}

.ltg-photo-stage-1,
.ltg-photo-stage-2,
.ltg-photo-stage-3 {
	opacity: 0;
	transform: translateY(6px);
	animation: ltgPhotoFadeIn 0.4s ease forwards;
}
.ltg-photo-stage-1 { animation-delay: 0s; }
.ltg-photo-stage-2 { animation-delay: 0.5s; }
.ltg-photo-stage-3 { animation-delay: 1s; }

@keyframes ltgPhotoFadeIn {
	from { opacity: 0; transform: translateY(6px); }
	to { opacity: 1; transform: translateY(0); }
}

.ltg-guess-section {
	border-top: 1px dashed #d1d5db;
	padding-top: 16px;
}
.ltg-guess-section h3 {
	margin-top: 0;
	font-size: 15px;
}
.ltg-guess-select {
	width: 100%;
	padding: 10px;
	font-size: 14px;
	border-radius: 8px;
	border: 1px solid #d1d5db;
	margin-bottom: 12px;
}

.ltg-result-title {
	font-size: 20px;
	font-weight: 700;
	margin-bottom: 6px;
}
.ltg-result-title.ltg-win { color: #15803d; }
.ltg-result-title.ltg-lose { color: #b91c1c; }

.ltg-result-detail {
	font-size: 15px;
	margin-bottom: 4px;
}
.ltg-score-breakdown {
	background: #f3f4f6;
	border-radius: 8px;
	padding: 12px 16px;
	margin: 14px 0;
	font-size: 14px;
}
.ltg-score-breakdown div {
	display: flex;
	justify-content: space-between;
	padding: 3px 0;
}
.ltg-score-breakdown div.ltg-total {
	font-weight: 700;
	border-top: 1px solid #d1d5db;
	margin-top: 6px;
	padding-top: 6px;
}
