*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

[hidden] { display: none !important; }

.build-version { font-size: 0.7rem; color: #9ca3af; opacity: 0.8; }

html {
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 1rem;
  line-height: 1.5;
  color: var(--color-text);
  background: var(--gradient-bg);
  background-attachment: fixed;
  min-height: 100dvh;
  overflow-x: hidden;
}

button {
  font-family: inherit;
  font-size: 1rem;
  cursor: pointer;
  border: none;
  background: none;
}

a {
  color: var(--color-accent);
  text-decoration: none;
}

img, svg {
  display: block;
  max-width: 100%;
}

input, textarea {
  font-family: inherit;
  font-size: inherit;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.beta-banner {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.5rem 1.25rem;
  background: #fefce8;
  border-bottom: 1px solid #fde68a;
  font-size: 0.78rem;
  color: #78350f;
  flex-wrap: wrap;
  line-height: 1.4;
}
.beta-banner__badge {
  display: inline-block;
  background: #f59e0b;
  color: #fff;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.15rem 0.5rem;
  border-radius: 4px;
  flex-shrink: 0;
}
.beta-banner__text { flex: 1; min-width: 200px; }
.beta-banner__text a { color: #92400e; text-decoration: underline; }
.beta-banner__text a:hover { color: #78350f; }
.beta-banner__close {
  background: none;
  border: none;
  cursor: pointer;
  color: #92400e;
  font-size: 1rem;
  padding: 0.2rem 0.4rem;
  line-height: 1;
  flex-shrink: 0;
  opacity: 0.6;
  border-radius: 4px;
}
.beta-banner__close:hover { opacity: 1; background: rgba(0,0,0,0.06); }
