.mpp-page {
	max-width: 820px;
	margin: 28px auto;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
	color: #1a1a2e;
}

/* Hero */
.mpp-hero {
	background: linear-gradient(135deg, #4f46e5 0%, #7c3aed 50%, #0ea5e9 100%);
	background-size: 200% 200%;
	animation: mppGradientShift 8s ease infinite;
	border-radius: 16px;
	padding: 22px 26px;
	color: #ffffff;
	box-shadow: 0 10px 30px rgba(79, 70, 229, 0.25);
}
@keyframes mppGradientShift {
	0% { background-position: 0% 50%; }
	50% { background-position: 100% 50%; }
	100% { background-position: 0% 50%; }
}
.mpp-hero-top {
	display: flex;
	justify-content: space-between;
	align-items: center;
	font-size: 12px;
	opacity: 0.95;
	margin-bottom: 10px;
	flex-wrap: wrap;
	gap: 8px;
}
.mpp-live {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-weight: 700;
	letter-spacing: 0.08em;
	background: rgba(255,255,255,0.18);
	padding: 4px 10px;
	border-radius: 999px;
}
.mpp-dot {
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: #4ade80;
	box-shadow: 0 0 0 rgba(74, 222, 128, 0.6);
	animation: mppPulse 1.6s infinite;
}
@keyframes mppPulse {
	0%   { box-shadow: 0 0 0 0 rgba(74, 222, 128, 0.6); }
	70%  { box-shadow: 0 0 0 8px rgba(74, 222, 128, 0); }
	100% { box-shadow: 0 0 0 0 rgba(74, 222, 128, 0); }
}
.mpp-hero-title {
	margin: 0 0 6px;
	font-size: 28px;
	font-weight: 800;
}
.mpp-hero-sub {
	margin: 0;
	font-size: 14px;
	opacity: 0.92;
	max-width: 520px;
}

/* Cards */
.mpp-card {
	background: #ffffff;
	border: 1px solid #eceefc;
	border-radius: 14px;
	padding: 20px 22px;
	margin-top: 16px;
	box-shadow: 0 4px 16px rgba(30, 30, 60, 0.05);
}
.mpp-fade {
	animation: mppFadeIn 0.5s ease both;
}
@keyframes mppFadeIn {
	from { opacity: 0; transform: translateY(8px); }
	to   { opacity: 1; transform: translateY(0); }
}
.mpp-card-title {
	margin: 0 0 14px;
	font-size: 16px;
	font-weight: 700;
	display: flex;
	align-items: baseline;
	gap: 8px;
	flex-wrap: wrap;
}
.mpp-card-sub {
	font-size: 12px;
	font-weight: 500;
	color: #8888a0;
}

/* Forex calculator — Google-calculator-inspired: flat, minimal, big result */
.mpp-gcalc {
	background: #f8f9fa;
	border: 1px solid #e8eaed;
	border-radius: 12px;
	padding: 18px;
}
.mpp-gcalc-row {
	display: flex;
	align-items: center;
	gap: 10px;
}
.mpp-gcalc-row + .mpp-gcalc-row {
	border-top: 1px solid #e8eaed;
	margin-top: 12px;
	padding-top: 12px;
}
.mpp-gcalc-input {
	flex: 1;
	border: none;
	background: transparent;
	font-family: inherit;
	font-size: 26px;
	font-weight: 400;
	color: #202124;
	min-width: 0;
	padding: 0;
}
.mpp-gcalc-input:focus { outline: none; }
.mpp-gcalc-result {
	flex: 1;
	font-size: 26px;
	font-weight: 500;
	color: #1a73e8;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}
.mpp-gcalc-select-wrap { flex-shrink: 0; }
.mpp-gcalc-select {
	padding: 8px 10px;
	border-radius: 8px;
	border: 1px solid #dadce0;
	font-size: 14px;
	font-weight: 600;
	color: #3c4043;
	background: #fff;
	min-width: 90px;
}
.mpp-gcalc-swap {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 34px;
	height: 34px;
	margin: 6px auto 0;
	border-radius: 50%;
	border: 1px solid #dadce0;
	background: #fff;
	color: #1a73e8;
	font-size: 16px;
	cursor: pointer;
	transition: background-color 0.15s ease;
}
.mpp-gcalc-swap:hover { background: #f1f6fe; }
.mpp-gcalc-rateline {
	margin: 12px 2px 0;
	font-size: 13px;
	color: #5f6368;
}
.mpp-conv-note {
	margin: 10px 2px 0;
	font-size: 12px;
	color: #9a9ab0;
}

/* Tables */
.mpp-table {
	width: 100%;
	border-collapse: collapse;
	font-size: 14px;
}
.mpp-table th {
	text-align: left;
	padding: 8px 6px;
	color: #8888a0;
	font-size: 11px;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	border-bottom: 1px solid #eceefc;
}
.mpp-table td {
	padding: 10px 6px;
	border-bottom: 1px solid #f2f2fa;
	transition: background-color 0.4s ease;
}
.mpp-table tr:last-child td { border-bottom: none; }
.mpp-table tr:hover td { background: #f9f9ff; }

.mpp-coin-cell { display: flex; align-items: center; gap: 8px; font-weight: 600; }
.mpp-coin-icon { width: 20px; height: 20px; border-radius: 50%; }
.mpp-symbol { color: #9a9ab0; font-weight: 500; font-size: 12px; }

.mpp-up   { color: #16a34a; font-weight: 700; }
.mpp-down { color: #dc2626; font-weight: 700; }
.mpp-flat { color: #9a9ab0; }

.mpp-flash { background-color: #fff7cc !important; }

/* Misc */
.mpp-error { font-size: 13px; color: #9a9ab0; font-style: italic; }
.mpp-updated-time { font-weight: 700; }
.mpp-faq { border-bottom: 1px solid #f2f2fa; padding: 10px 0; }
.mpp-faq:last-child { border-bottom: none; }
.mpp-faq summary { cursor: pointer; font-weight: 600; font-size: 14px; }
.mpp-faq p { margin: 8px 0 0; font-size: 13px; color: #555570; }
.mpp-card ul { margin: 6px 0 14px; padding-left: 20px; font-size: 13px; color: #444460; }
.mpp-card ul li { margin-bottom: 4px; }
.mpp-card p { font-size: 13px; line-height: 1.6; color: #333350; margin: 0 0 4px; }
.mpp-learn-note { font-size: 12px; color: #9a9ab0; font-style: italic; margin-top: 10px !important; }

/* Compact trust banner (collapsed by default, expandable) */
.mpp-trust-banner {
	padding: 4px 18px;
	background: #f8fbff;
	border-color: #d6e6fb;
}
.mpp-trust-banner details { width: 100%; }
.mpp-trust-banner summary {
	list-style: none;
	cursor: pointer;
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 12px 0;
	font-size: 13px;
	color: #1f4e8c;
}
.mpp-trust-banner summary::-webkit-details-marker { display: none; }
.mpp-trust-icon { font-size: 16px; flex-shrink: 0; }
.mpp-trust-text strong { color: #16407a; }
.mpp-trust-details { padding: 0 0 14px 26px; }
.mpp-trust-details ul { margin: 0; padding-left: 18px; font-size: 12.5px; color: #3a5a86; }
.mpp-trust-details ul li { margin-bottom: 4px; }

/* Financial news */
.mpp-news-list {
	list-style: none;
	margin: 0;
	padding: 0;
}
.mpp-news-item {
	padding: 10px 0;
	border-bottom: 1px solid #f2f2fa;
	display: flex;
	flex-direction: column;
	gap: 3px;
}
.mpp-news-item:last-child { border-bottom: none; }
.mpp-news-item a {
	font-size: 14px;
	font-weight: 600;
	color: #1a1a2e;
	text-decoration: none;
	line-height: 1.4;
}
.mpp-news-item a:hover { color: #4f46e5; text-decoration: underline; }
.mpp-news-meta {
	font-size: 11.5px;
	color: #9a9ab0;
}

.mpp-disclaimer {
	text-align: center;
	font-size: 12px;
	color: #9a9ab0;
	margin: 18px 8px 0;
}

@media (max-width: 480px) {
	.mpp-page { margin: 14px 8px; }
	.mpp-hero-title { font-size: 22px; }
	.mpp-table { font-size: 12px; }
	.mpp-conv-row { flex-direction: column; align-items: stretch; }
}
