:root {
  --wallet-blue: #339cff;
  --wallet-blue-deep: #147fd0;
  --wallet-blue-pale: #eef8ff;
  --wallet-green: #12aa75;
  --wallet-ink: #182536;
  --wallet-muted: #778496;
  --wallet-line: #e4ebf2;
}

.mogoo-wallet-page {
  min-height: 78vh;
  padding: 28px 0 110px;
  background: #f6f9fc;
}

.mogoo-wallet-shell {
  width: min(860px, calc(100% - 32px));
  margin: 0 auto;
}

.wallet-loading,
.wallet-error {
  display: flex;
  min-height: 220px;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 24px;
  border: 1px solid var(--wallet-line);
  border-radius: 22px;
  background: #fff;
  color: var(--wallet-muted);
  text-align: left;
}

.wallet-loading i {
  width: 34px;
  height: 34px;
  border: 3px solid #dceeff;
  border-top-color: var(--wallet-blue);
  border-radius: 50%;
  animation: wallet-spin .8s linear infinite;
}

.wallet-loading b,
.wallet-loading span {
  display: block;
}

.wallet-loading b {
  color: var(--wallet-ink);
  font-size: 15px;
}

.wallet-loading span {
  margin-top: 4px;
  font-size: 12px;
}

.wallet-error {
  flex-direction: column;
  text-align: center;
}

.wallet-error > i {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border-radius: 50%;
  background: #fff0f1;
  color: #d4525f;
  font-style: normal;
  font-weight: 900;
}

.wallet-error b {
  color: var(--wallet-ink);
  font-size: 16px;
}

.wallet-error p {
  margin: -5px 0 0;
  font-size: 12px;
}

.wallet-error button {
  min-height: 40px;
  padding: 0 18px;
  border-radius: 11px;
  background: var(--wallet-blue);
  color: #fff;
  font-size: 13px;
  font-weight: 850;
}

.wallet-profile {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
  padding: 18px;
  border: 1px solid var(--wallet-line);
  border-radius: 20px;
  background: #fff;
}

.wallet-avatar {
  position: relative;
  display: grid;
  width: 64px;
  height: 64px;
  padding: 0;
  place-items: center;
  overflow: visible;
  border: 0;
  border-radius: 18px;
  background: linear-gradient(145deg, #74c3ff, var(--wallet-blue));
  color: #fff;
  font-size: 24px;
  font-weight: 900;
  box-shadow: none;
}

.wallet-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: inherit;
}

.wallet-avatar > i {
  position: absolute;
  right: -4px;
  bottom: -4px;
  display: grid;
  width: 22px;
  height: 22px;
  place-items: center;
  border: 2px solid #fff;
  border-radius: 50%;
  background: var(--wallet-blue-deep);
  color: #fff;
  font-size: 13px;
  font-style: normal;
}

.wallet-profile > div > span {
  color: var(--wallet-blue-deep);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .12em;
}

.wallet-profile h1 {
  margin: 3px 0;
  color: var(--wallet-ink);
  font-size: 21px;
  line-height: 1.25;
}

.wallet-profile p {
  margin: 0;
  overflow: hidden;
  color: var(--wallet-muted);
  font-size: 12px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.wallet-profile > a {
  padding: 9px 12px;
  border: 1px solid #b8dcfa;
  border-radius: 10px;
  color: var(--wallet-blue-deep);
  font-size: 12px;
  font-weight: 800;
  white-space: nowrap;
}

.wallet-profile-prompts {
  margin: 0 0 16px;
  padding: 18px;
  border: 1px solid #d7e9f8;
  border-radius: 20px;
  background:
    radial-gradient(circle at 100% 0, rgba(51, 156, 255, .1), transparent 38%),
    #fff;
}

.wallet-profile-prompts > header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 13px;
}

.wallet-profile-prompts > header span {
  display: block;
  margin-bottom: 3px;
  color: var(--wallet-blue-deep);
  font-size: 9px;
  font-weight: 900;
  letter-spacing: .13em;
}

.wallet-profile-prompts > header h2 {
  margin: 0;
  color: var(--wallet-ink);
  font-size: 17px;
  letter-spacing: -.03em;
}

.wallet-profile-prompts > header em {
  padding: 5px 8px;
  border-radius: 999px;
  background: #eef7ff;
  color: var(--wallet-blue-deep);
  font-size: 10px;
  font-style: normal;
  font-weight: 800;
  white-space: nowrap;
}

.wallet-profile-prompt-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px;
}

.wallet-profile-prompt {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) 28px;
  align-items: center;
  gap: 11px;
  min-width: 0;
  min-height: 74px;
  padding: 11px 10px 11px 12px;
  border: 1px solid #e2eaf1;
  border-radius: 16px;
  background: rgba(248, 251, 254, .92);
  transition:
    opacity .2s ease,
    transform .2s ease;
}

.wallet-profile-prompt.is-dismissing {
  opacity: 0;
  transform: scale(.97);
}

.wallet-profile-prompt-icon {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 13px;
}

.wallet-profile-prompt-icon.is-photo {
  background: #eef5ff;
  color: #2f8ee8;
}

.wallet-profile-prompt-icon.is-identity {
  background: #eaf8f3;
  color: #18a878;
}

.wallet-profile-prompt-icon svg {
  width: 22px;
  height: 22px;
  overflow: visible;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.9;
}

.wallet-profile-prompt > a {
  min-width: 0;
  color: inherit;
}

.wallet-profile-prompt > a b,
.wallet-profile-prompt > a small {
  display: block;
}

.wallet-profile-prompt > a b {
  color: var(--wallet-ink);
  font-size: 13px;
  line-height: 1.35;
}

.wallet-profile-prompt > a small {
  margin-top: 4px;
  color: var(--wallet-muted);
  font-size: 10px;
  font-weight: 600;
  line-height: 1.45;
}

.wallet-profile-prompt > button,
.wallet-profile-prompt > button:hover,
.wallet-profile-prompt > button:focus,
.wallet-profile-prompt > button:active {
  display: grid;
  width: 28px;
  height: 28px;
  padding: 0;
  place-items: center;
  border: 0;
  border-radius: 50%;
  outline: 0;
  background: transparent;
  box-shadow: none;
  color: #9aa6b3;
  font-size: 19px;
  font-weight: 400;
  line-height: 1;
  transform: none;
}

.wallet-profile-prompt > button:disabled {
  opacity: .45;
}

.wallet-balance {
  padding: 24px;
  overflow: hidden;
  border: 1px solid #cde8ff;
  border-radius: 22px;
  background:
    radial-gradient(circle at 95% 0, rgba(51, 156, 255, .16), transparent 38%),
    linear-gradient(145deg, #ffffff, #f2f9ff);
  box-shadow: 0 12px 34px rgba(35, 111, 178, .08);
}

.wallet-section + .wallet-balance {
  margin-top: 14px;
}

.wallet-referral-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, .9fr);
  gap: 18px 24px;
  margin-top: 14px;
  padding: 20px 22px;
  border: 1px solid #cde8ff;
  border-radius: 20px;
  background:
    radial-gradient(circle at 100% 0, rgba(51, 156, 255, .12), transparent 42%),
    #fff;
}

.wallet-referral-copy > span {
  color: var(--wallet-blue-deep);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .14em;
}

.wallet-referral-copy h2 {
  margin: 5px 0 4px;
  color: var(--wallet-ink);
  font-size: 18px;
  line-height: 1.3;
}

.wallet-referral-copy p {
  margin: 0;
  color: var(--wallet-muted);
  font-size: 11px;
  font-weight: 650;
  line-height: 1.55;
}

.wallet-referral-link {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-self: center;
  gap: 8px;
}

.wallet-referral-link input {
  min-width: 0;
  height: 44px;
  padding: 0 12px;
  border: 1px solid var(--wallet-line);
  border-radius: 11px;
  outline: 0;
  background: #f7fafc;
  color: #536275;
  font-size: 11px;
}

.wallet-referral-link input:focus {
  border-color: #a9d8fa;
}

.wallet-referral-link button,
.wallet-referral-link button:hover,
.wallet-referral-link button:focus,
.wallet-referral-link button:active {
  min-width: 88px;
  height: 44px;
  padding: 0 14px;
  border: 0;
  border-radius: 11px;
  outline: 0;
  background: var(--wallet-blue);
  box-shadow: none;
  color: #fff;
  font-size: 12px;
  font-weight: 850;
  transform: none;
}

.wallet-referral-card > small {
  grid-column: 1 / -1;
  margin-top: -10px;
  color: #8491a1;
  font-size: 10px;
}

.wallet-referral-result:empty {
  display: none;
}

.wallet-balance > header,
.wallet-section > header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.wallet-balance > header span {
  color: var(--wallet-blue-deep);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .14em;
}

.wallet-balance h2,
.wallet-section h2,
.wallet-menu-groups h2 {
  margin: 4px 0 0;
  color: var(--wallet-ink);
  font-size: 18px;
  line-height: 1.35;
}

.wallet-balance > header > small {
  color: #8190a2;
  font-size: 10px;
}

.wallet-primary-number {
  margin: 28px 0 22px;
}

.wallet-primary-number > span,
.wallet-primary-number > strong,
.wallet-primary-number > em {
  display: block;
}

.wallet-primary-number > span {
  color: var(--wallet-muted);
  font-size: 12px;
  font-weight: 750;
}

.wallet-primary-number > strong {
  margin-top: 4px;
  color: var(--wallet-ink);
  font-size: clamp(30px, 5vw, 42px);
  line-height: 1.15;
  letter-spacing: -.045em;
}

.wallet-primary-number > em {
  margin-top: 7px;
  color: var(--wallet-green);
  font-size: 13px;
  font-style: normal;
  font-weight: 850;
}

.wallet-metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}

.wallet-metrics article {
  position: relative;
  padding: 14px;
  border: 1px solid rgba(208, 226, 242, .8);
  border-radius: 14px;
  background: rgba(255, 255, 255, .78);
}

.wallet-metrics span,
.wallet-metrics b {
  display: block;
}

.wallet-metrics span {
  color: var(--wallet-muted);
  font-size: 11px;
}

.wallet-metrics b {
  margin-top: 5px;
  color: var(--wallet-blue-deep);
  font-size: 17px;
}

.wallet-metrics article:first-child b {
  color: var(--wallet-green);
}

.wallet-metric-label {
  display: flex !important;
  align-items: center;
  gap: 4px;
  white-space: nowrap;
}

.wallet-metric-info {
  display: inline-grid !important;
  width: 14px !important;
  min-width: 14px !important;
  max-width: 14px !important;
  height: 14px !important;
  min-height: 14px !important;
  max-height: 14px !important;
  flex: 0 0 14px;
  place-items: center;
  box-sizing: border-box;
  padding: 0 !important;
  border: 1px solid #aebbc8;
  border-radius: 50% !important;
  background: #fff;
  box-shadow: none !important;
  color: #77899a;
  font-family: Arial, sans-serif;
  font-size: 9px;
  font-weight: 700;
  line-height: 12px;
  transform: none !important;
  appearance: none;
  -webkit-tap-highlight-color: transparent;
}

.wallet-metric-info:hover,
.wallet-metric-info:active {
  border-color: var(--wallet-blue);
  background: #fff;
  box-shadow: none !important;
  color: var(--wallet-blue-deep);
  transform: none !important;
}

.wallet-metric-info:focus {
  border-color: #aebbc8;
  background: #fff;
  box-shadow: none !important;
  color: #77899a;
  transform: none !important;
}

.wallet-metric-info:focus-visible {
  outline: 2px solid rgba(119, 137, 154, .24);
  outline-offset: 2px;
}

.wallet-metric-popover {
  position: absolute;
  z-index: 20;
  top: calc(100% + 9px);
  left: 50%;
  width: min(242px, calc(100vw - 40px));
  padding: 13px 14px;
  border: 1px solid #d9e6f1;
  border-radius: 13px;
  background: #fff;
  box-shadow: 0 10px 28px rgba(35, 68, 97, .14);
  color: #536779;
  font-size: 11.5px;
  font-weight: 550;
  line-height: 1.55;
  text-align: left;
  transform: translateX(-50%);
}

.wallet-metric-popover[hidden] {
  display: none;
}

.wallet-metric-popover::before {
  position: absolute;
  top: -6px;
  left: 50%;
  width: 10px;
  height: 10px;
  border-top: 1px solid #d9e6f1;
  border-left: 1px solid #d9e6f1;
  background: #fff;
  content: "";
  transform: translateX(-50%) rotate(45deg);
}

.wallet-metric-popover p,
.wallet-metric-popover span,
.wallet-metric-popover strong {
  display: block;
  margin: 0;
  color: inherit;
  font-size: inherit;
}

.wallet-metric-popover p + span,
.wallet-metric-popover p + strong {
  margin-top: 7px;
}

.wallet-metric-popover strong {
  color: var(--wallet-blue-deep);
  font-weight: 850;
}

.wallet-metric-popover-right {
  right: 0;
  left: auto;
  transform: none;
}

.wallet-metric-popover-right::before {
  right: 22px;
  left: auto;
  transform: rotate(45deg);
}

.wallet-section {
  margin-top: 16px;
  padding: 20px;
  border: 1px solid var(--wallet-line);
  border-radius: 20px;
  background: #fff;
}

.wallet-section > header {
  align-items: center;
  margin-bottom: 13px;
}

.wallet-section > header h2,
.wallet-menu-groups h2 {
  margin: 0;
  font-size: 15px;
}

.wallet-section > header a,
.wallet-section > header span {
  color: var(--wallet-blue-deep);
  font-size: 11px;
  font-weight: 800;
}

.wallet-subscription-row {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) auto 12px;
  align-items: center;
  gap: 11px;
  min-height: 70px;
  color: inherit;
}

.wallet-subscription-row + .wallet-subscription-row {
  border-top: 1px solid #edf1f5;
}

.wallet-subscription-row > img {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  object-fit: contain;
}

.wallet-subscription-row span b,
.wallet-subscription-row span small,
.wallet-subscription-row > div strong,
.wallet-subscription-row > div em {
  display: block;
}

.wallet-subscription-row span b {
  color: var(--wallet-ink);
  font-size: 14px;
}

.wallet-subscription-row span small,
.wallet-subscription-row > div em {
  margin-top: 3px;
  color: var(--wallet-muted);
  font-size: 10px;
}

.wallet-subscription-row > div {
  text-align: right;
}

.wallet-subscription-row > div strong {
  color: var(--wallet-blue-deep);
  font-size: 15px;
  white-space: nowrap;
}

.wallet-subscription-row > div strong small {
  display: inline;
  font-size: 9px;
}

.wallet-subscription-row > i,
.wallet-task > em {
  color: #aab5c1;
  font-size: 18px;
  font-style: normal;
}

.wallet-task,
.wallet-all-clear {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr) 12px;
  align-items: center;
  gap: 10px;
  min-height: 62px;
  color: inherit;
}

.wallet-task + .wallet-task {
  border-top: 1px solid #edf1f5;
}

.wallet-task > i,
.wallet-all-clear > i {
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  border-radius: 10px;
  background: #edf7ff;
  color: var(--wallet-blue-deep);
  font-size: 13px;
  font-style: normal;
  font-weight: 900;
}

.wallet-task.task-protection > i {
  background: #fff1f1;
  color: #d64b59;
}

.wallet-task span b,
.wallet-task span small,
.wallet-all-clear span b,
.wallet-all-clear span small {
  display: block;
}

.wallet-task span b,
.wallet-all-clear span b {
  color: var(--wallet-ink);
  font-size: 13px;
}

.wallet-task span small,
.wallet-all-clear span small {
  margin-top: 3px;
  overflow: hidden;
  color: var(--wallet-muted);
  font-size: 10px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.wallet-all-clear {
  grid-template-columns: 34px minmax(0, 1fr);
}

.wallet-all-clear > i {
  background: #eafaf4;
  color: var(--wallet-green);
}

.wallet-shortcuts {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-top: 16px;
}

.wallet-shortcuts a {
  position: relative;
  display: grid;
  min-height: 92px;
  place-items: center;
  align-content: center;
  gap: 8px;
  border: 1px solid var(--wallet-line);
  border-radius: 17px;
  background: #fff;
  color: var(--wallet-ink);
  font-size: 12px;
  font-weight: 800;
  text-align: center;
}

.wallet-shortcuts i {
  color: var(--wallet-blue-deep);
  font-size: 20px;
  font-style: normal;
}

.wallet-shortcuts em {
  position: absolute;
  top: 9px;
  right: 9px;
  min-width: 18px;
  height: 18px;
  padding: 0 4px;
  border-radius: 999px;
  background: #ff5364;
  color: #fff;
  font-size: 9px;
  font-style: normal;
  line-height: 18px;
}

.wallet-notification {
  display: grid;
  grid-template-columns: 8px minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  min-height: 58px;
  color: inherit;
}

.wallet-notification + .wallet-notification {
  border-top: 1px solid #edf1f5;
}

.wallet-notification > i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #d1d9e1;
}

.wallet-notification.unread > i {
  background: var(--wallet-blue);
}

.wallet-notification b,
.wallet-notification small {
  display: block;
}

.wallet-notification b {
  color: var(--wallet-ink);
  font-size: 12px;
}

.wallet-notification small {
  margin-top: 2px;
  overflow: hidden;
  color: var(--wallet-muted);
  font-size: 10px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.wallet-notification time {
  color: #9aa5b1;
  font-size: 9px;
}

.wallet-menu-groups {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-top: 16px;
}

.wallet-subscription-menu {
  grid-template-columns: 1fr;
}

.wallet-menu-groups article {
  padding: 18px;
  border: 1px solid var(--wallet-line);
  border-radius: 18px;
  background: #fff;
}

.wallet-menu-groups h2 {
  margin-bottom: 10px;
  color: #8491a0;
}

.wallet-menu-groups a {
  display: flex;
  min-height: 44px;
  align-items: center;
  justify-content: space-between;
  color: var(--wallet-ink);
  font-size: 13px;
}

.wallet-menu-groups a + a {
  border-top: 1px solid #edf1f5;
}

.wallet-menu-groups a i {
  color: #adb7c2;
  font-size: 18px;
  font-style: normal;
}

.wallet-settings-card {
  margin-top: 12px;
  border: 1px solid var(--wallet-line);
  border-radius: 18px;
  background: #fff;
}

.wallet-settings-card summary {
  display: flex;
  min-height: 70px;
  align-items: center;
  justify-content: space-between;
  padding: 0 18px;
  cursor: pointer;
  list-style: none;
}

.wallet-settings-card summary,
.wallet-settings-card summary:hover,
.wallet-settings-card summary:active,
.wallet-settings-card summary:focus,
.wallet-settings-card summary:focus-visible,
.profile-edit-shortcut,
.profile-edit-shortcut:hover,
.profile-edit-shortcut:active,
.profile-edit-shortcut:focus,
.profile-edit-shortcut:focus-visible {
  outline: 0 !important;
  box-shadow: none !important;
  filter: none !important;
  transform: none !important;
  -webkit-tap-highlight-color: transparent;
}

.wallet-settings-card summary:hover,
.wallet-settings-card summary:active,
.wallet-settings-card summary:focus,
.wallet-settings-card summary:focus-visible {
  background: transparent !important;
}

.wallet-settings-card summary::-webkit-details-marker {
  display: none;
}

.wallet-settings-card summary b,
.wallet-settings-card summary small {
  display: block;
}

.wallet-settings-card summary b {
  color: var(--wallet-ink);
  font-size: 14px;
}

.wallet-settings-card summary small {
  margin-top: 3px;
  color: var(--wallet-muted);
  font-size: 10px;
}

.wallet-settings-card summary i {
  color: var(--wallet-blue-deep);
  font-size: 20px;
  font-style: normal;
}

.wallet-settings-card[open] summary i {
  transform: rotate(45deg);
}

.wallet-setting-forms {
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: 12px;
  padding: 0 18px 18px;
}

.wallet-setting-forms form,
.wallet-kakao-form {
  display: grid;
  gap: 9px;
  padding: 14px;
  border-radius: 13px;
  background: #f7fafd;
}

.wallet-setting-forms label,
.wallet-kakao-form label {
  color: #5f6d7c;
  font-size: 10px;
  font-weight: 800;
}

.wallet-setting-forms input,
.wallet-kakao-form input[type="tel"] {
  width: 100%;
  min-height: 42px;
  margin-top: 5px;
  padding: 0 11px;
  border: 1px solid #dce5ee;
  border-radius: 10px;
  background: #fff;
  font-size: 13px;
}

.wallet-setting-forms button,
.wallet-kakao-form button {
  min-height: 40px;
  border-radius: 10px;
  background: var(--wallet-blue);
  color: #fff;
  font-size: 12px;
  font-weight: 850;
}

.wallet-setting-result {
  display: none;
  grid-column: 1 / -1;
  margin: 0;
  padding: 10px;
  border-radius: 9px;
  background: #eaf8f3;
  color: #18845e;
  font-size: 11px;
}

.wallet-setting-result.show {
  display: block;
}

.wallet-setting-result.error {
  background: #fff0f1;
  color: #c74451;
}

.wallet-kakao-form {
  margin: 0 18px 18px;
}

.wallet-check {
  display: flex;
  align-items: center;
  gap: 8px;
}

.wallet-check input {
  width: 18px;
  height: 18px;
}

.wallet-security-list article,
#wallet-security-list article {
  display: grid;
  grid-template-columns: 8px minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  min-height: 48px;
}

#wallet-security-list article + article {
  border-top: 1px solid #edf1f5;
}

#wallet-security-list article > i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #b9ddfb;
}

#wallet-security-list b,
#wallet-security-list small {
  display: block;
}

#wallet-security-list b {
  color: var(--wallet-ink);
  font-size: 12px;
}

#wallet-security-list small,
.wallet-muted {
  margin-top: 2px;
  color: var(--wallet-muted);
  font-size: 10px;
}

.wallet-logout {
  display: block;
  margin: 18px auto 0;
  padding: 10px 16px;
  color: #8a95a2;
  font-size: 12px;
  font-weight: 750;
}

.wallet-withdraw {
  display: block;
  margin: 2px auto 0;
  padding: 7px 14px 12px;
  border: 0;
  background: transparent;
  box-shadow: none;
  color: #a4adb7;
  font-size: 10.5px;
  font-weight: 650;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.wallet-withdraw:hover,
.wallet-withdraw:active,
.wallet-withdraw:focus-visible {
  background: transparent;
  box-shadow: none;
  color: #7f8995;
  transform: none;
}

.wallet-withdraw-dialog {
  width: min(420px, calc(100vw - 36px));
  max-width: none;
  margin: auto;
  padding: 0;
  overflow: hidden;
  border: 0;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 24px 70px rgba(31, 43, 57, 0.2);
}

.wallet-withdraw-dialog::backdrop {
  background: rgba(28, 37, 48, 0.42);
  backdrop-filter: blur(2px);
}

.wallet-withdraw-dialog form {
  display: grid;
  gap: 15px;
  padding: 22px;
}

.wallet-withdraw-dialog header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.wallet-withdraw-dialog h2 {
  margin: 0;
  color: var(--wallet-ink);
  font-size: 18px;
}

.wallet-withdraw-dialog header button {
  display: grid;
  width: 32px;
  height: 32px;
  padding: 0;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: #f3f6f9;
  box-shadow: none;
  color: #687482;
  font-size: 21px;
  line-height: 1;
}

.wallet-withdraw-dialog > form > p {
  margin: 0;
  color: #6f7b88;
  font-size: 11px;
  line-height: 1.65;
}

.wallet-withdraw-dialog label {
  display: grid;
  gap: 7px;
  color: #344150;
  font-size: 11px;
  font-weight: 750;
}

.wallet-withdraw-confirmation-copy {
  display: block;
  letter-spacing: -.025em;
  white-space: nowrap;
}

.wallet-withdraw-confirmation-copy b {
  color: var(--wallet-blue-deep);
  font-weight: 850;
}

.wallet-withdraw-dialog input {
  width: 100%;
  height: 44px;
  padding: 0 13px;
  border: 1px solid #dce3ea;
  border-radius: 11px;
  outline: 0;
  background: #fff;
  color: var(--wallet-ink);
  font: inherit;
}

.wallet-withdraw-dialog input:focus {
  border-color: #8fc8f6;
  box-shadow: 0 0 0 3px rgba(52, 157, 243, 0.1);
}

.wallet-withdraw-dialog form > div {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.wallet-withdraw-dialog form > div button {
  min-height: 43px;
  border: 0;
  border-radius: 11px;
  background: #edf1f5;
  box-shadow: none;
  color: #5e6975;
  font-size: 12px;
  font-weight: 800;
}

.wallet-withdraw-dialog form > div button[type="submit"] {
  background: #303a45;
  color: #fff;
}

.wallet-withdraw-dialog form > div button:active {
  box-shadow: none;
  transform: none;
}

.wallet-withdraw-result {
  min-height: 0;
  color: #74808c !important;
}

.wallet-withdraw-result:empty {
  display: none;
}

.wallet-withdraw-result.error {
  color: #d34a4a !important;
}

.wallet-empty {
  padding: 24px 12px 10px;
  text-align: center;
}

.wallet-empty > i {
  display: grid;
  width: 38px;
  height: 38px;
  margin: 0 auto 9px;
  place-items: center;
  border-radius: 12px;
  background: var(--wallet-blue-pale);
  color: var(--wallet-blue-deep);
  font-style: normal;
}

.wallet-empty b,
.wallet-empty p {
  display: block;
}

.wallet-empty b {
  color: var(--wallet-ink);
  font-size: 14px;
}

.wallet-empty p {
  margin: 5px 0 14px;
  color: var(--wallet-muted);
  font-size: 11px;
}

.wallet-empty a {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  padding: 0 16px;
  border-radius: 11px;
  background: var(--wallet-blue);
  color: #fff;
  font-size: 12px;
  font-weight: 850;
}

.profile-action-needed {
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr) 12px;
  align-items: center;
  gap: 9px;
  margin: 0 18px 14px;
  padding: 12px;
  border-radius: 13px;
  background: #eef8ff;
  color: inherit;
}

.profile-action-needed > i {
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  border-radius: 9px;
  background: var(--wallet-blue);
  color: #fff;
  font-size: 12px;
  font-style: normal;
  font-weight: 900;
}

.profile-action-needed.is-clear {
  grid-template-columns: 32px minmax(0, 1fr);
  background: #eefaf6;
}

.profile-action-needed.is-clear > i {
  background: var(--wallet-green);
}

.profile-action-needed b,
.profile-action-needed small {
  display: block;
}

.profile-action-needed b {
  color: var(--wallet-ink);
  font-size: 12px;
}

.profile-action-needed small {
  margin-top: 2px;
  overflow: hidden;
  color: var(--wallet-muted);
  font-size: 9px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.profile-action-needed > em {
  color: #9aabba;
  font-size: 18px;
  font-style: normal;
}

.wallet-profile-summary b {
  font-size: 14px !important;
  white-space: nowrap;
}

.wallet-balance-compact {
  position: relative;
  z-index: 2;
  padding: 20px 22px;
  overflow: visible;
}

.wallet-balance-compact .wallet-primary-number {
  margin: 0 0 16px;
}

.wallet-balance-compact .wallet-primary-number > span {
  color: var(--wallet-ink);
  font-size: 14px;
  font-weight: 850;
}

.wallet-balance-compact .wallet-primary-number > strong {
  margin-top: 7px;
  font-size: clamp(28px, 4vw, 36px);
}

.wallet-shortcut-list {
  display: block;
  overflow: hidden;
  border: 1px solid var(--wallet-line);
  border-radius: 20px;
  background: #fff;
}

.wallet-shortcut-list a {
  display: flex;
  min-height: 70px;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 0 20px;
  border: 0;
  border-radius: 0;
  background: transparent;
  text-align: left;
}

.wallet-shortcut-list a + a {
  border-top: 1px solid #edf1f5;
}

.wallet-shortcut-list a > span {
  min-width: 0;
}

.wallet-shortcut-list a b,
.wallet-shortcut-list a small {
  display: block;
}

.wallet-shortcut-list a b {
  color: var(--wallet-ink);
  font-size: 14px;
}

.wallet-shortcut-list a small {
  margin-top: 4px;
  color: var(--wallet-muted);
  font-size: 10px;
  font-weight: 650;
}

.wallet-shortcut-list a > em {
  position: static;
  min-width: auto;
  height: auto;
  padding: 0;
  background: transparent;
  color: #aab5c1;
  font-size: 21px;
  font-weight: 500;
  line-height: 1;
}

@keyframes wallet-spin {
  to { transform: rotate(360deg); }
}

@media (max-width: 800px) {
  .mogoo-wallet-page {
    padding: 14px 0 96px;
  }

  .mogoo-wallet-shell {
    width: auto;
    margin: 0 12px;
  }

  .wallet-profile {
    grid-template-columns: 56px minmax(0, 1fr) auto;
    gap: 11px;
    padding: 15px;
    border-radius: 17px;
  }

  .wallet-avatar {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    font-size: 21px;
  }

  .wallet-profile h1 {
    font-size: 18px;
  }

  .wallet-profile > a {
    padding: 8px 9px;
    font-size: 10px;
  }

  .wallet-profile-prompts {
    margin-bottom: 12px;
    padding: 15px;
    border-radius: 17px;
  }

  .wallet-profile-prompts > header h2 {
    font-size: 15px;
  }

  .wallet-profile-prompt-list {
    grid-template-columns: 1fr;
  }

  .wallet-profile-prompt {
    min-height: 69px;
    border-radius: 14px;
  }

  .wallet-balance {
    padding: 19px;
    border-radius: 19px;
  }

  .wallet-balance-compact {
    padding: 17px;
  }

  .wallet-referral-card {
    grid-template-columns: 1fr;
    gap: 14px;
    padding: 17px;
    border-radius: 17px;
  }

  .wallet-referral-copy h2 {
    font-size: 16px;
  }

  .wallet-referral-card > small {
    margin-top: -6px;
  }

  .wallet-balance h2 {
    font-size: 15px;
  }

  .wallet-primary-number {
    margin: 22px 0 18px;
  }

  .wallet-balance-compact .wallet-primary-number {
    margin: 0 0 14px;
  }

  .wallet-primary-number > strong {
    font-size: 31px;
  }

  .wallet-balance-compact .wallet-primary-number > strong {
    font-size: 28px;
  }

  .wallet-shortcut-list a {
    min-height: 66px;
    padding: 0 16px;
  }

  .wallet-metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px;
  }

  .wallet-metrics article {
    min-width: 0;
    padding: 11px 8px;
    border-radius: 12px;
  }

  .wallet-metrics span {
    font-size: 9.5px;
  }

  .wallet-metrics b {
    overflow: hidden;
    font-size: 14px;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .wallet-metric-with-info:not(.wallet-metric-savings)
    .wallet-metric-popover {
    left: 0;
    transform: none;
  }

  .wallet-metric-with-info:not(.wallet-metric-savings)
    .wallet-metric-popover::before {
    left: 40px;
    transform: rotate(45deg);
  }

  .wallet-section {
    margin-top: 12px;
    padding: 16px;
    border-radius: 17px;
  }

  .wallet-section > header h2,
  .wallet-menu-groups h2 {
    font-size: 15px;
  }

  .wallet-subscription-row {
    grid-template-columns: 38px minmax(0, 1fr) auto 9px;
    gap: 9px;
    min-height: 66px;
  }

  .wallet-subscription-row > img {
    width: 38px;
    height: 38px;
    border-radius: 11px;
  }

  .wallet-subscription-row span b {
    font-size: 13px;
  }

  .wallet-subscription-row > div strong {
    font-size: 13px;
  }

  .wallet-shortcuts {
    grid-template-columns: repeat(2, 1fr);
    gap: 7px;
    margin-top: 12px;
  }

  .wallet-shortcuts a {
    min-height: 74px;
    border-radius: 15px;
  }

  .wallet-menu-groups {
    grid-template-columns: 1fr;
    gap: 10px;
    margin-top: 12px;
  }

  .wallet-menu-groups article {
    padding: 15px;
    border-radius: 16px;
  }

  .wallet-setting-forms {
    grid-template-columns: 1fr;
    padding: 0 14px 14px;
  }

  .wallet-settings-card summary {
    min-height: 64px;
    padding: 0 15px;
  }

  .wallet-kakao-form {
    margin: 0 14px 14px;
  }

  .profile-panel .profile-head h2 {
    font-size: 17px;
  }

  .profile-panel .profile-subscriptions h3 {
    font-size: 15px;
  }

  .profile-panel .wallet-profile-summary {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .profile-panel .wallet-profile-summary b {
    font-size: 11px !important;
  }

  .profile-panel .profile-close,
  .profile-panel .profile-close:focus,
  .profile-panel .profile-close:active {
    width: 36px;
    height: 36px;
    border: 0 !important;
    border-radius: 50% !important;
    outline: 0 !important;
    box-shadow: none !important;
  }
}

@media (max-width: 360px) {
  .wallet-profile {
    grid-template-columns: 50px minmax(0, 1fr);
  }

  .wallet-profile > a {
    grid-column: 1 / -1;
    text-align: center;
  }

  .wallet-avatar {
    width: 50px;
    height: 50px;
  }

  .wallet-primary-number > strong {
    font-size: 28px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .wallet-loading i {
    animation: none;
  }
}

.wallet-subscription-row.has-member-issue { border-color: #b8dbf7; background: #f7fbff; }
.wallet-subscription-row.has-member-issue > div em { color: #2186d8; font-weight: 800; }
.wallet-task.task-member-issue > i { background: #e4f2ff; color: #1682d5; }
