:root {
	--ryo-header-navy: #0b1f4d;
	--ryo-header-blue: #4c9fda;
	--ryo-header-blue-dark: #2f72bd;
	--ryo-header-text: #182235;
	--ryo-header-muted: #667085;
	--ryo-header-border: #dfe6ef;
	--ryo-header-surface: #ffffff;
	--ryo-header-soft: #f5f8fc;
	--ryo-header-shadow: 0 10px 30px rgba(11, 31, 77, 0.10);
	--ryo-header-focus: 0 0 0 3px rgba(76, 159, 218, 0.30);
	--ryo-header-max-width: 1400px;
}

body.ryo-ui-open {
	overflow: hidden !important;
}

#ryo-site-header-root,
#ryo-site-header-root * {
	box-sizing: border-box;
}

#ryo-site-header-root {
	position: relative;
	z-index: 99990;
	width: 100%;
	font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	color: var(--ryo-header-text);
	line-height: 1.4;
}

#ryo-site-header-root button,
#ryo-site-header-root input {
	font: inherit;
}

#ryo-site-header-root button {
	-webkit-appearance: none;
	appearance: none;
}

.ryo-skip-link {
	position: fixed;
	top: 8px;
	left: 8px;
	z-index: 100020;
	padding: 10px 14px;
	border-radius: 6px;
	background: var(--ryo-header-navy);
	color: #fff !important;
	font-size: 14px;
	font-weight: 700;
	text-decoration: none;
	transform: translateY(-150%);
	transition: transform 160ms ease;
}

.ryo-skip-link:focus {
	transform: translateY(0);
}

.ryo-market-strip {
	position: relative;
	z-index: 2;
	width: 100%;
	min-height: 40px;
	border-bottom: 1px solid var(--ryo-header-border);
	background: #fff;
	overflow: hidden;
}

.ryo-market-widget {
	position: relative;
	width: 100%;
	min-height: 40px;
	background: #fff;
}

.ryo-market-widget-mobile {
	display: none;
}

.ryo-market-widget coingecko-coin-price-marquee-widget {
	display: block;
	width: 100%;
	min-height: 40px;
}

.ryo-market-fallback {
	position: absolute;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 0 16px;
	background: #fff;
	color: var(--ryo-header-muted);
	font-size: 12px;
	letter-spacing: 0.01em;
	z-index: 1;
}

.ryo-market-fallback[hidden] {
	display: none !important;
}

.ryo-site-header {
	position: relative;
	z-index: 4;
	width: 100%;
	border-bottom: 1px solid rgba(11, 31, 77, 0.10);
	background: rgba(255, 255, 255, 0.98);
	box-shadow: 0 1px 0 rgba(11, 31, 77, 0.02);
	backdrop-filter: saturate(150%) blur(12px);
	-webkit-backdrop-filter: saturate(150%) blur(12px);
}

.ryo-header-is-sticky.is-stuck {
	padding-bottom: 78px;
}

.ryo-header-is-sticky.is-stuck .ryo-site-header {
	position: fixed;
	top: 0;
	right: 0;
	left: 0;
	box-shadow: var(--ryo-header-shadow);
}

body.admin-bar .ryo-header-is-sticky.is-stuck .ryo-site-header {
	top: 32px;
}

.ryo-main-header-inner {
	display: flex;
	align-items: center;
	gap: 28px;
	width: min(100% - 36px, var(--ryo-header-max-width));
	min-height: 78px;
	margin: 0 auto;
	transition: min-height 180ms ease;
}

.ryo-site-header-root.is-scrolled .ryo-main-header-inner {
	min-height: 66px;
}

.ryo-header-logo {
	display: inline-flex;
	align-items: center;
	flex: 0 0 auto;
	width: 220px;
	max-width: 24vw;
	text-decoration: none !important;
}

.ryo-header-logo:focus-visible {
	border-radius: 8px;
	outline: none;
	box-shadow: var(--ryo-header-focus);
}

.ryo-header-logo img {
	display: block;
	width: 100%;
	height: auto;
	max-height: 58px;
	object-fit: contain;
	object-position: left center;
	transition: width 180ms ease, max-height 180ms ease;
}

.ryo-site-header-root.is-scrolled .ryo-header-logo {
	width: 202px;
}

.ryo-primary-navigation {
	flex: 1 1 auto;
	min-width: 0;
	margin-left: auto;
}

.ryo-menu,
.ryo-menu ul {
	list-style: none !important;
	margin: 0 !important;
	padding: 0 !important;
}

.ryo-primary-navigation > .ryo-menu {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	gap: 2px;
	min-width: 0;
}

.ryo-menu li {
	position: relative;
	min-width: 0;
	margin: 0 !important;
	padding: 0 !important;
}

.ryo-primary-navigation > .ryo-menu > li {
	flex: 0 1 auto;
}

.ryo-menu a {
	display: flex;
	align-items: center;
	min-height: 42px;
	padding: 9px 10px;
	border-radius: 7px;
	color: var(--ryo-header-text) !important;
	font-size: 14px;
	font-weight: 650;
	letter-spacing: -0.01em;
	line-height: 1.2;
	text-decoration: none !important;
	white-space: nowrap;
	transition: color 150ms ease, background-color 150ms ease;
}

.ryo-primary-navigation > .ryo-menu > li > a {
	justify-content: center;
	max-width: 104px;
	min-height: 46px;
	text-align: center;
	text-wrap: balance;
	white-space: normal;
	overflow-wrap: anywhere;
	word-break: normal;
	hyphens: auto;
	line-height: 1.12;
}

.ryo-menu a:hover,
.ryo-menu a:focus-visible,
.ryo-menu .current-menu-item > a,
.ryo-menu .current-menu-ancestor > a {
	background: rgba(76, 159, 218, 0.10);
	color: var(--ryo-header-blue-dark) !important;
	outline: none;
}

.ryo-primary-navigation .sub-menu {
	position: absolute;
	top: calc(100% + 8px);
	left: 0;
	z-index: 20;
	display: none;
	min-width: 210px;
	padding: 8px !important;
	border: 1px solid var(--ryo-header-border);
	border-radius: 10px;
	background: #fff;
	box-shadow: var(--ryo-header-shadow);
}

.ryo-primary-navigation .sub-menu .sub-menu {
	top: -9px;
	left: calc(100% + 8px);
}

.ryo-primary-navigation li:hover > .sub-menu,
.ryo-primary-navigation li:focus-within > .sub-menu {
	display: block;
}

.ryo-primary-navigation .sub-menu a {
	min-height: 38px;
	padding: 9px 11px;
	font-size: 13px;
}

.ryo-header-controls {
	display: flex;
	align-items: center;
	gap: 4px;
	flex: 0 0 auto;
}

.ryo-header-icon-button,
.ryo-panel-close,
.ryo-drawer-utility,
.ryo-language-option {
	border: 0;
	cursor: pointer;
}

.ryo-header-icon-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 7px;
	min-width: 42px;
	min-height: 42px;
	padding: 8px 10px;
	border-radius: 8px;
	background: transparent;
	color: var(--ryo-header-navy);
	transition: background-color 150ms ease, color 150ms ease;
}

.ryo-header-icon-button:hover,
.ryo-header-icon-button:focus-visible,
.ryo-header-icon-button[aria-expanded="true"] {
	background: rgba(76, 159, 218, 0.11);
	color: var(--ryo-header-blue-dark);
	outline: none;
}

.ryo-header-icon-button:focus-visible,
.ryo-panel-close:focus-visible,
.ryo-drawer-utility:focus-visible,
.ryo-language-option:focus-visible,
.ryo-header-search-form input:focus,
.ryo-header-search-form button:focus-visible,
.ryo-language-search-wrap input:focus {
	box-shadow: var(--ryo-header-focus);
}

.ryo-header-icon-button svg,
.ryo-panel-close svg,
.ryo-drawer-utility svg,
.ryo-language-search-wrap svg {
	width: 21px;
	height: 21px;
	fill: none;
	stroke: currentColor;
	stroke-width: 1.8;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.ryo-control-label {
	font-size: 13px;
	font-weight: 650;
}

.ryo-menu-open {
	display: none;
}

.ryo-header-overlay {
	position: fixed;
	inset: 0;
	z-index: 99996;
	background: rgba(5, 15, 38, 0.52);
	backdrop-filter: blur(3px);
	-webkit-backdrop-filter: blur(3px);
}

.ryo-header-overlay[hidden] {
	display: none !important;
}

.ryo-mobile-drawer,
.ryo-header-dialog {
	position: fixed;
	z-index: 99998;
	border: 1px solid var(--ryo-header-border);
	background: #fff;
	box-shadow: 0 24px 70px rgba(5, 15, 38, 0.24);
}

.ryo-mobile-drawer[hidden],
.ryo-header-dialog[hidden] {
	display: none !important;
}

.ryo-mobile-drawer {
	top: 0;
	right: 0;
	bottom: 0;
	width: min(420px, 92vw);
	overflow-y: auto;
}

body.admin-bar .ryo-mobile-drawer {
	top: 32px;
}

.ryo-drawer-header,
.ryo-dialog-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	padding: 20px 22px;
	border-bottom: 1px solid var(--ryo-header-border);
}

.ryo-drawer-title,
.ryo-dialog-header h2 {
	margin: 0 !important;
	color: var(--ryo-header-navy);
	font-size: 20px;
	font-weight: 750;
	letter-spacing: -0.02em;
}

.ryo-dialog-header p {
	margin: 4px 0 0 !important;
	color: var(--ryo-header-muted);
	font-size: 13px;
}

.ryo-panel-close {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 auto;
	width: 40px;
	height: 40px;
	padding: 0;
	border-radius: 8px;
	background: var(--ryo-header-soft);
	color: var(--ryo-header-navy);
}

.ryo-panel-close:hover {
	background: #eaf1f9;
}

.ryo-mobile-navigation {
	padding: 14px;
}

.ryo-mobile-navigation .ryo-menu a {
	justify-content: space-between;
	min-height: 48px;
	padding: 12px 13px;
	font-size: 16px;
}

.ryo-mobile-navigation .sub-menu {
	margin: 0 0 6px 12px !important;
	padding-left: 12px !important;
	border-left: 2px solid #dbe8f5;
}

.ryo-mobile-navigation .sub-menu a {
	min-height: 42px;
	font-size: 14px;
}

.ryo-drawer-utilities {
	display: grid;
	gap: 8px;
	padding: 16px;
	border-top: 1px solid var(--ryo-header-border);
}

.ryo-drawer-utility {
	display: flex;
	align-items: center;
	gap: 10px;
	width: 100%;
	min-height: 46px;
	padding: 10px 12px;
	border-radius: 8px;
	background: var(--ryo-header-soft);
	color: var(--ryo-header-navy);
	font-weight: 700;
	text-align: left;
}

.ryo-header-dialog {
	top: 50%;
	left: 50%;
	width: min(760px, calc(100vw - 32px));
	max-height: min(760px, calc(100vh - 48px));
	border-radius: 14px;
	overflow: auto;
	transform: translate(-50%, -50%);
}

.ryo-search-dialog {
	width: min(680px, calc(100vw - 32px));
}

.ryo-header-search-form {
	display: grid;
	grid-template-columns: 1fr auto;
	gap: 10px;
	padding: 24px;
}

.ryo-header-search-form input {
	min-width: 0;
	height: 50px;
	padding: 0 15px;
	border: 1px solid #cbd6e3;
	border-radius: 8px;
	background: #fff;
	color: var(--ryo-header-text);
	font-size: 16px;
	outline: none;
}

.ryo-header-search-form button {
	min-width: 112px;
	height: 50px;
	padding: 0 20px;
	border: 0;
	border-radius: 8px;
	background: var(--ryo-header-navy);
	color: #fff;
	font-weight: 750;
	cursor: pointer;
}

.ryo-header-search-form button:hover {
	background: #15306e;
}

.ryo-language-search-wrap {
	position: relative;
	margin: 20px 22px 0;
}

.ryo-language-search-wrap svg {
	position: absolute;
	top: 50%;
	left: 14px;
	color: var(--ryo-header-muted);
	transform: translateY(-50%);
	pointer-events: none;
}

.ryo-language-search-wrap input {
	width: 100%;
	height: 46px;
	padding: 0 14px 0 44px;
	border: 1px solid #cbd6e3;
	border-radius: 8px;
	background: #fff;
	color: var(--ryo-header-text);
	font-size: 15px;
	outline: none;
}

.ryo-language-groups {
	padding: 6px 22px 18px;
}

.ryo-language-group h3 {
	margin: 18px 0 10px !important;
	color: var(--ryo-header-navy);
	font-size: 13px;
	font-weight: 800;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}

.ryo-language-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 8px;
}

.ryo-language-option {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	justify-content: center;
	min-height: 58px;
	padding: 9px 11px;
	border: 1px solid var(--ryo-header-border);
	border-radius: 8px;
	background: #fff;
	color: var(--ryo-header-text);
	text-align: left;
	transition: border-color 150ms ease, background-color 150ms ease, transform 150ms ease;
}

.ryo-language-option:hover,
.ryo-language-option:focus-visible {
	border-color: rgba(76, 159, 218, 0.70);
	background: #f5faff;
	outline: none;
	transform: translateY(-1px);
}

.ryo-language-option.is-selected {
	border-color: var(--ryo-header-blue);
	background: #eef7ff;
	box-shadow: inset 0 0 0 1px rgba(76, 159, 218, 0.22);
}

.ryo-language-option[dir="rtl"] {
	align-items: flex-end;
	text-align: right;
}

.ryo-language-native {
	font-size: 14px;
	font-weight: 750;
}

.ryo-language-english {
	margin-top: 2px;
	color: var(--ryo-header-muted);
	font-size: 11px;
}

.ryo-language-no-results {
	margin: 20px 0 8px;
	color: var(--ryo-header-muted);
	text-align: center;
}

.ryo-translation-note {
	margin: 0 !important;
	padding: 14px 22px 18px;
	border-top: 1px solid var(--ryo-header-border);
	color: var(--ryo-header-muted);
	font-size: 12px;
}

.ryo-translation-provider {
	padding: 22px;
}

.ryo-translation-provider select,
.ryo-translation-provider .goog-te-combo {
	width: 100%;
	min-height: 44px;
	padding: 8px 10px;
	border: 1px solid #cbd6e3;
	border-radius: 8px;
	background: #fff;
}

#ryo-site-header-root .screen-reader-text {
	position: absolute !important;
	width: 1px !important;
	height: 1px !important;
	padding: 0 !important;
	margin: -1px !important;
	overflow: hidden !important;
	clip: rect(0, 0, 0, 0) !important;
	white-space: nowrap !important;
	border: 0 !important;
}

@media (max-width: 1240px) {
	.ryo-main-header-inner {
		gap: 18px;
	}

	.ryo-header-logo {
		width: 195px;
	}

	.ryo-menu a {
		padding-inline: 8px;
		font-size: 13px;
	}

	.ryo-control-label {
		display: none;
	}
}

@media (max-width: 1080px) {
	.ryo-primary-navigation {
		display: none;
	}

	.ryo-header-controls {
		margin-left: auto;
	}

	.ryo-menu-open {
		display: inline-flex;
	}

	.ryo-header-logo {
		width: 205px;
		max-width: 55vw;
	}
}

@media (max-width: 782px) {
	body.admin-bar .ryo-header-is-sticky.is-stuck .ryo-site-header,
	body.admin-bar .ryo-mobile-drawer {
		top: 46px;
	}

	.ryo-market-widget-desktop {
		display: none;
	}

	.ryo-market-widget-mobile {
		display: block;
	}

	.ryo-market-strip,
	.ryo-market-widget,
	.ryo-market-widget coingecko-coin-price-marquee-widget {
		min-height: 36px;
	}

	.ryo-header-is-sticky.is-stuck {
		padding-bottom: 64px;
	}

	.ryo-main-header-inner {
		width: min(100% - 24px, var(--ryo-header-max-width));
		min-height: 64px;
		gap: 10px;
	}

	.ryo-site-header-root.is-scrolled .ryo-main-header-inner {
		min-height: 60px;
	}

	.ryo-header-logo,
	.ryo-site-header-root.is-scrolled .ryo-header-logo {
		width: 160px;
		max-width: 48vw;
	}

	.ryo-header-logo img {
		max-height: 44px;
	}

	.ryo-header-icon-button {
		min-width: 38px;
		min-height: 38px;
		padding: 7px;
	}

	.ryo-language-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.ryo-header-dialog {
		top: auto;
		left: 0;
		bottom: 0;
		width: 100%;
		max-height: min(82vh, 760px);
		border-right: 0;
		border-bottom: 0;
		border-left: 0;
		border-radius: 16px 16px 0 0;
		transform: none;
	}
}

@media (max-width: 520px) {
	.ryo-header-logo,
	.ryo-site-header-root.is-scrolled .ryo-header-logo {
		width: 142px;
	}

	.ryo-header-controls {
		gap: 0;
	}

	.ryo-language-grid {
		grid-template-columns: 1fr;
	}

	.ryo-header-search-form {
		grid-template-columns: 1fr;
		padding: 18px;
	}

	.ryo-header-search-form button {
		width: 100%;
	}

	.ryo-dialog-header,
	.ryo-drawer-header {
		padding: 16px 18px;
	}

	.ryo-language-search-wrap {
		margin: 16px 18px 0;
	}

	.ryo-language-groups {
		padding-inline: 18px;
	}
}

@media (prefers-reduced-motion: reduce) {
	#ryo-site-header-root *,
	#ryo-site-header-root *::before,
	#ryo-site-header-root *::after {
		scroll-behavior: auto !important;
		transition-duration: 0.01ms !important;
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
	}
}

/* Social links and automatic legacy-header suppression (v1.1.0). */
.ryo-legacy-header-hidden {
	display: none !important;
	visibility: hidden !important;
	height: 0 !important;
	min-height: 0 !important;
	margin: 0 !important;
	padding: 0 !important;
	overflow: hidden !important;
	pointer-events: none !important;
}

.ryo-header-socials {
	display: flex;
	align-items: center;
	gap: 3px;
	flex: 0 0 auto;
	padding-left: 7px;
	border-left: 1px solid var(--ryo-header-border);
}

.ryo-header-social-link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	border-radius: 8px;
	color: var(--ryo-header-navy) !important;
	text-decoration: none !important;
	transition: color 150ms ease, background-color 150ms ease, transform 150ms ease;
}

.ryo-header-social-link:hover,
.ryo-header-social-link:focus-visible {
	background: rgba(76, 159, 218, 0.11);
	color: var(--ryo-header-blue-dark) !important;
	outline: none;
	transform: translateY(-1px);
}

.ryo-header-social-link:focus-visible,
.ryo-drawer-social-link:focus-visible {
	box-shadow: var(--ryo-header-focus);
}

.ryo-header-social-link .ryo-brand-icon {
	display: block;
	width: 18px;
	height: 18px;
	fill: currentColor;
	stroke: none;
}

.ryo-header-social-link .ryo-brand-icon-telegram {
	width: 19px;
	height: 19px;
}

.ryo-drawer-socials {
	padding: 16px;
	border-top: 1px solid var(--ryo-header-border);
}

.ryo-drawer-socials-title {
	display: block;
	margin: 0 0 10px;
	color: var(--ryo-header-muted);
	font-size: 12px;
	font-weight: 800;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}

.ryo-drawer-socials-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 8px;
}

.ryo-drawer-social-link {
	display: flex;
	align-items: center;
	gap: 11px;
	min-height: 46px;
	padding: 10px 12px;
	border: 1px solid var(--ryo-header-border);
	border-radius: 8px;
	background: #fff;
	color: var(--ryo-header-navy) !important;
	font-size: 14px;
	font-weight: 700;
	line-height: 1.25;
	text-decoration: none !important;
	transition: border-color 150ms ease, background-color 150ms ease, color 150ms ease;
}

.ryo-drawer-social-link:hover,
.ryo-drawer-social-link:focus-visible {
	border-color: rgba(76, 159, 218, 0.70);
	background: #f5faff;
	color: var(--ryo-header-blue-dark) !important;
	outline: none;
}

.ryo-drawer-social-link .ryo-brand-icon {
	flex: 0 0 auto;
	width: 20px;
	height: 20px;
	fill: currentColor;
	stroke: none;
}

@media (max-width: 1240px) {
	.ryo-header-socials {
		padding-left: 4px;
	}

	.ryo-header-social-link {
		width: 34px;
		height: 34px;
	}
}

@media (max-width: 1080px) {
	.ryo-header-socials {
		display: none;
	}
}


/* Translation progress, resilient in-page translation, and translated-menu fitting (v1.2.0). */
body.ryo-translation-busy {
	overflow: hidden !important;
}

.ryo-google-translate-element {
	position: fixed !important;
	top: -10000px !important;
	left: -10000px !important;
	width: 1px !important;
	height: 1px !important;
	overflow: hidden !important;
	opacity: 0 !important;
	pointer-events: none !important;
}

body.ryo-translation-enabled {
	top: 0 !important;
}

body.ryo-translation-enabled .goog-te-banner-frame.skiptranslate,
body.ryo-translation-enabled iframe.goog-te-banner-frame,
body.ryo-translation-enabled #goog-gt-tt,
body.ryo-translation-enabled .goog-te-balloon-frame {
	display: none !important;
	visibility: hidden !important;
}

body.ryo-translation-enabled .goog-text-highlight {
	background: transparent !important;
	box-shadow: none !important;
}

.ryo-translation-progress[hidden],
.ryo-translation-toast[hidden] {
	display: none !important;
}

.ryo-translation-progress {
	position: fixed;
	inset: 0;
	z-index: 100060;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 24px;
	background: rgba(5, 15, 38, 0.72);
	backdrop-filter: blur(7px);
	-webkit-backdrop-filter: blur(7px);
	opacity: 0;
	transition: opacity 180ms ease;
}

.ryo-translation-progress.is-visible {
	opacity: 1;
}

.ryo-translation-progress-card {
	width: min(470px, calc(100vw - 32px));
	padding: 30px 28px 26px;
	border: 1px solid rgba(255, 255, 255, 0.18);
	border-radius: 16px;
	background: #fff;
	box-shadow: 0 24px 70px rgba(5, 15, 38, 0.30);
	color: var(--ryo-header-text);
	text-align: center;
}

.ryo-translation-spinner {
	width: 48px;
	height: 48px;
	margin: 0 auto 18px;
	border: 4px solid #dceaf7;
	border-top-color: var(--ryo-header-blue-dark);
	border-radius: 50%;
	animation: ryo-translation-spin 850ms linear infinite;
}

@keyframes ryo-translation-spin {
	to {
		transform: rotate(360deg);
	}
}

.ryo-translation-progress-title {
	margin: 0 !important;
	color: var(--ryo-header-navy);
	font-size: clamp(20px, 3vw, 25px);
	font-weight: 780;
	letter-spacing: -0.025em;
	line-height: 1.2;
}

.ryo-translation-progress-message {
	max-width: 390px;
	margin: 10px auto 0 !important;
	color: var(--ryo-header-muted);
	font-size: 14px;
	line-height: 1.55;
}

.ryo-translation-progress-bar {
	position: relative;
	height: 5px;
	margin: 22px 0 0;
	border-radius: 999px;
	background: #e8eef5;
	overflow: hidden;
}

.ryo-translation-progress-bar span {
	position: absolute;
	top: 0;
	bottom: 0;
	left: -42%;
	width: 42%;
	border-radius: inherit;
	background: linear-gradient(90deg, var(--ryo-header-blue-dark), #6ac8f0);
	animation: ryo-translation-progress 1.3s ease-in-out infinite;
}

@keyframes ryo-translation-progress {
	0% {
		transform: translateX(0);
	}
	100% {
		transform: translateX(340%);
	}
}

.ryo-translation-progress-actions {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 8px;
	margin-top: 20px;
}

.ryo-translation-progress-actions[hidden] {
	display: none !important;
}

.ryo-translation-action {
	min-height: 42px;
	padding: 9px 13px;
	border: 1px solid var(--ryo-header-border) !important;
	border-radius: 8px;
	background: #fff;
	color: var(--ryo-header-navy);
	font-size: 13px;
	font-weight: 750;
	line-height: 1.2;
	cursor: pointer;
}

.ryo-translation-action:hover,
.ryo-translation-action:focus-visible {
	border-color: var(--ryo-header-blue) !important;
	background: #f4f9ff;
	outline: none;
	box-shadow: var(--ryo-header-focus);
}

.ryo-translation-retry {
	border-color: var(--ryo-header-navy) !important;
	background: var(--ryo-header-navy);
	color: #fff;
}

.ryo-translation-retry:hover,
.ryo-translation-retry:focus-visible {
	background: #17336f;
	color: #fff;
}

.ryo-translation-toast {
	position: fixed;
	top: 18px;
	right: 18px;
	z-index: 100055;
	max-width: min(430px, calc(100vw - 36px));
	padding: 12px 15px;
	border: 1px solid rgba(76, 159, 218, 0.35);
	border-radius: 10px;
	background: #fff;
	box-shadow: 0 14px 36px rgba(11, 31, 77, 0.18);
	color: var(--ryo-header-text);
	font-size: 13px;
	font-weight: 650;
	line-height: 1.45;
	opacity: 0;
	transform: translateY(-8px);
	transition: opacity 180ms ease, transform 180ms ease;
}

.ryo-translation-toast.is-visible {
	opacity: 1;
	transform: translateY(0);
}

body.admin-bar .ryo-translation-toast {
	top: 50px;
}

/* Two-line desktop labels prevent translated navigation from colliding with social icons. */
.ryo-primary-navigation > .ryo-menu > li > a {
	padding-top: 8px;
	padding-bottom: 8px;
}

.ryo-site-header-root.ryo-nav-overflow .ryo-primary-navigation {
	display: none;
}

.ryo-site-header-root.ryo-nav-overflow .ryo-menu-open {
	display: inline-flex;
}

.ryo-site-header-root.ryo-nav-overflow .ryo-header-socials {
	margin-left: auto;
}

.ryo-site-header-root.ryo-nav-overflow .ryo-header-controls {
	margin-left: 0;
}

@media (max-width: 1240px) {
	.ryo-primary-navigation > .ryo-menu > li > a {
		max-width: 92px;
		padding-inline: 7px;
	}
}

@media (max-width: 1080px) {
	.ryo-site-header-root.ryo-nav-overflow .ryo-header-socials {
		display: none;
	}

	.ryo-site-header-root.ryo-nav-overflow .ryo-header-controls {
		margin-left: auto;
	}
}

@media (max-width: 520px) {
	.ryo-translation-progress {
		align-items: flex-end;
		padding: 12px;
	}

	.ryo-translation-progress-card {
		width: 100%;
		padding: 25px 20px 22px;
		border-radius: 16px;
	}

	.ryo-translation-progress-actions {
		display: grid;
		grid-template-columns: 1fr;
	}

	.ryo-translation-action {
		width: 100%;
	}

	.ryo-translation-toast {
		top: 12px;
		right: 12px;
		left: 12px;
		max-width: none;
	}

	body.admin-bar .ryo-translation-toast {
		top: 58px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.ryo-translation-spinner,
	.ryo-translation-progress-bar span {
		animation-duration: 2.2s !important;
	}
}
