:root {
  --ink: #15202b;
  --muted: #65707c;
  --line: #d8dde2;
  --paper: #f6f8fa;
  --surface: #ffffff;
  --coal: #20282f;
  --mint: #1e8b74;
  --mint-soft: #e5f4ef;
  --red: #c84a4a;
  --red-soft: #fbeaea;
  --gold: #b47b19;
  --focus: #2368a2;
}

* { box-sizing: border-box; }
html { min-width: 320px; background: var(--paper); }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Microsoft YaHei UI", "PingFang SC", sans-serif;
  font-size: 14px;
}
button, input, select { font: inherit; }
button { color: inherit; }
button:focus-visible, input:focus-visible, select:focus-visible {
  outline: 3px solid color-mix(in srgb, var(--focus) 28%, transparent);
  outline-offset: 1px;
}

.topbar {
  height: 72px;
  padding: 0 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #f8fafb;
  background: var(--coal);
  border-bottom: 3px solid var(--mint);
}
.brand { display: flex; align-items: center; gap: 12px; }
.brand-mark {
  width: 56px; height: 38px; display: grid; place-items: center;
  background: var(--mint); border: 1px solid #65baa8; font-size: 18px; font-weight: 900;
}
.brand h1 { margin: 0; font-size: 19px; line-height: 1.15; letter-spacing: 0; }
.brand p { margin: 4px 0 0; color: #aeb8c1; font-size: 12px; }
.promo-link {
  min-height: 38px;
  padding: 7px 12px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #f8fafb;
  background: #29353d;
  border: 1px solid #47616a;
  text-decoration: none;
  transition: background .15s ease, border-color .15s ease;
}
.promo-link:hover { background: #31434b; border-color: #65baa8; }
.promo-link:focus-visible { outline-color: #65baa8; }
.promo-label { color: #aeb8c1; font-size: 11px; }
.promo-link strong { color: #74d2bb; font: 700 14px Consolas, monospace; }
.promo-arrow { color: #74d2bb; font-size: 17px; line-height: 1; }
.sync-state { display: flex; align-items: center; gap: 9px; color: #c6ced5; font-size: 12px; }
.sync-state time { color: #8f9ba5; font-family: Consolas, monospace; }
.sync-dot { width: 8px; height: 8px; border-radius: 50%; background: #e0a936; }
.sync-state[data-state="ok"] .sync-dot { background: #45c597; box-shadow: 0 0 0 4px rgba(69,197,151,.14); }
.sync-state[data-state="error"] .sync-dot { background: #ef6d6d; }

main { max-width: 1500px; margin: 0 auto; padding: 22px 30px 40px; }
.market-strip {
  min-height: 96px;
  display: grid;
  grid-template-columns: minmax(260px, 1.6fr) repeat(7, minmax(105px, .55fr));
  background: var(--surface);
  border: 1px solid var(--line);
}
.market-intro { padding: 18px 22px; display: flex; flex-direction: column; justify-content: center; border-right: 1px solid var(--line); }
.section-label { color: var(--mint); font-size: 11px; font-weight: 800; }
.market-intro strong { margin-top: 4px; font-size: 19px; }
.market-intro > span:last-child { margin-top: 5px; color: var(--muted); font-size: 12px; }
.metric { padding: 17px 18px; display: flex; flex-direction: column; justify-content: center; border-right: 1px solid var(--line); }
.metric:last-child { border-right: 0; }
.metric span { color: var(--muted); font-size: 12px; }
.metric strong { margin-top: 7px; font: 700 25px/1 Consolas, monospace; }
.metric.sell strong { color: var(--red); }
.metric.buy strong { color: var(--mint); }
.metric.visitors strong { color: #276fb7; }
.metric.visitors-today strong { color: #16806a; }
.metric.visitors-views strong { color: #7355a6; }
.metric.visitors-history strong { color: #8a5a24; }
.metric.visitors-peak strong { color: #a33f62; }

.tabs { height: 54px; margin-top: 18px; display: flex; align-items: end; gap: 4px; border-bottom: 1px solid var(--line); }
.tab { height: 44px; min-width: 116px; padding: 0 18px; border: 0; background: transparent; color: var(--muted); font-weight: 700; cursor: pointer; }
.tab.active { color: var(--ink); background: var(--surface); border: 1px solid var(--line); border-bottom-color: var(--surface); }

.workspace { display: grid; grid-template-columns: 240px minmax(0, 1fr); background: var(--surface); border: 1px solid var(--line); border-top: 0; }
.workspace.support-active { grid-template-columns: minmax(0, 1fr); }
.workspace.support-active .filters { display: none; }
body.support-active-page .workspace { grid-template-columns: minmax(0, 1fr); }
body.support-active-page .workspace > .filters { display: none; }
main:has(#supportView.active) .workspace { grid-template-columns: minmax(0, 1fr); }
main:has(#supportView.active) .workspace > .filters { display: none !important; }
.filters { padding: 20px; border-right: 1px solid var(--line); background: #fbfcfd; }
.filter-title { display: flex; align-items: center; justify-content: space-between; }
.filter-title h2 { margin: 0; font-size: 15px; }
.icon-button { width: 31px; height: 31px; border: 1px solid var(--line); background: var(--surface); cursor: pointer; font-size: 18px; }
.search-field, .select-field { margin-top: 20px; display: grid; gap: 7px; color: var(--muted); font-size: 12px; font-weight: 700; }
input[type="search"], select { width: 100%; height: 39px; padding: 0 10px; color: var(--ink); background: var(--surface); border: 1px solid #cbd2d8; border-radius: 3px; }
fieldset { margin: 22px 0 0; padding: 0; border: 0; }
legend { margin-bottom: 8px; color: var(--muted); font-size: 12px; font-weight: 700; }
.segmented { display: flex; }
.segment { min-height: 34px; padding: 0 12px; border: 1px solid var(--line); background: var(--surface); cursor: pointer; font-size: 12px; font-weight: 700; }
.segment + .segment { border-left: 0; }
.segment.active { color: white; background: var(--coal); border-color: var(--coal); }
.check-row { display: flex; align-items: center; gap: 9px; cursor: pointer; }
.check-row input { width: 16px; height: 16px; accent-color: var(--mint); }
.category-filter { position: relative; }
.category-trigger {
  width: 100%; min-height: 39px; padding: 0 10px; display: flex; align-items: center;
  justify-content: space-between; gap: 8px; color: var(--ink); background: var(--surface);
  border: 1px solid #cbd2d8; border-radius: 3px; cursor: pointer; text-align: left;
}
.category-trigger > span:first-child { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.category-trigger.has-selection { color: var(--mint); border-color: #7db9aa; background: #f4fbf8; font-weight: 800; }
.category-picker {
  position: absolute; z-index: 35; top: calc(100% + 7px); left: 0; width: min(560px, calc(100vw - 44px));
  height: 340px; display: grid; grid-template-columns: minmax(180px, .85fr) minmax(230px, 1.15fr);
  background: var(--surface); border: 1px solid var(--line); box-shadow: 0 14px 36px rgba(21,32,43,.18);
}
.category-column { min-width: 0; display: grid; grid-template-rows: 44px minmax(0,1fr); border-right: 1px solid var(--line); }
.category-column:last-child { border-right: 0; }
.category-column header { padding: 0 12px; display: flex; align-items: center; justify-content: space-between; gap: 8px; background: #f5f7f8; border-bottom: 1px solid var(--line); }
.category-column header strong { font-size: 12px; }
.category-column header button { padding: 3px 6px; color: var(--mint); background: transparent; border: 0; cursor: pointer; font-size: 11px; }
.category-column header span { color: var(--muted); font-size: 10px; }
.category-options { min-height: 0; padding: 6px; overflow-y: auto; scrollbar-gutter: stable; }
.category-option { min-height: 42px; padding: 7px 9px; display: flex; align-items: center; gap: 10px; cursor: pointer; border-radius: 3px; }
.category-option:hover { background: #f2f6f5; }
.category-option.selected { color: var(--mint); background: var(--mint-soft); font-weight: 800; }
.category-option input { width: 18px; height: 18px; flex: 0 0 auto; accent-color: var(--mint); }
.category-empty { min-height: 100%; display: grid; place-items: center; padding: 20px; color: var(--muted); text-align: center; font-size: 12px; }
.scan-note { margin-top: 26px; padding: 12px; display: flex; gap: 10px; align-items: center; background: #f1f3f5; border-left: 3px solid #8c98a3; color: var(--muted); }
.scan-note.active { background: var(--mint-soft); border-left-color: var(--mint); }
.scan-note p { margin: 0; font-size: 11px; line-height: 1.6; }
.scan-note strong { color: var(--ink); }
.scan-icon { width: 26px; height: 26px; display: grid; place-items: center; flex: 0 0 auto; border: 1px solid #abb5bd; background: white; font: 700 12px Consolas, monospace; }

.content-area { min-width: 0; padding: 24px; }
.view { display: none; }
.view.active { display: block; }
.view-heading { min-height: 50px; display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }
.view-heading h2 { margin: 4px 0 0; font-size: 19px; }
.result-count { color: var(--muted); font-size: 12px; }
.table-shell { position: relative; min-height: 260px; overflow: auto; border: 1px solid var(--line); }
table { width: 100%; border-collapse: collapse; }
th { height: 42px; padding: 0 14px; color: #59636d; background: #f1f4f6; border-bottom: 1px solid var(--line); text-align: left; font-size: 11px; white-space: nowrap; }
td { height: 51px; padding: 7px 14px; border-bottom: 1px solid #e8ebee; vertical-align: middle; }
tbody tr:hover { background: #f8fafb; }
tbody tr:last-child td { border-bottom: 0; }
.trade-badge { display: inline-flex; min-width: 42px; height: 24px; padding: 0 8px; align-items: center; justify-content: center; border: 1px solid; border-radius: 3px; font-size: 11px; font-weight: 800; }
.trade-badge.sell { color: var(--red); background: var(--red-soft); border-color: #ecc1c1; }
.trade-badge.buy { color: var(--mint); background: var(--mint-soft); border-color: #b4dfd4; }
.item-name { font-weight: 700; }
.category-name { color: #526b78; font-size: 12px; white-space: nowrap; }
.price { font: 700 14px Consolas, monospace; }
.price small { color: var(--muted); font: 11px "Microsoft YaHei UI", sans-serif; }
.amount { display: flex; align-items: center; gap: 8px; }
.amount-bar { width: 52px; height: 4px; background: #e2e6e9; }
.amount-bar i { display: block; height: 100%; background: var(--mint); }
.out-of-stock { color: #9b5353; }
.coordinate { color: #56616b; font: 12px Consolas, monospace; white-space: nowrap; }
.coordinate-copy { padding:2px 4px; border:0; background:transparent; cursor:pointer; text-decoration:underline; text-decoration-style:dotted; text-underline-offset:3px; }
.coordinate-copy:hover { color:var(--focus); background:#eef4f8; }
.world-name { color: #7c3fb3; font-weight: 700; }
.location-divider { color: #9b87ad; }
.merchant-divider { margin: 0 4px; color: #a3adb5; }
.merchant-name, .merchant-inline { color: var(--mint); font-size: 11px; font-weight: 700; }
.merchant-copy { padding: 0; border: 0; background: transparent; cursor: pointer; text-decoration: underline; text-decoration-style: dotted; text-underline-offset: 3px; }
.merchant-copy:hover { color: var(--focus); }
.location { min-width: 0; }
.location .coordinate, .location .merchant-inline { display: block; }

.comparison-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.compare-card { border: 1px solid var(--line); border-radius: 4px; overflow: hidden; }
.compare-head { padding: 13px 15px; display: flex; justify-content: space-between; gap: 10px; background: #f4f6f7; border-bottom: 1px solid var(--line); }
.compare-head strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.compare-head span { color: var(--muted); font-size: 11px; white-space: nowrap; }
.compare-row { padding: 11px 14px; display: grid; grid-template-columns: 54px 1fr auto; align-items: center; gap: 10px; border-bottom: 1px solid #eceff1; }
.compare-row:last-child { border-bottom: 0; }
.compare-row.best { background: #eef8f4; }
.compare-value { text-align: right; }
.compare-value strong { display: block; font: 700 13px Consolas, monospace; }
.compare-value span { color: var(--muted); font-size: 10px; }

.ranking-switch { align-self: flex-start; }
.ranking-list { margin: 0; padding: 0; list-style: none; border: 1px solid var(--line); }
.rank-row { min-height: 58px; padding: 8px 16px; display: grid; grid-template-columns: 38px minmax(180px, 1fr) 120px 150px; align-items: center; border-bottom: 1px solid #e7eaed; }
.rank-row:last-child { border-bottom: 0; }
.rank-number { color: #8a949e; font: 700 17px Consolas, monospace; }
.rank-row:nth-child(-n+3) .rank-number { color: var(--gold); }
.rank-main strong { display: block; }
.rank-main span { color: var(--muted); font-size: 11px; }
.rank-value { font: 700 15px Consolas, monospace; text-align: right; }
.rank-coordinate { color: var(--muted); font: 11px Consolas, monospace; text-align: right; }
.rank-coordinate small { display: block; margin-top: 3px; color: var(--mint); font: 700 10px "Microsoft YaHei UI", sans-serif; white-space: normal; }
.support-board { width: 100%; max-width: none; }
.support-panel { min-width: 0; border: 1px solid var(--line); background: #fbfcfd; }
.support-heading { padding: 16px 16px 12px; display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; border-bottom: 1px solid var(--line); background: var(--surface); }
.support-heading h2 { margin: 4px 0 0; font-size: 19px; }
.support-heart { width: 34px; height: 34px; display: grid; place-items: center; color: white; background: var(--red); border: 1px solid #e9a9a9; font-size: 14px; font-weight: 800; }
.support-link { margin: 14px 16px 0; min-height: 34px; padding: 7px 10px; display: flex; align-items: center; justify-content: space-between; color: white; background: var(--red); border: 1px solid var(--red); text-decoration: none; font-size: 12px; font-weight: 800; }
.support-link-inline { margin: 0; min-width: 126px; }
.support-link:hover { background: #b83e3e; border-color: #b83e3e; }
.support-stats { margin: 18px 20px 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--line); border-left: 1px solid var(--line); background: var(--surface); }
.support-stats div { min-width: 0; padding: 10px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.support-stats span { display: block; color: var(--muted); font-size: 10px; }
.support-stats strong { display: block; margin-top: 4px; overflow-wrap: anywhere; color: var(--ink); font: 700 15px Consolas, monospace; }
.support-record-heading { margin: 20px 20px 0; display: flex; justify-content: space-between; gap: 8px; align-items: baseline; }
.support-record-heading strong { font-size: 13px; }
.support-record-heading span { color: var(--muted); font-size: 10px; }
.support-records { max-height: 500px; margin: 9px 20px 20px; overflow: auto; border: 1px solid var(--line); background: var(--surface); }
.support-record { min-height: 58px; padding: 9px 10px; display: grid; grid-template-columns: 30px minmax(0, 1fr) auto; align-items: center; gap: 8px; border-bottom: 1px solid #edf0f2; }
.support-record:last-child { border-bottom: 0; }
.support-avatar { width: 30px; height: 30px; border-radius: 50%; border: 1px solid #d8e0e5; background: #e9eef1; object-fit: cover; }
.support-avatar-empty { display: block; }
.support-sponsor { min-width: 0; }
.support-sponsor strong { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 11px; }
.support-sponsor time { display: block; margin-top: 2px; color: var(--muted); font: 10px Consolas, monospace; }
.support-amount { color: var(--mint); font: 700 12px Consolas, monospace; white-space: nowrap; }
.support-empty { min-height: 120px; display: grid; place-items: center; color: var(--muted); font-size: 12px; }

.empty-state { min-height: 220px; display: grid; place-content: center; gap: 7px; text-align: center; color: var(--muted); }
.empty-state strong { color: var(--ink); font-size: 16px; }
.pager { min-height: 48px; display: flex; align-items: center; justify-content: center; gap: 14px; }
.pager button { min-width: 76px; height: 32px; border: 1px solid var(--line); background: var(--surface); cursor: pointer; }
.pager button:disabled { color: #9aa3aa; background: #f2f4f5; cursor: default; }
.pager span { min-width: 150px; color: var(--muted); text-align: center; font-size: 12px; white-space: nowrap; }
.hidden { display: none !important; }
.toast { position:fixed; z-index:120; right:24px; bottom:24px; max-width:min(520px,calc(100vw - 24px)); padding:11px 15px; color:white; background:var(--coal); border-radius:4px; box-shadow:0 8px 30px rgba(0,0,0,.18); }
.announcement-overlay { position:fixed; z-index:100; inset:0; padding:20px; display:grid; place-items:center; background:rgba(15,22,28,.66); }
.announcement-dialog { width:min(680px,100%); max-height:min(760px,calc(100vh - 40px)); display:grid; grid-template-rows:auto minmax(0,1fr) auto; background:var(--surface); border-top:4px solid var(--mint); box-shadow:0 24px 80px rgba(0,0,0,.34); }
.announcement-dialog header { min-height:62px; padding:14px 16px 14px 20px; display:flex; align-items:center; justify-content:space-between; gap:16px; border-bottom:1px solid var(--line); }
.announcement-dialog h2 { margin:0; min-width:0; overflow-wrap:anywhere; font-size:20px; }
.announcement-close { width:36px; height:36px; flex:0 0 auto; border:1px solid var(--line); background:white; cursor:pointer; font-size:25px; line-height:1; }
.announcement-content { min-height:150px; overflow:auto; padding:22px; line-height:1.75; overflow-wrap:anywhere; }
.announcement-content img { max-width:100%; }
.announcement-content a { color:var(--focus); }
.announcement-dialog footer { padding:12px 20px; display:flex; justify-content:flex-end; border-top:1px solid var(--line); background:#f6f8f9; }
.announcement-dialog footer button { min-height:38px; padding:0 18px; color:white; background:var(--mint); border:1px solid var(--mint); cursor:pointer; font-weight:800; }
.access-dialog footer form { width:100%; display:grid; grid-template-columns:minmax(0,1fr) auto; gap:10px; }
.access-error { grid-column:1 / -1; min-height:20px; color:var(--red); font-size:12px; }
.search-field { position:relative; }
.search-history { position:absolute; z-index:20; top:100%; left:0; right:0; max-height:250px; overflow:auto; background:white; border:1px solid var(--line); box-shadow:0 8px 20px rgba(0,0,0,.12); }
.search-history-row { display:grid; grid-template-columns:34px minmax(0,1fr) 34px; border-bottom:1px solid #edf0f1; }
.search-history-row button { min-width:0; padding:9px 11px; color:var(--ink); background:white; border:0; cursor:pointer; }
.search-history-value { overflow:hidden; text-overflow:ellipsis; white-space:nowrap; text-align:left; }
.search-history-star { color:var(--gold) !important; font-size:18px; line-height:1; }
.search-history-delete { color:#9b5353 !important; font-size:18px; line-height:1; }
.search-history-row button:hover { background:#f3f8f6; }

@media (max-width: 1150px) {
  .market-strip { grid-template-columns: repeat(4, 1fr); }
  .market-intro { grid-column: 1 / -1; border-right: 0; border-bottom: 1px solid var(--line); }
}
@media (max-width: 950px) {
  .market-strip { grid-template-columns: repeat(3, 1fr); }
  .workspace { grid-template-columns: 1fr; }
  .filters { border-right: 0; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 18px; }
  .filter-title, .scan-note { grid-column: 1 / -1; }
  .category-picker { left: auto; right: 0; }
  .comparison-grid { grid-template-columns: 1fr; }
}
@media (max-width: 650px) {
  .topbar { height: auto; min-height: 68px; padding: 12px 16px; align-items: flex-start; }
  .topbar { flex-wrap: wrap; }
  .promo-link { order: 3; width: 100%; justify-content: center; margin-top: 10px; }
  .sync-state { flex-wrap: wrap; justify-content: flex-end; max-width: 130px; }
  main { padding: 14px 10px 28px; }
  .market-strip { grid-template-columns: repeat(2, 1fr); }
  .market-intro { padding: 16px; }
  .metric:nth-child(n+4) { border-top: 1px solid var(--line); }
  .metric.visitors-peak { grid-column: 1 / -1; border-top: 1px solid var(--line); }
  .tabs { width: 100%; overflow: visible; gap: 0; }
  .tab { flex: 1 1 25%; min-width: 0; padding: 0 4px; font-size: 12px; white-space: nowrap; }
  .filters { grid-template-columns: 1fr; }
  .filter-title, .scan-note { grid-column: auto; }
  .category-picker { position: fixed; inset: auto 10px 12px; width: auto; height: min(430px, calc(100vh - 100px)); grid-template-columns: minmax(128px,.85fr) minmax(170px,1.15fr); }
  .content-area { padding: 16px 10px; }
  .view-heading { align-items: flex-end; }
  .ranking-switch { width: 100%; overflow-x: auto; }
  .ranking-list { overflow-x: auto; }
  .rank-row { min-width: 650px; }
  .support-stats { grid-template-columns: 1fr 1fr; margin-left: 14px; margin-right: 14px; }
  .support-record-heading { margin-left: 14px; margin-right: 14px; }
  .support-records { margin-left: 14px; margin-right: 14px; }
  th, td { padding-left: 10px; padding-right: 10px; }
  .announcement-overlay { padding:10px; }
  .announcement-dialog { max-height:calc(100vh - 20px); }
}
@media (prefers-reduced-motion: reduce) { * { scroll-behavior: auto !important; } }

/* ================= 每周副本表 ================= */
.du-collapse {
  margin-bottom: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #fff;
  box-shadow: var(--shadow-sm);
}
.du-toggle {
  width: 100%; display: flex; align-items: center; gap: 13px;
  padding: 15px 20px;
  background:
    radial-gradient(600px 140px at 12% 50%, rgba(47, 126, 224, 0.10), transparent 60%),
    linear-gradient(120deg, #f8fbff 0%, #f0f6fb 100%);
  border: none; cursor: pointer; font-family: inherit; text-align: left;
  transition: background 0.2s;
}
.du-toggle:hover { background:
    radial-gradient(600px 140px at 12% 50%, rgba(47, 126, 224, 0.16), transparent 60%),
    linear-gradient(120deg, #f2f9ff 0%, #e8f2fa 100%);
}
.du-toggle-title { font-size: 16px; font-weight: 800; color: #152433; letter-spacing: 0.5px; }
.du-toggle-sub { font-size: 12px; color: var(--muted); flex: 1; }
.du-toggle-arrow {
  width: 26px; height: 26px;
  display: grid; place-items: center;
  color: #fff; border-radius: 8px;
  background: linear-gradient(135deg, #5db1ff, #2f7ee0);
  font-size: 13px;
  box-shadow: 0 3px 8px rgba(47, 126, 224, 0.35);
  transition: transform 0.25s;
}
.du-toggle[aria-expanded="true"] .du-toggle-arrow { transform: rotate(180deg); }
.du-panel {
  border-top: 1px solid var(--line);
  padding: 16px;
  background: #fbfdff;
  animation: duExpand 0.28s ease-out;
  transform-origin: top;
}
@keyframes duExpand {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: translateY(0); }
}
.du-weekbar {
  display: flex; align-items: center; gap: 14px; flex-wrap: wrap;
  padding: 12px 16px; border: 1px solid var(--line); border-radius: var(--radius-md);
  margin-bottom: 16px; background: #fff;
  box-shadow: var(--shadow-sm);
}
.du-week-title { font-size: 13px; font-weight: 800; letter-spacing: 1px; color: var(--muted); white-space: nowrap; }
.du-weekdays { display: flex; gap: 7px; flex-wrap: wrap; }
.du-day {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 7px 13px; border: 1px solid #dbe2e8; border-radius: 10px;
  background: #fff; color: #47515a; font-size: 12.5px;
  cursor: pointer; font-family: inherit;
  transition: all 0.15s;
  box-shadow: var(--shadow-sm);
}
.du-day:hover { border-color: #4f9cf5; color: #1d5fb0; transform: translateY(-1px); }
.du-day.active {
  color: #fff; font-weight: 700;
  background: linear-gradient(135deg, #5db1ff, #2f7ee0);
  border-color: #2f7ee0;
  box-shadow: 0 4px 12px rgba(47, 126, 224, 0.35);
}
.du-day-n {
  font-style: normal; font-size: 10px; font-family: Consolas, monospace;
  border-radius: 8px; padding: 0 6px; line-height: 15px;
  background: #eef1f4; color: var(--muted);
}
.du-day.active .du-day-n { background: rgba(255, 255, 255, 0.25); color: #fff; }
.du-today-mark {
  font-style: normal; font-size: 9.5px; font-weight: 700;
  color: #16a34a; border: 1px solid #86efac; border-radius: 6px; padding: 0 5px; background: #f0fdf4;
}
.du-day.active .du-today-mark { color: #fff; border-color: rgba(255, 255, 255, 0.5); background: transparent; }
.du-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 13px; }
.du-card {
  border: 1px solid var(--line); border-radius: var(--radius-md); padding: 15px;
  background: #fff;
  transition: all 0.18s ease;
  box-shadow: var(--shadow-sm);
}
.du-card:hover { border-color: var(--dc, #4f9cf5); box-shadow: var(--shadow-md); transform: translateY(-2px); }
.du-card.closed { opacity: 0.74; border-color: #f2b8b8; background: #fffafa; }
.du-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 8px; margin-bottom: 9px; }
.du-name-box { min-width: 0; }
.du-name { font-size: 14px; font-weight: 800; line-height: 1.3; color: #152433; }
.du-nick { font-size: 11.5px; color: var(--muted); margin-top: 2px; }
.du-badges { display: flex; align-items: center; gap: 5px; flex: none; flex-wrap: wrap; justify-content: flex-end; }
.du-badge { font-size: 10.5px; font-weight: 800; border-radius: 8px; padding: 2px 8px; border: 1px solid; letter-spacing: 0.5px; }
.du-badge.closed { color: #dc2626; border-color: #fca5a5; background: #fef2f2; }
.du-event {
  font-size: 11.5px; color: #b45309; border: 1px solid #f5d58c;
  background: #fffaf0; border-radius: 8px; padding: 3px 9px; margin-bottom: 8px;
  display: inline-block;
}
.du-today-badge {
  font-size: 11px; font-weight: 800; color: #16a34a;
  border: 1px solid #86efac; background: #f0fdf4;
  border-radius: 8px; padding: 3px 10px; margin-bottom: 9px; display: inline-block;
  animation: duPulse 2.4s ease-in-out infinite;
}
@keyframes duPulse {
  0%, 100% { box-shadow: 0 0 0 rgba(22, 163, 74, 0); }
  50% { box-shadow: 0 0 12px rgba(22, 163, 74, 0.3); }
}
.du-info { display: flex; flex-direction: column; gap: 7px; font-size: 12.5px; color: #47515a; }
.du-row { display: flex; align-items: flex-start; gap: 8px; }
.du-ico { flex: none; opacity: 0.9; width: 17px; text-align: center; }
.du-time { color: #2f7ee0; font-weight: 700; }
.du-reward {
  margin-top: 10px; font-size: 12px; color: #9a5b10; line-height: 1.6;
  border: 1px solid #f5dc93; border-radius: 10px;
  padding: 8px 11px; background: #fffbef;
}
.du-empty { padding: 40px; text-align: center; color: var(--muted); }



/* ============ 刷新领地 ============ */
.refresh-panel {
  background: #ffffff;
  border: 1px solid #e3e8ee;
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 2px 10px rgba(16, 29, 38, 0.05);
}
.refresh-form {
  display: flex;
  gap: 12px;
  align-items: flex-end;
  flex-wrap: wrap;
  margin-bottom: 14px;
}
.refresh-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
  min-width: 220px;
}
.refresh-field span {
  font-size: 13px;
  color: #52606d;
  font-weight: 600;
}
.refresh-field input {
  padding: 10px 12px;
  border: 1px solid #d3dae2;
  border-radius: 8px;
  font-size: 14px;
  background: #f8fafc;
  color: #17212b;
  outline: none;
  transition: border-color .15s, box-shadow .15s;
}
.refresh-field input:focus {
  border-color: #2f9e44;
  box-shadow: 0 0 0 3px rgba(47, 158, 68, 0.12);
  background: #fff;
}
.refresh-submit {
  padding: 10px 20px;
  background: #2f9e44;
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: background .15s;
  white-space: nowrap;
}
.refresh-submit:hover { background: #2b8a3e; }
.refresh-submit:disabled { opacity: .6; cursor: not-allowed; }
.refresh-result {
  padding: 12px 14px;
  border-radius: 8px;
  margin-bottom: 14px;
  font-size: 14px;
  line-height: 1.7;
}
.refresh-result.ok { background: #e9f8ee; color: #1b7a33; border: 1px solid #bfe8cc; }
.refresh-result.err { background: #fdeeee; color: #b42318; border: 1px solid #f3c4c4; }
.refresh-queue-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 16px 0 10px;
  font-size: 14px;
  color: #17212b;
}
.refresh-queue-err { color: #d92d20; font-size: 12px; }
.refresh-empty {
  padding: 24px;
  text-align: center;
  color: #8a94a0;
  font-size: 13px;
  background: #f8fafc;
  border: 1px dashed #d3dae2;
  border-radius: 8px;
}
.refresh-queue { display: flex; flex-direction: column; gap: 6px; }
.refresh-job {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 12px;
  background: #f8fafc;
  border: 1px solid #e3e8ee;
  border-radius: 8px;
  font-size: 13px;
}
.refresh-job-status { font-weight: 600; color: #17212b; }
.refresh-job-name { flex: 1; color: #334155; }
.refresh-job-time { color: #8a94a0; font-size: 12px; }
.refresh-job.completed { opacity: .75; }
.refresh-job.completed .refresh-job-status { color: #2f9e44; }
.refresh-job.claimed .refresh-job-status { color: #d97706; }
.refresh-job.pending .refresh-job-status { color: #3b82f6; }
.warn-overlay {
  position: fixed;
  inset: 0;
  background: rgba(10, 18, 26, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 90;
  padding: 20px;
}
.warn-card {
  background: #fff;
  border-radius: 14px;
  padding: 24px;
  max-width: 420px;
  width: 100%;
  box-shadow: 0 18px 50px rgba(10, 18, 26, 0.25);
}
.warn-title { font-size: 16px; font-weight: 700; color: #17212b; margin-bottom: 10px; }
.warn-text { font-size: 14px; color: #52606d; line-height: 1.7; margin-bottom: 12px; }
.warn-name { font-weight: 700; color: #17212b; }
.warn-matches { margin: 10px 0; }
.warn-matches-label { font-size: 13px; color: #8a94a0; margin-bottom: 6px; }
.warn-match {
  display: inline-block;
  padding: 3px 10px;
  margin: 3px 4px 3px 0;
  background: #f1f5f9;
  border-radius: 6px;
  font-size: 13px;
  color: #334155;
}
.warn-worlds { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0; }
.warn-world {
  padding: 8px 16px;
  background: #2f9e44;
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
}
.warn-world:hover { background: #2b8a3e; }
.warn-actions { display: flex; justify-content: flex-end; gap: 10px; margin-top: 14px; }
.warn-cancel {
  padding: 8px 18px;
  background: #f1f5f9;
  color: #334155;
  border: 1px solid #d3dae2;
  border-radius: 8px;
  font-size: 14px;
  cursor: pointer;
}
.warn-cancel:hover { background: #e2e8f0; }

/* ============ 每日副本打卡（独立栏目 · 腾讯云版） ============ */
.dungeon { animation: viewIn .3s ease-out; }
.du-weekbar {
  display: flex; align-items: center; gap: 14px; flex-wrap: wrap;
  padding: 14px 18px;
  border-radius: 12px;
  border: 1px solid #e3e8ee;
  background: #fff;
  box-shadow: 0 1px 4px rgba(22, 32, 43, 0.05);
  margin-bottom: 18px;
}
.du-week-title { font-size: 12px; font-weight: 700; color: #8a94a0; letter-spacing: 0.15em; text-transform: uppercase; white-space: nowrap; }
.du-weekdays { display: flex; gap: 7px; flex-wrap: wrap; }
.du-day {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 8px 14px;
  border-radius: 10px;
  border: 1px solid #dbe2e8;
  background: #fff;
  color: #52606d;
  font-size: 13px;
  cursor: pointer;
  transition: all 0.2s ease;
}
.du-day:hover { border-color: #4f9cf5; color: #1d5fb0; transform: translateY(-1px); }
.du-day.active {
  color: #fff;
  background: linear-gradient(135deg, #5db1ff, #2f7ee0);
  border-color: #2f7ee0;
  box-shadow: 0 4px 14px rgba(47, 126, 224, 0.32);
}
.du-today-mark {
  font-style: normal; font-size: 9px; font-weight: 700;
  color: #16a34a;
  border: 1px solid #86efac;
  border-radius: 6px; padding: 1px 5px;
  background: #f0fdf4;
}
.du-day.active .du-today-mark { color: #fff; border-color: rgba(255,255,255,.5); background: transparent; }
.du-day-done {
  font-style: normal; font-size: 9.5px; font-weight: 700;
  min-width: 17px; height: 17px;
  display: inline-grid; place-items: center;
  border-radius: 999px;
  background: rgba(18,185,143,.15);
  color: #0b8f6d;
}
.du-day-done.all { background: linear-gradient(135deg, #12b98f, #0b8f6d); color: #fff; }
.du-day.active .du-day-done { background: rgba(255,255,255,.3); color: #fff; }
.du-day.active .du-day-done.all { background: #fff; color: #0b8f6d; }
.du-day-n {
  font-style: normal; font-size: 10px;
  border-radius: 8px; padding: 0 6px; line-height: 15px;
  background: #eef1f4;
  color: #8a94a0;
}
.du-day.active .du-day-n { background: rgba(255,255,255,.25); color: #fff; }
.du-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 14px; }
.du-card {
  border: 1px solid #e3e8ee;
  border-radius: 12px;
  padding: 18px;
  background: #fff;
  box-shadow: 0 1px 4px rgba(22,32,43,.05);
  transition: all .25s ease;
  position: relative; overflow: hidden;
}
.du-card::before {
  content: "";
  position: absolute; top: 0; left: 0; right: 0; height: 2.5px;
  background: linear-gradient(90deg, transparent, var(--dc, #4f9cf5), transparent);
  opacity: .75;
}
.du-card:hover { transform: translateY(-4px); border-color: var(--dc, #4f9cf5); box-shadow: 0 14px 34px rgba(22,32,43,.12); }
.du-card.closed { opacity: .65; }
.du-card.week-full { opacity: .6; filter: grayscale(.85); cursor: not-allowed; }
.du-card.week-full .du-done { opacity: .6; }
.du-card.done { border-color: rgba(18,185,143,.35); background: linear-gradient(160deg, #f4fbf8, #eef7f3); }
.du-card.done .du-name { color: #4a6b5f; }
.du-card.done .du-done-tag {
  position: absolute; top: 0; right: 0;
  width: 30px; height: 30px;
  display: grid; place-items: center;
  background: linear-gradient(135deg, #12b98f, #0b8f6d);
  color: #fff; font-size: 15px; font-weight: 800;
  border-radius: 0 10px 0 14px;
  box-shadow: 0 2px 8px rgba(18,185,143,.3);
}
.du-card.done .du-done { opacity: .75; }
.du-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; margin-bottom: 10px; }
.du-name-box { min-width: 0; }
.du-name { font-size: 15px; font-weight: 700; color: #152433; }
.du-nick { font-size: 12px; color: #8a94a0; margin-top: 2px; }
.du-badges { display: flex; gap: 6px; flex: none; flex-wrap: wrap; justify-content: flex-end; }
.du-badge { font-size: 10.5px; font-weight: 700; border-radius: 8px; padding: 2px 8px; border: 1px solid; letter-spacing: .04em; }
.du-badge.closed { color: #dc2626; border-color: #fca5a5; background: #fef2f2; }
.du-event {
  display: inline-block;
  font-size: 11.5px; color: #b45309;
  border: 1px solid #f5d58c;
  background: #fffaf0;
  border-radius: 8px; padding: 3px 9px; margin-bottom: 9px;
}
.du-today-badge {
  display: inline-block;
  font-size: 11px; font-weight: 700; color: #0b8f6d;
  border: 1px solid rgba(74,222,160,.4);
  background: #f0fdf4;
  border-radius: 8px; padding: 3px 10px; margin-bottom: 9px;
  animation: duPulse 2.4s ease-in-out infinite;
}
@keyframes duPulse {
  0%, 100% { box-shadow: 0 0 0 rgba(74,222,160,0); }
  50% { box-shadow: 0 0 16px rgba(74,222,160,.3); }
}
.du-info { display: flex; flex-direction: column; gap: 7px; font-size: 13px; color: #47515a; }
.du-row { display: flex; align-items: flex-start; gap: 8px; }
.du-ico { flex: none; width: 18px; text-align: center; opacity: .85; }
.du-time { color: #2f7ee0; font-weight: 700; }
.du-reward {
  margin-top: 11px;
  font-size: 12px; color: #9a5b10;
  border: 1px solid #f5dc93;
  border-radius: 10px;
  padding: 8px 11px;
  background: #fffbef;
  line-height: 1.6;
}
.du-done {
  margin-top: 12px;
  width: 100%;
  padding: 9px 12px;
  border-radius: 10px;
  border: 1.5px solid rgba(18,185,143,.45);
  background: transparent;
  color: #0b8f6d;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: .08em;
  cursor: pointer;
  transition: all .2s ease;
}
.du-done:hover { background: rgba(18,185,143,.08); border-color: #12b98f; }
.du-done.done {
  background: linear-gradient(135deg, #12b98f, #0b8f6d);
  border-color: transparent;
  color: #fff;
  box-shadow: 0 4px 14px rgba(18,185,143,.3);
}
.du-done.done:hover { opacity: .9; }
.du-done.disabled {
  border-color: rgba(120,140,160,.3);
  color: #9aa7b5;
  cursor: not-allowed;
  background: rgba(240,243,245,.6);
}
.du-done.disabled:hover { background: rgba(240,243,245,.6); border-color: rgba(120,140,160,.3); }
.du-week { color: #0b8f6d; font-weight: 600; }
.du-week-num {
  display: inline-block; min-width: 18px; padding: 1px 7px; border-radius: 999px;
  background: #f0fdf4; color: #0b7d64; margin: 0 2px;
  font-variant-numeric: tabular-nums; transition: all .2s ease;
}
.du-week-num.full { background: linear-gradient(135deg, #12b98f, #0b8f6d); color: #fff; box-shadow: 0 0 8px rgba(18,185,143,.35); }
.du-progress {
  padding: 16px 18px;
  border-radius: 12px;
  border: 1px solid #e3e8ee;
  background: linear-gradient(120deg, rgba(18,185,143,.06), rgba(47,126,224,.04)), #fff;
  margin-bottom: 14px;
  box-shadow: 0 1px 4px rgba(22,32,43,.05);
}
.du-progress.complete { border-color: rgba(18,185,143,.4); box-shadow: 0 0 20px rgba(18,185,143,.12); }
.du-progress-head { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
.du-progress-title { font-size: 14.5px; font-weight: 700; color: #16202b; }
.du-progress-title em { font-style: normal; font-size: 11px; color: #0b8f6d; margin-left: 6px; font-weight: 600; }
.du-progress-count { font-size: 12.5px; color: #52606d; }
.du-progress-count b { color: #0b8f6d; font-size: 15px; }
.du-progress-bar { margin-top: 12px; height: 8px; border-radius: 999px; background: #e8eef2; overflow: hidden; }
.du-progress-bar i {
  display: block; height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, #12b98f, #2f7ee0);
  transition: width .5s cubic-bezier(.16,1,.3,1);
}
.du-progress.complete .du-progress-bar i { background: linear-gradient(90deg, #12b98f, #0b8f6d); box-shadow: 0 0 10px rgba(18,185,143,.5); }
.du-progress-foot { margin-top: 10px; display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.du-progress-foot > span { font-size: 12px; color: #52606d; }
.du-progress.complete .du-progress-foot > span { color: #0b8f6d; font-weight: 600; }
.du-progress-actions { display: flex; gap: 8px; }
.du-progress-actions button {
  padding: 5px 12px;
  border-radius: 8px;
  border: 1px solid #e3e8ee;
  background: #fff;
  color: #52606d;
  font-size: 11.5px;
  cursor: pointer;
  transition: all .15s ease;
}
.du-progress-actions button:hover { border-color: #12b98f; color: #0b8f6d; }
.du-progress-actions button.danger { border-color: rgba(220,80,80,.4); color: #c05050; }
.du-progress-actions button.danger:hover { border-color: #dc5050; color: #dc5050; background: rgba(220,80,80,.06); }
.du-empty { padding: 34px; text-align: center; color: #8a94a0; font-size: 13px; }
/* store update time: gilt gold */
.update-time-divider { color: #d4af37; font-weight: 700; }
.update-time { color: #d4af37; font-size: 11px; font-weight: 700; white-space: nowrap; }

/* ============ 每日副本：打卡历史 & 补记（从本地开发站移植） ============ */
.du-hist {
  margin-top: 11px;
  display: flex; align-items: center; gap: 8px;
  font-size: 12px;
}
.du-hist-label {
  flex: none; font-size: 11px; font-weight: 700; color: #8a94a0;
  padding: 3px 8px; border-radius: 6px; background: #f1f4f7;
}
.du-hist-cells { display: flex; gap: 3px; flex-wrap: wrap; }
.du-wc {
  cursor: pointer;
  width: 20px; height: 20px; display: grid; place-items: center;
  border-radius: 6px;
  background: #f2f4f6; color: #a9b3bd;
  font-size: 10px; font-weight: 700;
  border: 1px solid #e8ecef;
  transition: all .15s ease;
}
.du-wc:hover { border-color: #12b98f; color: #0b8f6d; transform: translateY(-1px); }
.du-wc.today { border-color: #2f7ee0; color: #2f7ee0; background: #f0f6ff; }
.du-wc.on {
  background: linear-gradient(135deg, #12b98f, #0b8f6d);
  color: #fff; border-color: transparent;
  box-shadow: 0 2px 6px rgba(18,185,143,.3);
}
.du-wc.on.today { box-shadow: 0 0 0 2px #f0f6ff, 0 2px 6px rgba(18,185,143,.3); }
.du-hist-total { font-size: 11px; color: #8a94a0; margin-left: 2px; }
.du-hist-none { font-size: 11px; color: #aab4be; margin-left: 2px; }
.du-hist-empty { color: #aab4be; }
.du-hist-none { color: #aab4be; font-size: 11.5px; }
.du-actions { display: flex; gap: 8px; }
.du-actions .du-done { flex: 1; margin-top: 12px; }
.du-backfill-btn {
  margin-top: 12px;
  flex: none; align-self: center;
  padding: 8px 12px; border-radius: 10px;
  border: 1px solid rgba(18,185,143,.55);
  background: linear-gradient(135deg, #e6faf3, #d3f4e8);
  color: #0b7d64;
  font-size: 12px; font-weight: 700;
  cursor: pointer; transition: all .2s ease;
  box-shadow: 0 1px 4px rgba(18,185,143,.15);
}
.du-backfill-btn:hover { background: linear-gradient(135deg, #d3f4e8, #bdeeda); border-color: #12b98f; color: #095c4a; transform: translateY(-1px); box-shadow: 0 3px 10px rgba(18,185,143,.22); }
.du-backfill-btn.open {
  border-style: solid; border-color: transparent;
  background: linear-gradient(135deg, #12b98f, #0b8f6d);
  color: #fff; box-shadow: 0 4px 14px rgba(18,185,143,.3);
}
.du-backfill-btn.open:hover { color: #fff; background: linear-gradient(135deg, #0fae84, #0a8062); }
.du-backfill-btn.disabled {
  border-color: rgba(120,140,160,.3); color: #9aa7b5;
  cursor: not-allowed; opacity: .55;
  background: rgba(240,243,245,.6);
  filter: grayscale(.85);
}
.du-backfill-btn.disabled:hover { border-color: rgba(120,140,160,.3); color: #9aa7b5; background: rgba(240,243,245,.6); }
.du-backfill {
  margin-top: 10px;
  border: 1px solid #e3e8ee; border-radius: 10px;
  padding: 10px; background: #fafcfd;
  animation: viewIn .2s ease-out;
}
.du-backfill-title { font-size: 12px; font-weight: 700; color: #16202b; margin-bottom: 8px; }
.du-backfill-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 5px; }
.du-bf-day {
  display: flex; flex-direction: column; align-items: center; gap: 1px;
  padding: 5px 2px; border-radius: 8px;
  border: 1px solid #e8ecef; background: #fff;
  font-size: 11px; font-weight: 600; color: #47515a;
  cursor: pointer; transition: all .15s ease;
}
.du-bf-day b { font-size: 12px; font-weight: 700; color: #16202b; }
.du-bf-day small { font-size: 9px; color: #9aa5b0; font-weight: 400; }
.du-bf-day:hover { border-color: #12b98f; }
.du-bf-day.today { border-color: #2f7ee0; background: #f0f6ff; }
.du-bf-day.on {
  border-color: #12b98f; background: linear-gradient(135deg, #12b98f, #0b8f6d);
  color: #fff; box-shadow: 0 2px 8px rgba(18,185,143,.3);
}
.du-bf-day.on b { color: #fff; }
.du-bf-day.on small { color: rgba(255,255,255,.85); }
.du-backfill-foot {
  display: flex; align-items: center; justify-content: space-between;
  margin-top: 8px;
}
.du-bf-hint { font-size: 11px; color: #9aa5b0; }
.du-bf-close {
  padding: 3px 12px; border-radius: 8px;
  border: 1px solid #e3e8ee; background: #fff; color: #6b7680;
  font-size: 11.5px; cursor: pointer; transition: all .15s ease;
}
.du-bf-close:hover { border-color: #12b98f; color: #0b8f6d; }
.du-progress {
  padding: 16px 18px;
  border-radius: 12px;
  border: 1px solid #e3e8ee;
  background: linear-gradient(120deg, rgba(18,185,143,.06), rgba(47,126,224,.04)), #fff;
  margin-bottom: 14px;
  box-shadow: 0 1px 4px rgba(22,32,43,.05);
}
.du-progress.complete { border-color: rgba(18,185,143,.4); box-shadow: 0 0 20px rgba(18,185,143,.12); }
.du-progress-head { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
.du-progress-title { font-size: 14.5px; font-weight: 700; color: #16202b; }
.du-progress-title em { font-style: normal; font-size: 11px; color: #0b8f6d; margin-left: 6px; font-weight: 600; }
.du-progress-count { font-size: 12.5px; color: #52606d; }
.du-progress-count b { color: #0b8f6d; font-size: 15px; }
.du-progress-bar { margin-top: 12px; height: 8px; border-radius: 999px; background: #e8eef2; overflow: hidden; }
.du-progress-bar i {
  display: block; height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, #12b98f, #2f7ee0);
  transition: width .5s cubic-bezier(.16,1,.3,1);
}
.du-progress.complete .du-progress-bar i { background: linear-gradient(90deg, #12b98f, #0b8f6d); box-shadow: 0 0 10px rgba(18,185,143,.5); }
.du-progress-foot { margin-top: 10px; display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.du-progress-foot > span { font-size: 12px; color: #52606d; }
.du-progress.complete .du-progress-foot > span { color: #0b8f6d; font-weight: 600; }
.du-progress-actions { display: flex; gap: 8px; }
.du-progress-actions button {
  padding: 5px 12px;
  border-radius: 8px;
  border: 1px solid #e3e8ee;
  background: #fff;
  color: #52606d;
  font-size: 11.5px;
  cursor: pointer;
  transition: all .15s ease;
}
.du-progress-actions button:hover { border-color: #12b98f; color: #0b8f6d; }
.du-progress-actions button.danger { border-color: rgba(220,80,80,.4); color: #c05050; }
.du-progress-actions button.danger:hover { border-color: #dc5050; color: #dc5050; background: rgba(220,80,80,.06); }
.du-empty { padding: 34px; text-align: center; color: #8a94a0; font-size: 13px; }
