/* ==========================================================================
   WebPView 1.0 — Creative Gen
   Desert Bronze / Espresso design system
   ========================================================================== */

:root {
  color-scheme: dark;

  --bg-deep: #0d0805;
  --bg-primary: #140d08;
  --bg-secondary: #1c120c;
  --panel: #24170f;
  --panel-raised: #2d1d13;
  --panel-hover: #382418;

  --sand-light: #f6d7aa;
  --sand: #ddb57b;
  --gold: #d89652;
  --gold-strong: #efb567;
  --bronze: #a66335;
  --bronze-deep: #704024;

  --text-primary: #f7ebda;
  --text-secondary: #cbb59a;
  --text-muted: #9f8b73;
  --text-disabled: #6f6152;

  --border: rgba(229, 168, 99, 0.25);
  --border-strong: rgba(244, 193, 126, 0.55);
  --border-soft: rgba(255, 232, 199, 0.08);

  --glow: rgba(220, 147, 77, 0.24);
  --glow-strong: rgba(235, 171, 94, 0.36);
  --shadow: rgba(0, 0, 0, 0.52);
  --danger: #d6785a;
  --success: #d7ad68;

  --radius-sm: 8px;
  --radius-md: 13px;
  --radius-lg: 18px;
  --radius-pill: 999px;

  --transition-fast: 130ms ease;
  --transition-normal: 200ms ease;
  --transition-slow: 320ms ease;

  --header-height: 68px;
}

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

html,
body {
  width: 100%;
  height: 100%;
}

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

body {
  overflow: hidden;
  background:
    radial-gradient(circle at 85% 2%, rgba(183, 111, 54, 0.17), transparent 32%),
    radial-gradient(circle at 8% 92%, rgba(116, 66, 34, 0.18), transparent 34%),
    linear-gradient(145deg, #0c0705 0%, var(--bg-primary) 44%, #1a100a 100%);
  color: var(--text-primary);
  font-family: Inter, "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  font-size: 14px;
  line-height: 1.45;
  -webkit-font-smoothing: antialiased;
  user-select: none;
}

button,
input,
select {
  font: inherit;
}

button {
  color: inherit;
}

img {
  -webkit-user-drag: none;
}

::selection {
  color: #20130c;
  background: var(--sand-light);
}

:focus-visible {
  outline: 2px solid var(--sand-light);
  outline-offset: 2px;
}

.is-hidden {
  display: none !important;
}

.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;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.001ms !important;
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
  }
}
