:root {
  --bg-top: #0b4c5b;
  --bg-middle: #1f6a76;
  --bg-bottom: #f4efe4;
  --surface: rgba(255, 250, 242, 0.9);
  --surface-strong: rgba(255, 252, 246, 0.96);
  --line: rgba(11, 60, 73, 0.12);
  --text: #163744;
  --muted: #70858d;
  --brand: #148277;
  --brand-strong: #10665f;
  --accent: #f59e0b;
  --danger: #cb2c1b;
  --ok: #0f8a55;
  --hero-screen-bg: radial-gradient(circle at 18% 9%, rgba(248, 243, 233, 0.1), rgba(230, 196, 138, 0.05), transparent 28%), radial-gradient(circle at 42% 32%, rgba(127, 210, 200, 0.22), transparent 48%), linear-gradient(145deg, #084c55 0%, #0d6670 42%, #0e7780 68%, #0a4f58 100%);
  --shadow: 0 20px 44px rgba(11, 27, 31, 0.14);
  --radius-hero: 36px;
  --radius-xl: 28px;
  --radius-lg: 22px;
  --radius-md: 18px;
  --tabbar-height: 108px;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100vh;
  background-color: #083f49;
  background:
    radial-gradient(circle at 56% 18%, rgba(70, 213, 227, 0.14), transparent 42%),
    linear-gradient(180deg, #083f49 0%, #0d6670 54%, #b7ccc9 88%, #f3ebdd 100%);
}

body {
  color: var(--text);
  background-color: #083f49;
  font-family: "SF Pro Display", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
summary {
  font: inherit;
}

button {
  border: 0;
}

img {
  display: block;
  max-width: 100%;
}

.wc-launch-splash {
  position: fixed;
  inset: 0;
  z-index: 999;
  display: none;
  place-items: center;
  overflow: hidden;
  padding: max(env(safe-area-inset-top), 18px) 24px max(env(safe-area-inset-bottom), 18px);
  background:
    radial-gradient(circle at 50% 28%, rgba(255, 248, 235, 0.34), transparent 28%),
    linear-gradient(180deg, #0b3c49 0%, #0f766e 48%, #edf6f1 100%);
  color: #fffaf0;
  opacity: 1;
  transition: opacity 0.42s ease, visibility 0.42s ease;
}

.wc-profile-launch .wc-launch-splash {
  display: grid;
}

.wc-launch-splash.is-leaving {
  opacity: 0;
  visibility: hidden;
}

.wc-launch-splash__halo {
  position: absolute;
  width: 260px;
  height: 260px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(245, 158, 11, 0.24), rgba(245, 158, 11, 0));
  transform: translateY(-18px);
}

.wc-launch-splash__card {
  position: relative;
  display: grid;
  justify-items: center;
  gap: 18px;
  animation: wc-launch-rise 0.72s ease both;
}

.wc-launch-splash__card img {
  width: 112px;
  height: 112px;
  border-radius: 28px;
  box-shadow:
    0 22px 46px rgba(7, 26, 32, 0.3),
    0 0 0 1px rgba(255, 255, 255, 0.36);
}

.wc-launch-splash__card strong {
  font-size: 30px;
  line-height: 1;
  text-shadow: 0 10px 24px rgba(7, 26, 32, 0.24);
}

.wc-app {
  width: min(100%, 760px);
  margin: 0 auto;
  padding: 0 12px calc(env(safe-area-inset-bottom) + var(--tabbar-height) + 18px);
}

.wc-topbar {
  color: #fff8ee;
  padding-top: calc(env(safe-area-inset-top) + 14px);
  margin-bottom: 14px;
}

.wc-topbar__main {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 14px;
}

.wc-topbar__main h1 {
  margin: 0;
  font-size: 32px;
  line-height: 1.02;
  letter-spacing: 0.01em;
}

.wc-topbar__main p {
  margin: 8px 0 0;
  font-size: 16px;
  color: rgba(255, 248, 238, 0.82);
}

.wc-topbar__actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: flex-end;
  transform: translateY(18px);
}

.wc-topbar__action {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 46px;
  padding: 0 4px;
  color: #fff8ee;
  font-size: 17px;
  font-weight: 700;
  background: transparent;
  cursor: pointer;
}

.wc-topbar__action i {
  font-size: 22px;
}

.wc-topbar__action--button {
  appearance: none;
}

.wc-app-promo {
  position: sticky;
  top: calc(env(safe-area-inset-top) + 10px);
  z-index: 25;
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  min-height: 64px;
  margin: 0 0 14px;
  padding: 10px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 20px;
  background: rgba(255, 252, 246, 0.92);
  color: var(--text);
  box-shadow: 0 16px 36px rgba(7, 26, 32, 0.18);
  backdrop-filter: blur(18px);
}

.wc-app-promo__icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  box-shadow: 0 8px 18px rgba(7, 26, 32, 0.12);
}

.wc-app-promo__copy {
  min-width: 0;
}

.wc-app-promo__copy strong,
.wc-app-promo__copy span {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.wc-app-promo__copy strong {
  font-size: 15px;
  line-height: 1.2;
}

.wc-app-promo__copy span {
  margin-top: 3px;
  color: var(--muted);
  font-size: 12px;
}

.wc-app-promo__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 58px;
  min-height: 38px;
  padding: 0 14px;
  border-radius: 14px;
  background: var(--brand);
  color: #fff;
  font-size: 14px;
  font-weight: 800;
}

.wc-hide-app-promo .wc-app-promo {
  display: none;
}

.wc-main,
.wc-home-stack,
.wc-chip-grid,
.wc-zeday-list,
.wc-article-list,
.wc-detail-list,
.wc-almanac-panel,
.wc-about-actions {
  display: grid;
  gap: 14px;
}

.wc-main {
  gap: 16px;
}

.wc-hero,
.wc-card,
.wc-detail-list article,
.wc-line-card,
.wc-zeday-card,
.wc-article-shell {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background: var(--surface);
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
}

.wc-card,
.wc-detail-list article,
.wc-line-card,
.wc-zeday-card {
  padding: 18px;
}

.wc-card--toolbar,
.wc-card--form {
  background: rgba(233, 237, 229, 0.95);
}

.wc-card--toolbar {
  margin-top: 8px;
  padding: 18px;
  border-radius: 28px;
}

.wc-card--result {
  min-height: 180px;
}

.wc-hero {
  padding: 14px;
  border-radius: 30px;
  background: rgba(242, 238, 228, 0.96);
}

.wc-hero__glow {
  position: absolute;
  inset: -40% auto auto -10%;
  width: 220px;
  height: 220px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(245, 158, 11, 0.38), rgba(245, 158, 11, 0));
  pointer-events: none;
}

.wc-hero__screen {
  position: relative;
  min-height: 0;
  padding: 18px;
  border-radius: 22px;
  background: var(--hero-screen-bg);
  color: #fef8ef;
  box-shadow:
    inset 0 0 0 1px rgba(248, 243, 233, 0.14),
    0 18px 36px rgba(7, 26, 32, 0.12);
}

.wc-hero__date {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
}

.wc-label {
  display: inline-block;
  margin-bottom: 8px;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(254, 248, 239, 0.7);
}

.wc-hero__date strong {
  display: block;
  font-size: 31px;
  line-height: 1;
  font-weight: 400;
}

.wc-hero__day {
  text-align: right;
  width: 100px;
  transform: translate(-2px, -12px);
}

.wc-hero__day b {
  display: block;
  font-size: 74px;
  line-height: 70px;
}

.wc-hero__day span {
  font-size: 18px;
  line-height: 20px;
  color: rgba(254, 248, 239, 0.78);
}

.wc-hero-weather {
  display: flex;
  align-items: center;
  gap: 4px;
  min-width: 0;
  margin-top: 12px;
  color: rgba(248, 243, 233, 0.84);
}

.wc-hero-weather__icon {
  display: inline-grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 0;
  background: transparent;
  color: #f8f3e9;
  flex: 0 0 auto;
}

.wc-hero-weather__icon i {
  font-size: 12px;
}

.wc-hero-weather strong {
  color: #f8f3e9;
  font-size: 17px;
  line-height: 18px;
  font-weight: 700;
  white-space: nowrap;
}

.wc-hero-weather > span:not(.wc-hero-weather__icon) {
  min-width: 0;
  color: rgba(215, 231, 225, 0.83);
  font-size: 12px;
  line-height: 13px;
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.wc-weather-extra {
  display: none;
}

.wc-pill-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  margin-top: 8px;
}

.wc-pill {
  display: inline-flex;
  justify-content: center;
  padding: 12px 14px;
  border-radius: 18px;
  background: rgba(234, 243, 239, 0.12);
  color: #f8f3e9;
  font-size: 16px;
  line-height: 20px;
  font-weight: 400;
}

.wc-hero-market {
  margin-top: 12px;
  padding: 14px;
  border-radius: 20px;
  background: rgba(234, 243, 239, 0.12);
  box-shadow: none;
}

.wc-hero-market__label {
  display: inline-block;
  margin-bottom: 10px;
  font-size: 13px;
  letter-spacing: 0.08em;
  color: rgba(254, 248, 239, 0.78);
}

.wc-chip-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.wc-chip-list span {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 10px;
  border-radius: 16px;
  background: #f2ebdd;
  border: 0;
  color: #17424b;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.2;
  box-shadow: 0 8px 16px rgba(7, 26, 32, 0.1);
}

.wc-almanac-stack {
  display: grid;
  gap: 10px;
  margin-top: 12px;
}

.wc-almanac-card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  border-radius: 18px;
  background: rgba(234, 243, 239, 0.12);
  box-shadow: none;
}

.wc-almanac-card__badge,
.wc-line-card__badge {
  display: inline-grid;
  place-items: center;
  width: auto;
  min-width: 28px;
  height: 28px;
  padding: 0 8px;
  border-radius: 12px;
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  flex: 0 0 auto;
}

.wc-almanac-card--yi .wc-almanac-card__badge,
.wc-line-card--yi .wc-line-card__badge {
  background: var(--ok);
}

.wc-almanac-card--ji .wc-almanac-card__badge,
.wc-line-card--ji .wc-line-card__badge {
  background: var(--danger);
}

.wc-almanac-card p {
  margin: 0;
  color: #f8f3e9;
  font-size: 14px;
  line-height: 20px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.wc-hero__screen.is-sunny {
  background: var(--hero-screen-bg);
}

.wc-hero__screen.is-cloudy {
  background: var(--hero-screen-bg);
}

.wc-hero__screen.is-overcast {
  background: var(--hero-screen-bg);
}

.wc-hero__screen.is-rainy {
  background: var(--hero-screen-bg);
}

.wc-hero__screen.is-foggy {
  background: var(--hero-screen-bg);
}

.wc-card__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.wc-card__head h2 {
  margin: 0;
  font-size: 18px;
}

.wc-card__head i {
  color: var(--brand);
}

.wc-app-section-title {
  display: grid;
  gap: 6px;
  margin-bottom: 14px;
}

.wc-app-section-title span {
  color: var(--brand-strong);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.12em;
}

.wc-app-section-title strong {
  color: var(--text);
  font-size: 21px;
  line-height: 1.2;
}

.wc-copy p,
.wc-muted {
  color: var(--muted);
  line-height: 1.7;
}

.wc-article-list {
  gap: 12px;
}

.wc-article-item {
  display: grid;
  gap: 10px;
  padding: 14px 16px;
  border-radius: 22px;
  background:
    linear-gradient(135deg, rgba(255, 252, 246, 0.98), rgba(244, 235, 216, 0.9));
  border: 1px solid rgba(11, 60, 73, 0.09);
  box-shadow: 0 12px 24px rgba(7, 26, 32, 0.08);
}

.wc-article-item__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: var(--muted);
  font-size: 12px;
}

.wc-article-item strong {
  font-size: 18px;
  line-height: 1.38;
  color: var(--text);
}

.wc-article-item p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}

.wc-article-item--rich {
  grid-template-columns: 122px minmax(0, 1fr);
  min-height: 126px;
  padding: 10px;
  overflow: hidden;
  align-items: stretch;
}

.wc-article-item--rich.has-no-cover {
  grid-template-columns: 1fr;
}

.wc-article-item__cover {
  height: 100%;
  min-height: 106px;
  border-radius: 18px;
  background: rgba(11, 60, 73, 0.08);
  overflow: hidden;
}

.wc-article-item__cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.wc-article-item__body {
  padding: 6px 6px 6px 0;
  display: grid;
  align-content: center;
  gap: 8px;
}

.wc-category-shell {
  background:
    radial-gradient(circle at 90% 0%, rgba(245, 158, 11, 0.18), transparent 30%),
    rgba(255, 250, 244, 0.94);
}

.wc-toolbar {
  display: grid;
  grid-template-columns: 1.1fr 0.8fr auto;
  gap: 10px;
  align-items: end;
}

.wc-toolbar label,
.wc-form label {
  display: grid;
  gap: 8px;
}

.wc-toolbar span,
.wc-form span,
.wc-detail-list span {
  font-size: 13px;
  color: var(--muted);
}

.wc-toolbar span {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.wc-toolbar button,
.wc-toolbar select,
.wc-form input,
.wc-form select,
.wc-primary,
.wc-secondary {
  min-height: 50px;
  border-radius: 18px;
}

.wc-toolbar button,
.wc-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  background: var(--brand);
  color: #fff;
  cursor: pointer;
  font-weight: 800;
}

.wc-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 16px;
  background: rgba(11, 60, 73, 0.08);
  color: var(--brand-strong);
}

.wc-toolbar select,
.wc-form input,
.wc-form select {
  width: 100%;
  padding: 0 14px;
  border: 1px solid var(--line);
  background: var(--surface-strong);
  color: var(--text);
}

.wc-toolbar select {
  appearance: none;
  text-align: center;
  font-size: 16px;
  font-weight: 900;
  text-align-last: center;
}

.wc-convert-picker {
  margin-top: 22px;
  padding: 18px;
  background: rgba(233, 237, 229, 0.95);
}

.wc-convert-picker .wc-form {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

.wc-date-select-field {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  min-height: 56px;
  border: 1px solid rgba(11, 60, 73, 0.1);
  border-radius: 18px;
  background: var(--surface-strong);
  overflow: hidden;
}

.wc-date-select-field input[type="date"] {
  min-height: 54px;
  border: 0;
  background: transparent;
  color: var(--text);
  font-weight: 900;
}

.wc-date-select-field b {
  padding: 0 16px 0 8px;
  color: var(--brand);
  font-size: 14px;
  font-weight: 900;
}

.wc-convert-picker .wc-primary {
  min-height: 48px;
  border-radius: 16px;
}

.wc-week-row,
.wc-month-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 2px;
}

.wc-week-row {
  margin-bottom: 8px;
  color: rgba(255, 248, 238, 0.96);
  font-size: 16px;
  font-weight: 800;
  line-height: 30px;
  text-align: center;
}

.wc-card--calendar {
  padding: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
  overflow: visible;
  backdrop-filter: none;
}

.wc-day,
.wc-ghost-day {
  min-height: 44px;
  border-radius: 0;
}

.wc-day {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 2px;
  padding: 4px 1px;
  border: 0;
  background: var(--surface-strong);
  color: var(--text);
  text-align: center;
  overflow: hidden;
  cursor: pointer;
  transition:
    transform 0.12s ease,
    box-shadow 0.12s ease,
    background-color 0.12s ease,
    color 0.12s ease,
    outline-color 0.12s ease;
  touch-action: manipulation;
}

.wc-day.is-pressed {
  transform: translateY(1px) scale(0.985);
  box-shadow: inset 0 0 0 1px rgba(7, 26, 32, 0.08);
}

.wc-day.is-today {
  background: var(--brand);
  color: #fff;
}

.wc-day.is-active:not(.is-today) {
  outline: 2px solid rgba(245, 158, 11, 0.92);
  outline-offset: -2px;
}

.wc-day strong {
  display: inline-flex;
  align-items: flex-start;
  justify-content: center;
  gap: 3px;
  font-size: 14px;
  line-height: 1;
}

.wc-holiday-badge {
  display: inline-grid;
  place-items: center;
  min-width: 14px;
  height: 14px;
  padding: 0 2px;
  border-radius: 4px;
  background: #ef4444;
  color: #fff;
  font-size: 10px;
  line-height: 1;
  font-weight: 900;
}

.wc-day.is-holiday-work .wc-holiday-badge {
  background: #64748b;
}

.wc-day.is-holiday-off {
  color: var(--text);
}

.wc-day.is-holiday-work {
  color: var(--text);
}

.wc-day small {
  display: -webkit-box;
  width: 100%;
  margin-top: 0;
  font-size: 9px;
  line-height: 10px;
  color: inherit;
  opacity: 0.88;
  text-align: center;
  font-weight: 500;
  white-space: normal;
  overflow-wrap: anywhere;
  word-break: break-word;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 1;
}

.wc-ghost-day {
  visibility: hidden;
  pointer-events: none;
}

.wc-day.has-special small {
  color: #dc2626;
  font-weight: 800;
}

.wc-day.has-solar-term small {
  color: #188171;
  font-weight: 600;
}

.wc-day.is-today small,
.wc-day.is-today.has-special small,
.wc-day.is-today.has-solar-term small {
  color: #fff;
  font-weight: 700;
}

.wc-calendar-detail-stack {
  display: grid;
  gap: 10px;
  padding-bottom: 18px;
}

.wc-detail-list {
  gap: 10px;
}

.wc-detail-list article {
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr);
  align-items: start;
  gap: 12px;
  padding: 14px 16px;
  border: 0;
  border-radius: 18px;
  background: var(--surface-strong);
  box-shadow: none;
  backdrop-filter: none;
}

.wc-detail-list strong,
.wc-line-card strong {
  display: block;
  font-size: 17px;
  line-height: 1.4;
}

.wc-line-card {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 10px;
  padding: 14px 16px;
  border-radius: 18px;
  background: var(--surface-strong);
  box-shadow: none;
  backdrop-filter: none;
}

.wc-line-card__badge {
  display: inline-grid;
  place-items: center;
  width: auto;
  min-width: 28px;
  height: 28px;
  padding: 0 8px;
  border-radius: 12px;
  color: #fff;
  font-size: 12px;
  font-weight: 900;
}

.wc-line-card--yi .wc-line-card__badge {
  background: #0e7a4f;
}

.wc-line-card--ji .wc-line-card__badge {
  background: #b42318;
}

.wc-light-button {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  margin-top: 0;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 250, 244, 0.82);
  color: var(--brand-strong);
  font-size: 15px;
  font-weight: 900;
}

.wc-activity-section {
  padding: 18px;
  border-radius: 28px;
  background: rgba(252, 247, 240, 0.97);
}

.wc-activity-section .wc-card__head {
  margin-bottom: 12px;
}

.wc-activity-section .wc-card__head h2 {
  font-size: 28px;
  line-height: 1.15;
}

.wc-activity-section .wc-card__head i {
  color: rgba(8, 76, 85, 0.42);
  font-size: 24px;
}

.wc-activity-card {
  gap: 10px;
  padding: 14px;
  border-radius: 20px;
  background: rgba(252, 247, 240, 0.97);
  border: 1px solid rgba(8, 76, 85, 0.12);
  box-shadow: none;
}

.wc-activity-card__media {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  border-radius: 16px;
  background: rgba(8, 76, 85, 0.08);
}

.wc-activity-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.wc-activity-card strong {
  display: -webkit-box;
  color: var(--text);
  font-size: 18px;
  line-height: 24px;
  font-weight: 800;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.wc-activity-card .wc-article-item__meta {
  justify-content: flex-start;
  color: var(--muted);
  font-size: 12px;
  line-height: 16px;
}

.wc-article-stamps {
  position: absolute;
  top: 10px;
  right: 10px;
  display: grid;
  justify-items: end;
  gap: 5px;
  transform: rotate(-9deg);
}

.wc-article-stamps--static {
  position: relative;
  top: auto;
  right: auto;
  justify-self: end;
}

.wc-article-stamps span {
  padding: 5px 12px;
  border: 2px solid #b46a37;
  border-radius: 8px;
  background: rgba(249, 239, 224, 0.93);
  color: #b46a37;
  font-size: 17px;
  line-height: 19px;
  font-weight: 900;
  box-shadow: 0 5px 10px rgba(7, 26, 32, 0.12);
}

.wc-article-stamps .wc-article-stamps__badge--ended {
  border-color: #6f7b80;
  background: rgba(241, 243, 241, 0.93);
  color: #6f7b80;
}

.wc-chip-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.wc-range-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.wc-chip-toggle {
  position: relative;
  display: block;
  min-height: 42px;
}

.wc-chip-toggle input {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
}

.wc-chip-toggle span {
  display: grid;
  place-items: center;
  min-height: 46px;
  padding: 0 10px;
  border-radius: 17px;
  border: 1px solid rgba(11, 60, 73, 0.1);
  background: rgba(255, 250, 244, 0.95);
  color: var(--text);
  font-size: 13px;
  font-weight: 800;
  text-align: center;
  box-shadow: 0 8px 18px rgba(7, 26, 32, 0.06);
}

.wc-chip-toggle.is-active span,
.wc-chip-toggle input:checked + span {
  background: var(--brand);
  color: #fff;
  border-color: var(--brand);
}

.wc-chip-toggle--small span {
  min-height: 40px;
}

.wc-checkbox {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  font-weight: 600;
}

.wc-checkbox input {
  width: 18px;
  height: 18px;
  accent-color: var(--brand);
}

.wc-profile-panel {
  border-radius: 18px;
  background: rgba(255, 252, 246, 0.62);
  border: 1px solid rgba(11, 60, 73, 0.08);
  overflow: hidden;
}

.wc-zeday-filter {
  margin-top: 8px;
  padding: 14px;
  border-radius: 24px;
  background: rgba(233, 237, 229, 0.95);
}

.wc-zeday-filter .wc-form {
  display: grid;
  gap: 10px;
}

.wc-zeday-linked {
  margin: 0;
  color: var(--accent);
  font-size: 13px;
  font-weight: 900;
  text-align: center;
}

.wc-zeday-filter .wc-chip-grid {
  gap: 7px;
}

.wc-zeday-activity-grid:not(.is-expanded) .wc-chip-toggle--extra {
  display: none;
}

.wc-zeday-filter .wc-chip-toggle,
.wc-zeday-filter .wc-checkbox {
  position: relative;
  display: block;
  min-height: 40px;
  border-radius: 14px;
  font-size: 12px;
}

.wc-zeday-filter .wc-chip-toggle span,
.wc-zeday-filter .wc-checkbox span {
  display: grid;
  place-items: center;
  min-height: 40px;
  padding: 0 10px;
  border: 1px solid rgba(11, 60, 73, 0.1);
  border-radius: 14px;
  background: var(--surface-strong);
  color: var(--text);
  font-size: 12px;
  font-weight: 900;
  text-align: center;
  box-shadow: none;
}

.wc-zeday-filter .wc-checkbox input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
}

.wc-zeday-filter .wc-checkbox input:checked + span {
  border-color: var(--brand);
  background: var(--brand);
  color: #fff;
}

.wc-zeday-filter .wc-range-row {
  gap: 7px;
}

.wc-zeday-more-button {
  min-height: 38px;
  border-radius: 16px;
  font-size: 12px;
}

.wc-zeday-action-row {
  display: grid;
  gap: 8px;
}

.wc-zeday-action-row__toggles {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 7px;
  align-items: start;
}

.wc-zeday-action-row .wc-profile-panel {
  display: block;
  width: 100%;
}

.wc-profile-toggle {
  min-height: 40px;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
  cursor: pointer;
}

.wc-profile-toggle span {
  display: grid;
  place-items: center;
  min-height: 40px;
  padding: 0 10px;
  border: 1px solid rgba(11, 60, 73, 0.1);
  border-radius: 14px;
  background: var(--surface-strong);
  color: var(--text);
  font-size: 12px;
  font-weight: 900;
  text-align: center;
  box-shadow: 0 8px 18px rgba(7, 26, 32, 0.06);
}

.wc-profile-toggle[aria-expanded="true"] span {
  border-color: var(--brand);
  background: var(--brand);
  color: #fff;
}

.wc-zeday-action-row .wc-profile-panel__body {
  grid-column: 1 / -1;
  margin-top: 8px;
}

.wc-zeday-filter .wc-primary {
  min-height: 42px;
  border-radius: 16px;
}

.wc-profile-toggle summary {
  min-height: 38px;
  padding: 0 12px;
  border-radius: 16px;
  background: rgba(255, 250, 244, 0.96);
  box-shadow: none;
}

.wc-profile-panel summary {
  display: grid;
  place-items: center;
  min-height: 40px;
  padding: 0 10px;
  border: 1px solid var(--line);
  border-radius: 17px;
  background: var(--surface-strong);
  list-style: none;
  cursor: pointer;
  font-size: 13px;
  font-weight: 900;
  color: var(--text);
  text-align: center;
  box-shadow: 0 8px 18px rgba(7, 26, 32, 0.06);
}

.wc-profile-panel[open] summary {
  border-color: var(--brand);
  background: var(--brand);
  color: #fff;
}

.wc-profile-panel summary::-webkit-details-marker {
  display: none;
}

.wc-profile-panel__body {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 10px;
  width: 100%;
  box-sizing: border-box;
  padding: 10px 10px 12px;
  border-radius: 20px;
  background: rgba(255, 250, 244, 0.48);
  border: 1px solid rgba(11, 60, 73, 0.08);
}

.wc-profile-panel__body[hidden] {
  display: none !important;
}

.wc-profile-panel__body label {
  display: grid;
  gap: 8px;
}

.wc-profile-hours,
.wc-partner-fields {
  display: grid;
  gap: 8px;
  width: 100%;
}

.wc-profile-panel__body label span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.wc-profile-hours > span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.wc-profile-panel__body input,
.wc-profile-panel__body select {
  width: 100%;
  min-height: 48px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--surface-strong);
  color: var(--text);
  font-size: 15px;
  font-weight: 800;
  appearance: none;
}

.wc-profile-panel__body input[type="date"] {
  color: var(--text);
}

.wc-hour-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}

.wc-profile-panel__body .wc-hour-grid .wc-chip-toggle span {
  min-height: 40px;
  border-radius: 14px;
  background: rgba(255, 250, 244, 0.95);
}

.wc-profile-panel__body .wc-chip-toggle.is-active span,
.wc-profile-panel__body .wc-chip-toggle input:checked + span {
  background: var(--brand) !important;
  border-color: var(--brand) !important;
  color: #fff !important;
}

.wc-partner-fields[hidden] {
  display: none;
}

.wc-loading,
.wc-zeday-empty {
  padding: 26px 0;
  text-align: center;
  color: var(--muted);
}

.wc-zeday-list[hidden],
.wc-zeday-avoid-list[hidden],
.wc-zeday-avoid-title[hidden],
.wc-loading[hidden],
.wc-zeday-empty[hidden] {
  display: none;
}

.wc-zeday-results-stack {
  display: grid;
  gap: 10px;
  padding-bottom: 18px;
}

.wc-zeday-distance {
  margin: -2px 0 2px;
  color: var(--text);
  font-size: 14px;
  font-weight: 900;
  text-align: center;
}

.wc-zeday-summary {
  display: grid;
  justify-items: center;
  gap: 4px;
  padding: 14px 18px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--surface-strong);
  text-align: center;
}

.wc-zeday-summary strong {
  color: var(--text);
  font-size: 14px;
  line-height: 1.4;
}

.wc-zeday-summary b {
  color: #084c55;
  font-size: 22px;
}

.wc-zeday-summary span {
  color: var(--text);
  font-size: 14px;
  font-weight: 800;
}

.wc-zeday-section-title,
.wc-zeday-avoid-title {
  margin: 0;
  color: #fff;
  text-align: center;
  font-weight: 900;
}

.wc-zeday-section-title {
  font-size: 22px;
  line-height: 1.25;
}

.wc-zeday-avoid-title {
  padding-top: 4px;
  font-size: 18px;
  line-height: 1.25;
}

.wc-zeday-card {
  display: grid;
  gap: 12px;
  padding: 14px;
  border-radius: 24px;
  background: var(--surface-strong);
  box-shadow: none;
}

.wc-zeday-card__header {
  display: grid;
  grid-template-columns: 86px minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
}

.wc-zeday-card__datebox {
  display: grid;
  justify-items: center;
  gap: 2px;
  width: 86px;
  padding: 9px 4px;
  border: 1px solid rgba(14, 123, 114, 0.24);
  border-radius: 20px;
  background: rgba(14, 123, 114, 0.13);
}

.wc-zeday-card__datebox strong {
  color: #084c55;
  font-size: 34px;
  line-height: 34px;
  font-weight: 900;
}

.wc-zeday-card__datebox span {
  color: var(--muted);
  font-size: 12px;
  line-height: 14px;
}

.wc-zeday-card__meta {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.wc-zeday-meta-lead {
  display: flex;
  align-items: baseline;
  gap: 8px;
  min-width: 0;
  flex-wrap: wrap;
}

.wc-zeday-meta-lead span {
  color: #0f766e;
  font-size: 13px;
  font-weight: 800;
  white-space: nowrap;
}

.wc-zeday-meta-lead strong {
  color: #d97706;
  font-size: 20px;
  line-height: 1;
  font-weight: 900;
}

.wc-zeday-card__meta b {
  overflow: hidden;
  color: var(--text);
  font-size: 14px;
  line-height: 17px;
  font-weight: 800;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.wc-zeday-card__score {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 58px;
  min-height: 38px;
  padding: 0 11px;
  border: 1px solid rgba(8, 76, 85, 0.35);
  border-radius: 18px;
  background: rgba(20, 130, 119, 0.12);
  color: #084c55;
  font-size: 14px;
  font-weight: 900;
  box-shadow: none;
  white-space: nowrap;
}

.wc-zeday-card__distance {
  color: var(--text);
  font-size: 13px;
  font-weight: 900;
  text-align: right;
}

.wc-zeday-card__rows {
  display: grid;
  gap: 7px;
}

.wc-zeday-row {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr);
  gap: 8px;
  align-items: center;
  padding: 8px 10px;
  border: 1px solid rgba(8, 76, 85, 0.16);
  border-radius: 15px;
  background: rgba(8, 76, 85, 0.07);
}

.wc-zeday-row--yi {
  border-color: rgba(14, 122, 79, 0.36);
  background: #e6f6ea;
}

.wc-zeday-row--ji {
  border-color: rgba(180, 35, 24, 0.36);
  background: #fde8e8;
}

.wc-zeday-row--time {
  border-color: rgba(245, 158, 11, 0.36);
  background: rgba(245, 158, 11, 0.1);
}

.wc-zeday-row__label {
  color: var(--text);
  font-size: 13px;
  line-height: 18px;
  font-weight: 900;
  text-align: center;
}

.wc-zeday-row--yi .wc-zeday-row__label {
  color: #0e7a4f;
}

.wc-zeday-row--ji .wc-zeday-row__label {
  color: #b42318;
}

.wc-zeday-row--time .wc-zeday-row__label {
  color: #f59e0b;
}

.wc-zeday-row__value {
  display: block;
  overflow: hidden;
  color: var(--text);
  font-size: 13px;
  line-height: 18px;
  font-weight: 700;
  text-overflow: ellipsis;
}

.wc-zeday-row--yi .wc-zeday-row__value {
  color: #0b5135;
}

.wc-zeday-row--ji .wc-zeday-row__value {
  color: #8f1a1a;
}

.wc-zeday-card__reason {
  margin: 0;
  padding: 9px 12px;
  border-radius: 16px;
  background: rgba(238, 231, 219, 0.65);
  color: var(--muted);
  font-size: 13px;
  line-height: 18px;
}

.wc-zeday-card__detail,
.wc-zeday-card__detail-panel summary {
  display: block;
  color: var(--brand);
  font-size: 13px;
  font-weight: 900;
  text-align: center;
}

.wc-zeday-card__detail-panel {
  display: grid;
  gap: 10px;
}

.wc-zeday-card__detail-panel summary {
  cursor: pointer;
  list-style: none;
}

.wc-zeday-card__detail-panel summary::-webkit-details-marker {
  display: none;
}

.wc-zeday-card__detail-panel[open] summary {
  color: #084c55;
}

.wc-zeday-card__detail-panel[open] summary::after {
  content: " 收起";
  color: var(--muted);
  font-weight: 800;
}

.wc-zeday-detail-lines {
  display: grid;
  gap: 8px;
  padding-top: 2px;
}

.wc-zeday-detail-line {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 8px;
  align-items: start;
}

.wc-zeday-detail-line span {
  color: var(--muted);
  font-size: 13px;
  line-height: 18px;
  font-weight: 800;
}

.wc-zeday-detail-line strong {
  color: var(--text);
  font-size: 13px;
  line-height: 18px;
  font-weight: 800;
}

.wc-zeday-avoid-list {
  display: grid;
  gap: 10px;
}

.wc-zeday-avoid-row {
  display: grid;
  grid-template-columns: 108px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  padding: 12px 14px;
  border-radius: 18px;
  background: var(--surface-strong);
}

.wc-zeday-avoid-row strong {
  overflow: hidden;
  color: var(--text);
  font-weight: 900;
  text-overflow: clip;
  white-space: nowrap;
}

.wc-zeday-avoid-row span {
  display: -webkit-box;
  overflow: hidden;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.wc-article-detail {
  padding-top: 4px;
}

.wc-article-shell {
  padding: 0;
  border-radius: 30px;
  background: transparent;
  border: 0;
  box-shadow: none;
  overflow: visible;
}

.wc-article-back-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}

.wc-article-back {
  display: inline-grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--surface-strong);
  color: var(--text);
  box-shadow: 0 10px 22px rgba(7, 26, 32, 0.08);
}

.wc-article-back-row span {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 16px;
  border: 1px solid rgba(234, 243, 239, 0.12);
  border-radius: 18px;
  background: #084c55;
  color: #fff8ee;
  font-size: 17px;
  font-weight: 900;
}

.wc-article-cover {
  overflow: hidden;
  aspect-ratio: 16 / 10;
  border-radius: 30px;
  background: rgba(11, 60, 73, 0.08);
}

.wc-article-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.wc-article-card {
  margin-top: 12px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: var(--surface-strong);
  box-shadow: var(--shadow);
}

.wc-article-title {
  margin: 0;
  font-size: 30px;
  line-height: 1.3;
  color: var(--text);
}

.wc-article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.wc-article-meta span {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(20, 130, 119, 0.12);
  color: var(--brand-strong);
  font-size: 13px;
  font-weight: 700;
}

.wc-article-meta::after {
  content: "";
  flex-basis: 100%;
  height: 1px;
  margin-top: 12px;
  background: var(--line);
}

.wc-article-content {
  margin-top: 18px;
  color: var(--text);
  font-size: 16px;
  line-height: 1.9;
}

.wc-article-content > *:first-child {
  margin-top: 0;
}

.wc-article-content p,
.wc-article-content li,
.wc-article-content blockquote {
  margin: 0 0 16px;
}

.wc-article-content h1,
.wc-article-content h2,
.wc-article-content h3,
.wc-article-content h4 {
  margin: 28px 0 14px;
  line-height: 1.35;
  color: var(--text);
}

.wc-article-content img {
  margin: 18px auto;
  border-radius: 26px;
  box-shadow: 0 12px 26px rgba(11, 27, 31, 0.14);
}

.wc-article-content table {
  display: block;
  width: 100%;
  overflow-x: auto;
  border-collapse: collapse;
  margin: 18px 0;
}

.wc-article-content td,
.wc-article-content th {
  padding: 10px 12px;
  border: 1px solid rgba(11, 60, 73, 0.1);
}

.wc-about-actions {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 14px;
}

.wc-about-panel {
  background:
    radial-gradient(circle at 88% 0%, rgba(245, 158, 11, 0.14), transparent 30%),
    rgba(255, 250, 244, 0.95);
}

.wc-about-icon {
  display: grid;
  place-items: center;
  margin-bottom: 16px;
}

.wc-about-icon img {
  width: 120px;
  height: 120px;
  border-radius: 28px;
  box-shadow: 0 16px 34px rgba(7, 26, 32, 0.16);
}

.wc-about-icon--small {
  margin-bottom: 10px;
}

.wc-about-icon--small img {
  width: 82px;
  height: 82px;
  border-radius: 22px;
}

.wc-about-panel--intro {
  border-radius: 34px;
}

.wc-about-panel--sponsor {
  border-radius: 34px;
}

.wc-sponsor-form {
  display: grid;
  gap: 12px;
  margin-top: 16px;
}

.wc-sponsor-amounts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.wc-sponsor-amount {
  min-height: 0;
}

.wc-sponsor-amount span {
  min-height: 0;
  aspect-ratio: 2.45;
  padding: 0 4px;
  border-radius: 0;
  background: var(--surface-strong);
  font-size: 14px;
  box-shadow: none;
}

.wc-sponsor-amount.is-active span,
.wc-sponsor-amount input:checked + span {
  background: var(--brand);
  border-color: var(--brand);
  color: #fff;
}

.wc-sponsor-amount--custom span {
  position: relative;
  color: var(--muted);
}

.wc-sponsor-amount--custom.is-active span,
.wc-sponsor-amount--custom input:checked + span {
  background: var(--surface-strong);
  border-color: rgba(11, 60, 73, 0.1);
  color: var(--muted);
}

.wc-sponsor-amount--custom span input {
  position: relative;
  inset: auto;
  width: 100%;
  height: 100%;
  padding: 0 4px;
  border: 0;
  outline: 0;
  background: transparent;
  color: inherit;
  font-size: 14px;
  font-weight: 800;
  text-align: center;
  opacity: 1;
  pointer-events: auto;
}

.wc-sponsor-amount--custom span input::placeholder {
  color: currentColor;
  opacity: 0.52;
}

.wc-sponsor-field {
  display: grid;
  gap: 7px;
}

.wc-sponsor-field span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 900;
}

.wc-sponsor-field input {
  width: 100%;
  min-height: 52px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255, 250, 244, 0.72);
  color: var(--text);
  font-size: 15px;
  font-weight: 800;
}

.wc-sponsor-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 54px;
  border-radius: 18px;
  font-size: 19px;
}

.wc-sponsor-paymark {
  width: 28px;
  height: 28px;
  border-radius: 0;
  background: transparent;
  object-fit: cover;
  flex: 0 0 auto;
}

.wc-sponsor-result {
  display: grid;
  gap: 12px;
  margin-top: 16px;
}

.wc-sponsor-result[hidden] {
  display: none;
}

.wc-sponsor-order {
  display: grid;
  gap: 8px;
  padding: 14px;
  border-radius: 16px;
  background: var(--surface-strong);
}

.wc-sponsor-order article {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: var(--muted);
  font-size: 14px;
}

.wc-sponsor-order strong {
  color: var(--text);
  font-size: 15px;
}

.wc-sponsor-status {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
  text-align: center;
}

.wc-sponsor-status.is-paid {
  color: var(--brand-strong);
  font-weight: 900;
}

.wc-sponsor-status.is-error {
  color: #b42318;
  font-weight: 900;
}

.wc-link-button {
  justify-self: end;
  border: 0;
  background: transparent;
  color: var(--brand-strong);
  font-size: 14px;
  font-weight: 900;
}

.wc-sponsor-donors {
  display: grid;
  gap: 8px;
  margin-top: 16px;
}

.wc-sponsor-donors h3 {
  margin: 0;
  color: var(--text);
  font-size: 20px;
  font-weight: 900;
}

.wc-sponsor-donor-list {
  display: grid;
  gap: 8px;
}

.wc-sponsor-donor {
  display: grid;
  gap: 4px;
  padding: 12px 14px;
  border-radius: 16px;
  background: var(--surface-strong);
}

.wc-sponsor-donor div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.wc-sponsor-donor strong {
  color: var(--text);
  font-weight: 900;
}

.wc-sponsor-donor span {
  color: var(--brand-strong);
  font-weight: 900;
  white-space: nowrap;
}

.wc-sponsor-donor p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}

.wc-about-panel .wc-copy p {
  margin: 0 0 12px;
  color: var(--muted);
  font-size: 16px;
  line-height: 25px;
}

.wc-detail-list--about {
  display: grid;
  gap: 10px;
}

.wc-about-panel--legal {
  border-radius: 20px;
}

.wc-about-panel--legal .wc-card__head h2 {
  font-size: 20px;
}

.wc-about-mail {
  margin-top: 4px;
}

.wc-about-panel--copyright p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.7;
  text-align: center;
}

.wc-about-panel--copyright h2 {
  margin: 0 0 8px;
  color: var(--text);
  font-size: 20px;
  font-weight: 900;
  text-align: center;
}

.wc-qr-card {
  margin-top: 14px;
  padding: 12px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.78);
  text-align: center;
}

.wc-qr-card img {
  width: min(100%, 260px);
  margin: 0 auto;
  border-radius: 18px;
}

.wc-tabbar {
  position: fixed;
  left: 50%;
  bottom: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 8px;
  width: min(100%, 760px);
  padding: 10px 12px calc(env(safe-area-inset-bottom) + 12px);
  transform: translateX(-50%);
  background: rgba(255, 250, 244, 0.9);
  border-top: 1px solid rgba(11, 60, 73, 0.08);
  backdrop-filter: blur(18px);
}

.wc-tabbar__item {
  display: grid;
  justify-items: center;
  gap: 8px;
  padding: 12px 6px;
  border-radius: 22px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  transition: transform 0.14s ease, background-color 0.14s ease, color 0.14s ease, opacity 0.14s ease;
  -webkit-tap-highlight-color: transparent;
}

.wc-tabbar__item i {
  font-size: 22px;
}

.wc-tabbar__item:active,
.wc-tabbar__item.is-pressed {
  transform: translateY(1px) scale(0.98);
  opacity: 0.9;
  background: rgba(20, 130, 119, 0.12);
  color: var(--brand-strong);
}

.wc-tabbar__item.is-active {
  background: linear-gradient(180deg, rgba(20, 130, 119, 0.98), rgba(17, 109, 98, 0.98));
  color: #fff;
}

.wc-toast {
  position: fixed;
  left: 50%;
  top: calc(env(safe-area-inset-top) + 18px);
  z-index: 30;
  max-width: calc(100% - 36px);
  padding: 12px 16px;
  border-radius: 16px;
  background: rgba(15, 23, 42, 0.92);
  color: #fff;
  transform: translateX(-50%);
  box-shadow: 0 18px 30px rgba(15, 23, 42, 0.28);
}

.wc-toast.is-error {
  background: rgba(185, 28, 28, 0.96);
}

.wc-offline-banner {
  position: sticky;
  top: calc(env(safe-area-inset-top) + 10px);
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 0 0 12px;
  padding: 12px 14px;
  border: 1px solid rgba(245, 158, 11, 0.28);
  border-radius: 18px;
  background: rgba(255, 248, 233, 0.96);
  color: #7a4f07;
  box-shadow: 0 14px 28px rgba(7, 26, 32, 0.12);
}

.wc-offline-banner[hidden] {
  display: none;
}

.wc-offline-banner__action {
  flex: none;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(245, 158, 11, 0.14);
  color: #8a5500;
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
}

@keyframes wc-spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes wc-launch-rise {
  from {
    opacity: 0;
    transform: translateY(14px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@media (max-width: 560px) {
  .wc-app {
    padding-left: 12px;
    padding-right: 12px;
  }

  .wc-topbar__main {
    align-items: flex-end;
  }

  .wc-topbar__main h1 {
    font-size: 28px;
  }

  .wc-topbar__actions {
    gap: 10px;
  }

  .wc-topbar__action {
    gap: 8px;
    font-size: 15px;
  }

  .wc-topbar__action i {
    font-size: 20px;
  }

  .wc-app-promo {
    grid-template-columns: 40px minmax(0, 1fr) auto;
    min-height: 60px;
    padding: 9px;
    border-radius: 18px;
  }

  .wc-app-promo__icon {
    width: 40px;
    height: 40px;
    border-radius: 11px;
  }

  .wc-app-promo__button {
    min-width: 52px;
    min-height: 36px;
    padding: 0 12px;
  }

  .wc-pill-row,
  .wc-chip-grid,
  .wc-range-row,
  .wc-about-actions {
    grid-template-columns: 1fr;
  }

  .wc-zeday-filter .wc-chip-grid,
  .wc-zeday-filter .wc-range-row {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .wc-hero__screen {
    padding: 22px 16px 16px;
  }

  .wc-hero__date strong {
    font-size: 34px;
  }

  .wc-hero__day b {
    font-size: 82px;
  }

  .wc-pill {
    padding: 16px 12px;
    font-size: 15px;
  }

  .wc-chip-list span {
    min-height: 48px;
    font-size: 15px;
  }

  .wc-almanac-card {
    grid-template-columns: auto minmax(0, 1fr);
    gap: 12px;
    padding: 10px 14px;
  }

  .wc-line-card__badge {
    width: auto;
    min-width: 28px;
    height: 28px;
    padding: 0 8px;
    font-size: 12px;
  }

  .wc-almanac-card__badge {
    min-width: 28px;
    width: auto;
    height: 28px;
    padding: 0 8px;
    border-radius: 12px;
    font-size: 12px;
  }

  .wc-almanac-card p {
    font-size: 14px;
  }

  .wc-toolbar {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) 96px;
    gap: 8px;
  }

  .wc-toolbar label {
    min-width: 0;
  }

  .wc-toolbar span {
    font-size: 12px;
  }

  .wc-toolbar select,
  .wc-toolbar button {
    min-height: 50px;
  }

  .wc-week-row,
  .wc-month-grid {
    gap: 2px;
  }

  .wc-day,
  .wc-ghost-day {
    min-height: 44px;
  }

  .wc-day {
    gap: 2px;
    padding: 4px 1px;
  }

  .wc-day strong {
    font-size: 14px;
  }

  .wc-day small {
    font-size: 9px;
    line-height: 10px;
    -webkit-line-clamp: 1;
  }

  .wc-detail-list article {
    grid-template-columns: 76px minmax(0, 1fr);
    gap: 10px;
    padding: 14px 16px;
  }

  .wc-line-card {
    padding: 14px 16px;
  }

  .wc-zeday-row {
    grid-template-columns: 36px minmax(0, 1fr);
    gap: 10px;
  }

  .wc-zeday-card__header {
    grid-template-columns: 82px minmax(0, 1fr) auto;
    gap: 10px;
  }

  .wc-zeday-card__datebox {
    width: 82px;
  }

  .wc-tabbar {
    gap: 6px;
    padding-left: 8px;
    padding-right: 8px;
  }

  .wc-tabbar__item {
    padding: 10px 2px;
    font-size: 11px;
  }

  .wc-tabbar__item i {
    font-size: 20px;
  }

  .wc-article-card {
    padding: 20px 16px 24px;
  }

  .wc-article-title {
    font-size: 24px;
  }

  .wc-convert-picker .wc-form,
  .wc-article-item--rich {
    grid-template-columns: 1fr;
  }

  .wc-convert-picker .wc-primary {
    width: 100%;
  }

  .wc-article-item__cover {
    aspect-ratio: 16 / 9;
    height: auto;
  }

  .wc-article-item__body {
    padding: 6px;
  }
}
