:root {
  --bg: #ffffff; /* the minty green in your mock */
  --panel: #fff;
  --text: #0d0d0d;
  --muted: #777;
  --radius: 14px;
}

@font-face {
  font-family: "Pretendard";
  src: url("/assets/fonts/Pretendard-Regular.woff") format("woff");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
* {
  box-sizing: border-box;
  font-size: 22px;
}

html,
body {
  height: 100%;
}

body {
  margin: 0;
  font: 16px/1.45 Pretendard, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, Apple SD Gothic Neo, Noto Sans KR, sans-serif;
  color: var(--text);
  display: grid;
  grid-template-rows: 52px 1fr;
  background: var(--bg);
}

/* Header */
.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
}
@media (max-width: 920px) {
  .topbar {
    justify-content: center;
  }
}

.brand {
  font-weight: 500;
  font-size: 1rem;
  letter-spacing: 0.1px;
}
.brand a {
  color: var(--text);
  text-decoration: none;
}
.brand a:hover {
  text-decoration: underline;
}
@media (max-width: 920px) {
  .brand a {
    display: none;
  }
}

.contact-btn {
  font-size: 0.6125rem;
  font-weight: 500;
  color: var(--text);
  background: transparent;
  border: none;
  border-radius: 0;
  padding: 0;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
  font-family: inherit;
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
  text-decoration: underline;
  text-underline-offset: 4px;
}
.contact-btn:focus-visible {
  outline: 2px solid var(--text);
  outline-offset: 2px;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.download-btn {
  font-size: 0.6125rem;
  font-weight: 500;
  color: var(--text);
  background: transparent;
  border: none;
  border-radius: 0;
  padding: 0;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
  font-family: inherit;
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
  text-decoration: underline;
  text-underline-offset: 4px;
}
.download-btn:focus-visible {
  outline: 2px solid var(--text);
  outline-offset: 2px;
}
.download-btn img {
  display: none;
  width: 0.5rem;
  height: auto;
}

.current {
  font-size: 1rem;
  font-weight: 500;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 6px;
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
}

.current:focus-visible {
  outline: 2px solid #000;
  outline-offset: 6px;
}

.current .arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  transition: transform 0.25s ease-in-out;
  transform-origin: center;
  transform: rotate(-90deg);
}

.current.collapsed .arrow {
  transform: rotate(0);
}

/* Layout */
.wrap {
  position: relative;
  height: calc(100vh - 52px);
  padding: 0 8px 8px 8px;
}

.wrap.is-collapsed .list {
  opacity: 0;
  transform: translateY(-12px);
  pointer-events: none;
}

.stage {
  background: var(--bg);
  border-radius: 0;
  overflow: hidden;
  position: relative;
  border-top: 2px solid rgb(0, 0, 0);
  height: 100%;
}

.stage iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  background: #fff; /* fallback while loading */
}

.mobile-message {
  display: none;
}

/* Right list */
.list {
  position: absolute;
  top: 0px;
  right: 8px;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0;
  padding: 0px 0px 0px 0px;
  max-height: calc(100vh - 52px - 32px);
  overflow: auto;
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.25s ease, transform 0.25s ease;
  z-index: 10;
}

.list .btn {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.wrap.is-collapsed .list .btn {
  opacity: 0;
  transform: translateY(-8px);
  pointer-events: none;
}

.btn {
  background: var(--panel);
  color: var(--text);
  border: 2px solid rgb(0, 0, 0);
  margin-top: -2px;
  padding: 6px 14px;
  cursor: pointer;
  box-shadow: none;
  white-space: nowrap;
  font-size: 1rem;
  font-weight: 500;
  transition: background 0.15s ease, color 0.15s ease;
}
.btn:first-child {
  margin-top: 0;
}

.btn[aria-current=page] {
  background: #000;
  color: #fff;
}

.btn:hover {
  background: black;
  color: #fff;
}

/* Mobile & Tablet */
@media (max-width: 920px) {
  .wrap {
    height: calc(100vh - 52px);
    padding: 0 8px 8px 8px;
  }
  .stage {
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .stage iframe {
    display: none;
  }
  .mobile-message {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 2rem;
    color: var(--text);
  }
  .mobile-message p {
    margin: 0.5rem 0;
    font-size: 0.8125rem;
    line-height: 1.4;
  }
  .list {
    display: none;
  }
  .header-actions .contact-btn,
  .header-actions .download-btn,
  .header-actions .current {
    display: none;
  }
}/*# sourceMappingURL=main.css.map */