.rank-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
}

.rank-no {
  font-family: var(--font-num);
  font-size: 13px;
  width: 34px;
  text-align: center;
  color: var(--ink);
  flex: none;
}

.rank-row.top1 {
  background: linear-gradient(90deg, #fff3c8, #ffe08a);
}

.rank-row.top2 {
  background: linear-gradient(90deg, #eef1f4, #d7dee6);
}

.rank-row.top3 {
  background: linear-gradient(90deg, #f6e2cf, #e7c39c);
}

.rank-row .crown {
  font-size: 16px;
}

.rank-row .ava {
  width: 40px;
  height: 40px;
  border-radius: 6px;
  flex: none;
  object-fit: cover;
}

.rank-row .who {
  flex: 1;
  min-width: 0;
  overflow: hidden;
}

.rank-row .who b {
  font-size: 13px;
  display: block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  color: var(--ink);
}

.rank-row .who small {
  font-size: 10px;
  color: var(--ink-dim);
  display: flex;
  align-items: center;
  gap: 4px;
  margin-top: 2px;
}

.rank-row .amt {
  font-family: var(--font-num);
  font-size: 12px;
  color: var(--gold-deep);
  white-space: nowrap;
  font-weight: 700;
}

.rank-row .amt i {
  color: var(--gold-deep);
  font-size: 11px;
  margin-right: 2px;
}

.rank-skeleton-ava {
  width: 40px;
  height: 40px;
  border-radius: 6px;
  background: var(--parch-2, #e8dcc8);
  flex: none;
  animation: skeletonPulse 1.2s ease-in-out infinite;
}

.rank-skeleton-line {
  height: 12px;
  background: var(--parch-2, #e8dcc8);
  border-radius: 4px;
  animation: skeletonPulse 1.2s ease-in-out infinite;
  margin-bottom: 5px;
}

@keyframes skeletonPulse {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: .5;
  }
}

.ranking-bonus-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 12px;
  color: #ffffff;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.8);
  text-decoration: none;
  font-weight: bold;
}

.ranking-bonus-link:hover {
  color: #ffffff !important;
  text-decoration: none;
}

/* Callout Box for Reward Info */
.ranking-callout {
  background: var(--parch, #f4ecd8);
  border: 2px solid var(--wood-dark, #3e2260);
  border-radius: 8px;
  padding: 14px 18px;
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--ink, #140e0a);
  font-size: 13px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  line-height: 1.5;
}

.ranking-callout .coin-value {
  color: var(--gold-deep, #c8935a);
  font-weight: bold;
}

.ranking-callout .callout-icon {
  font-size: 16px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Table Header (日次, 週次, 月次) */
.table-header {
  font-size: 16px;
  color: var(--wood-dark, #3e2260);
  margin-top: 24px;
  margin-bottom: 12px;
  font-weight: bold;
  display: flex;
  align-items: center;
  gap: 8px;
}

.table-header::before {
  content: "⚔️";
  font-size: 14px;
}

/* Ranking Table style */
.ranking-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 24px;
  background: rgba(0, 0, 0, 0.03);
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 8px;
  overflow: hidden;
}

.ranking-table tr {
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.ranking-table tr:last-child {
  border-bottom: none;
}

.ranking-table td {
  padding: 12px 16px;
  font-size: 13px;
  color: var(--ink, #140e0a);
}

.ranking-table td:first-child {
  font-weight: bold;
  color: var(--ink, #140e0a);
}

.ranking-table td:last-child {
  text-align: right;
}

.ranking-table td.coin-value {
  color: var(--gold-deep, #c8935a);
  font-family: var(--font-num);
  font-weight: bold;
}

