@font-face {
  font-family: "World Brush";
  src: url("assets/fonts/world-title.ttf?v=552480a389ea") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

.g-world-shell {
  position: absolute;
  left: 50%;
  top: clamp(126px, 14vh, 174px);
  bottom: max(76px, 8vh);
  transform: translateX(-50%);
  width: min(1760px, calc(100% - 128px));
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto auto;
  gap: 18px;
}
.g-world-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 20px; }
.g-world-heading > div { display: flex; align-items: baseline; gap: 20px; }
.g-world-heading > div > span { font-family: Georgia, "Times New Roman", serif; font-size: 18px; letter-spacing: .16em; color: #baa98a; }
.g-world-heading h2 { margin: 0; font-family: "World Brush", "STKaiti", "KaiTi", serif; font-size: clamp(40px, 3vw, 62px); font-weight: 400; line-height: 1.2; letter-spacing: .1em; color: #ebd3a2; }
.g-world-stage { display: flex; align-items: center; justify-content: center; min-height: 0; gap: 18px; touch-action: pinch-zoom; container-type: size; }
.g-world-image-button {
  position: relative;
  flex: none;
  height: auto;
  width: min(calc(100cqw - 140px), calc(100cqh * var(--world-image-ratio, 1.7777778)));
  max-width: calc(100% - 140px);
  min-width: 0;
  min-height: 0;
  aspect-ratio: var(--world-image-ratio, 1.5844);
  overflow: hidden;
  padding: 0;
  border: 1px solid #dbc18a80;
  background: #101920;
  box-shadow: 0 16px 44px #0005;
  cursor: zoom-in;
  touch-action: pinch-zoom;
}
.g-world-canvas { display: block; width: 100%; height: 100%; }
.g-world-zoom { position: absolute; right: 12px; bottom: 12px; display: grid; place-items: center; width: 34px; height: 34px; background: #0d1723c9; border: 1px solid #e4c78780; }
.g-world-zoom .g-icon { width: 20px; height: 20px; }
.g-world-arrow { flex: none; display: grid; place-items: center; width: 52px; height: 58px; padding: 10px; color: #f6edda; border: 1px solid #d6c59970; background: #101920aa; transition: background .2s, border-color .2s; }
.g-world-arrow:hover { background: #7d6a3eaa; border-color: #e4c787; }
.g-world-arrow .g-icon { width: 26px; height: 26px; }
.g-world-caption { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding-inline: 70px; }
.g-world-caption h3 { font-size: 24px; font-weight: 400; line-height: 1.4; letter-spacing: .08em; color: #e7d6b0; }
.g-world-caption p { margin-top: 6px; font-size: 15px; line-height: 1.75; letter-spacing: .035em; color: #bdc7ca; }
.g-world-tabs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); width: min(620px, 100%); margin-inline: auto; gap: 10px; }
.g-world-tab { padding: 10px 16px; border-bottom: 2px solid #9f927666; font-size: 16px; color: #c0c8c9; transition: color .2s, background .2s, border-color .2s; }
.g-world-tab:hover { color: #f0ddb2; background: #e4c7870d; }
.g-world-tab[aria-selected="true"] { color: #f2db9e; border-color: #e4c787; background: #e4c78714; }
@media (min-width: 681px) and (max-height: 760px) {
  .g-world-shell { top: 108px; bottom: 66px; gap: 14px; }
  .g-world-heading h2 { font-size: 42px; }
  .g-world-heading > div > span { font-size: 16px; }
  .g-world-caption h3 { font-size: 21px; }
  .g-world-caption p { margin-top: 4px; font-size: 14px; }
  .g-world-tab { padding-block: 8px; font-size: 14px; }
}

@media (max-width: 680px) {
  .g-world-shell { left: 18px; right: 18px; top: 112px; bottom: 94px; width: auto; transform: none; grid-template-rows: auto auto auto auto; align-content: center; gap: 12px; }
  .g-world-heading { display: block; }
  .g-world-heading > div { gap: 12px; }
  .g-world-heading > div > span { font-size: 12px; }
  .g-world-heading h2 { font-size: 36px; }
  .g-world-stage { position: relative; gap: 0; container-type: normal; }
  .g-world-image-button { width: 100%; max-width: 100%; height: auto; max-height: 100%; }
  .g-world-arrow { position: absolute; top: 50%; z-index: 2; transform: translateY(-50%); width: 34px; height: 42px; padding: 6px; background: #0c1622cc; }
  .g-world-prev { left: 6px; }
  .g-world-next { right: 6px; }
  .g-world-arrow .g-icon { width: 21px; height: 21px; }
  .g-world-zoom { width: 28px; height: 28px; right: 8px; bottom: 8px; }
  .g-world-zoom .g-icon { width: 17px; height: 17px; }
  .g-world-caption { padding: 0; gap: 12px; }
  .g-world-caption h3 { font-size: 19px; }
  .g-world-caption p { font-size: 14px; margin-top: 5px; }
  .g-world-tabs { gap: 6px; }
  .g-world-tab { padding: 8px 6px; font-size: 14px; }
}
