[hidden] {
  display: none !important;
}

.afc-mine-wrap {
  display: grid;
  gap: 24px;
}

.afc-mine-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.afc-mine-eyebrow {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: #f5c26b;
  margin-bottom: 4px;
}

.afc-mine-head h2 {
  margin: 0 0 6px;
  font-family: var(--afc-font-display, "Cormorant Garamond", Georgia, serif);
  font-size: 30px;
  color: #dce8f5;
}

.afc-mine-sub {
  margin: 0;
  font-size: 14px;
  color: #93abc7;
}

.afc-btn-primary-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 22px;
  border-radius: 12px;
  background: #c83e3b;
  color: #ffffff;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  transition: filter 0.16s ease;
}

.afc-btn-primary-link:hover {
  filter: brightness(1.08);
}

.afc-btn-secondary-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 22px;
  border-radius: 12px;
  border: 1px solid rgba(220, 232, 245, 0.3);
  background: #0e1a2b;
  color: #dce8f5;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
}

.afc-mine-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.afc-mine-card {
  background: #15263e;
  border: 1px solid rgba(220, 232, 245, 0.22);
  border-radius: 18px;
  padding: 20px;
  display: grid;
  gap: 12px;
  box-shadow: 0 14px 32px rgba(4, 10, 20, 0.38);
}

.afc-mine-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.afc-mine-pill {
  font-size: 11px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 999px;
  background: rgba(245, 194, 107, 0.14);
  color: #f5c26b;
  border: 1px solid rgba(245, 194, 107, 0.35);
}

.afc-mine-remove-btn {
  background: none;
  border: none;
  color: #93abc7;
  font-size: 13px;
  cursor: pointer;
  padding: 4px 6px;
  font-family: inherit;
}

.afc-mine-remove-btn:hover {
  color: #c83e3b;
}

.afc-mine-card h3 {
  margin: 0;
  font-family: var(--afc-font-display, "Cormorant Garamond", Georgia, serif);
  font-size: 22px;
  color: #dce8f5;
  line-height: 1.2;
}

.afc-mine-meta {
  font-size: 13px;
  color: #93abc7;
}

.afc-mine-open-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  border-radius: 10px;
  background: #fbf6ec;
  color: #1b2432;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  transition: filter 0.16s ease;
}

.afc-mine-open-btn:hover {
  filter: brightness(0.96);
}

.afc-mine-empty {
  background: #15263e;
  border: 1px dashed rgba(220, 232, 245, 0.3);
  border-radius: 20px;
  padding: 40px 24px;
  text-align: center;
}

.afc-mine-empty h3 {
  margin: 0 0 8px;
  font-family: var(--afc-font-display, "Cormorant Garamond", Georgia, serif);
  font-size: 26px;
  color: #dce8f5;
}

.afc-mine-empty p {
  margin: 0 0 20px;
  color: #93abc7;
}

.afc-mine-empty-actions {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

@media (max-width: 900px) {
  .afc-mine-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .afc-mine-grid {
    grid-template-columns: 1fr;
  }
}