/* ============================================================
   status.css — styling for status.html
   Imports the main site variables from liminalmind.css so
   colours, fonts and spacing stay in sync automatically.
   ============================================================ */
@import url('styles.css');
@import url('status.css');


/* iframe body reset */
html, body {
  min-height: unset;
  background: var(--bg);
}

body {
  padding: 32px 28px 60px;
  background-image: none; /* grain is handled by the parent page */
}

/* ============================================================
   HEADER
   ============================================================ */
.status-header {
  margin-bottom: 28px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border-dim);
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}

.status-header em {
  color: var(--accent);
  font-style: normal;
}

.status-heading {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 300;
  font-style: italic;
  color: var(--text);
}

.status-profile-link {
  font-size: 0.62rem;
  color: var(--text-dim);
  letter-spacing: 0.08em;
  transition: color var(--ease);
}

.status-profile-link:hover { color: var(--accent); }

/* ============================================================
   FEED LIST
   ============================================================ */
.status-feed {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.status-entry {
  padding: 18px 0;
  border-bottom: 1px solid var(--border-dim);
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 16px;
  align-items: start;
  animation: fadeIn 0.35s ease both;
}

.status-entry:first-child {
  border-top: 1px solid var(--border-dim);
}

/* ============================================================
   ENTRY BODY
   ============================================================ */
.status-body {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.status-emoji {
  font-size: 1.1rem;
  line-height: 1;
  margin-bottom: 2px;
}

.status-text {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 300;
  line-height: 1.65;
  color: var(--text-muted);
}

/* most recent status is slightly brighter */
.status-entry:first-child .status-text {
  color: var(--text);
}

/* ============================================================
   DATE / TIME
   ============================================================ */
.status-time {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  color: var(--text-dim);
  letter-spacing: 0.08em;
  white-space: nowrap;
  padding-top: 3px;
  font-variant-numeric: tabular-nums;
  text-align: right;
  line-height: 1.7;
}

/* ============================================================
   STATE MESSAGES
   ============================================================ */
.state-msg {
  font-size: 0.78rem;
  color: var(--text-dim);
  padding: 40px 0;
  text-align: center;
  font-family: var(--font-mono);
}

.loading-dots::after {
  content: '';
  animation: dots 1.2s steps(3, end) infinite;
}

@keyframes dots {
  0%   { content: '.'; }
  33%  { content: '..'; }
  66%  { content: '...'; }
  100% { content: ''; }
}

/* ============================================================
   ANIMATIONS
   ============================================================ */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(5px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ============================================================
   PAGINATION — reuses .page-btn and .page-info from
   liminalmind.css, just needs the wrapper spacing
   ============================================================ */
.pagination {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 0 16px;
  border-top: 1px solid var(--border-dim);
  margin-top: 8px;
  gap: 12px;
}

.pagination:empty { display: none; }