:root { --field-cream: #f8e5c7; --field-accent: #e7a575; --field-jade: #8ec9ac; }
.brand-seal { width: 2.9rem; height: 2.9rem; object-fit: contain; filter: drop-shadow(0 2px .4rem #d38b4f60); }
.topbar { border-bottom-color: #967057; }
.topbar-inner { column-gap: clamp(.75rem, 2vw, 1.7rem); }
.topbar::after { height: 2px; }
.brand-type { color: var(--field-cream); }
.main-nav > button { position: relative; }
.main-nav > button[data-nav-discovery="locked"]:not([aria-current="page"]) { color: #bdc2bb; }
.main-nav > button[data-nav-discovery="locked"] > .icon:first-child { opacity: .63; filter: saturate(.55); }
.nav-discovery-mark { position: absolute; inset: .06rem .04rem auto auto; width: .82rem; height: .82rem; }
.nav-discovery-mark .icon { display: block; width: .82rem; height: .82rem; }
.nav-discovery-mark[hidden] { display: none; }
.field-gauges {
  display: grid;
  grid-template-columns: minmax(7.65rem, auto) minmax(7.2rem, auto);
  gap: .35rem;
}
.field-gauge {
  position: relative;
  display: grid;
  min-width: 0;
  align-content: start;
  gap: .18rem;
  padding: .27rem .43rem .37rem;
  border: 1px solid #4c635c;
  border-radius: .14rem .52rem .14rem .38rem;
  background: linear-gradient(140deg,#202e31,#100e18);
  color: var(--field-cream);
}
.field-gauge[hidden] { display: none; }
.field-gauge > span { display: inline-flex; align-items: center; gap: .2rem; font-weight: 720; font-size: .875rem; line-height: 1.14; }
.field-gauge > span .icon { flex: 0 0 auto; width: .99rem; height: .99rem; }
.field-gauge > span > strong { font-variant-numeric: tabular-nums; color: #fff4db; }
.field-gauge .gauge-fraction { color: #cfdfd8; white-space: nowrap; font-size: .875rem; }
.field-gauge > progress {
  appearance: none;
  width: 100%;
  height: .29rem;
  border: 0;
  border-radius: 1rem;
  overflow: hidden;
  background: #38464b;
}
.field-gauge > progress::-webkit-progress-bar { background: #38464b; }
.field-gauge > progress::-webkit-progress-value { background: linear-gradient(90deg,#ba6751,#ffc998); border-radius: 1rem; }
.field-gauge > progress::-moz-progress-bar { background: linear-gradient(90deg,#ba6751,#ffc998); border-radius: 1rem; }
.xp-status { border-color: #4c6e68; }
.xp-status > progress::-webkit-progress-value { background: linear-gradient(90deg,#458a79,#cef2c7); }
.xp-status > progress::-moz-progress-bar { background: linear-gradient(90deg,#458a79,#cef2c7); }
.field-gauge #stamina-clock { color: #b5dec7; line-height: 1.04; font-size: .875rem; }
.footer-edition { display: flex; align-items: center; gap: .4rem; color: #e8cfae; }
.footer-edition > img { object-fit: contain; }
.discovery-gate { max-width: 51rem; margin-inline: auto; position: relative; overflow: hidden; }
.discovery-gate::after { content: ""; position: absolute; pointer-events: none; inset: auto 0 0; height: 2px; background: linear-gradient(90deg,#eab282,transparent 70%); }
.discovery-gate .btn { margin-top: .6rem; }
.field-next { display: flex; padding-block-start: .35rem; }
.field-next > .btn { min-height: 44px; white-space: normal; }
.chapter-zone-links .field-next { padding: 0; }
.manga-finish-reward { display: flex; flex-wrap: wrap; align-items: center; gap: .4rem .65rem; color: #f6dba7; }
.manga-finish-reward > span { display: inline-flex; align-items: center; gap: .24rem; white-space: nowrap; }
.atlas-title-secondary { font: 700 italic clamp(2rem, 5vw, 5rem) / .94 var(--display); text-transform: uppercase; color: var(--field-cream); }
.action-film[data-kind="summon"] .film-band { border-color: #cba0e9; background: linear-gradient(102deg,#27202f,#513a62 51%,#172e37); }
.film-portrait { width: 100%; height: 100%; object-fit: cover; object-position: 50% 25%; border-radius: inherit; }
.action-film[data-kind="chapter"] .film-band { border-color: #99c6ad; background: linear-gradient(102deg,#202531,#2e584d 51%,#172634); }
.toast[data-kind="rare"] { --notice-edge: #bea0ee; --notice-shade: #392d55; --notice-ink: #f0d9ff; }
.toast[data-kind="rare"] .notice-emblem { background: radial-gradient(ellipse at center,#b290ed4a,#1c193cce 80%); }

@media (max-width: 1500px) {
  .top-status #current-seed { display: none; }
}
@media (max-width: 1350px) {
  .topbar-inner { display: grid; grid-template-columns: minmax(0, 1fr) auto; padding-block: .44rem; }
  .topbar-inner .main-nav { grid-row: 2; grid-column: 1 / -1; }
  .topbar-inner .top-status { grid-column: 2; grid-row: 1; }
}
@media (max-width: 610px) {
  .topbar-inner { grid-template-columns: minmax(0, 1fr) auto; gap: .3rem .45rem; }
  .topbar-inner .brand { grid-area: 1 / 1; column-gap: .4rem; min-width: 0; align-self: center; }
  .brand-seal { width: 1.98rem; height: 1.98rem; }
  .brand-type { overflow-wrap: normal; font-size: 1.48rem; }
  .brand-type > small { display: inline; }
  .topbar-inner .top-status { display: contents; }
  .topbar-inner .sound-control { grid-area: 1 / 2; }
  .topbar-inner .main-nav { grid-row: 3; }
  .field-gauges { grid-area: 2 / 1 / 3 / -1; grid-template-columns: repeat(2,minmax(0,1fr)); gap: .27rem; }
  .field-gauges:has(.xp-status[hidden]) { grid-template-columns: minmax(0,1fr); }
  .field-gauge { padding: .22rem .29rem .29rem; }
  .field-gauge > span { flex-wrap: wrap; gap: .1rem .17rem; }
  #vigor-count > .icon, #xp-count > .icon { width: .83rem; height: .83rem; }
  .field-gauge .gauge-fraction { font-weight: 600; }
  .main-nav > button .nav-discovery-mark .icon { width: .82rem; height: .82rem; }
  .nav-discovery-mark { inset: .15rem .28rem auto auto; }
}
