/* =============================================
   current.css — styles for current.html
   ============================================= */


/* --- page title --- */
.current-title-section {
  text-align: center;
}

.current-title-section h1 {
  font-size: 2rem;
  margin-bottom: 0.4rem;
}

.current-subtitle {
  font-size: 0.9rem;
  opacity: 0.7;
  margin: 0;
}


/* --- two-column grid --- */
.current-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 1.25rem;
  align-items: flex-start;
}

.current-left,
.current-right {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}


/* --- card base tweaks for this page --- */
.current-card {
  /* inherits .card from components.css */
}

.current-card h2 {
  margin: 0 0 0.15rem;
  font-size: 1.1rem;
}

.current-card-sub {
  font-size: 0.78rem;
  opacity: 0.55;
  margin: 0 0 1rem;
}

.current-card-sub a {
  color: inherit;
  text-decoration: underline dotted;
}


/* --- card header row (title + see-all link) --- */
.current-card-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 0.85rem;
}

.current-card-header > div {
  flex: 1;
}

.current-card-header h2 {
  margin: 0 0 0.15rem;
}

.see-all-link {
  font-size: 0.78rem;
  opacity: 0.55;
  text-decoration: none;
  color: inherit;
  white-space: nowrap;
  transition: opacity 0.15s;
  padding-top: 0.1rem;
}

.see-all-link:hover {
  opacity: 1;
}


/* --- pluralkit iframe --- */
.fronting-iframe-wrap {
  width: 100%;
  border-radius: 10px;
  overflow: auto;
  background: rgba(255, 255, 255, 0.4);
  border: 1px solid rgba(0, 0, 0, 0.06);
  min-height: 400px;
  display: flex;
  align-items: stretch;
}

#fronting-iframe {
  width: 100%;
  min-height: 220px;
  border: none;
  display: block;
  border-radius: 10px;
  background: transparent;
}

.fronting-refresh-hint {
  margin: 0.6rem 0 0;
  font-size: 0.75rem;
  opacity: 0.5;
  text-align: right;
}

.fronting-refresh-hint a {
  color: inherit;
  text-decoration: underline dotted;
}

.text-btn {
  background: none;
  border: none;
  padding: 0;
  font: inherit;
  font-size: 0.75rem;
  cursor: pointer;
  opacity: 0.8;
  color: inherit;
  transition: opacity 0.15s;
}

.text-btn:hover {
  opacity: 1;
}


/* --- recent updates list --- */
.update-group {
  margin-bottom: 0.85rem;
}

.update-group:last-child {
  margin-bottom: 0;
}

.update-date {
  font-size: 0.78rem;
  font-weight: bold;
  opacity: 0.6;
  margin: 0 0 0.3rem;
  padding-bottom: 0.2rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.07);
}

.update-items {
  list-style: none;
  margin: 0;
  padding: 0;
}

.update-items li {
  font-size: 0.82rem;
  padding: 0.2rem 0 0.2rem 1rem;
  position: relative;
  line-height: 1.5;
  opacity: 0.85;
}

.update-items li::before {
  content: "·";
  position: absolute;
  left: 0.3rem;
  opacity: 0.5;
}


/* --- currently doing list --- */
.currently-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.currently-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.85rem;
  line-height: 1.5;
  padding: 0.5rem 0.75rem;
  background: rgba(255, 255, 255, 0.45);
  border-radius: 8px;
  border: 1px solid rgba(0, 0, 0, 0.06);
}

.currently-list li .currently-emoji {
  font-size: 1rem;
  flex-shrink: 0;
  margin-top: 0.05rem;
}

.currently-list li .currently-label {
  font-size: 0.7rem;
  font-weight: bold;
  opacity: 0.45;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  display: block;
  margin-bottom: 0.3rem;
}

/* wrapper that holds the label + all entries for one category */
.currently-category-block {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-width: 0;
}

/* individual entry row within a category block */
.currently-entry {
  padding: 0.25rem 0;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.currently-entry:first-of-type {
  border-top: none;
  padding-top: 0;
}

.currently-value {
  display: block;
  font-weight: 500;
}

.currently-value .currently-meta {
  font-size: 0.72rem;
  opacity: 0.55;
  margin-left: 0.3rem;
  font-weight: normal;
}

.currently-entry .currently-note {
  font-size: 0.75rem;
  opacity: 0.5;
  display: block;
  margin-top: 0.1rem;
}


/* --- meta / last refreshed card --- */
.current-meta-card {
  padding: 1rem 1.25rem !important;
  text-align: center;
}

.meta-label {
  font-size: 0.72rem;
  opacity: 0.45;
  margin: 0 0 0.2rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.meta-value {
  font-size: 0.88rem;
  margin: 0 0 0.85rem;
}

.refresh-all-btn {
  background: #ffd6ea;
  border: none;
  border-radius: 999px;
  padding: 0.35rem 1rem;
  font: inherit;
  font-size: 0.8rem;
  cursor: pointer;
  color: inherit;
  transition: background 0.15s, transform 0.1s;
}

.refresh-all-btn:hover {
  background: #ffb8d9;
}

.refresh-all-btn:active {
  transform: scale(0.97);
}


/* --- loading / error states --- */
.loading-msg,
.error-msg {
  font-size: 0.82rem;
  opacity: 0.5;
  font-style: italic;
  margin: 0.5rem 0;
}

.error-msg {
  color: #c0392b;
  opacity: 0.7;
}


/* --- responsive --- */
@media (max-width: 700px) {
  .current-grid {
    grid-template-columns: 1fr;
  }
}