.page-bg {
	background-image:linear-gradient(180deg,rgba(2,6,12,0.78),rgba(2,6,12,0.9));
}
.page-bg.bg-ready {
	background-image:linear-gradient(180deg,rgba(2,6,12,0.78),rgba(2,6,12,0.9)),url("assets/background.webp");
}
.lang-switch {
	display:inline-flex;
	gap:8px;
	align-items:center;
	position:relative;
	z-index:3100;
	overflow:visible;
}
.lang-flag {
	font-size:16px;
	line-height:1;
}
.lang-dropdown {
	position:relative;
	z-index:3100;
	overflow:visible;
}
.lang-dropdown-trigger {
	border:1px solid rgba(255,255,255,0.1);
	background:rgba(255,255,255,0.04);
	color:#fff;
	border-radius:999px;
	padding:6px 12px;
	font-size:12px;
	font-weight:600;
	cursor:pointer;
	min-width:128px;
	outline:none;
	backdrop-filter:blur(8px);
	-webkit-backdrop-filter:blur(8px);
	display:inline-flex;
	align-items:center;
	justify-content:space-between;
	gap:10px;
	width:100%;
}
.lang-dropdown-trigger:focus,
.lang-dropdown-trigger:focus-visible {
	border-color:rgba(89,230,255,0.6);
	box-shadow:0 0 0 2px rgba(89,230,255,0.18);
}
.lang-caret {
	font-size:10px;
	opacity:0.8;
	transition:transform .2s ease;
}
.lang-dropdown.is-open .lang-caret {
	transform:rotate(180deg);
}
.lang-dropdown-menu {
	position:absolute;
	top:calc(100% + 8px);
	left:0;
	right:0;
	z-index:3200;
	padding:6px;
	border:1px solid rgba(255,255,255,0.12);
	border-radius:16px;
	background:rgba(10,16,28,0.96);
	backdrop-filter:blur(12px);
	-webkit-backdrop-filter:blur(12px);
	box-shadow:0 18px 50px rgba(0,0,0,0.45);
	display:grid;
	gap:4px;
}
.lang-dropdown-menu[hidden] {
	display:none !important;
}
.lang-dropdown-option {
	width:100%;
	border:0;
	background:transparent;
	color:#fff;
	text-align:left;
	padding:10px 12px;
	border-radius:12px;
	font-size:12px;
	font-weight:600;
	cursor:pointer;
}
.lang-dropdown-option:hover,
.lang-dropdown-option:focus-visible {
	background:rgba(89,230,255,0.10);
	outline:none;
}
.lang-dropdown-option.is-selected {
	background:linear-gradient(90deg,rgba(89,230,255,0.18),rgba(142,92,255,0.18));
	box-shadow:inset 0 0 0 1px rgba(89,230,255,0.22);
}
.mobile-menu .lang-dropdown {
	width:100%;
}
.mobile-menu .lang-dropdown-trigger {
	width:100%;
}
.nav-wrap,
.nav,
.mobile-menu {
	overflow:visible;
}
.mobile-menu {
	z-index:3050;
}
.mobile-overlay {
	z-index:3040;
}
.account-reward-panel {
	border:1px solid rgba(89,230,255,0.2);
	background:linear-gradient(160deg,rgba(10,22,38,0.9),rgba(5,14,25,0.82));
	box-shadow:0 16px 36px rgba(0,0,0,0.32), inset 0 1px 0 rgba(255,255,255,0.04);
}
.account-reward-panel > strong {
	font-size:18px;
	margin-bottom:12px;
	letter-spacing:.02em;
}
.account-summary-card {
	margin-top:8px;
	padding:16px;
	border:1px solid rgba(255,255,255,0.12);
	border-radius:14px;
	background:linear-gradient(180deg,rgba(255,255,255,0.06),rgba(255,255,255,0.02));
}
.account-summary-top {
	display:grid;
	grid-template-columns:repeat(2,minmax(0,1fr));
	gap:14px;
}
.account-metric {
	min-width:0;
}
.account-metric .label { font-size:12px; letter-spacing:.04em; }
.account-metric .num {
	font-size:28px;
	margin-top:6px;
	white-space:nowrap;
	line-height:1.1;
	letter-spacing:-0.03em;
}
.account-withdraw-box {
	margin-top:12px;
	display:flex;
	gap:10px;
	padding-top:10px;
	border-top:1px solid rgba(255,255,255,0.08);
}
.account-withdraw-input {
	flex:1;
	height:38px;
	padding:0 12px;
	border-radius:10px;
	border:1px solid rgba(89,230,255,0.35);
	background:rgba(2,10,18,0.75);
	color:#a9ffcd;
	font-weight:700;
	width:150%;
}
.account-withdraw-btn {
	height:38px;
	padding:0 16px;
	border-radius:10px;
	border:1px solid rgba(89,230,255,0.5);
	background:linear-gradient(90deg,rgba(89,230,255,0.26),rgba(35,200,255,0.18));
	color:#eafaff;
	font-weight:700;
	cursor:pointer;
}
.account-withdraw-btn:hover { filter:brightness(1.12); }
.account-claim-msg {
	margin-top:8px;
	font-size:12px;
	color:#9ecfe6;
	min-height:18px;
}
.account-claim-msg:empty,
.account-nft-msg:empty,
.privacy-output:empty {
	display:none !important;
	min-height:0 !important;
	margin:0 !important;
}
.account-claim-msg.err { color:#ff9aa8; }
.account-claim-msg.ok { color:#8ff0c2; }
.account-reward-grid {
	display:grid;
	grid-template-columns:repeat(3,minmax(0,1fr));
	gap:14px;
	margin-top:14px;
}
.reward-mini {
	border:1px solid rgba(255,255,255,0.13);
	border-radius:14px;
	padding:16px 10px;
	text-align:center;
	background:linear-gradient(180deg,rgba(255,255,255,0.05),rgba(255,255,255,0.015));
	min-width:0;
}
.reward-mini .val { font-size:28px; font-weight:800; line-height:1.1; margin-bottom:8px; white-space:nowrap; }
.reward-mini .txt { font-size:12px; color:var(--text-muted); letter-spacing:.03em; }
.reward-direct .val { color:#53dbff; }
.reward-community .val { color:#ac8bff; }
.reward-peer .val { color:#34eaa0; }
.is-tp .reward-mini .val {
	position:relative;
	z-index:1;
	opacity:1;
	-webkit-transform:translateZ(0);
	transform:translateZ(0);
}
.is-tp .hero-panel,
.is-tp .card,
.is-tp .stack-item {
	-webkit-backdrop-filter:none !important;
	backdrop-filter:none !important;
}
.account-detail-card {
	margin-top:14px;
	padding:14px;
	border:1px solid rgba(255,255,255,0.12);
	border-radius:14px;
	background:linear-gradient(180deg,rgba(255,255,255,0.04),rgba(255,255,255,0.01));
}
.account-detail-title {
	font-size:13px;
	color:var(--text-muted);
	margin-bottom:8px;
}
.account-detail-items {
	font-size:12px;
	color:var(--text-muted);
}
.acc-scroll-x {
	overflow-x:auto;
	overflow-y:hidden;
	-webkit-overflow-scrolling:touch;
	scrollbar-width:thin;
	scrollbar-color:rgba(242,201,125,0.65) rgba(255,255,255,0.08);
}
.acc-scroll-x::-webkit-scrollbar {
	height:10px;
}
.acc-scroll-x::-webkit-scrollbar-track {
	background:rgba(255,255,255,0.08);
	border-radius:999px;
	box-shadow:inset 0 0 0 1px rgba(255,255,255,0.10);
}
.acc-scroll-x::-webkit-scrollbar-thumb {
	border-radius:999px;
	background:linear-gradient(90deg,rgba(242,201,125,0.75),rgba(89,230,255,0.65));
	box-shadow:0 6px 14px rgba(0,0,0,0.35);
}
.acc-scroll-x::-webkit-scrollbar-thumb:hover {
	background:linear-gradient(90deg,rgba(255,214,148,0.88),rgba(114,240,191,0.72));
}
.acc-data-table {
	width:100%;
	min-width:300px;
	border-collapse:separate;
	border-spacing:0;
	font-size:12px;
	color:var(--text-main);
}
.acc-data-table thead th {
	text-align:left;
	padding:10px 12px;
	color:rgba(247,224,184,0.86);
	font-weight:700;
	border-bottom:1px solid rgba(228,185,104,0.22);
	background:rgba(0,0,0,0.12);
	white-space:nowrap;
}
.acc-data-table tbody td {
	padding:10px 12px;
	border-bottom:1px solid rgba(228,185,104,0.12);
	color:rgba(247,244,237,0.92);
	white-space:nowrap;
}
.acc-data-table tbody tr:hover td {
	background:rgba(228,185,104,0.06);
}
.acc-data-table .is-right {
	text-align:right;
}
.acc-data-table .is-addr {
	white-space:normal;
	word-break:break-all;
}
.account-withdraw-history {
	margin-top:20px;
	padding-top:18px;
	border-top:1px solid rgba(228,185,104,0.18);
}
.account-withdraw-history-title {
	margin-bottom:12px;
	color:rgba(247,224,184,0.96);
	font-size:15px;
	font-weight:700;
}
.account-withdraw-history-items {
	width:100%;
	max-width:100%;
	min-width:0;
	color:var(--text-muted);
	font-size:12px;
}
#accMainPaneBalance,
#accMainPaneBalance > .stack,
#accMainPaneBalance .account-feature-card,
#accMainPaneBalance .account-withdraw-history {
	width:100%;
	max-width:100%;
	min-width:0;
	box-sizing:border-box;
}
#accMainPaneBalance > .stack,
#accMainPaneBalance .account-feature-card,
#accMainPaneBalance .account-withdraw-history {
	overflow:hidden;
}
.account-withdraw-history-items .acc-scroll-x {
	display:block;
	width:100%;
	max-width:100%;
	min-width:0;
	overflow-x:auto;
	overflow-y:hidden;
	contain:inline-size;
}
.account-withdraw-history-items .acc-data-table {
	width:max-content;
	min-width:100%;
	table-layout:auto;
}
/* The referral table must stay inside the account panel even when translated
   headings are substantially longer than the Chinese labels. */
#accDataPaneTeam,
#accDataPaneTeam > .stack,
#accDataPaneTeam .account-detail-card,
#accReferralItems {
	width:100% !important;
	max-width:100% !important;
	min-width:0 !important;
	box-sizing:border-box;
}
#accReferralItems {
	overflow:hidden;
}
#accReferralItems > .acc-scroll-x {
	display:block;
	width:100%;
	max-width:100%;
	min-width:0;
	overflow-x:auto;
	overflow-y:hidden;
}
#accReferralItems .acc-data-table {
	width:100%;
	min-width:0;
	table-layout:auto;
}
#accReferralItems .acc-data-table th,
#accReferralItems .acc-data-table td {
	min-width:0;
	padding:9px 6px;
	white-space:normal;
	word-break:normal;
	line-height:1.35;
}
#accReferralItems .acc-data-table th {
	overflow-wrap:normal;
	word-break:keep-all;
	hyphens:auto;
}
#accReferralItems .acc-data-table th:first-child,
#accReferralItems .acc-data-table td:first-child {
	width:auto;
}
#accReferralItems .acc-referral-table > thead > tr > th.acc-referral-sequence,
#accReferralItems .acc-referral-table > tbody > tr > td.acc-referral-sequence {
	width:46px;
	min-width:46px;
	text-align:center;
}
#accReferralItems .acc-referral-sequence.is-placeholder {
	position:relative;
	color:transparent;
}
#accReferralItems .acc-referral-sequence.is-placeholder::before {
	position:absolute;
	top:50%;
	left:50%;
	color:rgba(242,201,125,0.66);
	content:'└';
	transform:translate(-50%,-50%);
}
#accReferralItems .acc-data-table td {
	overflow-wrap:anywhere;
	font-variant-numeric:tabular-nums;
}
#accReferralItems .acc-referral-team-count {
	text-align:center;
}
#accReferralItems .acc-referral-member-row[data-referral-depth] > td,
#accReferralItems .acc-referral-child-row[data-referral-depth] > td,
#accReferralItems .acc-referral-child-pager[data-referral-depth] > td {
	background:var(--referral-row-bg,rgba(8,24,39,0.76));
}
#accReferralItems .acc-referral-sequence.is-placeholder::before {
	color:var(--referral-row-accent,rgba(242,201,125,0.66));
}
.acc-referral-summary {
	display:flex;
	align-items:center;
	justify-content:space-between;
	gap:16px;
	flex-wrap:wrap;
	margin-bottom:8px;
	color:#8fb4dd;
	font-size:12px;
}
.acc-referral-summary.is-nested {
	margin:0 0 10px;
}
.acc-referral-toggle {
	display:inline-flex;
	align-items:center;
	max-width:100%;
	padding:3px 0;
	color:rgba(247,244,237,0.96);
	font:inherit;
	font-weight:700;
	text-align:left;
}
#accReferralItems .acc-referral-member-row.is-toggle {
	cursor:pointer;
}
#accReferralItems .acc-referral-member-row.is-toggle:hover > td,
#accReferralItems .acc-referral-member-row.is-toggle:focus-visible > td {
	background:linear-gradient(rgba(228,185,104,0.10),rgba(228,185,104,0.10)),var(--referral-row-bg,rgba(8,24,39,0.76));
	color:#f2c97d;
}
#accReferralItems .acc-referral-member-row.is-toggle:hover .acc-referral-toggle,
#accReferralItems .acc-referral-member-row.is-toggle:focus-visible .acc-referral-toggle,
#accReferralItems .acc-referral-member-row.is-toggle:hover .acc-referral-child-name,
#accReferralItems .acc-referral-member-row.is-toggle:focus-visible .acc-referral-child-name {
	color:#f2c97d;
}
#accReferralItems .acc-referral-member-row.is-toggle:focus-visible {
	outline:1px solid rgba(242,201,125,0.68);
	outline-offset:-1px;
}
#accReferralItems .acc-referral-member-row.is-expanded > td,
#accReferralItems .acc-referral-member-row.is-expanded.is-toggle:hover > td,
#accReferralItems .acc-referral-member-row.is-expanded.is-toggle:focus-visible > td {
	background:var(--referral-expanded-bg,var(--referral-row-bg,rgba(8,24,39,0.76)));
	color:#f2c97d;
}
#accReferralItems .acc-referral-member-row.is-expanded .acc-referral-toggle,
#accReferralItems .acc-referral-member-row.is-expanded .acc-referral-child-name,
#accReferralItems .acc-referral-member-row.is-expanded.is-toggle:hover .acc-referral-toggle,
#accReferralItems .acc-referral-member-row.is-expanded.is-toggle:focus-visible .acc-referral-toggle,
#accReferralItems .acc-referral-member-row.is-expanded.is-toggle:hover .acc-referral-child-name,
#accReferralItems .acc-referral-member-row.is-expanded.is-toggle:focus-visible .acc-referral-child-name {
	color:#f2c97d;
}
#accReferralItems .acc-referral-child-row > td {
	padding:0 !important;
	border-bottom:0;
	background:var(--referral-row-bg,rgba(8,24,39,0.76)) !important;
}
.acc-referral-branch {
	position:relative;
	margin:0;
	padding:14px 0 4px;
	background:transparent;
}
.acc-referral-branch-title {
	margin-bottom:10px;
	padding:0 10px;
	color:#8fb4dd;
	font-size:13px;
	font-weight:800;
	text-align:start;
}
.acc-referral-branch-status {
	padding:10px 10px 12px 52px;
	color:#8fb4dd;
	font-size:12px;
}
.acc-referral-branch-status.is-error {
	color:#ff9aa8;
}
.acc-referral-child-name {
	display:inline-block;
	color:rgba(247,244,237,0.92);
	font-weight:700;
}
.acc-referral-branch .liq-table-pagination {
	margin:10px 0 4px;
}
#accReferralItems .acc-referral-child-pager > td {
	padding:0 0 12px !important;
	border-bottom:1px solid rgba(228,185,104,0.18);
	background:var(--referral-row-bg,rgba(8,24,39,0.76));
}
#accReferralItems .acc-referral-child-pager .liq-table-pagination {
	margin:10px 0 4px;
}
[dir="rtl"] #accReferralItems .acc-referral-branch-title {
	direction:rtl;
	text-align:right;
}
[dir="rtl"] #accReferralItems .acc-referral-child-row > td,
[dir="rtl"] #accReferralItems .acc-referral-branch {
	direction:rtl;
	text-align:right;
}
[dir="rtl"] #accReferralItems .acc-referral-child-pager .liq-table-pagination {
	direction:rtl;
}
[dir="rtl"] #accReferralItems .acc-referral-child-pager .liq-page-info {
	direction:rtl;
	text-align:center;
}

@media (max-width:640px) {
	#accReferralItems .acc-data-table {
		font-size:11px;
	}
	#accReferralItems .acc-data-table th,
	#accReferralItems .acc-data-table td {
		padding:8px 4px;
	}
	#accReferralItems .acc-referral-table > thead > tr > th.acc-referral-account,
	#accReferralItems .acc-referral-table > tbody > tr > td.acc-referral-account {
		width:1%;
	}
	#accReferralItems .acc-referral-table > tbody > tr > td.is-right {
		min-width:max-content;
		white-space:nowrap;
		overflow-wrap:normal;
		word-break:normal;
	}
	.acc-referral-branch {
		margin-inline-start:6px;
		padding-inline-start:8px;
		padding-inline-end:2px;
	}
	#accReferralItems .liq-table-pagination {
		grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);
		gap:6px;
		min-width:0;
	}
	#accReferralItems .liq-page-btn {
		min-width:0;
		max-width:100%;
		padding:8px 7px;
		white-space:normal;
		line-height:1.2;
	}
	#accReferralItems .liq-page-info {
		white-space:normal;
	}
}

@media (max-width:640px) {
	#account-overview-panel #accClaimPrincipalBtn,
	#account-app-panel #accMainPaneClaim #accClaimStaticBtn,
	#account-app-panel #accMainPaneClaim #accClaimDynamicBtn,
	#account-bond-nft-panel #accNftClaimBtn {
		width:auto !important;
		min-width:0 !important;
		max-width:none !important;
		height:38px !important;
		padding:0 16px !important;
		border-radius:10px !important;
		font-size:0 !important;
		line-height:1 !important;
		white-space:nowrap !important;
	}
	#account-overview-panel #accClaimPrincipalBtn::after,
	#account-app-panel #accMainPaneClaim #accClaimStaticBtn::after,
	#account-app-panel #accMainPaneClaim #accClaimDynamicBtn::after,
	#account-bond-nft-panel #accNftClaimBtn::after {
		content:attr(data-mobile-label) !important;
		font-size:16px !important;
		line-height:1 !important;
	}
}
.acc-level-req-table-wrap {
	width:100%;
	max-width:100%;
	overflow-x:auto;
	overflow-y:hidden;
}
.acc-level-req-table {
	width:100%;
	min-width:0;
	table-layout:auto;
	border-collapse:separate;
	border-spacing:0;
	font-size:12px;
	color:var(--text-main);
}
.acc-level-req-table thead th {
	text-align:left;
	padding:10px 12px;
	white-space:nowrap;
	color:rgba(247,224,184,0.86);
	font-weight:700;
	border-bottom:1px solid rgba(228,185,104,0.22);
	background:rgba(0,0,0,0.12);
}
.acc-level-req-table tbody td {
	padding:10px 12px;
	white-space:nowrap;
	border-bottom:1px solid rgba(228,185,104,0.12);
	color:rgba(247,244,237,0.92);
}
.acc-level-req-table thead th:nth-child(2),
.acc-level-req-table tbody td:nth-child(2) {
	text-align:center;
}
.acc-level-req-table thead th:nth-child(3),
.acc-level-req-table tbody td:nth-child(3) {
	text-align:right;
}
.acc-level-req-table tbody tr:hover td {
	background:rgba(228,185,104,0.06);
}
.account-level-rule-copy {
	padding:18px 12px 4px;
	border-top:1px solid rgba(228,185,104,0.2);
	color:rgba(247,244,237,0.76);
	font-size:13px;
	line-height:1.75;
}
.account-level-rule-title {
	margin-bottom:8px;
	color:rgba(247,224,184,0.96);
	font-size:15px;
	font-weight:700;
}
.account-level-rule-copy p {
	margin:0 0 12px;
}
.account-level-rule-formulas {
	display:grid;
	gap:8px;
	margin-bottom:12px;
}
.account-level-rule-formulas > div {
	padding:9px 12px;
	border-left:2px solid rgba(228,185,104,0.72);
	background:rgba(228,185,104,0.07);
	color:rgba(247,244,237,0.92);
}
.account-level-rule-copy ul {
	margin:0;
	padding-left:20px;
}
.account-level-rule-copy li + li {
	margin-top:6px;
}
[dir="rtl"] .account-level-rule-formulas > div {
	border-right:2px solid rgba(228,185,104,0.72);
	border-left:0;
}
[dir="rtl"] .account-level-rule-copy ul {
	padding-right:20px;
	padding-left:0;
}
.account-nft-panel .stack {
	height:100%;
}
.account-nft-card {
	margin-top:0;
	padding:16px;
	border:1px solid rgba(89,230,255,0.2);
	border-radius:16px;
	background:linear-gradient(160deg,rgba(8,20,34,0.88),rgba(6,14,26,0.72));
	box-shadow:0 16px 36px rgba(0,0,0,0.28), inset 0 1px 0 rgba(255,255,255,0.04);
	min-height:100%;
}
.account-nft-head {
	display:flex;
	align-items:center;
	justify-content:space-between;
	gap:12px;
	flex-wrap:wrap;
}
.account-nft-badge {
	padding:6px 10px;
	border-radius:999px;
	border:1px solid rgba(137,88,255,0.8);
	background:rgba(137,88,255,0.18);
	color:#f3ebff;
	font-size:11px;
	font-weight:700;
	letter-spacing:.04em;
}
.account-nft-grid {
	display:grid;
	grid-template-columns:repeat(3,minmax(0,1fr));
	gap:14px;
	margin-top:6px;
}
.account-nft-metric {
	padding:18px 14px;
	border-radius:14px;
	border:1px solid rgba(255,255,255,0.12);
	background:linear-gradient(180deg,rgba(255,255,255,0.06),rgba(255,255,255,0.02));
	min-width:0;
}
.account-nft-metric .label {
	font-size:12px;
	color:var(--text-muted);
	letter-spacing:.04em;
}
.account-nft-metric .value {
	margin-top:10px;
	font-size:32px;
	font-weight:800;
	line-height:1.08;
	color:#fff;
	word-break:break-word;
}
.account-nft-metric .value.ok {
	color:#72f0bf;
}
.account-nft-metric .value.warn {
	color:#ffd070;
}
.account-nft-meta {
	margin-top:14px;
	font-size:14px;
	color:var(--text-muted);
	line-height:1.8;
}
.account-nft-actions {
	display:flex;
	gap:10px;
	flex-wrap:wrap;
	margin-top:16px;
}
.account-nft-btn {
	height:38px;
	padding:0 16px;
	border-radius:10px;
	border:1px solid rgba(255,255,255,0.16);
	background:rgba(255,255,255,0.06);
	color:#fff;
	font-weight:700;
	cursor:pointer;
}
.account-nft-btn.primary {
	border-color:rgba(89,230,255,0.5);
	background:linear-gradient(90deg,rgba(89,230,255,0.26),rgba(35,200,255,0.18));
	color:#eafaff;
}
.account-nft-btn:hover:not(:disabled) {
	filter:brightness(1.12);
}
.account-nft-btn:disabled {
	opacity:.55;
	cursor:not-allowed;
}
.account-nft-msg {
	margin-top:10px;
	font-size:12px;
	color:#9ecfe6;
	min-height:18px;
}
.account-nft-msg.ok { color:#8ff0c2; }
.account-nft-msg.err { color:#ff9aa8; }
#account-bond-nft-panel #accNftClaimBtn {
	margin-left:auto;
}
.account-node-guide-switch {
	min-width:96px;
	height:38px;
	padding:0 18px;
	border:1px solid rgba(228,185,104,.46);
	border-radius:999px;
	background:rgba(228,185,104,.10);
	color:#fff;
	font-size:13px;
	font-weight:700;
	cursor:pointer;
}
.account-node-guide-switch:hover,
.account-node-guide-switch:focus-visible {
	border-color:rgba(228,185,104,.72);
	background:rgba(228,185,104,.18);
	outline:none;
}
.account-node-guide-pane[hidden] {
	display:none !important;
}
.account-node-guide-card {
	padding:20px;
	border:1px solid rgba(228,185,104,.22);
	border-radius:16px;
	background:linear-gradient(160deg,rgba(8,20,34,.88),rgba(6,14,26,.72));
	box-shadow:0 16px 36px rgba(0,0,0,.28),inset 0 1px 0 rgba(255,255,255,.04);
}
.account-node-guide-kicker {
	color:#e4b968;
	font-size:11px;
	font-weight:800;
	letter-spacing:.12em;
}
.account-node-guide-intro {
	max-width:760px;
	margin-top:10px;
	color:rgba(247,244,237,.78);
	font-size:14px;
	line-height:1.8;
}
.account-node-guide-requirements {
	display:grid;
	grid-template-columns:repeat(3,minmax(0,1fr));
	gap:12px;
	margin-top:20px;
}
.account-node-guide-requirement {
	position:relative;
	display:flex;
	align-items:flex-start;
	gap:12px;
	min-width:0;
	padding:18px 16px;
	border:1px solid rgba(255,255,255,.10);
	border-radius:14px;
	background:linear-gradient(180deg,rgba(255,255,255,.055),rgba(255,255,255,.02));
}
.account-node-guide-index {
	display:flex;
	align-items:center;
	justify-content:center;
	flex:0 0 32px;
	width:32px;
	height:32px;
	border:1px solid rgba(228,185,104,.38);
	border-radius:50%;
	background:rgba(228,185,104,.10);
	color:#e4b968;
	font-size:10px;
	font-weight:800;
}
.account-node-guide-requirement-copy {
	min-width:0;
}
.account-node-guide-requirement-title {
	color:rgba(247,244,237,.68);
	font-size:12px;
	font-weight:700;
}
.account-node-guide-requirement-value {
	margin-top:8px;
	color:#fff;
	font-size:22px;
	font-weight:800;
	line-height:1.2;
	overflow-wrap:anywhere;
}
.account-node-guide-requirement-desc {
	margin-top:9px;
	color:var(--text-muted);
	font-size:12px;
	line-height:1.65;
}
.account-node-guide-flow {
	margin-top:16px;
	padding:16px 18px;
	border-left:3px solid rgba(89,230,255,.56);
	border-radius:0 12px 12px 0;
	background:rgba(89,230,255,.055);
}
.account-node-guide-flow-title {
	color:#dffaff;
	font-size:14px;
	font-weight:800;
}
.account-node-guide-flow-copy {
	margin-top:7px;
	color:rgba(223,250,255,.72);
	font-size:13px;
	line-height:1.75;
}
.account-node-guide-note {
	margin-top:14px;
	padding-top:14px;
	border-top:1px solid rgba(228,185,104,.20);
	color:rgba(247,244,237,.52);
	font-size:11px;
	line-height:1.7;
}
.account-split-title {
        font-size:13px;
        font-weight:700;
        color:#fff;
        margin-bottom:10px;
}
.account-feature-card {
        margin-top:0;
        padding:16px;
        border:1px solid rgba(89,230,255,0.2);
        border-radius:16px;
        background:linear-gradient(160deg,rgba(8,20,34,0.88),rgba(6,14,26,0.72));
        box-shadow:0 16px 36px rgba(0,0,0,0.28), inset 0 1px 0 rgba(255,255,255,0.04);
        min-height:100%;
}
.account-feature-head {
        display:flex;
        align-items:center;
        justify-content:space-between;
        gap:12px;
        flex-wrap:wrap;
}
.account-feature-badge {
        padding:6px 10px;
        border-radius:999px;
        border:1px solid rgba(137,88,255,0.8);
        background:rgba(137,88,255,0.18);
        color:#f3ebff;
        font-size:11px;
        font-weight:700;
        letter-spacing:.04em;
}
.account-feature-grid {
        display:grid;
        grid-template-columns:repeat(2,minmax(0,1fr));
        gap:14px;
        margin-top:6px;
}
.account-feature-metric {
        padding:18px 14px;
        border-radius:14px;
        border:1px solid rgba(255,255,255,0.12);
        background:linear-gradient(180deg,rgba(255,255,255,0.06),rgba(255,255,255,0.02));
        min-width:0;
}
.account-feature-metric .label {
        font-size:12px;
        color:var(--text-muted);
        letter-spacing:.04em;
}
.account-feature-metric .value {
        margin-top:10px;
        font-size:32px;
        font-weight:800;
        line-height:1.08;
        color:#fff;
        word-break:break-word;
}
.account-claim-unit {
	margin-left:.28em;
}
#accMainPaneClaim .account-claim-actions-row {
	display:grid;
	grid-template-columns:repeat(2,minmax(0,1fr));
	gap:14px;
	margin-top:14px;
	padding-top:14px;
	padding-bottom:14px;
	border-top:1px solid rgba(228,185,104,.20);
	border-bottom:1px solid rgba(228,185,104,.20);
}
#accMainPaneClaim .account-claim-actions-row .account-withdraw-btn {
	justify-self:start;
	width:max-content;
	min-width:0;
}
.account-feature-metric .value.small {
        font-size:22px;
}
.account-feature-metric .value.warn {
        color:#ffd070;
}
.account-feature-meta {
        margin-top:14px;
        font-size:14px;
        color:var(--text-muted);
        line-height:1.8;
}
.account-claim-progress {
        margin-top:14px;
        padding:14px;
        border-radius:14px;
        border:1px solid rgba(89,230,255,0.16);
        background:linear-gradient(180deg,rgba(89,230,255,0.08),rgba(255,255,255,0.03));
}
.account-claim-progress-head {
        display:flex;
        align-items:center;
        justify-content:space-between;
        gap:12px;
        margin-bottom:10px;
}
.account-claim-progress-title {
        font-size:13px;
        font-weight:700;
        color:#e9fbff;
}
.account-claim-progress-pct {
        font-size:14px;
        font-weight:800;
        color:#7cecff;
}
.account-claim-progress-bar {
        position:relative;
        height:10px;
        border-radius:999px;
        overflow:hidden;
        background:rgba(255,255,255,0.08);
        box-shadow:inset 0 1px 2px rgba(0,0,0,0.18);
}
.account-claim-progress-fill {
        height:100%;
        width:100%;
        border-radius:999px;
        background:linear-gradient(90deg,#59e6ff 0%,#8e6bff 100%);
        box-shadow:0 0 18px rgba(89,230,255,0.28);
        transform-origin:left center;
        transform:scaleX(0);
        -webkit-transform:scaleX(0);
        transition:transform .25s ease;
}
.is-tp .account-claim-progress-fill {
        width:0;
        transform:none;
        -webkit-transform:none;
        transition:width .25s ease;
}
.acc-popup-mask {
        position:fixed;
        inset:0;
        background:rgba(0,0,0,0.55);
        z-index:9999;
        display:none;
        align-items:center;
        justify-content:center;
        padding:18px;
}
.acc-popup-mask.is-open {
        display:flex;
}
.acc-popup {
        width:min(92vw, 420px);
        border-radius:16px;
        border:1px solid rgba(255,255,255,0.14);
        background:rgba(6,18,30,0.92);
        box-shadow:0 20px 48px rgba(0,0,0,0.55);
        padding:14px;
        color:#fff;
}
.acc-popup-title {
        font-size:14px;
        font-weight:800;
        margin-bottom:10px;
        color:#f2c97d;
}
.acc-popup-msg {
        font-size:12px;
        line-height:1.6;
        color:#dff7ff;
        white-space:pre-wrap;
        word-break:break-word;
}
.acc-popup-actions {
        display:flex;
        justify-content:flex-end;
        margin-top:12px;
}
.acc-popup-btn {
        height:34px;
        padding:0 14px;
        border-radius:10px;
        border:1px solid rgba(228,185,104,0.42);
        background:linear-gradient(90deg,#e4b968,#ff8954);
        color:#1b1208;
        font-weight:800;
        cursor:pointer;
}
.account-claim-progress-grid {
        margin-top:12px;
        display:grid;
        grid-template-columns:repeat(3,minmax(0,1fr));
        gap:10px;
}
@supports not (display:grid) {
        .account-claim-progress-grid {
                display:flex;
                flex-wrap:wrap;
        }
        .account-claim-progress-item {
                flex:1 1 160px;
        }
}
.account-claim-progress-item {
        padding:12px 10px;
        border-radius:12px;
        border:1px solid rgba(255,255,255,0.08);
        background:rgba(255,255,255,0.03);
}
.account-claim-progress-item-with-help {
	position:relative;
	padding-right:42px;
}
.account-claim-progress-item-with-help .account-cap-help {
	right:10px;
}
.account-claim-progress-item span {
        display:block;
        font-size:12px;
        color:var(--text-muted);
}
.account-claim-progress-item strong {
        display:block;
        margin-top:6px;
        font-size:18px;
        line-height:1.2;
        color:#fff;
        word-break:break-word;
}
.account-feature-inline-value {
        margin-top:8px;
        display:flex;
        align-items:flex-end;
        justify-content:space-between;
        gap:12px;
        color:var(--text-muted);
        font-size:14px;
        line-height:1.6;
}
.account-feature-inline-value .label {
        color:var(--text-muted);
}
.account-feature-inline-value strong {
        color:#fff;
        font-size:28px;
        line-height:1.1;
        font-weight:800;
        text-align:right;
}
.account-feature-actions {
        display:flex;
        gap:10px;
        flex-wrap:wrap;
        margin-top:16px;
}
.account-feature-actions .account-withdraw-btn {
        min-width:130px;
}
.privacy-tabs {
        display:grid;
        grid-template-columns:repeat(auto-fit,minmax(140px,1fr));
        gap:8px;
}
.account-main-tabs {
        display:flex;
        flex-wrap:wrap;
        grid-template-columns:none;
}
.account-main-tabs .privacy-tab {
        flex:0 0 auto;
        min-width:max-content;
        max-width:100%;
        padding:0 10px;
        white-space:nowrap;
}
.account-main-pane {
        display:none;
}
.account-main-pane.active {
        display:block !important;
}
.account-profile-pane[hidden],
.account-profile-lock[hidden],
.account-profile-value[hidden] {
	display:none !important;
}
.account-profile-list {
	width:100%;
	min-width:0;
	border-top:1px solid rgba(228,185,104,.30);
}
.account-profile-row {
	display:grid !important;
	grid-template-columns:fit-content(35%) minmax(0,1fr) max-content;
	column-gap:22px;
	align-items:center;
	min-width:0;
	min-height:70px;
	padding:14px 0;
	border-bottom:1px solid rgba(228,185,104,.22);
}
.account-profile-label {
	grid-column:1;
	min-width:0;
	max-width:100%;
	align-self:center;
	white-space:normal;
	overflow-wrap:anywhere;
	word-break:break-word;
	line-height:1.45;
}
.account-profile-control {
	grid-column:2;
	width:100%;
	min-width:0;
	max-width:100%;
	align-self:center;
	overflow:hidden;
}
.account-profile-input {
	min-width:0;
	max-width:100%;
}
.account-profile-value {
	flex:1 1 0;
	width:100%;
	min-width:0;
	max-width:100%;
	padding:10px 12px;
	color:rgba(247,244,237,.82);
	font-size:13px;
	font-weight:600;
	line-height:1.55;
	white-space:normal;
	overflow-wrap:anywhere;
	word-break:break-word;
}
.account-profile-lock {
	grid-column:3;
	justify-self:end;
	align-self:center;
	width:max-content;
	white-space:nowrap;
}
.privacy-grid {
	display:grid;
	grid-template-columns:1fr 1fr;
	gap:10px;
	margin-top:12px;
}
@media (max-width:980px) {
	.account-summary-top { grid-template-columns:repeat(2,minmax(0,1fr)); }
}
@media (max-width:640px) {
	.account-node-guide-requirements {
		grid-template-columns:1fr;
	}
	.account-node-guide-card {
		padding:16px;
	}
	.account-node-guide-switch {
		min-width:auto;
		padding:0 14px;
	}
	.account-profile-row {
		grid-template-columns:fit-content(34%) minmax(0,1fr) max-content;
		column-gap:8px;
	}
        .account-main-tabs .privacy-tab {
                font-size:12px;
                padding:0 6px;
        }
	.account-reward-grid { grid-template-columns:repeat(3,minmax(0,1fr)); }
	.account-nft-grid { grid-template-columns:1fr; }
        .account-feature-grid { grid-template-columns:1fr; }
        .account-claim-progress-grid { grid-template-columns:1fr; }
	.account-withdraw-box { flex-direction:row; }
	.account-withdraw-btn { width:auto; }
	.reward-mini { padding:14px 8px; }
	.reward-mini .val {
		font-size:clamp(16px,6vw,24px);
		letter-spacing:-0.03em;
	}
	.account-metric .num {
		font-size:26px;
	}
	.account-nft-metric .value {
		font-size:clamp(22px,8vw,30px);
	}
        .account-feature-metric .value {
                font-size:clamp(22px,8vw,30px);
        }
	.account-nft-meta {
		font-size:13px;
	}
	#accMainPaneClaim .account-feature-metric {
		grid-column:1;
	}
	#accMainPaneClaim .account-feature-card {
		display:grid;
		grid-template-columns:minmax(0,1fr) max-content;
		column-gap:10px;
		align-items:center;
	}
	#accMainPaneClaim .account-feature-head,
	#accMainPaneClaim .account-claim-progress,
	#accMainPaneClaim .account-feature-meta,
	#accMainPaneClaim .account-claim-msg { grid-column:1 / -1; }
	#accMainPaneClaim .account-feature-head { order:1; }
	#accMainPaneClaim .account-feature-grid,
	#accMainPaneClaim .account-claim-actions-row { display:contents; }
	#accMainPaneClaim .account-feature-metric:nth-child(1) { order:2; }
	#accMainPaneClaim .account-feature-metric:nth-child(2) { order:4; }
	#accMainPaneClaim .account-claim-actions-row .account-withdraw-btn {
		grid-column:2;
		justify-self:end;
		width:auto;
		min-width:0;
		margin-top:10px;
		padding:0 16px;
		white-space:nowrap;
		font-size:0 !important;
	}
	#accMainPaneClaim .account-claim-actions-row .account-withdraw-btn::after {
		content:attr(data-mobile-label);
		font-size:16px;
	}
	#accMainPaneClaim .account-claim-actions-row .account-withdraw-btn:nth-child(1) { order:3; }
	#accMainPaneClaim .account-claim-actions-row .account-withdraw-btn:nth-child(2) { order:5; }
	#accMainPaneClaim .account-claim-progress { order:6; }
	#accMainPaneClaim .account-feature-meta { order:7; }
	#accMainPaneClaim .account-claim-msg { order:8; }
	#accMainPaneClaim .account-claim-value { white-space:nowrap; }
	#accMainPaneClaim .account-claim-unit {
		margin-left:5px;
		color:rgba(247,244,237,.48);
		font-size:.58em;
		font-weight:700;
		letter-spacing:.03em;
	}
	#account-bond-nft-panel #accNftClaimBtn { margin-left:auto; }
        .account-feature-meta {
                font-size:13px;
        }
        .account-feature-inline-value {
                align-items:flex-start;
                flex-direction:column;
                font-size:13px;
        }
        .account-feature-inline-value strong {
                font-size:clamp(22px,8vw,30px);
                text-align:left;
        }
        .account-feature-actions .account-withdraw-btn {
                min-width:0;
                width:100%;
        }
}
@media (max-width:1100px) {
	.nav > .lang-switch {
		display:none;
	}
}

:root {
        --bg-dark:#08060a;
        --accent-cyan:#e4b968;
        --accent-purple:#8a5cff;
        --accent-warm:#ff8954;
        --glass:rgba(255,255,255,.05);
        --glass-border:rgba(255,255,255,.10);
        --text-main:#f7f4ed;
        --text-muted:rgba(247,244,237,.72);
        --soft:rgba(247,244,237,.48);
}

.page-bg {
        background-image:
                linear-gradient(180deg,rgba(8,6,10,0.78),rgba(8,6,10,0.92)),
                radial-gradient(circle at top right, rgba(228,185,104,0.16), transparent 32%),
                radial-gradient(circle at bottom left, rgba(138,92,255,0.18), transparent 28%);
}

.page-bg.bg-ready {
        background-image:
                linear-gradient(180deg,rgba(8,6,10,0.78),rgba(8,6,10,0.92)),
                url("assets/background.webp"),
                radial-gradient(circle at top right, rgba(228,185,104,0.16), transparent 32%),
                radial-gradient(circle at bottom left, rgba(138,92,255,0.18), transparent 28%);
}

.lang-dropdown-trigger:focus,
.lang-dropdown-trigger:focus-visible {
        border-color:rgba(228,185,104,0.55);
        box-shadow:0 0 0 2px rgba(228,185,104,0.16);
}

.lang-dropdown-option:hover,
.lang-dropdown-option:focus-visible {
        background:rgba(228,185,104,0.10);
}

.lang-dropdown-option.is-selected {
        background:linear-gradient(90deg,rgba(228,185,104,0.18),rgba(255,137,84,0.18));
        box-shadow:inset 0 0 0 1px rgba(228,185,104,0.22);
}

.hero-panel,
.card,
.stack-item,
.account-feature-card,
.account-nft-card,
.account-reward-panel,
.account-detail-card {
        border-color:rgba(228,185,104,0.16);
}

.hero-panel:hover,
.card:hover,
.account-feature-card:hover,
.account-nft-card:hover {
        border-color:rgba(228,185,104,0.42);
        box-shadow:0 20px 40px rgba(0,0,0,.36), inset 0 0 20px rgba(255,255,255,.04), 0 0 0 1px rgba(228,185,104,0.08);
}

.protocol-badge,
.account-feature-badge,
.account-nft-badge,
.privacy-tab.active {
        border-color:rgba(228,185,104,0.38);
        background:rgba(228,185,104,0.12);
        color:#f7f4ed;
}

.account-withdraw-btn,
.privacy-btn:not(.secondary),
.account-nft-btn.primary,
.cta.primary {
        border-color:rgba(228,185,104,0.42);
        background:linear-gradient(90deg,#e4b968,#ff8954);
        color:#1b1208;
        box-shadow:0 10px 24px rgba(255,137,84,0.18);
}

.account-withdraw-input,
.privacy-input,
.privacy-select,
.privacy-textarea,
#accRewardDepositNote,
#accRewardWithdrawNote,
#accRewardWithdrawProof,
.reward-tier-inline .plain-radio-option {
        border-color:rgba(228,185,104,0.24);
}

.reward-fee-note,
.account-claim-tip,
.account-bond-tip,
.account-balance-inline-note strong {
        color:#f2c97d;
}

.plain-radio-option input[type="radio"] {
        accent-color:#e4b968;
}
