@charset "utf-8";
[hidden] {
  display: none !important;
}
.activity {
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  overflow-wrap: anywhere;
}
.activity summary {
  cursor: pointer;
}
.activity summary b {
  margin: 0 12px 0 5px;
}
.activity summary time,
.activity summary span {
  font-size: 13px;
  color: var(--sub);
}
:root {
  --bg: #f8f5ed;
  --paper: #fffdf5;
  --ink: #263b32;
  --sub: #59665c;
  --green: #215640;
  --pine: #173f34;
  --muted: #d7dece;
  --line: #d4d4c4;
  --gold: #f1c462;
  --rust: #97572e;
  --serif: 'STIX Two Text', 'Noto Serif CJK SC', 'Source Han Serif SC', 'Songti SC', SimSun, serif;
  --sans: 'DM Sans', 'Microsoft YaHei', 'PingFang SC', 'Noto Sans CJK SC', sans-serif;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 15px/1.62 var(--sans);
  min-width: 280px;
}
a {
  color: inherit;
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}
button,
input,
select {
  font: inherit;
  color: inherit;
}
button {
  cursor: pointer;
}
h1,
h2,
h3,
p,
dl,
dd,
figure {
  margin: 0;
}
img {
  display: block;
  max-width: 100%;
}
button:disabled {
  cursor: not-allowed;
  opacity: 0.53;
}
:focus-visible {
  outline: 3px solid #b56023;
  outline-offset: 3px;
}
.frame {
  width: min(1180px, calc(100% - 88px));
  margin: auto;
}
.skip {
  position: fixed;
  left: 12px;
  top: -90px;
  z-index: 20;
  background: white;
  padding: 10px;
}
.skip:focus {
  top: 12px;
}
.mast {
  background: #fbf8ef;
  border-bottom: 1px solid var(--line);
}
.mast-inner {
  min-height: 86px;
  display: flex;
  align-items: center;
  gap: 35px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  white-space: nowrap;
}
.brand:hover {
  text-decoration: none;
}
.brand img {
  border-radius: 7px;
}
.brand span {
  display: grid;
  line-height: 1.25;
}
.brand b {
  font-family: var(--serif);
  font-size: 25px;
  letter-spacing: 2px;
}
.brand small {
  margin-top: 4px;
  font-size: 10px;
  letter-spacing: 1.1px;
  font-weight: 600;
  color: var(--sub);
}
.mast nav {
  margin: auto;
  display: flex;
  gap: 29px;
  height: 86px;
  align-items: stretch;
}
.mast nav a {
  display: flex;
  align-items: center;
  position: relative;
  font-weight: 600;
}
.mast nav a[aria-current] {
  color: var(--green);
}
.mast nav a[aria-current]::after {
  content: '';
  position: absolute;
  bottom: 18px;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--green);
}
.account-link {
  border: 1px solid #a5b29f;
  border-radius: 4px;
  padding: 8px 15px;
  font-size: 14px;
  font-weight: 650;
}
.account-link span {
  margin-left: 7px;
}
main {
  padding: 28px 0 70px;
  min-height: 68vh;
}
main:focus {
  outline: none;
}
.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  min-height: 415px;
  padding: 45px clamp(25px, 5vw, 72px);
  background-color: var(--pine);
  background-image:
    radial-gradient(ellipse at 86% 8%, #406650 0, transparent 53%),
    repeating-linear-gradient(90deg, transparent, transparent 39px, #ffffff05 40px),
    repeating-linear-gradient(0deg, transparent, transparent 39px, #ffffff05 40px);
  color: #faf7df;
  border: 1px solid #123a2b;
  border-radius: 9px 9px 0 0;
  gap: 32px;
}
.hero-copy {
  max-width: 550px;
  z-index: 1;
}
.hero-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2.1px;
  color: #ead99d;
}
.hero-meta::before {
  content: '';
  width: 31px;
  height: 2px;
  background: #e4bc63;
}
.hero h1 {
  font-family: var(--serif);
  font-weight: 800;
  line-height: 1.12;
  font-size: clamp(46px, 5.4vw, 79px);
  letter-spacing: 0.06em;
  margin: 20px 0 12px;
}
.hero-name {
  font:
    italic 28px/1.1 Georgia,
    serif;
  color: #eacb85;
  letter-spacing: 1px;
}
.hero-copy > p {
  max-width: 490px;
  color: #e5eddd;
  margin: 20px 0 24px;
  font-size: 16px;
  line-height: 1.85;
}
.btn,
.plain,
.tabs button,
.tabs a,
.pager button,
.sorter {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  border-radius: 4px;
  line-height: 1.25;
  min-height: 40px;
  padding: 10px 16px;
  font-weight: 650;
  border: 1px solid transparent;
}
.btn:hover,
.plain:hover,
.tabs a:hover {
  text-decoration: none;
}
.btn {
  background: var(--green);
  color: white;
}
.btn:hover:not(:disabled) {
  background: #163e2d;
}
.btn.gold {
  background: #f1c462;
  color: #302b18;
  border-color: #f4cf84;
}
.btn.gold:hover {
  background: #ffdc8e;
}
.plain {
  background: transparent;
  border-color: #a9b4a3;
  color: var(--ink);
}
.plain:hover {
  background: #e9eedf;
}
.hero .plain {
  color: #f0eee0;
  border-color: #8da390;
}
.hero .plain:hover {
  background: #315344;
}
.actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}
.hero-art {
  position: relative;
  justify-self: center;
  width: min(100%, 335px);
  aspect-ratio: 1;
  transform: rotate(3deg);
  filter: drop-shadow(8px 12px 0 #092c233a);
}
.hero-art::before {
  content: '';
  position: absolute;
  inset: 5px;
  background: #b9945d;
  transform: rotate(-7deg);
  border: 1px solid #dfc290;
}
.hero-art > img {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.hero-art::after {
  content: '';
  position: absolute;
  left: 36%;
  top: -8px;
  width: 29%;
  height: 21px;
  transform: rotate(-4deg);
  background: #d2b47ed9;
  border: 1px solid #e0c48e55;
  mix-blend-mode: multiply;
}
.stats {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  border: 1px solid #bfc9b7;
  border-top: 0;
  border-radius: 0 0 8px 8px;
  background: #eef0df;
  padding: 15px 0;
}
.stat {
  padding: 0 clamp(12px, 3.5vw, 50px);
  border-right: 1px solid #c5cbb6;
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.stat:last-child {
  border: 0;
}
.stat span {
  font-size: 13px;
  color: var(--sub);
}
.stat strong {
  font-size: 16px;
}
.status-dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  margin-right: 6px;
  background: #86ab6c;
  vertical-align: 2px;
}
.status-dot.unknown {
  background: #97998d;
}
.section {
  margin-top: 44px;
}
.section-head,
.row-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 15px;
}
.section-head h2,
.page-head h1,
.panel h2,
dialog h2 {
  font-family: var(--serif);
  letter-spacing: 0.04em;
  line-height: 1.25;
}
.section-head h2,
.panel h2,
dialog h2 {
  font-size: clamp(24px, 2.4vw, 32px);
}
.section-head > a,
.text-link {
  font-weight: bold;
  color: var(--green);
  font-size: 14px;
}
.notice-list {
  border-top: 2px solid #5c725d;
}
.notice-row {
  display: grid;
  grid-template-columns: 116px 1fr auto;
  gap: 22px;
  align-items: center;
  border-bottom: 1px solid var(--line);
  padding: 17px 5px;
}
.notice-row:hover {
  background: #ecefdf;
  text-decoration: none;
}
.notice-row time {
  font:
    15px Georgia,
    serif;
  letter-spacing: 0.6px;
  color: #6b705b;
}
.notice-row b {
  font-size: 17px;
}
.arrow {
  font-family: Arial;
  font-size: 20px;
  color: var(--green);
}
.world-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.world {
  border: 1px solid var(--line);
  border-radius: 7px;
  overflow: hidden;
  background: var(--paper);
  display: grid;
  grid-template-rows: 128px auto;
}
.world-media {
  position: relative;
  overflow: hidden;
  background: #c2cda3;
}
.world-media > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.world-media.farm > img {
  object-position: 50% 65%;
}
.world-media.city > img {
  object-position: 50% 57%;
}
.world-media.flat {
  background-color: #c0d7bc;
  background-image:
    linear-gradient(128deg, transparent 48%, #a9c19b 49%, #a9c19b 51%, transparent 52%),
    linear-gradient(52deg, transparent 48%, #a8c0a2 49%, #a8c0a2 51%, transparent 52%);
  background-size: 48px 42px;
}
.voxel {
  width: 52px;
  height: 52px;
  background: #6d9160;
  position: absolute;
  top: 55%;
  left: 42%;
  transform: rotate(30deg) skewY(30deg) scaleX(0.86);
  box-shadow:
    24px -33px 0 #739866,
    -24px -42px 0 #d1a765,
    0 -67px 0 #efd198;
}
.world-body {
  padding: 19px 21px 24px;
}
.world-body h3 {
  font-family: var(--serif);
  font-size: 23px;
  margin-bottom: 6px;
}
.world-body p,
.muted,
.help,
.page-head > p,
.empty p,
.hint {
  color: var(--sub);
}
.page-head {
  margin: 20px 0 24px;
}
.page-head h1 {
  font-size: clamp(35px, 4vw, 52px);
}
.page-head > p {
  margin-top: 10px;
}
.breadcrumb {
  margin: 0 0 17px;
  color: var(--sub);
  font-size: 13px;
}
.panel,
.card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
}
.panel {
  padding: clamp(20px, 3vw, 34px);
  margin: 16px 0;
}
.panel h2 {
  margin-bottom: 13px;
}
.panel p + p {
  margin-top: 9px;
}
.panel .actions {
  margin-top: 17px;
}
.tabs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  border-bottom: 1px solid var(--line);
  padding: 0 0 15px;
  margin: 0 0 18px;
}
.tabs button,
.tabs a {
  background: #f3f2e6;
  border-color: #cbcdbb;
  color: var(--ink);
}
.tabs .selected {
  background: var(--pine);
  color: #fff;
  border-color: var(--pine);
}
.toolbar {
  display: flex;
  gap: 12px;
  align-items: end;
  flex-wrap: wrap;
  margin: 20px 0;
}
.toolbar label,
.field {
  display: grid;
  gap: 5px;
  font-size: 13px;
  font-weight: 650;
  color: var(--sub);
}
.toolbar .search {
  flex: 1;
  min-width: 140px;
}
input:not([type='checkbox']),
select {
  border: 1px solid #adb7a9;
  border-radius: 4px;
  background: #fffef9;
  min-height: 43px;
  padding: 8px 11px;
  min-width: 0;
  width: 100%;
}
input[type='checkbox'] {
  accent-color: var(--green);
  height: 17px;
  width: 17px;
  cursor: pointer;
}
.form {
  display: grid;
  gap: 16px;
  max-width: 630px;
}
.form .btn {
  justify-self: start;
}
.balanced {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.product-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.product {
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 0;
}
.product-top {
  display: flex;
  align-items: center;
  gap: 12px;
}
.item-mark {
  display: grid;
  place-items: center;
  background: #e9ead5;
  color: #426747;
  border: 1px solid #cbd1ae;
  min-width: 40px;
  width: 40px;
  height: 40px;
  font: 700 22px/1 var(--serif);
  border-radius: 5px;
}
.product h3 {
  font-size: 18px;
  line-height: 1.4;
  overflow-wrap: anywhere;
}
.meta {
  font-size: 13px;
  color: var(--sub);
  overflow-wrap: anywhere;
}
.price {
  font-family: var(--serif);
  font-size: 25px;
  font-weight: 700;
  color: #825026;
}
.price small {
  font: 12px var(--sans);
  margin-left: 5px;
}
.product dl,
.facts {
  margin-top: 4px;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 6px 12px;
  font-size: 14px;
}
.product dt,
.facts dt {
  color: var(--sub);
}
.product dd,
.facts dd {
  text-align: right;
  overflow-wrap: anywhere;
}
.product .actions {
  margin-top: auto;
}
.product .btn,
.product .plain {
  flex: 1;
}
.empty,
.loading,
.alert,
.result {
  padding: 19px;
  border: 1px dashed #b8c1ac;
  background: #f1f2e6;
  border-radius: 5px;
}
.empty strong,
.result strong {
  display: block;
  margin-bottom: 3px;
}
.empty button,
.alert button {
  margin-top: 12px;
}
.alert,
.error-text {
  color: #803b27;
}
.alert {
  background: #fcf0e4;
  border-color: #cea68b;
}
.help,
.hint {
  font-size: 13px;
}
.pager {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 14px;
  margin-top: 20px;
}
.pager button {
  color: var(--green);
  background: transparent;
  border: 1px solid var(--line);
}
.rank-list {
  list-style: none;
  padding: 0;
  margin: 0;
  border-top: 2px solid #60735e;
}
.rank-list li {
  display: grid;
  grid-template-columns: 50px 1fr auto;
  gap: 14px;
  border-bottom: 1px solid var(--line);
  padding: 12px 8px;
  align-items: center;
}
.rank-pos {
  color: var(--sub);
  font-family: Georgia, serif;
  font-size: 20px;
}
.rank-list li:nth-child(-n + 3) .rank-pos {
  color: #95622d;
  font-weight: bold;
}
.detail-text {
  white-space: pre-wrap;
  line-height: 1.9;
  overflow-wrap: anywhere;
  margin: 19px 0;
}
.account-wrap {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  gap: 22px;
}
.account-wrap .panel {
  margin: 0;
}
.side-explain {
  background: #e9efdf;
}
.side-explain ol {
  padding-left: 1.4em;
}
.side-explain li {
  margin: 12px 0;
}
.form code,
.side-explain code,
.panel code {
  font-family: Consolas, monospace;
  background: #e9ecdc;
  color: var(--green);
  padding: 2px 4px;
}
.inventory {
  display: grid;
  gap: 8px;
  max-height: 360px;
  overflow: auto;
}
.slot {
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 8px 11px;
  background: #f9f8ec;
}
.slot:has(input:checked) {
  border-color: var(--green);
  background: #ecf2de;
}
.slot .slot-info {
  flex: 1;
  min-width: 0;
}
.slot .slot-info b,
.slot .slot-info small {
  display: block;
  overflow-wrap: anywhere;
}
.slot small {
  color: var(--sub);
  font-size: 12px;
}
.slot .slot-qty {
  width: 75px;
  font-size: 14px;
  min-height: 32px;
}
.table-wrap {
  overflow-x: auto;
}
.summary-balance {
  font: 700 38px var(--serif);
  color: var(--green);
  margin: 10px 0;
}
.foot {
  display: flex;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
  padding: 25px 0;
  color: #53644f;
  font-size: 13px;
}
.foot .brand {
  margin-right: auto;
}
.foot .brand b {
  font-size: 16px;
  letter-spacing: 1px;
}
footer {
  border-top: 1px solid var(--line);
  background: #eeeee2;
}
dialog {
  border: 1px solid #8d9d87;
  border-radius: 9px;
  box-shadow: 0 12px 70px #122e254a;
  background: var(--paper);
  color: var(--ink);
  width: min(480px, calc(100% - 30px));
  max-height: 85dvh;
  padding: 25px;
  overflow: auto;
}
dialog::backdrop {
  background: #16322680;
}
dialog .row-head {
  align-items: center;
}
dialog .close {
  background: transparent;
  border: 0;
  font-size: 23px;
  width: 36px;
  height: 36px;
}
dialog .actions {
  margin-top: 20px;
}
#feedback {
  position: fixed;
  z-index: 12;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  max-width: calc(100vw - 24px);
  width: max-content;
  background: #173f34;
  color: white;
  border-radius: 4px;
  padding: 10px 16px;
  box-shadow: 0 3px 14px #16302630;
}
#feedback:empty {
  display: none;
}
@media (max-width: 850px) {
  .frame {
    width: calc(100% - 48px);
  }
  .mast-inner {
    gap: 16px;
  }
  .mast nav {
    gap: 18px;
  }
  .hero {
    min-height: 370px;
    padding: 34px 32px;
    gap: 18px;
  }
  .hero-art {
    width: 95%;
  }
  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .world-grid {
    gap: 12px;
  }
  .world-body {
    padding: 14px;
  }
  .stat {
    display: grid;
    gap: 0;
  }
  .account-wrap {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 620px) {
  .frame {
    width: calc(100% - 28px);
  }
  .mast-inner {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 0;
    min-height: auto;
    padding-top: 9px;
  }
  .brand img {
    width: 35px;
    height: 35px;
  }
  .brand b {
    font-size: 20px;
  }
  .brand small {
    font-size: 9px;
  }
  .mast nav {
    grid-row: 2;
    grid-column: 1/-1;
    justify-content: space-between;
    margin: 0;
    gap: 10px;
    height: 42px;
  }
  .mast nav a {
    font-size: 13px;
  }
  .mast nav a[aria-current]::after {
    bottom: 0;
  }
  .account-link {
    grid-row: 1;
    grid-column: 2;
    font-size: 12px;
    max-width: 140px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .account-link span {
    margin-left: 3px;
  }
  main {
    padding-top: 15px;
  }
  .hero {
    grid-template-columns: 1fr;
    min-height: 0;
    gap: 15px;
    padding: 25px 20px 28px;
  }
  .hero h1 {
    font-size: 43px;
    margin: 13px 0 7px;
  }
  .hero-name {
    font-size: 22px;
  }
  .hero-copy > p {
    font-size: 14px;
    margin: 12px 0 17px;
  }
  .hero-art {
    grid-row: 1;
    width: 105px;
    justify-self: end;
    margin-bottom: -87px;
    z-index: -1;
    opacity: 0.88;
  }
  .hero-copy {
    padding-top: 3px;
  }
  .hero h1,
  .hero-meta,
  .hero-name {
    max-width: calc(100% - 100px);
  }
  .hero h1 {
    font-size: clamp(32px, 7vw, 44px);
  }
  .hero-meta {
    font-size: 10px;
    letter-spacing: 0.5px;
  }
  .hero-meta::before {
    width: 12px;
  }
  .hero-name {
    font-size: 19px;
  }
  .hero-copy > p {
    margin-top: 21px;
  }
  .btn,
  .plain {
    font-size: 14px;
    padding: 9px 13px;
  }
  .stats {
    padding: 11px 0;
  }
  .stat {
    padding: 0 9px;
  }
  .stat span {
    font-size: 11px;
  }
  .stat strong {
    font-size: 13px;
  }
  .section {
    margin-top: 29px;
  }
  .section-head {
    margin-bottom: 12px;
  }
  .notice-row {
    grid-template-columns: 1fr auto;
    gap: 3px 9px;
    padding: 12px 0;
  }
  .notice-row time {
    font-size: 12px;
  }
  .notice-row b {
    grid-column: 1;
    grid-row: 2;
    font-size: 15px;
  }
  .notice-row .arrow {
    grid-column: 2;
    grid-row: 1/3;
  }
  .world-grid,
  .product-grid,
  .balanced {
    grid-template-columns: 1fr;
  }
  .world {
    grid-template-columns: 105px 1fr;
    grid-template-rows: auto;
    min-height: 125px;
  }
  .world-body h3 {
    font-size: 19px;
  }
  .world-body p {
    font-size: 13px;
  }
  .world-media > img {
    position: absolute;
  }
  .world-media.flat {
    min-width: 92px;
  }
  .foot {
    gap: 12px;
  }
  .foot .brand {
    width: 100%;
  }
  .foot .brand img {
    width: 27px;
    height: 27px;
  }
  .product {
    padding: 13px;
  }
  .toolbar {
    gap: 8px;
  }
  .toolbar label {
    flex: 1;
  }
  .toolbar label select {
    font-size: 13px;
  }
  .tabs {
    gap: 5px;
  }
  .tabs a,
  .tabs button {
    min-height: 34px;
    font-size: 13px;
    padding: 7px 10px;
  }
  .actions {
    gap: 8px;
  }
  .rank-list li {
    grid-template-columns: 35px 1fr auto;
  }
  .help {
    font-size: 12px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}
