:root {
  color-scheme: light;
  --ink: #102531;
  --muted: #667780;
  --soft: #eef6f3;
  --paper: rgba(255, 255, 255, 0.82);
  --line: rgba(16, 37, 49, 0.12);
  --accent: #2f8f9d;
  --accent-dark: #1e6670;
  --warm: #f6ead7;
  --shadow: 0 20px 48px rgba(24, 46, 55, 0.13);
}

@font-face {
  font-family: "QingdaoTitle";
  src:
    url("fonts/title-subset.woff2") format("woff2"),
    url("../fonts/title.ttf") format("truetype");
  font-display: swap;
}

@font-face {
  font-family: "QingdaoText";
  src:
    url("fonts/wenkai-subset.woff2") format("woff2"),
    url("../fonts/wenkai.ttf") format("truetype");
  font-display: swap;
}

@font-face {
  font-family: "QingdaoHand";
  src: url("fonts/handwrite.otf") format("opentype");
  font-display: swap;
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at 22% 8%, rgba(186, 218, 211, 0.86), transparent 34%),
    radial-gradient(circle at 88% 18%, rgba(244, 226, 196, 0.72), transparent 28%),
    linear-gradient(180deg, #f8fbfa 0%, #f5efe5 100%);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  overflow: hidden;
}

button,
input,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

.app-shell {
  width: min(100%, 520px);
  height: 100vh;
  height: 100dvh;
  margin: 0 auto;
  padding: max(18px, env(safe-area-inset-top)) 16px calc(22px + env(safe-area-inset-bottom));
  position: relative;
  overflow: hidden;
}

.screen {
  min-height: 100%;
  display: flex;
  flex-direction: column;
  animation: rise 0.28s ease-out;
}

.screen-stack {
  position: relative;
  height: 100%;
  isolation: isolate;
}

.stack-page {
  position: absolute;
  inset: 0;
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: none;
  transition:
    transform 0.28s cubic-bezier(0.2, 0.86, 0.24, 1),
    opacity 0.28s ease;
  will-change: transform;
}

.stack-page::-webkit-scrollbar {
  display: none;
}

.stack-page.is-active {
  z-index: 2;
  transform: none;
}

.page-stack-shell.is-forwarding .stack-page.is-active {
  opacity: 0.86;
  transform: none;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-screen {
  justify-content: space-between;
  gap: 28px;
}

.brand-lockup {
  padding-top: 40px;
  text-align: center;
  display: grid;
  justify-items: center;
}

.brand-lockup span {
  color: var(--accent-dark);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.16em;
}

.brand-lockup h1 {
  margin: 16px 0 14px;
  max-width: 380px;
  font-family: "QingdaoTitle", "PingFang SC", "Microsoft YaHei", sans-serif;
  font-size: clamp(50px, 15vw, 82px);
  line-height: 1.02;
  letter-spacing: 0;
}

.brand-lockup p {
  max-width: 270px;
  margin: 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.7;
}

.bottom-panel,
.place-card,
.card-controls {
  padding: 20px;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.48);
  border: 1px solid rgba(255, 255, 255, 0.74);
  box-shadow: 0 18px 44px rgba(24, 46, 55, 0.1);
  backdrop-filter: blur(20px);
}

.screen-heading {
  margin-bottom: 16px;
  text-align: center;
}

.screen-heading h2 {
  margin: 0;
  font-family: "QingdaoText", "PingFang SC", "Microsoft YaHei", sans-serif;
  font-size: 30px;
  line-height: 1.2;
  letter-spacing: 0;
}

.screen-heading p {
  margin: 8px 0 0;
  color: var(--muted);
  line-height: 1.6;
}

.screen-heading.roomy {
  padding: 34px 4px 16px;
}

.screen-heading.compact {
  padding: 20px 4px 6px;
}

.style-grid {
  display: grid;
  gap: 12px;
}

.event-entry-form {
  margin-top: 14px;
}

.event-entry {
  width: 100%;
  min-height: 42px;
  border: 0;
  border-radius: 15px;
  color: var(--accent-dark);
  background: rgba(234, 247, 244, 0.72);
  font-weight: 900;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.notice-badge {
  display: inline-grid;
  place-items: center;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 999px;
  color: #fff;
  background: #d94343;
  font-size: 12px;
  line-height: 1;
}

.style-card {
  width: 100%;
  min-height: 92px;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.74);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.58);
  color: var(--ink);
  text-align: left;
  box-shadow: 0 10px 24px rgba(24, 46, 55, 0.07);
  backdrop-filter: blur(16px);
}

.style-card strong {
  display: block;
  font-family: "QingdaoText", "PingFang SC", "Microsoft YaHei", sans-serif;
  font-size: 22px;
}

.style-card small {
  display: block;
  margin-top: 7px;
  color: var(--muted);
  line-height: 1.5;
}

.topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 42px;
  color: var(--muted);
}

.topbar form {
  margin: 0;
}

.topbar button {
  border: 0;
  background: transparent;
  color: var(--accent-dark);
  font-weight: 500;
}

.topbar .back-button {
  display: grid;
  place-items: center;
  width: 30px;
  height: 34px;
  padding: 0 0 4px;
  border-radius: 0;
  font-size: 34px;
  line-height: 1;
}

.topbar span {
  font-size: 14px;
  font-weight: 800;
}

.mood-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  padding-bottom: 8px;
}

.mood-button {
  min-height: 66px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.5);
  color: var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 8px;
  box-shadow: 0 10px 24px rgba(24, 46, 55, 0.07);
  backdrop-filter: blur(16px);
  font-family: "QingdaoText", "PingFang SC", "Microsoft YaHei", sans-serif;
  font-size: 17px;
}

.mood-button.is-active {
  color: var(--accent-dark);
  border-color: rgba(47, 143, 157, 0.45);
  background: #eaf7f4;
}

.mood-icon {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.46);
  line-height: 1;
}

.place-card {
  margin-top: 22px;
  font-family: SimSun, "Songti SC", "Noto Serif CJK SC", serif;
}

.kicker {
  color: var(--accent-dark);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.12em;
}

.place-card h2 {
  margin: 10px 0 12px;
  font-family: SimSun, "Songti SC", "Noto Serif CJK SC", serif;
  font-size: 42px;
  line-height: 1.08;
  font-weight: 900;
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}

.tag-row span {
  padding: 8px 11px;
  border-radius: 999px;
  background: var(--soft);
  color: #405761;
  font-size: 13px;
}

blockquote {
  margin: 18px 0 0;
  padding: 18px;
  border-radius: 20px;
  background: var(--warm);
  color: #172b36;
  font-family: SimSun, "Songti SC", "Noto Serif CJK SC", serif;
  font-size: 24px;
  line-height: 1.52;
  font-weight: 900;
}

.persona {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.info-list {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}

.info-list p {
  margin: 0;
  color: #273f49;
  line-height: 1.7;
}

.info-list b {
  display: block;
  margin-bottom: 3px;
  color: var(--ink);
}

.action-row {
  display: grid;
  gap: 10px;
}

.action-row.docked {
  grid-template-columns: 0.85fr 0.85fr 1.3fr;
  margin-top: auto;
  padding-top: 18px;
}

.action-row form {
  margin: 0;
}

.primary-button,
.ghost-button {
  width: 100%;
  min-height: 50px;
  border-radius: 17px;
  border: 0;
  font-weight: 900;
}

.primary-button {
  color: #fff;
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  box-shadow: 0 12px 24px rgba(47, 143, 157, 0.25);
}

.ghost-button {
  color: var(--accent-dark);
  background: rgba(255, 255, 255, 0.78);
}

.card-screen {
  gap: 10px;
}

.events-screen {
  gap: 10px;
  font-family: SimSun, "Songti SC", "Noto Serif CJK SC", serif;
}

.events-screen .screen-heading h2,
.events-screen .event-card h3 {
  font-family: SimSun, "Songti SC", "Noto Serif CJK SC", serif;
}

.event-list {
  display: grid;
  gap: 12px;
  padding-bottom: 8px;
}

.event-card {
  padding: 18px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.58);
  border: 1px solid rgba(255, 255, 255, 0.74);
  box-shadow: 0 14px 32px rgba(24, 46, 55, 0.09);
  backdrop-filter: blur(16px);
}

.event-meta {
  color: var(--accent-dark);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.06em;
}

.event-card h3 {
  margin: 8px 0 8px;
  font-size: 28px;
  line-height: 1.18;
}

.event-card p {
  margin: 0;
  color: #53666f;
  line-height: 1.65;
}

.event-capacity {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.event-capacity span {
  padding: 6px 10px;
  border-radius: 999px;
  background: var(--soft);
  color: var(--accent-dark);
  font-size: 13px;
  font-weight: 800;
}

.event-capacity .reply-chip {
  color: #b13c35;
  background: #fff0ed;
}

.event-card form,
.signup-form-card {
  display: grid;
  margin-top: 10px;
}

.signup-form-card {
  gap: 10px;
  padding: 18px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.58);
  border: 1px solid rgba(255, 255, 255, 0.74);
  box-shadow: 0 14px 32px rgba(24, 46, 55, 0.09);
  backdrop-filter: blur(16px);
}

.signup-form-card input,
.signup-form-card textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(248, 250, 249, 0.9);
  padding: 12px;
  color: var(--ink);
}

.my-signup-list {
  display: grid;
  gap: 12px;
}

.my-signup-card {
  display: grid;
  gap: 10px;
}

.my-signup-card > div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  color: var(--accent-dark);
  font-weight: 900;
}

.my-signup-card p {
  margin: 0;
  color: #53666f;
  line-height: 1.65;
}

.admin-reply-card {
  padding: 12px;
  border-radius: 16px;
  color: #8f3d2c;
  background: #fff0e7;
}

.muted-line {
  color: var(--muted);
}

.followup-form {
  display: grid;
  gap: 10px;
}

.empty-event {
  text-align: center;
}

.card-preview {
  display: grid;
  gap: 12px;
  margin-top: 10px;
}

.card-preview img {
  width: 100%;
  border-radius: 24px;
  box-shadow: var(--shadow);
}

.download-link {
  display: grid;
  place-items: center;
  min-height: 50px;
  border-radius: 17px;
  color: var(--accent-dark);
  background: rgba(255, 255, 255, 0.82);
  text-decoration: none;
  font-weight: 900;
}

.card-controls {
  margin-top: 0;
}

.card-style-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.card-style {
  position: relative;
}

.card-style input {
  position: absolute;
  opacity: 0;
}

.card-style span {
  display: grid;
  place-items: center;
  min-height: 44px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.54);
  border: 1px solid rgba(255, 255, 255, 0.74);
  color: var(--muted);
  font-weight: 800;
}

.card-style strong {
  color: var(--ink);
  font-size: 15px;
}

.card-style input:checked + span {
  background: #e0f1ef;
  color: var(--accent-dark);
  border-color: rgba(47, 143, 157, 0.38);
}

.upload-box {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  margin-top: 12px;
  min-height: 46px;
  padding: 10px 13px;
  border-radius: 16px;
  border: 1px dashed rgba(47, 143, 157, 0.34);
  color: var(--accent-dark);
  background: rgba(255, 255, 255, 0.54);
  font-weight: 900;
}

.upload-box input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.camera-mark {
  line-height: 1;
}

.full {
  margin-top: 12px;
}

.submit-drawer {
  width: 100%;
  margin: 28px auto 0;
  padding-bottom: 8px;
  text-align: center;
  color: #9aa2a6;
}

.submit-drawer summary {
  display: inline-block;
  cursor: pointer;
  list-style: none;
  font-size: 12px;
  color: #9aa2a6;
}

.submit-drawer summary::-webkit-details-marker {
  display: none;
}

.submit-drawer[open] {
  padding: 14px;
  padding-bottom: 18px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(255, 255, 255, 0.8);
  box-shadow: var(--shadow);
}

.submit-drawer form {
  display: grid;
  gap: 10px;
  margin-top: 12px;
  text-align: left;
}

.submit-drawer label {
  display: grid;
  gap: 6px;
  color: var(--muted);
  font-size: 13px;
}

.submit-drawer input,
.submit-drawer textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #f8faf9;
  padding: 12px;
  color: var(--ink);
}

.toast-stack {
  position: fixed;
  top: max(14px, env(safe-area-inset-top));
  left: 50%;
  transform: translateX(-50%);
  width: min(calc(100% - 32px), 460px);
  z-index: 20;
  display: grid;
  gap: 8px;
}

.toast {
  padding: 12px 14px;
  border-radius: 16px;
  background: rgba(233, 244, 255, 0.96);
  color: #235274;
  border: 1px solid rgba(35, 82, 116, 0.12);
  box-shadow: 0 10px 24px rgba(24, 46, 55, 0.08);
}

@media (max-width: 360px) {
  .place-card h2 {
    font-size: 36px;
  }

  blockquote {
    font-size: 21px;
  }

  .action-row.docked {
    grid-template-columns: 1fr;
  }
}

/* 2026 structure refresh */
body {
  overflow: hidden;
}

.app-shell {
  padding: 0;
  background: #fbfbf8;
}

.screen-stack,
.stack-page {
  height: 100%;
}

.stack-page {
  padding: 0 14px 24px;
}

.h5-home.stack-page {
  padding: 0;
  overflow: hidden;
}

.h5-home {
  position: relative;
  min-height: 100%;
  color: var(--ink);
}

.home-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.home-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(247, 252, 251, 0.02), rgba(246, 239, 225, 0.03) 58%, rgba(246, 239, 225, 0.42)),
    linear-gradient(90deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.01));
}

.home-inner {
  position: relative;
  z-index: 1;
  min-height: 100%;
  padding: 44px 28px 104px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.home-title h1 {
  margin: 0;
  font-family: "QingdaoTitle", "QingdaoText", sans-serif;
  font-size: clamp(58px, 17vw, 88px);
  line-height: 0.98;
}

.home-title img {
  display: block;
  width: min(68vw, 260px);
  height: auto;
  transform: rotate(-6deg);
  transform-origin: left center;
}

.home-title p {
  margin: 18px 0 0;
  max-width: 260px;
  font-weight: 900;
  line-height: 1.5;
}

.home-buttons {
  display: grid;
  gap: 14px;
  margin-bottom: 28px;
}

.home-buttons form,
.h5-tabs form,
.result-actions form {
  margin: 0;
}

.home-pill {
  width: 100%;
  min-height: 62px;
  padding: 0 18px;
  border: 0;
  border-radius: 999px;
  display: grid;
  grid-template-columns: 40px 1fr 24px;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 14px 32px rgba(24, 46, 55, 0.16);
  font-size: 20px;
  font-weight: 900;
}

.home-pill.neon {
  background: #eaff66;
}

.home-pill span {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.82);
}

.home-pill b {
  color: rgba(16, 37, 49, 0.38);
  font-size: 32px;
}

.home-note {
  width: min(100%, 280px);
  margin: 8px auto 0;
  padding: 11px 18px;
  transform: rotate(-1deg);
  text-align: center;
  color: #405761;
  background: rgba(255, 246, 217, 0.92);
  box-shadow: 0 10px 24px rgba(24, 46, 55, 0.12);
  font-size: 14px;
  font-weight: 900;
}

.h5-tabs {
  position: fixed;
  left: 50%;
  bottom: 0;
  z-index: 1000;
  transform: translateX(-50%);
  width: min(100%, 520px);
  height: 58px;
  padding-bottom: env(safe-area-inset-bottom);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  align-items: center;
  background: rgba(255, 255, 255, 0.9);
  border-top: 1px solid rgba(16, 37, 49, 0.08);
  backdrop-filter: blur(18px);
}

.h5-tabs button {
  position: relative;
  width: 100%;
  border: 0;
  background: transparent;
  color: #7b878c;
  display: grid;
  justify-items: center;
  gap: 2px;
  font-size: 11px;
  font-weight: 900;
}

.h5-tabs button.active {
  color: var(--ink);
}

.h5-tabs img {
  width: 18px;
  height: 18px;
  object-fit: contain;
}

.h5-tabs i {
  position: absolute;
  top: -4px;
  right: 34%;
  min-width: 16px;
  height: 16px;
  padding: 0 5px;
  border-radius: 999px;
  color: #fff;
  background: #d94343;
  font-size: 11px;
  line-height: 16px;
  font-style: normal;
}

.h5-mood {
  padding-top: 18px;
}

.simple-top {
  min-height: 42px;
  display: grid;
  grid-template-columns: 42px 1fr 42px;
  align-items: center;
}

.simple-top button {
  border: 0;
  background: transparent;
  color: var(--ink);
  font-size: 34px;
  line-height: 1;
}

.simple-top h2 {
  margin: 0;
  text-align: center;
  font-size: 20px;
}

.h5-mood > h2 {
  margin: 24px 0 22px;
  text-align: center;
  font-size: 25px;
}

.page-title-img {
  display: block;
  justify-self: center;
  height: auto;
}

.h5-mood > .page-title-img {
  width: min(74vw, 310px);
  margin: 12px auto 18px;
}

.simple-top .page-title-img {
  width: min(62vw, 260px);
}

.mood-sections {
  display: grid;
  gap: 12px;
}

.mood-section {
  padding: 14px;
  border-radius: 22px;
}

.mood-section.blue { background: linear-gradient(135deg, #deeeff, #ecf6ff); }
.mood-section.green { background: linear-gradient(135deg, #d3f4ec, #e5f8f4); }
.mood-section.pink { background: linear-gradient(135deg, #fce2dc, #fdefec); }
.mood-section.purple { background: linear-gradient(135deg, #e7e0fb, #f3eeff); }

.mood-section strong {
  display: block;
  margin-bottom: 12px;
}

.mood-section div {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
}

.mood-choice {
  min-height: 74px;
  border: 0;
  border-radius: 18px;
  display: grid;
  justify-items: center;
  align-content: center;
  gap: 6px;
  color: var(--ink);
  background: transparent;
  box-shadow: none;
  font-size: 12px;
  font-weight: 900;
}

.mood-choice span {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.8);
  box-shadow: 0 5px 14px rgba(24, 46, 55, 0.055);
}

.mood-choice img {
  width: 36px;
  height: 36px;
  object-fit: contain;
}

.random-dark {
  width: 100%;
  min-height: 54px;
  margin-top: 16px;
  border: 0;
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(135deg, #111, #2b2f31);
  font-weight: 900;
}

.h5-result {
  padding-top: 34px;
}

.result-card {
  overflow: hidden;
  margin-top: 18px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow);
}

.result-photo {
  position: relative;
  height: 230px;
  overflow: hidden;
}

.result-photo img,
.result-photo > div {
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: linear-gradient(135deg, #89c7d5, #f5dfb7);
}

.result-photo > div {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.06), rgba(0,0,0,0.34));
}

.result-photo h3 {
  position: absolute;
  left: 22px;
  right: 22px;
  bottom: 54px;
  margin: 0;
  color: #fff;
  font-family: "QingdaoTitle", "QingdaoText", sans-serif;
  font-size: 44px;
  line-height: 1.05;
  text-shadow: 0 6px 18px rgba(0,0,0,0.28);
}

.result-photo span {
  position: absolute;
  left: 22px;
  bottom: 20px;
  color: #fff;
  font-size: 28px;
}

.result-card em {
  position: relative;
  z-index: 2;
  display: inline-flex;
  margin: -18px 0 0 14px;
  padding: 7px 12px;
  border-radius: 8px;
  color: var(--accent-dark);
  background: #eef9f5;
  font-style: normal;
  font-size: 12px;
  font-weight: 900;
}

.result-card blockquote {
  margin: 0;
  padding: 16px 24px 18px;
  background: transparent;
  font-size: 19px;
}

.result-card dl {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0 24px 24px;
}

.result-card dt {
  font-weight: 900;
}

.result-card dd {
  margin: 4px 0 0 24px;
  color: #405761;
}

.result-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 18px;
}

.result-actions button {
  width: 100%;
  min-height: 82px;
  border: 0;
  border-radius: 20px;
  display: grid;
  place-items: center;
  gap: 6px;
  background: #fff;
  color: var(--ink);
  box-shadow: 0 10px 24px rgba(24, 46, 55, 0.1);
  font-weight: 900;
}

.result-actions .lime { background: #edf8c8; }
.result-actions .purple { background: #e9ddfb; }
.result-actions .yellow { background: #f7e9c9; }

.events-screen,
.mine-screen {
  padding: 16px 14px 78px;
}

.page-title {
  text-align: center;
  margin: 0 0 22px;
}

.mine-form {
  display: grid;
  gap: 12px;
}

/* official events refresh */
.events-screen .events-hero {
  padding: 0 4px 0;
}

.events-screen .events-top {
  height: 30px;
  display: flex;
  align-items: center;
}

.events-screen .events-top form {
  margin: 0;
}

.events-screen .events-top button {
  width: 30px;
  height: 30px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--ink);
  font-size: 32px;
  line-height: 26px;
}

.events-screen .events-title-img {
  display: block;
  width: min(74%, 260px);
  height: auto;
}

.events-screen .events-bubble-row {
  min-height: 78px;
  margin-top: 2px;
  padding: 0 14px 0 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.events-screen .events-bubble-img {
  width: min(58%, 230px);
  height: auto;
  transform: rotate(-4deg);
  transform-origin: 42% 50%;
}

.events-screen .events-mascot-img {
  width: 86px;
  height: 86px;
  object-fit: contain;
}

.events-screen .event-list {
  gap: 14px;
  padding-bottom: 70px;
}

.events-screen .event-card-new {
  position: relative;
  display: grid;
  grid-template-columns: 132px minmax(0, 1fr);
  gap: 14px;
  padding: 12px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 12px 30px rgba(24, 46, 55, 0.1);
}

.events-screen .event-card-new form,
.events-screen .event-card-new button {
  position: absolute;
  inset: 0;
  width: 100%;
  min-height: 0;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: inherit;
  background: transparent;
  box-shadow: none;
}

.events-screen .event-cover {
  width: 132px;
  height: 132px;
  border-radius: 16px;
  overflow: hidden;
  background: #d8eceb;
}

.events-screen .event-cover img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.events-screen .event-cover-fallback {
  background:
    radial-gradient(circle at 24% 20%, rgba(184, 225, 229, 0.9), transparent 36%),
    linear-gradient(135deg, #b7dbe0, #f3ddb8);
}

.events-screen .event-info {
  min-width: 0;
  display: grid;
  align-content: start;
  gap: 7px;
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", sans-serif;
}

.events-screen .event-title-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
  align-items: start;
}

.events-screen .event-card-new h3 {
  margin: 0;
  min-width: 0;
  font-family: SimSun, "Songti SC", "Noto Serif CJK SC", serif;
  font-size: 20px;
  line-height: 1.18;
}

.events-screen .event-status {
  padding: 5px 9px;
  border-radius: 999px;
  color: #645616;
  background: #fff29c;
  font-size: 12px;
  font-weight: 900;
  white-space: nowrap;
}

.events-screen .event-line {
  margin: 0;
  color: #53666f;
  font-size: 13px;
  line-height: 1.25;
  font-weight: 800;
}

.events-screen .event-bottom {
  margin-top: 2px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  color: #667780;
  font-size: 12px;
  font-weight: 800;
}

.events-screen .avatar-row {
  display: flex;
  align-items: center;
}

.events-screen .avatar-row i {
  width: 18px;
  height: 18px;
  margin-right: -5px;
  border: 1px solid #fff;
  border-radius: 50%;
  background: linear-gradient(135deg, #cce7e6, #f0d7c6);
}
