.at-page {
  padding-bottom: 24px;
}

.at-head {
  margin-bottom: 16px;
}

.at-title {
  margin: 0 0 6px;
  font-size: 20px;
  color: var(--mb-gold-light, #5ec8ff);
}

.at-desc {
  margin: 0;
  font-size: 13px;
  color: var(--mb-muted, #999);
}

.at-summary {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 14px;
}

.at-stat {
  padding: 12px;
  border-radius: 10px;
  border: 1px solid rgba(0, 174, 239, 0.22);
  background: rgba(255, 255, 255, 0.03);
}

.at-stat-label {
  display: block;
  font-size: 11px;
  color: var(--mb-muted, #999);
  margin-bottom: 4px;
}

.at-stat strong {
  font-size: 16px;
  color: #f4f4f5;
}

.at-bonus-list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
}

.at-bonus-title {
  font-size: 12px;
  color: var(--mb-muted, #999);
}

.at-bonus-chip {
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid rgba(0, 174, 239, 0.35);
  font-size: 12px;
  color: var(--mb-gold-light, #5ec8ff);
}

.at-calendar-wrap {
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 14px;
  background: #0a0a0a;
  margin-bottom: 16px;
}

.at-cal-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.at-cal-nav strong {
  font-size: 16px;
  color: #f4f4f5;
}

.at-cal-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  border: 1px solid rgba(0, 174, 239, 0.55);
  background: rgba(0, 174, 239, 0.18);
  color: #5ec8ff;
  font-size: 22px;
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s, color 0.15s;
}

button.at-cal-btn {
  padding: 0;
  font-family: inherit;
}

.at-cal-btn:hover {
  background: rgba(0, 174, 239, 0.32);
  border-color: rgba(0, 174, 239, 0.8);
  color: #fff;
}

.at-cal-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 6px;
}

.at-cal-weekday {
  text-align: center;
  font-size: 11px;
  color: var(--mb-muted, #999);
  padding: 4px 0;
}

.at-cal-cell {
  min-height: 64px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: #111;
  padding: 6px;
  position: relative;
}

.at-cal-cell.is-empty {
  border-color: transparent;
  background: transparent;
}

.at-cal-cell.is-checked {
  border-color: rgba(0, 174, 239, 0.45);
  background: rgba(0, 174, 239, 0.1);
}

.at-cal-cell.is-today {
  box-shadow: inset 0 0 0 1px rgba(0, 174, 239, 0.55);
}

.at-day-num {
  font-size: 12px;
  color: #ddd;
}

.at-day-stamp {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 2px auto 0;
  width: 44px;
  height: 44px;
}

.at-day-stamp-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  border: 2.5px solid rgba(239, 68, 68, 0.88);
  border-radius: 50%;
  color: rgba(248, 113, 113, 0.95);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: -0.3px;
  transform: rotate(-14deg);
  background: rgba(239, 68, 68, 0.1);
  box-shadow:
    inset 0 0 0 1px rgba(239, 68, 68, 0.28),
    0 2px 6px rgba(239, 68, 68, 0.18);
  text-shadow: 0 0 6px rgba(239, 68, 68, 0.35);
}

.at-btn-stamp {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  margin-right: 6px;
  border: 2px solid rgba(239, 68, 68, 0.75);
  border-radius: 50%;
  color: #f87171;
  font-size: 9px;
  font-weight: 800;
  transform: rotate(-12deg);
  vertical-align: middle;
  background: rgba(239, 68, 68, 0.12);
}

.at-day-reward {
  display: block;
  margin-top: 2px;
  font-size: 10px;
  color: #8fd4ff;
}

.at-action {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 10px;
  width: 100%;
}

.at-btn {
  width: 100%;
  max-width: 320px;
  margin: 0 auto;
  padding: 14px;
  border: none;
  border-radius: 10px;
  background: linear-gradient(135deg, #0088cc, #0099dd);
  color: #fff;
  font-weight: 700;
  font-size: 15px;
  cursor: pointer;
}

.at-btn.is-done,
.at-btn.is-disabled {
  max-width: none;
  width: 100%;
  background: #333;
  color: #ddd;
  cursor: not-allowed;
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
  padding: 12px 16px;
}

.at-link-deposit {
  align-self: center;
  font-size: 13px;
  color: var(--mb-gold-light, #5ec8ff);
}

.at-alert {
  margin-top: 12px;
  padding: 10px 12px;
  border-radius: 8px;
  font-size: 13px;
}

.at-alert-ok {
  background: rgba(34, 197, 94, 0.15);
  color: #86efac;
}

.at-alert-error {
  background: rgba(239, 68, 68, 0.15);
  color: #fca5a5;
}

@media (max-width: 575px) {
  .at-summary {
    grid-template-columns: 1fr;
  }

  .at-cal-cell {
    min-height: 52px;
  }

  .at-day-stamp {
    width: 36px;
    height: 36px;
  }

  .at-day-stamp-inner {
    font-size: 9px;
    border-width: 2px;
  }

  .at-btn.is-disabled {
    white-space: normal;
    font-size: 12px;
  }
}
