.topbar button {
  border: 0;
  background: transparent;
  padding: 0;
  cursor: pointer;
  color: inherit;
  appearance: none;
  -webkit-appearance: none;
}

.site-top-banner {
  height: 48px;
  overflow: hidden;
  border-bottom: 1px solid rgba(206, 222, 246, 0.95);
  background: #f4f8ff;
}

.site-top-banner-stage {
  position: relative;
  height: 48px;
  overflow: hidden;
}

.site-top-banner-message {
  position: absolute;
  inset: 0;
  display: grid;
  align-items: center;
  padding: 0 24px;
  opacity: 1;
  transform: translateY(0);
  transition: transform 760ms cubic-bezier(0.22, 0.75, 0.2, 1), opacity 760ms ease;
}

.site-top-banner-message.is-entering {
  opacity: 0;
  transform: translateY(100%);
}

.site-top-banner-message.is-entering.is-active {
  opacity: 1;
  transform: translateY(0);
}

.site-top-banner-message.is-leaving {
  opacity: 0;
  transform: translateY(-100%);
}

.site-top-banner-content {
  display: block;
  min-width: 0;
  overflow: hidden;
  color: #1f4f9a;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.45;
  text-align: center;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.site-top-banner-content.is-marquee {
  width: max-content;
  min-width: 100%;
  padding-right: 48px;
  text-align: left;
  text-overflow: clip;
  animation: site-top-banner-marquee var(--top-banner-marquee-duration, 32s) ease-in-out infinite alternate;
}

@keyframes site-top-banner-marquee {
  0%,
  12% {
    transform: translateX(0);
  }

  88%,
  100% {
    transform: translateX(var(--top-banner-marquee-end, 0px));
  }
}

.site-top-banner-content > * {
  display: inline;
  margin: 0;
}

@media (prefers-reduced-motion: reduce) {
  .site-top-banner-message {
    transition: none;
  }

  .site-top-banner-content.is-marquee {
    animation: none;
    width: 100%;
    min-width: 0;
    padding-right: 0;
    text-align: center;
    text-overflow: ellipsis;
  }
}

.topbar {
  height: 90px;
  padding: 0 42px 0 44px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  border-bottom: 1px solid rgba(226, 232, 240, 0.95);
  box-shadow: 0 1px 0 rgba(18, 24, 40, 0.02);
  background: rgba(255, 255, 255, 0.98);
}

.site-footer {
  border-top: 1px solid rgba(226, 232, 240, 0.95);
  background: rgba(255, 255, 255, 0.98);
}

.site-footer-inner {
  min-height: 92px;
  padding: 16px 42px;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px 24px;
  color: #647085;
  font-size: 13px;
  line-height: 1.5;
  text-align: center;
}

.site-footer-links,
.site-footer-meta {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
}

.site-footer-links {
  gap: 14px;
  color: #344054;
  font-weight: 600;
}

.site-footer-meta {
  gap: 6px 18px;
}

.site-footer a {
  color: inherit;
  text-decoration: none;
}

.site-footer a:hover,
.site-footer a:focus-visible {
  color: #245fe8;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.site-footer [hidden] {
  display: none !important;
}

.site-footer-copy {
  display: inline-block;
  max-width: 100%;
  overflow-wrap: anywhere;
}

.site-footer-label {
  color: #7b8496;
}

.brand {
  display: inline-flex;
  align-items: center;
  color: inherit;
  text-decoration: none;
}

.brand-mark {
  color: #2f5ae8;
  font-size: 28px;
  font-weight: 800;
  letter-spacing: 0;
}

.brand-logo {
  display: block;
  width: auto;
  max-width: 148px;
  height: 34px;
  object-fit: contain;
}

.brand-logo--signature {
  width: 132px;
  max-width: 132px;
  height: 48px;
}

.nav {
  justify-self: center;
  display: inline-flex;
  align-items: center;
  gap: 22px;
  margin-right: 0;
}

.nav-item {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 38px;
  padding: 0 10px;
  border-radius: 999px;
  color: #40475a;
  font-size: 15px;
  line-height: 1;
}

.nav-item svg {
  width: 18px;
  height: 18px;
  stroke-width: 1.85;
}

.nav-item.is-active {
  color: #2f6cf3;
  font-weight: 600;
  background: rgba(47, 108, 243, 0.08);
}

.nav-item.is-active::after {
  content: "";
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: -8px;
  height: 3px;
  border-radius: 999px;
  background: #2f6cf3;
}

.chip {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 0 8px;
  border-radius: 999px;
  background: #f1f3f6;
  color: #6f7380;
  font-size: 12px;
  font-style: normal;
  line-height: 1;
}

.topbar-actions {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  overflow: visible;
}

/* Extra workbench entries stay inside the shared header instead of widening the page. */
.topbar > .shared-menu--top {
  min-width: 0;
  max-width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  padding-bottom: 24px;
  margin-bottom: -24px;
  margin-left: 22px;
  margin-right: 20px;
  gap: 6px;
}

.topbar .shared-menu-item--top {
  --nav-accent: #3763dc;
  --nav-soft: #eef3ff;
  --nav-border: #dbe5ff;
  flex-shrink: 0;
  min-height: 46px;
  padding: 0 10px 0 7px;
  border: 1px solid transparent;
  border-radius: 13px;
  gap: 7px;
  color: #465269;
  font-size: 14px;
  font-weight: 600;
  transition: color 180ms ease, background-color 180ms ease, border-color 180ms ease;
}

.topbar .shared-menu-item--placeholder { display: none; }

.topbar .shared-menu-item--top svg {
  box-sizing: border-box;
  flex: 0 0 auto;
  width: 30px;
  height: 30px;
  padding: 6px;
  border-radius: 9px;
  color: var(--nav-accent);
  background: var(--nav-soft);
}

.topbar [data-nav-key="video"] { --nav-accent: #7c4bd2; --nav-soft: #f3edff; --nav-border: #e5d8fb; }
.topbar [data-nav-key="music"] { --nav-accent: #c03978; --nav-soft: #fff0f6; --nav-border: #f8d7e7; }
.topbar [data-nav-key="voice"] { --nav-accent: #8854cf; --nav-soft: #f4efff; --nav-border: #e5d8fb; }
.topbar [data-nav-key="audio-tools"] { --nav-accent: #b45c28; --nav-soft: #fff3e9; --nav-border: #f5dfc8; }
.topbar [data-nav-key="canvas"] { --nav-accent: #0c827c; --nav-soft: #eaf9f5; --nav-border: #caebe4; }
.topbar [data-nav-key="suite"] { --nav-accent: #bb5a1a; --nav-soft: #fff3e7; --nav-border: #f5dfc8; }
.topbar [data-nav-key="prompt-reference"] { --nav-accent: #657d24; --nav-soft: #f2f7e7; --nav-border: #dfe9c6; }
.topbar [data-nav-key="doc"] { --nav-accent: #437895; --nav-soft: #edf5fa; --nav-border: #d7e6ef; }

.topbar .shared-menu-item--top:hover,
.topbar .shared-menu-item--top.is-active {
  color: var(--nav-accent);
  border-color: var(--nav-border);
  background: var(--nav-soft);
  transform: none;
}

.topbar .shared-menu-item--top.is-active { font-weight: 700; }
.topbar .shared-menu-item--top.is-active svg { color: #fff; background: var(--nav-accent); }
.topbar .shared-menu-item--top.is-active::after { display: none; }
.topbar .shared-menu-item--top:focus-visible { outline: 2px solid var(--nav-accent); outline-offset: 2px; }

.shared-music-menu-wrap { display: inline-flex; flex-shrink: 0; }
.topbar .shared-menu-item--top .shared-music-menu-chevron {
  width: 22px;
  height: 22px;
  padding: 4px;
  border: 1px solid var(--nav-border);
  border-radius: 7px;
  color: var(--nav-accent);
  background: rgba(255, 255, 255, 0.8);
  stroke-width: 2;
  transition: transform 220ms cubic-bezier(0.2, 0.7, 0.2, 1);
}
[data-action="toggle-music-menu"][aria-expanded="true"] .shared-music-menu-chevron { transform: rotate(180deg); }
@media (prefers-reduced-motion: reduce) {
  .topbar .shared-menu-item--top .shared-music-menu-chevron { transition: none; }
}
.shared-music-menu { position: fixed; z-index: 180; padding: 6px; overflow-y: auto; border: 1px solid #e4e8f0; border-radius: 12px; background: #fff; box-shadow: 0 12px 32px rgba(36,55,91,.14); }
.shared-music-menu[hidden] { display: none !important; }
.shared-music-menu a { display: flex; align-items: center; gap: 9px; min-height: 42px; padding: 0 12px; border-radius: 8px; color: #40475a; text-decoration: none; font-size: 14px; font-weight: 500; white-space: nowrap; }
.shared-music-menu a svg { box-sizing: border-box; width: 30px; height: 30px; padding: 6px; border-radius: 8px; color: var(--nav-accent); background: var(--nav-soft); }
.shared-music-menu a:hover, .shared-music-menu a[aria-current="page"] { color: var(--nav-accent); background: var(--nav-soft); }
.shared-music-menu a:focus-visible, [data-action="toggle-music-menu"]:focus-visible { outline: 2px solid #91b2fa; outline-offset: 2px; }

.icon-btn {
  position: relative;
  width: 39px;
  height: 39px;
  display: grid;
  place-items: center;
  color: #121826;
  outline: none;
}

.icon-btn svg {
  width: 29px;
  height: 29px;
}

.notice-popover-wrap {
  position: relative;
  display: inline-flex;
  align-items: center;
  overflow: visible;
}

.notice-trigger {
  color: #2f6cf3;
}

.notice-trigger svg,
.icon-btn--support svg {
  width: 31px;
  height: 31px;
}

.notice-dot {
  top: 0;
  right: 0;
}

.notice-popover {
  position: absolute;
  top: calc(100% + 22px);
  right: -96px;
  z-index: 170;
  width: min(420px, calc(100vw - 32px));
  max-height: min(620px, calc(100vh - 120px));
  display: flex;
  flex-direction: column;
  border: 1px solid #e4dfd8;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 24px 58px rgba(18, 24, 40, 0.18);
  overflow: hidden;
}

.notice-popover[hidden] {
  display: none !important;
}

.notice-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 24px 28px 10px;
}

.notice-panel-head h2 {
  margin: 0;
  color: #111827;
  font-size: 18px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: 0;
}

.notice-panel-close {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  color: #6b7280;
}

.notice-panel-close svg {
  width: 18px;
  height: 18px;
}

.notice-list {
  position: relative;
  display: block;
  min-height: 0;
  padding: 0 28px 18px 40px;
  overflow-y: auto;
  scrollbar-color: #c7ccd4 transparent;
  scrollbar-width: thin;
}

.notice-item {
  position: relative;
  display: flex;
  gap: 12px;
  min-width: 0;
  padding: 12px 0 12px 18px;
}

.notice-item + .notice-item {
  border-top: 0;
}

.notice-item::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 1px;
  background: #e5e0da;
}

.notice-timeline-dot {
  position: absolute;
  top: 18px;
  left: -5px;
  width: 11px;
  height: 11px;
  border: 3px solid #f5f1ec;
  border-radius: 999px;
  background: #a5adb8;
  z-index: 1;
}

.notice-item.is-unread .notice-timeline-dot {
  background: #ef3b3b;
  box-shadow: 0 0 0 3px rgba(239, 59, 59, 0.16);
}

.notice-item-head {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 8px;
  min-width: 0;
}

.notice-item-body {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.notice-item-head strong {
  min-width: 0;
  color: #10203a;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.45;
  letter-spacing: 0;
  overflow-wrap: anywhere;
}

.notice-type {
  flex: 0 0 auto;
  min-height: 20px;
  padding: 0 7px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #cddcff;
  border-radius: 999px;
  background: #f6f8ff;
  color: #2f6cf3;
  font-size: 10px;
  font-weight: 600;
  line-height: 1;
}

.notice-item p {
  margin: 0;
  color: #10203a;
  font-size: 11px;
  line-height: 1.55;
  font-weight: 400;
  overflow-wrap: anywhere;
}

.notice-item time {
  color: #667085;
  font-size: 11px;
  line-height: 1.4;
}

.notice-empty {
  min-height: 80px;
  display: grid;
  place-items: center;
  color: #718096;
  font-size: 14px;
}

.notice-panel-foot {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  min-height: 0;
  padding: 8px 28px 12px;
  border-top: 1px solid rgba(226, 232, 240, 0.95);
  background: #fff;
}

.notice-panel-action {
  min-height: 40px;
  min-width: 132px;
  padding: 0 24px;
  border-radius: 12px;
  font-size: 13px;
  font-weight: 600;
  line-height: 1;
}

.notice-panel-action--primary {
  background: linear-gradient(180deg, #3b7cff 0%, #245fe8 100%) !important;
  color: #fff !important;
  box-shadow: 0 10px 20px rgba(47, 108, 243, 0.22);
}

.support-popover-wrap {
  position: relative;
  display: inline-flex;
  align-items: center;
  overflow: visible;
}

.support-popover {
  position: absolute;
  top: calc(100% + 12px);
  right: 0;
  z-index: 160;
  width: 292px;
  padding: 16px;
  border: 1px solid rgba(214, 224, 238, 0.98);
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 18px 42px rgba(18, 24, 40, 0.16);
}

.support-popover::before {
  content: "";
  position: absolute;
  top: -6px;
  right: 18px;
  width: 12px;
  height: 12px;
  background: #fff;
  border-left: 1px solid rgba(214, 224, 238, 0.98);
  border-top: 1px solid rgba(214, 224, 238, 0.98);
  transform: rotate(45deg);
}

.support-popover-card {
  display: grid;
  gap: 8px;
  min-width: 0;
}

.support-popover-title {
  color: #132033;
  font-size: 15px;
  font-weight: 800;
  line-height: 1.35;
}

.support-popover-copy {
  margin: 0;
  color: #445063;
  font-size: 13px;
  line-height: 1.5;
  text-align: left;
}

.support-popover-hours {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  min-height: 24px;
  padding: 0 9px;
  border-radius: 999px;
  background: #f3f6fb;
  color: #667085;
  font-size: 12px;
  line-height: 1;
}

.support-popover-qrbox {
  position: relative;
  min-height: 220px;
  margin-top: 4px;
  border-radius: 12px;
  background: #f5f7fb;
  overflow: hidden;
}

.support-popover-qr {
  display: block;
  width: 100%;
  height: 220px;
  object-fit: cover;
  background: #f5f7fb;
}

.support-popover-fallback {
  min-height: 128px;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 18px;
  color: #667085;
  font-size: 13px;
  line-height: 1.55;
  text-align: center;
}

.support-popover-qrbox.is-broken {
  min-height: 128px;
}

.support-popover-qrbox.is-broken .support-popover-qr {
  display: none;
}

.support-popover-qrbox.is-broken .support-popover-fallback,
.support-popover-card.is-disabled .support-popover-fallback {
  display: flex;
}

.share-popover {
  position: absolute;
  top: calc(100% + 12px);
  left: 0;
  z-index: 160;
  width: 340px;
  padding: 14px 14px 16px;
  border: 1px solid rgba(214, 224, 238, 0.98);
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 18px 42px rgba(18, 24, 40, 0.16);
}

.share-popover::before {
  content: "";
  position: absolute;
  top: -6px;
  left: var(--share-arrow-left, 22px);
  width: 12px;
  height: 12px;
  background: #fff;
  border-left: 1px solid rgba(214, 224, 238, 0.98);
  border-top: 1px solid rgba(214, 224, 238, 0.98);
  transform: rotate(45deg);
}

.topbar .topbar-share-wrap { align-items: center; }

.topbar .share-trigger {
  width: 39px;
  height: 39px;
  border: 1px solid #f4dfcc;
  border-radius: 12px;
  color: #c46626;
  background: linear-gradient(145deg, #fff7eb, #ffeddf);
  transition: background-color 180ms ease, border-color 180ms ease;
}

.topbar .share-trigger svg { width: 23px; height: 23px; }
.topbar .share-trigger:hover,
.topbar .share-trigger[aria-expanded="true"] { background: #ffe5cf; border-color: #edc39f; }
.topbar .share-trigger:focus-visible { outline: 2px solid #c46626; outline-offset: 3px; }

.share-reward-hint {
  position: absolute;
  top: calc(100% + 4px);
  left: 50%;
  z-index: 2;
  display: block;
  padding: 3px 9px;
  border: 1px solid #f4dfcc;
  border-radius: 999px;
  color: #a15320;
  background: #fff7ed;
  font-size: 11px;
  font-weight: 500;
  line-height: 1.4;
  white-space: nowrap;
  pointer-events: none;
  transform: translateX(-50%);
}

.share-reward-hint::before {
  content: "";
  position: absolute;
  top: -4px;
  left: calc(50% - 3px);
  width: 6px;
  height: 6px;
  border-top: 1px solid #f4dfcc;
  border-left: 1px solid #f4dfcc;
  background: #fff7ed;
  transform: rotate(45deg);
}

.share-trigger[aria-expanded="true"] + .share-reward-hint { visibility: hidden; }

.share-popover-title {
  margin: 0;
  color: #132033;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.4;
}

.share-popover-copy {
  margin: 4px 0 0;
  color: #617085;
  font-size: 12px;
  line-height: 1.45;
}

.share-popover-linkbox {
  margin-top: 12px;
  padding: 10px 12px 10px 14px;
  border: 1px solid #d8e0ec;
  border-radius: 12px;
  background: #f8fbff;
  color: #132033;
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.share-popover-linktext {
  min-width: 0;
  flex: 1 1 auto;
  color: inherit;
  font-size: 13px;
  line-height: 1.45;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.share-copy-btn {
  width: 28px;
  height: 28px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  border: 1px solid #d8e0ec;
  border-radius: 999px;
  background: #fff;
  color: #2f6cf3;
}

.share-copy-btn svg {
  width: 16px;
  height: 16px;
}

.topbar-balance {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  line-height: 1;
  transform: translateY(0);
  border: 0;
  background: transparent;
  padding: 0;
  cursor: pointer;
}

.topbar-balance strong {
  color: #ff4d1f;
  font-size: 18px;
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: 0;
  display: block;
  transform: translateY(1px);
}

.dot {
  position: absolute;
  top: 1px;
  right: 1px;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #ff4d4f;
  border: 2px solid #fff;
}

.balance {
  display: grid;
  gap: 3px;
  justify-items: end;
  margin-left: 4px;
  min-width: 0;
}

.balance span {
  color: #7a8496;
  font-size: 13px;
  line-height: 1;
}

.balance strong {
  color: #2f6cf3;
  font-size: 15px;
  line-height: 1;
  font-weight: 700;
}

.avatar-btn {
  display: inline-flex;
  align-items: center;
  gap: 0;
  min-height: 44px;
  width: 44px;
  padding: 0;
  border: 1px solid rgba(47, 108, 243, 0.1);
  border-radius: 999px;
  background: #fff;
  box-shadow: 0 6px 16px rgba(18, 24, 40, 0.06);
}

.avatar-face {
  width: 36px;
  height: 36px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--avatar-a, #f2d1b8) 0%, var(--avatar-b, #d49c7d) 100%);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.45);
  display: inline-grid;
  place-items: center;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0;
}

.avatar-face--image {
  overflow: hidden;
  background: #edf2ff;
}

.avatar-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.avatar-btn svg {
  width: 18px;
  height: 18px;
  color: #6f7380;
}

.auth-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  min-width: 116px;
  padding: 0 22px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 10px;
  background: linear-gradient(180deg, #3b7cff 0%, #245fe8 100%);
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  line-height: 1;
  box-shadow: 0 10px 22px rgba(47, 108, 243, 0.22);
}

.account-drawer-mask {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: flex;
  justify-content: flex-end;
  background: rgba(10, 16, 28, 0.16);
}

.account-drawer-mask[hidden] {
  display: none !important;
}

.account-drawer {
  width: min(360px, calc(100vw - 48px));
  height: 100%;
  padding: 22px 18px 18px;
  background: #fff;
  border-left: 1px solid rgba(226, 232, 240, 0.95);
  box-shadow: -18px 0 44px rgba(18, 24, 40, 0.12);
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.account-drawer-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.account-drawer-user {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.account-drawer-user--link {
  color: inherit;
  text-decoration: none;
  cursor: pointer;
  flex: 1 1 auto;
}

.account-drawer-user .avatar-face {
  flex: 0 0 auto;
}

.account-drawer-user-copy {
  min-width: 0;
}

.account-drawer-user-copy strong,
.account-drawer-user-copy span {
  display: block;
  line-height: 1.25;
}

.account-drawer-user-copy strong {
  font-size: 18px;
  font-weight: 700;
  color: #132033;
}

.account-drawer-user-copy span {
  margin-top: 3px;
  color: #6f7a8c;
  font-size: 12px;
}

.account-drawer-close {
  width: 34px;
  height: 34px;
  border: 1px solid #e1e7f0;
  border-radius: 999px;
  background: #fff;
  color: #6f7a8c;
  display: grid;
  place-items: center;
}

.account-drawer-close-icon {
  width: 18px;
  height: 18px;
}

.account-drawer-divider {
  height: 1px;
  background: rgba(225, 231, 240, 0.95);
  margin: 2px 0 8px;
}

.account-drawer-user-copy span {
  color: #6f7a8c;
  font-size: 12px;
}

.account-drawer-menu {
  display: grid;
  gap: 0;
}

.account-drawer-item {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 2px;
  border: 0;
  border-radius: 0;
  color: #132033;
  background: transparent;
}

.account-drawer-item svg {
  width: 18px;
  height: 18px;
  color: #2f6cf3;
}

.account-drawer-item span {
  color: #132033;
  font-size: 16px;
  font-weight: 700;
}

.account-drawer-item--balance strong {
  margin-left: auto;
  color: #1f63f0;
  font-size: 16px;
  font-weight: 700;
  text-align: right;
}

.account-drawer-foot {
  display: flex;
  align-items: end;
  margin-top: auto;
}

.account-drawer-logout {
  width: 100%;
  min-height: 46px;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #cf2d2d;
  font-size: 15px;
  font-weight: 600;
}

.popup-notice-mask {
  position: fixed;
  inset: 0;
  z-index: 240;
  display: grid;
  place-items: center;
  padding: 32px;
  background: rgba(18, 24, 40, 0.18);
  backdrop-filter: blur(2px);
}

.popup-notice-dialog {
  position: relative;
  width: min(560px, calc(100vw - 48px));
  min-height: 320px;
  display: flex;
  flex-direction: column;
  padding: 34px 32px 28px;
  border: 1px solid rgba(214, 224, 238, 0.95);
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 24px 62px rgba(18, 24, 40, 0.2);
}

.popup-notice-close {
  position: absolute;
  top: 28px;
  right: 28px;
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 12px;
  background: #f2f5f9;
  color: #64748b;
  cursor: pointer;
}

.popup-notice-close svg {
  width: 19px;
  height: 19px;
  stroke-width: 2.2;
}

.popup-notice-body {
  min-width: 0;
  padding-right: 58px;
}

.popup-notice-title-row {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  margin-bottom: 28px;
}

.popup-notice-body h2 {
  margin: 0;
  color: #10203a;
  font-size: 22px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: 0;
  overflow-wrap: anywhere;
}

.popup-notice-type {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 26px;
  padding: 0 10px;
  border-radius: 999px;
  background: #eaf0ff;
  color: #2f6cf3;
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
}

.popup-notice-body p,
.popup-notice-content {
  margin: 0;
  color: #10203a;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.75;
  letter-spacing: 0;
  overflow-wrap: anywhere;
}

.popup-notice-content br {
  content: "";
}

.popup-notice-foot {
  display: flex;
  justify-content: flex-end;
  margin-top: auto;
  padding-top: 24px;
}

.popup-notice-confirm {
  min-width: 108px;
  min-height: 40px;
  padding: 0 18px;
  border: 0;
  border-radius: 10px;
  background: linear-gradient(180deg, #3b7cff 0%, #245fe8 100%);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 8px 18px rgba(47, 108, 243, 0.2);
}

@media (max-width: 1200px) {
  .topbar {
    grid-template-columns: 1fr;
    height: auto;
    padding: 18px 20px;
    gap: 16px;
  }

  .topbar > * {
    min-width: 0;
    max-width: 100%;
  }

  .shared-menu--top {
    width: 100%;
    justify-self: stretch;
    justify-content: flex-start;
    overflow-x: auto;
    overflow-y: hidden;
    scrollbar-width: thin;
  }

  .topbar > .shared-menu--top { margin-left: 0; margin-right: 0; }
  .topbar-share-wrap .share-reward-hint { left: 0; transform: none; }
  .topbar-share-wrap .share-reward-hint::before { left: 16px; }
  .topbar .topbar-actions { padding-bottom: 24px; }

  .nav {
    justify-self: start;
    flex-wrap: wrap;
    gap: 12px 14px;
  }

  .nav-item.is-active::after {
    bottom: -6px;
  }

  .topbar-actions {
    justify-self: start;
    flex-wrap: wrap;
  }

  .site-footer-inner {
    min-height: 0;
    padding: 18px 20px;
  }

  .site-footer-meta {
    gap: 6px 14px;
  }

  .notice-popover {
    left: 0;
    right: auto;
    width: min(420px, calc(100vw - 28px));
    max-height: min(580px, calc(100vh - 140px));
  }

  .notice-panel-head {
    padding: 20px 20px 8px;
  }

  .notice-list {
    padding: 0 20px 16px 32px;
  }

  .notice-item-head strong {
    font-size: 13px;
  }

  .notice-type {
    min-height: 19px;
    padding: 0 6px;
    font-size: 9px;
  }

  .notice-item p {
    font-size: 10px;
  }

  .notice-panel-foot {
    min-height: 0;
    padding: 8px 18px 10px;
  }

  .notice-panel-action {
    min-height: 38px;
    min-width: 120px;
  }

  .support-popover {
    left: 0;
    right: auto;
    width: min(292px, calc(100vw - 28px));
  }

  .support-popover::before {
    left: 18px;
    right: auto;
  }

  .avatar-btn-copy {
    display: none;
  }

  .account-drawer {
    width: min(320px, calc(100vw - 28px));
  }

  .popup-notice-mask {
    padding: 20px;
  }

  .popup-notice-dialog {
    width: min(520px, calc(100vw - 28px));
    min-height: 280px;
    padding: 28px 22px 22px;
    border-radius: 14px;
  }

  .popup-notice-close {
    top: 22px;
    right: 22px;
    width: 36px;
    height: 36px;
    border-radius: 10px;
  }

  .popup-notice-close svg {
    width: 18px;
    height: 18px;
  }

  .popup-notice-body {
    padding-right: 48px;
  }

  .popup-notice-title-row {
    gap: 7px;
    margin-bottom: 22px;
  }

  .popup-notice-body h2 {
    font-size: 20px;
  }

  .popup-notice-type {
    min-height: 24px;
    padding: 0 9px;
    font-size: 13px;
  }

  .popup-notice-body p,
  .popup-notice-content {
    font-size: 15px;
    line-height: 1.7;
  }

  .popup-notice-foot {
    padding-top: 20px;
  }

  .popup-notice-confirm {
    min-width: 100px;
    min-height: 38px;
    border-radius: 10px;
    font-size: 13px;
  }
}
