:root {
  --dcc-ink: #07111f;
  --dcc-muted: #6f7b8e;
  --dcc-line: rgba(10, 27, 48, 0.11);
  --dcc-panel: #ffffff;
  --dcc-soft: #f3f6fa;
  --dcc-navy: #08111f;
  --dcc-navy-2: #10233c;
  --dcc-mint: #54f2c1;
  --dcc-aqua: #3fd8ff;
  --dcc-violet: #7c71ff;
  --dcc-danger: #ef5d68;
  --dcc-radius-xl: 34px;
  --dcc-radius-lg: 24px;
  --dcc-radius-md: 18px;
  --dcc-shadow: 0 24px 70px rgba(5, 17, 34, 0.14);
}

html,
body {
  width: 100%;
  min-height: 100%;
  margin: 0;
  overflow-x: hidden;
  background: #070f1c;
  -webkit-text-size-adjust: 100%;
}

body.dcc-game-standalone {
  font-family: Inter, Pretendard, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--dcc-ink);
  overscroll-behavior-x: none;
  touch-action: pan-y;
}

body.dcc-game-standalone.admin-bar {
  min-height: calc(100% - 32px);
}

.dcc-game-standalone *,
.dcc-game-standalone *::before,
.dcc-game-standalone *::after {
  box-sizing: border-box;
  min-width: 0;
}

.dcc-game-standalone button,
.dcc-game-standalone input,
.dcc-game-standalone textarea,
.dcc-game-standalone select {
  font: inherit;
}

.dcc-game-standalone button,
.dcc-game-standalone a {
  -webkit-tap-highlight-color: transparent;
}

.dcc-game-standalone img,
.dcc-game-standalone svg {
  display: block;
  max-width: 100%;
}

.dcc-page-host {
  width: 100%;
  min-height: 100dvh;
  overflow-x: hidden;
}

.dcc-app-root {
  position: relative;
  width: 100%;
  max-width: 480px;
  min-height: 100dvh;
  margin: 0 auto;
  overflow-x: hidden;
  background: #f7f9fc;
  isolation: isolate;
}

.dcc-auth-root {
  color: #fff;
  background:
    radial-gradient(circle at 12% 8%, rgba(63, 216, 255, .18), transparent 26%),
    radial-gradient(circle at 88% 20%, rgba(124, 113, 255, .22), transparent 30%),
    linear-gradient(180deg, #07101d 0%, #0b1828 54%, #f7f9fc 54%, #f7f9fc 100%);
}

.dcc-auth-glow {
  position: absolute;
  z-index: -1;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  filter: blur(34px);
  opacity: .28;
  pointer-events: none;
}

.dcc-auth-glow-one { top: -100px; left: -110px; background: var(--dcc-aqua); }
.dcc-auth-glow-two { top: 140px; right: -130px; background: var(--dcc-violet); }

.dcc-auth-screen {
  min-height: 100dvh;
  padding: max(32px, env(safe-area-inset-top)) 22px max(28px, env(safe-area-inset-bottom));
}

.dcc-brand-lockup {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 10px 0 28px;
  text-align: center;
}

.dcc-brand-orbit {
  display: grid;
  place-items: center;
  width: 118px;
  height: 118px;
  margin-bottom: 22px;
  padding: 12px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 38px;
  background: linear-gradient(145deg, rgba(255,255,255,.11), rgba(255,255,255,.03));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.14), 0 22px 45px rgba(0,0,0,.28);
  transform: rotate(-5deg);
}

.dcc-brand-orbit img {
  width: 94px;
  height: 94px;
  object-fit: contain;
  transform: rotate(5deg);
}

.dcc-brand-lockup p,
.dcc-brand-lockup span,
.dcc-brand-lockup h1 { margin: 0; }
.dcc-brand-lockup p { color: var(--dcc-mint); font-size: 12px; font-weight: 800; letter-spacing: .16em; }
.dcc-brand-lockup h1 { margin-top: 10px; font-size: clamp(28px, 8vw, 38px); line-height: 1.03; letter-spacing: -.045em; }
.dcc-brand-lockup span { margin-top: 9px; color: rgba(255,255,255,.58); font-size: 12px; letter-spacing: .1em; }

.dcc-auth-card {
  position: relative;
  padding: 28px 22px 22px;
  color: var(--dcc-ink);
  border-radius: var(--dcc-radius-xl);
  background: rgba(255,255,255,.98);
  box-shadow: var(--dcc-shadow);
}

.dcc-card-heading .dcc-kicker,
.dcc-join-intro > span,
.dcc-stage-title span,
.dcc-profile-copy > span {
  color: #188e79;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .14em;
}

.dcc-card-heading h2 { margin: 8px 0 7px; font-size: 26px; letter-spacing: -.035em; }
.dcc-card-heading p { margin: 0 0 22px; color: var(--dcc-muted); font-size: 13px; line-height: 1.55; }

.dcc-form { display: grid; gap: 16px; }
.dcc-field { display: grid; gap: 8px; }
.dcc-field > span { color: #374354; font-size: 12px; font-weight: 800; }
.dcc-field > span small { margin-left: 6px; color: #8490a2; font-size: 10px; }

.dcc-input-wrap {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
  min-height: 58px;
  border: 1px solid var(--dcc-line);
  border-radius: 17px;
  background: #f5f7fb;
  transition: border-color .18s ease, box-shadow .18s ease, background .18s ease;
}

.dcc-input-wrap:focus-within {
  border-color: rgba(22, 151, 127, .55);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(84, 242, 193, .13);
}

.dcc-input-wrap > i {
  display: grid;
  place-items: center;
  width: 44px;
  color: #2b7a6c;
  font-size: 10px;
  font-style: normal;
  font-weight: 900;
  letter-spacing: -.04em;
}

.dcc-input-wrap input,
.dcc-input-wrap select,
.dcc-input-wrap textarea {
  width: 100%;
  min-height: 56px;
  margin: 0;
  padding: 0 15px;
  color: var(--dcc-ink);
  border: 0;
  outline: 0;
  background: transparent;
  font-size: 15px;
}

.dcc-input-wrap input::placeholder { color: #a1a9b6; }

.dcc-password-toggle {
  flex: 0 0 auto;
  height: 36px;
  margin-right: 8px;
  padding: 0 10px;
  color: #617084;
  border: 0;
  border-radius: 12px;
  background: #e8edf4;
  font-size: 11px;
  font-weight: 800;
  cursor: pointer;
}

.dcc-primary-button {
  width: 100%;
  min-height: 60px;
  margin-top: 4px;
  color: #061713;
  border: 0;
  border-radius: 19px;
  background: linear-gradient(135deg, var(--dcc-mint), #a5ffdd);
  box-shadow: 0 15px 30px rgba(53, 220, 171, .25);
  font-size: 15px;
  font-weight: 900;
  cursor: pointer;
}

.dcc-primary-button:disabled { opacity: .68; cursor: wait; }

.dcc-auth-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 20px;
  color: #7a8596;
  font-size: 12px;
}
.dcc-auth-links a,
.dcc-text-link { color: #087f69; font-weight: 900; text-decoration: none; }
.dcc-auth-footnote { margin: 20px 0 0; color: rgba(255,255,255,.54); font-size: 11px; line-height: 1.55; text-align: center; }
.dcc-auth-footnote strong { color: #fff; }

.dcc-notice {
  margin: 0 0 16px;
  padding: 13px 14px;
  border-radius: 15px;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.5;
}
.dcc-notice-error { color: #8e2430; background: #fff0f2; border: 1px solid #ffd6db; }
.dcc-notice-success { color: #08664f; background: #e8fff7; border: 1px solid #c4f7e7; }

.dcc-join-root { background: #f5f7fb; }
.dcc-join-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: 42px 1fr 42px;
  align-items: center;
  min-height: 72px;
  padding: max(10px, env(safe-area-inset-top)) 18px 10px;
  border-bottom: 1px solid rgba(8, 17, 31, .07);
  background: rgba(245,247,251,.88);
  backdrop-filter: blur(18px);
}
.dcc-join-header > div { display: flex; flex-direction: column; align-items: center; }
.dcc-join-header span { color: #728096; font-size: 9px; font-weight: 900; letter-spacing: .15em; }
.dcc-join-header strong { margin-top: 3px; font-size: 16px; }
.dcc-join-header > em { display: grid; place-items: center; width: 34px; height: 34px; color: #087f69; border-radius: 12px; background: #ddfff3; font-size: 11px; font-style: normal; font-weight: 900; }

.dcc-icon-button {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  padding: 0;
  color: var(--dcc-ink);
  border: 1px solid var(--dcc-line);
  border-radius: 14px;
  background: #fff;
  text-decoration: none;
  font-size: 19px;
  font-weight: 800;
}

.dcc-join-content { padding: 26px 18px 44px; }
.dcc-join-intro { padding: 5px 4px 25px; }
.dcc-join-intro h1 { max-width: 360px; margin: 9px 0 10px; font-size: clamp(28px, 8vw, 38px); line-height: 1.08; letter-spacing: -.05em; }
.dcc-join-intro p { margin: 0; color: var(--dcc-muted); font-size: 13px; line-height: 1.62; }
.dcc-join-form { gap: 18px; }

.dcc-form-section,
.dcc-terms-card,
.dcc-empty-card {
  padding: 21px 17px;
  border: 1px solid rgba(8,17,31,.06);
  border-radius: var(--dcc-radius-lg);
  background: #fff;
  box-shadow: 0 12px 38px rgba(11, 25, 42, .05);
}
.dcc-form-section { display: grid; gap: 15px; }
.dcc-section-heading { display: flex; align-items: center; gap: 12px; margin-bottom: 2px; }
.dcc-section-heading > b { display: grid; place-items: center; width: 38px; height: 38px; color: #05745f; border-radius: 14px; background: #e2fff5; font-size: 11px; }
.dcc-section-heading > div { display: flex; flex-direction: column; gap: 3px; }
.dcc-section-heading strong { font-size: 15px; }
.dcc-section-heading span { color: #8a95a5; font-size: 11px; }
.dcc-field-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 11px; }

.dcc-avatar-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 10px; }
.dcc-avatar-option { position: relative; display: flex; flex-direction: column; align-items: center; padding: 10px 7px 9px; border: 1px solid var(--dcc-line); border-radius: 18px; background: #f7f9fc; cursor: pointer; }
.dcc-avatar-option input { position: absolute; opacity: 0; pointer-events: none; }
.dcc-avatar-image { display: grid; place-items: center; width: 68px; height: 68px; padding: 6px; border-radius: 22px; background: #e9eef5; overflow: hidden; }
.dcc-avatar-image img { width: 100%; height: 100%; object-fit: contain; }
.dcc-avatar-option strong { max-width: 100%; margin-top: 8px; font-size: 11px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dcc-avatar-option em { margin-top: 3px; color: #8a95a5; font-size: 9px; font-style: normal; font-weight: 800; }
.dcc-avatar-option input:checked + .dcc-avatar-image { box-shadow: 0 0 0 3px rgba(26,167,134,.32); background: #ddfff4; }
.dcc-avatar-option:has(input:checked) { border-color: #1aa786; background: #edfff9; box-shadow: 0 0 0 3px rgba(84,242,193,.18); }
.dcc-avatar-option:has(input:checked)::after { content: "✓"; position: absolute; top: 7px; right: 7px; display: grid; place-items: center; width: 20px; height: 20px; color: #fff; border-radius: 8px; background: #169477; font-size: 11px; font-weight: 900; }

.dcc-terms-card label { display: flex; align-items: flex-start; gap: 10px; color: #465366; font-size: 12px; line-height: 1.55; }
.dcc-terms-card input { flex: 0 0 auto; width: 18px; height: 18px; margin-top: 1px; accent-color: #158c73; }
.dcc-join-submit { margin-top: 0; }
.dcc-text-link { display: block; padding: 7px 0 0; text-align: center; font-size: 13px; }

.dcc-home-root { padding-bottom: 102px; background: #f4f7fb; }
.dcc-home-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  padding: max(12px, env(safe-area-inset-top)) 18px 12px;
  border-bottom: 1px solid rgba(8,17,31,.06);
  background: rgba(244,247,251,.9);
  backdrop-filter: blur(18px);
}
.dcc-mini-brand { display: flex; align-items: center; gap: 10px; }
.dcc-mini-brand > span { display: grid; place-items: center; width: 40px; height: 40px; color: #071b15; border-radius: 15px; background: var(--dcc-mint); font-weight: 1000; }
.dcc-mini-brand > div { display: flex; flex-direction: column; gap: 2px; }
.dcc-mini-brand b { max-width: 255px; font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dcc-mini-brand em { color: #7f8b9c; font-size: 8px; font-style: normal; font-weight: 900; letter-spacing: .13em; }
.dcc-home-header form { margin: 0; }
.dcc-logout-button { cursor: pointer; }

.dcc-home-content { padding: 15px 18px 34px; }
.dcc-profile-hero {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 104px;
  min-height: 225px;
  padding: 25px 22px;
  color: #fff;
  border-radius: 32px;
  background:
    radial-gradient(circle at 84% 20%, rgba(84,242,193,.25), transparent 28%),
    linear-gradient(145deg, #07111f, #142b45 68%, #16384a);
  box-shadow: 0 24px 55px rgba(4,17,31,.18);
  overflow: hidden;
}
.dcc-profile-hero::before { content: ""; position: absolute; width: 190px; height: 190px; right: -90px; bottom: -100px; border: 1px solid rgba(255,255,255,.12); border-radius: 50%; box-shadow: 0 0 0 28px rgba(255,255,255,.025), 0 0 0 58px rgba(255,255,255,.018); }
.dcc-profile-copy { position: relative; z-index: 2; padding-top: 7px; }
.dcc-profile-copy h1 { margin: 10px 0 7px; font-size: 30px; letter-spacing: -.045em; }
.dcc-profile-copy p { margin: 0; color: rgba(255,255,255,.62); font-size: 12px; }
.dcc-profile-avatar { position: relative; z-index: 2; align-self: center; display: grid; place-items: center; width: 104px; height: 104px; padding: 8px; border: 1px solid rgba(255,255,255,.15); border-radius: 34px; background: rgba(255,255,255,.08); transform: rotate(4deg); }
.dcc-profile-avatar img { width: 90px; height: 90px; object-fit: contain; transform: rotate(-4deg); }
.dcc-profile-code { position: absolute; z-index: 2; left: 22px; right: 22px; bottom: 18px; display: flex; align-items: center; justify-content: space-between; padding-top: 14px; border-top: 1px solid rgba(255,255,255,.1); }
.dcc-profile-code span { color: rgba(255,255,255,.48); font-size: 9px; font-weight: 900; letter-spacing: .14em; }
.dcc-profile-code strong { color: var(--dcc-mint); font-size: 13px; letter-spacing: .05em; }

.dcc-balance-panel {
  position: relative;
  margin-top: 14px;
  padding: 22px;
  border: 1px solid rgba(8,17,31,.06);
  border-radius: 28px;
  background: #fff;
  box-shadow: 0 16px 40px rgba(11,25,42,.06);
}
.dcc-balance-main { display: grid; grid-template-columns: 1fr auto; align-items: end; column-gap: 8px; }
.dcc-balance-main > span { grid-column: 1 / -1; margin-bottom: 8px; color: #7f8a9a; font-size: 9px; font-weight: 900; letter-spacing: .13em; }
.dcc-balance-main strong { font-size: clamp(34px, 11vw, 48px); line-height: 1; letter-spacing: -.055em; overflow-wrap: anywhere; }
.dcc-balance-main em { padding-bottom: 5px; color: #11836c; font-size: 14px; font-style: normal; font-weight: 1000; }
.dcc-balance-meta { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 18px; padding-top: 14px; border-top: 1px solid #edf0f4; }
.dcc-balance-meta span { display: flex; align-items: center; gap: 6px; color: #7f8a9a; font-size: 10px; font-weight: 800; }
.dcc-balance-meta span i { width: 7px; height: 7px; border-radius: 50%; background: #f0b34c; box-shadow: 0 0 0 4px #fff5dc; }
.dcc-balance-meta b { max-width: 58%; color: #5d6878; font-size: 10px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.dcc-stage-section,
.dcc-quick-section { margin-top: 26px; }
.dcc-stage-title { display: flex; align-items: end; justify-content: space-between; margin: 0 3px 13px; }
.dcc-stage-title h2 { margin: 4px 0 0; font-size: 21px; letter-spacing: -.035em; }
.dcc-stage-title > em { color: #9da6b3; font-size: 12px; font-style: normal; font-weight: 900; }
.dcc-stage-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.dcc-stage-grid article { display: flex; min-height: 110px; flex-direction: column; padding: 17px; border: 1px solid rgba(8,17,31,.06); border-radius: 22px; background: #fff; }
.dcc-stage-grid article b { color: #a0a8b4; font-size: 10px; }
.dcc-stage-grid article strong { margin-top: auto; font-size: 15px; }
.dcc-stage-grid article span { margin-top: 4px; color: #8993a2; font-size: 10px; }
.dcc-stage-grid article.is-active { color: #071b15; border-color: transparent; background: linear-gradient(145deg, var(--dcc-mint), #b6ffe4); }
.dcc-stage-grid article.is-active b,
.dcc-stage-grid article.is-active span { color: rgba(7,27,21,.58); }

.dcc-quick-list { display: grid; gap: 10px; }
.dcc-quick-list button { display: grid; grid-template-columns: 46px 1fr auto; align-items: center; gap: 12px; width: 100%; min-height: 76px; padding: 12px 15px; text-align: left; border: 1px solid rgba(8,17,31,.06); border-radius: 22px; background: #fff; opacity: 1; }
.dcc-quick-list button > i { display: grid; place-items: center; width: 46px; height: 46px; color: #08765f; border-radius: 16px; background: #e2fff5; font-style: normal; font-weight: 1000; }
.dcc-quick-list button > span { display: flex; flex-direction: column; gap: 4px; }
.dcc-quick-list button strong { font-size: 14px; }
.dcc-quick-list button em { color: #8a94a3; font-size: 10px; font-style: normal; }
.dcc-quick-list button > b { color: #98a1ae; font-size: 9px; }

.dcc-bottom-nav {
  position: fixed;
  z-index: 50;
  left: 50%;
  bottom: 0;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  width: min(100%, 480px);
  min-height: 78px;
  padding: 9px 10px max(9px, env(safe-area-inset-bottom));
  border-top: 1px solid rgba(8,17,31,.07);
  background: rgba(255,255,255,.94);
  backdrop-filter: blur(18px);
  transform: translateX(-50%);
}
.dcc-bottom-nav a,
.dcc-bottom-nav > span { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px; color: #9aa3af; text-decoration: none; }
.dcc-bottom-nav i { font-size: 18px; font-style: normal; }
.dcc-bottom-nav span span,
.dcc-bottom-nav a span { font-size: 8px; font-weight: 900; letter-spacing: .08em; }
.dcc-bottom-nav .is-current { color: #0b7b65; }
.dcc-bottom-nav .dcc-nav-core { align-self: start; margin-top: -28px; }
.dcc-bottom-nav .dcc-nav-core i { display: grid; place-items: center; width: 54px; height: 54px; color: #071b15; border: 6px solid #f4f7fb; border-radius: 20px; background: var(--dcc-mint); box-shadow: 0 12px 24px rgba(35,190,143,.25); font-size: 20px; font-weight: 1000; }
.dcc-bottom-nav .dcc-nav-core span { color: #0b7b65; }

@media (max-width: 380px) {
  .dcc-auth-screen { padding-left: 16px; padding-right: 16px; }
  .dcc-auth-card { padding-left: 17px; padding-right: 17px; }
  .dcc-join-content,
  .dcc-home-content { padding-left: 14px; padding-right: 14px; }
  .dcc-field-grid { grid-template-columns: 1fr; }
  .dcc-avatar-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .dcc-profile-hero { grid-template-columns: 1fr 88px; padding-left: 18px; padding-right: 18px; }
  .dcc-profile-avatar { width: 88px; height: 88px; }
  .dcc-profile-avatar img { width: 76px; height: 76px; }
  .dcc-profile-code { left: 18px; right: 18px; }
}

@media (min-width: 481px) {
  .dcc-app-root { box-shadow: 0 0 0 1px rgba(255,255,255,.04), 0 40px 110px rgba(0,0,0,.32); }
}

@media (max-width: 782px) {
  body.dcc-game-standalone.admin-bar { padding-top: 46px; }
}

/* v0.2.0 · Join validation and center selection */
.dcc-id-check-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 92px;
  gap: 9px;
  width: 100%;
}

.dcc-id-check-button {
  min-height: 58px;
  padding: 0 12px;
  color: #0a735f;
  border: 1px solid rgba(10, 115, 95, .18);
  border-radius: 17px;
  background: #e2fff5;
  font-size: 12px;
  font-weight: 900;
  white-space: nowrap;
  cursor: pointer;
}

.dcc-id-check-button:disabled {
  opacity: .62;
  cursor: wait;
}

.dcc-field-status,
.dcc-field-help {
  display: block;
  color: #8a95a5;
  font-size: 10px;
  font-weight: 700;
  line-height: 1.45;
}

.dcc-field-status.is-success { color: #08745d; }
.dcc-field-status.is-error { color: #b33a46; }
.dcc-field-status.is-loading { color: #6d68b8; }

.dcc-select-wrap select {
  padding-right: 42px;
  appearance: none;
  -webkit-appearance: none;
  background-image:
    linear-gradient(45deg, transparent 50%, #6b7789 50%),
    linear-gradient(135deg, #6b7789 50%, transparent 50%);
  background-position:
    calc(100% - 20px) 25px,
    calc(100% - 14px) 25px;
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
}

.dcc-select-wrap select:disabled {
  color: #9ba4b1;
  cursor: not-allowed;
}

@media (max-width: 340px) {
  .dcc-id-check-row { grid-template-columns: minmax(0, 1fr) 82px; }
  .dcc-id-check-button { padding: 0 8px; font-size: 11px; }
}

/* v0.4.0 · Referral link and ledger-based NFT / group status */
.dcc-referral-card {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr) 64px;
  align-items: center;
  gap: 12px;
  margin-top: 14px;
  padding: 15px;
  border: 1px solid rgba(8,17,31,.06);
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 14px 34px rgba(11,25,42,.05);
}
.dcc-referral-icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  color: #08745f;
  border-radius: 16px;
  background: #e5fff6;
  font-size: 20px;
  font-weight: 1000;
}
.dcc-referral-copy { min-width: 0; }
.dcc-referral-copy strong { display: block; font-size: 14px; letter-spacing: -.02em; }
.dcc-referral-copy span { display: block; margin-top: 4px; color: #7e8999; font-size: 10px; line-height: 1.45; }
.dcc-copy-referral {
  display: flex;
  min-height: 54px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  padding: 6px;
  color: #fff;
  border: 0;
  border-radius: 17px;
  background: #0a7c66;
  font-size: 10px;
  font-weight: 900;
  cursor: pointer;
}
.dcc-copy-referral i { font-size: 16px; font-style: normal; }
.dcc-copy-referral:disabled { opacity: .78; cursor: wait; }
.dcc-copy-referral.is-copied { background: #132b43; }
.dcc-copy-referral.is-error { background: #9d3440; }

.dcc-ledger-section { margin-top: 26px; }
.dcc-ledger-panel {
  padding: 18px;
  color: #fff;
  border-radius: 28px;
  background:
    radial-gradient(circle at 88% 5%, rgba(84,242,193,.2), transparent 24%),
    linear-gradient(145deg, #0b6eaa, #0d88c9 62%, #166fa9);
  box-shadow: 0 18px 42px rgba(9,105,163,.2);
}
.dcc-volume-heading {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 0 10px;
  border-radius: 999px;
  font-size: 9px;
  font-weight: 1000;
  letter-spacing: .04em;
}
.dcc-volume-heading.is-personal { background: #55aa3c; }
.dcc-volume-heading.is-group { background: #7454bc; }
.dcc-ledger-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  min-height: 67px;
  padding: 11px 2px;
}
.dcc-ledger-row > span { min-width: 0; }
.dcc-ledger-row strong { display: block; font-size: 13px; font-weight: 800; }
.dcc-ledger-row small { display: block; margin-top: 4px; color: rgba(255,255,255,.67); font-size: 9px; line-height: 1.4; }
.dcc-ledger-row > b { max-width: 175px; text-align: right; font-size: 15px; line-height: 1.3; overflow-wrap: anywhere; }
.dcc-ledger-divider { height: 1px; margin: 7px 0 16px; background: rgba(255,255,255,.15); }

@media (max-width: 360px) {
  .dcc-referral-card { grid-template-columns: 42px minmax(0, 1fr) 58px; gap: 9px; padding: 13px; }
  .dcc-referral-icon { width: 42px; height: 42px; }
  .dcc-copy-referral { min-height: 50px; }
  .dcc-ledger-row > b { max-width: 130px; font-size: 13px; }
}


/* v0.5.0 · Admin-managed home icon menu, banners, and bottom navigation */
.dcc-home-banner {
  width: 100%;
  aspect-ratio: 267 / 86;
  margin-top: 14px;
  border: 1px solid rgba(8,17,31,.06);
  border-radius: 22px;
  background: #e9eef5;
  box-shadow: 0 12px 30px rgba(11,25,42,.05);
  overflow: hidden;
}
.dcc-home-banner a,
.dcc-home-banner > img {
  display: block;
  width: 100%;
  height: 100%;
}
.dcc-home-banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.dcc-home-menu-panel {
  margin-top: 14px;
  padding: 18px 12px 15px;
  border: 1px solid rgba(8,17,31,.06);
  border-radius: 28px;
  background: #fff;
  box-shadow: 0 14px 34px rgba(11,25,42,.05);
}
.dcc-home-menu-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px 6px;
}
.dcc-home-menu-item {
  display: flex;
  min-width: 0;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: #182336;
  text-align: center;
  text-decoration: none;
}
.dcc-home-menu-icon {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  padding: 7px;
  border: 1px solid rgba(8,17,31,.06);
  border-radius: 20px;
  background: #f1f5fb;
  box-shadow: 0 8px 20px rgba(11,25,42,.06);
  overflow: hidden;
  font-style: normal;
}
.dcc-home-menu-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.dcc-home-menu-icon b {
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  color: #08745f;
  border-radius: 14px;
  background: #dcfff3;
  font-size: 17px;
  font-weight: 1000;
}
.dcc-home-menu-item > strong {
  display: block;
  width: 100%;
  min-height: 28px;
  font-size: 10px;
  font-weight: 900;
  line-height: 1.35;
  overflow-wrap: anywhere;
}
.dcc-home-menu-item[href]:active .dcc-home-menu-icon {
  transform: scale(.96);
}

.dcc-bottom-nav {
  grid-template-columns: repeat(auto-fit, minmax(0, 1fr));
}
.dcc-bottom-nav a,
.dcc-bottom-nav > span {
  min-width: 0;
}
.dcc-bottom-nav i {
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  overflow: hidden;
}
.dcc-bottom-nav i img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.dcc-bottom-nav i b {
  color: currentColor;
  font-size: 14px;
  font-weight: 1000;
}
.dcc-bottom-nav .dcc-nav-core i {
  padding: 8px;
}
.dcc-bottom-nav .dcc-nav-core i img {
  width: 100%;
  height: 100%;
}
.dcc-bottom-nav .dcc-nav-core i b {
  color: #071b15;
  font-size: 20px;
}

@media (max-width: 350px) {
  .dcc-home-menu-panel { padding-left: 8px; padding-right: 8px; }
  .dcc-home-menu-grid { gap: 14px 3px; }
  .dcc-home-menu-icon { width: 48px; height: 48px; border-radius: 17px; }
  .dcc-home-menu-item > strong { font-size: 9px; }
}
