:root {
  --accent: #0b93a6;
  --accent-dark: #08798a;
  --text: #24343b;
  --muted: #5c6f78;
  --border: #dce7ea;
  --bg: #f7fbfc;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  width: 100%;
  min-height: 100%;
  background: transparent;
  font-family: Arial, Helvetica, sans-serif;
}

body {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding: 0;
}

.widget {
  width: 100%;
  max-width: 980px;
  margin: 0 auto;
}

.countdown-card {
  width: 100%;
  padding: 20px 24px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--bg);
  text-align: center;
}

.header {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
}

.icon {
  flex: 0 0 auto;
  font-size: 28px;
  line-height: 1;
}

.header-copy h1 {
  margin: 0;
  color: var(--text);
  font-size: 20px;
  line-height: 1.25;
  font-weight: 700;
}

.header-copy p {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.4;
}

.countdown {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 12px;
}

.unit {
  min-width: 88px;
}

.value {
  display: block;
  color: var(--accent);
  font-size: 40px;
  line-height: 1;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.label {
  display: block;
  margin-top: 7px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1;
  font-weight: 700;
  letter-spacing: 0.8px;
}

.separator {
  padding-top: 2px;
  color: #91a4ac;
  font-size: 31px;
  line-height: 1;
  font-weight: 600;
}

.message {
  margin: 18px 0 0;
  color: #42565f;
  font-size: 13px;
  line-height: 1.45;
}

.expired .value {
  color: #6c7b82;
}

.expired .message {
  color: var(--accent-dark);
  font-weight: 700;
}

@media (max-width: 600px) {
  .countdown-card {
    padding: 16px 10px;
    border-radius: 8px;
  }

  .header {
    gap: 7px;
    margin-bottom: 16px;
  }

  .icon {
    font-size: 23px;
  }

  .header-copy h1 {
    font-size: 17px;
  }

  .header-copy p {
    font-size: 12.5px;
  }

  .countdown {
    gap: 4px;
  }

  .unit {
    min-width: 66px;
  }

  .value {
    font-size: 31px;
  }

  .label {
    font-size: 9px;
    letter-spacing: 0.5px;
  }

  .separator {
    padding-top: 1px;
    font-size: 25px;
  }

  .message {
    margin-top: 15px;
    font-size: 12px;
  }
}
