/* T&L Companion App: variables, reset, typography, and generic controls. */
:root {
  --bg: #0d0b16;
  --panel: #2b2736;
  --panel2: #2b2240;
  --line: #5a477e;
  --text: #eee7ff;
  --muted: #b4aac5;
  --gold: #d8bd84;
  --red: #df5b4c;
  --purple: #a871ff;
  --green: #76d26a;
  --orange: #eaa84f;
  --custom-card-top: rgba(36, 32, 47, .86);
  --custom-card-bottom: rgba(27, 23, 38, .86);
  --custom-subpanel: rgba(23, 19, 33, .80);
  --custom-soft: rgba(31, 26, 43, .82);
  --custom-line: #4a3f61;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  min-height: 100vh;
  position: relative;
  background: radial-gradient(circle at top left, #1f1b29, #0d0b16 45%, #08070d);
  color: var(--text);
  font-family: "Trebuchet MS","Lucida Grande","Lucida Sans Unicode","Lucida Sans","Trebuchet MS","Lucida Grande","Lucida Sans Unicode","Lucida Sans",Arial,sans-serif;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background: url("../ui/site-sigil-bg.png") 50% 50% / cover no-repeat;
  opacity: .08;
  filter: drop-shadow(0 0 24px rgba(255, 230, 172, .055));
}

h1 {
  margin: 0;
  color: #f2dca6;
  font-family: "Trebuchet MS","Lucida Grande","Lucida Sans Unicode","Lucida Sans","Trebuchet MS","Lucida Grande","Lucida Sans Unicode","Lucida Sans",Arial,sans-serif;
  font-size: 24px;
  letter-spacing: .04em;
}

.sub {
  margin-top: 2px;
  color: var(--muted);
  font-size: 12px;
}

input,
button,
select {
  padding: 10px 12px;
  border: 1px solid #5f4a7f;
  border-radius: 12px;
  background: #1d182c;
  color: var(--text);
  font-size: 14px;
}

button { cursor: pointer; }
button:hover { border-color: var(--purple); }

input:focus,
select:focus,
button:focus-visible {
  outline: 2px solid #8b5cf6;
  outline-offset: 2px;
}

.empty {
  padding: 40px;
  color: var(--muted);
  text-align: center;
}

.mini {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
}

:root{--tw-ui-font:"Trebuchet MS","Lucida Grande","Lucida Sans Unicode","Lucida Sans",Arial,sans-serif;}
body,button,input,select,textarea,option{font-family:var(--tw-ui-font);}
