.local-backend-message {
  display: none;
  width: 820px;
  margin: 12px auto;
  padding: 12px 14px;
  border: 1px solid #b8cbe8;
  background: #f6f9ff;
  color: #1f3557;
  font-family: Pretendard, SCoreDream, Arial, sans-serif;
  font-size: 14px;
  line-height: 1.6;
}

.local-backend-message[data-type="success"] {
  border-color: #9dccb0;
  background: #f1fbf5;
  color: #1f6b3c;
}

.local-backend-message[data-type="error"] {
  border-color: #e2a6a6;
  background: #fff5f5;
  color: #9b1c1c;
}

.local-search-feedback {
  box-sizing: border-box;
  width: 100%;
  margin: 8px 0 0;
  padding: 8px 10px;
  border: 1px solid #cfd9e8;
  background: #f7fbff;
  color: #27466f;
  font-family: Pretendard, SCoreDream, Arial, sans-serif;
  font-size: 13px;
  line-height: 1.45;
  word-break: keep-all;
  overflow-wrap: anywhere;
}

.search_tit + .local-search-feedback {
  width: auto;
  margin: 0 0 12px;
}

.main_tsearch_new > .local-search-feedback {
  position: absolute;
  top: 58px;
  left: 0;
  z-index: 5000;
  width: 690px;
  margin: 0;
  padding: 10px 14px;
  border-radius: 4px;
  box-shadow: 0 8px 18px rgba(18, 38, 72, 0.14);
  text-align: left;
}

.local-search-feedback.success {
  border-color: #9dccb0;
  background: #f1fbf5;
  color: #1f6b3c;
}

.local-search-feedback.error {
  border-color: #e2a6a6;
  background: #fff5f5;
  color: #9b1c1c;
}

.local-backend-panel {
  width: auto;
  max-width: 100%;
  margin: 12px 0 0;
  box-sizing: border-box;
}

.local-backend-panel strong {
  display: inline-block;
  margin-right: 10px;
  color: #12355f;
  white-space: nowrap;
}

/* Match test site: search + 등록정보선택 dropdowns under category */
.ftbl .local-reg-select-panel,
.local-reg-select-panel.local-backend-panel {
  width: 100%;
  max-width: 100%;
  margin: 10px 0 0;
  padding: 10px 12px;
  border: 1px solid #d7e4f7;
  background: #f3f7fb;
  box-sizing: border-box;
}
.local-reg-select-row {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 8px 12px;
  white-space: nowrap;
}
.local-reg-select-row strong {
  margin: 0;
  flex: 0 0 auto;
  color: #222;
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
}
.local-reg-select-row label {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin: 0;
  flex: 0 0 auto;
  color: #333;
  font-size: 13px;
  white-space: nowrap;
}
.local-reg-select-row select {
  min-width: 110px;
  max-width: 160px;
  height: 30px;
  padding: 0 4px;
  border: 1px solid #cfd8e3;
  background: #fff;
  vertical-align: middle;
}
.buy_write .local-reg-select-panel.local-backend-panel {
  border-color: #cfe7d4;
  background: #f4faf3;
}

.local-required-agreement-helper {
  box-sizing: border-box;
  width: 820px;
  max-width: calc(100% - 24px);
  margin: 0 auto 14px;
  padding: 13px 15px;
  border: 2px solid #2f6fd6;
  background: #f7fbff;
  color: #1e2f47;
  font-family: Pretendard, SCoreDream, Arial, sans-serif;
}

.local-required-agreement-helper[data-state="error"] {
  border-color: #d92828;
  background: #fff4f4;
}

.local-required-agreement-helper[data-state="complete"] {
  border-color: #239257;
  background: #f1fbf5;
}

.local-required-agreement-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 8px;
  font-size: 15px;
}

.local-required-agreement-head strong {
  margin: 0;
  color: #163d74;
  font-size: 16px;
}

.local-required-agreement-head b {
  color: #d92828;
}

.local-required-agreement-helper[data-state="complete"] .local-required-agreement-head b {
  color: #157347;
}

.local-required-agreement-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px;
  margin: 0 0 10px;
  padding: 0;
  list-style: none;
}

.local-required-agreement-list li {
  min-height: 28px;
  padding: 6px 8px;
  border: 1px solid #ccd9ea;
  background: #fff;
  color: #3a4f6b;
  font-size: 12px;
  line-height: 1.35;
  word-break: keep-all;
  overflow-wrap: anywhere;
}

.local-required-agreement-list li::before {
  content: "□";
  display: inline-block;
  width: 16px;
  color: #d92828;
  font-weight: 700;
}

.local-required-agreement-list li.is-checked::before {
  content: "✓";
  color: #157347;
}

.local-required-agreement-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.local-required-agreement-actions button {
  min-width: 150px;
  height: 34px;
  padding: 0 14px;
  border: 1px solid #245cb5;
  background: #2f6fd6;
  color: #fff;
  font-weight: 700;
  cursor: pointer;
}

.local-required-agreement-actions span {
  color: #d92828;
  font-size: 13px;
  line-height: 1.45;
}

.local-required-agreement-helper[data-state="complete"] .local-required-agreement-actions span {
  color: #157347;
}

.local-required-agree {
  outline: 1px solid #d7e4f7;
  outline-offset: 2px;
  background: #f7fbff;
}

.local-required-agree.local-required-agree-missing {
  outline-color: #d92828;
  background: #fff4f4;
}

.local-required-agree-badge {
  display: inline-block;
  margin-left: 8px;
  padding: 1px 6px;
  border-radius: 2px;
  background: #d92828;
  color: #fff;
  font-size: 11px;
  line-height: 16px;
  vertical-align: middle;
}

.local-sell-picker {
  padding: 12px;
  border: 1px solid #d7e4f7;
  background: #f6f9ff;
}

.local-sell-picker label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-right: 10px;
  color: #333;
  font-size: 13px;
}

.local-sell-picker select {
  min-width: 150px;
  height: 30px;
  border: 1px solid #bfc8d5;
  background: #fff;
}

.local-trade-actions {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-top: 6px;
}

.local-trade-action {
  min-height: 24px;
  padding: 2px 7px;
  border: 1px solid #9eb8dc;
  background: #f7fbff;
  color: #24528f;
  font-size: 12px;
  line-height: 18px;
  cursor: pointer;
}

.local-trade-action:disabled {
  cursor: wait;
  opacity: 0.55;
}

.local-trade-messages {
  margin-top: 8px;
  padding: 8px;
  border: 1px solid #e1e7f0;
  background: #fafcff;
  font-size: 12px;
  line-height: 1.45;
}

.local-trade-messages-title {
  margin-bottom: 5px;
  color: #244b80;
  font-weight: 700;
}

.local-trade-messages ul {
  margin: 0 0 6px;
  padding: 0;
  list-style: none;
}

.local-trade-messages li {
  margin-bottom: 4px;
}

.local-trade-messages li.is-system {
  margin: 6px 0;
  padding: 4px 0;
  border-bottom: 1px solid #f0e6da;
  text-align: center;
}

.local-trade-messages li.is-system .local-trade-message-meta,
.local-trade-messages li.is-system .local-trade-message-text {
  color: #7c2d12;
  text-align: center;
}

.local-trade-messages li.is-system .local-trade-message-text {
  font-weight: 600;
}

.local-trade-message-meta {
  display: block;
  color: #777;
}

.local-trade-message-text {
  display: block;
  color: #333;
  word-break: break-word;
}

.local-trade-detail-link {
  color: #1a5fb4;
  font-weight: 700;
  text-decoration: underline;
}

.local-trade-order-meta {
  margin-top: 3px;
  color: #666;
  font-size: 12px;
  font-weight: 500;
}

.local-chat-row.from-system {
  justify-content: center;
  margin: 3px 0;
}

.local-chat-row.from-system .local-chat-bubble {
  max-width: 100%;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 0;
  border-radius: 0;
  border-bottom: 1px solid #f0e6da;
  background: transparent;
  color: #7c2d12;
  padding: 7px 4px;
  font-size: 12px;
  line-height: 1.35;
  font-weight: 600;
  text-align: center;
  white-space: nowrap;
}

.local-chat-row.from-system .local-chat-bubble > span:first-child {
  flex: 0 1 auto;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
}

.local-chat-row.from-system .local-chat-meta {
  margin-top: 0;
  flex: 0 0 auto;
  color: #a8a29e;
  font-weight: 500;
  white-space: nowrap;
}

.local-trade-message-form {
  display: flex;
  gap: 5px;
}

.local-trade-message-form input {
  min-width: 0;
  flex: 1;
  height: 24px;
  border: 1px solid #c6d2e2;
  padding: 0 6px;
  font-size: 12px;
}

.local-trade-message-form button {
  min-width: 48px;
  height: 24px;
  border: 1px solid #8eaeda;
  background: #f4f8ff;
  color: #24528f;
  font-size: 12px;
  cursor: pointer;
}

.local-trade-message-form button:disabled {
  cursor: wait;
  opacity: 0.55;
}

.local-inquiry-title,
.local-inquiry-summary,
.local-inquiry-answer {
  display: block;
  word-break: break-word;
}

.local-inquiry-title {
  margin-bottom: 4px;
  color: #222;
}

.local-inquiry-summary {
  color: #555;
  font-size: 12px;
  line-height: 1.45;
}

.local-inquiry-answer {
  margin-top: 4px;
  color: #24528f;
  font-size: 12px;
  line-height: 1.45;
}

.local-inquiry-status {
  display: inline-block;
  min-width: 64px;
  padding: 2px 6px;
  border: 1px solid #e1c7a5;
  color: #8b5a14;
  background: #fff8ed;
  font-size: 12px;
  line-height: 18px;
}

.local-inquiry-status.answered {
  border-color: #9dccb0;
  color: #1f6b3c;
  background: #f1fbf5;
}

.local-inquiry-status.closed {
  border-color: #cfd6df;
  color: #596270;
  background: #f6f7f9;
}

.local-charge-selected {
  outline: 2px solid #467be1 !important;
  outline-offset: 2px;
}

.payment-box.local-payment-selected,
.payment-box.on {
  border-color: #467be1 !important;
  outline: 2px solid #467be1 !important;
  outline-offset: 2px;
  background: #eef6ff !important;
  color: #0057b8 !important;
}

.local-auth-ok,
.local-auth-pending {
  display: inline-block;
  margin: 2px 4px 0 0;
  padding: 1px 5px;
  border: 1px solid #c8d7ec;
  color: #315f9d;
  background: #f6f9ff;
  font-size: 11px;
  line-height: 18px;
}

.local-auth-pending {
  border-color: #e1c7a5;
  color: #8b5a14;
  background: #fff8ed;
}

.local-listing-auth-summary {
  margin-top: 4px;
}

.local-busy {
  pointer-events: none;
  opacity: 0.6;
}

.local-profile-page {
  min-height: 560px;
}

.local-profile-summary {
  display: flex;
  width: 820px;
  margin: 0 0 14px;
  padding: 12px 14px;
  border: 1px solid #d8e4f4;
  background: #f8fbff;
  box-sizing: border-box;
  gap: 18px;
  color: #333;
  font-size: 13px;
}

.local-profile-summary span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  white-space: nowrap;
}

.local-profile-summary strong {
  color: #1f63b5;
}

.local-profile-table {
  width: 820px;
  border-top: 1px solid #ababab;
}

.local-profile-table th {
  height: 40px;
  padding: 7px 14px;
  background: #f4f4f4;
  color: #333;
  text-align: left;
  font-weight: 500;
}

.local-profile-table td {
  min-height: 40px;
  padding: 7px 10px;
}

.local-profile-table .inptxt {
  height: 30px;
  border: 1px solid #d9d9d9;
  box-sizing: border-box;
}

.local-profile-table .w80 {
  width: 80px;
}

.local-profile-table .w90 {
  width: 90px;
}

.local-profile-table .w160 {
  width: 160px;
}

.local-profile-table .w180 {
  width: 180px;
}

.local-profile-inline {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.local-profile-select {
  width: 130px;
  height: 30px;
  border: 1px solid #d9d9d9;
  background: #fff;
  color: #333;
}

.local-profile-bank-select {
  width: 180px;
  height: 30px;
  border: 1px solid #d9d9d9;
  background: #fff;
  color: #333;
}

.local-readonly {
  background: #f7f7f7;
  color: #777;
}

.local-profile-badges {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 5px;
}

.local-profile-badge {
  display: inline-block;
  padding: 2px 7px;
  border: 1px solid #e1c7a5;
  background: #fff8ed;
  color: #8b5a14;
  font-size: 12px;
  line-height: 18px;
}

.local-profile-badge.on {
  border-color: #9dccb0;
  background: #f1fbf5;
  color: #1f6b3c;
}

.local-profile-link {
  display: inline-block;
  margin-top: 7px;
  color: #236bd5;
  font-size: 12px;
  text-decoration: underline;
}

.local-profile-actions {
  width: 820px;
  margin-top: 60px;
  text-align: right;
}

.local-profile-actions button {
  min-width: 106px;
  height: 40px;
  border: 0;
  border-radius: 2px;
  background: #1f9df2;
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
}

.local-register-step2[hidden] {
  display: none;
}

.local-register-step1-section[hidden],
.local-register-step1-actions[hidden],
.local-required-agreement-helper[hidden] {
  display: none;
}

.local-register-step2 {
  clear: both;
}

.local-inline-button,
.local-register-primary,
.local-register-secondary {
  min-height: 30px;
  border: 1px solid #2f6fd6;
  background: #2f6fd6;
  color: #fff;
  font-weight: 700;
  cursor: pointer;
}

.local-inline-button {
  margin-left: 6px;
  padding: 0 12px;
}

.local-inline-result {
  margin-left: 8px;
  font-size: 12px;
  color: #555;
}

.local-inline-result[data-state="ok"] {
  color: #157347;
}

.local-inline-result[data-state="error"] {
  color: #b42318;
}

.local-register-step2-actions {
  width: 820px;
  margin-top: 18px;
  text-align: center;
}

.local-register-step2-actions button {
  min-width: 104px;
  height: 38px;
  margin: 0 4px;
}

.local-register-secondary {
  border-color: #777;
  background: #777;
}

.local-custom-charge {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-top: 10px;
  color: #333;
}

.local-profile-help {
  margin: 6px 0 0;
  color: #6b7280;
  font-size: 12px;
  line-height: 1.45;
}

form.local-withdraw-form > .btbl {
  margin-bottom: 0;
}

form.local-withdraw-form > .local-withdraw-fee-notice {
  margin: 0;
  padding: 6px 0 36px 2px;
  font-weight: 400;
}

.local-wallet-locked-row span,
.local-frozen-amount,
.local-mileage-balance-frozen strong {
  color: #d92d20;
  font-weight: 700;
}

.local-wallet-withdraw-row span,
.local-withdraw-amount,
.local-mileage-balance-withdraw strong {
  color: #175cd3;
  font-weight: 700;
}

.local-wallet-freeze-notice {
  width: 780px;
  margin: 0 0 14px;
  padding: 14px 18px;
  border: 1px solid #f2b8b5;
  background: #fff5f5;
  color: #3f1d1b;
  line-height: 1.45;
}

.local-wallet-freeze-notice > strong {
  display: block;
  margin-bottom: 4px;
  color: #b42318;
  font-size: 15px;
}

.local-wallet-freeze-notice p {
  margin: 0 0 10px;
  color: #5f2b28;
}

.local-wallet-freeze-notice dl {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin: 0;
}

.local-wallet-freeze-notice dl div {
  min-width: 0;
  padding: 8px 10px;
  border: 1px solid #f6d3d1;
  background: #fff;
}

.local-wallet-freeze-notice dt {
  margin: 0 0 3px;
  color: #7a342e;
  font-size: 12px;
}

.local-wallet-freeze-notice dd {
  margin: 0;
  color: #111827;
  font-weight: 700;
}

.date2 .local-mileage-balance-main,
.date2 .local-mileage-balance-withdraw,
.date2 .local-mileage-balance-frozen,
.date2 .local-mileage-balance-total {
  margin-left: 10px;
  white-space: nowrap;
}

.local-sold-badge,
.local-home-sold {
  display: inline-block;
  margin-left: 6px;
  padding: 1px 6px;
  border-radius: 2px;
  background: #6b7280;
  color: #fff;
  font-style: normal;
  font-size: 11px;
  line-height: 16px;
  vertical-align: middle;
}

/* 信用信息列：图标在上、文字在下（禁止 absolute 叠字） */
.local-dyn-search-wrap,
.search_list.local-dyn-search-wrap {
  width: 1100px;
  margin: 24px auto 40px;
}
.local-dyn-search-wrap table,
.search_list .local-dyn-table {
  width: 100%;
  border-collapse: collapse;
}

.search_list table tbody tr {
  height: auto !important;
  min-height: 88px;
}
.search_list table tbody tr td {
  height: auto !important;
  vertical-align: middle !important;
  overflow: visible !important;
  padding-top: 10px !important;
  padding-bottom: 18px !important;
}
.search_list table tbody tr td:nth-child(4) {
  padding-bottom: 22px !important;
}

.local-dyn-search-wrap .info_incen,
.search_list table tr td .info_incen {
  display: flex !important;
  justify-content: space-between !important;
  align-items: flex-start !important;
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
  width: 100%;
  min-height: 70px;
}

.local-dyn-search-wrap .info_incen li,
.search_list table tr td .info_incen li {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: flex-start !important;
  box-sizing: border-box !important;
  width: 63px !important;
  min-width: 58px;
  height: auto !important;
  min-height: 70px !important;
  line-height: 1.2 !important;
  position: relative !important;
  text-align: center !important;
  overflow: visible !important;
}

.local-dyn-search-wrap .info_incen li:last-child,
.search_list table tr td .info_incen li:last-child {
  width: 80px !important;
}

.local-dyn-search-wrap .info_incen li span,
.search_list table tr td .info_incen li span {
  display: inline-block !important;
  flex: 0 0 auto;
  width: 40px;
  height: 40px !important;
  line-height: 40px !important;
  background-position: center center !important;
  background-repeat: no-repeat !important;
  background-size: contain !important;
  margin: 0 auto 2px !important;
}

.local-dyn-search-wrap .info_incen li img,
.search_list table tr td .info_incen li img {
  display: block !important;
  width: 36px;
  height: 36px;
  object-fit: contain;
  margin: 2px auto 0 !important;
  vertical-align: top !important;
}

.local-dyn-search-wrap .info_incen li p,
.search_list table tr td .info_incen li p {
  position: static !important;
  display: block !important;
  left: auto !important;
  right: auto !important;
  bottom: auto !important;
  top: auto !important;
  width: 100% !important;
  margin: 6px 0 0 !important;
  padding: 0 !important;
  font-family: "Pretendard", sans-serif !important;
  color: #000 !important;
  font-size: 11px !important;
  font-weight: 700 !important;
  line-height: 1.25 !important;
  text-align: center !important;
  white-space: nowrap;
  overflow: visible !important;
}

.search_list table tr.local-listing-completed {
  position: relative !important;
  background-color: #f2f2f2 !important;
}

.search_list table tr.local-listing-completed td,
.search_list table tr.local-listing-completed td *:not(.local-sold-badge) {
  color: #8b929c !important;
}

.search_list table tr.local-listing-completed .info_incen img,
.search_list table tr.local-listing-completed .info_incen span,
.search_list table tr.local-listing-completed .badge.hasScreenshot {
  filter: grayscale(1);
  opacity: 0.46;
}

.search_list table tr.local-listing-completed .local-sold-badge {
  position: relative;
  z-index: 2;
  background: #5f6670 !important;
  color: #fff !important;
  opacity: 1;
}

.search_list table tr.local-listing-completed::after {
  content: none !important;
  display: none !important;
}

/* Safari does not reliably render an overlay pseudo-element on a table row. */
.search_list table tr.local-listing-completed td:nth-child(3) {
  position: relative !important;
}

.search_list table tr.local-listing-completed td:nth-child(3)::after {
  content: "거래완료" !important;
  position: absolute !important;
  inset: 0 !important;
  display: grid !important;
  place-items: center !important;
  background: rgba(255, 255, 255, 0.74) !important;
  color: #5f6670 !important;
  font-family: "Pretendard", sans-serif !important;
  font-size: 16px !important;
  font-weight: 800 !important;
  line-height: 1 !important;
  white-space: nowrap !important;
  pointer-events: none !important;
  z-index: 3 !important;
}

.sell_bbtn.local-purchase-button {
  background: #216ed7 !important;
  color: #fff !important;
  cursor: pointer;
}

.sell_bbtn.local-sold-button {
  background: #8b929c !important;
  color: #fff !important;
  cursor: default !important;
  pointer-events: none;
}

.sell_bbtn.local-sold-button-completed {
  background: #737b86 !important;
}

.local-sold-detail {
  margin: 10px 0;
  padding: 10px;
  border: 1px solid #c9ccd3;
  background: #f5f6f8;
  color: #374151;
  font-weight: 700;
}

.tbl .local-seller-cert-grid {
  display: grid;
  grid-template-columns: repeat(4, 108px);
  align-items: center;
  gap: 6px;
}

.tbl .local-seller-cert-grid .cer_state {
  box-sizing: border-box;
  width: 108px;
  min-width: 108px;
  height: 30px;
  margin: 0 !important;
  padding: 0 8px !important;
  line-height: 28px;
  text-align: center;
  white-space: nowrap;
}

.tbl .local-seller-cert-grid .cer_state.local-cert-off {
  border-color: #c8ccd3 !important;
  background: #f2f3f5 !important;
  color: #8b929c !important;
}

.tbl .local-seller-cert-grid .cer_state.on,
.tbl .local-seller-cert-grid .cer_state.local-cert-on {
  border-color: #ed4949 !important;
  background: #fff !important;
  color: #ed4949 !important;
}

/* 게임머니 구매수량 선택 */
.local-buy-qty-wrap {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 4px 0;
}
.local-buy-qty-row {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.local-qty-btn {
  box-sizing: border-box;
  width: 34px;
  height: 34px;
  border: 1px solid #c9d3e2;
  border-radius: 8px;
  background: #f5f8fc;
  color: #234;
  font-size: 18px;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
}
.local-qty-btn:hover { background: #eaf2ff; border-color: #8eb6ef; }
.local-buy-qty {
  box-sizing: border-box;
  width: 92px;
  height: 34px;
  margin: 0;
  padding: 0 10px;
  border: 1px solid #c9d3e2;
  border-radius: 8px;
  text-align: center;
  font-size: 16px;
  font-weight: 700;
  color: #111;
}
.local-qty-unit {
  color: #4b5567;
  font-size: 14px;
  font-weight: 600;
}
.local-qty-presets {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.local-qty-presets button {
  height: 28px;
  padding: 0 12px;
  border: 1px solid #d5deea;
  border-radius: 999px;
  background: #fff;
  color: #35598a;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}
.local-qty-presets button:hover {
  border-color: #467fe1;
  color: #467fe1;
  background: #f3f8ff;
}
.local-qty-hint {
  margin: 0;
  color: #7a8699;
  font-size: 12px;
  line-height: 1.4;
}
.local-buy-total {
  color: #1d4ed8;
  font-size: 18px;
  font-weight: 800;
}

.local-dialog-overlay {
  position: fixed;
  inset: 0;
  z-index: 100000;
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  padding: 20px;
  background: rgba(15, 23, 42, 0.56);
}

.local-dialog-card {
  box-sizing: border-box;
  width: min(420px, 100%);
  padding: 28px;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 18px 50px rgba(15, 23, 42, 0.28);
  color: #111827;
  text-align: center;
}

.local-dialog-card h2 {
  margin: 0 0 12px;
  font-size: 22px;
  line-height: 1.35;
}

.local-dialog-card p {
  margin: 0;
  color: #4b5563;
  font-size: 15px;
  line-height: 1.6;
}

.local-dialog-actions {
  display: flex;
  gap: 10px;
  justify-content: center;
  margin-top: 24px;
}

.local-dialog-actions button {
  min-width: 132px;
  height: 44px;
  padding: 0 18px;
  border: 1px solid #216ed7;
  border-radius: 4px;
  font-weight: 700;
  cursor: pointer;
}

.local-dialog-confirm {
  background: #fff;
  color: #216ed7;
}

.local-dialog-charge {
  background: #216ed7;
  color: #fff;
}

.local-dialog-actions button:focus-visible {
  outline: 3px solid rgba(33, 110, 215, 0.3);
  outline-offset: 2px;
}

@media (max-width: 480px) {
  .local-dialog-card {
    padding: 24px 18px;
  }

  .local-dialog-actions {
    flex-direction: column-reverse;
  }

  .local-dialog-actions button {
    width: 100%;
  }
}

/* ===== MyRoom 1:1 ===== */
.local-myroom-page .local-my-desc {
  margin: 0 0 16px;
  color: #666;
  font-size: 13px;
  line-height: 1.6;
}
.local-my-status {
  display: flex;
  align-items: stretch;
  gap: 18px;
  margin: 0 0 18px;
  padding: 18px 20px;
  border: 2px solid #2f9e44;
  background: #fff;
  box-sizing: border-box;
}
.local-my-status.sell { border-color: #467fe1; }
.local-my-status-left {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 210px;
}
.local-my-status-ico {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #2f9e44;
  color: #fff;
  font-size: 28px;
  font-weight: 800;
}
.local-my-status.sell .local-my-status-ico { background: #467fe1; }
.local-my-status-left ul { margin: 0; padding: 0; list-style: none; }
.local-my-status-left li {
  margin: 4px 0;
  color: #333;
  font-size: 13px;
}
.local-my-status-left strong { color: #111; font-size: 15px; }
.local-my-status-steps {
  flex: 1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
.local-my-status-steps .step {
  position: relative;
  padding: 8px 10px 12px;
  border-left: 1px solid #e5e5e5;
  text-align: center;
  overflow: visible;
}
.local-my-status-steps .step:first-child { border-left: 0; }
.local-my-status-steps em {
  display: block;
  color: #888;
  font-size: 11px;
  font-style: normal;
}
.local-my-status-steps strong {
  display: block;
  margin: 4px 0 6px;
  color: #222;
  font-size: 14px;
}
.local-my-status-steps .step-final-label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-wrap: nowrap;
  gap: 8px;
  margin: 4px 0 8px;
  color: #222;
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
}
.local-my-status-steps span {
  display: inline-block;
  min-width: 28px;
  color: #111;
  font-size: 20px;
  font-weight: 800;
}
.local-my-status-steps .detail {
  display: inline-block;
  margin: 0;
  padding: 0 8px;
  height: 22px;
  line-height: 20px;
  border: 1px solid #2f9e44;
  border-radius: 2px;
  background: #2f9e44;
  color: #fff !important;
  font-size: 11px;
  font-weight: 700;
  text-decoration: none;
  vertical-align: middle;
  white-space: nowrap;
}
.local-my-status.sell .detail {
  border-color: #467fe1;
  background: #467fe1;
}
.local-mileage-view-tabs {
  display: flex;
  gap: 8px;
  margin: 0 0 14px;
}
.local-mileage-view-tabs a {
  padding: 8px 14px;
  border: 1px solid #d0dbea;
  background: #f7f7f7;
  color: #555;
  text-decoration: none;
  font-size: 13px;
}
.local-mileage-view-tabs a.on {
  border-color: #467fe1;
  background: #fff;
  color: #467fe1;
  font-weight: 700;
}
.local-cal-head {
  margin: 0 0 10px;
  font-size: 16px;
  font-weight: 700;
  color: #222;
}
.local-cal-week,
.local-cal-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px;
}
.local-cal-week span {
  text-align: center;
  padding: 8px 0;
  font-size: 12px;
  color: #888;
}
.local-cal-cell {
  min-height: 72px;
  padding: 8px;
  border: 1px solid #e8eef5;
  background: #fff;
  box-sizing: border-box;
}
.local-cal-cell.empty { background: #fafafa; border-color: transparent; }
.local-cal-cell.has { background: #f3f9ff; }
.local-cal-cell strong { display: block; font-size: 13px; color: #333; }
.local-cal-cell em {
  display: block;
  margin-top: 6px;
  font-style: normal;
  font-size: 12px;
  color: #245bd8;
  font-weight: 700;
}
.local-cal-cell span { display: block; margin-top: 2px; font-size: 11px; color: #888; }
.local-myroom-page .local-form-card {
  margin-top: 14px;
}
.local-myroom-page .sch_form_sell,
.local-myroom-page .sch_form_buy {
  margin: 12px 0;
}
.local-my-tabs {
  display: flex;
  border-bottom: 1px solid #ddd;
  margin: 0 0 0;
}
.local-my-tabs a {
  flex: 1;
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #ddd;
  border-bottom: 0;
  margin-left: -1px;
  background: #f7f7f7;
  color: #666;
  font-size: 13px;
  text-decoration: none;
}
.local-my-tabs a:first-child { margin-left: 0; }
.local-my-tabs a.on {
  background: #fff;
  color: #467fe1;
  font-weight: 700;
  border-top: 2px solid #467fe1;
  position: relative;
  z-index: 1;
}
.local-my-table {
  width: 100%;
  border-collapse: collapse;
  border-top: 1px solid #cfd8e3;
  font-size: 13px;
}
.local-my-table th,
.local-my-table td {
  padding: 12px 10px;
  border-bottom: 1px solid #e8eef5;
  text-align: center;
  color: #333;
}
.local-my-table th {
  background: #f5f8fc;
  font-weight: 600;
}
.local-my-empty {
  padding: 48px 16px !important;
  color: #467fe1 !important;
  text-align: center !important;
}
.local-my-hub {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 18px;
}
.local-my-hub a {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  border: 1px solid #c9d8ef;
  background: #fff;
  color: #245bd8;
  font-weight: 700;
  text-decoration: none;
}
.local-form-card label {
  display: block;
  margin: 0 0 12px;
  color: #314357;
  font-size: 13px;
  font-weight: 700;
}
.local-form-card input[type="text"],
.local-form-card input[type="password"] {
  display: block;
  width: 100%;
  box-sizing: border-box;
  margin-top: 6px;
  height: 40px;
  padding: 0 12px;
  border: 1px solid #d0dbea;
}
.local-charge-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin: 10px 0 14px;
}
.local-charge-grid button {
  height: 42px;
  border: 1px solid #c9d8ef;
  background: #fff;
  color: #245bd8;
  font-weight: 800;
  cursor: pointer;
}
.local-charge-grid button.local-charge-selected {
  background: #eaf2ff;
  border-color: #467fe1;
}
.local-form-actions {
  display: flex;
  justify-content: center;
  gap: 10px;
  padding: 8px 0 18px;
}
.local-form-actions .btn,
.local-form-actions button {
  min-width: 140px;
  height: 44px;
  border: 0;
  border-radius: 8px;
  cursor: pointer;
  color: #fff;
  font-size: 15px;
  font-weight: 800;
  background: linear-gradient(to bottom, #64a6ff, #467fe1);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}
@media (max-width: 980px) {
  .local-my-status { flex-direction: column; }
  .local-my-status-steps { grid-template-columns: 1fr; }
  .local-my-hub { grid-template-columns: 1fr 1fr; }
}


/* ===== Trade register (sell/buy) 1:1 ===== */
.local-data-empty {
  margin: 0 0 18px;
  padding: 14px 16px;
  border: 1px solid #c5dff8;
  background: #eef7ff;
  color: #245bd8;
  font-size: 13px;
  line-height: 1.6;
}
.local-data-empty strong {
  display: block;
  margin-bottom: 4px;
  font-size: 14px;
  color: #1a5fbf;
}
.local-data-empty p { margin: 0; color: #3a6ea5; }
.buy_write .local-data-empty {
  border-color: #b7e2c4;
  background: #f1faf3;
  color: #1f8a45;
}
.buy_write .local-data-empty strong { color: #168a3f; }
.buy_write .local-data-empty p { color: #2f7a4a; }

.know_list {
  margin: 8px 0 16px;
  padding: 0;
  list-style: none;
}
.know_list li {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  margin: 0 0 10px;
  padding: 0 8px;
  border-radius: 4px;
  background: #f0f0f0;
  color: #444;
  font-size: 13px;
  text-align: center;
}
.know_list li:after { display: none !important; }
.me_know dt {
  font-size: 14px !important;
  font-weight: 700;
  color: #222 !important;
  text-align: left;
  padding: 8px 0 6px !important;
}

.local-reg-select-wrap { margin-top: 14px; }
.local-reg-select-tit {
  margin: 0 0 8px;
  color: #333;
  font-size: 13px;
  font-weight: 700;
}
.local-reg-selects {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 14px;
  align-items: center;
}
.local-reg-selects label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #333;
  font-size: 13px;
  white-space: nowrap;
}
.local-reg-selects select {
  min-width: 140px;
  height: 34px;
  padding: 0 8px;
  border: 1px solid #cfd8e3;
  background: #fff;
}

.local-inline-radio {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-right: 14px;
  color: #333;
  font-size: 13px;
}
.local-qty-input,
.local-price-input,
.local-char-input {
  width: 180px;
  height: 34px;
  padding: 0 10px;
  border: 1px solid #cfd8e3;
  box-sizing: border-box;
}
.local-title-input {
  width: 100%;
  max-width: 560px;
  height: 34px;
  padding: 0 10px;
  border: 1px solid #cfd8e3;
  box-sizing: border-box;
}
.local-desc-input {
  width: 100%;
  max-width: 560px;
  min-height: 140px;
  padding: 10px;
  border: 1px solid #cfd8e3;
  box-sizing: border-box;
  resize: vertical;
}
.local-unit-label {
  margin-left: 8px;
  color: #555;
  font-size: 13px;
}

/* Keep original sell/buy search bar geometry (content-box: 34 + pad + border = 48 = button) */
.sch_form_sell,
.sch_form_buy {
  position: relative !important;
  box-sizing: content-box !important;
  width: 578px !important;
  height: 34px !important;
  padding: 5px 56px 5px 15px !important;
  overflow: visible !important;
}
.sch_form_sell input,
.sch_form_buy input {
  box-sizing: border-box !important;
  width: 100% !important;
  height: 34px !important;
  line-height: 34px !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  vertical-align: top !important;
}
.sch_form_sell .btn_sch_new,
.sch_form_buy .btn_sch_new,
.local-trade-search-btn {
  position: absolute !important;
  top: -2px !important;
  right: -2px !important;
  z-index: 10 !important;
  display: block !important;
  width: 48px !important;
  height: 48px !important;
  margin: 0 !important;
  padding: 0 !important;
  box-sizing: border-box !important;
  border: 0 !important;
  font-size: 0 !important;
  text-indent: -9999px !important;
  overflow: hidden !important;
  line-height: 0 !important;
}
/* Fallback when sell_sc_btn.png / buy_sc_btn.png is missing */
.sch_form_sell .sell_sc_btn,
.sch_form_sell .local-trade-search-btn {
  background: #277fe8 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='11' cy='11' r='6.5'/%3E%3Cpath d='M20 20l-3.5-3.5'/%3E%3C/svg%3E") center / 22px 22px no-repeat !important;
}
.sch_form_buy .buy_sc_btn,
.sch_form_buy .local-trade-search-btn,
.local-trade-search-btn.buy {
  background: #35ac59 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='11' cy='11' r='6.5'/%3E%3Cpath d='M20 20l-3.5-3.5'/%3E%3C/svg%3E") center / 22px 22px no-repeat !important;
}

/* trade register extras */
.local-qty-radios { margin-bottom: 8px; }
.local-qty-row { display: flex; align-items: center; gap: 8px; }
.local-fee-line {
  margin: 8px 0 0;
  color: #e0183d;
  font-size: 12px;
}
.local-fee-line strong { color: #e0183d; }
.local-help-red {
  margin: 8px 0 0;
  color: #e0183d;
  font-size: 12px;
  line-height: 1.5;
}
.local-desc-mode { margin-bottom: 8px; }
.local-shot-list { margin: 8px 0; }
.local-shot-row { margin: 0 0 8px; }
.local-shot-actions { display: flex; gap: 8px; }
.local-shot-btn {
  height: 30px;
  padding: 0 12px;
  border: 1px solid #c9d8ef;
  background: #f7faff;
  color: #245bd8;
  font-size: 12px;
  cursor: pointer;
}
.local-paid-service {
  width: 820px;
  border-collapse: collapse;
  margin: 0 0 0;
  font-size: 13px;
}
.local-paid-service th,
.local-paid-service td {
  border: 1px solid #dbe8f0;
  padding: 14px 12px;
  text-align: center;
  vertical-align: top;
  background: #eff9ff;
}
.local-paid-service td { background: #fff; }
.local-paid-service th em {
  display: block;
  margin-top: 4px;
  font-style: normal;
  color: #467fe1;
  font-weight: 600;
  font-size: 12px;
}
.local-paid-desc {
  margin: 0 0 10px;
  color: #666;
  font-size: 12px;
}
.local-paid-hours {
  min-width: 120px;
  height: 32px;
  border: 1px solid #cfd8e3;
}
.local-paid-total {
  width: 820px;
  box-sizing: border-box;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin: 0 0 28px;
  padding: 12px 16px;
  border: 1px solid #dbe8f0;
  border-top: 0;
  background: #eff9ff;
  color: #333;
  font-size: 13px;
}
.local-paid-total strong { color: #245bd8; }
.local-contact-edit {
  display: inline-block;
  margin-left: 10px;
  padding: 4px 10px;
  border: 1px solid #c9d8ef;
  background: #f7faff;
  color: #245bd8;
  font-size: 12px;
  text-decoration: none;
}
.local-trade-auth {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.local-trade-auth .local-profile-badge {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  border: 1px solid #d0dbea;
  background: #f7f7f7;
  color: #777;
  font-size: 12px;
}
.local-trade-auth .local-profile-badge.on {
  border-color: #f3b4b4;
  background: #fff5f5;
  color: #d32f2f;
  font-weight: 700;
}
.buy_write .local-paid-service th,
.buy_write .local-paid-total {
  background: #f4faf3;
  border-color: #cfe7d4;
}
.buy_write .local-paid-service td { border-color: #cfe7d4; }
