* { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --page-bg: #080808;
  --surface: #141414;
  --surface-strong: #1b1b1b;
  --border: #242424;
  --text: #f5f5f5;
  --muted: #858585;
  --gold: #b99a4c;
}

html, body { height: 100%; }

body {
  background: #000;
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }
button, input, textarea, select { font: inherit; }
[hidden] { display: none !important; }

.pc-wrap {
  min-height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

.phone {
  position: relative;
  width: min(393px, calc(100vw - 32px));
  max-width: none;
  height: min(852px, calc(100vh - 32px));
  max-height: none;
  overflow: hidden;
  background: var(--page-bg);
  box-shadow: 0 12px 48px rgba(0, 0, 0, .55);
}

.app {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  background:
    radial-gradient(220px 170px at 50% 23%, rgba(42, 45, 53, .18), transparent 70%),
    var(--page-bg);
}

.status {
  height: 38px;
  padding: 11px 20px 6px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex: 0 0 auto;
  font-size: 14px;
  font-weight: 650;
}

.status-icons { display: flex; align-items: center; gap: 5px; }
.status-icons svg { display: block; }

.page-header {
  position: relative;
  min-height: 50px;
  padding: 0 54px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
}

.page-title {
  font-size: 15px;
  font-weight: 650;
  line-height: 1.2;
  text-align: center;
}

.back-link,
.header-action {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #e8e8e8;
  text-decoration: none;
}

.back-link { left: 12px; width: 38px; }
.header-action { right: 16px; border: 0; background: transparent; font-size: 13px; color: #d8d8d8; cursor: pointer; }
.back-link svg { width: 19px; height: 19px; }
.header-role-badge {
  position: absolute;
  right: 16px;
  top: 50%;
  min-height: 24px;
  padding: 0 8px;
  display: inline-flex;
  align-items: center;
  border: 1px solid #4e4633;
  border-radius: 999px;
  color: #c6ad6d;
  font-size: 9px;
  line-height: 1;
  transform: translateY(-50%);
}

.page-scroll {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 10px 16px 28px;
  scrollbar-width: none;
}

.page-scroll::-webkit-scrollbar { display: none; }

.home-indicator {
  width: 128px;
  height: 5px;
  margin: 0 auto 6px;
  flex: 0 0 auto;
  border-radius: 999px;
  background: rgba(255, 255, 255, .34);
}

.management-scroll { padding-top: 6px; }
.management-section + .management-section { margin-top: 22px; }
.management-section-head { margin-bottom: 10px; }
.management-section-head.is-compact { margin-bottom: 8px; }
.management-section-head h2 { font-size: 15px; font-weight: 680; }
.management-section-head p { margin-top: 4px; color: #6f6f6f; font-size: 10px; line-height: 1.4; }

.management-overview { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.management-overview.is-vice-president { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.management-overview-item {
  min-width: 0;
  min-height: 120px;
  padding: 9px 8px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  border: 1px solid #2d2b25;
  border-radius: 11px;
  background: linear-gradient(145deg, #191816, #121212 72%);
  color: #dedede;
  text-decoration: none;
  transition: border-color .18s ease, background-color .18s ease, transform .18s ease;
}
.management-overview-item.is-talent { background: linear-gradient(145deg, rgba(72, 60, 31, .32), #131313 72%); }
.management-overview-item:hover,
.management-overview-item:focus-visible,
.management-row:hover,
.management-row:focus-visible { border-color: #5a4a25; background-color: #1a1916; outline: none; }
.management-overview-item:active,
.management-row:active { transform: scale(.99); }
.management-row-icon { display: grid; place-items: center; color: #9d9d9d; }
.management-row-icon svg { width: 22px; height: 22px; stroke: currentColor; fill: none; stroke-width: 1.55; stroke-linecap: round; stroke-linejoin: round; }
.management-overview-head { display: flex; min-width: 0; align-items: center; justify-content: space-between; }
.management-overview-icon { width: 20px; height: 20px; flex: 0 0 auto; display: grid; place-items: center; border-radius: 6px; background: #24231f; color: #a99053; }
.management-overview-icon svg { width: 13px; height: 13px; stroke: currentColor; fill: none; stroke-width: 1.65; stroke-linecap: round; stroke-linejoin: round; }
.management-overview-label { min-width: 0; min-height: 30px; max-height: 30px; margin-top: 6px; overflow: hidden; color: #dedede; display: -webkit-box; font-size: 12px; font-weight: 620; line-height: 15px; overflow-wrap: anywhere; word-break: break-word; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.management-overview-arrow { width: 17px; height: 17px; flex: 0 0 auto; display: grid; place-items: center; border: 1px solid #39362d; border-radius: 50%; color: #b9a05f; font-size: 14px; line-height: 1; }
.management-overview-item strong { display: block; margin-top: 5px; overflow: hidden; color: #f0f0f0; font-size: 16px; line-height: 1.1; text-overflow: ellipsis; white-space: nowrap; }
.management-overview-item strong small { color: #777; font-size: 8px; font-weight: 500; }
.management-overview-meta { min-height: 18px; max-height: 18px; margin-top: 4px; overflow: hidden; color: #777; display: -webkit-box; font-size: 8px; line-height: 9px; overflow-wrap: anywhere; word-break: break-word; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.management-chevron { margin-left: auto; color: #555; font-size: 22px; line-height: 1; }

.management-list { overflow: hidden; border: 1px solid #222; border-radius: 12px; background: #131313; }
.management-row {
  min-height: 68px;
  padding: 0 13px;
  display: flex;
  align-items: center;
  gap: 11px;
  color: #dedede;
  text-decoration: none;
  transition: border-color .18s ease, background-color .18s ease, transform .18s ease;
}
.management-row + .management-row { border-top: 1px solid #222; }
.management-row.is-benefit { background: linear-gradient(145deg, rgba(69, 57, 30, .2), #131313 66%); }
.management-row-icon { width: 36px; height: 36px; flex: 0 0 auto; border-radius: 9px; background: #1d1d1d; }
.management-row.is-benefit .management-row-icon { background: rgba(185, 154, 76, .1); color: #b89b55; }
.management-row-copy { min-width: 0; flex: 1; }
.management-row-copy strong { display: block; font-size: 12px; font-weight: 620; }
.management-row-copy small { display: block; margin-top: 5px; overflow: hidden; color: #6f6f6f; font-size: 9px; text-overflow: ellipsis; white-space: nowrap; }

.search-box {
  height: 42px;
  margin-bottom: 18px;
  padding: 0 13px;
  display: flex;
  align-items: center;
  gap: 9px;
  border-radius: 8px;
  background: #151515;
  color: #777;
}

.search-box svg { width: 18px; height: 18px; flex: 0 0 auto; }
.search-box input { width: 100%; border: 0; outline: 0; background: transparent; color: #f2f2f2; font-size: 14px; }
.search-box input::placeholder { color: #6f6f6f; }

.segmented {
  margin-bottom: 14px;
  padding: 3px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid #272727;
  border-radius: 999px;
  background: #0d0d0d;
}

.segment {
  height: 36px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: #8e8e8e;
  font-size: 13px;
  cursor: pointer;
}

.segment.is-active { background: #292929; color: #fff; font-weight: 650; }
.member-list { display: grid; gap: 12px; }

.member-card {
  position: relative;
  padding: 14px;
  border: 1px solid #1d1d1d;
  border-radius: 12px;
  background: #141414;
}

.member-profile { display: flex; align-items: center; gap: 10px; padding-right: 28px; }

.member-avatar {
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  border: 1px solid #393939;
  border-radius: 50%;
  background: linear-gradient(135deg, #353942, #23252b);
  color: #c9ccd3;
  font-size: 14px;
  font-weight: 750;
}

.member-avatar.alt { background: linear-gradient(135deg, #465171, #282f43); color: #e0e6ff; }
.member-avatar.warm { background: linear-gradient(135deg, #6b4d44, #352825); color: #ffe4da; }
.member-avatar.green { background: linear-gradient(135deg, #3e5f53, #23362f); color: #d7f5e7; }

.member-main { min-width: 0; flex: 1; }
.member-name-row { display: flex; align-items: center; gap: 5px; white-space: nowrap; }
.member-name { max-width: 128px; overflow: hidden; text-overflow: ellipsis; font-size: 14px; }
.role-badge { padding: 2px 5px; border: 1px solid #3c3c3c; border-radius: 4px; color: #a6a6a6; font-size: 10px; }
.level { font-size: 11px; font-style: italic; font-weight: 750; text-decoration: underline; }
.member-meta { margin-top: 4px; color: #777; font-size: 10px; white-space: nowrap; }

.more-button {
  position: absolute;
  top: 13px;
  right: 10px;
  width: 30px;
  height: 30px;
  border: 0;
  border-radius: 7px;
  background: transparent;
  color: #9c9c9c;
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
}

.more-button:hover,
.more-button:focus-visible { background: #222; color: #fff; outline: none; }

.member-menu {
  position: absolute;
  z-index: 4;
  top: 45px;
  right: 8px;
  width: 92px;
  display: none;
  overflow: hidden;
  border: 1px solid #292929;
  border-radius: 9px;
  background: #202020;
  box-shadow: 0 10px 24px rgba(0, 0, 0, .4);
}

.member-menu.is-open { display: block; }
.member-menu button { width: 100%; height: 42px; border: 0; background: transparent; color: #e7e7e7; cursor: pointer; }
.member-menu button:hover { background: #292929; }
.member-menu button + button { border-top: 1px solid #292929; }

.member-metrics { margin-top: 13px; display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
.member-metric { min-height: 56px; padding: 9px 11px; border-radius: 9px; background: #0f0f0f; }
.member-metric strong { display: block; font-size: 18px; line-height: 1.1; }
.member-metric span { display: block; margin-top: 3px; color: #777; font-size: 11px; }

.empty-state { min-height: 420px; display: none; place-items: center; text-align: center; color: #696969; }
.empty-state.is-active { display: grid; }
.empty-mark { width: 74px; height: 60px; margin: 0 auto 14px; position: relative; }
.empty-mark::before { content: ""; position: absolute; inset: 14px 9px 0; border: 1px solid #303030; border-radius: 9px; background: #121212; }
.empty-mark::after { content: ""; position: absolute; left: 27px; top: 0; width: 20px; height: 20px; border: 1px solid #3a3a3a; border-radius: 50%; background: #171717; }
.empty-state p { font-size: 13px; }

.toast {
  position: absolute;
  z-index: 8;
  left: 50%;
  bottom: 28px;
  transform: translate(-50%, 16px);
  min-width: 180px;
  padding: 10px 14px;
  border: 1px solid #333;
  border-radius: 999px;
  background: rgba(35, 35, 35, .96);
  color: #f3f3f3;
  text-align: center;
  font-size: 12px;
  opacity: 0;
  pointer-events: none;
  transition: opacity .18s ease, transform .18s ease;
}

.toast.is-visible { opacity: 1; transform: translate(-50%, 0); }

.translation-wrap { position: absolute; right: 12px; top: 50%; transform: translateY(-50%); z-index: 6; }
.translation-button { height: 34px; padding: 0 11px; border: 0; border-radius: 7px; background: #151515; color: #e5e5e5; font-size: 12px; cursor: pointer; }
.translation-menu { position: absolute; top: 40px; right: 0; width: 190px; max-height: 320px; display: none; overflow-y: auto; padding: 7px; border: 1px solid #303030; border-radius: 10px; background: #1b1b1b; box-shadow: 0 14px 36px rgba(0, 0, 0, .55); }
.translation-menu.is-open { display: grid; }
.translation-menu strong { padding: 7px 9px; color: #777; font-size: 10px; letter-spacing: .08em; }
.translation-menu button { min-height: 34px; padding: 0 9px; border: 0; border-radius: 6px; background: transparent; color: #d7d7d7; text-align: left; font-size: 12px; cursor: pointer; }
.translation-menu button:hover,
.translation-menu button.is-active { background: #292929; color: #fff; }

.form-card { padding: 16px; border: 1px solid #1f1f1f; border-radius: 12px; background: #151515; }
.field + .field { margin-top: 22px; }
.field-label { display: block; margin-bottom: 10px; font-size: 14px; font-weight: 600; }
.field-tip { margin-top: 7px; color: #777; font-size: 11px; line-height: 1.45; }
.text-input,
.text-area,
.country-select { width: 100%; border: 1px solid #353535; border-radius: 8px; background: #303030; color: #f3f3f3; outline: none; }
.text-input { height: 46px; padding: 0 13px; font-size: 13px; }
.text-area { min-height: 116px; padding: 13px; resize: none; font-size: 13px; line-height: 1.55; }
.text-input:focus,
.text-area:focus,
.country-select:focus { border-color: #7d6a39; }
.country-select { height: 46px; padding: 0 12px; appearance: none; background-image: linear-gradient(45deg, transparent 50%, #979797 50%), linear-gradient(135deg, #979797 50%, transparent 50%); background-position: calc(100% - 18px) 19px, calc(100% - 13px) 19px; background-size: 5px 5px, 5px 5px; background-repeat: no-repeat; }

.guild-logo-editor { position: relative; width: 72px; height: 72px; overflow: hidden; border: 1px solid #363636; border-radius: 10px; background: #262626; cursor: pointer; }
.guild-logo-image { width: 100%; height: 54px; padding: 12px; object-fit: contain; background: linear-gradient(145deg, #555, #232323); }
.guild-logo-edit { position: absolute; inset: auto 0 0; height: 22px; display: grid; place-items: center; background: rgba(22, 22, 22, .82); color: #eee; font-size: 10px; }

.save-button { width: 100%; height: 46px; margin-top: 20px; border: 1px solid #717171; border-radius: 12px; background: #2b2b2b; color: #fff; font-weight: 650; cursor: pointer; }
.save-button:hover { background: #333; }

.section-heading-row { margin: 8px 0 12px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.section-heading-main { min-width: 0; display: flex; align-items: center; gap: 8px; }
.section-heading { font-size: 19px; font-weight: 700; }
.detail-link { color: #7f7f7f; text-decoration: none; font-size: 11px; }
.detail-link:hover { color: #c8c8c8; }

.admin-list { display: grid; gap: 10px; }
.admin-card { padding: 14px; border: 1px solid #1d1d1d; border-radius: 11px; background: #141414; }
.admin-summary { display: flex; align-items: center; gap: 10px; }
.admin-avatar { width: 40px; height: 40px; flex: 0 0 auto; display: grid; place-items: center; border-radius: 50%; border: 1px solid #383838; background: linear-gradient(135deg, #6c4f3f, #2e2723); color: #f5ded0; font-size: 12px; font-weight: 750; }
.admin-avatar.blue { background: linear-gradient(135deg, #3e4d66, #202833); color: #dde7f7; }
.admin-info { min-width: 0; flex: 1; }
.admin-name { display: flex; align-items: center; gap: 6px; font-size: 13px; }
.admin-role { padding: 2px 5px; border: 1px solid #443a28; border-radius: 4px; color: #bca46e; font-size: 9px; }
.admin-role.vice { border-color: #2e3e4d; color: #829db4; }
.admin-uid { margin-top: 4px; color: #696969; font-size: 10px; }
.admin-share { text-align: right; }
.admin-share span { display: block; color: #666; font-size: 9px; }
.admin-share strong { display: block; margin-top: 3px; font-size: 17px; }
.admin-actions { margin-top: 12px; display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
.admin-actions button { height: 38px; border: 1px solid #343434; border-radius: 8px; background: #272727; color: #e9e9e9; font-size: 12px; cursor: pointer; }
.admin-actions button:hover { background: #303030; }

.sheet-backdrop { position: absolute; z-index: 20; inset: 0; display: none; align-items: flex-end; justify-content: center; padding: 24px; background: rgba(0, 0, 0, .72); }
.sheet-backdrop.is-open { display: flex; }
.sheet-card { width: 100%; max-height: 78%; padding: 20px 18px 18px; border: 1px solid #404040; border-radius: 22px; background: #252525; box-shadow: 0 20px 48px rgba(0, 0, 0, .5); }
.sheet-head { display: flex; align-items: center; justify-content: space-between; }
.sheet-title { font-size: 18px; font-weight: 700; }
.sheet-close { width: 34px; height: 34px; border: 0; background: transparent; color: #888; font-size: 25px; cursor: pointer; }
.sheet-field { margin-top: 22px; }
.sheet-field label { display: block; margin-bottom: 9px; color: #c9c9c9; font-size: 13px; }
.sheet-field input { width: 100%; height: 50px; padding: 0 14px; border: 1px solid #555; border-radius: 14px; background: transparent; color: #fff; outline: none; }
.sheet-actions { margin-top: 28px; display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.sheet-actions button { height: 46px; border: 1px solid #555; border-radius: 14px; background: transparent; color: #f1f1f1; cursor: pointer; }
.sheet-actions .confirm { border-color: transparent; background: #f0eee8; color: #181818; font-weight: 700; }
.sheet-actions .confirm:disabled { background: #2b2b2b; color: #666; cursor: not-allowed; }

.info-section { padding: 16px; border: 1px solid #202020; border-radius: 10px; background: #151515; }
.info-section + .info-section { margin-top: 14px; }
.info-section h2 { margin-bottom: 10px; font-size: 15px; }
.info-section ul { padding-left: 18px; color: #9a9a9a; font-size: 12px; line-height: 1.7; }
.info-section p { color: #9a9a9a; font-size: 12px; line-height: 1.65; }

.fund-overview { margin-bottom: 16px; }
.fund-panel { padding: 14px; border: 1px solid #3a3a3a; border-radius: 15px; background: #101010; }
.fund-panel-v2 { padding: 0; overflow: hidden; }
.account-badge { display: inline-flex; align-items: center; min-height: 22px; padding: 0 8px; border: 1px solid #3a3a3a; border-radius: 999px; color: #999; font-size: 9px; line-height: 1; }
.fund-primary { padding: 14px; }
.fund-focus { display: block; }
.fund-focus-action-row { width: 100%; margin-top: 9px; display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 14px; }
.fund-focus-value { min-width: 0; }
.fund-distribute-button { min-width: 78px; min-height: 36px; max-width: 118px; padding: 8px 12px; border: 0; border-radius: 9px; background: #efede7; color: #171717; font-size: 10px; font-weight: 750; line-height: 1.25; cursor: pointer; }
.fund-distribute-button:disabled { min-width: 88px; background: #252525; color: #666; cursor: not-allowed; }
.fund-focus-label-row { display: inline-flex; align-items: center; gap: 5px; }
.fund-focus-label { color: #d9d9d9; font-size: 11px; font-weight: 650; }
.fund-help-button { width: 16px; height: 16px; padding: 0; border: 1px solid #555; border-radius: 50%; display: inline-grid; place-items: center; background: transparent; color: #8b8b8b; font-size: 9px; line-height: 1; cursor: pointer; }
.fund-focus-value > strong { display: block; margin-top: 4px; font-size: 29px; line-height: 1; white-space: nowrap; }
.fund-focus-value > strong small { color: #7e7e7e; font-size: 11px; font-weight: 500; }
.fund-focus-value p { margin-top: 5px; color: #6f6f6f; font-size: 9px; line-height: 1.4; }
.fund-breakdown { margin-top: 12px; padding-top: 11px; border-top: 1px solid #272727; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.fund-breakdown > div { min-width: 0; }
.fund-breakdown > div + div { padding-left: 13px; border-left: 1px solid #272727; }
.fund-breakdown span { display: block; color: #8d8d8d; font-size: 9px; }
.fund-breakdown strong { display: block; margin-top: 4px; font-size: 17px; line-height: 1.1; white-space: nowrap; }
.fund-breakdown strong small { color: #747474; font-size: 8px; font-weight: 500; }
.fund-breakdown p { margin-top: 4px; color: #656565; font-size: 8px; line-height: 1.35; }
.talent-growth-card { margin-bottom: 18px; padding: 14px; border: 1px solid #4a3d20; border-radius: 14px; background: linear-gradient(145deg, rgba(94, 72, 26, .25), rgba(24, 22, 17, .96)); }
.growth-eyebrow { display: inline-flex; min-height: 22px; padding: 0 8px; align-items: center; border: 1px solid #66552d; border-radius: 999px; color: #d1ae5f; font-size: 9px; }
.talent-growth-card h2 { margin-top: 9px; font-size: 15px; line-height: 1.35; }
.growth-description { margin-top: 5px; color: #a09886; font-size: 9px; line-height: 1.5; }
.growth-balance-row { margin-top: 11px; display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 12px; }
.growth-balance-row span { display: block; color: #827a69; font-size: 9px; }
.growth-balance-row strong { display: block; margin-top: 3px; font-size: 17px; }
.growth-balance-row strong small { color: #887a59; font-size: 9px; font-weight: 500; }
.talent-recharge-cta { min-height: 36px; max-width: 118px; padding: 8px 12px; display: inline-flex; align-items: center; justify-content: center; border-radius: 9px; background: #d7b661; color: #19150c; text-align: center; text-decoration: none; font-size: 10px; font-weight: 750; line-height: 1.25; }
.account-boundary-note { margin-top: 9px; padding-top: 8px; border-top: 1px solid rgba(196, 162, 82, .16); color: #7e7665; font-size: 9px; line-height: 1.45; }
.transaction-list { display: grid; gap: 12px; }
.transaction-card { padding: 14px; border: 1px solid #1c1c1c; border-radius: 11px; background: #141414; }
.transaction-top { display: flex; align-items: center; gap: 10px; }
.transaction-avatar { width: 38px; height: 38px; display: grid; place-items: center; flex: 0 0 auto; border-radius: 50%; background: #292929; color: #aaa; font-size: 11px; font-weight: 700; }
.transaction-person { min-width: 0; flex: 1; }
.transaction-name { font-size: 13px; }
.transaction-uid { margin-top: 4px; color: #6b6b6b; font-size: 10px; }
.transaction-amount { font-size: 17px; font-weight: 750; }
.transaction-amount.negative { color: #36dfcf; }
.transaction-amount.positive { color: #d2ad5c; }
.transaction-meta { margin-top: 12px; padding-top: 10px; border-top: 1px solid #202020; display: flex; justify-content: space-between; gap: 12px; color: #8a8a8a; font-size: 10px; }
.distribution-record { border-color: #30302c; background: #171714; }

.distribution-sheet-card { max-height: 88%; overflow-y: auto; }
.distribution-balance-card { margin-top: 18px; padding: 14px; border: 1px solid #3c3c3c; border-radius: 14px; background: #1c1c1c; }
.distribution-balance-card > span { display: block; color: #8a8a8a; font-size: 10px; }
.distribution-balance-card > strong { display: block; margin-top: 5px; font-size: 25px; line-height: 1; }
.distribution-balance-card > strong small { color: #777; font-size: 10px; font-weight: 500; }
.distribution-balance-card p { margin-top: 7px; color: #727272; font-size: 9px; line-height: 1.45; }
.distribution-mode-note { margin-top: 10px; padding: 10px 12px; border-left: 2px solid #a98b4e; border-radius: 0 9px 9px 0; background: #1b1914; }
.distribution-mode-note strong { color: #c8ad71; font-size: 10px; }
.distribution-mode-note p { margin-top: 4px; color: #847b68; font-size: 9px; line-height: 1.5; }
.distribution-error { min-height: 16px; margin-top: 6px; color: #d77f7f; font-size: 9px; }
.distribution-preview { margin-top: 14px; overflow: hidden; border: 1px solid #3d3d3d; border-radius: 13px; background: #1b1b1b; }
.distribution-preview-head { min-height: 42px; padding: 0 12px; display: flex; align-items: center; justify-content: space-between; gap: 12px; border-bottom: 1px solid #303030; }
.distribution-preview-head span { color: #8c8c8c; font-size: 10px; }
.distribution-preview-head strong { color: #f0f0f0; font-size: 12px; }
.distribution-person-row { min-height: 48px; padding: 8px 12px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.distribution-person-row + .distribution-person-row { border-top: 1px solid #2d2d2d; }
.distribution-person-row > div { min-width: 0; }
.distribution-person-row > div strong { display: block; font-size: 11px; }
.distribution-person-row > div span { display: block; margin-top: 3px; color: #747474; font-size: 9px; }
.distribution-person-row > strong { flex: 0 0 auto; color: #dedede; font-size: 11px; }
.distribution-remaining-row { min-height: 42px; padding: 0 12px; border-top: 1px solid #303030; display: flex; align-items: center; justify-content: space-between; gap: 12px; background: #202020; }
.distribution-remaining-row span { color: #818181; font-size: 9px; }
.distribution-remaining-row strong { color: #c6c6c6; font-size: 11px; }
.distribution-single-action { grid-template-columns: 1fr; margin-top: 18px; }
.distribution-review-total { margin-top: 18px; padding: 18px 14px; border: 1px solid #4a4230; border-radius: 14px; background: linear-gradient(145deg, rgba(93, 74, 34, .22), #1b1a16); text-align: center; }
.distribution-review-total span { display: block; color: #9d8f70; font-size: 10px; }
.distribution-review-total strong { display: block; margin-top: 7px; color: #e5c77e; font-size: 26px; line-height: 1; }
.distribution-review-total strong small { color: #8b7f63; font-size: 10px; font-weight: 500; }
.distribution-review-list { margin-top: 14px; overflow: hidden; border: 1px solid #3a3a3a; border-radius: 13px; background: #1b1b1b; }
.distribution-confirm-note { margin-top: 13px; padding: 10px 11px; border: 1px solid #44312e; border-radius: 10px; background: #211817; color: #a2827d; font-size: 9px; line-height: 1.55; }
.distribution-review-actions { grid-template-columns: .72fr 1.28fr; }
.distribution-review-actions button { padding: 0 8px; font-size: 10px; white-space: nowrap; }
.income-help-card { max-height: 72%; }
.income-help-content { margin-top: 16px; overflow: hidden; border: 1px solid #3b3b3b; border-radius: 13px; background: #1b1b1b; }
.income-help-content > div { padding: 12px; }
.income-help-content > div + div { border-top: 1px solid #303030; }
.income-help-content strong { color: #d6d6d6; font-size: 11px; }
.income-help-content p { margin-top: 5px; color: #818181; font-size: 10px; line-height: 1.55; }

.policy-intro { margin-bottom: 14px; color: #9a9a9a; font-size: 12px; line-height: 1.65; }
.policy-section { margin-top: 18px; }
.policy-section h2 { margin-bottom: 8px; font-size: 17px; }
.policy-section h3 { margin: 13px 0 6px; font-size: 14px; }
.policy-section h4 { margin: 12px 0 6px; font-size: 13px; }
.policy-section p,
.policy-section li { color: #929292; font-size: 11px; line-height: 1.7; }
.policy-section ul { padding-left: 17px; }
.policy-table { width: 100%; margin-top: 10px; border-collapse: collapse; overflow: hidden; border: 1px solid #2c2c2c; border-radius: 8px; font-size: 10px; }
.policy-table th,
.policy-table td { padding: 9px 8px; border: 1px solid #2c2c2c; text-align: left; }
.policy-table th { background: #1d1d1d; color: #cfcfcf; }
.policy-table td { color: #929292; }

.talent-fund-section { margin-bottom: 18px; }
.talent-balance-panel { padding: 14px; border: 1px solid #4a3d20; border-radius: 14px; background: linear-gradient(145deg, rgba(79, 61, 23, .22), #10100f 62%); display: grid; grid-template-columns: 1fr auto; align-items: center; column-gap: 14px; }
.talent-balance-main { grid-column: 1; }
.talent-balance-main > span { color: #9a8b67; font-size: 10px; }
.talent-balance-main > strong { display: block; margin-top: 5px; color: #f3e5bd; font-size: 25px; line-height: 1.1; }
.talent-balance-main > strong small { color: #8e8060; font-size: 11px; font-weight: 500; }
.talent-balance-main p { margin-top: 5px; color: #756d5c; font-size: 9px; }
.talent-balance-secondary { grid-column: 1; margin-top: 9px; padding-top: 8px; border-top: 1px solid rgba(204, 170, 83, .16); display: flex; align-items: center; justify-content: flex-start; gap: 10px; }
.talent-balance-secondary span { color: #817967; font-size: 10px; }
.talent-balance-secondary strong { color: #c8c0ab; font-size: 15px; }
.talent-balance-secondary small { color: #766f60; font-size: 9px; font-weight: 500; }
.talent-recharge-button { grid-column: 2; grid-row: 1 / span 2; width: auto; min-width: 108px; height: 39px; margin: 0; padding: 0 12px; border: 0; border-radius: 10px; background: #d7b661; color: #1d180d; font-size: 10px; font-weight: 750; cursor: pointer; }
.talent-account-note { margin-top: 7px; padding: 0 3px; color: #686258; font-size: 9px; line-height: 1.45; }
.settings-block { margin-top: 24px; }
.settings-card { padding: 15px; border: 1px solid #1c1c1c; border-radius: 11px; background: #141414; }
.setting-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.setting-row + .setting-row { margin-top: 18px; }
.setting-label { color: #d6d6d6; font-size: 12px; }
.toggle { position: relative; width: 38px; height: 22px; flex: 0 0 auto; border: 0; border-radius: 999px; background: #454545; cursor: pointer; }
.toggle::after { content: ""; position: absolute; top: 3px; left: 3px; width: 16px; height: 16px; border-radius: 50%; background: #bcbcbc; transition: transform .18s ease; }
.toggle.is-on { background: #f2f2f2; }
.toggle.is-on::after { transform: translateX(16px); background: #171717; }
.radio-group { margin-top: 11px; display: flex; gap: 18px; }
.radio-option { display: flex; align-items: center; gap: 7px; color: #c6c6c6; font-size: 12px; cursor: pointer; }
.radio-option input { accent-color: #f1f1f1; }
.setting-note { margin-top: 11px; color: #696969; font-size: 10px; line-height: 1.55; }
.edit-icon-button { width: 31px; height: 31px; border: 0; border-radius: 7px; background: transparent; color: #aaa; cursor: pointer; }
.edit-icon-button:hover { background: #242424; color: #fff; }
.ratio-intro { margin-bottom: 12px; color: #6e6e6e; font-size: 10px; line-height: 1.55; }
.ratio-list { display: grid; gap: 8px; }
.ratio-row { min-height: 52px; padding: 0 12px; display: grid; grid-template-columns: 1fr auto 32px; align-items: center; gap: 8px; border-radius: 8px; background: #0e0e0e; }
.ratio-row span { font-size: 12px; font-weight: 600; }
.ratio-row strong { font-size: 15px; font-weight: 500; }
.ratio-controls { margin-top: 10px; display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
.ratio-controls button { height: 42px; border: 1px dashed #343434; border-radius: 8px; background: transparent; color: #777; font-size: 11px; cursor: pointer; }
.ratio-controls .danger { color: #7d3f3f; border-color: #4d2525; }
.reward-list { display: grid; gap: 10px; }
.reward-record { padding: 13px; border: 1px solid #1d1d1d; border-radius: 10px; background: #141414; }
.reward-top { display: flex; align-items: center; gap: 9px; }
.reward-person { flex: 1; }
.reward-person strong { display: block; font-size: 12px; }
.reward-person span { display: block; margin-top: 3px; color: #666; font-size: 9px; }
.reward-amount { color: #35dccd; font-size: 15px; font-weight: 750; }
.reward-amount.income { color: #d2ad5c; }
.recharge-record { border-color: #332c1d; background: #16150f; }
.reward-meta { margin-top: 10px; display: flex; justify-content: space-between; gap: 10px; color: #777; font-size: 9px; }
.recharge-source-balance { margin-top: 16px; }
.recharge-source-balance span { display: block; color: #888; font-size: 10px; }
.recharge-source-balance strong { display: block; margin-top: 5px; font-size: 25px; }
.recharge-source-balance small { color: #888; font-size: 11px; font-weight: 500; }
.recharge-destination { margin-top: 16px; overflow: hidden; border: 1px solid #3c3c3c; border-radius: 12px; background: #202020; }
.recharge-destination > div { min-height: 42px; padding: 0 12px; display: flex; align-items: center; justify-content: space-between; gap: 14px; }
.recharge-destination > div + div { border-top: 1px solid #343434; }
.recharge-destination span { color: #838383; font-size: 10px; }
.recharge-destination strong { color: #d6d6d6; font-size: 11px; font-weight: 600; }
.recharge-input-row { display: grid; grid-template-columns: 1fr 72px; gap: 9px; }
.recharge-input-row button { border: 1px solid #555; border-radius: 13px; background: #202020; color: #d7d7d7; font-size: 11px; cursor: pointer; }
.recharge-confirm-note { margin-top: 10px; color: #777; font-size: 9px; line-height: 1.5; }
.sticky-save { position: sticky; bottom: 0; width: 100%; height: 46px; margin-top: 18px; border: 0; border-radius: 12px; background: #eceae5; color: #181818; font-weight: 700; cursor: pointer; }
.sticky-save:disabled { background: #262626; color: #666; cursor: not-allowed; }

.level-card { padding: 16px; border: 1px solid #333; border-radius: 16px; background: #101010; }
.level-card-grid { display: grid; grid-template-columns: .9fr 1.2fr; gap: 18px; align-items: center; }
.level-card-grid > div + div { padding-left: 18px; border-left: 1px solid #282828; }
.level-caption { color: #777; font-size: 10px; }
.level-code { display: block; margin-top: 7px; font-size: 34px; font-weight: 760; line-height: 1; }
.level-description { margin-top: 7px; color: #b8b8b8; font-size: 11px; line-height: 1.55; }
.level-allowance { margin-top: 8px; color: #8a8a8a; font-size: 10px; }
.allowance-table-wrap { padding: 16px; border: 1px solid #292929; border-radius: 12px; background: #141414; }
.allowance-intro { padding: 15px; border: 1px solid #2c2c2c; border-radius: 9px; color: #d6d6d6; font-size: 12px; line-height: 1.65; }
.allowance-table { width: 100%; margin-top: 12px; border-collapse: collapse; font-size: 10px; }
.allowance-table th,
.allowance-table td { padding: 12px 8px; border: 1px solid #2d2d2d; text-align: center; }
.allowance-table th { color: #777; font-weight: 500; }
.allowance-table td:first-child { color: #35ddcc; }

.page-heading { font-size: 21px; font-weight: 750; }
.page-subtitle { margin-top: 7px; color: #777; font-size: 11px; line-height: 1.5; }
.log-list { margin-top: 16px; display: grid; gap: 10px; }
.log-card { padding: 13px; border: 1px solid #1d1d1d; border-radius: 10px; background: #141414; }
.log-head { display: flex; align-items: center; gap: 9px; }
.log-person { min-width: 0; flex: 1; }
.log-name-row { display: flex; align-items: center; gap: 5px; font-size: 12px; }
.log-role { padding: 2px 5px; border: 1px solid #403826; border-radius: 4px; color: #b7a16c; font-size: 8px; }
.log-role.vice { border-color: #2d3c48; color: #8199ae; }
.log-uid { margin-top: 3px; color: #666; font-size: 9px; }
.log-time { color: #666; font-size: 9px; }
.log-detail { margin-top: 11px; padding-top: 10px; border-top: 1px solid #202020; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.log-action { color: #cfcfcf; font-size: 11px; }
.log-description { color: #707070; font-size: 9px; text-align: right; }

.level-settings-intro { padding: 14px; border: 1px solid #202020; border-radius: 10px; background: #151515; }
.level-settings-intro p { color: #a1a1a1; font-size: 11px; line-height: 1.6; }
.level-settings-intro p + p { margin-top: 8px; color: #6f6f6f; font-size: 10px; }
.approval-intro { margin-bottom: 12px; padding: 12px 14px; border: 1px solid #202020; border-radius: 10px; background: #151515; }
.approval-intro strong { display: block; margin-bottom: 5px; color: #d3d3d3; font-size: 12px; }
.approval-intro p { color: #7d7d7d; font-size: 10px; line-height: 1.55; }
.empty-state small { display: block; max-width: 230px; margin-top: 7px; color: #515151; font-size: 10px; line-height: 1.55; }
.member-level-list { margin-top: 12px; display: grid; gap: 10px; }
.member-level-card { padding: 13px; border: 1px solid #202020; border-radius: 10px; background: #141414; }
.member-level-head { display: flex; align-items: center; gap: 8px; }
.member-level-badge { width: 27px; height: 27px; display: grid; place-items: center; border-radius: 7px; background: #282828; color: #b4b4b4; font-size: 10px; font-weight: 750; }
.member-level-badge.l2 { background: #183448; color: #63c8ef; }
.member-level-badge.l3 { background: #3a2348; color: #d394ef; }
.member-level-badge.l4 { background: #4b3819; color: #efc55e; }
.member-level-name { flex: 1; font-size: 12px; font-weight: 650; }
.default-level { color: #777; font-size: 10px; }
.criteria-list { margin-top: 12px; display: grid; gap: 9px; }
.criteria-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.criteria-row label { color: #8d8d8d; font-size: 10px; line-height: 1.35; }
.criteria-row input { width: 80px; height: 34px; padding: 0 10px; border: 1px solid #343434; border-radius: 7px; background: #1d1d1d; color: #eee; text-align: right; outline: none; }
.criteria-row input:focus { border-color: #776338; }

@media (max-width: 420px) {
  .pc-wrap { padding: 0; }
  .phone { width: 100vw; max-width: none; height: 100dvh; box-shadow: none; }
  .project-back-link { display: none !important; }
}
