/* Task market and order-flow skin. Loaded last so the visual layer can be tuned independently. */
body[data-app-view] {
  --task-blue: #4aa8ff;
  --task-cyan: #43e6ff;
  --task-indigo: #735cff;
  --task-green: #54efa1;
  --task-orange: #ffb84d;
  --task-red: #ff6d7a;
  --task-surface: rgba(8, 16, 29, 0.9);
  --task-line: rgba(131, 165, 214, 0.2);
  --task-muted: rgba(190, 207, 230, 0.66);
}

body[data-app-view] .task-market-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(326px, 376px);
  align-items: start;
  gap: 20px;
  width: min(1380px, calc(100% - 40px));
  margin: 18px auto 110px;
}

body[data-app-view] #task-hall-content > .task-hall-hero {
  order: -20 !important;
}

body[data-app-view] #task-hall-content > .task-market-layout {
  order: 0 !important;
}

body[data-app-view] #task-hall-content .task-market-layout > .task-board-panel {
  order: 1 !important;
}

body[data-app-view] #task-hall-content .task-market-layout > .task-market-side {
  order: 2 !important;
}

body[data-app-view] .task-market-layout.is-side-only {
  grid-template-columns: minmax(0, 780px);
  justify-content: center;
}

body[data-app-view] .task-market-side {
  position: sticky;
  top: 94px;
  display: grid;
  gap: 16px;
  min-width: 0;
}

body[data-app-view] .task-board-panel,
body[data-app-view] .task-publish-panel,
body[data-app-view] .task-mine-panel {
  border: 1px solid var(--task-line);
  border-radius: 24px;
  padding: 20px;
  background: linear-gradient(145deg, rgba(11, 23, 41, 0.95), rgba(5, 12, 23, 0.97)), var(--task-surface);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.36), inset 0 1px 0 rgba(255, 255, 255, 0.045);
  backdrop-filter: blur(16px);
}

body[data-app-view] .task-board-panel {
  position: relative;
  overflow: hidden;
}

body[data-app-view] .task-board-panel::before {
  position: absolute;
  inset: 0 0 auto;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(74, 168, 255, 0.55), rgba(115, 92, 255, 0.34), transparent);
  content: "";
  pointer-events: none;
}

body[data-app-view] .task-hall-hero {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 28px;
  overflow: hidden;
  width: min(1380px, calc(100% - 40px));
  min-height: 210px;
  margin: 18px auto 0;
  border: 1px solid rgba(85, 169, 255, 0.3);
  border-radius: 30px;
  padding: clamp(26px, 4vw, 48px);
  background: radial-gradient(circle at 82% 18%, rgba(64, 163, 255, 0.35), transparent 24rem), radial-gradient(circle at 18% 110%, rgba(115, 92, 255, 0.24), transparent 22rem), linear-gradient(118deg, rgba(7, 18, 38, 0.98), rgba(8, 24, 51, 0.93) 54%, rgba(13, 12, 38, 0.98));
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.42), inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 0 70px rgba(44, 126, 255, 0.08);
}

body[data-app-view] .task-hall-hero::before {
  position: absolute;
  z-index: -1;
  inset: 0;
  opacity: 0.32;
  background-image: linear-gradient(rgba(111, 174, 255, 0.08) 1px, transparent 1px), linear-gradient(90deg, rgba(111, 174, 255, 0.08) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(90deg, #000, transparent 70%);
  content: "";
}

body[data-app-view] .task-hall-hero::after {
  position: absolute;
  z-index: -1;
  top: -90px;
  right: 8%;
  width: 280px;
  height: 280px;
  border: 1px solid rgba(120, 196, 255, 0.18);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(72, 171, 255, 0.14), transparent 65%);
  box-shadow: 0 0 0 42px rgba(74, 168, 255, 0.035), 0 0 0 96px rgba(115, 92, 255, 0.025);
  content: "";
  pointer-events: none;
}

body[data-app-view] .task-hall-hero-art {
  position: absolute;
  z-index: -2;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.2;
  pointer-events: none;
}

body[data-app-view] .task-hall-hero-copy {
  position: relative;
  z-index: 1;
  max-width: 760px;
}

body[data-app-view] .task-hall-hero .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #74d7ff;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.22em;
}

body[data-app-view] .task-hall-hero .eyebrow::before {
  width: 22px;
  height: 2px;
  border-radius: 99px;
  background: linear-gradient(90deg, var(--task-cyan), var(--task-indigo));
  box-shadow: 0 0 16px rgba(67, 230, 255, 0.75);
  content: "";
}

body[data-app-view] .task-hall-hero h1 {
  margin: 10px 0 12px;
  color: #fff;
  font-size: clamp(2rem, 4.3vw, 3.45rem);
  font-weight: 950;
  letter-spacing: -0.045em;
  line-height: 1.06;
  text-shadow: 0 8px 34px rgba(0, 0, 0, 0.55);
}

body[data-app-view] .task-hall-hero h1 em {
  color: transparent;
  font-style: normal;
  background: linear-gradient(100deg, #72d9ff 0%, #8f9cff 48%, #c67dff 100%);
  background-clip: text;
  -webkit-background-clip: text;
}

body[data-app-view] .task-hall-hero p {
  max-width: 690px;
  margin: 0;
  color: rgba(212, 226, 248, 0.78);
  font-size: 14px;
  line-height: 1.85;
}

body[data-app-view] .task-hall-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

body[data-app-view] .task-hall-hero-actions .button {
  min-height: 42px;
  border-radius: 13px;
  padding: 0 20px;
  font-weight: 850;
}

body[data-app-view] .task-hall-stats {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(5, minmax(70px, 1fr));
  gap: 8px;
  align-self: stretch;
  min-width: 340px;
}

body[data-app-view] .task-hall-stats > div {
  display: grid;
  min-width: 66px;
  align-content: center;
  justify-items: center;
  border: 1px solid rgba(127, 173, 232, 0.18);
  border-radius: 17px;
  padding: 15px 8px;
  background: rgba(4, 13, 27, 0.52);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(8px);
}

body[data-app-view] .task-hall-stats > div.is-hot {
  border-color: rgba(67, 230, 255, 0.38);
  background: linear-gradient(155deg, rgba(36, 126, 205, 0.28), rgba(4, 13, 27, 0.64));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 0 24px rgba(67, 230, 255, 0.08);
}

body[data-app-view] .task-hall-stats strong {
  color: #fff;
  font-size: 25px;
  font-weight: 950;
  line-height: 1;
}

body[data-app-view] .task-hall-stats .is-hot strong {
  color: #6de8ff;
  text-shadow: 0 0 18px rgba(67, 230, 255, 0.5);
}

body[data-app-view] .task-hall-stats span {
  margin-top: 7px;
  color: var(--task-muted);
  font-size: 10px;
  font-weight: 700;
  white-space: nowrap;
}
body[data-app-view] .task-board-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
}

body[data-app-view] .task-board-heading h2 {
  margin: 3px 0 0;
  color: #fff;
  font-size: 23px;
  letter-spacing: -0.02em;
}

body[data-app-view] .task-board-heading p {
  margin: 6px 0 0;
  color: var(--task-muted);
  font-size: 12px;
}

body[data-app-view] .task-board-heading-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

body[data-app-view] .task-live-dot {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  border: 1px solid rgba(84, 239, 161, 0.2);
  border-radius: 99px;
  padding: 7px 11px;
  background: rgba(84, 239, 161, 0.075);
  color: #8bf5bd;
  font-size: 10px;
  font-weight: 800;
  white-space: nowrap;
}

body[data-app-view] .task-live-dot i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--task-green);
  box-shadow: 0 0 0 5px rgba(84, 239, 161, 0.1), 0 0 13px rgba(84, 239, 161, 0.85);
  animation: taskPulse 1.9s ease-in-out infinite;
}

@keyframes taskPulse {
  50% { opacity: 0.45; transform: scale(0.82); }
}

body[data-app-view] .task-board-heading-actions .button {
  min-height: 34px;
  border-radius: 10px;
  padding: 0 13px;
  font-size: 11px;
}

body[data-app-view] .task-filter-form {
  display: grid;
  gap: 10px;
  margin-bottom: 16px;
  border: 1px solid rgba(123, 161, 214, 0.16);
  border-radius: 16px;
  padding: 12px;
  background: rgba(3, 10, 21, 0.46);
}

body[data-app-view] .task-filter-quick {
  display: grid;
  grid-template-columns: minmax(180px, 1.45fr) repeat(3, minmax(118px, 0.8fr)) auto;
  align-items: end;
  gap: 9px;
}

body[data-app-view] .task-filter-form .field {
  gap: 5px;
}

body[data-app-view] .task-filter-form .field > span {
  color: rgba(190, 211, 238, 0.72);
  font-size: 10px;
  font-weight: 750;
}

body[data-app-view] .task-filter-form input,
body[data-app-view] .task-filter-form select {
  height: 38px;
  border-radius: 10px;
  background: rgba(7, 17, 32, 0.9);
  font-size: 12px;
}

body[data-app-view] .task-filter-quick-actions {
  display: flex;
  gap: 7px;
}

body[data-app-view] .task-filter-quick-actions .button {
  min-height: 38px;
  border-radius: 10px;
  padding: 0 13px;
  font-size: 11px;
  white-space: nowrap;
}

body[data-app-view] .task-filter-advanced {
  display: grid;
  grid-template-columns: repeat(4, minmax(120px, 1fr));
  align-items: end;
  gap: 9px;
  border-top: 1px dashed rgba(129, 164, 213, 0.16);
  padding-top: 11px;
}

body[data-app-view] .task-filter-advanced[hidden] {
  display: none;
}

body[data-app-view] .task-baobashi-filter {
  display: flex;
  min-height: 38px;
  align-items: center;
  border: 1px solid rgba(123, 161, 214, 0.15);
  border-radius: 10px;
  padding: 0 10px;
  background: rgba(7, 17, 32, 0.68);
  color: rgba(218, 230, 247, 0.82);
  font-size: 11px;
}

body[data-app-view] .task-list {
  display: grid;
  gap: 12px;
}

body[data-app-view] .task-card {
  position: relative;
  isolation: isolate;
  display: block;
  overflow: hidden;
  border: 1px solid rgba(120, 158, 209, 0.18);
  border-left: 0;
  border-radius: 19px;
  padding: 0;
  background: linear-gradient(135deg, rgba(13, 25, 43, 0.96), rgba(6, 14, 27, 0.98) 62%, rgba(9, 17, 34, 0.98));
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.04);
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

body[data-app-view] .task-card:hover {
  border-color: rgba(81, 165, 255, 0.42);
  box-shadow: 0 22px 50px rgba(0, 0, 0, 0.3), 0 0 0 1px rgba(74, 168, 255, 0.06), 0 0 34px rgba(74, 168, 255, 0.06);
  transform: translateY(-2px);
}

body[data-app-view] .task-card-aura {
  position: absolute;
  z-index: -1;
  top: -90px;
  left: 30%;
  width: 290px;
  height: 210px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(54, 144, 255, 0.12), transparent 68%);
  pointer-events: none;
}

body[data-app-view] .task-card.task-status-open {
  border-color: rgba(86, 172, 255, 0.3);
  background: linear-gradient(135deg, rgba(12, 30, 54, 0.98), rgba(6, 15, 29, 0.98) 64%, rgba(8, 17, 34, 0.98));
}

body[data-app-view] .task-card.task-status-open::before,
body[data-app-view] .task-card.task-status-pending_boss::before,
body[data-app-view] .task-card.task-status-pending_companion::before,
body[data-app-view] .task-card.task-status-disputed::before {
  position: absolute;
  inset: 18px auto 18px 0;
  width: 3px;
  border-radius: 0 5px 5px 0;
  background: linear-gradient(180deg, var(--task-cyan), var(--task-blue), var(--task-indigo));
  box-shadow: 0 0 18px rgba(67, 230, 255, 0.48);
  content: "";
}

body[data-app-view] .task-card.task-status-pending_boss::before,
body[data-app-view] .task-card.task-status-pending_companion::before {
  background: linear-gradient(180deg, #ffd278, var(--task-orange));
  box-shadow: 0 0 16px rgba(255, 184, 77, 0.38);
}

body[data-app-view] .task-card.task-status-disputed::before {
  background: var(--task-red);
  box-shadow: 0 0 16px rgba(255, 109, 122, 0.42);
}

body[data-app-view] .task-card.task-status-completed,
body[data-app-view] .task-card.task-status-cancelled {
  opacity: 0.78;
}

body[data-app-view] .task-card-main {
  display: grid;
  grid-template-columns: 82px minmax(0, 1fr);
  gap: 15px;
  padding: 17px 17px 15px 19px;
}

body[data-app-view] .task-card-person {
  display: grid;
  align-content: start;
  justify-items: center;
  gap: 8px;
  text-align: center;
}

body[data-app-view] .task-person-avatar {
  position: relative;
  display: grid;
  width: 68px;
  height: 68px;
  place-items: center;
  overflow: visible;
  border: 2px solid rgba(111, 190, 255, 0.52);
  border-radius: 21px;
  padding: 0;
  background: linear-gradient(145deg, #1a3c67, #0d1b31);
  box-shadow: 0 9px 24px rgba(0, 0, 0, 0.32), 0 0 22px rgba(74, 168, 255, 0.12);
  color: #fff;
  font-size: 22px;
  font-weight: 900;
}

body[data-app-view] button.task-person-avatar {
  cursor: pointer;
}

body[data-app-view] .task-person-avatar img {
  width: 100%;
  height: 100%;
  border-radius: inherit;
  object-fit: cover;
}

body[data-app-view] .task-person-avatar.small {
  width: 42px;
  height: 42px;
  border-radius: 13px;
  font-size: 14px;
}

body[data-app-view] .task-person-avatar.tiny {
  width: 30px;
  height: 30px;
  border-width: 1px;
  border-radius: 9px;
  font-size: 11px;
}

body[data-app-view] .task-person-online {
  position: absolute;
  right: -2px;
  bottom: 2px;
  width: 11px;
  height: 11px;
  border: 2px solid #081321;
  border-radius: 50%;
  background: var(--task-green);
  box-shadow: 0 0 10px rgba(84, 239, 161, 0.78);
}

body[data-app-view] .task-person-copy {
  display: grid;
  gap: 3px;
  min-width: 0;
  width: 100%;
}

body[data-app-view] .task-person-copy strong {
  overflow: hidden;
  color: #f6f9ff;
  font-size: 13px;
  font-weight: 850;
  text-overflow: ellipsis;
  white-space: nowrap;
}

body[data-app-view] .task-person-copy span {
  color: var(--task-muted);
  font-size: 9px;
  white-space: nowrap;
}

body[data-app-view] .task-person-copy b {
  color: #7fdcff;
  font-weight: 850;
}

body[data-app-view] .task-card-body {
  display: grid;
  align-content: start;
  gap: 8px;
  min-width: 0;
}

body[data-app-view] .task-card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

body[data-app-view] .task-card-badges,
body[data-app-view] .task-tag-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
}

body[data-app-view] .task-card .status-pill,
body[data-app-view] .task-card .type-tag,
body[data-app-view] .task-card .baobashi-badge {
  min-height: 22px;
  border-radius: 7px;
  padding: 3px 8px;
  font-size: 10px;
  font-weight: 800;
}

body[data-app-view] .task-no {
  flex: 0 0 auto;
  color: rgba(148, 179, 218, 0.42);
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 9px;
  letter-spacing: 0.08em;
}

body[data-app-view] .task-card h3 {
  margin: 1px 0 0;
  color: #f7faff;
  font-size: 17px;
  font-weight: 900;
  letter-spacing: -0.015em;
  line-height: 1.42;
}

body[data-app-view] .task-card-body > p {
  margin: 0;
  color: rgba(194, 212, 236, 0.68);
  font-size: 12px;
  line-height: 1.72;
  white-space: pre-wrap;
}

body[data-app-view] .task-card-body > p.is-muted {
  color: rgba(167, 188, 216, 0.42);
}

body[data-app-view] .task-tag-row {
  margin-top: 2px;
}

body[data-app-view] .task-tag-row > span {
  display: inline-flex;
  min-height: 25px;
  align-items: center;
  border: 1px solid rgba(125, 159, 208, 0.16);
  border-radius: 8px;
  padding: 3px 9px;
  background: rgba(20, 36, 59, 0.54);
  color: rgba(206, 222, 245, 0.78);
  font-size: 10px;
  font-weight: 700;
}

body[data-app-view] .task-tag-row .task-game-tag {
  border-color: rgba(74, 168, 255, 0.3);
  background: rgba(48, 129, 216, 0.15);
  color: #81d7ff;
}

body[data-app-view] .task-tag-row .task-service-tag {
  border-color: rgba(119, 116, 255, 0.28);
  background: rgba(100, 93, 224, 0.14);
  color: #b8b7ff;
}

body[data-app-view] .task-tag-row .task-service-tag.service-entertainment {
  border-color: rgba(84, 239, 161, 0.26);
  background: rgba(84, 239, 161, 0.1);
  color: #88f3bc;
}

body[data-app-view] .task-tag-row .task-service-tag.service-escort {
  border-color: rgba(255, 184, 77, 0.27);
  background: rgba(255, 184, 77, 0.1);
  color: #ffd187;
}
body[data-app-view] .task-claim-candidate {
  display: grid;
  grid-template-columns: auto auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  border: 1px solid rgba(255, 184, 77, 0.2);
  border-radius: 12px;
  padding: 8px 10px;
  background: linear-gradient(90deg, rgba(255, 184, 77, 0.09), rgba(255, 184, 77, 0.025));
}

body[data-app-view] .task-claim-candidate-label {
  color: rgba(255, 209, 135, 0.72);
  font-size: 9px;
  font-weight: 850;
  letter-spacing: 0.08em;
  writing-mode: vertical-rl;
}

body[data-app-view] .task-claim-candidate div {
  display: grid;
  gap: 2px;
  min-width: 0;
}

body[data-app-view] .task-claim-candidate strong {
  color: #fff1d7;
  font-size: 12px;
}

body[data-app-view] .task-claim-candidate small {
  color: rgba(255, 218, 157, 0.62);
  font-size: 9px;
}

body[data-app-view] .task-claim-candidate-state {
  border-radius: 99px;
  padding: 5px 9px;
  background: rgba(255, 184, 77, 0.14);
  color: #ffd187;
  font-size: 9px;
  font-weight: 800;
  white-space: nowrap;
}

body[data-app-view] .task-assigned-line {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 7px;
  border-top: 1px dashed rgba(128, 162, 210, 0.13);
  padding-top: 8px;
  color: var(--task-muted);
  font-size: 10px;
}

body[data-app-view] .task-assigned-line > span {
  color: rgba(149, 181, 222, 0.52);
}

body[data-app-view] .task-assigned-line strong {
  color: #e8f1ff;
  font-size: 11px;
}

body[data-app-view] .task-assigned-line small {
  color: #70d8ff;
  font-size: 9px;
}

body[data-app-view] .task-direct-order {
  margin-left: auto;
  border: 1px solid rgba(74, 168, 255, 0.24);
  border-radius: 8px;
  padding: 5px 8px;
  background: rgba(37, 113, 194, 0.12);
  color: #8bd8ff;
  font-size: 9px;
  font-weight: 800;
  cursor: pointer;
}

body[data-app-view] .task-direct-order:hover {
  border-color: rgba(67, 230, 255, 0.5);
  background: rgba(52, 152, 235, 0.2);
  color: #fff;
}

body[data-app-view] .task-live-timer {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(84, 239, 161, 0.2);
  border-radius: 10px;
  padding: 7px 10px;
  background: rgba(84, 239, 161, 0.065);
}

body[data-app-view] .task-live-timer i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--task-green);
  box-shadow: 0 0 12px rgba(84, 239, 161, 0.8);
}

body[data-app-view] .task-live-timer span {
  color: rgba(150, 244, 193, 0.66);
  font-size: 9px;
}

body[data-app-view] .task-live-timer b {
  color: #8ff8c1;
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 13px;
  letter-spacing: 0.06em;
}

body[data-app-view] .task-card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 7px 14px;
  margin-top: 2px;
  color: rgba(155, 181, 215, 0.48);
  font-size: 9px;
}

body[data-app-view] .task-card-meta i {
  color: rgba(104, 182, 255, 0.58);
  font-style: normal;
}

body[data-app-view] .task-card-side {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(145px, 0.72fr);
  align-items: stretch;
  gap: 12px;
  border-top: 1px solid rgba(131, 165, 214, 0.12);
  padding: 12px 17px 14px 19px;
  background: rgba(3, 10, 20, 0.34);
}

body[data-app-view] .task-price-block {
  display: grid;
  align-content: center;
  gap: 3px;
  min-width: 0;
}

body[data-app-view] .task-price-block > span {
  color: rgba(156, 187, 226, 0.48);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

body[data-app-view] .task-price-block strong {
  overflow: hidden;
  color: #fff;
  font-size: 20px;
  font-weight: 950;
  letter-spacing: -0.025em;
  text-overflow: ellipsis;
  white-space: nowrap;
}

body[data-app-view] .task-price-block small {
  color: rgba(136, 218, 255, 0.54);
  font-size: 9px;
}

body[data-app-view] .task-card-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  justify-content: flex-end;
  gap: 7px;
}

body[data-app-view] .task-card-actions .mini-button {
  flex: 0 1 auto;
  min-width: 94px;
  min-height: 34px;
  border-radius: 9px;
  font-size: 11px;
}

body[data-app-view] .task-card-actions .mini-button.is-danger {
  border-color: rgba(255, 109, 122, 0.26);
  background: rgba(255, 109, 122, 0.055);
  color: rgba(255, 173, 181, 0.9);
}

body[data-app-view] .task-card-actions .mini-button.is-danger:hover {
  border-color: rgba(255, 109, 122, 0.5);
  background: rgba(255, 109, 122, 0.12);
  color: #ffd0d4;
}

body[data-app-view] .task-claim-button {
  position: relative;
  display: grid;
  flex: 1 0 100%;
  min-height: 61px;
  place-content: center;
  gap: 2px;
  overflow: hidden;
  border: 1px solid rgba(132, 231, 255, 0.6);
  border-radius: 13px;
  padding: 9px 16px;
  background: linear-gradient(120deg, #217cf4 0%, #2c9bff 42%, #3ad7ee 100%);
  box-shadow: 0 9px 28px rgba(30, 137, 255, 0.34), inset 0 1px 0 rgba(255, 255, 255, 0.26), 0 0 22px rgba(67, 230, 255, 0.13);
  color: #fff;
  text-align: center;
  cursor: pointer;
  transition: transform 160ms ease, box-shadow 160ms ease, filter 160ms ease;
}

body[data-app-view] .task-claim-button::before {
  position: absolute;
  top: -70%;
  left: -42%;
  width: 55%;
  height: 240%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  content: "";
  transform: rotate(18deg);
  transition: left 420ms ease;
}

body[data-app-view] .task-claim-button:hover {
  box-shadow: 0 12px 34px rgba(39, 149, 255, 0.44), inset 0 1px 0 rgba(255, 255, 255, 0.28), 0 0 30px rgba(67, 230, 255, 0.2);
  filter: brightness(1.08);
  transform: translateY(-1px);
}

body[data-app-view] .task-claim-button:hover::before {
  left: 95%;
}

body[data-app-view] .task-claim-button[data-task-action="claim"] span::before {
  margin-right: 6px;
  content: "⚡";
  filter: drop-shadow(0 0 7px rgba(255, 255, 255, 0.55));
}

body[data-app-view] .task-claim-button span {
  position: relative;
  z-index: 1;
  font-size: 17px;
  font-weight: 950;
  letter-spacing: 0.08em;
}

body[data-app-view] .task-claim-button small {
  position: relative;
  z-index: 1;
  color: rgba(238, 250, 255, 0.8);
  font-size: 9px;
  font-weight: 650;
}

body[data-app-view] .task-claim-button.is-login {
  background: linear-gradient(120deg, #2e75e8, #37b6e9);
}

body[data-app-view] .task-claim-button.is-waiting,
body[data-app-view] .task-claim-button.is-disabled {
  border-color: rgba(143, 166, 198, 0.15);
  background: linear-gradient(135deg, rgba(45, 58, 77, 0.8), rgba(25, 35, 50, 0.86));
  box-shadow: none;
  color: rgba(210, 221, 237, 0.6);
  cursor: not-allowed;
  filter: none;
  transform: none;
}

body[data-app-view] .task-claim-button.is-waiting::before,
body[data-app-view] .task-claim-button.is-disabled::before {
  display: none;
}

body[data-app-view] .task-claim-button.is-waiting span,
body[data-app-view] .task-claim-button.is-disabled span {
  font-size: 14px;
  letter-spacing: 0.03em;
}

body[data-app-view] .task-claim-button.is-start {
  border-color: rgba(255, 212, 127, 0.48);
  background: linear-gradient(120deg, #e58d20, #ffb947);
  box-shadow: 0 9px 26px rgba(255, 173, 56, 0.25);
}

body[data-app-view] .task-claim-button.is-running {
  border-color: rgba(111, 249, 176, 0.45);
  background: linear-gradient(120deg, #0f8c5e, #35ca84);
  box-shadow: 0 9px 26px rgba(42, 216, 137, 0.2);
}

body[data-app-view] .task-claim-button.is-finish {
  border-color: rgba(111, 249, 176, 0.56);
  background: linear-gradient(120deg, #11a169, #45e69a);
  box-shadow: 0 9px 26px rgba(42, 216, 137, 0.26);
}

body[data-app-view] .task-cancel-link {
  border: 0;
  padding: 3px;
  background: transparent;
  color: rgba(255, 130, 141, 0.66);
  font-size: 9px;
  cursor: pointer;
}

body[data-app-view] .task-cancel-link:hover {
  color: #ff9da7;
}

body[data-app-view] .status-task-open {
  border-color: rgba(74, 168, 255, 0.3) !important;
  background: rgba(74, 168, 255, 0.13) !important;
  color: #84d4ff !important;
}

body[data-app-view] .status-task-pending-boss,
body[data-app-view] .status-task-pending-companion {
  border-color: rgba(255, 184, 77, 0.3) !important;
  background: rgba(255, 184, 77, 0.12) !important;
  color: #ffd383 !important;
}

body[data-app-view] .status-task-claimed {
  border-color: rgba(84, 239, 161, 0.28) !important;
  background: rgba(84, 239, 161, 0.1) !important;
  color: #8af5bd !important;
}

body[data-app-view] .status-task-disputed {
  border-color: rgba(255, 109, 122, 0.32) !important;
  background: rgba(255, 109, 122, 0.12) !important;
  color: #ff9aa4 !important;
}
body[data-app-view] .task-publish-panel {
  display: grid;
  gap: 11px;
  padding: 19px;
}

body[data-app-view] .task-publish-panel .panel-heading {
  margin-bottom: 3px;
}

body[data-app-view] .task-publish-panel .panel-heading h2 {
  margin-top: 2px;
  font-size: 22px;
}

body[data-app-view] .task-publish-panel .panel-heading p {
  margin-top: 5px;
  font-size: 11px;
  line-height: 1.65;
}

body[data-app-view] .task-publish-panel .field {
  gap: 5px;
}

body[data-app-view] .task-publish-panel .field > span,
body[data-app-view] .task-publish-panel .check-line {
  color: rgba(190, 209, 235, 0.7);
  font-size: 10px;
  font-weight: 700;
}

body[data-app-view] .task-publish-panel input,
body[data-app-view] .task-publish-panel select,
body[data-app-view] .task-publish-panel textarea {
  border-radius: 10px;
  background: rgba(6, 15, 29, 0.88);
  font-size: 12px;
}

body[data-app-view] .task-publish-panel textarea {
  min-height: 76px;
  resize: vertical;
}

body[data-app-view] .task-publish-balance-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border: 1px solid rgba(84, 239, 161, 0.16);
  border-radius: 11px;
  padding: 9px 11px;
  background: rgba(84, 239, 161, 0.055);
  color: rgba(186, 209, 235, 0.68);
  font-size: 10px;
}

body[data-app-view] .task-publish-balance-line b {
  color: #8ff5bd;
  font-size: 11px;
}

body[data-app-view] .task-publish-balance-line.is-insufficient {
  border-color: rgba(255, 109, 122, 0.28);
  background: rgba(255, 109, 122, 0.075);
}

body[data-app-view] .task-publish-balance-line.is-insufficient b {
  color: #ff9fa8;
}

body[data-app-view] .task-publish-advanced {
  border: 1px solid rgba(124, 160, 210, 0.14);
  border-radius: 11px;
  padding: 9px 11px;
  background: rgba(6, 15, 29, 0.38);
}

body[data-app-view] .task-publish-advanced summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: rgba(193, 213, 240, 0.76);
  font-size: 10px;
  font-weight: 750;
  cursor: pointer;
  list-style: none;
}

body[data-app-view] .task-publish-advanced summary::-webkit-details-marker {
  display: none;
}

body[data-app-view] .task-publish-advanced summary span {
  color: rgba(143, 174, 213, 0.42);
  font-size: 9px;
  font-weight: 500;
}

body[data-app-view] .task-publish-advanced[open] {
  display: grid;
  gap: 9px;
}

body[data-app-view] .task-publish-advanced[open] summary {
  border-bottom: 1px dashed rgba(126, 160, 207, 0.13);
  padding-bottom: 8px;
}

body[data-app-view] .task-publish-submit,
body[data-app-view] .task-publish-panel .button-block {
  min-height: 46px;
  border-radius: 12px;
  background: linear-gradient(120deg, #237ce8, #3dabff 58%, #43d7e9);
  box-shadow: 0 10px 28px rgba(39, 139, 255, 0.24), inset 0 1px 0 rgba(255, 255, 255, 0.2);
  font-size: 13px;
  font-weight: 900;
}

body[data-app-view] .task-publish-submit:disabled,
body[data-app-view] .task-publish-panel .button-block:disabled {
  border-color: rgba(140, 163, 194, 0.16);
  background: rgba(44, 56, 73, 0.65);
  box-shadow: none;
  color: rgba(202, 215, 233, 0.46);
}

body[data-app-view] .task-mine-panel {
  display: grid;
  gap: 10px;
  max-height: 390px;
  overflow: auto;
}

body[data-app-view] .task-mine-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  border: 1px solid rgba(126, 161, 210, 0.13);
  border-radius: 11px;
  padding: 9px 10px;
  background: rgba(6, 15, 29, 0.45);
}

body[data-app-view] .task-mine-row > div {
  display: grid;
  gap: 3px;
  min-width: 0;
}

body[data-app-view] .task-mine-row strong {
  overflow: hidden;
  color: #eaf2ff;
  font-size: 11px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

body[data-app-view] .task-mine-row span {
  overflow: hidden;
  color: rgba(162, 189, 224, 0.52);
  font-size: 9px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

body[data-app-view] .app-modal-layer,
body[data-app-view].modal-open .app-modal-layer {
  position: fixed;
  z-index: 2147483645;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(1, 5, 12, 0.72);
  backdrop-filter: blur(8px);
}

body[data-app-view] .app-modal-card {
  position: relative;
  display: grid;
  width: min(620px, calc(100vw - 40px));
  max-height: min(86vh, 860px);
  overflow: hidden;
  border: 1px solid rgba(116, 170, 238, 0.28);
  border-radius: 23px;
  background: radial-gradient(circle at 100% 0, rgba(58, 146, 255, 0.13), transparent 24rem), linear-gradient(145deg, rgba(11, 24, 43, 0.99), rgba(4, 11, 22, 0.99));
  box-shadow: 0 34px 110px rgba(0, 0, 0, 0.68), inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

body[data-app-view] .app-modal-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  border-bottom: 1px solid rgba(128, 162, 210, 0.14);
  padding: 20px 22px 16px;
}

body[data-app-view] .app-modal-head h2 {
  margin: 0;
  color: #fff;
  font-size: 21px;
  font-weight: 900;
}

body[data-app-view] .app-modal-head p {
  margin: 5px 0 0;
  color: var(--task-muted);
  font-size: 11px;
  line-height: 1.55;
}

body[data-app-view] .app-modal-close {
  display: grid;
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid rgba(136, 169, 214, 0.16);
  border-radius: 10px;
  background: rgba(19, 33, 53, 0.7);
  color: rgba(214, 228, 247, 0.75);
  font-size: 19px;
  cursor: pointer;
}

body[data-app-view] .app-modal-close:hover {
  border-color: rgba(255, 109, 122, 0.35);
  color: #ff9ca6;
}

body[data-app-view] .app-modal-body {
  overflow: auto;
  padding: 18px 22px 22px;
}

body[data-app-view] .app-modal-loading,
body[data-app-view] .app-modal-empty {
  display: grid;
  place-items: center;
  gap: 10px;
  min-height: 210px;
  text-align: center;
}

body[data-app-view] .app-modal-loading span {
  width: 34px;
  height: 34px;
  border: 2px solid rgba(88, 177, 255, 0.2);
  border-top-color: var(--task-cyan);
  border-radius: 50%;
  animation: taskSpin 0.8s linear infinite;
}

@keyframes taskSpin { to { transform: rotate(1turn); } }

body[data-app-view] .app-modal-loading p,
body[data-app-view] .app-modal-empty span,
body[data-app-view] .app-modal-note {
  margin: 0;
  color: var(--task-muted);
  font-size: 11px;
  line-height: 1.7;
}

body[data-app-view] .app-modal-empty strong {
  color: #fff;
  font-size: 15px;
}

body[data-app-view] .app-modal-note {
  border-top: 1px dashed rgba(129, 164, 213, 0.14);
  padding-top: 11px;
}
body[data-app-view] .recharge-balance-hero {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

body[data-app-view] .recharge-balance-hero > div {
  display: grid;
  gap: 6px;
  border: 1px solid rgba(86, 171, 255, 0.17);
  border-radius: 15px;
  padding: 15px;
  background: linear-gradient(145deg, rgba(31, 92, 154, 0.22), rgba(7, 18, 34, 0.64));
}

body[data-app-view] .recharge-balance-hero span {
  color: var(--task-muted);
  font-size: 10px;
}

body[data-app-view] .recharge-balance-hero strong {
  color: #fff;
  font-size: 26px;
  font-weight: 950;
}

body[data-app-view] .recharge-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin: 14px 0;
}

body[data-app-view] .recharge-steps > div {
  display: grid;
  gap: 7px;
  border: 1px solid rgba(123, 158, 207, 0.13);
  border-radius: 12px;
  padding: 10px;
  background: rgba(7, 16, 30, 0.52);
}

body[data-app-view] .recharge-steps b {
  color: #65d4ff;
  font-family: ui-monospace, Consolas, monospace;
  font-size: 10px;
}

body[data-app-view] .recharge-steps span {
  color: rgba(198, 216, 240, 0.72);
  font-size: 10px;
  line-height: 1.5;
}

body[data-app-view] .recharge-wechat-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 13px;
  border: 1px solid rgba(84, 239, 161, 0.22);
  border-radius: 14px;
  padding: 13px 15px;
  background: linear-gradient(90deg, rgba(84, 239, 161, 0.085), rgba(84, 239, 161, 0.02));
}

body[data-app-view] .recharge-wechat-card > div {
  display: grid;
  gap: 3px;
}

body[data-app-view] .recharge-wechat-card span {
  color: rgba(162, 210, 189, 0.62);
  font-size: 9px;
}

body[data-app-view] .recharge-wechat-card strong {
  color: #8cf4bb;
  font-family: ui-monospace, Consolas, monospace;
  font-size: 20px;
  letter-spacing: 0.06em;
}

body[data-app-view] .recharge-wechat-card .button {
  min-height: 36px;
  border-radius: 10px;
  font-size: 11px;
}

body[data-app-view] .direct-order-person {
  display: flex;
  align-items: center;
  gap: 12px;
  border: 1px solid rgba(122, 168, 228, 0.17);
  border-radius: 15px;
  padding: 12px;
  background: linear-gradient(135deg, rgba(18, 45, 77, 0.68), rgba(7, 17, 32, 0.62));
}

body[data-app-view] .direct-order-avatar {
  display: grid;
  width: 52px;
  height: 52px;
  flex: 0 0 auto;
  place-items: center;
  overflow: hidden;
  border: 2px solid rgba(93, 193, 255, 0.55);
  border-radius: 16px;
  background: #112642;
  color: #fff;
  font-size: 18px;
  font-weight: 900;
}

body[data-app-view] .direct-order-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

body[data-app-view] .direct-order-person > div {
  display: grid;
  gap: 4px;
  min-width: 0;
}

body[data-app-view] .direct-order-person strong {
  color: #fff;
  font-size: 15px;
}

body[data-app-view] .direct-order-person > div span {
  color: var(--task-muted);
  font-size: 10px;
}

body[data-app-view] .direct-order-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-left: auto;
  border-radius: 99px;
  padding: 6px 9px;
  background: rgba(84, 239, 161, 0.09);
  color: #8df5bf;
  font-size: 9px;
  white-space: nowrap;
}

body[data-app-view] .direct-order-status i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--task-green);
  box-shadow: 0 0 9px rgba(84, 239, 161, 0.8);
}

body[data-app-view] .direct-order-form {
  display: grid;
  gap: 12px;
  margin-top: 14px;
}

body[data-app-view] .direct-order-form .field {
  gap: 5px;
}

body[data-app-view] .direct-order-form .field > span {
  color: rgba(190, 211, 238, 0.7);
  font-size: 10px;
}

body[data-app-view] .direct-order-form input,
body[data-app-view] .direct-order-form select,
body[data-app-view] .direct-order-form textarea {
  border-radius: 10px;
  background: rgba(5, 14, 27, 0.9);
  font-size: 12px;
}

body[data-app-view] .direct-order-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 7px;
}

body[data-app-view] .direct-order-facts > div {
  display: grid;
  gap: 4px;
  border: 1px solid rgba(123, 158, 207, 0.13);
  border-radius: 10px;
  padding: 9px;
  background: rgba(7, 16, 30, 0.48);
}

body[data-app-view] .direct-order-facts span {
  color: rgba(162, 189, 224, 0.48);
  font-size: 9px;
}

body[data-app-view] .direct-order-facts strong {
  overflow: hidden;
  color: #eaf3ff;
  font-size: 11px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

body[data-app-view] .direct-order-escort {
  display: grid;
  gap: 4px;
  border: 1px solid rgba(255, 184, 77, 0.18);
  border-radius: 10px;
  padding: 8px 10px;
  background: rgba(255, 184, 77, 0.055);
}

body[data-app-view] .direct-order-escort span {
  color: rgba(255, 218, 157, 0.55);
  font-size: 9px;
}

body[data-app-view] .direct-order-escort strong {
  color: #ffd188;
  font-size: 11px;
}

body[data-app-view] .direct-order-total {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

body[data-app-view] .direct-order-total > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  border: 1px solid rgba(84, 239, 161, 0.16);
  border-radius: 11px;
  padding: 10px 12px;
  background: rgba(84, 239, 161, 0.055);
}

body[data-app-view] .direct-order-total span {
  color: rgba(177, 207, 231, 0.58);
  font-size: 9px;
}

body[data-app-view] .direct-order-total strong {
  color: #8ff5bd;
  font-size: 20px;
  font-weight: 950;
}

body[data-app-view] .direct-order-total b {
  color: #e9f3ff;
  font-size: 13px;
}

body[data-app-view] .direct-order-warning {
  margin: 0;
  border: 1px solid rgba(255, 109, 122, 0.3);
  border-radius: 11px;
  padding: 10px 12px;
  background: rgba(255, 109, 122, 0.08);
  color: #ffabb3;
  font-size: 10px;
  line-height: 1.65;
}

body[data-app-view] .direct-order-warning b {
  color: #fff;
}

body[data-app-view] .direct-order-actions {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
}

body[data-app-view] .direct-order-actions .button {
  min-height: 40px;
  border-radius: 11px;
}

body[data-app-view] .direct-order-actions .button-primary {
  min-width: 170px;
  background: linear-gradient(120deg, #237ce8, #3dabff 58%, #43d7e9);
  box-shadow: 0 10px 28px rgba(39, 139, 255, 0.24);
}

body[data-app-view] .direct-order-actions .button-primary:disabled {
  background: rgba(43, 57, 76, 0.62);
  box-shadow: none;
  color: rgba(205, 218, 237, 0.44);
}
body[data-app-view] .profile-trigger-balance-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 7px;
  width: 100%;
  margin-top: 4px;
}

body[data-app-view] .profile-trigger-balance {
  color: #8ff5bd;
  font-size: 10px;
  font-weight: 850;
  white-space: nowrap;
}

body[data-app-view] .profile-trigger-balance.is-low {
  color: #ff9b70;
}

body[data-app-view] .profile-trigger-recharge {
  border: 1px solid rgba(84, 239, 161, 0.22);
  border-radius: 7px;
  padding: 3px 7px;
  background: rgba(84, 239, 161, 0.075);
  color: #8ff5bd;
  font-size: 9px;
  font-style: normal;
  cursor: pointer;
}

body[data-app-view] .profile-trigger-recharge:hover {
  border-color: rgba(84, 239, 161, 0.45);
  background: rgba(84, 239, 161, 0.14);
}

body[data-app-view] .notification-center {
  position: relative;
  z-index: 20;
}

body[data-app-view] .notification-bell {
  position: relative;
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid rgba(129, 162, 207, 0.18);
  border-radius: 12px;
  background: rgba(12, 23, 39, 0.82);
  color: rgba(222, 234, 250, 0.76);
  cursor: pointer;
}

body[data-app-view] .notification-bell:hover,
body[data-app-view] .notification-bell.has-unread {
  border-color: rgba(67, 230, 255, 0.35);
  background: rgba(30, 82, 131, 0.36);
  color: #9ce5ff;
}

body[data-app-view] .notification-bell svg {
  width: 19px;
  height: 19px;
}

body[data-app-view] .notification-badge {
  position: absolute;
  top: -5px;
  right: -5px;
  display: grid;
  min-width: 18px;
  height: 18px;
  place-items: center;
  border: 2px solid #06101e;
  border-radius: 99px;
  padding: 0 4px;
  background: #ff5264;
  color: #fff;
  font-size: 8px;
  font-weight: 900;
  box-shadow: 0 0 14px rgba(255, 82, 100, 0.45);
}

body[data-app-view] .notification-badge[hidden] {
  display: none;
}

body[data-app-view] .notification-panel {
  position: absolute;
  top: 48px;
  right: 0;
  width: min(390px, calc(100vw - 32px));
  overflow: hidden;
  border: 1px solid rgba(117, 165, 225, 0.24);
  border-radius: 17px;
  background: linear-gradient(145deg, rgba(11, 23, 41, 0.99), rgba(4, 11, 22, 0.99));
  box-shadow: 0 26px 80px rgba(0, 0, 0, 0.62), inset 0 1px 0 rgba(255, 255, 255, 0.055);
  backdrop-filter: blur(18px);
}

body[data-app-view] .notification-panel[hidden] {
  display: none;
}

body[data-app-view] .notification-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border-bottom: 1px solid rgba(125, 159, 208, 0.13);
  padding: 13px 15px;
}

body[data-app-view] .notification-panel-head strong {
  color: #fff;
  font-size: 13px;
}

body[data-app-view] .notification-panel-head button {
  border: 0;
  padding: 3px;
  background: transparent;
  color: #79d6ff;
  font-size: 9px;
  cursor: pointer;
}

body[data-app-view] .notification-panel-list {
  max-height: 430px;
  overflow: auto;
  padding: 7px;
}

body[data-app-view] .notification-item {
  position: relative;
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr);
  gap: 10px;
  width: 100%;
  border: 0;
  border-radius: 11px;
  padding: 10px;
  background: transparent;
  text-align: left;
  cursor: pointer;
}

body[data-app-view] .notification-item:hover,
body[data-app-view] .notification-item.is-unread {
  background: rgba(41, 111, 183, 0.11);
}

body[data-app-view] .notification-item-icon {
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  border-radius: 10px;
  background: rgba(74, 168, 255, 0.12);
  color: #82d8ff;
  font-size: 13px;
}

body[data-app-view] .notification-item-copy {
  display: grid;
  gap: 3px;
  min-width: 0;
}

body[data-app-view] .notification-item-copy strong {
  overflow: hidden;
  color: #eef6ff;
  font-size: 11px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

body[data-app-view] .notification-item-copy span {
  overflow: hidden;
  color: rgba(179, 201, 229, 0.62);
  font-size: 9px;
  line-height: 1.5;
  text-overflow: ellipsis;
  white-space: nowrap;
}

body[data-app-view] .notification-item-copy small {
  color: rgba(147, 176, 215, 0.4);
  font-size: 8px;
}

body[data-app-view] .notification-unread-dot {
  position: absolute;
  top: 13px;
  right: 11px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #56d9ff;
  box-shadow: 0 0 9px rgba(86, 217, 255, 0.75);
}

body[data-app-view] .notification-empty {
  display: grid;
  gap: 5px;
  min-height: 150px;
  place-content: center;
  padding: 20px;
  text-align: center;
}

body[data-app-view] .notification-empty strong {
  color: #dce8f8;
  font-size: 12px;
}

body[data-app-view] .notification-empty span {
  color: var(--task-muted);
  font-size: 9px;
}

body[data-app-view] .companion-avatar-wrap {
  position: relative;
}

body[data-app-view] .companion-hover-card {
  position: absolute;
  z-index: 40;
  top: calc(100% + 9px);
  left: 0;
  display: grid;
  width: 230px;
  gap: 9px;
  visibility: hidden;
  border: 1px solid rgba(108, 172, 240, 0.28);
  border-radius: 14px;
  padding: 12px;
  background: linear-gradient(145deg, rgba(13, 28, 49, 0.99), rgba(4, 11, 22, 0.99));
  box-shadow: 0 20px 55px rgba(0, 0, 0, 0.55);
  opacity: 0;
  transform: translateY(-4px);
  transition: opacity 140ms ease, transform 140ms ease, visibility 140ms ease;
}

body[data-app-view] .companion-avatar-wrap:hover .companion-hover-card,
body[data-app-view] .companion-avatar-wrap:focus-within .companion-hover-card {
  visibility: visible;
  opacity: 1;
  transform: translateY(0);
}

body[data-app-view] .companion-hover-card > strong {
  color: #fff;
  font-size: 12px;
}

body[data-app-view] .companion-hover-card > span {
  color: var(--task-muted);
  font-size: 9px;
  line-height: 1.55;
}

body[data-app-view] .companion-hover-card button,
body[data-app-view] .companion-card-actions button {
  min-height: 32px;
  border: 1px solid rgba(74, 168, 255, 0.28);
  border-radius: 8px;
  background: linear-gradient(120deg, rgba(33, 124, 244, 0.88), rgba(58, 215, 238, 0.72));
  color: #fff;
  font-size: 10px;
  font-weight: 850;
  cursor: pointer;
}

body[data-app-view] .companion-card-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 7px;
}

body[data-app-view] .public-order-total-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border: 1px solid rgba(74, 168, 255, 0.17);
  border-radius: 10px;
  padding: 9px 11px;
  background: rgba(74, 168, 255, 0.055);
  color: rgba(190, 212, 240, 0.7);
  font-size: 10px;
}

body[data-app-view] .public-order-total-line b {
  color: #82dbff;
  font-size: 12px;
}

#global-chat-root .gchat-chat-tools {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 5px;
  max-width: 58%;
}

#global-chat-root .gchat-chat-wallet {
  display: grid;
  grid-template-columns: auto auto;
  align-items: baseline;
  gap: 2px 7px;
  border: 1px solid rgba(84, 239, 161, 0.18);
  border-radius: 9px;
  padding: 5px 8px;
  background: rgba(84, 239, 161, 0.055);
  text-align: right;
}

#global-chat-root .gchat-chat-wallet small {
  color: rgba(156, 195, 176, 0.58);
  font-size: 8px;
}

#global-chat-root .gchat-chat-wallet b {
  color: #8ff5bd;
  font-size: 11px;
}

#global-chat-root .gchat-chat-wallet i {
  grid-column: 1 / -1;
  color: rgba(143, 174, 162, 0.42);
  font-size: 7px;
  font-style: normal;
  white-space: nowrap;
}

#global-chat-root .gchat-mini-btn.is-primary {
  border-color: rgba(67, 230, 255, 0.36);
  background: linear-gradient(120deg, rgba(33, 124, 244, 0.86), rgba(58, 215, 238, 0.68));
  color: #fff;
  font-weight: 850;
  box-shadow: 0 5px 16px rgba(34, 139, 255, 0.18);
}

@media (max-width: 760px) {
  #global-chat-root .gchat-chat-head {
    align-items: flex-start;
    flex-wrap: wrap;
  }

  #global-chat-root .gchat-chat-tools {
    width: 100%;
    max-width: none;
    justify-content: flex-start;
  }

  #global-chat-root .gchat-chat-wallet {
    flex: 1 1 150px;
    text-align: left;
  }
}

@media (max-width: 1180px) {
  body[data-app-view] .task-market-layout {
    grid-template-columns: minmax(0, 1fr) 332px;
    width: min(calc(100% - 28px), 1180px);
  }

  body[data-app-view] .task-hall-hero {
    grid-template-columns: minmax(0, 1fr);
    width: min(calc(100% - 28px), 1180px);
  }

  body[data-app-view] .task-hall-stats {
    width: 100%;
    min-width: 0;
  }

  body[data-app-view] .task-filter-quick {
    grid-template-columns: minmax(160px, 1.2fr) repeat(3, minmax(100px, 0.8fr));
  }

  body[data-app-view] .task-filter-quick-actions {
    grid-column: 1 / -1;
    justify-content: flex-end;
  }
}

@media (max-width: 900px) {
  body[data-app-view] .task-market-layout,
  body[data-app-view] .task-market-layout.is-side-only {
    grid-template-columns: minmax(0, 1fr);
    width: calc(100% - 20px);
    margin-top: 12px;
  }

  body[data-app-view] .task-market-side {
    position: static;
    order: -1 !important;
  }

  body[data-app-view] .task-hall-hero {
    width: calc(100% - 20px);
    padding: 24px 20px;
  }

  body[data-app-view] .task-hall-stats {
    grid-template-columns: repeat(5, minmax(54px, 1fr));
  }

  body[data-app-view] .task-filter-advanced {
    grid-template-columns: repeat(2, minmax(120px, 1fr));
  }
}

@media (max-width: 660px) {
  body[data-app-view] .task-hall-hero {
    min-height: 0;
    border-radius: 22px;
  }

  body[data-app-view] .task-hall-hero h1 {
    font-size: 29px;
  }

  body[data-app-view] .task-hall-hero p {
    font-size: 12px;
  }

  body[data-app-view] .task-hall-stats {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  body[data-app-view] .task-hall-stats > div:nth-child(n + 4) {
    display: none;
  }

  body[data-app-view] .task-board-panel,
  body[data-app-view] .task-publish-panel,
  body[data-app-view] .task-mine-panel {
    border-radius: 18px;
    padding: 14px;
  }

  body[data-app-view] .task-board-heading {
    align-items: center;
  }

  body[data-app-view] .task-board-heading h2 {
    font-size: 19px;
  }

  body[data-app-view] .task-board-heading p,
  body[data-app-view] .task-live-dot {
    display: none;
  }

  body[data-app-view] .task-filter-quick,
  body[data-app-view] .task-filter-advanced {
    grid-template-columns: minmax(0, 1fr);
  }

  body[data-app-view] .task-filter-quick-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  body[data-app-view] .task-filter-quick-actions .button {
    width: 100%;
  }

  body[data-app-view] .task-card-main {
    grid-template-columns: 62px minmax(0, 1fr);
    gap: 11px;
    padding: 14px;
  }

  body[data-app-view] .task-person-avatar {
    width: 56px;
    height: 56px;
    border-radius: 17px;
  }

  body[data-app-view] .task-person-copy strong {
    font-size: 11px;
  }

  body[data-app-view] .task-card h3 {
    font-size: 15px;
  }

  body[data-app-view] .task-no,
  body[data-app-view] .task-card-meta span:nth-child(3) {
    display: none;
  }

  body[data-app-view] .task-claim-candidate {
    grid-template-columns: auto minmax(0, 1fr);
  }

  body[data-app-view] .task-claim-candidate-label,
  body[data-app-view] .task-claim-candidate-state {
    display: none;
  }

  body[data-app-view] .task-card-side {
    grid-template-columns: minmax(0, 1fr);
    padding: 11px 14px 14px;
  }

  body[data-app-view] .task-price-block {
    grid-template-columns: auto auto;
    align-items: end;
    justify-content: space-between;
  }

  body[data-app-view] .task-price-block > span {
    display: none;
  }

  body[data-app-view] .task-price-block small {
    justify-self: end;
  }

  body[data-app-view] .task-claim-button {
    min-height: 56px;
  }

  body[data-app-view] .task-claim-button span {
    font-size: 16px;
  }

  body[data-app-view] .task-card-actions .mini-button {
    min-height: 38px;
  }

  body[data-app-view] .app-modal-layer {
    align-items: end;
    padding: 8px;
  }

  body[data-app-view] .app-modal-card {
    width: 100%;
    max-height: 92vh;
    border-radius: 20px 20px 14px 14px;
  }

  body[data-app-view] .app-modal-head,
  body[data-app-view] .app-modal-body {
    padding-right: 16px;
    padding-left: 16px;
  }

  body[data-app-view] .recharge-steps,
  body[data-app-view] .direct-order-facts,
  body[data-app-view] .direct-order-total {
    grid-template-columns: minmax(0, 1fr);
  }

  body[data-app-view] .recharge-wechat-card {
    align-items: stretch;
    flex-direction: column;
  }

  body[data-app-view] .direct-order-actions {
    display: grid;
    grid-template-columns: minmax(0, 0.7fr) minmax(0, 1.3fr);
  }

  body[data-app-view] .direct-order-actions .button-primary {
    min-width: 0;
  }

  body[data-app-view] .companion-hover-card {
    left: 50%;
    transform: translate(-50%, -4px);
  }

  body[data-app-view] .companion-avatar-wrap:hover .companion-hover-card,
  body[data-app-view] .companion-avatar-wrap:focus-within .companion-hover-card {
    transform: translate(-50%, 0);
  }
}

@media (prefers-reduced-motion: reduce) {
  body[data-app-view] .task-live-dot i,
  body[data-app-view] .app-modal-loading span,
  body[data-app-view] .task-claim-button,
  body[data-app-view] .task-card {
    animation: none;
    transition: none;
  }
}

/* Task market keeps the profile dock compact so it never hides the publish form. */
@media (min-width: 761px) {
  body[data-app-view="tasks"] #account-home-button {
    right: 20px;
    bottom: 18px;
    width: 198px;
    min-height: 58px;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 8px;
    border-radius: 18px;
    padding: 7px 10px;
    transition: width 180ms ease, min-height 180ms ease, padding 180ms ease, border-radius 180ms ease, opacity 160ms ease;
  }

  body[data-app-view="tasks"] #account-avatar {
    width: 38px;
    height: 38px;
    border-radius: 12px;
  }

  body[data-app-view="tasks"] .account-level-ring {
    display: none;
    width: 44px;
    height: 44px;
  }

  body[data-app-view="tasks"] .account-level-ring b {
    font-size: 10px;
  }

  body[data-app-view="tasks"] .account-level-ring small {
    font-size: 6px;
  }

  body[data-app-view="tasks"] .profile-trigger-kicker,
  body[data-app-view="tasks"] .profile-trigger-id,
  body[data-app-view="tasks"] .profile-trigger-meta {
    display: none;
  }

  body[data-app-view="tasks"] #account-name {
    font-size: 13px;
  }

  body[data-app-view="tasks"] .profile-trigger-balance-row {
    margin-top: 2px;
  }

  body[data-app-view="tasks"] .profile-card-shortcuts {
    display: none;
    gap: 5px;
    margin-top: 4px;
  }

  body[data-app-view="tasks"] .profile-card-shortcuts i {
    display: inline-flex;
    min-height: 24px;
    align-items: center;
    border-radius: 8px;
    padding: 3px 7px;
    font-size: 9px;
  }

  body[data-app-view="tasks"] #account-home-button:hover {
    width: 300px;
    min-height: 92px;
    grid-template-columns: auto minmax(0, 1fr) 44px;
    gap: 9px;
    border-radius: 20px;
    padding: 9px 12px;
  }

  body[data-app-view="tasks"] #account-home-button:hover #account-avatar {
    width: 50px;
    height: 50px;
    border-radius: 15px;
  }

  body[data-app-view="tasks"] #account-home-button:hover .account-level-ring {
    display: grid;
  }

  body[data-app-view="tasks"] #account-home-button:hover .profile-card-shortcuts {
    display: flex;
  }

  body[data-app-view="tasks"]:has(.task-publish-panel:hover) #account-home-button,
  body[data-app-view="tasks"]:has(.task-publish-panel :focus) #account-home-button {
    opacity: 0.16;
    pointer-events: none;
  }
}
/* 任务大厅顶部人物海报：只取横版海报右侧的人物区域，左侧留给任务标题与数据。 */
body[data-app-view] .task-hall-hero-art {
  z-index: -1;
  right: 0;
  left: auto;
  width: min(62%, 780px);
  opacity: 0.96;
  object-fit: cover;
  object-position: 100% center;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, 0.18) 14%, #000 46%);
  mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, 0.18) 14%, #000 46%);
}

@media (max-width: 980px) {
  body[data-app-view] .task-hall-hero-art {
    width: 76%;
    opacity: 0.68;
  }
}

@media (max-width: 640px) {
  body[data-app-view] .task-hall-hero-art {
    width: 100%;
    opacity: 0.38;
    object-position: 78% center;
  }
}

