/* Layout and control states are shared. The palette is selected at the shell. */
.gp-golden .gp2-home-balance-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.gp-golden .gp2-home-head :is(.gp2-eyebrow, .bg-hint, .gp2-sub) {
  display: none !important;
}
.gp-golden .gp2-home-metrics .gp2-num small {
  display: inline !important;
  margin: 0;
  font-size: .55em;
}
.gp-golden .r7-address textarea#payer-input:placeholder-shown {
  box-sizing: border-box;
  height: 68px;
  min-height: 68px;
  line-height: 22px;
  padding: 22px 8px !important;
  text-align: center;
  resize: none;
}
.gp-golden :is(.r7-order, .gp2-exchange) :is(.gp2-card, .gp2-info-row, section, label, input, textarea) {
  min-inline-size: 0;
}
.gp-golden :is(.r7-order, .gp2-exchange) :is(.gp2-card, .gp2-info-row, p, strong, code, dd, output) {
  overflow-wrap: anywhere;
}
.gp-golden .gp2-exchange :is(input, textarea, button) {
  max-inline-size: 100%;
}
.gp-golden :is(.r7-order, .gp2-exchange) button:disabled {
  cursor: not-allowed;
}

.gp-golden[data-theme=blue] {
  --mobile-blue-ink: #142c50;
  --mobile-blue-muted: #425976;
  --mobile-blue-line: #c4d8f2;
  --mobile-blue-card: #f0f6ff;
  --mobile-blue-accent: #1457bb;
}
body .gp-user-host .gp-golden.gp-golden[data-theme=blue] .bg-ex-hero {
  background: linear-gradient(125deg, #e8f1ff, #f9fcff 85%) !important;
  border-color: var(--mobile-blue-line) !important;
  color: var(--mobile-blue-ink);
}
.gp-golden[data-theme=blue] .bg-ex-hero strong {
  color: var(--mobile-blue-ink);
}
body .gp-user-host .gp-golden.gp-golden[data-theme=blue] .gp2-exchange [data-d9-order]
  :is(.ticket-amount label, .ticket-credit label, .ticket-rates span, .ticket-rates b) {
  color: var(--mobile-blue-muted) !important;
}
body .gp-user-host .gp-golden.gp-golden[data-theme=blue] .gp2-exchange
  :is(.hash-note, [aria-label="兑换报价"]) {
  background: var(--mobile-blue-card) !important;
  border-color: var(--mobile-blue-line) !important;
  color: var(--mobile-blue-ink) !important;
}
body .gp-user-host .gp-golden.gp-golden[data-theme=blue] .gp2-exchange
  :is(.hash-note > strong, .hash-note > code, .ticket-head span) {
  color: var(--mobile-blue-ink) !important;
}
body .gp-user-host .gp-golden.gp-golden[data-theme=blue] .gp2-exchange
  :is(.ticket-head span, .ticket-rates, [aria-label="兑换报价"] dl > div) {
  border-color: var(--mobile-blue-line) !important;
}
body .gp-user-host .gp-golden.gp-golden[data-theme=blue] .gp2-exchange
  :is(.hash-note button, [data-d9-order] button:not(.gp2-link):not(:disabled), [aria-label="兑换报价"] button:not(:disabled)) {
  color: var(--mobile-blue-accent) !important;
  background: #e8f1ff !important;
  border-color: var(--mobile-blue-line) !important;
}
.gp-golden[data-theme=blue] :is(.bg-ex-rule, .bg-ex-pending, .brand-four > div) {
  background: var(--mobile-blue-card);
  color: var(--mobile-blue-ink);
  border-color: var(--mobile-blue-line);
}
.gp-golden[data-theme=blue] :is(.bg-ex-pending, .bg-ex-history) button {
  color: var(--mobile-blue-accent);
  background: #fff;
  border-color: var(--mobile-blue-line);
}
.gp-golden[data-theme=blue] .brand-four svg,
.gp-golden[data-theme=blue] :is(.r8-warn, .r8-recipient > strong:first-child, .r8-recipient .r9-copy),
.gp-golden[data-theme=blue] .deposit-final :is(label .r8-warn, .r8-network i) {
  color: var(--mobile-blue-accent);
}
.gp-golden[data-theme=blue] :is(.brand-four small, .bg-hint, .gp2-home-metrics .gp2-num small) {
  color: var(--mobile-blue-muted);
}
.gp-golden[data-theme=blue] .bg-share > div + div {
  border-top-color: var(--mobile-blue-line);
}
.gp-golden[data-theme=blue] .bg-share > div:first-child .gp2-invite-url {
  color: var(--mobile-blue-accent);
  overflow-wrap: anywhere;
}
body .gp-user-host .gp-golden.gp-golden[data-theme=blue] .deposit-final .gp2-card.r8-network,
body .gp-user-host .gp-golden.gp-golden[data-theme=blue] .deposit-final .gp2-order-preview .gp2-card-header {
  border-color: var(--mobile-blue-line) !important;
}
body .gp-user-host .gp-golden.gp-golden[data-theme=blue] .deposit-final .gp2-tier[aria-pressed=true] {
  border-color: var(--mobile-blue-accent) !important;
  background: #e5efff !important;
  color: var(--mobile-blue-ink) !important;
}
body .gp-user-host .gp-golden.gp-golden[data-theme=blue] .deposit-final .gp2-tier[aria-pressed=true]::after {
  background: #b9d6ff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Cpath d='m4 9 3.2 3.2L14 5.8' fill='none' stroke='%231457bb' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/17px no-repeat !important;
}
.gp-golden[data-theme=blue] .r8-spin {
  border-color: #a7c5f2;
  border-top-color: var(--mobile-blue-accent);
}
.gp-golden[data-theme=blue] .r7-order[data-deposit-state="expired"] .gp2-card p[role="status"] {
  background: var(--mobile-blue-card);
  border-color: var(--mobile-blue-line);
  color: var(--mobile-blue-ink);
}
body .gp-user-host .gp-golden.gp-golden[data-theme=blue] :is(.r7-order, .gp2-exchange, .deposit-final) button:disabled {
  opacity: 1;
  color: var(--mobile-blue-muted) !important;
  background: #e8eef7 !important;
  border-color: #aebfda !important;
  box-shadow: none !important;
}
body:has(.gp-golden[data-theme=blue]) .gp-modal[aria-label="退出当前账户？"],
.gp-golden[data-theme=blue] .r8-dialog {
  color: var(--mobile-blue-ink, #142c50);
  background: #fff !important;
  border-color: #c4d8f2 !important;
}
body:has(.gp-golden[data-theme=blue]) .gp-modal[aria-label="退出当前账户？"] .gp-modal-body {
  color: #425976;
}
body:has(.gp-golden[data-theme=blue]) .gp-modal[aria-label="退出当前账户？"] header:before,
body:has(.gp-golden[data-theme=blue]) .gp-modal[aria-label="退出当前账户？"] footer button:first-child {
  background: #e8f1ff;
  color: #1457bb;
  border-color: #c4d8f2;
}
body:has(.gp-golden[data-theme=blue]) .gp-modal[aria-label="退出当前账户？"] footer button:last-child {
  background: #1763df;
  color: #fff;
}
.gp-golden[data-theme=blue] .r8-dialog .r8-end {
  background: #fff2f2;
  border-color: #e4b4be;
  color: #a32b3d;
}
.gp-golden[data-theme=blue] .r8-dialog .r8-alert {
  color: #a32b3d;
  border-color: #a32b3d;
}
.join-shell[data-theme=blue],
.join-shell[data-theme=blue] .wallet-welcome,
.home-load[data-theme=blue] {
  background: #edf4ff;
  color: #142c50;
}
.join-shell[data-theme=blue] .wallet-welcome :is(p, .welcome-error) {
  color: #254779;
}
.join-shell[data-theme=blue] .wallet-welcome .welcome-mark {
  filter: hue-rotate(175deg) saturate(1.05) brightness(.94);
}
.join-shell[data-theme=blue] .wallet-welcome .welcome-mountain {
  filter: hue-rotate(170deg) saturate(.52);
  opacity: .72;
}
.join-shell[data-theme=blue] .wallet-welcome button {
  background: #1763df;
  color: #fff;
}
.join-shell[data-theme=blue] :is(.join-card, .direct-wallet),
.home-load[data-theme=blue] section {
  background: #fff;
  border-color: #c4d8f2;
  color: #142c50;
}
.join-shell[data-theme=blue] .join-card :is(dt, label),
.home-load[data-theme=blue] li {
  color: #425976;
}
.home-load[data-theme=blue] :is(header b, li span, li[data-active=true], button) {
  color: #1457bb;
}
.home-load[data-theme=blue] progress::-webkit-progress-bar {
  background: #d9e6fa;
}
.home-load[data-theme=blue] progress::-webkit-progress-value {
  background: #1763df;
}

