:root {
  --dt-blue: #2280ff;
  --dt-blue-soft: #eef7ff;
  --dt-green: #13af58;
  --dt-text: #2e2e2e;
  --dt-muted: #767676;
  --dt-border: #ebebeb;
  --dt-panel: #f6f8fd;
  --dt-content: 1320px;
}

* {
  box-sizing: border-box;
}

[v-cloak] {
  display: none !important;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  min-width: 1080px;
  background: #fff;
  color: var(--dt-text);
  font-family: "Pretendard", "Apple SD Gothic Neo", "Malgun Gothic", Arial, sans-serif;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.25;
}

a {
  color: inherit;
  text-decoration: none;
}

a:hover {
  text-decoration: none;
}

button,
input {
  font: inherit;
}

button {
  cursor: pointer;
}

ul,
ol,
li,
p,
h1,
h2,
h3,
dl,
dt,
dd {
  margin: 0;
  padding: 0;
}

ul,
ol {
  list-style: none;
}

.dt-content {
  width: min(calc(100% - 200px), var(--dt-content));
  margin: 0 auto;
}

.dt-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #fff;
  border-bottom: 1px solid var(--dt-border);
  box-shadow: 0 3px 12px rgba(24, 37, 62, .07);
}

.dt-header-inner {
  display: flex;
  align-items: center;
  min-height: 80px;
}

.dt-logo {
  display: inline-flex;
  align-items: center;
  flex: 0 0 255px;
  gap: 25px;
  color: var(--dt-text);
}

.dt-logo img {
  display: block;
  width: 126px;
  height: 50px;
  object-fit: contain;
}

.dt-logo span {
  font-size: 20px;
  font-weight: 800;
  white-space: nowrap;
}

.dt-nav {
  display: flex;
  align-items: center;
  gap: 40px;
  margin-left: 40px;
}

.dt-nav a,
.dt-nav-text {
  color: var(--dt-text);
  font-size: 16px;
  font-weight: 800;
  white-space: nowrap;
}

.dt-nav a.is-active,
.dt-nav a:hover {
  color: var(--dt-blue);
}

.dt-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-left: auto;
}

.dt-chat {
  position: relative;
  display: inline-flex;
  align-items: center;
  padding: 0;
  border: 0;
  background: transparent;
}

.dt-chat img {
  display: block;
  width: 50px;
  height: 40px;
  object-fit: contain;
}

.dt-chat em {
  position: absolute;
  top: 0;
  right: -2px;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border: 2px solid #fff;
  border-radius: 999px;
  background: #ff3434;
  color: #fff;
  font-style: normal;
  font-size: 11px;
  font-weight: 800;
  line-height: 14px;
  text-align: center;
}

.dt-chat-original {
  cursor: default;
}

.dt-chat-alert img {
  width: 34px;
  height: 34px;
}

.dt-chat-alert em {
  top: -5px;
  right: -8px;
}

.dt-login,
.dt-signup {
  color: var(--dt-text);
  font-size: 14px;
  font-weight: 700;
}

.dt-header-logout {
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.dt-action-divider {
  display: inline-block;
  width: 2px;
  height: 14px;
  background: #c9c9c9;
}

.dt-menu-button {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 20px;
  height: 18px;
  padding: 0;
  border: 0;
  background: transparent;
}

.dt-menu-button span {
  display: block;
  width: 20px;
  height: 3px;
  border-radius: 2px;
  background: #333;
}

.dt-menu-panel {
  position: fixed;
  inset: 0;
  z-index: 1000;
  opacity: 0;
  pointer-events: none;
  transition: opacity .18s ease;
}

.dt-menu-panel.is-open {
  opacity: 1;
  pointer-events: auto;
}

.dt-menu-backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(0, 0, 0, .42);
}

.dt-menu-card {
  position: absolute;
  top: 18px;
  right: max(50px, calc((100% - var(--dt-content)) / 2));
  width: 760px;
  max-height: calc(100vh - 36px);
  padding: 18px 24px 28px;
  overflow-y: auto;
  border: 1px solid #e1e6ef;
  border-radius: 0;
  background: #fff;
  box-shadow: 0 18px 60px rgba(0, 0, 0, .12);
}

.dt-menu-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
  padding-bottom: 16px;
  border-bottom: 1px solid #d9d9d9;
}

.dt-menu-head h2 {
  font-size: 24px;
  font-weight: 900;
}

.dt-menu-head button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border: 1px solid #cfd5df;
  background: #f8f9fb;
  color: #555;
  font-size: 14px;
  font-weight: 800;
  line-height: 1;
  cursor: pointer;
}

.dt-service-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px 20px;
}

.dt-service-grid a {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  min-height: 136px;
  gap: 12px;
  padding: 14px 10px;
  border: 1px solid #e4e7ed;
  border-radius: 8px;
  background: #fff;
  color: var(--dt-text);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.25;
  text-align: center;
  word-break: keep-all;
  transition: border-color .16s ease, box-shadow .16s ease, color .16s ease;
}

.dt-service-grid a:hover {
  border-color: #b9d2f6;
  box-shadow: 0 8px 18px rgba(34, 128, 255, .1);
  color: var(--dt-blue);
}

.dt-service-grid img,
.dt-placeholder-icon {
  width: 70px;
  height: 70px;
}

.dt-service-grid img {
  padding: 13px;
  border-radius: 22px;
  background: #eaf4ff;
  object-fit: contain;
}

.dt-placeholder-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: var(--dt-blue-soft);
  color: var(--dt-blue);
  font-size: 20px;
  font-weight: 900;
}

.dt-menu-myroom {
  margin-top: 24px;
  overflow: hidden;
  border: 1px solid #d8dde7;
  border-radius: 14px;
  background: #fff;
}

.dt-menu-myroom h3 {
  padding: 15px 24px;
  background: #e9f4ff;
  color: #222;
  font-size: 18px;
  font-weight: 900;
}

.dt-menu-myroom-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 18px 18px;
  padding: 22px 24px 24px;
}

.dt-menu-myroom-grid div {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 0;
}

.dt-menu-myroom-grid strong {
  color: #222;
  font-size: 15px;
  font-weight: 900;
  line-height: 1.3;
}

.dt-menu-myroom-grid a {
  color: #555;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.3;
  word-break: keep-all;
}

.dt-menu-myroom-grid a:hover {
  color: var(--dt-blue);
  font-weight: 800;
}

.datem-main {
  min-height: calc(100vh - 80px - 260px);
}

.dt-footer {
  border-top: 1px solid var(--dt-border);
  background: #fff;
}

.dt-footer-inner {
  padding: 28px 0 36px;
}

.dt-footer-top,
.dt-footer-body {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 28px;
}

.dt-footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.dt-footer-links a {
  color: #4f4f4f;
  font-size: 14px;
  font-weight: 700;
}

.dt-footer-links a.is-strong {
  color: var(--dt-text);
  font-weight: 900;
}

.dt-footer-badges {
  display: flex;
  gap: 8px;
}

.dt-footer-badges img {
  display: block;
  width: 88px;
  height: 26px;
  object-fit: contain;
}

.dt-footer-line {
  height: 1px;
  margin: 22px 0;
  background: #e8ecf4;
}

.dt-company {
  margin-bottom: 10px;
  color: var(--dt-text);
  font-size: 16px;
  font-weight: 900;
}

.dt-footer-body p,
.dt-footer-note,
.dt-footer-call span {
  color: var(--dt-muted);
  font-size: 13px;
  line-height: 1.7;
}

.dt-copy {
  margin-top: 6px;
}

.dt-footer-call {
  min-width: 230px;
  text-align: right;
}

.dt-footer-call strong {
  display: block;
  color: var(--dt-blue);
  font-size: 26px;
  font-weight: 900;
}

.dt-footer-call div {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  margin-top: 12px;
}

.dt-footer-call img {
  width: 54px;
  height: 54px;
  object-fit: contain;
}

.dt-footer-note {
  margin-top: 20px;
  padding-top: 14px;
  border-top: 1px solid #e8ecf4;
}

.el-button {
  font-family: inherit;
}

.el-input__inner {
  border-color: transparent;
  color: #333;
  font-weight: 700;
}

.el-input__inner::placeholder {
  color: #a7a7a7;
}

@media (max-width: 1079px) {
  body {
    min-width: 0;
  }

  .dt-content {
    width: min(100% - 32px, 720px);
  }

  .dt-header {
    position: relative;
  }

  .dt-header-inner {
    min-height: 72px;
  }

  .dt-logo {
    flex-basis: auto;
  }

  .dt-logo img {
    width: 110px;
  }

  .dt-logo span,
  .dt-nav,
  .dt-chat,
  .dt-login,
  .dt-signup,
  .dt-action-divider {
    display: none;
  }

  .dt-menu-card {
    left: 16px;
    right: 16px;
    width: auto;
  }

  .dt-service-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .dt-footer-top,
  .dt-footer-body {
    flex-direction: column;
  }

  .dt-footer-call {
    text-align: left;
  }

  .dt-footer-call div {
    justify-content: flex-start;
  }
}

/* itemsswap visual calibration */
:root {
  --dt-content: 1080px;
  --dt-blue: #2280ff;
  --dt-text: #2e2e2e;
  --dt-border: #ebebeb;
}

html {
  min-width: 1080px;
}

body {
  min-width: 1080px;
  font-family: "Pretendard", "Apple SD Gothic Neo", "Malgun Gothic", "맑은 고딕", sans-serif;
  font-size: 13px;
  line-height: 1.2;
  color: var(--dt-text);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.dt-content {
  position: relative;
  width: 100%;
  min-width: var(--dt-content);
  max-width: var(--dt-content);
  margin: 0 auto;
}

.dt-header {
  min-height: 80px;
  border-bottom: 1px solid var(--dt-border);
  box-shadow: none;
  overflow: visible;
}

.dt-header-inner {
  height: 80px;
  min-height: 80px;
  gap: 10px 0;
}

.dt-logo {
  flex: 0 0 255px;
  width: 255px;
  height: 50px;
  gap: 25px;
}

.dt-logo img {
  width: 170px;
  height: 50px;
}

.dt-logo span {
  font-size: 20px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0;
}

.dt-nav {
  gap: 40px;
  margin-left: 70px;
}

.dt-nav a {
  font-size: 16px;
  font-weight: 700;
}

.dt-actions {
  gap: 12px;
}

.dt-login,
.dt-signup {
  padding: 0;
  color: var(--dt-text);
  font-size: 15px;
  font-weight: 700;
  line-height: 1;
}

.dt-action-divider {
  width: 1px;
  height: 18px;
  background: #b7b7b7;
}

.dt-chat img {
  width: 50px;
  height: 40px;
}

.dt-menu-button {
  width: 32px;
  height: 32px;
  justify-content: center;
  gap: 6px;
}

.dt-menu-button span {
  width: 29px;
  height: 4px;
  border-radius: 3px;
}

.dt-menu-card {
  right: calc((100% - var(--dt-content)) / 2);
}

.dt-header-search {
  padding: 20px 0 40px;
  background: #fff;
}

.dt-header-search-inner {
  display: flex;
  align-items: center;
  gap: 20px;
}

.dt-shared-search {
  position: relative;
  display: flex;
  align-items: center;
  flex: 1 1 auto;
  height: 68px;
  min-width: 0;
  padding: 8px 8px 8px 28px;
  border: 4px solid var(--dt-blue);
  border-radius: 14px;
  background: #fff;
  transition: border-radius .16s ease, box-shadow .16s ease;
}

.dt-shared-search.is-open {
  border-bottom-color: transparent;
  border-radius: 14px 14px 0 0;
  box-shadow: 0 16px 30px rgba(17, 49, 92, .08);
}

.dt-shared-search input {
  flex: 1 1 auto;
  min-width: 0;
  height: 52px;
  padding: 0 48px 0 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: #111;
  font-size: 18px;
  font-weight: 500;
}

.dt-shared-search input::placeholder {
  color: #9b9b9b;
}

.dt-shared-search-clear {
  flex: 0 0 auto;
  width: 24px;
  height: 24px;
  margin-right: 10px;
  border: 0;
  border-radius: 50%;
  background: #eeeeee;
  color: #555;
  font-size: 20px;
  font-weight: 700;
  line-height: 21px;
}

.dt-shared-search-clear.is-hidden {
  visibility: hidden;
}

.dt-shared-search-submit {
  flex: 0 0 auto;
  width: 160px;
  height: 52px;
  border: 0;
  border-radius: 13px;
  background: var(--dt-blue);
  color: #fff;
  font-size: 21px;
  font-weight: 800;
}

.dt-shared-register {
  flex: 0 0 auto;
  width: 150px;
  height: 51px;
  border: 2px solid #79a9ef;
  border-radius: 14px;
  background: #c9defb;
  color: #1f79e8;
  font-size: 17px;
  font-weight: 800;
}

.dt-shared-register span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  margin-right: 6px;
  border-radius: 50%;
  background: #2a80f4;
  color: #fff;
  font-size: 18px;
  line-height: 18px;
  vertical-align: -2px;
}

.dt-shared-search-panel {
  position: absolute;
  z-index: 120;
  top: calc(100% - 4px);
  left: -4px;
  right: -4px;
  display: none;
  min-height: 356px;
  padding: 34px 52px 42px;
  border: 4px solid var(--dt-blue);
  border-top: 1px solid #edf0f4;
  border-radius: 0 0 14px 14px;
  background: #fff;
}

.dt-shared-search.is-open .dt-shared-search-panel {
  display: block;
}

.dt-shared-search-types {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 13px;
}

.dt-shared-search-types button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  height: 56px;
  border: 1px solid #d7d7d7;
  border-radius: 29px;
  background: #fff;
  color: #111;
  font-size: 17px;
  font-weight: 800;
}

.dt-shared-search-types button.active {
  border: 2px solid var(--dt-blue);
  color: var(--dt-blue);
}

.dt-shared-search-types img {
  display: block;
  width: 23px;
  height: 23px;
  object-fit: contain;
}

.dt-shared-search-content {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 70px;
  padding-top: 30px;
}

.dt-shared-search-content section {
  min-height: 155px;
  text-align: center;
}

.dt-shared-search-content h3 {
  color: #111;
  font-size: 19px;
  font-weight: 800;
}

.dt-shared-search-content p {
  margin-top: 52px;
  color: #9aa0aa;
  font-size: 16px;
  font-weight: 500;
}

.dt-shared-search-content a {
  display: inline-flex;
  margin-top: 36px;
  color: #6b6f78;
  font-size: 16px;
  font-weight: 500;
}

/* Search header alignment copied from the trade list page. */
.dt-header-search-inner.dt-content {
  width: min(calc(100% - 80px), 1080px);
  max-width: 1080px;
}

.dt-header-search-inner {
  gap: 20px;
  justify-content: center;
}

.dt-shared-search {
  flex: 0 1 910px;
  height: 70px;
  padding: 6px 8px 6px 28px;
  border-width: 4px;
  border-radius: 14px;
}

.dt-shared-search input {
  height: 50px;
  padding-right: 18px;
  font-size: 17px;
}

.dt-shared-search-clear {
  width: 20px;
  height: 20px;
  margin-right: 8px;
  background: #eeeeee;
  color: #555;
  font-size: 18px;
  line-height: 18px;
}

.dt-shared-search-submit {
  width: 160px;
  height: 52px;
  border-radius: 13px;
  font-size: 21px;
}

.dt-shared-register {
  width: 150px;
  height: 51px;
  border-width: 2px;
  border-radius: 14px;
  background: #c9defb;
  color: #1f79e8;
  font-size: 17px;
}

.dt-shared-search-content .dt-shared-game-suggestion {
  align-items: center;
  gap: 9px;
  min-width: 180px;
  max-width: 230px;
  min-height: 44px;
  margin: 12px 6px 0;
  padding: 7px 12px;
  border: 1px solid #e4ebf6;
  border-radius: 8px;
  background: #fff;
  color: #2e2e2e;
  text-align: left;
  font-weight: 800;
}

.dt-shared-search-content .dt-shared-game-suggestion:hover {
  border-color: var(--dt-blue);
  color: var(--dt-blue);
}

.dt-shared-game-suggestion img {
  width: 30px;
  height: 30px;
  border-radius: 7px;
  object-fit: cover;
  flex: 0 0 auto;
}

.dt-shared-game-suggestion span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.dt-shared-search-star {
  position: absolute;
  left: 50%;
  top: 88px;
  color: #9aa0aa;
  font-size: 20px;
  line-height: 1;
  transform: translateX(-50%);
}

.dt-footer {
  clear: both;
  margin-top: 10px;
  border-top: 1px solid #d9d9d9;
}

.dt-footer-inner {
  width: 1080px;
  max-width: 1080px;
  min-width: 1080px;
  padding: 0;
}

.dt-footer-top {
  align-items: center;
  padding: 25px 0;
}

.dt-footer-links {
  gap: clamp(15px, 1vw, 35px);
  color: #4f4f4f;
  white-space: nowrap;
}

.dt-footer-links a {
  color: inherit;
  font-size: 15px;
  font-weight: 500;
}

.dt-footer-links a.is-strong {
  color: #1360c8;
  font-weight: 600;
}

.dt-footer-badges {
  align-items: center;
  gap: 12px;
}

.dt-footer-line {
  margin: 0;
  background: #d9d9d9;
}

.dt-footer-body {
  padding: 40px 0 30px;
}

.dt-company {
  margin: 0 0 14px;
  color: #2e2e2e;
  font-size: 15px;
  font-weight: 700;
}

.dt-footer-body p {
  margin: 0 0 6px;
  color: #767676;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.55;
}

.dt-copy {
  margin-top: 14px !important;
  color: #1360c8 !important;
  font-size: 15px !important;
  font-weight: 700 !important;
}

.dt-footer-call {
  min-width: 260px;
}

.dt-footer-call strong {
  color: #2e2e2e;
  font-size: 32px;
  font-weight: 700;
}

.dt-footer-call span {
  color: #767676;
  font-size: 15px;
  font-weight: 500;
}

.dt-footer-call div {
  gap: 12px;
}

.dt-footer-note {
  margin: 0;
  padding: 20px 0 30px;
  border-top: 1px solid #d9d9d9;
  color: #767676;
  font-size: 14px;
  font-weight: 500;
  text-align: left;
}
