.public-home-page .site-header,
.public-auth-page .site-header {
  background: rgba(20, 26, 36, 0.92);
  border-color: rgba(145, 160, 190, 0.48);
  box-shadow: 3px 3px 0 rgba(10, 12, 20, 0.22);
}

.public-home-page .site-title a,
.public-auth-page .site-title a,
.public-home-page .site-nav a,
.public-auth-page .site-nav a {
  color: #d8e4f4;
}

.public-hero-panel,
.public-loop-panel,
.public-party-panel,
.public-closing-panel,
.auth-panel,
.auth-guide-panel {
  background: rgba(18, 22, 32, 0.88);
  border-color: rgba(145, 160, 190, 0.46);
  color: #f4f0e8;
  box-shadow: 3px 3px 0 rgba(10, 12, 20, 0.22);
}

.public-hero-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.96fr) minmax(20rem, 1.04fr);
  gap: 18px;
  align-items: stretch;
  padding: 22px 18px;
}

.public-hero-copy-block {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
}

.public-hero-kicker,
.auth-kicker {
  margin-bottom: 5px;
  color: #b6c5d8;
  font-size: 0.82rem;
  font-weight: 700;
}

.public-hero-title {
  color: #f1d27a;
  font-size: 2rem;
  line-height: 1.1;
}

.public-home-page .hero-copy,
.auth-heading p {
  color: #f0e6d0;
}

.public-encounter-card {
  display: grid;
  gap: 9px;
  min-width: 0;
  padding: 12px;
  border: 1px solid rgba(145, 160, 190, 0.34);
  background:
    linear-gradient(180deg, rgba(10, 14, 22, 0.30) 0%, rgba(5, 8, 14, 0.78) 100%),
    rgba(10, 14, 22, 0.50);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.03);
}

.public-encounter-stage {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  gap: 8px;
  align-items: end;
  min-height: 200px;
  padding: 6px 6px 0;
  overflow: hidden;
}

.public-combatant {
  display: grid;
  justify-items: center;
  gap: 4px;
  min-width: 0;
}

.public-combatant-image {
  width: min(165px, 100%);
  aspect-ratio: 1;
  object-fit: contain;
  filter: drop-shadow(0 10px 10px rgba(0, 0, 0, 0.44));
}

.public-combatant-enemy .public-combatant-image {
  transform: scaleX(-1);
}

.public-combatant-name {
  max-width: 100%;
  padding: 2px 7px;
  border: 1px solid rgba(145, 160, 190, 0.28);
  background: rgba(10, 14, 22, 0.70);
  color: #f4f0e8;
  font-size: 0.78rem;
  font-weight: 700;
  text-align: center;
}

.public-versus {
  align-self: center;
  color: #f1d27a;
  font-family: Georgia, serif;
  font-size: 1.15rem;
  font-weight: 700;
}

.public-hp-bar {
  width: min(8rem, 100%);
  height: 7px;
  border: 1px solid rgba(145, 160, 190, 0.35);
  background: rgba(5, 8, 14, 0.80);
}

.public-hp-bar span {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, #7cc26e 0%, #e8d56a 100%);
}

.public-hp-bar-enemy span {
  background: linear-gradient(90deg, #b95454 0%, #e8d56a 100%);
}

.public-hero-log {
  display: grid;
  gap: 5px;
  padding: 9px 10px;
  border: 1px solid rgba(145, 160, 190, 0.32);
  background: rgba(5, 8, 14, 0.58);
}

.public-hero-log p {
  margin: 0;
  padding-bottom: 5px;
  border-bottom: 1px dotted rgba(145, 160, 190, 0.25);
  color: #f4f0e8;
  font-size: 0.86rem;
}

.public-hero-log p:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.public-hero-reward {
  padding: 6px 9px;
  border: 1px solid rgba(241, 210, 122, 0.28);
  background: rgba(40, 32, 18, 0.62);
  color: #f1d27a;
  font-size: 0.84rem;
  font-weight: 700;
}

.public-hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 12px;
}

.public-hero-tags span {
  display: inline-flex;
  align-items: center;
  min-height: 1.8rem;
  padding: 3px 8px;
  border: 1px solid rgba(145, 160, 190, 0.34);
  background: rgba(10, 14, 22, 0.46);
  color: #e6edf6;
  font-size: 0.82rem;
}

.public-home-page .action-link,
.public-auth-page .action-link,
.public-auth-page .action-button {
  border-color: rgba(145, 160, 190, 0.42);
  background: linear-gradient(180deg, rgba(28, 36, 50, 0.92) 0%, rgba(16, 22, 34, 0.94) 100%);
  color: #f4f0e8;
}

.public-home-page .action-link:hover,
.public-auth-page .action-link:hover,
.public-auth-page .action-button:hover:not(:disabled) {
  border-color: rgba(190, 205, 230, 0.62);
  background: linear-gradient(180deg, rgba(42, 52, 70, 0.96) 0%, rgba(24, 32, 48, 0.96) 100%);
}

.public-home-primary {
  grid-template-columns: minmax(0, 1fr) minmax(18rem, 0.82fr);
}

.public-loop-steps {
  display: grid;
  gap: 9px;
}

.public-loop-step {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  padding: 10px;
  border: 1px solid rgba(145, 160, 190, 0.30);
  background: rgba(10, 14, 22, 0.40);
}

.public-loop-step strong {
  display: block;
  margin-bottom: 2px;
  color: #f1d27a;
}

.public-loop-step p {
  margin: 0;
  color: #f0e6d0;
}

.public-loop-index {
  display: inline-grid;
  place-items: center;
  width: 1.8rem;
  height: 1.8rem;
  border: 1px solid rgba(241, 210, 122, 0.38);
  background: rgba(40, 32, 18, 0.70);
  color: #f1d27a;
  font-weight: 700;
}

.public-preview-note {
  margin: 10px 0 0;
  color: #b6c5d8;
  font-size: 0.88rem;
}

.public-party-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  align-items: end;
  padding: 8px;
  border: 1px solid rgba(145, 160, 190, 0.28);
  background: rgba(10, 14, 22, 0.40);
}

.public-party-image {
  width: 100%;
  max-height: 118px;
  object-fit: contain;
  filter: drop-shadow(0 8px 8px rgba(0, 0, 0, 0.42));
}

.public-party-enemy {
  transform: scaleX(-1);
}

.public-closing-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(13rem, auto);
  gap: 14px;
  align-items: start;
}

.public-closing-copy p {
  margin: 0;
  color: #f0e6d0;
}

.public-closing-actions {
  display: grid;
  gap: 8px;
  min-width: 14rem;
}

body.public-home-page {
  --page-max-width: 1500px;
  --page-padding: 8px 18px 24px;
  --overlay-from: rgba(4, 7, 12, 0.03);
  --overlay-to: rgba(4, 7, 12, 0.16);
  --public-top-bg-x: 44%;
  --public-top-bg-y: top;
  --public-sp-bg-y: -68px;
  --public-sp-cta-bottom: 25px;
  --public-top-bg-size: 100% auto;
  background:
    linear-gradient(180deg, var(--overlay-from) 0%, var(--overlay-to) 100%),
    url("/assets/site/top/lp/pc/hero-dungeon-gate-bg-d5b504d6.webp") var(--public-top-bg-x) var(--public-top-bg-y) / var(--public-top-bg-size) no-repeat #05080d;
  color: #f3ead6;
}

body.public-home-page .page {
  width: min(100%, 1500px);
}

body.public-home-page .site-header {
  margin: 0 0 10px;
  padding: 14px 24px;
  border-color: #a77a32;
  background: linear-gradient(180deg, rgba(9, 16, 24, 0.98), rgba(5, 10, 16, 0.98));
  box-shadow:
    inset 0 0 0 1px rgba(236, 205, 128, 0.12),
    0 3px 0 rgba(0, 0, 0, 0.36);
}

body.public-home-page .site-title {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.7rem, 2.3vw, 2.2rem);
  line-height: 1;
}

body.public-home-page .site-title a,
body.public-home-page .site-nav a {
  color: #ead29a;
  text-decoration: none;
  text-shadow: 0 2px 0 rgba(0, 0, 0, 0.7);
}

body.public-home-page .site-nav {
  gap: 18px;
}

body.public-home-page .locale-switch-select {
  min-width: 112px;
  height: 40px;
  border-color: #8e6934;
  background: #0a111b;
  color: #f5ead0;
  box-shadow: inset 0 0 0 1px rgba(236, 205, 128, 0.08);
}

.public-lp-shell {
  position: relative;
  display: grid;
  gap: 16px;
  padding: 0;
  background: transparent;
}

.public-lp-hero {
  position: relative;
  z-index: 1;
  min-height: 560px;
  overflow: hidden;
  border: 0;
  background: transparent;
  box-shadow: none;
  --public-lp-hero-bg-x: 44%;
  --public-lp-hero-bg-y: top;
  --public-lp-hero-bg-size: auto 100%;
}

.public-lp-hero::before,
.public-lp-hero::after {
  content: none;
}

.public-lp-hero-top {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 64px 70px 120px;
}

.public-lp-title-card,
.public-lp-bonus-card,
.public-lp-feature,
.public-lp-stat-strip {
  background:
    linear-gradient(180deg, rgba(12, 19, 28, 0.94), rgba(5, 10, 16, 0.94));
  border: 1px solid #9f7433;
  color: #f4ead5;
  box-shadow:
    inset 0 0 0 1px rgba(236, 205, 128, 0.11),
    3px 3px 0 rgba(0, 0, 0, 0.34);
}

.public-lp-title-card {
  position: relative;
  width: min(500px, 43vw);
  min-height: 406px;
  padding: 138px 56px 42px;
  border: 0;
  background:
    url("/assets/site/top/lp/pc/title-card-frame-66a1219d.webp") center center / 100% 100% no-repeat;
  box-shadow: none;
  text-align: center;
}

.public-lp-title-card::before,
.public-lp-title-card::after {
  content: none;
}

.public-lp-title-card h2 {
  margin: 0 0 18px;
  color: #efd493;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 3rem;
  font-weight: 700;
  line-height: 0.95;
  text-shadow: 0 3px 0 rgba(0, 0, 0, 0.72);
}

.public-lp-lead {
  margin: 0 0 12px;
  color: #f4ead5;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.1rem, 1.6vw, 1.45rem);
  font-weight: 700;
}

.public-lp-copy {
  margin: 0;
  color: #e6dcc7;
  font-size: 0.95rem;
  line-height: 1.8;
}

.public-lp-bonus-card {
  width: 230px;
  margin-top: 128px;
  padding: 16px 16px 14px;
}

.public-lp-bonus-card h3 {
  margin: 0 0 10px;
  color: #efd493;
  font-size: 1rem;
  text-align: center;
}

.public-lp-bonus-row {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  border-top: 1px solid rgba(236, 205, 128, 0.24);
  color: #fff;
  text-align: center;
}

.public-lp-bonus-row strong {
  color: #fff;
  font-weight: 700;
}

.public-lp-cta-row {
  position: absolute;
  z-index: 2;
  left: clamp(360px, 31vw, 560px);
  right: 92px;
  bottom: 26px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  align-items: stretch;
}

.public-lp-button {
  position: relative;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 68px;
  padding: 12px 54px 12px 34px;
  border: 1px solid #af822e;
  color: #f9efd9;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.45rem, 2.2vw, 2.25rem);
  font-weight: 700;
  line-height: 1.15;
  text-align: center;
  text-decoration: none;
  white-space: nowrap;
  text-shadow: 0 2px 0 rgba(0, 0, 0, 0.62);
  box-shadow:
    inset 0 0 0 2px rgba(255, 244, 190, 0.14),
    0 4px 0 rgba(0, 0, 0, 0.42);
}

.public-lp-button::after {
  content: "›";
  position: absolute;
  right: 22px;
  color: #fff2c6;
  font-size: 2.1rem;
  line-height: 1;
}

.public-lp-button-primary {
  background: linear-gradient(180deg, #c49a43 0%, #8c651f 100%);
}

.public-lp-button-secondary {
  border-color: #5f7790;
  background: linear-gradient(180deg, #243d56 0%, #102132 100%);
}

.public-lp-button-form {
  margin: 0;
}

.public-lp-button-form .public-lp-button {
  width: 100%;
  height: 100%;
  cursor: pointer;
}

.public-lp-button-trial {
  border-color: #7e936b;
  background: linear-gradient(180deg, #3d684f 0%, #203b2d 100%);
}

.public-lp-button:hover {
  filter: brightness(1.08);
}

.public-lp-features {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.public-lp-feature {
  position: relative;
  display: grid;
  gap: 12px;
  min-height: 248px;
  padding: 18px 20px 20px;
  text-decoration: none;
  --public-lp-feature-image-x: 50%;
  --public-lp-feature-image-y: 50%;
}

.public-lp-feature:nth-child(1) {
  --public-lp-feature-image-x: 17%;
}

.public-lp-feature:nth-child(2) {
  --public-lp-feature-image-x: 91%;
}

.public-lp-feature:nth-child(3) {
  --public-lp-feature-image-x: 60%;
}

.public-lp-feature:hover {
  filter: brightness(1.07);
}

.public-lp-feature-heading {
  display: flex;
  align-items: center;
  gap: 12px;
}

.public-lp-feature-icon {
  display: inline-grid;
  place-items: center;
  width: 2.2rem;
  height: 2.2rem;
  border: 1px solid rgba(236, 205, 128, 0.42);
  background: rgba(31, 38, 35, 0.80);
  color: #efd493;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 700;
}

.public-lp-feature h3 {
  margin: 0;
  color: #efd493;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.45rem;
}

.public-lp-feature-picture {
  display: block;
  width: 100%;
}

.public-lp-feature-image {
  display: block;
  width: 100%;
  aspect-ratio: 2.75 / 1;
  object-fit: cover;
  object-position: var(--public-lp-feature-image-x) var(--public-lp-feature-image-y);
  border: 1px solid rgba(236, 205, 128, 0.36);
  background: #06090d;
}

.public-lp-feature p {
  margin: 0;
  padding-right: 24px;
  color: #e6dcc7;
  font-size: 0.92rem;
  line-height: 1.65;
}

.public-lp-feature-arrow {
  position: absolute;
  right: 18px;
  bottom: 16px;
  color: #f0d48a;
  font-size: 2rem;
  line-height: 1;
}

.public-lp-stat-strip {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0;
  min-height: 82px;
  padding: 0;
}

.public-lp-stat-item {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
  align-content: center;
  min-width: 0;
  padding: 12px 36px 12px 24px;
  border-right: 1px solid rgba(236, 205, 128, 0.24);
}

.public-lp-stat-item:last-child {
  border-right: 0;
}

.public-lp-stat-label {
  color: #d7c39a;
  font-size: 0.82rem;
}

.public-lp-stat-item strong {
  color: #efd493;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.75rem;
  line-height: 1;
  white-space: nowrap;
}

.public-lp-stat-arrow {
  position: absolute;
  right: 14px;
  top: 50%;
  color: #f0d48a;
  font-size: 1.5rem;
  transform: translateY(-50%);
}

.auth-shell {
  display: grid;
  grid-template-columns: minmax(0, 30rem) minmax(16rem, 1fr);
  gap: 16px;
  align-items: start;
  max-width: 860px;
}

.auth-heading h2 {
  margin: 0 0 8px;
  color: #f1d27a;
  font-size: 1.55rem;
}

.auth-form {
  display: grid;
  gap: 12px;
}

.auth-field {
  display: grid;
  gap: 5px;
}

.auth-field label,
.auth-check {
  color: #e6edf6;
  font-weight: 700;
}

.auth-field-hint {
  color: #b6c5d8;
  font-size: 0.82rem;
}

.auth-input {
  width: 100%;
  box-sizing: border-box;
  min-height: 42px;
  padding: 8px 10px;
  border: 1px solid rgba(145, 160, 190, 0.55);
  background: rgba(246, 242, 230, 0.96);
  color: #1f2430;
  font: inherit;
}

.auth-input:focus {
  outline: 2px solid rgba(241, 210, 122, 0.52);
  outline-offset: 1px;
}

.password-meter {
  display: grid;
  gap: 4px;
  margin-top: 4px;
  color: #b6c5d8;
  font-size: 0.78rem;
  line-height: 1.35;
}

.password-meter-count {
  font-weight: 700;
}

.password-meter-rules {
  display: grid;
  gap: 2px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.password-meter-rule {
  color: #b6c5d8;
}

.password-meter-rule::before {
  content: "×";
  display: inline-block;
  width: 1.1em;
  color: #d48080;
  font-weight: 700;
}

.password-meter-rule[data-valid="true"] {
  color: #a8d59b;
}

.password-meter-rule[data-valid="true"]::before {
  content: "✓";
  color: #a8d59b;
}

.auth-check {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  font-size: 0.9rem;
}

.auth-actions {
  margin-top: 2px;
}

.trial-play-auth-action {
  margin-top: 12px;
}

.auth-submit {
  justify-content: flex-start;
}

.auth-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  margin-top: 14px;
}

.auth-links a {
  color: #c6d7ef;
}

.auth-guide-list {
  margin: 0;
  padding-left: 18px;
  color: #f0e6d0;
}

.auth-guide-list li + li {
  margin-top: 7px;
}

.auth-error-panel {
  padding: 10px 12px;
  border: 1px solid rgba(214, 110, 110, 0.60);
  background: rgba(65, 12, 12, 0.74);
  color: #ffe6e6;
}

.auth-error-panel ul {
  margin: 8px 0 0;
  padding-left: 18px;
}

body.public-auth-page {
  --page-max-width: 1500px;
  --page-padding: 8px 18px 24px;
  background:
    linear-gradient(180deg, rgba(4, 8, 12, 0.05), rgba(4, 8, 12, 0.48)),
    url("/assets/site/top/lp/pc/hero-dungeon-gate-bg-d5b504d6.webp") center top / cover no-repeat #05080d !important;
  color: #f8efd9;
}

body.public-auth-page .page {
  width: min(100%, 1500px);
}

body.public-auth-page .site-header {
  margin: 0 0 10px;
  padding: 14px 24px;
  border-color: #a77a32;
  background: linear-gradient(180deg, rgba(9, 16, 24, 0.98), rgba(5, 10, 16, 0.98));
  box-shadow:
    inset 0 0 0 1px rgba(236, 205, 128, 0.12),
    0 3px 0 rgba(0, 0, 0, 0.36);
}

body.public-auth-page .flash {
  position: relative;
  z-index: 1;
  width: min(460px, calc(100% - 116px));
  margin: 12px 58px 0;
  padding: 11px 13px;
  border: 1px solid rgba(238, 203, 128, 0.66);
  background: linear-gradient(180deg, rgba(18, 28, 38, 0.96), rgba(6, 13, 20, 0.96));
  color: #f8efd9;
  font-size: 0.92rem;
  font-weight: 700;
  line-height: 1.55;
  box-shadow:
    inset 0 0 0 1px rgba(238, 203, 128, 0.10),
    3px 3px 0 rgba(0, 0, 0, 0.34);
}

body.public-auth-page .flash-alert {
  border-color: rgba(229, 125, 96, 0.78);
  background: linear-gradient(180deg, rgba(67, 19, 15, 0.96), rgba(28, 8, 8, 0.96));
  color: #ffe5d8;
}

body.public-auth-page .site-title {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.7rem, 2.3vw, 2.2rem);
  line-height: 1;
}

body.public-auth-page .site-title a,
body.public-auth-page .site-nav a {
  color: #ead29a;
  text-decoration: none;
  text-shadow: 0 2px 0 rgba(0, 0, 0, 0.7);
}

body.public-auth-page .site-title a {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

body.public-auth-page .site-title a::before {
  content: "";
  flex: 0 0 auto;
  width: 42px;
  height: 42px;
  background: url("/assets/site/top/lp/pc/crest-emblem-7014fe92.webp") center / contain no-repeat;
  filter: drop-shadow(0 2px 2px rgba(0, 0, 0, 0.72));
}

body.public-auth-page .locale-switch-select {
  min-width: 112px;
  height: 40px;
  border-color: #8e6934;
  background: #0a111b;
  color: #f5ead0;
  box-shadow: inset 0 0 0 1px rgba(236, 205, 128, 0.08);
}

body.public-auth-page .page-body {
  position: relative;
  min-height: calc(100vh - 112px);
}

body.public-auth-page .page-body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(circle at 50% 38%, transparent 0 22%, rgba(2, 5, 9, 0.08) 42%, rgba(2, 5, 9, 0.38) 100%),
    linear-gradient(90deg, rgba(3, 6, 9, 0.46), transparent 25%, transparent 72%, rgba(3, 6, 9, 0.50));
}

body.public-auth-page .auth-shell {
  display: grid;
  grid-template-columns: minmax(22rem, 460px) minmax(0, 1fr);
  gap: 48px;
  align-items: center;
  max-width: none;
  min-height: calc(100vh - 112px);
  padding: 66px 58px 34px;
}

body.public-auth-page .auth-panel {
  margin: 0;
  padding: 22px;
  border: 1px solid rgba(238, 203, 128, 0.72);
  background: linear-gradient(180deg, rgba(10, 18, 26, 0.96), rgba(4, 9, 14, 0.96));
  box-shadow:
    inset 0 0 0 1px rgba(238, 203, 128, 0.12),
    4px 4px 0 rgba(0, 0, 0, 0.40);
}

body.public-auth-page .auth-heading h2 {
  margin: 0 0 10px;
  color: #efd493;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2rem;
  line-height: 1.05;
  text-shadow: 0 2px 0 rgba(0, 0, 0, 0.78);
}

body.public-auth-page .auth-kicker {
  margin-bottom: 8px;
  color: #d7c39a;
  font-size: 0.82rem;
}

body.public-auth-page .auth-heading p {
  margin: 0 0 16px;
  color: #f2e5cb;
  font-weight: 700;
  line-height: 1.55;
}

body.public-auth-page .auth-form {
  gap: 13px;
}

body.public-auth-page .auth-field label,
body.public-auth-page .auth-check {
  color: #dec794;
  font-size: 0.88rem;
}

body.public-auth-page .auth-field-hint {
  color: #c9b888;
}

body.public-auth-page .auth-input {
  min-height: 45px;
  border: 1px solid rgba(238, 203, 128, 0.38);
  background: rgba(2, 7, 12, 0.82);
  color: #f8efd9;
  font-weight: 700;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.38);
}

body.public-auth-page .auth-submit {
  position: relative;
  justify-content: center;
  width: 100%;
  min-height: 58px;
  padding: 10px 50px 10px 22px;
  border: 1px solid #cfa44f;
  color: #fff7df;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.55rem;
  font-weight: 700;
  text-align: center;
  text-shadow: 0 3px 0 rgba(0, 0, 0, 0.62);
  background: linear-gradient(180deg, #d2a64a 0%, #8e641d 100%);
  box-shadow:
    inset 0 0 0 2px rgba(255, 244, 190, 0.14),
    0 4px 0 rgba(0, 0, 0, 0.42);
}

body.public-auth-page .auth-submit:hover:not(:disabled) {
  border-color: #e3bd63;
  background: linear-gradient(180deg, #ddb458 0%, #9d7024 100%);
}

body.public-auth-page .auth-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  margin-top: 16px;
}

body.public-auth-page .auth-links a {
  color: #efd493;
  font-weight: 700;
}

.auth-hero {
  max-width: 650px;
  justify-self: center;
  text-align: center;
}

.auth-hero h1 {
  margin: 0;
  color: #efd493;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(4rem, 5.6vw, 5.2rem);
  font-weight: 700;
  line-height: 0.98;
  text-shadow:
    0 4px 0 rgba(0, 0, 0, 0.78),
    0 0 14px rgba(0, 0, 0, 0.84);
}

.auth-hero-lead {
  margin: 22px 0 0;
  color: #fff1c6;
  font-size: clamp(1.45rem, 2vw, 1.9rem);
  font-weight: 700;
  line-height: 1.35;
  text-shadow: 0 3px 0 rgba(0, 0, 0, 0.78);
}

.auth-hero-copy {
  max-width: 36rem;
  margin: 16px auto 0;
  color: #fff7e8;
  font-weight: 700;
  line-height: 1.75;
  text-shadow: 0 2px 0 rgba(0, 0, 0, 0.82);
}

@media (max-width: 900px) {
  body.public-home-page:not(.mobile-exploration-page) {
    --public-top-bg-y: var(--public-sp-bg-y);
    --public-top-bg-size: auto 760px;
    background:
      linear-gradient(180deg, var(--overlay-from) 0%, var(--overlay-to) 100%),
      url("/assets/site/top/lp/sp/hero-dungeon-gate-bg-16d5e3a1.webp") var(--public-top-bg-x) var(--public-top-bg-y) / var(--public-top-bg-size) no-repeat #05080d !important;
  }

  body.public-home-page {
    overflow-x: hidden;
  }

  body.public-home-page .page {
    padding-inline: 6px;
  }

  body.public-home-page .site-header {
    flex-direction: row;
    align-items: center;
    padding: 8px 12px;
    gap: 10px;
  }

  body.public-home-page .site-header-actions {
    display: flex;
    width: auto;
    gap: 8px;
    min-width: 0;
  }

  body.public-home-page .site-nav {
    width: auto;
    gap: 10px;
    min-width: 0;
  }

  body.public-home-page .site-title a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
  }

  body.public-home-page .site-title a::before {
    content: "";
    flex: 0 0 auto;
    width: 38px;
    height: 38px;
    background: url("/assets/site/top/lp/pc/crest-emblem-7014fe92.webp") center / contain no-repeat;
    filter: drop-shadow(0 2px 2px rgba(0, 0, 0, 0.72));
  }

  .public-lp-shell {
    display: flex;
    flex-direction: column;
    gap: 12px;
  }

  .public-lp-hero {
    order: 1;
    min-height: 540px;
    border: 1px solid rgba(167, 122, 50, 0.72);
    background: transparent;
  }

  .public-lp-hero-top {
    display: block;
    padding: 36px 18px 0;
  }

  .public-lp-title-card {
    position: relative;
    top: -16px;
    width: min(100%, 430px);
    min-height: 310px;
    margin-inline: auto;
    padding: 98px 38px 34px;
    background:
      url("/assets/site/top/lp/pc/title-card-frame-66a1219d.webp") center center / 100% 100% no-repeat;
    color: #f4ead5;
    text-shadow: none;
  }

  .public-lp-title-card h2 {
    margin-bottom: 10px;
    font-size: clamp(1.95rem, 8vw, 2.35rem);
    overflow-wrap: anywhere;
  }

  .public-lp-lead {
    margin-bottom: 8px;
    color: #f4ead5;
    font-size: clamp(1rem, 4.2vw, 1.2rem);
    text-shadow: none;
  }

  .public-lp-copy {
    max-width: 18rem;
    margin-inline: auto;
    color: #e6dcc7;
    font-size: 0.82rem;
    font-weight: 700;
    line-height: 1.62;
  }

  .public-lp-bonus-card {
    display: none;
  }

  .public-lp-cta-row {
    left: 22px;
    right: 22px;
    bottom: var(--public-sp-cta-bottom);
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
  }

  .public-lp-cta-row .public-lp-button::after {
    content: none;
  }

  .public-lp-button {
    min-height: 58px;
    padding: 10px 22px;
    font-size: clamp(1.24rem, 5.9vw, 1.72rem);
  }

  .public-lp-features {
    order: 3;
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .public-lp-feature {
    min-height: 0;
  }

  .public-lp-feature-image {
    aspect-ratio: 2.2 / 1;
  }

  .public-lp-stat-strip {
    order: 2;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .public-lp-stat-item {
    min-height: 66px;
    border-bottom: 1px solid rgba(236, 205, 128, 0.24);
  }

  .public-lp-stat-item:nth-child(2n) {
    border-right: 0;
  }
}

@media (max-width: 520px) {
  body.public-home-page .site-title {
    font-size: 1.1rem;
  }

  body.public-home-page .site-title a::before {
    width: 34px;
    height: 34px;
  }

  body.public-home-page .site-nav a {
    display: none;
  }

  body.public-home-page .locale-switch {
    display: block;
  }

  body.public-home-page .locale-switch-select {
    min-width: 108px;
    height: 40px;
  }

  body.public-home-page .site-nav {
    justify-content: flex-end;
  }

  .public-lp-hero {
    min-height: 536px;
  }

  .public-lp-hero-top {
    padding: 24px 14px 0;
  }

  .public-lp-title-card {
    width: min(100%, 340px);
    min-height: 262px;
    padding: 82px 30px 30px;
  }

  .public-lp-title-card h2 {
    margin-bottom: 8px;
    font-size: clamp(1.85rem, 8vw, 2.05rem);
  }

  .public-lp-lead {
    margin-bottom: 6px;
    font-size: clamp(0.92rem, 4.8vw, 1.1rem);
  }

  .public-lp-copy {
    max-width: 15.5rem;
    font-size: clamp(0.72rem, 3.35vw, 0.82rem);
    line-height: 1.54;
  }

  .public-lp-cta-row {
    left: 22px;
    right: 22px;
  }

  .public-lp-button {
    min-height: 58px;
    padding-inline: 18px;
    font-size: clamp(0.9rem, 4vw, 1.08rem);
  }

  .public-lp-feature {
    grid-template-columns: minmax(0, 0.43fr) minmax(0, 1fr);
    gap: 10px 14px;
    min-height: 130px;
    padding: 10px;
  }

  .public-lp-feature-heading {
    grid-column: 2;
    gap: 9px;
    align-self: end;
  }

  .public-lp-feature-icon {
    width: 2rem;
    height: 2rem;
    font-size: 0.78rem;
  }

  .public-lp-feature h3 {
    font-size: clamp(1.3rem, 6vw, 1.65rem);
  }

  .public-lp-feature-picture {
    grid-column: 1;
    grid-row: 1 / span 2;
    height: 100%;
    min-height: 112px;
  }

  .public-lp-feature-image {
    height: 100%;
    min-height: 112px;
    aspect-ratio: auto;
  }

  .public-lp-feature p {
    grid-column: 2;
    align-self: start;
    padding-right: 22px;
    font-size: clamp(0.82rem, 3.8vw, 0.98rem);
    line-height: 1.58;
  }

  .public-lp-stat-strip {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    min-height: 118px;
  }

  .public-lp-stat-item {
    min-height: 58px;
    padding: 8px 10px;
    border-right: 0;
    border-bottom: 1px solid rgba(236, 205, 128, 0.20);
    text-align: center;
  }

  .public-lp-stat-item:nth-child(4) {
    grid-column: span 2;
  }

  .public-lp-stat-item:nth-last-child(-n + 2) {
    border-bottom: 0;
  }

  .public-lp-stat-label {
    font-size: 0.68rem;
    line-height: 1.25;
  }

  .public-lp-stat-item strong {
    font-size: clamp(1.1rem, 4.7vw, 1.42rem);
    line-height: 1.15;
    white-space: normal;
  }

  .public-lp-stat-arrow {
    display: none;
  }
}

@media (max-width: 900px) {
  body.public-auth-page {
    --page-padding: 0 0 24px;
    --public-auth-sp-bg-y: 0px;
    overflow-x: hidden;
    background:
      linear-gradient(180deg, rgba(4, 8, 12, 0.04) 0%, rgba(4, 8, 12, 0.20) 46%, rgba(4, 8, 12, 0.88) 100%),
      url("/assets/site/top/lp/sp/hero-dungeon-gate-bg-16d5e3a1.webp") center var(--public-auth-sp-bg-y) / auto 760px no-repeat #05080d !important;
  }

  body.public-auth-page .page {
    width: 100%;
  }

  body.public-auth-page .site-header {
    flex-direction: row;
    align-items: center;
    margin: 0;
    min-height: 82px;
    padding: 10px 16px;
    border-inline: 0;
    border-top: 0;
  }

  body.public-auth-page .flash {
    width: auto;
    margin: 12px 16px 0;
    font-size: 0.95rem;
  }

  body.public-auth-page .site-header-actions {
    display: flex;
    width: auto;
    min-width: 0;
    align-items: center;
    gap: 12px;
  }

  body.public-auth-page .site-header-actions::after {
    content: "≡";
    display: inline-grid;
    place-items: center;
    width: 54px;
    height: 48px;
    border: 1px solid rgba(238, 203, 128, 0.66);
    background: rgba(5, 10, 16, 0.86);
    color: #f7ead0;
    font-size: 2rem;
    line-height: 1;
    box-shadow: inset 0 0 0 1px rgba(238, 203, 128, 0.10);
  }

  body.public-auth-page .site-title {
    font-size: clamp(1.35rem, 6vw, 2.35rem);
  }

  body.public-auth-page .site-title a {
    gap: 8px;
  }

  body.public-auth-page .site-title a::before {
    width: 42px;
    height: 42px;
  }

  body.public-auth-page .site-nav {
    width: auto;
    flex-wrap: nowrap;
    justify-content: flex-end;
    gap: 0;
  }

  body.public-auth-page .site-nav a {
    display: none;
  }

  body.public-auth-page .locale-switch {
    display: block;
  }

  body.public-auth-page .locale-switch-select {
    min-width: 118px;
    height: 48px;
    font-size: 1rem;
  }

  body.public-auth-page .page-body {
    min-height: calc(100vh - 82px);
  }

  body.public-auth-page .auth-shell {
    display: flex;
    flex-direction: column;
    min-height: calc(100vh - 82px);
    padding: 44px 28px 28px;
  }

  body.public-auth-page .auth-hero {
    display: none;
  }

  body.public-auth-page .auth-hero h1 {
    font-size: clamp(3.35rem, 11vw, 4.6rem);
  }

  body.public-auth-page .auth-hero-lead {
    margin-top: 16px;
    font-size: clamp(1.35rem, 5.3vw, 1.85rem);
  }

  body.public-auth-page .auth-hero-copy {
    margin-top: 14px;
    font-size: clamp(1rem, 3.8vw, 1.32rem);
    line-height: 1.72;
  }

  body.public-auth-page .auth-panel {
    order: 2;
    width: 100%;
    padding: 22px 24px;
  }

  body.public-auth-page .auth-heading h2 {
    font-size: clamp(2rem, 7.2vw, 2.6rem);
    text-align: center;
  }

  body.public-auth-page .auth-heading p,
  body.public-auth-page .auth-kicker {
    text-align: center;
  }

  body.public-auth-page .auth-field label,
  body.public-auth-page .auth-check {
    font-size: 1rem;
  }

  body.public-auth-page .auth-input {
    min-height: 58px;
    font-size: 1.15rem;
  }

  body.public-auth-page .auth-submit {
    min-height: 76px;
    font-size: clamp(1.6rem, 7vw, 2.15rem);
  }
}

@media (max-width: 520px) {
  body.public-auth-page {
    background-size: auto 650px !important;
  }

  body.public-auth-page .site-header {
    min-height: 66px;
    padding: 8px 12px;
  }

  body.public-auth-page .site-title {
    font-size: 1.08rem;
  }

  body.public-auth-page .site-title a::before {
    width: 34px;
    height: 34px;
  }

  body.public-auth-page .locale-switch-select {
    min-width: 108px;
    height: 40px;
  }

  body.public-auth-page .site-header-actions::after {
    width: 42px;
    height: 40px;
    font-size: 1.7rem;
  }

  body.public-auth-page .auth-shell {
    min-height: calc(100vh - 66px);
    padding: 36px 14px 22px;
  }

  body.public-auth-page .auth-hero h1 {
    font-size: clamp(2.75rem, 11vw, 3.55rem);
  }

  body.public-auth-page .auth-hero-lead {
    font-size: clamp(1.18rem, 5.2vw, 1.5rem);
  }

  body.public-auth-page .auth-hero-copy {
    font-size: clamp(0.9rem, 3.7vw, 1.05rem);
  }

  body.public-auth-page .auth-panel {
    padding: 18px;
  }

  body.public-auth-page .auth-heading h2 {
    font-size: clamp(1.8rem, 8vw, 2.2rem);
  }

  body.public-auth-page .auth-submit {
    min-height: 64px;
    padding-inline: 18px 42px;
    font-size: clamp(1.28rem, 6vw, 1.65rem);
  }
}

body.public-auth-page.interior-page .site-header {
  display: flex;
}
