@font-face {
  font-family: 'NanumSquareB';
  src: url('../fonts/NanumSquareB.otf') format('opentype');
}

:root {
  --h1-width: 252px;
  --h2-width: 236px;
  --h0-margin-y: 40px;
  --h0-margin-x: 24px;
  --shell-bg: #000;
  --shell-text: #fff;
  --shell-muted: rgba(255, 255, 255, 0.72);
  --shell-border-subtle: rgba(255, 255, 255, 0.08);
  --shell-border: rgba(255, 255, 255, 0.12);
  --shell-border-strong: rgba(255, 255, 255, 0.28);
  --shell-border-hover: rgba(255, 255, 255, 0.78);
  --shell-border-active: rgba(255, 255, 255, 0.92);
  --shell-border-inset-hover: rgba(255, 255, 255, 0.28);
  --shell-border-inset-active: rgba(255, 255, 255, 0.42);
  --shell-border-field: rgba(255, 255, 255, 0.18);
  --shell-border-field-strong: rgba(255, 255, 255, 0.22);
  --shell-border-download: rgba(255, 255, 255, 0.45);
  --shell-surface-card: rgba(255, 255, 255, 0.04);
  --shell-surface-card-empty: rgba(255, 255, 255, 0.02);
  --shell-surface-preview: rgba(0, 0, 0, 0.35);
  --shell-surface-composer: rgba(0, 0, 0, 0.22);
  --shell-surface-field: rgba(0, 0, 0, 0.35);
  --shell-surface-button: rgba(255, 255, 255, 0.14);
  --shell-surface-button-hover: rgba(255, 255, 255, 0.24);
  --shell-surface-logout: rgba(255, 255, 255, 0.1);
  --shell-surface-logout-hover: rgba(255, 255, 255, 0.2);
  --shell-surface-gallery-arrow: rgba(0, 0, 0, 0.45);
  --shell-surface-gallery-arrow-hover: rgba(0, 0, 0, 0.62);
  --shell-text-faint: rgba(255, 255, 255, 0.38);
  --shell-text-secondary: rgba(255, 255, 255, 0.55);
  --shell-text-tertiary: rgba(255, 255, 255, 0.62);
  --shell-text-strong: rgba(255, 255, 255, 0.88);
  --shell-text-emphasis: rgba(255, 255, 255, 0.86);
  --shell-text-highlight: rgba(255, 255, 255, 0.92);
  --shell-text-active: rgba(255, 255, 255, 0.94);
  --shell-text-admin: rgba(255, 255, 255, 0.82);
  --shell-text-placeholder: rgba(255, 255, 255, 0.38);
  --shell-text-empty: rgba(255, 255, 255, 0.42);
  --shell-text-composer: rgba(255, 255, 255, 0.88);
  --shell-item-color: rgba(255, 255, 255, 0.55);
  --shell-item-active: #fff;
  --shell-scrollbar-track: rgba(255, 255, 255, 0.08);
  --shell-scrollbar-thumb: rgba(255, 255, 255, 0.42);
  --shell-scrollbar-thumb-hover: rgba(255, 255, 255, 0.62);
  --shell-scrollbar-inline-color: rgba(255, 255, 255, 0.14) transparent;
  --shell-scrollbar-inline-thumb: rgba(255, 255, 255, 0.12);
  --shell-scrollbar-inline-thumb-hover: rgba(255, 255, 255, 0.22);
  --shell-caption-gradient: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.72) 70%);
  --shell-caption-date: rgba(255, 255, 255, 0.62);
  --shell-caption-title: rgba(255, 255, 255, 0.94);
  --shell-caption-link: rgba(255, 255, 255, 0.78);
  --shell-caption-link-hover: #fff;
  --shell-split-chat-border: rgba(255, 255, 255, 0.1);
  --shell-loading-bar-track: rgba(255, 255, 255, 0.15);
  --shell-loading-bar-fill: #fff;
  --shell-coming-soon: rgba(255, 255, 255, 0.38);
  --shell-overview-label: rgba(255, 255, 255, 0.62);
  --shell-overview-value: rgba(255, 255, 255, 0.86);
  --shell-overview-empty: rgba(255, 255, 255, 0.55);
  --shell-home-border: #fff;
  --shell-home-text: #fff;
  --shell-gallery-arrow-border: rgba(255, 255, 255, 0.28);
  --shell-gallery-arrow-border-hover: rgba(255, 255, 255, 0.5);
  --shell-gallery-arrow-color: rgba(255, 255, 255, 0.92);
  --shell-focus-outline: rgba(255, 255, 255, 0.45);
  /* 100% zoom ≈ previous 75% browser zoom; sizes rounded to 0.5px */
  --h0-overview-title-size: 13.5px;
  --h0-overview-body-size: 12.5px;
  --h0-overview-body-line-height: 1.475;
  --h0-overview-row-gap: 5.5px;
  --h0-overview-empty-size: 13.5px;
  --h0-preview-hint-size: 12.5px;
  --h0-card-caption-date-size: 8.5px;
  --h0-card-caption-title-size: 10px;
  --h0-card-download-size: 9px;
  --metaverse-switch-duration: 0.24s;
  --metaverse-switch-ease: cubic-bezier(0.4, 0, 0.2, 1);
  --h1-item-height: 52px;
  --h1-item-gap: 10px;
  --h1-period-height: 40px;
  --h1-period-gap: 14px;
  --h1-period-color: rgb(30, 66, 54); /* CMYK 87, 64, 79, 39 */
  --debug-h1: rgba(80, 180, 255, 0.55);
  --debug-h0: rgba(120, 255, 140, 0.45);
  --debug-h2: rgba(255, 180, 80, 0.55);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html,
body {
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: var(--shell-bg);
  color: var(--shell-text);
  font-family: 'NanumSquareB', sans-serif;
}

body.homepage-shell {
  cursor: url('../images/Icon/Mouse_R.png') 4 4, auto;
}

body.homepage-shell.is-pointer {
  cursor: url('../images/Icon/Mouse_H.png') 4 4, pointer;
}

.shell-layout {
  display: grid;
  grid-template-columns: var(--h1-width) minmax(0, 1fr) var(--h2-width);
  width: 100vw;
  height: 100vh;
}

.shell-layout.debug .h1-panel {
  border: 1px dashed var(--debug-h1);
}

.shell-layout.debug .h0-panel {
  border: 1px dashed var(--debug-h0);
}

.shell-layout.debug .h2-panel {
  border: 1px dashed var(--debug-h2);
}

.shell-layout.debug .h1-panel::before,
.shell-layout.debug .h0-panel::before,
.shell-layout.debug .h2-panel::before {
  position: absolute;
  top: 6px;
  left: 8px;
  font-size: 8.5px;
  letter-spacing: 1px;
  opacity: 0.85;
  pointer-events: none;
  z-index: 5;
}

.shell-layout.debug .h1-panel::before { content: 'H1'; color: #7ecbff; }
.shell-layout.debug .h0-panel::before { content: 'H0'; color: #9dffab; }
.shell-layout.debug .h2-panel::before { content: 'H2'; color: #ffc87a; }

.shell-layout.debug .h1-list-viewport {
  border: 1px solid rgba(80, 180, 255, 0.35);
}

.shell-layout.debug .h1-list-viewport::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  border-top: 1px solid rgba(80, 180, 255, 0.5);
  pointer-events: none;
}

.h1-panel,
.h0-panel,
.h2-panel {
  position: relative;
  height: 100vh;
  min-height: 0;
}

.h1-panel,
.h2-panel {
  display: flex;
  flex-direction: column;
  padding: 40px 18px 24px;
  z-index: 20;
}

.h1-visitor {
  margin-bottom: 18px;
  font-size: 9px;
  letter-spacing: 1px;
  color: var(--shell-muted);
  line-height: 1.7;
}

.h1-visitor strong {
  color: var(--shell-item-active);
  font-size: 11.5px;
}

.h1-list-shell {
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.h1-list-viewport-wrap {
  position: relative;
  min-height: 0;
}

.h1-list-viewport {
  position: relative;
  width: 100%;
  min-width: 0;
  overflow: hidden;
  height: calc(var(--h1-item-height) * 11);
  padding-right: 10px;
  mask-image: linear-gradient(to bottom, transparent 0, #000 8%, #000 92%, transparent 100%);
}

.h1-scrollbar {
  position: absolute;
  top: 0;
  right: 0;
  width: 4px;
  height: calc(var(--h1-item-height) * 11);
  background: var(--shell-scrollbar-track);
  border-radius: 999px;
  cursor: default;
}

.h1-scrollbar-thumb {
  position: absolute;
  left: 0;
  width: 100%;
  min-height: 24px;
  border-radius: 999px;
  background: var(--shell-scrollbar-thumb);
  transition: background 0.2s ease;
  cursor: default;
  touch-action: none;
}

.h1-scrollbar-thumb:hover,
.h1-scrollbar.is-dragging .h1-scrollbar-thumb {
  background: var(--shell-scrollbar-thumb-hover);
}

.h1-list-track {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  will-change: transform;
}

.h1-project-item {
  height: var(--h1-item-height);
  margin-bottom: var(--h1-item-gap);
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 3px;
  padding: 0 2px;
  background: none;
  border: none;
  text-align: left;
  font-size: var(--h0-overview-body-size);
  line-height: var(--h0-overview-body-line-height);
  color: var(--shell-item-color);
  transition: color 0.2s ease;
  user-select: none;
}

.h1-project-item.is-center {
  color: var(--shell-item-active);
}

.h1-project-item.is-clickable {
  cursor: url('../images/Icon/Mouse_H.png') 4 4, pointer;
}

.h1-project-item.is-active {
  color: var(--shell-item-active);
}

.h1-project-item .date {
  display: block;
  font-size: inherit;
  letter-spacing: 0.5px;
  color: inherit;
  opacity: 0.85;
  white-space: nowrap;
}

.h1-project-item .title {
  display: block;
  width: 100%;
  max-width: 100%;
  font-size: inherit;
  line-height: inherit;
  color: inherit;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.h1-project-item.is-center .title {
  font-size: inherit;
}

.h1-period-divider {
  height: var(--h1-period-height);
  margin-bottom: var(--h1-period-gap);
  display: flex;
  align-items: center;
  padding: 0 2px;
  font-size: var(--h0-overview-title-size);
  font-weight: 800;
  line-height: 1.3;
  letter-spacing: 0.5px;
  color: var(--h1-period-color);
  user-select: none;
  pointer-events: none;
}

.h2-menu {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
}

.h2-menu-item {
  font-size: 13.5px;
  letter-spacing: 2px;
  background: none;
  border: none;
  color: var(--shell-muted);
  cursor: url('../images/Icon/Mouse_H.png') 4 4, pointer;
  padding: 0;
  text-align: right;
}

.h2-menu-item.is-active {
  color: var(--shell-item-active);
}

.h2-menu-item--metaverse {
  position: relative;
  overflow: visible;
}

.h2-menu-item--metaverse .h2-menu-item-label {
  position: relative;
  display: inline-block;
}

.h2-menu-item .beta {
  position: absolute;
  right: 100%;
  bottom: 72%;
  margin-right: 4px;
  font-size: 7px;
  line-height: 1;
  color: #ff0000;
  letter-spacing: 0.5px;
  transform: rotate(-28deg);
  transform-origin: right bottom;
  pointer-events: none;
  white-space: nowrap;
}

.h2-admin-trigger {
  margin-top: auto;
  align-self: flex-end;
  background: none;
  border: none;
  color: var(--shell-text-admin);
  font-size: 16.5px;
  letter-spacing: 2px;
  cursor: url('../images/Icon/Mouse_H.png') 4 4, pointer;
  padding: 8px 0 0;
}

.h2-admin-trigger[hidden] {
  display: none;
}

.h0-panel {
  padding: var(--h0-margin-y) var(--h0-margin-x);
  overflow: hidden;
}

.h0-stage {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  border-radius: 2px;
}

.h0-view {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.35s ease;
}

.h0-view.is-active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.h0-view-scroll {
  overflow: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  scroll-behavior: smooth;
}

.h0-home {
  position: relative;
  height: 100%;
  text-align: center;
}

.h0-home-logo-wrapper {
  position: absolute;
  left: 50%;
  top: calc(50% - 25px);
  transform: translate(-50%, -100%);
}

.h0-home-logo-frame {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: min(260px, 42vw);
  max-width: 260px;
  border: 4px solid var(--shell-home-border);
  border-radius: 50%;
  overflow: hidden;
}

.h0-home-logo-frame img {
  width: 100%;
  display: block;
}

.h0-home-welcome-wrapper {
  position: absolute;
  left: 50%;
  top: calc(50% + 25px);
  transform: translateX(-50%);
  width: min(720px, 90vw);
}

.h0-home-welcome {
  font-size: 13.5px;
  line-height: 1.5;
  color: var(--shell-home-text);
  opacity: 0;
  transition: opacity 1s ease;
}

.h0-home-welcome.show {
  opacity: 1;
}

.h0-home-bottom-area {
  position: absolute;
  left: 50%;
  bottom: 25px;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.h0-home-uc {
  opacity: 0;
  transition: opacity 0.5s ease;
}

.h0-home-uc.show {
  opacity: 1;
}

.h0-home-uc img {
  width: 160px;
  display: block;
}

.h0-home-maintenance {
  font-size: 12px;
  color: var(--shell-home-text);
  opacity: 0;
  transition: opacity 0.5s ease;
}

.h0-home-maintenance.show {
  opacity: 1;
}

.h0-home-maintenance.fade {
  animation: homeFadeBlink 1.5s ease-in-out infinite;
}

@keyframes homeFadeBlink {
  0%, 100% { opacity: 0; }
  50% { opacity: 1; }
}

.h0-iframe {
  width: 100%;
  height: 100%;
  border: 0;
  background: #f7f3ef;
}

.h0-link-frame {
  width: 100%;
  height: 100%;
  border: 0;
  background: #fff;
}

.h0-metaverse-layout,
.h0-extra-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 15%;
  gap: 8px;
  width: 100%;
  height: 100%;
  min-height: 0;
  padding: 0;
  align-items: stretch;
}

.h0-metaverse-gallery,
.h0-extra-gallery {
  position: relative;
  min-width: 0;
  min-height: 0;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.h0-metaverse-gallery-viewport,
.h0-extra-gallery-viewport {
  position: relative;
  flex: 1;
  min-height: 0;
  overflow: hidden;
  touch-action: pan-y;
}

.h0-metaverse-gallery-track,
.h0-extra-gallery-track {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  width: 100%;
  will-change: transform;
}

.h0-metaverse-card,
.h0-extra-card {
  position: relative;
  min-width: 0;
  min-height: 0;
  overflow: hidden;
  border-radius: 4px;
  background: var(--shell-surface-card);
  border: 1px solid var(--shell-border);
  color: inherit;
  text-align: left;
  display: grid;
  grid-template-columns: 32% minmax(0, 1fr);
  gap: 0;
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

.h0-metaverse-card:hover,
.h0-metaverse-card:focus-visible,
.h0-extra-card:hover,
.h0-extra-card:focus-visible {
  border-color: var(--shell-border-hover);
  box-shadow: inset 0 0 0 1px var(--shell-border-inset-hover);
  outline: none;
}

.h0-metaverse-card.is-active,
.h0-extra-card.is-active {
  border-color: var(--shell-border-active);
  box-shadow: inset 0 0 0 1px var(--shell-border-inset-active);
}

.h0-metaverse-card.is-empty {
  pointer-events: none;
  cursor: default;
  background: var(--shell-surface-card-empty);
}

.h0-extra-card.is-empty {
  cursor: default;
  background: var(--shell-surface-card-empty);
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: auto;
}

.h0-extra-card.is-empty:hover,
.h0-extra-card.is-empty:focus-visible {
  border-color: var(--shell-border-hover);
  box-shadow: inset 0 0 0 1px var(--shell-border-inset-hover);
  outline: none;
}

.h0-extra-card__coming-soon {
  margin: 0;
  padding: 0 12px;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--shell-coming-soon);
  text-align: center;
  user-select: none;
  pointer-events: none;
}

.h0-metaverse-card__overview,
.h0-extra-card__overview {
  min-width: 0;
  min-height: 0;
  height: 100%;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  padding: 8px 8px 8px 10px;
  border-right: 1px solid var(--shell-border-subtle);
  color: var(--shell-text-strong);
  font-size: var(--h0-overview-body-size);
  line-height: var(--h0-overview-body-line-height);
  cursor: default;
}

.h0-metaverse-card__overview-title,
.h0-extra-card__overview-title {
  flex-shrink: 0;
  margin: 0;
  font-size: var(--h0-overview-title-size);
  font-weight: 800;
  line-height: 1.3;
  letter-spacing: 0.5px;
}

.h0-metaverse-card__overview-body,
.h0-extra-card__overview-body {
  flex: 1;
  min-height: 0;
  margin-top: calc(14px * 1.5);
  overflow: auto;
  overscroll-behavior: contain;
}

.h0-extra-card__overview-body {
  scrollbar-width: thin;
  scrollbar-color: var(--shell-scrollbar-inline-color);
}

.h0-extra-card__overview-body::-webkit-scrollbar {
  width: 4px;
}

.h0-extra-card__overview-body::-webkit-scrollbar-track {
  background: transparent;
}

.h0-extra-card__overview-body::-webkit-scrollbar-thumb {
  background: var(--shell-scrollbar-inline-thumb);
  border-radius: 999px;
}

.h0-extra-card__overview-body::-webkit-scrollbar-thumb:hover {
  background: var(--shell-scrollbar-inline-thumb-hover);
}

.h0-extra-card__overview-body p {
  margin: 0 0 0.75em;
}

.h0-extra-card__overview-body p:last-child {
  margin-bottom: 0;
}

.h0-metaverse-card__overview-list {
  display: grid;
  grid-template-columns: max-content 1fr;
  column-gap: calc(18px * 1.5);
  row-gap: var(--h0-overview-row-gap);
  margin: 0;
}

.h0-metaverse-card__overview-list dt,
.h0-metaverse-card__overview-list dd {
  margin: 0;
  font-size: inherit;
  font-weight: 400;
  line-height: var(--h0-overview-body-line-height);
}

.h0-metaverse-card__overview-list dt {
  width: 4em;
  color: var(--shell-overview-label);
  text-align: justify;
  text-align-last: justify;
  white-space: nowrap;
}

.h0-metaverse-card__overview-list dd {
  white-space: pre-line;
  word-break: keep-all;
  color: var(--shell-overview-value);
}

.h0-metaverse-card__overview .overview-empty,
.h0-extra-card__overview .overview-empty {
  margin: 0;
  color: var(--shell-overview-empty);
  font-size: var(--h0-overview-empty-size);
  line-height: 1.6;
}

.h0-metaverse-card__preview,
.h0-extra-card__preview {
  position: relative;
  min-width: 0;
  min-height: 0;
  height: 100%;
  overflow: hidden;
  cursor: url('../images/Icon/Mouse_H.png') 4 4, pointer;
  background: var(--shell-surface-preview);
}

.h0-metaverse-card__media,
.h0-extra-card__media {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.h0-extra-card__media {
  left: 10px;
  right: 10px;
  width: auto;
}

.h0-metaverse-card__media--inset {
  left: 10px;
  right: 10px;
  width: auto;
}

.h0-extra-card__media-clip,
.h0-metaverse-card__media-clip {
  position: absolute;
  overflow: hidden;
  line-height: 0;
  background: transparent;
}


.h0-metaverse-card__media video,
.h0-metaverse-card__media img,
.h0-extra-card__media video,
.h0-extra-card__media img {
  display: block;
  position: absolute;
  left: 0;
  top: 0;
  max-width: none;
  max-height: none;
  object-fit: fill;
  pointer-events: none;
}

.h0-metaverse-card__caption,
.h0-extra-card__caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
  padding: 22px 10px 8px;
  background: var(--shell-caption-gradient);
  pointer-events: none;
}

.h0-metaverse-card__date,
.h0-extra-card__date {
  display: block;
  font-size: var(--h0-card-caption-date-size);
  letter-spacing: 0.04em;
  color: var(--shell-caption-date);
  margin-bottom: 2px;
}

.h0-metaverse-card__title,
.h0-extra-card__title {
  display: block;
  font-size: var(--h0-card-caption-title-size);
  font-weight: 700;
  line-height: 1.35;
  color: var(--shell-caption-title);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.h0-extra-card__download {
  display: inline-block;
  margin-top: 4px;
  font-size: var(--h0-card-download-size);
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--shell-caption-link);
  text-decoration: none;
  pointer-events: auto;
  cursor: url('../images/Icon/Mouse_H.png') 4 4, pointer;
}

.h0-extra-card__download:hover {
  color: var(--shell-caption-link-hover);
  text-decoration: underline;
}

.h0-metaverse-gallery-arrow,
.h0-extra-gallery-arrow {
  position: absolute;
  left: 50%;
  bottom: 10px;
  z-index: 2;
  transform: translateX(-50%);
  width: 36px;
  height: 36px;
  border: 1px solid var(--shell-gallery-arrow-border);
  border-radius: 999px;
  background: var(--shell-surface-gallery-arrow);
  color: var(--shell-gallery-arrow-color);
  font-size: 13.5px;
  line-height: 1;
  cursor: url('../images/Icon/Mouse_H.png') 4 4, pointer;
  backdrop-filter: blur(4px);
}

.h0-metaverse-gallery-arrow:hover,
.h0-extra-gallery-arrow:hover {
  background: var(--shell-surface-gallery-arrow-hover);
  border-color: var(--shell-gallery-arrow-border-hover);
}

.h0-metaverse-gallery-empty,
.h0-extra-gallery-empty {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 160px;
  color: var(--shell-text-secondary);
  font-size: 10.5px;
}

.h0-metaverse-chat {
  transition: opacity var(--metaverse-switch-duration) var(--metaverse-switch-ease);
}

@media (prefers-reduced-motion: reduce) {
  .h0-metaverse-chat {
    transition: none !important;
  }
}

.h0-metaverse-overview,
.h0-extra-overview {
  min-height: 0;
  min-width: 0;
  height: 100%;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  padding: 0 8px 10px;
  color: var(--shell-text-strong);
  font-size: var(--h0-overview-body-size);
  line-height: var(--h0-overview-body-line-height);
}

.h0-metaverse-overview .overview-title,
.h0-extra-overview .overview-title {
  flex-shrink: 0;
  margin: 0;
  font-size: var(--h0-overview-title-size);
  font-weight: 800;
  line-height: 1.3;
  letter-spacing: 0.5px;
}

.h0-metaverse-overview .overview-body,
.h0-extra-overview .overview-body {
  flex: 1;
  min-height: 0;
  margin-top: calc(14px * 1.5);
  overflow: auto;
  overscroll-behavior: contain;
}

.h0-extra-overview .overview-body p {
  margin: 0 0 calc(8px * 1.25);
}

.h0-extra-overview .overview-body p:last-child {
  margin-bottom: 0;
}

.h0-metaverse-overview .overview-list {
  display: grid;
  grid-template-columns: max-content 1fr;
  column-gap: calc(18px * 1.5);
  row-gap: var(--h0-overview-row-gap);
  margin: 0;
}

.h0-metaverse-overview .overview-list dt,
.h0-metaverse-overview .overview-list dd {
  margin: 0;
  font-size: inherit;
  font-weight: 400;
  line-height: var(--h0-overview-body-line-height);
}

.h0-metaverse-overview .overview-list dt {
  width: 4em;
  color: var(--shell-overview-label);
  text-align: justify;
  text-align-last: justify;
  white-space: nowrap;
}

.h0-metaverse-overview .overview-list dd {
  white-space: pre-line;
  word-break: keep-all;
}

.h0-metaverse-overview .overview-empty,
.h0-extra-overview .overview-empty {
  color: var(--shell-overview-empty);
  font-size: var(--h0-overview-empty-size);
  line-height: 1.6;
}

.h0-metaverse-preview-pane {
  min-height: 0;
  min-width: 0;
  height: 100%;
  display: flex;
  flex-direction: column;
  gap: 0;
  box-sizing: border-box;
  padding-top: 0;
  position: relative;
}

.h0-metaverse-preview-stage,
.h0-extra-preview-stage {
  flex: 1;
  min-height: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.h0-metaverse-preview-pane .h0-preview-media--metaverse {
  flex: 0 0 auto;
  width: auto;
  height: auto;
  max-width: 100%;
  display: block;
  padding: 0;
  overflow: hidden;
  line-height: 0;
  pointer-events: none;
  cursor: default;
  position: relative;
}

.h0-metaverse-preview-pane .h0-preview-media--metaverse.has-preview-video,
.h0-metaverse-preview-pane .h0-preview-media--metaverse.is-content-cropped {
  pointer-events: auto;
  cursor: url('../images/Icon/Mouse_H.png') 4 4, pointer;
}

.h0-metaverse-preview-pane .h0-preview-media--metaverse video,
.h0-metaverse-preview-pane .h0-preview-media--metaverse img {
  display: block;
  border-radius: 4px;
  vertical-align: top;
}

.h0-metaverse-preview-pane .h0-preview-media--metaverse.has-preview-video video,
.h0-metaverse-preview-pane .h0-preview-media--metaverse.is-content-cropped video,
.h0-metaverse-preview-pane .h0-preview-media--metaverse.is-content-cropped img {
  pointer-events: none;
  cursor: inherit;
}

.h0-metaverse-preview-pane .h0-preview-media--metaverse.has-preview-video img {
  pointer-events: auto;
  cursor: url('../images/Icon/Mouse_H.png') 4 4, pointer;
}

.h0-metaverse-preview-pane .h0-preview-hint {
  position: absolute;
  left: 0;
  right: 0;
  margin: 0;
  padding: 0 4px;
  font-size: var(--h0-preview-hint-size);
  line-height: 1.45;
  text-align: center;
  color: var(--shell-muted);
  letter-spacing: 0.5px;
  pointer-events: none;
}

.h0-preview {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  gap: 16px;
  padding: 12px;
}

.h0-preview-media {
  position: relative;
  flex: 1;
  width: 100%;
  min-height: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: url('../images/Icon/Mouse_H.png') 4 4, pointer;
}

.h0-preview-media:not(.h0-preview-media--metaverse) img,
.h0-preview-media:not(.h0-preview-media--metaverse) video {
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  border-radius: 4px;
}

.h0-preview-hint {
  font-size: 10px;
  color: var(--shell-muted);
  letter-spacing: 1px;
}

.h0-loading {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  gap: 18px;
}

.h0-loading-text {
  font-size: 13.5px;
  letter-spacing: 4px;
}

.h0-loading-bar {
  width: min(360px, 70%);
  height: 4px;
  background: var(--shell-loading-bar-track);
  overflow: hidden;
}

.h0-loading-bar span {
  display: block;
  width: 35%;
  height: 100%;
  background: var(--shell-loading-bar-fill);
  animation: loadingSlide 1.2s ease-in-out infinite;
}

@keyframes loadingSlide {
  0% { transform: translateX(-120%); }
  100% { transform: translateX(320%); }
}

.h0-split-chat {
  min-height: 0;
  min-width: 0;
  height: 100%;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  padding: 0 6px 10px;
  color: var(--shell-text-strong);
  border-left: 1px solid var(--shell-split-chat-border);
}

.h0-split-chat__title {
  flex-shrink: 0;
  margin: 0;
  font-size: var(--h0-overview-title-size);
  font-weight: 800;
  line-height: 1.3;
  letter-spacing: 0.5px;
  color: var(--shell-text-secondary);
}

.h0-extra-download {
  display: inline-block;
  margin-top: 18px;
  padding: 10px 16px;
  border: 1px solid var(--shell-border-download);
  color: var(--shell-text);
  text-decoration: none;
  letter-spacing: 2px;
  font-size: 9px;
}

.h0-extra-download[hidden] {
  display: none;
}

@media screen and (max-width: 820px) {
  .h0-metaverse-layout,
  .h0-extra-layout {
    grid-template-columns: 1fr;
    grid-template-rows: minmax(280px, 1fr) minmax(160px, 28vh);
  }

  .h0-split-chat {
    border-left: none;
    border-top: 1px solid var(--shell-split-chat-border);
  }
}

@media screen and (max-width: 1024px) {
  :root {
    --h1-width: 210px;
    --h2-width: 196px;
    --h0-margin-y: 24px;
    --h0-margin-x: 16px;
  }

  .h2-menu-item {
    font-size: 12px;
  }

  .h0-home-welcome {
    font-size: 11.5px;
  }
}

@media screen and (max-width: 820px), screen and (orientation: portrait) and (max-width: 900px) {
  .shell-layout {
    grid-template-columns: 1fr;
    grid-template-rows: auto minmax(0, 1fr) auto;
    height: 100vh;
  }

  .h1-panel,
  .h2-panel {
    height: auto;
    padding: 16px;
  }

  .h1-list-shell {
    justify-content: flex-start;
  }

  .h1-list-viewport {
    height: calc(var(--h1-item-height) * 7);
  }

  .h0-panel {
    min-height: 0;
    height: auto;
  }

  .h2-menu {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: flex-end;
  }

  .h2-admin-trigger {
    margin-top: 0;
  }

}
