/**
 * 用户中心 · 石墨墨色（对齐 App / Power Lab）
 */
:root {
  --uc-bg: #0a0a0a;
  --uc-surface: rgba(28, 28, 28, 0.92);
  --uc-surface-soft: rgba(22, 22, 22, 0.88);
  --uc-border: rgba(255, 255, 255, 0.1);
  --uc-text: #f2f0eb;
  --uc-muted: rgba(242, 240, 235, 0.55);
  --uc-accent: #d4a574;
  --uc-accent-soft: rgba(212, 165, 116, 0.14);
  --uc-nav-h: 56px;
  --primary: var(--uc-accent);
  --secondary: #07d96c;
  --gray: var(--uc-muted);
  --card-bg: var(--uc-surface);
  --dark: var(--uc-text);
}

* {
  box-sizing: border-box;
}

html {
  background: var(--uc-bg);
}

body.user-center-page {
  margin: 0;
  min-height: 100vh;
  background: transparent !important;
  color: var(--uc-text);
  font-family: "PingFang SC", "Hiragino Sans GB", "Noto Sans SC", "Source Han Sans SC",
    "Segoe UI", system-ui, sans-serif;
  line-height: 1.5;
}

body.user-center-page::before {
  display: none !important;
}

.hidden {
  display: none !important;
}

.uc-hidden,
.uc-stats-hidden {
  display: none !important;
}

/* —— 顶栏：与 Power Lab / Search 一致 —— */
body.user-center-page .navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: calc(var(--uc-nav-h) + env(safe-area-inset-top, 0px));
  padding: env(safe-area-inset-top, 0px) 1.25rem 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  background: transparent !important;
  box-shadow: none !important;
  border: none !important;
  backdrop-filter: none !important;
}

body.user-center-page .navbar .logo-container {
  position: relative !important;
  left: auto !important;
  flex: 0 0 auto;
  margin: 0;
}

body.user-center-page .navbar .logo-link {
  color: #fff;
}

body.user-center-page .navbar .logo-text {
  font-size: 1.15rem !important;
  font-weight: 700 !important;
  color: #fff !important;
  letter-spacing: 0.03em;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.45);
}

body.user-center-page .navbar .logo-image {
  width: 36px !important;
  height: 36px !important;
  border-radius: 10px;
  object-fit: cover;
}

body.user-center-page .navbar .nav-menu {
  display: none !important;
  list-style: none;
  margin: 0 0 0 12px;
  padding: 0;
  align-items: center;
  gap: 0;
  flex: 1 1 auto;
}

body.user-center-page .navbar .nav-item {
  margin-left: 1.25rem;
  white-space: nowrap;
}

body.user-center-page .navbar .nav-link {
  color: rgba(255, 255, 255, 0.78);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 600;
  padding: 0.35rem 0;
  transition: color 0.2s;
}

body.user-center-page .navbar .nav-link:hover,
body.user-center-page .navbar .nav-link.active {
  color: var(--uc-accent);
}

body.user-center-page .navbar .nav-user-area {
  margin-left: auto;
}

body.user-center-page .nav-user-info {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

body.user-center-page .nav-user-avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  overflow: hidden;
  color: var(--uc-accent);
  font-size: 1.4rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

body.user-center-page .nav-user-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

body.user-center-page .nav-user-name {
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: none;
}

body.user-center-page .nav-user-actions {
  display: flex;
  gap: 0.65rem;
}

body.user-center-page .nav-user-action {
  color: var(--uc-muted);
  font-size: 0.75rem;
  text-decoration: none;
}

body.user-center-page .nav-user-action:hover {
  color: var(--uc-accent);
}

body.user-center-page .navbar .mobile-menu-toggle {
  display: flex !important;
  margin-left: auto !important;
  flex-shrink: 0;
  z-index: 100101;
}

body.user-center-page .navbar .mobile-menu-toggle:focus,
body.user-center-page .navbar .mobile-menu-toggle:focus-visible {
  outline: 1px solid rgba(212, 165, 116, 0.55);
  outline-offset: 3px;
  border-radius: 8px;
}

body.user-center-page .navbar .mobile-menu-toggle:not(.active) span {
  position: static !important;
  transform: none !important;
  opacity: 1 !important;
}

body.user-center-page .navbar .mobile-menu:not(.ht-drawer-shell) {
  display: none;
  position: absolute;
  top: calc(100% + 0.35rem);
  left: auto !important;
  right: max(1.25rem, env(safe-area-inset-right, 0px)) !important;
  width: auto !important;
  min-width: 10.5rem;
  max-width: min(16rem, calc(100vw - 2.5rem));
  padding: 0.35rem 0;
  background: rgba(18, 18, 18, 0.96) !important;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.5) !important;
  overflow: hidden;
  z-index: 1002;
}

body.user-center-page .navbar .mobile-menu.ht-drawer-shell {
  display: none;
  position: absolute;
  top: calc(100% + 0.35rem);
  left: auto !important;
  right: max(0.75rem, env(safe-area-inset-right, 0px)) !important;
  width: auto !important;
  min-width: 0;
  max-width: none;
  padding: 0;
  background: transparent !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  border: none !important;
  box-shadow: none !important;
  overflow: visible;
  z-index: 1002;
}

body.user-center-page .navbar .mobile-menu.active {
  display: block !important;
}

body.user-center-page .mobile-nav-menu {
  list-style: none;
  margin: 0;
  padding: 0;
}

body.user-center-page .navbar .mobile-nav-link:not(.ht-drawer-item) {
  display: block;
  padding: 0.72rem 1.15rem !important;
  color: rgba(255, 255, 255, 0.9) !important;
  text-decoration: none;
  font-size: 0.95rem !important;
  font-weight: 600;
}

body.user-center-page .navbar .mobile-nav-link:not(.ht-drawer-item):hover,
body.user-center-page .navbar .mobile-nav-link:not(.ht-drawer-item).active {
  color: var(--uc-accent) !important;
  background: var(--uc-accent-soft) !important;
}

body.user-center-page .navbar .mobile-menu-toggle.active span {
  background: #ff3b30 !important;
  background-color: #ff3b30 !important;
  box-shadow: none;
}

body.user-center-page .mobile-user-area {
  border-top: none;
  padding: 0;
}

body.user-center-page .mobile-user-avatar {
  width: 36px;
  height: 36px;
  margin: 0.4rem 1.15rem;
  border-radius: 50%;
  overflow: hidden;
  color: var(--uc-accent);
}

html.app-client body.user-center-page .navbar .nav-menu,
html.in-huytech-app body.user-center-page .navbar .nav-menu {
  display: none !important;
}
html.app-client body.user-center-page .mobile-menu-toggle,
html.in-huytech-app body.user-center-page .mobile-menu-toggle {
  display: flex !important;
  margin-left: auto !important;
}

/* —— 主内容 —— */
.uc-shell {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  max-width: none;
  margin: 0 auto;
  padding: calc(var(--uc-nav-h) + env(safe-area-inset-top, 0px) + 2rem) 1.25rem 3rem;
  box-sizing: border-box;
}

.uc-hero {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 1.1rem;
  width: min(28rem, 100%);
  margin: 0 auto 1.75rem;
}

.uc-hero-main {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.uc-avatar,
.user-avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--uc-accent-soft);
  color: var(--uc-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  overflow: hidden;
  flex-shrink: 0;
  position: relative;
}

.uc-avatar img,
.user-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.uc-avatar--editable {
  cursor: pointer;
}

.uc-avatar-hint {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(10, 10, 10, 0.55);
  color: #fff;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  opacity: 0;
  transition: opacity 0.15s ease;
  pointer-events: none;
}

.uc-avatar--editable:hover .uc-avatar-hint,
.uc-avatar--editable:focus .uc-avatar-hint {
  opacity: 1;
}

.uc-eyebrow {
  margin: 0 0 0.2rem;
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--uc-muted);
}

.uc-hero-text h1 {
  margin: 0;
  font-size: clamp(1.65rem, 3.4vw, 2.1rem);
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 1.15;
  color: #f6f3ee;
}

.uc-email {
  margin: 0.2rem 0 0;
  color: rgba(246, 243, 238, 0.45);
  font-size: 0.88rem;
}

.uc-vip-line {
  margin: 0.45rem 0 0;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: rgba(246, 243, 238, 0.5);
}

.uc-vip-line #memberStatus.is-on {
  color: rgba(246, 243, 238, 0.72);
}

.uc-vip-cta {
  margin-left: 0.65rem;
  color: #d4a574;
  text-decoration: none;
  font-weight: 650;
}

.uc-vip-cta:hover {
  color: #e8c9a0;
}

.uc-hero-vip {
  display: none;
}

.uc-tools {
  display: none !important;
}

.uc-vip-label {
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  color: var(--uc-accent);
  font-weight: 700;
}

.uc-vip-status {
  font-size: 1.15rem;
  font-weight: 700;
}

.uc-vip-expires {
  font-size: 0.85rem;
  color: var(--uc-muted);
}

.uc-tools {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.uc-tool {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  padding: 1rem 1.05rem;
  text-decoration: none;
  color: var(--uc-text);
  background: var(--uc-surface-soft);
  border: 1px solid var(--uc-border);
  border-radius: 14px;
  transition: border-color 0.2s, transform 0.2s, background 0.2s;
}

.uc-tool:hover {
  border-color: rgba(212, 165, 116, 0.45);
  background: rgba(32, 32, 32, 0.95);
  transform: translateY(-1px);
}

.uc-tool-vip {
  border-color: rgba(212, 165, 116, 0.28);
}

.uc-tool-kicker {
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--uc-muted);
}

.uc-tool-vip .uc-tool-kicker {
  color: var(--uc-accent);
}

.uc-tool strong {
  font-size: 1rem;
}

.uc-tool span:last-child {
  font-size: 0.82rem;
  color: var(--uc-muted);
}

.uc-panel {
  padding: 0;
  background: transparent;
  border: none;
  border-radius: 0;
  width: min(28rem, 100%);
  margin: 0 auto;
}

.uc-fields {
  margin: 0 auto;
  width: 100%;
  max-width: none;
}

.uc-field {
  display: grid;
  grid-template-columns: 5.5rem minmax(0, 1fr);
  gap: 0.75rem;
  align-items: baseline;
  padding: 0.85rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.uc-field dt {
  margin: 0;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: rgba(246, 243, 238, 0.42);
}

.uc-field dd {
  margin: 0;
  font-size: 15px;
  color: #f6f3ee;
  word-break: break-all;
}

.info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.info-card {
  padding: 1rem 1.05rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 12px;
}

.info-card h3 {
  margin: 0 0 0.85rem;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--uc-muted);
  font-weight: 700;
}

.info-item {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.45rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  font-size: 0.92rem;
}

.info-item:last-child {
  border-bottom: none;
}

.info-label {
  color: var(--uc-muted);
}

.info-value {
  color: var(--uc-text);
  text-align: right;
  word-break: break-all;
}

.action-area {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 0.35rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.uc-btn,
.btn {
  appearance: none;
  border: 1px solid var(--uc-border);
  background: transparent;
  color: var(--uc-text);
  border-radius: 999px;
  padding: 0.55rem 1.1rem;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
}

.uc-btn-accent,
.btn-primary {
  background: var(--uc-accent);
  border-color: var(--uc-accent);
  color: #1a1410;
}

.uc-btn-accent:hover,
.btn-primary:hover {
  filter: brightness(1.06);
}

.uc-btn-ghost,
.btn-outline,
.btn-secondary {
  background: transparent;
  border: none;
  border-radius: 0;
  padding: 4px 0 8px;
  color: rgba(246, 243, 238, 0.55);
  box-shadow: inset 0 -1.5px 0 transparent;
}

.uc-btn-ghost:hover,
.btn-outline:hover {
  border-color: transparent;
  color: #e8c9a0;
  box-shadow: inset 0 -1.5px 0 #d4a574;
}

/* 弹窗 */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(0, 0, 0, 0.62);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.modal-overlay.is-open {
  display: flex !important;
}

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

.modal-content {
  width: min(400px, 100%);
  padding: 1.35rem 1.4rem;
  background: #161616;
  border: 1px solid var(--uc-border);
  border-radius: 16px;
  color: var(--uc-text);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.45);
}

.uc-ambient-bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
  background: linear-gradient(160deg, #000000 0%, #07090d 45%, #0c1016 100%);
}

.uc-ambient-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.32;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.55'/%3E%3C/svg%3E");
  background-size: 180px 180px;
  mix-blend-mode: soft-light;
  z-index: 1;
}

.uc-bg-orb {
  position: absolute;
  width: min(72vmax, 920px);
  height: min(72vmax, 920px);
  border-radius: 50%;
  filter: blur(72px);
  will-change: left, top, opacity;
  transition:
    left 5.5s cubic-bezier(0.4, 0, 0.2, 1),
    top 5.5s cubic-bezier(0.4, 0, 0.2, 1),
    opacity 4s ease;
  mix-blend-mode: screen;
}

.uc-bg-orb--orange {
  background: radial-gradient(circle, rgba(234, 140, 28, 0.55) 0%, rgba(194, 65, 12, 0.22) 42%, transparent 68%);
  opacity: 0.38;
}

.uc-bg-orb--blue {
  background: radial-gradient(circle, rgba(56, 140, 255, 0.5) 0%, rgba(37, 99, 235, 0.2) 45%, transparent 70%);
  opacity: 0.32;
}

.uc-bg-orb--amber {
  width: min(48vmax, 620px);
  height: min(48vmax, 620px);
  background: radial-gradient(circle, rgba(251, 191, 36, 0.28) 0%, rgba(59, 130, 246, 0.12) 50%, transparent 72%);
  opacity: 0.28;
  filter: blur(64px);
}

@media (prefers-reduced-motion: reduce) {
  .uc-bg-orb {
    transition: none;
  }
}

.uc-flip-dialog {
  position: relative;
  z-index: 1;
  width: min(420px, 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.85rem;
}

.uc-settings-dialog {
  position: relative;
  z-index: 1;
  width: min(400px, 100%);
  padding: 1.35rem 1.35rem 1.2rem;
  background: rgba(16, 16, 16, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
}

.uc-set-tabs {
  display: flex;
  gap: 22px;
  margin: 0 0 1.1rem;
  padding-bottom: 2px;
}

.uc-set-tab {
  appearance: none;
  background: none;
  border: none;
  padding: 4px 0 8px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: rgba(246, 243, 238, 0.42);
  cursor: pointer;
}

.uc-set-tab.is-active {
  color: #e8c9a0;
  box-shadow: inset 0 -1.5px 0 #d4a574;
}

.uc-flip-inner {
  position: relative;
  width: 100%;
}

.uc-settings-pane strong {
  display: block;
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: #f6f3ee;
  margin: 0 0 0.3rem;
}

.uc-flip-lead {
  margin: 0 0 0.85rem;
  font-size: 0.82rem;
  color: rgba(246, 243, 238, 0.5);
}

.uc-flip-close {
  position: absolute;
  top: 0.65rem;
  right: 0.75rem;
  width: 2rem;
  height: 2rem;
  border: 0;
  background: transparent;
  color: rgba(246, 243, 238, 0.5);
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
}

.uc-flip-switch {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.55rem 1.05rem;
  border-radius: 999px;
  background: rgba(22, 22, 22, 0.88);
  border: 1px solid rgba(245, 158, 11, 0.28);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
}

.uc-flip-switch-label {
  font-size: 1.28rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #9a9388;
  user-select: none;
  cursor: pointer;
}

.uc-flip-switch-label.is-active {
  color: #f5c56a;
}

.checkbox-wrapper-41 {
  --size: 76px;
  display: inline-flex;
  align-items: center;
  line-height: 0;
}

.checkbox-wrapper-41 input[type="checkbox"] {
  -webkit-appearance: none;
  appearance: none;
  margin: 0;
  width: var(--size);
  height: calc(var(--size) / 2);
  background-color: #fff;
  border: 2px solid #1e1b16;
  border-radius: 30px 100px 100px 100px;
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.28);
  outline: none;
  cursor: pointer;
  position: relative;
  transition: all 0.5s;
}

.checkbox-wrapper-41 input[type="checkbox"]::before {
  content: "";
  position: absolute;
  width: calc(var(--size) / 2);
  height: calc(var(--size) / 2);
  left: 0;
  top: 50%;
  transform: translateY(-50%) scale(0.7);
  border: 2px solid #1e1b16;
  border-radius: 30px 100px 100px 100px;
  background-color: #fde881;
  box-sizing: border-box;
  transition: all 0.5s;
}

.checkbox-wrapper-41 input[type="checkbox"]:checked {
  background-color: #fde881;
  border-radius: 100px 100px 30px 100px;
}

.checkbox-wrapper-41 input[type="checkbox"]:checked::before {
  left: 50%;
  background-color: #fff;
  border-radius: 100px 100px 30px 100px;
}

.uc-flip {
  background: transparent;
  width: 100%;
  height: min(480px, 78vh);
  perspective: 1400px;
}

.uc-flip-inner {
  position: relative;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
}

.uc-flip-face {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
  padding: 1.35rem 1.35rem 1.1rem;
  box-sizing: border-box;
  overflow: hidden;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  border: 1px solid rgba(245, 158, 11, 0.45);
  border-radius: 1rem;
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.45);
  transition: transform 0.7s ease;
  color: #ece8df;
}

.uc-flip-front {
  background: linear-gradient(155deg, #3a3224 0%, #2a261f 55%, #221e18 100%);
  transform: rotateY(0deg);
  z-index: 2;
  pointer-events: auto;
}

.uc-flip-back {
  background: linear-gradient(155deg, #4a3a22 0%, #322a20 62%, #2a241c 100%);
  transform: rotateY(180deg);
  z-index: 1;
  pointer-events: none;
}

.uc-flip-inner.is-flipped .uc-flip-front {
  transform: rotateY(-180deg);
  z-index: 1;
  pointer-events: none;
}

.uc-flip-inner.is-flipped .uc-flip-back {
  transform: rotateY(0deg);
  z-index: 2;
  pointer-events: auto;
}

.uc-flip-face strong {
  display: block;
  color: #fff;
  font-size: 1.2rem;
  margin: 0 0 0.3rem;
}

.uc-flip-lead {
  margin: 0 0 0.85rem;
  font-size: 0.82rem;
  color: #c4b8a4;
}

.uc-flip-close {
  position: absolute;
  top: 0.65rem;
  right: 0.75rem;
  width: 2rem;
  height: 2rem;
  border: 0;
  background: transparent;
  color: #c4b8a4;
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
}

.uc-flip-form {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-height: 0;
}

.uc-flip-form label {
  display: block;
  margin: 0.65rem 0 0;
  font-size: 0.82rem;
  color: #c4b8a4;
}

.uc-flip-form .modal-actions {
  margin-top: auto;
  justify-content: flex-end;
}

.uc-flip-form input {
  width: 100%;
  margin-top: 0.3rem;
  padding: 0.65rem 0.75rem;
  border-radius: 10px;
  border: 1px solid rgba(245, 158, 11, 0.28);
  background: rgba(15, 13, 10, 0.72);
  color: #ece8df;
  font-size: 0.95rem;
}

.uc-flip-form input:focus {
  outline: none;
  border-color: rgba(253, 232, 129, 0.7);
}

.uc-settings-dialog .uc-flip-inner {
  height: auto;
  transform: none;
  transform-style: flat;
}

.uc-settings-dialog .uc-flip-lead {
  color: rgba(246, 243, 238, 0.5);
}

.uc-settings-dialog .uc-flip-close {
  color: rgba(246, 243, 238, 0.5);
}

.uc-settings-dialog .uc-flip-form {
  flex: none;
}

.uc-settings-dialog .uc-flip-form label {
  color: rgba(246, 243, 238, 0.5);
}

.uc-settings-dialog .uc-flip-form input {
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(8, 8, 8, 0.55);
  border-radius: 8px;
}

.uc-settings-dialog .uc-flip-form input:focus {
  border-color: rgba(212, 165, 116, 0.55);
}

.uc-settings-dialog .uc-flip-form .modal-actions {
  margin-top: 0.4rem;
}

.modal-content label {
  display: block;
  margin: 0.65rem 0 0.3rem;
  font-size: 0.82rem;
  color: var(--uc-muted);
}

.modal-content input {
  width: 100%;
  padding: 0.65rem 0.75rem;
  border-radius: 10px;
  border: 1px solid var(--uc-border);
  background: #0f0f0f;
  color: var(--uc-text);
  font-size: 0.95rem;
}

.modal-content input:focus {
  outline: none;
  border-color: rgba(212, 165, 116, 0.55);
}

.modal-hint {
  margin: 0.65rem 0 0;
  font-size: 0.75rem;
  color: var(--uc-muted);
}

.modal-msg {
  min-height: 1.25rem;
  margin: 0.65rem 0;
  font-size: 0.88rem;
  color: var(--uc-muted);
}

.modal-actions {
  display: flex;
  gap: 0.55rem;
  margin-top: 0.5rem;
}

@media (max-width: 720px) {
  .uc-hero {
    grid-template-columns: none;
  }
  .info-grid {
    grid-template-columns: 1fr;
  }
}
