* {
  box-sizing: border-box;
}

:root {
  --blue: #1766d1;
  --blue-dark: #0f4fa8;
  --green: #12a08c;
  --text: #152033;
  --muted: #64748b;
  --line: #dbe4ed;
  --bg: #eef3f8;
  --card: #ffffff;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", sans-serif;
}

button,
input,
select {
  font: inherit;
}

button {
  border: 0;
  cursor: pointer;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 5;
  border-bottom: 1px solid rgba(219, 228, 237, 0.86);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(16px);
}

.header-inner {
  max-width: 1180px;
  height: 72px;
  display: flex;
  align-items: center;
  gap: 28px;
  margin: 0 auto;
  padding: 0 28px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 220px;
}

.logo {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--blue), var(--green));
  color: #ffffff;
  font-weight: 900;
}

.brand strong {
  display: block;
  font-size: 20px;
}

.brand span {
  display: block;
  margin-top: 2px;
  color: var(--muted);
  font-size: 12px;
}

.account-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
}

.user-badge {
  max-width: 160px;
  padding: 8px 12px;
  border-radius: 999px;
  background: #f4f7fb;
  color: #334155;
  font-size: 13px;
  font-weight: 900;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.nav {
  display: flex;
  align-items: center;
  gap: 6px;
  flex: 1;
}

.nav-item {
  height: 40px;
  padding: 0 16px;
  border-radius: 12px;
  background: transparent;
  color: #475569;
  font-size: 14px;
  font-weight: 800;
}

.nav-item.active {
  background: #e7f0ff;
  color: var(--blue);
}

.header-cta,
.primary-btn,
.ghost-btn,
.section-head button,
.search-row button,
.plan button,
.side-card button {
  min-height: 40px;
  padding: 0 16px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 900;
}

.header-cta,
.primary-btn,
.plan.strong button {
  background: var(--blue);
  color: #ffffff;
}

.ghost-btn,
.section-head button,
.plan button,
.side-card button {
  background: #e7f0ff;
  color: var(--blue);
}

.danger-btn {
  background: #fff1f2;
  color: #e11d48;
}

.page-shell {
  max-width: 1180px;
  margin: 0 auto;
  padding: 22px 28px 28px;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(310px, 0.55fr);
  gap: 20px;
  padding: 24px 28px;
  border-radius: 22px;
  color: #ffffff;
  background: linear-gradient(135deg, #0b3978, var(--blue) 58%, var(--green));
  box-shadow: 0 18px 38px rgba(23, 102, 209, 0.2);
}

.hero-copy p,
.hero-copy h1 {
  margin: 0;
}

.hero-copy p {
  color: rgba(255, 255, 255, 0.82);
  font-size: 13px;
  font-weight: 800;
}

.hero-copy h1 {
  max-width: 680px;
  margin-top: 8px;
  font-size: 30px;
  line-height: 1.26;
  letter-spacing: 0;
}

.hero-copy span {
  display: block;
  max-width: 640px;
  margin-top: 10px;
  color: rgba(255, 255, 255, 0.84);
  font-size: 14px;
  line-height: 1.58;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 20px;
}

.hero-primary {
  min-height: 42px;
  padding: 0 18px;
  border-radius: 12px;
  background: #ffffff;
  color: var(--blue);
  font-size: 14px;
  font-weight: 900;
  box-shadow: 0 10px 24px rgba(8, 42, 92, 0.16);
}

.hero-link {
  min-height: 42px;
  padding: 0 8px;
  border-radius: 0;
  background: transparent;
  color: rgba(255, 255, 255, 0.88);
  font-size: 14px;
  font-weight: 900;
}

.hero-link::after {
  margin-left: 6px;
  content: "→";
}

.hero-link:hover {
  color: #ffffff;
}

.hero-panel {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

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

.metric-row div,
.metric-row button,
.message-preview {
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 15px;
  background: rgba(255, 255, 255, 0.13);
}

.metric-row div,
.metric-row button {
  padding: 12px 8px;
  text-align: center;
}

.metric-row button {
  color: #ffffff;
}

.metric-row button:hover {
  background: rgba(255, 255, 255, 0.22);
}

.metric-row b {
  display: block;
  font-size: 23px;
}

.metric-row span {
  display: block;
  margin-top: 4px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 12px;
}

.message-preview {
  padding: 14px 16px;
}

.message-preview p {
  margin: 6px 0 12px;
  color: rgba(255, 255, 255, 0.84);
  font-size: 13px;
  line-height: 1.5;
}

.message-preview button {
  height: 34px;
  padding: 0 14px;
  border-radius: 12px;
  background: #ffffff;
  color: var(--blue);
  font-size: 13px;
  font-weight: 900;
}

.content-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 22px;
  margin-top: 22px;
  min-width: 0;
}

.content-grid > * {
  min-width: 0;
  max-width: 100%;
}

.auth-view .content-grid {
  grid-template-columns: minmax(0, 820px);
  justify-content: center;
  min-height: calc(100vh - 118px);
}

.auth-view .side-column {
  display: none;
}

.hero.hidden + .content-grid {
  margin-top: 0;
}

.panel,
.side-card,
.project-card,
.plan,
.empty-follow {
  border: 1px solid rgba(219, 228, 237, 0.92);
  border-radius: 18px;
  background: var(--card);
  box-shadow: 0 14px 34px rgba(21, 32, 51, 0.055);
}

.panel {
  padding: 22px;
  min-width: 0;
  max-width: 100%;
}

.hidden {
  display: none !important;
}

.section-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
}

.section-head h2 {
  margin: 0;
  font-size: 24px;
}

.section-head p {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.project-list {
  display: grid;
  gap: 14px;
}

.project-card {
  padding: 18px;
}

.result-pill {
  flex: 0 0 auto;
  padding: 8px 12px;
  border-radius: 999px;
  background: #e7f0ff;
  color: var(--blue);
  font-size: 13px;
  font-weight: 900;
}

.project-card header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.tag {
  padding: 5px 10px;
  border-radius: 999px;
  background: #e7f0ff;
  color: #0d3f86;
  font-size: 12px;
  font-weight: 900;
}

.deadline {
  color: #d94d45;
  font-size: 13px;
  font-weight: 900;
}

.project-card h3 {
  margin: 13px 0 0;
  font-size: 19px;
  line-height: 1.42;
}

.project-card p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.65;
}

.follow-tools {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 14px;
  padding: 12px;
  border: 1px solid #edf2f7;
  border-radius: 12px;
  background: #fbfdff;
}

.follow-stage {
  display: grid;
  gap: 3px;
}

.follow-stage span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.follow-stage strong {
  color: var(--blue);
  font-size: 15px;
}

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

.follow-actions {
  justify-content: flex-end;
}

.follow-actions select {
  min-height: 32px;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 0 10px;
  background: #ffffff;
  color: #334155;
  font-size: 13px;
  font-weight: 800;
}

.follow-category-tabs {
  display: flex;
  gap: 22px;
  overflow-x: auto;
  margin: -4px 0 18px;
  padding-bottom: 10px;
  border-bottom: 1px solid #edf2f7;
}

.follow-category-tabs button {
  position: relative;
  flex: 0 0 auto;
  min-height: 36px;
  padding: 0 2px;
  background: transparent;
  color: #334155;
  font-size: 15px;
  font-weight: 900;
}

.follow-category-tabs button.active {
  color: var(--blue);
}

.follow-category-tabs button.active::after {
  position: absolute;
  right: 0;
  bottom: -10px;
  left: 0;
  height: 3px;
  border-radius: 999px;
  background: var(--blue);
  content: "";
}

.follow-category-tabs button:nth-child(3) {
  color: #e5484d;
}

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

.meta span {
  padding: 6px 10px;
  border-radius: 10px;
  background: #f4f7fb;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.search-row {
  display: flex;
  gap: 10px;
  min-height: 48px;
  margin-bottom: 12px;
}

.search-row input {
  flex: 1;
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 0 16px;
  outline: 0;
  color: var(--text);
  background: #ffffff;
}

.sort-controls {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.sort-chip,
.follow-actions button {
  min-height: 32px;
  padding: 0 12px;
  border-radius: 10px;
  background: #f4f7fb;
  color: #475569;
  font-size: 13px;
  font-weight: 800;
}

.sort-chip.active,
.follow-actions button.active {
  background: var(--blue);
  color: #ffffff;
}

.pager-toolbar {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 13px;
  font-weight: 900;
}

.pager-toolbar label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.pager-toolbar select {
  height: 34px;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 0 10px;
  outline: 0;
  background: #ffffff;
  color: var(--text);
  font-weight: 800;
}

.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
}

.pagination button {
  min-width: 34px;
  height: 34px;
  border-radius: 10px;
  padding: 0 10px;
  background: #f4f7fb;
  color: #475569;
  font-size: 13px;
  font-weight: 900;
}

.pagination button.active {
  background: var(--blue);
  color: #ffffff;
}

.pagination button:disabled {
  cursor: not-allowed;
  opacity: 0.48;
}

.pagination span {
  color: var(--muted);
  font-weight: 900;
}

.filter-toggle {
  background: #eef4ff;
  color: var(--blue);
}

.filter-toggle.active {
  background: var(--blue);
  color: #ffffff;
}

.filter-summary-row {
  display: flex;
  align-items: center;
  min-height: 34px;
  margin: -2px 0 10px;
  color: var(--muted);
  font-size: 13px;
}

.filter-board {
  margin-bottom: 16px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fbfdff;
}

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

.filter-toolbar strong {
  font-size: 16px;
}

.filter-toolbar div {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--muted);
  font-size: 13px;
}

.filter-toolbar button {
  height: 32px;
  padding: 0 12px;
  border-radius: 10px;
  background: #eef4ff;
  color: var(--blue);
  font-size: 13px;
  font-weight: 900;
}

.filter-group {
  display: grid;
  grid-template-columns: 78px minmax(0, 1fr);
  gap: 12px;
  padding: 10px 0;
  border-top: 1px solid #edf2f7;
}

.filter-group > span {
  padding-top: 7px;
  color: #334155;
  font-size: 13px;
  font-weight: 900;
}

.filter-options {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.filter-chip {
  height: 32px;
  padding: 0 12px;
  border-radius: 10px;
  background: #f4f7fb;
  color: #475569;
  font-size: 13px;
  font-weight: 800;
}

.filter-chip.active {
  background: var(--blue);
  color: #ffffff;
}

.subscription-form {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  align-items: stretch;
  margin-bottom: 12px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fbfdff;
}

.subscription-form label {
  display: grid;
  gap: 7px;
  color: #334155;
  font-size: 13px;
  font-weight: 900;
}

.subscription-region-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #ffffff;
}

.subscription-region-row strong,
.subscription-section-title strong,
.keyword-list-block > strong,
.keyword-recommend-head strong {
  color: var(--text);
  font-size: 15px;
  font-weight: 900;
}

.subscription-region-row > div:first-child span,
.subscription-section-title p {
  display: block;
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

.subscription-form input,
.subscription-form select {
  width: 100%;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0 12px;
  outline: 0;
  background: #ffffff;
  color: var(--text);
}

.region-field {
  position: relative;
}

.region-picker {
  position: relative;
}

.region-trigger {
  width: 100%;
  height: 42px;
  justify-content: space-between;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0 34px 0 12px;
  background: #ffffff;
  color: var(--text);
  text-align: left;
  font-size: 14px;
  font-weight: 700;
  position: relative;
}

.region-trigger-link {
  min-width: 116px;
  max-width: min(320px, 52vw);
  border-color: transparent;
  background: #eef4ff;
  color: var(--blue);
  font-weight: 900;
}

.region-trigger-link span {
  display: block;
  margin: 0;
  overflow: hidden;
  color: var(--blue);
  text-overflow: ellipsis;
  white-space: nowrap;
}

.region-trigger::after {
  position: absolute;
  top: 50%;
  right: 12px;
  width: 7px;
  height: 7px;
  border-right: 2px solid #334155;
  border-bottom: 2px solid #334155;
  content: "";
  transform: translateY(-65%) rotate(45deg);
}

.region-panel {
  position: absolute;
  z-index: 8;
  top: 48px;
  left: 0;
  width: min(620px, calc(100vw - 72px));
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #ffffff;
  box-shadow: 0 18px 42px rgba(21, 32, 51, 0.14);
}

.region-column {
  max-height: 260px;
  overflow: auto;
  padding: 8px;
  border-right: 1px solid #edf2f7;
}

.region-column:last-child {
  border-right: 0;
}

.region-column button {
  width: 100%;
  min-height: 34px;
  justify-content: flex-start;
  border-radius: 10px;
  padding: 8px 10px;
  background: transparent;
  color: #334155;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.35;
  text-align: left;
  white-space: normal;
}

.region-column button.active {
  background: #e7f0ff;
  color: var(--blue);
}

.subscription-editor-card {
  display: grid;
  gap: 14px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #ffffff;
}

.subscription-section-title {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}

.subscription-section-title i {
  width: 4px;
  height: 24px;
  margin-top: 1px;
  border-radius: 999px;
  background: var(--blue);
}

.exclude-editor .subscription-section-title i {
  background: #94a3b8;
}

.keyword-add-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 8px;
}

.keyword-add-row > span {
  color: #94a3b8;
  font-size: 13px;
  font-weight: 900;
}

.keyword-add-row button,
.subscription-form > .primary-btn {
  height: 42px;
  padding: 0 16px;
  border-radius: 12px;
  background: var(--blue);
  color: #ffffff;
  font-size: 14px;
  font-weight: 900;
  white-space: nowrap;
}

.keyword-list-block {
  display: grid;
  gap: 9px;
}

.keyword-count-line {
  color: var(--text);
  font-size: 15px;
  font-weight: 900;
}

.keyword-chip-list,
.keyword-suggestion-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.keyword-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 34px;
  padding: 0 8px 0 12px;
  border-radius: 10px;
  background: #e7f0ff;
  color: var(--blue);
  font-size: 13px;
  font-weight: 900;
}

.keyword-chip button {
  width: 22px;
  height: 22px;
  border-radius: 999px;
  padding: 0;
  background: transparent;
  color: var(--blue);
  font-size: 18px;
  line-height: 1;
}

.keyword-empty {
  min-height: 30px;
  display: inline-flex;
  align-items: center;
  color: #94a3b8;
  font-size: 13px;
  font-weight: 800;
}

.keyword-recommend-block {
  display: grid;
  gap: 10px;
  padding-top: 2px;
}

.keyword-recommend-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.keyword-recommend-head button {
  min-height: 30px;
  padding: 0 10px;
  border-radius: 999px;
  background: #ffffff;
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  box-shadow: inset 0 0 0 1px var(--line);
}

.keyword-suggestion-list button {
  min-height: 34px;
  padding: 0 12px;
  border-radius: 10px;
  background: #f4f7fb;
  color: #334155;
  font-size: 13px;
  font-weight: 800;
}

.subscription-detail-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 10px;
}

.award-region-board {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #ffffff;
}

.subscription-card {
  display: grid;
  gap: 10px;
  padding: 24px;
  border: 1px solid rgba(23, 102, 209, 0.18);
  border-radius: 16px;
  background: #f4f8ff;
}

.subscription-card strong {
  color: var(--text);
  font-size: 18px;
}

.subscription-card p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}

.subscription-card button {
  width: max-content;
  min-height: 38px;
  padding: 0 14px;
  border-radius: 12px;
  background: var(--blue);
  color: #ffffff;
  font-weight: 900;
}

.empty-follow {
  padding: 28px;
  text-align: center;
}

.empty-follow p {
  margin: 8px auto 0;
  max-width: 520px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}

.year-tabs {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  margin: 0 0 16px;
  padding-bottom: 2px;
}

.year-chip {
  flex: 0 0 auto;
  height: 38px;
  padding: 0 18px;
  border-radius: 14px;
  background: #f4f7fb;
  color: #475569;
  font-size: 13px;
  font-weight: 900;
}

.year-chip.active {
  background: var(--blue);
  color: #ffffff;
}

.award-list {
  display: grid;
  gap: 14px;
}

.insight-panel {
  padding: 16px;
  border: 1px solid #d9e5f2;
  border-radius: 12px;
  background: #ffffff;
}

.side-card.insight-panel {
  padding: 16px;
}

.insight-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 12px;
}

.insight-title span {
  color: #0f172a;
  font-size: 15px;
  font-weight: 900;
}

.insight-title strong {
  min-width: 28px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: #edf4ff;
  color: #1d4ed8;
  font-size: 12px;
  font-weight: 900;
}

.buyer-rank {
  display: grid;
  gap: 8px;
}

.buyer-rank button {
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr) auto;
  align-items: center;
  gap: 8px;
  width: 100%;
  padding: 9px 10px;
  border: 1px solid #e5edf6;
  border-radius: 10px;
  background: #f8fbff;
  color: #0f172a;
  text-align: left;
}

.buyer-rank button:hover {
  border-color: #bfdbfe;
  background: #eff6ff;
}

.buyer-rank span {
  width: 22px;
  height: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: #dbeafe;
  color: #1d4ed8;
  font-size: 12px;
  font-weight: 900;
}

.buyer-rank strong {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 13px;
}

.buyer-rank em {
  color: var(--muted);
  font-size: 12px;
  font-style: normal;
  font-weight: 900;
}

.buyer-rank p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.amount-bars {
  display: grid;
  gap: 11px;
}

.amount-bar div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 6px;
  color: #334155;
  font-size: 12px;
  font-weight: 900;
}

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

.amount-bar i {
  display: block;
  height: 8px;
  border-radius: 999px;
  background: linear-gradient(90deg, #2563eb var(--bar-width), #e8eef6 var(--bar-width));
}

.award-card {
  min-width: 0;
  padding: 20px;
  border: 1px solid #d9e5f2;
  border-radius: 18px;
  background: #ffffff;
}

.award-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.award-amount {
  max-width: 64%;
  color: #ef4444;
  font-size: 16px;
  font-weight: 900;
  line-height: 1.35;
  text-align: right;
  overflow-wrap: anywhere;
}

.award-card h3 {
  margin: 16px 0 0;
  color: #111827;
  font-size: 19px;
  line-height: 1.42;
  letter-spacing: 0;
  overflow-wrap: anywhere;
}

.award-card p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.65;
}

.award-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 14px;
  border-top: 1px solid #e5edf6;
  border-left: 1px solid #e5edf6;
}

.award-grid div {
  min-width: 0;
  min-height: 62px;
  padding: 11px 12px;
  border-right: 1px solid #e5edf6;
  border-bottom: 1px solid #e5edf6;
}

.award-grid span {
  display: block;
  color: #64748b;
  font-size: 12px;
  line-height: 1.2;
}

.award-grid strong {
  display: block;
  margin-top: 5px;
  color: var(--text);
  font-size: 13px;
  line-height: 1.45;
  overflow-wrap: anywhere;
}

.award-source-link {
  width: max-content;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 34px;
  margin-top: 14px;
  border-radius: 9px;
  padding: 0 12px;
  color: #ffffff;
  background: var(--blue);
  font-size: 13px;
  font-weight: 900;
  text-decoration: none;
}

.member-benefits {
  display: block;
  padding: 18px;
  background: #fbfdff;
}

.member-benefits strong {
  display: block;
  font-size: 18px;
}

.member-benefits span {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  font-size: 13px;
}

.benefit-list {
  display: grid;
  gap: 10px;
  margin-top: 16px;
}

.benefit-list span {
  padding: 9px 12px;
  border-radius: 12px;
  background: #f4f7fb;
  color: #334155;
  font-size: 13px;
  font-weight: 800;
}

.plans {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.plan {
  padding: 20px;
}

.plan span {
  display: inline-flex;
  padding: 5px 10px;
  border-radius: 999px;
  background: #e7f0ff;
  color: var(--blue);
  font-size: 12px;
  font-weight: 900;
}

.plan h3 {
  margin: 14px 0 0;
  font-size: 24px;
}

.plan p {
  min-height: 46px;
  margin: 10px 0 18px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.65;
}

.plan-rights {
  display: grid;
  gap: 9px;
  min-height: 168px;
  margin: 0 0 18px;
  padding: 0;
  list-style: none;
}

.plan-rights li {
  position: relative;
  padding-left: 18px;
  color: #334155;
  font-size: 13px;
  line-height: 1.45;
}

.plan-rights li::before {
  position: absolute;
  top: 7px;
  left: 0;
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: var(--blue);
  content: "";
}

.plan.strong {
  border-color: rgba(23, 102, 209, 0.42);
}

.auth-panel {
  min-height: calc(100vh - 160px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.auth-card {
  width: min(100%, 860px);
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(340px, 1.08fr);
  gap: 22px;
  align-items: stretch;
  padding: 14px;
  border: 1px solid rgba(219, 228, 237, 0.92);
  border-radius: 18px;
  background: #ffffff;
  box-shadow: 0 18px 48px rgba(21, 32, 51, 0.1);
}

.auth-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 34px;
  border-radius: 14px;
  background: #152033;
  color: #ffffff;
}

.auth-copy > span {
  width: max-content;
  padding: 6px 10px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 13px;
  font-weight: 800;
}

.auth-copy h2 {
  margin: 18px 0 0;
  font-size: 32px;
  letter-spacing: 0;
}

.auth-copy p {
  margin: 14px 0 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: 15px;
  line-height: 1.7;
}

.auth-copy ul {
  display: grid;
  gap: 12px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.auth-copy li {
  position: relative;
  padding-left: 18px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 14px;
}

.auth-copy li::before {
  position: absolute;
  top: 7px;
  left: 0;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #07c160;
  content: "";
}

.auth-form {
  display: grid;
  gap: 18px;
  align-content: center;
  justify-items: center;
  padding: 34px 30px;
  border: 1px solid rgba(219, 228, 237, 0.86);
  border-radius: 14px;
  background: #ffffff;
}

.wechat-login-head {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  text-align: left;
}

.wechat-mark {
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: #ffffff;
  background: #07c160;
  font-weight: 900;
}

.wechat-login-head strong {
  display: block;
  color: var(--text);
  font-size: 22px;
  letter-spacing: 0;
}

.wechat-login-head p {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.wechat-qr-shell {
  width: 260px;
  min-height: 260px;
  display: grid;
  place-items: center;
  padding: 12px;
  border: 1px solid rgba(219, 228, 237, 0.95);
  border-radius: 10px;
  background: #ffffff;
}

.wechat-qr-shell iframe {
  width: 236px !important;
  height: 236px !important;
}

.wechat-qr-placeholder {
  width: 180px;
  height: 180px;
  display: grid;
  place-items: center;
  border: 1px dashed rgba(7, 193, 96, 0.42);
  border-radius: 8px;
  background:
    linear-gradient(90deg, rgba(7, 193, 96, 0.08) 12px, transparent 12px) 0 0 / 24px 24px,
    linear-gradient(rgba(7, 193, 96, 0.08) 12px, transparent 12px) 0 0 / 24px 24px,
    #f8fffb;
}

.wechat-qr-placeholder span {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #ffffff;
  background: #07c160;
  font-size: 22px;
  font-weight: 900;
}

.wechat-qr-shell p {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 13px;
  text-align: center;
}

.wechat-login-btn {
  height: 48px;
  width: min(100%, 260px);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  color: #ffffff;
  background: #07c160;
  font-weight: 900;
}

.wechat-login-note {
  max-width: 280px;
  margin: -4px 0 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.6;
  text-align: center;
}

.auth-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--muted);
  font-size: 13px;
}

.auth-divider::before,
.auth-divider::after {
  height: 1px;
  flex: 1;
  background: var(--line);
  content: "";
}

.auth-form label {
  display: grid;
  gap: 8px;
  color: #334155;
  font-size: 14px;
  font-weight: 900;
}

.auth-form input {
  height: 46px;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 0 14px;
  outline: 0;
  color: var(--text);
  background: #ffffff;
}

.verify-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 118px;
  gap: 10px;
}

.verify-row button {
  height: 46px;
  padding: 0 12px;
  white-space: nowrap;
}

.side-column {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.side-card {
  padding: 20px;
}

.side-card h3 {
  margin: 0 0 12px;
  font-size: 19px;
}

.side-card ol {
  margin: 0;
  padding-left: 20px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.9;
}

.side-card p {
  margin: 0 0 16px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.65;
}

.menu-map {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}

.menu-map button {
  background: #f4f7fb;
  color: #334155;
}

.side-card.accent {
  background: linear-gradient(135deg, #ffffff 0%, #eef6ff 100%);
}

.home-subscribe {
  border-color: rgba(23, 102, 209, 0.24);
}

.subscription-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
}

.subscription-tags span {
  padding: 6px 10px;
  border-radius: 999px;
  background: #e7f0ff;
  color: var(--blue);
  font-size: 12px;
  font-weight: 900;
}

.deadline-list {
  display: grid;
  gap: 10px;
}

.deadline-item {
  width: 100%;
  padding: 12px;
  border-radius: 12px;
  background: #f4f7fb;
  text-align: left;
}

.deadline-item strong {
  display: block;
  color: var(--text);
  font-size: 14px;
}

.deadline-item span {
  display: block;
  margin-top: 6px;
  color: #d94d45;
  font-size: 12px;
  font-weight: 900;
}

.side-summary,
.side-task-list,
.side-recommend-list {
  display: grid;
  gap: 10px;
}

.side-summary div,
.side-task-list button,
.side-recommend-list button {
  display: grid;
  gap: 5px;
  width: 100%;
  padding: 11px 12px;
  border-radius: 12px;
  background: #f4f7fb;
  text-align: left;
}

.side-task-list button.active {
  background: #e7f0ff;
  box-shadow: inset 3px 0 0 var(--blue);
}

.side-summary span,
.side-task-list span,
.side-recommend-list span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.side-summary strong,
.side-task-list strong,
.side-recommend-list strong {
  color: var(--text);
  font-size: 13px;
  line-height: 1.45;
}

.side-stat-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.side-stat-list div {
  padding: 12px 8px;
  border-radius: 12px;
  background: #f4f8ff;
  text-align: center;
}

.side-stat-list strong {
  display: block;
  color: var(--blue);
  font-size: 20px;
}

.side-stat-list span {
  display: block;
  margin-top: 3px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
}

.side-recommend-list p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 20;
}

.modal-mask {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.46);
}

.modal-card {
  position: absolute;
  top: 50%;
  left: 50%;
  width: min(760px, calc(100% - 32px));
  max-height: calc(100vh - 48px);
  overflow: auto;
  transform: translate(-50%, -50%);
  padding: 24px;
  border-radius: 20px;
  background: #ffffff;
  box-shadow: 0 24px 72px rgba(15, 23, 42, 0.24);
}

.modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 34px;
  height: 34px;
  border-radius: 17px;
  background: #f4f7fb;
  color: #475569;
  font-size: 22px;
}

.modal-title {
  padding-right: 42px;
  font-size: 22px;
  font-weight: 900;
}

.modal-content {
  margin-top: 12px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}

.detail-hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
  padding: 12px 14px;
  border-radius: 14px;
  background: #f4f8ff;
}

.detail-hero span {
  padding: 5px 10px;
  border-radius: 999px;
  background: #e7f0ff;
  color: var(--blue);
  font-size: 12px;
  font-weight: 900;
}

.detail-hero strong {
  color: #e5484d;
  font-size: 13px;
}

.detail-section {
  margin-top: 16px;
}

.detail-section h4 {
  margin: 0 0 8px;
  color: var(--text);
  font-size: 16px;
}

.detail-section p {
  margin: 0;
}

.detail-section .detail-highlight {
  padding: 12px 14px;
  border: 1px solid rgba(23, 102, 209, 0.16);
  border-left: 4px solid var(--blue);
  border-radius: 12px;
  background: #f7fbff;
  color: #18263b;
  font-size: 15px;
  font-weight: 800;
  line-height: 1.75;
}

.detail-section .overview-highlight {
  background: #fbfdff;
  color: #223047;
  font-weight: 750;
}

.detail-section .locked-text {
  color: #e5484d;
  background: #fff7f6;
  border-color: rgba(229, 72, 77, 0.18);
  border-left-color: #e5484d;
}

.detail-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 14px;
}

.detail-grid div,
.detail-link {
  display: grid;
  gap: 4px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fbfdff;
}

.detail-grid span,
.detail-link span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.detail-grid strong,
.detail-link strong {
  color: var(--text);
  font-size: 14px;
}

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

.detail-link {
  text-decoration: none;
}

.detail-link:not(.disabled):hover {
  border-color: rgba(23, 102, 209, 0.5);
}

.detail-link:not(.disabled) strong {
  color: var(--blue);
}

.detail-link.disabled {
  opacity: 0.68;
}

.detail-lock {
  margin-top: 16px;
  padding: 16px;
  border: 1px solid rgba(23, 102, 209, 0.18);
  border-radius: 14px;
  background: #f4f8ff;
}

.detail-lock strong {
  display: block;
  color: var(--text);
  font-size: 16px;
}

.detail-lock p {
  margin: 8px 0 14px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}

.detail-lock button {
  min-height: 38px;
  padding: 0 14px;
  border-radius: 12px;
  background: var(--blue);
  color: #ffffff;
  font-weight: 900;
}

.related-list,
.history-list {
  display: grid;
  gap: 10px;
}

.related-list button,
.history-list div {
  display: grid;
  gap: 5px;
  width: 100%;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fbfdff;
  text-align: left;
}

.related-list strong,
.history-list strong {
  color: var(--text);
  font-size: 14px;
}

.related-list span,
.history-list span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.progress-list {
  display: grid;
  gap: 10px;
}

.progress-item {
  display: grid;
  grid-template-columns: 8px minmax(0, 1fr);
  gap: 12px;
  padding: 12px;
  border: 1px solid rgba(219, 228, 237, 0.9);
  border-radius: 14px;
  background: linear-gradient(180deg, #ffffff, #f8fbff);
}

.progress-item i {
  display: block;
  width: 8px;
  min-height: 68px;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--blue), var(--green));
}

.progress-body {
  display: grid;
  gap: 7px;
  min-width: 0;
}

.progress-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.progress-head strong {
  color: var(--blue);
  font-size: 13px;
  font-weight: 950;
}

.progress-head time {
  flex: 0 0 auto;
  padding: 4px 8px;
  border-radius: 999px;
  background: #eef4ff;
  color: #5b6f8b;
  font-size: 12px;
  font-weight: 900;
}

.progress-body p {
  margin: 0;
  color: var(--text);
  font-size: 14px;
  font-weight: 900;
  line-height: 1.55;
}

.progress-body span {
  width: max-content;
  max-width: 100%;
  padding: 4px 9px;
  border-radius: 999px;
  background: #f1f8f6;
  color: #0f8c79;
  font-size: 12px;
  font-weight: 900;
}

.modal-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 22px;
}

@media (max-width: 860px) {
  .header-inner {
    height: auto;
    flex-wrap: wrap;
    gap: 12px;
    padding: 14px 16px;
  }

  .brand {
    min-width: 0;
    flex: 1;
  }

  .nav {
    order: 3;
    width: 100%;
    overflow-x: auto;
  }

  .header-cta {
    flex: 0 0 auto;
  }

  .page-shell {
    padding: 16px;
  }

  .hero,
  .content-grid,
  .plans,
  .subscription-form,
  .award-region-board,
  .auth-card {
    grid-template-columns: 1fr;
  }

  .hero {
    padding: 20px;
  }

  .hero-copy h1 {
    font-size: 25px;
  }

  .content-grid {
    gap: 16px;
  }

  .side-column {
    order: -1;
  }
}

@media (max-width: 560px) {
  .header-cta {
    width: 100%;
  }

  .account-actions {
    width: 100%;
    flex-wrap: wrap;
  }

  .user-badge {
    max-width: none;
    flex: 1;
  }

  .nav-item {
    flex: 0 0 auto;
  }

	  .hero-actions,
	  .section-head,
	  .search-row,
	  .modal-actions,
	  .filter-toolbar,
	  .pager-toolbar {
	    flex-direction: column;
	  }

  .primary-btn,
  .ghost-btn,
  .section-head button,
  .search-row button,
  .plan button,
  .side-card button,
  .auth-form button {
    width: 100%;
  }

  .metric-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .subscription-region-row {
    align-items: stretch;
    flex-direction: column;
  }

  .keyword-add-row {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .keyword-add-row input {
    grid-column: 1 / -1;
  }

  .keyword-add-row button {
    justify-self: end;
    min-width: 96px;
  }

  .filter-group {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .detail-grid,
  .detail-links {
    grid-template-columns: 1fr;
  }

  .follow-tools {
    align-items: stretch;
    flex-direction: column;
  }

  .follow-actions {
    justify-content: flex-start;
  }

  .region-panel {
    width: calc(100vw - 48px);
    grid-template-columns: repeat(3, minmax(110px, 1fr));
    overflow-x: auto;
  }

  .filter-group > span {
    padding-top: 0;
  }

  .award-grid {
    grid-template-columns: 1fr;
  }

  .award-card {
    padding: 18px;
  }

  .award-card-head {
    align-items: flex-start;
  }

  .award-amount {
    max-width: 52%;
    font-size: 15px;
  }
}
