/* ── FAE REALM STYLES ─────────────────────────────────────── */

/* ── Panel body ── */
.fae-body {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  padding: 32px 40px;
  gap: 28px;
}

/* ── Lock screen ── */
.fae-body--lock {
  text-align: center;
}
.fae-lock-sigil {
  font-size: 52px;
  color: rgba(200,144,58,0.35);
  line-height: 1;
}
.fae-lock-title {
  font-family: var(--display);
  font-size: 22px;
  color: var(--amber2);
  letter-spacing: 2px;
  text-transform: uppercase;
}
.fae-lock-desc {
  font-family: var(--serif);
  font-style: italic;
  font-size: 14px;
  color: rgba(242,232,208,0.55);
  line-height: 1.7;
  max-width: 360px;
}

/* ── Password form ── */
.fae-lock-form {
  display: flex;
  gap: 8px;
  align-items: center;
}
.fae-pw-input {
  background: rgba(0,0,0,0.3);
  border: 1px solid rgba(200,144,58,0.3);
  border-radius: 2px;
  color: var(--parch);
  font-family: var(--mono);
  font-size: 14px;
  padding: 10px 14px;
  width: 200px;
  outline: none;
  transition: border-color 0.15s;
}
.fae-pw-input:focus {
  border-color: rgba(200,144,58,0.7);
}
.fae-pw-input::placeholder {
  color: rgba(242,232,208,0.2);
  font-style: italic;
}
.fae-pw-btn {
  background: var(--amber);
  color: var(--ink);
  font-family: var(--mono);
  font-size: 13px;
  padding: 10px 20px;
  border: none;
  border-radius: 2px;
  cursor: pointer;
  white-space: nowrap;
}
.fae-pw-btn:hover {
  background: var(--amber2);
}
.fae-pw-error {
  font-family: var(--mono);
  font-size: 12px;
  color: rgba(220,80,60,0.85);
  min-height: 18px;
  letter-spacing: 0.5px;
}

/* ── Shake animation (wrong password) ── */
@keyframes fae-shake {
  0%   { transform: translateX(0); }
  18%  { transform: translateX(-8px); }
  36%  { transform: translateX(7px); }
  54%  { transform: translateX(-5px); }
  72%  { transform: translateX(4px); }
  100% { transform: translateX(0); }
}
.fae-shake {
  animation: fae-shake 0.45s cubic-bezier(0.36,0.07,0.19,0.97);
}

/* ── Workspace ── */
.fae-workspace-note {
  font-family: var(--serif);
  font-style: italic;
  font-size: 14px;
  color: rgba(242,232,208,0.5);
  border-left: 2px solid rgba(200,144,58,0.25);
  padding-left: 14px;
  align-self: flex-start;
}

/* ── Tile grid ── */
.fae-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  width: 100%;
  max-width: 520px;
}

/* ── Individual tile ── */
.fae-tile {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 28px 20px;
  background: rgba(245,230,180,0.04);
  border: 1px solid rgba(200,144,58,0.2);
  border-radius: 6px;
  cursor: pointer;
  text-align: center;
  transition: background 0.15s, border-color 0.15s, transform 0.12s;
}
.fae-tile:hover {
  background: rgba(200,144,58,0.1);
  border-color: rgba(200,144,58,0.45);
  transform: translateY(-2px);
}
.fae-tile:active {
  transform: translateY(0);
}
.fae-tile--disabled {
  opacity: 0.38;
  cursor: not-allowed;
  pointer-events: none;
}
.fae-tile-icon {
  font-size: 30px;
  line-height: 1;
  color: var(--amber);
}
.fae-tile-title {
  font-family: var(--display);
  font-size: 15px;
  color: var(--parch);
  line-height: 1.2;
}
.fae-tile-desc {
  font-family: var(--mono);
  font-size: 11px;
  color: rgba(242,232,208,0.4);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
