@import url('https://cdn.jsdelivr.net/gh/orioncactus/pretendard/dist/web/static/pretendard.css');

:root {
  --container-max-width: 600px;
  --container-padding: 8px;
  --container-padding-x: 8px;
  --container-padding-top: 8px;
  --container-padding-bottom: 8px;
}

@media (max-width: 768px) {
  :root {
    --container-padding: 10px 20px 20px;
    --container-padding-x: 20px;
    --container-padding-top: 10px;
    --container-padding-bottom: 20px;
  }
}

* { box-sizing: border-box; }
body { margin: 0; font-family: 'Pretendard', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif; background: #ffffff; color: #1f2937; min-height: 100vh; display: flex; flex-direction: column; }
.container { max-width: var(--container-max-width); margin: 0 auto; padding: var(--container-padding); width: 100%; }
body > .container { flex: 1 0 auto; }

.edge-to-edge-mobile {
  margin-left: calc(var(--container-padding) * -1);
  margin-right: calc(var(--container-padding) * -1);
}
.top-header-shell { position: sticky; top: var(--container-padding-top); z-index: 40; background: #ffffff; }
.top-header-shell::before { content: ''; position: absolute; left: 0; right: 0; top: calc(var(--container-padding-top) * -1); height: var(--container-padding-top); background: #ffffff; }
.top-header { display: flex; flex-direction: column; gap: 12px; padding: 0 0 10px; background: #ffffff; }
.top-header-main { position: relative; height: 42px; display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.top-header-main-bunyang { gap: 8px; }
.logo { color: #1f2937; text-decoration: none; font-size: 17px; font-weight: 700; letter-spacing: -0.2px; display: inline-flex; align-items: center; gap: 6px; flex: 0 0 auto; }
.header-scroll-title { position: absolute; left: 50%; transform: translateX(-50%) translateY(2px); width: min(260px, calc(100% - 120px)); text-align: center; color: #111827; font-size: 15px; font-weight: 700; letter-spacing: -0.2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; opacity: 0; transition: opacity 180ms ease, transform 180ms ease; pointer-events: none; }
.header-scroll-title.is-visible { opacity: 1; transform: translateX(-50%) translateY(0); }
.header-search-link { width: 34px; height: 34px; display: inline-flex; align-items: center; justify-content: center; color: #4b5563; text-decoration: none; border-radius: 999px; flex: 0 0 auto; }
.header-search-link svg { width: 22px; height: 22px; stroke: currentColor; stroke-width: 2.3; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.global-header-logo-mark { width: 22px; height: 22px; display: inline-flex; color: #ffffff; background: #ffffff; border-radius: 0; align-items: center; justify-content: center; padding: 0; overflow: visible; }
.global-header-logo-img { width: 100%; height: 100%; object-fit: contain; display: block; }
.header-back-link { display: inline-flex; align-items: center; justify-content: center; width: 28px; height: 28px; color: #111827; text-decoration: none; font-size: 24px; line-height: 1; flex: 0 0 auto; }
.header-page-meta { flex: 1 1 auto; min-width: 0; }
.header-page-breadcrumb { margin: 0 0 2px; color: #6b7280; font-size: 11px; font-weight: 600; line-height: 1.2; }
.header-page-title { margin: 0; text-align: left; color: #111827; font-size: 22px; font-weight: 800; letter-spacing: -0.3px; }
.header-spacer { width: 28px; height: 28px; flex: 0 0 auto; }
.top-nav { display: flex; gap: 18px; overflow-x: auto; overflow-y: hidden; border-bottom: 1px solid #f3f4f6; padding-bottom: 2px; -ms-overflow-style: none; scrollbar-width: none; }
.top-nav::-webkit-scrollbar { display: none; }
.top-nav-link { position: relative; display: inline-flex; align-items: center; min-height: 32px; color: #6b7280; text-decoration: none; font-size: 15px; font-weight: 600; white-space: nowrap; }
.top-nav-link.is-active { color: #111827; }
.top-nav-link.is-active::after { content: ''; position: absolute; left: 0; right: 0; bottom: -3px; height: 2px; border-radius: 999px; background: #111827; }

.section-head { margin-bottom: 8px; }
.home-top-section .section-head h2 { font-size: 38px; font-weight: 800; letter-spacing: -0.3px; }
.home-top-list { list-style: none; padding: 0; margin: 0; border-top: 3px solid #1f2937; }
.home-top-list li { padding: 10px 0 8px; border-bottom: 1px solid #e5e7eb; }
.home-top-item.is-link { cursor: pointer; }
.home-top-item.is-link:active { background: #f9fafb; }
.home-top-meta { color: #6b7280; font-size: 11px; margin-bottom: 3px; }
.new-pill {
  display: inline-block;
  margin-left: 4px;
  padding: 1px 6px;
  border-radius: 999px;
  background: #fee2e2;
  color: #dc2626;
  font-size: 10px;
  font-weight: 700;
  line-height: 1.4;
  vertical-align: middle;
}
.home-top-main { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.home-top-link { display: block; color: inherit; text-decoration: none; }
.home-top-name { font-size: 18px; font-weight: 700; color: #111827; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.home-top-price { font-size: 17px; font-weight: 500; color: #111827; flex: 0 0 auto; }
.section-head { display: flex; justify-content: space-between; align-items: center; margin-top: 6px; margin-bottom: 10px; }
.section-head .muted { margin-right: 0px; }
h2 {
    margin: 0px 0px 10px 0px;
    font-size: 21px;
}
.muted { color: #6b7280; font-size: 13px; }


.site-footer-minimal {
    background: #ffffff;
    margin-top: auto;
    width: 100%;
    min-height: 130px;
    display: flex;
}
.site-footer-inner { width: 100%; max-width: var(--container-max-width); margin: 0 auto; padding: 22px var(--container-padding-x) 26px; display: flex; flex-direction: column; justify-content: flex-end; align-items: flex-end; text-align: right; background: #ffffff; border-top: 1px solid #f3f4f6; }
.footer-line { margin: 0 0 6px; color: #6b7280; font-size: 13px; }
.footer-source { margin: 0 0 6px; color: #6b7280; font-size: 13px; }
.footer-copy { margin: 0; color: #6b7280; font-size: 13px; }
