/* WarUniverse Activity — Asterion crystal glass (slate + cyan + amber CTA) */

:root {
  --act-cyan: #6ad4ff;
  --act-cyan-dim: #3a9fd4;
  --act-cyan-glow: rgba(106, 212, 255, 0.35);
  --act-amber: #f0b84b;
  --act-amber-deep: #c4841e;
  --act-amber-glow: rgba(240, 184, 75, 0.35);
  --act-border: rgba(110, 190, 240, 0.28);
  --act-border-soft: rgba(110, 190, 240, 0.14);
  --act-border-strong: rgba(106, 212, 255, 0.5);
  --act-glass:
    linear-gradient(165deg, rgba(28, 48, 74, 0.72) 0%, rgba(12, 22, 38, 0.78) 48%, rgba(8, 14, 26, 0.82) 100%);
  --act-glass-flat: rgba(10, 18, 32, 0.55);
  --act-highlight: rgba(170, 220, 255, 0.12);
  --act-text: #e8f2fc;
  --act-muted: #8eabc4;
  --act-danger: #ff6b7a;
  --act-gold: #f0c14b;
  --act-blur: blur(18px) saturate(1.25);
  /* legacy aliases used by theme classes */
  --act-ice-bright: var(--act-cyan);
  --act-ice-glow: var(--act-cyan-glow);
  --act-ice-deep: #0c2a44;
  --act-ice-mid: #1a4a6e;
}

#boot.is-lobby .lobby-main:has(#panel-activity:not(.hidden)) {
  padding: 0;
  overflow: hidden;
  background: transparent;
  border: 0;
  box-shadow: none;
}

#boot.is-lobby #panel-activity.lobby-panel--activity {
  display: flex !important;
  flex-direction: column;
  height: 100%;
  min-height: 0;
  padding: 0;
  overflow: hidden;
}

#boot.is-lobby #panel-activity.lobby-panel--activity.hidden {
  display: none !important;
}

.dock-link--activity {
  position: relative;
}

.act-badge {
  position: absolute;
  top: -4px;
  right: -4px;
  min-width: 16px;
  height: 16px;
  padding: 0 4px;
  border-radius: 999px;
  background: var(--act-amber);
  color: #1a1206;
  font-size: 0.62rem;
  font-weight: 800;
  display: grid;
  place-items: center;
  pointer-events: none;
  box-shadow: 0 0 10px var(--act-amber-glow);
}

.act-badge.hidden {
  display: none !important;
}

.act-shell {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 0;
  color: var(--act-text);
  background:
    radial-gradient(ellipse 80% 50% at 12% -8%, rgba(90, 190, 255, 0.16), transparent 58%),
    radial-gradient(ellipse 50% 40% at 100% 100%, rgba(240, 184, 75, 0.06), transparent 55%),
    linear-gradient(180deg, rgba(10, 18, 32, 0.88) 0%, rgba(4, 8, 16, 0.92) 100%);
  border: 1px solid rgba(100, 180, 230, 0.28);
  border-radius: 16px;
  overflow: hidden;
  backdrop-filter: var(--act-blur);
  -webkit-backdrop-filter: var(--act-blur);
  box-shadow:
    0 20px 48px rgba(0, 0, 0, 0.45),
    0 0 0 1px rgba(0, 0, 0, 0.3),
    inset 0 1px 0 var(--act-highlight);
}

.act-shell::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(
    125deg,
    rgba(255, 255, 255, 0.05) 0%,
    transparent 34%,
    transparent 70%,
    rgba(106, 212, 255, 0.03) 100%
  );
}

.act-shell::after {
  display: none;
}

.act-shell.theme-ice,
.act-shell.theme-emerald,
.act-shell.theme-sapphire {
  --act-accent: var(--act-cyan);
  --act-deep: #0c2a44;
}

.act-shell.theme-ruby {
  --act-cyan: #ff7a96;
  --act-cyan-dim: #c44562;
  --act-cyan-glow: rgba(255, 122, 150, 0.35);
  --act-border: rgba(255, 122, 150, 0.28);
  --act-ice-bright: #ff7a96;
  --act-ice-glow: rgba(255, 122, 150, 0.35);
  --act-muted: #c4a0aa;
}

.act-content {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(250px, 310px);
  grid-template-rows: auto minmax(0, 1fr);
  gap: 14px;
  height: 100%;
  min-height: 0;
  padding: 16px 18px 18px;
  box-sizing: border-box;
}

.act-header {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 0 2px 14px;
  border-bottom: 1px solid var(--act-border-soft);
  position: relative;
}

.act-header::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 88px;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--act-cyan), transparent);
  box-shadow: 0 0 12px var(--act-cyan-glow);
}

.act-header-titles h2 {
  margin: 0;
  font-size: 1.2rem;
  font-weight: 800;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #fff;
  text-shadow: 0 0 18px var(--act-cyan-glow);
}

.act-header-titles .act-tier-name {
  margin: 6px 0 0;
  font-size: 0.7rem;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--act-cyan);
  font-weight: 700;
  opacity: 0.9;
}

.act-header-meta {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: flex-end;
  align-items: center;
}

.act-main {
  display: flex;
  flex-direction: column;
  min-height: 0;
  gap: 12px;
}

.act-daily-card,
.act-weekly-card,
.act-missions,
.act-token-box {
  border: 1px solid rgba(110, 190, 240, 0.32);
  border-radius: 14px;
  background: var(--act-glass);
  box-shadow:
    inset 0 1px 0 var(--act-highlight),
    0 8px 24px rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.act-daily-card {
  flex: 0 0 auto;
  padding: 16px 18px 14px;
}

.act-section-label {
  margin: 0 0 4px;
  font-size: 0.66rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--act-cyan);
  font-weight: 800;
}

.act-daily-top,
.act-weekly-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
}

.act-weekly-head {
  align-items: flex-start;
}

.act-reset-chip {
  display: inline-flex;
  flex-direction: row;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid rgba(110, 190, 240, 0.35);
  background:
    linear-gradient(180deg, rgba(40, 70, 100, 0.45), rgba(12, 22, 38, 0.55));
  box-shadow: inset 0 1px 0 rgba(180, 230, 255, 0.12);
  flex: 0 0 auto;
}

.act-reset-lbl {
  font-size: 0.6rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--act-muted);
  font-weight: 800;
}

.act-reset-chip strong {
  font-size: 0.88rem;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  color: #fff;
  letter-spacing: 0.04em;
  line-height: 1;
  min-width: 5.2em;
  text-align: right;
}

.act-reset-chip--weekly {
  border-color: rgba(240, 184, 75, 0.28);
  background:
    linear-gradient(180deg, rgba(70, 55, 30, 0.4), rgba(20, 16, 10, 0.5));
}

.act-reset-chip--weekly .act-reset-lbl {
  color: rgba(240, 200, 120, 0.85);
}

.act-reset-chip--weekly strong {
  color: #ffe6b0;
}

.act-points-block {
  display: flex;
  align-items: center;
  gap: 14px;
}

.act-ap-icon {
  width: 52px;
  height: 52px;
  flex: 0 0 auto;
  filter: drop-shadow(0 0 12px var(--act-cyan-glow));
}

.act-ap-icon svg {
  width: 100%;
  height: 100%;
  display: block;
}

.act-points-value {
  font-size: 2.05rem;
  font-weight: 800;
  line-height: 1;
  color: #fff;
  letter-spacing: 0.03em;
}

.act-points-value span {
  font-size: 1rem;
  color: var(--act-muted);
  font-weight: 600;
}

.act-points-sub {
  margin-top: 5px;
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--act-muted);
}

.act-progress-wrap {
  position: relative;
  margin-top: 16px;
  padding: 0 8px 24px;
}

.act-progress-wrap--compact {
  margin-top: 12px;
  padding-bottom: 8px;
}

.act-progress-track {
  position: relative;
  height: 10px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(110, 190, 240, 0.22);
  overflow: visible;
  box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.45);
}

.act-progress-fill {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 0%;
  border-radius: inherit;
  background: linear-gradient(90deg, #1a5a86, var(--act-cyan) 68%, #c4efff);
  box-shadow: 0 0 14px var(--act-cyan-glow), inset 0 1px 0 rgba(255, 255, 255, 0.35);
  transition: width 0.35s ease;
}

.act-chest-marker {
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 36px;
  height: 36px;
  z-index: 2;
  border: 0;
  padding: 0;
  background: transparent;
  cursor: default;
}

.act-chest-marker.is-ready {
  cursor: pointer;
}

.act-chest-visual {
  position: relative;
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
}

.act-chest-box {
  width: 32px;
  height: 32px;
  border: 0;
  border-radius: 0;
  background: url('/assets/activity/emerald_chest.png') center / contain no-repeat;
  filter: hue-rotate(165deg) saturate(0.75) brightness(1.08);
  box-shadow: none;
  position: relative;
}

.act-chest-box::before,
.act-chest-box::after {
  content: none !important;
  display: none !important;
}

.act-chest-marker.is-locked .act-chest-box {
  filter: hue-rotate(165deg) grayscale(0.8) brightness(0.55);
  opacity: 0.85;
}

.act-chest-marker.is-ready .act-chest-box {
  animation: act-chest-pulse 1.5s ease-in-out infinite;
}

.act-chest-marker.is-claimed .act-chest-box {
  filter: hue-rotate(165deg) grayscale(0.3) brightness(0.72);
  opacity: 0.72;
}

.act-chest-marker.is-claimed .act-chest-visual::after {
  content: '✓';
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--act-cyan);
  text-shadow: 0 0 6px #000, 0 1px 2px #000;
}

.act-chest-pts {
  position: absolute;
  top: calc(100% + 5px);
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.62rem;
  color: var(--act-muted);
  white-space: nowrap;
  letter-spacing: 0.04em;
}

.act-chest-marker.is-ready .act-chest-pts {
  color: var(--act-cyan);
  font-weight: 700;
}

@keyframes act-chest-pulse {
  0%,
  100% {
    filter: hue-rotate(165deg) saturate(0.8) brightness(1.05) drop-shadow(0 0 2px var(--act-cyan-glow));
    transform: translateY(0);
  }
  50% {
    filter: hue-rotate(165deg) saturate(0.95) brightness(1.12) drop-shadow(0 0 10px var(--act-cyan));
    transform: translateY(-1px);
  }
}

.act-missions {
  flex: 1 1 auto;
  min-height: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.03), transparent 28%),
    var(--act-glass);
}

.act-missions-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 11px 16px;
  border-bottom: 1px solid var(--act-border-soft);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), transparent);
}

.act-missions-head span {
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--act-muted);
  font-weight: 700;
}

.act-missions-head #act-mission-count {
  color: var(--act-cyan);
  font-variant-numeric: tabular-nums;
}

.act-missions-list {
  flex: 1 1 auto;
  overflow-y: auto;
  overflow-x: hidden;
  padding: 10px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-height: 0;
}

.act-missions-list::-webkit-scrollbar {
  width: 7px;
}
.act-missions-list::-webkit-scrollbar-thumb {
  background: rgba(106, 212, 255, 0.28);
  border-radius: 4px;
}
.act-missions-list::-webkit-scrollbar-track {
  background: rgba(0, 0, 0, 0.2);
}

.act-mission {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px 14px;
  align-items: center;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid rgba(110, 190, 240, 0.22);
  background:
    linear-gradient(120deg, rgba(255, 255, 255, 0.05), transparent 42%),
    linear-gradient(180deg, rgba(22, 40, 62, 0.55), rgba(10, 18, 32, 0.5));
  box-shadow: inset 0 1px 0 rgba(180, 230, 255, 0.08);
  transition: border-color 0.15s ease, box-shadow 0.15s ease, transform 0.12s ease;
}

.act-mission:hover {
  border-color: rgba(140, 210, 255, 0.4);
}

.act-mission.is-completed {
  border-color: rgba(240, 184, 75, 0.45);
  box-shadow:
    0 0 0 1px rgba(240, 184, 75, 0.12),
    0 0 20px rgba(240, 184, 75, 0.1),
    inset 0 1px 0 rgba(255, 230, 180, 0.1);
}

.act-mission.is-claimed {
  opacity: 0.62;
}

.act-mission-title {
  margin: 0;
  font-size: 0.9rem;
  font-weight: 700;
  color: #f2f7fc;
}

.act-mission-desc {
  margin: 3px 0 0;
  font-size: 0.7rem;
  color: var(--act-muted);
  line-height: 1.35;
}

.act-mission-progress-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 9px;
}

.act-mission-bar {
  flex: 1 1 auto;
  height: 5px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.42);
  overflow: hidden;
  border: 1px solid rgba(106, 212, 255, 0.12);
}

.act-mission-bar > i {
  display: block;
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--act-cyan-dim), var(--act-cyan));
  border-radius: inherit;
  transition: width 0.3s ease;
}

.act-mission-frac {
  font-size: 0.7rem;
  font-variant-numeric: tabular-nums;
  color: var(--act-muted);
  min-width: 4.5em;
  text-align: right;
}

.act-mission-rewards {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 7px;
}

.act-reward-pill {
  font-size: 0.64rem;
  letter-spacing: 0.04em;
  padding: 3px 8px;
  border-radius: 999px;
  border: 1px solid rgba(110, 190, 240, 0.28);
  background: rgba(0, 0, 0, 0.28);
  color: var(--act-text);
}

.act-reward-pill.is-ap {
  border-color: rgba(106, 212, 255, 0.5);
  color: var(--act-cyan);
  font-weight: 700;
}

.act-mission-actions {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 6px;
  min-width: 96px;
}

.act-btn {
  appearance: none;
  border: 1px solid rgba(110, 190, 240, 0.35);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.1), transparent 45%),
    linear-gradient(180deg, rgba(40, 70, 100, 0.55), rgba(14, 24, 40, 0.65));
  color: var(--act-text);
  font-weight: 800;
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 9px 12px;
  border-radius: 10px;
  cursor: pointer;
  box-shadow: inset 0 1px 0 rgba(180, 230, 255, 0.12);
  transition: transform 0.12s ease, box-shadow 0.12s ease, filter 0.12s ease, border-color 0.12s ease;
}

.act-btn:hover:not(:disabled) {
  border-color: rgba(150, 220, 255, 0.55);
  transform: translateY(-1px);
}

.act-btn:disabled {
  opacity: 0.45;
  cursor: default;
}

.act-btn.is-claim {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.4), transparent 42%),
    linear-gradient(180deg, #ffd27a, var(--act-amber-deep));
  color: #1a1206;
  border-color: #ffe2a8;
  box-shadow: 0 0 16px var(--act-amber-glow), inset 0 1px 0 rgba(255, 255, 255, 0.45);
}

.act-btn.is-claim:hover:not(:disabled) {
  filter: brightness(1.06);
  box-shadow: 0 0 22px var(--act-amber-glow), inset 0 1px 0 rgba(255, 255, 255, 0.5);
}

.act-btn.is-ghost {
  background: rgba(0, 0, 0, 0.28);
  color: var(--act-muted);
}

.act-btn.is-done {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(130, 160, 190, 0.2);
  color: rgba(150, 175, 200, 0.7);
  cursor: default;
  box-shadow: none;
}

.act-claim-all {
  min-width: 118px;
  padding: 8px 14px !important;
  font-size: 0.68rem !important;
}

.act-claim-all[hidden] {
  display: none !important;
}

.act-sidebar {
  display: flex;
  flex-direction: column;
  min-height: 0;
  gap: 12px;
}

.act-weekly-card {
  flex: 1 1 auto;
  min-height: 0;
  display: flex;
  flex-direction: column;
  padding: 16px;
  overflow: hidden;
}

.act-weekly-points {
  font-size: 1.7rem;
  font-weight: 800;
  color: #fff;
  margin: 2px 0 0;
  letter-spacing: 0.02em;
}

.act-weekly-points span {
  font-size: 0.82rem;
  color: var(--act-muted);
  font-weight: 600;
}

.act-weekly-list {
  margin-top: 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  overflow-y: auto;
  min-height: 0;
  flex: 1 1 auto;
  padding-right: 2px;
}

.act-weekly-chest {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid rgba(110, 190, 240, 0.22);
  background: rgba(0, 0, 0, 0.22);
  box-shadow: inset 0 1px 0 rgba(180, 230, 255, 0.06);
}

.act-weekly-chest.is-ready {
  border-color: rgba(240, 184, 75, 0.45);
  cursor: pointer;
  box-shadow: 0 0 14px rgba(240, 184, 75, 0.14), inset 0 1px 0 rgba(255, 230, 180, 0.1);
}

.act-weekly-claim {
  min-width: 76px;
  padding: 7px 8px !important;
}

.act-weekly-chest.is-claimed {
  opacity: 0.62;
}

.act-weekly-chest.is-locked .act-chest-box {
  filter: hue-rotate(165deg) grayscale(0.85) brightness(0.55);
}

.act-weekly-chest .act-chest-visual {
  width: 40px;
  height: 40px;
}

.act-weekly-chest .act-chest-box {
  width: 36px;
  height: 36px;
}

.act-weekly-chest-meta strong {
  display: block;
  font-size: 0.8rem;
  color: #f2f7fc;
}

.act-weekly-chest-meta span {
  font-size: 0.66rem;
  color: var(--act-muted);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.act-weekly-state {
  font-size: 0.64rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--act-muted);
}

.act-weekly-chest.is-ready .act-weekly-state {
  color: var(--act-amber);
}

.act-weekly-chest.is-claimed .act-weekly-state {
  color: rgba(150, 175, 200, 0.75);
}

.act-token-box {
  margin-top: 10px;
  padding: 12px 14px;
}

.act-token-head {
  font-size: 0.66rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--act-cyan);
  font-weight: 900;
  margin-bottom: 10px;
}

.act-token-list {
  display: grid;
  gap: 4px;
}

.act-token-row {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  align-items: center;
  padding: 6px 2px;
  border-bottom: 1px solid rgba(110, 190, 240, 0.1);
}

.act-token-row:last-child {
  border-bottom: 0;
}

.act-token-type {
  color: var(--act-text);
  font-size: 0.76rem;
  font-weight: 700;
}

.act-token-amt {
  color: #fff;
  font-variant-numeric: tabular-nums;
  font-size: 0.86rem;
  font-weight: 800;
}

.act-token-hint {
  margin: 10px 0 0;
  font-size: 0.66rem;
  color: var(--act-muted);
  letter-spacing: 0.03em;
  line-height: 1.4;
}

.act-status {
  margin-top: auto;
  font-size: 0.72rem;
  color: var(--act-muted);
  min-height: 1.2em;
}

.act-status.is-error {
  color: var(--act-danger);
}

.act-tooltip {
  position: fixed;
  z-index: 12000;
  max-width: 280px;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid rgba(110, 190, 240, 0.35);
  background:
    linear-gradient(180deg, rgba(28, 48, 74, 0.92), rgba(8, 14, 26, 0.95));
  backdrop-filter: blur(16px) saturate(1.25);
  -webkit-backdrop-filter: blur(16px) saturate(1.25);
  box-shadow:
    0 16px 40px rgba(0, 0, 0, 0.5),
    inset 0 1px 0 var(--act-highlight);
  pointer-events: none;
  opacity: 0;
  transform: translateY(4px);
  transition: opacity 0.12s ease, transform 0.12s ease;
  color: var(--act-text);
  font-size: 0.72rem;
}

.act-tooltip.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.act-tooltip h4 {
  margin: 0 0 6px;
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--act-cyan);
}

.act-tooltip-group {
  margin-top: 8px;
}

.act-tooltip-group:first-child {
  margin-top: 0;
}

.act-tooltip-group-label {
  font-size: 0.62rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--act-amber);
  margin-bottom: 3px;
  font-weight: 800;
}

.act-tooltip-group ul {
  margin: 0;
  padding: 0 0 0 12px;
  color: var(--act-muted);
}

.act-tooltip-group li {
  margin: 1px 0;
}

.act-reward-modal {
  position: fixed;
  inset: 0;
  z-index: 13000;
  display: grid;
  place-items: center;
  background: rgba(0, 0, 0, 0.72);
  backdrop-filter: blur(4px);
}

.act-reward-modal.hidden {
  display: none !important;
}

.act-reward-panel {
  width: min(420px, calc(100vw - 32px));
  padding: 22px 24px 20px;
  border-radius: 16px;
  border: 1px solid rgba(110, 190, 240, 0.35);
  background:
    radial-gradient(ellipse at 50% 0%, rgba(106, 212, 255, 0.18), transparent 55%),
    linear-gradient(180deg, rgba(28, 48, 74, 0.92), rgba(8, 14, 26, 0.96));
  backdrop-filter: blur(20px) saturate(1.25);
  -webkit-backdrop-filter: blur(20px) saturate(1.25);
  box-shadow:
    0 24px 60px rgba(0, 0, 0, 0.55),
    inset 0 1px 0 var(--act-highlight),
    0 0 36px rgba(106, 212, 255, 0.12);
  text-align: center;
}

.act-reward-panel h3 {
  margin: 0 0 6px;
  font-size: 1.05rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #fff;
  text-shadow: 0 0 16px var(--act-cyan-glow);
}

.act-reward-panel .act-reward-sub {
  margin: 0 0 14px;
  font-size: 0.74rem;
  color: var(--act-muted);
  letter-spacing: 0.06em;
}

.act-reward-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 0 0 18px;
  text-align: left;
}

.act-reward-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 9px 12px;
  border-radius: 10px;
  border: 1px solid rgba(110, 190, 240, 0.22);
  background: rgba(0, 0, 0, 0.28);
  box-shadow: inset 0 1px 0 rgba(180, 230, 255, 0.06);
  font-size: 0.85rem;
}

.act-reward-item strong {
  color: var(--act-cyan);
  font-variant-numeric: tabular-nums;
}

.act-reward-panel .act-btn {
  min-width: 140px;
  padding: 10px 16px;
}

.act-empty {
  padding: 24px;
  text-align: center;
  color: var(--act-muted);
  font-size: 0.85rem;
}

/* leftover chip styles (unused header chips) */
.act-chip {
  display: none;
}

@media (max-width: 1100px) {
  .act-content {
    grid-template-columns: minmax(0, 1fr) minmax(220px, 260px);
    gap: 10px;
    padding: 12px;
  }

  .act-points-value {
    font-size: 1.65rem;
  }
}

@media (max-width: 900px) {
  .act-content {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto minmax(0, 1fr);
  }

  .act-sidebar {
    order: 2;
    max-height: 240px;
  }

  .act-main {
    order: 3;
    min-height: 280px;
  }

  .act-weekly-card {
    max-height: 240px;
  }
}

@media (max-height: 800px) {
  .act-daily-card {
    padding: 12px 14px;
  }

  .act-points-value {
    font-size: 1.5rem;
  }

  .act-ap-icon {
    width: 42px;
    height: 42px;
  }

  .act-header-titles h2 {
    font-size: 1.1rem;
  }
}
