/* SYPOWER 我的作品 / 个人信息 — original styles, not copied from official CSS */
.user-balance-text:not(.is-hint) {
  display: inline-flex;
  align-items: center;
  gap: .2rem;
  color: #fbbf24;
  font-variant-numeric: tabular-nums;
}
.sy-bolt-icon {
  width: .85rem;
  height: .85rem;
  flex: 0 0 .85rem;
  display: block;
  color: #fbbf24;
  filter: drop-shadow(0 0 .35rem rgba(251, 191, 36, .35));
}
.sy-bolt-num { color: #fbbf24; font-weight: 700; letter-spacing: .01em; }

.sy-works-page {
  position: fixed;
  inset: 0;
  z-index: 70;
  display: none;
  background: #0a0a0d;
  color: rgba(255, 255, 255, .92);
  font-family: inherit;
}
.sy-works-page.is-open { display: flex; }
body.sy-works-open { overflow: hidden; }

.sy-works-layout {
  display: flex;
  width: 100%;
  height: 100%;
  min-height: 0;
  gap: 0;
}

.sy-works-main {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  padding: 1.05rem 1.25rem 1.25rem 1.35rem;
  position: relative;
}

.sy-works-head {
  display: flex;
  align-items: center;
  gap: .7rem;
  flex-wrap: wrap;
  min-height: 2.4rem;
}
.sy-works-back {
  width: 2rem;
  height: 2rem;
  border: 0;
  border-radius: .55rem;
  background: transparent;
  color: rgba(255, 255, 255, .88);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex: 0 0 auto;
  transition: background .18s ease, color .18s ease;
}
.sy-works-back:hover { background: rgba(255, 255, 255, .06); color: #00cae0; }
.sy-works-back svg { width: 1.15rem; height: 1.15rem; }
.sy-works-title {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: .02em;
  color: #fff;
  white-space: nowrap;
}
.sy-works-tabs {
  display: flex;
  align-items: center;
  gap: .15rem;
  margin-left: .35rem;
}
.sy-works-tab {
  border: 0;
  background: transparent;
  color: rgba(255, 255, 255, .52);
  font-size: .82rem;
  font-weight: 600;
  padding: .28rem .72rem;
  border-radius: .55rem;
  cursor: pointer;
  line-height: 1.3;
  transition: color .15s ease, background .15s ease;
}
.sy-works-tab:hover { color: rgba(255, 255, 255, .86); }
.sy-works-tab.is-on {
  background: #00cae0;
  color: #062026;
  font-weight: 700;
}
.sy-works-date-btn,
.sy-works-batch-btn,
.sy-works-batch-act {
  border: 1px solid rgba(255, 255, 255, .08);
  background: #16171c;
  color: rgba(255, 255, 255, .78);
  font-size: .78rem;
  font-weight: 500;
  padding: .32rem .7rem;
  border-radius: .55rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  line-height: 1.3;
  transition: border-color .15s ease, background .15s ease, color .15s ease;
}
.sy-works-date-btn:hover,
.sy-works-batch-btn:hover,
.sy-works-batch-act:hover {
  border-color: rgba(255, 255, 255, .16);
  background: #1c1d23;
  color: #fff;
}
.sy-works-date-btn.is-on {
  border-color: rgba(0, 202, 224, .45);
  color: #7eeef8;
}
.sy-works-date-btn svg,
.sy-works-batch-btn svg { width: .95rem; height: .95rem; flex: 0 0 auto; }
.sy-works-head-right {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: .5rem;
}
.sy-works-batch-bar { display: flex; align-items: center; gap: .5rem; }
.sy-works-batch-count { font-size: .78rem; color: rgba(255, 255, 255, .6); }
.sy-works-batch-act.is-danger {
  border-color: rgba(239, 68, 68, .35);
  color: #fca5a5;
}
.sy-works-batch-act.is-danger:hover { background: rgba(239, 68, 68, .12); }

.sy-works-date-wrap {
  position: relative;
  flex: 0 0 auto;
  z-index: 9;
}
.sy-works-date-btn.is-open {
  border-color: rgba(34, 197, 160, .45);
  color: #e8eef6;
}
.sy-works-date-pop {
  position: absolute;
  top: calc(100% + .55rem);
  left: 0;
  z-index: 8;
  width: 18.4rem;
  box-sizing: border-box;
  background: #1a1b22;
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: .9rem;
  padding: .7rem .75rem .8rem;
  box-shadow: 0 1.1rem 2.6rem rgba(0, 0, 0, .55);
  display: none;
}
.sy-works-date-pop.is-open { display: block; }
.sy-cal-head {
  display: flex;
  align-items: center;
  gap: .1rem;
  margin-bottom: .2rem;
}
.sy-cal-title {
  flex: 1;
  text-align: center;
  font-size: .92rem;
  font-weight: 600;
  color: rgba(255, 255, 255, .88);
  letter-spacing: .02em;
}
.sy-cal-nav {
  width: 1.55rem;
  height: 1.55rem;
  border: 0;
  background: transparent;
  color: rgba(255, 255, 255, .42);
  cursor: pointer;
  border-radius: .3rem;
  font-size: .95rem;
  line-height: 1;
  padding: 0;
}
.sy-cal-nav:hover {
  color: rgba(255, 255, 255, .9);
  background: rgba(255, 255, 255, .06);
}
.sy-cal-week,
.sy-cal-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  text-align: center;
}
.sy-cal-week span {
  font-size: .72rem;
  color: rgba(255, 255, 255, .36);
  padding: .28rem 0 .2rem;
}
.sy-cal-day {
  height: 1.85rem;
  border: 0;
  background: transparent;
  color: rgba(255, 255, 255, .7);
  font-size: .8rem;
  border-radius: .35rem;
  cursor: pointer;
  padding: 0;
}
.sy-cal-day.is-out { color: rgba(255, 255, 255, .22); }
.sy-cal-day.is-today { color: #e8c25a; font-weight: 600; }
.sy-cal-day.is-on {
  background: rgba(232, 194, 90, .16);
  color: #e8c25a;
  font-weight: 600;
}
.sy-cal-day:hover { background: rgba(255, 255, 255, .06); }
.sy-cal-note {
  margin: .5rem 0 0;
  padding-top: .5rem;
  border-top: 1px solid rgba(255, 255, 255, .08);
  font-size: .68rem;
  line-height: 1.55;
  color: rgba(255, 255, 255, .38);
}
.sy-cal-hint {
  margin: .28rem 0 0;
  font-size: .72rem;
  color: rgba(255, 255, 255, .45);
}
.sy-cal-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .5rem;
  margin-top: .55rem;
}
.sy-cal-actions button {
  height: 2rem;
  border: 1px solid rgba(255, 255, 255, .1);
  background: #23242c;
  color: rgba(255, 255, 255, .78);
  border-radius: .45rem;
  cursor: pointer;
  font-size: .8rem;
}
.sy-cal-actions button:hover {
  background: #2b2c35;
  color: #fff;
}

.sy-works-banner {
  margin-top: .85rem;
  align-self: flex-start;
  max-width: 36rem;
  display: flex;
  align-items: flex-start;
  gap: .55rem;
  padding: .55rem .75rem .55rem .7rem;
  border: 1px solid rgba(251, 191, 36, .45);
  background: rgba(120, 80, 10, .12);
  border-radius: .75rem;
  color: #f3d38a;
  font-size: .78rem;
  line-height: 1.55;
}
.sy-works-banner[hidden] { display: none !important; }
.sy-works-banner-ico {
  width: 1.05rem;
  height: 1.05rem;
  flex: 0 0 auto;
  margin-top: .08rem;
  color: #fbbf24;
}
.sy-works-banner b { color: #f59e0b; font-weight: 700; }
.sy-works-banner-x {
  margin-left: .4rem;
  border: 0;
  background: transparent;
  color: #fbbf24;
  cursor: pointer;
  font-size: .95rem;
  line-height: 1;
  padding: .1rem .15rem;
  opacity: .85;
}
.sy-works-banner-x:hover { opacity: 1; }

.sy-works-stage {
  flex: 1;
  min-height: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: auto;
}
.sy-works-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, .42);
  gap: .7rem;
  padding: 2rem 1rem 4rem;
}
.sy-works-empty p { margin: 0; font-size: .9rem; }
.sy-works-empty .sy-works-empty-sub {
  font-size: .78rem;
  max-width: 22rem;
  text-align: center;
  line-height: 1.6;
  color: rgba(255, 255, 255, .38);
}
.sy-works-mail {
  width: 4.4rem;
  height: 4.4rem;
  opacity: .9;
}

.sy-works-grid {
  align-self: stretch;
  width: 100%;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(15.5rem, 1fr));
  gap: .9rem;
  padding: 1rem 0 1.5rem;
  align-content: start;
}
.sy-works-card {
  position: relative;
  background: #14151a;
  border: 1px solid rgba(255, 255, 255, .06);
  border-radius: .9rem;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-height: 0;
}
.sy-works-card.is-on { outline: 2px solid #00cae0; }
.sy-works-card .sy-works-media {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  background: #0e0f13;
  display: block;
}
.sy-works-card audio.sy-works-media {
  aspect-ratio: auto;
  height: 2.6rem;
  width: calc(100% - 1rem);
  margin: .65rem auto 0;
}
.sy-works-card-body { padding: .65rem .75rem .8rem; }
.sy-works-card-t { font-size: .82rem; font-weight: 600; line-height: 1.45; }
.sy-works-card-s { font-size: .7rem; color: rgba(255, 255, 255, .42); margin-top: .25rem; }
.sy-works-card-prompt {
  margin-top: .35rem;
  font-size: .72rem;
  color: rgba(255, 255, 255, .55);
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.sy-works-card-actions {
  display: flex;
  gap: .4rem;
  margin-top: .55rem;
}
.sy-works-card-actions a,
.sy-works-card-actions button {
  border: 1px solid rgba(255, 255, 255, .1);
  background: #1b1c22;
  color: rgba(255, 255, 255, .8);
  font-size: .72rem;
  border-radius: .4rem;
  padding: .2rem .5rem;
  cursor: pointer;
  text-decoration: none;
}
.sy-works-card-actions a:hover,
.sy-works-card-actions button:hover { color: #fff; border-color: rgba(255, 255, 255, .2); }
.sy-works-card-actions button.is-danger { color: #fca5a5; }
.sy-works-check {
  position: absolute;
  top: .5rem;
  left: .5rem;
  width: 1.15rem;
  height: 1.15rem;
  accent-color: #00cae0;
  z-index: 1;
}

.sy-profile-col {
  width: 22.5rem;
  flex: 0 0 22.5rem;
  padding: 1.05rem 1.1rem 1.2rem .4rem;
  display: flex;
  flex-direction: column;
  gap: .85rem;
  overflow: auto;
}
.sy-profile-card {
  background: #14151b;
  border: 1px solid rgba(255, 255, 255, .06);
  border-radius: 1rem;
  padding: 1rem 1.05rem 1.05rem;
  box-shadow: 0 .5rem 1.6rem rgba(0, 0, 0, .28);
}
.sy-profile-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .6rem;
  margin-bottom: 1rem;
}
.sy-profile-head h2 {
  margin: 0;
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
}
.sy-profile-id {
  display: inline-flex;
  align-items: center;
  gap: .28rem;
  border: 0;
  background: rgba(0, 202, 224, .12);
  color: #5eead4;
  border-radius: .45rem;
  padding: .18rem .45rem;
  font-size: .7rem;
  font-weight: 600;
  cursor: pointer;
  font-variant-numeric: tabular-nums;
}
.sy-profile-id:hover { background: rgba(0, 202, 224, .2); }
.sy-profile-id svg { width: .8rem; height: .8rem; }
.sy-profile-user {
  display: flex;
  align-items: center;
  gap: .75rem;
  margin-bottom: 1.05rem;
}
.sy-profile-avatar {
  width: 3.6rem;
  height: 3.6rem;
  border-radius: 50%;
  overflow: hidden;
  flex: 0 0 3.6rem;
  background: linear-gradient(135deg, #00cae0, #00a8cc);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #062026;
  font-weight: 700;
  font-size: 1.2rem;
}
.sy-profile-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.sy-profile-avatar .icon { width: 1.5rem; height: 1.5rem; stroke: #062026; }
.sy-profile-name {
  font-size: 1.02rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.3;
}
.sy-profile-role {
  display: inline-block;
  margin-top: .35rem;
  background: rgba(255, 255, 255, .06);
  color: rgba(255, 255, 255, .55);
  border-radius: 999px;
  font-size: .68rem;
  padding: .12rem .45rem;
}
.sy-profile-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .6rem;
  padding: .15rem 0 .7rem;
}
.sy-profile-row-label { font-size: .86rem; color: rgba(255, 255, 255, .72); }
.sy-profile-balance {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  color: #fbbf24;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}
.sy-profile-balance .sy-bolt-icon { width: 1rem; height: 1rem; flex-basis: 1rem; }
.sy-profile-charge {
  border: 0;
  background: transparent;
  color: #f59e0b;
  font-size: .72rem;
  cursor: pointer;
  padding: 0;
}
.sy-profile-charge:hover { text-decoration: underline; }
.sy-profile-low {
  display: flex;
  align-items: flex-start;
  gap: .6rem;
  padding: .15rem 0 .85rem;
}
.sy-profile-switch {
  position: relative;
  width: 2.2rem;
  height: 1.2rem;
  flex: 0 0 2.2rem;
  margin-top: .1rem;
  border: 0;
  border-radius: 999px;
  background: #3a3b42;
  cursor: pointer;
  padding: 0;
  transition: background .18s ease;
}
.sy-profile-switch::after {
  content: "";
  position: absolute;
  top: .12rem;
  left: .12rem;
  width: .96rem;
  height: .96rem;
  border-radius: 50%;
  background: #fff;
  transition: transform .18s ease;
}
.sy-profile-switch.is-on { background: #00cae0; }
.sy-profile-switch.is-on::after { transform: translateX(1rem); }
.sy-profile-low-text { min-width: 0; }
.sy-profile-low-title { font-size: .86rem; color: rgba(255, 255, 255, .86); }
.sy-profile-low-desc {
  margin: .28rem 0 0;
  font-size: .7rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, .4);
}
.sy-profile-threshold {
  display: none;
  align-items: center;
  gap: .35rem;
  margin-top: .45rem;
  font-size: .75rem;
  color: rgba(255, 255, 255, .6);
}
.sy-profile-threshold.is-open { display: flex; }
.sy-profile-threshold input {
  width: 4.2rem;
  border: 1px solid rgba(255, 255, 255, .1);
  background: #101116;
  color: #fff;
  border-radius: .4rem;
  padding: .2rem .35rem;
  font-size: .78rem;
}
.sy-profile-acct {
  width: 100%;
  border: 0;
  background: #1a1b21;
  color: #fff;
  border-radius: .7rem;
  padding: .7rem .8rem;
  display: flex;
  align-items: center;
  gap: .6rem;
  cursor: pointer;
  text-align: left;
}
.sy-profile-acct:hover { background: #202128; }
.sy-profile-acct-ico {
  width: 1.7rem;
  height: 1.7rem;
  border-radius: .45rem;
  background: rgba(0, 202, 224, .12);
  color: #5eead4;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
}
.sy-profile-acct-ico svg { width: .95rem; height: .95rem; }
.sy-profile-acct-label { flex: 1; font-size: .86rem; font-weight: 600; }
.sy-profile-acct-caret { font-size: .75rem; color: rgba(255, 255, 255, .45); }
.sy-profile-acct-body {
  display: none;
  margin-top: .55rem;
  padding: .15rem .15rem 0;
  font-size: .8rem;
  color: rgba(255, 255, 255, .7);
}
.sy-profile-acct-body.is-open { display: block; }
.sy-profile-acct-row { display: flex; justify-content: space-between; gap: .5rem; padding: .3rem 0; }
.sy-profile-acct-row span:first-child { color: rgba(255, 255, 255, .45); }
.sy-profile-logout {
  width: 100%;
  margin-top: .55rem;
  border: 1px solid rgba(239, 68, 68, .3);
  background: rgba(239, 68, 68, .08);
  color: #fca5a5;
  border-radius: .55rem;
  padding: .45rem .6rem;
  cursor: pointer;
  font-size: .8rem;
}
.sy-profile-logout:hover { background: rgba(239, 68, 68, .16); }

.sy-profile-feats h2 {
  margin: 0 0 .85rem;
  font-size: 1rem;
  font-weight: 700;
}
.sy-profile-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .55rem;
}
.sy-profile-tile {
  border: 0;
  background: #1a1b21;
  border-radius: .75rem;
  padding: .7rem .65rem;
  display: flex;
  align-items: center;
  gap: .55rem;
  text-align: left;
  cursor: pointer;
  color: inherit;
  min-height: 3.4rem;
}
.sy-profile-tile:hover { background: #22232a; }
.sy-profile-tile-ico {
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 2rem;
}
.sy-profile-tile-ico svg { width: 1.05rem; height: 1.05rem; }
.sy-profile-tile-t { display: block; font-size: .8rem; font-weight: 700; color: #fff; line-height: 1.25; }
.sy-profile-tile-s { display: block; margin-top: .12rem; font-size: .65rem; color: rgba(255, 255, 255, .42); line-height: 1.3; }
.sy-tile-key { background: rgba(251, 191, 36, .16); color: #fbbf24; }
.sy-tile-partner { background: rgba(168, 85, 247, .16); color: #c084fc; }
.sy-tile-pay { background: rgba(45, 212, 191, .16); color: #2dd4bf; }
.sy-tile-team { background: rgba(59, 130, 246, .16); color: #60a5fa; }
.sy-tile-usage { background: rgba(20, 184, 166, .16); color: #2dd4bf; }
.sy-tile-income { background: rgba(34, 211, 238, .16); color: #22d3ee; }
.sy-tile-orders { background: rgba(13, 148, 136, .16); color: #2dd4bf; }
.sy-tile-gift { background: rgba(245, 158, 11, .16); color: #f59e0b; }

.sy-works-sheet {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
}
.sy-works-sheet.is-open { display: flex; }
.sy-works-sheet-bg { position: absolute; inset: 0; background: rgba(0, 0, 0, .5); }
.sy-works-sheet-card {
  position: relative;
  z-index: 1;
  width: min(44rem, calc(100vw - 2rem));
  max-height: calc(100vh - 3rem);
  overflow: auto;
  background: #17181e;
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 1rem;
  padding: 1.2rem 1.25rem 1.3rem;
  box-shadow: 0 1.5rem 3rem rgba(0, 0, 0, .5);
}
.sy-works-sheet-card h3 { margin: 0 2rem .7rem 0; font-size: 1.05rem; }
.sy-works-sheet-close {
  position: absolute;
  top: .7rem;
  right: .8rem;
  width: 1.8rem;
  height: 1.8rem;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: rgba(255, 255, 255, .6);
  font-size: 1.2rem;
  cursor: pointer;
}
.sy-works-sheet-body p { margin: 0 0 .7rem; font-size: .86rem; line-height: 1.65; color: rgba(255, 255, 255, .7); }
.sy-works-sheet-note { font-size: .75rem; color: rgba(255, 255, 255, .42); }
.sy-works-table { width: 100%; border-collapse: collapse; font-size: .78rem; }
.sy-works-table th,
.sy-works-table td {
  text-align: left;
  padding: .45rem .4rem;
  border-bottom: 1px solid rgba(255, 255, 255, .06);
  vertical-align: middle;
}
.sy-works-table th { color: rgba(255, 255, 255, .45); font-weight: 600; }
.sy-works-empty-line { color: rgba(255, 255, 255, .5); font-size: .84rem; padding: .6rem 0; }
.sy-works-toolbar { display: flex; gap: .45rem; margin-bottom: .8rem; }
.sy-works-toolbar input {
  flex: 1;
  border: 1px solid rgba(255, 255, 255, .1);
  background: #101116;
  color: #fff;
  border-radius: .45rem;
  padding: .4rem .55rem;
  font-size: .82rem;
}
.sy-works-toolbar button,
.sy-works-mini {
  border: 1px solid rgba(255, 255, 255, .12);
  background: #22232a;
  color: #fff;
  border-radius: .45rem;
  padding: .35rem .65rem;
  cursor: pointer;
  font-size: .78rem;
}
.sy-works-mini.danger { color: #fca5a5; }
.sy-works-mini.is-copy {
  color: #7dd3fc;
  border-color: rgba(56, 189, 248, .45);
  font-weight: 600;
  background: rgba(56, 189, 248, .16);
}
.sy-works-mini.is-copy:hover { background: rgba(56, 189, 248, .26); color: #fff; }
.sy-works-mini.is-copy:disabled { opacity: .7; }
.sy-works-key-banner {
  background: rgba(251, 191, 36, .1);
  border: 1px solid rgba(251, 191, 36, .3);
  border-radius: .6rem;
  padding: .7rem .8rem;
  margin-bottom: .8rem;
  font-size: .8rem;
  color: #f3d38a;
  word-break: break-all;
}

html[data-privacy="on"] .sy-profile-id,
html[data-privacy="on"] .sy-profile-name,
html[data-privacy="on"] .sy-profile-balance,
html[data-privacy="on"] .sy-profile-acct-row {
  filter: blur(8px);
  user-select: none;
}

@media (max-width: 980px) {
  .sy-works-layout { flex-direction: column; overflow: auto; }
  .sy-profile-col {
    width: auto;
    flex: 0 0 auto;
    padding: 0 1.1rem 1.4rem;
  }
  .sy-works-main { padding-bottom: .4rem; }
  .sy-works-date-pop { left: auto; right: 0; width: min(18.4rem, calc(100vw - 1.6rem)); }
}

html[data-theme="light"] .sy-works-page { background: #f3f4f7; color: #1e232d; }
html[data-theme="light"] .sy-works-title { color: #111827; }
html[data-theme="light"] .sy-works-back { color: #1f2937; }
html[data-theme="light"] .sy-works-tab { color: #64748b; }
html[data-theme="light"] .sy-works-date-btn,
html[data-theme="light"] .sy-works-batch-btn,
html[data-theme="light"] .sy-works-batch-act,
html[data-theme="light"] .sy-works-card,
html[data-theme="light"] .sy-profile-card,
html[data-theme="light"] .sy-works-date-pop,
html[data-theme="light"] .sy-works-sheet-card {
  background: #fff;
  color: #1e232d;
  border-color: rgba(15, 23, 42, .1);
}
html[data-theme="light"] .sy-works-tab.is-on { background: #00a1c2; color: #fff; }
html[data-theme="light"] .sy-profile-acct,
html[data-theme="light"] .sy-profile-tile { background: #f3f4f6; color: #1e232d; }
html[data-theme="light"] .sy-profile-tile-t,
html[data-theme="light"] .sy-profile-name,
html[data-theme="light"] .sy-profile-head h2,
html[data-theme="light"] .sy-profile-feats h2 { color: #111827; }
html[data-theme="light"] .sy-works-empty,
html[data-theme="light"] .sy-profile-low-desc,
html[data-theme="light"] .sy-profile-tile-s,
html[data-theme="light"] .sy-works-card-s { color: #64748b; }
html[data-theme="light"] .sy-works-banner { background: #fff8e8; }

html[data-theme="light"] .sy-works-date-btn.is-open { border-color: rgba(13, 148, 136, .45); }
html[data-theme="light"] .sy-cal-title { color: #1f2937; }
html[data-theme="light"] .sy-cal-nav { color: #94a3b8; }
html[data-theme="light"] .sy-cal-nav:hover { color: #111827; background: rgba(15, 23, 42, .06); }
html[data-theme="light"] .sy-cal-week span { color: #94a3b8; }
html[data-theme="light"] .sy-cal-day { color: #334155; }
html[data-theme="light"] .sy-cal-day.is-out { color: #cbd5e1; }
html[data-theme="light"] .sy-cal-day.is-today,
html[data-theme="light"] .sy-cal-day.is-on { color: #b45309; }
html[data-theme="light"] .sy-cal-day.is-on { background: rgba(245, 158, 11, .16); }
html[data-theme="light"] .sy-cal-day:hover { background: rgba(15, 23, 42, .06); }
html[data-theme="light"] .sy-cal-note {
  border-top-color: rgba(15, 23, 42, .08);
  color: #94a3b8;
}
html[data-theme="light"] .sy-cal-hint { color: #64748b; }
html[data-theme="light"] .sy-cal-actions button {
  background: #f3f4f6;
  color: #334155;
  border-color: rgba(15, 23, 42, .1);
}
html[data-theme="light"] .sy-cal-actions button:hover { background: #e5e7eb; color: #111827; }



.sy-profile-avatar.has-photo,
.sy-profile-avatar:has(.sy-user-avatar),
.sy-profile-avatar:has(img) {
  background: transparent;
  color: transparent;
  overflow: hidden;
}
.sy-profile-avatar .sy-user-avatar,
.sy-profile-avatar img {
  width: 100%;
  height: 100%;
  display: block;
  border-radius: 50%;
  object-fit: cover;
}


.sy-tile-invoice { background: rgba(244, 63, 94, .16); color: #fb7185; }
.sy-tile-cs { background: rgba(56, 189, 248, .16); color: #38bdf8; }
.sy-tile-manual { background: rgba(129, 140, 248, .16); color: #a5b4fc; }
.sy-tile-terms { background: rgba(163, 163, 163, .16); color: #d4d4d8; }
.sy-tile-privacy { background: rgba(74, 222, 128, .16); color: #4ade80; }
.sy-profile-logout-main {
  margin-top: .85rem;
  padding: .65rem .6rem;
  background: #e11d48;
  border-color: #e11d48;
  color: #fff;
  font-weight: 700;
  font-size: .88rem;
}
.sy-profile-logout-main:hover { background: #be123c; }
.sy-invoice-form { display: grid; gap: .55rem; margin-top: .2rem; }
.sy-invoice-form label { display: grid; gap: .25rem; font-size: .78rem; color: rgba(255,255,255,.7); }
.sy-invoice-form input {
  border: 1px solid rgba(255,255,255,.12);
  background: #101116;
  color: #fff;
  border-radius: .45rem;
  padding: .4rem .55rem;
  font-size: .84rem;
}
.sy-help-list details { border-bottom: 1px solid rgba(255,255,255,.08); padding: .45rem 0; }
.sy-help-list summary { cursor: pointer; font-weight: 600; font-size: .86rem; color: #fff; }
.sy-help-list p { margin: .4rem 0 .2rem; font-size: .82rem; line-height: 1.6; color: rgba(255,255,255,.68); }
html[data-theme="light"] .sy-invoice-form input { background: #f3f4f7; color: #1e232d; border-color: rgba(15,23,42,.12); }
html[data-theme="light"] .sy-help-list summary,
html[data-theme="light"] .sy-invoice-form label { color: #1e232d; }
html[data-theme="light"] .sy-help-list p { color: #475569; }
html[data-theme="light"] .sy-profile-logout-main { color: #fff; }


/* Official-style personal center extras (original classes) */
.sy-profile-avatar-wrap {
  position: relative;
  flex: 0 0 4.4rem;
  width: 4.4rem;
  height: 4.4rem;
}
.sy-profile-avatar {
  width: 4.4rem;
  height: 4.4rem;
  flex-basis: 4.4rem;
  border: 0;
  padding: 0;
  cursor: pointer;
  position: relative;
}
.sy-profile-avatar-cam {
  position: absolute;
  right: -.1rem;
  bottom: -.1rem;
  width: 1.25rem;
  height: 1.25rem;
  border-radius: 50%;
  background: #00cae0;
  color: #062026;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 0 2px #14151b;
  pointer-events: none;
}
.sy-profile-avatar-cam svg { width: .72rem; height: .72rem; }
.sy-profile-name-row {
  display: flex;
  align-items: center;
  gap: .35rem;
  min-width: 0;
}
.sy-profile-name { min-width: 0; word-break: break-word; }
.sy-profile-name-edit,
.sy-profile-name-save,
.sy-profile-name-cancel {
  border: 0;
  background: transparent;
  color: rgba(255, 255, 255, .55);
  padding: .1rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border-radius: .3rem;
  flex: 0 0 auto;
}
.sy-profile-name-edit:hover,
.sy-profile-name-save:hover { color: #5eead4; background: rgba(0, 202, 224, .12); }
.sy-profile-name-edit svg { width: .9rem; height: .9rem; }
.sy-profile-name-input {
  width: 8.4rem;
  max-width: 100%;
  border: 1px solid rgba(0, 202, 224, .45);
  background: #101116;
  color: #fff;
  border-radius: .4rem;
  padding: .18rem .4rem;
  font-size: .95rem;
  font-weight: 700;
}
.sy-profile-role.is-agent {
  background: rgba(251, 191, 36, .16);
  color: #fbbf24;
  border: 1px solid rgba(251, 191, 36, .35);
  font-weight: 700;
}
.sy-profile-threshold {
  flex-wrap: wrap;
  gap: .4rem .45rem;
}
.sy-profile-threshold-label { color: rgba(255, 255, 255, .6); }
.sy-profile-threshold .sy-bolt-icon {
  width: .9rem;
  height: .9rem;
  color: #fbbf24;
  flex: 0 0 auto;
}
.sy-profile-threshold-save {
  border: 0;
  background: #00cae0;
  color: #062026;
  font-size: .74rem;
  font-weight: 700;
  border-radius: .4rem;
  padding: .22rem .55rem;
  cursor: pointer;
}
.sy-profile-threshold-save:hover { filter: brightness(1.08); }
.sy-profile-threshold-save:disabled { opacity: .55; cursor: default; }
.sy-profile-low-hint {
  margin: .4rem 0 0;
  font-size: .68rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, .38);
}
.sy-profile-acct {
  background: rgba(0, 202, 224, .08);
  border: 1px solid rgba(0, 202, 224, .16);
}
.sy-profile-acct:hover { background: rgba(0, 202, 224, .14); }
.sy-profile-acct-label { color: #5eead4; }
.sy-profile-pack {
  background: #1a1b21;
  border: 1px solid rgba(255, 255, 255, .06);
  border-radius: .75rem;
  padding: .75rem .8rem .8rem;
  margin: 0 0 .55rem;
}
.sy-profile-pack h3 {
  margin: 0;
  font-size: .86rem;
  font-weight: 700;
  color: #fff;
}
.sy-profile-pack p {
  margin: .3rem 0 0;
  font-size: .7rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, .45);
}
.sy-profile-pack-meta {
  display: flex;
  justify-content: space-between;
  gap: .5rem;
  margin-top: .5rem;
  font-size: .74rem;
  color: rgba(255, 255, 255, .55);
}
.sy-profile-pack-meta b { color: #fbbf24; font-weight: 700; }
.sy-profile-pack-renew {
  display: flex;
  align-items: flex-start;
  gap: .5rem;
  margin-top: .55rem;
  font-size: .72rem;
  color: rgba(255, 255, 255, .55);
  line-height: 1.45;
}
.sy-profile-pack-renew .sy-profile-switch { margin-top: .05rem; }
.sy-profile-pack-btn {
  width: 100%;
  margin-top: .55rem;
  border: 0;
  background: #00cae0;
  color: #062026;
  font-weight: 700;
  font-size: .8rem;
  border-radius: .5rem;
  padding: .42rem .6rem;
  cursor: pointer;
}
.sy-profile-pack-btn:hover { filter: brightness(1.06); }
.sy-profile-acct-row {
  align-items: center;
  padding: .42rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, .05);
}
.sy-profile-acct-row:last-child { border-bottom: 0; }
.sy-profile-acct-val {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  color: rgba(255, 255, 255, .86);
  text-align: right;
}
.sy-profile-acct-link {
  border: 0;
  background: transparent;
  color: #5eead4;
  font-size: .75rem;
  cursor: pointer;
  padding: 0;
  white-space: nowrap;
}
.sy-profile-acct-link:hover { text-decoration: underline; }
.sy-profile-acct-muted { color: rgba(255, 255, 255, .42); }
.sy-profile-form { display: grid; gap: .55rem; }
.sy-profile-form label {
  display: grid;
  gap: .25rem;
  font-size: .78rem;
  color: rgba(255, 255, 255, .7);
}
.sy-profile-form input {
  border: 1px solid rgba(255, 255, 255, .12);
  background: #101116;
  color: #fff;
  border-radius: .45rem;
  padding: .45rem .55rem;
  font-size: .84rem;
}
.sy-profile-form-actions {
  display: flex;
  justify-content: flex-end;
  gap: .45rem;
  margin-top: .2rem;
}
.sy-profile-form-actions button {
  border: 0;
  border-radius: .45rem;
  padding: .4rem .75rem;
  font-size: .8rem;
  font-weight: 700;
  cursor: pointer;
}
.sy-profile-btn-ghost {
  background: rgba(255, 255, 255, .08);
  color: rgba(255, 255, 255, .8);
}
.sy-profile-btn-primary {
  background: #00cae0;
  color: #062026;
}
.sy-profile-crop {
  display: grid;
  justify-items: center;
  gap: .7rem;
}
.sy-profile-crop-preview {
  width: 8.5rem;
  height: 8.5rem;
  border-radius: 50%;
  overflow: hidden;
  background: #101116;
}
.sy-profile-crop-preview img,
.sy-profile-crop-preview canvas {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.sy-profile-note {
  margin: 0;
  font-size: .8rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, .68);
}

html[data-theme="light"] .sy-profile-name-edit,
html[data-theme="light"] .sy-profile-name-save,
html[data-theme="light"] .sy-profile-name-cancel { color: #64748b; }
html[data-theme="light"] .sy-profile-name-input {
  background: #f3f4f7;
  color: #111827;
  border-color: rgba(13, 148, 136, .45);
}
html[data-theme="light"] .sy-profile-avatar-cam { box-shadow: 0 0 0 2px #fff; }
html[data-theme="light"] .sy-profile-low-hint,
html[data-theme="light"] .sy-profile-pack p,
html[data-theme="light"] .sy-profile-pack-renew,
html[data-theme="light"] .sy-profile-acct-muted { color: #64748b; }
html[data-theme="light"] .sy-profile-pack,
html[data-theme="light"] .sy-profile-form input { background: #f3f4f6; color: #1e232d; border-color: rgba(15, 23, 42, .1); }
html[data-theme="light"] .sy-profile-pack h3 { color: #111827; }
html[data-theme="light"] .sy-profile-acct { background: rgba(13, 148, 136, .1); border-color: rgba(13, 148, 136, .18); }
html[data-theme="light"] .sy-profile-acct-label { color: #0f766e; }
html[data-theme="light"] .sy-profile-acct-val { color: #1e232d; }
html[data-theme="light"] .sy-profile-form label,
html[data-theme="light"] .sy-profile-note { color: #334155; }
html[data-theme="light"] .sy-profile-btn-ghost { background: #e5e7eb; color: #1e232d; }
html[data-privacy="on"] .sy-profile-acct-val { filter: blur(8px); user-select: none; }
