:root {
  --accent: #ff5a3c;
  --accent-dark: #d93b22;
  --ink: #20242d;
  --muted: #7a8190;
  --line: #eceef2;
  --surface: #fff;
  --page: #f6f7f9;
  --shadow: 0 18px 55px rgba(37, 43, 55, .1);
  color-scheme: light;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  overflow-x: hidden;
  color: var(--ink);
  background: var(--page);
  font: 15px/1.6 -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
}

button, input, textarea { font: inherit; }

button, a { -webkit-tap-highlight-color: transparent; }

.hero {
  position: relative;
  min-height: 290px;
  overflow: hidden;
  color: #fff;
  background:
    linear-gradient(118deg, rgba(89, 17, 11, .36), transparent 50%),
    linear-gradient(135deg, #ff4d2d, #ff7759 62%, #ffa084);
}

.hero::after {
  position: absolute;
  right: -60px;
  bottom: -130px;
  width: 430px;
  height: 430px;
  content: "";
  border: 1px solid rgba(255, 255, 255, .2);
  border-radius: 50%;
  box-shadow: 0 0 0 45px rgba(255, 255, 255, .055), 0 0 0 95px rgba(255, 255, 255, .035);
}

.hero__inner {
  position: relative;
  z-index: 2;
  display: flex;
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
  padding: 64px 0 88px;
  gap: 24px;
  align-items: flex-start;
}

.hero h1 {
  margin: 4px 0 8px;
  font-size: clamp(38px, 6vw, 66px);
  line-height: 1.08;
  letter-spacing: -.04em;
}

.hero__copy { margin: 0; color: rgba(255, 255, 255, .84); font-size: 17px; }

.hero__glow { position: absolute; border-radius: 50%; filter: blur(2px); }
.hero__glow--one { top: -120px; left: 12%; width: 300px; height: 300px; background: rgba(255, 207, 121, .2); }
.hero__glow--two { right: 20%; bottom: -190px; width: 360px; height: 360px; background: rgba(138, 16, 0, .16); }

.back {
  flex: 0 0 auto;
  width: 42px;
  height: 42px;
  padding: 0 0 5px;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, .3);
  border-radius: 50%;
  background: rgba(255, 255, 255, .11);
  font-size: 35px;
  line-height: 34px;
  cursor: pointer;
  backdrop-filter: blur(8px);
}

.eyebrow {
  margin: 0;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .72);
}

.eyebrow--dark { color: var(--accent); }

.shell {
  position: relative;
  z-index: 3;
  width: min(1120px, calc(100% - 40px));
  margin: -43px auto 80px;
}

.tabs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  padding: 10px;
  border: 1px solid rgba(255, 255, 255, .8);
  border-radius: 22px;
  background: rgba(255, 255, 255, .92);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.tab {
  display: flex;
  min-width: 0;
  min-height: 66px;
  color: #747b87;
  border: 0;
  border-radius: 15px;
  background: transparent;
  cursor: pointer;
  gap: 12px;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  transition: .2s ease;
}

.tab:hover { background: #fafafa; color: var(--ink); }
.tab.is-active { color: #fff; background: var(--ink); box-shadow: 0 9px 20px rgba(32, 36, 45, .22); }

.tab__icon {
  display: grid;
  width: 34px;
  height: 34px;
  border: 1px solid currentColor;
  border-radius: 12px;
  place-items: center;
  font-size: 13px;
}

.panel { display: none; padding-top: 48px; }
.panel.is-active { display: block; animation: rise .3s ease both; }

@keyframes rise {
  from { opacity: 0; transform: translateY(8px); }
}

.section-heading {
  display: flex;
  margin-bottom: 20px;
  align-items: end;
  justify-content: space-between;
}

.section-heading h2, .dialog h2 {
  margin: 1px 0 0;
  font-size: 30px;
  line-height: 1.25;
  letter-spacing: -.03em;
}

.ghost-button {
  padding: 9px 16px;
  color: var(--ink);
  border: 1px solid #dfe2e7;
  border-radius: 999px;
  background: #fff;
  cursor: pointer;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.activity-list--single {
  grid-template-columns: minmax(0, 1fr);
}

.activity-card {
  position: relative;
  display: grid;
  min-height: 218px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--surface);
  box-shadow: 0 9px 28px rgba(35, 42, 56, .05);
  grid-template-columns: 43% 1fr;
  transition: .22s ease;
}

.activity-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }

.activity-card__image {
  display: grid;
  min-height: 218px;
  overflow: hidden;
  color: rgba(125, 45, 27, .58);
  background: linear-gradient(135deg, #ffe0d8, #ff9c82);
  place-items: center;
  font-size: 14px;
  font-weight: 700;
}

.activity-card__image img {
  width: 100%;
  height: 100%;
  min-height: 218px;
  object-fit: cover;
}

.activity-card__body {
  display: flex;
  min-width: 0;
  padding: 22px;
  flex-direction: column;
}

.activity-card h3 {
  margin: 7px 0 8px;
  overflow: hidden;
  font-size: 21px;
  line-height: 1.35;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.activity-card__summary {
  display: -webkit-box;
  margin: 0 0 16px;
  overflow: hidden;
  color: var(--muted);
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.activity-card__meta {
  display: grid;
  margin: auto 0 14px;
  color: #616775;
  font-size: 13px;
  gap: 3px;
}

.card-actions { display: flex; flex-wrap: wrap; gap: 8px; }

.link-button, .primary-button {
  display: inline-flex;
  min-height: 40px;
  padding: 0 17px;
  color: #fff;
  border: 0;
  border-radius: 999px;
  background: var(--accent);
  text-decoration: none;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  font-weight: 700;
}

.link-button--quiet {
  color: #5f6571;
  border: 1px solid #e2e4e8;
  background: #fff;
}

.link-button:disabled, .primary-button:disabled {
  color: #fff;
  background: #c8cbd1;
  cursor: not-allowed;
}

.activity-card__badges { display: flex; flex-wrap: wrap; gap: 6px; }

.tag {
  align-self: flex-start;
  padding: 4px 9px;
  color: var(--accent-dark);
  border-radius: 999px;
  background: #fff0ec;
  font-size: 11px;
  font-weight: 700;
}

.tag--hot { color: #b94700; background: #fff0d8; }
.tag--top { color: #664bd6; background: #eeeaff; }

.activity-tags {
  display: flex;
  margin: -4px 0 12px;
  flex-wrap: wrap;
  gap: 6px;
}

.activity-tags span {
  padding: 2px 8px;
  color: var(--activity-color, var(--accent));
  border: 1px solid #ffd1c8;
  border-radius: 999px;
  font-size: 11px;
}

.calendar-heading { margin-bottom: 16px; }
.calendar-hint { color: var(--muted); font-size: 13px; }

.date-strip {
  display: grid;
  margin-bottom: 14px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 8px;
  scrollbar-width: none;
}

.date-strip::-webkit-scrollbar { display: none; }

.date-button {
  display: grid;
  min-height: 68px;
  padding: 8px;
  color: #6e7480;
  border: 0;
  border-radius: 13px;
  background: transparent;
  cursor: pointer;
  place-content: center;
  gap: 2px;
}

.date-button span { font-size: 12px; }
.date-button strong { color: var(--ink); font-size: 16px; }
.date-button.is-active { color: #fff; background: var(--accent); box-shadow: 0 8px 20px rgba(255, 90, 60, .24); }
.date-button.is-active strong { color: #fff; }

.activity-filters {
  display: flex;
  margin-bottom: 18px;
  overflow-x: auto;
  gap: 8px;
  scrollbar-width: none;
}

.activity-filters::-webkit-scrollbar { display: none; }

.filter {
  flex: none;
  padding: 8px 15px;
  color: #686f7b;
  border: 1px solid #e0e3e8;
  border-radius: 999px;
  background: #fff;
  cursor: pointer;
}

.filter.is-active { color: #fff; border-color: var(--ink); background: var(--ink); }

.feature-card {
  position: relative;
  display: flex;
  min-height: 320px;
  overflow: hidden;
  padding: 52px;
  color: #fff;
  border-radius: 26px;
  align-items: center;
  justify-content: space-between;
  isolation: isolate;
}

.feature-card::before {
  position: absolute;
  z-index: -1;
  inset: 0;
  content: "";
  background:
    radial-gradient(circle at 75% 25%, rgba(255,255,255,.25), transparent 27%),
    linear-gradient(125deg, #273240, #11161e);
}

.feature-card::after {
  position: absolute;
  z-index: -1;
  right: -90px;
  bottom: -180px;
  width: 440px;
  height: 440px;
  content: "";
  border: 1px solid rgba(255,255,255,.13);
  border-radius: 50%;
  box-shadow: 0 0 0 45px rgba(255,255,255,.04), 0 0 0 90px rgba(255,255,255,.025);
}

.feature-card__copy { max-width: 520px; }
.feature-card h2 { margin: 5px 0 10px; font-size: clamp(28px, 4.5vw, 48px); line-height: 1.15; }
.feature-card p:not(.eyebrow) { margin: 0 0 26px; color: rgba(255,255,255,.72); }
.primary-button--light { color: #1e242d; background: #fff; }

.calendar {
  display: grid;
  width: 190px;
  height: 210px;
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, .25);
  border-radius: 26px;
  background: rgba(255, 255, 255, .1);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.18);
  text-align: center;
  place-content: center;
  backdrop-filter: blur(14px);
}

.calendar span { color: #ffbea9; letter-spacing: .25em; font-size: 11px; font-weight: 800; }
.calendar strong { font-size: 92px; line-height: .95; letter-spacing: -.08em; }
.calendar small { color: rgba(255,255,255,.7); }

.skeleton {
  height: 218px;
  border-radius: 20px;
  background: linear-gradient(100deg, #eceef1 25%, #f8f8f9 42%, #eceef1 60%);
  background-size: 300% 100%;
  animation: shimmer 1.3s infinite;
}

@keyframes shimmer { to { background-position: -100% 0; } }

.empty {
  padding: 55px 20px;
  color: var(--muted);
  border: 1px dashed #d8dbe1;
  border-radius: 20px;
  background: #fff;
  text-align: center;
  grid-column: 1 / -1;
}

.dialog {
  width: min(680px, calc(100% - 28px));
  max-height: 88vh;
  padding: 30px;
  overflow: auto;
  color: var(--ink);
  border: 0;
  border-radius: 24px;
  box-shadow: 0 25px 90px rgba(0, 0, 0, .3);
}

.dialog::backdrop { background: rgba(18, 22, 28, .64); backdrop-filter: blur(4px); }

.dialog__close {
  position: sticky;
  z-index: 4;
  top: 0;
  float: right;
  width: 36px;
  height: 36px;
  color: #5f6570;
  border: 1px solid #e4e6e9;
  border-radius: 50%;
  background: #fff;
  cursor: pointer;
}

.detail-cover {
  width: calc(100% + 60px);
  max-height: 300px;
  margin: -30px -30px 24px;
  object-fit: cover;
}

.detail-cover--empty {
  display: grid;
  height: 220px;
  color: rgba(125, 45, 27, .58);
  background: linear-gradient(135deg, #ffe0d8, #ff9c82);
  place-items: center;
  font-weight: 700;
}

.detail-actions { margin-top: 24px; }

.detail-meta {
  display: grid;
  margin: 18px 0;
  padding: 16px;
  color: #555c68;
  border-radius: 14px;
  background: #f6f7f9;
  gap: 4px;
}

.detail-content img { max-width: 100%; }

.schedule { display: grid; margin: 20px 0; gap: 8px; }
.schedule__item { display: grid; padding: 12px 14px; border-left: 3px solid var(--accent); background: #fff4f1; grid-template-columns: 70px 1fr; gap: 12px; }

.dialog form { display: grid; gap: 16px; }
.dialog label { display: grid; color: #555c68; gap: 6px; }
.dialog input, .dialog select, .dialog textarea {
  width: 100%;
  padding: 12px 14px;
  color: var(--ink);
  border: 1px solid #dfe2e7;
  border-radius: 12px;
  outline: none;
  background: #fff;
}
.dialog input:focus, .dialog textarea:focus { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(255, 90, 60, .12); }
.form-subtitle { margin: -10px 0 2px; color: var(--muted); }
.form-rules {
  margin: 0 0 4px;
  padding: 9px 11px;
  color: #8b5a32;
  border-radius: 8px;
  background: #fff4ed;
  font-size: 12px;
  line-height: 18px;
}
.form-rules:empty { display: none; }
.form-submit { width: 100%; margin-top: 4px; }

.mine-list { display: grid; margin-top: 18px; gap: 10px; }
.mine-item { padding: 15px; border: 1px solid var(--line); border-radius: 14px; }
.mine-item__head { display: flex; gap: 10px; justify-content: space-between; }
.mine-item h3 { margin: 0; font-size: 17px; }
.mine-item p { margin: 5px 0 0; color: var(--muted); }
.status { color: var(--accent); white-space: nowrap; font-size: 13px; font-weight: 700; }

.toast {
  position: fixed;
  z-index: 20;
  left: 50%;
  bottom: 32px;
  max-width: calc(100% - 36px);
  padding: 11px 18px;
  color: #fff;
  border-radius: 999px;
  background: rgba(28, 32, 39, .92);
  opacity: 0;
  transform: translate(-50%, 18px);
  pointer-events: none;
  transition: .2s ease;
}
.toast.is-visible { opacity: 1; transform: translate(-50%, 0); }

@media (max-width: 720px) {
  .hero { min-height: 238px; }
  .hero__inner { width: calc(100% - 28px); padding: 35px 0 72px; gap: 14px; }
  .hero h1 { font-size: 42px; }
  .hero__copy { max-width: 270px; font-size: 14px; }
  .back { width: 36px; height: 36px; font-size: 29px; }
  .shell { width: calc(100% - 24px); margin-top: -38px; }
  .tabs { padding: 7px; border-radius: 18px; }
  .tab { min-height: 62px; border-radius: 13px; flex-direction: column; gap: 2px; font-size: 12px; }
  .tab__icon { width: 26px; height: 26px; border-radius: 9px; }
  .panel { padding-top: 32px; }
  .section-heading h2, .dialog h2 { font-size: 25px; }
  .card-grid { grid-template-columns: 1fr; gap: 14px; }
  .activity-card { min-height: 190px; grid-template-columns: 36% 1fr; }
  .activity-card__image { min-height: 190px; }
  .activity-card__image img { min-height: 190px; }
  .activity-card__body { padding: 17px 15px; }
  .activity-card h3 { font-size: 18px; }
  .activity-card__summary { margin-bottom: 10px; }
  .link-button { min-height: 36px; padding: 0 13px; font-size: 13px; }
  .date-strip {
    display: flex;
    padding: 7px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
  }
  .date-button { flex: 0 0 72px; min-height: 62px; scroll-snap-align: start; }
  .calendar-hint { display: none; }
  .feature-card { min-height: 410px; padding: 34px 26px; align-items: flex-start; flex-direction: column; }
  .feature-card h2 { font-size: 34px; }
  .calendar { width: 132px; height: 142px; margin: 18px 0 0 auto; border-radius: 20px; }
  .calendar strong { font-size: 62px; }
  .dialog { padding: 22px; border-radius: 20px; }
  .detail-cover { width: calc(100% + 44px); margin: -22px -22px 20px; }
}
