:root {
  color-scheme: light;
  --bg: #f7f8f5;
  --paper: #fff;
  --ink: #1d2824;
  --muted: #53645d;
  --line: #dce5df;
  --soft: #eaf2ee;
  --green: #205e4c;
  --dark: #173f34;
  --mint: #d8ede0;
  --warn: #7a4e1b;
  --ease: cubic-bezier(.2,.68,.3,1);
  --work-width: 480px;
  --pad: 16px;
  --safe-top: env(safe-area-inset-top, 0px);
  --safe-bottom: env(safe-area-inset-bottom, 0px);
  --safe-left: env(safe-area-inset-left, 0px);
  --safe-right: env(safe-area-inset-right, 0px);
  --topbar-height: 60px;
  --tab-height: 50px;
  --nav-height: calc(var(--tab-height) + 11px + var(--safe-bottom));
  scroll-padding-top: calc(var(--safe-top) + var(--topbar-height) + 17px);
  scroll-padding-bottom: calc(var(--nav-height) + 16px);
  font-family: "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.6;
  color: var(--ink);
  background: #eef1ee;
}
*,*::before,*::after{box-sizing:border-box}body,h1,h2,h3,p,dl,dd,ul,ol{margin:0}button,input,select,textarea{font:inherit;color:inherit;letter-spacing:0}img,svg{display:block}img{max-width:100%}a{color:inherit;text-decoration:none}button{cursor:pointer}button:disabled{cursor:default}svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.65;stroke-linecap:round;stroke-linejoin:round;flex:none}[hidden]{display:none!important}:focus-visible{outline:2px solid #287c64;outline-offset:4px}::selection{background:#cbe8d8}.icon-library{position:absolute;width:0;height:0;overflow:hidden}.skip{position:fixed;top:12px;left:12px;z-index:10;transform:translateY(-200%);padding:8px 14px;background:var(--paper);border:1px solid var(--line)}.skip:focus{transform:none}.fallback{max-width:520px;margin:64px auto;padding:0 24px}.fallback a{text-decoration:underline}
.shell {
  max-width: var(--work-width);
  min-height: 100vh;
  min-height: 100dvh;
  margin-inline: auto;
  background: var(--bg);
  box-shadow: -1px 0 var(--line), 1px 0 var(--line);
}
.nav {
  position: fixed;
  inset: auto 0 0;
  z-index: 5;
  max-width: var(--work-width);
  margin-inline: auto;
  padding: 5px max(8px, var(--safe-right)) calc(5px + var(--safe-bottom)) max(8px, var(--safe-left));
  background: var(--paper);
  border-top: 1px solid var(--line);
  box-shadow: -1px 0 var(--line), 1px 0 var(--line);
}
.nav-inner {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 4px;
}
.nav a{display:flex;align-items:center;justify-content:center;flex-direction:column;gap:4px;min-height:var(--tab-height);padding:4px 2px;border-radius:6px;color:var(--muted);font-size:11px;line-height:1.2;transition:background 160ms var(--ease),color 160ms var(--ease);touch-action:manipulation}
@media(hover:hover){.nav a:hover{background:var(--bg);color:var(--ink)}}
.nav a[aria-current="page"]{background:var(--soft);color:var(--green);font-weight:650}
.nav a:focus-visible{outline-offset:-3px}
.nav svg{width:20px;height:20px}
.topbar {
  position: sticky;
  top: 0;
  z-index: 6;
  padding-top: var(--safe-top);
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}
.topbar-inner,.content{width:100%;padding-left:max(var(--pad),var(--safe-left));padding-right:max(var(--pad),var(--safe-right))}
.topbar-inner {
  min-height: var(--topbar-height);
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  place-items: center;
}
.topbar-logo {
  grid-area: 1 / 2;
  display: grid;
  place-items: center;
  min-height: 44px;
  touch-action: manipulation;
}
.topbar-logo img {
  width: 112px;
  height: auto;
}
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.avatar{display:grid;place-items:center;flex:none;width:32px;height:32px;border-radius:50%;background:#e4eee6;color:#245a47}
.content{padding-block:21px calc(var(--nav-height) + 28px);outline:none}
.grid{display:grid;grid-template-columns:minmax(0,1fr);gap:14px}
.card{min-width:0;background:var(--paper);border:1px solid var(--line);border-radius:8px}
.panel{padding:15px}
.section-head{margin-bottom:15px;text-align:center}
.section-head h2,.panel h2{font-size:16px;line-height:1.4;font-weight:700}
.section-head p{font-size:12px;color:var(--muted)}
.balance{min-height:164px;display:flex;flex-direction:column;justify-content:space-between;padding:15px 16px;background:var(--dark);color:#fff;border-radius:8px}
.balance-meta,.balance-meta>div{display:flex;align-items:center;gap:12px}
.balance-top {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: 8px;
  color: #d6e8df;
  font-size: 13px;
}
#balance-title{grid-column:2;text-align:center}
.balance-top .vip{justify-self:end}
.balance-top svg{width:18px;height:18px}
.vip{white-space:nowrap;padding:3px 8px;border:1px solid #6d9083;border-radius:4px;font-size:11px;font-weight:650;color:#e8f4ee;line-height:1.45}
.amount,.metric-value,.row-amount,.number{font-variant-numeric:tabular-nums lining-nums}
.amount{font-size:37px;line-height:1.2;font-weight:700;white-space:nowrap}
.amount small{font-size:13px;margin-left:9px;font-weight:600;color:#cbe4d7}
.balance-meta{gap:17px;border-top:1px solid #517268;padding-top:9px;color:#d6e8df;font-size:11px}
.balance-meta>div{align-items:baseline;gap:5px}
.balance-meta strong{color:#fff;font-weight:650}
.metrics{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}
.metrics>div{min-width:0;padding:9px 13px 11px 0}
.metrics>div:nth-child(even){padding-left:16px;border-left:1px solid var(--line)}
.metrics>div:nth-child(n+3){padding-top:12px;border-top:1px solid var(--line)}
.metric-label{color:var(--muted);font-size:12px}
.metric-value{display:flex;align-items:baseline;gap:5px;margin-top:3px;font-size:23px;font-weight:700;line-height:1.35}
.metric-value small{font-size:10px;font-weight:600;color:var(--muted)}
.today-card .section-head{margin-bottom:7px}
.today-card .metrics>div:nth-child(n+3){padding-bottom:0}
.button,.minor-button,.icon-button{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:41px;padding:7px 13px;border:1px solid transparent;border-radius:6px;font-weight:650;line-height:1.4;text-align:center;transition:background 160ms var(--ease),color 160ms var(--ease),border-color 160ms var(--ease),transform 160ms var(--ease)}.button{background:var(--green);color:#fff}.button:hover{background:#174b3c}.button:not(:disabled):active,.minor-button:not(:disabled):active,.icon-button:active{transform:translateY(1px)}.button:disabled{background:#e3ebe6;color:#53645d}.button svg,.minor-button svg{width:16px;height:16px}.minor-button{background:var(--paper);border-color:var(--line);color:var(--ink)}.minor-button:hover{background:var(--soft);border-color:#b6ccc0}.icon-button{width:40px;height:40px;min-height:40px;padding:0;background:var(--paper);border-color:var(--line)}.icon-button:hover{background:var(--soft)}.text-link{display:inline-flex;align-items:center;gap:4px;border:0;background:none;color:var(--green);padding:4px 0;font-weight:650;font-size:12px;white-space:nowrap}.text-link:hover{text-decoration:underline;text-underline-offset:3px}.text-link svg{width:15px;height:15px}
.task-application {
  display: grid;
  justify-items: center;
  align-content: center;
  gap: 8px;
  min-height: 104px;
  padding: 14px;
  font-size: 15px;
  font-weight: 650;
  line-height: 1.4;
  text-align: center;
  touch-action: manipulation;
  transition: background 160ms var(--ease), border-color 160ms var(--ease);
}
.task-application-icon {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background: var(--soft);
  color: var(--green);
}
.task-application-icon svg {
  width: 22px;
  height: 22px;
}
@media(hover:hover) {
  .task-application:hover {
    border-color: #b6ccc0;
    background: #fafcfb;
  }
}
.task-application:active{background:var(--soft)}
.rows{list-style:none;padding:0}
.row-name{font-size:13px;font-weight:650;overflow-wrap:anywhere;line-height:1.5}
.row .sub{font-size:11px;color:var(--muted);margin-top:3px}
.row-amount small{font-size:10px;color:var(--muted);font-weight:600}
.topbar-history {
  grid-area: 1 / 3;
  justify-self: end;
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 3px;
  width: auto;
  min-width: 52px;
  min-height: 44px;
  padding-inline: 4px;
  border-color: transparent;
  background: transparent;
  color: var(--green);
  font-size: 10px;
  line-height: 1.15;
  white-space: nowrap;
  touch-action: manipulation;
}
.topbar-history svg { width: 18px; height: 18px; }
.history-records .row{gap:8px}
.withdraw-metrics > div {
  padding: 4px 10px;
  text-align: center;
}
.withdraw-metrics > div:nth-child(even) {
  padding-left: 10px;
}
.withdraw-metrics .metric-value {
  justify-content: center;
}
.wallet-panel,
.wallet-data {
  display: grid;
  gap: 12px;
}
.wallet-data > div {
  display: grid;
  gap: 3px;
}
.wallet-data dt {
  color: var(--muted);
  font-size: 12px;
}
.wallet-address {
  font-family: ui-monospace, Consolas, monospace;
  font-size: 13px;
  overflow-wrap: anywhere;
}
.wallet-example {
  justify-self: start;
  min-height: 36px;
}
.active-card{display:grid;gap:12px}
.active-card h3{font-size:17px;text-align:center}
.active-card p{color:var(--muted);font-size:13px}
.active-card .button{justify-self:start}
.active-meta{display:flex;align-items:center;gap:10px;flex-wrap:wrap}
.status{display:inline-flex;padding:3px 7px;border-radius:4px;background:var(--soft);color:var(--green);font-size:11px;font-weight:650;white-space:nowrap}
.status.pending{background:#f5ecdb;color:var(--warn)}
.empty{padding:16px 0;color:var(--muted);font-size:13px}
.inline-notice{display:flex;align-items:center;gap:9px;padding:11px 12px;background:var(--soft);border-radius:6px;color:#315b4e;font-size:13px}
.inline-notice svg{width:17px;height:17px}
.row,.setting{display:flex;align-items:center;justify-content:space-between;gap:11px;min-height:61px;padding:10px 0;border-top:1px solid var(--line)}.row>*,.setting>*{min-width:0}.row-amount{font-weight:650;white-space:nowrap}.setting{width:100%;text-align:left;background:none;border-inline:0;border-bottom:0}.setting[disabled]{cursor:default}.setting-icon{display:grid;place-items:center;flex:none;width:38px;height:38px;color:var(--green);background:var(--soft);border-radius:6px}.setting-icon svg{width:18px;height:18px}.setting-copy{flex:1}.setting-copy strong,.setting-copy small{display:block;overflow-wrap:anywhere}.setting-copy small{margin-top:3px;color:var(--muted);font-size:12px}.setting-tail{color:var(--muted);font-size:12px;text-align:right}.setting-tail svg{width:16px;height:16px}.setting:hover:not([disabled]) .setting-tail{color:var(--green)}.switch{width:36px;height:21px;padding:2px;display:flex;align-items:center;border-radius:18px;background:#a7b5ad;border:0;transition:background 180ms var(--ease)}.switch::after{content:"";width:17px;height:17px;border-radius:50%;background:#fff;transition:transform 180ms var(--ease)}.switch[aria-checked="true"]{background:var(--green)}.switch[aria-checked="true"]::after{transform:translateX(15px)}
.wide-panel{max-width:740px}.wide-panel+.wide-panel{margin-top:19px}.form{display:grid;gap:13px}.field{display:grid;gap:5px;font-size:13px;font-weight:650;min-width:0}.field input,.field textarea,.field select{width:100%;min-width:0;min-height:43px;border:1px solid #b8c9c0;padding:9px 11px;border-radius:6px;background:#fff;font-weight:400}.field textarea{min-height:105px;resize:vertical}.field input:focus,.field textarea:focus,.field select:focus{border-color:var(--green);outline:2px solid #d2e7dc;outline-offset:1px}.field small{font-weight:400;color:var(--muted)}.form-buttons{display:flex;flex-wrap:wrap;gap:8px}.error{color:#972b31;font-size:13px}.profile-head{display:grid;justify-items:center;gap:6px;margin-bottom:16px;text-align:center}.profile-head .avatar{width:46px;height:46px;font-size:18px}.profile-head p{color:var(--muted);font-size:12px}
.modal{width:calc(min(var(--work-width), 100%) - 32px);max-height:calc(100dvh - 38px);padding:22px;border:1px solid var(--line);border-radius:8px;background:var(--paper);color:var(--ink);box-shadow:0 16px 54px #112e262e;overscroll-behavior:contain}
.modal::backdrop{background:#122c245d}
.modal[open]{animation:modal-in 235ms var(--ease) both}
.modal[open]::backdrop{animation:shade-in 215ms var(--ease) both}
.modal.exiting::backdrop{animation:shade-out 145ms var(--ease) both}
.modal-history {
  height: min(84dvh, 800px);
  max-height: calc(100dvh - 2 * max(19px, var(--safe-top), var(--safe-bottom)));
  overflow: hidden;
}
.modal-history > [data-dialog] {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  height: 100%;
}
.history-scroll {
  overflow: auto;
  overscroll-behavior: contain;
}
.history-scroll:focus-visible { outline-offset: -2px; }
.modal-head {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr) 40px;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}
.modal-head h2{grid-column:2;font-size:19px;line-height:1.4;text-align:center}
.modal-head > .icon-button { grid-column: 3; }
.modal-copy{margin-bottom:12px;color:var(--muted)}
.application-loader {
  display: grid;
  gap: 9px;
  padding: 2px 0 0;
}
.application-cube-stage {
  --cube-size: clamp(58px, 19vw, 78px);
  --cube-half: calc(var(--cube-size) / 2);
  --cube-extended: calc(var(--cube-half) + 20px);
  position: relative;
  display: grid;
  place-items: center;
  min-height: clamp(185px, 49vw, 232px);
  overflow: hidden;
  perspective: 900px;
}
.application-cube {
  position: relative;
  width: var(--cube-size);
  height: var(--cube-size);
  transform: rotateX(-22deg) rotateY(-34deg);
  transform-style: preserve-3d;
  animation: application-cube-spin var(--application-duration) linear both;
}
.application-cube-side {
  --face-color: 8 145 178;
  position: absolute;
  inset: 0;
  transform-style: preserve-3d;
}
.application-cube-side[data-cube-side="back"] { transform: rotateY(180deg); }
.application-cube-side[data-cube-side="right"] { transform: rotateY(90deg); }
.application-cube-side[data-cube-side="left"] { transform: rotateY(-90deg); }
.application-cube-side[data-cube-side="top"] { transform: rotateX(90deg); }
.application-cube-side[data-cube-side="bottom"] { transform: rotateX(-90deg); }
.application-cube-side:is([data-cube-side="right"], [data-cube-side="left"]) { --face-color: 126 74 203; }
.application-cube-side:is([data-cube-side="top"], [data-cube-side="bottom"]) { --face-color: 79 87 211; }
.application-cube-face {
  position: absolute;
  inset: 0;
  transform: translateZ(var(--cube-half));
  border: 1px solid rgb(var(--face-color) / .92);
  background: rgb(var(--face-color) / .12);
  box-shadow: 0 0 14px rgb(var(--face-color) / .18), inset 0 0 16px rgb(var(--face-color) / .1);
  animation: application-cube-breathe 3s ease-in-out infinite;
}
.application-cube-core {
  position: absolute;
  inset: 0;
  width: 24px;
  height: 24px;
  margin: auto;
  border-radius: 50%;
  background: #effaff;
  box-shadow: 0 0 22px #77abd2;
  filter: blur(4px);
  animation: application-cube-pulse 2s ease-in-out infinite;
}
.application-cube-shadow {
  position: absolute;
  bottom: 17px;
  width: 84px;
  height: 16px;
  border-radius: 50%;
  background: rgb(43 65 105 / .24);
  filter: blur(6px);
  animation: application-cube-shadow 3s ease-in-out infinite;
}
.application-message {
  color: var(--green);
  font-size: 14px;
  font-weight: 650;
  text-align: center;
}
@keyframes application-cube-spin {
  from { transform: rotateX(-22deg) rotateY(-34deg); }
  to { transform: rotateX(338deg) rotateY(326deg); }
}
@keyframes application-cube-breathe {
  0%, 100% { transform: translateZ(var(--cube-half)); opacity: .9; }
  50% { transform: translateZ(var(--cube-extended)); opacity: .48; }
}
@keyframes application-cube-pulse {
  0%, 100% { transform: scale(.82); opacity: .52; }
  50% { transform: scale(1.18); opacity: .95; }
}
@keyframes application-cube-shadow {
  0%, 100% { transform: scale(.98); opacity: .78; }
  50% { transform: scale(1.36); opacity: .45; }
}
@media (prefers-reduced-motion: reduce) {
  .application-cube,
  .application-cube-face,
  .application-cube-core,
  .application-cube-shadow { animation: none; }
}
.application-status {
  color: var(--muted);
  font-size: 13px;
  text-align: center;
}
.application-actions{display:grid;margin-top:16px}
.toast{position:fixed;right:max(var(--pad),var(--safe-right),calc((100% - var(--work-width)) / 2 + var(--pad)));bottom:calc(var(--nav-height) + 14px);z-index:8;max-width:calc(min(var(--work-width), 100%) - 32px);min-width:180px;padding:9px 13px;color:#fff;background:var(--dark);border-radius:6px;opacity:0;transform:translateY(6px);pointer-events:none;transition:opacity 180ms var(--ease),transform 180ms var(--ease)}
.toast.visible{opacity:1;transform:none}
.view-enter .reveal{animation:reveal 290ms var(--ease) both;animation-delay:calc(var(--order,0)*32ms)}
@keyframes reveal{from{opacity:0;transform:translateY(6px)}to{opacity:1;transform:none}}@keyframes modal-in{from{opacity:0;transform:translateY(7px) scale(.993)}to{opacity:1;transform:none}}@keyframes shade-in{from{opacity:0}to{opacity:1}}@keyframes shade-out{from{opacity:1}to{opacity:0}}
@media(max-width:360px){.balance-meta{gap:10px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation-duration:.01ms!important;animation-delay:0ms!important;transition-duration:.01ms!important;scroll-behavior:auto!important}}
.app-download {
  min-height: 44px;
}
.app-download small {
  font-size: 11px;
  font-weight: 400;
}
.empty .text-link{margin-left:9px}
.modal-head h2{overflow-wrap:anywhere}

.workspace-carousel {
  position: relative;
  overflow: hidden;
  background: var(--soft);
}
.workspace-slides {
  display: flex;
  width: 100%;
  aspect-ratio: 16 / 7;
  overflow-x: auto;
  overflow-y: hidden;
  overscroll-behavior-inline: contain;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}
.workspace-slides::-webkit-scrollbar{display:none}
.workspace-slides:focus-visible{outline-offset:-4px}
.workspace-slide {
  flex: 0 0 100%;
  min-width: 0;
  scroll-snap-align: start;
}
.workspace-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.carousel-controls {
  position: absolute;
  inset: auto 6px 5px;
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr) 36px;
  align-items: center;
  pointer-events: none;
}
.carousel-dots {
  grid-column: 2;
  display: flex;
  justify-self: center;
  border-radius: 30px;
  background: #132b26c2;
  pointer-events: auto;
}
.carousel-dot,
.carousel-toggle {
  display: grid;
  place-items: center;
  width: 36px;
  min-height: 38px;
  padding: 0;
  border: 0;
  border-radius: 99px;
  background: none;
  color: #fff;
  touch-action: manipulation;
}
.carousel-dot::before {
  width: 7px;
  height: 7px;
  border-radius: 9px;
  background: #ffffff8f;
  content: '';
  transition: width 180ms var(--ease), background 180ms var(--ease);
}
.carousel-dot[aria-current="true"]::before{width:15px;background:#fff}
.carousel-toggle {
  grid-column: 3;
  background: #132b26c2;
  pointer-events: auto;
}
.carousel-toggle svg{width:17px;height:17px}
.carousel-toggle:not([data-paused]) svg:last-child,
.carousel-toggle[data-paused] svg:first-child{display:none}
.carousel-controls button:focus-visible{outline-color:#fff;outline-offset:-3px}
.workspace-earnings {
  min-width: 0;
  padding: 13px 0 14px;
}
.earnings-head {
  padding: 0 14px 12px;
  text-align: center;
}
.earnings-head h2{font-size:16px;line-height:1.4}
.earnings-head p{margin-top:3px;color:var(--muted);font-size:11px}
.earnings-ticker {
  display: grid;
  min-width: 0;
  gap: 8px;
}
.earnings-lane {
  min-width: 0;
  overflow: hidden;
  mask-image: linear-gradient(to right, transparent, #000 14px, #000 calc(100% - 14px), transparent);
}
.earnings-track {
  display: flex;
  width: max-content;
  animation: earnings-scroll 31s linear infinite;
  animation-delay: -3s;
}
.earnings-lane + .earnings-lane .earnings-track {
  animation-duration: 37s;
  animation-delay: -12s;
}
.earnings-track ul,
.earnings-records {
  display: flex;
  flex: none;
  gap: 8px;
  padding: 0 8px 0 0;
  list-style: none;
}
.earning-chip {
  min-width: 144px;
  flex: none;
  padding: 7px 10px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: var(--bg);
  color: var(--muted);
  font-size: 12px;
  line-height: 1.35;
  white-space: nowrap;
}
.earning-date{font-size:11px}
.earning-chip strong {
  display: block;
  margin-top: 3px;
  color: var(--green);
  font-size: 15px;
  font-variant-numeric: tabular-nums;
}
.earning-chip small{font-size:10px;font-weight:600}
.earnings-empty{text-align:center}
@keyframes earnings-scroll{to{transform:translateX(-50%)}}
@media (prefers-reduced-motion: no-preference) {
  .earnings-records {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    overflow: hidden;
    clip-path: inset(50%);
  }
}
@media (prefers-reduced-motion: reduce) {
  .carousel-toggle,
  .earnings-ticker{display:none}
  .earnings-records {
    flex-wrap: wrap;
    padding: 0 14px;
  }
  .earning-chip{min-width:0}
}
