/* Display type layer: one strong typographic focal point per page. */
.display-hero { position: relative; overflow: hidden; min-height: 238px; background: var(--surface); color: var(--ink); border: 1px solid var(--ink); border-top: 5px solid var(--ink); }
.display-hero::after { content: "01 / FIELD"; position: absolute; right: 18px; bottom: -18px; color: transparent; -webkit-text-stroke: 1px rgba(16,17,16,.12); font: 72px/1 "DM Mono", monospace; letter-spacing: -.1em; }
.display-hero-copy { position: relative; z-index: 1; }
.display-hero-word { margin-left: -5px; color: var(--ink); font: 800 clamp(52px, 9vw, 116px)/.78 "Arial Narrow", "DM Mono", sans-serif; letter-spacing: -.1em; text-transform: uppercase; white-space: nowrap; }
.display-hero-cn { margin: 13px 0 16px; font-size: clamp(24px, 3vw, 42px); font-weight: 900; letter-spacing: -.06em; }
.display-hero .eyebrow { color: var(--teal-dark); }
.display-hero p { color: var(--muted); }
.display-hero .hero-stat { position: relative; z-index: 1; }
.display-hero .hero-stat strong { color: var(--red); }
.activity-detail-panel { position: relative; overflow: hidden; }
.activity-display-code { position: absolute; z-index: 0; top: 5px; right: 16px; color: transparent; -webkit-text-stroke: 1px rgba(16,17,16,.13); font: 900 clamp(68px, 14vw, 170px)/.8 "DM Mono", monospace; letter-spacing: -.12em; pointer-events: none; user-select: none; }
.activity-detail-panel .detail-header, .activity-detail-panel .mini-stats, .activity-detail-panel .split { position: relative; z-index: 1; }
.display-title-panel { position: relative; overflow: hidden; margin-bottom: 16px; padding: 17px 20px 18px; border: 1px solid var(--ink); background: var(--ink); color: var(--surface); }
.display-title-panel::after { content: "03"; position: absolute; right: 18px; bottom: -16px; color: transparent; -webkit-text-stroke: 1px rgba(255,255,255,.18); font: 100px/1 "DM Mono", monospace; letter-spacing: -.12em; }
.display-title-word { position: relative; z-index: 1; font: 800 clamp(38px, 7vw, 82px)/.82 "Arial Narrow", "DM Mono", sans-serif; letter-spacing: -.09em; }
.display-title-cn { position: relative; z-index: 1; margin-top: 10px; color: var(--signal); font-size: 22px; font-weight: 900; letter-spacing: -.04em; }
.display-title-panel p { position: relative; z-index: 1; max-width: 560px; margin: 9px 0 0; color: #bfc0b7; font-size: 11px; }

@media (max-width: 680px) {
  .display-hero { min-height: 205px; padding: 17px; }
  .display-hero-word { font-size: clamp(48px, 17vw, 76px); }
  .display-hero-cn { margin-top: 11px; font-size: 28px; }
  .display-hero::after { right: 10px; bottom: -8px; font-size: 42px; }
  .activity-display-code { top: 11px; right: 10px; font-size: 74px; }
  .display-title-panel { padding: 16px; }
  .display-title-word { font-size: clamp(39px, 14vw, 64px); }
  .display-title-cn { font-size: 20px; }
  .display-title-panel::after { right: 8px; bottom: -8px; font-size: 68px; }
}

/* Refined display type hierarchy. */
.display-hero::after, .display-title-panel::after { content: none; }
.display-hero-word { font-size: clamp(44px, 8vw, 104px); letter-spacing: -.08em; white-space: normal; }
.display-title-light { background: var(--surface); color: var(--ink); border-color: var(--ink); }
.display-title-light .display-title-cn { color: var(--teal-dark); }
.display-title-light p { color: var(--muted); }
.display-title-light .display-title-word { color: var(--ink); }
.activity-display-code { font-size: clamp(60px, 12vw, 150px); opacity: .82; }

@media (max-width: 680px) {
  .display-hero-word { font-size: clamp(38px, 14vw, 68px); line-height: .86; }
  .display-hero-cn { font-size: 25px; }
  .activity-display-code { font-size: 68px; }
}

/* Member cards stay quiet until the user asks for an action, then ease open. */
.group-member-card { transition: border-color .24s ease, background-color .24s ease, transform .24s ease; }
.group-member-card.is-expanded { border-color: var(--teal-dark); background: rgba(20,208,208,.045); }
.group-member-card .group-member-actions { display: flex; max-height: 0; opacity: 0; overflow: hidden; pointer-events: none; padding-top: 0; border-top-color: transparent; transform: translateY(-5px); transition: max-height .28s cubic-bezier(.22,.61,.36,1), opacity .2s ease, transform .28s cubic-bezier(.22,.61,.36,1), padding-top .28s ease, border-color .2s ease; }
.group-member-card.is-expanded .group-member-actions { max-height: 76px; opacity: 1; pointer-events: auto; padding-top: 10px; border-top-color: var(--line); transform: translateY(0); }
.member-expand-hint { display: flex; align-items: center; justify-content: flex-end; gap: 5px; margin-top: 12px; color: var(--muted); font: 10px "DM Mono", "Microsoft YaHei", sans-serif; transition: color .2s ease; }
.member-expand-hint b { display: inline-block; color: var(--teal-dark); font-size: 14px; font-weight: 500; transition: transform .24s ease; }
.group-member-card.is-expanded .member-expand-hint { color: var(--teal-dark); }
.group-member-card.is-expanded .member-expand-hint b { transform: rotate(180deg); }
.group-member-main { width: 100%; cursor: pointer; }

@media (prefers-reduced-motion: reduce) {
  .group-member-card, .group-member-card .group-member-actions, .member-expand-hint, .member-expand-hint b { transition: none; }
}

/* Readability pass: supporting copy moves up one step while display type stays dominant. */
.panel-kicker { font-size: 11px; }
.stat-note, .activity-main span, .activity-summary, .group-card-activity, .group-open-hint, .member-card-heading small, .member-last-activity { font-size: 12px; }
.activity-meta span, .quick-btn small, .bar-row, .bar-value, .field label, .group-progress-label, .member-status-grid span:first-child, .member-expand-hint { font-size: 11px; }
.activity-meta span { margin-top: 5px; }
.panel-action, .role-switch, .toast, .empty, .modal-card p, .display-title-panel p { font-size: 13px; }
.button { font-size: 13px; }
.button.small { font-size: 12px; }
.chip { font-size: 11px; }
th { font-size: 11px; }
th, td { font-size: 13px; }
td strong { font-size: 13px; }
td small { font-size: 11px; }
.review-summary small, .modal-kicker { font-size: 11px; }
.review-summary strong { font-size: 15px; }
.participant-group-head strong { font-size: 13px; }
.member-toggle { font-size: 12px; }
.member-toggle small { font-size: 10px; }
.group-overview-card strong { font-size: 15px; }
.group-overview-card small { font-size: 11px; }
.member-status-grid .chip { font-size: 11px; }

@media (max-width: 680px) {
  .eyebrow { font-size: 10px; }
  .role-switch { font-size: 11px; }
  .mobile-nav button { font-size: 11px; }
  .table-wrap td::before { font-size: 11px; }
}

/* Second readability step. */
.stat-note, .activity-main span, .activity-summary, .group-card-activity, .group-open-hint, .member-card-heading small, .member-last-activity { font-size: 13px; }
.activity-meta span, .quick-btn small, .bar-row, .bar-value, .field label, .group-progress-label, .member-status-grid span:first-child, .member-expand-hint { font-size: 12px; }
.panel-action, .role-switch, .toast, .empty, .modal-card p, .display-title-panel p { font-size: 14px; }
.button { font-size: 14px; }
.button.small { font-size: 13px; }
.chip { font-size: 12px; }
th { font-size: 12px; }
th, td { font-size: 14px; }
td strong { font-size: 14px; }
td small { font-size: 12px; }
.review-summary small, .modal-kicker { font-size: 12px; }
.review-summary strong { font-size: 16px; }
.participant-group-head strong { font-size: 14px; }
.member-toggle { font-size: 13px; }
.member-toggle small { font-size: 11px; }
.group-overview-card strong { font-size: 16px; }
.group-overview-card small { font-size: 12px; }
.member-status-grid .chip { font-size: 12px; }
.stat-value-text { max-width: 100%; overflow: hidden; font-family: "Noto Sans SC", "Microsoft YaHei", sans-serif; font-size: 17px; font-weight: 800; line-height: 1.35; letter-spacing: -.03em; text-overflow: ellipsis; white-space: nowrap; }

@media (max-width: 680px) {
  .role-switch { font-size: 12px; }
  .mobile-nav button { font-size: 12px; }
  .table-wrap td::before { font-size: 12px; }
  .stat-value-text { font-size: 15px; }
}

.operations-feed { display: grid; gap: 0; }
.operations-feed-rule { padding: 0 0 9px; color: var(--amber); font: 11px "DM Mono", "Microsoft YaHei", sans-serif; }
.operation-feed-row { display: grid; grid-template-columns: 58px minmax(0, 1fr) auto auto; align-items: center; gap: 10px; min-width: 0; padding: 12px 0; border-bottom: 1px solid var(--line); }
.operation-feed-row:last-child { border-bottom: 0; }
.operation-feed-time { color: var(--muted); font: 11px "DM Mono", monospace; }
.operation-feed-main { min-width: 0; }
.operation-feed-main strong { display: block; overflow: hidden; font-size: 13px; text-overflow: ellipsis; white-space: nowrap; }
.operation-feed-main strong small { margin-left: 5px; color: var(--teal-dark); font-size: 11px; font-weight: 500; }
.operation-feed-main span { display: block; overflow: hidden; margin-top: 4px; color: var(--muted); font-size: 12px; text-overflow: ellipsis; white-space: nowrap; }
.operation-feed-link { min-height: 34px; padding: 5px 9px; }

@media (max-width: 680px) {
  .operation-feed-row { grid-template-columns: 48px minmax(0, 1fr) auto; gap: 8px; }
  .operation-feed-row .operation-feed-link { grid-column: 2 / -1; justify-self: start; }
  .operation-feed-main strong { font-size: 13px; }
}

