* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; background: #fff; color: #08001a; font-family: Roboto, "Noto Sans KR", sans-serif; }
.page { max-width: 1400px; min-height: 100vh; margin: 0 auto; padding: 24px 32px 48px; position: relative; }
.topbar { width: 1183px; max-width: 100%; display: flex; align-items: center; justify-content: space-between; margin-bottom: 40px; }
.logo { margin: 0; font-size: 34px; letter-spacing: -0.02em; color: #480087; }
.logo-strong { font-weight: 700; }
.logo-light { font-weight: 300; }
.topbar-actions { display: flex; align-items: center; gap: 40px; }
.topbar-link { font-size: 14px; color: #2a2438; text-decoration: none; }
.btn-logout { border: 0; border-radius: 5px; background: #480087; color: #fff; font-size: 14px; font-weight: 700; padding: 10px 20px; cursor: pointer; }
.layout { display: grid; grid-template-columns: 251px minmax(0, 892px); gap: 40px; }
.sidebar { border: 1px solid rgba(8,0,26,0.1); border-radius: 8px; background: #fff; align-self: start; }
.register-wrap { position: relative; padding: 11px; }
.btn-register { width: 100%; height: 48px; border: 0; border-radius: 8px; background: #480087; color: #fff; font-size: 14px; font-weight: 700; cursor: pointer; }
.register-dropdown { position: absolute; left: 11px; right: 11px; top: 63px; z-index: 30; border-radius: 16px; overflow: hidden; background: #fff; box-shadow: 0 4px 12px rgba(0,0,0,0.24); }
.register-item { width: 100%; height: 56px; border: 0; background: #fff; text-align: left; padding: 0 32px; font-size: 16px; font-weight: 500; color: rgba(8,0,26,0.6); cursor: pointer; }
.register-item-border { border-top: 1px solid rgba(8,0,26,0.1); }
.register-auction { border-top: 1px solid rgba(8,0,26,0.1); padding: 10px 32px; border-bottom-width: 1px; }
.register-auction-title { margin: 0; font-size: 16px; font-weight: 500; color: rgba(8,0,26,0.6); }
.register-auction-desc { margin: 8px 0 0; font-size: 13px; line-height: 22px; color: rgba(8,0,26,0.6); }
.sale-tabs { display: flex; height: 40px; border-bottom: 1px solid rgba(8,0,26,0.1); font-size: 14px; }
.sale-tab { flex: 1; border: 0; background: transparent; color: rgba(8,0,26,0.3); cursor: pointer; }
.sale-tab.active { color: #08001a; border-bottom: 2px solid #08001a; font-weight: 700; }
.section-header { height: 56px; display: flex; align-items: center; justify-content: space-between; padding: 0 20px; border-bottom: 1px solid rgba(8,0,26,0.1); }
.section-header-button { width: 100%; border: 0; background: #fff; cursor: pointer; display: flex; align-items: center; justify-content: space-between; appearance: none; -webkit-appearance: none; border-radius: 0; }
.section-header-button.maker-open { border-bottom: 1px solid rgba(8,0,26,0.1); }
.section-header p { margin: 0; font-size: 14px; font-weight: 700; line-height: 1; color: #08001a; }
.section-header span { color: rgba(8,0,26,0.4); }
.maker-list-wrap { max-height: 355px; overflow-y: auto; }
.maker-list { list-style: none; margin: 0; padding: 4px 0; }
.maker-item { padding: 12px 24px; font-size: 14px; font-weight: 700; cursor: pointer; }
.maker-item.is-selected { background: #f3edff; color: #480087; }
.filter-group { border-top: 1px solid rgba(8,0,26,0.1); }
.filter-row { width: 100%; height: 56px; border: 0; border-top: 1px solid rgba(8,0,26,0.1); background: #fff; display: flex; align-items: center; justify-content: space-between; padding: 0 20px; font-size: 14px; font-weight: 400; line-height: 1; color: #08001a; cursor: pointer; }
.filter-row:first-child { border-top: 0; }
.filter-row span:last-child { color: rgba(8,0,26,0.4); }
.year-filter-panel { padding: 0 20px 18px; background: #fff; }
.year-select-button { width: 100%; height: 36px; border: 1px solid rgba(8,0,26,0.15); border-radius: 8px; background: #fff; display: flex; align-items: center; justify-content: center; gap: 8px; font-size: 14px; font-weight: 500; color: #08001a; cursor: pointer; }
.year-select-arrow-img { width: 10px; height: 24px; object-fit: contain; }
.year-options { margin-top: 8px; max-height: 220px; overflow-y: auto; border: 1px solid rgba(8,0,26,0.1); border-radius: 8px; background: #fff; }
.year-option { width: 100%; border: 0; border-top: 1px solid rgba(8,0,26,0.08); background: #fff; padding: 10px 14px; text-align: center; font-size: 14px; color: rgba(8,0,26,0.85); cursor: pointer; }
.year-option:first-child { border-top: 0; }
.year-option:hover { background: #f6f5f9; }
.content { position: relative; }
.search-box { position: relative; margin-bottom: 16px; border-radius: 8px; background: #eceaf1; padding: 4px; }
.search-inner { height: 40px; border-radius: 6px; display: flex; align-items: center; gap: 12px; padding: 0 8px; }
.category-toggle { border: 0; background: transparent; height: 22px; display: flex; align-items: center; gap: 4px; padding-right: 12px; border-right: 1px solid rgba(8,0,26,0.2); font-size: 16px; font-weight: 700; cursor: pointer; white-space: nowrap; flex-shrink: 0; }
.category-toggle .arrow { font-size: 12px; }
.search-input { height: 100%; border: 0; background: transparent; outline: none; flex: 1; min-width: 0; font-size: 16px; }
.search-input::placeholder { color: rgba(8,0,26,0.4); }
.selected-filter-bar { height: 100%; display: flex; align-items: center; gap: 14px; flex: 1; min-width: 0; }
.selected-filter-reset { height: 34px; border: 1px solid rgba(8,0,26,0.14); border-radius: 8px; background: #fff; color: #08001a; font-size: 14px; font-weight: 600; padding: 0 16px; cursor: pointer; flex-shrink: 0; }
.selected-filter-tags { display: flex; align-items: center; gap: 10px; min-width: 0; overflow-x: auto; }
.selected-filter-tag { border: 0; background: transparent; color: #08001a; font-size: 16px; font-weight: 500; cursor: pointer; padding: 0; white-space: nowrap; }
.selected-filter-sep { color: rgba(8,0,26,0.25); font-size: 16px; }
.search-go { width: 32px; height: 32px; border: 0; border-radius: 4px; background: #fff; font-size: 20px; color: #332742; cursor: pointer; }
.category-dropdown { position: absolute; left: 0; top: 48px; z-index: 20; width: 183px; border-radius: 16px; overflow: hidden; background: #fff; box-shadow: 0 4px 12px rgba(0,0,0,0.24); }
.category-option { width: 100%; height: 56px; border: 0; border-top: 1px solid rgba(8,0,26,0.1); background: #fff; display: flex; align-items: center; justify-content: space-between; padding: 0 20px; font-size: 16px; color: rgba(8,0,26,0.6); cursor: pointer; }
.category-option:first-child { border-top: 0; }
.category-option-active { color: #08001a; font-weight: 700; }
.card-list { padding-top: 8px; display: grid; gap: 16px; }
.pc-pagination-wrap { display: flex; justify-content: center; padding: 16px 0 4px; }
.pc-pagination { display: flex; align-items: center; gap: 6px; }
.pc-page-btn { min-width: 36px; height: 36px; border: 1px solid rgba(8,0,26,0.2); border-radius: 8px; background: #fff; color: #08001a; font-size: 13px; font-weight: 600; cursor: pointer; padding: 0 10px; }
.pc-page-btn:disabled { opacity: 0.45; cursor: default; }
.pc-page-btn.is-active { background: #480087; border-color: #480087; color: #fff; }
.scroll-sentinel { width: 100%; height: 1px; }
.load-more-wrap { display: flex; justify-content: center; padding: 16px 0 4px; }
.load-more-btn { min-width: 132px; height: 42px; border: 1px solid rgba(8,0,26,0.2); border-radius: 8px; background: #fff; color: #08001a; font-size: 14px; font-weight: 700; cursor: pointer; }
.load-more-btn:disabled { opacity: 0.6; cursor: default; }
.card { display: flex; gap: 12px; }
.thumb { width: 200px; height: 130px; border-radius: 8px; background: #dedee3; flex-shrink: 0; }
.card-body { min-width: 0; flex: 1; }
.card-body h2 { margin: 0; font-size: 16px; font-weight: 400; }
.meta { margin: 4px 0 0; font-size: 13px; color: rgba(8,0,26,0.6); }
.badge-purple { display: inline-flex; margin: 4px 0 0; font-size: 12px; color: #480087; background: #f7efff; border-radius: 4px; padding: 4px 8px; }
.warn { margin: 4px 0 0; font-size: 14px; font-weight: 700; color: #ff4155; }
.warn { display: flex; align-items: center; gap: 4px; width: fit-content; }
.warn-icon { width: 16px; height: 16px; object-fit: contain; flex-shrink: 0; }
.inline-row { margin-top: 4px; display: flex; align-items: center; gap: 8px; }
.badge-green { background: #00ba19; color: #fff; border-radius: 4px; padding: 2px 6px; font-size: 13px; font-weight: 700; }
.badge-gray { background: #cbc8d2; color: #fff; border-radius: 4px; padding: 2px 6px; font-size: 13px; font-weight: 700; }
.price { margin: 4px 0 0; font-size: 16px; font-weight: 700; line-height: 22px; }
.btn-top { position: fixed; right: max(24px, calc((100vw - 1400px) / 2 + 32px)); bottom: 24px; width: 54px; height: 54px; border: 0; border-radius: 8px; background: #fff; font-size: 12px; font-weight: 700; box-shadow: 0 4px 4px rgba(0,0,0,0.24); cursor: pointer; }
.login-modal-backdrop { position: fixed; inset: 0; background: rgba(8, 0, 26, 0.45); place-items: center; z-index: 100; padding: 16px; }
.login-modal-backdrop:not([hidden]) { display: grid; }
.login-modal { width: 100%; max-width: 420px; border-radius: 16px; background: #fff; padding: 20px; box-shadow: 0 10px 30px rgba(0,0,0,0.25); }
.login-modal h3 { margin: 0; font-size: 22px; font-weight: 700; color: #08001a; }
.login-modal p { margin: 8px 0 0; font-size: 14px; color: rgba(8,0,26,0.65); }
.login-buttons { margin-top: 16px; display: grid; gap: 10px; }
.btn-provider { width: 100%; height: 44px; border-radius: 10px; border: 0; font-size: 14px; font-weight: 700; cursor: pointer; }
.btn-provider.kakao { background: #fee500; color: #3b1e1e; }
.btn-provider.naver { background: #03c75a; color: #fff; }
.btn-provider.google { background: #fff; color: #1f1f1f; border: 1px solid rgba(8,0,26,0.15); }
.btn-provider.apple { background: #111; color: #fff; }
.btn-modal-close { margin-top: 14px; width: 100%; height: 40px; border-radius: 10px; border: 1px solid rgba(8,0,26,0.2); background: #fff; font-size: 14px; cursor: pointer; }
@media (max-width: 1023px) {
  .page { padding: 16px 16px 36px; }
  .topbar { margin-bottom: 24px; }
  .topbar-actions { gap: 16px; }
  .layout { grid-template-columns: 1fr; gap: 16px; }
  .thumb { width: 100%; }
  .card { flex-direction: column; }
  .btn-top { right: 16px; }
  .pc-pagination-wrap { display: flex; padding-top: 12px; }
  .pc-pagination { gap: 4px; flex-wrap: wrap; justify-content: center; }
  .pc-page-btn { min-width: 34px; height: 34px; padding: 0 8px; font-size: 12px; }
}
