@font-face {
  font-family: Pretendard;
  src: url("../assets/fonts/PretendardVariable.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}
:root {
  --bg: #0c1419;
  --panel: rgba(16, 25, 31, 0.96);
  --panel2: #18232a;
  --line: #344047;
  --gold: #ddbc7c;
  --gold-dim: #a8874d;
  --text: #edece6;
  --dim: #a3adb1;
  --danger: #ef8c88;
  --exp: #91be9e;
  --hp: #bd625d;
  --mp: #608fae;
  color-scheme: dark;
}
* {
  box-sizing: border-box;
}
body,
input,
button,
select,
textarea {
  font-family: Pretendard, "Malgun Gothic", sans-serif !important;
}
button,
a,
input {
  -webkit-tap-highlight-color: transparent;
}
button {
  font-size: 14px;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid #e7c788 !important;
  outline-offset: 4px;
}
button:disabled {
  opacity: 0.48;
  cursor: not-allowed;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  transition:
    background 0.2s,
    color 0.2s,
    border-color 0.2s,
    transform 0.15s;
}
button:hover {
  filter: none;
}
button:active {
  transform: translateY(1px);
}
.icon {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
  vertical-align: middle;
}
.brand {
  display: inline-flex;
  gap: 12px;
  align-items: center;
  flex-shrink: 0;
  color: #f5efdf;
}
.brand > span {
  font-family: Georgia, serif;
  font-size: 28px;
  letter-spacing: -1px;
  line-height: 1;
}
.brand-light {
  font-weight: 400;
  color: #d7bd8d;
}
.brand small {
  display: block;
  font:
    9px/1.6 Pretendard,
    sans-serif;
  letter-spacing: 2.4px;
  margin-top: 7px;
  color: #bac0b9;
}
.eyebrow {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 2.5px;
  color: #e5c997;
}
.entry-screen {
  background: #101b21 !important;
  display: flex !important;
  flex-direction: column;
  align-items: stretch;
  justify-content: flex-start;
  overflow-y: auto;
  isolation: isolate;
}
.entry-screen.hidden {
  display: none !important;
}
.entry-art {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 43% center;
  z-index: -3;
}
.entry-shade {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(
      90deg,
      rgba(6, 17, 22, 0.12),
      rgba(8, 20, 25, 0.12) 48%,
      rgba(7, 17, 24, 0.89) 87%
    ),
    linear-gradient(
      0deg,
      rgba(4, 13, 18, 0.94),
      transparent 67%,
      rgba(4, 13, 18, 0.52)
    );
}
.entry-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 30px 4.7%;
  gap: 28px;
}
.entry-header nav {
  display: flex;
  gap: 30px;
  align-items: center;
  margin-left: auto;
}
.entry-header nav button {
  border: 0;
  background: none;
  color: #e2e5df;
  padding: 10px 0;
  font-size: 14px;
  white-space: nowrap;
}
.entry-header nav button:hover {
  color: var(--gold);
}
.entry-header nav .icon {
  width: 14px;
  height: 14px;
  margin-left: 5px;
}
.edition-tag {
  display: flex;
  align-items: center;
  gap: 13px;
  border-left: 1px solid #83918a50;
  padding-left: 25px;
  font-size: 10px;
  letter-spacing: 2px;
  color: #b9c5c6;
}
.edition-tag i {
  width: 5px;
  height: 5px;
  transform: rotate(45deg);
  background: var(--gold);
}
.entry-body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 390px;
  gap: 70px;
  align-items: center;
  max-width: 1580px;
  width: 100%;
  margin: auto;
  padding: 35px 6.1% 30px;
}
.entry-story {
  padding-top: 60px;
  align-self: end;
  padding-bottom: 20px;
  max-width: 690px;
}
.entry-story .eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  letter-spacing: 2px;
}
.entry-story .eyebrow span {
  width: 24px;
  height: 1px;
  background: var(--gold);
}
.entry-story h1 {
  font-size: clamp(36px, 4.2vw, 64px);
  font-weight: 600;
  letter-spacing: -2.7px;
  line-height: 1.22;
  margin: 22px 0;
  color: #fff8e9;
  text-shadow: 0 2px 25px #07141a66;
}
.story-copy {
  font-size: 16px;
  line-height: 1.9;
  color: #d3ddd9;
  margin: 0;
}
.story-details {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  margin-top: 28px;
  color: #d6dfd9;
  font-size: 13px;
}
.story-details span {
  display: flex;
  align-items: center;
  gap: 8px;
}
.story-details .icon {
  color: #dac18e;
  width: 17px;
  height: 17px;
}
.chapter-line {
  display: flex;
  gap: 17px;
  align-items: center;
  max-width: 430px;
  margin-top: 54px;
  border-top: 1px solid #c6d0c133;
  padding-top: 22px;
}
.chapter-line > span:first-child {
  font:
    30px Georgia,
    serif;
  color: var(--gold);
}
.chapter-line small {
  display: block;
  color: #aebfb8;
  letter-spacing: 2px;
  font-size: 9px;
  margin-bottom: 6px;
}
.chapter-line strong {
  font-weight: 500;
  font-size: 14px;
}
.chapter-rule {
  height: 1px;
  background: #bac6b233;
  flex: 1;
  margin: 0 10px;
}
.chapter-line > .icon {
  width: 26px;
  height: 26px;
  color: #c8b587;
}
.entry-card.login-card {
  width: 100%;
  max-width: none;
  background: linear-gradient(
    150deg,
    rgba(25, 37, 44, 0.97),
    rgba(13, 25, 32, 0.98)
  ) !important;
  border: 1px solid #87938942;
  border-radius: 8px;
  padding: 33px 30px 25px;
  box-shadow: 0 20px 70px #020a1060;
  max-height: none;
  overflow: visible;
  position: relative;
  text-align: left;
}
.entry-card:before {
  content: "";
  height: 1px;
  background: linear-gradient(90deg, transparent, #e2c58c, transparent);
  position: absolute;
  top: -1px;
  left: 17%;
  width: 66%;
}
.card-kicker {
  font-size: 10px;
  color: #c6b591;
  letter-spacing: 2px;
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 20px;
}
.gold-diamond {
  font-size: 20px;
  line-height: 1;
}
.entry-card h2 {
  font-size: 26px;
  letter-spacing: -0.8px;
  margin: 0 0 9px;
  font-weight: 600;
  color: #f5f0e6;
}
.auth-lead {
  font-size: 14px;
  color: #a7b3b7;
  margin: 0 0 25px;
  line-height: 1.7;
}
.google-btn {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  border: 1px solid #4b565c;
  border-radius: 4px;
  background: #f0f0e9;
  color: #24313a;
  padding: 13px 15px;
  min-height: 47px;
  font-weight: 600;
  font-size: 14px;
}
.google-btn:hover {
  background: #fffaf0;
}
.google-btn > .icon {
  margin-left: auto;
  width: 15px;
}
.google-letter {
  font: 700 20px Arial;
  color: #42699c;
}
.auth-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #95a3a9;
  font-size: 12px;
  margin: 23px 0;
}
.auth-divider:before,
.auth-divider:after {
  content: "";
  height: 1px;
  background: #35434b;
  flex: 1;
}
.field-label {
  display: block;
  font-size: 13px;
  margin: 0 0 9px;
  color: #cdd4d5;
  font-weight: 500;
}
.entry-card input {
  height: 46px !important;
  background: #0d1a21 !important;
  border: 1px solid #39474f !important;
  border-radius: 4px !important;
  color: #f3efe5 !important;
  padding: 12px 13px !important;
  font-size: 14px !important;
  margin: 0 0 17px !important;
  outline: none;
}
.entry-card input::placeholder {
  color: #798b94;
}
.label-line {
  display: flex;
  justify-content: space-between;
}
.label-line > span {
  font-size: 11px;
  color: #82959f;
}
.password-wrap {
  position: relative;
}
.password-wrap input {
  padding-right: 44px !important;
}
.password-wrap > button {
  position: absolute;
  right: 7px;
  top: 5px;
  border: 0;
  background: transparent;
  color: #8497a2;
  padding: 8px;
}
.password-wrap .icon {
  width: 18px;
  height: 18px;
}
.entry-card .enter-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  background: #dcbf83 !important;
  color: #182028 !important;
  border: 1px solid #efcf92;
  border-radius: 4px;
  font-size: 15px;
  font-weight: 700;
  padding: 14px;
  min-height: 47px;
}
.entry-card .enter-btn:hover {
  background: #f0d39a !important;
}
.enter-btn .icon {
  width: 17px;
}
.signup-line {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 7px;
  margin-top: 17px;
  color: #97a8b0;
  font-size: 12px;
}
.signup-line button {
  background: transparent;
  border: 0;
  padding: 3px;
  color: #e1c58f;
  font-size: 12px;
  border-bottom: 1px solid #ddbc7c50;
  border-radius: 0;
}
.entry-card .login-msg {
  font-size: 12px;
  line-height: 1.6;
  min-height: 0;
  margin: 8px 0 0;
  text-align: left;
}
.login-msg:empty {
  display: none;
}
.guest-divider {
  height: 1px;
  background: #c7d3dc1c;
  margin-top: 23px;
}
.guest-btn {
  display: flex;
  justify-content: center;
  gap: 10px;
  align-items: center;
  background: none;
  color: #d1dada;
  border: 0;
  width: 100%;
  padding: 17px 0 10px;
  font-size: 13px;
}
.guest-btn:hover {
  color: #efd39b;
}
.guest-btn .icon {
  width: 15px;
  height: 15px;
}
.save-note {
  font-size: 11px;
  text-align: center;
  color: #8b9ca5;
  margin: 0;
  line-height: 1.6;
}
.entry-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: auto;
  padding: 24px 4.7%;
  font-size: 11px;
  letter-spacing: 0.3px;
  color: #aab8b7;
}
.entry-footer a {
  display: flex;
  align-items: center;
  gap: 7px;
}
.entry-footer .icon {
  width: 14px;
  height: 14px;
}
.footer-sep {
  margin: 0 9px;
  opacity: 0.4;
}
.footer-middle {
  letter-spacing: 2px;
  color: #98aaa7;
}
.edition-dialog {
  background: #14222b;
  color: var(--text);
  border: 1px solid #677267;
  border-radius: 8px;
  padding: 40px;
  max-width: 620px;
  width: calc(100% - 32px);
  max-height: 85vh;
  overflow: auto;
  box-shadow: 0 30px 100px #0009;
}
.edition-dialog::backdrop {
  background: #041018bd;
  backdrop-filter: blur(6px);
}
.edition-dialog h2 {
  font-size: 29px;
  letter-spacing: -1px;
  margin: 18px 0;
}
.edition-dialog p {
  line-height: 1.85;
  color: #bdc8ce;
  font-size: 15px;
}
.dialog-close {
  position: absolute;
  right: 13px;
  top: 13px;
  padding: 8px;
  background: none;
  border: 0;
  color: var(--dim);
}
.guide-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: #3a4b54;
  border: 1px solid #3a4b54;
  border-radius: 5px;
  overflow: hidden;
  margin: 25px 0;
}
.guide-grid > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 16px;
  background: #172730;
  font-size: 14px;
}
kbd {
  font:
    12px Pretendard,
    sans-serif;
  letter-spacing: 1px;
  border: 1px solid #61717a;
  border-radius: 3px;
  padding: 4px 6px;
  color: #e3c591;
  background: #283942;
}
.edition-dialog li {
  font-size: 14px;
  color: #bfcdd0;
  line-height: 1.85;
  margin: 10px 0;
}
.update-version {
  font:
    30px Georgia,
    serif;
  color: #e6c993;
}
.update-row {
  border-top: 1px solid #44545c;
  padding: 16px 0;
}
.update-row strong {
  font-weight: 600;
}
.update-row p {
  margin: 7px 0;
  font-size: 14px;
}
#editionToast {
  position: fixed;
  bottom: 26px;
  left: 50%;
  transform: translate(-50%, 15px);
  opacity: 0;
  pointer-events: none;
  z-index: 100000;
  background: #23363e;
  color: #f4ebd5;
  border: 1px solid #8c845e;
  padding: 14px 22px;
  border-radius: 5px;
  font-size: 14px;
  transition:
    opacity 0.2s,
    transform 0.2s;
  max-width: 90vw;
  line-height: 1.6;
}
#editionToast.show {
  opacity: 1;
  transform: translate(-50%, 0);
}
/* The in-game surfaces use the same materials as the title screen. */
.game-window {
  background: rgba(16, 27, 34, 0.97) !important;
  border: 1px solid #5b665f !important;
  border-radius: 8px !important;
  box-shadow: 0 24px 90px #02080c88 !important;
  max-height: 85dvh;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: #67786f #132028;
  color: #e7e8df !important;
}
.win-title {
  font-size: 20px !important;
  letter-spacing: -0.3px !important;
  color: #ddc494 !important;
  border-bottom-color: #3d4c50 !important;
}
.game-window input,
.game-window select,
.game-window textarea {
  background: #0e1b23 !important;
  border: 1px solid #3f505a !important;
  color: #e8ece6 !important;
  border-radius: 4px !important;
  font-size: 14px !important;
}
.game-window button {
  border-radius: 4px;
}
.game-window .pp-row,
.game-window .inv-item {
  border-color: #35444b !important;
}
.win-close {
  width: 32px;
  height: 32px;
  line-height: 30px !important;
  background: #20323a !important;
  border: 1px solid #43524f !important;
}
.tab-btn {
  border-radius: 4px !important;
}
.tab-btn.sel {
  background: #d3b77e !important;
  color: #17242a !important;
}
.btn-long,
.game-window .btn-dark {
  background: #253a43 !important;
  border: 1px solid #455950 !important;
  color: #e5ebdf !important;
}
.btn-gold {
  background: #ddbd80 !important;
  color: #17222a !important;
  border-radius: 4px;
}
.bar {
  height: 17px;
  border-radius: 3px;
}
.bar > div {
  border-radius: 2px;
}
.bar span {
  font-size: 11px;
  line-height: 17px;
}
.bar.exp {
  height: 4px;
}
#charFrame,
#goldBox,
#onlineBox,
#mapNameBox,
#questTracker {
  background: rgba(13, 27, 35, 0.91) !important;
  border: 1px solid #79857570 !important;
  border-radius: 5px !important;
  color: #e5e7dc;
}
#charFrame {
  padding: 15px 18px;
}
#charJob {
  font-size: 12px;
  color: #adbdc4;
}
#charName {
  font-weight: 600;
}
#mapNameBox {
  font-size: 14px;
  padding: 10px 22px;
  color: #dfc698 !important;
}
#onlineBox {
  font-size: 12px;
}
#mainMenu {
  align-items: flex-start !important;
  justify-content: center !important;
  padding: 6vh 7vw !important;
  background: linear-gradient(
    90deg,
    #08141aec 0%,
    #08141a99 38%,
    #08141a18 75%
  ) !important;
}
#mainMenu .menu-logo {
  position: static !important;
  font:
    68px/1.05 Georgia,
    serif !important;
  color: #e8ce9a !important;
  text-shadow: none !important;
  transform: none !important;
  letter-spacing: -3px !important;
  margin: 0 0 32px !important;
  filter: none !important;
  background: none !important;
}
#mainMenu .menu-logo small {
  display: block;
  font:
    10px Pretendard,
    sans-serif;
  letter-spacing: 4px;
  color: #b7c5c3;
  margin-top: 14px;
}
#mainMenu .menu-col {
  gap: 7px;
  align-items: stretch !important;
}
#mainMenu .menu-btn {
  width: 290px;
  padding: 12px 18px;
  font-size: 15px !important;
  text-align: left;
  background: transparent;
  border: 1px solid transparent;
  border-radius: 3px;
  letter-spacing: 0;
  box-shadow: none;
  backdrop-filter: none;
}
#mainMenu .menu-btn:hover {
  background: #ffffff10;
  border-color: #a4b8aa50;
  color: #e4c58a;
}
#mainMenu #btnPlay {
  font-size: 20px !important;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #dfc189;
  color: #14232c;
  border: 1px solid #dfc189;
  padding: 16px 18px;
  margin-bottom: 12px;
}
#mainMenu .menu-user {
  position: static;
  margin-top: 25px;
  font-size: 12px;
  color: #b8c4c6;
}
.pause-col {
  background: rgba(13, 26, 33, 0.97) !important;
  border: 1px solid #647669 !important;
  border-radius: 8px !important;
  padding: 22px !important;
}
.pause-btn {
  border-radius: 4px !important;
  font-size: 14px !important;
  border: 1px solid #41545c !important;
  background: #20323b !important;
}
.pause-title {
  font-size: 22px !important;
  letter-spacing: 0;
}
.screen:not(.entry-screen) {
  background:
    linear-gradient(#091721bb, #091721ee),
    url("../assets/images/manas-dawn.webp") center/cover !important;
}
.screen:not(.entry-screen) .login-card {
  background: #14242cf5 !important;
  border: 1px solid #738071;
  border-radius: 6px;
}
.screen .game-logo {
  font-size: 28px !important;
  letter-spacing: 0;
  transform: none;
  filter: none;
  color: #e0c48e !important;
  background: none !important;
  text-shadow: none !important;
}
.nick-desc {
  font-size: 14px !important;
}
.hidden {
  display: none !important;
}
@media (min-width: 1500px) {
  .entry-body {
    grid-template-columns: minmax(0, 1fr) 410px;
    gap: 110px;
  }
  .entry-card.login-card {
    padding: 38px 34px 30px;
  }
  .entry-story h1 {
    font-size: 68px;
  }
  .entry-story {
    padding-bottom: 22px;
  }
}
@media (max-height: 790px) and (min-width: 981px) {
  .entry-header {
    padding-top: 22px;
    padding-bottom: 18px;
  }
  .entry-body {
    padding-top: 8px;
    padding-bottom: 8px;
  }
  .entry-card.login-card {
    padding: 25px 27px 20px;
  }
  .card-kicker {
    margin-bottom: 14px;
  }
  .auth-lead {
    margin-bottom: 20px;
  }
  .auth-divider {
    margin: 18px 0;
  }
  .entry-story h1 {
    font-size: 50px;
  }
  .chapter-line {
    margin-top: 36px;
  }
  .entry-footer {
    padding-top: 19px;
    padding-bottom: 19px;
  }
}
@media (max-width: 980px) {
  .entry-body {
    gap: 35px;
    grid-template-columns: minmax(0, 1fr) 360px;
    padding-left: 5%;
    padding-right: 5%;
  }
  .entry-story h1 {
    font-size: 39px;
    letter-spacing: -2px;
  }
  .entry-story {
    padding-bottom: 12px;
  }
  .story-copy {
    font-size: 14px;
  }
  .story-details {
    gap: 14px;
    font-size: 12px;
  }
  .chapter-line {
    margin-top: 32px;
  }
  .entry-header {
    gap: 15px;
  }
  .entry-header nav {
    gap: 20px;
  }
  .edition-tag {
    display: none;
  }
  .entry-card.login-card {
    padding: 26px;
  }
  .entry-art {
    object-position: 38% center;
  }
  .footer-middle {
    display: none;
  }
}
@media (max-width: 740px) {
  .entry-screen {
    position: fixed;
    min-height: 100dvh;
  }
  .entry-header {
    padding: 23px 22px;
  }
  .brand > span {
    font-size: 24px;
  }
  .brand img {
    width: 34px;
    height: 34px;
  }
  .brand small {
    font-size: 8px;
    letter-spacing: 1.8px;
  }
  .entry-header nav {
    gap: 0;
  }
  .entry-header nav button {
    font-size: 12px;
  }
  .entry-header nav button:not([data-info="guide"]) {
    display: none;
  }
  .entry-body {
    display: flex;
    flex-direction: column;
    gap: 24px;
    padding: 10px 22px 25px;
  }
  .entry-story {
    padding: 10px 0 0;
    align-self: stretch;
    text-align: left;
  }
  .entry-story h1 {
    font-size: 35px;
    letter-spacing: -1.8px;
    margin: 16px 0;
  }
  .entry-story h1 br {
    display: none;
  }
  .story-copy {
    font-size: 13px;
    line-height: 1.7;
  }
  .story-details,
  .chapter-line {
    display: none;
  }
  .entry-story .eyebrow {
    font-size: 10px;
    letter-spacing: 1.5px;
  }
  .entry-card.login-card {
    max-width: 460px;
    padding: 27px;
    width: 100%;
  }
  .entry-art {
    position: fixed;
    object-position: 38% center;
  }
  .entry-shade {
    position: fixed;
    background: linear-gradient(0deg, #07151bf5 30%, #10202650 100%);
  }
  .entry-footer {
    padding: 10px 22px 24px;
    font-size: 10px;
  }
  .entry-card h2 {
    font-size: 24px;
  }
  .entry-card .save-note {
    font-size: 11px;
  }
  .entry-story {
    max-width: 460px;
    margin: auto;
    width: 100%;
  }
  .edition-dialog {
    padding: 30px 22px;
  }
  .guide-grid {
    grid-template-columns: 1fr;
  }
  .edition-dialog h2 {
    font-size: 25px;
  }
  #mainMenu {
    padding: 30px !important;
    overflow: auto;
  }
  #mainMenu .menu-logo {
    font-size: 48px !important;
  }
  .entry-card input {
    font-size: 16px !important;
  }
  #rotateOverlay {
    display: none !important;
  }
  body.mobile #hud:not(.hidden) ~ #rotateOverlay {
    display: none !important;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *:before,
  *:after {
    scroll-behavior: auto !important;
    transition: none !important;
    animation: none !important;
  }
}
/* Readable menu surfaces regardless of the live scene behind them. */
#mainMenu { isolation:isolate; overflow-y:auto; background:linear-gradient(90deg,#09131cf5 0%,#09131ce8 360px,#09131c58 70%,#09131c20 100%) !important; }
#mainMenu .menu-col { padding:16px; width:332px; max-width:100%; background:#13222ef5; border:1px solid #52616a; border-radius:10px; box-shadow:0 18px 55px #0006; position:relative; z-index:1; }
#mainMenu .menu-btn { color:#f3f1e9 !important; background:#21323e !important; border:1px solid #40515c !important; min-width:0 !important; width:100% !important; min-height:45px; opacity:1 !important; text-shadow:none !important; -webkit-text-fill-color:currentColor; }
#mainMenu .menu-btn:hover { background:#344a58 !important; border-color:#c3a773 !important; color:#fff3d4 !important; }
#mainMenu .menu-btn:focus-visible { outline:3px solid #f4d497; outline-offset:3px; }
#mainMenu #btnPlay { background:#e0c38b !important; border-color:#e0c38b !important; color:#17232c !important; }
#mainMenu .menu-exit { color:#ddb5b3 !important; }
#mainMenu .menu-logo { font-size:clamp(42px,5vw,68px) !important; }
#mainMenu .menu-user { color:#f3ead8 !important; }
@media(max-height:760px) { #mainMenu {padding:22px 5vw !important;justify-content:flex-start !important;} #mainMenu .menu-logo {margin-bottom:14px !important;font-size:42px !important;} #mainMenu .menu-logo small {margin-top:7px;} #mainMenu .menu-btn {min-height:40px;padding:9px 14px;} #mainMenu #btnPlay {padding:12px 14px;margin-bottom:4px;} #mainMenu .menu-user {margin-top:12px;} }
@media(max-width:600px) { #mainMenu .menu-col {width:100%;max-width:360px;} #mainMenu {padding:24px !important;} }

/* In-game surfaces use their own text tokens, independent of the title page. */
@font-face {font-family:ManasSerif;src:url('../assets/fonts/NanumMyeongjo-Regular.ttf') format('truetype');font-display:swap;font-weight:400;}
#pauseMenu .pause-title,#mapNameBox,.modal-title,.panel-title {font-family:ManasSerif,serif!important;font-weight:400!important;}
#hudHP,#hudMP,.cooldown,.stat-value {font-variant-numeric:tabular-nums;}
#pauseMenu { background:#061018b8!important; backdrop-filter:blur(9px); padding:24px 16px; overflow-y:auto; }
#pauseMenu .pause-col { width:480px; max-width:100%; padding:26px; gap:10px; background:linear-gradient(145deg,#192d38,#0e1c27)!important; border:1px solid #8a795c; border-radius:14px; box-shadow:0 24px 90px #0009; }
#pauseMenu .pause-title { color:#f1d39c!important; font-size:24px; letter-spacing:.04em; padding:0 0 16px; }
#pauseMenu .pause-btn { display:flex; align-items:center; gap:12px; text-align:left; min-height:49px; padding:12px 14px; border:1px solid #49606d!important; background:#253c49!important; color:#f2f1e9!important; -webkit-text-fill-color:currentColor; opacity:1!important; font-size:14px; font-weight:550; border-radius:7px; line-height:1.4; }
#pauseMenu .pause-btn span { color:inherit!important; }
#pauseMenu .pause-btn:hover { background:#365564!important; border-color:#d5b77d!important; transform:translateY(-1px); }
#pauseMenu #btnResume { background:#dfc58d!important; color:#17242d!important; border-color:#f0dba9!important; }
#pauseMenu #btnPauseTitle,#pauseMenu #btnPauseExit { font-size:12px; }
.game-icon { width:21px;height:21px;flex:0 0 21px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round;color:#e2c48a; }
#btnResume .game-icon {color:inherit;}
.panel button,.modal button {color:#eeeade;}
@media(max-width:420px){#pauseMenu .pause-col{padding:17px;gap:8px;}#pauseMenu .pause-btn{padding:10px;font-size:12px;gap:8px;} .game-icon{width:18px;flex-basis:18px;}}
@media(prefers-reduced-motion:reduce){#pauseMenu *{transition:none!important;}}

.inline-icon{width:16px;height:16px;flex-basis:16px;vertical-align:-3px;margin-right:3px;} #skillBar .inline-icon{width:23px;height:23px;} #hud button{color:#eeeade!important;} #hud .inline-icon{color:#d8c59a;}
#adventureTracker{position:fixed;right:18px;top:112px;width:252px;padding:19px 20px;background:linear-gradient(125deg,#142632ed,#10202bd9);border:1px solid #a3895b66;border-left:2px solid #ddbd81;border-radius:4px;box-shadow:0 8px 30px #0002;color:#f0eee5;pointer-events:none;}
.tracker-kicker{display:flex;align-items:center;gap:8px;color:#d6ba85;font-size:11px;letter-spacing:.1em;}
#trackerTitle{font:400 20px/1.5 ManasSerif,serif;margin:12px 0 8px;color:#f4e2bd;}
#trackerObjective{font-size:13px;line-height:1.7;margin:0;color:#e4e9eb;}
#trackerProgress{color:#ebcb86;font-size:13px;margin-top:8px;font-variant-numeric:tabular-nums;}
#trackerControls{display:block;color:#b1c0c7;font-size:10px;border-top:1px solid #8899a033;margin-top:12px;padding-top:10px;}
@media(max-width:700px){#adventureTracker{top:99px;right:10px;width:170px;padding:12px;}#trackerTitle{font-size:16px;margin:7px 0;}#trackerObjective{font-size:11px;}#trackerControls{display:none;}}
@media(max-width:480px){#adventureTracker{top:137px;width:156px;background:#142632e8;} .tracker-kicker{font-size:10px;}}
