/* Shared Tydi palette. Opaque surfaces are the fallback when blur is unavailable. */
:root {
  --ty-canvas: #19130f;
  --ty-ivory: #fff8ec;
  --ty-light-muted: #decebd;
  --ty-panel: #2d241c;
  --ty-panel-raised: #3a2f25;
  --ty-panel-translucent: rgb(37 30 24 / 88%);
  --ty-edge: #76604b;
  --ty-gold: #f6ce83;
  --ty-gold-fill: linear-gradient(115deg,#f8db99,#d69b47 80%);
  --ty-on-gold: #251607;
  --ty-paper: #fffbf4;
  --ty-paper-soft: #f3e9db;
  --ty-ink: #322117;
  --ty-paper-edge: #d9c6b0;
  --ty-r-sm: 10px;
  --ty-r-md: 16px;
  --ty-r-lg: 22px;
  --ty-pill: 999px;
  --ty-overlay-shadow: 0 14px 30px rgb(0 0 0 / 23%);
  --ty-finish: 140ms ease-out;
  --ty-background: radial-gradient(ellipse at 85% 0%,#59402a 0%,transparent 43%),
    radial-gradient(ellipse at 8% 46%,#483121 0%,transparent 43%),
    linear-gradient(145deg,#24201b,#15110e 73%);
  --ty-glass: linear-gradient(145deg,rgb(255 255 255 / 8%),transparent 57%),
    linear-gradient(17deg,rgb(204 151 67 / 15%),transparent 40%);
}

:root {
  --ty-burnished: #30241f;
  --ty-field: #241b18;
  --ty-field-edge: #967457;
  --ty-ease: cubic-bezier(.2,.75,.2,1);
  --ty-aurora: radial-gradient(ellipse at 77% 27%, #ac652a 0%, #684022 23%, transparent 52%),
    radial-gradient(ellipse at 24% 69%, #79464e 0%, #43252b 27%, transparent 54%);
}
@keyframes tydi-aurora-wash {
  from { transform: translate(-8%, -7%) rotate(-8deg); opacity:.46; }
  to { transform: translate(6%, 4%) rotate(7deg); opacity:.68; }
}
@keyframes tydi-rise {
  from { opacity:.55; transform:translateY(15px); }
  to { opacity:1; transform:translateY(0); }
}
@keyframes tydi-spin { to { transform: rotate(1turn); } }
