.wd-heading-actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 8px 15px; }
.wd-level-chip { padding: 6px 10px; border: 1px solid #d9dfce; border-radius: 5px; color: #77896a; background: #f2f5e9; font-size: 10px; }
.wd-campaign-dialog { width: min(940px, calc(100vw - 32px)); max-width: none; max-height: calc(100dvh - 42px); padding: 0; overflow-y: auto; border: 1px solid #d9dfcb; border-radius: 18px; color: #37563c; background: #fffef6; box-shadow: 0 22px 90px #1f392b40; scrollbar-width: thin; }
.wd-campaign-dialog::backdrop { background: #213b335b; backdrop-filter: blur(4px); }
.wd-campaign-content { padding: 26px 30px 18px; }
.wd-campaign-heading { display: flex; justify-content: space-between; align-items: flex-start; gap: 20px; }
.wd-campaign-heading h2 { margin: 8px 0 20px; color: #39583d; font-size: 26px; font-weight: 700; letter-spacing: -.03em; }
.wd-campaign-heading > button { display: grid; flex: 0 0 auto; width: 32px; height: 32px; place-items: center; border: 1px solid #e0e5d3; border-radius: 50%; color: #94a184; background: transparent; font-size: 21px; }
.wd-campaign-tabs { display: flex; align-items: center; gap: 20px; border-bottom: 1px solid #dfe5d4; }
.wd-campaign-tabs > button { padding: 10px 0; border-bottom: 2px solid transparent; color: #93a085; background: transparent; font-size: 12px; }
.wd-campaign-tabs > button.active { border-bottom-color: #597b4f; color: #466c42; font-weight: 700; }
.wd-campaign-tabs > span { margin-left: auto; color: #899a79; font-size: 10px; }
.wd-campaign-tabs > span b { margin-left: 16px; color: #af914a; font-weight: 600; }
.wd-chapter-tabs { display: grid; grid-template-columns: repeat(10, minmax(0, 1fr)); gap: 5px; margin: 17px 0; }
.wd-chapter-tabs button { display: grid; justify-items: center; gap: 5px; padding: 9px 2px; border: 1px solid transparent; border-radius: 7px; color: #778c68; background: #f1f5e8; }
.wd-chapter-tabs button[aria-pressed="true"] { border-color: #88a577; color: #3e6740; background: #e7f0da; }
.wd-chapter-tabs b { font: 600 16px Georgia, serif; }
.wd-chapter-tabs span { font-size: 9px; white-space: nowrap; }
.wd-chapter-tabs .locked { color: #aeb5a0; background: #f5f5eb; }
.wd-chapter-banner { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin: 15px 0; padding: 17px 23px; border: 1px solid #e0e4d3; border-radius: 10px; color: var(--chapter-ink); background: var(--chapter-ground); }
.wd-chapter-banner span { font-size: 9px; letter-spacing: .04em; }
.wd-chapter-banner h3 { margin: 6px 0; font: 600 25px/1.3 "STSong", "SimSun", serif; }
.wd-chapter-banner p { margin: 0; font-size: 10px; opacity: .75; }
.wd-chapter-banner > strong { font: 600 32px Georgia, serif; }
.wd-chapter-banner > strong small { font: 600 10px -apple-system, sans-serif; opacity: .65; }
.wd-level-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 9px; }
.wd-level-card { display: grid; justify-items: center; gap: 6px; min-height: 100px; padding: 11px 4px; border: 1px solid #dde5ce; border-radius: 9px; color: #69825a; background: #f8faef; }
.wd-level-card:hover:not(.is-locked) { border-color: #8eac7c; background: #f0f6e3; }
.wd-level-card > span:not(.wd-level-stars) { color: #9ba88a; font-size: 8px; }
.wd-level-card > strong { font: 600 29px/1.1 Georgia, serif; }
.wd-level-card > small { color: #a5ae97; font-size: 9px; }
.wd-level-card.is-selected { border-color: #628a56; background: #ebf2dc; box-shadow: inset 0 0 0 1px #86a27240; }
.wd-level-card.is-locked { border-color: #e8eadf; color: #b8bead; background: #f8f8f0; cursor: default; }
.wd-level-stars { color: #c3a251; font-size: 14px; letter-spacing: 2px; }
.wd-level-stars > i { color: #cbd1bc; font-style: normal; }
.wd-level-detail { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-top: 16px; padding: 16px 0 0; border-top: 1px solid #e4e8d9; }
.wd-level-detail strong { font-size: 13px; font-weight: 600; }
.wd-level-detail p { margin: 7px 0; color: #8c9a7a; font-size: 10px; }
.wd-level-detail span { color: #98a487; font-size: 10px; }
.wd-level-detail small { display: block; margin-top: 7px; color: #b29665; font-size: 9px; }
.wd-level-detail > button { flex: 0 0 auto; width: 180px; }
.wd-campaign-storage { margin: 18px 0 0; color: #a9b09b; font-size: 9px; text-align: center; }
.wd-board-explanation { margin: 20px 0; }
.wd-board-explanation strong { color: #627f54; font-size: 14px; font-weight: 600; }
.wd-board-explanation p { max-width: 660px; color: #98a489; font-size: 11px; line-height: 1.9; }
.wd-board-me { display: flex; align-items: center; flex-wrap: wrap; justify-content: space-between; gap: 22px; padding: 20px; border: 1px solid #dce4ce; border-radius: 10px; color: #839774; background: #f2f6e7; font-size: 12px; }
.wd-board-me > span:first-child { display: grid; gap: 7px; }
.wd-board-me strong { color: #536f47; font-size: 15px; }
.wd-board-me small { color: #9ca98c; font: 600 10px -apple-system, sans-serif; }
.wd-board-me > b { color: #708955; font: 600 26px Georgia, serif; }
.wd-board-actions { display: flex; flex-wrap: wrap; gap: 10px; margin: 15px 0 22px; }
.wd-board-actions .wd-primary, .wd-board-actions .wd-secondary { width: auto; min-width: 150px; margin: 0; }
.wd-board-list { min-height: 170px; border-top: 1px solid #e1e6d5; }
.wd-board-list-head { display: flex; justify-content: space-between; gap: 18px; padding: 16px 0; color: #7e936c; font-size: 11px; }
.wd-board-list-head > strong { font-weight: 600; }
.wd-board-row { display: flex; align-items: center; gap: 14px; padding: 12px 3px; border-top: 1px solid #edf0e3; color: #8c9a80; font-size: 12px; }
.wd-board-row.is-me { background: #f1f6e7; }
.wd-board-row > b { flex: 0 0 auto; width: 25px; text-align: center; font: 600 17px Georgia, serif; }
.wd-board-row > strong { flex: 1; min-width: 0; overflow: hidden; color: #6f855f; font-size: 12px; font-weight: 600; text-overflow: ellipsis; white-space: nowrap; }
.wd-board-row > span:last-child { flex: 0 0 auto; color: #8a9a78; font-size: 11px; }
.wd-board-row > span:last-child b { margin-left: 13px; color: #b19a5d; font-size: 11px; font-weight: 600; }
.wd-board-avatar { display: grid; flex: 0 0 auto; width: 32px; height: 32px; place-items: center; overflow: hidden; border-radius: 50%; color: #8b9d76; background: #e8eedb; font-size: 12px; }
.wd-board-avatar img { width: 100%; height: 100%; object-fit: cover; }
.wd-board-empty { display: grid; justify-items: center; padding: 30px 10px; text-align: center; }
.wd-board-empty h3 { color: #7e936b; font-size: 15px; font-weight: 600; }
.wd-board-empty p { color: #a2ac95; font-size: 11px; line-height: 1.9; }
.wd-board-empty > button { max-width: 200px; margin-top: 15px; }
.wd-board-message { padding: 12px 15px; border-radius: 7px; color: #a58c5d; background: #f6f0de; font-size: 11px; line-height: 1.8; }
.wd-campaign-complete { padding: 14px; border-radius: 8px; color: #8d7947; background: #f5edd3; font-size: 12px; text-align: center; }
.wd-plot.is-blocked { opacity: .35; }
.wd-vocabulary-note { margin: 9px 0 0; font-size: 12px; line-height: 1.6; color: #617454; }
@media (max-width: 1100px) {
  .wd-heading-actions { gap: 5px 10px; }
  .wd-heading-actions .wd-help-button { padding-left: 0; font-size: 10px; }
  .wd-level-chip { padding: 4px 7px; font-size: 9px; }
}
@media (max-width: 650px) {
  .wd-campaign-content { padding: 20px 17px; }
  .wd-campaign-heading h2 { font-size: 22px; }
  .wd-chapter-tabs { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .wd-chapter-tabs button { padding: 7px 2px; }
  .wd-level-card { min-height: 84px; }
  .wd-level-card > strong { font-size: 23px; }
  .wd-level-card > span:not(.wd-level-stars) { font-size: 7px; }
  .wd-level-card > small { font-size: 7px; }
  .wd-level-grid { gap: 5px; }
  .wd-level-stars { font-size: 11px; letter-spacing: 0; }
  .wd-level-detail { display: grid; gap: 16px; }
  .wd-level-detail > button { width: 100%; }
  .wd-campaign-tabs { gap: 15px; }
  .wd-campaign-tabs > span { font-size: 8px; }
  .wd-campaign-tabs > span b { margin-left: 3px; }
  .wd-heading-actions { max-width: 200px; }
  .wd-heading-actions .wd-help-button { font-size: 9px; }
  .wd-heading h1 { white-space: nowrap; }
  .wd-board-me { gap: 14px; padding: 15px; }
  .wd-board-actions .wd-primary, .wd-board-actions .wd-secondary { flex: 1; font-size: 10px; }
}
