:root{
  --bg: #0b0b0d;
  --surface: #121217;
  --card: #15151b;
  --text: #ffffff;
  --muted: rgba(255,255,255,.7);
  --line: rgba(255,255,255,.10);

  --accent: #c9a24d;

  --radius: 18px;
  --radius-sm: 14px;
  --container: 1180px;

  --shadow: 0 14px 40px rgba(0,0,0,.35);
}

*{ box-sizing: border-box; }

html, body{
  min-height: 100%;
  height: auto;
}

html{
  background: var(--bg);
}

body{
  margin: 0;
  font-family: "Manrope", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;

  background-color: #0b0b0d;
  background-image:
    radial-gradient(circle at 0% 0%, rgba(201, 162, 77, 0.15) 0%, transparent 50%),
    radial-gradient(circle at 100% 100%, rgba(50, 50, 60, 0.3) 0%, transparent 50%);

  /* iOS PERF: fixed фон выключен на мобилке */
  background-attachment: scroll;

  color: var(--text);
  padding-top: 0;
  overflow-x: hidden;
}

/* Scroll background avoids a first-scroll hitch on desktop. */
@media (hover: hover) and (pointer: fine){
  body{ background-attachment: scroll; }
}

img{ max-width: 100%; display: block; }
a{ color: inherit; text-decoration: none; }

h1,h2,h3,h4,h5,h6,p{ margin: 0; }

.h2{
  font-size: 26px;
  letter-spacing: .2px;
}

.muted{ color: var(--muted); }
.label{ font-size: 12px; color: var(--muted); }
.value{ margin-top: 4px; font-size: 16px; }

@media (min-width: 900px){
  body{ padding-top: 0; }
}

/* safety */
html, body { background: var(--bg); }

/* Android/Chrome */
body{
  overscroll-behavior-y: none;
}


@media (hover: hover) and (pointer: fine) {
  html {
    scrollbar-width: thin;
    scrollbar-color: rgba(201, 162, 77, 0.58) rgba(255, 255, 255, 0.06);
  }

  html::-webkit-scrollbar {
    width: 14px;
    height: 14px;
  }

  html::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.04);
  }

  html::-webkit-scrollbar-thumb {
    border-radius: 999px;
    border: 3px solid rgba(11, 11, 13, 0.96);
    background: linear-gradient(
      to bottom,
      rgba(201, 162, 77, 0.78),
      rgba(201, 162, 77, 0.46)
    );
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.10),
      0 2px 8px rgba(0, 0, 0, 0.18);
  }

  html::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(
      to bottom,
      rgba(201, 162, 77, 0.92),
      rgba(201, 162, 77, 0.58)
    );
  }

  html::-webkit-scrollbar-corner {
    background: transparent;
  }
}
