.mine-grid {
  display: grid;
  grid-template-columns: minmax(360px, 460px) minmax(0, 1fr);
  gap: 20px;
  align-items: start;
}

.mine-left-col,
.mine-right-col {
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-width: 0;
}

.profile-card {
  padding: 24px;
}

.profile-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.profile-kicker {
  font-size: 12px;
  color: var(--ink-muted);
  font-weight: 600;
}

.profile-score-row {
  margin-top: 6px;
  display: flex;
  align-items: baseline;
  gap: 4px;
}

.profile-score {
  font-size: 36px;
  font-weight: 800;
  color: var(--red);
  line-height: 1.1;
}

.profile-score-sub {
  font-size: 14px;
  color: var(--ink-sub);
  font-weight: 600;
}

.profile-empty-title {
  margin-top: 6px;
  font-size: 19px;
  font-weight: 700;
  color: var(--ink);
}

.profile-empty-sub {
  margin-top: 8px;
  font-size: 13px;
  color: var(--ink-light);
}

.edit-btn {
  padding: 8px 16px;
  border-radius: 999px;
  background-color: var(--red-soft);
  color: var(--red);
  border: 1px solid var(--red-border);
  font-size: 12px;
  font-weight: 700;
  flex-shrink: 0;
  transition: all 0.15s ease;
}

.edit-btn:hover {
  background-color: var(--red);
  color: #ffffff;
}

.profile-tags {
  margin-top: 16px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.history-card {
  padding: 22px 24px;
}

.history-head {
  margin-bottom: 10px;
}

.history-list {
  display: flex;
  flex-direction: column;
}

.history-row {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 8px;
  border-bottom: 1px solid var(--border-soft);
  border-radius: 8px;
  text-align: left;
  transition: background-color 0.12s ease;
}

.history-row:hover {
  background-color: var(--bg-page);
}

.history-row-last {
  border-bottom: none;
}

.history-main {
  flex: 1;
  min-width: 0;
  font-size: 14px;
  color: var(--ink-sub);
}

.history-bold {
  color: var(--ink);
}

.history-time {
  flex-shrink: 0;
  font-size: 12px;
  color: var(--ink-light);
}

.history-empty {
  padding: 36px 0 24px;
  text-align: center;
  font-size: 13px;
  color: var(--ink-light);
}

.menu-card {
  padding: 6px 24px;
}

.menu-row {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 15px 4px;
  border-bottom: 1px solid var(--border-soft);
  text-align: left;
  transition: background-color 0.12s ease;
}

.menu-row:hover {
  background-color: var(--bg-page);
}

.menu-row-last {
  border-bottom: none;
}

.menu-left {
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
}

.menu-right {
  font-size: 12px;
  color: var(--ink-light);
  flex-shrink: 0;
}

@media (max-width: 899px) {
  .mine-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .profile-card,
  .history-card {
    padding: 18px 16px;
  }

  .menu-card {
    padding: 4px 16px;
  }

  .profile-score {
    font-size: 30px;
  }
}
