:root {
  color-scheme: light;
  --red: #df2a2a;
  --red-deep: #a62922;
  --blue-walk: #58c7df;
  --green: #20b969;
  --line: #f0ded7;
  --paper: #fffaf6;
  --muted: #8d7a73;
  --text: #251b18;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  background: #eef3f7;
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", sans-serif;
}

button,
input,
textarea {
  font: inherit;
}

.h5-shell {
  width: min(100vw, 430px);
  min-height: 100vh;
  margin: 0 auto;
  background: var(--paper);
  position: relative;
  display: flex;
  flex-direction: column;
  box-shadow: 0 12px 36px rgba(42, 22, 16, 0.12);
}

.h5-view {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  padding-bottom: calc(188px + env(safe-area-inset-bottom));
}

.h5-tabs {
  position: fixed;
  left: 50%;
  bottom: 0;
  width: min(100vw, 430px);
  transform: translateX(-50%);
  padding: 8px 14px calc(8px + env(safe-area-inset-bottom));
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  background: rgba(255, 250, 246, 0.96);
  border-top: 1px solid var(--line);
  backdrop-filter: blur(10px);
  z-index: 20;
}

.h5-tabs button {
  position: relative;
  border: 0;
  background: transparent;
  color: #8d7a73;
  padding: 7px 0;
  border-radius: 999px;
}

.h5-tabs button.is-active {
  color: var(--red);
  background: #ffeceb;
  font-weight: 700;
}

.h5-shell[data-prototype-page="CLIENT-01"],
.h5-shell[data-prototype-page="CLIENT-01A"],
.h5-shell[data-prototype-page="CLIENT-04-expert-entry"],
.h5-shell[data-prototype-page="CLIENT-EXPERT-HOME"],
.h5-shell[data-prototype-page="CLIENT-06"],
.h5-shell[data-prototype-page="CLIENT-15"],
.h5-shell[data-prototype-page="CLIENT-19"],
.h5-shell[data-prototype-page="CLIENT-20"],
.h5-shell[data-prototype-page="CLIENT-21"],
.h5-shell[data-prototype-page="CLIENT-29"],
.h5-shell[data-prototype-page="CLIENT-30"],
.h5-shell[data-prototype-page="CLIENT-30B"],
.h5-shell[data-prototype-page="CLIENT-01"] .h5-view,
.h5-shell[data-prototype-page="CLIENT-01A"] .h5-view,
.h5-shell[data-prototype-page="CLIENT-04-expert-entry"] .h5-view,
.h5-shell[data-prototype-page="CLIENT-EXPERT-HOME"] .h5-view,
.h5-shell[data-prototype-page="CLIENT-06"] .h5-view,
.h5-shell[data-prototype-page="CLIENT-15"] .h5-view,
.h5-shell[data-prototype-page="CLIENT-19"] .h5-view,
.h5-shell[data-prototype-page="CLIENT-20"] .h5-view,
.h5-shell[data-prototype-page="CLIENT-21"] .h5-view,
.h5-shell[data-prototype-page="CLIENT-29"] .h5-view,
.h5-shell[data-prototype-page="CLIENT-30"] .h5-view,
.h5-shell[data-prototype-page="CLIENT-30B"] .h5-view,
.h5-shell[data-prototype-page="CLIENT-01"] .h5-tabs,
.h5-shell[data-prototype-page="CLIENT-01A"] .h5-tabs,
.h5-shell[data-prototype-page="CLIENT-04-expert-entry"] .h5-tabs,
.h5-shell[data-prototype-page="CLIENT-EXPERT-HOME"] .h5-tabs,
.h5-shell[data-prototype-page="CLIENT-06"] .h5-tabs,
.h5-shell[data-prototype-page="CLIENT-15"] .h5-tabs,
.h5-shell[data-prototype-page="CLIENT-19"] .h5-tabs,
.h5-shell[data-prototype-page="CLIENT-20"] .h5-tabs,
.h5-shell[data-prototype-page="CLIENT-21"] .h5-tabs,
.h5-shell[data-prototype-page="CLIENT-29"] .h5-tabs,
.h5-shell[data-prototype-page="CLIENT-30"] .h5-tabs,
.h5-shell[data-prototype-page="CLIENT-30B"] .h5-tabs {
  background: #fff2ea;
}

.h5-shell[data-prototype-page="CLIENT-30"],
.h5-shell[data-prototype-page="CLIENT-30B"],
.h5-shell[data-prototype-page="CLIENT-30"] .h5-view,
.h5-shell[data-prototype-page="CLIENT-30B"] .h5-view,
.h5-shell[data-prototype-page="CLIENT-30"] .h5-tabs,
.h5-shell[data-prototype-page="CLIENT-30B"] .h5-tabs {
  background: var(--paper);
}

.h5-shell[data-prototype-page="CLIENT-01"] .h5-view,
.h5-shell[data-prototype-page="CLIENT-01A"] .h5-view,
.h5-shell[data-prototype-page="CLIENT-04-expert-entry"] .h5-view,
.h5-shell[data-prototype-page="CLIENT-EXPERT-HOME"] .h5-view,
.h5-shell[data-prototype-page="CLIENT-06"] .h5-view,
.h5-shell[data-prototype-page="CLIENT-15"] .h5-view,
.h5-shell[data-prototype-page="CLIENT-19"] .h5-view,
.h5-shell[data-prototype-page="CLIENT-20"] .h5-view,
.h5-shell[data-prototype-page="CLIENT-21"] .h5-view,
.h5-shell[data-prototype-page="CLIENT-29"] .h5-view,
.h5-shell[data-prototype-page="CLIENT-30"] .h5-view,
.h5-shell[data-prototype-page="CLIENT-30B"] .h5-view {
  padding-bottom: calc(68px + env(safe-area-inset-bottom));
}

.h5-shell[data-prototype-page="CLIENT-01"] .h5-tabs,
.h5-shell[data-prototype-page="CLIENT-01A"] .h5-tabs,
.h5-shell[data-prototype-page="CLIENT-04-expert-entry"] .h5-tabs,
.h5-shell[data-prototype-page="CLIENT-EXPERT-HOME"] .h5-tabs,
.h5-shell[data-prototype-page="CLIENT-06"] .h5-tabs,
.h5-shell[data-prototype-page="CLIENT-15"] .h5-tabs,
.h5-shell[data-prototype-page="CLIENT-19"] .h5-tabs,
.h5-shell[data-prototype-page="CLIENT-20"] .h5-tabs,
.h5-shell[data-prototype-page="CLIENT-21"] .h5-tabs,
.h5-shell[data-prototype-page="CLIENT-29"] .h5-tabs,
.h5-shell[data-prototype-page="CLIENT-30"] .h5-tabs,
.h5-shell[data-prototype-page="CLIENT-30B"] .h5-tabs {
  backdrop-filter: none;
}

.h5-shell[data-prototype-page="CLIENT-20"] .h5-tabs {
  display: none;
}

.h5-shell[data-prototype-page="CLIENT-07"],
.h5-shell[data-prototype-page="CLIENT-07A"],
.h5-shell[data-prototype-page="CLIENT-07"] .h5-view,
.h5-shell[data-prototype-page="CLIENT-07A"] .h5-view,
.h5-shell[data-prototype-page="CLIENT-07"] .h5-tabs,
.h5-shell[data-prototype-page="CLIENT-07A"] .h5-tabs {
  background: #fff2ea;
}

.h5-shell[data-prototype-page="CLIENT-07"] .h5-view,
.h5-shell[data-prototype-page="CLIENT-07A"] .h5-view {
  padding-bottom: calc(68px + env(safe-area-inset-bottom));
}

.h5-shell[data-prototype-page="CLIENT-07"] .h5-tabs,
.h5-shell[data-prototype-page="CLIENT-07A"] .h5-tabs {
  display: none;
}

.h5-shell[data-prototype-page="CLIENT-15"] .orders-topbar,
.h5-shell[data-prototype-page="CLIENT-15"] .orders-page,
.h5-shell[data-prototype-page="CLIENT-20"] .topbar,
.h5-shell[data-prototype-page="CLIENT-29"] .topbar {
  background: #fff2ea;
  backdrop-filter: none;
}

.h5-tab-badge {
  position: absolute;
  top: 2px;
  right: 17px;
  min-width: 14px;
  height: 14px;
  padding: 0 4px;
  display: inline-grid;
  place-items: center;
  border-radius: 999px;
  color: #fff;
  background: var(--red);
  font-size: 9px;
  line-height: 1;
}

.h5-tab-badge[hidden] {
  display: none;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 52px;
  padding: 8px 16px;
  background: rgba(255, 250, 246, 0.96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(10px);
}

.topbar-title {
  font-weight: 800;
}

.icon-btn,
.pill-btn {
  border: 1px solid var(--line);
  color: var(--red-deep);
  background: #fff;
  border-radius: 999px;
  padding: 7px 12px;
}

.primary-btn {
  border: 0;
  color: #fff;
  background: var(--red);
  border-radius: 999px;
  padding: 12px 18px;
  font-weight: 800;
}

.primary-btn.is-disabled,
.primary-btn:disabled {
  background: #d9c8c2;
  color: #fff;
  cursor: not-allowed;
}

.ghost-btn {
  border: 1px solid #f0b7ae;
  color: var(--red);
  background: #fff;
  border-radius: 999px;
  padding: 11px 18px;
  font-weight: 800;
}

.section {
  padding: 14px 16px;
}

.home-hero,
.expert-entry-hero {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  padding: 22px 18px 28px;
  color: #fff;
  background: var(--red-deep);
}

.home-hero .client-hero-copy,
.expert-entry-hero .client-hero-copy {
  margin: 0;
  padding: 0;
  color: #fff;
}

.home-hero h1,
.expert-entry-hero h1 {
  margin: 0 0 4px;
  font-size: 25px;
  line-height: 1.1;
}

.home-hero p,
.expert-entry-hero p {
  margin: 0;
  font-size: 13px;
  font-weight: 700;
}

.home-hot-pill {
  border: 0;
  border-radius: 999px;
  padding: 8px 13px;
  color: var(--red-deep);
  background: #fff9f6;
  font-size: 12px;
  font-weight: 800;
  white-space: nowrap;
}

.home-search,
.expert-search {
  min-height: 36px;
  display: flex;
  align-items: center;
  padding: 0 13px;
  margin-bottom: 12px;
  border: 1px solid #e9bbb0;
  border-radius: 999px;
  color: var(--muted);
  background: #fffaf6;
  font-size: 13px;
}

.home-search input,
.expert-search input {
  width: 100%;
  border: 0;
  outline: 0;
  color: var(--text);
  background: transparent;
  font: inherit;
}

.home-search input::placeholder,
.expert-search input::placeholder {
  color: var(--muted);
}

.home-search,
.expert-search {
  cursor: pointer;
}

.expert-search {
  width: 100%;
  border: 1px solid #e9bbb0;
  justify-content: flex-start;
  text-align: left;
  font-family: inherit;
  font-size: 13px;
  font-weight: 400;
  line-height: normal;
}

.home-channel-row,
.expert-filter-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 13px;
}

.expert-filter-row {
  width: 100%;
  justify-content: space-between;
  gap: 0;
}

.home-channel-row button,
.expert-filter-row button {
  min-height: 28px;
  border: 0;
  border-radius: 999px;
  padding: 0 11px;
  color: var(--red-deep);
  background: #f4ded8;
  font-size: 12px;
  font-weight: 800;
  white-space: nowrap;
}

.home-channel-row button.is-active,
.expert-filter-row button.is-active {
  color: #fff;
  background: var(--red);
}

.home-channel-row button:nth-child(4) {
  margin-left: auto;
}

.home-channel-spacer {
  display: none;
}

.home-play-segment {
  display: inline-flex;
  align-items: center;
  gap: 0;
  margin-left: auto;
  padding: 2px 4px;
  border-radius: 999px;
  background: #f4ded8;
}

.home-play-segment button {
  min-height: 24px;
  padding: 0 11px;
  background: transparent;
  font-size: 12px;
}

.home-play-segment button.is-active {
  color: #fff;
  background: var(--red);
}

.home-post-card {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr);
  gap: 8px;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
}

.home-post-card.is-fx-only {
  opacity: 0.94;
}

.home-post-card:last-child {
  border-bottom: 0;
}

.home-post-avatar {
  width: 34px;
  height: 34px;
  margin-top: 3px;
}

.home-post-main {
  min-width: 0;
  display: grid;
  gap: 4px;
}

.home-post-top {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
  align-items: start;
}

.home-post-expert {
  display: grid;
  gap: 2px;
  margin-bottom: 0;
}

.home-post-expert strong {
  font-size: 14px;
  line-height: 1.15;
}

.home-post-name-row {
  min-width: 0;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 5px;
}

.home-current-tags,
.home-history-tags {
  min-width: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 3px;
}

.home-current-tags {
  gap: 4px;
}

.home-history-tags {
  max-width: calc(100vw - 150px);
}

.home-highlight-tag {
  min-height: 15px;
  padding: 0 5px;
  display: inline-flex;
  align-items: center;
  gap: 2px;
  border: 1px solid #f02636;
  border-radius: 3px;
  background: #fff8f7;
  color: #e51f2c;
  font-size: 9px;
  line-height: 14px;
  font-weight: 850;
  white-space: nowrap;
}

.home-history-tags .home-highlight-tag {
  background: #ffe6ea;
}

.home-current-tags .home-highlight-tag {
  min-height: 16px;
  padding: 0 5px;
  border-color: #fff;
  border-radius: 4px;
  background: #fff;
  color: #e9232e;
  font-size: 10px;
  line-height: 16px;
  font-weight: 700;
}

.home-highlight-count {
  min-width: 12px;
  height: 12px;
  padding: 0 3px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 2px;
  background: #9f171f;
  color: #fff;
  font-size: 8px;
  line-height: 12px;
  font-weight: 900;
}

.home-current-tags .home-highlight-count {
  min-width: 12px;
  margin-right: 2px;
  padding: 0 2px;
  border-radius: 2px;
  background: #b3121c;
  color: #fff;
  font-size: 8px;
  line-height: 12px;
}

.home-post-card h3 {
  margin: 0;
  font-size: 15px;
  line-height: 1.35;
}

.home-post-kind {
  color: var(--red-deep);
  font-weight: 900;
}

.home-post-meta {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  color: var(--muted);
  font-size: 11px;
}

.home-post-meta > span:first-child {
  padding-left: 8px;
}

.home-post-taxonomy {
  flex-shrink: 0;
  text-align: right;
  white-space: nowrap;
}

.bean-dot {
  color: var(--red);
  font-weight: 800;
}

.bean-dot::before {
  content: "";
  width: 6px;
  height: 6px;
  display: inline-block;
  margin-right: 4px;
  border-radius: 50%;
  background: var(--red);
  vertical-align: 1px;
}

.home-post-taxonomy .bean-dot {
  width: 6px;
  height: 6px;
  display: inline-block;
  margin: 0 4px;
  border-radius: 50%;
  background: var(--red);
  vertical-align: 1px;
}

.home-post-taxonomy .bean-dot::before {
  content: none;
}

.home-post-rate {
  min-width: 48px;
  padding-top: 0;
  text-align: right;
  color: var(--red);
}

.home-post-rate strong {
  display: block;
  font-size: 24px;
  line-height: 1;
}

.home-post-rate span {
  display: block;
  margin-top: 2px;
  font-size: 10px;
  font-weight: 800;
}

.search-topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) 56px;
  align-items: center;
  gap: 8px;
  min-height: 62px;
  padding: 9px 16px;
  background: rgba(255, 250, 246, 0.98);
  border-bottom: 1px solid var(--line);
}

.search-topbar-title {
  display: grid;
  justify-items: center;
  gap: 2px;
}

.search-topbar-title strong {
  font-size: 16px;
  line-height: 1.1;
}

.search-topbar-title span {
  color: var(--muted);
  font-size: 10px;
  line-height: 1;
}

.search-submit-btn {
  min-height: 26px;
  border: 0;
  border-radius: 999px;
  color: #fff;
  background: var(--red);
  font-size: 11px;
  font-weight: 800;
}

.search-section {
  display: grid;
  gap: 10px;
}

.search-page-input {
  min-height: 34px;
  display: flex;
  align-items: center;
  padding: 0 12px;
  border: 1px solid #e9bbb0;
  border-radius: 999px;
  background: #fffaf6;
}

.search-page-input input {
  width: 100%;
  border: 0;
  outline: 0;
  color: var(--text);
  background: transparent;
  font-size: 13px;
}

.search-scope-row {
  display: flex;
  align-items: center;
  gap: 8px;
}

.search-scope-row button {
  min-height: 25px;
  border: 0;
  border-radius: 999px;
  padding: 0 12px;
  color: var(--red-deep);
  background: #f4ded8;
  font-size: 12px;
  font-weight: 800;
}

.search-scope-row button.is-active {
  color: #fff;
  background: var(--red);
}

.search-history-card,
.search-result-card,
.search-empty-card {
  border: 1px solid #efbcb2;
  border-radius: 12px;
  background: #fffaf6;
}

.search-history-card {
  padding: 10px 12px;
}

.search-history-card strong,
.search-empty-card strong {
  display: block;
  margin-bottom: 6px;
  font-size: 13px;
}

.search-history-card p,
.search-empty-card p {
  margin: 0;
  color: var(--muted);
  font-size: 11px;
}

.search-result-card {
  position: relative;
  min-height: 58px;
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr) 42px;
  gap: 8px;
  align-items: center;
  padding: 9px 10px;
  margin-top: 8px;
}

.search-result-article {
  grid-template-columns: minmax(0, 1fr) 42px;
}

.search-result-main {
  min-width: 0;
}

.search-result-main strong {
  display: block;
  overflow: hidden;
  color: var(--text);
  font-size: 13px;
  line-height: 1.35;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.search-result-main p {
  margin: 3px 0 0;
  overflow: hidden;
  color: var(--muted);
  font-size: 11px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.search-title-kind {
  color: var(--red-deep);
  font-weight: 900;
}

.search-type-pill,
.search-empty-card span {
  justify-self: end;
  align-self: center;
  border-radius: 999px;
  padding: 4px 8px;
  color: var(--red-deep);
  background: #ffeceb;
  font-size: 10px;
  font-weight: 800;
}

.search-empty-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 4px 10px;
  align-items: center;
  padding: 12px;
  margin-top: 8px;
}

.search-empty-card strong,
.search-empty-card p {
  grid-column: 1;
}

.expert-entry-card {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr) 50px;
  gap: 8px;
  align-items: center;
  min-height: 58px;
  padding: 7px 9px;
  margin-bottom: 0;
  border: 1px solid #efbcb2;
  border-bottom: 0;
  border-radius: 0;
  background: #fffaf6;
}

.expert-filter-row + .expert-entry-card {
  border-radius: 12px 12px 0 0;
}

#follow-list-body .expert-entry-card:first-child {
  border-radius: 12px 12px 0 0;
}

.expert-entry-card:last-child {
  border-bottom: 1px solid #efbcb2;
  border-radius: 0 0 12px 12px;
}

#follow-list-body .expert-entry-card:only-child {
  border-radius: 12px;
}

.expert-card-main {
  min-width: 0;
  display: grid;
  gap: 1px;
}

.expert-card-title-row {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 8px;
}

.expert-card-main strong {
  font-size: 13.5px;
  line-height: 1.15;
}

.expert-card-rank {
  margin-left: auto;
  color: #9b7b73;
  font-size: 9px;
  font-weight: 800;
}

.expert-entry-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  color: #8c756e;
  font-size: 9px;
  line-height: 1.15;
}

.expert-entry-card .tag-row,
.expert-hero .tag-row {
  gap: 4px;
}

.expert-entry-card .avatar {
  width: 32px;
  height: 32px;
  font-size: 14px;
}

.expert-entry-card .tag {
  min-height: 15px;
  padding: 0 5px;
  border-radius: 4px;
  font-size: 8.5px;
  line-height: 15px;
}

.expert-entry-card .tag.tag-green {
  background: #e5f4ec;
  color: #147347;
}

.expert-entry-card .tag.tag-blue {
  background: #e7f7fb;
  color: #13798c;
}

.expert-entry-card .tag.tag-red {
  background: #fff0ef;
  color: var(--red);
}

.expert-entry-card .pill-btn {
  min-width: 42px;
  min-height: 24px;
  padding: 0 9px;
  border-radius: 999px;
  font-size: 11px;
}

.expert-specialty-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  align-items: center;
  margin-top: 1px;
  font-size: 10px;
  line-height: 1.25;
}

.expert-specialty-strip span {
  color: #8c756e;
  font-weight: 800;
}

.expert-specialty-strip b {
  border-radius: 4px;
  padding: 2px 5px;
  color: #13723f;
  background: #e4f6ed;
  font-weight: 900;
}

.my-hero {
  min-height: 99.5px;
  padding: 22px 18px 28px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  color: #fff;
  background: var(--red-deep);
}

.my-page {
  min-height: 0;
  background: #fff2ea;
}

.support-page,
.support-page .my-menu-list {
  background: #fff2ea;
}

.support-page {
  min-height: calc(100vh - 68px - env(safe-area-inset-bottom));
}

.complaint-page {
  min-height: calc(100vh - 64px);
  padding-bottom: 96px;
  background: #fff2ea;
}

.complaint-topbar {
  height: 52px;
  min-height: 52px;
  padding: 8px 16px;
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr) 44px;
  gap: 8px;
  align-items: center;
  border-bottom: 1px solid #edd2ca;
  background: #fffaf6;
}

.complaint-title {
  text-align: center;
}

.complaint-title strong {
  display: block;
  font-size: 16px;
  line-height: 1.2;
  font-weight: 900;
}

.complaint-title small {
  display: block;
  margin-top: 2px;
  color: #7d6d63;
  font-size: 9.5px;
  line-height: 1.2;
  font-weight: 700;
}

.complaint-badge {
  min-height: 24px;
  display: inline-grid;
  place-items: center;
  border-radius: 999px;
  color: #fff;
  background: var(--red);
  font-size: 11px;
  font-weight: 900;
}

.complaint-form {
  padding: 10px 16px 0;
}

.complaint-field {
  display: block;
  margin-bottom: 9px;
}

.complaint-field span {
  display: block;
  margin-bottom: 5px;
  color: #7d5b52;
  font-size: 10.5px;
  font-weight: 800;
}

.complaint-field input,
.complaint-field textarea,
.complaint-select-input {
  width: 100%;
  border: 1px solid #eab9b0;
  border-radius: 10px;
  color: #5a2a22;
  background: #fffaf6;
  font: inherit;
  font-size: 11px;
  line-height: 1.45;
}

.complaint-field input,
.complaint-select-input {
  min-height: 34px;
  padding: 0 10px;
}

.complaint-select-input {
  display: block;
  text-align: left;
  cursor: pointer;
}

.complaint-field textarea {
  min-height: 76px;
  padding: 10px;
  resize: vertical;
}

.complaint-order-strip {
  margin-top: 2px;
  padding: 8px 10px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
  align-items: center;
  border: 1px solid #eab9b0;
  border-radius: 10px;
  background: #fffaf6;
}

.complaint-order-strip strong {
  display: block;
  margin-bottom: 3px;
  font-size: 11.5px;
  line-height: 1.25;
}

.complaint-order-strip em {
  color: var(--red);
  font-style: normal;
}

.complaint-order-strip p {
  margin: 0;
  color: #8d756a;
  font-size: 9.5px;
  line-height: 1.35;
}

.complaint-order-strip span {
  min-width: 34px;
  min-height: 22px;
  display: inline-grid;
  place-items: center;
  border-radius: 999px;
  color: #fff;
  background: var(--red);
  font-size: 10px;
  font-weight: 900;
}

.complaint-actions {
  position: fixed;
  right: 0;
  bottom: 64px;
  left: 0;
  max-width: 430px;
  margin: 0 auto;
  padding: 10px 14px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  border-top: 1px solid #ead1c8;
  background: #fff2ea;
}

.complaint-actions button {
  min-height: 38px;
  border-radius: 999px;
  font-weight: 900;
}

.complaint-draft {
  border: 0;
  color: #13723f;
  background: #e4f6ed;
}

.complaint-submit {
  border: 0;
  color: #fff;
  background: var(--red);
}

.complaint-select-sheet {
  background: #fff2ea;
}

.complaint-choice-list {
  margin: 12px 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fffaf6;
}

.complaint-order-choice {
  width: 100%;
  margin: 0;
  padding: 5px 8px 6px;
  display: block;
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  background: #fffaf6;
  text-align: left;
  color: var(--text);
}

.complaint-order-choice:last-child {
  border-bottom: 0;
}

.complaint-order-choice.is-selected {
  background: #f1fff7;
}

.complaint-type-list {
  margin: 12px 0;
  display: grid;
  gap: 8px;
}

.complaint-type-choice {
  min-height: 38px;
  border: 1px solid var(--line);
  border-radius: 10px;
  color: #5a2a22;
  background: #fffaf6;
  font-weight: 900;
  text-align: center;
}

.complaint-type-choice.is-selected {
  color: #fff;
  border-color: var(--red);
  background: var(--red);
}

.my-hero h1 {
  margin: 0 0 4px;
  font-size: 25px;
  line-height: 1.1;
}

.my-hero p {
  margin: 0;
  font-size: 13px;
  font-weight: 700;
}

.my-hero span {
  min-width: 58px;
  min-height: 30px;
  display: inline-grid;
  place-items: center;
  border-radius: 999px;
  color: var(--red-deep);
  background: #fff6f0;
  font-size: 12px;
  font-weight: 900;
}

.my-menu-list {
  padding: 12px 16px 0;
  background: #fff2ea;
}

.my-menu-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
  align-items: center;
  min-height: 38px;
  padding: 7px 10px;
  border: 1px solid #eab9b0;
  border-bottom: 0;
  background: #fff9f2;
}

.my-menu-card:first-child {
  border-radius: 12px 12px 0 0;
}

.my-menu-card:last-child {
  border-bottom: 1px solid #eab9b0;
  border-radius: 0 0 12px 12px;
}

.my-menu-card strong {
  display: block;
  margin-bottom: 2px;
  font-size: 13px;
  line-height: 1.2;
}

.my-menu-card p {
  margin: 0;
  color: var(--muted);
  font-size: 10.5px;
  line-height: 1.25;
}

.my-menu-card .pill-btn {
  min-width: 40px;
  min-height: 22px;
  padding: 0 9px;
  border-radius: 999px;
  font-size: 11px;
  line-height: 22px;
  font-weight: 900;
}

.my-menu-card .status-pill {
  display: inline-grid;
  place-items: center;
  cursor: default;
}

.notification-note-card p {
  grid-column: 1 / -1;
  margin: 0;
  color: var(--muted);
  font-size: 10.5px;
  line-height: 1.35;
}

.settings-page .topbar {
  position: sticky;
  background: #fff2ea;
  backdrop-filter: none;
}

.settings-page .topbar-title {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  color: var(--text);
  font-size: 17px;
  font-weight: 800;
  line-height: 1.2;
  text-align: center;
}

.settings-page .my-menu-list {
  background: #fff2ea;
}

.notification-settings-page,
.notification-settings-page .topbar,
.notification-settings-page .my-menu-list {
  background: #fff2ea;
}

.notification-save-btn {
  min-width: 48px;
  min-height: 28px;
  border: 0;
  border-radius: 999px;
  color: #fff2c8;
  background: var(--red);
  font-size: 12px;
  font-weight: 900;
  line-height: 28px;
  text-align: center;
}

.phone-change-form {
  padding: 12px 16px 0;
  background: #fff2ea;
}

.phone-change-field {
  display: block;
  margin: 0 0 10px;
}

.phone-change-field span {
  display: block;
  margin: 0 0 6px;
  color: #8b6e67;
  font-size: 12px;
  line-height: 1.2;
  font-weight: 700;
}

.phone-change-field input {
  width: 100%;
  height: 36px;
  padding: 0 12px;
  border: 1px solid #e7a79c;
  border-radius: 12px;
  color: var(--text);
  background: #fff9f2;
  font-size: 13px;
  outline: none;
}

.phone-change-field input::placeholder {
  color: #191919;
}

.auth-page {
  min-height: 100vh;
  background: #fff2ea;
  padding-bottom: 78px;
}

.auth-hero {
  min-height: 72px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 16px 13px;
  color: #fff;
  background: #aa2a23;
}

.auth-hero h1 {
  margin: 0 0 5px;
  font-size: 16px;
  line-height: 1.15;
  font-weight: 900;
}

.auth-hero p {
  margin: 0;
  font-size: 11px;
  line-height: 1.25;
  font-weight: 700;
}

.auth-hero > span {
  flex: 0 0 auto;
  margin-top: 1px;
  padding: 3px 8px;
  border-radius: 999px;
  color: #1b7f61;
  background: #dff5ee;
  font-size: 10px;
  line-height: 1.3;
  font-weight: 900;
}

.auth-form {
  padding: 12px 16px 0;
  background: #fff2ea;
}

.auth-notice {
  margin: 0 0 12px;
  padding: 12px;
  border-radius: 10px;
  color: #fff;
  background: #8f241f;
}

.auth-notice strong {
  display: block;
  margin-bottom: 4px;
  font-size: 13px;
  line-height: 1.25;
  font-weight: 900;
}

.auth-notice p {
  margin: 0;
  font-size: 11px;
  line-height: 1.45;
}

.auth-field {
  display: block;
  margin: 0 0 10px;
}

.auth-field span {
  display: block;
  margin: 0 0 6px;
  color: #8b6e67;
  font-size: 11px;
  line-height: 1.2;
  font-weight: 700;
}

.auth-field input {
  width: 100%;
  height: 36px;
  padding: 0 12px;
  border: 1px solid #e7a79c;
  border-radius: 10px;
  color: var(--text);
  background: #fff9f2;
  font-size: 13px;
  outline: none;
}

.auth-field input::placeholder {
  color: #191919;
}

.auth-info-box {
  margin-top: 8px;
  padding: 10px 12px;
  border: 1px solid #acdce0;
  border-radius: 10px;
  color: #526b70;
  background: #e2f6f8;
}

.auth-info-box strong {
  display: block;
  margin-bottom: 4px;
  color: #2a4f54;
  font-size: 12px;
  line-height: 1.25;
  font-weight: 900;
}

.auth-info-box p {
  margin: 0;
  font-size: 11px;
  line-height: 1.45;
}

.auth-bottom-actions {
  position: fixed;
  left: 50%;
  bottom: 0;
  z-index: 22;
  width: min(100vw, 430px);
  transform: translateX(-50%);
  display: grid;
  grid-template-columns: 1fr 1.18fr;
  gap: 12px;
  padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
  background: #fff2ea;
  border-top: 1px solid var(--line);
}

.phone-change-save-actions {
  grid-template-columns: 1fr;
}

.phone-login-actions {
  grid-template-columns: 0.95fr 0.95fr 1.1fr;
}

.account-settings-bottom-actions {
  position: fixed;
  left: 50%;
  bottom: 0;
  z-index: 22;
  width: min(100vw, 430px);
  transform: translateX(-50%);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
  background: #fff2ea;
  border-top: 1px solid var(--line);
}

.account-action {
  min-height: 31px;
  border: 0;
  border-radius: 7px;
  font-size: 12px;
  font-weight: 800;
}

.account-action--logout {
  color: #177553;
  background: #dff4ec;
}

.account-action--cancel {
  color: #fff2c8;
  background: #c93d2f;
}

.account-confirm-sheet {
  background: #fff2ea;
}

.notification-save-dialog {
  position: fixed;
  left: 50%;
  top: 50%;
  z-index: 31;
  width: calc(min(100vw, 430px) - 32px);
  transform: translate(-50%, -50%);
  padding: 18px 16px 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  box-shadow: 0 16px 34px rgba(42, 22, 16, 0.14);
}

.account-confirm-sheet h3 {
  margin: 0 0 8px;
  color: var(--text);
  font-size: 17px;
  line-height: 1.25;
  font-weight: 900;
}

.account-confirm-sheet p {
  margin: 0;
  color: #8b6e67;
  font-size: 12px;
  line-height: 1.55;
}

.account-dialog-actions {
  display: grid;
  grid-template-columns: 1fr 1.12fr;
  gap: 12px;
  margin-top: 16px;
}

.register-gate-sheet .account-dialog-actions {
  grid-template-columns: 0.9fr 1.2fr;
}

.account-dialog-actions.single {
  grid-template-columns: 1fr;
}

.auth-link-btn {
  display: block;
  width: fit-content;
  margin: 10px auto 0;
  border: 0;
  color: #8b6e67;
  background: transparent;
  font-size: 12px;
  font-weight: 800;
}

.pill-btn.danger {
  border: 0;
  color: #fff;
  background: var(--red);
  font-weight: 800;
}

.pill-btn.safe {
  border: 0;
  color: #1b7f61;
  background: #dff5ee;
  font-weight: 800;
}

.message-hero {
  position: relative;
  min-height: 99.5px;
  padding: 22px 18px 16px;
  color: #fff;
  background: var(--green);
}

.message-hero h1 {
  margin: 0 0 4px;
  font-size: 25px;
  line-height: 1.1;
}

.message-hero p {
  max-width: 238px;
  margin: 0;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.45;
}

.message-hero-count {
  position: absolute;
  top: 18px;
  right: 18px;
  min-width: 26px;
  height: 26px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  color: #fff;
  background: var(--red);
  font-size: 12px;
  font-weight: 900;
}

.message-read-all {
  position: absolute;
  right: 18px;
  bottom: 18px;
  border: 0;
  border-radius: 999px;
  padding: 7px 13px;
  color: #128143;
  background: #fff;
  font-size: 12px;
  font-weight: 800;
}

.message-filter-row {
  display: flex;
  gap: 10px;
  align-items: center;
  margin-bottom: 12px;
}

.message-filter-row button {
  min-height: 28px;
  border: 0;
  border-radius: 999px;
  padding: 0 13px;
  color: #13723f;
  background: #e8f8ee;
  font-size: 12px;
  font-weight: 800;
}

.message-filter-row button.is-active {
  color: #fff;
  background: var(--green);
}

.conversation-order-card {
  display: block;
  margin-top: 8px;
  padding: 0;
  overflow: hidden;
  border: 1px solid #ead8cf;
  border-radius: 4px;
  color: var(--text);
  background: #fffaf6;
}

.conversation-order-card-title {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
  align-items: center;
  padding: 7px 9px 6px;
}

.conversation-order-card b {
  min-width: 0;
  color: var(--text);
  font-size: 13px;
  line-height: 1.25;
  font-weight: 900;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.conversation-order-card em {
  margin-right: 2px;
  color: var(--red);
  font-style: normal;
}

.conversation-order-card strong {
  font-weight: 900;
}

.conversation-order-card i {
  min-width: 34px;
  border-radius: 999px;
  padding: 2px 7px;
  color: #128143;
  background: #dff7ea;
  font-size: 10px;
  font-style: normal;
  font-weight: 900;
  text-align: center;
}

.conversation-order-card span {
  display: block;
  padding: 5px 9px;
  color: #7e6f68;
  background: #f3eee9;
  font-size: 10.5px;
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.expert-post-compact-card {
  margin: 6px 0;
  padding: 8px 9px 7px;
  border: 1px solid #efc4ba;
  border-radius: 8px;
  background: #fffaf6;
  cursor: pointer;
}

.expert-post-title-row {
  display: flex;
  align-items: flex-start;
  gap: 6px;
}

.expert-post-title-row h3 {
  flex: 1;
  margin: 0;
  color: var(--text);
  font-size: 13px;
  font-weight: 900;
  line-height: 1.25;
}

.expert-post-title-prefix {
  color: var(--red);
}

.expert-post-state {
  flex: 0 0 auto;
  min-width: 30px;
  min-height: 18px;
  border-radius: 4px;
  padding: 0 6px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  background: var(--red);
  font-size: 9px;
  font-weight: 900;
  line-height: 1;
}

.expert-post-state.is-black {
  background: #24211f;
}

.expert-post-state.is-walk {
  background: #49bdd0;
}

.expert-post-state.is-pending {
  color: #a56b08;
  background: #fff5df;
}

.expert-post-state.is-settled {
  color: #8d4a40;
  background: #ead8d2;
}

.expert-post-fx {
  margin-top: 5px;
  padding: 4px 7px;
  color: #7d6a62;
  background: #f7f1ec;
  font-size: 10px;
  line-height: 1.25;
}

.expert-post-footer {
  display: flex;
  justify-content: space-between;
  gap: 6px;
  margin-top: 5px;
  color: #8c756e;
  font-size: 10px;
  line-height: 1.25;
}

.expert-post-footer span:last-child {
  white-space: nowrap;
}

.article-detail-page {
  padding-top: 16px;
}

.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 14px;
  margin-bottom: 12px;
}

.expert-entry-empty-card {
  min-height: 47px;
  display: flex;
  align-items: center;
  margin-bottom: 12px;
}

.article-title {
  font-size: 17px;
  line-height: 1.36;
  margin: 0 0 8px;
  font-weight: 900;
}

.article-meta-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: var(--muted);
  font-size: 12px;
  margin-bottom: 10px;
}

.muted {
  color: var(--muted);
  font-size: 12px;
}

.expert-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 10px 0 8px;
}

.expert-identity-link,
.expert-name-link {
  border: 0;
  padding: 0;
  background: transparent;
  color: inherit;
  text-align: left;
}

.expert-identity-link {
  display: inline-flex;
  flex: 0 0 auto;
  border-radius: 50%;
}

.expert-name-link {
  flex: 1;
  min-width: 0;
}

.article-expert-name-line {
  display: flex;
  align-items: center;
  gap: 4px;
  min-width: 0;
  flex-wrap: wrap;
}

.article-name-side-tags {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  flex-wrap: wrap;
}

.article-current-highlight-tag {
  min-height: 15px;
  padding: 0 5px;
  display: inline-flex;
  align-items: center;
  gap: 2px;
  border: 1px solid #f02636;
  border-radius: 3px;
  background: #fff8f7;
  color: #e51f2c;
  font-size: 9px;
  line-height: 14px;
  font-weight: 850;
  white-space: nowrap;
}

.article-current-highlight-count {
  min-width: 12px;
  height: 12px;
  padding: 0 3px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 2px;
  background: #9f171f;
  color: #fff;
  font-size: 8px;
  line-height: 12px;
  font-weight: 900;
}

.avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #fff;
  background: #8b7067;
  font-weight: 800;
}

.avatar.avatar-image {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.tag-row {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.tag {
  display: inline-flex;
  align-items: center;
  min-height: 19px;
  padding: 1px 6px;
  border-radius: 4px;
  background: #fff0ef;
  color: var(--red);
  font-size: 10px;
  font-weight: 700;
}

.article-detail-page .expert-name-link .tag {
  border: 1px solid #f02636;
}

.record-strip {
  display: flex;
  align-items: center;
  gap: 4px;
  margin: 7px 0 8px;
  min-height: 21px;
}

.record-side {
  color: var(--muted);
  font-size: 11px;
}

.record-dot {
  width: 20px;
  height: 20px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  font-size: 10px;
  font-style: normal;
  font-weight: 800;
  line-height: 1;
}

.record-dot.red {
  background: var(--red);
}

.record-dot.black {
  background: #202020;
}

.record-dot.walk {
  background: var(--blue-walk);
}

.record-empty {
  min-height: 20px;
  display: inline-flex;
  align-items: center;
  padding: 0 9px;
  border: 1px dashed #dfc3bc;
  border-radius: 999px;
  color: var(--muted);
  background: #fff;
  font-size: 11px;
}

.expert-intro {
  margin: 0 0 12px;
  color: #5f4e48;
  font-size: 12px;
  line-height: 1.55;
}

.match-card {
  border: 1px solid #eadbd5;
  border-radius: 10px;
  overflow: hidden;
  background: #fff;
}

.prototype-match-card {
  margin-top: 10px;
}

.match-head {
  display: flex;
  justify-content: space-between;
  padding: 7px 10px;
  color: var(--red);
  font-size: 12px;
  border-bottom: 1px solid #eadbd5;
}

.teams {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 10px;
  align-items: center;
  padding: 10px;
  text-align: center;
  font-weight: 800;
}

.result-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid #eadbd5;
}

.result-grid.has-handicap-cell {
  grid-template-columns: 0.72fr repeat(3, 1fr);
}

.result-cell {
  min-height: 44px;
  position: relative;
  display: grid;
  place-items: center;
  gap: 2px;
  border-right: 1px solid #eadbd5;
  background: #f7f0ec;
  color: #6f5f59;
  font-size: 12px;
  text-align: center;
}

.result-cell:last-child {
  border-right: 0;
}

.result-cell span {
  color: #8a7770;
  font-size: 11px;
}

.result-cell strong {
  color: inherit;
  font-size: 13px;
}

.locked-grid .result-cell {
  min-height: 48px;
}

.locked-cell {
  overflow: hidden;
}

.locked-cell i {
  width: 54px;
  height: 12px;
  border-radius: 999px;
  background:
    repeating-linear-gradient(-35deg, rgba(178, 197, 202, 0.52) 0 7px, rgba(247, 250, 250, 0.82) 7px 14px);
  filter: blur(1px);
}

.line-cell {
  background: #fffaf6;
}

.line-cell strong {
  color: #3f302b;
  font-size: 14px;
  font-weight: 800;
}

.handicap-cell strong {
  font-size: 13px;
}

.result-cell.is-picked {
  outline: 1px dashed var(--red);
  outline-offset: -5px;
  color: var(--red);
  background: rgba(223, 42, 42, 0.07);
  font-weight: 800;
}

.result-cell.is-black {
  color: #fff;
  background: #242424;
}

.result-cell.is-walk {
  background: rgba(88, 199, 223, 0.18);
  color: #127a8d;
}

.match-ps {
  padding: 6px 10px 7px;
  border-top: 1px solid #eadbd5;
  color: var(--muted);
  background: #fff;
  font-size: 10px;
  line-height: 1.35;
}

.pay-lock {
  position: relative;
  overflow: hidden;
  min-height: 86px;
  border: 1px solid #f0d2cb;
  border-radius: 10px;
  background: repeating-linear-gradient(0deg, #fff, #fff 12px, #f8eee9 13px, #f8eee9 17px);
  display: grid;
  place-items: center;
  text-align: center;
}

.pay-lock strong {
  background: #fff;
  border: 1px solid #f4b8b0;
  border-radius: 999px;
  padding: 8px 16px;
  color: var(--red);
}

.prototype-pay-lock {
  margin-top: 10px;
}

.prototype-pay-lock span {
  display: block;
  margin-top: 8px;
  color: var(--red);
  font-size: 11px;
  font-weight: 700;
}

.article-preview-block {
  margin-top: 12px;
}

.article-preview-block h3 {
  margin: 6px 0 6px;
  font-size: 15px;
}

.article-preview-block p {
  margin: 0;
  font-size: 12px;
  line-height: 1.55;
}

.article-content-body {
  display: grid;
  gap: 6px;
  margin: 8px 0 0;
}

.article-content-body p {
  margin: 0;
  font-size: 14px;
  line-height: 1.65;
}

.article-preview-content p {
  font-size: 12px;
  line-height: 1.55;
}

.article-content-marker {
  font-weight: 900;
}

.section-badge {
  display: inline-flex;
  align-items: center;
  min-height: 22px;
  padding: 2px 7px;
  border-radius: 4px;
  color: #fff;
  background: var(--red);
  font-size: 11px;
  font-weight: 800;
}

.lock-disclaimer {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.5;
  text-align: center;
}

.article-detail-page {
  padding-bottom: 142px;
}

.article-risk-notice {
  position: fixed;
  left: 50%;
  bottom: calc(132px + env(safe-area-inset-bottom));
  width: min(calc(100vw - 32px), 398px);
  transform: translateX(-50%);
  margin: 0;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.45;
  text-align: center;
  z-index: 21;
  pointer-events: none;
}

.bottom-action {
  position: fixed;
  left: 50%;
  bottom: calc(62px + env(safe-area-inset-bottom));
  width: min(100vw, 430px);
  transform: translateX(-50%);
  display: grid;
  grid-template-columns: 104px 1fr;
  gap: 12px;
  padding: 10px 16px;
  background: rgba(255, 250, 246, 0.96);
  border-top: 1px solid var(--line);
  z-index: 9;
}

.bottom-action .ghost-btn,
.bottom-action .primary-btn {
  white-space: nowrap;
}

.post-card,
.order-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px;
  margin-bottom: 10px;
}

.orders-page {
  min-height: calc(100vh - 68px - env(safe-area-inset-bottom));
  background: #fff7f2;
}

.orders-topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  min-height: 48px;
  padding: 6px 14px;
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr) 38px;
  align-items: center;
  gap: 8px;
  background: rgba(255, 250, 246, 0.97);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(10px);
}

.orders-back {
  width: 30px;
  height: 30px;
  padding: 0;
  display: grid;
  place-items: center;
  font-size: 20px;
  line-height: 1;
}

.orders-title {
  text-align: center;
}

.orders-title strong {
  display: block;
  font-size: 14px;
  line-height: 1.2;
  letter-spacing: -0.1px;
}

.orders-title small {
  display: block;
  margin-top: 2px;
  color: var(--muted);
  font-size: 9.5px;
  font-weight: 700;
}

.orders-section {
  padding: 8px 14px 24px;
}

.post-card h3,
.order-card h3 {
  margin: 0 0 8px;
  font-size: 15px;
  line-height: 1.35;
}

.order-tabs {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 5px;
  margin-bottom: 7px;
}

.order-tab {
  min-height: 22px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--red-deep);
  background: #fff1ec;
  font-weight: 700;
  font-size: 9px;
}

.order-tab.is-active {
  border-color: var(--red);
  color: #fff;
  background: var(--red);
}

.order-state-note {
  margin: 0 0 10px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
}

.order-card-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 42px;
  gap: 6px;
  align-items: center;
}

.orders-compact-list {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
}

.orders-empty-state {
  padding: 14px 12px;
  color: var(--muted);
  background: #fffaf6;
  font-size: 12px;
  line-height: 1.45;
}

.compact-order-card {
  margin: 0;
  padding: 5px 8px 6px;
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  background: #fffaf6;
}

.compact-order-card:last-child {
  border-bottom: 0;
}

.compact-order-card h3 {
  margin-bottom: 0;
  font-size: 10px;
  line-height: 1.18;
  letter-spacing: 0;
}

.compact-order-card .compact-order-card-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 6px;
  align-items: start;
}

.compact-order-row .compact-article-title {
  margin: 0;
  font-size: 10px;
  line-height: 1.18;
  letter-spacing: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.compact-order-card h3 em {
  margin-right: 2px;
  color: var(--red-deep);
  font-style: normal;
}

.order-status-pill {
  min-height: 17px;
  border: 0;
  padding: 0 5px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  color: #fff;
  background: var(--red);
  font-size: 8px;
  font-weight: 800;
  white-space: nowrap;
}

.order-status-pill.is-wood {
  color: #198754;
  background: #dff7e8;
}

.order-status-pill.is-danger {
  color: #fff;
  background: #c83a2f;
}

.order-status-pill.is-black {
  color: #fff;
  background: #232323;
}

.order-status-pill.is-walk {
  color: #fff;
  background: #55c1d3;
}

.order-status-pill.is-pending {
  color: #9b6b10;
  background: #fff2cf;
}

.order-status-pill.is-result {
  color: #fff;
  background: var(--red);
}

.compact-order-card .order-status-pill {
  min-width: 22px;
  min-height: 14px;
  padding: 0 5px;
  border-radius: 4px;
  font-size: 8px;
  line-height: 1;
}

.order-match-line {
  margin-top: 3px;
  padding: 3px 5px;
  color: #6f6258;
  background: #f3eee9;
  border-radius: 0;
  font-size: 8px;
  line-height: 1.1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.compact-order-row .compact-article-meta {
  margin-top: 3px;
  padding: 3px 5px;
  font-size: 8px;
  line-height: 1.1;
}

.order-subline {
  margin-top: 4px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
}

.order-truth-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin: 10px 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--line);
}

.order-truth-grid span {
  min-height: 34px;
  display: grid;
  place-items: center;
  padding: 6px 4px;
  color: var(--ink);
  background: #fff9f6;
  font-size: 11px;
  font-weight: 700;
  text-align: center;
  line-height: 1.25;
}

.order-actions {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.order-action {
  min-height: 34px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--red-deep);
  background: #fff;
  font-size: 12px;
  font-weight: 800;
  white-space: nowrap;
}

.order-action.primary {
  border-color: var(--red);
  color: #fff;
  background: var(--red);
}

.message-card {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 8px;
  margin: 0;
  padding: 8px 10px;
  border: 0;
  border-bottom: 1px solid #e0eadf;
  border-radius: 0;
  background: #fff;
  cursor: pointer;
}

.message-list-panel {
  margin: 0;
  overflow: hidden;
  border: 1px solid #d9eadb;
  border-radius: 12px;
  background: #fff;
}

.message-list-panel .message-card:last-child {
  border-bottom: 0;
}

.message-empty-state {
  padding: 14px 16px;
  color: #766c66;
  font-size: 13px;
  line-height: 1.4;
  background: #fff;
}

.message-avatar {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  align-self: start;
  border-radius: 50%;
  color: #fff;
  background: #22a95c;
  font-size: 11px;
  font-weight: 900;
}

.message-avatar.avatar-image,
.chat-avatar.avatar-image {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.message-card-main {
  min-width: 0;
}

.message-card-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 6px;
  align-items: center;
}

.message-card h3 {
  margin: 0;
  font-size: 12px;
  line-height: 1.25;
}

.message-owner {
  margin-left: 2px;
  color: var(--red);
  font-size: 10px;
  font-weight: 800;
}

.message-owner.red {
  color: var(--red);
}

.message-owner.water {
  color: #257c98;
}

.message-status {
  min-width: 18px;
  min-height: 18px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  color: #fff;
  background: var(--red);
  font-size: 9px;
  font-weight: 800;
}

.message-status.is-read {
  min-width: auto;
  min-height: 18px;
  padding: 0 6px;
  color: #158657;
  background: #fff0ed;
}

.message-status.is-unread {
  background: var(--red);
}

.message-card p,
.message-meta {
  margin: 3px 0 0;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.25;
}

.message-inline-match {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: #8a594e;
  font-size: 10px;
  font-weight: 800;
}

.prototype-runtime-contract-note {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.message-category-badge {
  display: inline-flex;
  align-items: center;
  min-height: 17px;
  padding: 0 7px;
  border-radius: 999px;
  color: #13723f;
  background: #e8f8ee;
  font-size: 10px;
  font-weight: 800;
}

.message-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 8px;
}

.message-actions button {
  min-height: 24px;
  padding: 0 10px;
  border: 1px solid #bde8cf;
  border-radius: 999px;
  color: #13723f;
  background: #f7fff9;
  font-size: 11px;
  font-weight: 800;
}

.message-enter {
  display: none;
}

.message-card .conversation-order-card {
  margin-top: 4px;
}

.message-card .conversation-image-card {
  margin-top: 4px;
  grid-template-columns: 30px minmax(0, 1fr);
  gap: 7px;
  padding: 5px 7px;
  border-radius: 8px;
}

.message-card .conversation-image-card .image-thumb {
  width: 30px;
  height: 30px;
  border-radius: 6px;
  font-size: 10px;
}

.message-card .conversation-image-card strong {
  font-size: 11px;
  line-height: 1.15;
}

.message-card .conversation-image-card p {
  margin-top: 1px;
  font-size: 9px;
  line-height: 1.15;
}

.service-subject {
  margin: 0 0 8px;
  color: var(--red-deep);
  font-size: 12px;
  font-weight: 800;
}

.prototype-route[data-prototype-page="CLIENT-30"],
.prototype-route[data-prototype-page="CLIENT-30B"] {
  height: 100vh;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: var(--paper);
  color: #111;
  font-family: "PingFang SC", -apple-system, BlinkMacSystemFont, sans-serif;
}

.h5-shell[data-prototype-page="CLIENT-30"] .h5-view,
.h5-shell[data-prototype-page="CLIENT-30B"] .h5-view {
  padding-bottom: 0;
  background: var(--paper);
}

.h5-shell[data-prototype-page="CLIENT-30"] .h5-tabs,
.h5-shell[data-prototype-page="CLIENT-30B"] .h5-tabs {
  display: none;
}

.wechat-chat-topbar {
  position: relative;
  flex: 0 0 56px;
  height: 56px;
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr) 56px;
  align-items: center;
  background: var(--paper);
  border-bottom: 1px solid #e5e5e5;
}

.wechat-chat-back,
.wechat-chat-more {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border: 0;
  color: #111;
  background: transparent;
}

.wechat-chat-back {
  font-size: 40px;
  line-height: 1;
  font-weight: 300;
}

.wechat-chat-more {
  font-size: 18px;
  letter-spacing: 2px;
  font-weight: 700;
}

.wechat-chat-title {
  overflow: hidden;
  color: #111;
  font-size: 17px;
  font-weight: 600;
  line-height: 56px;
  text-align: center;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.prototype-route[data-prototype-page="CLIENT-30"] > .section,
.prototype-route[data-prototype-page="CLIENT-30B"] > .section {
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  padding: 0 0 58px;
  background: var(--paper);
}

.prototype-route[data-prototype-page="CLIENT-30"] .service-subject,
.prototype-route[data-prototype-page="CLIENT-30B"] .service-subject {
  display: none;
}

.chat-thread {
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
  overflow-y: auto;
  padding: 16px 12px 96px;
  background: var(--paper);
  scrollbar-width: none;
}

.chat-thread::-webkit-scrollbar {
  display: none;
}

.chat-time-divider {
  align-self: center;
  margin: 6px 0 2px;
  color: #b2b2b2;
  font-size: 13px;
  line-height: 1.2;
}

.chat-row {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  width: 100%;
}

.chat-row.is-mine {
  justify-content: flex-end;
}

.chat-avatar {
  flex: 0 0 40px;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 4px;
  color: #fff;
  background: #9a8a83;
  font-size: 16px;
  font-weight: 700;
  line-height: 1;
}

.chat-avatar-mine {
  background: #b66d62;
}

.chat-bubble {
  position: relative;
  max-width: 70%;
  min-height: 40px;
  padding: 10px 12px;
  border: 0;
  border-radius: 4px;
  background: #fff;
  color: #111;
  word-break: break-word;
}

.chat-bubble > .chat-sender {
  display: none;
}

.chat-bubble p {
  margin: 0;
  color: #111;
  font-size: 16px;
  line-height: 1.45;
}

.conversation-image-card {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr);
  gap: 8px;
  align-items: center;
  border: 1px solid #d7efe0;
  border-radius: 9px;
  padding: 7px;
  background: #f5fff9;
}

.conversation-image-card .image-thumb {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 7px;
  color: #138143;
  background: #dff7ea;
  font-size: 12px;
  font-weight: 900;
}

.conversation-image-card strong,
.conversation-image-card p {
  display: block;
  margin: 0;
}

.conversation-image-card p {
  margin-top: 2px;
  color: var(--muted);
  font-size: 10px;
}

.chat-bubble.is-mine {
  background: #95ec69;
}

.chat-bubble.is-service {
  background: #fff;
}

.chat-row.is-service .chat-bubble::before {
  content: "";
  position: absolute;
  top: 12px;
  left: -6px;
  width: 0;
  height: 0;
  border-top: 5px solid transparent;
  border-right: 6px solid #fff;
  border-bottom: 5px solid transparent;
}

.chat-row.is-mine .chat-bubble::after {
  content: "";
  position: absolute;
  top: 12px;
  right: -6px;
  width: 0;
  height: 0;
  border-top: 5px solid transparent;
  border-bottom: 5px solid transparent;
  border-left: 6px solid #95ec69;
}

.chat-compose {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 72px;
  gap: 8px;
}

.chat-compose input {
  min-width: 0;
  height: 40px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0 12px;
  background: #fff;
  font-size: 14px;
}

.chat-bottom-action {
  bottom: 0;
  grid-template-columns: 34px minmax(0, 1fr) 34px 34px auto;
  gap: 8px;
  align-items: center;
  padding: 8px 10px calc(8px + env(safe-area-inset-bottom));
  background: var(--paper);
  border-top: 1px solid #d9d9d9;
}

.wechat-chat-tool {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1.6px solid #111;
  border-radius: 50%;
  color: #111;
  background: transparent;
  font-size: 22px;
  line-height: 1;
  font-weight: 500;
}

.wechat-chat-voice {
  font-size: 16px;
}

.chat-plus {
  font-size: 24px;
}

.chat-bottom-action input {
  min-width: 0;
  height: 38px;
  border: 0;
  border-radius: 4px;
  padding: 0 12px;
  background: #fff;
  color: #111;
  font-size: 16px;
}

.chat-bottom-action .wechat-chat-send {
  min-width: 0;
  height: 34px;
  padding: 0 10px;
  border: 0;
  border-radius: 6px;
  color: #fff;
  background: #07c160;
  font-size: 14px;
  font-weight: 700;
}

.expert-hero {
  position: sticky;
  top: 52px;
  z-index: 9;
  padding: 14px 16px 11px;
  color: #fff;
  background:
    radial-gradient(circle at 78% 18%, rgba(255, 255, 255, 0.12), transparent 32%),
    linear-gradient(135deg, #f22334, #ea1f31);
}

.expert-home-page .topbar {
  color: #fff;
  background:
    radial-gradient(circle at 78% 18%, rgba(255, 255, 255, 0.12), transparent 32%),
    linear-gradient(135deg, #f22334, #ea1f31);
  border-bottom-color: transparent;
  backdrop-filter: none;
}

.expert-home-page .topbar .icon-btn {
  border-color: rgba(255, 255, 255, 0.7);
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
}

.expert-topbar-share {
  width: 28px;
  height: 28px;
  border: 0;
  color: #fff;
  background: transparent;
  font-size: 16px;
  line-height: 28px;
  font-weight: 800;
  text-align: center;
}

.expert-hero h1 {
  margin: 0;
  font-size: 20px;
  line-height: 1.1;
}

.expert-hero .avatar {
  width: 44px;
  height: 44px;
  border: 2px solid rgba(255, 255, 255, 0.8);
  background: rgba(104, 55, 48, 0.72);
  font-size: 18px;
}

.expert-hero-main-row {
  display: flex;
  align-items: center;
  gap: 9px;
  min-width: 0;
  padding-right: 25px;
}

.expert-identity {
  flex: 1;
  min-width: 0;
  font-weight: 600;
}

.expert-hero-name-row {
  display: flex;
  align-items: center;
  gap: 5px;
  min-width: 0;
}

.expert-hero-current-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  min-width: 0;
}

.expert-hero-current-tag {
  display: inline-flex;
  align-items: center;
  min-height: 16px;
  padding: 0 5px;
  border: 1px solid #fff;
  border-radius: 4px;
  color: #e9232e;
  background: #fff;
  font-size: 10px;
  line-height: 16px;
  font-weight: 700;
  white-space: nowrap;
}

.expert-hero-current-count {
  display: inline-block;
  min-width: 12px;
  margin-right: 2px;
  padding: 0 2px;
  border-radius: 2px;
  color: #fff;
  background: #b3121c;
  line-height: 12px;
  text-align: center;
}

.expert-hero-meta {
  margin-top: 3px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 11px;
  line-height: 1.25;
  font-weight: 600;
}

.expert-hero-signature {
  margin: 9px 0 0;
  font-size: 12px;
  line-height: 1.35;
  font-weight: 650;
}

.expert-hero .expert-specialty-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 6px;
  margin: 8px 0 0;
}

.expert-hero .expert-specialty-strip span {
  font-size: 10px;
  line-height: 18px;
  font-weight: 650;
  color: rgba(255, 255, 255, 0.86);
}

.expert-hero .expert-specialty-strip b {
  min-height: 18px;
  padding: 0 7px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 4px;
  color: #fff;
  background: rgba(255, 255, 255, 0.22);
  font-size: 10px;
  line-height: 18px;
  font-weight: 600;
  white-space: nowrap;
}

.expert-hero-follow {
  flex: 0 0 auto;
  min-width: 54px;
  height: 28px;
  border: 1px solid #fff;
  border-radius: 8px;
  color: #e9232e;
  background: #fff;
  font-size: 12px;
  font-weight: 800;
  line-height: 26px;
  text-align: center;
}

.expert-hero-share {
  position: absolute;
  top: 7px;
  right: 8px;
  width: 28px;
  height: 28px;
  border: 0;
  color: #fff;
  background: transparent;
  font-size: 16px;
  line-height: 28px;
  font-weight: 800;
  text-align: center;
}

.follow-pill {
  min-width: 68px;
  text-align: center;
}

.pill-btn.compact {
  padding: 6px 13px;
}

.article-detail-page .expert-row .pill-btn[data-action="follow"] {
  border-color: var(--red);
  color: #fff;
  background: var(--red);
  border-radius: 12px;
  font-weight: 800;
}

.expert-switches {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 7px 10px;
  align-items: start;
  margin-bottom: 10px;
}

.expert-switches button {
  min-height: 27px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--red-deep);
  background: #fff;
  font-size: 11px;
  font-weight: 800;
}

.expert-main-tabs {
  display: flex;
  align-items: center;
  gap: 16px;
}

.expert-main-tabs button {
  min-height: 29px;
  padding: 0 2px;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #5d4c46;
  font-size: 15px;
  position: relative;
}

.expert-main-tabs button.is-active {
  color: var(--text);
  background: transparent;
}

.expert-main-tabs button.is-active::after {
  content: "";
  position: absolute;
  left: 2px;
  right: 2px;
  bottom: 0;
  height: 3px;
  border-radius: 999px;
  background: var(--red);
}

.expert-segment {
  display: grid;
  grid-template-columns: repeat(2, 48px);
  gap: 7px;
}

.expert-sub-tabs {
  grid-column: 1 / -1;
  display: flex;
  gap: 7px;
}

.expert-segment button,
.expert-sub-tabs button {
  padding: 0 10px;
}

.expert-segment button.is-active,
.expert-sub-tabs button.is-active {
  border-color: var(--red);
  color: #fff;
  background: var(--red);
}

.expert-panel-card {
  padding: 8px 10px;
  margin-bottom: 8px;
  border: 1px solid #f0d2cb;
  border-radius: 10px;
  background: #fff;
}

.expert-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 6px;
}

.expert-panel-head strong {
  font-size: 14px;
}

.expert-hit-card {
  min-height: 140px;
  padding: 8px 10px;
}

.expert-hit-head {
  margin-bottom: 6px;
}

.expert-hit-head > div {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.expert-hit-head .hit-rate {
  min-height: 20px;
  padding: 0 8px;
  margin: 0;
  font-size: 10.5px;
  line-height: 20px;
}

.expert-hit-head .pill-btn {
  min-height: 24px;
  padding: 0 10px;
  border-color: #f0c8c0;
  font-size: 11px;
  line-height: 24px;
  background: #fff;
}

.expert-hit-card .expert-time-chip-row {
  gap: 5px;
  margin: 4px 0 7px;
}

.expert-hit-card .expert-time-chip-row .time-chip {
  min-height: 22px;
  font-size: 10.5px;
}

.stat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  text-align: center;
}

.stat-grid div {
  min-height: 34px;
  display: grid;
  place-items: center;
  border-right: 1px solid #f0d2cb;
}

.stat-grid div:last-child {
  border-right: 0;
}

.stat-grid strong {
  color: var(--red);
  font-size: 16px;
}

.stat-grid span {
  color: var(--muted);
  font-size: 10px;
}

.trend-row {
  display: flex;
  gap: 4px;
  align-items: center;
  justify-content: center;
  margin-top: 6px;
}

.trend-row em {
  color: var(--muted);
  font-size: 10px;
  font-style: normal;
}

.trend-row span {
  width: 20px;
  height: 20px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  font-size: 10px;
  font-weight: 800;
}

.trend-row .red {
  background: var(--red);
}

.trend-row .black {
  background: #222;
}

.trend-row .walk {
  background: var(--blue-walk);
  color: #fff;
}

.trend-empty {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 0 10px;
  border: 1px dashed #dfc3bc;
  border-radius: 999px;
  color: var(--muted);
  background: #fff;
  font-size: 11px;
}

.expert-list-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin: 14px 0 8px;
}

.expert-list-head h2 {
  margin: 0;
  color: var(--red);
  font-size: 19px;
  line-height: 1.25;
}

.expert-list-head span {
  color: var(--muted);
  font-size: 11px;
}

.hit-rate {
  display: inline-flex;
  min-height: 20px;
  align-items: center;
  margin-bottom: 5px;
  padding: 2px 8px;
  border-radius: 4px;
  color: var(--red);
  background: #fff0ef;
  font-size: 11px;
  font-weight: 800;
}

.expert-time-chip-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 5px;
  margin: 4px 0 7px;
}

.expert-time-chip-row .time-chip {
  min-height: 22px;
  border: 1px solid #f0c8c0;
  border-radius: 999px;
  color: var(--muted);
  background: #fff;
  font-size: 10.5px;
  font-weight: 800;
}

.expert-time-chip-row .time-chip.is-active {
  border-color: var(--red);
  color: #fff;
  background: var(--red);
}

.hit-chart {
  width: 100%;
  overflow: hidden;
}

.expert-hit-card .hit-chart {
  width: calc(100% + 12px);
  margin: -2px -6px 0;
}

.hit-chart svg {
  width: 100%;
  height: 132px;
}

.expert-hit-card .hit-chart svg {
  height: 60px;
}

.hit-chart line {
  stroke: #f1e2dc;
  stroke-width: 1;
}

.hit-chart text {
  fill: #9b8a84;
  font-size: 11px;
}

.expert-hit-card .hit-chart text {
  font-size: 10px;
}

.hit-chart .x-label {
  text-anchor: middle;
}

.hit-chart .hit-area {
  fill: rgba(223, 42, 42, 0.12);
  stroke: 0;
}

.hit-chart .hit-line {
  fill: none;
  stroke: #ff4a5c;
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.hit-chart circle {
  fill: #fff;
  stroke: #ff4a5c;
  stroke-width: 3;
}

.empty-trend {
  min-height: 112px;
  display: grid;
  place-items: center;
  color: var(--muted);
  border: 1px dashed #ecd7cf;
  border-radius: 10px;
  background: #fffaf6;
}

.expert-hit-card .empty-trend {
  min-height: 66px;
}

.date-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 12px;
}

.date-grid label {
  display: grid;
  gap: 6px;
  color: var(--muted);
  font-size: 12px;
}

.date-grid input {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 10px;
  background: #fff;
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 92px;
  transform: translateX(-50%);
  z-index: 50;
  max-width: min(360px, calc(100vw - 28px));
  padding: 10px 14px;
  color: #fff;
  background: rgba(37, 27, 24, 0.88);
  border-radius: 999px;
  font-size: 13px;
}

.sheet-mask {
  position: fixed;
  inset: 0;
  z-index: 30;
  background: rgba(37, 27, 24, 0.2);
}

.bottom-sheet {
  position: fixed;
  left: 50%;
  bottom: 0;
  z-index: 31;
  width: min(100vw, 430px);
  max-height: 72vh;
  transform: translateX(-50%);
  padding: 18px 16px calc(16px + env(safe-area-inset-bottom));
  overflow-y: auto;
  background: #fffaf6;
  border: 1px solid var(--line);
  border-radius: 18px 18px 0 0;
  box-shadow: 0 -16px 34px rgba(42, 22, 16, 0.14);
}

.bottom-sheet h3 {
  margin: 0 0 4px;
}

.sheet-order-list {
  display: grid;
  gap: 8px;
  margin: 12px 0;
}

.attach-option-list {
  display: grid;
  gap: 8px;
  margin: 12px 0;
}

.attach-option {
  width: 100%;
  text-align: left;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  padding: 12px;
  color: var(--text);
  cursor: pointer;
}

.attach-option strong,
.attach-option span {
  display: block;
}

.attach-option span {
  margin-top: 4px;
  color: var(--muted);
  font-size: 12px;
}

.sheet-order {
  width: 100%;
  text-align: left;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  padding: 11px 12px;
  color: var(--text);
}

.sheet-order strong,
.sheet-order span {
  display: block;
}

.sheet-order span {
  margin-top: 4px;
  color: var(--muted);
  font-size: 12px;
}

.sheet-order.is-selected {
  border-color: var(--green);
  background: #f1fff7;
}

.sheet-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.sheet-actions.single {
  grid-template-columns: 1fr;
}
