:root {
  --ink: #222727;
  --muted: #66706f;
  --paper: #f5f2e8;
  --cream: #fff8cf;
  --gold: #c2ad16;
  --orange: #ef672c;
  --forest: #254b39;
  --lake: #477c84;
  --line: rgba(34, 39, 39, .14);
  --shadow: 0 24px 60px rgba(30, 38, 34, .15);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: #e9ddbd;
  font-family: "Microsoft YaHei UI", "PingFang SC", sans-serif;
  line-height: 1.7;
}
body.home {
  background:
    radial-gradient(circle at 12% 18%, rgba(255,255,255,.26) 0 3px, transparent 4px) 0 0 / 28px 28px,
    #e9ddbd;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; }
button, input { font: inherit; }
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(116, 91, 42, .22);
  background: rgba(255, 250, 213, .96);
  backdrop-filter: blur(14px);
}
.nav {
  max-width: 1180px;
  min-height: 76px;
  margin: auto;
  padding: 0 28px;
  display: flex;
  align-items: center;
  gap: 30px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  letter-spacing: -.04em;
  font-size: 23px;
  white-space: nowrap;
}
.brand img { width: 46px; height: 46px; object-fit: contain; }
.nav-links {
  display: flex;
  align-items: center;
  gap: 25px;
  margin-left: 18px;
  font-size: 15px;
  font-weight: 700;
}
.nav-links a { position: relative; }
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: -7px;
  height: 2px;
  background: var(--orange);
  transition: right .2s ease;
}
.nav-links a:hover::after { right: 0; }
.nav-actions { margin-left: auto; display: flex; align-items: center; gap: 16px; }
.nav-login { color: #6e5221; font-size: 14px; font-weight: 800; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 22px;
  border: 0;
  border-radius: 3px;
  font-weight: 800;
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary {
  color: #fff;
  background: var(--orange);
  box-shadow: 0 10px 24px rgba(239, 103, 44, .25);
}
.btn-gold { color: #fff; background: #d46520; padding: 0 25px; }
.btn-ghost { border: 1px solid var(--line); background: rgba(255,255,255,.55); }
.btn-secondary { color: var(--forest); border: 1px solid rgba(37,75,57,.24); background: rgba(255,255,255,.72); }
.hero-actions, .guide-actions { display: flex; align-items: center; justify-content: center; gap: 12px; flex-wrap: wrap; }

.hero {
  min-height: 720px;
  position: relative;
  overflow: hidden;
  display: grid;
  place-items: center;
  padding: 70px 20px 86px;
  background:
    linear-gradient(180deg, rgba(255,255,255,.02), rgba(10,43,35,.22)),
    url("scene.svg?v=20261117-1") center bottom / cover no-repeat;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 50% 38%, rgba(255,249,219,.72), transparent 34%),
    linear-gradient(90deg, rgba(15,50,39,.14), transparent 25%, transparent 75%, rgba(15,50,39,.14));
  pointer-events: none;
}
.hero-card {
  position: relative;
  z-index: 2;
  width: min(680px, calc(100% - 28px));
  padding: 34px 42px 30px;
  text-align: center;
  border: 1px solid rgba(255,255,255,.58);
  background: rgba(250,248,236,.87);
  box-shadow: 0 28px 80px rgba(22, 39, 31, .24);
  backdrop-filter: blur(10px);
}
.hero-card::before,
.hero-card::after {
  content: "";
  position: absolute;
  width: 38px;
  height: 38px;
  border-color: rgba(143,99,32,.34);
}
.hero-card::before { left: 10px; top: 10px; border-left: 2px solid; border-top: 2px solid; }
.hero-card::after { right: 10px; bottom: 10px; border-right: 2px solid; border-bottom: 2px solid; }
.hero h1 { margin: 0; line-height: 0; }
.hero-logo {
  width: min(280px, 72vw);
  height: auto;
  filter: drop-shadow(0 10px 18px rgba(31,40,35,.12));
}
.hero p {
  margin: 18px auto 22px;
  max-width: 470px;
  color: #394541;
  font-size: 16px;
}
.hero .btn {
  min-width: 230px;
  min-height: 54px;
  font-size: 18px;
}
.launcher-action {
  display: flex;
  flex: 0 0 230px;
  flex-direction: column;
  align-items: stretch;
  gap: 9px;
  min-width: 0;
}
.launcher-action .btn {
  width: 100%;
  min-width: 0;
}
.launcher-password {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  width: 100%;
  max-width: 100%;
  min-height: 34px;
  margin: 0;
  padding: 4px 5px 4px 12px;
  border: 1px solid rgba(143, 99, 32, .24);
  border-radius: 4px;
  background: rgba(255, 255, 255, .58);
  color: #5d4a2d;
  font-size: 13px;
  font-weight: 700;
  line-height: 1;
  box-sizing: border-box;
}
.launcher-password-label {
  display: block;
  white-space: nowrap;
}
.launcher-password strong {
  display: flex;
  align-items: center;
  min-height: 24px;
  margin: 0;
  padding: 0 9px;
  border: 1px solid rgba(143,99,32,.28);
  border-radius: 3px;
  background: rgba(255,255,255,.72);
  color: #7b3f16;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 13px;
  line-height: 1;
  letter-spacing: .08em;
  white-space: nowrap;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
}
.hero-scroll {
  position: absolute;
  z-index: 3;
  bottom: 22px;
  left: 50%;
  color: rgba(255,255,255,.9);
  font-size: 12px;
  letter-spacing: .15em;
  transform: translateX(-50%);
}
.hero-scroll span {
  display: block;
  width: 1px;
  height: 24px;
  margin: 0 auto 7px;
  background: rgba(255,255,255,.78);
}

.section {
  max-width: 1180px;
  margin: 0 auto;
  padding: 78px 28px;
}
.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 50px;
  margin-bottom: 32px;
}
.section-head > p {
  max-width: 420px;
  margin: 0 0 10px;
  color: var(--muted);
}
.section-title {
  margin: 0;
  font-size: clamp(26px, 4vw, 38px);
  line-height: 1.2;
  letter-spacing: -.04em;
}
.eyebrow {
  display: inline-block;
  margin-bottom: 8px;
  color: var(--orange);
  letter-spacing: .18em;
  text-transform: uppercase;
  font-size: 11px;
  font-weight: 900;
}

.about-panel {
  max-width: 1124px;
  margin: -54px auto 0;
  position: relative;
  z-index: 4;
  padding: 38px 42px 30px;
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 26px 42px;
  background: rgba(255,255,255,.97);
  box-shadow: var(--shadow);
}
.about-heading .section-title { font-size: 34px; }
.about-panel > p { margin: 28px 0 0; color: #515b58; }
.about-stats {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
}
.about-stats span {
  padding: 18px 20px 0;
  color: #7a817e;
  font-size: 13px;
}
.about-stats span + span { border-left: 1px solid var(--line); }
.about-stats strong {
  display: block;
  color: var(--forest);
  font-size: 18px;
}

.worlds { padding-top: 88px; }
.world-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.world-card {
  min-height: 360px;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  color: #fff;
  background-color: #355b4c;
  background-image:
    linear-gradient(180deg, rgba(18,45,35,.08), rgba(13,35,29,.88)),
    url("scene.svg?v=20261117-1");
  background-position: center, center;
  background-size: cover, auto 175%;
  box-shadow: 0 16px 35px rgba(37,60,46,.12);
  transition: transform .22s ease, box-shadow .22s ease;
}
.world-river {
  background-image:
    linear-gradient(180deg, rgba(23,48,44,.05), rgba(16,39,36,.9)),
    url("scene.svg?v=20261117-1");
  background-position: center, 70% 70%;
}
.world-wild {
  background-image:
    linear-gradient(180deg, rgba(45,40,26,.08), rgba(38,35,24,.88)),
    url("scene.svg?v=20261117-1");
  background-position: center, 20% 65%;
}
.world-card:hover { transform: translateY(-5px); box-shadow: 0 24px 46px rgba(37,60,46,.2); }
.world-tag {
  align-self: flex-start;
  padding: 4px 11px;
  color: #30442f;
  background: #e6d162;
  font-size: 12px;
  font-weight: 900;
}
.world-copy h3 { margin: 0 0 6px; font-size: 24px; }
.world-copy p { margin: 0; color: rgba(255,255,255,.74); font-size: 14px; }

.gameplay-band {
  position: relative;
  color: #fff;
  background:
    radial-gradient(circle at 80% 30%, rgba(169,150,82,.16), transparent 27%),
    linear-gradient(125deg, #193d31, #294f3f 60%, #1b392f);
}
.gameplay-band::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: .14;
  background: url("scene.svg?v=20261117-1") center 68% / cover no-repeat;
  mix-blend-mode: screen;
}
.gameplay-band .section { position: relative; z-index: 1; }
.section-head-light > p { color: rgba(255,255,255,.62); }
.section-head-light .eyebrow { color: #f1b84b; }
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.feature {
  min-height: 230px;
  position: relative;
  padding: 28px;
  border: 1px solid rgba(255,255,255,.13);
  background: rgba(255,255,255,.055);
}
.feature-number {
  display: block;
  margin-bottom: 35px;
  color: rgba(238,191,84,.72);
  font-family: Georgia, serif;
  font-size: 38px;
  line-height: 1;
}
.feature strong { display: block; margin-bottom: 9px; font-size: 20px; }
.feature p { margin: 0; color: rgba(255,255,255,.64); font-size: 14px; }

.guide-wrap {
  padding: 76px 20px;
  background:
    linear-gradient(rgba(232,215,173,.85), rgba(232,215,173,.85)),
    url("scene.svg?v=20261117-1") center 62% / cover no-repeat;
}
.guide-card {
  max-width: 1124px;
  margin: auto;
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  background: rgba(255,255,255,.96);
  box-shadow: var(--shadow);
}
.guide-copy { padding: 48px; }
.guide-copy h2 {
  margin: 0 0 12px;
  font-family: Georgia, "Microsoft YaHei UI", serif;
  font-size: 36px;
}
.guide-copy p { margin: 0 0 25px; color: var(--muted); }
.guide-actions { justify-content: flex-start; }
.guide-steps {
  margin: 0;
  padding: 36px;
  list-style: none;
  background: #f4edda;
}
.guide-steps li {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  padding: 13px 0;
}
.guide-steps li + li { border-top: 1px solid rgba(74,73,52,.12); }
.guide-steps li > span {
  flex: 0 0 38px;
  height: 38px;
  display: grid;
  place-items: center;
  color: #fff;
  background: var(--forest);
  border-radius: 50%;
  font-family: Georgia, serif;
  font-size: 18px;
}
.guide-steps strong { display: block; font-size: 16px; }
.guide-steps p { margin: 0; color: var(--muted); font-size: 13px; }

.news {
  max-width: 1124px;
  margin: 0 auto 76px;
  padding: 38px 42px 34px;
  background: rgba(255,255,255,.97);
  box-shadow: var(--shadow);
}
.news-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 28px;
}
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.news-item { border-top: 3px solid var(--gold); padding-top: 18px; }
.news-item time { color: #88918e; font-size: 12px; }
.news-item h3 { margin: 8px 0; font-size: 18px; }
.news-item p { margin: 0; color: var(--muted); font-size: 14px; }

footer {
  padding: 54px 7vw 34px;
  color: #f1ecdc;
  background: #20352b;
}
.footer-inner {
  max-width: 1124px;
  margin: auto;
  display: grid;
  grid-template-columns: 1.7fr 1fr 1fr;
  gap: 48px;
}
.footer-minimal { grid-template-columns: 1fr; }
.footer-brand { display: flex; align-items: center; gap: 16px; }
.footer-brand img { width: 62px; height: 62px; object-fit: contain; }
.footer-brand strong { font-size: 22px; }
.footer-brand p, .footer-links a { color: rgba(241,236,220,.62); font-size: 13px; }
.footer-brand p { margin: 2px 0 0; }
.footer-links { display: grid; gap: 6px; align-content: start; }
.footer-links strong { color: #f0d184; font-size: 13px; letter-spacing: .1em; }
.copyright {
  max-width: 1124px;
  margin: 34px auto 0;
  padding-top: 18px;
  border-top: 1px solid rgba(255,255,255,.12);
  color: rgba(255,255,255,.45);
  font-size: 12px;
}

/* Register, recovery and other account pages */
.auth-page {
  min-height: calc(100vh - 76px);
  padding: 48px 20px 76px;
  display: grid;
  place-items: center;
  background:
    linear-gradient(rgba(20,53,40,.24), rgba(20,53,40,.72)),
    url("scene.svg?v=20261117-1") center bottom / cover no-repeat fixed;
}
.auth-card {
  width: min(520px, 100%);
  padding: 38px;
  background: rgba(255,255,255,.97);
  box-shadow: var(--shadow);
}
.auth-card h1 { margin: 4px 0 8px; font-family: Georgia, serif; font-size: 38px; }
.auth-card > p { margin: 0 0 28px; color: var(--muted); }
.form-grid { display: grid; gap: 18px; }
.field label { display: block; margin-bottom: 7px; font-size: 13px; font-weight: 800; }
.field input {
  width: 100%;
  height: 48px;
  padding: 0 14px;
  border: 1px solid #c9cbc3;
  border-radius: 3px;
  color: var(--ink);
  background: #fff;
  outline: none;
}
.field select {
  width: 100%;
  height: 48px;
  padding: 0 14px;
  border: 1px solid #c9cbc3;
  border-radius: 3px;
  color: var(--ink);
  background: #fff;
  outline: none;
}
.field input:focus { border-color: var(--orange); box-shadow: 0 0 0 3px rgba(239,103,44,.12); }
.field select:focus { border-color: var(--orange); box-shadow: 0 0 0 3px rgba(239,103,44,.12); }
.field small { color: var(--muted); font-size: 12px; }
.form-message { display: none; padding: 12px 14px; font-size: 13px; border-radius: 3px; }
.form-message.error { display: block; color: #8b2517; background: #fce7e1; }
.form-message.success { display: block; color: #245d3d; background: #e2f2e8; }
.auth-submit { width: 100%; min-height: 52px; margin-top: 4px; }
.auth-links { margin-top: 20px; display: flex; justify-content: space-between; color: var(--muted); font-size: 13px; }
.auth-links a { color: #a84b24; font-weight: 800; }
.legal { margin-top: 18px; color: #77807d; font-size: 12px; }
.auth-card-compact { width: min(460px, 100%); }

/* Compact home */
.home-hero { min-height: 620px; }
.home-hero .hero p { margin-bottom: 26px; }
.home-hero .hero-actions { align-items: flex-start; }
.home-actions {
  width: min(1124px, calc(100% - 40px));
  margin: -78px auto 76px;
  position: relative;
  z-index: 4;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  background: rgba(255,255,255,.97);
  box-shadow: var(--shadow);
}
.home-actions a {
  min-height: 132px;
  padding: 28px 30px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: background .18s ease;
}
.home-actions a + a { border-left: 1px solid var(--line); }
.home-actions a:hover { background: #f7f1df; }
.home-actions span { color: var(--orange); font-family: Georgia, serif; font-size: 15px; }
.home-actions strong { color: var(--forest); font-size: 21px; }

/* Website account center */
.account-body {
  min-height: 100vh;
  background:
    linear-gradient(rgba(232,215,173,.88), rgba(232,215,173,.96)),
    url("scene.svg?v=20261117-1") center bottom / cover fixed no-repeat;
}
.account-page {
  min-height: calc(100vh - 76px);
  padding: 54px 20px 70px;
}
.account-shell {
  width: min(1080px, 100%);
  margin: 0 auto;
}
.account-heading {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-bottom: 24px;
  padding: 28px 32px;
  color: #fff;
  background: linear-gradient(110deg, #213f33, #355b4c);
  box-shadow: var(--shadow);
}
.account-avatar {
  flex: 0 0 92px;
  height: 92px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border: 3px solid rgba(255,255,255,.7);
  border-radius: 50%;
  background: #efe2c1;
}
.account-avatar img { width: 74px; height: 74px; object-fit: contain; }
.account-heading .eyebrow { color: #f1b84b; }
.account-heading h1 { margin: 0; font-family: Georgia, "Microsoft YaHei UI", serif; font-size: 40px; line-height: 1.15; }
.account-heading p { margin: 5px 0 0; color: rgba(255,255,255,.68); }
.account-heading.compact { min-height: 150px; }
.account-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 290px;
  gap: 18px;
}
.account-panel,
.account-side,
.wallet-strip {
  background: rgba(255,255,255,.97);
  box-shadow: 0 16px 42px rgba(30,38,34,.12);
}
.account-main { padding: 30px 34px 34px; }
.account-panel h2,
.account-side h2 {
  margin: 0 0 22px;
  padding-bottom: 13px;
  border-bottom: 1px solid var(--line);
  font-size: 20px;
}
.account-details {
  margin: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 34px;
}
.account-details > div {
  min-width: 0;
  padding: 13px 0;
  display: grid;
  grid-template-columns: 100px minmax(0, 1fr);
  gap: 12px;
  border-bottom: 1px solid rgba(34,39,39,.09);
}
.account-details dt { color: var(--muted); font-size: 13px; }
.account-details dd {
  margin: 0;
  min-width: 0;
  overflow-wrap: anywhere;
  font-size: 14px;
  font-weight: 700;
}
.account-side { padding: 30px 26px; }
.account-side form { margin: 0; }
.account-action {
  width: 100%;
  min-height: 46px;
  margin-bottom: 10px;
  padding: 0 16px;
  display: flex;
  align-items: center;
  border: 1px solid var(--line);
  color: var(--ink);
  background: #fff;
  font-weight: 700;
  cursor: pointer;
}
.account-action:hover { border-color: rgba(239,103,44,.55); }
.account-action.primary { color: #fff; border-color: var(--orange); background: var(--orange); }
.account-action.danger { color: #9c3023; background: #fff8f5; }
.wallet-strip {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 1fr 1fr;
}
.wallet-strip > div { padding: 22px 30px; display: flex; align-items: baseline; justify-content: space-between; }
.wallet-strip > div + div { border-left: 1px solid var(--line); }
.wallet-strip span { color: var(--muted); }
.wallet-strip strong { color: var(--forest); font-family: Georgia, serif; font-size: 30px; }
.wallet-unavailable { display: block; padding: 22px 30px; }
.wallet-unavailable strong { margin-right: 12px; }
.wallet-unavailable span { color: var(--muted); }
.account-notice {
  grid-column: 1 / -1;
  padding: 16px 22px;
  color: #245d3d;
  background: #e2f2e8;
  box-shadow: 0 10px 28px rgba(30,38,34,.09);
}
.transaction-panel { padding: 0; overflow: hidden; }
.transaction-table-wrap { overflow-x: auto; }
.transaction-table { width: 100%; border-collapse: collapse; min-width: 720px; }
.transaction-table th,
.transaction-table td { padding: 15px 18px; text-align: left; border-bottom: 1px solid var(--line); }
.transaction-table th { color: var(--muted); background: #f4edda; font-size: 12px; letter-spacing: .05em; }
.transaction-table td { font-size: 13px; }
.transaction-table td:nth-child(1) { white-space: nowrap; color: var(--muted); }
.transaction-table td:nth-child(2) { font-weight: 800; }
.transaction-table td:nth-child(4) { white-space: nowrap; }
.empty-state { margin: 0; padding: 48px 34px; color: var(--muted); text-align: center; }
.account-footer {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 20px 36px;
  display: flex;
  gap: 20px;
  color: rgba(35,48,40,.65);
  font-size: 13px;
}
.account-footer span { margin-right: auto; font-weight: 800; }
.account-footer a:hover { color: var(--orange); }

@media (max-width: 960px) {
  .nav { gap: 18px; }
  .nav-links { gap: 18px; margin-left: 0; }
  .nav-login { font-size: 13px; }
  .hero { min-height: 650px; }
  .world-grid { grid-template-columns: 1fr 1fr; }
  .world-card:last-child { grid-column: 1 / -1; min-height: 300px; }
  .guide-card { grid-template-columns: 1fr; }
  .account-layout { grid-template-columns: 1fr; }
  .account-side { order: 3; }
  .wallet-strip { order: 2; }
}

@media (max-width: 760px) {
  .nav { padding: 10px 18px; flex-wrap: wrap; }
  .nav-links {
    order: 3;
    width: 100%;
    margin: 0;
    overflow-x: auto;
    gap: 20px;
    padding-bottom: 4px;
    scrollbar-width: none;
  }
  .nav-links::-webkit-scrollbar { display: none; }
  .hero { min-height: 610px; padding: 48px 14px 80px; }
  .hero-card { padding: 30px 20px 26px; }
  .hero-logo { width: min(235px, 68vw); }
  .hero-scroll { display: none; }
  .about-panel {
    margin: -36px 16px 0;
    padding: 28px 22px;
    grid-template-columns: 1fr;
    gap: 8px;
  }
  .about-panel > p { margin-top: 8px; }
  .about-stats { grid-template-columns: 1fr; }
  .about-stats span { padding: 13px 0; }
  .about-stats span + span { border-left: 0; border-top: 1px solid var(--line); }
  .section { padding: 58px 20px; }
  .section-head { display: block; }
  .section-head > p { margin-top: 14px; }
  .world-grid { grid-template-columns: 1fr; }
  .world-card, .world-card:last-child { min-height: 310px; grid-column: auto; }
  .feature-grid, .news-grid { grid-template-columns: 1fr; }
  .feature { min-height: 0; }
  .feature-number { margin-bottom: 18px; }
  .guide-wrap { padding: 54px 16px; }
  .guide-copy, .guide-steps { padding: 28px 22px; }
  .guide-copy h2 { font-size: 30px; }
  .news { margin: 0 16px 58px; padding: 28px 22px; }
  .news-heading { align-items: end; }
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 30px; }
  .footer-brand { grid-column: 1 / -1; }
  .auth-card { padding: 28px 22px; }
  .home-actions { grid-template-columns: 1fr; margin-top: -68px; }
  .home-actions a { min-height: 96px; }
  .home-actions a + a { border-left: 0; border-top: 1px solid var(--line); }
  .account-heading { padding: 24px; }
  .account-heading h1 { font-size: 32px; }
  .account-avatar { flex-basis: 74px; height: 74px; }
  .account-avatar img { width: 60px; height: 60px; }
}

@media (max-width: 520px) {
  .nav-actions { gap: 9px; }
  .nav-login { font-size: 12px; }
  .nav-actions .btn { padding: 0 14px; min-height: 39px; }
  .hero { min-height: 565px; }
  .hero-card { width: 100%; }
  .hero p { font-size: 14px; }
  .hero .btn { min-width: 210px; min-height: 50px; font-size: 16px; }
  .about-heading .section-title { font-size: 29px; }
  .news-heading { display: block; }
  .news-heading .btn { margin-top: 12px; }
  .footer-inner { grid-template-columns: 1fr; gap: 24px; }
  .footer-brand { grid-column: auto; }
  .home-hero .hero-actions .btn { width: 100%; }
  .launcher-action {
    flex-basis: 100%;
    width: 100%;
  }
  .launcher-password {
    gap: 7px;
    max-width: 100%;
    font-size: 12px;
  }
  .launcher-password strong {
    max-width: 62vw;
    overflow: hidden;
    font-size: 12px;
    text-overflow: ellipsis;
  }
  .account-page { padding: 32px 14px 54px; }
  .account-heading { align-items: flex-start; }
  .account-main { padding: 24px 20px; }
  .account-details { grid-template-columns: 1fr; }
  .account-details > div { grid-template-columns: 96px minmax(0, 1fr); }
  .wallet-strip { grid-template-columns: 1fr; }
  .wallet-strip > div + div { border-left: 0; border-top: 1px solid var(--line); }
  .account-footer { flex-wrap: wrap; }
  .account-footer span { width: 100%; }
}
