/* SYPOWER daily check-in — original styles, not a copy of official CSS */
.sy-ck-layer {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 18px 14px;
}
.sy-ck-layer.is-open { display: flex; }
.sy-ck-bg {
  position: absolute;
  inset: 0;
  background: rgba(4, 6, 12, .72);
  backdrop-filter: blur(8px);
}
.sy-ck-card {
  position: relative;
  width: min(920px, 100%);
  max-height: min(92vh, 760px);
  overflow: auto;
  border-radius: 22px;
  padding: 22px 22px 18px;
  background:
    radial-gradient(800px 280px at 12% -10%, rgba(250, 204, 21, .16), transparent 60%),
    radial-gradient(600px 240px at 100% 0%, rgba(168, 85, 247, .12), transparent 55%),
    linear-gradient(180deg, #1a1420 0%, #120e18 100%);
  border: 1px solid rgba(250, 204, 21, .18);
  box-shadow: 0 24px 80px rgba(0, 0, 0, .55);
  color: #f5f1ea;
}
.sy-ck-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 32px;
  height: 32px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, .06);
  color: #c8c0b4;
  font-size: 20px;
  cursor: pointer;
}
.sy-ck-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, .9fr);
  gap: 22px;
  align-items: start;
}
.sy-ck-title-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 4px;
}
.sy-ck-clock {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: radial-gradient(circle at 30% 30%, #ffe38a, #f5b942 55%, #c48512);
  color: #3a2500;
  font-weight: 800;
  box-shadow: 0 0 0 4px rgba(245, 185, 66, .18);
}
.sy-ck-title { margin: 0; font-size: 22px; letter-spacing: .02em; }
.sy-ck-sub { margin: 0 0 16px; color: #b9b0a4; font-size: 13px; }
.sy-ck-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 12px;
}
.sy-ck-stat {
  border-radius: 16px;
  padding: 14px 12px;
  background: rgba(255, 255, 255, .04);
  border: 1px solid rgba(255, 255, 255, .06);
  text-align: center;
}
.sy-ck-stat.is-gold {
  border-color: rgba(250, 204, 21, .35);
  background: linear-gradient(180deg, rgba(250, 204, 21, .12), rgba(255, 255, 255, .03));
}
.sy-ck-stat b { display: block; font-size: 28px; line-height: 1.1; }
.sy-ck-stat b em { font-style: normal; font-size: 14px; margin-left: 2px; color: #d8c39a; }
.sy-ck-stat span { display: block; margin-top: 4px; color: #b9b0a4; font-size: 12px; }
.sy-ck-hint {
  border-radius: 14px;
  padding: 10px 12px;
  margin-bottom: 16px;
  background: rgba(0, 0, 0, .22);
  border: 1px solid rgba(255, 255, 255, .05);
  color: #d4cbbf;
  font-size: 13px;
}
.sy-ck-miles {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  margin: 8px 4px 20px;
}
.sy-ck-mile { text-align: center; flex: 1; color: #9a9288; font-size: 12px; }
.sy-ck-mile i {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  margin: 0 auto 6px;
  border-radius: 50%;
  border: 2px solid rgba(250, 204, 21, .35);
  color: #f5d76e;
  font-style: normal;
  font-weight: 700;
}
.sy-ck-mile.is-on i {
  background: linear-gradient(180deg, #ffe38a, #e2a41a);
  color: #3a2500;
  border-color: transparent;
}
.sy-ck-go {
  width: 100%;
  border: 0;
  border-radius: 999px;
  padding: 14px 16px;
  font-size: 16px;
  font-weight: 700;
  color: #3a2500;
  background: linear-gradient(180deg, #ffe07a 0%, #f5b52d 100%);
  box-shadow: 0 8px 24px rgba(245, 181, 45, .28);
  cursor: pointer;
}
.sy-ck-go:disabled {
  cursor: default;
  color: #d8c9a4;
  background: rgba(255, 255, 255, .08);
  box-shadow: none;
}
.sy-ck-next { text-align: center; margin: 10px 0 0; color: #b9b0a4; font-size: 13px; }
.sy-ck-remind {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 18px;
  padding: 12px 14px;
  border-radius: 16px;
  background: rgba(0, 0, 0, .2);
  border: 1px solid rgba(255, 255, 255, .05);
}
.sy-ck-remind b { display: block; font-size: 13px; }
.sy-ck-remind span { display: block; margin-top: 3px; color: #9a9288; font-size: 12px; }
.sy-ck-switch {
  width: 46px;
  height: 26px;
  border: 0;
  border-radius: 999px;
  background: #3a3540;
  position: relative;
  cursor: pointer;
  flex-shrink: 0;
}
.sy-ck-switch::after {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #ece8e0;
  transition: left .18s ease;
}
.sy-ck-switch.is-on { background: #e2a41a; }
.sy-ck-switch.is-on::after { left: 23px; }
.sy-ck-cal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}
.sy-ck-cal-head b { font-size: 16px; }
.sy-ck-nav {
  display: flex;
  gap: 6px;
}
.sy-ck-nav button {
  width: 28px;
  height: 28px;
  border: 0;
  border-radius: 8px;
  background: rgba(255, 255, 255, .06);
  color: #ece8e0;
  cursor: pointer;
}
.sy-ck-legend { display: flex; gap: 12px; color: #9a9288; font-size: 12px; }
.sy-ck-legend i { display: inline-block; width: 8px; height: 8px; border-radius: 50%; margin-right: 4px; }
.sy-ck-legend .is-done { background: #22c55e; }
.sy-ck-legend .is-today { background: #f59e0b; }
.sy-ck-week, .sy-ck-days {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px;
  text-align: center;
}
.sy-ck-week { margin: 8px 0 6px; color: #8d867c; font-size: 12px; }
.sy-ck-day {
  aspect-ratio: 1;
  border: 0;
  border-radius: 12px;
  background: transparent;
  color: #ece8e0;
  font-size: 13px;
  position: relative;
}
.sy-ck-day.is-mute { color: #5c564e; }
.sy-ck-day.is-today {
  background: linear-gradient(180deg, #f5c451, #e08a12);
  color: #2a1a00;
  font-weight: 700;
}
.sy-ck-day.is-done:not(.is-today) { color: #86efac; }
.sy-ck-day.is-done::after {
  content: "✓";
  position: absolute;
  right: 3px;
  top: 2px;
  font-size: 10px;
  color: #22c55e;
}
.sy-ck-day.is-today.is-done::after { color: #14532d; }
.sy-ck-foot {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 16px;
}
.sy-ck-foot div {
  border-radius: 14px;
  padding: 12px 10px;
  background: rgba(0, 0, 0, .22);
  text-align: center;
}
.sy-ck-foot b { display: block; color: #f5d76e; font-size: 18px; }
.sy-ck-foot span { color: #9a9288; font-size: 12px; }
.sy-ck-err { color: #fca5a5; font-size: 13px; margin: 8px 0 0; }
@media (max-width: 800px) {
  .sy-ck-grid { grid-template-columns: 1fr; }
  .sy-ck-card { padding: 18px 14px 14px; }
}
.menu-action-dot {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ef4444;
  box-shadow: 0 0 0 3px rgba(239, 68, 68, .2);
}
.menu-action-item { position: relative; }
.menu-action-item.is-reward {
  box-shadow: inset 0 0 0 1px rgba(250, 204, 21, .45), 0 0 18px rgba(250, 204, 21, .12);
}
