/* TYVON visual skin — color/material overrides only.
   No layout, spacing, sizing, positioning or interaction rules live here. */
:root {
  --surface: #121821 !important;
  --surface-2: #19212c !important;
  --surface-3: #202a36 !important;
  --border: rgba(238, 205, 143, 0.16) !important;
  --border-strong: rgba(238, 205, 143, 0.28) !important;
  --text: #f7f3e9 !important;
  --text-2: #a2a7af !important;
  --text-3: #707782 !important;
  --gold: #edcc8d !important;
  --gold-2: #b98745 !important;
}

html,
body,
.phone,
.screen-content {
  background-color: #090d13 !important;
}

body {
  color: var(--text);
}

.glass {
  background-color: rgba(12, 17, 24, 0.92) !important;
  border-color: rgba(238, 205, 143, 0.16) !important;
}

.surface {
  background-color: var(--surface) !important;
  border-color: var(--border) !important;
}

.surface-2 {
  background-color: var(--surface-2) !important;
}

.gold-text {
  background-image: linear-gradient(135deg, #ffe0a3 0%, #edcc8d 48%, #b98745 100%) !important;
}

.gold-border {
  border-color: rgba(230, 201, 138, 0.32);
}

.tf-btn,
.ind-pill,
.qa-btn,
.period-btn {
  border-color: rgba(230, 201, 138, 0.22);
}

.tf-btn.tf-active,
.ind-pill.ind-active,
.period-btn.active {
  color: #f2d99f;
  border-color: rgba(230, 201, 138, 0.58);
  background-color: rgba(230, 201, 138, 0.17);
}

@media (min-width: 768px) {
  body {
    background-color: #080a0e;
    background-image: radial-gradient(circle at 50% 0%, rgba(230, 201, 138, 0.10), transparent 48%);
  }
}

/* Primary screens: visible TYVON material treatment without changing their grids. */
.home-screen,
.social-screen,
.eco-screen,
.wallet-screen {
  min-height: 100vh;
  background-image:
    radial-gradient(circle at 88% 5%, rgba(237, 204, 141, .16), transparent 25%),
    linear-gradient(180deg, #0b1017 0%, #080a0e 42%, #080a0e 100%);
}

.home-screen .surface,
.social-screen .surface,
.eco-screen .surface,
.wallet-screen .surface {
  background-image: linear-gradient(145deg, rgba(25, 33, 44, .98), rgba(13, 18, 25, .98));
  border-color: rgba(237, 204, 141, .18) !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.035), 0 12px 30px -24px rgba(237,204,141,.45);
}

.home-screen > div:nth-child(2) {
  background:
    radial-gradient(circle at 78% 18%, rgba(237,204,141,.30), transparent 34%),
    linear-gradient(145deg, #171b21 0%, #0b0f15 72%) !important;
  border-color: rgba(237,204,141,.42) !important;
  box-shadow: 0 18px 46px -28px rgba(237,204,141,.70), inset 0 1px 0 rgba(255,255,255,.06);
}

.wallet-screen .ucard,
.eco-screen .ucard {
  background:
    radial-gradient(circle at 80% 12%, rgba(237,204,141,.24), transparent 34%),
    linear-gradient(135deg, #27231c 0%, #11161d 58%, #0a0d12 100%);
  border-color: rgba(237,204,141,.38);
  box-shadow: 0 20px 50px -30px rgba(237,204,141,.65), inset 0 1px 0 rgba(255,255,255,.07);
}

.tyvon-mark {
  position: relative;
  display: inline-block;
  width: 28px;
  height: 28px;
  flex: 0 0 auto;
  filter: drop-shadow(0 0 9px rgba(237,204,141,.38));
}
.tyvon-mark::before {
  content: "";
  position: absolute;
  inset: 1px;
  background: linear-gradient(150deg,#ffe0a3,#b98745);
  clip-path: polygon(0 0,100% 0,50% 100%);
}
.tyvon-mark::after {
  content: "";
  position: absolute;
  left: 7px;
  top: 5px;
  width: 14px;
  height: 15px;
  background: #0b0e13;
  clip-path: polygon(0 0,44% 22%,50% 100%,56% 22%,100% 0,63% 54%,50% 100%,37% 54%);
}
.home-hero {
  min-height: 126px;
  border: 1px solid rgba(237,204,141,.32);
  background:
    radial-gradient(ellipse at 84% 12%,rgba(237,204,141,.30),transparent 36%),
    linear-gradient(145deg,#211f1a 0%,#10151c 66%,#0b0f15 100%) !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.05),0 16px 42px -30px rgba(237,204,141,.8);
}
.home-quick {
  min-height: 66px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border-radius: 13px;
  background: linear-gradient(145deg,#151b24,#0d1219);
  border: 1px solid rgba(237,204,141,.15);
  color: #a9adb5;
  font-size: 9px;
  white-space: nowrap;
}
.home-quick svg { width:20px;height:20px;color:#edcc8d; }
.home-launch { border-color:rgba(237,204,141,.22)!important; }
.tyvon-token {
  width:42px;height:42px;border-radius:12px;display:grid;place-items:center;
  background:linear-gradient(145deg,#191e25,#0b0f14);border:1px solid rgba(237,204,141,.22);
}
.tyvon-token .tyvon-mark { width:22px;height:22px; }
.tyvon-token .tyvon-mark::after { left:5px;top:4px;width:12px;height:12px; }
.home-metric { padding:9px;background:#0b1016;border-radius:9px; }
.home-metric small { display:block;color:#666d77;font-size:8px;margin-bottom:4px; }
.home-metric b { font-size:13px; }
.home-primary {
  width:100%;height:39px;border-radius:10px;color:#17130d;font-size:12px;font-weight:800;
  background:linear-gradient(135deg,#f4d89e,#d7ae69);
}
