:root {
  --bg: #0b0b0b;
  --bg-2: #14110d;
  --panel: #181818;
  --panel-2: #211c15;
  --text: #f5eee2;
  --muted: #a9a093;
  --line: rgba(214, 178, 104, .24);
  --gold: #d6b268;
  --gold-2: #f0d48c;
  --red: #a82a20;
  --red-2: #d04432;
  --ink: #050505;
  --shadow: 0 18px 46px rgba(0, 0, 0, .42);
}

* { box-sizing: border-box; }
html {
  overflow-y: scroll;
  scroll-behavior: smooth;
  scrollbar-gutter: stable;
}

body {
  margin: 0;
  color: var(--text);
  background:
    linear-gradient(180deg, #0a0a0a 0, #12100d 460px, #0b0b0b 920px),
    var(--bg);
  font-family: "Microsoft YaHei", "PingFang SC", Arial, sans-serif;
  line-height: 1.55;
}

body:not(.app-home-body):not(.app-screen-body):not(.act4-app-shell) {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

body:not(.app-home-body):not(.app-screen-body):not(.act4-app-shell) main {
  flex: 1 0 auto;
}

body:not(.app-home-body):not(.app-screen-body):not(.act4-app-shell) .site-footer {
  margin-top: auto;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(214, 178, 104, .06) 1px, transparent 1px),
    linear-gradient(180deg, rgba(214, 178, 104, .035) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(180deg, rgba(0,0,0,.9), transparent 76%);
  content: "";
}

a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
h1, h2, h3, p { margin-top: 0; }

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: stretch;
  min-height: 84px;
  padding: 0;
  border-bottom: 1px solid rgba(214, 178, 104, .18);
  background: rgba(5, 5, 5, .92);
  box-shadow: 0 12px 30px rgba(0, 0, 0, .35);
}

.site-header.is-scrolled {
  background: rgba(5, 5, 5, .98);
}

.brand {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  width: 276px;
  align-self: stretch;
  padding: 0 24px;
  background:
    radial-gradient(circle at 20% 30%, rgba(214, 178, 104, .18), transparent 9rem),
    linear-gradient(180deg, rgba(25, 16, 9, .94), rgba(7, 7, 7, .98));
  border-right: 1px solid rgba(214, 178, 104, .16);
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 62px;
  height: 44px;
  border: 1px solid rgba(240, 212, 140, .7);
  color: #120c05;
  background: linear-gradient(180deg, #f2d98f, #bd8d36);
  font-size: 20px;
  font-weight: 900;
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  color: #fff4dd;
  font-size: 16px;
  font-weight: 900;
}

.brand small {
  color: var(--gold);
  font-size: 12px;
}

.dungeon-league-header-brand strong {
  color: #fff0c7;
  font-size: 13px;
  line-height: 1.2;
  letter-spacing: .12em;
}

.site-nav {
  position: relative;
  flex: 1;
  display: flex;
  align-items: stretch;
  gap: 0;
  min-width: 0;
  color: #d8d2c8;
  font-size: 15px;
  font-weight: 800;
}

.site-nav::before {
  position: absolute;
  left: 0;
  right: clamp(220px, 15vw, 330px);
  top: 100%;
  height: 340px;
  border-top: 1px solid rgba(214, 178, 104, .14);
  border-bottom: 1px solid rgba(214, 178, 104, .18);
  background:
    radial-gradient(circle at 50% 18%, rgba(214, 178, 104, .10), transparent 24rem),
    linear-gradient(180deg, rgba(8, 8, 8, .94), rgba(8, 8, 8, .84));
  box-shadow: 0 28px 70px rgba(0, 0, 0, .48);
  content: "";
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 8%, #000 86%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0, #000 8%, #000 86%, transparent 100%);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: opacity .18s ease, transform .18s ease, visibility .18s ease;
}

.site-nav:hover::before {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.site-nav:has(.account-nav-item:hover)::before,
.site-nav:has(.account-nav-item.is-account-open)::before {
  opacity: 0;
  visibility: hidden;
}

.nav-item {
  position: relative;
  flex: 1 1 0;
  min-width: 0;
}

.nav-item > a {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 84px;
  width: 100%;
  padding: 0 10px;
  white-space: nowrap;
  color: rgba(245, 238, 226, .78);
  font-size: clamp(14px, .95vw, 18px);
  letter-spacing: 0;
}

.nav-item:not(:last-child)::after {
  position: absolute;
  right: -3px;
  top: 39px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #ff3b16;
  box-shadow: 0 0 12px rgba(255, 59, 22, .7);
  content: "";
}

.nav-item > a::after {
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 42px;
  height: 4px;
  border-radius: 999px;
  background: linear-gradient(90deg, #7a39ff, #ff4e1f);
  content: "";
  opacity: 0;
  transform: translateX(-50%);
}

.nav-item:hover > a {
  color: #fff;
  background: linear-gradient(180deg, rgba(214, 178, 104, .10), rgba(214, 178, 104, .02));
}

.nav-item:hover > a::after {
  opacity: 1;
}

.nav-dropdown {
  position: absolute;
  left: 0;
  top: 100%;
  z-index: 2;
  width: 100%;
  min-height: 272px;
  padding: 28px 6px 22px;
  border: 0;
  background: transparent;
  box-shadow: none;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: opacity .16s ease, transform .16s ease, visibility .16s ease;
}

.site-nav:hover .nav-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.site-nav:hover .account-nav-item .nav-dropdown {
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
}

.site-nav:has(.account-nav-item:hover) .nav-item:not(.account-nav-item) .nav-dropdown,
.site-nav:has(.account-nav-item.is-account-open) .nav-item:not(.account-nav-item) .nav-dropdown,
.site-nav:has(.account-nav-item.is-account-open) .account-nav-item .nav-dropdown:not(.is-account-menu) {
  opacity: 0;
  visibility: hidden;
}

.site-nav:has(.account-nav-item.is-account-open) .account-nav-item:not(.account-no-dropdown) .nav-dropdown {
  min-height: 0;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nav-dropdown a {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 8px;
  color: rgba(245, 238, 226, .90);
  border-bottom: 0;
  font-size: clamp(13px, .85vw, 16px);
  font-weight: 700;
  text-align: center;
}

.nav-dropdown a:last-child {
  border-bottom: 0;
}

.nav-dropdown a:hover {
  color: #fff;
  background: rgba(214, 178, 104, .10);
}

.site-nav a.has-nav-claimable {
  gap: 5px;
  color: #fff5dd;
  white-space: nowrap;
}

.site-nav a.has-nav-claimable span {
  display: inline-block;
  min-width: 0;
  line-height: 1.1;
}

.site-nav a.has-nav-claimable em {
  position: static;
  flex: 0 0 auto;
  min-width: 30px;
  padding: 1px 4px 2px;
  border: 1px solid rgba(255, 91, 64, .52);
  color: #fff8e0;
  background: linear-gradient(180deg, #d1462e, #85251d);
  font-size: 10px;
  font-style: normal;
  font-weight: 900;
  line-height: 1;
  text-align: center;
  transform: translateX(10px);
  pointer-events: none;
}

.nav-dropdown a.has-nav-claimable {
  position: static;
  justify-content: center;
  gap: 5px;
  padding-left: 8px;
  padding-right: 8px;
  color: #fff5dd;
}

.nav-dropdown a.has-nav-claimable span {
  width: auto;
  text-align: center;
  transform: none;
}

.nav-dropdown a.has-nav-claimable-newcomer span {
  transform: translateX(17px);
}

.nav-dropdown a.has-nav-claimable-invite span {
  transform: translateX(17px);
}

.nav-dropdown a.has-nav-claimable-recharge span {
  transform: translateX(17px);
}

.nav-dropdown a.has-nav-claimable-compensation span {
  transform: translateX(17px);
}

.nav-dropdown a.has-nav-claimable em {
  position: static;
  min-width: 30px;
  font-size: 10px;
  transform: translateX(18px);
}

.nav-dropdown.is-account-menu {
  top: 64px;
  left: calc(50% - 112px);
  right: auto;
  width: max-content;
  min-width: 190px;
  opacity: 0;
  transform: translateY(-10px);
  transition: opacity .18s ease, transform .18s ease, visibility .18s ease;
}

.account-nav-item .nav-dropdown.is-account-menu {
  opacity: 0;
  visibility: hidden;
}

.site-nav:has(.account-nav-item.is-account-open) .account-nav-item:not(.account-no-dropdown) .nav-dropdown.is-account-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(8px);
}

.account-mini-card {
  display: grid;
  gap: 7px;
  justify-items: start;
  padding: 0;
  background: transparent;
  box-shadow: none;
}

.account-mini-row {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 8px;
  min-height: 28px;
  margin: 0;
  color: rgba(255, 255, 255, .88);
  background: transparent;
  font-size: clamp(16px, 1vw, 20px);
  font-weight: 500;
  line-height: 1.45;
  text-align: left;
  text-shadow: 0 2px 10px rgba(0, 0, 0, .82), 0 0 12px rgba(255, 255, 255, .18);
}

.account-mini-row span {
  min-width: 70px;
  color: rgba(255, 255, 255, .68);
}

.account-mini-row strong {
  color: #ffd98a;
  text-align: left;
  font: inherit;
  font-weight: 900;
}

.account-mini-row:first-child strong {
  color: #ffd98a;
}

.account-mini-action {
  justify-self: start;
  margin-top: 4px;
  padding: 0;
  border: 0;
  color: #ff6b55;
  background: transparent;
  font-size: clamp(16px, 1vw, 20px);
  font-weight: 900;
  line-height: 1.35;
  text-align: left;
  text-shadow: 0 2px 10px rgba(0, 0, 0, .82), 0 0 12px rgba(255, 80, 60, .20);
  cursor: pointer;
}

.account-mini-action:hover {
  color: #ff9a86;
}

.account-mini-logout {
  justify-self: start;
  min-height: 24px;
  padding: 0;
  border: 0;
  color: #ff6b55;
  background: transparent;
  font-size: clamp(14px, .86vw, 16px);
  font-weight: 900;
  line-height: 1.3;
  text-align: left;
  text-shadow: 0 2px 10px rgba(0, 0, 0, .82), 0 0 12px rgba(255, 80, 60, .20);
  cursor: pointer;
}

.account-mini-logout:hover {
  color: #ff9a86;
  background: transparent;
}

.account-modal {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: grid;
  place-items: center;
  padding: 24px;
  opacity: 0;
  visibility: hidden;
  transition: opacity .18s ease, visibility .18s ease;
}

.account-modal.is-open {
  opacity: 1;
  visibility: visible;
}

body.is-busy {
  overflow: hidden;
}

body.is-busy > *:not(.page-busy):not(.account-modal) {
  filter: blur(3px) brightness(.62);
  pointer-events: none;
  user-select: none;
}

.page-busy {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(0, 0, 0, .42);
  opacity: 0;
  visibility: hidden;
  transition: opacity .16s ease, visibility .16s ease;
}

.page-busy.is-open {
  opacity: 1;
  visibility: visible;
}

.page-busy > div {
  min-width: min(320px, calc(100vw - 48px));
  padding: 22px 26px;
  border: 1px solid rgba(214, 178, 104, .36);
  background:
    radial-gradient(circle at 18% 0%, rgba(214, 178, 104, .18), transparent 12rem),
    rgba(8, 8, 8, .92);
  box-shadow: 0 18px 54px rgba(0, 0, 0, .50), inset 0 0 0 1px rgba(255, 255, 255, .035);
  text-align: center;
}

.page-busy strong {
  display: block;
  color: #fff5dd;
  font-size: 20px;
  line-height: 1.3;
}

.page-busy span {
  display: block;
  margin-top: 8px;
  color: rgba(245, 238, 226, .62);
  font-weight: 900;
}

body.register-page .sub-hero {
  min-height: 220px !important;
  padding-top: 88px !important;
  padding-bottom: 44px !important;
}

body.register-page .register-content {
  display: grid !important;
  place-items: start center !important;
  min-height: calc(100vh - 330px) !important;
  padding: clamp(44px, 5vw, 76px) clamp(24px, 7vw, 96px) 72px !important;
}

body.register-page .register-panel {
  width: min(820px, calc(100vw - 48px)) !important;
  max-width: 820px !important;
  min-height: 0 !important;
  padding: clamp(42px, 5vw, 62px) clamp(48px, 6vw, 78px) !important;
  box-shadow: 0 30px 78px rgba(0, 0, 0, .48) !important;
}

body.register-page .register-panel h2 {
  margin-bottom: 28px !important;
  font-size: clamp(40px, 3vw, 56px) !important;
  line-height: 1.05 !important;
}

body.register-page .register-panel .account-modal-form {
  gap: 18px !important;
}

body.register-page .register-panel .account-modal-form label span {
  margin-bottom: 9px !important;
  font-size: 15px !important;
}

body.register-page .register-panel .account-modal-form input {
  height: 54px !important;
  padding: 0 16px !important;
  font-size: 17px !important;
}

body.register-page .register-panel .account-form-hint {
  margin-top: -6px !important;
  margin-bottom: 4px !important;
  font-size: 14px !important;
  line-height: 1.8 !important;
}

body.register-page .register-panel .account-code-row {
  grid-template-columns: minmax(0, 1fr) 160px !important;
  gap: 14px !important;
}

body.register-page .register-panel .account-code-row .btn {
  height: 54px !important;
  font-size: 16px !important;
}

body.register-page .register-panel .account-modal-form > .btn[type="submit"] {
  height: 56px !important;
  margin-top: 2px !important;
  font-size: 17px !important;
}

body.register-page .register-panel .account-modal-links {
  justify-content: flex-end !important;
  gap: 26px !important;
  margin-top: 22px !important;
}

body.register-page .register-content > [data-account-status] {
  display: none !important;
}

body.password-reset-page .password-reset-fields {
  display: grid;
  gap: 18px;
}

body.password-reset-page .password-reset-fields[hidden] {
  display: none !important;
}

body.password-reset-page [data-password-reset-status][data-state="ok"] {
  color: #9ce6ad !important;
}

body.password-reset-page [data-password-reset-status][data-state="error"] {
  color: #ffaaa2 !important;
}

@media (max-width: 760px) {
  body.register-page .sub-hero {
    min-height: 160px !important;
    padding-top: 78px !important;
    padding-bottom: 28px !important;
  }

  body.register-page .register-content {
    padding: 24px 16px 48px !important;
  }

  body.register-page .register-panel {
    width: 100% !important;
    padding: 30px 20px !important;
  }

  body.register-page .register-panel h2 {
    font-size: 34px !important;
  }

  body.register-page .register-panel .account-code-row {
    grid-template-columns: 1fr !important;
  }
}

body.register-page .register-content {
  display: flex !important;
  justify-content: flex-end !important;
  align-items: flex-start !important;
  min-height: calc(100vh - 300px) !important;
  padding: clamp(44px, 5vw, 76px) clamp(72px, 9vw, 150px) 72px clamp(24px, 5vw, 96px) !important;
}

body.register-page .register-panel {
  width: min(520px, calc(100vw - 48px)) !important;
  max-width: 520px !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  color: #f6ead0 !important;
}

body.register-page .register-panel::before,
body.register-page .register-panel::after {
  display: none !important;
  content: none !important;
}

body.register-page .register-panel h2 {
  margin-bottom: 26px !important;
  color: #ffe39a !important;
  font-size: 48px !important;
  line-height: 1.05 !important;
}

body.register-page .register-panel .account-modal-form {
  width: 100% !important;
}

body.register-page .register-panel .account-modal-form input {
  background: rgba(0, 0, 0, .72) !important;
}

body.register-page .register-panel .account-modal-links {
  justify-content: flex-end !important;
}

@media (max-width: 900px) {
  body.register-page .register-content {
    justify-content: center !important;
    padding-right: 24px !important;
    padding-left: 24px !important;
  }
}

/* 20260622 separation repair: keep account/loading surfaces dark on all web pages. */
.page-busy > div,
body:not(.app-home-body):not(.app-screen-body):not(.act4-app-shell) .page-busy > div {
  border: 1px solid rgba(214, 178, 104, .48) !important;
  background:
    radial-gradient(circle at 18% 0%, rgba(214, 178, 104, .22), transparent 11rem),
    linear-gradient(180deg, rgba(28, 18, 10, .98), rgba(7, 6, 5, .98)) !important;
  color: #fff5dd !important;
  box-shadow: 0 24px 70px rgba(0, 0, 0, .62), inset 0 1px 0 rgba(255, 255, 255, .08) !important;
}

.page-busy strong,
body:not(.app-home-body):not(.app-screen-body):not(.act4-app-shell) .page-busy strong {
  color: #fff5dd !important;
}

.page-busy span,
body:not(.app-home-body):not(.app-screen-body):not(.act4-app-shell) .page-busy span {
  color: rgba(245, 238, 226, .68) !important;
}

.account-modal-panel,
.register-panel {
  border: 1px solid rgba(214, 178, 104, .42) !important;
  background:
    radial-gradient(circle at 10% 0%, rgba(214, 178, 104, .16), transparent 13rem),
    linear-gradient(180deg, rgba(28, 19, 11, .98), rgba(9, 7, 6, .98)) !important;
  color: #f8ead2 !important;
  box-shadow: 0 28px 80px rgba(0, 0, 0, .55) !important;
}

.account-modal h2,
.register-panel h2 {
  color: #fff5dd !important;
}

.account-modal-form label span,
.account-modal-note,
.register-panel .account-modal-form label span {
  color: rgba(245, 238, 226, .72) !important;
}

.account-modal-form input,
.register-panel .account-modal-form input {
  border-color: rgba(214, 178, 104, .34) !important;
  background: rgba(0, 0, 0, .62) !important;
  color: #fff !important;
}

.account-modal-form input:focus,
.register-panel .account-modal-form input:focus {
  border-color: rgba(214, 178, 104, .78) !important;
  box-shadow: 0 0 0 3px rgba(214, 178, 104, .16) !important;
}

.account-modal-links {
  display: flex;
  justify-content: center;
  gap: 18px;
  margin-top: 12px;
}

.account-modal-links a,
.account-modal-links button {
  border: 0;
  background: transparent;
  color: #5fb0ff !important;
  cursor: pointer;
  font: inherit;
  font-weight: 800;
  text-decoration: none;
}

.account-modal-links a:hover,
.account-modal-links button:hover {
  color: #8fcdff !important;
}

body:not(.act4-app-shell).account-modal-open .account-modal {
  background: rgba(0, 0, 0, .72) !important;
}

body:not(.act4-app-shell).account-modal-open .account-modal-panel {
  border: 1px solid rgba(214, 178, 104, .42) !important;
  background:
    radial-gradient(circle at 18% 0%, rgba(214, 178, 104, .16), transparent 14rem),
    linear-gradient(180deg, rgba(25, 17, 11, .98), rgba(8, 7, 6, .98)) !important;
  color: #f6ead0 !important;
  box-shadow: 0 28px 90px rgba(0, 0, 0, .66), inset 0 1px 0 rgba(255, 255, 255, .08) !important;
}

body:not(.act4-app-shell).account-modal-open .account-modal-panel h2,
body:not(.act4-app-shell).account-modal-open .shop-order-result strong {
  color: #ffe39a !important;
}

body:not(.act4-app-shell).account-modal-open .account-modal-close,
body:not(.act4-app-shell).account-modal-open .shop-order-result span {
  color: rgba(255, 245, 221, .68) !important;
}

body:not(.act4-app-shell).account-modal-open .shop-order-result p {
  border-color: rgba(214, 178, 104, .18) !important;
  color: rgba(255, 245, 221, .82) !important;
}

body:not(.act4-app-shell).account-modal-open .shop-pay-actions .shop-pay-alipay {
  border-color: rgba(224, 169, 67, .72) !important;
  color: #2a1704 !important;
  background: linear-gradient(180deg, #f0c35f, #b77418 54%, #6b3f0c) !important;
}

body:not(.act4-app-shell).account-modal-open .shop-pay-actions .shop-pay-wxpay {
  border-color: rgba(239, 89, 65, .78) !important;
  color: #fff5dd !important;
  background: linear-gradient(180deg, #d94a37, #a6221b 54%, #5c120e) !important;
}

body:not(.act4-app-shell) .reward-grid button,
body:not(.act4-app-shell) .reward-grid p {
  border-color: rgba(214, 178, 104, .46);
  color: #2b1904;
  background:
    linear-gradient(180deg, #efd27b, #c58b2b 56%, #83500f),
    #1a1208;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .28), inset 0 -12px 22px rgba(71, 38, 4, .22);
}

body:not(.act4-app-shell) .reward-grid button:hover {
  border-color: rgba(255, 218, 126, .72);
  color: #1e1002;
  background:
    linear-gradient(180deg, #f5d982, #cd932f 56%, #895410),
    #1a1208;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .32), 0 0 16px rgba(214, 178, 104, .18);
}

body:not(.act4-app-shell) .reward-grid button.is-ready,
body:not(.act4-app-shell) .reward-grid button.is-current {
  border-color: rgba(244, 92, 72, .8);
  color: #fff7df;
  background:
    linear-gradient(180deg, #e74b3b, #b82d25 58%, #681510),
    #1a0705;
  box-shadow: inset 0 1px 0 rgba(255, 226, 168, .22), 0 0 16px rgba(218, 53, 40, .26);
}

body:not(.act4-app-shell) .reward-grid button.is-claimed {
  border-color: rgba(161, 107, 25, .72);
  color: #ffe39a;
  background:
    linear-gradient(180deg, #8b5a16, #5d3708 58%, #2a1804),
    #120b03;
  box-shadow: inset 0 1px 0 rgba(255, 213, 128, .12);
}

body:not(.act4-app-shell) .reward-ready-badge {
  border-color: rgba(255, 220, 133, .62);
  color: #fff7df;
  background: linear-gradient(180deg, #d6402f, #7e1712);
}

body:not(.act4-app-shell) [data-vip-gated-content][hidden],
body:not(.act4-app-shell) .graduate-panel:not(.is-active) {
  display: none !important;
}

body:not(.act4-app-shell) .graduate-side-menu {
  border: 1px solid rgba(214, 178, 104, .26);
  background:
    linear-gradient(180deg, rgba(28, 22, 15, .92), rgba(10, 9, 8, .92));
}

body:not(.act4-app-shell) .graduate-side-menu button {
  width: 100%;
  min-height: 42px;
  border: 1px solid rgba(214, 178, 104, .26);
  color: #e7c676;
  background: linear-gradient(180deg, rgba(39, 30, 17, .94), rgba(14, 11, 8, .94));
  font-weight: 900;
  cursor: pointer;
}

body:not(.act4-app-shell) .graduate-side-menu button + button {
  margin-top: 8px;
}

body:not(.act4-app-shell) .graduate-side-menu button.is-active,
body:not(.act4-app-shell) .graduate-side-menu button:hover {
  border-color: rgba(255, 218, 126, .68);
  color: #201306;
  background: linear-gradient(180deg, #edd07a, #bd8125 56%, #70410a);
}

body:not(.act4-app-shell) .graduate-content-shell {
  min-width: 0;
}

body:not(.act4-app-shell) .graduate-tabs {
  display: block;
}

body:not(.act4-app-shell) .graduate-item-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
}

body:not(.act4-app-shell) .graduate-item-card {
  margin: 0;
  padding: 14px;
  border: 1px solid rgba(214, 178, 104, .22);
  background:
    radial-gradient(circle at 24% 0%, rgba(214, 178, 104, .12), transparent 12rem),
    rgba(8, 7, 6, .68);
}

body:not(.act4-app-shell) .graduate-item-card img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid rgba(214, 178, 104, .18);
  background: rgba(0, 0, 0, .32);
}

body:not(.act4-app-shell) .graduate-item-card figcaption {
  display: grid;
  gap: 5px;
  margin-top: 10px;
}

body:not(.act4-app-shell) .graduate-item-card strong {
  color: #ffe39a;
}

body:not(.act4-app-shell) .graduate-item-card span {
  color: rgba(255, 245, 221, .64);
  font-weight: 900;
}

body:not(.act4-app-shell).account-modal-open .account-modal {
  background: rgba(0, 0, 0, .72) !important;
}

body:not(.act4-app-shell).account-modal-open .account-modal-panel {
  border: 1px solid rgba(214, 178, 104, .42) !important;
  background:
    radial-gradient(circle at 18% 0%, rgba(214, 178, 104, .16), transparent 14rem),
    linear-gradient(180deg, rgba(25, 17, 11, .98), rgba(8, 7, 6, .98)) !important;
  color: #f6ead0 !important;
  box-shadow: 0 28px 90px rgba(0, 0, 0, .66), inset 0 1px 0 rgba(255, 255, 255, .08) !important;
}

body:not(.act4-app-shell).account-modal-open .account-modal-panel h2,
body:not(.act4-app-shell).account-modal-open .shop-order-result strong {
  color: #ffe39a !important;
}

body:not(.act4-app-shell).account-modal-open .account-modal-close,
body:not(.act4-app-shell).account-modal-open .shop-order-result span {
  color: rgba(255, 245, 221, .68) !important;
}

body:not(.act4-app-shell).account-modal-open .shop-order-result p {
  border-color: rgba(214, 178, 104, .18) !important;
  color: rgba(255, 245, 221, .82) !important;
}

body:not(.act4-app-shell).account-modal-open .shop-pay-actions .shop-pay-alipay {
  border-color: rgba(224, 169, 67, .72) !important;
  color: #2a1704 !important;
  background: linear-gradient(180deg, #f0c35f, #b77418 54%, #6b3f0c) !important;
}

body:not(.act4-app-shell).account-modal-open .shop-pay-actions .shop-pay-wxpay {
  border-color: rgba(239, 89, 65, .78) !important;
  color: #fff5dd !important;
  background: linear-gradient(180deg, #d94a37, #a6221b 54%, #5c120e) !important;
}

body:not(.act4-app-shell) .reward-grid button,
body:not(.act4-app-shell) .reward-grid p {
  border-color: rgba(214, 178, 104, .46);
  color: #2b1904;
  background:
    linear-gradient(180deg, #efd27b, #c58b2b 56%, #83500f),
    #1a1208;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .28), inset 0 -12px 22px rgba(71, 38, 4, .22);
}

body:not(.act4-app-shell) .reward-grid button:hover {
  border-color: rgba(255, 218, 126, .72);
  color: #1e1002;
  background:
    linear-gradient(180deg, #f5d982, #cd932f 56%, #895410),
    #1a1208;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .32), 0 0 16px rgba(214, 178, 104, .18);
}

body:not(.act4-app-shell) .reward-grid button.is-ready,
body:not(.act4-app-shell) .reward-grid button.is-current {
  border-color: rgba(244, 92, 72, .8);
  color: #fff7df;
  background:
    linear-gradient(180deg, #e74b3b, #b82d25 58%, #681510),
    #1a0705;
  box-shadow: inset 0 1px 0 rgba(255, 226, 168, .22), 0 0 16px rgba(218, 53, 40, .26);
}

body:not(.act4-app-shell) .reward-grid button.is-claimed {
  border-color: rgba(161, 107, 25, .72);
  color: #ffe39a;
  background:
    linear-gradient(180deg, #8b5a16, #5d3708 58%, #2a1804),
    #120b03;
  box-shadow: inset 0 1px 0 rgba(255, 213, 128, .12);
}

body:not(.act4-app-shell) .reward-ready-badge {
  border-color: rgba(255, 220, 133, .62);
  color: #fff7df;
  background: linear-gradient(180deg, #d6402f, #7e1712);
}

body:not(.act4-app-shell) [data-vip-gated-content][hidden],
body:not(.act4-app-shell) .graduate-panel:not(.is-active) {
  display: none !important;
}

body:not(.act4-app-shell) .graduate-side-menu {
  border: 1px solid rgba(214, 178, 104, .26);
  background:
    linear-gradient(180deg, rgba(28, 22, 15, .92), rgba(10, 9, 8, .92));
}

body:not(.act4-app-shell) .graduate-side-menu button {
  width: 100%;
  min-height: 42px;
  border: 1px solid rgba(214, 178, 104, .26);
  color: #e7c676;
  background: linear-gradient(180deg, rgba(39, 30, 17, .94), rgba(14, 11, 8, .94));
  font-weight: 900;
  cursor: pointer;
}

body:not(.act4-app-shell) .graduate-side-menu button + button {
  margin-top: 8px;
}

body:not(.act4-app-shell) .graduate-side-menu button.is-active,
body:not(.act4-app-shell) .graduate-side-menu button:hover {
  border-color: rgba(255, 218, 126, .68);
  color: #201306;
  background: linear-gradient(180deg, #edd07a, #bd8125 56%, #70410a);
}

body:not(.act4-app-shell) .graduate-content-shell {
  min-width: 0;
}

body:not(.act4-app-shell) .graduate-tabs {
  display: block;
}

body:not(.act4-app-shell) .graduate-item-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
}

body:not(.act4-app-shell) .graduate-item-card {
  margin: 0;
  padding: 14px;
  border: 1px solid rgba(214, 178, 104, .22);
  background:
    radial-gradient(circle at 24% 0%, rgba(214, 178, 104, .12), transparent 12rem),
    rgba(8, 7, 6, .68);
}

body:not(.act4-app-shell) .graduate-item-card img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid rgba(214, 178, 104, .18);
  background: rgba(0, 0, 0, .32);
}

body:not(.act4-app-shell) .graduate-item-card figcaption {
  display: grid;
  gap: 5px;
  margin-top: 10px;
}

body:not(.act4-app-shell) .graduate-item-card strong {
  color: #ffe39a;
}

body:not(.act4-app-shell) .graduate-item-card span {
  color: rgba(255, 245, 221, .64);
  font-weight: 900;
}

.act4-toast {
  position: fixed;
  left: 50%;
  top: 22%;
  z-index: 10020;
  min-width: min(320px, calc(100vw - 48px));
  padding: 16px 24px;
  border: 1px solid rgba(145, 232, 170, .52);
  color: #eaffef;
  background:
    radial-gradient(circle at 18% 0%, rgba(145, 232, 170, .20), transparent 12rem),
    rgba(6, 18, 12, .95);
  box-shadow: 0 18px 52px rgba(0, 0, 0, .48), 0 0 28px rgba(145, 232, 170, .18);
  text-align: center;
  font-size: 20px;
  font-weight: 900;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, -12px);
  transition: opacity .18s ease, transform .18s ease;
}

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

.act4-toast.is-error {
  border-color: rgba(255, 122, 96, .56);
  color: #fff0ec;
  background:
    radial-gradient(circle at 18% 0%, rgba(255, 122, 96, .20), transparent 12rem),
    rgba(28, 8, 6, .95);
}

.account-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, .62);
  backdrop-filter: blur(5px);
}

.account-modal-panel {
  position: relative;
  z-index: 1;
  width: min(520px, calc(100vw - 32px));
  max-height: calc(100vh - 48px);
  overflow: auto;
  padding: 28px;
  border: 1px solid rgba(214, 178, 104, .26);
  background:
    radial-gradient(circle at 18% 0%, rgba(168, 42, 32, .24), transparent 18rem),
    linear-gradient(180deg, rgba(24, 21, 18, .98), rgba(7, 7, 7, .98));
  box-shadow: 0 28px 80px rgba(0, 0, 0, .58), inset 0 1px 0 rgba(255, 255, 255, .07);
}

.account-modal-close {
  position: absolute;
  right: 14px;
  top: 12px;
  width: 34px;
  height: 34px;
  border: 0;
  color: rgba(245, 238, 226, .72);
  background: transparent;
  font-size: 26px;
  cursor: pointer;
}

.account-modal-close:hover {
  color: #fff;
}

.account-modal h2 {
  margin: 0 0 18px;
  color: #fff5dd;
  text-align: center;
  font-size: 28px;
}

.account-modal.is-shop-success .account-modal-panel {
  width: min(980px, calc(100vw - 40px));
  padding: 34px 42px 38px;
}

.account-modal-form {
  display: grid;
  gap: 14px;
}

.account-modal-form label {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 900;
}

.account-modal-form input {
  height: 46px;
  padding: 0 13px;
  border: 1px solid rgba(214, 178, 104, .24);
  color: var(--text);
  background: rgba(8, 7, 6, .94);
  box-shadow: inset 0 0 0 1px rgba(255, 232, 166, .05);
  caret-color: var(--text);
  outline: none;
}

.account-modal-form input:focus {
  border-color: rgba(214, 178, 104, .56);
  box-shadow: 0 0 0 2px rgba(214, 178, 104, .16), inset 0 0 0 1px rgba(255, 232, 166, .08);
}

.account-modal-form input:-webkit-autofill,
.account-modal-form input:-webkit-autofill:hover,
.account-modal-form input:-webkit-autofill:focus {
  -webkit-text-fill-color: var(--text);
  caret-color: var(--text);
  box-shadow: 0 0 0 1000px #080706 inset, 0 0 0 2px rgba(214, 178, 104, .12);
  transition: background-color 9999s ease-out;
}

.account-modal-form p {
  min-height: 22px;
  margin: 0;
  color: #ff9a88;
  font-weight: 800;
}

.account-modal-form .account-form-hint {
  min-height: 0;
  color: rgba(245, 238, 226, .62);
  font-size: 12px;
  line-height: 1.6;
  font-weight: 700;
}

.account-code-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 120px;
  gap: 10px;
  align-items: end;
}

.account-code-row .btn {
  height: 46px;
  padding: 0 12px;
  white-space: nowrap;
}

.account-modal-note {
  margin: -6px 0 18px;
  color: rgba(245, 238, 226, .78);
  text-align: center;
  font-size: 18px;
}

.account-modal-note strong {
  color: #fff5dd;
}

.account-modal-logout {
  display: block;
  margin: 18px auto 0;
  border: 0;
  color: #ff6b55;
  background: transparent;
  font-size: 16px;
  font-weight: 900;
  cursor: pointer;
}

.account-modal-logout:hover {
  color: #ff9a86;
}

.nav-item:has(.nav-account) {
  flex: 1.15 1 0;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 84px;
}

.nav-item:has(.nav-account)::after {
  display: none;
}

.account-nav-item::before {
  position: absolute;
  left: calc(50% - 130px);
  top: 48px;
  width: 260px;
  height: 124px;
  content: "";
  z-index: 0;
}

.nav-account {
  z-index: 1;
  isolation: isolate;
  min-height: 0;
  height: 38px;
  width: auto;
  min-width: 96px;
  margin: 0 14px;
  padding: 0 20px;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 13px;
  color: rgba(255, 255, 255, .92);
  background:
    radial-gradient(circle at 18% 26%, rgba(91, 219, 255, .34), transparent 12px),
    linear-gradient(135deg, #7b2ce6 0%, #b63aa4 48%, #e06157 100%);
  box-shadow: 0 10px 20px rgba(0, 0, 0, .22), inset 0 1px 0 rgba(255, 255, 255, .18);
  font-size: 16px;
  font-weight: 900;
  text-shadow: 0 2px 8px rgba(255, 255, 255, .22);
  transition: transform .18s ease, filter .18s ease, box-shadow .18s ease, color .18s ease;
}

.nav-item > .nav-account {
  width: auto;
  min-width: 128px;
  min-height: 0;
  height: 42px;
  padding: 0 24px;
  font-size: 16px;
}

.nav-account::before {
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: inherit;
  background: linear-gradient(180deg, rgba(255, 255, 255, .18), transparent 55%);
  content: "";
}

.nav-account::after { display: none; }

.nav-account strong {
  color: inherit;
  font: inherit;
}

.account-login-dot {
  position: absolute;
  left: -36px;
  top: 50%;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: linear-gradient(135deg, #7838f6, #f25467);
  box-shadow: 0 0 20px rgba(116, 84, 255, .55), 0 0 18px rgba(242, 84, 103, .42);
  transform: translateY(-50%);
}

.nav-item:hover > .nav-account {
  color: #fff;
  background:
    radial-gradient(circle at 18% 26%, rgba(91, 219, 255, .42), transparent 12px),
    linear-gradient(135deg, #8a38ff 0%, #c545b1 48%, #eb6b5f 100%);
  box-shadow: 0 12px 24px rgba(0, 0, 0, .26), 0 0 18px rgba(178, 68, 214, .18), inset 0 1px 0 rgba(255, 255, 255, .24);
  filter: brightness(1.06);
  transform: translateY(-1px);
}

.nav-account.is-logged-in {
  min-width: 260px;
  height: 44px;
  padding: 0 18px;
  border: 0;
  border-radius: 8px;
  color: rgba(255, 255, 255, .90);
  background: transparent;
  box-shadow: none;
  font-size: clamp(16px, 1vw, 20px);
  text-shadow: 0 2px 10px rgba(0, 0, 0, .82), 0 0 12px rgba(255, 255, 255, .18);
}

.nav-account.is-logged-in::before {
  display: none;
}

.nav-item:hover > .nav-account.is-logged-in {
  color: #fff;
  background: rgba(255, 255, 255, .07);
  box-shadow: 0 0 26px rgba(255, 255, 255, .10);
  filter: none;
}

.account-welcome {
  color: rgba(255, 255, 255, .82);
  font-weight: 500;
}

.header-logout {
  margin-left: 8px;
  color: rgba(255, 255, 255, .88);
  font-weight: 900;
}

.header-logout:hover {
  color: #fff1bc;
}

.nav-item.account-no-dropdown .nav-dropdown {
  display: none;
}

.nav-item:has(.nav-account:not(.is-logged-in)) .nav-dropdown {
  display: none;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  color: var(--text);
  background: #111;
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 5px auto;
  background: var(--gold);
}

.mobile-account-trigger {
  display: none;
}

.hero {
  position: relative;
  min-height: 740px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 128px clamp(24px, 5vw, 72px) 124px;
  background:
    radial-gradient(circle at 50% 42%, rgba(0, 0, 0, .18), transparent 19rem),
    linear-gradient(180deg, rgba(0, 0, 0, .12), rgba(0, 0, 0, .58)),
    linear-gradient(90deg, rgba(0, 0, 0, .62), rgba(0, 0, 0, .18) 48%, rgba(0, 0, 0, .48)),
    url("assets/home-hero-bg.png") center / cover no-repeat,
    linear-gradient(115deg, #070707 0%, #15110d 46%, #1f1510 100%);
}

.hero::before {
  position: absolute;
  inset: 108px clamp(24px, 5vw, 72px) 72px;
  border: 1px solid rgba(214, 178, 104, .16);
  content: "";
}

.hero::after {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 72% 64%, rgba(206, 71, 39, .16), transparent 18rem),
    radial-gradient(circle at 24% 74%, rgba(214, 178, 104, .13), transparent 16rem);
  content: "";
  opacity: .82;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
}

.hero-content {
  width: 100%;
  display: grid;
  justify-items: center;
  text-align: center;
}

.eyebrow {
  margin-bottom: 18px;
  color: var(--gold);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero h1 {
  width: 100%;
  max-width: none;
  margin: 0 auto 28px;
  color: #f4efe4;
  font-size: clamp(76px, 9vw, 148px);
  font-family: "Microsoft YaHei", "PingFang SC", Arial, sans-serif;
  font-weight: 900;
  line-height: .92;
  letter-spacing: 0;
  white-space: nowrap;
  text-shadow: 0 6px 0 rgba(0, 0, 0, .42), 0 24px 52px rgba(0, 0, 0, .75);
}

.hero-subtitle {
  width: fit-content;
  margin-bottom: 22px;
  padding: 8px 18px;
  color: #1b1006;
  background: linear-gradient(180deg, #f1d78f, #b9872d);
  font-size: clamp(18px, 2vw, 26px);
  font-weight: 900;
}

.hero-lead {
  max-width: 880px;
  color: #d7cabb;
  font-size: 18px;
  margin-bottom: 0;
}

.hero-download-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 260px));
  justify-content: center;
  gap: 14px;
  width: min(560px, 88vw);
  margin-top: 42px;
}

.hero-download-option {
  display: grid;
  justify-items: center;
  gap: 8px;
  min-width: 0;
}

.btn.hero-download-button {
  position: relative;
  overflow: hidden;
  width: 100%;
  min-height: 42px;
  margin-top: 0;
  border-color: rgba(255, 134, 104, .82);
  color: #fff8ee;
  box-shadow: 0 0 0 1px rgba(255, 160, 128, .18), 0 16px 36px rgba(216, 54, 38, .34);
  font-size: 20px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, .42);
}

.btn.hero-download-button::before {
  position: absolute;
  inset: -45% auto -45% -70%;
  width: 54%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .62), transparent);
  content: "";
  transform: skewX(-18deg);
  animation: hero-button-shine 2.8s ease-in-out infinite;
}

.btn.hero-download-button:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 0 0 1px rgba(255, 160, 128, .28), 0 20px 44px rgba(216, 54, 38, .46);
}

.btn.hero-app-button {
  border-color: rgba(99, 224, 255, .82);
  color: #f0fdff;
  background:
    radial-gradient(circle at 16% 18%, rgba(134, 247, 255, .28), transparent 42%),
    linear-gradient(180deg, #1784c7, #0b3f85 58%, #082859);
  box-shadow: 0 0 0 1px rgba(99, 224, 255, .18), 0 16px 36px rgba(11, 105, 185, .38);
}

.btn.hero-app-button:hover {
  border-color: rgba(158, 244, 255, .96);
  box-shadow: 0 0 0 1px rgba(99, 224, 255, .28), 0 20px 44px rgba(11, 105, 185, .50);
}

.hero-backup-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 18px;
  color: #ff9478;
  font-size: 13px;
  font-weight: 900;
  line-height: 1.2;
  text-shadow: 0 2px 8px rgba(0, 0, 0, .45);
}

.hero-download-option.is-app-download .hero-backup-link {
  color: #63e0ff;
}

.hero-backup-link:hover {
  color: #fff5dd;
  text-decoration: underline;
  text-underline-offset: 4px;
}

@keyframes hero-button-shine {
  0%, 42% { left: -70%; }
  70%, 100% { left: 118%; }
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  min-width: 148px;
  padding: 12px 22px;
  border: 1px solid rgba(214, 178, 104, .38);
  color: #fff;
  background: #151515;
  font-weight: 900;
  transition: transform .16s ease, background .16s ease, border-color .16s ease;
}

.btn:hover {
  transform: translateY(-2px);
  border-color: var(--gold-2);
  box-shadow: 0 10px 28px rgba(168, 42, 32, .22);
}

.btn.primary { background: linear-gradient(180deg, #d84a37, #8d2119); }
.btn.secondary { background: linear-gradient(180deg, #2a241b, #141414); }
.btn.dark { background: #070707; }

.btn.primary.hero-download-button {
  background: linear-gradient(180deg, #ff6a4d, #d93626 52%, #8f1d16);
}

.quick-entry span,
.news-list span,
.event-grid span {
  color: var(--gold);
  font-size: 12px;
  font-weight: 900;
}

.quick-entry {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  margin: -26px clamp(20px, 6vw, 86px) 0;
  border: 1px solid rgba(214, 178, 104, .26);
  background: rgba(214, 178, 104, .18);
  box-shadow: var(--shadow);
}

.quick-entry > a,
.quick-entry > div {
  position: relative;
  overflow: hidden;
  min-height: 116px;
  padding: 24px 22px;
  background:
    linear-gradient(135deg, rgba(214, 178, 104, .12), transparent 52%),
    #181818;
}

.quick-entry > a::before,
.quick-entry > div::before {
  position: absolute;
  left: 0;
  top: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(180deg, var(--gold-2), var(--red-2));
  content: "";
}

.quick-entry > a:hover,
.quick-entry > div:hover {
  background: #241d14;
}

.quick-entry b,
.quick-entry span {
  display: block;
}

.quick-entry b {
  margin-bottom: 9px;
  color: #fff;
  font-size: 22px;
}

.quick-entry span {
  color: var(--muted);
}

.quick-download {
  display: grid;
  gap: 8px;
}

.download-actions {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 6px;
}

.download-actions a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 0 12px;
  border: 1px solid rgba(240, 212, 140, .36);
  color: #120c05;
  background: linear-gradient(180deg, #efd28a, #b8872f);
  font-size: 13px;
  font-weight: 900;
  white-space: nowrap;
}

.download-actions a.is-disabled,
.download-actions a.is-disabled:hover {
  color: rgba(245, 238, 226, .52);
  border-color: rgba(245, 238, 226, .12);
  background: rgba(255, 255, 255, .05);
  cursor: not-allowed;
  pointer-events: none;
}

.recommend-strip {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  padding: 30px clamp(20px, 6vw, 86px) 8px;
  color: var(--muted);
}

.recommend-strip span {
  color: var(--gold);
  font-weight: 900;
}

.recommend-strip a {
  padding: 7px 12px;
  border: 1px solid rgba(214, 178, 104, .22);
  background: #151515;
  font-size: 13px;
}

.recommend-strip a:hover {
  color: #120c05;
  background: linear-gradient(180deg, #efd28a, #b8872f);
}

.portal-grid,
.event-band,
.content-hub,
.sub-hero,
.sub-layout {
  padding: clamp(64px, 8vw, 104px) clamp(20px, 6vw, 86px);
}

.portal-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, .95fr);
  gap: 22px;
}

.section-title {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 18px;
}

.section-title h2 {
  margin: 0;
  color: #fff5dd;
  font-size: clamp(32px, 4vw, 50px);
  line-height: 1.05;
}

.content-hub > .section-title {
  display: block;
}

.news-panel,
.screenshot-panel,
.feature-card,
.event-grid article,
.hub-grid a,
.info-card,
.article-panel,
.side-menu {
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255, 255, 255, .04), rgba(255, 255, 255, .015)), var(--panel);
  box-shadow: var(--shadow);
}

.news-panel {
  padding: 26px;
}

.news-panel .section-title {
  flex-direction: row-reverse;
}

.screenshot-panel {
  overflow: hidden;
  padding: 10px;
}

.screenshot-carousel {
  position: relative;
  overflow: hidden;
  min-height: 470px;
  max-height: 620px;
  aspect-ratio: 4 / 3;
  width: min(100%, 920px);
  margin: 0 auto;
  border: 1px solid rgba(214, 178, 104, .22);
  background:
    radial-gradient(circle at 50% 50%, rgba(214, 178, 104, .08), transparent 28rem),
    #050505;
}

.screenshot-carousel figure {
  position: absolute;
  inset: 0;
  margin: 0;
  opacity: 0;
  transform: scale(1.02);
  transition: opacity .35s ease, transform .35s ease;
}

.screenshot-carousel figure.is-active {
  opacity: 1;
  transform: scale(1);
}

.screenshot-carousel img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}

.screenshot-carousel figcaption {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

.carousel-tabs {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 16px;
  z-index: 3;
  display: flex;
  gap: 10px;
  overflow-x: auto;
  scrollbar-width: thin;
  margin-top: 0;
  padding: 8px;
  border: 1px solid rgba(214, 178, 104, .16);
  background: rgba(0, 0, 0, .46);
}

.carousel-tabs button {
  flex: 0 0 auto;
  min-height: 36px;
  min-width: 76px;
  padding: 0 10px;
  border: 1px solid rgba(245, 238, 226, .10);
  color: rgba(245, 238, 226, .76);
  background: rgba(255, 255, 255, .04);
  cursor: pointer;
  font-size: 13px;
  font-weight: 900;
  transition: color .16s ease, background .16s ease, border-color .16s ease;
}

.carousel-tabs button.is-active,
.carousel-tabs button:hover {
  color: rgba(255, 245, 221, .9);
  border-color: rgba(240, 212, 140, .22);
  background: rgba(255, 255, 255, .075);
}

.carousel-tabs button.is-active {
  box-shadow: inset 0 -2px 0 rgba(214, 178, 104, .34);
}

.tabbar {
  display: flex;
  gap: 6px;
  margin-bottom: 16px;
  border-bottom: 1px solid rgba(214, 178, 104, .20);
}

.tabbar button {
  height: 40px;
  padding: 0 18px;
  border: 0;
  color: var(--muted);
  background: transparent;
  cursor: pointer;
}

.tabbar button.is-active {
  color: #120c05;
  background: linear-gradient(180deg, #efd28a, #b8872f);
  font-weight: 900;
}

.news-list { display: none; }
.news-list.is-active { display: grid; }

.news-list[data-paginated-news] a:nth-of-type(n+8) {
  display: none;
}

.news-list a {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr) 64px;
  gap: 14px;
  align-items: center;
  min-height: 64px;
  border-top: 1px solid rgba(214, 178, 104, .16);
}

.news-list a:hover b { color: var(--gold-2); }

.news-list b {
  overflow: hidden;
  color: #eee8dc;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 17px;
}

.news-list time {
  color: var(--muted);
  text-align: right;
}

.news-controls {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  min-height: 38px;
  margin-top: 16px;
}

.news-controls button {
  min-width: 76px;
  height: 38px;
  border: 1px solid rgba(214, 178, 104, .34);
  color: #fff4dd;
  background: rgba(7, 7, 7, .72);
  cursor: pointer;
  font-weight: 800;
}

.news-controls button:hover:not(:disabled) {
  color: #130c05;
  background: linear-gradient(180deg, #efd28a, #b8872f);
}

.news-controls button:disabled {
  opacity: .42;
  cursor: default;
}

.archive-list {
  display: grid;
  gap: 12px;
}

.archive-list a,
.article-nav a,
.group-card {
  border: 1px solid rgba(214, 178, 104, .22);
  background: rgba(7, 7, 7, .46);
}

.archive-list a {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr);
  gap: 16px;
  align-items: center;
  padding: 16px 18px;
}

.archive-list time {
  color: var(--gold);
  font-weight: 900;
}

.archive-list b {
  color: #fff5dd;
}

.info-query-page .article-panel {
  scroll-margin-top: 112px;
}

.info-query-intro {
  min-height: 260px;
}

.info-query-intro p {
  color: rgba(245, 238, 226, .72);
  line-height: 1.8;
}

.probability-grid {
  display: grid;
  grid-template-columns: minmax(0, 520px);
  gap: 0;
}

.probability-grid p {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 54px;
  margin: 0;
  padding: 7px 0;
  border: 0;
  background: transparent;
}

.probability-grid span,
.ranking-source {
  color: rgba(245, 238, 226, .62);
  font-weight: 900;
}

.probability-grid strong {
  color: #ffe39a;
  font-size: 18px;
}

.probability-table {
  display: grid;
  width: min(100%, 560px);
  overflow: hidden;
  border: 1px solid rgba(214, 178, 104, .28);
  background: rgba(7, 7, 7, .34);
}

.probability-table p {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 160px;
  align-items: center;
  margin: 0;
  border-top: 1px solid rgba(214, 178, 104, .16);
}

.probability-table p:first-child {
  border-top: 0;
}

.probability-table span,
.probability-table strong {
  min-height: 44px;
  padding: 10px 16px;
}

.probability-table strong {
  border-left: 1px solid rgba(214, 178, 104, .16);
  color: #ffe39a;
  text-align: right;
  font-size: 18px;
}

.probability-table span {
  color: rgba(245, 238, 226, .82);
  font-weight: 900;
}

.probability-table-head {
  background: rgba(214, 178, 104, .12);
}

.probability-table-head span,
.probability-table-head strong {
  color: #fff5dd;
}

.potential-attributes-panel {
  display: grid;
  gap: 22px;
}

.potential-attributes-head {
  display: grid;
  gap: 8px;
}

.potential-attributes-head h2 {
  margin: 0;
  font-size: clamp(28px, 4vw, 42px);
}

.potential-attributes-head p:last-child {
  margin: 0;
  color: rgba(245, 238, 226, .72);
}

.potential-table-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  align-items: start;
}

.potential-table-card {
  overflow: hidden;
  border: 1px solid rgba(214, 178, 104, .28);
  border-radius: 8px;
  background: rgba(7, 7, 7, .34);
}

.potential-table-card h3 {
  margin: 0;
  padding: 14px 18px;
  border-bottom: 1px solid rgba(214, 178, 104, .18);
  color: #ffe39a;
  font-size: 18px;
}

.potential-table {
  display: grid;
}

.potential-table p {
  position: relative;
  display: grid;
  grid-template-columns: minmax(104px, 1fr) minmax(74px, .72fr) minmax(74px, .72fr);
  gap: 14px;
  align-items: center;
  margin: 0;
  padding: 10px 18px;
  border-top: 1px solid rgba(214, 178, 104, .13);
}

.potential-table p:first-child {
  border-top: 0;
}

.potential-table-head {
  background: rgba(214, 178, 104, .12);
}

.potential-table p.potential-group-start {
  margin-top: 10px;
  border-top: 2px solid rgba(214, 178, 104, .42);
  border-radius: 6px 6px 0 0;
  background:
    linear-gradient(90deg, rgba(214, 178, 104, .16), transparent 34%),
    rgba(255, 255, 255, .025);
}

.potential-table .potential-table-head + p.potential-group-start {
  margin-top: 0;
}

.potential-table p.potential-group-start::before {
  position: absolute;
  left: 0;
  top: 9px;
  bottom: 9px;
  width: 3px;
  border-radius: 999px;
  background: rgba(214, 178, 104, .72);
  content: "";
}

.potential-table span,
.potential-table strong,
.potential-table em {
  min-width: 0;
  overflow-wrap: anywhere;
}

.potential-table span {
  color: rgba(245, 238, 226, .82);
  font-weight: 900;
}

.potential-table strong {
  color: #fff5dd;
  font-weight: 900;
}

.potential-table em {
  justify-self: end;
  color: #ffe39a;
  font-style: normal;
  font-weight: 900;
}

.potential-table .potential-tier-1 span,
.potential-table .potential-tier-1 strong,
.potential-table .potential-tier-1 em {
  color: #f4f4f4;
}

.potential-table .potential-tier-2 span,
.potential-table .potential-tier-2 strong,
.potential-table .potential-tier-2 em {
  color: #4fb3ff;
}

.potential-table .potential-tier-3 span,
.potential-table .potential-tier-3 strong,
.potential-table .potential-tier-3 em {
  color: #bd70ff;
}

.potential-table .potential-tier-4 span,
.potential-table .potential-tier-4 strong,
.potential-table .potential-tier-4 em {
  color: #ff65c8;
}

.potential-table .potential-tier-5 span,
.potential-table .potential-tier-5 strong,
.potential-table .potential-tier-5 em {
  color: #ffd763;
}

@media (max-width: 900px) {
  .potential-table-grid {
    grid-template-columns: 1fr;
  }
}

.embedded-tool {
  overflow: hidden;
  width: 100%;
  min-height: 620px;
  border: 1px solid rgba(214, 178, 104, .22);
  background: rgba(7, 7, 7, .54);
}

.embedded-tool iframe {
  display: block;
  width: 100%;
  height: 620px;
  border: 0;
  background: #fff;
}

.wide-tool-section {
  width: min(1680px, calc(100% - 48px));
  margin: 42px auto 70px;
}

.embedded-tool-full,
.embedded-tool-full iframe {
  height: 2400px;
  min-height: 2400px;
}

.skill-planner-app {
  display: grid;
  gap: 18px;
}

.skill-planner-toolbar {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 460px;
  gap: 18px;
  align-items: start;
}

.skill-planner-jobs,
.skill-planner-categories,
.skill-planner-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.skill-planner-jobs button,
.skill-planner-categories button,
.skill-planner-actions button {
  border: 1px solid rgba(214, 178, 104, .28);
  background: rgba(7, 7, 7, .48);
  color: #fff5dd;
  font: inherit;
  font-weight: 900;
  cursor: pointer;
}

.skill-planner-jobs button {
  display: grid;
  min-width: 132px;
  min-height: 64px;
  padding: 11px 14px;
  text-align: left;
}

.skill-planner-jobs button strong {
  font-size: 18px;
}

.skill-planner-jobs button span {
  color: rgba(245, 238, 226, .52);
  font-size: 12px;
}

.skill-planner-jobs button.is-active,
.skill-planner-categories button.is-active {
  border-color: rgba(255, 223, 141, .78);
  background: linear-gradient(180deg, rgba(214, 178, 104, .26), rgba(149, 46, 28, .20));
  box-shadow: 0 0 0 1px rgba(255, 223, 141, .12) inset;
}

.skill-planner-fields,
.skill-planner-filters {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  align-items: end;
}

.skill-planner-fields label,
.skill-planner-search {
  display: grid;
  gap: 7px;
  color: rgba(245, 238, 226, .62);
  font-size: 13px;
  font-weight: 900;
}

.skill-planner-fields input,
.skill-planner-fields select,
.skill-planner-search input {
  width: 100%;
  min-height: 46px;
  border: 1px solid rgba(214, 178, 104, .24);
  background: rgba(0, 0, 0, .46);
  color: #fff5dd;
  padding: 0 12px;
  font: inherit;
  font-weight: 900;
  outline: 0;
}

.skill-planner-fields input:focus,
.skill-planner-fields select:focus,
.skill-planner-search input:focus {
  border-color: rgba(255, 223, 141, .70);
  box-shadow: 0 0 0 3px rgba(214, 178, 104, .12);
}

.skill-planner-summary {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border: 1px solid rgba(214, 178, 104, .22);
  background: linear-gradient(135deg, rgba(214, 178, 104, .10), rgba(7, 7, 7, .56));
}

.skill-planner-summary div {
  display: grid;
  gap: 8px;
  min-height: 90px;
  padding: 18px;
  border-left: 1px solid rgba(255, 255, 255, .07);
}

.skill-planner-summary div:first-child {
  border-left: 0;
}

.skill-planner-summary span {
  color: rgba(245, 238, 226, .58);
  font-weight: 900;
}

.skill-planner-summary strong {
  color: #ffe39a;
  font-size: 34px;
  line-height: 1;
}

.skill-planner-summary strong.is-negative {
  color: #ff6d55;
}

.skill-planner-filters {
  grid-template-columns: minmax(220px, 1fr) minmax(0, 1.6fr) 150px;
}

.skill-planner-categories {
  align-self: end;
}

.skill-planner-categories button {
  min-height: 42px;
  padding: 0 14px;
}

.skill-planner-check {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 46px;
  color: rgba(245, 238, 226, .78);
  font-weight: 900;
}

.skill-planner-check input {
  width: 18px;
  height: 18px;
  accent-color: #d23828;
}

.skill-planner-actions {
  align-items: center;
}

.skill-planner-actions button {
  min-height: 44px;
  padding: 0 18px;
}

.skill-planner-actions button:first-child {
  border-color: rgba(255, 112, 82, .48);
  background: linear-gradient(180deg, #ef4d3f, #a91f16);
  color: #fff8e7;
}

.skill-planner-actions span {
  color: rgba(245, 238, 226, .68);
  font-weight: 900;
}

.skill-planner-list {
  display: grid;
  gap: 12px;
}

.skill-card {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr) 160px;
  gap: 16px;
  align-items: center;
  min-height: 118px;
  padding: 16px;
  border: 1px solid rgba(214, 178, 104, .16);
  background: linear-gradient(135deg, rgba(255, 255, 255, .035), rgba(7, 7, 7, .58));
}

.skill-card.is-selected {
  border-color: rgba(255, 223, 141, .48);
  box-shadow: 0 0 0 1px rgba(255, 223, 141, .10) inset;
}

.skill-icon-badge {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border: 1px solid rgba(214, 178, 104, .34);
  background: radial-gradient(circle at 35% 25%, rgba(255, 223, 141, .32), rgba(151, 39, 25, .18) 48%, rgba(0, 0, 0, .72));
  color: #ffe39a;
  font-size: 16px;
  font-weight: 1000;
  overflow: hidden;
}

.skill-card-main {
  display: grid;
  gap: 9px;
  min-width: 0;
}

.skill-card-main header {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.skill-card-main h3 {
  margin: 0;
  color: #fff5dd;
  font-size: 20px;
  line-height: 1.25;
}

.skill-card-main header span {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 0 8px;
  border: 1px solid rgba(214, 178, 104, .22);
  color: rgba(255, 227, 154, .92);
  font-size: 12px;
  font-weight: 900;
}

.skill-card-main p {
  margin: 0;
  color: rgba(245, 238, 226, .72);
  line-height: 1.7;
}

.skill-card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.skill-card-meta span {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 9px;
  border: 1px solid rgba(255, 255, 255, .08);
  background: rgba(0, 0, 0, .24);
  color: rgba(245, 238, 226, .60);
  font-size: 12px;
  font-weight: 900;
}

.skill-level-box {
  display: grid;
  gap: 8px;
  justify-items: stretch;
}

.skill-level-control {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) 42px;
  min-height: 42px;
  border: 1px solid rgba(214, 178, 104, .28);
}

.skill-level-control button,
.skill-level-control strong {
  display: grid;
  place-items: center;
  border: 0;
  background: rgba(7, 7, 7, .48);
  color: #fff5dd;
  font: inherit;
  font-weight: 1000;
}

.skill-level-control button {
  cursor: pointer;
}

.skill-level-control button:disabled {
  cursor: not-allowed;
  opacity: .45;
}

.skill-level-control strong {
  border-left: 1px solid rgba(214, 178, 104, .18);
  border-right: 1px solid rgba(214, 178, 104, .18);
  color: #ffe39a;
}

.skill-level-box small {
  color: rgba(245, 238, 226, .66);
  font-size: 13px;
  font-weight: 900;
  text-align: right;
}

.skill-planner-empty {
  min-height: 160px;
  padding: 42px 28px;
  border: 1px solid rgba(214, 178, 104, .20);
  background: rgba(7, 7, 7, .38);
  color: rgba(245, 238, 226, .72);
  font-weight: 900;
}

.skill-classic {
  display: grid;
  gap: 12px;
  color: rgba(245, 238, 226, .86);
}

.skill-classic-select[hidden],
.skill-classic-workbench[hidden] {
  display: none !important;
}

.skill-classic-select {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr) 260px;
  min-height: 560px;
  border: 1px solid rgba(214, 178, 104, .26);
  background:
    radial-gradient(circle at 36% 48%, rgba(93, 154, 185, .26), transparent 230px),
    radial-gradient(circle at 34% 46%, rgba(32, 82, 107, .38), transparent 330px),
    linear-gradient(90deg, rgba(4, 6, 8, .98), rgba(12, 16, 21, .94) 68%, rgba(13, 13, 13, .98)),
    repeating-linear-gradient(0deg, transparent 0 48px, rgba(214, 178, 104, .05) 48px 49px);
  overflow: hidden;
}

.skill-select-portraits {
  display: grid;
  align-content: start;
  gap: 8px;
  padding: 18px 12px;
  border-right: 1px solid rgba(214, 178, 104, .18);
  background: rgba(0, 0, 0, .24);
}

.skill-select-portraits button {
  display: grid;
  place-items: center;
  gap: 3px;
  width: 64px;
  min-height: 62px;
  border: 1px solid rgba(214, 178, 104, .48);
  background: linear-gradient(135deg, rgba(255, 255, 255, .10), rgba(0, 0, 0, .72));
  color: rgba(245, 238, 226, .70);
  font: inherit;
  font-size: 11px;
  font-weight: 900;
  cursor: pointer;
  filter: grayscale(1);
}

.skill-select-portraits button.is-active {
  border-color: #ffdd7d;
  color: #fff5dd;
  filter: none;
  box-shadow: 0 0 0 2px rgba(0, 0, 0, .68) inset, 0 0 12px rgba(255, 223, 141, .20);
}

.skill-select-portraits span {
  display: grid;
  place-items: center;
  width: 40px;
  height: 34px;
  background: radial-gradient(circle at 35% 25%, rgba(255, 236, 174, .44), rgba(128, 42, 34, .45));
  color: #fff5dd;
  font-size: 15px;
  font-weight: 1000;
}

.skill-select-portraits b {
  font-size: 11px;
  line-height: 1.1;
}

.skill-select-stage {
  position: relative;
  display: grid;
  grid-template-columns: minmax(240px, .95fr) minmax(260px, .85fr);
  gap: 12px;
  align-items: center;
  min-width: 0;
  padding: 34px 22px;
}

.skill-select-stage::before {
  position: absolute;
  inset: 48px auto 28px 90px;
  width: min(45%, 330px);
  border: 1px solid rgba(156, 207, 232, .20);
  background:
    radial-gradient(circle, rgba(112, 178, 212, .24), transparent 48%),
    linear-gradient(135deg, rgba(16, 44, 62, .55), rgba(3, 5, 7, .82));
  box-shadow: 0 0 80px rgba(63, 150, 190, .12) inset;
  content: "";
}

.skill-select-figure {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  justify-self: center;
  width: min(280px, 100%);
  aspect-ratio: 3 / 4;
  color: rgba(255, 245, 221, .92);
  font-size: clamp(54px, 8vw, 94px);
  font-weight: 1000;
  text-shadow: 0 8px 24px rgba(0, 0, 0, .9), 0 0 36px rgba(110, 187, 227, .36);
}

.skill-select-main {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 14px;
  align-content: center;
  min-width: 0;
}

.skill-select-main p {
  margin: 0;
  color: #ffe39a;
  font-size: 24px;
  font-weight: 1000;
}

.skill-select-main h2 {
  margin: 0;
  color: #d7fbff;
  font-size: clamp(36px, 4.5vw, 56px);
  line-height: .95;
  text-shadow: 0 0 20px rgba(97, 210, 234, .30);
}

.skill-select-main > span {
  color: #fff5dd;
  font-size: 18px;
  font-weight: 900;
}

.skill-select-main h3 {
  margin: 8px 0 -4px;
  color: #ffe39a;
  font-size: 18px;
}

.skill-select-builds {
  display: grid;
  grid-template-columns: repeat(2, minmax(112px, 1fr));
  gap: 8px;
}

.skill-select-builds button,
.skill-select-actions button {
  min-height: 38px;
  border: 1px solid rgba(255, 226, 128, .72);
  background: linear-gradient(180deg, #20242a, #06111a);
  color: #fff5dd;
  font: inherit;
  font-weight: 900;
  cursor: pointer;
}

.skill-select-builds button.is-active {
  background: linear-gradient(180deg, #4a3f2d, #17110b);
  box-shadow: 0 0 0 1px rgba(255, 223, 141, .14) inset;
}

.skill-select-level {
  display: grid;
  grid-template-columns: 88px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  color: #ffe39a;
  font-size: 16px;
  font-weight: 1000;
}

.skill-select-level input {
  min-height: 36px;
  border: 1px solid rgba(255, 226, 128, .58);
  background: rgba(0, 0, 0, .52);
  color: #fff5dd;
  text-align: center;
  font: inherit;
  font-size: 20px;
  font-weight: 1000;
}

.skill-select-checks {
  display: grid;
  gap: 10px;
  color: #ffe39a;
  font-weight: 1000;
}

.skill-select-checks input {
  accent-color: #5bf0ff;
}

.skill-select-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(120px, 1fr));
  gap: 50px;
  margin-top: 12px;
}

.skill-select-actions button {
  min-height: 36px;
  color: #ffe268;
  background: linear-gradient(180deg, #0e5d9f, #072949);
}

.skill-select-help {
  display: grid;
  align-content: start;
  gap: 16px;
  padding: 42px 18px 18px;
  border-left: 1px solid rgba(214, 178, 104, .18);
  background: rgba(0, 0, 0, .34);
}

.skill-select-help h3 {
  margin: 0 0 6px;
  color: #fff5dd;
  font-size: 20px;
  text-align: center;
}

.skill-select-help p {
  margin: 0;
  color: rgba(245, 238, 226, .70);
  line-height: 1.9;
}

.skill-classic-title {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 16px;
  align-items: center;
  min-height: 82px;
  padding: 14px 16px;
  border: 1px solid rgba(214, 178, 104, .28);
  background:
    linear-gradient(180deg, rgba(45, 42, 36, .96), rgba(12, 12, 12, .96)),
    repeating-linear-gradient(90deg, transparent 0 88px, rgba(214, 178, 104, .08) 88px 89px);
}

.skill-classic-title strong {
  display: block;
  color: #fff5dd;
  font-size: 24px;
  line-height: 1.2;
}

.skill-classic-title span {
  color: rgba(255, 227, 154, .78);
  font-size: 13px;
  font-weight: 900;
}

.skill-classic-sp {
  display: grid;
  grid-template-columns: repeat(3, minmax(92px, 1fr));
  border: 1px solid rgba(214, 178, 104, .20);
  background: rgba(0, 0, 0, .42);
}

.skill-classic-sp p {
  display: grid;
  gap: 4px;
  min-height: 58px;
  margin: 0;
  padding: 9px 14px;
  border-left: 1px solid rgba(255, 255, 255, .07);
}

.skill-classic-sp p:first-child {
  border-left: 0;
}

.skill-classic-sp span {
  color: rgba(245, 238, 226, .56);
  font-size: 12px;
  font-weight: 900;
}

.skill-classic-sp b {
  color: #ffe39a;
  font-size: 24px;
  line-height: 1;
}

.skill-classic-sp b.is-negative {
  color: #ff6d55;
}

.skill-classic-topbar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  min-height: 46px;
  padding: 8px 10px;
  border: 1px solid rgba(214, 178, 104, .22);
  background: linear-gradient(180deg, rgba(28, 28, 26, .96), rgba(8, 8, 8, .96));
}

.skill-classic-topbar button {
  min-height: 32px;
  padding: 0 16px;
  border: 1px solid rgba(214, 178, 104, .38);
  background: linear-gradient(180deg, #2b2924, #0b0b0b);
  color: #fff5dd;
  font: inherit;
  font-weight: 900;
  cursor: pointer;
}

.skill-classic-topbar button:first-child {
  background: linear-gradient(180deg, #ef4d3f, #a91f16);
  border-color: rgba(255, 112, 82, .58);
}

.skill-classic-topbar label,
.skill-classic-topbar span {
  color: rgba(245, 238, 226, .70);
  font-size: 13px;
  font-weight: 900;
}

.skill-classic-body {
  display: grid;
  grid-template-columns: 190px minmax(0, 1fr) 280px;
  gap: 12px;
  align-items: stretch;
}

.skill-classic-left,
.skill-classic-tree-wrap,
.skill-classic-detail,
.skill-classic-plan {
  border: 1px solid rgba(214, 178, 104, .24);
  background:
    linear-gradient(180deg, rgba(28, 28, 26, .96), rgba(8, 8, 8, .96)),
    repeating-linear-gradient(0deg, transparent 0 72px, rgba(214, 178, 104, .05) 72px 73px);
}

.skill-classic-left {
  display: grid;
  align-content: start;
  gap: 10px;
  padding: 12px;
}

.skill-classic-left h3,
.skill-classic-detail h3,
.skill-classic-plan h3 {
  margin: 0;
  color: #ffe39a;
  font-size: 16px;
  line-height: 1.2;
}

.skill-classic-jobs {
  display: grid;
  gap: 8px;
}

.skill-classic-jobs button {
  display: grid;
  gap: 3px;
  min-height: 46px;
  padding: 8px 10px;
  border: 1px solid rgba(214, 178, 104, .24);
  background: rgba(0, 0, 0, .34);
  color: #fff5dd;
  font: inherit;
  font-weight: 900;
  text-align: left;
  cursor: pointer;
}

.skill-classic-jobs button.is-active {
  background: linear-gradient(180deg, #4a3f2d, #21180f);
  border-color: rgba(255, 223, 141, .76);
  box-shadow: 0 0 0 1px rgba(255, 223, 141, .10) inset;
}

.skill-classic-jobs span {
  color: rgba(245, 238, 226, .48);
  font-size: 12px;
}

.skill-classic-left select,
.skill-classic-left input {
  width: 100%;
  min-height: 36px;
  border: 1px solid rgba(214, 178, 104, .28);
  background: #080808;
  color: #fff5dd;
  padding: 0 9px;
  font: inherit;
  font-weight: 900;
  outline: 0;
}

.skill-classic-inputs {
  display: grid;
  gap: 8px;
}

.skill-classic-inputs label {
  display: grid;
  gap: 5px;
  color: rgba(245, 238, 226, .58);
  font-size: 12px;
  font-weight: 900;
}

.skill-classic-legend {
  display: grid;
  gap: 7px;
  margin-top: 4px;
  padding-top: 10px;
  border-top: 1px solid rgba(214, 178, 104, .16);
  color: rgba(245, 238, 226, .64);
  font-size: 12px;
  font-weight: 900;
}

.skill-classic-legend span {
  display: flex;
  align-items: center;
  gap: 7px;
}

.skill-dot {
  width: 12px;
  height: 12px;
  border: 1px solid rgba(255, 255, 255, .20);
}

.skill-dot-passive { background: #6c3db2; }
.skill-dot-cancel { background: #d7d7d7; }
.skill-dot-active { background: #236b3c; }
.skill-dot-other { background: #883029; }

.skill-classic-tree-wrap {
  min-width: 0;
  padding: 10px;
  overflow: hidden;
}

.skill-classic-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 10px;
}

.skill-classic-tabs button {
  min-height: 34px;
  padding: 0 13px;
  border: 1px solid rgba(214, 178, 104, .26);
  background: linear-gradient(180deg, #2a2926, #0c0c0c);
  color: rgba(245, 238, 226, .78);
  font: inherit;
  font-weight: 900;
  cursor: pointer;
}

.skill-classic-tabs button.is-active {
  border-color: rgba(255, 223, 141, .72);
  background: linear-gradient(180deg, #5a462d, #24180e);
  color: #fff5dd;
}

.skill-level-ruler {
  display: grid;
  grid-template-columns: repeat(7, minmax(48px, 1fr));
  margin-bottom: 8px;
  border: 1px solid rgba(214, 178, 104, .16);
  background: rgba(0, 0, 0, .26);
}

.skill-level-ruler span {
  min-height: 26px;
  display: grid;
  place-items: center;
  border-left: 1px solid rgba(255, 255, 255, .06);
  color: rgba(245, 238, 226, .48);
  font-size: 12px;
  font-weight: 900;
}

.skill-level-ruler span:first-child {
  border-left: 0;
}

.skill-classic-tree {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(82px, 1fr));
  grid-auto-rows: 118px;
  gap: 10px;
  max-height: 690px;
  overflow: auto;
  padding: 10px;
  border: 1px solid rgba(214, 178, 104, .16);
  background:
    repeating-linear-gradient(90deg, transparent 0 82px, rgba(214, 178, 104, .06) 82px 83px),
    repeating-linear-gradient(0deg, transparent 0 118px, rgba(214, 178, 104, .05) 118px 119px),
    rgba(0, 0, 0, .28);
}

.skill-node {
  position: relative;
  display: grid;
  grid-template-rows: minmax(0, 1fr) 26px;
  gap: 6px;
  min-width: 0;
}

.skill-node-face {
  display: grid;
  grid-template-rows: 42px minmax(0, 1fr) 18px;
  place-items: center;
  min-width: 0;
  min-height: 0;
  padding: 6px;
  border: 1px solid rgba(255, 255, 255, .13);
  background: rgba(0, 0, 0, .52);
  color: #fff5dd;
  font: inherit;
  cursor: pointer;
}

.skill-node-face span {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(255, 255, 255, .22);
  color: #fff5dd;
  font-size: 13px;
  font-weight: 1000;
  line-height: 1;
  overflow: hidden;
}

.skill-node-face b {
  display: -webkit-box;
  overflow: hidden;
  color: #fff5dd;
  font-size: 12px;
  font-weight: 900;
  line-height: 1.18;
  text-align: center;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.skill-node-face em {
  color: rgba(245, 238, 226, .58);
  font-size: 11px;
  font-style: normal;
  font-weight: 900;
}

.skill-node-active .skill-node-face span { background: linear-gradient(135deg, #237a43, #0e2918); }
.skill-node-passive .skill-node-face span { background: linear-gradient(135deg, #7447b5, #28173f); }
.skill-node-cancel .skill-node-face span { background: linear-gradient(135deg, #e8e8e8, #666); color: #1b1b1b; }
.skill-node-other .skill-node-face span { background: linear-gradient(135deg, #a33a2f, #3a120d); }

.skill-node.is-learned .skill-node-face {
  border-color: rgba(255, 223, 141, .70);
  box-shadow: 0 0 0 1px rgba(255, 223, 141, .16) inset, 0 0 18px rgba(214, 178, 104, .10);
}

.skill-node.is-current .skill-node-face {
  outline: 2px solid rgba(255, 223, 141, .48);
  outline-offset: 2px;
}

.skill-node-control {
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr) 24px;
  min-height: 26px;
  border: 1px solid rgba(214, 178, 104, .24);
  background: rgba(0, 0, 0, .56);
}

.skill-node-control button,
.skill-node-control strong {
  display: grid;
  place-items: center;
  border: 0;
  background: transparent;
  color: #fff5dd;
  font: inherit;
  font-size: 12px;
  font-weight: 1000;
}

.skill-node-control button {
  cursor: pointer;
}

.skill-node-control button:disabled {
  color: rgba(245, 238, 226, .30);
  cursor: not-allowed;
}

.skill-node-control strong {
  border-left: 1px solid rgba(214, 178, 104, .14);
  border-right: 1px solid rgba(214, 178, 104, .14);
  color: #ffe39a;
}

.skill-classic-detail {
  display: grid;
  align-content: start;
  gap: 12px;
  padding: 12px;
  min-width: 0;
}

.skill-detail-card {
  display: grid;
  gap: 12px;
  min-width: 0;
}

.skill-detail-head {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
}

.skill-icon-large {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border: 1px solid rgba(255, 255, 255, .18);
  background: radial-gradient(circle at 30% 22%, rgba(255, 223, 141, .30), rgba(0, 0, 0, .78));
  color: #fff5dd;
  font-size: 17px;
  font-weight: 1000;
}

.skill-detail-head strong {
  display: block;
  color: #fff5dd;
  font-size: 20px;
  line-height: 1.25;
}

.skill-detail-head span {
  color: rgba(245, 238, 226, .54);
  font-size: 12px;
  font-weight: 900;
}

.skill-detail-card dl {
  display: grid;
  grid-template-columns: 78px minmax(0, 1fr);
  margin: 0;
  border: 1px solid rgba(214, 178, 104, .16);
}

.skill-detail-card dt,
.skill-detail-card dd {
  min-height: 32px;
  margin: 0;
  padding: 8px 9px;
  border-top: 1px solid rgba(255, 255, 255, .06);
  color: rgba(245, 238, 226, .70);
  font-size: 12px;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.skill-detail-card dt:nth-child(1),
.skill-detail-card dd:nth-child(2) {
  border-top: 0;
}

.skill-detail-card dt {
  background: rgba(214, 178, 104, .08);
  color: rgba(255, 227, 154, .86);
  font-weight: 900;
}

.skill-detail-card p {
  margin: 0;
  color: rgba(245, 238, 226, .72);
  font-size: 13px;
  line-height: 1.8;
}

.skill-classic-plan {
  display: grid;
  gap: 10px;
  padding: 12px;
}

.skill-classic-plan textarea {
  width: 100%;
  min-height: 118px;
  resize: vertical;
  border: 1px solid rgba(214, 178, 104, .22);
  background: rgba(0, 0, 0, .46);
  color: #fff5dd;
  padding: 12px;
  font: 13px/1.65 Consolas, "Microsoft YaHei", monospace;
  outline: 0;
}

.magic-box-table {
  display: grid;
  border: 1px solid rgba(214, 178, 104, .20);
  background: rgba(7, 7, 7, .38);
}

.magic-box-table p {
  display: grid;
  grid-template-columns: 170px minmax(0, 1fr) 150px;
  gap: 14px;
  align-items: center;
  margin: 0;
  padding: 14px 16px;
  border-top: 1px solid rgba(255, 255, 255, .07);
}

.magic-box-table p:first-child {
  border-top: 0;
}

.magic-box-table span {
  color: rgba(245, 238, 226, .62);
  font-weight: 900;
}

.magic-box-table strong {
  color: #fff5dd;
  overflow-wrap: anywhere;
}

.magic-box-table em {
  justify-self: end;
  color: #ffe39a;
  font-style: normal;
  font-weight: 900;
}

.magic-box-head {
  background: rgba(214, 178, 104, .10);
}

.magic-box-panel {
  display: grid;
  gap: 22px;
}

.magic-box-title-row {
  display: grid;
  gap: 12px;
}

.magic-box-title-row h2 {
  margin-bottom: 12px;
}

.magic-box-title-row p:not(.eyebrow) {
  margin: 0;
  color: rgba(245, 238, 226, .68);
}

.magic-box-pool-tabs,
.magic-box-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.magic-box-pool-tabs {
  justify-content: flex-start;
  min-width: 0;
  gap: 10px;
}

.magic-box-pool-tabs button,
.magic-box-filters button,
.magic-box-feature-toggle {
  min-height: 42px;
  border: 1px solid rgba(214, 178, 104, .28);
  background: rgba(8, 8, 8, .62);
  color: rgba(245, 238, 226, .76);
  font-weight: 900;
  cursor: pointer;
  transition: border-color .18s ease, color .18s ease, background .18s ease, transform .18s ease;
}

.magic-box-pool-tabs button {
  position: relative;
  overflow: hidden;
  min-width: 148px;
  min-height: 44px;
  padding: 0 18px;
  border-width: 1px;
  font-size: 16px;
  background: rgba(8, 8, 8, .58);
  box-shadow: none;
}

.magic-box-pool-tabs button::after {
  position: absolute;
  right: 14px;
  bottom: 0;
  left: 14px;
  height: 3px;
  background: currentColor;
  opacity: 0;
  transform: scaleX(.2);
  transition: opacity .18s ease, transform .18s ease;
  content: "";
}

.magic-box-pool-tabs button span {
  position: absolute;
  top: 4px;
  right: 6px;
  padding: 2px 6px;
  border: 1px solid currentColor;
  background: rgba(0, 0, 0, .52);
  font-size: 11px;
  line-height: 1;
}

.magic-box-pool-tabs button[data-pool-tone="normal"] {
  border-color: rgba(169, 92, 255, .72);
  color: #d7b0ff;
}

.magic-box-pool-tabs button[data-pool-tone="point"] {
  border-color: rgba(255, 106, 247, .62);
  color: #ffb0fb;
}

.magic-box-pool-tabs button:hover,
.magic-box-filters button:hover,
.magic-box-feature-toggle:hover {
  border-color: rgba(255, 211, 118, .72);
  color: #fff5dd;
  transform: translateY(-1px);
}

.magic-box-pool-tabs button.is-active,
.magic-box-filters button.is-active,
.magic-box-feature-toggle.is-active {
  border-color: rgba(255, 216, 122, .86);
  background: linear-gradient(180deg, rgba(214, 178, 104, .24), rgba(142, 31, 22, .38));
  color: #ffe39a;
}

.magic-box-pool-tabs button.is-active {
  text-shadow: none;
  box-shadow: inset 0 0 28px color-mix(in srgb, currentColor 18%, transparent), 0 0 0 1px color-mix(in srgb, currentColor 38%, transparent);
}

.magic-box-pool-tabs button.is-active::after {
  opacity: 1;
  transform: scaleX(1);
}

.magic-box-pool-tabs button[data-pool-tone="normal"].is-active {
  border-color: rgba(169, 92, 255, .90);
  background: linear-gradient(180deg, rgba(169, 92, 255, .30), rgba(70, 28, 112, .56));
  color: #a95cff;
}

.magic-box-pool-tabs button[data-pool-tone="point"].is-active {
  border-color: rgba(255, 144, 249, .84);
  background: linear-gradient(180deg, rgba(255, 106, 247, .28), rgba(102, 22, 86, .56));
  color: #ff6af7;
}

.magic-box-summary {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border: 1px solid rgba(214, 178, 104, .20);
  background: linear-gradient(135deg, rgba(214, 178, 104, .10), rgba(7, 7, 7, .52));
}

.magic-box-summary div {
  display: grid;
  gap: 8px;
  padding: 16px 18px;
  border-left: 1px solid rgba(255, 255, 255, .06);
}

.magic-box-summary div:first-child {
  border-left: 0;
}

.magic-box-summary span,
.magic-box-item small,
.magic-box-toolbar span {
  color: rgba(245, 238, 226, .56);
  font-size: 12px;
  font-weight: 900;
}

.magic-box-summary strong {
  color: #ffe39a;
  font-size: 20px;
}

.magic-box-filters button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0 14px;
}

.magic-box-filters span {
  color: rgba(255, 227, 154, .72);
  font-size: 12px;
}

.magic-box-toolbar {
  display: grid;
  grid-template-columns: minmax(260px, 520px);
  gap: 12px;
  align-items: end;
}

.magic-box-toolbar label {
  display: grid;
  gap: 8px;
}

.magic-box-toolbar input {
  width: 100%;
  height: 46px;
  border: 1px solid rgba(214, 178, 104, .26);
  background: rgba(5, 5, 5, .70);
  color: #fff5dd;
  padding: 0 14px;
  outline: none;
}

.magic-box-toolbar input:focus {
  border-color: rgba(255, 216, 122, .82);
  box-shadow: 0 0 0 2px rgba(255, 216, 122, .10);
}

.magic-box-feature-toggle {
  justify-self: start;
  padding: 0 18px;
}

.magic-box-list {
  display: grid;
  gap: 8px;
}

.magic-box-item {
  display: grid;
  grid-template-columns: 42px 118px minmax(0, 1fr) 88px 128px;
  gap: 14px;
  align-items: center;
  min-height: 58px;
  padding: 10px 14px;
  border: 1px solid rgba(214, 178, 104, .16);
  background: linear-gradient(90deg, rgba(255, 255, 255, .035), rgba(5, 5, 5, .48));
  border-left: 3px solid var(--item-rarity-color, rgba(214, 178, 104, .42));
}

.site-item-icon,
.reward-item-icon,
.reward-package-icon,
.activity-package-icon,
.newcomer-reward-icon,
.shop-product-icon,
.magic-box-icon {
  display: block;
  width: 32px;
  height: 32px;
  object-fit: contain;
  image-rendering: pixelated;
}

.magic-box-icon {
  justify-self: center;
}

.magic-box-icon.is-empty,
.newcomer-reward-icon.is-empty {
  border: 1px solid rgba(214, 178, 104, .18);
  background: rgba(255, 255, 255, .04);
}

.magic-box-category {
  color: var(--item-rarity-color, rgba(245, 238, 226, .62));
  font-size: 16px;
  font-weight: 900;
}

.magic-box-item strong {
  color: var(--item-rarity-color, #fff5dd);
  font-size: 21px;
  line-height: 1.35;
  font-family: "Microsoft YaHei", "PingFang SC", Arial, sans-serif;
  font-weight: 900;
  overflow-wrap: anywhere;
  text-shadow: 0 0 14px color-mix(in srgb, var(--item-rarity-color, #fff5dd) 26%, transparent);
}

.magic-box-quantity {
  color: #ffe39a;
  font-weight: 900;
  text-align: right;
}

.magic-box-item em {
  color: #7dffae;
  font-style: normal;
  font-weight: 900;
  text-align: right;
}

.magic-box-item small {
  text-align: right;
}

.magic-box-empty {
  padding: 34px 18px;
  border: 1px solid rgba(214, 178, 104, .18);
  color: rgba(245, 238, 226, .58);
  text-align: center;
  font-weight: 900;
}

.notice-text {
  margin: 18px 0 0;
  color: rgba(245, 238, 226, .62);
  line-height: 1.8;
}

.trade-format-block {
  margin: 14px 0 0;
  padding: 16px 18px;
  border: 1px solid rgba(214, 178, 104, .22);
  color: rgba(245, 238, 226, .86);
  background: rgba(7, 7, 7, .42);
  font-family: "Microsoft YaHei", "PingFang SC", Arial, sans-serif;
  line-height: 1.8;
  white-space: pre-wrap;
}

.trade-copy-action {
  margin-left: 10px;
  padding: 0;
  border: 0;
  color: #56b7ff;
  background: transparent;
  box-shadow: none;
  font-size: 13px;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
}

.trade-copy-action:hover,
.trade-copy-action.is-copied {
  color: #91d2ff;
  background: transparent;
}

.trade-rule-layout > div {
  min-height: 680px;
}

.trade-rule-layout .article-panel {
  min-height: 680px;
}

.free-cera-static-page {
  color: var(--text);
  background: #000;
}

.free-cera-static-page::before {
  background:
    linear-gradient(90deg, rgba(214, 178, 104, .06) 1px, transparent 1px),
    linear-gradient(180deg, rgba(214, 178, 104, .035) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, .9), transparent 76%);
}

.free-cera-static-layout {
  align-items: start;
}

.free-cera-static-page .side-menu {
  border: 0;
  background: #1b1b1b;
  box-shadow: 0 14px 34px rgba(0, 0, 0, .26);
}

.free-cera-static-page .side-menu a {
  color: #e6decf;
  border-bottom-color: rgba(214, 178, 104, .16);
}

.free-cera-static-page .side-menu a:hover {
  color: var(--gold-2);
}

.free-cera-static-page .side-menu a.is-active {
  color: #1b1207;
}

.free-cera-static-page .site-footer {
  border-top-color: rgba(214, 178, 104, .20);
  color: var(--muted);
  background: #050505;
}

.free-cera-sheet {
  scroll-margin-top: 112px;
  min-height: 800px;
  padding: 34px 56px 46px;
  border: 1px solid rgba(255, 214, 122, .2);
  background: #191919;
  box-shadow: 0 18px 45px rgba(0, 0, 0, .38);
  color: rgba(255, 247, 230, .94);
  font-family: "SimSun", "宋体", "Microsoft YaHei", Arial, sans-serif;
  font-size: 18px;
  line-height: 1.82;
}

.free-cera-sheet + .free-cera-sheet {
  margin-top: 22px;
}

.free-cera-sheet h2 {
  margin: 0 0 26px;
  color: #d00000;
  font-size: 26px;
  line-height: 1.2;
  font-weight: 700;
}

.free-cera-overview {
  margin-bottom: 54px;
}

.free-cera-overview h2 {
  margin: 0 0 12px;
  color: #d00000;
  font-size: 32px;
  line-height: 1.2;
}

.free-cera-overview h3 {
  margin: 0 0 24px 16px;
  color: #d00000;
  font-size: 32px;
  line-height: 1.2;
}

.free-cera-example-chip {
  display: inline-block;
  padding: 5px 10px;
  color: #23151f;
  background: #ef8ac5;
  font-size: 14px;
  line-height: 1.45;
}

.free-cera-sheet p {
  margin: 0 0 8px;
  color: rgba(255, 247, 230, .94);
}

.free-cera-sheet ul {
  margin: 0 0 8px 25px;
  padding: 0;
}

.free-cera-sheet li {
  margin: 6px 0;
  padding-left: 4px;
}

.free-cera-sheet li::marker {
  color: rgba(255, 214, 122, .82);
}

.free-cera-sheet .is-red {
  color: #ff3b30;
  font-weight: 700;
}

.free-cera-sheet mark {
  display: inline;
  padding: 0 2px;
  color: #f00;
  background: #ffff00;
  font-size: 22px;
  line-height: 1.5;
}

.free-cera-mini-action {
  display: inline;
  margin-left: 8px;
  padding: 0;
  border: 0;
  color: #4263eb;
  background: transparent;
  cursor: pointer;
  font: 700 12px/1.2 "Microsoft YaHei", Arial, sans-serif;
  text-decoration: none;
  vertical-align: baseline;
}

.free-cera-mini-action:hover,
.free-cera-mini-action.is-copied {
  color: #254edb;
  text-decoration: underline;
}

.free-cera-bv-copy {
  padding: 0;
  border: 0;
  color: inherit;
  background: transparent;
  cursor: pointer;
  font: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.free-cera-bv-copy:hover,
.free-cera-bv-copy.is-copied {
  color: #55a7ff;
}

.step-blue {
  display: inline-grid;
  place-items: center;
  width: 17px;
  height: 17px;
  margin-right: 8px;
  border: 1px solid #005da8;
  color: #fff;
  background: #0070c0;
  font-size: 13px;
  line-height: 1;
  font-family: Arial, sans-serif;
  font-weight: 700;
}

.check-mark {
  display: inline-grid;
  place-items: center;
  width: 18px;
  height: 18px;
  margin-right: 4px;
  border: 1px solid #008000;
  color: #fff;
  background: #00c000;
  font-size: 14px;
  line-height: 1;
}

.star-mark,
.money-mark,
.pin-mark,
.calendar-mark {
  display: inline-block;
  width: 22px;
  margin-right: 4px;
  text-align: center;
}

.free-cera-cover {
  display: block;
  width: 100%;
  max-width: 100%;
  margin: 12px 0 18px;
}

.free-cera-example {
  display: block;
  width: min(100%, 560px);
  max-width: 100%;
  margin: 12px 0 0;
}

.qq-command-list {
  display: grid;
  gap: 0;
  margin-top: 18px;
  width: min(100%, 760px);
}

.newbie-download-button {
  margin-top: 12px;
}

.guide-inline-image {
  margin: 18px 0 0;
  overflow: hidden;
  width: min(100%, 720px);
  border: 1px solid rgba(214, 178, 104, .22);
  background: rgba(7, 7, 7, .44);
}

.guide-inline-image img {
  display: block;
  width: 100%;
  height: auto;
}

.qq-command-list p {
  display: grid;
  grid-template-columns: 190px minmax(0, 1fr);
  column-gap: 40px;
  align-items: baseline;
  margin: 0;
  padding: 8px 0;
  color: rgba(245, 238, 226, .82);
  line-height: 1.7;
}

.qq-command-list strong {
  color: #ffe39a;
}

.qq-command-name {
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
  white-space: nowrap;
}

.qq-command-list p > span:last-child {
  overflow-wrap: anywhere;
}

.qq-command-list button {
  padding: 0;
  border: 0;
  color: #55a7ff;
  background: transparent;
  cursor: pointer;
  font-size: 12px;
  font-weight: 900;
}

.qq-command-list button:hover,
.qq-command-list button.is-copied {
  color: #8fc7ff;
}

.formula-grid {
  display: grid;
  gap: 16px;
}

.formula-grid section {
  padding: 18px;
  border: 1px solid rgba(214, 178, 104, .20);
  background: rgba(7, 7, 7, .34);
}

.formula-grid h3 {
  margin: 0 0 12px;
  color: #f2d082;
}

.formula-grid p {
  margin: 8px 0 0;
  color: rgba(245, 238, 226, .84);
  overflow-wrap: anywhere;
}

.formula-grid small {
  display: block;
  margin-top: 12px;
  color: rgba(245, 238, 226, .58);
  line-height: 1.7;
}

.ranking-table {
  display: grid;
  gap: 12px;
}

.power-hero {
  position: relative;
  padding-right: min(48vw, 700px);
}

.my-power-card {
  position: absolute;
  right: clamp(20px, 5.6vw, 112px);
  top: 188px;
  box-sizing: border-box;
  width: 528px;
  min-height: 132px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  align-items: center;
  padding: 24px 28px 26px;
  overflow: hidden;
  border: 1px solid rgba(255, 227, 154, .58);
  background: linear-gradient(135deg, rgba(255, 227, 154, .12), rgba(9, 9, 9, .42));
  box-shadow: 0 18px 44px rgba(0, 0, 0, .28), inset 0 0 0 1px rgba(255, 227, 154, .12);
}

.my-power-card > span {
  grid-column: 1 / -1;
  color: rgba(245, 238, 226, .68);
  font-size: 14px;
  font-weight: 900;
}

.my-power-card > strong {
  color: #ffe39a;
  font-size: 52px;
  line-height: .9;
  white-space: nowrap;
}

.my-power-board {
  display: grid;
  grid-template-columns: minmax(360px, 1.15fr) minmax(220px, .72fr) minmax(168px, .46fr);
  gap: clamp(20px, 4vw, 72px);
  align-items: center;
  min-width: 0;
}

.my-power-score {
  display: flex;
  align-items: center;
  gap: 22px;
  min-width: 0;
}

.my-power-score > div,
.my-power-identity,
.my-power-rank {
  display: grid;
  gap: 7px;
  min-width: 0;
}

.my-power-score .power-emblem-card {
  width: 96px;
  height: 96px;
}

.my-power-score strong {
  color: #ffe39a;
  font-size: clamp(48px, 4vw, 64px);
  line-height: .92;
  letter-spacing: 0;
  white-space: nowrap;
}

.my-power-card[data-power-tone="explore"],
.ranking-list p[data-power-tone="explore"] { --power-tier-number-color: #8fbf6f; }
.my-power-card[data-power-tone="pioneer"],
.ranking-list p[data-power-tone="pioneer"] { --power-tier-number-color: #6fa6ff; }
.my-power-card[data-power-tone="fearless"],
.ranking-list p[data-power-tone="fearless"] { --power-tier-number-color: #9d75ff; }
.my-power-card[data-power-tone="conqueror"],
.ranking-list p[data-power-tone="conqueror"] { --power-tier-number-color: #35c86c; }
.my-power-card[data-power-tone="warlord"],
.ranking-list p[data-power-tone="warlord"] { --power-tier-number-color: #d79b45; }
.my-power-card[data-power-tone="heroic"],
.ranking-list p[data-power-tone="heroic"] { --power-tier-number-color: #d85d80; }
.my-power-card[data-power-tone="martial"],
.ranking-list p[data-power-tone="martial"] { --power-tier-number-color: #8da0ff; }
.my-power-card[data-power-tone="transcendent"],
.ranking-list p[data-power-tone="transcendent"] { --power-tier-number-color: #8fe0d0; }

.my-power-card[data-power-tone] .my-power-score strong {
  color: var(--power-tier-number-color);
}

.my-power-score em {
  color: rgba(255, 227, 154, .74);
  font-style: normal;
  font-weight: 900;
}

.my-power-card > em,
.my-power-card > p {
  margin: 0;
  color: rgba(245, 238, 226, .72);
  font-style: normal;
  font-weight: 800;
}

.my-power-identity {
  align-content: center;
}

.my-power-identity b {
  color: #fff5dd;
  font-size: clamp(24px, 2.15vw, 31px);
  line-height: 1.1;
  overflow-wrap: anywhere;
}

.my-power-identity small,
.my-power-identity em,
.my-power-rank small,
.my-power-rank em {
  color: rgba(245, 238, 226, .58);
  font-size: 13px;
  font-style: normal;
  font-weight: 900;
}

.my-power-rank {
  justify-items: end;
  text-align: right;
}

.my-power-rank b {
  color: #fff5dd;
  font-size: clamp(38px, 3.4vw, 52px);
  line-height: .9;
  white-space: nowrap;
}

.my-power-card[data-rank-tone="red"] { --my-power-rank-tone: #f0292f; }
.my-power-card[data-rank-tone="orange"] { --my-power-rank-tone: #ff8a00; }
.my-power-card[data-rank-tone="green"] { --my-power-rank-tone: #16c529; }
.my-power-card[data-rank-tone="blue"] { --my-power-rank-tone: #1687e8; }

.my-power-card[data-rank-tone] .my-power-identity b,
.my-power-card[data-rank-tone] .my-power-rank b {
  color: var(--my-power-rank-tone);
}

.my-power-card p {
  display: grid;
  gap: 2px;
  margin: 0;
  min-width: 0;
}

.power-ranking-page .my-power-card {
  position: static;
  width: 100%;
  height: auto;
  margin: 0 0 18px;
}

.power-emblem {
  position: relative;
  display: inline-grid;
  flex: 0 0 auto;
  place-items: center;
  --power-job-filter: saturate(1.04) brightness(1.02);
}

.power-emblem-badge {
  width: 100%;
  height: 100%;
  object-fit: contain;
  image-rendering: pixelated;
  filter: drop-shadow(0 8px 14px rgba(0,0,0,.22));
}

.power-emblem-job {
  position: absolute;
  inset: 0;
  width: 46%;
  height: 46%;
  margin: auto;
  object-fit: contain;
  image-rendering: pixelated;
  filter: var(--power-job-filter) drop-shadow(0 3px 6px rgba(74, 40, 102, .28));
}

.power-emblem-card {
  width: 72px;
  height: 72px;
}

.power-emblem[data-power-tone="explore"],
.app-fame-badge[data-power-tone="explore"] {
  --power-job-filter: hue-rotate(300deg) saturate(1.02) brightness(1.02);
}

.power-emblem[data-power-tone="pioneer"],
.app-fame-badge[data-power-tone="pioneer"] {
  --power-job-filter: hue-rotate(255deg) saturate(1.1) brightness(1.04);
}

.power-emblem[data-power-tone="fearless"],
.app-fame-badge[data-power-tone="fearless"] {
  --power-job-filter: hue-rotate(0deg) saturate(1.04) brightness(1.02);
}

.power-emblem[data-power-tone="conqueror"],
.app-fame-badge[data-power-tone="conqueror"] {
  --power-job-filter: hue-rotate(200deg) saturate(1.16) brightness(1.02);
}

.power-emblem[data-power-tone="warlord"],
.app-fame-badge[data-power-tone="warlord"] {
  --power-job-filter: hue-rotate(118deg) saturate(1.18) brightness(1.05);
}

.power-emblem[data-power-tone="heroic"],
.app-fame-badge[data-power-tone="heroic"] {
  --power-job-filter: hue-rotate(98deg) saturate(1.16) brightness(1.06);
}

.power-emblem[data-power-tone="martial"],
.app-fame-badge[data-power-tone="martial"] {
  --power-job-filter: hue-rotate(70deg) saturate(1.2) brightness(1.04);
}

.power-emblem[data-power-tone="transcendent"],
.app-fame-badge[data-power-tone="transcendent"] {
  --power-job-filter: hue-rotate(24deg) saturate(1.12) brightness(1.04);
}

.my-power-card p b {
  color: #fff5dd;
  font-size: 20px;
  overflow-wrap: anywhere;
}

.my-power-card small {
  color: rgba(245, 238, 226, .56);
  font-weight: 800;
}

.ranking-list {
  display: grid;
  border: 1px solid rgba(214, 178, 104, .20);
  background: rgba(7, 7, 7, .40);
}

.ranking-list p {
  display: grid;
  grid-template-columns: 82px minmax(140px, 1fr) minmax(170px, .9fr) 190px;
  gap: 12px;
  align-items: center;
  margin: 0;
  padding: 12px 14px;
  border-top: 1px solid rgba(255, 255, 255, .07);
}

.ranking-list p[data-rank-tone="red"] { --ranking-tone: #f0292f; }
.ranking-list p[data-rank-tone="orange"] { --ranking-tone: #ff8a00; }
.ranking-list p[data-rank-tone="green"] { --ranking-tone: #16c529; }
.ranking-list p[data-rank-tone="blue"] { --ranking-tone: #1687e8; }

.ranking-list p:first-child {
  border-top: 0;
}

.ranking-list .ranking-rank {
  color: var(--gold);
  font-weight: 900;
}

.ranking-list .ranking-name {
  overflow-wrap: anywhere;
  color: #fff5dd;
}

.ranking-list p[data-rank-tone] .ranking-rank,
.ranking-list p[data-rank-tone] .ranking-name,
.ranking-list p[data-rank-tone] .ranking-power {
  color: var(--ranking-tone);
}

.ranking-list small {
  color: rgba(245, 238, 226, .58);
}

.ranking-list .ranking-power {
  display: inline-flex;
  align-items: center;
  justify-self: end;
  gap: 8px;
  color: #ffe39a;
  font-size: 20px;
  line-height: 1;
  white-space: nowrap;
}

.ranking-list p[data-power-tone] .ranking-power span {
  color: var(--power-tier-number-color);
}

.ranking-power-emblem {
  width: 40px;
  height: 40px;
  object-fit: contain;
  image-rendering: pixelated;
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, .28));
}

.power-tier-guide {
  display: grid;
  gap: 16px;
  margin-top: 18px;
  padding: 20px;
  border: 1px solid rgba(214, 178, 104, .22);
  background: linear-gradient(135deg, rgba(255, 227, 154, .08), rgba(7, 7, 7, .36));
}

.power-tier-guide[hidden] {
  display: none !important;
}

.power-tier-guide header {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
}

.power-tier-guide h2 {
  margin: 0;
  color: #fff5dd;
  font-size: 24px;
  line-height: 1.1;
}

.power-tier-guide p {
  margin: 0;
  color: rgba(245, 238, 226, .62);
  font-weight: 800;
  line-height: 1.6;
  text-align: right;
}

.power-tier-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 12px;
}

.power-tier-grid article {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 100px;
  align-items: center;
  gap: 8px;
  min-width: 0;
  min-height: 126px;
  padding: 16px 18px;
  border: 1px solid rgba(255, 227, 154, .16);
  background: rgba(7, 7, 7, .34);
  box-shadow: inset 3px 0 0 var(--tier-accent, var(--gold));
}

.power-tier-grid article[data-power-tier="explore"] { --tier-accent: #8fbf6f; }
.power-tier-grid article[data-power-tier="pioneer"] { --tier-accent: #6fa6ff; }
.power-tier-grid article[data-power-tier="fearless"] { --tier-accent: #9d75ff; }
.power-tier-grid article[data-power-tier="conqueror"] { --tier-accent: #35c86c; }
.power-tier-grid article[data-power-tier="warlord"] { --tier-accent: #d79b45; }
.power-tier-grid article[data-power-tier="heroic"] { --tier-accent: #d85d80; }
.power-tier-grid article[data-power-tier="martial"] { --tier-accent: #8da0ff; }
.power-tier-grid article[data-power-tier="transcendent"] { --tier-accent: #8fe0d0; }

.power-tier-grid b {
  grid-column: 1;
  color: #fff5dd;
  font-size: 18px;
}

.power-tier-grid strong {
  grid-column: 1;
  color: var(--tier-accent, #ffe39a);
  font-size: 24px;
  line-height: 1;
  white-space: nowrap;
}

.power-tier-grid span {
  grid-column: 1;
  color: rgba(245, 238, 226, .58);
  font-size: 13px;
  font-weight: 900;
}

.power-tier-grid img {
  grid-column: 2;
  grid-row: 1 / span 3;
  justify-self: end;
  width: 96px;
  height: 96px;
  object-fit: contain;
  image-rendering: pixelated;
  filter: drop-shadow(0 8px 14px rgba(0, 0, 0, .28));
}

.rare-avatar-panel {
  display: grid;
  gap: 22px;
}

.rare-avatar-copy {
  display: grid;
  gap: 10px;
  padding: 18px;
  border: 1px solid rgba(214, 178, 104, .20);
  background: rgba(7, 7, 7, .34);
}

.rare-avatar-copy p {
  margin: 0;
  color: rgba(245, 238, 226, .86);
  font-size: 18px;
  line-height: 1.7;
}

.rare-avatar-copy strong {
  color: #ffe39a;
}

.rare-avatar-preview {
  margin: 0;
  overflow: hidden;
  justify-self: start;
  width: min(100%, 980px);
  border: 1px solid rgba(214, 178, 104, .22);
  background: rgba(7, 7, 7, .54);
}

.rare-avatar-preview img {
  display: block;
  width: auto;
  max-width: 100%;
  max-height: 540px;
  height: auto;
}

.sky-avatar-layout {
  display: grid;
  grid-template-columns: minmax(0, 680px) minmax(420px, 1fr);
  align-items: start;
  gap: 22px;
}

.sky-avatar-showcase {
  min-width: 0;
}

.sky-avatar-stage {
  position: relative;
  min-height: 700px;
  padding: 26px 30px 28px;
  overflow: hidden;
  border: 1px solid rgba(214, 178, 104, .28);
  background:
    radial-gradient(circle at 50% 68%, rgba(214, 178, 104, .16), transparent 32%),
    linear-gradient(180deg, rgba(29, 22, 16, .96), rgba(8, 7, 6, .98));
  box-shadow: inset 0 0 34px rgba(0, 0, 0, .52), 0 18px 42px rgba(0, 0, 0, .28);
}

.sky-avatar-stage h2 {
  margin: 0 0 10px;
  color: #ffd21f;
  font-size: 24px;
  font-weight: 900;
}

.sky-avatar-stage p {
  min-height: 92px;
  margin: 0;
  color: rgba(245, 238, 226, .78);
  font-size: 16px;
  line-height: 1.8;
}

.sky-avatar-preview {
  display: grid;
  place-items: end center;
  height: 410px;
  margin: 16px 0 20px;
  pointer-events: none;
}

.sky-avatar-preview img {
  display: block;
  max-width: min(100%, 430px);
  max-height: 405px;
  object-fit: contain;
  filter: drop-shadow(0 22px 18px rgba(0, 0, 0, .42));
  image-rendering: auto;
}

.sky-avatar-nav {
  position: absolute;
  top: 360px;
  z-index: 2;
  border: 0;
  background: transparent;
  color: #d8c5ad;
  font: inherit;
  cursor: pointer;
}

.sky-avatar-prev {
  left: 30px;
}

.sky-avatar-next {
  right: 30px;
}

.sky-avatar-tone {
  display: grid;
  grid-template-columns: repeat(2, minmax(120px, 1fr));
  gap: 42px;
}

.sky-avatar-tone button {
  min-height: 52px;
  border: 1px solid rgba(255, 218, 139, .34);
  color: #ffe268;
  font-size: 28px;
  font-weight: 900;
  background:
    linear-gradient(180deg, rgba(161, 111, 62, .88), rgba(92, 57, 31, .92)),
    repeating-linear-gradient(90deg, rgba(255,255,255,.08) 0 2px, transparent 2px 8px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .18);
  cursor: pointer;
}

.sky-avatar-tone button.is-active {
  outline: 2px solid rgba(255, 226, 104, .72);
  outline-offset: 2px;
}

.sky-avatar-attributes {
  display: grid;
  gap: 18px;
  min-width: 0;
}

.sky-avatar-attributes article {
  border: 1px solid rgba(214, 178, 104, .24);
  background: linear-gradient(180deg, rgba(24, 18, 13, .96), rgba(8, 7, 6, .98));
  box-shadow: inset 0 0 30px rgba(0, 0, 0, .45);
}

.sky-avatar-attributes h2 {
  margin: 0;
  padding: 16px 18px 10px;
  color: #f4e9d8;
  font-size: 26px;
  font-weight: 900;
  text-align: center;
}

.sky-official-attributes {
  overflow: hidden;
}

.sky-official-attributes table {
  width: 100%;
  border-collapse: collapse;
  color: #e8c59e;
  font-size: 15px;
}

.sky-official-attributes th {
  height: 38px;
  color: #f0ce23;
  font-weight: 400;
}

.sky-official-attributes td {
  height: 31px;
  padding: 0 8px;
  border: 1px solid rgba(69, 45, 29, .58);
  text-align: center;
}

.sky-official-attributes td[rowspan] {
  color: #f0ce23;
  font-weight: 700;
  background: rgba(18, 12, 8, .45);
}

@media (max-width: 720px) {
  .sky-avatar-layout {
    grid-template-columns: 1fr;
  }

  .sky-avatar-stage {
    min-height: 650px;
    padding: 22px 18px;
  }

  .sky-avatar-stage h2 {
    font-size: 20px;
  }

  .sky-avatar-stage p {
    min-height: 136px;
    font-size: 14px;
  }

  .sky-avatar-nav {
    top: 382px;
  }

  .sky-avatar-prev {
    left: 18px;
  }

  .sky-avatar-next {
    right: 18px;
  }

  .sky-avatar-tone {
    gap: 18px;
  }

  .sky-avatar-tone button {
    font-size: 22px;
  }

  .sky-avatar-attributes h2 {
    font-size: 22px;
  }

  .sky-official-attributes table {
    font-size: 13px;
  }
}

.article-panel img,
.guide-inline-image img,
.rare-avatar-preview img,
.sky-avatar-preview img,
.reward-image-card img {
  cursor: zoom-in;
}

.image-lightbox {
  position: fixed;
  inset: 0;
  z-index: 3000;
  display: grid;
  place-items: center;
  padding: 22px;
  background: rgba(0, 0, 0, .86);
}

.image-lightbox img {
  display: block;
  max-width: min(100%, 1200px);
  max-height: 88vh;
  object-fit: contain;
  box-shadow: 0 22px 70px rgba(0, 0, 0, .55);
  cursor: zoom-out;
}

.image-lightbox button {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(214, 178, 104, .55);
  background: rgba(16, 14, 10, .88);
  color: var(--paper);
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
}

.item-tooltip-trigger {
  cursor: pointer;
  text-decoration: none;
}

.item-tooltip-trigger:focus {
  outline: 1px solid rgba(255, 225, 128, .76);
  outline-offset: 3px;
}

.item-tooltip-floating {
  position: fixed;
  z-index: 3200;
  width: min(360px, calc(100vw - 24px));
  max-height: min(68vh, 520px);
  overflow: auto;
  padding: 14px 15px 13px;
  border: 1px solid rgba(214, 178, 104, .62);
  color: rgba(245, 238, 226, .92);
  background:
    radial-gradient(circle at 12% 0%, rgba(214, 178, 104, .18), transparent 12rem),
    linear-gradient(180deg, rgba(25, 22, 18, .98), rgba(6, 6, 6, .98));
  box-shadow: 0 18px 42px rgba(0, 0, 0, .58), inset 0 1px 0 rgba(255, 255, 255, .08);
  pointer-events: auto;
  white-space: pre-line;
}

.item-tooltip-floating[hidden] {
  display: none;
}

.item-tooltip-floating strong {
  display: block;
  margin-bottom: 8px;
  color: #ffe39a;
  font-size: 16px;
  line-height: 1.35;
}

.item-tooltip-floating p {
  margin: 0;
  color: rgba(245, 238, 226, .9);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.65;
}

.item-tooltip-floating small {
  display: block;
  margin-top: 10px;
  padding-top: 9px;
  border-top: 1px solid rgba(214, 178, 104, .18);
  color: rgba(214, 178, 104, .82);
  font-size: 12px;
  font-weight: 800;
  line-height: 1.55;
}

.article-nav {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.article-nav a {
  padding: 12px 16px;
  color: #fff4dd;
  font-weight: 900;
}

.article-nav a:hover,
.archive-list a:hover {
  border-color: rgba(240, 212, 140, .58);
  background: rgba(214, 178, 104, .10);
}

.group-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.group-card {
  display: grid;
  gap: 16px;
  padding: 24px;
}

.group-card h2 {
  margin-bottom: 0;
}

.qr-box {
  display: grid;
  place-items: center;
  min-height: 220px;
  padding: 12px;
  border: 1px dashed rgba(214, 178, 104, .42);
  color: var(--muted);
  background:
    linear-gradient(45deg, rgba(214, 178, 104, .08) 25%, transparent 25%),
    linear-gradient(-45deg, rgba(214, 178, 104, .08) 25%, transparent 25%),
    rgba(0, 0, 0, .32);
  background-size: 18px 18px;
  text-align: center;
}

.qr-box img {
  display: block;
  width: min(100%, 220px);
  aspect-ratio: 1;
  object-fit: cover;
  border: 1px solid rgba(214, 178, 104, .34);
  background: #fff;
}

.group-card[data-login-only] {
  display: grid;
}

.group-login-note {
  margin: -6px 0;
  color: #ff4d40;
  font-weight: 900;
}

.group-real-link,
body.is-account-logged-in .group-login-button,
body.is-account-logged-in .group-login-note {
  display: none;
}

body.is-account-logged-in .group-real-link {
  display: inline-flex;
}

.group-card[data-login-only] .qr-box img {
  filter: blur(10px);
  transform: scale(1.04);
}

.group-card[data-login-only] .qr-box {
  position: relative;
  overflow: hidden;
}

.group-card[data-login-only] .qr-box::after {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: #ff4d40;
  background: rgba(0, 0, 0, .38);
  font-size: 18px;
  font-weight: 900;
  content: "登录后可见";
}

body.is-account-logged-in .group-card[data-login-only] .qr-box img {
  filter: none;
  transform: none;
}

body.is-account-logged-in .group-card[data-login-only] .qr-box::after {
  content: none;
}

.feature-stack {
  display: grid;
  gap: 22px;
}

.feature-card {
  position: relative;
  min-height: 214px;
  display: flex;
  flex-direction: column;
  justify-content: end;
  overflow: hidden;
  padding: 25px;
  background:
    linear-gradient(135deg, rgba(168, 42, 32, .18), transparent 58%),
    linear-gradient(180deg, #211b14, #151515);
  transition: transform .16s ease, border-color .16s ease, background .16s ease;
}

.feature-card:hover,
.event-grid article:hover,
.hub-grid a:hover,
.info-card:hover,
.link-grid a:hover {
  transform: translateY(-3px);
  border-color: rgba(240, 212, 140, .52);
}

.feature-card::after {
  position: absolute;
  right: -34px;
  top: -36px;
  width: 170px;
  height: 170px;
  border: 28px solid currentColor;
  content: "";
  opacity: .12;
  transform: rotate(16deg);
}

.feature-pk { color: #c84835; }
.feature-service { color: var(--gold); }

.feature-card span,
.feature-card strong,
.feature-card small {
  position: relative;
  z-index: 1;
}

.feature-card strong {
  margin: 10px 0 4px;
  color: #fff;
  font-size: 32px;
}

.feature-card small {
  color: var(--muted);
  font-size: 15px;
}

.event-band {
  background:
    linear-gradient(180deg, #110f0c, #090909);
}

.event-grid,
.hub-grid,
.info-grid {
  display: grid;
  gap: 18px;
}

.event-grid,
.hub-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.event-grid article,
.hub-grid a,
.info-card {
  transition: transform .16s ease, border-color .16s ease, background .16s ease;
  min-height: 178px;
  padding: 24px;
}

.event-grid article {
  position: relative;
  overflow: hidden;
  border-top: 3px solid var(--red-2);
}

.event-grid article::after,
.hub-grid a::after,
.info-card::after {
  position: absolute;
  right: -30px;
  bottom: -30px;
  width: 100px;
  height: 100px;
  border: 18px solid rgba(214, 178, 104, .08);
  content: "";
  transform: rotate(14deg);
}

.event-grid h3,
.hub-grid b,
.info-card h3 {
  display: block;
  margin: 22px 0 8px;
  color: #fff;
  font-size: 24px;
  line-height: 1.12;
}

.event-grid p,
.hub-grid span,
.info-card p,
.article-panel p,
.article-panel li {
  color: var(--muted);
}

.hub-grid a,
.info-card {
  position: relative;
  overflow: hidden;
}

.link-panel {
  background:
    linear-gradient(135deg, rgba(214, 178, 104, .10), transparent 50%),
    linear-gradient(180deg, rgba(168, 42, 32, .10), rgba(255, 255, 255, .015)),
    var(--panel);
}

.link-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.link-grid a {
  position: relative;
  min-height: 96px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 8px;
  overflow: hidden;
  padding: 18px;
  border: 1px solid rgba(214, 178, 104, .22);
  background: rgba(7, 7, 7, .54);
  transition: transform .16s ease, border-color .16s ease, background .16s ease;
}

.link-grid a::after {
  position: absolute;
  right: -22px;
  bottom: -22px;
  width: 78px;
  height: 78px;
  border: 14px solid rgba(214, 178, 104, .08);
  content: "";
  transform: rotate(14deg);
}

.link-grid span {
  color: var(--gold);
  font-size: 12px;
  font-weight: 900;
}

.link-grid strong {
  position: relative;
  z-index: 1;
  color: #fff5dd;
  font-size: 18px;
  line-height: 1.18;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  padding: 26px clamp(20px, 6vw, 86px);
  border-top: 1px solid rgba(214, 178, 104, .20);
  color: var(--muted);
  background: #050505;
}

.sub-hero {
  min-height: 220px;
  display: flex;
  flex-direction: column;
  justify-content: end;
  padding-top: 86px;
  background:
    radial-gradient(circle at 80% 20%, rgba(168, 42, 32, .30), transparent 25rem),
    linear-gradient(115deg, #070707 0%, #16120e 58%, #21140f 100%);
}

.sub-hero + .sub-layout,
.sub-hero + .content-hub {
  padding-top: clamp(16px, 2vw, 28px);
}

.sub-hero + .info-query-page {
  margin-top: -110px;
}

.sub-hero + .wide-tool-section {
  margin-top: clamp(16px, 2vw, 28px);
}

.sub-hero h1 {
  margin: 0 0 10px;
  color: #fff5dd;
  font-size: clamp(34px, 4.6vw, 56px);
  line-height: 1;
}

.sub-hero p {
  max-width: 760px;
  color: #d7cabb;
  font-size: 16px;
}

.sub-hero.hero-events.mentor-hero {
  align-items: center;
  justify-content: center;
  min-height: 300px;
  padding-top: 96px;
  padding-bottom: 96px;
  text-align: center;
}

.sub-hero.hero-events.mentor-hero p {
  margin-left: auto;
  margin-right: auto;
}

.sub-hero.hero-down50 {
  margin-top: 50px;
}

.sub-hero.hero-events.mentor-hero.hero-down50 {
  align-items: flex-start;
  justify-content: end;
  text-align: left;
}

.sub-hero.hero-events.mentor-hero.hero-down50 p {
  margin-left: 0;
  margin-right: 0;
}

.doc-title-lower .eyebrow,
.doc-title-lower h1,
.doc-title-lower > p {
  transform: translateY(50px);
}

.sub-layout {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  gap: 24px;
  align-items: start;
}

.side-menu {
  position: sticky;
  top: 106px;
  display: grid;
  padding: 12px;
}

.side-menu a {
  display: flex;
  align-items: center;
  padding: 13px 14px;
  color: #e6decf;
  border-bottom: 1px solid rgba(214, 178, 104, .16);
}

.side-menu a:last-child { border-bottom: 0; }
.side-menu a:hover { color: var(--gold-2); }
.side-menu a.is-active {
  color: #1b1207;
  background: linear-gradient(180deg, #f1d890, #b9862d);
  border-bottom-color: transparent;
  font-weight: 900;
}

.article-panel {
  margin-bottom: 20px;
  padding: 28px;
}

.article-panel:last-child {
  margin-bottom: 0;
}

.article-panel h2 {
  margin-bottom: 16px;
  color: #fff5dd;
  font-size: clamp(28px, 3.4vw, 42px);
}

.article-panel ul {
  display: grid;
  gap: 10px;
  margin: 0;
  padding-left: 20px;
}

.update-layout {
  align-items: start;
}

.update-card {
  scroll-margin-top: 112px;
}

.update-card h3 {
  margin: 22px 0 10px;
  color: var(--gold-2);
  font-size: 20px;
}

.update-card ol,
.update-card ul {
  display: grid;
  gap: 9px;
  margin: 0 0 14px;
  padding-left: 22px;
}

.update-card p + ul,
.update-card p + ol {
  margin-top: 10px;
}

.video-center-page {
  position: relative;
  width: min(1540px, calc(100% - 56px));
  margin: 116px auto 56px;
  color: var(--text);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .045), rgba(255, 255, 255, .012)),
    radial-gradient(circle at 18% 0%, rgba(214, 178, 104, .18), transparent 30rem),
    radial-gradient(circle at 78% 8%, rgba(168, 42, 32, .20), transparent 28rem),
    rgba(8, 8, 8, .82);
  border: 1px solid rgba(214, 178, 104, .22);
  box-shadow: var(--shadow);
  min-height: calc(100vh - 220px);
  padding: clamp(22px, 3vw, 34px);
  overflow: hidden;
}

.video-center-page::before {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(214, 178, 104, .07) 1px, transparent 1px),
    linear-gradient(180deg, rgba(214, 178, 104, .045) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: linear-gradient(180deg, rgba(0,0,0,.72), transparent 62%);
  content: "";
}

.video-center-head,
.video-toolbar,
.video-grid {
  position: relative;
  z-index: 1;
}

.video-center-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 22px;
  align-items: end;
  padding-bottom: 24px;
  border-bottom: 1px solid rgba(214, 178, 104, .18);
}

.video-center-head .eyebrow {
  margin-bottom: 8px;
}

.video-center-head h1 {
  margin: 0;
  color: #fff2d2;
  font-size: clamp(34px, 4vw, 64px);
  line-height: .95;
}

.video-center-head .btn {
  min-width: 118px;
  height: 48px;
  border-radius: 4px;
  box-shadow: 0 14px 28px rgba(168, 42, 32, .22);
}

.video-toolbar {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  padding: 20px 0 26px;
}

.video-toolbar nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.video-search-form {
  display: grid;
  grid-template-columns: minmax(180px, 260px) auto;
  gap: 10px;
  align-items: center;
}

.video-search-form input {
  width: 100%;
  height: 38px;
  padding: 0 12px;
  border: 1px solid rgba(214, 178, 104, .22);
  color: #fff5dd;
  background: rgba(7, 7, 7, .54);
  font: inherit;
}

.video-search-form input:focus {
  outline: 0;
  border-color: rgba(240, 212, 140, .62);
  box-shadow: 0 0 0 3px rgba(214, 178, 104, .10);
}

.video-toolbar nav button,
.video-filter-button {
  min-height: 38px;
  border: 1px solid rgba(214, 178, 104, .18);
  color: #cfc3ae;
  background: rgba(7, 7, 7, .46);
  cursor: pointer;
  font-size: 14px;
  font-weight: 900;
  transition: color .16s ease, border-color .16s ease, background .16s ease, transform .16s ease;
}

.video-toolbar nav button {
  padding: 0 16px;
}

.video-toolbar nav button:hover,
.video-filter-button:hover {
  transform: translateY(-1px);
  border-color: rgba(240, 212, 140, .45);
  color: #fff2d2;
}

.video-toolbar nav button.is-active {
  color: #1a1106;
  border-color: rgba(240, 212, 140, .82);
  background: linear-gradient(180deg, #f0d48c, #b7822b);
}

.video-filter-button {
  height: 34px;
  padding: 0 16px;
}

.video-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
}

.video-card {
  display: grid;
  gap: 11px;
  min-width: 0;
  padding: 10px;
  color: var(--text);
  border: 1px solid rgba(214, 178, 104, .16);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .04), rgba(255, 255, 255, .01)),
    rgba(7, 7, 7, .50);
  transition: transform .18s ease, border-color .18s ease, background .18s ease;
}

.video-card:hover {
  transform: translateY(-4px);
  border-color: rgba(240, 212, 140, .42);
  background:
    linear-gradient(180deg, rgba(214, 178, 104, .08), rgba(255, 255, 255, .012)),
    rgba(7, 7, 7, .62);
}

.video-card figure {
  position: relative;
  aspect-ratio: 16 / 9;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(214, 178, 104, .18);
  background:
    linear-gradient(135deg, rgba(214, 178, 104, .16), rgba(168, 42, 32, .12)),
    #111;
}

.video-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .18s ease;
}

.video-card:hover img {
  transform: scale(1.03);
}

.video-profession {
  justify-self: start;
  margin-top: 2px;
  padding: 3px 8px;
  border: 1px solid rgba(214, 178, 104, .28);
  color: #f0d48c;
  background: rgba(214, 178, 104, .08);
  font-size: 12px;
  font-weight: 900;
}

.video-card time {
  position: absolute;
  right: 8px;
  bottom: 8px;
  padding: 2px 7px;
  color: #fff6de;
  background: rgba(0, 0, 0, .76);
  font-size: 12px;
  font-weight: 800;
}

.video-card h2 {
  display: -webkit-box;
  min-height: 44px;
  margin: 0;
  overflow: hidden;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  color: #fff4dc;
  font-size: 16px;
  line-height: 1.45;
}

.video-card p {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin: 0;
  color: rgba(245, 238, 226, .58);
  font-size: 12px;
  font-weight: 800;
  line-height: 1.35;
}

.media-author,
.modal-author,
.comment-author {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-width: 0;
}

.media-author b {
  font: inherit;
  color: inherit;
}

.user-avatar {
  display: inline-grid;
  place-items: center;
  flex: 0 0 auto;
  width: 22px;
  height: 22px;
  overflow: hidden;
  border: 1px solid rgba(214, 178, 104, .34);
  color: #1b1207;
  background: linear-gradient(180deg, #efd28a, #b8872f);
  font-size: 12px;
  font-weight: 900;
}

.user-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.comment-author .user-avatar,
.modal-author .user-avatar {
  width: 26px;
  height: 26px;
}

.image-center-page {
  --image-card-min: 250px;
}

.image-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(var(--image-card-min), 1fr));
  gap: 20px;
  padding-top: 6px;
}

.image-card {
  display: grid;
  gap: 10px;
  min-width: 0;
  padding: 10px;
  border: 1px solid rgba(214, 178, 104, .18);
  color: #f5eee2;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .035), rgba(255, 255, 255, .01)),
    rgba(7, 7, 7, .46);
  cursor: pointer;
  font: inherit;
  text-align: left;
  transition: transform .18s ease, border-color .18s ease, background .18s ease;
}

.image-card:hover {
  transform: translateY(-2px);
  border-color: rgba(240, 212, 140, .42);
  background: rgba(20, 17, 12, .62);
}

.image-card figure {
  margin: 0;
  overflow: hidden;
  background: rgba(0, 0, 0, .36);
}

.image-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  display: block;
  object-fit: cover;
  transition: transform .22s ease;
}

.image-card:hover img {
  transform: scale(1.035);
}

.image-card > span {
  justify-self: start;
  padding: 4px 9px;
  border: 1px solid rgba(214, 178, 104, .28);
  color: var(--gold-2);
  background: rgba(214, 178, 104, .08);
  font-size: 12px;
  font-weight: 900;
}

.image-card h2 {
  min-height: 2.7em;
  margin: 0;
  color: #fff4dd;
  font-size: 17px;
  line-height: 1.35;
}

.image-card p {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin: 0;
  color: rgba(245, 238, 226, .58);
  font-size: 12px;
  font-weight: 800;
}

.image-card small {
  display: -webkit-box;
  min-height: 0;
  overflow: hidden;
  color: rgba(245, 238, 226, .54);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.5;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.image-upload-preview {
  width: min(100%, 420px);
}

.image-modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: 24px;
}

.image-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, .78);
}

.image-modal-panel {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(320px, .65fr);
  width: min(1380px, 96vw);
  max-height: 92vh;
  border: 1px solid rgba(214, 178, 104, .24);
  background: rgba(8, 8, 8, .96);
  box-shadow: 0 30px 80px rgba(0, 0, 0, .55);
  overflow: hidden;
}

.image-modal-panel figure {
  display: grid;
  place-items: center;
  min-height: 520px;
  margin: 0;
  background: #050505;
}

.image-modal-panel figure img {
  max-width: 100%;
  max-height: 92vh;
  display: block;
  object-fit: contain;
}

.image-modal-panel aside {
  display: grid;
  align-content: start;
  gap: 14px;
  max-height: 92vh;
  overflow-y: auto;
  padding: 24px;
  border-left: 1px solid rgba(214, 178, 104, .18);
}

.image-modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
  height: 34px;
  padding: 0 12px;
  border: 1px solid rgba(214, 178, 104, .28);
  color: #fff4dd;
  background: rgba(0, 0, 0, .62);
  cursor: pointer;
  font-weight: 900;
}

.image-modal-panel aside > span {
  justify-self: start;
  padding: 5px 10px;
  color: var(--gold-2);
  border: 1px solid rgba(214, 178, 104, .28);
  background: rgba(214, 178, 104, .08);
  font-weight: 900;
}

.image-modal-panel h2 {
  margin: 0;
  color: #fff4dd;
  font-size: clamp(24px, 3vw, 38px);
  line-height: 1.2;
}

.image-modal-panel p {
  margin: 0;
  color: rgba(245, 238, 226, .66);
}

.image-modal-panel p em {
  margin-left: 10px;
  color: rgba(245, 238, 226, .46);
  font-style: normal;
}

.image-modal-desc {
  padding: 12px;
  border: 1px solid rgba(214, 178, 104, .16);
  background: rgba(255, 255, 255, .035);
}

.image-modal-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.image-modal-actions button,
.image-modal-actions a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-width: 96px;
  height: 38px;
  padding: 0 12px;
  border: 1px solid rgba(214, 178, 104, .24);
  color: #f5eee2;
  background: rgba(7, 7, 7, .52);
  cursor: pointer;
  font-weight: 900;
}

.image-modal-actions button.is-active {
  color: #1b1207;
  border-color: rgba(240, 212, 140, .78);
  background: linear-gradient(180deg, #f0d48c, #b9862d);
}

.image-comments {
  display: grid;
  gap: 12px;
}

.image-comments h3 {
  margin: 0;
  color: #fff4dd;
}

.image-comments article {
  display: grid;
  gap: 5px;
  padding: 10px 0;
  border-top: 1px solid rgba(214, 178, 104, .14);
}

.image-comments article span {
  color: rgba(245, 238, 226, .44);
  font-size: 12px;
  font-weight: 800;
}

.image-comments form {
  display: grid;
  gap: 10px;
}

.image-comments textarea {
  width: 100%;
  min-height: 88px;
  padding: 10px;
  color: #fff5dd;
  border: 1px solid rgba(214, 178, 104, .22);
  background: rgba(0, 0, 0, .45);
  resize: vertical;
}

.video-comments {
  display: grid;
  gap: 14px;
  margin-top: 18px;
  padding: 18px;
  border: 1px solid rgba(214, 178, 104, .22);
  background: rgba(0, 0, 0, .24);
}

.video-comments h3 {
  margin: 0;
  color: #fff4dd;
  font-size: 18px;
}

.video-comments article {
  display: grid;
  gap: 6px;
  padding: 12px 0;
  border-top: 1px solid rgba(214, 178, 104, .14);
}

.video-comments article strong,
.video-comments article span {
  margin-right: 10px;
}

.video-comments article span {
  color: rgba(245, 238, 226, .44);
  font-size: 12px;
  font-weight: 800;
}

.video-comments article p {
  margin: 0;
  color: rgba(245, 238, 226, .82);
  line-height: 1.7;
}

.video-comments form {
  display: grid;
  gap: 10px;
}

.video-comments textarea {
  width: 100%;
  min-height: 88px;
  padding: 10px;
  color: #fff5dd;
  border: 1px solid rgba(214, 178, 104, .22);
  background: rgba(0, 0, 0, .45);
  resize: vertical;
}

.video-empty {
  grid-column: 1 / -1;
  margin: 34px 0;
  padding: 34px;
  border: 1px dashed rgba(214, 178, 104, .28);
  color: rgba(245, 238, 226, .68);
  background: rgba(7, 7, 7, .36);
  font-weight: 800;
  text-align: center;
}

.video-watch-page {
  width: min(1180px, calc(100% - 48px));
  margin: 118px auto 56px;
}

.video-player-shell {
  display: grid;
  place-items: center;
  aspect-ratio: 16 / 9;
  background: #050505;
  border: 1px solid rgba(214, 178, 104, .24);
  box-shadow: var(--shadow);
}

.video-player-shell video {
  width: 100%;
  height: 100%;
  display: block;
  background: #050505;
}

.video-watch-info {
  padding: 22px 0 0;
}

.video-watch-info h1 {
  margin-bottom: 10px;
  color: #fff5dd;
  font-size: clamp(26px, 3.2vw, 40px);
  line-height: 1.2;
}

.video-watch-info p {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  color: var(--muted);
  font-weight: 800;
}

.video-action-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 18px 0;
}

.video-action-bar button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-width: 104px;
  height: 42px;
  padding: 0 16px;
  border: 1px solid rgba(214, 178, 104, .24);
  color: #f5eee2;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .045), rgba(255, 255, 255, .012)),
    rgba(7, 7, 7, .52);
  cursor: pointer;
  font-weight: 900;
  transition: transform .16s ease, border-color .16s ease, color .16s ease, background .16s ease;
}

.video-action-bar button:hover {
  transform: translateY(-1px);
  border-color: rgba(240, 212, 140, .50);
  color: #fff6de;
}

.video-action-bar button.is-active {
  color: #1b1207;
  border-color: rgba(240, 212, 140, .78);
  background: linear-gradient(180deg, #f0d48c, #b9862d);
}

.video-action-bar strong {
  font-size: 13px;
}

.video-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 10px 0 14px;
}

.video-tags span {
  padding: 3px 8px;
  border: 1px solid rgba(214, 178, 104, .25);
  color: var(--gold-2);
  background: rgba(214, 178, 104, .08);
  font-size: 12px;
  line-height: 1.5;
  font-weight: 800;
}

.video-description {
  padding: 18px;
  border: 1px solid rgba(214, 178, 104, .18);
  color: #ddd2c1;
  background: rgba(7, 7, 7, .35);
}

.video-studio-body {
  color: var(--text);
  background:
    radial-gradient(circle at 12% 0%, rgba(214, 178, 104, .15), transparent 27rem),
    radial-gradient(circle at 84% 0%, rgba(168, 42, 32, .18), transparent 28rem),
    linear-gradient(180deg, #0a0a0a, #14100c 520px, #090909),
    #090909;
}

.video-studio-body::before {
  mask-image: linear-gradient(180deg, rgba(0,0,0,.8), transparent 72%);
}

.video-studio-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  gap: 28px;
  height: 76px;
  padding: 0 34px;
  border-bottom: 1px solid rgba(214, 178, 104, .18);
  background: rgba(5, 5, 5, .94);
  box-shadow: 0 12px 30px rgba(0, 0, 0, .35);
}

.video-studio-brand {
  color: #f1d68e;
  font-size: 24px;
  font-weight: 900;
  letter-spacing: 0;
}

.video-studio-header > a:not(.video-studio-brand) {
  color: rgba(245, 238, 226, .72);
  font-weight: 800;
}

.video-studio-header .btn {
  margin-left: auto;
  height: 36px;
  border-radius: 5px;
}

.video-studio-layout {
  position: relative;
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  width: min(1240px, calc(100% - 48px));
  min-height: calc(100vh - 84px);
  margin: 0 auto;
  padding: 116px 0 60px;
  gap: 26px;
}

.video-studio-layout.has-return {
  grid-template-columns: 220px minmax(0, 1fr);
  width: min(1240px, calc(100% - 48px));
}

.video-studio-return {
  position: absolute;
  right: calc(100% + 34px);
  top: 116px;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: 0;
}

.video-studio-return .btn {
  min-width: 132px;
  min-height: 38px;
  padding: 8px 14px;
  border-color: rgba(255, 104, 82, .58);
  color: #fff6ef;
  background: linear-gradient(180deg, rgba(174, 45, 34, .95), rgba(103, 18, 16, .95));
  box-shadow: 0 10px 22px rgba(168, 42, 32, .24);
}

.video-studio-sidebar {
  display: grid;
  align-content: start;
  grid-auto-rows: 46px;
  gap: 8px;
  padding: 18px;
  border: 1px solid rgba(214, 178, 104, .18);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .04), rgba(255, 255, 255, .01)),
    rgba(7, 7, 7, .52);
  box-shadow: var(--shadow);
}

.video-studio-sidebar a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 46px;
  padding: 0 14px;
  color: rgba(245, 238, 226, .66);
  font-weight: 900;
  border: 1px solid transparent;
  overflow: hidden;
  text-align: center;
  white-space: nowrap;
}

.video-studio-sidebar a.is-active {
  color: #1b1207;
  border-color: rgba(240, 212, 140, .62);
  background: linear-gradient(180deg, #f0d48c, #b9862d);
}

.video-studio-sidebar a:hover:not(.is-active) {
  color: #fff4dd;
  border-color: rgba(214, 178, 104, .28);
  background: rgba(214, 178, 104, .08);
}

.video-upload-panel {
  padding: 28px;
  border: 1px solid rgba(214, 178, 104, .18);
  background:
    radial-gradient(circle at 15% 0%, rgba(214, 178, 104, .13), transparent 24rem),
    linear-gradient(180deg, rgba(255, 255, 255, .04), rgba(255, 255, 255, .012)),
    rgba(7, 7, 7, .56);
  box-shadow: var(--shadow);
}

.video-upload-form {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  align-items: stretch;
  max-width: 920px;
  color: var(--text);
}

.video-upload-form h1 {
  margin: 0 0 6px;
  color: #fff4dd;
  font-size: clamp(26px, 3vw, 38px);
  line-height: 1.08;
}

.video-upload-title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.video-upload-title-row .btn {
  flex: 0 0 auto;
}

.video-upload-form label,
.video-upload-field {
  display: grid;
  grid-template-columns: 132px minmax(0, 1fr);
  gap: 10px 22px;
  align-items: start;
}

.video-upload-form label > span,
.video-upload-field > span {
  padding-top: 12px;
  color: rgba(245, 238, 226, .78);
  font-weight: 900;
}

.video-upload-form label > span b,
.video-upload-field > span b {
  color: #ff8b72;
}

.video-upload-form input,
.video-upload-form select,
.video-upload-form textarea {
  width: 100%;
  border: 1px solid rgba(214, 178, 104, .22);
  background: rgba(6, 6, 6, .62);
  color: #fff5dd;
  font: inherit;
}

.video-upload-form input:focus,
.video-upload-form select:focus,
.video-upload-form textarea:focus {
  outline: 0;
  border-color: rgba(240, 212, 140, .62);
  box-shadow: 0 0 0 3px rgba(214, 178, 104, .10);
}

.video-upload-form input,
.video-upload-form select {
  min-height: 44px;
  padding: 0 13px;
}

.video-upload-form input[type="file"] {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.video-upload-form textarea {
  padding: 13px;
  min-height: 150px;
  resize: vertical;
}

.video-upload-control {
  display: grid;
  gap: 12px;
  min-width: 0;
}

.video-upload-preview {
  display: grid;
  place-items: center;
  width: min(100%, 300px);
  min-height: 118px;
  margin: 0;
  border: 1px dashed rgba(214, 178, 104, .34);
  color: #f0d48c;
  background:
    linear-gradient(135deg, rgba(214, 178, 104, .12), transparent 58%),
    rgba(7, 7, 7, .48);
  font-weight: 900;
  overflow: hidden;
  cursor: pointer;
}

.video-upload-preview.has-file {
  place-items: stretch;
  border-style: solid;
  background: rgba(7, 7, 7, .72);
}

.video-upload-preview.is-dragover {
  border-color: rgba(126, 217, 65, .95);
  background: rgba(126, 217, 65, .13);
  box-shadow: 0 0 0 3px rgba(126, 217, 65, .2);
}

.video-upload-preview img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  display: block;
}

.video-upload-preview video {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: contain;
  display: block;
  background: #000;
}

.video-upload-preview figcaption {
  min-width: 0;
}

.video-upload-preview strong,
.video-upload-preview small {
  display: block;
  min-width: 0;
  padding: 9px 10px;
  color: #fff4dd;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.video-upload-preview small {
  padding-top: 0;
  color: rgba(245, 238, 226, .62);
  font-size: 12px;
}

.video-upload-preview.is-video {
  min-height: 88px;
  color: #fff0c8;
  background:
    linear-gradient(135deg, rgba(168, 42, 32, .18), transparent 58%),
    rgba(7, 7, 7, .48);
}

.video-upload-file-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.video-upload-file-actions .btn {
  min-width: 110px;
  height: 40px;
  border-radius: 4px;
}

.video-delete-button {
  color: #ffe8e2;
  border-color: rgba(255, 139, 114, .34);
  background: linear-gradient(180deg, rgba(133, 33, 25, .86), rgba(78, 18, 15, .94));
}

.video-cover-field input,
.video-file-field input {
  grid-column: 2;
  max-width: 460px;
}

.video-description-field textarea {
  grid-column: 2;
}

.video-upload-status {
  min-height: 22px;
  padding-left: 154px;
  margin: 0;
  color: #f0d48c;
  font-weight: 900;
}

.video-upload-actions {
  display: flex;
  gap: 14px;
  padding-left: 154px;
  padding-top: 6px;
}

.video-upload-actions .btn {
  min-width: 120px;
  border-radius: 5px;
}

.dungeon-submit-detected {
  display: grid;
  gap: 8px;
  padding: 14px;
  border: 1px solid rgba(206, 174, 111, 0.18);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
}

.dungeon-submit-detected p,
.dungeon-submit-detected div {
  display: grid;
  grid-template-columns: 90px minmax(0, 1fr) 120px;
  align-items: center;
  gap: 10px;
  margin: 0;
}

.dungeon-submit-detected p {
  grid-template-columns: minmax(0, 1fr) auto;
  color: #ffe6aa;
}

.dungeon-submit-detected span,
.dungeon-submit-detected em {
  color: rgba(255, 238, 203, 0.62);
  font-style: normal;
  font-size: 12px;
}

.dungeon-submit-detected b {
  color: #fff1cf;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.video-my-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  margin-bottom: 24px;
}

.video-my-head h1 {
  margin: 0;
  color: #fff4dd;
  font-size: clamp(26px, 3vw, 38px);
  line-height: 1.08;
}

.video-my-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  padding: 0;
}

.video-my-card {
  display: grid;
  gap: 10px;
  min-width: 0;
}

.video-my-card .video-card {
  height: 100%;
}

.video-my-delete {
  width: 100%;
  height: 40px;
  border: 1px solid rgba(255, 139, 114, .34);
  color: #ffe8e2;
  background: linear-gradient(180deg, rgba(133, 33, 25, .86), rgba(78, 18, 15, .94));
  cursor: pointer;
  font-weight: 900;
}

.video-my-delete:hover {
  border-color: rgba(255, 178, 156, .60);
  color: #fff;
}

.video-delete-confirm {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: grid;
  place-items: center;
  padding: 22px;
}

.video-delete-confirm-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, .72);
}

.video-delete-confirm-panel {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 14px;
  width: min(460px, 100%);
  padding: 26px;
  border: 1px solid rgba(255, 139, 114, .48);
  background:
    radial-gradient(circle at 18% 0%, rgba(168, 42, 32, .24), transparent 18rem),
    linear-gradient(180deg, rgba(70, 14, 10, .96), rgba(18, 8, 7, .98));
  box-shadow: 0 24px 60px rgba(0, 0, 0, .58);
}

.video-delete-confirm-panel h2 {
  margin: 0;
  color: #ffe8e2;
  font-size: 28px;
}

.video-delete-confirm-panel p {
  margin: 0;
  color: rgba(255, 232, 226, .78);
  font-weight: 800;
}

.video-delete-confirm-panel > strong {
  padding: 12px;
  border: 1px solid rgba(255, 139, 114, .22);
  color: #fff;
  background: rgba(0, 0, 0, .24);
}

.video-delete-confirm-panel > div {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: flex-end;
  padding-top: 4px;
}

.video-delete-confirm-button:disabled {
  cursor: not-allowed;
  filter: grayscale(.4);
  opacity: .62;
}

.video-upload-form.is-uploading {
  pointer-events: none;
  opacity: .76;
}

.video-upload-form a[aria-disabled="true"] {
  pointer-events: none;
  opacity: .55;
}

.activity-page {
  display: grid;
  gap: 22px;
}

.online-reward-board {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(320px, .55fr);
  gap: 18px;
  align-items: stretch;
}

.online-reward-feature,
.online-condition-panel,
.signin-qr-panel,
.signin-rule-panel {
  border: 1px solid var(--line);
  background:
    radial-gradient(circle at 12% 0%, rgba(214, 178, 104, .16), transparent 20rem),
    linear-gradient(180deg, rgba(255, 255, 255, .04), rgba(255, 255, 255, .015)),
    var(--panel);
  box-shadow: var(--shadow);
}

.online-reward-feature {
  min-height: 330px;
  padding: clamp(28px, 4vw, 46px);
}

.online-reward-feature h2,
.signin-qr-panel h2,
.signin-rule-panel h2 {
  margin-bottom: 20px;
  color: #fff5dd;
  font-size: clamp(30px, 4vw, 54px);
  line-height: 1.05;
}

.reward-chip-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.reward-chip-list strong {
  display: flex;
  align-items: center;
  min-height: 132px;
  padding: 20px;
  border: 1px solid rgba(240, 212, 140, .34);
  color: #fff7df;
  background:
    linear-gradient(135deg, rgba(216, 74, 55, .28), transparent 58%),
    rgba(7, 7, 7, .52);
  font-size: clamp(20px, 2.2vw, 30px);
  line-height: 1.25;
}

.online-condition-panel {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 30px;
}

.online-condition-panel span,
.signin-link-box span {
  color: var(--gold);
  font-size: 13px;
  font-weight: 900;
}

.online-condition-panel h3 {
  margin: 14px 0 12px;
  color: #fff5dd;
  font-size: clamp(26px, 3vw, 38px);
  line-height: 1.12;
}

.online-condition-panel p {
  margin: 0;
  color: var(--muted);
  font-size: 17px;
}

.online-hourly-board {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.reward-prize-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 18px;
}

.reward-prize-grid div {
  min-height: 116px;
  padding: 18px;
  border: 1px solid rgba(214, 178, 104, .24);
  background: rgba(7, 7, 7, .44);
}

.reward-prize-grid span {
  display: block;
  color: rgba(245, 238, 226, .72);
  font-weight: 900;
}

.reward-prize-grid strong {
  display: block;
  margin-top: 10px;
  color: #ffe39a;
  font-size: clamp(28px, 4vw, 48px);
  line-height: 1;
}

.online-golden-card .reward-prize-grid {
  grid-template-columns: 1fr;
}

.signin-board {
  display: grid;
  grid-template-columns: minmax(320px, .72fr) minmax(0, 1.28fr);
  gap: 18px;
  align-items: stretch;
}

.signin-page {
  align-content: start;
}

.signin-daily-panel {
  display: grid;
  gap: 16px;
}

.signin-daily-panel > p {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
}

.signin-daily-panel .account-panel-head,
.signin-daily-panel .activity-reward-list,
.signin-daily-panel .activity-claim-box {
  margin: 0;
}

.signin-qr-panel,
.signin-rule-panel {
  padding: clamp(24px, 3vw, 36px);
}

.signin-qr-panel {
  display: grid;
  justify-items: center;
  text-align: center;
}

.signin-qr-panel img {
  width: min(100%, 430px);
  border: 1px solid rgba(214, 178, 104, .24);
  background: #fff;
}

.signin-qr-panel .btn {
  width: min(100%, 430px);
  margin-top: 18px;
}

.activity-steps {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.activity-steps li {
  display: grid;
  grid-template-columns: 138px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  min-height: 86px;
  padding: 16px 18px;
  border: 1px solid rgba(214, 178, 104, .20);
  background: rgba(7, 7, 7, .42);
}

.activity-steps strong {
  color: #fff5dd;
  font-size: 20px;
}

.activity-steps span {
  color: var(--muted);
}

.signin-link-box {
  display: grid;
  gap: 8px;
  margin-top: 18px;
  padding: 18px;
  border: 1px solid rgba(214, 178, 104, .22);
  background: rgba(214, 178, 104, .08);
}

.signin-link-box a {
  overflow-wrap: anywhere;
  color: #ffe39a;
  font-weight: 900;
}

.info-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.download-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
}

.download-card .btn {
  white-space: nowrap;
}

.download-page {
  overflow-x: hidden;
  background: #070404;
}

.download-center {
  min-height: 100vh;
}

.download-stage {
  position: relative;
  min-height: 100vh;
  padding: 112px 0 52px;
  background:
    linear-gradient(180deg, rgba(42, 14, 10, .44) 0, rgba(20, 7, 6, .74) 760px, rgba(8, 4, 5, .96) 1480px),
    linear-gradient(90deg, rgba(0, 0, 0, .02) 0%, rgba(12, 4, 4, .16) 30%, rgba(13, 5, 5, .78) 56%, rgba(8, 4, 5, .96) 100%),
    radial-gradient(circle at 45% 14%, rgba(177, 65, 32, .22), transparent 24rem),
    url("assets/download-center-art.png") 0 88px / auto 1480px no-repeat;
}

.download-stage::before {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, transparent 0, transparent 520px, rgba(5, 2, 3, .34) 760px, rgba(5, 2, 3, .06) 1120px, transparent 1500px),
    linear-gradient(180deg, rgba(0, 0, 0, .15) 0, rgba(0, 0, 0, .38) 900px),
    radial-gradient(circle at 70% 78%, rgba(85, 14, 24, .32), transparent 26rem);
  content: "";
}

.download-stage-inner {
  position: relative;
  z-index: 1;
  width: min(900px, calc(100vw - 1080px));
  max-width: calc(100vw - clamp(980px, 52vw, 1060px) - 32px);
  min-height: 760px;
  margin-left: clamp(980px, 52vw, 1060px);
  color: #fff;
}

.download-title {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-bottom: 24px;
}

.download-title span,
.download-primary h2 span,
.download-file-info h2 span,
.download-more h2 span,
.download-trust-note h2 span,
.download-time h2 span,
.download-version h2 span,
.download-tool-card h2 span {
  color: #fff;
  font-weight: 900;
}

.download-title h1 {
  margin: 0;
  color: #fff4e5;
  font-size: 32px;
  line-height: 1;
  white-space: nowrap;
}

.download-title em {
  margin-left: 8px;
  color: rgba(255, 120, 72, .22);
  font-size: 32px;
  font-style: italic;
  font-weight: 900;
  letter-spacing: 2px;
}

.download-tabs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(18px, 3vw, 58px);
  margin-bottom: 42px;
  border-bottom: 0;
}

.download-tabs button {
  position: relative;
  min-height: 62px;
  border: 0;
  border-left: 1px solid rgba(255, 255, 255, .24);
  border-bottom: 1px solid rgba(235, 194, 126, .36);
  color: rgba(255, 255, 255, .90);
  background: transparent;
  font-size: 30px;
  font-weight: 800;
  cursor: pointer;
}

.download-tabs button:first-child {
  border-left: 0;
}

.download-tabs button.is-active {
  color: #ffd576;
}

.download-tabs button.is-active::after {
  position: absolute;
  left: 50%;
  bottom: -15px;
  width: 0;
  height: 0;
  border-left: 12px solid transparent;
  border-right: 12px solid transparent;
  border-top: 14px solid #ffd576;
  content: "";
  transform: translateX(-50%);
}

.download-panel {
  display: none;
}

.download-panel.is-active {
  display: block;
}

.download-main {
  display: grid;
  grid-template-columns: minmax(280px, .82fr) minmax(320px, 1fr);
  gap: clamp(22px, 3vw, 50px);
  align-items: start;
}

.download-primary h2,
.download-file-info h2,
.download-more h2,
.download-trust-note h2,
.download-time h2,
.download-version h2 {
  margin: 0 0 18px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(235, 194, 126, .24);
  color: #fff7ef;
  font-size: 24px;
  line-height: 1.1;
}

.official-download-button {
  position: relative;
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  grid-template-rows: auto auto;
  column-gap: 14px;
  align-items: center;
  width: 354px;
  min-height: 112px;
  padding: 18px 30px;
  border: 2px solid #c79753;
  border-radius: 18px;
  color: #7a5428;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, .42), transparent 36%),
    linear-gradient(180deg, #ffe3a4, #f4be64);
  box-shadow: inset 0 0 0 2px rgba(255, 249, 224, .32), 0 18px 38px rgba(0, 0, 0, .28);
}

.official-download-button i {
  grid-row: 1 / 3;
  width: 48px;
  height: 48px;
  background: linear-gradient(180deg, #8d5b24, #c09048);
  clip-path: polygon(22% 0, 72% 0, 58% 42%, 84% 42%, 38% 100%, 48% 54%, 20% 54%);
}

.official-download-button strong {
  color: #8b5e28;
  font-size: 26px;
  line-height: 1.1;
  white-space: nowrap;
}

.official-download-button small {
  color: rgba(93, 60, 28, .72);
  font-size: 14px;
  letter-spacing: 8px;
}

.download-file-info dl {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 14px 34px;
  margin: 0;
}

.download-file-info div {
  display: grid;
  grid-template-columns: max-content minmax(0, 1fr);
  min-width: 0;
  gap: 6px;
}

.download-file-info .is-wide {
  grid-column: 1 / -1;
  display: block;
}

.download-file-info dt,
.download-file-info dd {
  margin: 0;
  font-size: 16px;
}

.download-file-info dt {
  color: #fff;
  font-weight: 900;
  white-space: nowrap;
}

.download-file-info dd {
  color: #f2d7ca;
  white-space: normal;
}

.download-file-info .is-wide dd {
  display: inline-block;
  max-width: 100%;
  margin-top: 6px;
  padding: 2px 6px;
  border: 1px solid rgba(255, 255, 255, .36);
  color: #fff;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-family: Consolas, monospace;
  font-size: 13px;
}

.download-more {
  width: min(900px, 100%);
  margin-top: 42px;
}

.download-methods {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(16px, 2vw, 28px);
}

.download-methods a {
  display: grid;
  place-items: center;
  min-height: 72px;
  padding: 12px 18px;
  border: 2px solid rgba(176, 123, 78, .58);
  color: rgba(255, 242, 230, .78);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, .08), rgba(0, 0, 0, .18)),
    rgba(88, 52, 34, .55);
  box-shadow: inset 0 0 18px rgba(255, 222, 165, .08);
  text-align: center;
}

.download-methods b {
  color: rgba(255, 246, 236, .82);
  font-size: 19px;
  line-height: 1.1;
}

.download-methods small {
  margin-top: 4px;
  color: rgba(255, 236, 218, .56);
}

.download-methods .is-disabled {
  border-color: rgba(255, 255, 255, .45);
  background: rgba(255, 255, 255, .14);
}

.download-helper-links {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  margin-top: 22px;
  color: rgba(255, 255, 255, .56);
  font-size: 15px;
}

.download-trust-note {
  width: min(900px, 100%);
  margin-top: 34px;
  padding: 18px 22px;
  border: 1px solid rgba(245, 193, 103, .32);
  background: rgba(14, 10, 8, .58);
}

.download-trust-note p {
  margin: 0 0 14px;
  color: rgba(255, 236, 218, .76);
  font-size: 15px;
  line-height: 1.7;
}

.download-trust-note dl {
  display: grid;
  gap: 10px;
  margin: 0;
}

.download-trust-note div {
  display: grid;
  grid-template-columns: max-content minmax(0, 1fr);
  gap: 8px;
  min-width: 0;
}

.download-trust-note dt,
.download-trust-note dd {
  margin: 0;
  font-size: 14px;
}

.download-trust-note dt {
  color: #fff;
  font-weight: 900;
  white-space: nowrap;
}

.download-trust-note dd {
  min-width: 0;
  color: #f4d9bd;
  overflow-wrap: anywhere;
  font-family: Consolas, "Microsoft YaHei", monospace;
}

.download-time {
  width: min(780px, 100%);
  margin-top: 36px;
}

.download-speed-list {
  display: grid;
  gap: 8px;
}

.download-speed-list p {
  display: grid;
  grid-template-columns: 96px 92px minmax(120px, 1fr);
  align-items: center;
  gap: 8px;
  margin: 0;
  color: #fff;
}

.download-speed-list span,
.download-speed-list b {
  font-size: 15px;
  white-space: nowrap;
}

.download-speed-list b {
  font-weight: 500;
}

.download-speed-list i {
  display: block;
  width: var(--w);
  height: 10px;
  background: linear-gradient(90deg, #ffd478, rgba(142, 90, 55, .82));
}

.download-warning-overlay {
  position: fixed;
  z-index: 1200;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(0, 0, 0, .36);
}

.download-warning-toast {
  width: min(520px, calc(100vw - 32px));
  padding: 16px 18px;
  border: 1px solid rgba(230, 197, 117, .45);
  border-radius: 8px;
  color: #f5e4b8;
  background: rgba(19, 14, 9, .96);
  box-shadow: 0 18px 48px rgba(0, 0, 0, .45);
}

.download-warning-toast h2 {
  margin: 0 0 10px;
  color: #ffd478;
  font-size: 20px;
  line-height: 1.25;
}

.download-warning-toast p {
  margin: 0 0 12px;
  color: #f5e4b8;
  line-height: 1.7;
}

.download-warning-toast a {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  color: #62b7ff;
  font-weight: 900;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.download-warning-toast button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  float: right;
  min-height: 34px;
  margin-left: 12px;
  padding: 0 16px;
  border: 0;
  border-radius: 4px;
  color: #22160a;
  background: #e6c575;
  font-weight: 900;
  cursor: pointer;
}

.download-version {
  max-width: 900px;
  margin-top: 0;
  padding-bottom: 96px;
}

.download-version-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  margin-bottom: 18px;
}

.download-version-head h2 {
  flex: 1;
  margin-bottom: 0;
}

.download-version-head a {
  color: #fff;
}

.download-patch-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}

.download-patch-list a {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 160px;
  gap: 5px;
  min-height: 88px;
  padding: 13px 16px;
  border: 2px solid rgba(235, 194, 126, .36);
  border-radius: 8px;
  color: #fff7ef;
  background:
    linear-gradient(135deg, rgba(255, 224, 160, .10), rgba(0, 0, 0, .12)),
    rgba(37, 20, 15, .64);
  box-shadow: inset 0 0 18px rgba(255, 222, 165, .06);
}

.download-patch-list a:first-child {
  border-color: #b07a3a;
  color: #5c4125;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, .18), transparent 36%),
    linear-gradient(180deg, #ffe5a8, #f7cf80);
}

.download-patch-list a:hover {
  border-color: rgba(255, 213, 118, .68);
  background:
    linear-gradient(135deg, rgba(255, 224, 160, .18), rgba(168, 42, 32, .14)),
    rgba(49, 25, 17, .76);
}

.download-patch-list time {
  color: #ffd576;
  font-family: Consolas, monospace;
  font-size: 13px;
  font-weight: 900;
}

.download-patch-list a:first-child time,
.download-patch-list a:first-child b,
.download-patch-list a:first-child small {
  color: #6f4f2c;
}

.download-patch-list b {
  color: #fff;
  font-size: 22px;
  line-height: 1.15;
}

.download-patch-list small {
  color: rgba(255, 236, 218, .62);
  font-size: 13px;
  line-height: 1.35;
}

.download-patch-list a::after {
  grid-column: 2;
  grid-row: 1 / 4;
  align-self: center;
  justify-self: end;
  min-width: 130px;
  padding: 10px 18px;
  border-radius: 8px;
  color: #f7d2b6;
  background: rgba(109, 70, 43, .78);
  text-align: center;
  content: "HTTP下载 ›";
}

.download-patch-list a:first-child::after {
  color: #fff;
  background: #ff402e;
}

.download-tools {
  display: none;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  max-width: 1000px;
}

.download-tools.is-active {
  display: grid;
}

@media (max-width: 1760px) and (min-width: 1181px) {
  .download-main {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .download-title em {
    display: none;
  }

  .download-tabs button {
    font-size: 24px;
  }

  .official-download-button {
    width: min(100%, 354px);
  }

  .download-file-info dl {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.download-tool-card h2 {
  margin: 0 0 20px;
  color: #fff7ef;
  font-size: 24px;
}

.download-tool-preview {
  position: relative;
  display: grid;
  align-content: center;
  min-height: 198px;
  padding: 24px;
  border: 3px solid rgba(245, 214, 170, .72);
  border-radius: 8px;
  color: #fff;
  overflow: hidden;
  box-shadow: 0 14px 28px rgba(0, 0, 0, .36);
}

.download-tool-preview::before {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, .16), rgba(0, 0, 0, .16)),
    repeating-linear-gradient(0deg, rgba(255, 255, 255, .08) 0 1px, transparent 1px 34px),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, .06) 0 1px, transparent 1px 42px);
  content: "";
}

.download-tool-preview.is-autofire {
  background:
    radial-gradient(circle at 75% 20%, rgba(255, 75, 45, .55), transparent 7rem),
    linear-gradient(135deg, #194d6c, #231533 58%, #6d251b);
}

.download-tool-preview.is-manager {
  background:
    radial-gradient(circle at 76% 24%, rgba(80, 220, 120, .55), transparent 7rem),
    linear-gradient(135deg, #d8ebff, #81b4e3 48%, #326eaf);
}

.download-tool-preview.is-display {
  background:
    radial-gradient(circle at 76% 24%, rgba(120, 205, 255, .58), transparent 7rem),
    linear-gradient(135deg, #0e3c55, #182133 58%, #5c2c1e);
}

.download-tool-preview.is-box {
  background:
    radial-gradient(circle at 78% 24%, rgba(255, 210, 110, .56), transparent 7rem),
    linear-gradient(135deg, #4f2b17, #211712 58%, #74411f);
}

.download-tool-preview.is-jar {
  background:
    radial-gradient(circle at 78% 22%, rgba(193, 255, 116, .52), transparent 7rem),
    linear-gradient(135deg, #263f1e, #181d15 58%, #5d4b1f);
}

.download-tool-preview.is-record {
  background:
    radial-gradient(circle at 78% 24%, rgba(255, 92, 92, .58), transparent 7rem),
    linear-gradient(135deg, #4b1720, #211420 58%, #7b2323);
}

.download-tool-preview.is-uu {
  background:
    radial-gradient(circle at 78% 24%, rgba(80, 200, 255, .52), transparent 7rem),
    linear-gradient(135deg, #123f75, #101a38 58%, #234d91);
}

.download-tool-preview.is-remote {
  background:
    radial-gradient(circle at 78% 24%, rgba(210, 170, 255, .52), transparent 7rem),
    linear-gradient(135deg, #30215e, #171428 58%, #4e2f74);
}

.download-tool-preview b,
.download-tool-preview span,
.download-tool-preview i {
  position: relative;
  z-index: 1;
}

.download-tool-preview b {
  font-size: 42px;
  line-height: 1;
}

.download-tool-preview span {
  margin-top: 10px;
  font-size: 22px;
  font-weight: 900;
}

.download-tool-preview i {
  margin-top: 8px;
  color: rgba(255, 255, 255, .82);
  font-style: normal;
  font-weight: 800;
}

.download-tool-card p {
  margin: 18px 0 16px;
  color: rgba(255, 245, 235, .86);
  font-size: 16px;
  line-height: 1.6;
  min-height: 78px;
}

.download-tool-card > a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 140px;
  min-height: 42px;
  border: 1px solid rgba(235, 194, 126, .45);
  border-radius: 6px;
  color: #f7d2b6;
  background: rgba(109, 70, 43, .62);
}

.account-panel {
  max-width: 980px;
  margin-left: auto;
  margin-right: auto;
}

.account-password-panel {
  max-width: 980px;
}

.account-panel-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
}

.activity-package-icon {
  flex: 0 0 auto;
  width: 42px;
  height: 42px;
}

.account-panel-head h2 {
  margin: 4px 0 0;
  color: #fff5dd;
  font-size: 24px;
  line-height: 1.18;
}

.account-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 20px;
  border-bottom: 1px solid rgba(214, 178, 104, .20);
}

.account-tabs button {
  min-height: 42px;
  padding: 0 18px;
  border: 0;
  color: var(--muted);
  background: transparent;
  cursor: pointer;
  font-weight: 900;
}

.account-tabs button.is-active {
  color: #120c05;
  background: linear-gradient(180deg, #efd28a, #b8872f);
}

.account-form {
  display: none;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  align-items: end;
}

.account-form.is-active {
  display: grid;
}

.account-form label {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 900;
}

.account-form input {
  width: 100%;
  height: 46px;
  padding: 0 13px;
  border: 1px solid rgba(214, 178, 104, .24);
  color: var(--text);
  background: rgba(7, 7, 7, .72);
}

.account-form .btn {
  align-self: end;
  width: fit-content;
}

.account-status {
  min-height: 24px;
  margin: 18px 0 0;
  color: var(--muted);
  font-weight: 800;
}

.account-status.is-ok { color: #91e8aa; }
.account-status.is-error { color: #ff9a88; }

.account-session {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px 16px;
  align-items: center;
  margin: 18px 0 0;
  padding: 14px;
  border: 1px solid rgba(145, 232, 170, .28);
  background: rgba(20, 76, 42, .18);
}

.account-session strong,
.account-session span {
  min-width: 0;
}

.account-session strong {
  color: #91e8aa;
}

.account-session span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.account-session .btn {
  grid-row: 1 / span 2;
  grid-column: 2;
}

.account-session .character-picker {
  grid-column: 1 / -1;
  margin-top: 6px;
}

.character-picker {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr) auto;
  gap: 12px;
  margin: 0 0 16px;
  padding: 14px;
  border: 1px solid rgba(214, 178, 104, .20);
  background:
    linear-gradient(135deg, rgba(214, 178, 104, .08), transparent 42%),
    rgba(7, 7, 7, .46);
}

.character-picker > strong {
  grid-column: 1 / -1;
  color: #fff5dd;
  font-size: 16px;
}

.character-picker label {
  display: grid;
  gap: 8px;
}

.account-avatar-upload {
  align-self: end;
  width: 56px;
  height: 56px;
  cursor: pointer;
}

.account-avatar-upload input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.account-avatar-upload > span {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border: 1px solid rgba(240, 212, 140, .46);
  color: #f0d48c;
  background: rgba(7, 7, 7, .48);
  overflow: hidden;
}

.account-avatar-upload img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.account-avatar-upload b {
  font-size: 30px;
  line-height: 1;
  animation: avatarPlusBlink 1.15s ease-in-out infinite;
}

@keyframes avatarPlusBlink {
  0%, 100% { opacity: .36; transform: scale(.92); }
  50% { opacity: 1; transform: scale(1.04); }
}

.character-picker label > span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
}

.character-picker select {
  width: 100%;
  height: 38px;
  padding: 0 10px;
  border: 1px solid rgba(214, 178, 104, .22);
  color: #fff5dd;
  background: rgba(7, 7, 7, .42);
  font-weight: 900;
}

.character-picker button {
  align-self: end;
  min-width: 88px;
  height: 38px;
  padding: 0 16px;
  border: 1px solid rgba(240, 212, 140, .48);
  color: #120c05;
  background: linear-gradient(180deg, #efd28a, #b8872f);
  font-weight: 900;
  cursor: pointer;
}

.character-picker button:hover {
  filter: brightness(1.08);
}

.character-picker button:disabled {
  opacity: .7;
  cursor: wait;
}

.character-picker.is-compact {
  margin: 0 0 14px;
  padding: 10px;
  grid-template-columns: 48px minmax(0, 1fr) auto;
}

.character-picker.is-compact select,
.character-picker.is-compact button {
  height: 36px;
}

.character-picker.is-compact .account-avatar-upload,
.character-picker.is-compact .account-avatar-upload > span {
  width: 48px;
  height: 48px;
}

.account-overview {
  max-width: 980px;
  margin-left: auto;
  margin-right: auto;
}

.account-summary-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 18px;
}

.account-summary-grid div,
.character-card,
.equipment-grid div {
  border: 1px solid rgba(214, 178, 104, .22);
  background: rgba(7, 7, 7, .44);
}

.account-summary-grid div {
  display: grid;
  gap: 6px;
  min-height: 86px;
  padding: 16px;
}

.account-summary-grid span,
.character-head span,
.equipment-grid span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
}

.account-summary-grid strong {
  color: #fff5dd;
  font-size: 24px;
  line-height: 1.1;
}

.character-list {
  display: grid;
  gap: 14px;
}

.reward-panel {
  margin-top: 24px;
  margin-bottom: 22px;
}

.reward-panel h3 {
  margin: 0 0 18px;
  color: #fff5dd;
  font-size: 22px;
}

.reward-grid {
  display: grid;
  gap: 14px;
  overflow: visible;
  padding: 6px 0 14px;
  scrollbar-width: thin;
}

.reward-grid-row {
  display: grid;
  gap: 12px;
  min-width: 100%;
  isolation: isolate;
}

.reward-grid button,
.reward-grid p {
  position: relative;
  overflow: hidden;
  width: 100%;
  min-width: 0;
  min-height: 48px;
  padding: 0 12px;
  border: 1px solid rgba(125, 213, 255, .22);
  color: rgba(218, 244, 255, .76);
  background:
    linear-gradient(180deg, rgba(125, 213, 255, .12), rgba(63, 134, 176, .06)),
    rgba(7, 7, 7, .42);
  text-align: center;
  font-size: 12px;
  font-weight: 900;
  cursor: pointer;
  white-space: nowrap;
  transition: transform .16s ease, border-color .16s ease, background .16s ease, box-shadow .16s ease, color .16s ease;
}

.reward-grid button b {
  position: relative;
  z-index: 1;
}

.reward-grid button.is-ready {
  color: #fff5dd;
  border-color: rgba(255, 91, 64, .62);
  background:
    linear-gradient(180deg, rgba(168, 42, 32, .26), rgba(77, 20, 16, .28)),
    rgba(7, 7, 7, .44);
  box-shadow: inset 0 0 18px rgba(255, 91, 64, .10), 0 0 14px rgba(255, 91, 64, .16);
}

.reward-ready-badge {
  position: absolute;
  top: 4px;
  right: 5px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 3px;
  min-height: 18px;
  padding: 0 6px;
  color: #fff8e0;
  background: linear-gradient(180deg, #e54a32, #8b2018);
  border: 1px solid rgba(255, 204, 124, .42);
  box-shadow: 0 0 12px rgba(255, 82, 54, .34);
  font-size: 10px;
  font-weight: 900;
  line-height: 1;
}

.reward-ready-badge i {
  position: relative;
  display: inline-block;
  width: 10px;
  height: 9px;
  border: 1px solid rgba(255, 244, 194, .9);
  background: linear-gradient(180deg, #ffd978, #d1462e);
}

.reward-ready-badge i::before {
  position: absolute;
  left: 50%;
  top: -4px;
  width: 8px;
  height: 4px;
  border: 1px solid rgba(255, 244, 194, .9);
  border-bottom: 0;
  content: "";
  transform: translateX(-50%);
}

.reward-grid button.is-ready.is-claimed .reward-ready-badge {
  display: none;
}

.reward-grid button:hover {
  z-index: 2;
  color: #f3fcff;
  border-color: rgba(125, 213, 255, .58);
  background:
    linear-gradient(180deg, rgba(125, 213, 255, .20), rgba(63, 134, 176, .10)),
    rgba(7, 7, 7, .48);
  box-shadow: inset 0 0 0 1px rgba(125, 213, 255, .22), 0 0 18px rgba(125, 213, 255, .16), inset 0 0 18px rgba(125, 213, 255, .08);
  transform: none;
}

.reward-grid button::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 0%, rgba(255, 255, 255, .18) 44%, transparent 58%);
  content: "";
  opacity: 0;
  transform: translateX(-120%);
  transition: opacity .16s ease, transform .32s ease;
  pointer-events: none;
}

.reward-grid button:hover::after {
  opacity: 1;
  transform: translateX(120%);
}

.reward-grid button:active {
  transform: none;
}

.reward-grid button.is-current {
  color: #fff;
  border-color: rgba(255, 107, 77, .95);
  background:
    linear-gradient(180deg, rgba(168, 42, 32, .78), rgba(77, 20, 16, .86)),
    rgba(7, 7, 7, .42);
  box-shadow:
    0 0 0 1px rgba(255, 221, 150, .26),
    0 0 18px rgba(255, 82, 54, .42),
    inset 0 0 18px rgba(255, 214, 132, .12);
}

.reward-grid button.is-current:hover {
  border-color: rgba(255, 150, 112, 1);
  box-shadow:
    0 0 0 1px rgba(255, 221, 150, .32),
    0 0 24px rgba(255, 82, 54, .54),
    inset 0 0 18px rgba(255, 214, 132, .16);
}

.reward-grid button.is-claimed {
  color: rgba(255, 239, 190, .76);
  border-color: rgba(255, 216, 128, .28);
  background:
    linear-gradient(180deg, rgba(255, 216, 128, .16), rgba(155, 111, 40, .09)),
    rgba(7, 7, 7, .44);
  box-shadow: inset 0 0 18px rgba(255, 216, 128, .08);
}

.reward-grid button.is-claimed.is-current {
  color: #fff0c2;
  border-color: rgba(255, 216, 128, .48);
  background:
    linear-gradient(180deg, rgba(255, 216, 128, .22), rgba(155, 111, 40, .16)),
    rgba(7, 7, 7, .44);
  box-shadow:
    0 0 0 2px rgba(255, 216, 128, .14),
    inset 0 0 18px rgba(255, 216, 128, .08);
}

.reward-grid p {
  margin: 0;
  color: var(--muted);
  text-align: left;
}

.recharge-page-panel,
.reward-gallery-panel {
  max-width: min(1480px, calc(100vw - 64px));
  margin-left: auto;
  margin-right: auto;
  position: relative;
}

.recharge-page-panel {
  --vip-accent: #f5f5f5;
  --vip-glow: rgba(245, 245, 245, .26);
  padding-top: 36px;
  padding-bottom: 40px;
  background:
    radial-gradient(circle at 8% 10%, color-mix(in srgb, var(--vip-accent) 22%, transparent), transparent 28rem),
    radial-gradient(circle at 96% 18%, color-mix(in srgb, var(--vip-accent) 18%, transparent), transparent 24rem),
    linear-gradient(180deg, rgba(255, 255, 255, .045), rgba(255, 255, 255, .015)),
    var(--panel);
}

.reward-gallery-panel {
  background:
    radial-gradient(circle at 0% 12%, color-mix(in srgb, var(--vip-accent, #d6b268) 14%, transparent), transparent 24rem),
    radial-gradient(circle at 100% 20%, color-mix(in srgb, var(--vip-accent, #d6b268) 11%, transparent), transparent 22rem),
    linear-gradient(180deg, rgba(255, 255, 255, .035), rgba(255, 255, 255, .012)),
    var(--panel);
}

.recharge-page-panel[data-vip-tone="vip-white"],
.reward-gallery-panel[data-vip-tone="vip-white"],
.reward-detail-card[data-vip-tone="vip-white"] {
  --vip-accent: #f5f5f5;
  --vip-glow: rgba(245, 245, 245, .26);
}

.recharge-page-panel[data-vip-tone="vip-sky"],
.reward-gallery-panel[data-vip-tone="vip-sky"],
.reward-detail-card[data-vip-tone="vip-sky"] {
  --vip-accent: #55cfff;
  --vip-glow: rgba(85, 207, 255, .34);
}

.recharge-page-panel[data-vip-tone="vip-purple"],
.reward-gallery-panel[data-vip-tone="vip-purple"],
.reward-detail-card[data-vip-tone="vip-purple"] {
  --vip-accent: #b45cff;
  --vip-glow: rgba(180, 92, 255, .34);
}

.recharge-page-panel[data-vip-tone="vip-pink"],
.reward-gallery-panel[data-vip-tone="vip-pink"],
.reward-detail-card[data-vip-tone="vip-pink"] {
  --vip-accent: #ff6bd5;
  --vip-glow: rgba(255, 107, 213, .34);
}

.recharge-page-panel[data-vip-tone="vip-gold"],
.reward-gallery-panel[data-vip-tone="vip-gold"],
.reward-detail-card[data-vip-tone="vip-gold"] {
  --vip-accent: #f6c84b;
  --vip-glow: rgba(246, 200, 75, .36);
}

.recharge-page-panel[data-vip-tone="vip-red"],
.reward-gallery-panel[data-vip-tone="vip-red"],
.reward-detail-card[data-vip-tone="vip-red"] {
  --vip-accent: #e5332e;
  --vip-glow: rgba(229, 51, 46, .38);
}

.recharge-hero-panel {
  display: grid;
  gap: 24px;
}

.vip-showcase {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: end;
  overflow: hidden;
  min-height: 290px;
  padding: clamp(22px, 4vw, 40px);
  border: 1px solid color-mix(in srgb, currentColor 48%, rgba(214, 178, 104, .20));
  background:
    radial-gradient(circle at 18% 42%, color-mix(in srgb, currentColor 28%, transparent), transparent 20rem),
    linear-gradient(115deg, color-mix(in srgb, currentColor 18%, #101010) 0%, rgba(11, 11, 13, .98) 48%, rgba(2, 2, 4, .96) 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .08),
    inset 0 -46px 70px rgba(0, 0, 0, .50),
    0 20px 52px rgba(0, 0, 0, .38),
    0 0 42px color-mix(in srgb, currentColor 18%, transparent);
}

.vip-showcase::before {
  position: absolute;
  right: clamp(24px, 5vw, 70px);
  top: 50%;
  width: clamp(160px, 22vw, 300px);
  aspect-ratio: 1;
  border: 1px solid color-mix(in srgb, currentColor 38%, transparent);
  background:
    linear-gradient(45deg, transparent 48%, color-mix(in srgb, currentColor 42%, transparent) 49% 51%, transparent 52%),
    linear-gradient(-45deg, transparent 48%, color-mix(in srgb, currentColor 28%, transparent) 49% 51%, transparent 52%);
  box-shadow: inset 0 0 50px color-mix(in srgb, currentColor 18%, transparent), 0 0 42px color-mix(in srgb, currentColor 18%, transparent);
  content: "";
  opacity: .52;
  transform: translateY(-50%) rotate(45deg);
}

.vip-showcase::after {
  position: absolute;
  left: 28px;
  right: 28px;
  bottom: 30px;
  height: 2px;
  background: linear-gradient(90deg, transparent, color-mix(in srgb, currentColor 80%, transparent), color-mix(in srgb, #fff 24%, currentColor), transparent);
  content: "";
  opacity: .76;
}

.vip-showcase h2 {
  position: relative;
  z-index: 1;
  margin: 0;
  width: fit-content;
  color: color-mix(in srgb, currentColor 82%, #fff);
  font-family: "Microsoft YaHei UI", "Microsoft YaHei", "Arial Black", sans-serif;
  font-size: clamp(104px, 14vw, 220px);
  font-weight: 900;
  line-height: .86;
  letter-spacing: 0;
  text-shadow:
    0 2px 0 color-mix(in srgb, #fff 28%, currentColor),
    0 8px 0 rgba(0, 0, 0, .58),
    0 20px 40px color-mix(in srgb, currentColor 46%, transparent);
  -webkit-text-stroke: 1px color-mix(in srgb, currentColor 52%, #fff);
}

.vip-showcase h2::after {
  position: absolute;
  left: 0;
  top: calc(100% + 8px);
  content: attr(data-vip);
  color: transparent;
  background: linear-gradient(180deg, color-mix(in srgb, currentColor 45%, transparent), transparent 78%);
  -webkit-background-clip: text;
  background-clip: text;
  font: inherit;
  line-height: inherit;
  opacity: .42;
  transform: scaleY(-.42);
  transform-origin: top;
  filter: blur(.4px);
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, .75), transparent 78%);
}

.vip-showcase span,
.vip-showcase strong {
  position: relative;
  z-index: 1;
}

.vip-showcase span {
  display: block;
  margin-top: 12px;
  color: color-mix(in srgb, currentColor 70%, #fff);
  font-size: clamp(18px, 2.2vw, 28px);
  font-weight: 900;
}

.vip-card-identity {
  align-self: end;
  justify-self: end;
  display: inline-flex;
  align-items: baseline;
  gap: 10px;
  margin: 0 clamp(2px, 3vw, 34px) 12px 0;
  text-align: right;
  text-shadow: 0 0 14px color-mix(in srgb, currentColor 24%, transparent);
}

.vip-card-identity small {
  color: color-mix(in srgb, currentColor 62%, rgba(245, 238, 226, .72));
  font-size: 15px;
  font-weight: 900;
  letter-spacing: 0;
}

.vip-card-identity b {
  color: rgba(245, 238, 226, .88);
  font-size: 18px;
  font-weight: 900;
  letter-spacing: 0;
}

.vip-showcase > strong:not(.vip-card-identity) {
  color: rgba(245, 238, 226, .78);
  font-size: 18px;
}

.vip-showcase.is-vip-white { color: #f5f5f5; }
.vip-showcase.is-vip-sky { color: #55cfff; }
.vip-showcase.is-vip-purple { color: #b45cff; }
.vip-showcase.is-vip-pink { color: #ff6bd5; }
.vip-showcase.is-vip-gold { color: #f6c84b; }
.vip-showcase.is-vip-red { color: #e5332e; }

.recharge-hero-panel > h2 {
  margin: 0;
  color: #fff5dd;
  font-size: clamp(28px, 3.6vw, 48px);
  line-height: 1.05;
}

.recharge-balance-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.recharge-balance-row div,
.recharge-character-strip article {
  border: 1px solid rgba(214, 178, 104, .22);
  background: rgba(7, 7, 7, .44);
}

.recharge-balance-row div {
  display: grid;
  gap: 6px;
  min-height: 88px;
  padding: 16px;
}

.recharge-balance-row span,
.recharge-character-strip span,
.recharge-progress span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
}

.recharge-balance-row strong {
  color: #fff5dd;
  font-size: 24px;
  line-height: 1.1;
}

.recharge-progress {
  display: grid;
  gap: 14px;
  padding: 22px 18px;
  border: 1px solid rgba(214, 178, 104, .22);
  background:
    linear-gradient(135deg, rgba(168, 42, 32, .14), transparent 50%),
    rgba(7, 7, 7, .46);
}

.recharge-progress div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.recharge-progress strong {
  color: #fff5dd;
  font-size: 20px;
}

.recharge-progress em {
  color: var(--muted);
  font-size: 12px;
  font-style: normal;
  font-weight: 900;
}

.recharge-progress i {
  position: relative;
  overflow: hidden;
  height: 18px;
  border: 1px solid rgba(240, 212, 140, .26);
  background: rgba(255, 255, 255, .06);
}

.recharge-progress i::before {
  position: absolute;
  inset: 0 auto 0 0;
  width: var(--progress);
  background: linear-gradient(90deg, #d04432, #efd28a);
  content: "";
}

.recharge-character-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin: 28px 0 24px;
}

.recharge-character-strip article {
  display: grid;
  gap: 6px;
  min-height: 78px;
  padding: 14px;
}

.recharge-character-strip strong {
  overflow: hidden;
  color: #fff5dd;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 18px;
}

.reward-image-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 18px;
  max-width: min(1180px, calc(100vw - 112px));
  margin: 0 auto;
  align-items: start;
}

.reward-image-card {
  overflow: hidden;
  border: 1px solid rgba(214, 178, 104, .22);
  background:
    linear-gradient(135deg, rgba(214, 178, 104, .10), transparent 46%),
    rgba(7, 7, 7, .54);
  box-shadow: 0 18px 42px rgba(0, 0, 0, .34);
}

.reward-image-card.is-claimed {
  border-color: rgba(255, 225, 128, .92);
  box-shadow:
    0 0 0 1px rgba(255, 244, 194, .28),
    0 0 28px rgba(240, 212, 140, .28),
    inset 0 0 24px rgba(240, 212, 140, .10);
}

.reward-image-card div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 12px;
  border-bottom: 1px solid rgba(214, 178, 104, .16);
}

.reward-image-card span {
  color: #fff5dd;
  font-weight: 900;
}

.reward-image-card strong {
  color: rgba(245, 238, 226, .52);
  font-size: 12px;
}

.reward-image-card.is-claimed strong {
  color: #120c05;
  padding: 4px 8px;
  background: linear-gradient(180deg, #efd28a, #b8872f);
}

.reward-image-card figure {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1px;
  margin: 0;
  background: rgba(214, 178, 104, .14);
}

.reward-image-card figure.has-guardian {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.reward-image-card img {
  display: block;
  width: 100%;
  height: min(58vh, 560px);
  min-height: 420px;
  object-fit: contain;
  background: #050505;
}

.reward-detail-card {
  --vip-accent: #f5f5f5;
  --vip-glow: rgba(245, 245, 245, .26);
  display: grid;
  grid-template-rows: auto 1fr 300px;
  gap: 18px;
  height: 832px;
  overflow: hidden;
  padding: 18px;
  border: 1px solid color-mix(in srgb, var(--vip-accent) 36%, transparent);
  background:
    radial-gradient(circle at 12% 0%, color-mix(in srgb, var(--vip-accent) 18%, transparent), transparent 22rem),
    linear-gradient(135deg, color-mix(in srgb, var(--vip-accent) 12%, transparent), transparent 46%),
    rgba(7, 7, 7, .54);
  box-shadow:
    0 18px 42px rgba(0, 0, 0, .34),
    inset 0 0 28px color-mix(in srgb, var(--vip-accent) 6%, transparent);
}

.reward-detail-card.is-claimed {
  border-color: rgba(255, 225, 128, .92);
  box-shadow:
    0 0 0 1px rgba(255, 244, 194, .28),
    0 0 28px rgba(240, 212, 140, .28),
    inset 0 0 24px rgba(240, 212, 140, .10);
}

.reward-detail-card > header,
.guardian-detail-panel > header {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
}

.guardian-detail-panel > header {
  grid-template-columns: auto minmax(0, 1fr);
}

.reward-detail-card > header img,
.guardian-detail-panel > header img {
  width: 38px;
  height: 38px;
  image-rendering: pixelated;
  object-fit: contain;
}

.reward-detail-card > header span,
.guardian-detail-panel > header span {
  color: color-mix(in srgb, var(--vip-accent, #f5f5f5) 48%, rgba(245, 238, 226, .58));
  font-size: 12px;
  font-weight: 900;
}

.reward-detail-card h3,
.guardian-detail-panel h4 {
  margin: 2px 0 0;
  color: color-mix(in srgb, var(--vip-accent, #f5f5f5) 40%, #fff5dd);
  font-size: 22px;
}

.guardian-detail-panel h4 {
  font-size: 20px;
}

.reward-claim-button {
  justify-self: end;
  min-width: 72px;
  min-height: 32px;
  padding: 0 12px;
  border: 1px solid rgba(255, 91, 64, .55);
  color: #fff4e0;
  background: linear-gradient(180deg, #d1462e, #85251d);
  font-size: 12px;
  font-weight: 900;
  cursor: pointer;
}

.reward-claim-button.is-ready:hover {
  border-color: rgba(255, 181, 112, .9);
  box-shadow: 0 0 18px rgba(255, 82, 54, .36);
}

.reward-claim-button.is-claimed,
.reward-claim-button.is-locked,
.reward-claim-button:disabled {
  border-color: rgba(245, 238, 226, .18);
  color: rgba(245, 238, 226, .48);
  background: linear-gradient(180deg, rgba(120, 120, 120, .22), rgba(35, 35, 35, .54));
  cursor: default;
  box-shadow: none;
}

.reward-detail-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-content: start;
  gap: 10px;
  min-height: 396px;
  overflow: hidden;
}

.reward-detail-list p {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  min-height: 48px;
  margin: 0;
  padding: 8px 10px;
  border: 1px solid rgba(214, 178, 104, .14);
  background: rgba(0, 0, 0, .26);
  color: rgba(245, 238, 226, .86);
  font-weight: 800;
}

.reward-item-dot {
  width: 10px;
  height: 10px;
  border: 1px solid rgba(255, 226, 154, .55);
  background: linear-gradient(135deg, #ffe39a, #c1472e);
  box-shadow: 0 0 14px rgba(255, 121, 46, .38);
}

.reward-item-icon {
  justify-self: center;
  width: 34px;
  height: 34px;
}

.reward-package-icon {
  width: 48px;
  height: 48px;
}

.guardian-detail-panel {
  display: grid;
  grid-template-rows: auto 1fr;
  gap: 14px;
  height: 300px;
  min-height: 0;
  padding: 16px;
  overflow: hidden;
  align-content: start;
  border: 1px solid color-mix(in srgb, var(--vip-accent, #55cfff) 40%, transparent);
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--vip-accent, #55cfff) 16%, transparent), transparent 48%),
    rgba(0, 0, 0, .26);
  box-shadow: inset 0 0 22px color-mix(in srgb, var(--vip-accent, #55cfff) 8%, transparent);
}

.guardian-detail-panel > div {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-content: start;
  gap: 8px;
  overflow: hidden;
}

.guardian-detail-panel p {
  margin: 0;
  padding: 8px 10px;
  border: 1px solid color-mix(in srgb, var(--vip-accent, #55cfff) 22%, transparent);
  color: color-mix(in srgb, var(--vip-accent, #55cfff) 56%, #fff);
  background: color-mix(in srgb, var(--vip-accent, #55cfff) 7%, rgba(0, 0, 0, .24));
  font-weight: 800;
}

.guardian-detail-panel h4 {
  color: color-mix(in srgb, var(--vip-accent, #55cfff) 62%, #fff);
}

.guardian-detail-panel.is-empty {
  opacity: .82;
}

.guardian-empty-icon {
  display: block;
  width: 38px;
  height: 38px;
  border: 1px solid color-mix(in srgb, var(--vip-accent, #55cfff) 35%, transparent);
  background:
    linear-gradient(135deg, transparent 45%, color-mix(in srgb, var(--vip-accent, #55cfff) 42%, transparent) 46% 54%, transparent 55%),
    rgba(0, 0, 0, .30);
}

.reward-pager {
  position: static;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 18px;
  pointer-events: auto;
  transform: none;
}

.reward-pager button {
  display: grid;
  place-items: center;
  width: 54px;
  height: 42px;
  min-width: 0;
  border: 1px solid rgba(214, 178, 104, .34);
  color: var(--gold-2);
  background: linear-gradient(180deg, rgba(24, 24, 24, .92), rgba(5, 5, 5, .92));
  cursor: pointer;
  font-size: 34px;
  font-weight: 900;
  line-height: 1;
  pointer-events: auto;
}

.reward-pager button:hover:not(:disabled) {
  color: #130c05;
  background: linear-gradient(180deg, #efd28a, #b8872f);
}

.reward-pager button:disabled {
  opacity: .42;
  cursor: default;
}

.reward-pager span {
  position: static;
  min-width: 72px;
  padding: 6px 12px;
  border: 1px solid rgba(214, 178, 104, .20);
  color: var(--gold);
  background: rgba(7, 7, 7, .72);
  text-align: center;
  font-weight: 900;
  pointer-events: auto;
  transform: none;
}

.character-card {
  padding: 18px;
}

.character-profile {
  padding: clamp(18px, 3vw, 28px);
  background:
    radial-gradient(circle at 14% 0%, rgba(214, 178, 104, .14), transparent 22rem),
    linear-gradient(180deg, rgba(255, 255, 255, .035), rgba(255, 255, 255, .012)),
    rgba(7, 7, 7, .50);
}

.character-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 16px;
  align-items: start;
  margin-bottom: 14px;
}

.character-head h3 {
  margin: 0 0 4px;
  color: #fff5dd;
  font-size: 24px;
  line-height: 1.15;
}

.character-head > strong {
  min-width: 104px;
  padding: 8px 10px;
  color: #120c05;
  background: linear-gradient(180deg, #efd28a, #b8872f);
  text-align: center;
  font-size: 20px;
  line-height: 1.1;
}

.character-head > strong::before {
  display: block;
  margin-bottom: 2px;
  content: "战斗力";
  font-size: 11px;
  font-weight: 900;
}

.profile-stat-grid,
.profile-info-grid {
  display: grid;
  gap: 12px;
}

.profile-stat-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 18px 0 20px;
}

.panel-stat-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
}

.profile-stat-grid div,
.panel-stat-grid div,
.profile-info-grid > div {
  border: 1px solid rgba(214, 178, 104, .18);
  background: rgba(0, 0, 0, .28);
}

.profile-stat-grid div {
  display: grid;
  gap: 6px;
  min-height: 76px;
  padding: 14px;
}

.panel-stat-grid div {
  display: grid;
  gap: 8px;
  min-height: 72px;
  padding: 13px 14px;
  background:
    linear-gradient(135deg, rgba(242, 208, 130, .10), rgba(255, 255, 255, .02) 46%, rgba(0, 0, 0, .22)),
    rgba(0, 0, 0, .30);
}

.profile-stat-grid span,
.panel-stat-grid span,
.profile-info-grid span {
  color: rgba(245, 238, 226, .58);
  font-size: 12px;
  font-weight: 900;
}

.profile-stat-grid strong {
  overflow: hidden;
  color: #fff5dd;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 18px;
}

.fatigue-showcase {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 190px;
  gap: 18px;
  align-items: center;
  overflow: hidden;
  min-height: 142px;
  margin: 18px 0 24px;
  padding: 22px 24px 26px;
  border: 1px solid rgba(242, 208, 130, .36);
  background:
    linear-gradient(135deg, var(--fatigue-bg-strong, rgba(36, 47, 28, .84)), rgba(16, 16, 15, .92) 54%, rgba(0, 0, 0, .78)),
    radial-gradient(circle at 18% 0%, var(--fatigue-bg-glow, rgba(255, 207, 92, .26)), transparent 38%);
  box-shadow: inset 0 0 34px var(--fatigue-inner-glow, rgba(255, 209, 102, .08)), 0 18px 42px rgba(0, 0, 0, .28);
}

.fatigue-showcase::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent, rgba(255, 255, 255, .10), transparent);
  transform: translateX(-120%);
  animation: fatigueSweep 3.8s linear infinite;
}

.fatigue-showcase > div,
.fatigue-showcase .fatigue-bar {
  position: relative;
  z-index: 1;
}

.fatigue-showcase span {
  display: block;
  color: rgba(245, 238, 226, .62);
  font-size: 13px;
  font-weight: 900;
}

.fatigue-showcase strong {
  display: block;
  margin-top: 8px;
  color: #ffe39a;
  font-size: 38px;
  line-height: 1;
}

.fatigue-showcase em {
  display: block;
  margin-top: 8px;
  color: rgba(245, 238, 226, .64);
  font-style: normal;
  font-weight: 800;
}

.fatigue-battery {
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 6px;
  align-items: stretch;
  height: 62px;
  padding: 8px 16px 8px 8px;
  border: 2px solid rgba(255, 238, 182, .7);
  border-radius: 10px;
  background: rgba(0, 0, 0, .48);
  box-shadow: inset 0 0 18px rgba(0, 0, 0, .56), 0 0 20px rgba(112, 255, 107, .18);
}

.fatigue-battery::after {
  content: "";
  position: absolute;
  right: -12px;
  top: 18px;
  width: 10px;
  height: 24px;
  border: 2px solid rgba(255, 238, 182, .7);
  border-left: 0;
  border-radius: 0 6px 6px 0;
  background: rgba(0, 0, 0, .54);
}

.fatigue-battery i {
  border-radius: 5px;
  background: rgba(255, 255, 255, .08);
}

.fatigue-showcase.is-green .fatigue-battery i:nth-child(-n+5) { background: linear-gradient(180deg, #b7ff73, #30c94c); }
.fatigue-showcase.is-yellow .fatigue-battery i:nth-child(-n+3) { background: linear-gradient(180deg, #ffe47c, #d89b22); }
.fatigue-showcase.is-red .fatigue-battery i:nth-child(-n+1) { background: linear-gradient(180deg, #ff8976, #d93a2f); }
.fatigue-showcase.is-empty .fatigue-battery i { background: rgba(255, 255, 255, .06); }

.fatigue-showcase.is-green { --fatigue-color: #6dff69; }
.fatigue-showcase.is-yellow { --fatigue-color: #ffd15c; }
.fatigue-showcase.is-red { --fatigue-color: #ff5748; }
.fatigue-showcase.is-empty { --fatigue-color: #777; }

.fatigue-showcase.is-green {
  --fatigue-bg-strong: rgba(31, 58, 32, .86);
  --fatigue-bg-glow: rgba(109, 255, 105, .24);
  --fatigue-inner-glow: rgba(109, 255, 105, .11);
  border-color: rgba(109, 255, 105, .34);
}

.fatigue-showcase.is-yellow {
  --fatigue-bg-strong: rgba(72, 57, 22, .88);
  --fatigue-bg-glow: rgba(255, 209, 92, .28);
  --fatigue-inner-glow: rgba(255, 209, 92, .12);
  border-color: rgba(255, 209, 92, .40);
}

.fatigue-showcase.is-red {
  --fatigue-bg-strong: rgba(78, 25, 22, .90);
  --fatigue-bg-glow: rgba(255, 87, 72, .32);
  --fatigue-inner-glow: rgba(255, 87, 72, .16);
  border-color: rgba(255, 87, 72, .48);
}

.fatigue-showcase.is-empty {
  --fatigue-bg-strong: rgba(42, 42, 42, .88);
  --fatigue-bg-glow: rgba(160, 160, 160, .16);
  --fatigue-inner-glow: rgba(180, 180, 180, .07);
  border-color: rgba(180, 180, 180, .22);
}

.fatigue-bar {
  grid-column: 1 / -1;
  overflow: hidden;
  height: 16px;
  border: 1px solid rgba(255, 226, 146, .35);
  background: rgba(0, 0, 0, .42);
}

.fatigue-bar i {
  display: block;
  width: var(--fatigue-percent);
  height: 100%;
  background:
    linear-gradient(90deg, var(--fatigue-color), #fff1b0),
    repeating-linear-gradient(115deg, rgba(255,255,255,.14) 0 8px, transparent 8px 16px);
  box-shadow: 0 0 18px color-mix(in srgb, var(--fatigue-color) 55%, transparent);
  animation: fatiguePulse 1.7s ease-in-out infinite;
}

.mentor-reward-panel {
  margin: 0 0 22px;
  border: 1px solid rgba(214, 178, 104, .24);
  background:
    radial-gradient(circle at 10% 0%, rgba(242, 208, 130, .14), transparent 34%),
    linear-gradient(135deg, rgba(34, 25, 14, .88), rgba(12, 12, 11, .92));
  padding: 18px;
  overflow: hidden;
}

.mentor-reward-head {
  display: grid;
  grid-template-columns: minmax(150px, .9fr) minmax(0, 1.8fr) minmax(110px, .55fr);
  gap: 12px;
  margin-bottom: 16px;
}

.mentor-reward-head div,
.mentor-reward-grid article {
  border: 1px solid rgba(214, 178, 104, .20);
  background: rgba(0, 0, 0, .26);
}

.mentor-reward-head div {
  min-width: 0;
  padding: 14px;
}

.mentor-reward-head span,
.mentor-reward-grid span {
  display: block;
  color: rgba(245, 238, 226, .56);
  font-size: 12px;
  font-weight: 900;
}

.mentor-reward-head strong {
  display: block;
  margin-top: 7px;
  color: #fff5dd;
  overflow-wrap: anywhere;
  white-space: normal;
  font-size: 18px;
  line-height: 1.45;
}

.mentor-reward-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.mentor-reward-grid article {
  min-width: 0;
  padding: 16px;
}

.mentor-reward-grid h4 {
  margin: 0 0 12px;
  color: #f2d082;
  font-size: 18px;
}

.mentor-reward-grid p {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  gap: 12px;
  align-items: baseline;
  margin: 0;
  padding: 10px 0;
  border-top: 1px solid rgba(255, 255, 255, .07);
}

.mentor-reward-grid p:first-of-type {
  border-top: 0;
}

.mentor-reward-grid strong {
  color: #fff0ca;
  font-size: 14px;
  line-height: 1.45;
  overflow-wrap: anywhere;
}

.mentor-reward-grid p.is-reached strong,
.mentor-reward-grid p.is-reached span {
  color: #ffe071;
}

.mentor-activity {
  scroll-margin-top: 110px;
}

.mentor-activity-head {
  display: grid;
  grid-template-columns: minmax(260px, 1.45fr) minmax(140px, .75fr) minmax(220px, 1.15fr) minmax(110px, .55fr);
  gap: 12px;
  margin-top: 18px;
}

.mentor-activity-head > div,
.mentor-activity-grid article,
.mentor-level-reward-grid article {
  min-width: 0;
  border: 1px solid rgba(255, 255, 255, .08);
  background: rgba(12, 13, 14, .42);
}

.mentor-activity-head > div {
  padding: 16px;
}

.mentor-activity-head .mentor-character-card strong {
  margin-top: 10px;
  color: #fff7df;
  font-size: 32px;
  line-height: 1.15;
}

.mentor-activity-head p {
  margin: 0;
  color: rgba(245, 238, 226, .68);
}

.mentor-activity-head span {
  display: block;
  color: rgba(245, 238, 226, .58);
  font-size: 12px;
  font-weight: 900;
}

.mentor-activity-head strong {
  display: block;
  margin-top: 7px;
  color: #f2e7d3;
  overflow-wrap: anywhere;
  font-size: 18px;
  line-height: 1.45;
}

.mentor-activity-grid,
.mentor-level-reward-grid {
  display: grid;
  gap: 14px;
  margin-top: 16px;
}

.mentor-activity-grid {
  grid-template-columns: 1fr;
}

.mentor-level-reward-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.mentor-activity-grid article,
.mentor-level-reward-grid article {
  padding: 18px;
}

.mentor-activity-grid h3,
.mentor-level-reward-grid h3 {
  margin: 0 0 14px;
  color: #f2e7d3;
  font-size: 20px;
}

.mentor-activity-grid p,
.mentor-level-reward-grid p {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr) 76px;
  gap: 12px;
  align-items: center;
  margin: 0;
  padding: 12px 0;
  border-top: 1px solid rgba(255, 255, 255, .07);
}

.mentor-activity-grid p:first-of-type,
.mentor-level-reward-grid p:first-of-type {
  border-top: 0;
}

.mentor-activity-grid span,
.mentor-level-reward-grid span {
  color: rgba(245, 238, 226, .58);
  font-weight: 900;
}

.mentor-activity-grid strong,
.mentor-level-reward-grid strong {
  color: #f5eee2;
  overflow-wrap: anywhere;
  line-height: 1.45;
}

.mentor-activity-grid em,
.mentor-level-reward-grid em {
  justify-self: end;
  color: rgba(245, 238, 226, .52);
  font-style: normal;
  font-weight: 900;
}

.mentor-activity-grid .is-reached em {
  color: #f2d082;
}

.mentor-level-reward-grid .is-auto-delivery em {
  color: #5edb8a;
}

@keyframes fatigueSweep {
  to { transform: translateX(120%); }
}

@keyframes fatiguePulse {
  50% { filter: brightness(1.18); }
}

.panel-stat-grid strong {
  overflow: hidden;
  color: #ffe39a;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 18px;
  font-weight: 900;
}

.profile-section {
  margin-top: 18px;
}

.profile-section h4,
.profile-info-grid h4 {
  margin: 0 0 12px;
  color: #f2d082;
  font-size: 17px;
  line-height: 1.2;
}

.profile-info-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 20px;
}

.profile-info-grid > div {
  min-height: 154px;
  padding: 16px;
}

.profile-info-grid p {
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr);
  gap: 12px;
  align-items: baseline;
  margin: 10px 0 0;
}

.profile-info-grid strong {
  overflow: hidden;
  color: #fff5dd;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 14px;
}

.equipment-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 8px;
}

.equipment-grid div {
  display: grid;
  gap: 5px;
  min-height: 66px;
  padding: 10px;
}

.equipment-grid strong {
  overflow: hidden;
  color: #eee8dc;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 13px;
}

.equipment-grid em {
  overflow: hidden;
  color: #f2d082;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 12px;
  font-style: normal;
  font-weight: 900;
}

.equipment-grid p,
.panel-stat-grid p,
.account-empty {
  margin: 0;
  color: var(--muted);
}

.atlas-page .article-panel {
  overflow: visible;
}

.atlas-panel {
  display: grid;
  gap: 18px;
}

.atlas-head {
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  gap: 16px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(255, 255, 255, .08);
}

.atlas-head h2 {
  margin: 4px 0 0;
}

.atlas-head strong {
  color: #f7d681;
  font-size: 18px;
  white-space: nowrap;
}

.atlas-toolbar {
  display: grid;
  grid-template-columns: minmax(210px, 1fr) minmax(150px, 180px) repeat(4, minmax(112px, 145px));
  gap: 12px;
}

.atlas-toolbar label {
  display: grid;
  gap: 8px;
  color: rgba(255, 255, 255, .72);
  font-size: 13px;
}

.atlas-toolbar input,
.atlas-toolbar select {
  width: 100%;
  min-height: 42px;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 6px;
  background: rgba(0, 0, 0, .28);
  color: #f6efe1;
  padding: 0 12px;
  outline: none;
}

.atlas-toolbar input:focus,
.atlas-toolbar select:focus {
  border-color: rgba(247, 214, 129, .55);
  box-shadow: 0 0 0 3px rgba(247, 214, 129, .12);
}

.atlas-level-range {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 8px;
}

.atlas-level-range input {
  min-width: 0;
  text-align: center;
}

.atlas-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 10px;
}

.atlas-loading {
  grid-column: 1 / -1;
  margin: 4px 0;
  padding: 18px 0;
}

.atlas-item {
  position: relative;
  min-height: 72px;
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, .09);
  border-radius: 6px;
  background: rgba(0, 0, 0, .18);
}

.atlas-item:hover {
  border-color: rgba(247, 214, 129, .38);
  background: rgba(247, 214, 129, .06);
}

.atlas-icon,
.atlas-real-icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 6px;
  border: 1px solid rgba(247, 214, 129, .24);
  background: rgba(247, 214, 129, .08);
  color: #f7d681;
  font-weight: 800;
}

.atlas-real-icon {
  object-fit: contain;
  image-rendering: pixelated;
  padding: 6px;
}

.atlas-item strong {
  display: block;
  color: #fff6d9;
  font-size: 15px;
  line-height: 1.35;
  word-break: break-word;
}

.atlas-item small {
  display: block;
  margin-top: 5px;
  color: rgba(255, 255, 255, .58);
  font-size: 12px;
}

.atlas-tooltip {
  position: absolute;
  z-index: 8;
  left: 12px;
  right: 12px;
  top: calc(100% + 8px);
  display: none;
  min-width: min(380px, calc(100vw - 36px));
  padding: 14px;
  border: 1px solid rgba(247, 214, 129, .42);
  border-radius: 6px;
  background: rgba(19, 16, 10, .98);
  box-shadow: 0 18px 34px rgba(0, 0, 0, .45);
  color: #f6efe1;
}

.dnf-equip-tooltip {
  left: 50%;
  right: auto;
  width: min(390px, calc(100vw - 32px));
  transform: translateX(-50%);
  padding: 10px 12px 12px;
  border: 2px solid #6d5a32;
  border-radius: 5px;
  background:
    linear-gradient(rgba(255, 255, 255, .035), rgba(255, 255, 255, 0) 34px),
    rgba(8, 9, 10, .97);
  box-shadow:
    inset 0 0 0 1px rgba(255, 232, 157, .18),
    0 18px 34px rgba(0, 0, 0, .62);
  font-family: "Microsoft YaHei", SimSun, sans-serif;
}

.dnf-set-tooltip {
  left: calc(50% + 210px);
  right: auto;
  width: min(360px, calc(100vw - 32px));
  transform: none;
  padding: 10px 12px 12px;
  border: 2px solid #6d5a32;
  border-radius: 5px;
  background:
    linear-gradient(rgba(255, 255, 255, .035), rgba(255, 255, 255, 0) 34px),
    rgba(8, 9, 10, .97);
  box-shadow:
    inset 0 0 0 1px rgba(255, 232, 157, .18),
    0 18px 34px rgba(0, 0, 0, .62);
  font-family: "Microsoft YaHei", SimSun, sans-serif;
}

.atlas-item:hover .atlas-tooltip,
.atlas-item:focus-within .atlas-tooltip {
  display: block;
}

.atlas-tooltip h3 {
  margin: 0 0 10px;
  color: #fff2c0;
  font-size: 15px;
}

.atlas-tooltip ul {
  display: grid;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.atlas-tooltip li {
  display: grid;
  grid-template-columns: minmax(88px, .42fr) minmax(0, 1fr);
  gap: 10px;
  font-size: 12px;
  line-height: 1.45;
}

.atlas-tooltip li span {
  color: rgba(255, 255, 255, .58);
}

.atlas-tooltip li strong {
  color: #fff;
  font-size: 12px;
  font-weight: 600;
}

.atlas-tooltip p {
  margin: 10px 0 0;
  color: rgba(255, 255, 255, .76);
  font-size: 12px;
  line-height: 1.6;
}

.atlas-tooltip small {
  margin-top: 10px;
  color: rgba(255, 255, 255, .45);
  word-break: break-all;
}

.dnf-tooltip-title {
  padding-bottom: 7px;
  border-bottom: 1px solid rgba(115, 107, 85, .72);
}

.dnf-tooltip-title h3 {
  margin: 0;
  font-size: 16px;
  line-height: 1.2;
  text-shadow: 0 1px 0 #000;
}

.dnf-tooltip-title em {
  display: block;
  margin-top: 2px;
  font-size: 12px;
  font-style: normal;
  line-height: 1.2;
}

.rarity-0 .dnf-tooltip-title h3,
.rarity-0 .dnf-tooltip-title em,
.atlas-name-rarity.rarity-0 { color: #f4f4f4; }

.rarity-1 .dnf-tooltip-title h3,
.rarity-1 .dnf-tooltip-title em,
.atlas-name-rarity.rarity-1 { color: #47a9ff; }

.rarity-2 .dnf-tooltip-title h3,
.rarity-2 .dnf-tooltip-title em,
.atlas-name-rarity.rarity-2 { color: #bd63ff; }

.rarity-3 .dnf-tooltip-title h3,
.rarity-3 .dnf-tooltip-title em,
.atlas-name-rarity.rarity-3 { color: #ff42f2; }

.rarity-4 .dnf-tooltip-title h3,
.rarity-4 .dnf-tooltip-title em,
.atlas-name-rarity.rarity-4 { color: #ffd34a; }

.quality-normal .dnf-tooltip-title h3,
.quality-normal .dnf-tooltip-title em,
.atlas-name-rarity.quality-normal { color: #f4f4f4; }

.quality-advanced .dnf-tooltip-title h3,
.quality-advanced .dnf-tooltip-title em,
.atlas-name-rarity.quality-advanced { color: #47a9ff; }

.quality-rare .dnf-tooltip-title h3,
.quality-rare .dnf-tooltip-title em,
.atlas-name-rarity.quality-rare { color: #bd63ff; }

.quality-legacy .dnf-tooltip-title h3,
.quality-legacy .dnf-tooltip-title em,
.atlas-name-rarity.quality-legacy { color: #39ff49; }

.quality-artifact .dnf-tooltip-title h3,
.quality-artifact .dnf-tooltip-title em,
.atlas-name-rarity.quality-artifact { color: #ff42f2; }

.quality-epic .dnf-tooltip-title h3,
.quality-epic .dnf-tooltip-title em,
.atlas-name-rarity.quality-epic { color: #ffd34a; }

.dnf-tooltip-meta,
.dnf-tooltip-stats,
.dnf-tooltip-skills,
.dnf-tooltip-sets,
.dnf-tooltip-special {
  padding: 7px 0;
  border-bottom: 1px solid rgba(115, 107, 85, .62);
}

.dnf-tooltip-meta {
  color: #d7d7d7;
  font-size: 13px;
  line-height: 1.35;
}

.dnf-tooltip-req {
  padding: 7px 0;
  border-bottom: 1px solid rgba(115, 107, 85, .62);
  color: #fff;
  font-size: 13px;
  line-height: 1.35;
}

.dnf-tooltip-stats div {
  display: flex;
  justify-content: flex-start;
  gap: 4px;
  color: #f0f0f0;
  font-size: 13px;
  line-height: 1.45;
}

.dnf-tooltip-stats strong {
  color: #f7f7f7;
  font-size: 13px;
}

.dnf-tooltip-skills {
  color: #cc66ff;
  font-size: 12px;
  line-height: 1.45;
}

.dnf-tooltip-sets {
  padding: 0;
  border-bottom: 0;
  color: #d8d8d8;
  font-size: 12px;
  line-height: 1.35;
}

.dnf-tooltip-set + .dnf-tooltip-set {
  margin-top: 7px;
}

.dnf-tooltip-set strong {
  display: block;
  margin-bottom: 4px;
  color: #37ff49;
  font-size: 13px;
  line-height: 1.25;
  text-shadow: 0 1px 0 #000;
}

.dnf-tooltip-set-items {
  display: grid;
  gap: 1px;
  margin-bottom: 4px;
  color: rgba(218, 218, 218, .72);
}

.dnf-tooltip-set-stats {
  display: grid;
  gap: 1px;
  color: #37ff49;
  font-weight: 800;
}

.dnf-tooltip-set-skills,
.dnf-tooltip-set-notes {
  display: grid;
  gap: 1px;
  margin-top: 4px;
  color: rgba(218, 218, 218, .78);
}

.dnf-tooltip-set-notes {
  line-height: 1.45;
}

@media (max-width: 960px) {
  .dnf-set-tooltip {
    left: 50%;
    top: calc(100% + 260px);
    transform: translateX(-50%);
  }
}

.dnf-tooltip-special {
  border-bottom: 0;
  color: #41d9ff;
  font-size: 13px;
  line-height: 1.45;
}

.dnf-equip-tooltip small {
  display: block;
  margin-top: 6px;
  color: rgba(255, 255, 255, .38);
  font-size: 11px;
}

.card-atlas-grid {
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
}

.card-atlas-item {
  align-items: center;
  min-height: 70px;
}

.card-atlas-item p {
  margin: 8px 0 0;
  color: rgba(255, 255, 255, .72);
  font-size: 12px;
  line-height: 1.55;
  max-height: 96px;
  overflow: auto;
}

.card-real-icon {
  padding: 5px;
}

.card-detail-tooltip {
  width: 206px;
  min-width: 206px;
  max-width: 206px;
  min-height: 268px;
  left: 12px;
  right: auto;
  padding: 0;
  border: 0;
  border-radius: 8px;
  overflow: hidden;
  background: #050505;
  box-shadow: 0 20px 46px rgba(0, 0, 0, .72), 0 0 0 1px rgba(255, 255, 255, .2);
  font-family: SimSun, "Microsoft YaHei", sans-serif;
}

.card-detail-image {
  width: 206px;
  height: 268px;
  display: block;
  object-fit: contain;
  image-rendering: pixelated;
}

.card-detail-overlay {
  position: absolute;
  inset: 0;
  display: block;
  padding: 0;
  background:
    linear-gradient(rgba(0, 0, 0, .74), rgba(0, 0, 0, .08) 38px, rgba(0, 0, 0, 0) 92px),
    linear-gradient(transparent 128px, rgba(0, 0, 0, .82) 176px, rgba(0, 0, 0, .9));
  text-shadow: 1px 1px 0 #000, 0 0 3px #000;
}

.card-detail-level {
  position: absolute;
  left: 9px;
  top: 8px;
  width: 27px;
  height: 27px;
  display: grid;
  place-items: center;
  border: 2px solid #f5f5f5;
  border-radius: 50%;
  background: radial-gradient(circle, #3b2354 0, #160d25 72%);
  box-shadow: inset 0 0 0 1px #a54fff, 0 0 0 1px #0a0a0a;
  color: #fff;
  font-size: 15px;
  font-weight: 800;
  line-height: 1;
}

.card-detail-name {
  position: absolute;
  left: 30px;
  right: 26px;
  top: 16px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  text-align: center;
  color: #f4f4f4;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.05;
}

.rarity-0 .card-detail-name { color: #f4f4f4; }
.rarity-1 .card-detail-name { color: #47a9ff; }
.rarity-2 .card-detail-name { color: #bd63ff; }
.rarity-3 .card-detail-name { color: #ff42f2; }
.rarity-4 .card-detail-name { color: #ffd34a; }

.card-detail-kind {
  position: absolute;
  left: 8px;
  top: 72px;
  padding: 1px 5px 2px;
  border: 1px solid rgba(255, 211, 74, .62);
  border-radius: 2px;
  background: rgba(54, 33, 7, .82);
  color: #ffd34a;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.1;
}

.card-detail-parts {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 88px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: #58ffe5;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.15;
}

.card-detail-attrs {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 48px;
  display: flex;
  flex-direction: column;
  gap: 0;
  max-height: 38px;
  overflow: hidden;
}

.card-detail-attrs b {
  color: #65f2ff;
  font-size: 12px;
  line-height: 1.05;
}

.card-detail-overlay p {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 8px;
  margin: 0;
  max-height: 33px;
  overflow: hidden;
  color: rgba(225, 232, 230, .72);
  font-size: 12px;
  line-height: 1.18;
}

.atlas-pager {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.atlas-pager button {
  min-width: 86px;
  min-height: 38px;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 6px;
  background: rgba(255, 255, 255, .06);
  color: #f6efe1;
  cursor: pointer;
}

.atlas-pager button:hover:not(:disabled) {
  border-color: rgba(247, 214, 129, .45);
  color: #f7d681;
}

.atlas-pager button:disabled {
  opacity: .45;
  cursor: not-allowed;
}

.atlas-pager span {
  min-width: 86px;
  text-align: center;
  color: rgba(255, 255, 255, .72);
}

.shop-hero {
  margin-top: 50px;
  background:
    radial-gradient(circle at 70% 16%, rgba(208, 68, 50, .22), transparent 28rem),
    radial-gradient(circle at 22% 0%, rgba(214, 178, 104, .18), transparent 24rem),
    linear-gradient(135deg, #111, #1a120e 58%, #090909);
}

.order-query-hero {
  position: relative;
  text-align: center;
}

.order-query-hero h1 {
  font-size: clamp(52px, 7vw, 96px);
}

.order-query-hero .order-back-left {
  position: absolute;
  top: 22px;
  left: 22px;
}

.order-page {
  color: #f5eee2;
  background:
    linear-gradient(rgba(255, 255, 255, .025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .025) 1px, transparent 1px),
    #090806;
  background-size: 72px 72px;
}

.order-page .order-query-hero {
  min-height: 300px;
  color: #f5eee2;
  background:
    radial-gradient(circle at 50% 0%, rgba(255, 74, 36, .16), transparent 25rem),
    linear-gradient(180deg, rgba(42, 24, 16, .86), rgba(10, 8, 6, .94));
}

.order-page .order-query-hero h1 {
  color: #fff5dd;
  letter-spacing: 0;
}

.order-page .order-query-hero p {
  color: rgba(245, 238, 226, .70);
}

.order-page .content-hub {
  background: transparent;
}

.order-page .shop-toolbar,
.order-page .shop-orders-panel,
.order-page .shop-table {
  border-color: rgba(255, 209, 111, .20);
  background: linear-gradient(180deg, rgba(34, 25, 16, .78), rgba(8, 7, 5, .92));
  box-shadow: 0 18px 42px rgba(0, 0, 0, .36);
}

.order-page .shop-toolbar span,
.order-page .shop-orders-panel .section-title p,
.order-page .shop-table span,
.order-page .shop-table small {
  color: rgba(245, 238, 226, .58);
}

.order-page .shop-toolbar strong,
.order-page .shop-orders-panel h2,
.order-page .shop-table b {
  color: #f5eee2;
}

.order-page .shop-table p,
.order-page .shop-order-row {
  border-top-color: rgba(255, 255, 255, .07);
}

.order-page .shop-table strong {
  color: #ffe39a;
}

.order-page .shop-table em {
  justify-self: start;
  min-width: 72px;
  padding: 5px 10px;
  border-radius: 999px;
  text-align: center;
  font-size: 13px;
}

.order-page .shop-table em.is-pending-pay {
  color: #ffffff;
  border: 1px solid rgba(190, 203, 222, .68);
  background: linear-gradient(180deg, #8b97aa, #566174);
  box-shadow: 0 0 14px rgba(190, 203, 222, .22);
}

.order-page .shop-table em.is-pending-delivery {
  color: #2a1600;
  border: 1px solid rgba(255, 216, 96, .88);
  background: linear-gradient(180deg, #ffd84f, #f0a800);
  box-shadow: 0 0 16px rgba(255, 190, 48, .32);
}

.order-page .shop-table em.is-delivered {
  color: #031b0e;
  border: 1px solid rgba(83, 239, 139, .88);
  background: linear-gradient(180deg, #56f08d, #16b85c);
  box-shadow: 0 0 16px rgba(60, 220, 118, .32);
}

.order-page .shop-table em.is-failed {
  color: #fff3f0;
  border: 1px solid rgba(255, 112, 91, .86);
  background: linear-gradient(180deg, #f05d4b, #b42318);
  box-shadow: 0 0 16px rgba(255, 100, 80, .30);
}

.order-page .site-footer {
  color: rgba(245, 238, 226, .62);
  background: rgba(3, 3, 3, .96);
  border-top: 1px solid rgba(255, 209, 111, .16);
}

.shop-hero-recharge-link {
  margin-top: 24px;
  width: 200px;
  max-width: 100%;
  justify-content: center;
}

.shop-order-row {
  display: grid;
  grid-template-columns: minmax(180px, 1fr) minmax(220px, 1.2fr) minmax(90px, .45fr) minmax(86px, .35fr) minmax(180px, 1fr);
  align-items: center;
  gap: 14px;
  width: 100%;
  margin: 0;
  padding: 14px 0;
  color: inherit;
  text-align: left;
  border: 0;
  border-top: 1px solid rgba(255, 255, 255, .07);
  background: transparent;
  cursor: pointer;
}

.shop-order-row:hover {
  background: rgba(255, 209, 111, .06);
}

.shop-page,
.shop-admin-page {
  display: grid;
  gap: 22px;
}

.shop-toolbar {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
  padding: 18px;
  border: 1px solid rgba(214, 178, 104, .22);
  background:
    linear-gradient(135deg, rgba(214, 178, 104, .10), transparent 46%),
    rgba(7, 7, 7, .48);
}

.shop-toolbar div,
.shop-admin-login label {
  display: grid;
  gap: 8px;
}

.shop-toolbar span,
.shop-admin-login span {
  color: rgba(245, 238, 226, .58);
  font-size: 12px;
  font-weight: 900;
}

.shop-toolbar input,
.shop-admin-login input,
.shop-admin-tools input,
.shop-admin-tools select {
  width: min(360px, 100%);
  height: 44px;
  padding: 0 13px;
  border: 1px solid rgba(214, 178, 104, .24);
  color: var(--text);
  background: rgba(0, 0, 0, .48);
}

.shop-coupon-line {
  display: grid;
  grid-template-columns: auto minmax(180px, 260px) auto auto;
  gap: 10px;
  align-items: center;
}

.shop-coupon-line span {
  color: rgba(245, 238, 226, .64);
  font-size: 13px;
  font-weight: 900;
}

.shop-coupon-line input {
  width: 100%;
}

.shop-coupon-line .btn {
  height: 44px;
  padding-inline: 18px;
}

.shop-coupon-status {
  min-height: 18px;
  font-size: 13px;
  font-weight: 900;
}

.shop-coupon-status.is-valid {
  color: #42d67a;
}

.shop-coupon-status.is-invalid {
  color: #ff5d5d;
}

.shop-toolbar a {
  color: #f2d082;
  font-weight: 900;
}

.shop-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.shop-product {
  position: relative;
  display: grid;
  gap: 18px;
  min-height: 330px;
  padding: 20px;
  border: 1px solid rgba(214, 178, 104, .24);
  background:
    radial-gradient(circle at 22% 0%, rgba(240, 212, 140, .16), transparent 10rem),
    linear-gradient(145deg, rgba(35, 23, 16, .92), rgba(8, 8, 8, .94));
  box-shadow: 0 18px 42px rgba(0, 0, 0, .28);
}

.shop-product-head {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 12px;
  align-items: start;
}

.shop-product-icon {
  width: 40px;
  height: 40px;
  margin-top: 2px;
}

.shop-product::before {
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  background: linear-gradient(180deg, #ffd978, #d04432);
  content: "";
}

.shop-product.has-discount::after {
  position: absolute;
  top: 12px;
  right: 12px;
  color: rgba(255, 217, 120, .14);
  font-size: 58px;
  font-weight: 1000;
  line-height: 1;
  letter-spacing: 0;
  text-shadow:
    0 0 22px rgba(255, 217, 120, .18),
    0 1px 0 rgba(255, 255, 255, .08);
  transform: rotate(-8deg);
  pointer-events: none;
  content: attr(data-discount);
}

.shop-product span {
  color: var(--gold);
  font-size: 12px;
  font-weight: 900;
}

.shop-product h2 {
  margin: 8px 0 10px;
  color: #fff5dd;
  font-size: 28px;
  line-height: 1.1;
}

.shop-product p {
  color: rgba(245, 238, 226, .68);
}

.shop-custom-product {
  border-color: rgba(255, 217, 120, .36);
}

.shop-custom-product .shop-custom-icon-fallback {
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 217, 120, .35);
  color: #ffe39a;
  background: rgba(0, 0, 0, .28);
  font-weight: 1000;
}

.shop-custom-field {
  display: grid;
  gap: 8px;
}

.shop-custom-field span {
  color: rgba(245, 238, 226, .62);
  font-size: 12px;
  font-weight: 900;
}

.shop-custom-field input {
  width: 100%;
  min-height: 44px;
  border: 1px solid rgba(214, 178, 104, .32);
  color: #fff5dd;
  background: rgba(0, 0, 0, .34);
  padding: 0 12px;
  font-size: 18px;
  font-weight: 900;
}

.shop-custom-field input::placeholder {
  color: rgba(245, 238, 226, .32);
  font-size: 13px;
  font-weight: 700;
}

.shop-custom-note {
  min-height: 18px;
  margin: -6px 0 0;
  color: #ff8f70;
  font-size: 12px;
  font-weight: 900;
}

.shop-product dl {
  display: grid;
  gap: 8px;
  margin: 0;
}

.shop-product dl div,
.shop-order-result p {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin: 0;
  padding: 9px 0;
  border-top: 1px solid rgba(255, 255, 255, .07);
}

.shop-product dt,
.shop-order-result span {
  color: rgba(245, 238, 226, .55);
  font-size: 12px;
  font-weight: 900;
}

.shop-product dd,
.shop-order-result strong {
  margin: 0;
  color: #ffe39a;
  font-weight: 900;
  text-align: right;
}

.shop-pay-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  align-self: end;
}

.shop-pay-actions .btn {
  min-width: 0;
  padding-inline: 10px;
}

.shop-pay-actions .shop-pay-alipay {
  border-color: rgba(30, 136, 229, .62);
  background: linear-gradient(180deg, #1e88e5, #0d47a1);
}

.shop-pay-actions .shop-pay-wxpay {
  border-color: rgba(67, 176, 71, .62);
  background: linear-gradient(180deg, #43b047, #167c2f);
}

.shop-product .btn {
  align-self: end;
  width: 100%;
}

.shop-order-result {
  display: grid;
  gap: 2px;
  margin-bottom: 18px;
}

.shop-checkout-price strong {
  display: inline-flex;
  align-items: baseline;
  justify-content: flex-end;
  gap: 10px;
}

.shop-checkout-price del {
  color: rgba(245, 238, 226, .46);
  font-size: 13px;
}

.shop-checkout-price b {
  color: #42d67a;
  font-size: 22px;
}

.shop-success-title {
  margin-bottom: 8px;
  font-size: 30px;
}

.shop-success-panel {
  display: grid;
  gap: 18px;
}

.shop-success-hero {
  display: grid;
  place-items: center;
  gap: 4px;
  padding: 10px 0 2px;
}

.shop-success-panel {
  --vip-accent: #f5f5f5;
  --vip-glow: rgba(245, 245, 245, .26);
}

.shop-success-panel[data-vip-tone="vip-white"] { --vip-accent: #f5f5f5; --vip-glow: rgba(245, 245, 245, .26); }
.shop-success-panel[data-vip-tone="vip-sky"] { --vip-accent: #55cfff; --vip-glow: rgba(85, 207, 255, .34); }
.shop-success-panel[data-vip-tone="vip-purple"] { --vip-accent: #b45cff; --vip-glow: rgba(180, 92, 255, .34); }
.shop-success-panel[data-vip-tone="vip-pink"] { --vip-accent: #ff6bd5; --vip-glow: rgba(255, 107, 213, .34); }
.shop-success-panel[data-vip-tone="vip-gold"] { --vip-accent: #f6c84b; --vip-glow: rgba(246, 200, 75, .36); }
.shop-success-panel[data-vip-tone="vip-red"] { --vip-accent: #e5332e; --vip-glow: rgba(229, 51, 46, .38); }

.shop-success-hero strong {
  position: relative;
  overflow: hidden;
  display: grid;
  place-items: center;
  min-width: min(520px, 100%);
  height: clamp(104px, 14vw, 166px);
  color: var(--vip-accent);
  font-family: "Arial Black", "Impact", "Microsoft YaHei UI", "Microsoft YaHei", sans-serif;
  font-size: clamp(104px, 14vw, 168px);
  font-weight: 900;
  line-height: .88;
  letter-spacing: 0;
  text-indent: 0;
  text-transform: uppercase;
  text-shadow:
    0 2px 0 color-mix(in srgb, #fff 22%, var(--vip-accent)),
    0 8px 0 rgba(0, 0, 0, .56),
    0 0 28px var(--vip-glow);
  -webkit-text-stroke: 1px color-mix(in srgb, var(--vip-accent) 52%, #fff);
}

.shop-success-vip-flip span {
  grid-area: 1 / 1;
  transition: transform .72s cubic-bezier(.2, .8, .2, 1), opacity .72s ease;
}

.shop-success-vip-new {
  transform: translateY(112%);
  opacity: 0;
}

.shop-success-hero.is-animated.is-upgrading .shop-success-vip-old {
  transform: translateY(-112%);
  opacity: 0;
}

.shop-success-hero.is-animated.is-upgrading .shop-success-vip-new,
.shop-success-hero:not(.is-upgrading) .shop-success-vip-new {
  transform: translateY(0);
  opacity: 1;
}

.shop-success-hero:not(.is-upgrading) .shop-success-vip-old {
  display: none;
}

.shop-success-hero > span {
  color: rgba(245, 238, 226, .7);
  font-size: 16px;
  font-weight: 900;
}

.shop-success-vip {
  display: grid;
  gap: 12px;
  padding: 16px 18px 18px;
  border: 1px solid color-mix(in srgb, var(--vip-accent) 48%, transparent);
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--vip-accent) 10%, transparent), transparent 52%),
    rgba(0, 0, 0, .20);
}

.shop-success-vip div,
.shop-success-cera,
.shop-success-order p {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
}

.shop-success-vip span,
.shop-success-cera span,
.shop-success-order span,
.shop-success-vip small,
.shop-success-cera small,
.shop-success-rewards small {
  color: rgba(245, 238, 226, .62);
  font-size: 13px;
  font-weight: 900;
}

.shop-success-vip strong,
.shop-success-cera strong,
.shop-success-order strong,
.shop-success-rewards strong {
  color: #ffe39a;
  font-weight: 900;
}

.shop-success-vip b,
.shop-success-cera b {
  font-size: 28px;
}

.shop-success-vip b,
.shop-success-cera-before {
  color: #fff5dd;
}

.shop-success-cera-after {
  color: #42d67a;
}

.shop-success-vip i {
  overflow: hidden;
  display: block;
  height: 22px;
  border: 2px solid color-mix(in srgb, var(--vip-accent) 78%, transparent);
  background: rgba(255, 255, 255, .04);
  box-shadow: 0 0 18px var(--vip-glow);
}

.shop-success-vip em {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, color-mix(in srgb, var(--vip-accent) 58%, #e85235), color-mix(in srgb, var(--vip-accent) 76%, #fff), var(--vip-accent));
  transition: width 1.45s cubic-bezier(.18, .82, .22, 1);
}

.shop-success-cera {
  padding: 14px 18px;
  border: 1px solid rgba(214, 178, 104, .22);
  background: rgba(0, 0, 0, .24);
}

.shop-success-cera strong {
  display: inline-flex;
  align-items: baseline;
  gap: 12px;
}

.shop-success-cera i {
  color: rgba(245, 238, 226, .42);
  font-style: normal;
}

.shop-success-order {
  display: grid;
  gap: 0;
}

.shop-success-order p {
  margin: 0;
  padding: 10px 0;
  border-top: 1px solid rgba(255, 255, 255, .08);
}

.shop-success-rewards {
  display: grid;
  gap: 8px;
  padding: 16px 18px;
  border: 1px solid rgba(140, 220, 50, .46);
  background: rgba(140, 220, 50, .08);
}

.shop-success-rewards p {
  margin: 0;
  color: rgba(245, 238, 226, .86);
  font-weight: 800;
}

.shop-success-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  padding-top: 4px;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity .28s ease, transform .28s ease;
}

.shop-success-actions.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.shop-success-actions .btn {
  min-width: 150px;
}

.shop-admin-login {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  gap: 14px;
  padding: 18px;
  border: 1px solid rgba(214, 178, 104, .22);
  background: rgba(7, 7, 7, .48);
}

.shop-admin-login .account-empty {
  flex: 0 0 auto;
  width: 100%;
  max-width: 100%;
  margin: 0;
  font-size: 12px;
}

.compensation-shell {
  display: grid;
  gap: 18px;
}

.compensation-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 10px;
  border: 1px solid rgba(214, 178, 104, .22);
  background: rgba(7, 7, 7, .48);
}

.compensation-tabs button {
  min-width: 128px;
  height: 42px;
  border: 1px solid rgba(214, 178, 104, .24);
  color: rgba(245, 238, 226, .74);
  font-weight: 900;
  background: rgba(0, 0, 0, .34);
  cursor: pointer;
}

.compensation-tabs button.is-active {
  color: #120d08;
  border-color: rgba(255, 224, 148, .82);
  background: linear-gradient(180deg, #ffe09a, #d6a84d);
}

.compensation-list {
  display: grid;
  gap: 16px;
}

.compensation-card {
  display: grid;
  gap: 16px;
}

.compensation-card header {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 16px;
}

.compensation-card header h2 {
  margin: 4px 0 0;
  color: #fff5dd;
}

.compensation-card header em {
  flex: 0 0 auto;
  padding: 6px 10px;
  color: #ffe39a;
  font-style: normal;
  font-size: 12px;
  font-weight: 900;
  border: 1px solid rgba(214, 178, 104, .28);
  background: rgba(214, 178, 104, .10);
}

.compensation-card.is-claimed header em {
  color: #91e8aa;
}

.compensation-card.is-expired header em {
  color: rgba(245, 238, 226, .58);
}

.compensation-meta {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.compensation-meta p {
  display: grid;
  gap: 4px;
  margin: 0;
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, .08);
  background: rgba(0, 0, 0, .22);
}

.compensation-meta span {
  color: rgba(245, 238, 226, .58);
  font-size: 12px;
  font-weight: 900;
}

.compensation-meta strong {
  color: #ffe39a;
  font-size: 14px;
}

.compensation-text {
  margin: 0;
  color: rgba(245, 238, 226, .76);
}

.compensation-card > .btn {
  justify-self: start;
  min-width: 148px;
}

.compensation-reward-item {
  grid-template-columns: 42px auto !important;
  justify-content: start !important;
}

.compensation-reward-item > div {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: flex-start !important;
  gap: 10px !important;
  min-width: 0 !important;
}

.compensation-reward-item > div strong {
  flex: 0 1 auto !important;
  min-width: 0 !important;
}

.compensation-reward-item > div span {
  justify-self: start !important;
  margin-top: 0 !important;
  white-space: nowrap !important;
}

.compensation-admin-form .is-wide {
  grid-column: 1 / -1;
}

.compensation-admin-rewards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.compensation-admin-rewards label {
  display: grid;
  grid-template-columns: minmax(130px, .8fr) minmax(0, 1fr);
  gap: 8px;
  align-items: center;
  margin: 0;
  padding: 12px;
  border: 1px solid rgba(214, 178, 104, .18);
  background: rgba(0, 0, 0, .22);
}

.compensation-admin-rewards .is-fatigue {
  grid-template-columns: minmax(130px, .65fr) minmax(160px, 1fr) 96px;
}

.compensation-admin-rewards .is-cera-direct {
  grid-column: 1 / -1;
  grid-template-columns: minmax(130px, .32fr) minmax(0, 1fr);
}

.compensation-admin-auto {
  grid-column: 1 / -1;
  margin: 0;
  padding: 12px;
  color: rgba(245, 238, 226, .72);
  border: 1px solid rgba(255, 255, 255, .08);
  background: rgba(255, 255, 255, .04);
}

.compensation-admin-auto strong {
  color: #ffe39a;
}

.compensation-admin-table strong {
  font-size: 13px;
}

.shop-admin-shell {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 20px;
  align-items: start;
}

.shop-admin-main {
  min-width: 0;
}

.shop-admin-summary {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin: 10px 0 22px;
}

.shop-admin-summary div {
  padding: 16px;
  border: 1px solid rgba(214, 178, 104, .22);
  background:
    linear-gradient(135deg, rgba(214, 178, 104, .10), transparent 46%),
    rgba(0, 0, 0, .34);
}

.shop-admin-summary span {
  display: block;
  color: rgba(245, 238, 226, .58);
  font-size: 12px;
  font-weight: 900;
}

.shop-admin-summary strong {
  display: block;
  margin-top: 8px;
  color: #ffe39a;
  font-size: 28px;
}

.admin-metrics-panel {
  display: grid;
  gap: 18px;
}

.admin-metrics-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  color: rgba(245, 238, 226, .58);
  font-size: 13px;
}

.admin-metrics-chart {
  position: relative;
  min-height: 360px;
  padding: 18px 18px 10px;
  overflow: hidden;
  border: 1px solid rgba(214, 178, 104, .22);
  background:
    linear-gradient(180deg, rgba(214, 178, 104, .08), transparent 50%),
    rgba(0, 0, 0, .34);
}

.admin-metrics-chart svg {
  display: block;
  width: 100%;
  height: 320px;
  overflow: visible;
}

.admin-metrics-grid-line { stroke: rgba(255, 255, 255, .09); stroke-width: 1; }
.admin-metrics-axis-text { fill: rgba(245, 238, 226, .48); font-size: 11px; }
.admin-online-hour-text { fill: #fff; font-size: 11px; }
.admin-online-chart { overflow-x: auto; overflow-y: hidden; scrollbar-color: #b9862d rgba(255, 255, 255, .08); }
.admin-online-chart svg { width: 1680px; min-width: 1680px; }
.admin-metrics-area { fill: url(#adminMetricsArea); }
.admin-metrics-line { fill: none; stroke: #f0c768; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.admin-metrics-dot { fill: #fff0bd; stroke: #b77d21; stroke-width: 2; }
.admin-metrics-value-text { fill: #fff; font-size: 12px; font-weight: 800; }
.admin-dau-area { fill: url(#adminDauArea); }
.admin-dau-line { stroke: #70c4ff; }
.admin-dau-chart .admin-metrics-dot { fill: #dff3ff; stroke: #2584bd; }
.admin-peak-area { fill: url(#adminPeakArea); }
.admin-peak-line { stroke: #ff8b55; }
.admin-peak-dot { fill: #ffe0d2; stroke: #c94c20; }
.admin-metrics-missing-text { fill: rgba(255, 255, 255, .35); font-size: 14px; }

.admin-metrics-empty {
  min-height: 300px;
  display: grid;
  place-items: center;
  color: rgba(245, 238, 226, .58);
  text-align: center;
}

.shop-admin-page h2 {
  margin: 18px 0 10px;
  color: #f2d082;
}

.shop-cart-panel,
.shop-orders-panel {
  margin-top: 8px;
  padding: 18px;
  border: 1px solid rgba(214, 178, 104, .22);
  background:
    radial-gradient(circle at 12% 0%, rgba(214, 178, 104, .12), transparent 18rem),
    rgba(7, 7, 7, .42);
}

body.has-shop-cart {
  padding-bottom: 280px;
}

body.nav-open {
  overflow: hidden;
}

.shop-cart-panel {
  position: fixed;
  left: 50%;
  right: auto;
  bottom: max(16px, env(safe-area-inset-bottom));
  z-index: 90;
  width: min(1796px, calc(100vw - 48px));
  max-height: min(46vh, 420px);
  margin: 0;
  overflow-y: auto;
  box-shadow: 0 22px 70px rgba(0, 0, 0, .55);
  backdrop-filter: blur(12px);
  transform: translate(-50%, calc(100% + 32px));
  opacity: 0;
  transition: transform .24s ease, opacity .24s ease;
}

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

.shop-cart-panel .section-title,
.shop-orders-panel .section-title {
  margin-bottom: 10px;
}

.shop-cart-panel .section-title p,
.shop-orders-panel .section-title p {
  margin: 0;
  color: var(--muted);
  font-weight: 800;
}

.shop-cart-row {
  display: grid;
  grid-template-columns: minmax(150px, 1fr) 92px 30px 34px 30px 54px;
  gap: 8px;
  align-items: center;
  margin: 0;
  padding: 7px 0;
  border-top: 1px solid rgba(255, 255, 255, .07);
}

.shop-cart-row button,
.shop-table button {
  min-height: 28px;
  border: 1px solid rgba(214, 178, 104, .28);
  color: #ffe39a;
  background: rgba(0, 0, 0, .34);
  font-weight: 900;
}

.shop-cart-row i {
  display: block;
  min-height: 28px;
}

.shop-cart-actions {
  position: sticky;
  bottom: -18px;
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin: 10px -18px -18px;
  padding: 12px 18px 18px;
  border-top: 1px solid rgba(214, 178, 104, .18);
  background:
    linear-gradient(180deg, rgba(12, 10, 7, .82), rgba(7, 7, 7, .98));
  box-shadow: 0 -16px 28px rgba(0, 0, 0, .38);
}

.shop-admin-tools {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.shop-admin-tools[hidden],
[data-shop-admin-content][hidden],
[data-shop-coupon-content][hidden],
[data-shop-feedback-content][hidden],
[data-shop-invite-content][hidden],
[data-shop-news-content][hidden] {
  display: none !important;
}

.shop-admin-tools form {
  display: grid;
  gap: 12px;
  padding: 16px;
  border: 1px solid rgba(214, 178, 104, .22);
  background: rgba(7, 7, 7, .42);
}

.shop-admin-tools label {
  display: grid;
  gap: 8px;
}

.shop-admin-tools span {
  color: rgba(245, 238, 226, .58);
  font-size: 12px;
  font-weight: 900;
}

.feedback-layout {
  align-items: start;
  grid-template-columns: minmax(300px, .9fr) minmax(360px, 1.1fr);
}

.feedback-form,
.feedback-reply-box form,
.feedback-admin-reply {
  display: grid;
  gap: 14px;
}

.feedback-form label {
  display: grid;
  gap: 8px;
}

.feedback-form span {
  color: rgba(245, 238, 226, .66);
  font-size: 13px;
  font-weight: 800;
}

.feedback-form select,
.feedback-form textarea,
.feedback-form input[type="file"],
.feedback-reply-box textarea,
.feedback-reply-box input[type="file"],
.feedback-admin-reply textarea {
  width: 100%;
  border: 1px solid rgba(214, 178, 104, .22);
  background: rgba(7, 7, 7, .48);
  color: #fff5dd;
  padding: 11px 12px;
  font: inherit;
}

.feedback-form textarea,
.feedback-reply-box textarea,
.feedback-admin-reply textarea {
  min-height: 110px;
  resize: vertical;
}

.feedback-toolbar {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 14px;
}

.feedback-ticket {
  display: grid;
  gap: 12px;
  margin-bottom: 16px;
  padding: 16px;
  border: 1px solid rgba(214, 178, 104, .20);
  background:
    linear-gradient(135deg, rgba(214, 178, 104, .08), transparent 48%),
    rgba(7, 7, 7, .40);
}

.feedback-ticket > header {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  justify-content: space-between;
}

.feedback-ticket h3 {
  margin: 4px 0 0;
  color: #fff5dd;
  font-size: 17px;
}

.feedback-ticket span,
.feedback-ticket small {
  color: rgba(245, 238, 226, .58);
}

.feedback-ticket em {
  flex: 0 0 auto;
  padding: 5px 10px;
  border: 1px solid currentColor;
  font-style: normal;
  font-size: 13px;
  font-weight: 900;
}

.feedback-ticket em.is-pending {
  color: #ffd45f;
  background: rgba(255, 212, 95, .10);
}

.feedback-ticket em.is-processed {
  color: #91e8aa;
  background: rgba(145, 232, 170, .10);
}

.feedback-thread {
  display: grid;
  gap: 10px;
}

.feedback-message {
  display: grid;
  gap: 8px;
  padding: 12px;
  border: 1px solid rgba(214, 178, 104, .14);
  background: rgba(0, 0, 0, .26);
}

.feedback-message.is-admin {
  border-color: rgba(145, 232, 170, .26);
  background: rgba(20, 76, 42, .14);
}

.feedback-message header {
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

.feedback-message p {
  margin: 0;
  color: rgba(245, 238, 226, .86);
  line-height: 1.65;
  white-space: pre-wrap;
}

.feedback-attachments {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.feedback-attachments a {
  color: #f2d28a;
  font-size: 13px;
}

.feedback-reply-box summary {
  cursor: pointer;
  color: #f2d28a;
  font-weight: 900;
}

.shop-admin-tabs {
  position: sticky;
  top: 106px;
  display: grid;
  gap: 0;
  padding: 12px;
  border: 1px solid rgba(214, 178, 104, .20);
  background: rgba(7, 7, 7, .58);
  box-shadow: 0 18px 42px rgba(0, 0, 0, .24);
}

.shop-admin-tabs button,
.shop-admin-tabs a {
  display: block;
  width: 100%;
  min-height: 46px;
  padding: 12px 14px;
  border: 0;
  border-bottom: 1px solid rgba(214, 178, 104, .16);
  background: transparent;
  color: rgba(245, 238, 226, .78);
  font-weight: 900;
  text-align: left;
  cursor: pointer;
}

.shop-admin-tabs button:last-child,
.shop-admin-tabs a:last-child {
  border-bottom: 0;
}

.shop-admin-tabs button:hover,
.shop-admin-tabs a:hover {
  color: var(--gold-2);
}

.shop-admin-tabs button.is-active {
  color: #1b1207;
  background: linear-gradient(180deg, #f1d890, #b9862d);
  border-bottom-color: transparent;
}

.shop-admin-tabs a {
  color: #76b8ff;
}

.free-cera-admin-page {
  max-width: 1520px;
  padding-top: 0;
}

.free-cera-admin-page .shop-admin-inline-form {
  margin-top: 0;
  grid-template-columns: minmax(360px, 1fr) minmax(360px, 1fr) 300px;
  gap: 22px;
  align-items: end;
  padding: 30px 40px;
}

.free-cera-admin-page .shop-admin-inline-form h2,
.free-cera-admin-page .shop-admin-inline-form .account-empty {
  grid-column: 1 / -1;
}

.free-cera-admin-page .shop-admin-inline-form h2 {
  margin-bottom: 0;
  font-size: 30px;
}

.free-cera-admin-page .shop-admin-inline-form .account-empty {
  margin: -6px 0 6px;
  max-width: 760px;
  color: rgba(245, 238, 226, .68);
  font-size: 18px;
  line-height: 1.55;
}

.free-cera-admin-page .shop-admin-inline-form label {
  gap: 14px;
}

.free-cera-admin-page .shop-admin-inline-form span {
  font-size: 16px;
}

.free-cera-admin-page .shop-admin-inline-form input {
  width: 100%;
  height: 68px;
  padding: 0 24px;
  font-size: 22px;
}

.free-cera-admin-page .shop-admin-inline-form .btn {
  width: 100%;
  height: 68px;
  font-size: 22px;
  font-weight: 900;
}

.free-cera-admin-page > .account-status {
  min-height: 30px;
  font-size: 18px;
}

.free-cera-admin-workspace {
  height: 100vh;
  padding: 22px;
  overflow: hidden;
}

.content-admin-shell {
  max-width: 1680px;
  height: calc(100vh - 44px);
  margin: 0 auto;
  grid-template-columns: 330px minmax(0, 1fr);
}

.content-admin-tabs {
  top: 22px;
  padding: 18px;
}

.content-admin-tabs button,
.content-admin-tabs a {
  min-height: 69px;
  padding: 18px 21px;
  font-size: 21px;
}

.content-admin-main {
  height: 100%;
  min-height: 0;
  overflow: hidden;
}

.free-cera-admin-fixed-tabs {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 18;
  display: flex;
  justify-content: center;
  gap: 10px;
  padding: 12px 18px;
  border-bottom: 1px solid rgba(214, 178, 104, .22);
  background: rgba(5, 5, 5, .95);
  box-shadow: 0 10px 24px rgba(0, 0, 0, .30);
}

.free-cera-admin-fixed-tabs button {
  min-width: 140px;
  height: 42px;
  border: 1px solid rgba(214, 178, 104, .26);
  color: rgba(245, 238, 226, .74);
  background: rgba(7, 7, 7, .58);
  cursor: pointer;
  font-weight: 900;
}

.free-cera-admin-fixed-tabs button.is-active {
  color: #160f08;
  border-color: rgba(255, 224, 148, .85);
  background: linear-gradient(180deg, #ffe09a, #d6a84d);
}

.content-admin-panel {
  display: none;
  height: 100%;
  overflow-y: auto;
  padding: 0 0 28px;
  scrollbar-gutter: stable;
}

.content-admin-panel.is-active {
  display: block;
}

.free-cera-admin-body .shop-hero {
  margin-top: 0;
}

.free-cera-admin-body .sub-hero {
  min-height: 250px;
  padding-top: 48px;
  padding-bottom: 44px;
}

.content-admin-order-page {
  display: grid;
  gap: 18px;
}

.free-cera-admin-body .sub-hero h1 {
  margin-bottom: 8px;
  font-size: clamp(42px, 3.7vw, 58px);
}

.free-cera-admin-body .sub-hero + .content-hub {
  padding-top: 26px;
}

.video-admin-page {
  display: grid;
  gap: 18px;
}

.video-admin-head {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.video-admin-path-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 140px;
  gap: 12px;
  align-items: end;
  padding: 16px;
  border: 1px solid rgba(214, 178, 104, .20);
  background: rgba(7, 7, 7, .42);
}

.video-admin-path-form label {
  display: grid;
  gap: 8px;
}

.video-admin-path-form span {
  color: rgba(245, 238, 226, .72);
  font-weight: 900;
}

.video-admin-path-form input {
  width: 100%;
  height: 42px;
  padding: 0 12px;
  border: 1px solid rgba(214, 178, 104, .22);
  color: #fff5dd;
  background: rgba(0, 0, 0, .48);
  font: inherit;
}

.video-admin-list {
  display: grid;
  gap: 22px;
}

.video-admin-group {
  display: grid;
  gap: 14px;
}

.video-admin-group-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 14px;
  border: 1px solid rgba(214, 178, 104, .24);
  background: linear-gradient(90deg, rgba(214, 178, 104, .13), rgba(0, 0, 0, .18));
}

.video-admin-group-head strong {
  color: #ffe6a5;
  font-size: 18px;
}

.video-admin-group-head span {
  color: rgba(245, 238, 226, .64);
  font-weight: 900;
}

.video-admin-card {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 16px;
  padding: 14px;
  border: 1px solid rgba(214, 178, 104, .20);
  background: rgba(7, 7, 7, .44);
}

.video-admin-card img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border: 1px solid rgba(214, 178, 104, .16);
}

.video-admin-card > div {
  display: grid;
  gap: 10px;
  min-width: 0;
}

.video-admin-card header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.video-admin-card header strong {
  color: #fff4dd;
  font-size: 18px;
  line-height: 1.35;
}

.video-admin-card header span {
  flex: 0 0 auto;
  padding: 4px 9px;
  border: 1px solid rgba(214, 178, 104, .28);
  font-size: 12px;
  font-weight: 900;
}

.video-admin-card header .is-downloaded {
  color: #9bf0b2;
  border-color: rgba(109, 219, 134, .42);
  background: rgba(74, 174, 91, .12);
}

.video-admin-card header .is-not-downloaded {
  color: #f0d48c;
  border-color: rgba(214, 178, 104, .36);
  background: rgba(214, 178, 104, .10);
}

.video-admin-card p {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0;
  color: rgba(245, 238, 226, .66);
  font-weight: 800;
}

.video-admin-card small {
  color: rgba(245, 238, 226, .48);
  font-weight: 800;
}

.video-admin-card div div {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

@media (max-width: 1180px) {
  .free-cera-admin-page {
    width: min(100% - 36px, 920px);
  }

  .free-cera-admin-page .shop-admin-inline-form {
    grid-template-columns: minmax(0, 1fr);
    gap: 20px;
    padding: 30px;
  }

  .free-cera-admin-page .shop-admin-inline-form input,
  .free-cera-admin-page .shop-admin-inline-form .btn {
    height: 68px;
    font-size: 20px;
  }
}

@media (max-width: 640px) {
  .free-cera-admin-body .site-header {
    min-height: 76px;
  }

  .free-cera-admin-body .brand {
    width: auto;
    min-height: 76px;
    padding: 14px 16px;
  }

  .free-cera-admin-body .brand strong {
    font-size: 16px;
  }

  .free-cera-admin-body .sub-hero {
    min-height: 230px;
    padding-top: 112px;
    padding-bottom: 34px;
  }

  .free-cera-admin-body .sub-hero h1 {
    font-size: clamp(44px, 16vw, 72px);
    line-height: 1;
  }

  .free-cera-admin-body .sub-hero p:not(.eyebrow) {
    max-width: 100%;
    font-size: 15px;
  }

  .free-cera-admin-page {
    width: calc(100% - 28px);
    padding: 0;
  }

  .free-cera-admin-page .shop-admin-inline-form {
    gap: 16px;
    padding: 20px;
  }

  .free-cera-admin-page .shop-admin-inline-form h2 {
    font-size: 24px;
  }

  .free-cera-admin-page .shop-admin-inline-form .account-empty {
    margin: -2px 0 6px;
    font-size: 14px;
    line-height: 1.6;
  }

  .free-cera-admin-page .shop-admin-inline-form span {
    font-size: 14px;
  }

  .free-cera-admin-page .shop-admin-inline-form input {
    height: 54px;
    padding: 0 14px;
    font-size: 16px;
  }

  .free-cera-admin-page .shop-admin-inline-form .btn {
    height: 54px;
    font-size: 17px;
  }

  .free-cera-admin-page > .account-status {
    min-height: 24px;
    font-size: 14px;
  }

  .free-cera-admin-page > p .btn {
    width: 100%;
  }

  .free-cera-admin-fixed-tabs {
    top: 0;
    padding: 10px;
  }

  .free-cera-admin-workspace {
    height: 100vh;
    padding: 12px;
  }

  .content-admin-shell {
    height: calc(100vh - 24px);
  }

  .content-admin-main {
    overflow-y: auto;
  }

  .content-admin-panel {
    height: auto;
    min-height: 0;
  }

  .video-admin-card {
    grid-template-columns: 1fr;
  }

  .video-admin-path-form {
    grid-template-columns: 1fr;
  }
}

.activity-layout {
  align-items: start;
  grid-template-columns: minmax(360px, 1.1fr) minmax(280px, .7fr);
}

.activity-primary,
.activity-side,
.activity-method {
  display: grid;
  gap: 16px;
}

.activity-reward-list {
  padding: 16px;
  border: 1px solid rgba(214, 178, 104, .20);
  background: rgba(7, 7, 7, .34);
}

.activity-reward-list h3,
.activity-method h2,
.activity-side h2 {
  margin: 0;
  color: #fff5dd;
}

.activity-reward-list ul,
.activity-method ol {
  margin: 0;
  padding-left: 20px;
  color: rgba(245, 238, 226, .82);
  line-height: 1.75;
}

.newcomer-reward-grid {
  display: grid;
  gap: 10px;
  margin-top: 12px;
}

.newcomer-reward-item {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  min-height: 70px;
  padding: 12px 14px;
  border: 1px solid rgba(214, 178, 104, .18);
  background: rgba(255, 255, 255, .035);
}

.newcomer-reward-icon {
  justify-self: center;
  width: 36px;
  height: 36px;
}

.newcomer-reward-item strong,
.newcomer-reward-item span,
.newcomer-reward-item small {
  display: block;
}

.newcomer-reward-item strong {
  color: #fff5dd;
  font-size: 16px;
}

.newcomer-reward-item span {
  margin-top: 3px;
  color: #ffe39a;
  font-weight: 900;
}

.newcomer-reward-item small {
  margin-top: 3px;
  color: rgba(245, 238, 226, .56);
}

.newcomer-reward-item.is-claimed {
  border-color: rgba(145, 232, 170, .22);
  background: rgba(20, 76, 42, .12);
}

.newcomer-reward-item .btn {
  min-width: 118px;
}

.activity-claim-box {
  display: flex;
  gap: 14px;
  align-items: center;
  justify-content: space-between;
  padding: 16px;
  border: 1px solid rgba(240, 212, 140, .30);
  background: linear-gradient(135deg, rgba(214, 178, 104, .16), rgba(7, 7, 7, .36));
}

.activity-claim-box span,
.activity-claim-box small {
  display: block;
  color: rgba(245, 238, 226, .62);
  font-weight: 800;
}

.activity-claim-box strong {
  display: block;
  margin: 4px 0;
  color: #ffe39a;
  font-size: 22px;
}

.activity-claim-box.is-claimed {
  border-color: rgba(145, 232, 170, .28);
  background: rgba(20, 76, 42, .16);
}

.activity-method-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(320px, 1fr));
  gap: 18px;
}

.activity-method p,
.activity-side p {
  margin: 0;
  color: rgba(245, 238, 226, .78);
  line-height: 1.72;
}

.activity-progress {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px 14px;
  align-items: center;
}

.activity-progress span,
.activity-upload-form span {
  color: rgba(245, 238, 226, .62);
  font-size: 13px;
  font-weight: 900;
}

.activity-progress strong {
  color: #ffe39a;
}

.activity-progress i {
  position: relative;
  grid-column: 1 / -1;
  height: 12px;
  overflow: hidden;
  border: 1px solid rgba(214, 178, 104, .22);
  background: rgba(0, 0, 0, .28);
}

.activity-progress i::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: var(--activity-percent, 0%);
  background: linear-gradient(90deg, #f0d48c, #91e8aa);
}

.activity-upload-form {
  display: grid;
  gap: 12px;
}

.activity-upload-form label {
  display: grid;
  gap: 8px;
}

.activity-upload-form input[type="file"],
.activity-upload-form input[type="text"] {
  width: 100%;
  border: 1px solid rgba(214, 178, 104, .22);
  background: rgba(7, 7, 7, .48);
  color: #fff5dd;
  padding: 11px 12px;
  font: inherit;
}

.activity-claim-btn {
  justify-self: start;
}

.activity-submission-list {
  display: grid;
  border: 1px solid rgba(214, 178, 104, .16);
  background: rgba(0, 0, 0, .22);
}

.activity-submission-list p {
  display: grid;
  grid-template-columns: minmax(120px, .8fr) 82px minmax(120px, 1fr);
  gap: 10px;
  align-items: center;
  padding: 10px 12px;
  border-top: 1px solid rgba(255, 255, 255, .07);
}

.activity-submission-list p:first-child {
  border-top: 0;
}

.activity-submission-list b {
  color: #ffe39a;
}

.invite-board {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(320px, .75fr);
  gap: 18px;
  align-items: start;
}

.invite-section {
  display: grid;
  gap: 16px;
}

.invite-section > p {
  margin: 0;
  color: rgba(245, 238, 226, .76);
}

.invite-relation-list,
.invite-character-list {
  display: grid;
  gap: 14px;
}

.invite-relation-card {
  display: grid;
  gap: 12px;
  padding: 16px;
  border: 1px solid rgba(214, 178, 104, .20);
  background: rgba(7, 7, 7, .34);
}

.invite-relation-card header {
  display: grid;
  grid-template-columns: minmax(72px, auto) minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
}

.invite-relation-card header span,
.invite-character-card small {
  color: rgba(245, 238, 226, .58);
  font-size: 13px;
  font-weight: 900;
}

.invite-relation-card header strong {
  overflow-wrap: anywhere;
  color: #fff5dd;
  font-size: 20px;
}

.invite-relation-card header em {
  color: #91e8aa;
  font-style: normal;
  font-weight: 900;
}

.invite-relation-card > p {
  margin: 0;
  color: rgba(245, 238, 226, .66);
}

.invite-character-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  padding: 14px;
  border: 1px solid rgba(214, 178, 104, .18);
  background: rgba(0, 0, 0, .26);
}

.invite-character-card span {
  color: var(--gold);
  font-weight: 900;
}

.invite-character-card strong {
  display: block;
  margin: 4px 0;
  color: #fff1bc;
  font-size: 20px;
}

.invite-character-card.is-ready {
  border-color: rgba(145, 232, 170, .36);
  background: rgba(20, 76, 42, .16);
}

.invite-character-card.is-claimed {
  border-color: rgba(154, 200, 255, .28);
  background: rgba(30, 74, 130, .13);
}

.shop-admin-inline-form {
  display: grid;
  grid-template-columns: repeat(3, minmax(180px, 1fr)) auto;
  gap: 14px;
  align-items: end;
  margin: 10px 0 22px;
  padding: 16px;
  border: 1px solid rgba(214, 178, 104, .22);
  background: rgba(7, 7, 7, .42);
}

.shop-admin-inline-form h2 {
  grid-column: 1 / -1;
  margin: 0;
}

.shop-admin-inline-form label {
  display: grid;
  gap: 8px;
}

.shop-admin-inline-form span {
  color: rgba(245, 238, 226, .58);
  font-size: 12px;
  font-weight: 900;
}

.shop-admin-inline-form input,
.shop-admin-inline-form select,
.shop-admin-inline-form textarea {
  width: 100%;
  border: 1px solid rgba(214, 178, 104, .22);
  background: rgba(7, 7, 7, .48);
  color: #fff5dd;
  padding: 11px 12px;
  font: inherit;
}

.shop-admin-inline-form textarea {
  min-height: 260px;
  resize: vertical;
}

.shop-admin-inline-form label:has(textarea) {
  grid-column: 1 / -1;
}

.activity-review-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.feedback-ticket em.is-rejected {
  color: #ff9a88;
  background: rgba(255, 154, 136, .10);
}

.feedback-ticket em.is-claimed {
  color: #9ac8ff;
  background: rgba(154, 200, 255, .10);
}

.shop-table {
  display: grid;
  border: 1px solid rgba(214, 178, 104, .20);
  background: rgba(7, 7, 7, .40);
}

.shop-table p {
  display: grid;
  grid-template-columns: minmax(160px, .9fr) minmax(180px, 1.2fr) 100px 90px 160px;
  gap: 12px;
  align-items: center;
  margin: 0;
  padding: 12px 14px;
  border-top: 1px solid rgba(255, 255, 255, .07);
}

.shop-table p:first-child {
  border-top: 0;
}

.shop-table span,
.shop-table small {
  color: rgba(245, 238, 226, .58);
}

.shop-table b {
  color: #fff5dd;
}

.shop-table strong {
  color: #ffe39a;
}

.shop-table em {
  color: #f2d082;
  font-style: normal;
  font-weight: 900;
}

form[data-pk-match-result] > p {
  grid-template-columns: 110px 100px minmax(0, 1fr);
  gap: 18px;
}

form[data-pk-match-result] > p > small {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  min-width: 0;
}

form[data-pk-match-result] > p > small > label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 40px;
  margin: 0;
  padding: 7px 10px;
}

form[data-pk-match-result] > p > small > button {
  flex: 0 0 auto;
  min-width: 112px;
  min-height: 40px;
  padding: 0 16px;
  white-space: nowrap;
}

@media (max-width: 1080px) {
  .site-header {
    justify-content: space-between;
    padding: 0 18px;
  }

  .mobile-account-trigger {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    max-width: 104px;
    height: 38px;
    margin-left: auto;
    padding: 0 14px;
    border: 1px solid rgba(214, 178, 104, .46);
    border-radius: 10px;
    color: #1b1306;
    background: linear-gradient(180deg, #ffe8a8, #d7a947);
    box-shadow: 0 8px 22px rgba(0, 0, 0, .28);
    font-size: 14px;
    font-weight: 900;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    cursor: pointer;
  }

  .power-hero {
    padding-right: clamp(20px, 6vw, 86px);
  }

  .my-power-card {
    position: static;
    width: min(100%, 560px);
    min-width: 0;
    margin-top: 28px;
  }

  .mobile-account-trigger.is-logged-in {
    color: #fff5dd;
    background: rgba(255, 255, 255, .08);
  }

  .brand {
    width: auto;
    min-width: 0;
    align-self: center;
    padding: 0;
    border-right: 0;
    background: transparent;
  }

  .site-nav {
    position: fixed;
    top: 84px;
    right: 16px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    width: min(330px, calc(100vw - 32px));
    max-height: calc(100dvh - 108px);
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
    padding: 10px;
    border: 1px solid var(--line);
    background: rgba(5, 5, 5, .98);
  }

  .site-nav::before,
  .nav-item:not(:last-child)::after {
    display: none;
  }

  .site-nav.is-open { display: flex; }
  .nav-item { flex: initial; }
  .nav-item > a {
    justify-content: flex-start;
    min-height: 48px;
    width: 100%;
    font-size: 15px;
  }
  .nav-dropdown {
    position: static;
    min-height: 0;
    width: 100%;
    padding: 0 0 8px 14px;
    border: 0;
    background: transparent;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    transform: none;
  }

  .nav-dropdown.is-account-menu {
    width: 100%;
    padding: 8px 0 0;
  }

  .account-mini-card {
    border-radius: 8px;
    box-shadow: none;
  }

  .profile-stat-grid,
  .profile-info-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .nav-dropdown a {
    justify-content: flex-start;
    min-height: 34px;
    border-bottom: 0;
    color: var(--muted);
    text-align: left;
  }

  .nav-dropdown a.has-nav-claimable {
    justify-content: flex-start;
    padding-right: 8px;
  }

  .nav-dropdown a.has-nav-claimable span {
    width: auto;
    text-align: left;
  }

  .site-nav a.has-nav-claimable em,
  .nav-dropdown a.has-nav-claimable em {
    position: static;
  }

  .nav-item:has(.nav-account) {
    display: block;
  }

  .nav-account,
  .nav-account.is-logged-in {
    width: 100%;
    min-width: 0;
    height: 46px;
    margin: 0;
    justify-content: flex-start;
    border-radius: 12px;
    font-size: 16px;
  }

  .account-login-dot {
    display: none;
  }

  .nav-toggle { display: block; }
  .hero,
  .portal-grid,
  .sub-layout,
  .download-card { grid-template-columns: 1fr; }
  .quick-entry,
  .event-grid,
  .hub-grid,
  .info-grid,
  .link-grid,
  .group-grid,
  .account-summary-grid,
  .account-form,
  .online-reward-board,
  .online-hourly-board,
  .signin-board,
  .invite-board,
  .shop-admin-inline-form,
  .probability-grid { grid-template-columns: minmax(0, 520px); }
  .recharge-balance-row,
  .recharge-character-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .download-stage {
    padding: 104px 22px 44px;
    background-position: 16% center;
  }
  .download-stage-inner {
    width: min(100%, 820px);
    max-width: 100%;
    margin-left: 0;
  }
  .download-title em {
    display: none;
  }
  .download-tabs,
  .download-main,
  .download-methods,
  .download-tools.is-active,
  .download-patch-list {
    grid-template-columns: 1fr;
  }
  .download-main {
    gap: 28px;
  }
  .official-download-button,
  .download-more,
  .download-time {
    width: 100%;
  }
  .reward-image-grid,
  .reward-detail-list,
  .guardian-detail-panel > div { grid-template-columns: 1fr; }
  .reward-detail-card {
    grid-template-rows: auto auto auto;
    height: auto;
    overflow: visible;
  }
  .reward-detail-list {
    min-height: 0;
    overflow: visible;
  }
  .guardian-detail-panel {
    height: auto;
    min-height: 238px;
    overflow: visible;
  }
  .guardian-detail-panel > div {
    overflow: visible;
  }
  .reward-image-card img { min-height: 400px; }
  .atlas-toolbar {
    grid-template-columns: 1fr;
  }
  .atlas-head {
    align-items: flex-start;
    flex-direction: column;
  }
  .card-atlas-grid,
  .atlas-grid {
    grid-template-columns: 1fr;
  }
  .panel-stat-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .equipment-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .mentor-activity-head,
  .mentor-activity-grid,
  .mentor-level-reward-grid { grid-template-columns: 1fr; }
  .shop-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .shop-cart-panel {
    width: min(920px, calc(100vw - 32px));
    max-height: min(50vh, 420px);
  }
  .shop-table p { grid-template-columns: 1fr 1fr; }
  form[data-pk-match-result] > p { grid-template-columns: 100px 90px minmax(0, 1fr); }
  .magic-box-title-row {
    display: grid;
  }
  .magic-box-pool-tabs {
    justify-content: flex-start;
    min-width: 0;
  }
  .magic-box-summary {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .magic-box-summary div:nth-child(odd) {
    border-left: 0;
  }
  .magic-box-item {
    grid-template-columns: 40px 112px minmax(0, 1fr) 76px 110px;
  }
  .magic-box-item small {
    grid-column: 3 / -1;
    text-align: left;
  }
  .sub-layout {
    grid-template-columns: minmax(0, 1fr);
  }
  .sub-layout > div,
  .sub-layout > .article-panel,
  .info-query-page > div,
  .info-query-page .article-panel {
    min-width: 0;
  }
  .side-menu { position: static; }
  .wide-tool-section { width: min(100% - 32px, 1100px); }
  .skill-classic-title,
  .skill-classic-body,
  .skill-classic-select,
  .skill-select-stage {
    grid-template-columns: minmax(0, 1fr);
  }
  .skill-classic-select {
    min-height: 0;
  }
  .skill-select-portraits {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    border-right: 0;
    border-bottom: 1px solid rgba(214, 178, 104, .18);
  }
  .skill-select-portraits button {
    width: 100%;
  }
  .skill-select-help {
    border-left: 0;
    border-top: 1px solid rgba(214, 178, 104, .18);
    padding: 18px;
  }
  .skill-classic-sp {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .skill-classic-detail {
    min-width: 0;
  }
  .skill-classic-tree {
    grid-template-columns: repeat(auto-fill, minmax(76px, 1fr));
    max-height: 560px;
  }
  .skill-planner-toolbar,
  .skill-planner-filters {
    grid-template-columns: 1fr;
  }
  .skill-planner-fields {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .skill-card {
    grid-template-columns: 52px minmax(0, 1fr);
  }

  .hero-download-actions {
    grid-template-columns: 1fr;
    width: min(320px, 82vw);
    gap: 12px;
    margin-top: 32px;
  }

  .skill-level-box {
    grid-column: 1 / -1;
    grid-template-columns: minmax(0, 180px) minmax(0, 1fr);
    align-items: center;
  }
  .skill-level-box small {
    text-align: left;
  }
  .embedded-tool-full,
  .embedded-tool-full iframe {
    height: 2100px;
    min-height: 2100px;
  }
}

@media (max-width: 640px) {
  .brand { min-width: 0; }
  .brand small { display: none; }
  .sub-hero {
    min-height: 250px;
    padding-bottom: 28px;
  }
  .sub-hero + .info-query-page {
    margin-top: 0;
  }
  .hero {
    min-height: 620px;
    padding: 116px 18px 70px;
  }
  .hero::before { inset: 96px 18px 42px; }
  .hero::after { opacity: .25; }
  .hero h1 {
    font-size: clamp(58px, 18vw, 104px);
    line-height: .92;
    white-space: normal;
  }
  .quick-entry,
  .event-grid,
  .hub-grid,
  .info-grid,
  .link-grid,
  .group-grid,
  .account-summary-grid,
  .account-form,
  .online-reward-board,
  .online-hourly-board,
  .reward-chip-list,
  .reward-prize-grid,
  .signin-board,
  .activity-steps li,
  .newcomer-reward-item,
  .invite-board,
  .invite-character-card,
  .invite-relation-card header,
  .shop-admin-inline-form,
  .probability-grid,
  .skill-planner-fields,
  .skill-planner-summary,
  .magic-box-table p { grid-template-columns: 1fr; }
  .article-panel {
    padding: 18px;
  }
  .skill-classic-title {
    padding: 12px;
  }
  .skill-select-portraits {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding: 10px;
  }
  .skill-select-stage {
    padding: 22px 14px;
  }
  .skill-select-stage::before {
    inset: 20px 34px auto;
    width: auto;
    height: 170px;
  }
  .skill-select-figure {
    width: 160px;
    font-size: 54px;
  }
  .skill-select-main p {
    font-size: 20px;
  }
  .skill-select-main h2 {
    font-size: 40px;
  }
  .skill-select-builds,
  .skill-select-actions {
    grid-template-columns: 1fr;
    gap: 8px;
  }
  .skill-select-level {
    grid-template-columns: 1fr;
  }
  .skill-select-help p {
    line-height: 1.7;
  }
  .skill-classic-sp {
    grid-template-columns: 1fr;
  }
  .skill-classic-sp p,
  .skill-classic-sp p:first-child {
    min-height: 52px;
    border-left: 0;
    border-top: 1px solid rgba(255, 255, 255, .07);
  }
  .skill-classic-sp p:first-child {
    border-top: 0;
  }
  .skill-classic-topbar {
    align-items: stretch;
  }
  .skill-classic-topbar button {
    flex: 1 1 112px;
  }
  .skill-level-ruler {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
  .skill-level-ruler span:nth-child(n+5) {
    display: none;
  }
  .skill-classic-tree {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    grid-auto-rows: 112px;
    padding: 8px;
    gap: 8px;
  }
  .skill-node-face {
    grid-template-rows: 36px minmax(0, 1fr) 16px;
    padding: 5px;
  }
  .skill-node-face span {
    width: 34px;
    height: 34px;
  }
  .skill-detail-card dl {
    grid-template-columns: 72px minmax(0, 1fr);
  }
  .skill-detail-head {
    grid-template-columns: 52px minmax(0, 1fr);
  }
  .skill-icon-large {
    width: 52px;
    height: 52px;
  }
  .skill-planner-jobs button {
    min-width: min(100%, 142px);
    flex: 1 1 132px;
  }
  .skill-planner-summary div,
  .skill-planner-summary div:first-child {
    min-height: 76px;
    border-left: 0;
    border-top: 1px solid rgba(255, 255, 255, .07);
  }
  .skill-planner-summary div:first-child {
    border-top: 0;
  }
  .skill-planner-summary strong {
    font-size: 28px;
  }
  .skill-card {
    grid-template-columns: 44px minmax(0, 1fr);
    gap: 12px;
    padding: 14px;
  }
  .skill-icon-badge {
    width: 42px;
    height: 42px;
    font-size: 14px;
  }
  .skill-card-main h3 {
    font-size: 18px;
  }
  .skill-card-main p {
    font-size: 14px;
  }
  .skill-level-box {
    grid-template-columns: 1fr;
  }
  .skill-level-box small {
    text-align: right;
  }
  .newcomer-reward-item .btn { width: 100%; }
  .newcomer-reward-item {
    grid-template-columns: 38px minmax(0, 1fr);
  }
  .newcomer-reward-item .btn {
    grid-column: 1 / -1;
  }
  .info-page-tabs {
    position: static;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    padding: 10px;
    margin-bottom: 14px;
  }
  .info-page-tabs a {
    justify-content: center;
    min-height: 40px;
    padding: 8px 6px;
    border: 1px solid rgba(214, 178, 104, .16);
    font-size: 14px;
    line-height: 1.25;
    text-align: center;
  }
  .probability-table {
    width: 100%;
  }
  .probability-table p {
    grid-template-columns: minmax(0, 1fr) 112px;
  }
  .probability-table span,
  .probability-table strong {
    min-height: 44px;
    padding: 10px 12px;
    font-size: 15px;
  }
  .probability-table strong {
    border-left: 1px solid rgba(214, 178, 104, .12);
    border-top: 0;
    text-align: right;
    font-size: 16px;
  }
  .embedded-tool,
  .embedded-tool iframe {
    min-height: 560px;
    height: 70vh;
  }
  .embedded-tool-full {
    height: 72vh;
    min-height: 560px;
    overflow: auto;
    -webkit-overflow-scrolling: touch;
  }
  .embedded-tool-full iframe {
    width: 1100px;
    max-width: none;
    height: 1800px;
    min-height: 1800px;
  }
  .magic-box-table em { justify-self: start; }
  .magic-box-summary,
  .magic-box-toolbar {
    grid-template-columns: 1fr;
  }
  .magic-box-summary div,
  .magic-box-summary div:nth-child(odd) {
    border-left: 0;
    border-top: 1px solid rgba(255, 255, 255, .06);
  }
  .magic-box-summary div:first-child {
    border-top: 0;
  }
  .magic-box-feature-toggle {
    width: 100%;
    justify-self: stretch;
  }
  .magic-box-list {
    gap: 0;
  }
  .magic-box-item {
    grid-template-columns: 34px 54px minmax(0, 1fr) 42px 72px;
    gap: 8px;
    min-height: 46px;
    padding: 8px 10px;
    border-left-width: 2px;
  }
  .magic-box-item strong {
    font-size: 14px;
    line-height: 1.35;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .magic-box-category,
  .magic-box-quantity,
  .magic-box-item em,
  .magic-box-item small {
    font-size: 13px;
    text-align: right;
  }
  .magic-box-category { text-align: left; }
  .magic-box-item em { font-size: 14px; }
  .magic-box-item small {
    display: none;
  }
  .magic-box-icon {
    width: 28px;
    height: 28px;
  }
  .my-power-card {
    padding: 16px;
  }

  .my-power-board {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .my-power-score {
    gap: 14px;
  }

  .my-power-score .power-emblem-card {
    width: 76px;
    height: 76px;
  }

  .my-power-score strong {
    font-size: clamp(42px, 16vw, 72px);
    line-height: .9;
  }

  .my-power-rank {
    justify-items: start;
    text-align: left;
  }

  .my-power-rank b {
    font-size: 34px;
  }

  .ranking-list p {
    grid-template-columns: 42px minmax(0, 1fr) 88px;
    gap: 4px 8px;
    align-items: center;
    min-height: 58px;
    padding: 9px 10px;
  }
  .ranking-list .ranking-rank { font-size: 14px; }
  .ranking-list .ranking-name {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 15px;
  }
  .ranking-list small {
    grid-column: 2;
    font-size: 12px;
  }
  .ranking-list .ranking-power {
    grid-column: 3;
    grid-row: 1 / span 2;
    align-self: center;
    justify-self: end;
    gap: 5px;
    font-size: 16px;
    line-height: 1.1;
    text-align: right;
  }
  .ranking-power-emblem {
    width: 30px;
    height: 30px;
  }
  .power-tier-guide {
    gap: 12px;
    margin-top: 14px;
    padding: 16px;
  }
  .power-tier-guide header {
    display: grid;
    gap: 8px;
  }
  .power-tier-guide h2 {
    font-size: 20px;
  }
  .power-tier-guide p {
    text-align: left;
    font-size: 13px;
  }
  .power-tier-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }
  .power-tier-grid article {
    grid-template-columns: minmax(0, 1fr) 48px;
    align-items: center;
    min-height: 96px;
    padding: 12px;
  }
  .power-tier-grid b {
    font-size: 16px;
  }
  .power-tier-grid strong {
    font-size: 15px;
  }
  .power-tier-grid img {
    width: 46px;
    height: 46px;
  }
  .recharge-balance-row,
  .recharge-character-strip { grid-template-columns: 1fr; }
  .download-stage {
    background-position: 18% center;
  }
  .download-tabs button {
    min-height: 46px;
    font-size: 20px;
  }
  .official-download-button {
    width: min(100%, 360px);
    margin-inline: auto;
    min-height: 96px;
    padding: 16px 22px;
  }
  .official-download-button strong {
    font-size: 22px;
  }
  .download-file-info dl,
  .download-speed-list p {
    grid-template-columns: 1fr;
  }
  .download-patch-list a {
    grid-template-columns: 1fr;
  }
  .download-patch-list a::after {
    grid-column: 1;
    grid-row: auto;
    justify-self: start;
  }
  .download-card,
  .download-primary {
    justify-items: center;
  }
  .newbie-download-button {
    display: flex;
    justify-content: center;
    width: min(100%, 280px);
    margin: 26px auto 0;
  }
  .shop-admin-shell {
    grid-template-columns: 1fr;
  }
  .shop-admin-tabs {
    position: static;
  }
  .reward-image-grid,
  .guardian-detail-panel > div { grid-template-columns: 1fr; }
  .reward-grid {
    overflow: visible;
    padding-bottom: 0;
  }
  .reward-grid-row {
    grid-auto-columns: initial;
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    min-width: 0;
    gap: 8px;
  }
  .reward-grid button,
  .reward-grid p {
    width: 100%;
    min-height: 72px;
    padding: 0 4px;
    white-space: normal;
    line-height: 1.15;
    font-size: 12px;
  }
  .reward-grid button b {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .reward-gallery-panel {
    overflow: visible;
  }
  .reward-gallery-panel [data-reward-gallery] {
    overflow: visible;
    padding-bottom: 0;
  }
  .reward-detail-card {
    grid-template-rows: auto auto auto;
    width: min(100%, 430px);
    min-width: 0;
    height: auto;
    min-height: 900px;
    margin-inline: auto;
    overflow: visible;
    padding: 14px;
  }
  .reward-detail-list {
    grid-template-columns: 1fr;
    min-height: 0;
    overflow: visible;
  }
  .guardian-detail-panel {
    height: auto;
    min-height: 0;
    overflow: visible;
  }
  .guardian-detail-panel > div {
    overflow: visible;
  }
  .reward-detail-card > header {
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 10px;
  }
  .reward-detail-card h3 {
    font-size: clamp(18px, 5vw, 24px);
    line-height: 1.2;
  }
  .reward-detail-list p {
    min-height: 42px;
    padding: 7px 8px;
    font-size: 13px;
  }
  .guardian-detail-panel p {
    padding: 7px 8px;
    font-size: 12px;
  }
  .vip-showcase {
    grid-template-columns: minmax(0, 1fr) auto;
    width: min(100%, 430px);
    min-height: 0;
    aspect-ratio: 430 / 280;
    margin-inline: auto;
    padding: clamp(20px, 6vw, 30px);
  }
  .vip-showcase h2 {
    font-size: clamp(66px, 18vw, 102px);
    white-space: nowrap;
  }
  .vip-showcase span {
    font-size: clamp(15px, 4vw, 20px);
  }
  .vip-card-identity {
    align-self: end;
    margin: 0 6px 10px 0;
    gap: 6px;
  }
  .vip-card-identity small,
  .vip-card-identity b {
    font-size: 13px;
    white-space: nowrap;
  }
  .reward-image-card figure.has-guardian { grid-template-columns: 1fr; }
  .reward-image-card img { height: auto; min-height: 340px; }
  .character-head { grid-template-columns: 1fr; }
  .character-head > strong { width: 100%; }
  .profile-stat-grid,
  .profile-info-grid { grid-template-columns: 1fr; }
  .profile-info-grid p { grid-template-columns: 70px minmax(0, 1fr); }
  .fatigue-showcase { grid-template-columns: 1fr; }
  .fatigue-battery { max-width: 190px; }
  .mentor-reward-head,
  .mentor-reward-grid,
  .mentor-activity-head,
  .mentor-activity-grid,
  .mentor-level-reward-grid { grid-template-columns: 1fr; }
  .shop-toolbar,
  .shop-admin-login { align-items: stretch; flex-direction: column; }
  .shop-coupon-line {
    grid-template-columns: 1fr auto;
  }
  .shop-coupon-line span,
  .shop-coupon-status {
    grid-column: 1 / -1;
  }
  .shop-grid,
  .feedback-layout,
  .shop-admin-summary,
  .shop-admin-tools,
  .activity-layout,
  .activity-method-grid { grid-template-columns: 1fr; }

  .activity-claim-box { align-items: stretch; flex-direction: column; }

  .activity-submission-list p { grid-template-columns: 1fr; }
  body.has-shop-cart { padding-bottom: 190px; }
  .shop-cart-panel {
    left: 8px;
    right: 8px;
    width: auto;
    max-height: 42vh;
    padding: 12px;
    transform: translateY(calc(100% + 24px));
  }
  .shop-cart-panel.is-visible {
    transform: translateY(0);
  }
  .shop-cart-panel .section-title {
    gap: 8px;
    margin-bottom: 8px;
  }
  .shop-cart-panel .section-title h2 {
    font-size: 24px;
  }
  .shop-cart-panel .section-title p {
    font-size: 13px;
  }
  .shop-cart-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    bottom: -12px;
    gap: 8px;
    margin: 8px -12px -12px;
    padding: 10px 12px 12px;
  }
  .shop-cart-actions .btn {
    min-height: 42px;
    padding: 0 12px;
    font-size: 16px;
  }
  .shop-cart-row {
    grid-template-columns: minmax(0, 1fr) auto 28px 28px 28px 42px;
    gap: 6px;
    padding: 7px 0;
    font-size: 14px;
  }
  .shop-cart-row span:first-child {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .shop-cart-row strong {
    font-size: 14px;
    white-space: nowrap;
  }
  .shop-cart-row button {
    min-height: 28px;
    padding: 0 6px;
    font-size: 14px;
  }
  .shop-cart-row button:last-child {
    grid-column: auto;
    padding: 0 8px;
    font-size: 13px;
  }
  .account-modal.is-shop-success {
    align-items: start;
    padding: 16px 0;
  }
  .account-modal.is-shop-success .account-modal-panel {
    width: calc(100vw - 24px);
    max-height: calc(100vh - 32px);
    padding: 18px 14px 22px;
  }
  .account-modal.is-shop-success .account-modal-close {
    right: 8px;
    top: 6px;
  }
  .shop-success-title {
    margin: 2px 36px 12px;
    font-size: 24px;
  }
  .shop-success-panel {
    gap: 14px;
  }
  .shop-success-hero {
    padding-top: 4px;
  }
  .shop-success-hero strong {
    min-width: 0;
    width: 100%;
    height: clamp(58px, 18vw, 82px);
    font-size: clamp(56px, 18vw, 82px);
  }
  .shop-success-hero > span {
    font-size: 14px;
  }
  .shop-success-vip,
  .shop-success-cera,
  .shop-success-rewards {
    padding: 14px;
  }
  .shop-success-vip div,
  .shop-success-cera,
  .shop-success-order p {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 8px;
    align-items: start;
    justify-content: stretch;
  }
  .shop-success-vip strong,
  .shop-success-cera strong,
  .shop-success-order strong,
  .shop-success-rewards strong {
    min-width: 0;
    overflow-wrap: anywhere;
    word-break: break-word;
  }
  .shop-success-vip b,
  .shop-success-cera b {
    font-size: clamp(24px, 8vw, 34px);
  }
  .shop-success-vip i {
    height: 18px;
  }
  .shop-success-cera strong {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 10px;
    font-size: clamp(24px, 8vw, 34px);
  }
  .shop-success-cera small {
    justify-self: start;
    max-width: 100%;
    line-height: 1.5;
  }
  .shop-success-order p {
    padding: 12px 0;
  }
  .shop-success-order strong {
    text-align: left;
    word-break: break-all;
  }
  .shop-success-actions .btn {
    width: 100%;
    min-width: 0;
  }
  .shop-table p { grid-template-columns: 1fr; }
  form[data-pk-match-result] > p { grid-template-columns: 1fr; }
  .panel-stat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .equipment-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .account-tabs { overflow-x: auto; }
  .account-session { grid-template-columns: 1fr; }
  .account-session .btn { grid-row: auto; grid-column: auto; }
  .character-picker { grid-template-columns: 1fr; }
  .character-picker button { width: 100%; }
  .quick-entry { margin: 0; }
  .portal-grid,
  .event-band,
  .content-hub,
  .sub-hero,
  .sub-layout { padding-left: 18px; padding-right: 18px; }
  .sub-hero.hero-events.mentor-hero {
    min-height: 260px;
    padding-top: 76px;
    padding-bottom: 76px;
  }
  .recommend-strip { padding-left: 18px; padding-right: 18px; }
  .portal-grid {
    gap: 0;
    padding-left: 0;
    padding-right: 0;
  }
  .news-panel {
    width: 100%;
    padding: 24px 20px 34px;
    border: 0;
    background: transparent;
    box-shadow: none;
  }
  .news-panel .section-title {
    display: block;
    margin-bottom: 18px;
  }
  .news-panel .section-title h2 {
    color: #fff5dd;
    font-size: clamp(30px, 9vw, 42px);
    line-height: 1.05;
  }
  .news-panel .section-title .eyebrow {
    display: none;
  }
  .news-panel .tabbar {
    position: relative;
    display: flex;
    justify-content: space-between;
    gap: 8px;
    margin: 0 0 16px;
    padding: 0 0 10px;
    border-bottom: 0;
  }
  .news-panel .tabbar::after {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 4px;
    border-radius: 999px;
    background: rgba(245, 238, 226, .12);
    content: "";
  }
  .news-panel .tabbar button {
    position: relative;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 0;
    height: 36px;
    padding: 0 2px;
    color: rgba(245, 238, 226, .54);
    background: transparent;
    font-size: 15px;
    font-weight: 900;
    line-height: 1;
    white-space: nowrap;
    writing-mode: horizontal-tb;
  }
  .news-panel .tabbar button.is-active {
    color: #fff5dd;
    background: transparent;
  }
  .news-panel .tabbar button.is-active::after {
    position: absolute;
    left: 0;
    right: 0;
    bottom: -10px;
    height: 4px;
    border-radius: 999px;
    background: linear-gradient(90deg, #efd28a, #d1462e);
    content: "";
  }
  .news-list.is-active {
    display: grid;
  }
  .news-list a {
    position: relative;
    grid-template-columns: minmax(0, 1fr) 34px;
    grid-template-rows: auto auto;
    gap: 7px 10px;
    min-height: 78px;
    padding: 10px 2px 12px;
    border-top: 0;
  }
  .news-list a::after {
    grid-column: 2;
    grid-row: 1 / span 2;
    align-self: center;
    justify-self: end;
    color: #fff5dd;
    content: ">";
    font-family: Arial, sans-serif;
    font-size: 25px;
    font-weight: 900;
    line-height: 1;
  }
  .news-list span {
    display: none;
  }
  .news-list time {
    display: block;
    grid-column: 1;
    grid-row: 1;
    color: rgba(245, 238, 226, .46);
    font-size: 14px;
    font-weight: 500;
    line-height: 1;
  }
  .news-list b {
    grid-column: 1;
    grid-row: 2;
    min-width: 0;
    overflow: hidden;
    color: #fff5dd;
    font-size: clamp(16px, 4.9vw, 22px);
    line-height: 1.2;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .news-controls {
    justify-content: center;
    min-height: 44px;
    margin-top: 18px;
  }
  .news-controls button {
    width: min(100%, 240px);
    height: 46px;
    border: 0;
    border-radius: 12px;
    color: #fff4dd;
    background: linear-gradient(90deg, #8c31e8, #ef3c2f);
    box-shadow: 0 10px 26px rgba(216, 54, 38, .22);
    font-size: 17px;
    letter-spacing: 0;
  }
  .archive-list a { grid-template-columns: 1fr; }
  .screenshot-carousel { min-height: 260px; }
}

@media (max-width: 1280px) {
  .video-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 920px) {
  .image-modal {
    padding: 10px;
    align-items: start;
  }
  .image-modal-panel {
    grid-template-columns: 1fr;
    width: 100%;
    max-height: calc(100vh - 20px);
    overflow-y: auto;
  }
  .image-modal-panel figure {
    min-height: 260px;
  }
  .image-modal-panel figure img {
    max-height: 62vh;
  }
  .image-modal-panel aside {
    max-height: none;
    border-left: 0;
    border-top: 1px solid rgba(214, 178, 104, .18);
  }
  .video-center-page {
    width: calc(100% - 20px);
    margin-top: 84px;
    padding: 18px 14px 28px;
  }
  .video-center-head {
    grid-template-columns: 1fr;
    align-items: start;
  }
  .video-center-head .btn {
    justify-self: start;
  }
  .video-toolbar {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .video-search-form {
    grid-template-columns: minmax(0, 1fr) auto;
  }
  .video-toolbar nav {
    gap: 16px;
    overflow-x: auto;
    flex-wrap: nowrap;
    padding-bottom: 4px;
  }
  .video-toolbar nav button {
    white-space: nowrap;
  }
  .video-filter-button {
    justify-self: start;
  }
  .video-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px 12px;
  }
  .video-watch-page {
    width: 100%;
    margin-top: 84px;
  }
  .video-watch-info {
    padding: 18px 16px 0;
  }
  .video-studio-layout {
    grid-template-columns: 1fr;
  }
  .video-studio-layout.has-return {
    grid-template-columns: 1fr;
    width: min(1240px, calc(100% - 48px));
  }
  .video-studio-return {
    position: static;
    right: auto;
    top: auto;
    justify-content: flex-start;
    padding-top: 0;
  }
  .video-studio-return .btn {
    min-height: 42px;
  }
  .video-studio-sidebar {
    grid-auto-flow: column;
    grid-auto-rows: 36px;
    grid-auto-columns: minmax(116px, 1fr);
    overflow-x: auto;
    padding: 10px 16px;
    border-right: 0;
    border-bottom: 1px solid rgba(214, 178, 104, .18);
  }
  .video-studio-sidebar a {
    min-width: max-content;
    height: 36px;
  }
  .video-upload-panel {
    padding: 22px 16px 48px;
  }
  .video-upload-form {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .video-upload-form h1,
  .video-upload-title-row,
  .video-upload-status,
  .video-upload-actions,
  .video-description-field textarea {
    grid-column: 1;
  }
  .video-upload-title-row {
    align-items: flex-start;
    flex-direction: column;
  }
  .video-upload-form label {
    grid-template-columns: 1fr;
    gap: 8px;
  }
  .video-upload-field {
    grid-template-columns: 1fr;
    gap: 8px;
  }
  .video-upload-form label > span {
    padding-top: 0;
  }
  .video-upload-field > span {
    padding-top: 0;
  }
  .video-cover-field em,
  .video-file-field em {
    width: 100%;
    max-width: 240px;
  }
  .video-cover-field input,
  .video-file-field input {
    grid-column: 1;
    max-width: 100%;
  }
  .video-upload-status,
  .video-upload-actions {
    padding-left: 0;
  }
  .video-my-head {
    grid-template-columns: 1fr;
  }
  .video-my-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .video-grid { grid-template-columns: 1fr; }
  .video-my-grid { grid-template-columns: 1fr; }
  .video-studio-header {
    gap: 12px;
    padding: 0 14px;
  }
  .video-studio-brand {
    font-size: 19px;
  }
}

body.app-home-body {
  background: #f6f2ea;
  color: #1f1c17;
  padding-bottom: calc(78px + env(safe-area-inset-bottom));
}

body.app-home-body::before {
  display: none;
}

.app-home {
  min-height: 100vh;
  background: linear-gradient(180deg, rgba(255, 255, 255, .8), #f6f2ea 36%, #fff 100%);
}

.app-hero {
  position: relative;
  min-height: 244px;
  padding: calc(22px + env(safe-area-inset-top)) 18px 0;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .76), rgba(255, 255, 255, .9) 58%, rgba(246, 242, 234, .98)),
    url("assets/home-hero-bg.png") center 18% / cover no-repeat;
}

.app-topbar {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 42px 1fr 44px 42px;
  align-items: center;
  gap: 12px;
}

.app-topbar strong {
  font-size: 26px;
  font-weight: 800;
  letter-spacing: 0;
}

.app-icon-button,
.app-search,
.app-avatar {
  width: 42px;
  height: 42px;
  display: inline-grid;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, .64);
  color: #1f1c17;
  box-shadow: 0 10px 22px rgba(56, 39, 14, .1);
  text-decoration: none;
}

.app-icon-button {
  gap: 4px;
  padding: 0;
}

.app-icon-button span {
  width: 24px;
  height: 3px;
  border-radius: 3px;
  background: currentColor;
}

.app-avatar {
  font-size: 11px;
  font-weight: 900;
  color: #fff;
  background: #8d1f2c;
}

.app-search::before {
  content: "";
  width: 18px;
  height: 18px;
  border: 4px solid currentColor;
  border-radius: 50%;
}

.app-search::after {
  content: "";
  width: 13px;
  height: 4px;
  margin: 20px 0 0 -8px;
  border-radius: 4px;
  background: currentColor;
  transform: rotate(45deg);
}

.app-tool-strip {
  position: relative;
  z-index: 1;
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 82px;
  gap: 14px;
  margin: 62px -18px 0;
  padding: 0 18px 22px;
  overflow-x: auto;
  scrollbar-width: none;
}

.app-tool-strip::-webkit-scrollbar,
.app-news-tabs::-webkit-scrollbar {
  display: none;
}

.app-tool-strip a {
  display: grid;
  justify-items: center;
  gap: 8px;
  color: #7c746c;
  text-decoration: none;
}

.app-tool-strip b {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  color: #9b3a1f;
  font-size: 17px;
  font-weight: 900;
  background: rgba(255, 241, 200, .78);
  border: 1px solid rgba(210, 157, 68, .36);
  box-shadow: 0 12px 24px rgba(134, 78, 19, .12);
}

.app-tool-strip span {
  font-size: 14px;
  font-weight: 700;
}

.app-news-shell {
  position: relative;
  z-index: 2;
  margin-top: -22px;
  padding: 20px 16px 18px;
  border-radius: 24px 24px 0 0;
  background: #fff;
  box-shadow: 0 -10px 28px rgba(60, 42, 18, .08);
}

.app-news-tabs {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: max-content;
  align-items: center;
  gap: 28px;
  overflow-x: auto;
  padding: 0 2px 16px;
  scrollbar-width: none;
}

.app-news-tabs button {
  position: relative;
  border: 0;
  background: transparent;
  color: #958c83;
  font: inherit;
  font-size: 21px;
  font-weight: 800;
  padding: 8px 0;
}

.app-news-tabs button.is-active {
  color: #191611;
}

.app-news-tabs button.is-active::after {
  content: "";
  position: absolute;
  left: 12%;
  right: 12%;
  bottom: 4px;
  height: 4px;
  border-radius: 4px;
  background: #e75036;
}

.app-news-feed {
  display: none;
  gap: 14px;
}

.app-news-feed.is-active {
  display: grid;
}

.app-feed-card {
  border-bottom: 1px solid #eee8df;
  padding: 14px 0 18px;
}

.app-feed-card a {
  display: grid;
  gap: 8px;
  color: inherit;
  text-decoration: none;
}

.app-feed-card span {
  width: max-content;
  border-radius: 999px;
  padding: 4px 9px;
  color: #b23b26;
  background: #fff2df;
  font-size: 12px;
  font-weight: 900;
}

.app-feed-card h2 {
  margin: 0;
  font-size: 21px;
  line-height: 1.35;
  color: #211a13;
  letter-spacing: 0;
}

.app-feed-card p {
  margin: 0;
  color: #4d453c;
  font-size: 16px;
  line-height: 1.55;
}

.app-feed-card small {
  color: #9a9085;
  font-size: 13px;
  font-weight: 700;
}

.app-feed-featured {
  padding-top: 4px;
}

.app-feed-featured img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 14px 30px rgba(43, 28, 15, .16);
}

.app-bottom-nav {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding: 8px 8px calc(8px + env(safe-area-inset-bottom));
  background: rgba(255, 255, 255, .96);
  border-top: 1px solid #eee7dd;
  box-shadow: 0 -8px 24px rgba(52, 38, 17, .08);
}

.app-bottom-nav a {
  min-height: 52px;
  display: grid;
  place-items: center;
  color: #7f776e;
  text-decoration: none;
  font-size: 15px;
  font-weight: 800;
}

.app-bottom-nav a::before {
  content: "";
  width: 24px;
  height: 24px;
  border-radius: 9px;
  background: #d4d0c9;
}

.app-bottom-nav a.is-active {
  color: #d92f35;
}

.app-bottom-nav a.is-active::before {
  background: #d92f35;
}

.app-drawer-backdrop {
  position: fixed;
  inset: 0;
  z-index: 39;
  background: rgba(0, 0, 0, .42);
}

.app-drawer {
  position: fixed;
  inset: 0 auto 0 0;
  z-index: 40;
  width: min(82vw, 354px);
  padding: calc(28px + env(safe-area-inset-top)) 28px 28px;
  background:
    linear-gradient(135deg, rgba(245, 245, 245, .94), rgba(255, 255, 255, .98)),
    radial-gradient(circle at 70% 12%, rgba(210, 210, 210, .35), transparent 35%);
  color: #151515;
  border-radius: 0 30px 30px 0;
  box-shadow: 18px 0 42px rgba(0, 0, 0, .18);
}

.app-drawer:not([hidden]) {
  display: grid;
  align-content: start;
  gap: 22px;
}

.app-drawer-close {
  position: relative;
  justify-self: end;
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 50%;
  background: rgba(0, 0, 0, .05);
}

.app-drawer-close::before,
.app-drawer-close::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 20px;
  height: 3px;
  margin: -1px 0 0 -10px;
  background: #333;
}

.app-drawer-close::before {
  transform: rotate(45deg);
}

.app-drawer-close::after {
  transform: rotate(-45deg);
}

.app-drawer-profile {
  display: grid;
  justify-items: center;
  gap: 12px;
  padding: 4px 0 20px;
}

.app-drawer-avatar {
  width: 92px;
  height: 92px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background:
    linear-gradient(135deg, #2f2a26, #9a2f2b),
    url("assets/home-hero-bg.png") center / cover;
  color: #fff;
  font-size: 34px;
  font-weight: 900;
  box-shadow: 0 14px 28px rgba(0, 0, 0, .16);
}

.app-drawer-profile h2 {
  margin: 0;
  color: #171717;
  font-size: 24px;
  font-weight: 900;
}

.app-drawer-profile p {
  width: 100%;
  display: flex;
  justify-content: space-between;
  margin: 2px 0 0;
  color: #9a9a9a;
  font-size: 13px;
}

.app-drawer-profile p b {
  color: #777;
  font-weight: 700;
}

.app-drawer-progress {
  width: 100%;
  height: 10px;
  overflow: hidden;
  border-radius: 999px;
  background: #dddde1;
}

.app-drawer-progress i {
  display: block;
  width: 8%;
  height: 100%;
  border-radius: inherit;
  background: #202020;
}

.app-drawer-stats {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  padding-top: 10px;
}

.app-drawer-stats strong {
  display: grid;
  gap: 5px;
  justify-items: center;
  color: #171717;
  font-size: 28px;
  line-height: 1;
  border-right: 1px solid #efefef;
}

.app-drawer-stats strong:last-child {
  border-right: 0;
}

.app-drawer-stats small {
  color: #8d8d8d;
  font-size: 13px;
  font-weight: 700;
}

.app-drawer-menu {
  display: grid;
  gap: 22px;
  padding-top: 16px;
}

.app-drawer-menu a {
  display: grid;
  grid-template-columns: 42px 1fr;
  align-items: center;
  gap: 18px;
  color: #1b1b1b;
  text-decoration: none;
}

.app-drawer-menu span {
  width: 34px;
  height: 34px;
  display: block;
  border-radius: 10px;
  background: #444;
  mask: linear-gradient(#000 0 0);
}

.app-drawer-menu b {
  font-size: 22px;
  font-weight: 900;
  letter-spacing: 0;
}

.app-drawer-settings {
  align-self: end;
  justify-self: start;
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  margin-top: 16px;
  border-radius: 50%;
  background: #f4f5f7;
  box-shadow: 0 8px 22px rgba(24, 28, 36, .1);
}

.app-drawer-settings i {
  position: relative;
  width: 16px;
  height: 16px;
  border: 2px solid #404652;
  border-radius: 50%;
}

.app-drawer-settings i::before {
  content: "";
  position: absolute;
  inset: -5px;
  border: 2px dashed #404652;
  border-radius: 50%;
  opacity: .72;
}

@media (min-width: 760px) {
  body.app-home-body {
    background: #ece5d8;
  }

  .app-home {
    width: min(480px, 100%);
    margin: 0 auto;
    box-shadow: 0 0 48px rgba(49, 33, 12, .14);
  }

  .app-bottom-nav {
    left: 50%;
    right: auto;
    width: min(480px, 100%);
    transform: translateX(-50%);
  }
}

body.act4-app-shell {
  background: #f5f1ea;
  color: #211b14;
  padding: calc(66px + env(safe-area-inset-top)) 0 calc(82px + env(safe-area-inset-bottom));
}

body.act4-app-shell::before,
body.act4-app-shell .site-header,
body.act4-app-shell .site-footer {
  display: none !important;
}

body.act4-app-shell main {
  width: min(480px, 100%);
  margin: 0 auto;
  padding: 0 14px 18px;
}

.act4-app-topbar {
  position: fixed;
  inset: 0 0 auto;
  z-index: 80;
  display: grid;
  grid-template-columns: 42px 1fr 42px;
  align-items: center;
  gap: 8px;
  min-height: calc(58px + env(safe-area-inset-top));
  padding: calc(8px + env(safe-area-inset-top)) 12px 8px;
  background: rgba(255, 255, 255, .96);
  border-bottom: 1px solid #eee7dd;
  box-shadow: 0 8px 22px rgba(56, 39, 14, .08);
}

.act4-app-topbar strong {
  min-width: 0;
  color: #1f1a13;
  font-size: 18px;
  font-weight: 900;
  text-align: center;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.act4-app-topbar button,
.act4-app-topbar a {
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 50%;
  background: #f4efe6;
  position: relative;
}

.act4-app-topbar button::before {
  content: "";
  position: absolute;
  left: 17px;
  top: 14px;
  width: 12px;
  height: 12px;
  border-left: 3px solid #211b14;
  border-bottom: 3px solid #211b14;
  transform: rotate(45deg);
}

.act4-app-topbar a::before {
  content: "";
  position: absolute;
  left: 13px;
  top: 10px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #8d1f2c;
  box-shadow: 0 16px 0 -4px #8d1f2c;
}

.act4-app-bottom-nav {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 80;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding: 8px 8px calc(8px + env(safe-area-inset-bottom));
  background: rgba(255, 255, 255, .96);
  border-top: 1px solid #eee7dd;
  box-shadow: 0 -8px 24px rgba(52, 38, 17, .08);
}

.act4-app-bottom-nav a {
  min-height: 52px;
  display: grid;
  place-items: center;
  gap: 3px;
  color: #7f776e;
  text-decoration: none;
  font-size: 14px;
  font-weight: 800;
}

.act4-app-bottom-nav span {
  width: 24px;
  height: 24px;
  border-radius: 9px;
  background: #d4d0c9;
}

.act4-app-bottom-nav a:first-child {
  color: #d92f35;
}

.act4-app-bottom-nav a:first-child span {
  background: #d92f35;
}

body.act4-app-shell .hero,
body.act4-app-shell .sub-hero {
  min-height: auto;
  margin: 0 0 12px;
  padding: 22px 16px;
  border-radius: 12px;
  background:
    linear-gradient(135deg, rgba(255,255,255,.82), rgba(255,246,224,.94)),
    url("assets/home-hero-bg.png") center / cover no-repeat;
  color: #211b14;
  box-shadow: 0 12px 26px rgba(58, 42, 18, .1);
}

body.act4-app-shell .hero h1,
body.act4-app-shell .sub-hero h1 {
  color: #211b14;
  font-size: 26px;
  letter-spacing: 0;
}

body.act4-app-shell .content-hub,
body.act4-app-shell .article-panel,
body.act4-app-shell .shop-page,
body.act4-app-shell .account-page,
body.act4-app-shell .group-card,
body.act4-app-shell .news-panel,
body.act4-app-shell .portal-grid,
body.act4-app-shell .hub-grid,
body.act4-app-shell .shop-cart-panel {
  width: 100%;
  margin: 12px 0;
  border-radius: 12px;
  background: #fff;
  color: #211b14;
  border: 1px solid #eee7dd;
  box-shadow: 0 10px 24px rgba(58, 42, 18, .08);
}

body.act4-app-shell .content-hub,
body.act4-app-shell .article-panel,
body.act4-app-shell .shop-page,
body.act4-app-shell .account-page {
  padding: 16px;
}

body.act4-app-shell .quick-entry,
body.act4-app-shell .hub-grid,
body.act4-app-shell .shop-grid,
body.act4-app-shell .group-grid,
body.act4-app-shell .portal-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

body.act4-app-shell .btn,
body.act4-app-shell button {
  border-radius: 8px;
}

body.act4-app-shell input,
body.act4-app-shell select,
body.act4-app-shell textarea {
  max-width: 100%;
  border-radius: 8px;
}

body.act4-app-shell img {
  max-width: 100%;
  height: auto;
}

@media (min-width: 760px) {
  body.act4-app-shell {
    background: #ece5d8;
  }

  .act4-app-topbar,
  .act4-app-bottom-nav {
    left: 50%;
    right: auto;
    width: min(480px, 100%);
    transform: translateX(-50%);
  }

  body.act4-app-shell main {
    box-shadow: 0 0 48px rgba(49, 33, 12, .12);
    background: #f5f1ea;
  }
}

body.app-screen-body {
  background: #f5f1ea;
  color: #211b14;
  padding: calc(64px + env(safe-area-inset-top)) 0 calc(82px + env(safe-area-inset-bottom));
}

body.app-screen-body::before {
  display: none;
}

.app-screen {
  width: min(480px, 100%);
  margin: 0 auto;
  padding: 14px;
}

.app-screen-top {
  position: fixed;
  inset: 0 0 auto;
  z-index: 80;
  display: grid;
  grid-template-columns: 42px 1fr 42px;
  align-items: center;
  min-height: calc(58px + env(safe-area-inset-top));
  padding: calc(8px + env(safe-area-inset-top)) 12px 8px;
  background: rgba(255, 255, 255, .96);
  border-bottom: 1px solid #eee7dd;
  box-shadow: 0 8px 22px rgba(56, 39, 14, .08);
}

.app-screen-top strong {
  min-width: 0;
  overflow: hidden;
  color: #1f1a13;
  font-size: 18px;
  font-weight: 900;
  text-align: center;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.app-screen-top a,
.app-screen-top span {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #f4efe6;
  position: relative;
}

.app-screen-top a::before {
  content: "";
  position: absolute;
  left: 17px;
  top: 14px;
  width: 12px;
  height: 12px;
  border-left: 3px solid #211b14;
  border-bottom: 3px solid #211b14;
  transform: rotate(45deg);
}

.app-panel,
.app-profile-card,
.app-search-panel {
  margin: 12px 0;
  padding: 16px;
  border: 1px solid #eee7dd;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 10px 24px rgba(58, 42, 18, .08);
}

.app-gradient-panel {
  background:
    linear-gradient(135deg, rgba(255,255,255,.86), rgba(255,239,202,.96)),
    url("assets/home-hero-bg.png") center / cover no-repeat;
}

.app-panel > span,
.app-gradient-panel > span {
  display: block;
  color: #b23b26;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .08em;
}

.app-panel h1,
.app-panel h2,
.app-gradient-panel h1 {
  margin: 4px 0 8px;
  color: #211b14;
  letter-spacing: 0;
}

.app-panel p,
.app-gradient-panel p,
.app-muted {
  margin: 0;
  color: #74695f;
}

.app-tool-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 12px 0;
}

.app-tool-grid a {
  min-height: 96px;
  display: grid;
  align-content: center;
  gap: 4px;
  padding: 16px;
  border-radius: 12px;
  background: #fff;
  color: #211b14;
  border: 1px solid #eee7dd;
  box-shadow: 0 10px 24px rgba(58, 42, 18, .08);
  text-decoration: none;
}

.app-tool-grid b {
  font-size: 20px;
  letter-spacing: 0;
}

.app-tool-grid span {
  color: #80756a;
  font-size: 13px;
}

.app-tool-grid-small a {
  min-height: 82px;
}

.app-list {
  display: grid;
  gap: 10px;
}

.app-list-row,
.app-result-row {
  display: grid;
  gap: 4px;
  padding: 13px 0;
  color: #211b14;
  border-bottom: 1px solid #eee7dd;
  text-decoration: none;
}

.app-list-row:last-child,
.app-result-row:last-child {
  border-bottom: 0;
}

.app-list-row b,
.app-result-row b {
  font-size: 17px;
}

.app-list-row span,
.app-result-row span {
  color: #80756a;
  font-size: 13px;
}

.app-profile-card {
  display: grid;
  grid-template-columns: 58px 1fr;
  align-items: center;
  gap: 14px;
}

.app-profile-avatar {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  color: #fff;
  background: #8d1f2c;
  font-weight: 900;
}

.app-profile-card h1 {
  margin: 0 0 4px;
  color: #211b14;
}

.app-profile-card p {
  margin: 0;
  color: #80756a;
}

.app-search-panel {
  display: grid;
  grid-template-columns: 1fr 76px;
  gap: 10px;
}

.app-search-panel input {
  min-width: 0;
  border: 1px solid #e3d8c9;
  border-radius: 10px;
  background: #fbf8f2;
  color: #211b14;
  padding: 12px;
}

.app-search-panel button {
  border: 0;
  border-radius: 10px;
  color: #fff;
  background: #d92f35;
  font-weight: 900;
}

.app-result-row {
  grid-template-columns: 44px 1fr;
  align-items: center;
}

.app-result-row img,
.app-result-icon {
  width: 38px;
  height: 38px;
  border-radius: 8px;
  object-fit: contain;
  background: #f4efe6;
}

@media (min-width: 760px) {
  body.app-screen-body {
    background: #ece5d8;
  }

  .app-screen,
  .app-screen-top,
  body.app-screen-body .app-bottom-nav {
    left: 50%;
    right: auto;
    width: min(480px, 100%);
  }

  .app-screen-top,
  body.app-screen-body .app-bottom-nav {
    transform: translateX(-50%);
  }

  .app-screen {
    box-shadow: 0 0 48px rgba(49, 33, 12, .12);
    background: #f5f1ea;
  }
}

/* ACT4 Assistant final mobile polish: white, compact, app-like. */
body.app-home-body,
body.app-screen-body,
body.act4-app-shell {
  --text: #211b14;
  --muted: #776d62;
  --panel: #fff;
  --panel-2: #fff;
  --line: #eee7dd;
  --gold: #d7a548;
  --gold-2: #e8bd69;
  --red: #d92f35;
  --red-2: #ef5b45;
  --shadow: 0 8px 20px rgba(58, 42, 18, .07);
  font-size: 14px;
}

body.app-home-body h1,
body.app-screen-body h1,
body.act4-app-shell h1 {
  font-size: 22px !important;
  line-height: 1.25;
  letter-spacing: 0 !important;
}

body.app-home-body h2,
body.app-screen-body h2,
body.act4-app-shell h2 {
  font-size: 17px !important;
  line-height: 1.35;
  letter-spacing: 0 !important;
}

body.app-home-body h3,
body.app-screen-body h3,
body.act4-app-shell h3 {
  font-size: 15px !important;
  line-height: 1.35;
  letter-spacing: 0 !important;
}

body.app-home-body p,
body.app-screen-body p,
body.act4-app-shell p,
body.app-home-body li,
body.app-screen-body li,
body.act4-app-shell li {
  font-size: 14px;
  line-height: 1.5;
}

body.app-home-body .app-hero {
  min-height: 202px;
  padding-left: 14px;
  padding-right: 14px;
}

body.app-home-body .app-topbar {
  grid-template-columns: 36px 1fr 36px 36px;
  gap: 8px;
}

body.app-home-body .app-topbar strong {
  font-size: 22px;
}

body.app-home-body .app-icon-button,
body.app-home-body .app-search,
body.app-home-body .app-avatar {
  width: 36px;
  height: 36px;
}

body.app-home-body .app-tool-strip {
  grid-auto-columns: 68px;
  gap: 10px;
  margin-top: 46px;
  padding-bottom: 18px;
}

body.app-home-body .app-tool-strip b {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  font-size: 15px;
}

body.app-home-body .app-tool-strip span {
  font-size: 12px;
}

body.app-home-body .app-news-shell {
  padding: 14px 12px 12px;
  border-radius: 18px 18px 0 0;
}

body.app-home-body .app-news-tabs {
  gap: 22px;
  padding-bottom: 10px;
}

body.app-home-body .app-news-tabs button {
  font-size: 18px;
  padding: 6px 0;
}

body.app-home-body .app-feed-card {
  padding: 10px 0 13px;
}

body.app-home-body .app-feed-card h2 {
  font-size: 18px;
}

body.app-home-body .app-feed-card p {
  font-size: 14px;
}

body.app-home-body .app-feed-featured img {
  border-radius: 10px;
}

body.app-screen-body .app-screen {
  padding: 10px;
}

body.app-screen-body .app-screen-top,
body.act4-app-shell .act4-app-topbar {
  grid-template-columns: 36px 1fr 36px;
  min-height: calc(52px + env(safe-area-inset-top));
  padding-left: 10px;
  padding-right: 10px;
}

body.app-screen-body .app-screen-top a,
body.app-screen-body .app-screen-top span,
body.act4-app-shell .act4-app-topbar button,
body.act4-app-shell .act4-app-topbar a {
  width: 36px;
  height: 36px;
}

body.app-screen-body .app-screen-top strong,
body.act4-app-shell .act4-app-topbar strong {
  font-size: 16px;
}

body.app-screen-body .app-panel,
body.app-screen-body .app-profile-card,
body.app-screen-body .app-search-panel,
body.act4-app-shell .content-hub,
body.act4-app-shell .article-panel,
body.act4-app-shell .shop-page,
body.act4-app-shell .account-page,
body.act4-app-shell .group-card,
body.act4-app-shell .news-panel,
body.act4-app-shell .portal-grid,
body.act4-app-shell .hub-grid,
body.act4-app-shell .shop-cart-panel,
body.act4-app-shell .shop-product,
body.act4-app-shell .account-panel,
body.act4-app-shell .account-password-panel {
  margin: 8px 0 !important;
  padding: 12px !important;
  border-radius: 10px !important;
  color: #211b14 !important;
  background: #fff !important;
  border-color: #eee7dd !important;
  box-shadow: 0 8px 18px rgba(58, 42, 18, .06) !important;
}

body.act4-app-shell .sub-hero,
body.act4-app-shell .hero {
  margin: 0 0 8px !important;
  padding: 16px 12px !important;
  border-radius: 10px !important;
  color: #211b14 !important;
}

body.act4-app-shell .eyebrow,
body.app-screen-body .app-panel > span,
body.app-screen-body .app-gradient-panel > span {
  color: #c84a32 !important;
  font-size: 11px !important;
}

body.app-screen-body .app-tool-grid {
  gap: 8px;
  margin: 8px 0;
}

body.app-screen-body .app-tool-grid a {
  min-height: 74px;
  padding: 12px;
  border-radius: 10px;
}

body.app-screen-body .app-tool-grid b {
  font-size: 17px;
}

body.app-screen-body .app-tool-grid span {
  font-size: 12px;
}

body.app-screen-body .app-profile-card {
  grid-template-columns: 48px 1fr;
  gap: 10px;
}

body.app-screen-body .app-profile-avatar {
  width: 48px;
  height: 48px;
  border-radius: 14px;
}

body.app-screen-body .app-search-panel {
  grid-template-columns: 1fr 64px;
  gap: 8px;
}

body.app-screen-body .app-search-panel input,
body.app-screen-body .app-search-panel button,
body.act4-app-shell input,
body.act4-app-shell select,
body.act4-app-shell textarea,
body.act4-app-shell .btn,
body.act4-app-shell button {
  min-height: 38px !important;
  padding: 8px 10px !important;
  border-radius: 8px !important;
  font-size: 14px !important;
}

body.act4-app-shell .btn.primary,
body.app-screen-body .app-search-panel button {
  background: #d92f35 !important;
  color: #fff !important;
}

body.act4-app-shell .btn.secondary,
body.act4-app-shell .btn.dark {
  background: #f5f1ea !important;
  color: #211b14 !important;
  border: 1px solid #e5dccf !important;
}

body.act4-app-shell .shop-product h2,
body.act4-app-shell .account-panel h2,
body.act4-app-shell .article-panel h2 {
  color: #211b14 !important;
}

body.act4-app-shell .shop-product p,
body.act4-app-shell .shop-product span,
body.act4-app-shell .shop-product dt,
body.act4-app-shell .account-status,
body.act4-app-shell .account-empty,
body.act4-app-shell .article-panel p,
body.act4-app-shell .article-panel li {
  color: #74695f !important;
}

body.act4-app-shell .shop-grid,
body.act4-app-shell .account-form,
body.act4-app-shell .account-summary-grid,
body.act4-app-shell .group-grid {
  gap: 8px !important;
}

body.app-home-body .app-bottom-nav,
body.app-screen-body .app-bottom-nav,
body.act4-app-shell .act4-app-bottom-nav {
  padding-top: 6px;
}

body.app-home-body .app-bottom-nav a,
body.app-screen-body .app-bottom-nav a,
body.act4-app-shell .act4-app-bottom-nav a {
  min-height: 46px;
  font-size: 12px;
}

body.app-home-body .app-bottom-nav a::before,
body.app-screen-body .app-bottom-nav a::before,
body.act4-app-shell .act4-app-bottom-nav span {
  width: 20px;
  height: 20px;
  border-radius: 7px;
}

body.app-home-body .account-modal-panel,
body.app-screen-body .account-modal-panel,
body.act4-app-shell .account-modal-panel {
  width: min(92vw, 380px) !important;
  padding: 18px !important;
  border-radius: 12px !important;
  background: #fff !important;
  color: #211b14 !important;
  border: 1px solid #eee7dd !important;
  box-shadow: 0 18px 48px rgba(58, 42, 18, .18) !important;
}

body.app-home-body .account-modal h2,
body.app-screen-body .account-modal h2,
body.act4-app-shell .account-modal h2 {
  color: #211b14 !important;
  font-size: 19px !important;
}

body.app-home-body .account-modal-form,
body.app-screen-body .account-modal-form,
body.act4-app-shell .account-modal-form {
  gap: 10px !important;
}

body.app-home-body .account-modal-form label,
body.app-screen-body .account-modal-form label,
body.act4-app-shell .account-modal-form label {
  color: #74695f !important;
  font-size: 13px !important;
}

body.app-home-body .account-modal-form input,
body.app-screen-body .account-modal-form input,
body.act4-app-shell .account-modal-form input {
  background: #fbf8f2 !important;
  color: #211b14 !important;
  border-color: #e3d8c9 !important;
}

body.app-home-body .account-modal-close,
body.app-screen-body .account-modal-close,
body.act4-app-shell .account-modal-close {
  background: #f5f1ea !important;
  color: #211b14 !important;
}

/* Native-style drawer, compact tabs and character equipment stage for the APK shell. */
.app-drawer:not([hidden]) {
  animation: appDrawerIn .18s ease-out both;
}

@keyframes appDrawerIn {
  from { transform: translateX(-18px); opacity: .55; }
  to { transform: translateX(0); opacity: 1; }
}

.app-drawer-login {
  display: grid;
  justify-items: center;
  gap: 8px;
  width: 100%;
  border: 0;
  background: transparent;
  color: inherit;
}

.app-drawer-login strong {
  color: #171717;
  font-size: 23px;
  line-height: 1.2;
  font-weight: 900;
}

.app-drawer-login em {
  color: #8d8d8d;
  font-size: 13px;
  line-height: 1.3;
  font-style: normal;
  font-weight: 700;
}

.app-drawer-menu span {
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: #f0f0f0;
  color: #333;
  mask: none;
}

.app-drawer-menu span::before {
  content: "";
  width: 17px;
  height: 17px;
  border: 3px solid currentColor;
  border-radius: 5px;
}

body.app-home-body .app-news-tabs {
  gap: 18px;
  padding: 0 0 8px;
}

body.app-home-body .app-news-tabs button {
  font-size: 16px;
  line-height: 1.2;
  padding: 4px 0 7px;
  font-weight: 800;
}

body.app-home-body .app-news-tabs button.is-active::after {
  left: 24%;
  right: 24%;
  bottom: 1px;
  height: 3px;
}

body.app-screen-body .app-login-cta {
  width: 100%;
  min-height: 42px;
  margin: 0 0 8px;
  border: 0;
  border-radius: 10px;
  background: #d92f35;
  color: #fff;
  font-weight: 900;
}

body.app-screen-body .app-list-button {
  width: 100%;
  border: 0;
  background: transparent;
  text-align: left;
}

.app-character-stage {
  position: relative;
  overflow: hidden;
  margin: 10px 0 12px;
  padding: 16px 10px 18px;
  border-radius: 16px;
  background:
    linear-gradient(180deg, rgba(40, 55, 70, .24), rgba(7, 11, 18, .94) 32%),
    url("assets/home-hero-bg.png") center top / cover no-repeat;
  color: #fff;
  box-shadow: 0 14px 30px rgba(32, 24, 16, .16);
}

.app-stage-name {
  position: relative;
  z-index: 2;
  display: grid;
  justify-items: center;
  gap: 4px;
  width: min(260px, 82%);
  margin: 0 auto 10px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(15, 25, 35, .62);
  text-align: center;
  backdrop-filter: blur(8px);
}

.app-stage-name strong {
  font-size: 17px;
  line-height: 1.2;
}

.app-stage-name span {
  color: rgba(255, 255, 255, .82);
  font-size: 12px;
}

.app-stage-layout {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr) 46px;
  gap: 8px;
  min-height: 260px;
  align-items: center;
}

.app-equip-column {
  display: grid;
  gap: 9px;
  justify-items: center;
}

.app-equip-slot {
  position: relative;
  width: 46px;
  height: 46px;
  padding: 0;
  border: 1px solid rgba(196, 164, 98, .45);
  border-radius: 5px;
  background:
    linear-gradient(180deg, rgba(78, 104, 144, .16), rgba(8, 12, 18, .14)),
    linear-gradient(180deg, rgba(13, 19, 31, .96), rgba(8, 11, 18, .98));
  box-shadow:
    inset 0 0 0 1px rgba(12, 17, 26, .9),
    inset 0 10px 14px rgba(114, 154, 220, .08),
    0 6px 12px rgba(0, 0, 0, .2);
}

.app-equip-slot img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: inherit;
  image-rendering: pixelated;
  filter: saturate(1.06) contrast(1.02);
}

.app-equip-slot span {
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  color: rgba(255, 255, 255, .62);
  font-size: 15px;
  font-weight: 900;
}

.app-equip-slot em {
  position: absolute;
  left: 2px;
  top: -2px;
  transform: none;
  padding: 0;
  background: transparent;
  color: #7ff4ff;
  font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
  font-size: 14px;
  line-height: 1;
  letter-spacing: 0;
  font-style: normal;
  font-weight: 900;
  text-align: left;
  pointer-events: none;
  text-shadow:
    -1px -1px 0 #53005a,
    1px -1px 0 #53005a,
    -1px 1px 0 #53005a,
    1px 1px 0 #53005a,
    0 1px 0 #2b0033,
    0 0 6px rgba(210, 61, 255, .68),
    0 0 10px rgba(127, 244, 255, .34);
}

.app-character-figure {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 250px;
}

.app-character-figure::before {
  content: "";
  position: absolute;
  inset: auto 16% 18px;
  height: 36px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(87, 165, 255, .34), rgba(0, 0, 0, .1) 66%, transparent 70%);
}

.app-character-silhouette {
  position: relative;
  width: 116px;
  height: 196px;
  border-radius: 56px 56px 28px 28px;
  background:
    radial-gradient(circle at 50% 18%, #f4d6b4 0 16px, transparent 17px),
    linear-gradient(105deg, transparent 0 28%, #d8e9ff 29% 34%, transparent 35%),
    linear-gradient(180deg, #272f46 20%, #405d86 58%, #1b2334 100%);
  box-shadow: 0 18px 36px rgba(0, 0, 0, .34);
}

.app-fame-block {
  display: grid;
  justify-items: center;
  gap: 2px;
  margin-top: -4px;
}

.app-fame-block span {
  color: rgba(255, 255, 255, .88);
  font-size: 14px;
  font-weight: 900;
}

.app-fame-block strong {
  font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
  font-size: 52px;
  line-height: 1;
  letter-spacing: 0;
  font-style: italic;
  background: linear-gradient(180deg, #ffffff 0%, #eef7ff 24%, #cfe5ff 55%, #89c4ff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 3px 0 rgba(8, 12, 18, .54), 0 0 16px rgba(113, 188, 255, .22);
}

.app-stage-tabs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin: 14px 14px 16px;
  overflow: hidden;
  border-radius: 9px;
  background: rgba(255, 255, 255, .12);
}

.app-stage-tabs button {
  min-height: 34px;
  border: 0;
  background: transparent;
  color: rgba(255, 255, 255, .62);
  font-size: 13px;
  font-weight: 900;
}

.app-stage-tabs button.is-active {
  background: #050505;
  color: #fff;
}

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

.app-stage-actions a,
.app-stage-actions button {
  display: grid;
  justify-items: center;
  gap: 6px;
  border: 0;
  background: transparent;
  color: #fff;
  font-size: 12px;
  font-weight: 900;
  text-align: center;
  text-decoration: none;
}

.app-stage-actions a::before,
.app-stage-actions button::before {
  content: "";
  width: 24px;
  height: 24px;
  border: 3px solid currentColor;
  border-radius: 9px;
  opacity: .92;
}

.app-dict-tabs {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
  margin: 8px 0;
  padding: 4px;
  border-radius: 12px;
  background: #eee7dd;
}

.app-dict-tabs button {
  min-height: 36px;
  border: 0;
  border-radius: 9px;
  background: transparent;
  color: #776d62;
  font-size: 14px;
  font-weight: 900;
}

.app-dict-tabs button.is-active {
  background: #fff;
  color: #211b14;
  box-shadow: 0 6px 14px rgba(58, 42, 18, .08);
}

.app-dict-row {
  align-items: start;
}

.app-dict-row small,
.app-dict-row em {
  display: block;
  margin-top: 3px;
  color: #9a9085;
  font-size: 12px;
  line-height: 1.35;
  font-style: normal;
  overflow-wrap: anywhere;
}

.app-dict-row small {
  color: #5f554c;
}

/* 2026 APK native refresh: clean, compact, modern mobile surfaces. */
body.app-home-body {
  background:
    radial-gradient(circle at 18% 8%, rgba(229, 57, 53, .08), transparent 28%),
    radial-gradient(circle at 92% 34%, rgba(255, 107, 107, .055), transparent 24%),
    #f8f6f7;
}

body.app-home-body .app-home {
  background:
    radial-gradient(circle at 8% 20%, rgba(229, 57, 53, .055), transparent 28%),
    linear-gradient(180deg, #fbf7f8 0, #fff 42%, #f8f6f7 100%);
}

body.app-home-body .app-hero {
  min-height: 360px;
  padding: calc(18px + env(safe-area-inset-top)) 16px 0;
  background:
    radial-gradient(circle at 84% 10%, rgba(229, 57, 53, .08), transparent 30%),
    linear-gradient(180deg, rgba(255,255,255,.92), rgba(250,247,248,.96) 58%, #f8f6f7),
    #f8f6f7;
}

body.app-home-body .app-topbar {
  grid-template-columns: 38px minmax(88px, auto) minmax(0, 1fr);
  gap: 10px;
}

body.app-home-body .app-topbar strong {
  font-size: 22px;
  white-space: nowrap;
}

.app-rare-hero {
  position: relative;
  z-index: 1;
  display: grid;
  align-content: end;
  min-height: 198px;
  margin-top: 18px;
  overflow: hidden;
  padding: 14px;
  border: 1px solid rgba(24, 28, 36, .06);
  border-radius: 22px;
  color: #fff;
  text-decoration: none;
  box-shadow: 0 18px 44px rgba(23, 28, 37, .12);
}

.app-rare-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(0,0,0,0) 42%, rgba(10,12,18,.74) 100%),
    linear-gradient(90deg, rgba(10,12,18,.46), rgba(10,12,18,0) 55%);
}

.app-rare-hero img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.app-rare-hero span,
.app-rare-hero strong,
.app-rare-hero small {
  position: relative;
  z-index: 1;
}

.app-rare-hero span {
  width: max-content;
  padding: 5px 9px;
  border-radius: 999px;
  background: rgba(255,255,255,.18);
  font-size: 11px;
  font-weight: 900;
  backdrop-filter: blur(8px);
}

.app-rare-hero strong {
  margin-top: 7px;
  font-size: 21px;
  line-height: 1.15;
  letter-spacing: 0;
}

.app-rare-hero small {
  display: block;
  max-width: 280px;
  margin-top: 6px;
  color: rgba(255,255,255,.84);
  font-size: 12px;
  line-height: 1.45;
}

.app-global-search {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 32px;
  align-items: center;
  min-width: 0;
  height: 38px;
  padding: 0 4px 0 12px;
  border-radius: 999px;
  background: rgba(255,255,255,.86);
  box-shadow: 0 10px 26px rgba(23, 28, 37, .08);
}

.app-global-search input {
  min-width: 0;
  height: 100%;
  border: 0;
  outline: 0;
  background: transparent;
  color: #191b20;
  font-size: 13px;
}

.app-global-search input::placeholder {
  color: #9aa0aa;
}

.app-global-search button {
  position: relative;
  width: 30px;
  height: 30px;
  border: 0;
  border-radius: 50%;
  background: #171b22;
}

.app-global-search button::before {
  content: "";
  position: absolute;
  left: 8px;
  top: 7px;
  width: 10px;
  height: 10px;
  border: 2px solid #fff;
  border-radius: 50%;
}

.app-global-search button::after {
  content: "";
  position: absolute;
  left: 18px;
  top: 18px;
  width: 8px;
  height: 2px;
  border-radius: 2px;
  background: #fff;
  transform: rotate(45deg);
}

.app-search-results {
  position: absolute;
  z-index: 30;
  left: 0;
  right: 0;
  top: calc(100% + 8px);
  display: grid;
  gap: 4px;
  padding: 8px;
  border: 1px solid rgba(20, 25, 34, .08);
  border-radius: 14px;
  background: rgba(255,255,255,.98);
  box-shadow: 0 18px 42px rgba(23, 28, 37, .16);
}

.app-search-results a,
.app-search-results p {
  display: grid;
  gap: 2px;
  margin: 0;
  padding: 9px 10px;
  border-radius: 10px;
  color: #191b20;
  text-decoration: none;
}

.app-search-results a:active {
  background: #f1f3f7;
}

.app-search-results b {
  font-size: 13px;
}

.app-search-results span,
.app-search-results p {
  color: #747b87;
  font-size: 11px;
}

body.app-home-body .app-tool-strip {
  grid-auto-columns: 72px;
  gap: 14px;
  margin: 16px -4px 0;
  padding: 4px 4px 30px;
}

body.app-home-body .app-tool-strip b {
  width: 50px;
  height: 50px;
  border-radius: 16px;
  color: #d92f35;
  font-size: 15px;
  background: rgba(255,255,255,.9);
  border: 1px solid rgba(24, 28, 36, .06);
  box-shadow: 0 12px 28px rgba(23, 28, 37, .08);
}

body.app-home-body .app-tool-strip .app-quick-icon {
  background: rgba(255,255,255,.96);
  color: #d92f35;
}

body.app-home-body .app-tool-strip svg {
  width: 25px;
  height: 25px;
  display: block;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

body.app-home-body .app-tool-strip span {
  color: #69707c;
  font-size: 12px;
  line-height: 1.2;
  white-space: nowrap;
}

body.app-home-body .app-news-shell {
  margin-top: 8px;
  border-radius: 20px 20px 0 0;
  background: #fff;
}

body.app-home-body .app-news-tabs {
  gap: 18px;
}

body.app-home-body .app-news-tabs button {
  color: #a0a5ad;
  font-size: 15px;
}

body.app-home-body .app-news-tabs button.is-active {
  color: #171b22;
}

body.app-home-body .app-news-tabs button.is-active::after {
  background: linear-gradient(90deg, #ff7a45, #d92f35);
}

body.app-home-body .app-feed-card {
  border: 1px solid rgba(24, 28, 36, .06);
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 14px 34px rgba(23, 28, 37, .07);
}

body.app-home-body .app-activity-feed {
  gap: 0;
}

body.app-home-body .app-activity-row {
  padding: 0;
  border-bottom: 1px solid rgba(24, 28, 36, .06);
}

body.app-home-body .app-activity-row:last-child {
  border-bottom: 0;
}

body.app-home-body .app-activity-row a {
  display: grid;
  grid-template-columns: 108px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  padding: 14px 2px;
  color: inherit;
  text-decoration: none;
}

body.app-home-body .app-activity-row img {
  width: 108px;
  height: 72px;
  display: block;
  border-radius: 14px;
  object-fit: cover;
  box-shadow: 0 8px 20px rgba(23, 28, 37, .08);
}

body.app-home-body .app-activity-copy {
  min-width: 0;
  display: grid;
  gap: 6px;
}

body.app-home-body .app-activity-copy h2 {
  margin: 0;
  color: #181c24;
  font-size: 16px;
  line-height: 1.28;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

body.app-home-body .app-activity-copy p {
  margin: 0;
  color: #737b88;
  font-size: 13px;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

body.app-home-body .app-activity-copy small {
  display: flex;
  align-items: center;
  gap: 14px;
  color: #a0a7b2;
  font-size: 11px;
  font-weight: 700;
}

body.app-home-body .app-activity-copy small span {
  position: relative;
  padding-left: 14px;
  color: inherit;
  background: none;
  border-radius: 0;
  padding-top: 0;
  padding-bottom: 0;
  padding-right: 0;
  font-size: inherit;
  font-weight: inherit;
}

body.app-home-body .app-activity-copy small span::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 8px;
  height: 8px;
  margin-top: -4px;
  border-radius: 50%;
  background: #d6dbe4;
  box-shadow: inset 0 0 0 2px rgba(255,255,255,.92);
}

body.app-screen-body {
  background: #f7f8fb;
}

body.app-screen-body .app-screen {
  background: #f7f8fb;
}

body.app-screen-body .app-screen-top {
  background: rgba(255,255,255,.94);
  border-bottom: 1px solid rgba(24, 28, 36, .06);
  box-shadow: 0 8px 24px rgba(23, 28, 37, .04);
}

body.app-screen-body .app-screen-top a,
body.app-screen-body .app-screen-top span {
  background: #f1f3f7;
}

body.app-screen-body .app-panel,
body.app-screen-body .app-profile-card,
body.app-screen-body .app-search-panel {
  border: 1px solid rgba(24, 28, 36, .06);
  border-radius: 16px !important;
  background: #fff !important;
  box-shadow: 0 12px 30px rgba(23, 28, 37, .07) !important;
}

body.app-screen-body .app-gradient-panel {
  background:
    linear-gradient(135deg, rgba(255,255,255,.92), rgba(246,248,252,.98)),
    url("assets/home-hero-bg.png") center / cover no-repeat !important;
}

body.app-screen-body .app-profile-card {
  grid-template-columns: 48px minmax(0, 1fr) auto;
}

.app-profile-avatar.is-image {
  object-fit: cover;
}

.app-profile-switch {
  display: inline-grid;
  place-items: center;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  border: 0;
  background: #f1f3f7;
  color: #191b20;
  font-size: 12px;
  font-weight: 900;
  text-decoration: none;
  white-space: nowrap;
}

.app-profile-actions {
  display: grid;
  justify-items: end;
  gap: 8px;
}

.app-profile-action {
  display: inline-grid;
  place-items: center;
  min-height: 34px;
  padding: 0 12px;
  border: 0;
  border-radius: 999px;
  background: rgba(217, 47, 53, .08);
  color: #d92f35;
  font-size: 12px;
  font-weight: 900;
  white-space: nowrap;
}

.app-profile-card.is-clickable {
  cursor: pointer;
}

.app-profile-card.is-clickable:active {
  transform: translateY(1px);
}

.app-logout-wide {
  width: 100%;
  min-height: 48px;
  margin: 12px 0 22px;
  border: 0;
  border-radius: 16px;
  background: #fff1f1;
  color: #d92f35;
  font-size: 15px;
  font-weight: 900;
  box-shadow: inset 0 0 0 1px rgba(217, 47, 53, .08);
}

.app-logout-wide:disabled {
  color: #9aa0aa;
  background: #f1f3f7;
}

.app-me-equipment-popover {
  position: fixed;
  z-index: 1400;
  width: min(280px, calc(100vw - 18px));
  padding: 12px;
  border: 1px solid rgba(217, 47, 53, .14);
  border-radius: 14px;
  background: rgba(255,255,255,.98);
  color: #191b20;
  box-shadow: 0 18px 48px rgba(23, 28, 37, .18);
}

.app-me-equipment-popover > button {
  position: absolute;
  right: 8px;
  top: 8px;
  width: 28px;
  height: 28px;
  border: 0;
  border-radius: 50%;
  background: #f1f3f7;
  color: #191b20;
  font-size: 20px;
  line-height: 1;
}

.app-me-equipment-popover strong {
  display: block;
  padding-right: 28px;
  color: #191b20;
  font-size: 15px;
}

.app-me-equipment-popover span,
.app-me-equipment-popover em,
.app-me-equipment-popover p,
.app-me-equipment-popover li {
  color: #747b87;
  font-size: 12px;
  line-height: 1.45;
}

.app-me-equipment-popover em {
  display: block;
  margin-top: 6px;
  color: #d92f35;
  font-style: normal;
  font-weight: 900;
}

.app-me-equipment-popover ul {
  display: grid;
  gap: 4px;
  margin: 8px 0 0;
  padding: 8px 0 0;
  border-top: 1px solid rgba(24, 28, 36, .07);
  list-style: none;
}

body.app-screen-body .app-screen-top > span:has(.app-screen-menu) {
  background: transparent;
}

body.app-screen-body .app-screen-top > span:has(.app-screen-settings) {
  display: grid;
  place-items: center;
}

.app-screen-settings {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  text-decoration: none;
}

body.app-screen-body .app-screen-top .app-screen-settings::before {
  content: none;
}

.app-screen-settings i {
  position: relative;
  width: 15px;
  height: 15px;
  border: 2px solid #3f4652;
  border-radius: 50%;
}

.app-screen-settings i::before {
  content: "";
  position: absolute;
  inset: -5px;
  border: 2px dashed rgba(63, 70, 82, .8);
  border-radius: 50%;
}

.app-settings-row {
  min-height: 50px;
}

.app-settings-row.is-danger b {
  color: #d92f35;
}

.app-settings-status {
  min-height: 20px;
  margin: 10px 0 0;
  color: #776d62;
  font-size: 12px;
}

.app-screen-menu {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 14px;
  background: #f4f1f2;
}

.app-character-stage.is-stage-focused {
  box-shadow:
    0 0 0 2px rgba(240, 95, 78, .22),
    0 18px 42px rgba(20, 26, 36, .24);
}

.app-screen-menu i,
.app-screen-menu::before,
.app-screen-menu::after {
  content: "";
  width: 18px;
  height: 2px;
  display: block;
  border-radius: 99px;
  background: #191b20;
}

.app-screen-menu i {
  box-shadow: 0 6px 0 #191b20, 0 -6px 0 #191b20;
}

.app-discover-tools {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.app-discover-tools a {
  min-height: 112px;
  align-content: start;
  justify-items: start;
  gap: 7px;
  padding: 14px;
  border-color: rgba(24, 28, 36, .06);
  border-radius: 16px;
  background:
    radial-gradient(circle at 100% 0, rgba(217,47,53,.10), transparent 42%),
    #fff;
  box-shadow: 0 12px 30px rgba(23, 28, 37, .07);
}

.app-discover-tools a:nth-child(2n) {
  background:
    radial-gradient(circle at 100% 0, rgba(66,99,235,.10), transparent 42%),
    #fff;
}

.app-discover-tools i {
  display: grid;
  place-items: center;
  min-width: 34px;
  height: 28px;
  padding: 0 8px;
  border-radius: 10px;
  background: #171b22;
  color: #fff;
  font-size: 11px;
  font-style: normal;
  font-weight: 900;
}

.app-discover-tools b {
  width: auto;
  height: auto;
  display: block;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  color: #191b20;
  font-size: 17px;
}

.app-discover-tools span {
  color: #747b87;
  font-size: 12px;
  line-height: 1.35;
}

body.app-screen-body .app-search-panel {
  grid-template-columns: minmax(0, 1fr) 58px;
}

body.app-screen-body .app-search-panel input {
  background: #f7f8fb;
  border-color: rgba(24, 28, 36, .08);
}

body.app-screen-body .app-search-panel button,
body.app-screen-body .app-login-cta {
  background: #171b22;
}

.app-atlas-filters {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin: 8px 0 10px;
}

.app-atlas-filters select {
  min-width: 0;
  height: 38px;
  padding: 0 10px;
  border: 1px solid rgba(24, 28, 36, .08);
  border-radius: 12px;
  background: #fff;
  color: #191b20;
  font-size: 13px;
}

.app-atlas-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.app-atlas-card {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr);
  grid-template-rows: auto auto;
  align-items: center;
  gap: 2px 8px;
  min-width: 0;
  min-height: 58px;
  padding: 8px;
  border: 1px solid rgba(24, 28, 36, .07);
  border-radius: 10px;
  background: #fff;
  color: #191b20;
  text-align: left;
  box-shadow: 0 8px 18px rgba(23, 28, 37, .05);
}

.app-atlas-card img,
.app-atlas-card .app-result-icon {
  grid-row: 1 / span 2;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  object-fit: contain;
  background: #f1f3f7;
  image-rendering: pixelated;
}

.app-atlas-card strong {
  min-width: 0;
  overflow: hidden;
  font-size: 12px;
  line-height: 1.25;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.app-atlas-card .atlas-name-rarity.quality-normal {
  color: #1f2430;
  text-shadow: none;
}

.app-atlas-card small {
  min-width: 0;
  display: -webkit-box;
  overflow: hidden;
  color: #747b87;
  font-size: 10px;
  line-height: 1.3;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
}

.app-atlas-float {
  position: fixed;
  z-index: 1300;
  max-width: min(390px, calc(100vw - 16px));
  pointer-events: auto;
}

.app-atlas-float .atlas-tooltip {
  position: static;
  display: block;
  transform: none;
}

.app-atlas-float .dnf-set-tooltip {
  display: none;
}

.app-atlas-float .dnf-equip-tooltip {
  width: min(360px, calc(100vw - 16px));
}

.app-atlas-float .card-detail-tooltip {
  width: 206px;
}

.app-atlas-modal[hidden] {
  display: none;
}

.app-atlas-modal {
  position: fixed;
  z-index: 1200;
  inset: 0;
  display: grid;
  align-items: end;
}

.app-atlas-scrim {
  position: absolute;
  inset: 0;
  background: rgba(14, 17, 23, .46);
}

.app-atlas-sheet {
  position: relative;
  max-height: min(82vh, 720px);
  overflow: auto;
  padding: 18px 14px calc(18px + env(safe-area-inset-bottom));
  border-radius: 22px 22px 0 0;
  background: #101216;
  box-shadow: 0 -18px 44px rgba(0,0,0,.26);
}

.app-atlas-close {
  position: sticky;
  z-index: 2;
  top: 0;
  left: 100%;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  margin-left: auto;
  margin-bottom: 8px;
  border: 0;
  border-radius: 50%;
  background: rgba(255,255,255,.12);
  color: #fff;
  font-size: 24px;
  line-height: 1;
}

.app-atlas-sheet .atlas-tooltip {
  position: static;
  display: block;
  transform: none;
  margin: 0 auto 10px;
}

.app-atlas-sheet .dnf-set-tooltip {
  width: min(390px, 100%);
}

.app-atlas-sheet .card-detail-tooltip {
  margin-left: auto;
  margin-right: auto;
}

.app-chat-card {
  display: grid;
  gap: 12px;
}

.app-chat-card h2 {
  margin: 0;
}

.app-chat-login {
  display: grid;
  gap: 8px;
  padding: 14px;
  border-radius: 12px;
  background: #f7f8fb;
  color: #191b20;
}

.app-chat-login strong {
  font-size: 17px;
}

.app-chat-login span {
  color: #747b87;
  font-size: 13px;
}

.app-chat-login button {
  min-height: 40px;
  border: 0;
  border-radius: 12px;
  background: #171b22;
  color: #fff;
  font-weight: 900;
}

.app-chat-current {
  display: grid;
  gap: 2px;
  padding: 10px 12px;
  border-radius: 14px;
  background: #f7f8fb;
}

.app-chat-current b {
  color: #191b20;
  font-size: 15px;
}

.app-chat-current span {
  color: #747b87;
  font-size: 12px;
}

.app-chat-window {
  display: grid;
  align-content: start;
  gap: 8px;
  height: min(48vh, 420px);
  min-height: 260px;
  overflow: auto;
  padding: 10px;
  border-radius: 14px;
  background: #f7f8fb;
}

.app-chat-message {
  display: grid;
  gap: 3px;
  justify-items: start;
}

.app-chat-message div {
  display: flex;
  align-items: baseline;
  gap: 6px;
  max-width: 86%;
}

.app-chat-message b {
  color: #191b20;
  font-size: 12px;
}

.app-chat-message small {
  color: #9aa0aa;
  font-size: 10px;
}

.app-chat-message p {
  max-width: 86%;
  margin: 0;
  padding: 9px 11px;
  border-radius: 12px;
  background: #fff;
  color: #191b20;
  font-size: 13px;
  line-height: 1.45;
  overflow-wrap: anywhere;
  box-shadow: 0 6px 14px rgba(23, 28, 37, .05);
}

.app-chat-message.is-mine {
  justify-items: end;
}

.app-chat-message.is-mine div {
  flex-direction: row-reverse;
}

.app-chat-message.is-mine p {
  background: #171b22;
  color: #fff;
}

.app-chat-compose {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 62px;
  gap: 8px;
}

.app-chat-compose input,
.app-chat-compose button {
  min-height: 40px;
  border-radius: 12px;
  border: 1px solid rgba(24, 28, 36, .08);
}

.app-chat-compose input {
  padding: 0 12px;
  background: #f7f8fb;
}

.app-chat-compose button {
  border: 0;
  background: #171b22;
  color: #fff;
  font-weight: 900;
}

.app-chat-compose button:disabled {
  background: #d8dbe2;
  color: #747b87;
}

.app-chat-status {
  min-height: 18px;
  margin: 0;
  color: #d92f35;
  font-size: 12px;
}

body.act4-app-shell {
  background:
    radial-gradient(circle at 16% 8%, rgba(229, 57, 53, .07), transparent 28%),
    radial-gradient(circle at 90% 38%, rgba(255, 107, 107, .045), transparent 24%),
    #f8f6f7 !important;
  color: #191b20 !important;
}

body.act4-app-shell main {
  width: min(480px, 100%);
  margin: 0 auto !important;
  padding: calc(62px + env(safe-area-inset-top)) 10px calc(74px + env(safe-area-inset-bottom)) !important;
}

body.act4-app-shell .site-header,
body.act4-app-shell .site-footer {
  display: none !important;
}

body.act4-app-shell .sub-hero {
  display: none !important;
}

body.act4-app-shell .sub-hero + .sub-layout,
body.act4-app-shell .sub-hero + .content-hub,
body.act4-app-shell .sub-hero + .info-query-page {
  margin-top: 0 !important;
  padding-top: 0 !important;
}

body.act4-app-shell .info-query-page {
  display: block !important;
  padding: 0 !important;
}

body.act4-app-shell main:has(.info-query-page) {
  width: 100% !important;
}

body.act4-app-shell main > .sub-layout.info-query-page {
  margin: 0 !important;
  padding: 0 !important;
}

body.act4-app-shell main:has(.magic-box-panel) {
  padding-top: 0 !important;
}

body.act4-app-shell .info-query-page > .side-menu,
body.act4-app-shell .info-query-page > .info-page-tabs {
  display: none !important;
}

body.act4-app-shell .info-query-page > div > .article-panel > .eyebrow:first-child,
body.act4-app-shell .info-query-page > div > .article-panel > .eyebrow:first-child + h2 {
  display: none !important;
}

body.act4-app-shell .act4-app-topbar {
  background: rgba(255,255,255,.94) !important;
  border-bottom: 1px solid rgba(24, 28, 36, .06) !important;
  box-shadow: 0 8px 24px rgba(23, 28, 37, .04) !important;
}

body.act4-app-shell .sub-hero,
body.act4-app-shell .hero,
body.act4-app-shell .content-hub,
body.act4-app-shell .article-panel,
body.act4-app-shell .shop-page,
body.act4-app-shell .shop-orders-panel,
body.act4-app-shell .shop-cart-panel,
body.act4-app-shell .shop-product,
body.act4-app-shell .newcomer-reward-item,
body.act4-app-shell .reward-gallery-panel,
body.act4-app-shell .power-ranking-page,
body.act4-app-shell .my-power-card,
body.act4-app-shell .recharge-page-panel {
  border: 1px solid rgba(24, 28, 36, .06) !important;
  border-radius: 16px !important;
  background: #fff !important;
  color: #191b20 !important;
  box-shadow: 0 12px 30px rgba(23, 28, 37, .07) !important;
}

body.act4-app-shell .sub-hero *,
body.act4-app-shell .content-hub *,
body.act4-app-shell .shop-orders-panel *,
body.act4-app-shell .shop-product *,
body.act4-app-shell .recharge-page-panel *,
body.act4-app-shell .power-ranking-page * {
  letter-spacing: 0 !important;
}

body.act4-app-shell .shop-toolbar {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr);
  gap: 10px !important;
  padding: 0 !important;
}

body.act4-app-shell .shop-toolbar strong,
body.act4-app-shell .shop-toolbar span {
  color: #191b20 !important;
}

body.act4-app-shell .recharge-page-panel,
body.act4-app-shell .reward-gallery-panel {
  background:
    radial-gradient(circle at 0% 0%, rgba(217, 47, 53, .05), transparent 20rem),
    linear-gradient(180deg, #fff, #fff8f6) !important;
}

body.act4-app-shell .vip-showcase {
  border: 1px solid rgba(24, 28, 36, .07) !important;
  background:
    radial-gradient(circle at 18% 22%, color-mix(in srgb, currentColor 12%, transparent), transparent 16rem),
    linear-gradient(135deg, rgba(255, 255, 255, .98), rgba(255, 247, 244, .98) 56%, rgba(255, 239, 236, .98)) !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .92),
    0 16px 36px rgba(23, 28, 37, .08) !important;
}

body.act4-app-shell .vip-showcase::before {
  border-color: color-mix(in srgb, currentColor 16%, transparent) !important;
  box-shadow: inset 0 0 22px color-mix(in srgb, currentColor 8%, transparent), 0 0 18px color-mix(in srgb, currentColor 6%, transparent) !important;
  opacity: .28 !important;
}

body.act4-app-shell .vip-showcase::after {
  background: linear-gradient(90deg, transparent, color-mix(in srgb, currentColor 24%, transparent), rgba(255, 255, 255, .98), transparent) !important;
  opacity: .56 !important;
}

body.act4-app-shell .vip-showcase h2 {
  color: color-mix(in srgb, currentColor 68%, #191b20) !important;
  text-shadow:
    0 1px 0 rgba(255, 255, 255, .92),
    0 10px 18px color-mix(in srgb, currentColor 10%, transparent) !important;
  -webkit-text-stroke: 0 !important;
}

body.act4-app-shell .vip-showcase span,
body.act4-app-shell .vip-card-identity small {
  color: #7a6271 !important;
}

body.act4-app-shell .vip-card-identity b,
body.act4-app-shell .recharge-balance-row strong,
body.act4-app-shell .recharge-progress strong,
body.act4-app-shell .recharge-character-strip strong,
body.act4-app-shell .reward-detail-card h3,
body.act4-app-shell .guardian-detail-panel h4 {
  color: #191b20 !important;
}

body.act4-app-shell .recharge-balance-row div,
body.act4-app-shell .recharge-character-strip article,
body.act4-app-shell .recharge-progress {
  border: 1px solid rgba(24, 28, 36, .07) !important;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .96), rgba(249, 250, 252, .96)) !important;
  box-shadow: 0 10px 22px rgba(23, 28, 37, .05) !important;
}

body.act4-app-shell .recharge-balance-row span,
body.act4-app-shell .recharge-character-strip span,
body.act4-app-shell .recharge-progress span,
body.act4-app-shell .recharge-progress em,
body.act4-app-shell .reward-detail-card > header span,
body.act4-app-shell .guardian-detail-panel > header span {
  color: #747b87 !important;
}

body.act4-app-shell .recharge-progress i {
  border-color: rgba(217, 47, 53, .10) !important;
  background: #f2f4f8 !important;
}

body.act4-app-shell .reward-detail-card {
  border: 1px solid rgba(24, 28, 36, .07) !important;
  background:
    radial-gradient(circle at 14% 0%, color-mix(in srgb, var(--vip-accent) 10%, transparent), transparent 18rem),
    linear-gradient(180deg, rgba(255, 255, 255, .98), rgba(249, 250, 252, .98)) !important;
  box-shadow:
    0 16px 34px rgba(23, 28, 37, .08),
    inset 0 0 0 1px rgba(255, 255, 255, .55) !important;
}

body.act4-app-shell .reward-detail-card.is-claimed {
  border-color: rgba(246, 200, 75, .72) !important;
  box-shadow:
    0 16px 34px rgba(23, 28, 37, .08),
    0 0 0 1px rgba(246, 200, 75, .18),
    inset 0 0 24px rgba(246, 200, 75, .08) !important;
}

body.act4-app-shell .reward-detail-list p,
body.act4-app-shell .guardian-detail-panel,
body.act4-app-shell .guardian-detail-panel p {
  border-color: rgba(24, 28, 36, .08) !important;
  background: #f8f9fc !important;
  color: #191b20 !important;
  box-shadow: none !important;
}

body.act4-app-shell .reward-detail-list p {
  font-weight: 700 !important;
}

body.act4-app-shell .reward-item-dot {
  border-color: rgba(217, 47, 53, .28) !important;
  background: linear-gradient(135deg, #ffcf8d, #e25545) !important;
  box-shadow: 0 0 10px rgba(226, 85, 69, .18) !important;
}

body.act4-app-shell .reward-claim-button {
  border: 1px solid rgba(217, 47, 53, .16) !important;
  color: #d92f35 !important;
  background: linear-gradient(180deg, #fff, #fff4f2) !important;
  box-shadow: none !important;
}

body.act4-app-shell .reward-claim-button.is-ready {
  border-color: transparent !important;
  color: #fff !important;
  background: linear-gradient(180deg, #ff6b57, #d92f35) !important;
  box-shadow: 0 12px 20px rgba(217, 47, 53, .22) !important;
}

body.act4-app-shell .reward-claim-button.is-ready:hover {
  filter: brightness(1.02);
}

body.act4-app-shell .reward-claim-button.is-claimed,
body.act4-app-shell .reward-claim-button.is-locked,
body.act4-app-shell .reward-claim-button:disabled {
  border-color: rgba(24, 28, 36, .08) !important;
  color: #98a0ad !important;
  background: linear-gradient(180deg, #f6f7fa, #eceff4) !important;
}

body.act4-app-shell .reward-pager button {
  border: 1px solid rgba(24, 28, 36, .08) !important;
  color: #d92f35 !important;
  background: #fff !important;
  box-shadow: 0 8px 18px rgba(23, 28, 37, .06) !important;
}

body.act4-app-shell .reward-pager button:hover:not(:disabled) {
  color: #fff !important;
  background: linear-gradient(180deg, #ff6b57, #d92f35) !important;
}

body.act4-app-shell .reward-pager span {
  border: 1px solid rgba(24, 28, 36, .07) !important;
  color: #191b20 !important;
  background: #f8f9fc !important;
}

body.act4-app-shell .shop-toolbar .btn,
body.act4-app-shell [data-shop-load-orders] {
  width: 100% !important;
}

body.act4-app-shell .shop-orders-panel {
  overflow: hidden !important;
  padding: 12px !important;
}

body.act4-app-shell .section-title {
  display: grid !important;
  gap: 3px !important;
  margin-bottom: 10px !important;
}

body.act4-app-shell .section-title h2 {
  margin: 0 !important;
  color: #191b20 !important;
  font-size: 17px !important;
}

body.act4-app-shell .section-title p {
  margin: 0 !important;
  color: #747b87 !important;
  font-size: 12px !important;
}

body.act4-app-shell .shop-table,
body.act4-app-shell .shop-user-orders {
  display: grid !important;
  gap: 8px !important;
  width: 100% !important;
  min-width: 0 !important;
  overflow: visible !important;
  border: 0 !important;
  background: transparent !important;
}

body.act4-app-shell .shop-order-row,
body.act4-app-shell .shop-table button {
  width: 100% !important;
  min-width: 0 !important;
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) auto !important;
  gap: 5px 8px !important;
  padding: 12px !important;
  border: 1px solid rgba(24, 28, 36, .07) !important;
  border-radius: 14px !important;
  background: #f9fafc !important;
  color: #191b20 !important;
  text-align: left !important;
  box-shadow: none !important;
}

body.act4-app-shell .shop-order-row span,
body.act4-app-shell .shop-order-row small {
  grid-column: 1 / -1;
  min-width: 0;
  overflow-wrap: anywhere;
  color: #747b87 !important;
  font-size: 11px !important;
}

body.act4-app-shell .shop-order-row b {
  min-width: 0;
  overflow: hidden;
  color: #191b20 !important;
  font-size: 14px !important;
  white-space: nowrap;
  text-overflow: ellipsis;
}

body.act4-app-shell .shop-order-row strong {
  color: #d92f35 !important;
  font-size: 13px !important;
  white-space: nowrap;
}

body.act4-app-shell .shop-order-row em {
  justify-self: start;
  padding: 3px 8px;
  border-radius: 999px;
  background: #eef2ff;
  color: #4263eb !important;
  font-size: 11px !important;
  font-style: normal;
  font-weight: 900;
}

body.act4-app-shell .shop-order-row em.is-delivered {
  background: #e9f8ef;
  color: #1f8f4d !important;
}

body.act4-app-shell .shop-order-row em.is-failed {
  background: #fff0f0;
  color: #d92f35 !important;
}

body.act4-app-shell .shop-order-row em.is-pending-pay {
  background: #fff5e6;
  color: #d18400 !important;
}

body.act4-app-shell .shop-product dl,
body.act4-app-shell .shop-order-result,
body.act4-app-shell .shop-success-order {
  min-width: 0 !important;
  overflow-wrap: anywhere;
}

body.act4-app-shell .shop-product dd,
body.act4-app-shell .shop-product strong,
body.act4-app-shell .shop-order-result strong {
  color: #191b20 !important;
}

body.act4-app-shell .shop-product .btn,
body.act4-app-shell .shop-actions .btn {
  min-width: 0 !important;
}

body.act4-app-shell .power-ranking-page {
  display: block !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

body.act4-app-shell .power-ranking-page .side-menu,
body.act4-app-shell .power-ranking-page .info-page-tabs {
  display: none !important;
}

body.act4-app-shell .power-ranking-page > div,
body.act4-app-shell .power-ranking-page .article-panel {
  width: 100% !important;
  min-width: 0 !important;
}

body.act4-app-shell .power-ranking-page .article-panel {
  display: grid !important;
  gap: 12px !important;
  padding: 12px !important;
  border: 1px solid rgba(24, 28, 36, .06) !important;
  border-radius: 18px !important;
  background: rgba(255,255,255,.92) !important;
  box-shadow: 0 14px 34px rgba(23, 28, 37, .07) !important;
}

body.act4-app-shell .power-ranking-page .my-power-card {
  position: static !important;
  width: 100% !important;
  height: auto !important;
  display: grid !important;
  grid-template-columns: 1fr !important;
  gap: 6px !important;
  margin: 0 !important;
  padding: 14px !important;
  overflow: hidden !important;
  border: 1px solid rgba(217, 47, 53, .09) !important;
  border-radius: 16px !important;
  background: linear-gradient(135deg, rgba(217, 47, 53, .06), #fff 55%) !important;
  box-shadow: none !important;
}

body.act4-app-shell .power-ranking-page .my-power-card > span {
  grid-column: 1 / -1 !important;
  color: #747b87 !important;
  font-size: 12px !important;
}

body.act4-app-shell .power-ranking-page .my-power-card > strong {
  color: #191b20 !important;
  font-size: 34px !important;
  line-height: 1 !important;
}

body.act4-app-shell .power-ranking-page .my-power-card .my-power-board {
  display: grid !important;
  grid-template-columns: 1fr !important;
  gap: 12px !important;
}

body.act4-app-shell .power-ranking-page .my-power-card .my-power-score {
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
}

body.act4-app-shell .power-ranking-page .my-power-card .my-power-score > div,
body.act4-app-shell .power-ranking-page .my-power-card .my-power-identity,
body.act4-app-shell .power-ranking-page .my-power-card .my-power-rank {
  display: grid !important;
  gap: 4px !important;
}

body.act4-app-shell .power-ranking-page .my-power-card .my-power-score strong {
  color: #191b20 !important;
  font-family: "Arial Black", "Microsoft YaHei UI", "Microsoft YaHei", sans-serif !important;
  font-size: 34px !important;
  line-height: .94 !important;
}

body.act4-app-shell .power-ranking-page .my-power-card .my-power-score em,
body.act4-app-shell .power-ranking-page .my-power-card .my-power-identity em,
body.act4-app-shell .power-ranking-page .my-power-card .my-power-rank em {
  color: #747b87 !important;
  font-size: 11px !important;
  font-style: normal !important;
  font-weight: 800 !important;
}

body.act4-app-shell .power-ranking-page .my-power-card .my-power-identity b {
  color: #191b20 !important;
  font-size: 19px !important;
}

body.act4-app-shell .power-ranking-page .my-power-card .my-power-rank {
  justify-items: start !important;
  text-align: left !important;
}

body.act4-app-shell .power-ranking-page .my-power-card .my-power-rank b {
  color: #191b20 !important;
  font-size: 28px !important;
  line-height: 1 !important;
}

body.act4-app-shell .power-ranking-page .my-power-card[data-rank-tone] .my-power-identity b,
body.act4-app-shell .power-ranking-page .my-power-card[data-rank-tone] .my-power-rank b {
  color: var(--my-power-rank-tone) !important;
}

body.act4-app-shell .power-ranking-page .my-power-card .my-power-main {
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
}

body.act4-app-shell .power-ranking-page .my-power-card .my-power-main strong {
  color: #191b20 !important;
  font-family: "Arial Black", "Microsoft YaHei UI", "Microsoft YaHei", sans-serif !important;
  font-size: 30px !important;
  line-height: .94 !important;
}

body.act4-app-shell .power-ranking-page .my-power-card .my-power-meta {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 8px !important;
}

body.act4-app-shell .power-ranking-page .power-emblem-card {
  width: 64px !important;
  height: 64px !important;
}

body.act4-app-shell .power-ranking-page .my-power-card b {
  color: #191b20 !important;
  font-size: 15px !important;
}

body.act4-app-shell .power-ranking-page .my-power-card small {
  color: #747b87 !important;
  font-size: 11px !important;
}

body.act4-app-shell .power-ranking-page .ranking-table,
body.act4-app-shell .power-ranking-page .ranking-list {
  display: grid !important;
  gap: 8px !important;
  border: 0 !important;
  background: transparent !important;
}

body.act4-app-shell .power-ranking-page .ranking-list p {
  display: grid !important;
  grid-template-columns: 38px minmax(0, 1fr) auto !important;
  gap: 2px 10px !important;
  align-items: center !important;
  margin: 0 !important;
  padding: 11px 12px !important;
  border: 1px solid rgba(24, 28, 36, .06) !important;
  border-radius: 14px !important;
  background: #fff !important;
  box-shadow: 0 8px 18px rgba(23, 28, 37, .045) !important;
}

body.act4-app-shell .power-ranking-page .ranking-list .ranking-rank {
  grid-row: 1 / span 2 !important;
  color: #6b7280 !important;
  font-size: 13px !important;
}

body.act4-app-shell .power-ranking-page .ranking-list .ranking-name {
  color: #191b20 !important;
  font-size: 14px !important;
}

body.act4-app-shell .power-ranking-page .ranking-list small {
  color: #747b87 !important;
  font-size: 11px !important;
}

body.act4-app-shell .power-ranking-page .ranking-list .ranking-power {
  grid-column: 3 !important;
  grid-row: 1 / span 2 !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 5px !important;
  align-self: center !important;
  color: #8a651f !important;
  font-size: 15px !important;
}

body.act4-app-shell .power-ranking-page .ranking-list p[data-rank-tone] .ranking-rank,
body.act4-app-shell .power-ranking-page .ranking-list p[data-rank-tone] .ranking-name,
body.act4-app-shell .power-ranking-page .ranking-list p[data-rank-tone] .ranking-power {
  color: var(--ranking-tone) !important;
}

body.act4-app-shell .power-ranking-page .ranking-power-emblem {
  width: 28px !important;
  height: 28px !important;
}

body.act4-app-shell .power-ranking-page .power-tier-guide {
  gap: 12px !important;
  margin-top: 4px !important;
  padding: 14px !important;
  border: 1px solid rgba(24, 28, 36, .06) !important;
  border-radius: 16px !important;
  background: #fff !important;
  box-shadow: 0 8px 18px rgba(23, 28, 37, .045) !important;
}

body.act4-app-shell .power-ranking-page .power-tier-guide header {
  display: grid !important;
  gap: 6px !important;
}

body.act4-app-shell .power-ranking-page .power-tier-guide h2 {
  color: #191b20 !important;
  font-size: 18px !important;
}

body.act4-app-shell .power-ranking-page .power-tier-guide p {
  color: #747b87 !important;
  font-size: 12px !important;
  text-align: left !important;
}

body.act4-app-shell .power-ranking-page .power-tier-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 8px !important;
}

body.act4-app-shell .power-ranking-page .power-tier-grid article {
  grid-template-columns: minmax(0, 1fr) 52px !important;
  align-items: center !important;
  min-height: 98px !important;
  padding: 11px 12px !important;
  border: 1px solid rgba(24, 28, 36, .06) !important;
  border-radius: 12px !important;
  background: #f9fafb !important;
}

body.act4-app-shell .power-ranking-page .power-tier-grid b {
  color: #191b20 !important;
  font-size: 14px !important;
}

body.act4-app-shell .power-ranking-page .power-tier-grid strong {
  color: var(--tier-accent, #8a651f) !important;
  font-size: 18px !important;
}

body.act4-app-shell .power-ranking-page .power-tier-grid span {
  color: #747b87 !important;
  font-size: 11px !important;
}

body.act4-app-shell .power-ranking-page .power-tier-grid img {
  width: 50px !important;
  height: 50px !important;
}

body.act4-app-shell .magic-box-panel {
  display: grid !important;
  gap: 12px !important;
  padding: 14px !important;
  border: 1px solid rgba(24, 28, 36, .06) !important;
  border-radius: 18px !important;
  background: rgba(255,255,255,.94) !important;
  color: #191b20 !important;
  box-shadow: 0 14px 34px rgba(23, 28, 37, .07) !important;
}

body.act4-app-shell .magic-box-title-row {
  display: none !important;
}

body.act4-app-shell .magic-box-pool-tabs {
  display: flex !important;
  flex-wrap: nowrap !important;
  gap: 8px !important;
  overflow-x: auto !important;
  padding-bottom: 2px !important;
}

body.act4-app-shell .magic-box-pool-tabs button {
  flex: 0 0 auto !important;
  min-width: auto !important;
  min-height: 36px !important;
  padding: 0 14px !important;
  border: 1px solid rgba(24, 28, 36, .07) !important;
  border-radius: 999px !important;
  background: #f7f8fb !important;
  font-size: 12px !important;
  box-shadow: none !important;
}

body.act4-app-shell .magic-box-pool-tabs button::after {
  display: none !important;
}

body.act4-app-shell .magic-box-pool-tabs button[data-pool-tone="normal"] {
  border-color: rgba(169, 92, 255, .24) !important;
  color: #a95cff !important;
}

body.act4-app-shell .magic-box-pool-tabs button[data-pool-tone="point"] {
  border-color: rgba(255, 106, 247, .24) !important;
  color: #ff6af7 !important;
}

body.act4-app-shell .magic-box-pool-tabs button[data-pool-tone="normal"].is-active {
  background: #f6efff !important;
  border-color: rgba(169, 92, 255, .42) !important;
}

body.act4-app-shell .magic-box-pool-tabs button[data-pool-tone="point"].is-active {
  background: #fff0fd !important;
  border-color: rgba(255, 106, 247, .42) !important;
}

body.act4-app-shell .magic-box-filters {
  display: flex !important;
  flex-wrap: nowrap !important;
  gap: 8px !important;
  overflow-x: auto !important;
  padding-bottom: 2px !important;
}

body.act4-app-shell .magic-box-filters button {
  flex: 0 0 auto !important;
  min-width: auto !important;
  min-height: 36px !important;
  padding: 0 12px !important;
  border: 1px solid rgba(24, 28, 36, .07) !important;
  border-radius: 999px !important;
  background: #f7f8fb !important;
  color: #747b87 !important;
  font-size: 12px !important;
  box-shadow: none !important;
}

body.act4-app-shell .magic-box-filters span {
  position: static !important;
  margin-left: 5px !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  color: inherit !important;
  font-size: 10px !important;
}

body.act4-app-shell .magic-box-filters button.is-active {
  border-color: rgba(217, 47, 53, .18) !important;
  background: #fff1f1 !important;
  color: #d92f35 !important;
}

body.act4-app-shell .magic-box-summary {
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 8px !important;
  border: 0 !important;
  background: transparent !important;
}

body.act4-app-shell .magic-box-summary div {
  gap: 4px !important;
  padding: 10px 12px !important;
  border: 1px solid rgba(24, 28, 36, .06) !important;
  border-radius: 14px !important;
  background: linear-gradient(135deg, rgba(217, 47, 53, .045), #fff) !important;
}

body.act4-app-shell .magic-box-summary span,
body.act4-app-shell .magic-box-item small,
body.act4-app-shell .magic-box-toolbar span {
  color: #747b87 !important;
  font-size: 11px !important;
}

body.act4-app-shell .magic-box-summary strong {
  color: #191b20 !important;
  font-size: 16px !important;
}

body.act4-app-shell .magic-box-toolbar {
  grid-template-columns: 1fr !important;
}

body.act4-app-shell .magic-box-toolbar input {
  height: 42px !important;
  border: 1px solid rgba(24, 28, 36, .07) !important;
  border-radius: 14px !important;
  background: #f7f8fb !important;
  color: #191b20 !important;
}

body.act4-app-shell .magic-box-list {
  grid-template-columns: 1fr !important;
  gap: 8px !important;
}

body.act4-app-shell .magic-box-item {
  grid-template-columns: 36px minmax(0, 1fr) auto !important;
  gap: 4px 10px !important;
  min-height: 58px !important;
  padding: 10px 12px !important;
  border: 1px solid rgba(24, 28, 36, .06) !important;
  border-left: 3px solid var(--item-rarity-color, #d92f35) !important;
  border-radius: 12px !important;
  background: #fff !important;
  box-shadow: 0 8px 18px rgba(23, 28, 37, .04) !important;
}

body.act4-app-shell .magic-box-icon {
  grid-row: 1 / span 2 !important;
  width: 32px !important;
  height: 32px !important;
  border-radius: 8px !important;
  background: #f1f3f7 !important;
}

body.act4-app-shell .magic-box-category {
  grid-column: 2 !important;
  grid-row: 2 !important;
  color: #747b87 !important;
  font-size: 10px !important;
}

body.act4-app-shell .magic-box-item strong {
  grid-column: 2 !important;
  grid-row: 1 !important;
  color: var(--item-rarity-color, #fff5dd) !important;
  font-size: 13px !important;
  line-height: 1.3 !important;
  text-shadow: 0 0 10px color-mix(in srgb, var(--item-rarity-color, #fff5dd) 22%, transparent) !important;
  display: block !important;
  overflow: hidden !important;
  white-space: nowrap !important;
  text-overflow: ellipsis !important;
}

body.act4-app-shell .magic-box-quantity {
  grid-column: 3 !important;
  grid-row: 1 !important;
  color: #d92f35 !important;
  font-size: 11px !important;
}

body.act4-app-shell .magic-box-item em {
  grid-column: 3 !important;
  grid-row: 2 !important;
  color: #2b8a3e !important;
  font-size: 11px !important;
  text-align: right !important;
}

body.act4-app-shell .magic-box-item small {
  display: none !important;
}

body.act4-app-shell .magic-box-empty,
body.act4-app-shell .notice-text {
  color: #747b87 !important;
}

body.act4-app-shell.free-cera-static-page {
  background: #fff !important;
  color: #191b20 !important;
}

body.act4-app-shell.free-cera-static-page::before {
  display: none !important;
}

body.act4-app-shell.free-cera-static-page main {
  width: 100% !important;
  max-width: none !important;
  min-height: 100dvh !important;
  margin: 0 !important;
  padding: calc(52px + env(safe-area-inset-top)) 0 calc(74px + env(safe-area-inset-bottom)) !important;
  background: #fff !important;
}

body.act4-app-shell.free-cera-static-page .act4-app-topbar {
  background: rgba(255, 255, 255, .96) !important;
  border-bottom-color: rgba(24, 28, 36, .06) !important;
  box-shadow: 0 8px 24px rgba(23, 28, 37, .04) !important;
}

body.act4-app-shell.free-cera-static-page .act4-app-topbar strong {
  color: #191b20 !important;
}

body.act4-app-shell.free-cera-static-page .act4-app-topbar button {
  background: #f2f4f8 !important;
}

body.act4-app-shell.free-cera-static-page .act4-app-topbar button::before {
  border-color: #191b20 !important;
}

body.act4-app-shell.free-cera-static-page .free-cera-static-layout {
  display: block !important;
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
  background: #fff !important;
}

body.act4-app-shell.free-cera-static-page .free-cera-static-layout > .side-menu {
  display: none !important;
}

body.act4-app-shell.free-cera-static-page .free-cera-static-layout > div {
  width: 100% !important;
  min-width: 0 !important;
}

body.act4-app-shell.free-cera-static-page .free-cera-sheet {
  width: 100% !important;
  min-height: 0 !important;
  margin: 0 !important;
  padding: 20px 14px 24px !important;
  border-width: 0 0 1px !important;
  border-color: rgba(24, 28, 36, .07) !important;
  border-radius: 0 !important;
  background: #fff !important;
  color: #191b20 !important;
  box-shadow: none !important;
}

body.act4-app-shell.free-cera-static-page .free-cera-sheet + .free-cera-sheet {
  margin-top: 0 !important;
}

body.act4-app-shell.free-cera-static-page .free-cera-sheet h2 {
  color: #d92f35 !important;
  font-size: 24px !important;
}

body.act4-app-shell.free-cera-static-page .free-cera-overview {
  margin-bottom: 30px !important;
}

body.act4-app-shell.free-cera-static-page .free-cera-overview h2,
body.act4-app-shell.free-cera-static-page .free-cera-overview h3 {
  color: #d92f35 !important;
  font-size: 28px !important;
}

body.act4-app-shell.free-cera-static-page .free-cera-sheet p,
body.act4-app-shell.free-cera-static-page .free-cera-sheet li {
  color: #2f333a !important;
  overflow-wrap: anywhere;
}

body.act4-app-shell.free-cera-static-page .free-cera-sheet mark {
  color: #d92f35 !important;
  background: #fff3a3 !important;
  font-size: 20px !important;
}

@media (max-width: 380px) {
  body.app-home-body .app-topbar {
    grid-template-columns: 36px minmax(70px, auto) minmax(0, 1fr);
    gap: 8px;
  }

  body.app-home-body .app-topbar strong {
    font-size: 20px;
  }

  .app-global-search input {
    font-size: 12px;
  }

  .app-atlas-grid {
    grid-template-columns: 1fr;
  }
}

/* 2026-06-16 app refresh: 5-tab cartoon nav, event carousel, dynamics feed, and chat polish. */
.app-bottom-nav,
.act4-app-bottom-nav {
  grid-template-columns: repeat(5, 1fr) !important;
  padding: 8px 10px calc(10px + env(safe-area-inset-bottom)) !important;
  background: rgba(255, 255, 255, .98) !important;
  backdrop-filter: blur(14px);
}

.app-bottom-nav a::before,
.act4-app-bottom-nav a::before,
.act4-app-bottom-nav span {
  display: none !important;
}

.app-bottom-nav a,
.act4-app-bottom-nav a {
  gap: 3px !important;
  justify-items: center;
  align-content: center;
  color: #95908b !important;
}

.app-bottom-nav a i,
.act4-app-bottom-nav a i {
  position: relative;
  width: 28px;
  height: 28px;
  display: block;
  border-radius: 11px;
  background: linear-gradient(180deg, #fff, #f4f1ef);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.9), 0 5px 14px rgba(23, 28, 37, .08);
}

.app-bottom-nav a b,
.act4-app-bottom-nav a b {
  font-size: 12px;
  line-height: 1.15;
  font-weight: 800;
}

.app-bottom-nav a.is-active,
.act4-app-bottom-nav a.is-active {
  color: #d92f35 !important;
}

.app-bottom-nav a.is-active i,
.act4-app-bottom-nav a.is-active i {
  background: linear-gradient(180deg, #ffe3e1, #fff0ef);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.95), 0 8px 18px rgba(217, 47, 53, .18);
}

.app-bottom-nav a i::before,
.app-bottom-nav a i::after,
.act4-app-bottom-nav a i::before,
.act4-app-bottom-nav a i::after {
  content: "";
  position: absolute;
  box-sizing: border-box;
  color: currentColor;
}

.app-bottom-nav a[data-nav-icon="home"] i::before,
.act4-app-bottom-nav a[data-nav-icon="home"] i::before {
  left: 6px;
  top: 12px;
  width: 16px;
  height: 10px;
  border: 2px solid currentColor;
  border-top: 0;
  border-radius: 0 0 5px 5px;
}

.app-bottom-nav a[data-nav-icon="home"] i::after,
.act4-app-bottom-nav a[data-nav-icon="home"] i::after {
  left: 6px;
  top: 5px;
  width: 16px;
  height: 16px;
  border-top: 2px solid currentColor;
  border-left: 2px solid currentColor;
  transform: rotate(45deg);
  border-radius: 3px;
}

.app-bottom-nav a[data-nav-icon="dynamic"] i::before,
.act4-app-bottom-nav a[data-nav-icon="dynamic"] i::before {
  left: 10px;
  top: 5px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 0 2px rgba(255,255,255,.7);
}

.app-bottom-nav a[data-nav-icon="dynamic"] i::after,
.act4-app-bottom-nav a[data-nav-icon="dynamic"] i::after {
  left: 7px;
  top: 13px;
  width: 14px;
  height: 8px;
  border: 2px solid currentColor;
  border-top: 0;
  border-radius: 0 0 10px 10px;
}

.app-bottom-nav a[data-nav-icon="message"] i::before,
.act4-app-bottom-nav a[data-nav-icon="message"] i::before {
  left: 5px;
  top: 6px;
  width: 17px;
  height: 13px;
  border: 2px solid currentColor;
  border-radius: 9px;
  background: rgba(255,255,255,.72);
}

.app-bottom-nav a[data-nav-icon="message"] i::after,
.act4-app-bottom-nav a[data-nav-icon="message"] i::after {
  left: 10px;
  top: 16px;
  width: 8px;
  height: 8px;
  border-left: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(-35deg);
  border-bottom-left-radius: 3px;
}

.app-bottom-nav a[data-nav-icon="tool"] i::before,
.act4-app-bottom-nav a[data-nav-icon="tool"] i::before {
  left: 6px;
  top: 9px;
  width: 16px;
  height: 10px;
  border: 2px solid currentColor;
  border-radius: 5px;
}

.app-bottom-nav a[data-nav-icon="tool"] i::after,
.act4-app-bottom-nav a[data-nav-icon="tool"] i::after {
  left: 10px;
  top: 5px;
  width: 8px;
  height: 5px;
  border: 2px solid currentColor;
  border-bottom: 0;
  border-radius: 4px 4px 0 0;
}

.app-bottom-nav a[data-nav-icon="me"] i::before,
.act4-app-bottom-nav a[data-nav-icon="me"] i::before {
  left: 9px;
  top: 5px;
  width: 10px;
  height: 10px;
  border: 2px solid currentColor;
  border-radius: 50%;
}

.app-bottom-nav a[data-nav-icon="me"] i::after,
.act4-app-bottom-nav a[data-nav-icon="me"] i::after {
  left: 7px;
  top: 15px;
  width: 14px;
  height: 8px;
  border: 2px solid currentColor;
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
  border-bottom: 0;
}

body.app-home-body .app-hero {
  min-height: auto;
  padding-bottom: 0;
}

.app-hero-carousel {
  position: relative;
  min-height: 206px;
  margin-top: 18px;
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid rgba(24, 28, 36, .06);
  box-shadow: 0 18px 44px rgba(23, 28, 37, .14);
}

.app-hero-slide {
  position: absolute;
  inset: 0;
  margin: 0;
  opacity: 0;
  transform: scale(1.02);
  pointer-events: none;
  transition: opacity .28s ease, transform .42s ease;
}

.app-hero-slide.is-active {
  opacity: 1;
  transform: scale(1);
  pointer-events: auto;
}

.app-hero-slide a {
  position: relative;
  z-index: 1;
  display: grid;
  align-content: end;
  min-height: 206px;
  padding: 16px 16px 34px;
  color: #fff;
  text-decoration: none;
}

.app-hero-slide a::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(5, 8, 14, 0) 35%, rgba(5, 8, 14, .8) 100%),
    linear-gradient(90deg, rgba(5, 8, 14, .56), rgba(5, 8, 14, .08) 62%);
}

.app-hero-slide img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.app-hero-slide span,
.app-hero-slide strong,
.app-hero-slide small {
  position: relative;
  z-index: 1;
}

.app-hero-slide span {
  width: max-content;
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(255,255,255,.18);
  font-size: 11px;
  font-weight: 900;
  backdrop-filter: blur(10px);
}

.app-hero-slide strong {
  margin-top: 9px;
  font-size: 22px;
  line-height: 1.16;
}

.app-hero-slide small {
  display: block;
  max-width: 288px;
  margin-top: 6px;
  color: rgba(255,255,255,.86);
  font-size: 12px;
  line-height: 1.5;
}

.app-hero-dots {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 12px;
  z-index: 2;
  display: flex;
  justify-content: center;
  gap: 7px;
}

.app-hero-dots button {
  width: 8px;
  height: 8px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(255,255,255,.42);
  transition: width .18s ease, background-color .18s ease;
}

.app-hero-dots button.is-active {
  width: 24px;
  background: #fff;
}

.app-feed-empty a {
  display: grid;
  gap: 6px;
}

.app-feed-empty h2 {
  margin: 0;
}

.app-news-feed[data-app-home-dynamics] {
  display: grid;
  gap: 12px;
}

.app-news-feed[data-app-home-dynamics] .app-dynamic-card {
  padding: 14px;
  border: 1px solid rgba(24, 28, 36, .06);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 14px 34px rgba(23, 28, 37, .07);
}

.app-news-feed[data-app-home-dynamics] .app-dynamic-card h3 {
  font-size: 16px;
}

.app-news-feed[data-app-home-dynamics] .app-dynamic-card p {
  font-size: 13px;
}

.app-dynamics-screen {
  padding-bottom: calc(96px + env(safe-area-inset-bottom));
}

.app-dynamics-hero {
  display: grid;
  gap: 10px;
}

.app-dynamics-hero-button,
.app-dynamics-account-bar button,
.app-dynamics-submit,
.app-chat-login button,
.app-chat-compose button {
  min-height: 42px;
  padding: 0 16px;
  border: 0;
  border-radius: 14px;
  background: linear-gradient(135deg, #171b22, #2a3240);
  color: #fff;
  font-size: 14px;
  font-weight: 900;
  box-shadow: 0 14px 30px rgba(23, 28, 37, .18);
}

.app-dynamics-account-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.app-dynamics-account-bar > div {
  display: grid;
  gap: 4px;
}

.app-dynamics-account-bar b,
.app-dynamics-account-main b {
  color: #191b20;
  font-size: 15px;
}

.app-dynamics-account-bar span,
.app-dynamics-account-main span {
  color: #747b87;
  font-size: 12px;
}

.app-dynamics-account-main {
  display: flex;
  align-items: center;
  gap: 12px;
}

.app-dynamics-feed {
  display: grid;
  gap: 14px;
}

.app-dynamic-card {
  padding: 15px;
  border: 1px solid rgba(24, 28, 36, .06);
  border-radius: 20px;
  background:
    linear-gradient(180deg, rgba(255,255,255,.98), rgba(250,251,253,.98)),
    #fff;
  box-shadow: 0 16px 34px rgba(23, 28, 37, .08);
}

.app-dynamic-card.is-compact {
  padding: 14px;
}

.app-dynamic-head {
  display: flex;
  align-items: center;
  gap: 12px;
}

.app-dynamic-avatar {
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  border-radius: 50%;
  overflow: hidden;
  background: linear-gradient(135deg, #ffe0dd, #f3f5fa);
  color: #d92f35;
  display: grid;
  place-items: center;
  font-size: 15px;
  font-weight: 900;
}

.app-dynamic-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.app-dynamic-author {
  min-width: 0;
  display: grid;
  gap: 2px;
}

.app-dynamic-author b {
  color: #191b20;
  font-size: 15px;
}

.app-dynamic-author span {
  color: #828a96;
  font-size: 12px;
}

.app-dynamic-body {
  display: grid;
  gap: 10px;
  margin-top: 12px;
  color: inherit;
  text-decoration: none;
}

.app-dynamic-body h3 {
  margin: 0;
  color: #141821;
  font-size: 17px;
  line-height: 1.28;
}

.app-dynamic-body p {
  margin: 0;
  color: #535a66;
  font-size: 14px;
  line-height: 1.6;
}

.app-dynamic-media {
  overflow: hidden;
  border-radius: 16px;
  background: #f3f5fa;
  box-shadow: inset 0 0 0 1px rgba(24, 28, 36, .05);
}

.app-dynamic-media img,
.app-dynamic-media video {
  width: 100%;
  max-height: 320px;
  display: block;
  object-fit: cover;
  background: #11161e;
}

.app-dynamic-media.is-compact img,
.app-dynamic-media.is-compact video {
  max-height: 180px;
}

.app-dynamics-status {
  min-height: 18px;
  margin: 10px 2px 0;
  color: #d92f35;
  font-size: 12px;
  line-height: 1.4;
}

.app-compose-backdrop {
  position: fixed;
  inset: 0;
  z-index: 95;
  background: rgba(8, 12, 18, .46);
  backdrop-filter: blur(4px);
}

.app-compose-sheet {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 96;
  padding: 18px 16px calc(18px + env(safe-area-inset-bottom));
  border-radius: 26px 26px 0 0;
  background: rgba(255,255,255,.98);
  box-shadow: 0 -20px 60px rgba(23, 28, 37, .22);
}

.app-compose-sheet-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.app-compose-sheet-head strong {
  display: block;
  color: #191b20;
  font-size: 18px;
}

.app-compose-sheet-head span {
  display: block;
  margin-top: 2px;
  color: #7c8490;
  font-size: 12px;
}

.app-compose-sheet-head button {
  width: 34px;
  height: 34px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #f2f4f8;
  position: relative;
}

.app-compose-sheet-head button::before,
.app-compose-sheet-head button::after {
  content: "";
  position: absolute;
  left: 9px;
  top: 16px;
  width: 16px;
  height: 2px;
  border-radius: 2px;
  background: #191b20;
}

.app-compose-sheet-head button::before { transform: rotate(45deg); }
.app-compose-sheet-head button::after { transform: rotate(-45deg); }

.app-dynamics-form {
  display: grid;
  gap: 12px;
}

.app-dynamics-form label {
  display: grid;
  gap: 7px;
}

.app-dynamics-form label > span {
  color: #191b20;
  font-size: 13px;
  font-weight: 800;
}

.app-dynamics-form input[type="text"],
.app-dynamics-form textarea {
  width: 100%;
  border: 1px solid rgba(24, 28, 36, .08);
  border-radius: 14px;
  outline: 0;
  background: #f8fafc;
  color: #191b20;
  font-size: 14px;
  padding: 12px 14px;
}

.app-dynamics-form textarea {
  resize: none;
  min-height: 120px;
}

.app-dynamics-upload-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.app-dynamics-upload input[type="file"] {
  display: none;
}

.app-dynamics-upload-preview {
  min-height: 128px;
  border: 1px dashed rgba(24, 28, 36, .14);
  border-radius: 16px;
  background: linear-gradient(180deg, #fbfcfe, #f5f7fb);
  display: grid;
  place-items: center;
  overflow: hidden;
  color: #7b8591;
  font-size: 12px;
  font-weight: 700;
}

.app-dynamics-upload-preview img,
.app-dynamics-upload-preview video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.app-chat-card {
  display: grid;
  gap: 12px;
}

.app-chat-current {
  display: grid;
  gap: 2px;
  padding: 12px 14px;
  border-radius: 16px;
  background: linear-gradient(180deg, #fbfcfe, #f4f7fb);
  border: 1px solid rgba(24, 28, 36, .06);
}

.app-chat-current b {
  color: #191b20;
  font-size: 15px;
}

.app-chat-current span {
  color: #7b8591;
  font-size: 12px;
}

.app-chat-window {
  display: grid;
  gap: 10px;
  min-height: 260px;
  max-height: calc(100vh - 360px);
  overflow: auto;
  padding-right: 2px;
}

.app-chat-message {
  width: min(88%, 420px);
  padding: 12px 14px;
  border-radius: 18px 18px 18px 8px;
  background: #f4f6fa;
  border: 1px solid rgba(24, 28, 36, .05);
  box-shadow: 0 10px 24px rgba(23, 28, 37, .05);
}

.app-chat-message.is-mine {
  margin-left: auto;
  border-radius: 18px 18px 8px 18px;
  background: linear-gradient(135deg, #fff1f0, #fff7f6);
  border-color: rgba(217, 47, 53, .08);
}

.app-chat-message > div {
  display: grid;
  gap: 2px;
}

.app-chat-message b {
  color: #191b20;
  font-size: 14px;
}

.app-chat-message small,
.app-chat-message p {
  color: #6a7280;
  font-size: 12px;
}

.app-chat-message p {
  margin: 8px 0 0;
  line-height: 1.55;
}

.app-chat-compose {
  position: sticky;
  bottom: calc(8px + env(safe-area-inset-bottom));
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  padding: 10px;
  border-radius: 18px;
  background: rgba(255,255,255,.98);
  border: 1px solid rgba(24, 28, 36, .06);
  box-shadow: 0 14px 34px rgba(23, 28, 37, .08);
}

.app-chat-compose input {
  width: 100%;
  min-width: 0;
  border: 0;
  outline: 0;
  border-radius: 12px;
  background: #f5f7fb;
  color: #191b20;
  font-size: 14px;
  padding: 0 14px;
}

.app-chat-status {
  min-height: 18px;
  margin: 0;
  color: #d92f35;
  font-size: 12px;
}

body.is-app-sheet-open {
  overflow: hidden;
}

@media (max-width: 480px) {
  .app-dynamics-account-bar {
    align-items: stretch;
    flex-direction: column;
  }

  .app-dynamics-upload-grid {
    grid-template-columns: 1fr;
  }
}

/* My page refresh: native card-style role panel with power badge ladder. */
.app-me-scope-tabs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin: 6px 0 10px;
  padding: 4px;
  border-radius: 18px;
  background: rgba(255, 255, 255, .92);
  border: 1px solid rgba(24, 28, 36, .05);
  box-shadow: 0 12px 30px rgba(23, 28, 37, .06);
}

.app-me-scope-tabs a {
  min-height: 40px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  color: #9097a3;
  font-size: 14px;
  font-weight: 900;
  text-decoration: none;
}

.app-me-scope-tabs a.is-active {
  background: linear-gradient(180deg, #fff, #f8fafc);
  color: #171b22;
  box-shadow: 0 8px 18px rgba(23, 28, 37, .08);
}

.app-character-stage {
  margin-top: 12px;
  padding: 18px 12px 18px;
  border-radius: 26px;
  background:
    radial-gradient(circle at 50% 8%, rgba(255,255,255,.1), transparent 24%),
    linear-gradient(180deg, rgba(19, 25, 37, .94), rgba(10, 15, 24, .98));
  box-shadow: 0 20px 42px rgba(13, 18, 27, .2);
}

.app-character-stage::before,
.app-character-stage::after {
  content: "";
  position: absolute;
  inset: auto 20px 168px 20px;
  height: 110px;
  border: 2px solid rgba(221, 201, 151, .22);
  border-radius: 50%;
  pointer-events: none;
}

.app-character-stage::after {
  inset: auto 44px 192px 44px;
  height: 86px;
  opacity: .65;
}

.app-stage-orbit {
  position: absolute;
  left: 20px;
  right: 20px;
  top: 18px;
  height: 132px;
  pointer-events: none;
}

.app-stage-orbit::before,
.app-stage-orbit::after {
  content: "";
  position: absolute;
  border: 2px solid rgba(214, 197, 145, .25);
  border-radius: 50%;
}

.app-stage-orbit::before {
  inset: 14px 18px 8px;
}

.app-stage-orbit::after {
  inset: 30px 54px 20px;
}

.app-stage-layout {
  position: relative;
  z-index: 1;
  grid-template-columns: 50px minmax(0, 1fr) 50px;
  gap: 10px;
  min-height: 270px;
}

.app-equip-column {
  gap: 11px;
}

.app-character-figure {
  min-height: 270px;
}

.app-character-figure::before {
  inset: auto 11% 10px;
  height: 40px;
  background: radial-gradient(circle, rgba(93, 167, 255, .28), rgba(0,0,0,.04) 64%, transparent 72%);
}

.app-character-portrait {
  position: relative;
  width: min(220px, 100%);
  height: 220px;
  display: grid;
  place-items: end center;
}

.app-character-portrait::before {
  content: "";
  position: absolute;
  inset: 30px 14px 16px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 30%, rgba(255,255,255,.2), transparent 35%),
    radial-gradient(circle at 50% 50%, rgba(119, 149, 211, .35), rgba(7, 11, 18, 0) 66%);
  filter: blur(1px);
}

.app-character-silhouette {
  width: 142px;
  height: 204px;
  border-radius: 66px 66px 34px 34px;
  box-shadow: 0 18px 42px rgba(0, 0, 0, .28);
}

.app-character-portrait.has-artwork .app-character-silhouette {
  width: 208px;
  height: 214px;
  border-radius: 0;
  background-position: center bottom;
  background-size: contain;
  background-repeat: no-repeat;
  box-shadow: none;
  filter: drop-shadow(0 22px 32px rgba(0, 0, 0, .34));
}

.app-character-portrait.has-artwork.is-silhouette .app-character-silhouette {
  filter:
    brightness(0)
    saturate(0)
    contrast(1.16)
    drop-shadow(0 22px 32px rgba(0, 0, 0, .42));
  opacity: .9;
}

.app-fame-block {
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  justify-items: start;
  gap: 14px;
  margin: 6px auto 0;
  width: fit-content;
  padding: 8px 16px 10px 12px;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(255,255,255,.94), rgba(242,238,231,.82));
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.92),
    0 12px 30px rgba(0,0,0,.18);
}

.app-fame-badge {
  width: 74px;
  height: 74px;
  display: grid;
  place-items: center;
  position: relative;
}

.app-fame-badge img {
  width: 74px;
  height: 74px;
  object-fit: contain;
  image-rendering: pixelated;
  filter: drop-shadow(0 8px 14px rgba(0,0,0,.2));
}

.app-power-badge-job {
  position: absolute;
  inset: 0;
  width: 34px !important;
  height: 34px !important;
  margin: auto;
  filter: var(--power-job-filter) drop-shadow(0 3px 8px rgba(88, 44, 110, .26));
}

.app-fame-copy {
  display: grid;
  justify-items: start;
  gap: 1px;
}

.app-fame-copy span {
  color: #cc8b35;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.app-fame-copy strong {
  color: #2b2f3b;
  background: none;
  -webkit-background-clip: border-box;
  -webkit-text-fill-color: currentColor;
  font-family: "Arial Black", "Microsoft YaHei UI", "Microsoft YaHei", sans-serif;
  font-size: 34px;
  font-style: normal;
  font-weight: 900;
  line-height: .94;
  text-shadow:
    0 1px 0 rgba(255,255,255,.72),
    0 8px 18px rgba(45, 39, 30, .12);
}

.app-fame-copy small {
  color: #9f8160;
  font-size: 11px;
  font-weight: 900;
}

.app-stage-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-top: 8px;
  padding-top: 7px;
  border-top: 1px solid rgba(255,255,255,.08);
}

.app-stage-stats article {
  display: grid;
  gap: 4px;
  justify-items: center;
  text-align: center;
}

.app-stage-stats b {
  color: #fff;
  font-size: 18px;
  line-height: 1.1;
}

.app-stage-stats span {
  color: rgba(255,255,255,.58);
  font-size: 11px;
  line-height: 1.25;
}

@media (max-width: 420px) {
  .app-character-portrait {
    width: min(184px, 100%);
    height: 194px;
  }

  .app-character-silhouette {
    width: 128px;
    height: 186px;
  }

  .app-character-portrait.has-artwork .app-character-silhouette {
    width: 170px;
    height: 180px;
  }
}

/* 20260617 app UI batch */
body.is-busy {
  overflow: auto;
}

body.is-busy > *:not(.page-busy):not(.account-modal) {
  filter: none;
  pointer-events: auto;
  user-select: auto;
}

.page-busy {
  inset: auto 16px calc(82px + env(safe-area-inset-bottom));
  display: flex;
  justify-content: center;
  place-items: initial;
  padding: 0;
  background: transparent;
  pointer-events: none;
}

.page-busy > div {
  min-width: 0;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.page-busy > div::before {
  content: "";
  width: 16px;
  height: 16px;
  border: 2px solid rgba(217, 47, 53, .18);
  border-top-color: #d92f35;
  border-radius: 50%;
  animation: act4Spin .8s linear infinite;
}

@keyframes act4Spin {
  to { transform: rotate(360deg); }
}

.page-busy strong {
  color: #626b78;
  font-size: 12px;
  line-height: 1.2;
}

.page-busy span {
  display: none;
}

.act4-toast {
  top: auto;
  bottom: calc(84px + env(safe-area-inset-bottom));
  min-width: 0;
  max-width: calc(100vw - 40px);
  padding: 0;
  border: 0;
  color: #191b20;
  background: transparent;
  box-shadow: none;
  font-size: 12px;
  line-height: 1.4;
  transform: translate(-50%, 8px);
}

.act4-toast.is-open {
  transform: translate(-50%, 0);
}

.act4-toast.is-error {
  border: 0;
  color: #d92f35;
  background: transparent;
}

.app-drawer {
  width: min(78vw, 320px);
  padding: calc(22px + env(safe-area-inset-top)) 22px 22px;
  border-radius: 0 20px 20px 0;
}

.app-drawer:not([hidden]) {
  gap: 16px;
}

.app-drawer-profile {
  justify-items: start;
  gap: 10px;
  padding-bottom: 12px;
}

.app-drawer-login {
  justify-items: start;
  text-align: left;
}

.app-drawer-login strong {
  font-size: 18px;
}

.app-drawer-login em {
  font-size: 12px;
}

.app-drawer-avatar {
  width: 64px;
  height: 64px;
  font-size: 24px;
}

.app-drawer-avatar.is-image {
  overflow: hidden;
  background: #f1f3f7;
}

.app-drawer-avatar.is-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.app-drawer-profile p {
  display: grid;
  justify-content: start;
  gap: 3px;
}

.app-drawer-profile p span {
  color: #191b20;
  font-weight: 900;
}

.app-drawer-progress,
.app-drawer-stats {
  display: none;
}

.app-drawer-menu {
  gap: 8px;
  padding-top: 4px;
}

.app-drawer-menu a {
  grid-template-columns: 1fr;
  min-height: 36px;
  gap: 0;
  padding: 8px 2px;
}

.app-drawer-menu span {
  display: none;
}

.app-drawer-menu b {
  font-size: 14px;
}

.app-screen-top[data-app-global-topbar="1"] {
  grid-template-columns: 40px auto minmax(0, 1fr);
  gap: 10px;
  min-height: calc(60px + env(safe-area-inset-top));
  padding: calc(8px + env(safe-area-inset-top)) 12px 8px;
}

.app-screen-top[data-app-global-topbar="1"] > button {
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 14px;
  background: #f4efe6;
}

.app-screen-top[data-app-global-topbar="1"] .app-screen-menu::before,
.app-screen-top[data-app-global-topbar="1"] .app-screen-menu::after {
  content: none;
}

.app-screen-top[data-app-global-topbar="1"] strong {
  text-align: left;
  font-size: 16px;
}

.app-screen-top .app-screen-search {
  height: 36px;
  padding-left: 10px;
  box-shadow: inset 0 0 0 1px rgba(24, 28, 36, .06);
}

.app-screen-top .app-screen-search input {
  font-size: 12px;
}

.app-screen-top .app-screen-search button {
  width: 28px;
  height: 28px;
}

.app-dynamics-account-bar {
  margin-top: 0;
  padding: 12px 14px;
  border-radius: 14px;
}

.app-dynamics-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.app-dynamics-toolbar h1 {
  margin: 0;
  color: #191b20;
  font-size: 18px;
}

.app-dynamics-toolbar .app-dynamics-hero-button {
  min-height: 34px;
  padding: 0 14px;
  border-radius: 999px;
  background: #d92f35;
}

.app-dynamic-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 12px;
  color: #7b8591;
  font-size: 12px;
  font-weight: 800;
}

.app-dynamic-actions button {
  min-height: 30px;
  padding: 0 12px;
  border: 1px solid rgba(24, 28, 36, .08);
  border-radius: 999px;
  background: #fff;
  color: #535a66;
  font-size: 12px;
  font-weight: 900;
}

.app-dynamic-actions button.is-active {
  border-color: rgba(217, 47, 53, .22);
  color: #d92f35;
  background: #fff3f3;
}

.app-dynamic-comments {
  display: grid;
  gap: 6px;
  margin-top: 10px;
}

.app-dynamic-comments p {
  display: flex;
  gap: 6px;
  margin: 0;
  color: #626b78;
  font-size: 12px;
  line-height: 1.5;
}

.app-dynamic-comments b {
  color: #191b20;
  white-space: nowrap;
}

.app-dynamic-comment-form {
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
  margin-top: 10px;
}

.app-dynamic-comment-form:not([hidden]) {
  display: grid;
}

.app-dynamic-comment-form input {
  min-width: 0;
  height: 34px;
  border: 1px solid rgba(24, 28, 36, .08);
  border-radius: 999px;
  outline: 0;
  padding: 0 12px;
  background: #f7f8fb;
  color: #191b20;
  font-size: 12px;
}

.app-dynamic-comment-form button {
  min-height: 34px;
  padding: 0 12px;
  border: 0;
  border-radius: 999px;
  background: #171b22;
  color: #fff;
  font-size: 12px;
  font-weight: 900;
}

.app-chat-entry-card {
  min-height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin: 12px 0;
  padding: 14px 16px;
  border: 1px solid rgba(24, 28, 36, .06);
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 12px 28px rgba(23, 28, 37, .07);
}

.app-chat-entry-card b,
.app-private-panel h2,
.app-chat-room-panel h2 {
  margin: 0;
  color: #191b20;
  font-size: 16px;
}

.app-chat-entry-card span {
  display: block;
  margin-top: 4px;
  color: #7b8591;
  font-size: 12px;
}

.app-chat-entry-card em {
  color: #d92f35;
  font-size: 13px;
  font-style: normal;
  font-weight: 900;
}

.app-chat-room-panel,
.app-private-panel {
  display: grid;
  gap: 12px;
}

.app-private-start,
.app-private-compose {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 8px;
}

.app-private-start input,
.app-private-compose input {
  min-width: 0;
  height: 38px;
  border: 1px solid rgba(24, 28, 36, .08);
  border-radius: 12px;
  outline: 0;
  padding: 0 12px;
  background: #f7f8fb;
  color: #191b20;
  font-size: 13px;
}

.app-private-start button,
.app-private-compose button {
  min-height: 38px;
  border: 0;
  border-radius: 12px;
  background: #171b22;
  color: #fff;
  font-size: 13px;
  font-weight: 900;
}

.app-private-layout {
  display: grid;
  gap: 12px;
}

.app-private-list {
  display: grid;
  gap: 8px;
}

.app-private-peer {
  position: relative;
  display: grid;
  gap: 3px;
  width: 100%;
  min-height: 54px;
  padding: 10px 12px;
  border: 1px solid rgba(24, 28, 36, .06);
  border-radius: 12px;
  background: #fff;
  text-align: left;
}

.app-private-peer b,
.app-private-thread h3 {
  margin: 0;
  color: #191b20;
  font-size: 14px;
}

.app-private-peer span {
  overflow: hidden;
  color: #7b8591;
  font-size: 12px;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.app-private-peer em {
  position: absolute;
  top: 10px;
  right: 10px;
  min-width: 18px;
  height: 18px;
  border-radius: 999px;
  background: #d92f35;
  color: #fff;
  font-size: 11px;
  font-style: normal;
  font-weight: 900;
  line-height: 18px;
  text-align: center;
}

.app-private-thread {
  display: grid;
  gap: 10px;
}

.app-private-messages {
  display: grid;
  gap: 8px;
  max-height: 260px;
  overflow: auto;
}

.app-private-message {
  width: min(86%, 360px);
  padding: 10px 12px;
  border-radius: 14px 14px 14px 6px;
  background: #f3f5f8;
}

.app-private-message.is-mine {
  justify-self: end;
  border-radius: 14px 14px 6px 14px;
  background: #fff1f1;
}

.app-private-message b,
.app-private-message p,
.app-private-message small {
  display: block;
  margin: 0;
  font-size: 12px;
}

.app-private-message b {
  color: #191b20;
}

.app-private-message p,
.app-private-message small {
  color: #626b78;
}

.app-me-scope-tabs button {
  min-height: 40px;
  border: 0;
  border-radius: 14px;
  background: transparent;
  color: #9097a3;
  font-size: 14px;
  font-weight: 900;
}

.app-me-scope-tabs button.is-active {
  background: linear-gradient(180deg, #fff, #f8fafc);
  color: #171b22;
  box-shadow: 0 8px 18px rgba(23, 28, 37, .08);
}

.app-me-feed {
  display: grid;
  gap: 12px;
}

.app-fame-block {
  background: transparent;
  box-shadow: none;
}

.app-fame-copy strong {
  font-size: 30px;
  letter-spacing: 0;
}

.signin-switch {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 12px;
}

.signin-switch button {
  min-height: 38px;
  border: 1px solid rgba(24, 28, 36, .08);
  border-radius: 999px;
  background: #fff;
  color: #747b87;
  font-size: 13px;
  font-weight: 900;
}

.signin-switch button.is-active {
  border-color: rgba(217, 47, 53, .24);
  background: #fff2f2;
  color: #d92f35;
}

.signin-daily-panel,
.signin-group-panel {
  display: grid;
  gap: 10px;
}

.signin-daily-row {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  min-height: 58px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(24, 28, 36, .06);
}

.signin-daily-row strong,
.signin-daily-row span,
.signin-daily-row small {
  display: block;
}

.signin-daily-row strong {
  color: #191b20;
  font-size: 14px;
}

.signin-daily-row span {
  color: #d92f35;
  font-size: 12px;
  font-weight: 900;
}

.signin-daily-row small,
.signin-daily-hint,
.activity-inline-status,
.activity-inline-hint,
.signin-group-panel p {
  margin: 0;
  color: #626b78;
  font-size: 12px;
  line-height: 1.6;
}

.signin-daily-row .btn,
.newcomer-reward-item .btn {
  min-width: 62px;
  min-height: 32px;
  padding: 0 12px;
  border-radius: 999px;
  font-size: 12px;
}

.signin-group-link {
  width: max-content;
  min-height: 34px;
  display: inline-grid;
  place-items: center;
  padding: 0 14px;
  border-radius: 999px;
  background: #d92f35;
  color: #fff;
  font-size: 12px;
  font-weight: 900;
  text-decoration: none;
}

.activity-layout {
  grid-template-columns: 1fr;
}

.activity-primary,
.activity-side,
.activity-method,
.activity-reward-list {
  gap: 10px;
}

.activity-reward-list {
  padding: 0;
  border: 0;
  background: transparent;
}

.activity-reward-list h3 {
  color: #191b20;
  font-size: 14px;
}

.newcomer-reward-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
  margin-top: 0;
}

.newcomer-reward-item {
  grid-template-columns: 36px minmax(0, 1fr) auto;
  gap: 10px;
  min-height: 54px;
  padding: 8px 0;
  border: 0;
  border-bottom: 1px solid rgba(24, 28, 36, .06);
  background: transparent;
}

.newcomer-reward-icon {
  width: 32px;
  height: 32px;
}

.newcomer-reward-item strong {
  color: #191b20;
  font-size: 14px;
}

.newcomer-reward-item span {
  color: #d92f35;
  font-size: 12px;
}

.newcomer-reward-item small {
  color: #7b8591;
  font-size: 11px;
}

.newcomer-reward-item.is-claimed {
  border-color: rgba(24, 28, 36, .06);
  background: transparent;
}

.activity-inline-status {
  margin-top: 8px;
  color: #191b20;
  font-weight: 900;
}

.compensation-tabs {
  display: none;
}

.compensation-list[hidden] {
  display: grid;
}

body.act4-app-shell .reward-grid {
  overflow-x: auto;
  padding-bottom: 4px;
}

body.act4-app-shell .reward-grid-row {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(86px, 1fr);
  grid-template-columns: none !important;
  min-width: max-content;
}

body.act4-app-shell .reward-grid-row {
  grid-auto-columns: minmax(82px, 1fr);
}

.doc-body-only .sub-hero,
.doc-body-only .side-menu,
.doc-body-only .article-panel > .eyebrow,
.doc-body-only .article-panel > h2 {
  display: none;
}

.doc-body-only .sub-layout {
  grid-template-columns: 1fr;
  padding-top: 24px;
}

.doc-body-only .article-panel {
  margin-bottom: 12px;
}

/* 20260617 checklist completion fixes */
body.is-busy {
  overflow: hidden !important;
}

body.is-busy > *:not(.page-busy):not(.account-modal) {
  filter: blur(2px) brightness(.92) !important;
  pointer-events: none !important;
  user-select: none !important;
}

.page-busy {
  position: fixed !important;
  inset: 0 !important;
  z-index: 10000 !important;
  display: grid !important;
  place-items: center !important;
  padding: 24px !important;
  background: rgba(255, 255, 255, .34) !important;
  opacity: 0;
  visibility: hidden;
  pointer-events: auto !important;
}

.page-busy.is-open {
  opacity: 1 !important;
  visibility: visible !important;
}

.page-busy > div {
  min-width: min(300px, calc(100vw - 48px)) !important;
  display: grid !important;
  justify-items: center !important;
  gap: 8px !important;
  padding: 22px 24px !important;
  border: 1px solid rgba(217, 47, 53, .14) !important;
  border-radius: 16px !important;
  background: rgba(255, 255, 255, .96) !important;
  box-shadow: 0 18px 48px rgba(23, 28, 37, .18) !important;
  text-align: center !important;
}

.page-busy > div::before {
  content: "" !important;
  width: 26px !important;
  height: 26px !important;
  border: 3px solid rgba(217, 47, 53, .18) !important;
  border-top-color: #d92f35 !important;
  border-radius: 50% !important;
  animation: act4Spin .8s linear infinite !important;
}

.page-busy strong {
  color: #191b20 !important;
  font-size: 15px !important;
  line-height: 1.35 !important;
}

.page-busy span {
  display: block !important;
  margin-top: 0 !important;
  color: #747b87 !important;
  font-size: 12px !important;
}

body.app-home-body .app-tool-strip {
  grid-auto-flow: row !important;
  grid-auto-columns: initial !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 10px !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
  overflow: visible !important;
}

.app-news-feed[data-app-home-dynamics]:not(.is-active) {
  display: none !important;
}

.app-news-feed[data-app-home-dynamics].is-active {
  display: grid !important;
}

body.app-screen-body .app-screen-top[data-app-global-topbar="1"] {
  grid-template-columns: 36px auto minmax(0, 1fr) !important;
  gap: 8px !important;
  min-height: calc(60px + env(safe-area-inset-top)) !important;
  padding: calc(10px + env(safe-area-inset-top)) 14px 10px !important;
  background: #fff !important;
  box-shadow: 0 6px 18px rgba(23, 28, 37, .06) !important;
}

body.app-screen-body .app-screen-top[data-app-global-topbar="1"] > button,
body.app-screen-body .app-screen-top[data-app-global-topbar="1"] .app-screen-search,
body.app-screen-body .app-screen-top[data-app-global-topbar="1"] .app-screen-search button {
  height: 36px !important;
}

body.app-screen-body .app-screen-top[data-app-global-topbar="1"] > button {
  width: 36px !important;
  border-radius: 12px !important;
}

body.app-screen-body .app-screen-top[data-app-global-topbar="1"] strong {
  color: #191b20 !important;
  font-size: 22px !important;
  line-height: 1 !important;
  text-align: left !important;
}

body.app-screen-body .app-screen-top[data-app-global-topbar="1"] .app-screen-search {
  min-width: 0 !important;
  border-radius: 999px !important;
  background: #f5f6f8 !important;
  box-shadow: inset 0 0 0 1px rgba(24, 28, 36, .06) !important;
}

body.app-screen-body .app-screen-top[data-app-global-topbar="1"] .app-screen-search button::before,
body.app-screen-body .app-screen-top[data-app-global-topbar="1"] .app-screen-search button::after {
  opacity: 1 !important;
}

.app-drawer {
  min-height: 100dvh !important;
  padding-bottom: calc(76px + env(safe-area-inset-bottom)) !important;
}

.app-drawer-settings {
  position: absolute !important;
  left: 22px !important;
  bottom: calc(22px + env(safe-area-inset-bottom)) !important;
  width: 42px !important;
  height: 42px !important;
  margin: 0 !important;
  color: #404652 !important;
  text-decoration: none !important;
}

.app-drawer-settings span {
  display: block !important;
  color: #404652 !important;
  font-size: 22px !important;
  line-height: 1 !important;
}

.app-dynamics-account-bar {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) auto !important;
  align-items: center !important;
  gap: 10px !important;
}

.app-dynamics-account-action {
  min-height: 34px !important;
  padding: 0 14px !important;
  border: 0 !important;
  border-radius: 999px !important;
  color: #fff !important;
  background: #d92f35 !important;
  font-size: 13px !important;
  font-weight: 900 !important;
  white-space: nowrap !important;
}

.app-dynamics-toolbar {
  margin-bottom: 8px !important;
}

.app-atlas-card {
  cursor: default !important;
}

.app-atlas-icon-button {
  display: grid !important;
  place-items: center !important;
  width: 46px !important;
  height: 46px !important;
  margin: 0 auto 8px !important;
  padding: 0 !important;
  border: 1px solid rgba(24, 28, 36, .08) !important;
  border-radius: 10px !important;
  background: #f7f8fa !important;
  cursor: pointer !important;
}

.app-atlas-icon-button img,
.app-atlas-icon-button .app-result-icon {
  width: 38px !important;
  height: 38px !important;
  margin: 0 !important;
  object-fit: contain !important;
}

.app-profile-card.is-login-card {
  cursor: pointer !important;
}

.app-fame-copy strong {
  color: #fff !important;
  transform: translateY(-2px) !important;
  text-shadow: 0 2px 10px rgba(0, 0, 0, .48) !important;
}

.app-character-portrait.has-artwork .app-character-silhouette {
  width: min(240px, 46vw) !important;
  height: min(266px, 50vw) !important;
  background-size: contain !important;
}

.app-character-figure {
  min-height: 250px !important;
}

.signin-group-panel {
  justify-items: center !important;
}

.signin-qr-lock {
  position: relative;
  display: grid;
  place-items: center;
  width: min(305px, 78vw);
  max-width: 100%;
  margin: 0 auto 14px !important;
  border-radius: 14px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 12px 28px rgba(23, 28, 37, .12);
}

.signin-group-qr {
  width: 100% !important;
  height: auto !important;
  aspect-ratio: auto !important;
  display: block !important;
  margin: 0 !important;
  border-radius: 0 !important;
  object-fit: contain !important;
  background: #fff !important;
  box-shadow: none !important;
  transition: filter .18s ease, transform .18s ease;
  -webkit-touch-callout: default;
}

body:not(.is-account-logged-in) .signin-qr-lock .signin-group-qr {
  filter: blur(10px);
  transform: scale(1.03);
}

body:not(.is-account-logged-in) .signin-qr-lock::after {
  content: "登录后查看签到二维码";
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 18px;
  color: #fff5dd;
  font-weight: 900;
  text-align: center;
  text-shadow: 0 2px 8px rgba(0, 0, 0, .5);
  background: rgba(0, 0, 0, .42);
}

body:not(.is-account-logged-in) .signin-group-save {
  pointer-events: none;
  opacity: .55;
}

body.act4-app-shell.activity-page {
  background: #fff !important;
}

body.act4-app-shell.activity-page main {
  padding-top: 0 !important;
}

body.act4-app-shell.activity-page .content-hub,
body.act4-app-shell.activity-page .activity-layout {
  margin-top: 0 !important;
  padding-top: 0 !important;
}

body.act4-app-shell.activity-page .article-panel,
body.act4-app-shell.activity-page .activity-primary,
body.act4-app-shell.activity-page .signin-page {
  margin-top: 0 !important;
  background: #fff !important;
}

.newcomer-reward-item > div,
.signin-daily-row > div {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) auto !important;
  align-items: center !important;
  gap: 2px 8px !important;
}

.newcomer-reward-item > div strong,
.signin-daily-row > div strong {
  min-width: 0 !important;
}

.newcomer-reward-item > div span,
.signin-daily-row > div span {
  justify-self: end !important;
  white-space: nowrap !important;
}

.newcomer-reward-item > div small,
.signin-daily-row > div small {
  grid-column: 1 / -1 !important;
}

body.act4-app-shell .recharge-page-panel,
body.act4-app-shell .reward-gallery-panel {
  background: #fff !important;
}

body.act4-app-shell .vip-showcase {
  min-height: 178px !important;
  padding: 20px !important;
  border-radius: 16px !important;
  color: var(--vip-accent) !important;
  background:
    radial-gradient(circle at 18% 42%, color-mix(in srgb, currentColor 28%, transparent), transparent 20rem),
    linear-gradient(115deg, color-mix(in srgb, currentColor 18%, #101010) 0%, rgba(11, 11, 13, .98) 48%, rgba(2, 2, 4, .96) 100%) !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .08),
    inset 0 -34px 58px rgba(0, 0, 0, .42),
    0 16px 34px rgba(23, 28, 37, .16) !important;
}

body.act4-app-shell .vip-showcase h2 {
  color: currentColor !important;
  font-size: clamp(44px, 14vw, 74px) !important;
  text-shadow: 0 0 24px var(--vip-glow) !important;
}

body.act4-app-shell .vip-showcase span,
body.act4-app-shell .vip-card-identity small {
  color: rgba(255, 255, 255, .72) !important;
}

body.act4-app-shell .vip-card-identity b {
  color: #fff !important;
}

body.act4-app-shell .reward-panel h3 {
  color: #191b20 !important;
}

body.act4-app-shell .reward-grid {
  overflow: visible !important;
  padding-bottom: 0 !important;
}

body.act4-app-shell .reward-grid-row {
  display: grid !important;
  grid-auto-flow: row !important;
  grid-auto-columns: initial !important;
  grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
  gap: 7px !important;
  min-width: 0 !important;
}

body.act4-app-shell .reward-grid button,
body.act4-app-shell .reward-grid p {
  min-height: 42px !important;
  padding: 0 3px !important;
  border-color: rgba(24, 28, 36, .10) !important;
  color: #191b20 !important;
  background: #f7f8fa !important;
  font-size: 10px !important;
  line-height: 1.15 !important;
  white-space: normal !important;
}

body.act4-app-shell .reward-grid button.is-ready,
body.act4-app-shell .reward-grid button.is-current {
  color: #fff !important;
  border-color: rgba(217, 47, 53, .62) !important;
  background: linear-gradient(180deg, #ef5b45, #d92f35) !important;
}

body.act4-app-shell .reward-grid button.is-claimed {
  color: #6c4a00 !important;
  border-color: rgba(246, 200, 75, .58) !important;
  background: #fff4cc !important;
}

body.act4-app-shell .reward-ready-badge {
  top: 2px !important;
  right: 2px !important;
  min-height: 14px !important;
  padding: 0 4px !important;
  font-size: 9px !important;
}

body.act4-app-shell .recharge-balance-row span,
body.act4-app-shell .recharge-character-strip span,
body.act4-app-shell .recharge-progress span,
body.act4-app-shell .recharge-progress em,
body.act4-app-shell .reward-detail-card > header span {
  color: #5f6874 !important;
}

body.act4-app-shell .app-discover-services,
body.app-screen-body .app-discover-services {
  margin-top: 8px !important;
  background: #fff !important;
}

.app-discover-services .app-list-row {
  min-height: 58px !important;
  align-items: center !important;
}

.app-discover-services .app-list-row:nth-of-type(n+3) {
  min-height: 66px !important;
  padding-top: 14px !important;
  padding-bottom: 14px !important;
}

.app-discover-services .app-list-row:nth-of-type(n+3) b {
  font-size: 18px !important;
}

body.act4-app-shell.newbie-guide-page {
  background: linear-gradient(180deg, #f6fffb 0%, #f4f8ff 44%, #fff 100%) !important;
}

body.act4-app-shell.newbie-guide-page .sub-hero {
  margin-top: 0 !important;
  padding-top: 84px !important;
  background:
    radial-gradient(circle at 12% 0%, rgba(77, 190, 171, .18), transparent 20rem),
    linear-gradient(135deg, #f6fffb, #f4f8ff) !important;
  color: #17352f !important;
}

body.act4-app-shell.newbie-guide-page .sub-hero h1 {
  color: #17352f !important;
}

body.act4-app-shell.newbie-guide-page .article-panel,
body.act4-app-shell.newbie-guide-page .info-card {
  border-color: rgba(66, 153, 128, .14) !important;
  background: rgba(255, 255, 255, .94) !important;
  box-shadow: 0 12px 30px rgba(31, 78, 89, .07) !important;
}

body.act4-app-shell .video-center-page {
  width: 100% !important;
  min-height: calc(100dvh - 130px) !important;
  margin: 0 !important;
  padding: 12px !important;
  border-radius: 0 !important;
  background: #fff !important;
  box-shadow: none !important;
}

body.act4-app-shell .video-center-head {
  align-items: center !important;
  margin-bottom: 12px !important;
}

body.act4-app-shell .video-center-head h1 {
  color: #191b20 !important;
  font-size: 24px !important;
}

body.act4-app-shell .video-grid,
body.act4-app-shell .image-grid {
  gap: 12px !important;
}

body.act4-app-shell .video-card,
body.act4-app-shell .image-card {
  border-radius: 12px !important;
  background: #fff !important;
}

.atlas-icon-button {
  width: 42px !important;
  height: 42px !important;
  display: grid !important;
  place-items: center !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 6px !important;
  background: transparent !important;
  cursor: pointer !important;
}

.atlas-icon-button .atlas-icon,
.atlas-icon-button .atlas-real-icon {
  margin: 0 !important;
}

.atlas-item:hover .atlas-tooltip,
.atlas-item:focus-within .atlas-tooltip {
  display: none !important;
}

@media (hover: hover) and (pointer: fine) {
  .card-atlas-item:hover .atlas-tooltip,
  .card-atlas-item:focus-within .atlas-tooltip {
    display: block !important;
  }
}

.atlas-item.is-open {
  border-color: rgba(247, 214, 129, .38) !important;
  background: rgba(247, 214, 129, .06) !important;
}

.atlas-item.is-open .atlas-tooltip {
  display: block !important;
}

.atlas-floating-detail {
  position: fixed;
  z-index: 120;
  display: flex;
  align-items: flex-start;
  gap: 8px;
  max-width: calc(100vw - 16px);
  pointer-events: none;
}

.atlas-floating-detail .atlas-tooltip {
  position: static !important;
  left: auto !important;
  right: auto !important;
  top: auto !important;
  display: block !important;
  transform: none !important;
}

.atlas-floating-detail .dnf-equip-tooltip {
  width: min(390px, calc(100vw - 32px));
}

.atlas-floating-detail .dnf-set-tooltip {
  width: min(360px, calc(100vw - 32px));
}

@media (max-width: 760px) {
  .atlas-floating-detail {
    flex-direction: column;
  }
}

/* The APK shell already offsets content for its fixed topbar; remove old web-page hero gaps. */
body.act4-app-shell main > :first-child {
  margin-top: 0 !important;
}

body.act4-app-shell .video-watch-page,
body.act4-app-shell .video-center-page,
body.act4-app-shell .content-hub,
body.act4-app-shell .sub-layout,
body.act4-app-shell .account-page,
body.act4-app-shell .shop-page,
body.act4-app-shell .group-page,
body.act4-app-shell .article-panel,
body.act4-app-shell .portal-grid,
body.act4-app-shell .hub-grid {
  margin-top: 0 !important;
}

body.act4-app-shell .video-watch-page {
  width: 100% !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

/* 2026-06-17 checklist polish */
.app-search-results[hidden] {
  display: none !important;
}

.app-global-search button,
.app-screen-top .app-screen-search button {
  background: transparent !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  transform: translateY(3px) !important;
}

.app-global-search button::before,
.app-screen-top .app-screen-search button::before {
  border-color: #191b20 !important;
}

.app-global-search button::after,
.app-screen-top .app-screen-search button::after {
  background: #191b20 !important;
}

.app-icon-button,
.app-screen-menu,
body.app-screen-body .app-screen-top[data-app-global-topbar="1"] > button {
  background: transparent !important;
  box-shadow: none !important;
}

body.app-home-body .app-topbar,
body.app-screen-body .app-screen-top[data-app-global-topbar="1"] {
  background: rgba(255,255,255,.96) !important;
}

body.app-home-body .app-icon-button span,
.app-screen-menu i,
.app-screen-menu i::before,
.app-screen-menu i::after {
  background: #191b20 !important;
}

body.act4-app-shell main:has(.video-center-page),
body.act4-app-shell main:has(.image-center-page) {
  padding: calc(54px + env(safe-area-inset-top)) 0 calc(74px + env(safe-area-inset-bottom)) !important;
}

body.act4-app-shell .video-center-page,
body.act4-app-shell .image-center-page {
  width: 100% !important;
  min-height: calc(100dvh - 54px - env(safe-area-inset-top)) !important;
  margin: 0 !important;
  padding: 0 12px 18px !important;
  border: 0 !important;
  border-radius: 0 !important;
  color: #191b20 !important;
  background: #fff !important;
  box-shadow: none !important;
}

body.act4-app-shell .video-center-page::before,
body.act4-app-shell .image-center-page::before {
  display: none !important;
  content: none !important;
}

body.act4-app-shell .video-center-head {
  margin: 0 0 12px !important;
  padding-top: 0 !important;
}

body.act4-app-shell .video-toolbar {
  margin-top: 0 !important;
  padding-top: 0 !important;
}

body.act4-app-shell .video-empty,
body.act4-app-shell .app-muted,
body.act4-app-shell .ranking-source {
  color: #5f6874 !important;
}

body.app-home-body .app-feed-card a {
  grid-template-columns: auto minmax(0, 1fr);
  align-items: baseline;
  gap: 5px 8px;
}

body.app-home-body .app-feed-card span {
  grid-column: 1;
  grid-row: 1;
}

body.app-home-body .app-feed-card h2 {
  grid-column: 2;
  grid-row: 1;
  min-width: 0;
}

body.app-home-body .app-feed-card p,
body.app-home-body .app-feed-card small {
  grid-column: 1 / -1;
}

body.act4-app-shell .reward-grid button,
body.act4-app-shell .reward-grid p {
  min-height: 34px !important;
  border-radius: 7px !important;
  font-size: 11px !important;
  white-space: nowrap !important;
}

body.act4-app-shell .reward-grid button[data-vip-tone="sky"] {
  color: #1d5f91 !important;
  border-color: rgba(61, 155, 214, .34) !important;
  background: #ecf7ff !important;
}

body.act4-app-shell .reward-grid button[data-vip-tone="purple"] {
  color: #7050bb !important;
  border-color: rgba(125, 91, 212, .34) !important;
  background: #f3efff !important;
}

body.act4-app-shell .reward-grid button[data-vip-tone="pink"] {
  color: #c43d78 !important;
  border-color: rgba(221, 91, 148, .34) !important;
  background: #fff0f7 !important;
}

body.act4-app-shell .reward-grid button[data-vip-tone="gold"] {
  color: #9a6a08 !important;
  border-color: rgba(225, 172, 55, .42) !important;
  background: #fff7d8 !important;
}

body.act4-app-shell .reward-grid button.is-ready,
body.act4-app-shell .reward-grid button.is-current {
  color: #fff !important;
}

.power-emblem[data-power-tone="explore"],
.app-fame-badge[data-power-tone="explore"] { --power-job-filter: brightness(0) saturate(100%) invert(34%) sepia(27%) saturate(1175%) hue-rotate(134deg) brightness(105%) contrast(68%); }
.power-emblem[data-power-tone="pioneer"],
.app-fame-badge[data-power-tone="pioneer"] { --power-job-filter: brightness(0) saturate(100%) invert(31%) sepia(70%) saturate(5485%) hue-rotate(205deg) brightness(51%) contrast(61%); }
.power-emblem[data-power-tone="fearless"],
.app-fame-badge[data-power-tone="fearless"] { --power-job-filter: brightness(0) saturate(100%) invert(43%) sepia(43%) saturate(3527%) hue-rotate(232deg) brightness(56%) contrast(103%); }
.power-emblem[data-power-tone="conqueror"],
.app-fame-badge[data-power-tone="conqueror"] { --power-job-filter: brightness(0) saturate(100%) invert(43%) sepia(85%) saturate(2747%) hue-rotate(95deg) brightness(65%) contrast(56%); }
.power-emblem[data-power-tone="warlord"],
.app-fame-badge[data-power-tone="warlord"] { --power-job-filter: brightness(0) saturate(100%) invert(29%) sepia(24%) saturate(3385%) hue-rotate(9deg) brightness(166%) contrast(67%); }
.power-emblem[data-power-tone="heroic"],
.app-fame-badge[data-power-tone="heroic"] { --power-job-filter: brightness(0) saturate(100%) invert(17%) sepia(40%) saturate(5031%) hue-rotate(329deg) brightness(82%) contrast(94%); }
.power-emblem[data-power-tone="martial"],
.app-fame-badge[data-power-tone="martial"] { --power-job-filter: brightness(0) saturate(100%) invert(62%) sepia(10%) saturate(2912%) hue-rotate(195deg) brightness(72%) contrast(127%); }
.power-emblem[data-power-tone="transcendent"],
.app-fame-badge[data-power-tone="transcendent"] { --power-job-filter: brightness(0) saturate(100%) invert(51%) sepia(32%) saturate(307%) hue-rotate(118deg) brightness(112%) contrast(173%); }

.power-emblem .power-emblem-job,
.app-fame-badge .app-power-badge-job {
  filter: var(--power-job-filter) drop-shadow(0 3px 8px rgba(25, 31, 45, .32)) !important;
}

.app-stage-layout {
  grid-template-columns: 48px minmax(0, 1fr) 48px !important;
  gap: 0 !important;
}

.app-character-figure {
  min-height: 305px !important;
  overflow: visible !important;
}

.app-character-portrait {
  width: min(286px, 76vw) !important;
  height: 300px !important;
  overflow: visible !important;
}

.app-character-portrait.has-artwork .app-character-silhouette {
  width: min(304px, 78vw) !important;
  height: 330px !important;
  transform: scale(.816) translateY(8px) !important;
  transform-origin: center bottom !important;
}

.app-atlas-icon-button {
  border: 0 !important;
  background: transparent !important;
}

.app-atlas-card small {
  display: block !important;
  overflow: visible !important;
  -webkit-line-clamp: initial !important;
  white-space: normal !important;
}

body.app-home-body .account-modal-panel,
body.app-screen-body .account-modal-panel,
body.act4-app-shell .account-modal-panel,
body.app-home-body .account-modal .character-picker,
body.app-screen-body .account-modal .character-picker,
body.act4-app-shell .account-modal .character-picker {
  color: #191b20 !important;
  background: #fff !important;
}

body.app-home-body .account-modal .character-picker label span,
body.app-screen-body .account-modal .character-picker label span,
body.act4-app-shell .account-modal .character-picker label span,
body.app-home-body .account-modal .character-picker select,
body.app-screen-body .account-modal .character-picker select,
body.act4-app-shell .account-modal .character-picker select,
body.app-home-body .account-modal .account-modal-note,
body.app-screen-body .account-modal .account-modal-note,
body.act4-app-shell .account-modal .account-modal-note {
  color: #4b5563 !important;
}

body.app-home-body .account-modal .character-picker button[type="submit"],
body.app-screen-body .account-modal .character-picker button[type="submit"],
body.act4-app-shell .account-modal .character-picker button[type="submit"],
body.app-home-body .account-modal-form .btn,
body.app-screen-body .account-modal-form .btn,
body.act4-app-shell .account-modal-form .btn {
  color: #fff !important;
  background: #171b22 !important;
  border-color: #171b22 !important;
}

.signin-group-save {
  display: inline-grid;
  place-items: center;
  min-height: 36px;
  margin: 0 auto 12px;
  padding: 0 14px;
  border: 1px solid rgba(24, 28, 36, .10);
  border-radius: 999px;
  color: #191b20;
  background: #fff;
  font-size: 13px;
  font-weight: 900;
  text-decoration: none;
}

body.act4-app-shell .power-ranking-page .ranking-source {
  margin-bottom: 10px !important;
  color: #4b5563 !important;
}

body.act4-app-shell.newbie-guide-page .sub-layout {
  grid-template-columns: minmax(88px, 110px) minmax(0, 1fr) !important;
  align-items: start !important;
  gap: 12px !important;
}

body.act4-app-shell.newbie-guide-page .side-menu {
  display: grid !important;
  position: sticky !important;
  top: 72px !important;
  gap: 6px !important;
  padding: 8px !important;
  border-radius: 12px !important;
  background: #fff !important;
}

body.act4-app-shell.newbie-guide-page .side-menu a {
  min-height: 34px !important;
  padding: 0 8px !important;
  border-radius: 8px !important;
  font-size: 12px !important;
  text-align: center !important;
}

body.act4-app-shell.free-cera-static-page,
body.act4-app-shell.free-cera-static-page main,
body.act4-app-shell.free-cera-static-page .free-cera-static-layout,
body.act4-app-shell.free-cera-static-page .free-cera-static-panel {
  color: #191b20 !important;
  background: #fff !important;
}

/* Restore the desktop website surfaces when APK-specific rules are present later in the file. */
body:not(.app-home-body):not(.app-screen-body):not(.act4-app-shell).is-busy > *:not(.page-busy):not(.account-modal) {
  filter: blur(3px) brightness(.62) !important;
}

body:not(.app-home-body):not(.app-screen-body):not(.act4-app-shell) .page-busy {
  inset: 0 !important;
  display: grid !important;
  place-items: center !important;
  padding: 24px !important;
  background: rgba(0, 0, 0, .42) !important;
}

body:not(.app-home-body):not(.app-screen-body):not(.act4-app-shell) .page-busy > div {
  min-width: min(320px, calc(100vw - 48px)) !important;
  padding: 22px 26px !important;
  border: 1px solid rgba(214, 178, 104, .36) !important;
  border-radius: 0 !important;
  background:
    radial-gradient(circle at 18% 0%, rgba(214, 178, 104, .18), transparent 12rem),
    rgba(8, 8, 8, .92) !important;
  box-shadow: 0 18px 54px rgba(0, 0, 0, .50), inset 0 0 0 1px rgba(255, 255, 255, .035) !important;
}

body:not(.app-home-body):not(.app-screen-body):not(.act4-app-shell) .page-busy > div::before {
  content: none !important;
}

body:not(.app-home-body):not(.app-screen-body):not(.act4-app-shell) .page-busy strong {
  color: #fff5dd !important;
  font-size: 20px !important;
}

body:not(.app-home-body):not(.app-screen-body):not(.act4-app-shell) .page-busy span {
  color: rgba(245, 238, 226, .62) !important;
  font-size: 14px !important;
}

/* Final website modal/loading override after merged mobile rules. */
body:not(.app-home-body):not(.app-screen-body):not(.act4-app-shell).account-modal-open .account-modal {
  background: rgba(0, 0, 0, .72) !important;
}

body:not(.app-home-body):not(.app-screen-body):not(.act4-app-shell).account-modal-open .account-modal-panel,
body:not(.app-home-body):not(.app-screen-body):not(.act4-app-shell) .account-modal-panel,
body:not(.app-home-body):not(.app-screen-body):not(.act4-app-shell) .register-panel {
  border: 1px solid rgba(214, 178, 104, .42) !important;
  background:
    radial-gradient(circle at 18% 0%, rgba(214, 178, 104, .16), transparent 14rem),
    linear-gradient(180deg, rgba(25, 17, 11, .98), rgba(8, 7, 6, .98)) !important;
  color: #f6ead0 !important;
  box-shadow: 0 28px 90px rgba(0, 0, 0, .66), inset 0 1px 0 rgba(255, 255, 255, .08) !important;
}

body:not(.app-home-body):not(.app-screen-body):not(.act4-app-shell) .account-modal h2,
body:not(.app-home-body):not(.app-screen-body):not(.act4-app-shell) .register-panel h2 {
  color: #ffe39a !important;
}

body:not(.app-home-body):not(.app-screen-body):not(.act4-app-shell) .account-modal-form input,
body:not(.app-home-body):not(.app-screen-body):not(.act4-app-shell) .register-panel .account-modal-form input {
  border-color: rgba(214, 178, 104, .34) !important;
  background: rgba(0, 0, 0, .62) !important;
  color: #fff !important;
}

body:not(.app-home-body):not(.app-screen-body):not(.act4-app-shell) .account-modal-links a,
body:not(.app-home-body):not(.app-screen-body):not(.act4-app-shell) .account-modal-links button {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-height: 30px !important;
  padding: 0 8px !important;
  border: 0 !important;
  background: transparent !important;
  color: #5fb0ff !important;
  font-weight: 900 !important;
  line-height: 1.2 !important;
  text-decoration: none !important;
  cursor: pointer !important;
}

body:not(.app-home-body):not(.app-screen-body):not(.act4-app-shell) .account-modal-links {
  display: flex !important;
  flex-wrap: nowrap !important;
  justify-content: flex-end !important;
  gap: 18px !important;
  width: 100% !important;
  margin-top: 18px !important;
}

body:not(.app-home-body):not(.app-screen-body):not(.act4-app-shell) .register-content {
  display: block !important;
}

body:not(.app-home-body):not(.app-screen-body):not(.act4-app-shell) .register-panel {
  width: min(540px, calc(100vw - 32px)) !important;
  min-height: 0 !important;
  margin: 0 auto !important;
  padding: 34px 42px 38px !important;
}

body:not(.app-home-body):not(.app-screen-body):not(.act4-app-shell) .register-panel .account-code-row {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) 120px !important;
  gap: 10px !important;
  align-items: end !important;
}

body:not(.app-home-body):not(.app-screen-body):not(.act4-app-shell) .register-panel .account-form-hint {
  min-height: 0 !important;
  color: rgba(245, 238, 226, .62) !important;
  font-size: 12px !important;
  line-height: 1.6 !important;
}

body:not(.app-home-body):not(.app-screen-body):not(.act4-app-shell) .site-nav [data-vip-min][hidden] {
  display: none !important;
}

.dungeon-ranking-page {
  width: min(1180px, calc(100% - 32px));
  margin: 28px auto 70px;
  display: grid;
  grid-template-columns: minmax(230px, 300px) minmax(0, 1fr);
  gap: 18px;
  align-items: start;
}

.dungeon-rank-sidebar,
.dungeon-rank-board {
  background: rgba(20, 15, 12, 0.9);
  border: 1px solid rgba(206, 174, 111, 0.24);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.22);
}

.dungeon-rank-sidebar {
  border-radius: 8px;
  overflow: hidden;
}

.dungeon-rank-sidebar-head,
.dungeon-rank-board-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.dungeon-rank-sidebar-head {
  padding: 16px;
  border-bottom: 1px solid rgba(206, 174, 111, 0.18);
}

.dungeon-rank-sidebar-head strong,
.dungeon-rank-board-head h2 {
  color: #ffe6aa;
}

.dungeon-rank-sidebar-head span,
.dungeon-rank-party small,
.dungeon-rank-row time {
  color: rgba(255, 238, 203, 0.62);
}

.dungeon-rank-list {
  display: grid;
  max-height: 660px;
  overflow: auto;
}

.dungeon-rank-group h3 {
  margin: 0;
  padding: 12px 16px 7px;
  font-size: 12px;
  font-weight: 700;
  color: rgba(255, 238, 203, 0.58);
  background: rgba(15, 11, 8, 0.45);
}

.dungeon-rank-list button {
  appearance: none;
  border: 0;
  border-bottom: 1px solid rgba(206, 174, 111, 0.12);
  background: transparent;
  color: #f7e5c4;
  text-align: left;
  padding: 13px 16px;
  display: grid;
  gap: 4px;
  cursor: pointer;
}

.dungeon-rank-list button:hover,
.dungeon-rank-list button.is-active {
  background: linear-gradient(90deg, rgba(171, 52, 36, 0.35), rgba(206, 174, 111, 0.08));
}

.dungeon-rank-list button strong,
.dungeon-rank-party strong {
  font-size: 15px;
  color: #fff1cf;
}

.dungeon-rank-list button strong {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.dungeon-rank-list button em {
  flex: 0 0 auto;
  font-size: 11px;
  font-style: normal;
  color: #d7b66f;
}

.dungeon-rank-list button span {
  font-size: 12px;
  color: rgba(255, 238, 203, 0.6);
}

.dungeon-rank-board {
  border-radius: 8px;
  padding: 18px;
}

.dungeon-rank-board-head {
  margin-bottom: 16px;
}

.dungeon-rank-board-head h2 {
  margin: 2px 0 0;
  font-size: 24px;
}

.dungeon-rank-mode {
  display: inline-flex;
  padding: 3px;
  border: 1px solid rgba(206, 174, 111, 0.3);
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.18);
}

.dungeon-rank-mode button,
.dungeon-rank-mode a {
  border: 0;
  border-radius: 6px;
  padding: 8px 13px;
  color: #ead6ae;
  background: transparent;
  cursor: pointer;
  text-decoration: none;
  font-size: 14px;
}

.dungeon-rank-mode button.is-active {
  color: #2b160b;
  background: #e5b85f;
  font-weight: 700;
}

.dungeon-rank-table {
  display: grid;
  gap: 8px;
}

.dungeon-rank-row {
  display: grid;
  grid-template-columns: 78px minmax(260px, 1fr) minmax(150px, .42fr) 96px 142px 82px;
  align-items: center;
  gap: 12px;
  min-height: 58px;
  padding: 10px 12px;
  border: 1px solid rgba(206, 174, 111, 0.14);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.035);
}

.dungeon-rank-row.is-head {
  min-height: 38px;
  color: rgba(255, 238, 203, 0.62);
  font-size: 12px;
  background: rgba(0, 0, 0, 0.18);
}

.dungeon-rank-row[data-rank="1"] {
  border-color: rgba(240, 196, 93, 0.55);
  background: rgba(190, 123, 38, 0.18);
}

.dungeon-rank-no {
  color: #ffd36f;
  font-weight: 800;
}

.dungeon-rank-party {
  min-width: 0;
  display: grid;
  gap: 3px;
}

.dungeon-rank-party strong,
.dungeon-rank-party small {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.dungeon-rank-party strong {
  display: flex;
  align-items: center;
  gap: 9px;
}

.dungeon-rank-party strong em {
  flex: 0 0 auto;
  padding: 2px 6px;
  border: 1px solid rgba(226, 181, 91, .28);
  border-radius: 3px;
  color: #efc66f;
  background: rgba(226, 181, 91, .08);
  font-size: 12px;
  font-style: normal;
}

.dungeon-rank-level {
  color: #d7b66f;
  font-weight: 700;
}

.dungeon-rank-reward,
.dungeon-rank-reward-empty {
  position: relative;
  display: inline-grid;
  place-items: center;
  justify-self: start;
}

.dungeon-rank-reward {
  width: 42px;
  height: 42px;
  border: 1px solid rgba(226, 181, 91, .34);
  border-radius: 5px;
  background: radial-gradient(circle, rgba(226, 181, 91, .17), rgba(0, 0, 0, .38));
  cursor: help;
}

.dungeon-rank-reward img {
  width: 30px;
  height: 30px;
  image-rendering: pixelated;
}

.dungeon-rank-reward::after {
  content: attr(data-tooltip);
  position: absolute;
  z-index: 50;
  left: 50%;
  bottom: calc(100% + 10px);
  width: max-content;
  max-width: 280px;
  padding: 10px 12px;
  border: 1px solid #b78235;
  color: #f8e9ca;
  background: rgba(12, 9, 7, .98);
  box-shadow: 0 10px 28px rgba(0, 0, 0, .48);
  font-size: 12px;
  line-height: 1.55;
  white-space: normal;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translate(-50%, 4px);
  transition: .15s ease;
}

.dungeon-rank-reward:hover::after,
.dungeon-rank-reward:focus::after {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
}

.dungeon-rank-reward-empty {
  width: 42px;
  color: rgba(226, 214, 190, .2);
}

.dungeon-rank-token {
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
  justify-self: start;
  padding: 0;
  border: 0;
  border-radius: 0;
  color: #ffe3a0;
  background: none;
  white-space: nowrap;
}

.dungeon-rank-row .dungeon-rank-token b {
  color: #ffd166;
  font-size: 17px;
  font-variant-numeric: tabular-nums;
}

.dungeon-rank-token small { color: rgba(255, 231, 180, .7); font-size: 11px; font-weight: 700; }
.dungeon-reward-token-amount { color: #ffd166; font-size: 24px; }

.dungeon-rank-row b {
  color: #7fe0ff;
  font-size: 18px;
}

.dungeon-rank-video-link,
.dungeon-rank-video-empty {
  justify-self: start;
  font-size: 12px;
}

.dungeon-rank-video-link {
  padding: 6px 9px;
  border: 1px solid rgba(127, 224, 255, .42);
  border-radius: 6px;
  color: #8be5ff;
  text-decoration: none;
  background: rgba(34, 133, 166, .12);
}

.dungeon-rank-video-empty {
  color: rgba(255, 238, 203, .38);
}

.dungeon-record-state {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
  color: #ffd9d2;
}

.dungeon-record-character-fields {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 12px;
}

.dungeon-record-character-fields label {
  min-width: 0;
}

[data-dungeon-rank-record-select] option:disabled {
  color: #d8d0c3 !important;
  -webkit-text-fill-color: #d8d0c3 !important;
  background: #45413c !important;
  opacity: 1 !important;
  font-weight: 600;
}

.dungeon-record-picker {
  display: grid;
  gap: 10px;
}

.dungeon-record-picker > span,
.dungeon-record-picker > header > span {
  color: #ead9bd;
  font-weight: 700;
}

.dungeon-record-picker > span b,
.dungeon-record-picker > header > span b {
  color: #ff6655;
}

.dungeon-record-picker > header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.dungeon-record-picker > header .btn {
  min-height: 34px;
  padding: 7px 14px;
  font-size: 13px;
}

[data-dungeon-rank-record-list] {
  display: grid;
  gap: 8px;
}

[data-dungeon-rank-record-id] {
  width: 100%;
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border: 1px solid rgba(214, 178, 104, .24);
  border-radius: 6px;
  color: #eee2ce;
  background: rgba(255, 255, 255, .035);
  text-align: left;
  cursor: pointer;
}

[data-dungeon-rank-record-id]:hover,
[data-dungeon-rank-record-id].is-active {
  border-color: #e1b45d;
  background: rgba(190, 123, 38, .16);
}

[data-dungeon-rank-record-id] span {
  color: rgba(245, 235, 216, .62);
  font-size: 12px;
}

[data-dungeon-rank-record-id] strong {
  color: #fff0cf;
}

[data-dungeon-rank-record-id] em {
  color: #ff5045;
  font-style: normal;
  font-weight: 800;
}

[data-dungeon-rank-record-id]:disabled {
  opacity: .78;
  cursor: not-allowed;
}

.dungeon-season-shell {
  min-height: 100vh;
  padding: 120px clamp(18px, 4vw, 64px) 80px;
  color: #f4ead7;
  background: radial-gradient(circle at 78% 8%, rgba(150, 37, 25, .28), transparent 34%), linear-gradient(180deg, #0c0908, #16100d 42%, #090807);
}

.dungeon-season-hero,
.dungeon-season-overview,
.dungeon-participants,
.dungeon-season-rules,
.dungeon-season-tabs,
.dungeon-season-shell .dungeon-ranking-page {
  width: min(1320px, 100%);
  margin-left: auto;
  margin-right: auto;
}

.dungeon-season-hero {
  min-height: 210px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 22px 34px;
  padding: 44px;
  border: 1px solid rgba(226, 181, 91, .25);
  background: linear-gradient(100deg, rgba(8, 7, 6, .94), rgba(72, 24, 18, .72)), url("assets/home-hero-bg.png") center/cover;
  box-shadow: 0 25px 70px rgba(0, 0, 0, .42);
}

.dungeon-season-hero h1 { margin: 6px 0 12px; color: #ffd781; font-size: clamp(32px, 5vw, 62px); }
.dungeon-season-hero p { max-width: 760px; color: rgba(245, 235, 216, .7); }
.dungeon-season-actions { display: flex; justify-self: end; gap: 10px; flex-wrap: wrap; }

.dungeon-season-intro { min-width: 0; flex: 1 1 420px; }

.dungeon-pool-showcase {
  display: grid;
  place-items: center;
  width: 100%;
  padding: 34px 20px 42px;
}

.dungeon-million-pool {
  position: relative;
  display: grid;
  align-content: center;
  justify-items: center;
  width: auto;
  min-width: 0;
  min-height: 0;
  padding: 10px 24px;
  border: 0;
  background: transparent;
  box-shadow: none;
  overflow: visible;
}

.dungeon-million-pool::before {
  display: none;
}

.dungeon-million-pool::after {
  display: none;
}

.dungeon-million-pool span {
  position: static;
  justify-self: center;
  color: #ffdc86;
  font-size: clamp(15px, 1.35vw, 21px);
  font-weight: 900;
  letter-spacing: .28em;
  text-shadow: 0 0 18px rgba(255, 194, 55, .32);
}
.dungeon-million-pool strong {
  position: relative;
  color: #fff4c5;
  text-shadow: 0 4px 0 #713305, 0 0 32px rgba(255, 202, 77, .66), 0 0 72px rgba(255, 161, 22, .3);
  font-family: Consolas, "Arial Black", sans-serif;
  font-size: clamp(58px, 6vw, 96px);
  font-weight: 900;
  letter-spacing: .025em;
  font-variant-numeric: tabular-nums;
  line-height: .98;
}
.dungeon-million-pool em { color: #ffc94f; font-size: clamp(22px, 2vw, 30px); font-style: normal; font-weight: 900; letter-spacing: .12em; white-space: nowrap; }
.dungeon-million-pool small { margin-top: 12px; color: rgba(255, 239, 205, .76); font-size: clamp(13px, 1.1vw, 16px); letter-spacing: .04em; }

@keyframes dungeonMillionShine {
  0%, 42% { transform: translateX(-58%) rotate(8deg); opacity: 0; }
  55% { opacity: 1; }
  76%, 100% { transform: translateX(58%) rotate(8deg); opacity: 0; }
}

.dungeon-season-tabs {
  position: sticky;
  top: 78px;
  z-index: 20;
  display: flex;
  gap: 2px;
  margin-top: 20px;
  border-bottom: 1px solid rgba(226, 181, 91, .3);
  background: rgba(12, 9, 8, .94);
  backdrop-filter: blur(14px);
}

.dungeon-season-tabs button {
  padding: 16px 22px;
  border: 0;
  color: #b9aa91;
  background: transparent;
  cursor: pointer;
}
.dungeon-season-tabs button.is-active { color: #1d1108; background: linear-gradient(#f1d18b, #bd7f2d); font-weight: 900; }

.dungeon-season-overview { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; margin-top: 28px; }
.dungeon-season-overview article { min-height: 180px; padding: 30px; border: 1px solid rgba(226,181,91,.2); background: linear-gradient(145deg, rgba(45,34,27,.92), rgba(15,12,10,.95)); }
.dungeon-season-overview article.is-champion { background: linear-gradient(145deg, rgba(104,62,18,.55), rgba(27,15,10,.96)); }
.dungeon-season-overview span { color: #c99845; letter-spacing: .12em; }
.dungeon-season-overview h2 { color: #fff0c9; font-size: 28px; }

.dungeon-participants { margin-top: 16px; padding: 28px; border: 1px solid rgba(226,181,91,.18); background: rgba(17,13,11,.88); }
.dungeon-participants header { display: flex; justify-content: space-between; align-items: end; }
[data-dungeon-participants] { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 10px; margin-top: 18px; }
[data-dungeon-participants] article { display: grid; grid-template-columns: 1fr auto; gap: 5px 12px; padding: 14px; border-left: 3px solid #c9923d; background: rgba(255,255,255,.035); }
[data-dungeon-participants] article em { grid-column: 1/-1; color: #a99a84; font-style: normal; }

[data-dungeon-participants]:has(.dungeon-podium-table) {
  display: block;
  overflow-x: auto;
}

.dungeon-podium-table {
  min-width: 940px;
  border: 1px solid rgba(226, 181, 91, .16);
  background: rgba(7, 6, 5, .42);
}

.dungeon-podium-tabs {
  display: flex;
  width: max-content;
  margin-top: 22px;
  border: 1px solid rgba(226, 181, 91, .24);
  background: rgba(8, 7, 6, .55);
}

.dungeon-podium-tabs button {
  min-width: 136px;
  padding: 12px 22px;
  border: 0;
  border-right: 1px solid rgba(226, 181, 91, .18);
  color: #bcae96;
  background: transparent;
  font-weight: 800;
  cursor: pointer;
}

.dungeon-podium-tabs button:last-child {
  border-right: 0;
}

.dungeon-podium-tabs button.is-active {
  color: #291707;
  background: linear-gradient(180deg, #f3d68e, #bd7d2d);
  box-shadow: inset 0 1px rgba(255, 255, 255, .38);
}

.dungeon-podium-row {
  display: grid;
  grid-template-columns: minmax(240px, 1.3fr) repeat(3, minmax(190px, 1fr));
  align-items: stretch;
  border-bottom: 1px solid rgba(226, 181, 91, .11);
}

.dungeon-podium-row:last-child {
  border-bottom: 0;
}

.dungeon-podium-row > span {
  display: flex;
  min-width: 0;
  padding: 13px 15px;
  border-right: 1px solid rgba(226, 181, 91, .09);
}

.dungeon-podium-row > span:last-child {
  border-right: 0;
}

.dungeon-podium-row.is-head {
  color: #d3ae68;
  background: rgba(156, 91, 32, .2);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .08em;
}

.dungeon-podium-dungeon,
.dungeon-podium-player {
  position: relative;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
}

.dungeon-podium-player { padding-right: 108px !important; }

.dungeon-podium-reward {
  position: absolute;
  top: 50%;
  right: 25px;
  display: grid;
  justify-items: end;
  transform: translateY(-50%);
  color: #ffd166;
  font-style: normal;
  white-space: nowrap;
}

.dungeon-podium-reward strong { color: #ffd166; font-size: 16px; font-variant-numeric: tabular-nums; }
.dungeon-podium-reward small { color: rgba(255, 231, 180, .62); font-size: 10px; }

.dungeon-podium-dungeon b,
.dungeon-podium-player b {
  overflow: hidden;
  color: #f8e7c6;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.dungeon-podium-dungeon small,
.dungeon-podium-player small {
  color: rgba(232, 215, 184, .58);
}

.dungeon-podium-mode {
  align-items: center;
  justify-content: center;
  color: #d5b36d;
  font-weight: 900;
}

.dungeon-podium-player.is-rank-1 {
  background: linear-gradient(90deg, rgba(218, 155, 54, .14), transparent);
}

.dungeon-podium-player.is-rank-1 b {
  color: #ffd779;
}

.dungeon-podium-player.is-rank-1 .dungeon-podium-reward,
.dungeon-podium-player.is-rank-1 .dungeon-podium-reward strong,
.dungeon-podium-player.is-rank-1 .dungeon-podium-reward small {
  color: #ffd779;
}

.dungeon-podium-player.is-rank-2 b {
  color: #e4e7eb;
}

.dungeon-podium-player.is-rank-2 .dungeon-podium-reward,
.dungeon-podium-player.is-rank-2 .dungeon-podium-reward strong,
.dungeon-podium-player.is-rank-2 .dungeon-podium-reward small {
  color: #e4e7eb;
}

.dungeon-podium-player.is-rank-3 b {
  color: #d99a67;
}

.dungeon-podium-player.is-rank-3 .dungeon-podium-reward,
.dungeon-podium-player.is-rank-3 .dungeon-podium-reward strong,
.dungeon-podium-player.is-rank-3 .dungeon-podium-reward small {
  color: #d99a67;
}

.dungeon-podium-empty {
  align-items: center;
  justify-content: center;
  color: rgba(232, 215, 184, .24);
}

.dungeon-season-shell .dungeon-ranking-page { display: block; margin-top: 24px; }
.dungeon-season-shell .dungeon-rank-board { padding: clamp(18px, 3vw, 34px); border-radius: 0; background: rgba(15,12,10,.94); }
.dungeon-filter-stack { display: grid; gap: 18px; margin-bottom: 28px; }
.dungeon-filter-stack > section { display: grid; grid-template-columns: 160px minmax(0,1fr); align-items: start; gap: 16px; }
.dungeon-filter-stack > section > span { padding-top: 10px; color: #c6a466; font-weight: 800; }
.dungeon-rank-category, .dungeon-season-shell .dungeon-rank-mode { display: flex; flex-wrap: wrap; gap: 8px; padding: 0; border: 0; background: none; }
.dungeon-rank-category button, .dungeon-season-shell .dungeon-rank-mode button, .dungeon-season-shell .dungeon-rank-list button { padding: 10px 16px; border: 1px solid rgba(226,181,91,.2); border-radius: 3px; color: #d8c8ae; background: rgba(255,255,255,.035); cursor: pointer; }
.dungeon-rank-category button.is-active, .dungeon-season-shell .dungeon-rank-mode button.is-active, .dungeon-season-shell .dungeon-rank-list button.is-active { color: #201207; border-color: #e5b85f; background: linear-gradient(#f0d08b,#bc7c2b); font-weight: 900; }
.dungeon-season-shell .dungeon-rank-list { display: flex; flex-wrap: wrap; max-height: none; gap: 8px; }
.dungeon-season-shell .dungeon-rank-list button { width: auto; border-bottom: 1px solid rgba(226,181,91,.2); }
.dungeon-season-shell .dungeon-rank-list button strong { gap: 7px; font-size: 14px; color: inherit; }
.dungeon-season-shell .dungeon-rank-list button.is-active em {
  padding: 2px 5px;
  border: 1px solid rgba(55, 28, 6, .28);
  border-radius: 3px;
  color: #321904;
  background: rgba(255, 245, 213, .48);
  font-size: 12px;
  font-weight: 950;
  text-shadow: none;
}
.dungeon-season-shell .dungeon-rank-list button > span { display: none; }

.dungeon-season-rules { margin-top: 28px; padding: 34px; border: 1px solid rgba(226,181,91,.18); background: #110d0b; }
.dungeon-season-rules > div { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 12px; }
.dungeon-season-rules article { padding: 22px; background: rgba(255,255,255,.035); }
.dungeon-season-rules article b { color: #d69b3f; font-size: 28px; }
.dungeon-season-rules article p { color: #a99d89; line-height: 1.7; }

.dungeon-rule-block {
  margin-top: 26px;
  padding: clamp(18px, 3vw, 30px);
  border: 1px solid rgba(226, 181, 91, .16);
  background: linear-gradient(145deg, rgba(37, 26, 18, .88), rgba(13, 10, 8, .94));
}

.dungeon-season-panel > .dungeon-season-timeline-panel {
  width: 100%;
  margin: 0 0 24px;
}

.dungeon-rule-block > header span { color: #c78d35; font-size: 11px; font-weight: 900; letter-spacing: .18em; }

.dungeon-entry-guide {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 80% 0, rgba(210, 143, 43, .16), transparent 34%),
    linear-gradient(145deg, rgba(42, 27, 17, .96), rgba(13, 10, 8, .98));
}

.dungeon-entry-lead {
  max-width: 900px;
  margin: 10px 0 22px;
  color: #d6c7aa !important;
  font-size: 15px;
}

.dungeon-entry-steps {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
}

.dungeon-season-rules .dungeon-entry-steps article {
  position: relative;
  min-height: 230px;
  padding: 22px 18px;
  border-top: 2px solid rgba(222, 165, 67, .52);
  background: rgba(255, 255, 255, .035);
}

.dungeon-entry-steps article b {
  display: block;
  margin-bottom: 16px;
  color: rgba(238, 181, 78, .35);
  font-size: 42px;
  line-height: 1;
}

.dungeon-entry-steps h4,
.dungeon-recording-options h4 {
  margin: 0 0 9px;
  color: #f2cc7e;
  font-size: 17px;
}

.dungeon-entry-steps article p,
.dungeon-recording-options article p {
  margin: 0;
  color: #aaa08e;
  font-size: 13px;
  line-height: 1.8;
}

.dungeon-recording-options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 14px;
}

.dungeon-season-rules .dungeon-recording-options article {
  padding: 19px 22px;
  border: 1px solid rgba(224, 175, 82, .14);
  background: rgba(7, 6, 5, .3);
}

.dungeon-entry-warning {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 16px;
  margin-top: 14px;
  padding: 16px 18px;
  border-left: 3px solid #d79a36;
  color: #b8ac97;
  background: rgba(215, 154, 54, .08);
  line-height: 1.7;
}

.dungeon-entry-warning strong { color: #ffd77d; white-space: nowrap; }
.dungeon-entry-action { margin-top: 18px; }
.dungeon-rule-block > header h3 { margin: 5px 0 20px; color: #ffe7ae; font-size: clamp(21px, 3vw, 30px); }
.dungeon-prize-tables { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.dungeon-prize-tables article { padding: 20px; border: 1px solid rgba(226, 181, 91, .15); background: rgba(255, 255, 255, .025); }
.dungeon-prize-tables h4 { margin: 0 0 8px; color: #f1c86d; font-size: 18px; }
.dungeon-prize-tables article > p { min-height: 58px; margin: 0 0 14px; font-size: 12px; }
.dungeon-prize-tables ol { display: grid; gap: 6px; margin: 0; padding: 0; list-style: none; }
.dungeon-prize-tables li { display: flex; align-items: center; justify-content: space-between; padding: 7px 10px; background: rgba(255,255,255,.035); }
.dungeon-prize-tables li span { color: #cbbda3; }
.dungeon-prize-tables li strong { color: #ffd166; font-size: 17px; font-variant-numeric: tabular-nums; }
.dungeon-prize-tables footer { margin-top: 14px; padding-top: 12px; border-top: 1px solid rgba(226,181,91,.15); color: #9f927d; font-size: 12px; }
.dungeon-prize-tables footer b { color: #ffd166; font-size: 16px; }
.dungeon-prize-total { display: flex; align-items: center; justify-content: center; gap: 14px; margin: 20px 0 0; padding: 16px; color: #c8b99d; background: rgba(226,181,91,.07); }
.dungeon-prize-total strong { color: #ffd166; font-size: clamp(22px, 3vw, 34px); }
.dungeon-pool-explain > p { color: #bcb09c; line-height: 1.8; }
.dungeon-pool-explain > p strong { color: #ffd166; font-size: 20px; }
.dungeon-pool-formula { display: flex; align-items: center; justify-content: center; gap: 14px; margin: 18px 0; padding: 18px; border: 1px solid rgba(255,205,91,.23); color: #ead7b0; background: rgba(0,0,0,.22); }
.dungeon-pool-formula span:first-child { color: #ffd166; font-size: clamp(26px, 4vw, 42px); font-weight: 900; }
.dungeon-pool-formula i { color: #a98a54; font-size: 24px; font-style: normal; }
.dungeon-pool-formula strong { color: #fff0bd; font-size: 18px; }
.dungeon-season-timeline { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.dungeon-season-timeline article { position: relative; padding: 20px; border-left: 3px solid #c78d35; background: rgba(255,255,255,.025); }
.dungeon-season-timeline article > b { display: block; color: rgba(214,155,63,.32); font-size: 34px; }
.dungeon-season-timeline article > strong { display: block; margin: 5px 0; color: #ffd77d; font-size: 18px; }
.dungeon-season-timeline article p { margin: 0; }

.dungeon-reward-dialog { width: min(620px, calc(100% - 30px)); padding: 30px; border: 1px solid #b9853b; color: #f4e5c8; background: #17110e; }
.dungeon-reward-dialog::backdrop { background: rgba(0,0,0,.75); }
.dungeon-reward-dialog > button { float: right; border: 0; color: #fff; background: none; font-size: 28px; cursor: pointer; }

@media (max-width: 800px) {
  .dungeon-season-hero { align-items: start; flex-direction: column; padding: 26px; }
  .dungeon-season-overview, .dungeon-season-rules > div { grid-template-columns: 1fr; }
  .dungeon-filter-stack > section { grid-template-columns: 1fr; }
  .dungeon-season-tabs { top: 66px; overflow-x: auto; }
}

.dungeon-record-state[hidden] {
  display: none;
}

.dungeon-record-state i {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #ff4d3d;
  box-shadow: 0 0 0 5px rgba(255, 77, 61, .13);
  animation: dungeon-record-pulse 1.2s infinite;
}

/* Dungeon league: PK-style side navigation with isolated scroll panels. */
body.dungeon-season-page {
  min-height: 100vh;
  height: auto;
  overflow-x: hidden;
  overflow-y: auto;
}

.dungeon-season-page .site-footer {
  display: none;
}

.dungeon-season-page .dungeon-season-shell {
  min-height: 100vh;
  height: auto;
  padding: 80px 0 0;
  overflow: visible;
}

.dungeon-season-workspace {
  display: grid;
  grid-template-columns: 276px minmax(0, 1fr);
  width: 100%;
  min-height: calc(100vh - 80px);
  height: auto;
  align-items: start;
}

.dungeon-season-page .dungeon-season-tabs {
  position: fixed;
  top: 80px;
  left: 0;
  z-index: 10;
  display: flex;
  flex-direction: column;
  width: 276px;
  min-height: 0;
  height: calc(100vh - 80px);
  align-self: start;
  margin: 0;
  border: 0;
  border-right: 1px solid rgba(226, 181, 91, .22);
  background: linear-gradient(180deg, rgba(13, 10, 9, .98), rgba(27, 16, 12, .98));
  backdrop-filter: none;
}

.dungeon-season-mark {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 116px;
  padding: 24px 22px;
  border-bottom: 1px solid rgba(226, 181, 91, .2);
  color: #f3dfb2;
  text-decoration: none;
}

.dungeon-season-mark span {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  color: #261507;
  background: linear-gradient(145deg, #f3d58e, #b87827);
  font-size: 19px;
  font-weight: 950;
}

.dungeon-season-mark strong {
  font-size: 13px;
  line-height: 1.25;
  letter-spacing: .12em;
}

.dungeon-season-tabs nav {
  flex: 1;
  overflow: hidden;
}

[data-dungeon-season-tabs] {
  display: contents;
}

.dungeon-season-page .dungeon-season-tabs button {
  position: relative;
  display: grid;
  width: 100%;
  gap: 5px;
  padding: 20px 22px;
  border: 0;
  border-bottom: 1px solid rgba(226, 181, 91, .12);
  text-align: left;
}

.dungeon-season-page .dungeon-season-tabs button::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 3px;
  background: transparent;
}

.dungeon-season-page .dungeon-season-tabs button b {
  font-size: 16px;
}

.dungeon-season-page .dungeon-season-tabs button small {
  color: rgba(220, 204, 177, .5);
  font-size: 11px;
}

.dungeon-season-page .dungeon-season-tabs button.is-active {
  color: #ffe2a0;
  background: linear-gradient(90deg, rgba(151, 77, 24, .45), rgba(68, 29, 18, .18));
}

.dungeon-season-page .dungeon-season-tabs button.is-active::before {
  background: #e6ae4f;
  box-shadow: 0 0 18px rgba(230, 174, 79, .8);
}

.dungeon-season-tabs footer {
  display: grid;
  gap: 3px;
  padding: 20px 22px;
  border-top: 1px solid rgba(226, 181, 91, .15);
  color: rgba(226, 181, 91, .52);
  font-size: 10px;
  letter-spacing: .14em;
}

.dungeon-season-main {
  display: block;
  grid-column: 2;
  min-width: 0;
  min-height: calc(100vh - 80px);
  overflow: visible;
}

.dungeon-season-page .dungeon-season-hero {
  width: 100%;
  min-height: 210px;
  margin: 0;
  padding: 30px clamp(28px, 4vw, 72px);
  border-width: 0 0 1px;
  box-shadow: none;
}

.dungeon-season-page .dungeon-season-hero h1 {
  font-size: clamp(30px, 3.5vw, 52px);
}

.dungeon-season-panels {
  position: relative;
  min-width: 0;
  min-height: 1px;
  overflow: visible;
}

.dungeon-season-panel {
  display: none;
  width: 100%;
  height: auto;
  padding: 24px clamp(24px, 3vw, 54px) 48px;
  overflow: visible;
}

.dungeon-season-panel.is-active {
  display: block;
}

.dungeon-season-panel > .dungeon-season-overview,
.dungeon-season-panel > .dungeon-participants,
.dungeon-season-panel > .dungeon-season-rules,
.dungeon-season-panel > .dungeon-ranking-page {
  width: 100%;
  max-width: none;
  margin-left: 0;
  margin-right: 0;
}

.dungeon-season-panel > .dungeon-season-overview {
  margin-top: 0;
}

.dungeon-season-panel > .dungeon-ranking-page {
  margin-top: 0;
}

.dungeon-season-panel > .dungeon-season-rules {
  margin-top: 0;
}

@media (min-width: 1500px) {
  .dungeon-season-workspace {
    grid-template-columns: 276px minmax(0, 1fr);
  }

  [data-dungeon-participants] {
    grid-template-columns: repeat(4, minmax(220px, 1fr));
  }

  .dungeon-season-overview {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 800px) {
  .dungeon-season-page .dungeon-season-shell {
    padding-top: 66px;
  }

  .dungeon-season-workspace {
    grid-template-columns: 1fr;
    grid-template-rows: auto minmax(0, 1fr);
  }

  .dungeon-season-page .dungeon-season-tabs {
    position: sticky;
    top: 66px;
    left: auto;
    flex: none;
    width: 100%;
    min-height: 0;
    height: auto;
    border-right: 0;
    border-bottom: 1px solid rgba(226, 181, 91, .22);
  }

  .dungeon-season-main {
    grid-column: 1;
  }

  .dungeon-season-mark,
  .dungeon-season-tabs footer {
    display: none;
  }

  .dungeon-season-tabs nav {
    flex: none;
    display: flex;
    align-items: stretch;
    width: 100%;
    min-height: 0;
    overflow-x: auto;
    overflow-y: hidden;
    scrollbar-width: none;
  }

  .dungeon-season-tabs nav::-webkit-scrollbar { display: none; }

  .dungeon-season-page .dungeon-season-tabs button {
    flex: 1 1 0;
    align-content: center;
    justify-items: center;
    width: 0;
    min-width: 0;
    min-height: 58px;
    gap: 2px;
    padding: 8px 5px;
    text-align: center;
    white-space: nowrap;
  }

  .dungeon-season-page .dungeon-season-tabs button::before {
    inset: auto 10px 0;
    width: auto;
    height: 2px;
  }

  .dungeon-season-page .dungeon-season-tabs button b {
    font-size: 14px;
    line-height: 1.2;
  }

  .dungeon-season-page .dungeon-season-tabs button small {
    max-width: 100%;
    overflow: hidden;
    font-size: 9px;
    line-height: 1.2;
    text-overflow: ellipsis;
  }

  .dungeon-season-main {
    grid-template-rows: auto minmax(0, 1fr);
  }

  .dungeon-season-page .dungeon-season-hero {
    min-height: 0;
    grid-template-columns: 1fr;
    padding: 20px;
  }

  .dungeon-season-page .dungeon-season-hero h1 {
    margin-bottom: 8px;
    font-size: clamp(26px, 8vw, 34px);
  }

  .dungeon-season-page .dungeon-season-hero p {
    margin-bottom: 0;
    font-size: 13px;
    line-height: 1.65;
  }

  .dungeon-season-actions { justify-self: start; }

  .dungeon-million-pool {
    justify-self: stretch;
    min-height: 0;
    padding: 12px 0;
  }

  .dungeon-million-pool strong { font-size: clamp(54px, 14vw, 82px); }
  .dungeon-million-pool span { position: static; font-size: 12px; letter-spacing: .16em; }
  .dungeon-million-pool small { font-size: 12px; }
  .dungeon-million-pool em { font-size: clamp(17px, 4.5vw, 24px); }

  .dungeon-season-panel {
    padding: 18px 14px 30px;
  }

  .dungeon-pool-showcase { padding: 22px 4px 26px; }

  .dungeon-participants {
    padding: 16px 12px;
  }

  .dungeon-participants header {
    align-items: flex-start;
    flex-direction: column;
    gap: 6px;
  }

  .dungeon-participants h2 { margin: 4px 0 0; font-size: 20px; }

  [data-dungeon-participants]:has(.dungeon-podium-table) { overflow-x: visible; }

  .dungeon-podium-tabs {
    width: 100%;
    margin-top: 14px;
  }

  .dungeon-podium-tabs button {
    flex: 1 1 0;
    min-width: 0;
    padding: 10px 8px;
  }

  .dungeon-podium-table { min-width: 0; border: 0; background: transparent; }
  .dungeon-podium-row.is-head { display: none; }
  .dungeon-podium-row {
    grid-template-columns: 1fr;
    margin-bottom: 10px;
    border: 1px solid rgba(226, 181, 91, .14);
    background: rgba(7, 6, 5, .42);
  }
  .dungeon-podium-row:last-child { margin-bottom: 0; }
  .dungeon-podium-row > span {
    min-height: 46px;
    padding: 10px 12px;
    border-right: 0;
    border-bottom: 1px solid rgba(226, 181, 91, .09);
  }
  .dungeon-podium-row > span:last-child { border-bottom: 0; }
  .dungeon-podium-dungeon {
    min-height: 52px !important;
    background: rgba(156, 91, 32, .14);
  }
  .dungeon-podium-player { padding-left: 62px !important; padding-right: 92px !important; }
  .dungeon-podium-player::before {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: rgba(232, 215, 184, .46);
    font-size: 11px;
    font-weight: 900;
  }
  .dungeon-podium-player.is-rank-1::before { content: "第1名"; color: #ffd779; }
  .dungeon-podium-player.is-rank-2::before { content: "第2名"; color: #e4e7eb; }
  .dungeon-podium-player.is-rank-3::before { content: "第3名"; color: #d99a67; }
  .dungeon-podium-reward { right: 12px; }

  .dungeon-season-rules { padding: 16px 12px; }
  .dungeon-season-rules article { padding: 16px; }
  .dungeon-rule-block { margin-top: 16px; padding: 16px 12px; }
  .dungeon-filter-stack { gap: 14px; margin-bottom: 18px; }
  .dungeon-filter-stack > section { gap: 8px; }
  .dungeon-filter-stack > section > span { padding-top: 0; }
}

.dungeon-record-state time {
  color: #fff1cf;
  font-variant-numeric: tabular-nums;
}

.dungeon-record-state span,
.dungeon-record-tip {
  width: 100%;
  color: rgba(255, 238, 203, .62);
  font-size: 12px;
  line-height: 1.6;
}

.dungeon-record-tip {
  margin: 9px 0 0;
}

@keyframes dungeon-record-pulse {
  50% { opacity: .45; transform: scale(.82); }
}

@media (max-width: 860px) {
  .dungeon-ranking-page {
    grid-template-columns: 1fr;
  }

  .dungeon-rank-board-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .dungeon-rank-row {
    grid-template-columns: 52px minmax(0, 1fr) 64px 82px 72px;
  }

  .dungeon-rank-row time,
  .dungeon-rank-row.is-head span:nth-child(5) {
    display: none;
  }

  .dungeon-million-pool { width: 100%; min-width: 0; }
  .dungeon-rank-token { padding: 0; }
  .dungeon-rank-row .dungeon-rank-token b { font-size: 14px; }
  .dungeon-rank-token small { display: none; }
  .dungeon-podium-player { padding-right: 84px !important; }
  .dungeon-podium-reward { right: 19px; }
  .dungeon-podium-reward strong { font-size: 14px; }
  .dungeon-prize-tables, .dungeon-season-timeline { grid-template-columns: 1fr; }
  .dungeon-entry-steps { grid-template-columns: 1fr; }
  .dungeon-season-rules .dungeon-entry-steps article { min-height: 0; }
  .dungeon-recording-options { grid-template-columns: 1fr; }
  .dungeon-entry-warning { grid-template-columns: 1fr; gap: 5px; }
  .dungeon-prize-tables article > p { min-height: 0; }
  .dungeon-prize-total, .dungeon-pool-formula { align-items: flex-start; flex-direction: column; }
}

@media (max-width: 560px) {
  .dungeon-season-actions,
  .dungeon-season-actions .btn { width: 100%; }
  .dungeon-season-actions .btn { flex: 1 1 0; min-width: 0; padding-inline: 8px; }

  .dungeon-million-pool { padding-inline: 0; }
  .dungeon-million-pool strong { font-size: clamp(43px, 13.5vw, 58px); letter-spacing: 0; }
  .dungeon-million-pool small { text-align: center; }

  .dungeon-season-shell .dungeon-rank-board { padding: 12px 10px; }
  .dungeon-rank-category,
  .dungeon-season-shell .dungeon-rank-list { gap: 6px; }
  .dungeon-rank-category button,
  .dungeon-season-shell .dungeon-rank-list button { padding: 8px 10px; font-size: 12px; }
  .dungeon-rank-board-head .btn { width: 100%; }
  .dungeon-rank-row.is-head { display: none; }
  .dungeon-rank-row {
    grid-template-columns: 42px minmax(0, 1fr) auto;
    gap: 6px 8px;
    min-height: 72px;
    padding: 9px 8px;
  }
  .dungeon-rank-no { grid-column: 1; grid-row: 1 / 3; align-self: center; }
  .dungeon-rank-party { grid-column: 2; grid-row: 1; }
  .dungeon-rank-party strong { gap: 5px; font-size: 14px; }
  .dungeon-rank-party small { font-size: 10px; }
  .dungeon-rank-token,
  .dungeon-rank-reward-empty { grid-column: 3; grid-row: 1; justify-self: end; }
  .dungeon-rank-row > b { grid-column: 2; grid-row: 2; font-size: 14px; }
  .dungeon-rank-video-link,
  .dungeon-rank-video-empty { grid-column: 3; grid-row: 2; justify-self: end; }

  .dungeon-prize-tables article { padding: 15px 12px; }
  .dungeon-prize-tables li { gap: 10px; }
  .dungeon-prize-tables li strong { font-size: 15px; }
  .dungeon-prize-total { gap: 8px; padding: 12px; }
  .dungeon-prize-total span { font-size: 12px; }
  .dungeon-pool-formula { gap: 7px; padding: 13px; }

  .video-studio-layout,
  .video-studio-layout.has-return {
    width: calc(100% - 24px);
    min-height: 0;
    padding: 82px 0 32px;
    gap: 10px;
  }
  .video-studio-return .btn { width: 100%; }
  .video-studio-sidebar { padding: 8px; }
  .video-upload-panel { padding: 18px 12px 30px; }
  .video-upload-preview { width: 100%; }
  .video-upload-file-actions .btn { flex: 1 1 120px; min-width: 0; }
  .video-upload-actions { flex-wrap: wrap; gap: 8px; }
  .video-upload-actions .btn { flex: 1 1 130px; min-width: 0; }
  .dungeon-record-picker > header { align-items: stretch; flex-direction: column; }
  .dungeon-record-picker > header .btn { width: 100%; }
  [data-dungeon-rank-record-id] { grid-template-columns: 1fr; gap: 5px; padding: 10px; }
  .dungeon-submit-detected p,
  .dungeon-submit-detected div { grid-template-columns: 1fr; gap: 4px; }
  .dungeon-submit-detected p { grid-template-columns: 1fr; }
}

body.activity-page:not(.act4-app-shell) {
  color: var(--text) !important;
  background:
    linear-gradient(180deg, #0a0a0a 0, #12100d 460px, #0b0b0b 920px),
    var(--bg) !important;
}

body.activity-page:not(.act4-app-shell) main {
  padding-top: 0 !important;
}

body.activity-page:not(.act4-app-shell) .content-hub,
body.activity-page:not(.act4-app-shell) .activity-layout {
  padding: clamp(64px, 8vw, 104px) clamp(20px, 6vw, 86px) !important;
}

body.activity-page:not(.act4-app-shell) .activity-layout {
  grid-template-columns: minmax(360px, 1.1fr) minmax(280px, .7fr) !important;
}

body.activity-page:not(.act4-app-shell) .article-panel,
body.activity-page:not(.act4-app-shell) .activity-primary,
body.activity-page:not(.act4-app-shell) .signin-page {
  background: linear-gradient(180deg, rgba(255, 255, 255, .04), rgba(255, 255, 255, .015)), var(--panel) !important;
}

body.activity-page:not(.act4-app-shell) .activity-reward-list {
  padding: 16px !important;
  border: 1px solid rgba(214, 178, 104, .20) !important;
  background: rgba(7, 7, 7, .34) !important;
}

body.activity-page:not(.act4-app-shell) .activity-reward-list h3,
body.activity-page:not(.act4-app-shell) .activity-method h2,
body.activity-page:not(.act4-app-shell) .activity-side h2 {
  color: #fff5dd !important;
}

body.activity-page:not(.act4-app-shell) .newcomer-reward-grid {
  gap: 10px !important;
  margin-top: 12px !important;
}

body.activity-page:not(.act4-app-shell) .newcomer-reward-item {
  grid-template-columns: 42px minmax(0, 1fr) auto !important;
  min-height: 70px !important;
  padding: 12px 14px !important;
  border: 1px solid rgba(214, 178, 104, .18) !important;
  background: rgba(255, 255, 255, .035) !important;
}

body.activity-page:not(.act4-app-shell) .newcomer-reward-item strong {
  color: #fff5dd !important;
}

body.activity-page:not(.act4-app-shell) .newcomer-reward-item span,
body.activity-page:not(.act4-app-shell) .newcomer-reward-item small {
  color: rgba(245, 238, 226, .70) !important;
}

body.activity-page:not(.act4-app-shell) .activity-inline-status {
  color: #f0d48c !important;
}

body:not(.app-home-body):not(.app-screen-body):not(.act4-app-shell) .signin-page {
  background: transparent !important;
}

body:not(.app-home-body):not(.app-screen-body):not(.act4-app-shell) .signin-daily-panel,
body:not(.app-home-body):not(.app-screen-body):not(.act4-app-shell) .signin-group-panel {
  gap: 16px !important;
}

body:not(.app-home-body):not(.app-screen-body):not(.act4-app-shell) .signin-daily-row {
  min-height: 70px !important;
  padding: 12px 14px !important;
  border: 1px solid rgba(214, 178, 104, .18) !important;
  background: rgba(255, 255, 255, .035) !important;
}

body:not(.app-home-body):not(.app-screen-body):not(.act4-app-shell) .signin-daily-row strong,
body:not(.app-home-body):not(.app-screen-body):not(.act4-app-shell) .newcomer-reward-item > div strong {
  color: #fff5dd !important;
}

body:not(.app-home-body):not(.app-screen-body):not(.act4-app-shell) .signin-daily-row span,
body:not(.app-home-body):not(.app-screen-body):not(.act4-app-shell) .signin-daily-row small,
body:not(.app-home-body):not(.app-screen-body):not(.act4-app-shell) .signin-daily-hint,
body:not(.app-home-body):not(.app-screen-body):not(.act4-app-shell) .activity-inline-hint,
body:not(.app-home-body):not(.app-screen-body):not(.act4-app-shell) .signin-group-panel p {
  color: rgba(245, 238, 226, .70) !important;
}

body:not(.app-home-body):not(.app-screen-body):not(.act4-app-shell) .signin-group-save {
  border-color: rgba(214, 178, 104, .24) !important;
  color: #fff5dd !important;
  background: rgba(7, 7, 7, .48) !important;
}

body.activity-page:not(.act4-app-shell) .newcomer-reward-item.compensation-reward-item {
  grid-template-columns: 42px auto !important;
  justify-content: start !important;
}

body.activity-page:not(.act4-app-shell) .newcomer-reward-item.compensation-reward-item > div {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: flex-start !important;
  gap: 10px !important;
  min-width: 0 !important;
}

body.activity-page:not(.act4-app-shell) .newcomer-reward-item.compensation-reward-item > div strong {
  flex: 0 1 auto !important;
  min-width: 0 !important;
}

body.activity-page:not(.act4-app-shell) .newcomer-reward-item.compensation-reward-item > div span {
  justify-self: start !important;
  margin-top: 0 !important;
  white-space: nowrap !important;
}

.skill-planner-page .embedded-tool-scale {
  position: relative !important;
  overflow: hidden !important;
  width: 100% !important;
  max-width: 100% !important;
  height: var(--tool-scaled-height, 2400px) !important;
  min-height: var(--tool-scaled-height, 2400px) !important;
  -webkit-overflow-scrolling: auto !important;
}

.skill-planner-page .embedded-tool-scale iframe {
  display: block !important;
  width: var(--tool-design-width, 1100px) !important;
  min-width: var(--tool-design-width, 1100px) !important;
  max-width: none !important;
  height: var(--tool-design-height, 2400px) !important;
  min-height: var(--tool-design-height, 2400px) !important;
  border: 0 !important;
  transform: scale(var(--tool-scale, 1)) !important;
  transform-origin: 0 0 !important;
}

body.act4-app-shell.skill-planner-page .article-panel {
  overflow: hidden !important;
}

body.act4-app-shell.skill-planner-page .embedded-tool-scale,
body.app-screen-body .embedded-tool-scale {
  margin-right: auto !important;
  margin-left: auto !important;
}

/* ACT4 APK private chat merge 20260618 */
.app-private-panel.is-list-page,
.app-private-panel.is-thread-page {
  min-height: calc(100vh - 178px) !important;
  padding: 0 !important;
  border-radius: 0 !important;
  background: #f3f4f7 !important;
}

.app-private-panel.is-list-page h2,
.app-private-panel.is-thread-page h2 {
  font-size: 16px !important;
  line-height: 1.2 !important;
}

.app-private-panel.is-list-page + .app-chat-status,
.app-private-panel.is-thread-page + .app-chat-status {
  margin: 0 !important;
}

.app-private-panel.is-list-page .app-private-head,
.app-private-panel.is-thread-page .app-private-head {
  min-height: 42px !important;
  padding: 5px 10px !important;
  border-bottom: 1px solid rgba(0, 0, 0, .06) !important;
  background: #fff !important;
}

.app-private-panel.is-list-page .app-private-list {
  gap: 0 !important;
  background: #fff !important;
}

.app-private-panel.is-list-page .app-private-peer {
  min-height: 64px !important;
  border: 0 !important;
  border-bottom: 1px solid rgba(0, 0, 0, .06) !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}

.app-private-panel.is-thread-page .app-private-layout {
  min-height: calc(100vh - 272px) !important;
  background: #eef0f4 !important;
}

.app-private-panel.is-thread-page .app-private-thread {
  display: grid !important;
  grid-template-rows: auto minmax(0, 1fr) auto !important;
  min-height: calc(100vh - 272px) !important;
  gap: 0 !important;
}

.app-private-panel.is-thread-page .app-private-thread-head {
  padding: 8px 10px !important;
  border-bottom: 1px solid rgba(0, 0, 0, .05) !important;
  background: #fff !important;
}

.app-private-panel.is-thread-page .app-private-messages {
  display: flex !important;
  flex-direction: column !important;
  gap: 10px !important;
  max-height: none !important;
  min-height: 0 !important;
  padding: 12px 10px !important;
  overflow: auto !important;
  background: #eef0f4 !important;
}

.app-private-panel.is-thread-page .app-private-message {
  width: 100% !important;
  max-width: none !important;
  display: grid !important;
  grid-template-columns: 34px minmax(0, 1fr) 34px !important;
  align-items: start !important;
  gap: 8px !important;
  padding: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
}

.app-private-panel.is-thread-page .app-private-message.is-mine {
  justify-self: stretch !important;
}

.app-private-message-avatar {
  width: 34px !important;
  height: 34px !important;
  display: grid !important;
  place-items: center !important;
  overflow: hidden !important;
  border-radius: 5px !important;
  background: #e8edf5 !important;
  color: #576071 !important;
  font-size: 13px !important;
  font-weight: 900 !important;
}

.app-private-message-avatar img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
}

.app-private-message-body {
  grid-column: 2 !important;
  width: fit-content !important;
  max-width: min(78vw, 360px) !important;
  justify-self: start !important;
}

.app-private-message.is-mine .app-private-message-body {
  justify-self: end !important;
}

.app-private-message-body b {
  display: block !important;
  margin: 0 0 3px !important;
  color: #8a9099 !important;
  font-size: 11px !important;
  font-weight: 500 !important;
}

.app-private-message.is-mine .app-private-message-body b {
  text-align: right !important;
}

.app-private-message-body p {
  position: relative !important;
  margin: 0 !important;
  padding: 9px 11px !important;
  border-radius: 5px !important;
  background: #fff !important;
  color: #111 !important;
  font-size: 14px !important;
  line-height: 1.45 !important;
  box-shadow: 0 1px 1px rgba(0, 0, 0, .04) !important;
}

.app-private-message.is-mine .app-private-message-body p {
  background: #95ec69 !important;
}

.app-private-message-body small {
  display: block !important;
  margin-top: 3px !important;
  color: #a0a6af !important;
  font-size: 10px !important;
}

.app-private-message.is-mine .app-private-message-body small {
  text-align: right !important;
}

.app-private-panel.is-thread-page .app-private-compose {
  position: sticky !important;
  bottom: 0 !important;
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) 58px !important;
  gap: 8px !important;
  padding: 8px 10px calc(8px + env(safe-area-inset-bottom)) !important;
  border-top: 1px solid rgba(0, 0, 0, .06) !important;
  background: #f7f7f7 !important;
}

.app-private-panel.is-thread-page .app-private-compose input {
  height: 38px !important;
  border: 0 !important;
  border-radius: 4px !important;
  background: #fff !important;
}

.app-private-panel.is-thread-page .app-private-compose button {
  min-height: 38px !important;
  border-radius: 4px !important;
  background: #07c160 !important;
}

/* 2026-06-17 round 8: compact menu, sliding carousel, equipment labels, WeChat-like private list. */
body.app-home-body .app-icon-button {
  width: 30px !important;
  height: 30px !important;
  gap: 2px !important;
}

body.app-home-body .app-icon-button span {
  width: 18px !important;
  height: 3px !important;
}

.app-character-stage .app-stage-layout {
  grid-template-columns: 74px minmax(0, 1fr) 74px !important;
  gap: 0 !important;
}

.app-character-stage .app-equip-column {
  gap: 4px !important;
}

.app-me-equip-stack {
  width: 74px;
  display: grid;
  justify-items: center;
  gap: 2px;
  cursor: pointer;
}

.app-me-equip-name {
  display: block;
  width: 74px;
  min-height: 11px;
  overflow: hidden;
  font-size: 9px;
  font-weight: 900;
  line-height: 11px;
  text-align: center;
  text-overflow: ellipsis;
  white-space: nowrap;
  text-shadow: 0 1px 2px rgba(0, 0, 0, .86);
  pointer-events: none;
}

.app-me-equip-stack.is-empty .app-me-equip-name {
  color: rgba(255, 255, 255, .48) !important;
}

.app-me-equip-name.quality-normal { color: #f4f4f4 !important; }
.app-me-equip-name.quality-advanced { color: #47a9ff !important; }
.app-me-equip-name.quality-rare { color: #bd63ff !important; }
.app-me-equip-name.quality-legacy { color: #39ff49 !important; }
.app-me-equip-name.quality-artifact { color: #ff42f2 !important; }
.app-me-equip-name.quality-epic { color: #ffd34a !important; }

.app-me-equip-stack .app-equip-slot {
  width: 42px !important;
  height: 42px !important;
}

.app-private-panel.is-list-page {
  min-height: 0 !important;
  display: block !important;
  padding: 0 !important;
  border-radius: 0 !important;
  background: #f0f1f4 !important;
}

.app-private-panel.is-list-page .app-private-head {
  height: 44px !important;
  min-height: 44px !important;
  padding: 0 14px !important;
  background: #fff !important;
}

.app-private-panel.is-list-page h2 {
  font-size: 17px !important;
  line-height: 44px !important;
}

.app-private-panel.is-list-page .app-private-head button {
  width: 36px !important;
  min-width: 36px !important;
  height: 36px !important;
  font-size: 24px !important;
}

.app-private-panel.is-list-page .app-private-list {
  display: block !important;
  background: #fff !important;
}

.app-private-panel.is-list-page .app-private-peer {
  min-height: 64px !important;
  grid-template-columns: 44px minmax(0, 1fr) !important;
  gap: 10px !important;
  padding: 8px 12px !important;
  border: 0 !important;
  border-bottom: 1px solid rgba(0, 0, 0, .06) !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  background: #fff !important;
}

.app-private-panel.is-list-page .app-private-avatar {
  width: 42px !important;
  height: 42px !important;
  border-radius: 6px !important;
}

.app-private-panel.is-list-page .app-private-peer-main {
  display: grid !important;
  gap: 3px !important;
}

.app-private-panel.is-list-page .app-private-peer-main b {
  overflow: hidden !important;
  color: #191b20 !important;
  font-size: 15px !important;
  line-height: 20px !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
}

.app-private-panel.is-list-page .app-private-peer-main small {
  overflow: hidden !important;
  color: #8a929f !important;
  font-size: 12px !important;
  line-height: 17px !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
}

/* 2026-06-17 round 10: shared home/app menu, carousel slide states, dictionary-backed equip labels, chat-row layout. */
body.app-home-body .app-topbar > .app-screen-menu,
body.app-screen-body .app-screen-top[data-app-global-topbar="1"] > .app-screen-menu,
body.app-screen-body .app-screen-menu {
  width: 32px !important;
  height: 32px !important;
  min-width: 32px !important;
  border-radius: 8px !important;
}

body.app-home-body .app-topbar > .app-screen-menu i,
body.app-screen-body .app-screen-menu i {
  width: 17px !important;
  height: 3px !important;
  border-radius: 3px !important;
  box-shadow: 0 7px 0 #191b20, 0 -7px 0 #191b20 !important;
}

body.app-home-body .app-topbar > .app-screen-menu::before,
body.app-home-body .app-topbar > .app-screen-menu::after,
body.app-screen-body .app-screen-menu i::before,
body.app-screen-body .app-screen-menu i::after {
  content: none !important;
}

.app-fame-badge .app-power-badge-job {
  transform: none !important;
}

.app-me-equip-name.atlas-name-rarity.quality-normal { color: #f4f4f4 !important; }
.app-me-equip-name.atlas-name-rarity.quality-advanced { color: #47a9ff !important; }
.app-me-equip-name.atlas-name-rarity.quality-rare { color: #bd63ff !important; }
.app-me-equip-name.atlas-name-rarity.quality-legacy { color: #39ff49 !important; }
.app-me-equip-name.atlas-name-rarity.quality-artifact { color: #ff42f2 !important; }
.app-me-equip-name.atlas-name-rarity.quality-epic { color: #ffd34a !important; }

.app-private-panel.is-list-page .app-private-peer {
  display: grid !important;
  grid-template-columns: 44px minmax(0, 1fr) auto !important;
  grid-template-areas: "avatar main time" !important;
  align-items: center !important;
  column-gap: 10px !important;
  min-height: 58px !important;
  padding: 7px 12px !important;
  text-align: left !important;
}

.app-private-panel.is-list-page .app-private-avatar-slot {
  grid-area: avatar !important;
  grid-column: 1 !important;
  grid-row: 1 !important;
  width: 44px !important;
  height: 44px !important;
  display: grid !important;
  place-items: center !important;
}

.app-private-panel.is-list-page .app-private-peer-main {
  grid-area: main !important;
  grid-column: 2 !important;
  grid-row: 1 !important;
  display: grid !important;
  align-content: center !important;
  justify-items: start !important;
  gap: 2px !important;
  min-width: 0 !important;
  text-align: left !important;
}

.app-private-panel.is-list-page .app-private-peer-main strong {
  display: block !important;
  max-width: 100% !important;
  overflow: hidden !important;
  color: #191b20 !important;
  font-size: 15px !important;
  font-weight: 800 !important;
  line-height: 20px !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
}

.app-private-panel.is-list-page .app-private-peer-main em {
  display: block !important;
  position: static !important;
  grid-column: auto !important;
  grid-row: auto !important;
  max-width: 100% !important;
  overflow: hidden !important;
  color: #8a929f !important;
  font-size: 12px !important;
  font-style: normal !important;
  line-height: 17px !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
}

.app-private-panel.is-list-page .app-private-peer time {
  grid-area: time !important;
  align-self: start !important;
  padding-top: 4px !important;
  color: #a3a9b3 !important;
  font-size: 10px !important;
  line-height: 14px !important;
  white-space: nowrap !important;
}

/* 2026-06-17 round 11: homepage uses the same global topbar structure as app tabs. */
body.app-home-body .app-hero {
  padding-top: calc(72px + env(safe-area-inset-top)) !important;
}

body.app-home-body .app-hero > .app-screen-top[data-app-global-topbar="1"] {
  grid-template-columns: 36px auto minmax(0, 1fr) !important;
  gap: 8px !important;
  min-height: calc(60px + env(safe-area-inset-top)) !important;
  padding: calc(10px + env(safe-area-inset-top)) 14px 10px !important;
  background: #fff !important;
  box-shadow: 0 6px 18px rgba(23, 28, 37, .06) !important;
}

body.app-home-body .app-hero > .app-screen-top[data-app-global-topbar="1"] > .app-screen-menu,
body.app-home-body .app-hero > .app-screen-top[data-app-global-topbar="1"] .app-screen-search,
body.app-home-body .app-hero > .app-screen-top[data-app-global-topbar="1"] .app-screen-search button {
  height: 36px !important;
}

body.app-home-body .app-hero > .app-screen-top[data-app-global-topbar="1"] > .app-screen-menu {
  width: 36px !important;
  min-width: 36px !important;
  border-radius: 12px !important;
}

body.app-home-body .app-hero > .app-screen-top[data-app-global-topbar="1"] strong {
  color: #191b20 !important;
  font-size: 22px !important;
  line-height: 1 !important;
  text-align: left !important;
}

body.app-home-body .app-hero > .app-screen-top[data-app-global-topbar="1"] .app-screen-search {
  min-width: 0 !important;
  border-radius: 999px !important;
  background: #f5f6f8 !important;
  box-shadow: inset 0 0 0 1px rgba(24, 28, 36, .06) !important;
}

body.app-home-body .app-hero > .app-screen-top[data-app-global-topbar="1"] > .app-screen-menu i {
  width: 17px !important;
  height: 3px !important;
  border-radius: 3px !important;
  box-shadow: 0 7px 0 #191b20, 0 -7px 0 #191b20 !important;
}

body.app-home-body .app-hero > .app-screen-top[data-app-global-topbar="1"] > .app-screen-menu::before,
body.app-home-body .app-hero > .app-screen-top[data-app-global-topbar="1"] > .app-screen-menu::after {
  content: none !important;
}

body.app-home-body .app-hero-carousel {
  margin-top: 18px !important;
}

.app-character-portrait.has-artwork .app-character-silhouette {
  transform: translate(-8px, -40px) scale(.816) !important;
  transform-origin: center bottom !important;
}

.app-private-panel.is-list-page .app-private-peer,
.app-private-panel.is-list-page .app-private-peer.is-active,
.app-private-panel.is-list-page .app-private-peer.is-blocked {
  border-color: rgba(0, 0, 0, .06) !important;
  background: #fff !important;
  color: #191b20 !important;
}

.app-private-panel.is-list-page .app-private-avatar {
  background: #f1f3f7 !important;
  color: #191b20 !important;
}

.app-private-panel.is-list-page .app-private-peer-main em {
  background: transparent !important;
  color: #8a929f !important;
}

/* 2026-06-17 round 12: private chat thread, chat info page, and final character-stage alignment. */
body.app-home-body .app-hero > .app-screen-top[data-app-global-topbar="1"] > .app-screen-menu i {
  transform: translateX(-2px) !important;
}

.app-character-portrait.has-artwork .app-character-silhouette {
  transform: translate(-48px, -40px) scale(.816) !important;
  transform-origin: center bottom !important;
}

.app-fame-block {
  width: 100% !important;
  display: grid !important;
  grid-template-columns: auto auto !important;
  justify-content: center !important;
  align-items: center !important;
  justify-items: center !important;
  gap: 14px !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

.app-fame-copy {
  justify-items: start !important;
  text-align: left !important;
}

body.app-private-thread-body {
  background: #ededed !important;
}

body.app-private-thread-body .app-bottom-nav {
  display: none !important;
}

body.app-private-thread-body .app-screen {
  width: 100% !important;
  max-width: none !important;
  min-height: 100vh !important;
  margin: 0 !important;
  padding: calc(58px + env(safe-area-inset-top)) 0 0 !important;
  background: #ededed !important;
}

body.app-private-thread-body [data-app-chat-hero] {
  display: none !important;
}

body.app-private-thread-body .app-chat-card {
  min-height: calc(100vh - 58px - env(safe-area-inset-top)) !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: #ededed !important;
  box-shadow: none !important;
}

.app-chat-thread-top {
  grid-template-columns: 52px minmax(0, 1fr) 52px !important;
  min-height: calc(58px + env(safe-area-inset-top)) !important;
  padding: calc(8px + env(safe-area-inset-top)) 10px 8px !important;
  border-bottom: 1px solid rgba(0, 0, 0, .05) !important;
  background: #ededed !important;
  box-shadow: none !important;
}

.app-chat-thread-top strong {
  color: #111 !important;
  font-size: 19px !important;
  font-weight: 500 !important;
  text-align: center !important;
}

.app-chat-thread-top button {
  width: 42px !important;
  height: 42px !important;
  display: grid !important;
  place-items: center !important;
  border: 0 !important;
  border-radius: 50% !important;
  background: transparent !important;
  color: #111 !important;
  box-shadow: none !important;
}

.app-chat-top-back {
  justify-self: start !important;
}

.app-chat-top-back i {
  width: 15px !important;
  height: 15px !important;
  border-left: 3px solid currentColor !important;
  border-bottom: 3px solid currentColor !important;
  transform: rotate(45deg) !important;
}

.app-chat-top-menu {
  justify-self: end !important;
}

.app-chat-top-spacer {
  width: 42px !important;
  height: 42px !important;
  justify-self: end !important;
}

.app-chat-top-menu i,
.app-chat-top-menu i::before,
.app-chat-top-menu i::after {
  content: "" !important;
  width: 4px !important;
  height: 4px !important;
  display: block !important;
  border-radius: 50% !important;
  background: currentColor !important;
}

.app-chat-top-menu i {
  position: relative !important;
}

.app-chat-top-menu i::before,
.app-chat-top-menu i::after {
  position: absolute !important;
  top: 0 !important;
}

.app-chat-top-menu i::before {
  left: -9px !important;
}

.app-chat-top-menu i::after {
  right: -9px !important;
}

body.app-private-thread-body .app-private-panel.is-thread-page {
  min-height: calc(100vh - 58px - env(safe-area-inset-top)) !important;
  padding: 0 !important;
  background: #ededed !important;
}

body.app-private-thread-body .app-private-panel.is-thread-page .app-private-layout {
  min-height: calc(100vh - 58px - env(safe-area-inset-top)) !important;
  background: #ededed !important;
}

body.app-private-thread-body .app-private-panel.is-thread-page .app-private-thread {
  grid-template-rows: minmax(0, 1fr) auto !important;
  min-height: calc(100vh - 58px - env(safe-area-inset-top)) !important;
  background: #ededed !important;
}

body.app-private-thread-body .app-private-thread-head {
  display: none !important;
}

body.app-private-thread-body .app-private-panel.is-thread-page .app-private-messages {
  padding: 14px 14px 12px !important;
  background: #ededed !important;
}

body.app-private-thread-body .app-private-panel.is-thread-page .app-private-compose {
  grid-template-columns: 42px minmax(0, 1fr) 42px 42px !important;
  gap: 8px !important;
  align-items: center !important;
  padding: 8px 10px calc(8px + env(safe-area-inset-bottom)) !important;
  background: #f7f7f7 !important;
}

body.app-private-thread-body .app-private-panel.is-thread-page .app-private-compose::before {
  content: "" !important;
  width: 34px !important;
  height: 34px !important;
  border: 2px solid #111 !important;
  border-radius: 50% !important;
  background:
    radial-gradient(circle at 36% 50%, #111 0 2px, transparent 3px),
    radial-gradient(circle at 62% 50%, #111 0 2px, transparent 3px),
    linear-gradient(#111, #111) center 68% / 12px 2px no-repeat !important;
}

body.app-private-thread-body .app-private-panel.is-thread-page .app-private-compose::after {
  content: "+" !important;
  width: 34px !important;
  height: 34px !important;
  display: grid !important;
  place-items: center !important;
  grid-column: 4 !important;
  border: 2px solid #111 !important;
  border-radius: 50% !important;
  color: #111 !important;
  font-size: 28px !important;
  font-weight: 300 !important;
  line-height: 1 !important;
}

body.app-private-thread-body .app-private-panel.is-thread-page .app-private-compose input {
  grid-column: 2 !important;
  min-width: 0 !important;
  height: 40px !important;
  border-radius: 4px !important;
}

body.app-private-thread-body .app-private-panel.is-thread-page .app-private-compose button {
  grid-column: 3 !important;
  min-width: 0 !important;
  width: 42px !important;
  height: 40px !important;
  padding: 0 !important;
  border-radius: 4px !important;
  font-size: 12px !important;
}

.app-private-info-page {
  min-height: calc(100vh - 58px - env(safe-area-inset-top)) !important;
  display: grid !important;
  align-content: start !important;
  gap: 10px !important;
  background: #ededed !important;
}

.app-private-info-page[hidden] {
  display: none !important;
}

.app-private-info-members {
  display: flex !important;
  align-items: flex-start !important;
  gap: 28px !important;
  padding: 28px 18px 22px !important;
  background: #fff !important;
}

.app-private-info-members article {
  width: 64px !important;
  display: grid !important;
  justify-items: center !important;
  gap: 8px !important;
  border: 0 !important;
  background: transparent !important;
}

.app-private-info-avatar {
  width: 58px !important;
  height: 58px !important;
  overflow: hidden !important;
  border-radius: 8px !important;
  background: #eef1f5 !important;
  color: #7b8591 !important;
  font-size: 18px !important;
  font-weight: 900 !important;
}

.app-private-info-avatar img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
}

.app-private-info-members article span {
  color: #999 !important;
  font-size: 13px !important;
  line-height: 1.2 !important;
}

.app-private-info-group {
  display: grid !important;
  background: #fff !important;
}

.app-private-info-row {
  min-height: 58px !important;
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) auto !important;
  align-items: center !important;
  padding: 0 18px !important;
  border: 0 !important;
  border-bottom: 1px solid #eee !important;
  background: #fff !important;
  color: #111 !important;
  font-size: 18px !important;
  text-align: left !important;
}

.app-private-info-row input {
  position: absolute !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

.app-private-info-row b {
  width: 58px !important;
  height: 34px !important;
  padding: 3px !important;
  border-radius: 999px !important;
  background: #e4e4e4 !important;
}

.app-private-info-row b::before {
  content: "" !important;
  width: 28px !important;
  height: 28px !important;
  display: block !important;
  border-radius: 50% !important;
  background: #fff !important;
}

.app-private-info-row i {
  width: 12px !important;
  height: 12px !important;
  border-right: 2px solid #b7b7b7 !important;
  border-top: 2px solid #b7b7b7 !important;
  transform: rotate(45deg) !important;
}

.app-private-info-action {
  min-height: 52px !important;
  margin: 8px 18px 0 !important;
  border: 0 !important;
  border-radius: 6px !important;
  background: #fff !important;
  color: #d92f35 !important;
  font-size: 16px !important;
  font-weight: 800 !important;
}

.app-private-info-page .app-chat-login {
  margin: 18px !important;
}

/* 2026-06-17 round 13: stable tab topbar, private-message search and local chat state. */
.app-chat-loading {
  display: grid !important;
  gap: 6px !important;
  padding: 18px !important;
  color: #7b8591 !important;
}

.app-chat-loading strong {
  color: #191b20 !important;
  font-size: 17px !important;
}

.app-private-info-row input:checked + b {
  background: #07c160 !important;
}

.app-private-info-row input:checked + b::before {
  transform: translateX(24px) !important;
}

.app-private-search-page {
  display: grid !important;
  gap: 10px !important;
  padding-top: 10px !important;
}

.app-private-search-form {
  padding: 10px 12px !important;
  background: #fff !important;
}

.app-private-search-form input {
  width: 100% !important;
  height: 40px !important;
  border: 0 !important;
  border-radius: 8px !important;
  background: #f1f2f4 !important;
  color: #191b20 !important;
  font-size: 15px !important;
}

.app-private-search-results {
  display: grid !important;
  background: #fff !important;
}

.app-private-search-results button {
  min-height: 62px !important;
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) auto !important;
  gap: 3px 10px !important;
  padding: 10px 14px !important;
  border: 0 !important;
  border-bottom: 1px solid #eee !important;
  background: #fff !important;
  color: #191b20 !important;
  text-align: left !important;
}

.app-private-search-results button strong,
.app-private-search-results button span {
  min-width: 0 !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
}

.app-private-search-results button strong {
  font-size: 13px !important;
  color: #7b8591 !important;
}

.app-private-search-results button span {
  grid-column: 1 / -1 !important;
  font-size: 15px !important;
}

.app-private-search-results button small {
  grid-column: 2 !important;
  grid-row: 1 !important;
  color: #a0a6af !important;
  font-size: 11px !important;
}

.app-private-search-results .app-muted {
  padding: 18px !important;
}

.app-private-message.is-focused .app-private-message-body p {
  outline: 2px solid rgba(217, 47, 53, .42) !important;
  box-shadow: 0 0 0 5px rgba(217, 47, 53, .12) !important;
}

/* 20260618: fix compensation cards when root pages are opened inside the App shell. */
body.act4-app-shell .compensation-card {
  gap: 14px !important;
}

body.act4-app-shell .compensation-card header {
  align-items: start !important;
}

body.act4-app-shell .compensation-card header h2 {
  color: #191b20 !important;
}

body.act4-app-shell .compensation-card header em {
  min-width: 68px !important;
  padding: 7px 11px !important;
  border: 0 !important;
  border-radius: 999px !important;
  background: #24b36b !important;
  color: #fff !important;
  text-align: center !important;
  box-shadow: 0 8px 18px rgba(36, 179, 107, .22) !important;
}

body.act4-app-shell .compensation-card.is-claimed header em {
  background: #e8f8ef !important;
  color: #16824d !important;
  box-shadow: none !important;
}

body.act4-app-shell .compensation-card.is-expired header em {
  background: #f1f3f6 !important;
  color: #6b7280 !important;
  box-shadow: none !important;
}

body.act4-app-shell .compensation-meta {
  grid-template-columns: 1fr !important;
  gap: 7px !important;
}

body.act4-app-shell .compensation-meta p {
  display: grid !important;
  grid-template-columns: 72px minmax(0, 1fr) !important;
  gap: 10px !important;
  align-items: start !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

body.act4-app-shell .compensation-meta span {
  color: #7b8491 !important;
}

body.act4-app-shell .compensation-meta strong {
  color: #d79b1f !important;
  font-size: 15px !important;
  line-height: 1.45 !important;
  overflow-wrap: anywhere !important;
}

/* Keep the global request/loading dialog on the dark ACT4 theme. */
body.is-busy {
  overflow: hidden;
}

body.is-busy > *:not(.page-busy):not(.account-modal) {
  filter: blur(3px) brightness(.62);
  pointer-events: none;
  user-select: none;
}

.page-busy {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(0, 0, 0, .68);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .16s ease, visibility .16s ease;
}

.page-busy.is-open {
  opacity: 1;
  visibility: visible;
}

.page-busy > div {
  min-width: min(320px, calc(100vw - 48px));
  padding: 22px 26px;
  border: 1px solid rgba(214, 178, 104, .36);
  border-radius: 0;
  background:
    radial-gradient(circle at 18% 0%, rgba(214, 178, 104, .18), transparent 12rem),
    linear-gradient(180deg, rgba(25, 17, 11, .97), rgba(9, 7, 6, .97));
  box-shadow: 0 24px 70px rgba(0, 0, 0, .58), inset 0 1px 0 rgba(255, 255, 255, .08);
  text-align: center;
}

.page-busy > div::before {
  content: "";
  display: block;
  width: 28px;
  height: 28px;
  margin: 0 auto 12px;
  border: 3px solid rgba(214, 178, 104, .18);
  border-top-color: #d6b268;
  border-radius: 50%;
  animation: busy-spin .82s linear infinite;
}

.page-busy strong {
  display: block;
  color: #fff5dd;
  font-size: 20px;
  line-height: 1.3;
}

.page-busy span {
  display: block;
  margin-top: 8px;
  color: rgba(245, 238, 226, .62);
  font-weight: 900;
}

body.register-page .sub-hero {
  min-height: 220px !important;
  padding-top: 88px !important;
  padding-bottom: 44px !important;
}

body.register-page .register-content {
  display: grid !important;
  place-items: start center !important;
  min-height: calc(100vh - 330px) !important;
  padding: clamp(44px, 5vw, 76px) clamp(24px, 7vw, 96px) 72px !important;
}

body.register-page .register-panel {
  width: min(820px, calc(100vw - 48px)) !important;
  max-width: 820px !important;
  min-height: 0 !important;
  padding: clamp(42px, 5vw, 62px) clamp(48px, 6vw, 78px) !important;
  box-shadow: 0 30px 78px rgba(0, 0, 0, .48) !important;
}

body.register-page .register-panel h2 {
  margin-bottom: 28px !important;
  font-size: clamp(40px, 3vw, 56px) !important;
  line-height: 1.05 !important;
}

body.register-page .register-panel .account-modal-form {
  gap: 18px !important;
}

body.register-page .register-panel .account-modal-form label span {
  margin-bottom: 9px !important;
  font-size: 15px !important;
}

body.register-page .register-panel .account-modal-form input {
  height: 54px !important;
  padding: 0 16px !important;
  font-size: 17px !important;
}

body.register-page .register-panel .account-form-hint {
  margin-top: -6px !important;
  margin-bottom: 4px !important;
  font-size: 14px !important;
  line-height: 1.8 !important;
}

body.register-page .register-panel .account-code-row {
  grid-template-columns: minmax(0, 1fr) 160px !important;
  gap: 14px !important;
}

body.register-page .register-panel .account-code-row .btn {
  height: 54px !important;
  font-size: 16px !important;
}

body.register-page .register-panel .account-modal-form > .btn[type="submit"] {
  height: 56px !important;
  margin-top: 2px !important;
  font-size: 17px !important;
}

body.register-page .register-panel .account-modal-links {
  justify-content: flex-end !important;
  gap: 26px !important;
  margin-top: 22px !important;
}

body.register-page .register-content > [data-account-status] {
  display: none !important;
}

@media (max-width: 760px) {
  body.register-page .sub-hero {
    min-height: 160px !important;
    padding-top: 78px !important;
    padding-bottom: 28px !important;
  }

  body.register-page .register-content {
    padding: 24px 16px 48px !important;
  }

  body.register-page .register-panel {
    width: 100% !important;
    padding: 30px 20px !important;
  }

  body.register-page .register-panel h2 {
    font-size: 34px !important;
  }

  body.register-page .register-panel .account-code-row {
    grid-template-columns: 1fr !important;
  }
}

body.register-page .register-content {
  display: flex !important;
  justify-content: flex-end !important;
  align-items: flex-start !important;
  min-height: calc(100vh - 300px) !important;
  padding: clamp(44px, 5vw, 76px) clamp(72px, 9vw, 150px) 72px clamp(24px, 5vw, 96px) !important;
}

body.register-page .register-panel {
  width: min(520px, calc(100vw - 48px)) !important;
  max-width: 520px !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  color: #f6ead0 !important;
}

body.register-page .register-panel::before,
body.register-page .register-panel::after {
  display: none !important;
  content: none !important;
}

body.register-page .register-panel h2 {
  margin-bottom: 26px !important;
  color: #ffe39a !important;
  font-size: 48px !important;
  line-height: 1.05 !important;
}

body.register-page .register-panel .account-modal-form {
  width: 100% !important;
}

body.register-page .register-panel .account-modal-form input {
  background: rgba(0, 0, 0, .72) !important;
}

body.register-page .register-panel .account-modal-links {
  justify-content: flex-end !important;
}

@media (max-width: 900px) {
  body.register-page .register-content {
    justify-content: center !important;
    padding-right: 24px !important;
    padding-left: 24px !important;
  }
}

body.register-page .content-hub.register-content {
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  display: flex !important;
  justify-content: flex-end !important;
  align-items: flex-start !important;
  padding: clamp(44px, 5vw, 76px) clamp(96px, 12vw, 220px) 72px clamp(24px, 5vw, 96px) !important;
  background: transparent !important;
  box-shadow: none !important;
}

body.register-page [data-register-page],
body.register-page .register-inline-panel {
  width: min(520px, calc(100vw - 48px)) !important;
  max-width: 520px !important;
  min-height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  outline: 0 !important;
  background: transparent !important;
  background-image: none !important;
  box-shadow: none !important;
  color: #f6ead0 !important;
}

body.register-page [data-register-page]::before,
body.register-page [data-register-page]::after,
body.register-page .register-inline-panel::before,
body.register-page .register-inline-panel::after {
  display: none !important;
  content: none !important;
}

body.register-page [data-register-page] h2,
body.register-page .register-inline-panel h2 {
  margin: 0 0 26px !important;
  color: #ffe39a !important;
  font-size: 48px !important;
  line-height: 1.05 !important;
}

body.register-page [data-register-page] .account-modal-form,
body.register-page .register-inline-panel .account-modal-form {
  width: 100% !important;
  gap: 18px !important;
}

body.register-page [data-register-page] .account-modal-form input,
body.register-page .register-inline-panel .account-modal-form input {
  height: 54px !important;
  padding: 0 16px !important;
  background: rgba(0, 0, 0, .72) !important;
  font-size: 17px !important;
}

body.register-page [data-register-page] .account-code-row,
body.register-page .register-inline-panel .account-code-row {
  grid-template-columns: minmax(0, 1fr) 160px !important;
  gap: 14px !important;
}

body.register-page [data-register-page] .account-modal-links,
body.register-page .register-inline-panel .account-modal-links {
  justify-content: flex-end !important;
  gap: 26px !important;
  margin-top: 22px !important;
}

body.register-page .register-content > [data-account-status] {
  display: none !important;
}

@media (max-width: 900px) {
  body.register-page .content-hub.register-content {
    justify-content: center !important;
    padding-right: 24px !important;
    padding-left: 24px !important;
  }
}

body.register-page .content-hub.register-content {
  justify-content: flex-start !important;
  padding-left: clamp(86px, 6vw, 118px) !important;
  padding-right: clamp(24px, 5vw, 96px) !important;
}

body.register-page [data-register-page],
body.register-page .register-inline-panel {
  margin-left: 0 !important;
  margin-right: auto !important;
}

@media (max-width: 900px) {
  body.register-page .content-hub.register-content {
    justify-content: flex-start !important;
    padding-left: 24px !important;
    padding-right: 24px !important;
  }
}
body.password-reset-page [data-password-old-row][hidden] {
  display: none !important;
}

.download-admin-page {
  max-width: 1100px;
}

.download-admin-login,
.download-admin-panel {
  display: grid;
  gap: 18px;
}

.download-admin-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.download-admin-panel form {
  display: grid;
  gap: 16px;
  padding-top: 16px;
  border-top: 1px solid rgba(218, 178, 103, .2);
}

.download-admin-panel form:first-child {
  padding-top: 0;
  border-top: 0;
}

.download-admin-panel label,
.download-admin-login label {
  display: grid;
  gap: 8px;
}

.download-admin-panel span,
.download-admin-login span {
  color: #f4d9a4;
  font-weight: 700;
}

.download-admin-panel input,
.download-admin-panel select,
.download-admin-panel textarea,
.download-admin-login input {
  width: 100%;
  border: 1px solid rgba(218, 178, 103, .36);
  background: rgba(18, 14, 12, .76);
  color: #fff8e8;
  border-radius: 6px;
  padding: 12px 14px;
  font: inherit;
}

.download-admin-wide {
  grid-column: 1 / -1;
}

.download-admin-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

[data-download-current-list] {
  display: grid;
  gap: 10px;
}

[data-download-current-list] p {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  gap: 12px;
  align-items: center;
  margin: 0;
  padding: 10px 12px;
  border: 1px solid rgba(218, 178, 103, .18);
  border-radius: 6px;
  background: rgba(18, 14, 12, .48);
}

@media (max-width: 760px) {
  .download-admin-grid {
    grid-template-columns: 1fr;
  }
}

.reward-detail-card.is-high-recharge-package,
body.act4-app-shell .reward-detail-card.is-high-recharge-package {
  --vip-accent: #e5332e;
  --vip-glow: rgba(229, 51, 46, .38);
  border-color: rgba(229, 51, 46, .78) !important;
  background:
    radial-gradient(circle at 12% 0%, rgba(229, 51, 46, .18), transparent 22rem),
    linear-gradient(135deg, rgba(229, 51, 46, .12), transparent 46%),
    rgba(7, 7, 7, .54) !important;
  box-shadow:
    0 18px 42px rgba(0, 0, 0, .34),
    inset 0 0 28px rgba(229, 51, 46, .06) !important;
}

.reward-detail-card.is-high-recharge-package .reward-detail-list p,
.reward-detail-card.is-high-recharge-package .guardian-detail-panel {
  border-color: rgba(229, 51, 46, .46) !important;
  background: rgba(14, 7, 7, .38) !important;
}
