:root {
  color-scheme: light;
  font-family:
    Inter, Pretendard, "Noto Sans KR", system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", sans-serif;
  background: #f6f7f9;
  color: #151b23;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-width: 320px;
  background: #f6f7f9;
}

button,
input,
select {
  font: inherit;
}

button {
  cursor: pointer;
}

a {
  color: inherit;
}

.app-shell {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 236px minmax(0, 1fr);
  background:
    radial-gradient(circle at 18% 6%, rgba(90, 86, 232, 0.14), transparent 28%),
    radial-gradient(circle at 88% 12%, rgba(0, 168, 168, 0.14), transparent 26%),
    radial-gradient(circle at 58% 44%, rgba(255, 191, 71, 0.13), transparent 24%),
    linear-gradient(180deg, #fbfcff 0%, #eef4f8 100%);
}

.page-top-button {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 80;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(21, 27, 35, 0.12);
  border-radius: 50%;
  background: #ffffff;
  color: #1f5f99;
  display: grid;
  place-items: center;
  box-shadow: 0 12px 28px rgba(31, 95, 153, 0.18);
}

.page-top-button:hover {
  background: #eef7ff;
}

.site-footer {
  grid-column: 2 / -1;
  width: min(100%, 1440px);
  margin: 34px auto 0;
  padding: 22px 0 26px;
  border-top: 1px solid rgba(21, 27, 35, 0.1);
  color: #5f6b78;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-align: center;
}

.footer-company {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 14px;
  font-size: 13px;
  line-height: 1.5;
}

.footer-company strong {
  flex-basis: 100%;
  color: #27313d;
  font-size: 14px;
}

.footer-links {
  display: flex;
  justify-content: center;
  width: 100%;
  gap: 8px;
}

.footer-links button {
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #1f5f99;
  padding: 2px 8px;
  font-size: 13px;
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.footer-links button:hover {
  color: #143f73;
}

.legal-page {
  max-width: 980px;
  margin: 0 auto;
}

.legal-card {
  display: grid;
  gap: 14px;
  color: #323b46;
  line-height: 1.72;
  padding: 8px 0 28px;
}

.legal-card h2,
.legal-card h3,
.legal-card p {
  margin: 0;
}

.legal-card h2 {
  color: #151b23;
  font-size: 24px;
}

.legal-card h3 {
  margin-top: 8px;
  color: #1f5f99;
  font-size: 16px;
}

.legal-updated {
  color: #788493;
  font-size: 13px;
  font-weight: 800;
}

.sidebar {
  position: sticky;
  top: 0;
  height: 100vh;
  border-right: 1px solid #dde3e8;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(14px);
  padding: 22px 16px;
  display: flex;
  flex-direction: column;
  gap: 26px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.brand-mark {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  overflow: hidden;
  flex: 0 0 42px;
  display: grid;
  place-items: center;
  box-shadow: 0 10px 24px rgba(29, 95, 143, 0.18);
}

.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-size: 17px;
  letter-spacing: 0;
}

.brand small {
  color: #697784;
  margin-top: 3px;
  font-size: 12px;
}

.nav-list {
  display: grid;
  gap: 6px;
}

.nav-list button {
  min-height: 42px;
  border: 0;
  background: transparent;
  color: #5c6975;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 8px;
  text-align: left;
}

.nav-list button.active {
  background: #e8f1f8;
  color: #174d75;
  font-weight: 800;
}

.workspace {
  padding: 24px;
  min-width: 0;
  width: 100%;
  max-width: 100%;
  overflow-x: clip;
}

.topbar {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 14px;
  max-width: 1440px;
  margin: 0 auto;
}

.topbar h1 {
  margin: 0;
  font-size: 28px;
  letter-spacing: 0;
}

.topbar p {
  margin: 7px 0 0;
  color: #697784;
}

.top-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.plain-action,
.user-chip {
  min-height: 42px;
  border-radius: 8px;
  font-weight: 800;
}

.plain-action {
  border: 0;
  background: transparent;
  color: #52616e;
  padding: 0 8px;
}

.user-chip {
  border: 1px solid #d6e0e7;
  background: #fff;
  color: #263747;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0 12px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  min-height: 25px;
  padding: 4px 9px;
  border-radius: 999px;
  background: #e7f4ee;
  color: #17643f;
  font-size: 12px;
  font-weight: 800;
  margin-bottom: 9px;
}

.icon-button {
  width: 42px;
  height: 42px;
  border: 1px solid #d6e0e7;
  background: #fff;
  color: #263747;
  border-radius: 8px;
  display: grid;
  place-items: center;
}

.spin {
  animation: spin 0.9s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.search-loading-overlay {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: grid;
  place-items: center;
  background: rgba(10, 22, 34, 0.34);
  backdrop-filter: blur(2px);
}

.search-loading-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  min-width: 260px;
  padding: 28px 34px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 18px 50px rgba(15, 35, 55, 0.2);
  color: #17324a;
  text-align: center;
}

.search-loading-card p {
  margin: 0;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.5;
}

.notice {
  max-width: 1440px;
  min-height: 44px;
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 16px auto 0;
  padding: 12px 14px;
  border: 1px solid #efc8b7;
  border-radius: 8px;
  background: #fff6f0;
  color: #944622;
}

.filter-chip-row {
  max-width: 1440px;
  min-height: 42px;
  margin: 16px auto 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  border: 1px solid #cbdbe6;
  border-radius: 8px;
  background: #eef6fb;
  color: #174d75;
  padding: 9px 12px;
  font-weight: 800;
}

.filter-chip-row button {
  border: 0;
  border-radius: 6px;
  background: #fff;
  color: #174d75;
  padding: 7px 10px;
  font-weight: 800;
}

.bid-check-panel {
  max-width: 1440px;
  margin: 14px auto;
  border: 1px solid #efd6bd;
  border-radius: 8px;
  background: #fff8ef;
  color: #5f3d16;
  padding: 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.bid-check-panel strong {
  display: flex;
  align-items: center;
  gap: 7px;
}

.bid-check-panel p {
  margin: 5px 0 0;
  color: #7b603f;
  line-height: 1.45;
}

.bid-check-panel button {
  flex: 0 0 auto;
  border: 0;
  border-radius: 8px;
  background: #263747;
  color: #fff;
  min-height: 38px;
  padding: 0 12px;
  font-weight: 800;
}

.lot-bid-review-card {
  border: 1px solid #efd6bd;
  border-radius: 12px;
  background: linear-gradient(180deg, #fffaf3 0%, #fff 100%);
  padding: 12px 14px;
  box-shadow: 0 10px 24px rgba(146, 82, 0, 0.08);
}

.lot-bid-review-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}

.lot-bid-review-head h3 {
  margin: 0;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 17px;
  color: #9a5b00;
}

.lot-bid-review-head p {
  margin: 4px 0 0;
  font-size: 13px;
  color: #7b603f;
}

.lot-bid-review-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
}

.lot-bid-review-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 10px 12px;
  border: 1px solid #f0e2cf;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.88);
  cursor: pointer;
}

.lot-bid-review-list li.warn .lot-bid-review-item {
  border-color: #f2c9c9;
  background: #fff8f8;
}

.lot-bid-review-item input {
  margin-top: 3px;
  flex-shrink: 0;
}

.lot-bid-review-copy {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.lot-bid-review-copy strong {
  color: #5f3d16;
  font-size: 13px;
}

.lot-bid-review-copy em {
  font-style: normal;
  color: #17324a;
  font-size: 14px;
  line-height: 1.45;
  word-break: keep-all;
  overflow-wrap: anywhere;
}

.lot-bid-review-copy small {
  color: #d9485f;
  font-size: 12px;
  font-weight: 800;
}

.lot-bid-review-foot {
  margin: 10px 0 0;
  font-size: 12px;
}

.empty-state,
.map-overview {
  max-width: 1440px;
  margin: 0 auto 14px;
  border: 1px solid #dfe6eb;
  border-radius: 8px;
  background: #fff;
  padding: 18px;
  box-shadow: 0 8px 20px rgba(30, 49, 65, 0.05);
}

.empty-state {
  min-height: 220px;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 8px;
  text-align: center;
  color: #647381;
}

.empty-state svg {
  color: #c95431;
}

.empty-state strong {
  color: #151b23;
  font-size: 18px;
}

.empty-state p {
  margin: 0;
}

.empty-state button {
  margin-top: 8px;
  min-height: 40px;
  border: 0;
  border-radius: 8px;
  background: #1d5f8f;
  color: #fff;
  padding: 0 14px;
  font-weight: 800;
}

.map-overview {
  display: grid;
  grid-template-columns: minmax(0, 360px) minmax(0, 1fr);
  gap: 16px;
  align-items: center;
}

.map-overview h2 {
  margin: 10px 0 8px;
  font-size: 22px;
  line-height: 1.35;
}

.map-overview p {
  display: flex;
  gap: 6px;
  align-items: flex-start;
  margin: 0;
  color: #647381;
}

.content-grid.map-mode {
  grid-template-columns: 1fr;
}

.content-grid.map-mode .detail-panel {
  display: none;
}

.detail-page {
  width: 100%;
  max-width: 1280px;
  margin: 20px auto 0;
  display: grid;
  gap: 12px;
  min-width: 0;
  box-sizing: border-box;
}

.detail-page-panel {
  position: static;
}

.back-button {
  width: fit-content;
  min-height: 38px;
  border: 1px solid #d6e0e7;
  border-radius: 8px;
  background: #fff;
  color: #263747;
  padding: 0 13px;
  font-weight: 800;
}

.detail-mobile-header {
  display: none;
}

.service-page {
  max-width: 1040px;
  margin: 20px auto 0;
  display: grid;
  grid-template-columns: minmax(0, 420px) minmax(0, 1fr);
  gap: 14px;
  align-items: start;
}

.service-page.narrow {
  max-width: 520px;
  grid-template-columns: 1fr;
}

.service-card {
  border: 1px solid #dfe6eb;
  border-radius: 8px;
  background: #fff;
  padding: 16px;
  box-shadow: 0 8px 20px rgba(30, 49, 65, 0.05);
}

.service-card h2 {
  margin: 0 0 14px;
  font-size: 20px;
}

.board-page {
  max-width: 1280px;
  margin: 20px auto 0;
  display: grid;
  gap: 14px;
}

.notice-pin {
  display: inline-flex;
  align-items: center;
  min-height: 22px;
  padding: 0 8px;
  margin-right: 8px;
  border-radius: 999px;
  background: #fff4d6;
  color: #9a6d00;
  font-size: 11px;
  font-weight: 800;
  vertical-align: middle;
}

.notice-chevron {
  transition: transform 0.2s ease;
  color: #8a96a0;
}

.notice-chevron.open {
  transform: rotate(180deg);
}

.notice-item-body {
  display: grid;
  gap: 10px;
}

.notice-pin-field {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
}

.board-date {
  color: #8a96a0;
  font-size: 13px;
  font-weight: 700;
}

.admin-page .board-hero {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.admin-member-panel {
  margin-bottom: 16px;
}

.admin-member-search {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-width: min(100%, 280px);
  padding: 8px 12px;
  border: 1px solid #dfe6eb;
  border-radius: 8px;
  background: #fff;
}

.admin-member-search input {
  width: 100%;
  border: 0;
  outline: none;
  font: inherit;
}

.admin-member-table-wrap {
  overflow-x: auto;
}

.admin-member-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

.admin-member-table th,
.admin-member-table td {
  padding: 12px 10px;
  border-bottom: 1px solid #edf1f4;
  text-align: left;
  vertical-align: middle;
}

.admin-member-table th {
  color: #6a7884;
  font-size: 12px;
  font-weight: 800;
  background: #f8fafb;
}

.admin-member-table tr.is-blocked td {
  color: #8a96a0;
  background: #fcfdfe;
}

.admin-member-table select {
  min-width: 92px;
  padding: 6px 8px;
  border: 1px solid #dfe6eb;
  border-radius: 6px;
  background: #fff;
  font: inherit;
}

.admin-member-status {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
}

.admin-member-status.active {
  background: #e8f8ef;
  color: #1f7a45;
}

.admin-member-status.blocked {
  background: #ffe8ea;
  color: #d9485f;
}

.admin-member-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.admin-member-actions .plain-action.danger {
  color: #d9485f;
}

.admin-member-note {
  margin: 12px 0 0;
}

.auth-error {
  margin: 0;
  color: #d9485f;
  font-size: 14px;
  font-weight: 700;
}

.service-notice {
  margin: 0 0 14px;
  padding: 14px 16px;
  border: 1px solid #cfe8dc;
  border-radius: 10px;
  background: #eef9f3;
  color: #1f7a45;
  font-size: 14px;
  font-weight: 700;
}

.app-toast {
  position: fixed;
  left: 50%;
  bottom: calc(24px + env(safe-area-inset-bottom, 0px));
  z-index: 1200;
  display: flex;
  align-items: center;
  gap: 10px;
  max-width: min(92vw, 420px);
  padding: 14px 18px;
  border-radius: 12px;
  box-shadow: 0 12px 32px rgba(16, 42, 67, 0.18);
  font-size: 14px;
  font-weight: 700;
  transform: translateX(-50%);
  animation: app-toast-in 0.22s ease;
}

.app-toast-success {
  background: #1f7a45;
  color: #fff;
  border: 1px solid #186339;
}

.app-toast-error {
  background: #fff6f0;
  color: #944622;
  border: 1px solid #efc8b7;
}

@keyframes app-toast-in {
  from {
    opacity: 0;
    transform: translateX(-50%) translateY(12px);
  }

  to {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
  }
}

@media (max-width: 960px) {
  .app-toast {
    bottom: calc(82px + env(safe-area-inset-bottom, 0px));
  }
}

@media (max-width: 1100px) {
  .admin-page .board-hero {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .admin-page .board-hero {
    grid-template-columns: 1fr;
  }

  .admin-member-table thead {
    display: none;
  }

  .admin-member-table tr {
    display: grid;
    gap: 8px;
    padding: 14px 0;
  }

  .admin-member-table td {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    border-bottom: 0;
    padding: 0;
  }

  .admin-member-table td::before {
    content: attr(data-label);
    color: #6a7884;
    font-weight: 800;
    flex: 0 0 72px;
  }
}

.admin-page .admin-panel-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.admin-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.admin-panel-head h2 {
  margin: 0;
}

@media (max-width: 960px) {
  .admin-page .admin-panel-grid {
    grid-template-columns: 1fr;
  }
}

.board-main,
.board-summary-card {
  border: 1px solid #dfe6eb;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 8px 20px rgba(30, 49, 65, 0.05);
}

.board-hero {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.board-summary-card {
  min-height: 148px;
  padding: 20px 22px;
  display: grid;
  align-content: start;
  gap: 8px;
}

.board-summary-primary {
  background:
    linear-gradient(135deg, rgba(90, 86, 232, 0.14), rgba(0, 168, 168, 0.08)),
    #fff;
}

.board-summary-tip {
  background:
    linear-gradient(135deg, rgba(255, 176, 32, 0.10), rgba(255, 227, 160, 0.18)),
    #fff;
}

.board-summary-label {
  color: #6a7884;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.04em;
}

.board-summary-card strong {
  color: #151b23;
  font-size: 28px;
  line-height: 1.2;
}

.board-summary-card p {
  margin: 0;
  color: #697784;
  line-height: 1.55;
}

.board-main {
  overflow: hidden;
}

.board-toolbar {
  min-height: 88px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 18px;
  border-bottom: 1px solid #e5ecf1;
  background:
    linear-gradient(135deg, rgba(90, 86, 232, 0.08), rgba(0, 168, 168, 0.05)),
    #fff;
}

.board-toolbar h2 {
  margin: 0;
  font-size: 21px;
}

.board-toolbar p {
  margin: 6px 0 0;
  color: #697784;
  line-height: 1.45;
}

.board-toolbar-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.board-write-button {
  min-height: 42px;
  border: 0;
  border-radius: 8px;
  background: linear-gradient(135deg, #5a56e8, #3b82f6);
  color: #fff;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0 16px;
  font-weight: 900;
  white-space: nowrap;
}

.board-search {
  min-width: 280px;
  min-height: 42px;
  border: 1px solid #d4dee6;
  border-radius: 8px;
  background: #fff;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 12px;
  color: #647381;
}

.board-search input {
  min-width: 0;
  width: 100%;
  border: 0;
  outline: 0;
  background: transparent;
}

.board-tabs {
  display: flex;
  gap: 7px;
  padding: 12px 18px;
  border-bottom: 1px solid #e5ecf1;
}

.board-tabs button {
  min-height: 34px;
  border: 1px solid #d9e3ea;
  border-radius: 999px;
  background: #fff;
  color: #52616e;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 0 12px;
  font-weight: 800;
}

.board-tabs button.active {
  border-color: #5a56e8;
  background: #f0efff;
  color: #3530b8;
}

.board-tabs span {
  min-width: 22px;
  min-height: 22px;
  border-radius: 999px;
  background: rgba(90, 86, 232, 0.10);
  display: grid;
  place-items: center;
  font-size: 12px;
}

.board-no {
  flex: 0 0 auto;
  min-width: 24px;
  color: #8a96a0;
  font-size: 14px;
  font-weight: 800;
  text-align: center;
}

.board-card mark {
  width: fit-content;
  border-radius: 999px;
  background: #e8f7f4;
  color: #087869;
  padding: 5px 8px;
  font-size: 12px;
  font-weight: 900;
}

.board-list {
  display: grid;
  gap: 0;
  padding: 0;
  background: #fff;
}

.board-card {
  border: 0;
  border-radius: 0;
  background: #fff;
  padding: 12px 18px;
  display: grid;
  gap: 0;
  border-bottom: 1px solid #e8edf1;
}

.board-card.expanded {
  border-color: #e8edf1;
  box-shadow: none;
  padding: 16px 18px 20px;
  gap: 8px;
}

.board-card:not(.expanded) .board-title:hover strong {
  color: #3530b8;
}

.board-card.expanded .board-title strong {
  color: #151b23;
  white-space: normal;
  font-size: 17px;
  line-height: 1.45;
}

.board-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
}

.board-row-aside {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  gap: 10px;
  white-space: nowrap;
}

.board-author {
  color: #8a96a0;
  font-size: 13px;
  font-weight: 700;
}

.board-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.board-card-tags {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.board-title {
  flex: 1;
  min-width: 0;
  border: 0;
  background: transparent;
  color: #151b23;
  padding: 2px 0;
  text-align: left;
  display: flex;
  align-items: baseline;
  gap: 12px;
  cursor: pointer;
}

.board-title strong {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  display: block;
  font-size: 16px;
  line-height: 1.45;
}

.board-body {
  margin-top: 8px;
  padding: 0 0 0 36px;
  display: grid;
  gap: 10px;
}

.board-body > p {
  margin: 0 0 12px;
  color: #3f4d59;
  line-height: 1.75;
  white-space: pre-wrap;
}

.board-comments {
  margin-top: 8px;
  padding-top: 12px;
  border-top: 1px solid #edf2f5;
  display: grid;
  gap: 12px;
}

.board-comments-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.board-comments-head strong {
  font-size: 15px;
  color: #151b23;
}

.board-comment-tree {
  display: grid;
  gap: 0;
}

.board-comment {
  padding: 6px 0;
}

.board-comment.is-child {
  margin-left: 14px;
  padding-left: 10px;
  border-left: 2px solid #e8edf1;
}

.board-comment-children {
  display: grid;
  gap: 0;
  margin-top: 4px;
}

.board-comment-line {
  margin: 0;
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 8px;
  line-height: 1.55;
  font-size: 14px;
}

.board-comment-author {
  color: #151b23;
  font-weight: 800;
  font-size: 13px;
}

.board-comment-date {
  color: #8a96a0;
  font-size: 12px;
  white-space: nowrap;
}

.board-comment-body {
  display: inline;
  color: #3f4d59;
}

.board-comment-text {
  white-space: pre-wrap;
}

.board-comment-reply {
  width: fit-content;
  min-height: auto;
  border: 0;
  background: transparent;
  color: #8a96a0;
  padding: 0;
  margin-left: 6px;
  font-size: 12px;
  font-weight: 700;
  vertical-align: baseline;
}

.board-comment-reply:hover {
  color: #3530b8;
}

.board-comment-action {
  width: fit-content;
  min-height: auto;
  border: 0;
  background: transparent;
  color: #8a96a0;
  padding: 0;
  margin-left: 6px;
  font-size: 12px;
  font-weight: 700;
  vertical-align: baseline;
}

.board-comment-action:hover {
  color: #3530b8;
}

.board-comment-action.danger:hover {
  color: #c0392b;
}

.board-comment-edit {
  flex: 1;
  min-width: 0;
  display: grid;
  gap: 6px;
}

.board-comment-edit textarea {
  width: 100%;
  border: 0;
  border-bottom: 1px solid #dde5eb;
  border-radius: 0;
  background: transparent;
  color: #151b23;
  padding: 4px 0;
  line-height: 1.55;
  resize: vertical;
  outline: 0;
  font-size: 14px;
}

.board-comment-edit textarea:focus {
  border-bottom-color: #5a56e8;
}

.board-comment-edit-actions {
  display: flex;
  gap: 8px;
}

.board-comment-empty,
.board-reply-hint {
  margin: 0;
  color: #8a96a0;
  font-size: 13px;
  line-height: 1.55;
}

.board-reply-hint {
  padding: 0;
  background: none;
  color: #697784;
  font-weight: 500;
}

.board-comment-form {
  display: grid;
  gap: 8px;
  padding-top: 4px;
}

.board-comment-form textarea {
  width: 100%;
  border: 0;
  border-bottom: 1px solid #dde5eb;
  border-radius: 0;
  background: transparent;
  color: #151b23;
  padding: 6px 0;
  line-height: 1.55;
  resize: vertical;
  outline: 0;
}

.board-comment-form textarea:focus {
  border-bottom-color: #5a56e8;
}

.board-comment-submit {
  width: fit-content;
  border: 0;
  background: transparent;
  color: #3530b8;
  padding: 0;
  font-size: 13px;
  font-weight: 800;
}

.board-comment-submit:hover {
  text-decoration: underline;
}

.board-meta {
  flex: 0 0 auto;
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 12px;
  color: #8a96a0;
  font-size: 12px;
  white-space: nowrap;
}

.board-status {
  width: fit-content;
  border-radius: 999px;
  background: #fff4e7;
  color: #a55a00;
  padding: 5px 8px;
  font-size: 12px;
  font-weight: 900;
}

.board-status.done {
  background: #e8f1f8;
  color: #174d75;
}

.board-empty {
  min-height: 230px;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 8px;
  color: #697784;
  text-align: center;
}

.board-empty strong {
  color: #151b23;
}

.board-empty p {
  margin: 0;
}

.board-write-modal {
  position: fixed;
  inset: 0;
  z-index: 320;
  display: grid;
  place-items: center;
  padding: 20px;
}

.board-write-backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(10, 22, 34, 0.42);
  backdrop-filter: blur(2px);
}

.board-write-panel {
  position: relative;
  z-index: 1;
  width: min(560px, 100%);
  max-height: min(90vh, 760px);
  overflow: auto;
  border: 1px solid #dfe6eb;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 24px 60px rgba(15, 35, 55, 0.22);
  padding: 22px;
}

.board-write-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}

.board-write-head h2 {
  margin: 0;
  font-size: 22px;
}

.board-write-head p {
  margin: 6px 0 0;
  color: #697784;
  line-height: 1.45;
}

.board-write-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
}

.question-form {
  display: grid;
  gap: 12px;
}

.question-form label {
  display: grid;
  gap: 7px;
  color: #61707c;
  font-weight: 800;
  font-size: 13px;
}

.question-form input,
.question-form select,
.question-form textarea,
.auth-form input {
  width: 100%;
  border: 1px solid #d7e0e7;
  border-radius: 8px;
  background: #fbfcfd;
  color: #151b23;
  outline: 0;
}

.question-form input,
.question-form select {
  min-height: 42px;
  padding: 0 11px;
}

.question-form textarea {
  resize: vertical;
  padding: 12px;
  line-height: 1.55;
}

.auth-form {
  display: grid;
  gap: 12px;
}

.auth-form label {
  display: grid;
  gap: 7px;
  color: #61707c;
  font-weight: 800;
  font-size: 13px;
}

.auth-form input {
  min-height: 44px;
  padding: 0 12px;
  font-weight: 500;
}

.question-list {
  display: grid;
  gap: 10px;
}

.question-list article {
  border: 1px solid #e0e7ec;
  border-radius: 8px;
  background: #fbfcfd;
  padding: 12px;
  display: grid;
  gap: 7px;
}

.question-list article span {
  width: fit-content;
  border-radius: 999px;
  background: #e8f1f8;
  color: #174d75;
  padding: 4px 8px;
  font-size: 12px;
  font-weight: 800;
}

.question-list article strong {
  line-height: 1.45;
}

.question-list article small,
.muted,
.profile-card p {
  color: #697784;
  line-height: 1.5;
}

.profile-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 14px 0;
}

.profile-stats div {
  border-radius: 8px;
  background: #f1f6f9;
  padding: 12px;
}

.profile-stats span,
.profile-stats strong {
  display: block;
}

.profile-stats span {
  color: #647381;
  font-size: 13px;
}

.profile-stats strong {
  margin-top: 4px;
  font-size: 22px;
}

.mypage-page {
  max-width: 1040px;
  grid-template-columns: 1fr;
  gap: 12px;
}

.mypage-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 24px;
  height: 24px;
  margin-left: 6px;
  padding: 0 8px;
  border-radius: 999px;
  background: #e8f1f8;
  color: #174d75;
  font-size: 12px;
  font-weight: 800;
  vertical-align: middle;
}

.mypage-activity-list {
  display: grid;
  gap: 8px;
}

.mypage-activity-main {
  display: grid;
  gap: 6px;
  min-width: 0;
  text-align: left;
}

.mypage-activity-chevron {
  flex-shrink: 0;
  color: #8a96a0;
}

.mypage-row h2 {
  margin: 0;
  font-size: 18px;
}

.mypage-row-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 12px;
}

.mypage-profile-body {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.mypage-profile-main {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 1 1 220px;
  min-width: 0;
}

.mypage-profile-avatar {
  width: 48px;
  height: 48px;
  border-radius: 999px;
  background: #e8f1f8;
  color: #174d75;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.mypage-profile-text {
  min-width: 0;
}

.mypage-profile-text strong {
  display: block;
  font-size: 18px;
  color: #151b23;
}

.mypage-profile-text p {
  margin: 4px 0 0;
  color: #697784;
  font-size: 13px;
  word-break: break-all;
}

.mypage-profile-stats {
  flex: 1 1 220px;
  margin: 0;
  grid-template-columns: repeat(2, minmax(110px, 1fr));
}

.mypage-stat-link {
  border: 0;
  border-radius: 8px;
  background: #f1f6f9;
  padding: 12px;
  text-align: left;
  cursor: pointer;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}

.mypage-stat-link:active {
  background: #e5eef4;
}

.mypage-stat-link span,
.mypage-stat-link strong {
  display: block;
}

.mypage-stat-link span {
  color: #647381;
  font-size: 13px;
}

.mypage-stat-link strong {
  margin-top: 4px;
  font-size: 22px;
  color: #151b23;
}

.mypage-link-action {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  min-height: 36px;
  padding: 0 4px;
  white-space: nowrap;
}

.mypage-profile-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 0 0 auto;
  margin-left: auto;
}

.mypage-hscroll {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding-bottom: 4px;
  overscroll-behavior-x: contain;
  scroll-snap-type: x proximity;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.mypage-hscroll::-webkit-scrollbar {
  display: none;
}

.mypage-empty-inline {
  margin: 0;
  padding: 8px 2px;
  white-space: nowrap;
}

.mypage-activity-card {
  width: 100%;
  border: 1px solid #e3e9ee;
  border-radius: 8px;
  background: #fbfcfd;
  padding: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
  text-align: left;
  cursor: pointer;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.mypage-activity-card:active {
  border-color: #c8d6e2;
  box-shadow: 0 4px 14px rgba(30, 49, 65, 0.08);
}

.mypage-activity-card span {
  width: fit-content;
  border-radius: 999px;
  background: #eef4f7;
  color: #28536c;
  font-size: 11px;
  font-weight: 800;
  padding: 2px 8px;
}

.mypage-activity-card strong {
  font-size: 14px;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.mypage-activity-card small {
  color: #697784;
  font-size: 12px;
}

.mypage-card-link {
  margin-top: 2px;
  font-style: normal;
  font-size: 12px;
  font-weight: 800;
  color: #174d75;
}

.mypage-empty-card {
  flex: 1 1 auto;
  min-width: min(100%, 280px);
  border: 1px dashed #d5dee6;
  border-radius: 8px;
  background: #fbfcfd;
  padding: 14px;
  display: grid;
  gap: 10px;
  justify-items: start;
}

.mypage-empty-card p {
  margin: 0;
}

.mypage-saved-card {
  flex: 0 0 220px;
  min-width: 220px;
  border: 1px solid #dfe6eb;
  border-radius: 8px;
  overflow: hidden;
  background: #fbfcfd;
  cursor: pointer;
  scroll-snap-align: start;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}

.mypage-saved-card:active {
  opacity: 0.92;
}

.mypage-saved-card img,
.mypage-saved-empty {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  background: #eef3f6;
}

.mypage-saved-empty {
  display: grid;
  place-items: center;
  color: #71808c;
  font-size: 12px;
  font-weight: 800;
}

.mypage-saved-body {
  padding: 10px;
  display: grid;
  gap: 5px;
}

.mypage-saved-body strong {
  font-size: 13px;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.mypage-saved-body p {
  margin: 0;
  color: #697784;
  font-size: 12px;
  display: flex;
  align-items: center;
  gap: 4px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.mypage-saved-body em {
  font-style: normal;
  font-weight: 800;
  color: #174d75;
  font-size: 14px;
}

.app-build-stamp {
  margin: 0;
  padding: 4px 0 8px;
  text-align: center;
  color: #7d8b97;
  font-size: 12px;
  font-weight: 700;
}

.home-page {
  max-width: 1440px;
  margin: 20px auto 0;
  display: grid;
  gap: 16px;
}

.home-main {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 324px;
  gap: 16px;
  align-items: stretch;
}

.home-search-panel,
.home-my-panel,
.home-info-grid button {
  border: 1px solid rgba(94, 92, 230, 0.16);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 16px 36px rgba(81, 78, 232, 0.10);
}

.home-search-panel {
  position: relative;
  padding: 26px 30px;
  overflow: hidden;
  background:
    radial-gradient(circle at 90% 10%, rgba(255, 191, 71, 0.25), transparent 24%),
    radial-gradient(circle at 72% 80%, rgba(0, 168, 168, 0.16), transparent 30%),
    linear-gradient(135deg, rgba(94, 92, 230, 0.16), rgba(38, 166, 154, 0.10)),
    #fff;
}

.home-search-panel::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 5px;
  background: linear-gradient(90deg, #5a56e8, #00a8a8, #ffbf47);
}

.home-search-panel h2,
.home-my-panel h2 {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 18px;
  font-size: 24px;
}

.home-search-box {
  min-height: 54px;
  border: 2px solid #5a56e8;
  border-radius: 999px;
  display: flex;
  align-items: center;
  padding: 0 8px 0 20px;
  margin-bottom: 14px;
  background: #fff;
  box-shadow: 0 12px 24px rgba(90, 86, 232, 0.12);
}

.home-search-box input {
  flex: 1;
  min-width: 0;
  border: 0;
  outline: 0;
  background: transparent;
}

.home-search-box button {
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(135deg, #5a56e8, #2688ff);
  color: #ffffff;
  display: grid;
  place-items: center;
}

.asset-tabs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 18px;
}

.asset-tabs button,
.asset-tab-card {
  position: relative;
  overflow: hidden;
  min-height: 72px;
  border: 1px solid #d7e0e7;
  border-radius: 10px;
  background-color: #eef2f5;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  color: #fff;
  padding: 0;
  font-weight: 800;
}

.asset-tab-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(10, 24, 40, 0.06), rgba(10, 24, 40, 0.28)),
    linear-gradient(90deg, rgba(10, 24, 40, 0.14), rgba(10, 24, 40, 0.02));
  transition: background 0.2s ease;
}

.asset-tab-content {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 72px;
  padding: 0 16px;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.45);
}

.asset-tabs button.active,
.asset-tab-card.active {
  border-color: #5a56e8;
  box-shadow: 0 10px 24px rgba(81, 78, 232, 0.28);
  transform: translateY(-1px);
}

.asset-tabs button.active .asset-tab-overlay,
.asset-tab-card.active .asset-tab-overlay {
  background:
    linear-gradient(180deg, rgba(53, 48, 184, 0.12), rgba(53, 48, 184, 0.38)),
    linear-gradient(90deg, rgba(53, 48, 184, 0.2), rgba(38, 166, 154, 0.08));
}

.home-filter-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.home-filter-grid div {
  display: grid;
  gap: 9px;
  align-content: start;
}

.home-filter-grid strong {
  font-size: 15px;
}

.home-filter-grid select {
  min-height: 40px;
  border: 1px solid #cfd9e1;
  border-radius: 7px;
  background: #fff;
  padding: 0 10px;
  width: 100%;
}

.home-filter-grid select:disabled {
  background: #f3f5f7;
  color: #8a97a3;
  cursor: not-allowed;
}

.filter-choice {
  min-height: 31px;
  border: 1px solid transparent;
  border-radius: 999px;
  background: transparent;
  color: #52616e;
  text-align: left;
  padding: 4px 9px;
  font-size: 14px;
}

.filter-choice.active {
  border-color: #83d7c8;
  background: #e8fbf7;
  color: #087869;
  font-weight: 900;
}

.home-search-action {
  min-height: 52px;
  width: min(280px, 100%);
  margin: 24px auto 0;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(135deg, #5a56e8, #2688ff 58%, #00a8a8);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 900;
  font-size: 17px;
  box-shadow: 0 14px 28px rgba(38, 136, 255, 0.22);
}

.home-search-action:disabled,
.home-search-box button:disabled,
.search-button:disabled {
  opacity: 0.78;
  cursor: wait;
}

.quick-note {
  margin: 16px 0 0;
  border-radius: 8px;
  background: #fff6df;
  color: #7a5600;
  padding: 10px 12px;
  font-size: 13px;
  line-height: 1.45;
}

.home-my-panel {
  padding: 28px;
  display: grid;
  align-content: center;
  gap: 13px;
  background:
    radial-gradient(circle at 80% 12%, rgba(255, 191, 71, 0.28), transparent 34%),
    radial-gradient(circle at 16% 82%, rgba(0, 168, 168, 0.16), transparent 30%),
    linear-gradient(180deg, #fff 0%, #f3f5ff 100%);
}

.home-visual {
  width: 100%;
  aspect-ratio: 16 / 10;
  border: 1px solid rgba(94, 92, 230, 0.14);
  border-radius: 8px;
  overflow: hidden;
  background: #eef5ff;
  box-shadow: 0 14px 28px rgba(81, 78, 232, 0.14);
}

.home-visual img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.home-my-panel p {
  margin: 0;
  color: #697784;
  line-height: 1.6;
  text-align: center;
}

.my-panel-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.my-panel-stats div {
  border-radius: 8px;
  background: #f1f4ff;
  padding: 12px;
  text-align: center;
}

.my-panel-stats span,
.my-panel-stats strong {
  display: block;
}

.my-panel-stats span {
  color: #647381;
  font-size: 13px;
}

.my-panel-stats strong {
  margin-top: 4px;
  font-size: 24px;
}

.home-info-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.home-info-grid button {
  min-height: 96px;
  display: grid;
  align-content: center;
  justify-items: start;
  gap: 6px;
  padding: 18px;
  text-align: left;
  background: linear-gradient(180deg, #fff 0%, #f8fbff 100%);
  transition:
    transform 0.16s ease,
    border-color 0.16s ease,
    box-shadow 0.16s ease;
}

.home-info-grid button:nth-child(1) {
  background: linear-gradient(135deg, rgba(0, 168, 168, 0.13), #ffffff 72%);
}

.home-info-grid button:nth-child(2) {
  background: linear-gradient(135deg, rgba(224, 82, 45, 0.13), #ffffff 72%);
}

.home-info-grid button:nth-child(3) {
  background: linear-gradient(135deg, rgba(255, 191, 71, 0.22), #ffffff 72%);
}

.home-info-grid button:nth-child(4) {
  background: linear-gradient(135deg, rgba(90, 86, 232, 0.14), #ffffff 72%);
}

.home-info-grid button:nth-child(1) svg {
  color: #00a8a8;
}

.home-info-grid button:nth-child(2) svg {
  color: #e0522d;
}

.home-info-grid button:nth-child(3) svg {
  color: #b98500;
}

.home-info-grid button:nth-child(4) svg {
  color: #5a56e8;
}

.home-info-grid button:hover {
  transform: translateY(-2px);
  border-color: #abc7ff;
  box-shadow: 0 18px 34px rgba(60, 99, 190, 0.14);
}

.home-info-grid button svg {
  color: #5a56e8;
}

.home-info-grid button strong {
  font-size: 17px;
}

.home-info-grid button span {
  color: #697784;
  font-size: 13px;
}

.home-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 18px;
  align-items: stretch;
  border: 1px solid #d5e2eb;
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(29, 95, 143, 0.14), rgba(23, 100, 63, 0.08)),
    #fff;
  padding: 26px;
  box-shadow: 0 18px 42px rgba(30, 49, 65, 0.08);
}

.home-hero h2 {
  margin: 14px 0 8px;
  max-width: 760px;
  font-size: 34px;
  line-height: 1.22;
  letter-spacing: 0;
}

.home-hero p {
  max-width: 680px;
  margin: 0;
  color: #63727f;
  line-height: 1.6;
}

.home-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

.home-actions button,
.quick-grid button,
.section-title button {
  border: 0;
  border-radius: 8px;
  font-weight: 800;
}

.home-actions button {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 0 16px;
  background: #1d5f8f;
  color: #fff;
  box-shadow: 0 10px 22px rgba(29, 95, 143, 0.18);
}

.home-actions button + button {
  background: #fff;
  color: #1d5f8f;
  border: 1px solid #cbdbe6;
}

.home-summary {
  display: grid;
  gap: 10px;
  border: 1px solid #d5e2eb;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.88);
  padding: 14px;
}

.home-summary div {
  border-radius: 8px;
  background: #f7fafc;
  padding: 12px;
}

.home-summary span {
  display: block;
  color: #647381;
  font-size: 13px;
  font-weight: 800;
}

.home-summary strong {
  display: block;
  margin-top: 4px;
  font-size: 27px;
  color: #142535;
}

.status-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.status-tile {
  min-height: 112px;
  border: 1px solid #dfe6eb;
  border-radius: 8px;
  background: #fff;
  padding: 16px;
  text-align: left;
  display: grid;
  align-content: space-between;
  gap: 10px;
  color: #263747;
  box-shadow: 0 8px 20px rgba(30, 49, 65, 0.05);
}

.status-tile span {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: grid;
  place-items: center;
}

.status-tile strong {
  font-size: 16px;
}

.status-tile small {
  color: #657480;
  font-size: 13px;
  font-weight: 800;
}

.status-tile.blue span {
  background: #e8f1f8;
  color: #174d75;
}

.status-tile.green span {
  background: #e7f4ee;
  color: #17643f;
}

.status-tile.gold span {
  background: #fff5db;
  color: #8b6400;
}

.status-tile.red span {
  background: #fff0df;
  color: #925200;
}

.quick-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.quick-grid button {
  min-height: 108px;
  text-align: left;
  background: #fff;
  border: 1px solid #dfe6eb;
  padding: 15px;
  color: #263747;
  display: grid;
  align-content: start;
  gap: 7px;
  box-shadow: 0 8px 20px rgba(30, 49, 65, 0.05);
}

.quick-grid button svg {
  color: #1d5f8f;
}

.quick-grid button strong {
  font-size: 16px;
}

.quick-grid button span {
  color: #657480;
  font-size: 13px;
  line-height: 1.45;
}

.home-section {
  border: 1px solid #dfe6eb;
  border-radius: 8px;
  background: #fff;
  padding: 16px;
  box-shadow: 0 8px 20px rgba(30, 49, 65, 0.05);
}

.section-title {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.section-title h2 {
  margin: 0;
  font-size: 19px;
}

.section-title button {
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 0 10px;
  background: #eef4f7;
  color: #28536c;
}

.featured-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.featured-list article {
  border: 1px solid #dfe6eb;
  border-radius: 8px;
  overflow: hidden;
  background: #fbfcfd;
  cursor: pointer;
  transition:
    transform 0.16s ease,
    box-shadow 0.16s ease;
}

.featured-list article:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 26px rgba(30, 49, 65, 0.10);
}

.featured-list img,
.featured-empty {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  background: #eef3f6;
}

.featured-empty {
  display: grid;
  place-items: center;
  color: #71808c;
  font-weight: 800;
}

.featured-list article > div {
  padding: 13px;
}

.featured-list h3 {
  margin: 8px 0 7px;
  font-size: 16px;
  line-height: 1.35;
}

.featured-list p {
  display: flex;
  align-items: flex-start;
  gap: 5px;
  min-height: 38px;
  margin: 0 0 8px;
  color: #647381;
  font-size: 13px;
  line-height: 1.35;
}

.featured-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.featured-meta strong {
  font-size: 18px;
  color: #142535;
}

.featured-meta span {
  flex: 0 0 auto;
  border-radius: 999px;
  background: #fff0df;
  color: #925200;
  padding: 5px 8px;
  font-size: 12px;
  font-weight: 800;
}

.metrics {
  max-width: 1440px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 20px auto 14px;
}

.metrics div {
  background: #fff;
  border: 1px solid #dfe6eb;
  border-radius: 8px;
  padding: 16px;
}

.metrics span {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #647381;
  font-size: 13px;
}

.metrics strong {
  display: block;
  margin-top: 8px;
  font-size: 24px;
}

.controls {
  max-width: 1440px;
  display: grid;
  gap: 10px;
  align-items: center;
  margin: 0 auto 16px;
}

.explore-search-sticky {
  position: sticky;
  top: 0;
  z-index: 12;
  max-width: 1440px;
  margin: 0 auto 16px;
  padding: 0;
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  box-shadow: none;
}

.explore-search-sticky .controls {
  margin-bottom: 0;
}

.explore-search-form {
  position: relative;
  max-width: 1440px;
  margin: 0 auto;
  padding: 14px 14px 12px;
  border: 1px solid rgba(94, 92, 230, 0.18);
  border-radius: 14px;
  background:
    radial-gradient(circle at 100% 0%, rgba(255, 191, 71, 0.14), transparent 34%),
    radial-gradient(circle at 0% 100%, rgba(0, 168, 168, 0.12), transparent 38%),
    linear-gradient(135deg, rgba(94, 92, 230, 0.11), rgba(255, 255, 255, 0.96) 48%, rgba(38, 166, 154, 0.08)),
    #fff;
  box-shadow:
    0 14px 34px rgba(81, 78, 232, 0.12),
    0 2px 0 rgba(255, 255, 255, 0.85) inset;
  overflow: hidden;
}

.explore-search-form::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  background: linear-gradient(90deg, #5a56e8 0%, #00a8a8 52%, #ffbf47 100%);
}

.explore-search-header {
  display: flex;
  gap: 10px;
  align-items: stretch;
}

.explore-search-main {
  flex: 1;
  min-height: 48px;
  padding: 0 10px 0 14px;
  border: 2px solid rgba(90, 86, 232, 0.42);
  border-radius: 999px;
  background:
    linear-gradient(90deg, rgba(240, 239, 255, 0.95), rgba(255, 255, 255, 0.98));
  box-shadow: 0 6px 18px rgba(90, 86, 232, 0.10);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.explore-search-main:focus-within {
  border-color: #5a56e8;
  box-shadow:
    0 0 0 4px rgba(90, 86, 232, 0.12),
    0 8px 22px rgba(90, 86, 232, 0.14);
}

.explore-search-main svg {
  flex-shrink: 0;
  color: #5a56e8;
}

.explore-search-main input {
  font-size: 15px;
  font-weight: 700;
}

.explore-search-main input::placeholder {
  color: #8b97a5;
  font-weight: 600;
}

.explore-search-toggle {
  width: 48px;
  min-height: 48px;
  border: 1px solid rgba(90, 86, 232, 0.22);
  border-radius: 999px;
  background: linear-gradient(180deg, #f7f6ff, #ffffff);
  color: #5a56e8;
  display: grid;
  place-items: center;
  cursor: pointer;
  flex-shrink: 0;
  box-shadow: 0 6px 16px rgba(90, 86, 232, 0.10);
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.explore-search-toggle:hover {
  border-color: rgba(90, 86, 232, 0.42);
  background: linear-gradient(180deg, #efedff, #ffffff);
}

.explore-search-toggle svg {
  transition: transform 0.2s ease;
}

.explore-search-toggle.open {
  background: linear-gradient(180deg, #eceaff, #ffffff);
  border-color: #5a56e8;
}

.explore-search-toggle.open svg {
  transform: rotate(180deg);
}

.explore-search-filters {
  display: none;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px dashed rgba(90, 86, 232, 0.18);
}

.explore-search-filters.is-open {
  display: block;
}

.explore-search-filters .select-field {
  min-height: 44px;
  border: 1px solid rgba(90, 86, 232, 0.14);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 4px 12px rgba(30, 49, 65, 0.04);
  transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.explore-search-filters .select-field:hover,
.explore-search-filters .select-field:focus-within {
  border-color: rgba(90, 86, 232, 0.34);
  box-shadow: 0 8px 18px rgba(90, 86, 232, 0.10);
}

.explore-search-filters .select-field:nth-child(1) svg { color: #5a56e8; }
.explore-search-filters .select-field:nth-child(2) svg { color: #00a8a8; }
.explore-search-filters .select-field:nth-child(3) svg { color: #d97706; }
.explore-search-filters .select-field:nth-child(4) svg { color: #7c3aed; }

.explore-search-filters .segmented {
  min-height: 44px;
  background: linear-gradient(90deg, rgba(240, 239, 255, 0.95), rgba(232, 250, 247, 0.95));
  border: 1px solid rgba(90, 86, 232, 0.12);
  border-radius: 10px;
}

.explore-search-filters .segmented button.selected {
  color: #5a56e8;
  background: #fff;
  box-shadow: 0 4px 12px rgba(90, 86, 232, 0.12);
}

.explore-search-filters .search-button {
  min-height: 44px;
  border-radius: 10px;
  background: linear-gradient(135deg, #5a56e8 0%, #3f7fd4 52%, #00a8a8 100%);
  box-shadow: 0 10px 22px rgba(90, 86, 232, 0.24);
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.explore-search-filters .search-button:hover:not(:disabled) {
  transform: translateY(-1px);
  box-shadow: 0 12px 26px rgba(90, 86, 232, 0.28);
  filter: saturate(1.05);
}

.explore-search-filters .search-button:active:not(:disabled) {
  transform: translateY(0);
}

.controls.api-controls {
  grid-template-columns: minmax(220px, 2fr) repeat(5, minmax(108px, 1fr)) 96px;
}

.search-field,
.select-field {
  min-height: 43px;
  border: 1px solid #d7e0e7;
  background: #fff;
  border-radius: 8px;
  color: #647381;
}

.search-field,
.select-field {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 0 11px;
}

.search-field input,
.select-field select {
  width: 100%;
  min-width: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: #151b23;
}

.segmented {
  display: flex;
  min-height: 43px;
  background: #e8edf1;
  padding: 4px;
  border-radius: 8px;
  gap: 4px;
}

.segmented button {
  flex: 1;
  min-width: 0;
  border: 0;
  background: transparent;
  color: #5d6a76;
  border-radius: 6px;
  padding: 8px 7px;
  font-size: 13px;
}

.segmented button.selected {
  background: #fff;
  color: #174d75;
  font-weight: 800;
  box-shadow: 0 1px 4px rgba(18, 34, 48, 0.08);
}

.search-button {
  min-height: 43px;
  border: 0;
  background: #1d5f8f;
  color: #fff;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  font-weight: 800;
}

.search-button:disabled,
.pager button:disabled {
  cursor: not-allowed;
  opacity: 0.55;
}

.content-grid {
  max-width: 1440px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 390px;
  gap: 16px;
  align-items: start;
}

.lot-list {
  display: grid;
  gap: 10px;
}

.lot-row {
  display: grid;
  grid-template-columns: 170px minmax(0, 1fr) 52px 180px 150px;
  gap: 18px;
  align-items: center;
  background: #fff;
  border: 0;
  border-top: 1px solid #dfe6eb;
  border-radius: 0;
  padding: 20px 10px;
  transition:
    border-color 0.16s ease,
    box-shadow 0.16s ease,
    transform 0.16s ease;
}

.lot-row:hover {
  transform: translateY(-1px);
}

.lot-row.picked {
  background: #f8fbfd;
  border-color: #b9d4e5;
}

.lot-thumb-block {
  display: grid;
  gap: 10px;
}

.lot-thumb-block img,
.lot-thumb-empty,
.lot-thumb-block .image-empty {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  background: #eef3f6;
}

.lot-thumb-empty,
.image-empty {
  display: grid;
  place-items: center;
  color: #71808c;
  font-weight: 800;
}

.image-empty.loading {
  color: #8b98a5;
  font-size: 12px;
}

.lot-tools {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: #9aa5ae;
  font-size: 13px;
}

.lot-tools button {
  border: 0;
  background: transparent;
  color: #263747;
  font-weight: 800;
  padding: 0;
}

.lot-tools .tool-saved {
  color: #c95431;
}

.lot-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-bottom: 7px;
}

.lot-badges span {
  min-height: 24px;
  display: inline-flex;
  align-items: center;
  border: 1px solid #b8d7ec;
  border-radius: 4px;
  color: #285bd6;
  padding: 3px 7px;
  font-size: 12px;
  font-weight: 800;
}

.lot-badges span:first-child {
  border-color: #7ed89a;
  color: #17813d;
}

.status {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  min-height: 25px;
  padding: 4px 9px;
  border-radius: 999px;
  background: #e7f4ee;
  color: #17643f;
  font-size: 12px;
  font-weight: 800;
}

.status.warn {
  background: #fff0df;
  color: #925200;
}

.status.ready {
  background: #e8f1f8;
  color: #174d75;
}

.lot-main h2 {
  margin: 0 0 6px;
  font-size: 18px;
  line-height: 1.35;
}

.mobile-price {
  display: none;
}

.lot-main p,
.agency {
  margin: 0;
  color: #647381;
  line-height: 1.5;
}

.tag-line {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 10px;
}

.tag-line span {
  background: transparent;
  color: #52616e;
  border-radius: 6px;
  padding: 0;
  font-size: 12px;
}

.lot-round {
  text-align: center;
}

.lot-round strong {
  font-size: 17px;
  color: #202a33;
}

.lot-schedule {
  text-align: center;
}

.lot-schedule span {
  display: inline-flex;
  min-height: 24px;
  align-items: center;
  border-radius: 5px;
  background: #ffece8;
  color: #d92f1f;
  padding: 3px 8px;
  font-size: 12px;
  font-weight: 800;
  margin-bottom: 8px;
}

.lot-schedule strong {
  display: block;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.45;
}

.lot-price {
  text-align: right;
}

.lot-price small,
.detail-stats small {
  color: #73818d;
}

.lot-price strong,
.lot-price small {
  display: block;
  margin: 3px 0;
  font-size: 20px;
  font-weight: 900;
}

.lot-price small {
  color: #777;
}

.lot-price em {
  display: block;
  color: #bd4b2d;
  font-style: normal;
  font-size: 14px;
  font-weight: 800;
}

.save-button {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border: 1px solid #d6e0e7;
  background: #fff;
  color: #667480;
  border-radius: 8px;
}

.save-button.saved {
  background: #fff4ef;
  border-color: #efb89f;
  color: #c95431;
}

.detail-panel {
  position: sticky;
  top: 16px;
  background: #fff;
  border: 1px solid #dfe6eb;
  border-radius: 8px;
  padding: 16px;
  min-width: 0;
  overflow-x: hidden;
}

@media (min-width: 1121px) {
  .detail-panel {
    max-height: calc(100vh - 32px);
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
    scroll-padding-top: 58px;
  }
}

.photo-strip {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-bottom: 14px;
}

.photo-strip img,
.photo-empty,
.photo-strip .image-empty {
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: 8px;
  border: 1px solid #dfe6eb;
  background: #f1f4f6;
  object-fit: cover;
}

.photo-strip img:first-child,
.photo-strip .image-empty:first-child {
  grid-column: 1 / -1;
  aspect-ratio: 16 / 9;
}

.photo-gallery {
  display: grid;
  gap: 10px;
  margin-bottom: 14px;
}

.photo-gallery-main img,
.photo-gallery-main .image-empty {
  width: 100%;
  aspect-ratio: 16 / 10;
  border-radius: 8px;
  border: 1px solid #dfe6eb;
  background: #f1f4f6;
  object-fit: cover;
}

.photo-gallery-thumbs {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 2px;
}

.photo-gallery-thumbs button {
  flex: 0 0 72px;
  width: 72px;
  height: 54px;
  border: 2px solid transparent;
  border-radius: 6px;
  padding: 0;
  background: #fff;
  cursor: pointer;
  overflow: hidden;
}

.photo-gallery-thumbs button.active {
  border-color: #5a56e8;
}

.photo-gallery-thumbs img,
.photo-gallery-thumbs .image-empty {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border: 0;
  border-radius: 4px;
  background: #f1f4f6;
  font-size: 10px;
}

.photo-gallery-empty {
  min-height: 220px;
  display: grid;
  place-items: center;
  border: 1px solid #dfe6eb;
  border-radius: 8px;
  background: #f6f8fa;
  color: #71808c;
  font-weight: 800;
}

.photo-gallery-empty.loading {
  color: #5a56e8;
}

.photo-gallery-count {
  margin: 0;
  color: #8a96a0;
  font-size: 12px;
  font-weight: 700;
  text-align: right;
}

.lot-detail-panel {
  display: grid;
  gap: 10px;
  min-width: 0;
  max-width: 100%;
}

.lot-detail-panel > * {
  min-width: 0;
}

.lot-detail-panel--page {
  border: 1px solid #dfe6eb;
  border-radius: 10px;
  background: #fff;
  padding: 12px;
  box-shadow: 0 8px 20px rgba(30, 49, 65, 0.05);
}

.lot-detail-panel--aside {
  gap: 10px;
  min-width: 0;
  max-width: 100%;
}

.lot-detail-hero {
  display: grid;
  grid-template-columns: minmax(280px, 420px) minmax(0, 1fr);
  grid-template-areas:
    "media head"
    "media body";
  gap: 12px;
  align-items: start;
  width: 100%;
  min-width: 0;
  max-width: 100%;
  box-sizing: border-box;
}

.lot-detail-hero-head {
  grid-area: head;
  min-width: 0;
  max-width: 100%;
}

.lot-detail-hero-media {
  grid-area: media;
}

.lot-detail-hero-body {
  grid-area: body;
  min-width: 0;
  max-width: 100%;
  display: grid;
  gap: 8px;
}

.lot-detail-panel--aside .lot-detail-hero {
  grid-template-columns: 1fr;
  grid-template-areas:
    "head"
    "media"
    "body";
}

.lot-detail-hero-summary {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border: 1px solid #dfe6eb;
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
}

.lot-detail-hero-summary-item {
  display: grid;
  gap: 4px;
  padding: 10px 12px;
  border-right: 1px solid #edf1f4;
  border-bottom: 1px solid #edf1f4;
  min-width: 0;
}

.lot-detail-hero-summary-item:nth-child(2n) {
  border-right: 0;
}

.lot-detail-hero-summary-item:nth-last-child(-n+2) {
  border-bottom: 0;
}

.lot-detail-hero-summary-item span {
  color: #6a7884;
  font-size: 12px;
  font-weight: 800;
}

.lot-detail-hero-summary-item strong {
  color: #17324a;
  font-size: 15px;
  font-weight: 800;
  line-height: 1.35;
  word-break: keep-all;
  overflow-wrap: anywhere;
}

.lot-detail-hero-summary-item.highlight strong {
  color: #2f6fd6;
}

.lot-detail-hero-media {
  display: grid;
  gap: 10px;
  min-width: 0;
  max-width: 100%;
}

.lot-detail-media-stage {
  border: 1px solid #dfe6eb;
  border-radius: 8px;
  overflow: hidden;
  background: #f6f8fa;
  min-height: 280px;
}

.lot-detail-media-stage img,
.lot-detail-media-stage iframe {
  width: 100%;
  max-width: 100%;
  min-height: 280px;
  height: 320px;
  object-fit: cover;
  border: 0;
  display: block;
  background: #eef2f5;
}

.lot-detail-media-empty {
  min-height: 280px;
  display: grid;
  place-items: center;
  color: #71808c;
  font-weight: 700;
}

.lot-detail-media-empty.loading {
  color: #5a56e8;
}

.lot-detail-media-tabs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  width: 100%;
  max-width: 100%;
  min-width: 0;
}

.lot-detail-media-tabs button {
  min-height: 38px;
  min-width: 0;
  border: 1px solid #d6e0e7;
  border-radius: 8px;
  background: #fff;
  color: #4d5d6a;
  font-weight: 800;
  cursor: pointer;
}

.lot-detail-media-tabs button.active {
  border-color: #5a56e8;
  color: #5a56e8;
  background: #f4f3ff;
}

.lot-detail-media-pager {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: #5a56e8;
  font-weight: 800;
}

.lot-detail-media-pager button {
  width: 34px;
  height: 34px;
  border: 1px solid #d6e0e7;
  border-radius: 999px;
  background: #fff;
  color: #5a56e8;
  display: grid;
  place-items: center;
  cursor: pointer;
}

.lot-detail-media-pager button:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

.lot-detail-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin-bottom: 6px;
}

.lot-detail-tag {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
}

.lot-detail-tag.green { background: #e8f8ef; color: #1f8b4c; }
.lot-detail-tag.blue { background: #e8f2ff; color: #2f6fd6; }
.lot-detail-tag.purple { background: #f1ebff; color: #6d49d8; }

.lot-detail-title-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: start;
}

.lot-detail-id {
  margin: 0 0 4px;
  color: #6a7884;
  font-size: 13px;
  font-weight: 800;
}

.lot-detail-hero-info h2,
.lot-detail-hero-head h2 {
  margin: 0;
  font-size: 22px;
  line-height: 1.35;
}

.lot-detail-quick-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 8px 0;
  width: 100%;
  max-width: 100%;
  min-width: 0;
}

.lot-detail-quick-actions a {
  min-height: 36px;
  min-width: 0;
  padding: 0 12px;
  border: 1px solid #d6e0e7;
  border-radius: 8px;
  background: #fff;
  color: #334351;
  display: inline-flex;
  align-items: center;
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
}

.lot-detail-quick-actions a.primary {
  background: #5a56e8;
  border-color: #5a56e8;
  color: #fff;
}

.lot-detail-result-card {
  border: 1px solid #e8dcc0;
  border-radius: 8px;
  background: linear-gradient(180deg, #fffdf6 0%, #fff 100%);
  padding: 10px 12px;
}

.lot-detail-result-card h3 {
  margin: 0 0 8px;
  font-size: 16px;
  color: #9a6d00;
}

.lot-detail-result-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px 12px;
}

.lot-detail-result-item {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 6px;
  font-size: 13px;
  line-height: 1.4;
  min-width: 0;
}

.lot-detail-result-item strong {
  color: #6a7884;
  font-weight: 800;
  flex-shrink: 0;
}

.lot-detail-result-item strong::after {
  content: ":";
  margin-left: 1px;
  color: #8a97a3;
}

.lot-detail-result-item span {
  color: #17324a;
  min-width: 0;
  word-break: keep-all;
  overflow-wrap: anywhere;
}

.lot-detail-result-item.highlight span {
  color: #b45309;
  font-weight: 800;
}

.lot-detail-result-status {
  display: inline-flex;
  min-height: 24px;
  align-items: center;
  padding: 0 8px;
  border-radius: 999px;
  font-weight: 800;
  font-size: 12px;
}

.lot-detail-result-status.sold {
  background: #fff4d6;
  color: #9a6d00;
}

.lot-detail-result-status.failed {
  background: #ffe8ea;
  color: #d9485f;
}

.lot-detail-sold-omit {
  margin: 20px 0 8px;
  padding: 18px 16px;
  border: 1px dashed #cfd8df;
  border-radius: 10px;
  background: #f7f9fb;
  color: #5f7383;
  font-size: 14px;
  line-height: 1.5;
  text-align: center;
}

.lot-detail-spec-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border: 1px solid #dfe6eb;
  border-radius: 8px;
  overflow: hidden;
}

.lot-detail-spec-item {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 6px;
  padding: 7px 10px;
  border-right: 1px solid #edf1f4;
  border-bottom: 1px solid #edf1f4;
  background: #fff;
  min-width: 0;
}

.lot-detail-spec-item.span-2 {
  grid-column: span 2;
}

.lot-detail-spec-item.highlight {
  background: #f7f5ff;
}

.lot-detail-spec-item span {
  color: #6a7884;
  font-size: 12px;
  font-weight: 800;
  flex-shrink: 0;
}

.lot-detail-spec-item > span::after {
  content: ":";
  margin-left: 1px;
  color: #8a97a3;
}

.lot-detail-spec-item strong {
  color: #17324a;
  font-size: 13px;
  line-height: 1.4;
  font-weight: 700;
  min-width: 0;
}

.lot-detail-spec-item.bid-period > div {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  min-width: 0;
}

.lot-detail-status {
  display: inline-flex;
  width: fit-content;
  min-height: 24px;
  align-items: center;
  padding: 0 8px;
  border-radius: 6px;
  font-style: normal;
  font-size: 12px;
  font-weight: 800;
}

.lot-detail-status.ready { background: #ffe8ea; color: #d9485f; }
.lot-detail-status.live { background: #e8f2ff; color: #2f6fd6; }
.lot-detail-status.warn { background: #fff3df; color: #c77712; }

.lot-detail-unit-toggle {
  margin-left: 8px;
  min-height: 22px;
  padding: 0 8px;
  border: 1px solid #d6e0e7;
  border-radius: 999px;
  background: #fff;
  color: #6a7884;
  font-size: 11px;
  font-weight: 800;
  cursor: pointer;
}

.lot-detail-unit-toggle.active {
  border-color: #5a56e8;
  color: #5a56e8;
  background: #f4f3ff;
}

.lot-detail-meta-card {
  border: 1px solid #dfe6eb;
  border-radius: 8px;
  background: #fff;
  padding: 10px 12px;
  display: grid;
  gap: 8px;
}

.lot-detail-meta-card--inline {
  margin-bottom: 10px;
}

.lot-detail-hero-agency {
  display: none;
}

.lot-detail-subsection h4 {
  margin: 0 0 10px;
  font-size: 15px;
  font-weight: 800;
  color: #1a2430;
}

.lot-detail-nested-tabs {
  display: grid;
  gap: 0;
}

.lot-detail-meta-card ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px 14px;
}

.lot-detail-meta-card li {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px;
  font-size: 13px;
  min-width: 0;
  line-height: 1.4;
}

.lot-detail-meta-card li:last-child:nth-child(odd) {
  grid-column: 1;
}

.lot-detail-meta-card li.lot-detail-meta-row-span {
  grid-column: 1 / -1;
  align-items: center;
}

.lot-detail-field-span {
  grid-column: 1 / -1;
}

.lot-detail-field-span > span {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.lot-detail-meta-card strong {
  color: #334351;
  white-space: nowrap;
  font-weight: 800;
}

.lot-detail-meta-card strong::after {
  content: ":";
  margin-left: 1px;
  color: #8a97a3;
  font-weight: 700;
}

.lot-detail-meta-card li span {
  min-width: 0;
  word-break: keep-all;
  overflow-wrap: anywhere;
}

.lot-detail-inline-tag {
  display: inline-flex;
  min-height: 26px;
  align-items: center;
  padding: 0 10px;
  border-radius: 6px;
  background: #fff6df;
  color: #9a6d00;
  font-size: 12px;
  font-weight: 800;
}

.lot-detail-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}

.lot-detail-meta-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.lot-detail-doc-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #2f6fd6;
  font-weight: 800;
  text-decoration: none;
  font-size: 14px;
}

.lot-detail-field-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  border: 1px solid #edf1f4;
  border-radius: 8px;
  overflow: hidden;
}

.lot-detail-field {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 6px;
  padding: 6px 10px;
  border: 1px solid #edf1f4;
  font-size: 13px;
  line-height: 1.4;
  min-width: 0;
}

.lot-detail-field strong {
  padding: 0;
  background: transparent;
  color: #4d5d6a;
  font-weight: 800;
  white-space: nowrap;
  flex-shrink: 0;
}

.lot-detail-field strong::after {
  content: ":";
  margin-left: 1px;
  color: #8a97a3;
  font-weight: 700;
}

.lot-detail-field span {
  padding: 0;
  color: #17324a;
  min-width: 0;
  word-break: keep-all;
  overflow-wrap: anywhere;
}

.lot-detail-chip {
  display: inline-flex;
  min-height: 24px;
  align-items: center;
  padding: 0 8px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
}

.lot-detail-chip.blue { background: #edf4ff; color: #2f6fd6; }
.lot-detail-chip.gray { background: #f1f4f6; color: #5d6c79; }

.lot-detail-doc-links a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #2f6fd6;
  font-weight: 800;
  text-decoration: none;
}

.lot-detail-warning {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px;
  align-items: center;
  padding: 8px 10px;
  border-radius: 8px;
  background: #edf7ff;
}

.lot-detail-warning p {
  margin: 0;
  color: #d9485f;
  font-weight: 800;
}

.lot-detail-warning a {
  min-height: 36px;
  padding: 0 14px;
  border: 1px solid #d6e0e7;
  border-radius: 8px;
  background: #fff;
  color: #334351;
  display: inline-flex;
  align-items: center;
  font-weight: 800;
  text-decoration: none;
}

.lot-detail-tabs-wrap {
  border: 1px solid #dfe6eb;
  border-radius: 8px;
  background: #fff;
}

.lot-detail-tabs-sentinel {
  height: 1px;
  margin: 0;
}

.lot-detail-tabs-spacer {
  pointer-events: none;
}

.lot-detail-tabs-bar {
  position: sticky;
  top: 0;
  z-index: 40;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
  margin: 0 0 8px;
  background: rgba(250, 251, 252, 0.96);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid #edf1f4;
}

.lot-detail-panel--page .lot-detail-tabs-bar {
  margin: 0 -12px 8px;
}

.lot-detail-tabs-bar.is-pinned {
  position: sticky;
  top: 0;
  left: auto;
  right: auto;
  margin: 0 0 8px;
  box-shadow: none;
}

.lot-detail-panel--page .lot-detail-tabs-bar.is-pinned {
  margin: 0 -12px 8px;
}

.lot-detail-panel--aside .lot-detail-tabs-bar,
.lot-detail-panel--aside .lot-detail-tabs-bar.is-pinned {
  position: sticky;
  top: 0;
  left: auto;
  right: auto;
  margin: 0 0 8px;
  box-shadow: none;
  z-index: 20;
  overflow: hidden;
}

.lot-detail-panel--aside .lot-detail-tabs-spacer {
  display: none;
}

.lot-detail-tabs-bar-inner {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

.lot-detail-panel--page .lot-detail-tabs-bar-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 12px;
}

.lot-detail-tabs {
  display: flex;
  flex-wrap: nowrap;
  gap: 0;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x proximity;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  border-bottom: 0;
  background: transparent;
}

.lot-detail-tabs::-webkit-scrollbar {
  display: none;
}

.lot-detail-tabs button {
  flex: 0 0 auto;
  scroll-snap-align: center;
  min-height: 44px;
  padding: 0 11px;
  border: 0;
  border-bottom: 2px solid transparent;
  background: transparent;
  color: #6a7884;
  font-size: 13px;
  font-weight: 800;
  white-space: nowrap;
  cursor: pointer;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}

.lot-detail-tab-section {
  scroll-margin-top: 64px;
  padding-top: 4px;
}

.lot-detail-panel--page .lot-detail-tab-section {
  scroll-margin-top: 72px;
}

.lot-detail-panel--aside .lot-detail-tab-section {
  scroll-margin-top: 58px;
}

.lot-detail-tab-section + .lot-detail-tab-section {
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid #edf1f4;
}

.lot-detail-tab-section h3 {
  margin: 0 0 8px;
  display: flex;
  align-items: center;
  gap: 6px;
  color: #5a56e8;
  font-size: 16px;
}

.lot-detail-tabs button.active {
  color: #5a56e8;
  border-bottom-color: #5a56e8;
  background: #fff;
}

.lot-detail-tab-panel {
  padding: 12px;
  padding-bottom: max(80vh, 720px);
}

.lot-detail-tab-panel > .lot-detail-tab-section:first-child h3 {
  margin-top: 0;
}

.lot-detail-tab-panel h3 {
  margin: 0 0 8px;
  display: flex;
  align-items: center;
  gap: 6px;
  color: #5a56e8;
  font-size: 16px;
}

.lot-detail-section + .lot-detail-section {
  margin-top: 10px;
}

.lot-detail-section h4 {
  margin: 0 0 5px;
  font-size: 14px;
}

.lot-detail-table,
.lot-detail-kv-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

.lot-detail-table th,
.lot-detail-table td,
.lot-detail-kv-table th,
.lot-detail-kv-table td {
  border: 1px solid #edf1f4;
  padding: 6px 8px;
  text-align: left;
}

.lot-detail-table thead th {
  background: #f6f8fa;
  color: #4d5d6a;
  font-weight: 800;
}

.lot-detail-section-note {
  margin: 8px 0 0;
  font-size: 12px;
  line-height: 1.55;
}

.lot-detail-mobile-table {
  display: block;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  max-width: 100%;
}

@media (min-width: 761px) {
  .lot-detail-mobile-table thead,
  .lot-detail-mobile-table tbody {
    display: table;
    width: 100%;
    min-width: 640px;
  }
}

.lot-detail-media-stage img[alt$="위치도"] {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #f6f8fa;
}

.lot-detail-kv-table th {
  width: 120px;
  background: #f6f8fa;
  color: #4d5d6a;
  font-weight: 800;
  white-space: nowrap;
  vertical-align: top;
}

.lot-detail-kv-table td {
  white-space: normal;
  word-break: keep-all;
  overflow-wrap: anywhere;
  line-height: 1.45;
  vertical-align: top;
}

.lot-detail-kv-inline {
  border: 0;
}

.lot-detail-kv-inline tbody tr {
  display: block;
  padding: 4px 0;
  border-bottom: 1px solid #f0f3f5;
}

.lot-detail-kv-inline tbody tr:last-child {
  border-bottom: 0;
}

.lot-detail-kv-inline th,
.lot-detail-kv-inline td {
  display: inline;
  border: 0;
  padding: 0;
  background: transparent;
  vertical-align: baseline;
  font-size: 13px;
  line-height: 1.45;
}

.lot-detail-kv-inline th {
  width: auto;
  font-weight: 800;
  color: #4d5d6a;
  white-space: nowrap;
}

.lot-detail-kv-inline th::after {
  content: ":";
  margin: 0 4px 0 1px;
  color: #8a97a3;
  font-weight: 700;
}

.lot-detail-kv-inline td {
  color: #17324a;
}

.lot-detail-usage-table th {
  width: 148px;
}

.lot-detail-delivery-list {
  display: grid;
  gap: 0;
  border: 1px solid #edf1f4;
  border-radius: 8px;
  overflow: hidden;
}

.lot-detail-delivery-row {
  display: flex;
  align-items: center;
  gap: 0;
  min-height: 40px;
  border-bottom: 1px solid #edf1f4;
  background: #fff;
}

.lot-detail-delivery-row:last-child {
  border-bottom: 0;
}

.lot-detail-delivery-label {
  flex: 0 0 auto;
  white-space: nowrap;
  padding: 8px 10px;
  background: #f6f8fa;
  color: #4d5d6a;
  font-size: 13px;
  font-weight: 800;
}

.lot-detail-delivery-label::after {
  content: ":";
  margin-left: 2px;
  color: #8a97a3;
}

.lot-detail-delivery-value {
  flex: 1;
  min-width: 0;
  padding: 8px 10px;
  color: #d9485f;
  font-size: 14px;
  font-weight: 800;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  animation: delivery-value-blink 1.1s ease-in-out infinite;
}

@keyframes delivery-value-blink {
  0%, 100% {
    opacity: 1;
    color: #d9485f;
  }
  50% {
    opacity: 0.28;
    color: #ff4d4f;
  }
}

@media (prefers-reduced-motion: reduce) {
  .lot-detail-delivery-value,
  .lot-detail-seized-blink {
    animation: none;
  }
}

.lot-detail-seized-card {
  margin-bottom: 10px;
  padding: 12px 14px;
  border-radius: 10px;
  background: #f3f5f7;
  border: 1px solid #e8edf1;
}

.lot-detail-seized-card-head {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
  color: #1f2d3d;
  font-size: 15px;
  font-weight: 800;
}

.lot-detail-seized-card-head svg {
  color: #2f6fd6;
  flex-shrink: 0;
}

.lot-detail-seized-main-list,
.lot-detail-seized-caution-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.lot-detail-seized-main-list li {
  position: relative;
  padding-left: 14px;
  padding-right: 0;
  margin-bottom: 8px;
  color: #1f2d3d;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.45;
  overflow-wrap: anywhere;
  word-break: keep-all;
}

.lot-detail-seized-main-list li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: #2f6fd6;
}

.lot-detail-seized-caution-list {
  margin-top: 2px;
  padding-left: 14px;
}

.lot-detail-seized-caution-list li {
  position: relative;
  padding-left: 12px;
  padding-right: 0;
  margin-bottom: 6px;
  color: #334351;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.5;
  overflow-wrap: anywhere;
  word-break: keep-all;
}

.lot-detail-seized-caution-list li::before {
  content: "-";
  position: absolute;
  left: 0;
  color: #6a7884;
}

.lot-detail-seized-blink {
  display: block;
  white-space: normal;
  overflow-wrap: anywhere;
  word-break: keep-all;
  color: #d9485f;
  font-weight: 800;
  animation: delivery-value-blink 1.1s ease-in-out infinite;
}

.lot-detail-field-grid-compact {
  margin-top: 4px;
}

.lot-detail-appraisal-table {
  table-layout: fixed;
}

.lot-detail-appraisal-table th,
.lot-detail-appraisal-table td {
  text-align: center;
  vertical-align: middle;
}

.lot-detail-appraisal-table th:first-child,
.lot-detail-appraisal-table td:first-child,
.lot-detail-appraisal-table th:nth-child(2),
.lot-detail-appraisal-table td:nth-child(2) {
  text-align: left;
}

.lot-detail-appraisal-amount {
  font-weight: 800;
  color: #17324a;
}

.lot-detail-pdf-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 6px;
  color: #d9485f;
  background: #fff5f5;
  text-decoration: none;
}

.lot-detail-footer-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 2px;
}

@media (max-width: 1024px) {
  .lot-detail-hero,
  .lot-detail-panel--page .lot-detail-hero {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas:
      "media"
      "head"
      "body";
  }

  .lot-detail-hero-head h2 {
    font-size: 20px;
  }

  .lot-detail-spec-grid {
    grid-template-columns: 1fr;
  }

  .lot-detail-spec-item.span-2 {
    grid-column: auto;
  }

  .lot-detail-meta-card ul {
    grid-template-columns: 1fr;
  }

  .lot-detail-field-grid {
    grid-template-columns: 1fr;
  }

  .lot-detail-result-grid {
    grid-template-columns: 1fr;
  }
}

.photo-empty {
  grid-column: 1 / -1;
  display: grid;
  place-items: center;
  color: #71808c;
  font-weight: 800;
}

.detail-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}

.detail-panel h2 {
  margin: 14px 0 8px;
  font-size: 21px;
  line-height: 1.35;
}

.map-card {
  border: 1px solid #dfe6eb;
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
  margin: 14px 0;
}

.map-card iframe {
  width: 100%;
  height: 210px;
  border: 0;
  display: block;
  background: #eef3f6;
}

.map-actions {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: #dfe6eb;
}

.map-actions a {
  min-height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 8px 5px;
  background: #fbfcfd;
  color: #174d75;
  text-decoration: none;
  font-weight: 800;
  font-size: 13px;
}

.detail-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px;
  margin: 16px 0;
}

.detail-stats div,
.timeline div,
.analysis-box {
  border: 1px solid #e0e7ec;
  border-radius: 8px;
  padding: 12px;
  background: #fbfcfd;
}

.detail-stats strong {
  display: block;
  margin-top: 4px;
  font-size: 17px;
  overflow-wrap: anywhere;
}

.timeline {
  display: grid;
  gap: 9px;
}

.timeline div {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 4px 8px;
  align-items: center;
}

.timeline strong {
  grid-column: 2;
  overflow-wrap: anywhere;
}

.analysis-box {
  margin: 14px 0;
}

.analysis-box strong {
  display: flex;
  align-items: center;
  gap: 6px;
}

.analysis-box p {
  margin: 8px 0 0;
  color: #63727f;
  line-height: 1.6;
}

.check-list,
.detail-extra {
  display: grid;
  gap: 8px;
  margin-top: 10px;
}

.check-list span,
.detail-extra span {
  min-height: 32px;
  display: flex;
  align-items: center;
  border-radius: 6px;
  background: #eef4f7;
  color: #28536c;
  padding: 6px 10px;
  font-weight: 800;
  font-size: 13px;
}

.check-list span.danger {
  background: #fff0df;
  color: #925200;
}

.action-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 9px;
}

.primary-action,
.secondary-action {
  min-height: 44px;
  border-radius: 8px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.primary-action {
  width: 100%;
  border: 0;
  background: #1d5f8f;
  color: #fff;
}

.secondary-action {
  border: 1px solid #d6e0e7;
  background: #fff;
  color: #263747;
  text-decoration: none;
}

.pager {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 6px;
}

.pager button {
  min-width: 70px;
  height: 38px;
  border: 1px solid #d6e0e7;
  background: #fff;
  color: #263747;
  border-radius: 8px;
  font-weight: 800;
}

.pager span {
  color: #61707c;
  font-weight: 800;
}

@media (max-width: 1120px) {
  .app-shell {
    grid-template-columns: 1fr;
  }

  .sidebar {
    position: sticky;
    top: 0;
    z-index: 20;
    height: auto;
    border-right: 0;
    border-bottom: 1px solid #dfe6eb;
    padding: 12px 16px;
    flex-direction: row;
    align-items: center;
    gap: 16px;
    overflow-x: auto;
  }

  .brand {
    flex: 0 0 auto;
  }

  .brand small {
    display: none;
  }

  .nav-list {
    display: flex;
    gap: 6px;
  }

  .nav-list button {
    white-space: nowrap;
  }

  .content-grid {
    grid-template-columns: 1fr;
  }

  .map-overview {
    grid-template-columns: 1fr;
  }

  .home-hero {
    grid-template-columns: 1fr;
  }

  .home-main {
    grid-template-columns: 1fr;
  }

  .home-filter-grid,
  .home-info-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .quick-grid,
  .featured-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .detail-panel {
    position: static;
  }
}

@media (max-width: 760px) {
  .app-shell {
    padding-bottom: calc(74px + env(safe-area-inset-bottom));
  }

  .page-top-button {
    right: 14px;
    bottom: calc(84px + env(safe-area-inset-bottom));
    width: 42px;
    height: 42px;
  }

  .site-footer {
    grid-column: 1 / -1;
    margin-top: 24px;
    padding: 18px 0 20px;
    flex-direction: column;
    align-items: center;
    gap: 14px;
  }

  .footer-company {
    gap: 5px 10px;
    font-size: 12px;
  }

  .footer-company span {
    flex-basis: 100%;
  }

  .footer-links {
    width: 100%;
  }

  .footer-links button {
    flex: 1;
    padding: 10px 8px;
  }

  .legal-card {
    padding: 4px 0 24px;
    gap: 12px;
  }

  .legal-card h2 {
    font-size: 21px;
  }

  .content-grid .detail-panel {
    display: none;
  }

  .sidebar {
    position: fixed;
    top: auto;
    right: 0;
    bottom: 0;
    left: 0;
    height: calc(66px + env(safe-area-inset-bottom));
    border-top: 1px solid #d9e1e7;
    border-bottom: 0;
    padding: 7px 12px calc(7px + env(safe-area-inset-bottom));
    justify-content: center;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 -10px 30px rgba(30, 49, 65, 0.10);
    z-index: 20;
  }

  .brand {
    display: none;
  }

  .nav-list {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 4px;
  }

  .nav-list button:not(.nav-mobile) {
    display: none;
  }

  .nav-list button {
    min-height: 50px;
    flex-direction: column;
    justify-content: center;
    gap: 3px;
    padding: 5px 2px;
    border-radius: 12px;
    font-size: 10px;
  }

  .nav-list button svg {
    width: 19px;
    height: 19px;
  }

  .workspace {
    padding: 12px;
  }

  .workspace--mypage {
    padding-bottom: calc(88px + env(safe-area-inset-bottom));
  }

  .topbar {
    min-height: 42px;
    align-items: center;
    flex-direction: row;
  }

  .topbar h1 {
    font-size: 21px;
  }

  .topbar p {
    display: none;
  }

  .top-actions {
    width: auto;
    justify-content: flex-end;
  }

  .top-actions .signup-action {
    display: none;
  }

  .icon-button {
    width: 38px;
    height: 38px;
  }

  .home-page {
    margin-top: 10px;
    gap: 12px;
  }

  .home-search-panel,
  .home-my-panel {
    padding: 14px;
  }

  .home-my-panel {
    order: -1;
    padding: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
  }

  .home-my-panel h2,
  .home-my-panel p,
  .my-panel-stats,
  .home-my-panel .primary-action,
  .home-my-panel .secondary-action {
    display: none;
  }

  .home-visual {
    aspect-ratio: 16 / 7;
    box-shadow: 0 10px 24px rgba(81, 78, 232, 0.12);
  }

  .home-search-panel h2,
  .home-my-panel h2 {
    font-size: 19px;
    margin-bottom: 12px;
  }

  .home-search-box {
    min-height: 48px;
    padding-left: 16px;
    margin-bottom: 10px;
  }

  .home-search-box button {
    width: 38px;
    height: 38px;
  }

  .asset-tabs {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 7px;
    margin-bottom: 12px;
  }

  .asset-tabs button,
  .asset-tab-card {
    min-height: 58px;
  }

  .asset-tab-content {
    min-height: 58px;
    padding: 0 8px;
    font-size: 13px;
  }

  .home-filter-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .home-filter-grid div {
    gap: 7px;
  }

  .filter-choice {
    min-height: 34px;
    background: rgba(255, 255, 255, 0.72);
    border-color: #e3ebf0;
  }

  .home-search-action {
    min-height: 48px;
    margin-top: 16px;
  }

  .home-info-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 9px;
  }

  .home-info-grid button {
    min-height: 88px;
    padding: 13px;
  }

  .home-info-grid button strong {
    font-size: 15px;
  }

  .home-info-grid button span {
    font-size: 12px;
  }

  .home-hero {
    padding: 16px;
  }

  .home-hero h2 {
    font-size: 25px;
  }

  .home-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .home-actions button {
    justify-content: center;
  }

  .featured-list {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .home-section {
    padding: 12px;
  }

  .section-title {
    margin-bottom: 9px;
  }

  .section-title h2 {
    font-size: 16px;
  }

  .section-title button {
    min-height: 30px;
    padding: 0 8px;
    font-size: 12px;
  }

  .section-title button svg {
    width: 14px;
    height: 14px;
  }

  .featured-list article {
    display: grid;
    grid-template-columns: 76px minmax(0, 1fr);
    min-height: 92px;
  }

  .featured-list img,
  .featured-empty {
    width: 76px;
    height: 100%;
    aspect-ratio: auto;
  }

  .featured-empty {
    font-size: 11px;
    text-align: center;
  }

  .featured-list article > div {
    min-width: 0;
    padding: 9px 10px;
  }

  .featured-list .status {
    padding: 3px 6px;
    font-size: 10px;
  }

  .featured-list h3 {
    margin: 5px 0 4px;
    font-size: 13px;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  .featured-list p {
    min-height: 0;
    margin-bottom: 6px;
    font-size: 11px;
    line-height: 1.25;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .featured-list p svg {
    display: none;
  }

  .featured-meta strong {
    font-size: 14px;
  }

  .featured-meta span {
    padding: 3px 6px;
    font-size: 10px;
  }

  .quick-grid {
    display: none;
  }

  .status-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 7px;
  }

  .status-tile {
    min-height: 88px;
    padding: 10px 6px;
    justify-items: center;
    text-align: center;
    gap: 5px;
  }

  .status-tile span {
    width: 34px;
    height: 34px;
    border-radius: 8px;
  }

  .status-tile span svg {
    width: 18px;
    height: 18px;
  }

  .status-tile strong {
    font-size: 12px;
    line-height: 1.2;
  }

  .status-tile small {
    font-size: 11px;
  }

  .quick-grid button {
    min-height: 82px;
    padding: 11px 8px;
    justify-items: center;
    text-align: center;
  }

  .quick-grid button strong {
    font-size: 13px;
  }

  .quick-grid button span {
    display: none;
  }

  .metrics {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    margin-top: 14px;
  }

  .metrics div {
    padding: 11px 9px;
  }

  .metrics span {
    min-height: 32px;
    align-items: flex-start;
    font-size: 11px;
    line-height: 1.25;
  }

  .metrics strong {
    font-size: 18px;
  }

  .controls.api-controls,
  .lot-row {
    grid-template-columns: 1fr;
  }

  .explore-search-sticky {
    top: 0;
    margin: 0 auto 10px;
  }

  .explore-search-form {
    padding: 12px 10px 10px;
    border-radius: 12px;
  }

  .explore-search-main,
  .explore-search-toggle {
    min-height: 46px;
  }

  .explore-search-toggle {
    width: 46px;
  }

  .controls {
    gap: 8px;
  }

  .segmented {
    overflow: hidden;
  }

  .content-grid {
    gap: 12px;
  }

  .service-page {
    grid-template-columns: 1fr;
    margin-top: 14px;
  }

  .mypage-page {
    margin-top: 0;
    gap: 10px;
    padding-bottom: 0;
  }

  .mypage-row {
    padding: 12px;
    scroll-margin-top: 56px;
  }

  .mypage-profile-body {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }

  .mypage-profile-main {
    flex: 1 1 auto;
    width: 100%;
    min-width: 0;
  }

  .mypage-profile-avatar {
    width: 42px;
    height: 42px;
  }

  .mypage-profile-text strong {
    font-size: 16px;
  }

  .mypage-profile-text p {
    font-size: 12px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .mypage-profile-actions {
    margin-left: 0;
    width: 100%;
    flex-shrink: 1;
  }

  .mypage-profile-actions .primary-action,
  .mypage-profile-actions .secondary-action {
    flex: 1 1 0;
    min-width: 0;
    min-height: 40px;
    padding: 0 10px;
    font-size: 13px;
  }

  .mypage-row-head h2 {
    font-size: 16px;
  }

  .mypage-link-action {
    min-height: 40px;
    padding: 0 4px;
    font-size: 13px;
  }

  .mypage-activity-card {
    min-height: 72px;
  }

  .mypage-saved-card {
    flex-basis: min(70vw, 190px);
    min-width: min(70vw, 190px);
  }

  .mypage-empty-card {
    width: 100%;
  }

  .mypage-empty-card .secondary-action {
    min-height: 42px;
  }

  .app-build-stamp {
    padding-bottom: 4px;
  }

  .board-page {
    margin-top: 12px;
    gap: 12px;
  }

  .board-hero {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .board-toolbar {
    min-height: 0;
    align-items: stretch;
    flex-direction: column;
    padding: 14px;
  }

  .board-toolbar h2 {
    font-size: 19px;
  }

  .board-toolbar p {
    font-size: 13px;
  }

  .board-search {
    min-width: 0;
    width: 100%;
  }

  .board-toolbar-actions {
    width: 100%;
    flex-direction: column;
    align-items: stretch;
  }

  .board-write-button {
    width: 100%;
    justify-content: center;
  }

  .board-tabs {
    overflow-x: auto;
    padding: 10px 14px;
  }

  .board-tabs button {
    flex: 0 0 auto;
  }

  .board-list {
    padding: 0;
  }

  .board-card {
    padding: 11px 14px;
  }

  .board-card.expanded {
    padding: 14px;
  }

  .board-row {
    align-items: flex-start;
    flex-direction: column;
    gap: 6px;
  }

  .board-row-aside {
    align-self: flex-end;
    padding-left: 36px;
  }

  .board-body {
    padding-left: 36px;
  }

  .board-card-top {
    align-items: flex-start;
    flex-direction: column;
  }

  .board-card-tags {
    gap: 8px;
  }

  .board-title {
    gap: 0;
  }

  .board-title strong {
    white-space: normal;
    font-size: 15px;
    line-height: 1.35;
  }

  .board-comment.is-child {
    margin-left: 10px;
  }

  .board-status {
    align-self: flex-start;
  }

  .lot-row {
    position: relative;
    border: 1px solid #dfe6eb;
    border-radius: 8px;
    padding: 9px;
    gap: 8px;
    grid-template-columns: 86px minmax(0, 1fr);
    align-items: start;
  }

  .lot-thumb-block {
    grid-template-columns: 1fr;
    gap: 5px;
  }

  .lot-thumb-block img,
  .lot-thumb-empty,
  .lot-thumb-block .image-empty {
    width: 86px;
    height: 66px;
    aspect-ratio: auto;
    border-radius: 6px;
  }

  .lot-tools {
    justify-content: center;
    gap: 6px;
    font-size: 11px;
  }

  .lot-tools button:first-child,
  .lot-tools span {
    display: none;
  }

  .lot-main {
    min-width: 0;
  }

  .lot-badges {
    gap: 4px;
    margin-bottom: 4px;
  }

  .lot-badges span {
    min-height: 20px;
    padding: 2px 5px;
    font-size: 10px;
  }

  .lot-main h2 {
    margin-bottom: 3px;
    font-size: 14px;
  }

  .lot-main p {
    align-items: flex-start;
    font-size: 12px;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  .tag-line {
    display: none;
  }

  .lot-round {
    display: none;
  }

  .lot-schedule {
    display: none;
  }

  .lot-price {
    grid-column: 2;
    display: flex;
    align-items: baseline;
    gap: 8px;
    text-align: left;
  }

  .lot-price small {
    display: none;
  }

  .lot-price strong {
    display: inline;
    margin: 0;
    font-size: 15px;
  }

  .lot-price em {
    display: inline;
    font-size: 12px;
    margin: 0;
  }

  .detail-panel {
    padding: 11px;
  }

  .detail-page {
    gap: 8px;
    margin-top: 12px;
  }

  .back-button {
    min-height: 34px;
    padding: 0 10px;
    font-size: 13px;
  }

  .photo-strip {
    gap: 6px;
  }

  .photo-strip img,
  .photo-empty,
  .photo-strip .image-empty {
    height: 68px;
    border-radius: 6px;
  }

  .photo-strip img:first-child,
  .photo-empty:first-child,
  .photo-strip .image-empty:first-child {
    grid-column: span 2;
    height: 120px;
  }

  .detail-panel h2 {
    font-size: 17px;
    line-height: 1.35;
  }

  .detail-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 7px;
  }

  .detail-stats div,
  .timeline div,
  .analysis-box {
    padding: 9px;
  }

  .detail-stats strong {
    font-size: 14px;
  }

  .timeline {
    gap: 7px;
  }

  .timeline strong {
    font-size: 13px;
  }

  .map-card iframe {
    height: 150px;
  }

  .map-actions,
  .action-row {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .metrics {
    gap: 6px;
    margin: 8px auto 8px;
  }

  .metrics div {
    min-height: 78px;
    padding: 10px 8px;
  }

  .metrics span {
    min-height: 24px;
    gap: 5px;
    font-size: 10px;
  }

  .metrics strong {
    margin-top: 7px;
    font-size: 18px;
  }

  .controls.api-controls {
    gap: 7px;
    margin-bottom: 9px;
  }

  .search-field,
  .select-field,
  .segmented,
  .search-button {
    min-height: 46px;
    border-radius: 9px;
  }

  .search-field,
  .select-field {
    padding: 0 12px;
  }

  .search-field input,
  .select-field select,
  .segmented button {
    font-size: 15px;
  }

  .lot-list {
    gap: 7px;
    padding-bottom: calc(112px + env(safe-area-inset-bottom));
  }

  .lot-row {
    grid-template-columns: 74px minmax(0, 1fr) !important;
    gap: 7px !important;
    min-height: 92px;
    padding: 8px !important;
  }

  .lot-thumb-block {
    gap: 4px !important;
  }

  .lot-thumb-block img,
  .lot-thumb-empty,
  .lot-thumb-block .image-empty {
    width: 74px !important;
    height: 56px !important;
  }

  .lot-tools {
    display: none;
  }

  .lot-badges span:nth-child(n + 3) {
    display: none;
  }

  .lot-main {
    padding-right: 0;
  }

  .lot-title-line {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 8px;
  }

  .lot-main h2 {
    font-size: 13px !important;
    line-height: 1.2;
  }

  .lot-main p {
    font-size: 11px !important;
    line-height: 1.25 !important;
    -webkit-line-clamp: 2;
  }

  .lot-price {
    display: none;
  }

  .mobile-price {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: baseline;
    gap: 5px;
  }

  .mobile-price strong {
    font-size: 14px !important;
    font-weight: 900;
    color: #151b23;
  }

  .mobile-price em {
    color: #bd4b2d;
    font-style: normal;
    font-weight: 800;
    font-size: 11px !important;
  }

  .detail-page {
    margin-top: 8px;
  }

  .detail-panel {
    padding: 9px !important;
  }

  .detail-panel h2 {
    margin: 8px 0 6px;
    font-size: 16px !important;
  }

  .agency {
    font-size: 12px;
  }

  .map-card iframe {
    height: 112px !important;
  }

  .map-actions {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }

  .map-actions a {
    min-height: 34px;
    justify-content: center;
    padding: 0 4px;
    font-size: 11px;
  }

  .map-actions a svg {
    width: 13px;
    height: 13px;
  }

  .detail-stats {
    gap: 6px !important;
  }

  .detail-stats div,
  .timeline div,
  .analysis-box {
    padding: 8px !important;
  }

  .detail-stats small {
    font-size: 11px;
  }

  .detail-stats strong {
    font-size: 13px !important;
  }

  .timeline div {
    min-height: 58px;
  }

  .timeline span,
  .timeline strong,
  .analysis-box p,
  .check-list span {
    font-size: 12px;
  }

  html,
  body {
    overflow-x: clip;
  }

  .workspace--detail,
  .workspace:has(.detail-page) {
    padding: 0;
  }

  .workspace--detail .topbar,
  .workspace:has(.detail-page) .topbar {
    display: none;
  }

  .detail-page,
  .lot-detail-panel--page {
    max-width: 100%;
    overflow-x: clip;
  }

  .detail-page {
    margin: 0;
    gap: 0;
    --detail-mobile-header-h: 48px;
    padding-bottom: calc(128px + env(safe-area-inset-bottom));
  }

  .detail-page > .back-button {
    display: none;
  }

  .detail-mobile-header {
    display: flex;
    align-items: center;
    gap: 6px;
    position: sticky;
    top: 0;
    z-index: 46;
    min-height: var(--detail-mobile-header-h);
    padding: 0 8px 0 2px;
    background: rgba(255, 255, 255, 0.98);
    border-bottom: 1px solid #e8edf2;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
  }

  .detail-mobile-back {
    display: inline-flex;
    align-items: center;
    gap: 0;
    border: 0;
    background: transparent;
    color: #17324a;
    font-weight: 800;
    font-size: 14px;
    padding: 8px;
    min-height: 40px;
    flex-shrink: 0;
  }

  .detail-mobile-title {
    flex: 1;
    min-width: 0;
    margin: 0;
    font-size: 15px;
    font-weight: 800;
    color: #151b23;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    text-align: center;
  }

  .detail-mobile-header .icon-button {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
  }

  .lot-detail-panel--page {
    padding: 0;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    gap: 0;
  }

  .lot-detail-hero,
  .lot-detail-panel--page .lot-detail-hero {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas:
      "media"
      "head"
      "body";
    gap: 0;
  }

  .lot-detail-hero-media {
    gap: 0;
    position: relative;
  }

  .lot-detail-media-stage {
    border: 0;
    border-radius: 0;
    min-height: 240px;
    position: relative;
  }

  .lot-detail-media-stage img,
  .lot-detail-media-stage iframe {
    min-height: 240px;
    height: 56vw;
    max-height: 320px;
    object-fit: cover;
  }

  .lot-detail-media-tabs {
    display: flex;
    gap: 0;
    width: 100%;
    border-top: 1px solid #e8edf2;
    background: #fff;
  }

  .lot-detail-media-tabs button {
    flex: 1 1 0;
    min-width: 0;
    min-height: 42px;
    border: 0;
    border-radius: 0;
    border-bottom: 2px solid transparent;
    background: #fff;
    color: #6a7884;
    font-size: 14px;
  }

  .lot-detail-media-tabs button.active {
    color: #5a56e8;
    border-bottom-color: #5a56e8;
    background: #fff;
  }

  .lot-detail-media-pager {
    position: absolute;
    right: 10px;
    bottom: 52px;
    z-index: 2;
    gap: 8px;
    padding: 4px 10px;
    border-radius: 999px;
    background: rgba(21, 27, 35, 0.62);
    color: #fff;
    font-size: 12px;
  }

  .lot-detail-media-pager button {
    width: 28px;
    height: 28px;
    border: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.18);
    color: #fff;
  }

  .lot-detail-hero-head {
    padding: 12px 14px 0;
  }

  .lot-detail-hero-body {
    padding: 0 0 8px;
  }

  .lot-detail-panel--page .lot-detail-title-actions {
    display: none;
  }

  .lot-detail-tags {
    display: flex;
    flex-wrap: nowrap;
    gap: 6px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding-bottom: 2px;
    margin-bottom: 8px;
  }

  .lot-detail-tags::-webkit-scrollbar {
    display: none;
  }

  .lot-detail-tag {
    flex: 0 0 auto;
    font-size: 11px;
    padding: 4px 8px;
  }

  .lot-detail-title-row h2,
  .lot-detail-hero-head h2 {
    font-size: 17px;
    line-height: 1.35;
    margin: 0;
  }

  .lot-detail-id {
    font-size: 12px;
    margin-bottom: 4px;
  }

  .lot-detail-quick-actions {
    display: flex;
    flex-wrap: nowrap;
    gap: 8px;
    width: 100%;
    margin: 10px 0 0;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding-bottom: 2px;
  }

  .lot-detail-quick-actions::-webkit-scrollbar {
    display: none;
  }

  .lot-detail-quick-actions a {
    flex: 0 0 auto;
    width: auto;
    max-width: none;
    min-height: 34px;
    padding: 0 12px;
    font-size: 12px;
    white-space: nowrap;
    border-radius: 999px;
  }

  .lot-detail-hero-summary {
    grid-template-columns: 1fr;
    border: 0;
    border-top: 8px solid #f0f3f6;
    border-bottom: 8px solid #f0f3f6;
    border-radius: 0;
    overflow: visible;
  }

  .lot-detail-hero-summary-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 12px 14px;
    border-right: 0;
    border-bottom: 1px solid #edf1f4;
  }

  .lot-detail-hero-summary-item:nth-child(2n) {
    border-right: 0;
  }

  .lot-detail-hero-summary-item:last-child {
    border-bottom: 0;
  }

  .lot-detail-hero-summary-item.highlight {
    background: #f4f7ff;
  }

  .lot-detail-hero-summary-item span {
    font-size: 13px;
    flex-shrink: 0;
  }

  .lot-detail-hero-summary-item strong {
    font-size: 16px;
    text-align: right;
    min-width: 0;
    flex: 1;
    overflow-wrap: anywhere;
    word-break: keep-all;
  }

  .lot-detail-hero-agency {
    display: block;
    margin: 0 14px 12px;
    padding: 12px 14px;
    background: #f7f9fc;
    border-radius: 10px;
    border: 1px solid #e8edf2;
  }

  .lot-detail-hero-agency ul {
    margin: 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 8px;
  }

  .lot-detail-hero-agency li {
    display: grid;
    grid-template-columns: 72px minmax(0, 1fr);
    gap: 8px;
    font-size: 13px;
    align-items: start;
  }

  .lot-detail-hero-agency strong {
    color: #667788;
    font-weight: 700;
  }

  .lot-detail-hero-agency span {
    min-width: 0;
    overflow-wrap: anywhere;
    word-break: keep-all;
  }

  .lot-detail-tab-section[data-tab-id="bid-info"] .lot-detail-meta-card--inline {
    display: none;
  }

  .lot-detail-subsection {
    margin-top: 18px;
    padding-top: 14px;
    border-top: 1px solid #edf1f4;
  }

  .lot-detail-nested-tabs .lot-detail-subsection:first-child {
    margin-top: 8px;
    padding-top: 0;
    border-top: 0;
  }

  .lot-detail-panel--page,
  .lot-detail-tabs-wrap,
  .lot-detail-tab-section,
  .lot-detail-section,
  .lot-detail-seized-card,
  .lot-detail-meta-card {
    min-width: 0;
    max-width: 100%;
    overflow: visible;
    overflow-wrap: anywhere;
    word-break: keep-all;
  }

  .lot-detail-hero {
    overflow: visible;
    max-width: 100%;
  }

  .lot-detail-media-stage {
    overflow: hidden;
  }

  .lot-detail-spec-grid {
    grid-template-columns: 1fr;
    border: 0;
    border-radius: 0;
    margin: 0 14px;
    gap: 0;
  }

  .lot-detail-spec-item {
    display: grid;
    grid-template-columns: 96px minmax(0, 1fr);
    gap: 8px;
    align-items: start;
    padding: 10px 0;
    border-right: 0;
    border-bottom: 1px solid #edf1f4;
    background: transparent;
  }

  .lot-detail-spec-item.span-2 {
    grid-column: auto;
  }

  .lot-detail-spec-item:last-child {
    border-bottom: 0;
  }

  .lot-detail-spec-item span {
    font-size: 13px;
  }

  .lot-detail-spec-item strong {
    font-size: 14px;
    line-height: 1.45;
  }

  .lot-detail-spec-item.bid-period > div {
    display: grid;
    gap: 4px;
  }

  .lot-detail-warning {
    margin: 8px 14px 0;
    border-radius: 8px;
    font-size: 13px;
  }

  .lot-detail-warning a {
    width: 100%;
    justify-content: center;
    margin-top: 6px;
  }

  .lot-detail-tabs-bar {
    top: var(--detail-mobile-header-h);
    margin: 0;
    z-index: 44;
    background: rgba(255, 255, 255, 0.98);
  }

  .lot-detail-tabs-bar-inner {
    padding: 0;
  }

  .lot-detail-tabs-bar.is-pinned {
    position: sticky;
    left: auto;
    right: auto;
    box-shadow: none;
  }

  .lot-detail-tabs-spacer {
    display: none;
  }

  .lot-detail-tabs button {
    min-height: 46px;
    padding: 0 14px;
    font-size: 14px;
  }

  .lot-detail-tabs-wrap {
    border: 0;
    border-radius: 0;
    background: transparent;
    margin-top: 4px;
  }

  .lot-detail-tab-panel {
    padding-bottom: max(48vh, 420px);
  }

  .lot-detail-tab-section {
    padding: 0 14px;
    scroll-margin-top: calc(var(--detail-mobile-header-h) + 50px);
  }

  .lot-detail-tab-section h3 {
    display: flex;
    align-items: center;
    gap: 6px;
    margin: 0 0 10px;
    font-size: 15px;
    color: #151b23;
  }

  .lot-detail-tab-section + .lot-detail-tab-section {
    margin-top: 10px;
    padding-top: 10px;
    border-top: 8px solid #f0f3f6;
  }

  .lot-detail-section h4 {
    margin: 0 0 8px;
    font-size: 15px;
    color: #151b23;
  }

  .lot-detail-meta-card {
    border-radius: 8px;
    padding: 10px;
  }

  .lot-detail-meta-card ul {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .lot-detail-meta-card li {
    font-size: 14px;
  }

  .lot-detail-field-grid,
  .lot-detail-result-grid {
    grid-template-columns: 1fr;
  }

  .lot-detail-field {
    border-left: 0;
    border-right: 0;
    padding: 10px 12px;
    font-size: 14px;
  }

  .lot-detail-footer-actions {
    position: fixed;
    left: 0;
    right: 0;
    bottom: calc(66px + env(safe-area-inset-bottom));
    z-index: 35;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin: 0;
    padding: 8px 12px;
    background: rgba(255, 255, 255, 0.98);
    border-top: 1px solid #e8edf2;
    box-shadow: 0 -6px 20px rgba(21, 27, 35, 0.08);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
  }

  .lot-detail-footer-actions .primary-action,
  .lot-detail-footer-actions .secondary-action {
    min-height: 42px;
    font-size: 14px;
  }

  .lot-detail-appraisal-table tbody tr {
    display: grid;
    gap: 4px;
    padding: 10px 12px;
    margin-bottom: 8px;
    border: 1px solid #edf1f4;
    border-radius: 8px;
    background: #fff;
  }

  .lot-detail-appraisal-table tbody td {
    display: grid;
    grid-template-columns: 108px minmax(0, 1fr);
    gap: 8px;
    border: 0;
    padding: 2px 0;
    text-align: left;
    vertical-align: top;
  }

  .lot-detail-appraisal-table tbody td::before {
    content: attr(data-label);
    color: #6a7884;
    font-weight: 800;
    font-size: 12px;
  }

  .lot-detail-appraisal-table tbody td[colspan] {
    display: block;
    grid-template-columns: none;
  }

  .lot-detail-appraisal-table tbody td[colspan]::before {
    content: none;
  }

  .lot-detail-appraisal-table {
    display: block;
    overflow: visible;
    max-width: 100%;
  }

  .lot-detail-mobile-table {
    overflow: visible;
  }

  .lot-detail-mobile-table thead,
  .lot-detail-table thead {
    display: none;
  }

  .lot-detail-mobile-table tbody tr,
  .lot-detail-section .lot-detail-table tbody tr {
    display: grid;
    gap: 4px;
    padding: 10px 12px;
    margin-bottom: 8px;
    border: 1px solid #edf1f4;
    border-radius: 8px;
    background: #fff;
  }

  .lot-detail-mobile-table tbody td,
  .lot-detail-section .lot-detail-table tbody td {
    display: grid;
    grid-template-columns: 76px minmax(0, 1fr);
    gap: 8px;
    border: 0;
    padding: 2px 0;
    font-size: 12px;
    text-align: left;
    vertical-align: top;
  }

  .lot-detail-mobile-table tbody td::before,
  .lot-detail-section .lot-detail-table tbody td[data-label]::before {
    content: attr(data-label);
    color: #6a7884;
    font-weight: 800;
  }

  .lot-detail-mobile-table tbody td[colspan],
  .lot-detail-section .lot-detail-table tbody td[colspan] {
    display: block;
    grid-template-columns: none;
  }

  .lot-detail-mobile-table tbody td[colspan]::before,
  .lot-detail-section .lot-detail-table tbody td[colspan]::before {
    content: none;
  }

  .lot-detail-table {
    display: block;
    max-width: 100%;
    overflow: visible;
  }

  .lot-detail-kv-table th {
    width: 88px;
    font-size: 12px;
  }

  .lot-detail-table th,
  .lot-detail-table td {
    font-size: 12px;
    padding: 5px 6px;
  }
}
