/* KodiSmart brand tokens — mirror kodi_smart/lib/theme/app_colors.dart */
:root {
  --primary: #F15A24;
  --primary-pressed: #C7440F;
  --primary-tint: #FDE7DC;
  --cream: #FDF1E7;
  --cream-deep: #F6E9DD;
  --ink: #2B2620;
  --ink-soft: #4A4744;
  --warm-grey: #716B63;
  --success: #1E9E5A;
  --success-tint: #E6F5EC;
  --alert: #C53030;
  --alert-tint: #FDEDED;
  --warning: #B7791F;
  --warning-tint: #FEF5E1;
  --surface: #FFFFFF;
  --surface-muted: #F4F1EE;
  --border: #EDE4DB;

  --font-head: "Sora", system-ui, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 22px;
  --shadow-sm: 0 1px 2px rgba(43, 38, 32, .06);
  --shadow: 0 10px 30px -12px rgba(43, 38, 32, .18);
  --shadow-lg: 0 30px 60px -20px rgba(43, 38, 32, .28);
}

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

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--surface);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: var(--font-head);
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0;
}

p { margin: 0; }
a { color: inherit; }
img { max-width: 100%; display: block; }
button, input, select, textarea { font: inherit; color: inherit; }

:focus-visible {
  outline: 3px solid color-mix(in srgb, var(--primary) 55%, transparent);
  outline-offset: 2px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  min-height: 44px;
  padding: 0 1.15rem;
  border-radius: 999px;
  border: 1.5px solid transparent;
  font-weight: 600;
  font-size: .95rem;
  text-decoration: none;
  cursor: pointer;
  transition: background .15s, border-color .15s, transform .15s, box-shadow .15s;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn[disabled] { opacity: .55; cursor: not-allowed; }
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover:not([disabled]) { background: var(--primary-pressed); }
.btn-ghost { background: transparent; border-color: var(--border); color: var(--ink); }
.btn-ghost:hover:not([disabled]) { border-color: var(--ink); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover:not([disabled]) { background: #000; }
.btn-danger { background: var(--alert); color: #fff; }
.btn-danger:hover:not([disabled]) { background: #9b2424; }
.btn-sm { min-height: 34px; padding: 0 .8rem; font-size: .85rem; }
.btn-lg { min-height: 52px; padding: 0 1.6rem; font-size: 1rem; }

.logo {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.2rem;
  letter-spacing: -0.03em;
  text-decoration: none;
  color: var(--ink);
}
.logo svg { width: 32px; height: 32px; flex: none; }
.logo b { color: var(--primary); font-weight: 700; }

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap;
}
