:root {
  color-scheme: light;
  --ink: #17171d;
  --sub: #666674;
  --muted: #8b8b98;
  --line: #e5e5ec;
  --bg: #fbfbfd;
  --surface: #fdfdff;
  --soft: #f3f3f7;
  --point: #4545da;
  --point-hover: #3838c3;
  --point-soft: #eeeeff;
  --danger: #b42318;
  --radius: 12px;
  --radius-small: 9px;
  --shadow: 0 12px 34px rgba(42, 42, 80, 0.08);
  --header-bg: rgba(251, 251, 253, 0.92);
}

* {
  box-sizing: border-box;
}

html {
  background: var(--bg);
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--bg);
  font-family: Pretendard, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.65;
  letter-spacing: -0.02em;
  word-break: keep-all;
  overflow-wrap: break-word;
  -webkit-font-smoothing: antialiased;
}

button,
input,
textarea {
  font: inherit;
  letter-spacing: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  color: inherit;
}

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

:focus-visible {
  outline: 3px solid rgba(69, 69, 218, 0.34);
  outline-offset: 3px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

[hidden] {
  display: none !important;
}

.wrap {
  width: min(100%, 1128px);
  max-width: 1128px;
  margin-inline: auto;
  padding-inline: 24px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid var(--line);
  background: var(--bg);
}

.site-header .wrap {
  width: min(100%, 1180px);
  max-width: 1180px;
}

body.dbgl-auth-open {
  overflow: hidden;
}

.bar {
  position: relative;
  display: flex;
  align-items: center;
  gap: 20px;
  min-height: 64px;
}

.site-nav-panel {
  display: contents;
}

.mobile-menu-toggle,
.mobile-nav-head {
  display: none;
}

.mobile-menu-toggle,
.mobile-menu-close {
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: var(--radius-small);
  background: transparent;
  color: var(--ink);
  cursor: pointer;
}

.mobile-menu-toggle:hover,
.mobile-menu-close:hover {
  background: var(--soft);
}

.mobile-menu-icon {
  display: flex;
  width: 22px;
  flex-direction: column;
  gap: 5px;
}

.mobile-menu-icon span {
  display: block;
  width: 100%;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
}

.mobile-close-icon {
  position: relative;
  display: block;
  width: 22px;
  height: 22px;
}

.mobile-close-icon::before,
.mobile-close-icon::after {
  position: absolute;
  top: 10px;
  left: 1px;
  width: 20px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  content: "";
}

.mobile-close-icon::before {
  transform: rotate(45deg);
}

.mobile-close-icon::after {
  transform: rotate(-45deg);
}

.logo {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  flex: 0 0 auto;
  font-size: 20px;
  font-weight: 900;
  letter-spacing: -0.04em;
}

.logo b {
  color: var(--point);
}

.site-nav-center {
  position: absolute;
  top: 50%;
  left: 50%;
  display: inline-flex;
  align-items: center;
  gap: 2px;
  min-width: 0;
  transform: translate(-50%, -50%);
}

.site-nav-right {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-left: auto;
}

.nav-link {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  padding: 0 13px;
  border-radius: var(--radius-small);
  color: var(--sub);
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
  transition: color 160ms ease, background-color 160ms ease, transform 120ms ease;
}

.nav-link:hover,
.nav-link[aria-current] {
  color: var(--ink);
  background: var(--soft);
}

.site-nav-center .nav-link {
  padding-inline: 12px;
  border-radius: 0;
  background: transparent;
}

.site-nav-center .nav-link:hover,
.site-nav-center .nav-link[aria-current] {
  background: transparent;
  color: var(--ink);
}

.site-nav-center .nav-link[aria-current] {
  font-weight: 850;
}

.nav-link:active,
.btn:active,
.chip:active,
.buy:active,
.likebtn:active {
  transform: translateY(1px);
}

.nav-link.nav-cta {
  padding-inline: 16px;
  color: #f7f7fb;
  background: var(--point);
}

.nav-link.nav-cta:hover,
.nav-link.nav-cta[aria-current="page"] {
  color: #f7f7fb;
  background: var(--point-hover);
}

#authslot {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.btn {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: var(--radius-small);
  background: var(--point);
  color: #f7f7fb;
  font-size: 14px;
  font-weight: 800;
  cursor: pointer;
  white-space: nowrap;
  transition: background-color 160ms ease, transform 120ms ease;
}

.btn:hover {
  background: var(--point-hover);
}

.btn.ghost {
  border: 1px solid var(--line);
  color: var(--ink);
  background: var(--surface);
}

.btn.ghost:hover {
  border-color: var(--muted);
  background: var(--soft);
}

.page-main {
  min-height: calc(100dvh - 64px);
}

.page-title {
  margin: 0;
  font-size: clamp(28px, 3vw, 36px);
  font-weight: 900;
  line-height: 1.28;
  letter-spacing: -0.04em;
}

.page-intro {
  max-width: 760px;
  margin-top: 10px;
  color: var(--sub);
  font-size: 16px;
  line-height: 1.65;
}

input,
textarea {
  width: 100%;
  min-height: 44px;
  border: 1px solid var(--line);
  border-radius: var(--radius-small);
  background: var(--surface);
  color: var(--ink);
}

input::placeholder,
textarea::placeholder {
  color: var(--muted);
}

input:focus,
textarea:focus {
  border-color: var(--point);
  outline: 3px solid rgba(69, 69, 218, 0.16);
}

.field-label {
  display: block;
  margin-bottom: 7px;
  color: var(--ink);
  font-size: 13px;
  font-weight: 800;
}

/* Home */
.page-home .hero {
  position: relative;
  width: 100%;
  height: clamp(540px, 46vw, 700px);
  min-height: 540px;
  padding: 0;
  overflow: hidden;
  color: #f7f7fb;
  background: #17171d;
}

.page-home .hero-shade {
  background:
    /* deslop-ignore-next-line 06 */
    linear-gradient(180deg, rgba(12, 12, 20, 0.78), rgba(12, 12, 20, 0.64) 44%, rgba(12, 12, 20, 0.84)),
    linear-gradient(90deg, rgba(12, 12, 20, 0.26), rgba(12, 12, 20, 0.68) 34%, rgba(12, 12, 20, 0.68) 66%, rgba(12, 12, 20, 0.26));
}

.page-home .hero-frame iframe {
  filter: blur(2px) saturate(.78);
  transform: scale(1.015);
}

.page-home .hero-inner {
  max-width: 860px;
  padding-inline: 24px;
}

.page-home .hero h1 {
  max-width: 820px;
  margin-inline: auto;
  font-size: clamp(34px, 3.4vw, 50px);
  font-weight: 800;
  line-height: 1.28;
  letter-spacing: -0.045em;
  word-break: keep-all;
}

.page-home .hero h1 b {
  color: #d3d3ff;
  font-weight: 800;
}

.page-home .stats {
  gap: clamp(26px, 5vw, 64px);
  margin-top: 28px;
}

.page-home .stat b {
  font-size: clamp(34px, 4vw, 50px);
  font-weight: 800;
  line-height: 1.18;
}

.page-home .stat b i {
  color: #d3d3ff;
}

.page-home .stat span {
  color: rgba(255, 255, 255, 0.72);
  font-size: 14px;
}

.page-home .searchwrap {
  max-width: 680px;
  margin-top: 38px;
}

.page-home .searchbar {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 7px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 999px;
  background: #fdfdff;
  box-shadow: 0 18px 48px rgba(8, 8, 14, 0.34);
}

.page-home .sb-glow {
  position: absolute;
  z-index: 0;
  inset: -4px;
  overflow: hidden;
  padding: 2px;
  border-radius: 999px;
  pointer-events: none;
  -webkit-mask: linear-gradient(#111 0 0) content-box, linear-gradient(#111 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
}

.page-home .sb-blob {
  position: absolute;
  top: 0;
  left: 0;
  width: 144px;
  height: 144px;
  /* deslop-ignore-next-line 19 */
  border-radius: 50%;
  /* deslop-ignore-next-line 06 */
  background: radial-gradient(
    circle,
    rgba(255, 255, 255, 0.98) 0%,
    rgba(255, 255, 255, 0.98) 5%,
    rgba(199, 203, 255, 0.76) 16%,
    rgba(199, 203, 255, 0.22) 34%,
    transparent 58%
  );
  will-change: transform;
}

.page-home .searchbar > :not(.sb-glow) {
  position: relative;
  z-index: 1;
}

.page-home .searchbar:focus-within {
  border-color: #c9c9ff;
  box-shadow: 0 0 0 4px rgba(201, 201, 255, 0.2), 0 18px 48px rgba(8, 8, 14, 0.34);
}

.page-home .searchbar input {
  min-height: 48px;
  padding: 0 18px 0 2px;
  border: 0;
  border-radius: 999px;
  background: #fdfdff;
  color: #17171d;
}

.page-home .search-icon {
  display: inline-flex;
  width: 20px;
  height: 20px;
  flex: 0 0 20px;
  margin-left: 13px;
  color: #777786;
  opacity: 0.58;
}

.page-home .search-icon svg {
  display: block;
  width: 100%;
  height: 100%;
}

.page-home .searchbar input:focus {
  outline: 0;
}

.page-home .hero-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  margin-top: 22px;
}

.page-home .hero-action {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  color: #f7f7fb;
  font-size: 13px;
  white-space: nowrap;
  transition: color 160ms ease, background-color 160ms ease, border-color 160ms ease, transform 120ms ease;
}

.page-home .hero-action-secondary {
  padding: 0 8px;
  color: rgba(255, 255, 255, 0.82);
  font-weight: 600;
  text-decoration: none;
}

.page-home .hero-action-primary {
  min-width: 156px;
  padding: 0 20px;
  border: 0;
  border-radius: var(--radius-small);
  background: #4545da;
  font-weight: 800;
}

.page-home .hero-action:active {
  transform: scale(0.98);
}

@media (hover: hover) and (pointer: fine) {
  .page-home .hero-action-secondary:hover {
    color: #f7f7fb;
  }

  .page-home .hero-action-primary:hover {
    background: #3838c3;
  }
}

.page-home .miss {
  margin-top: 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius-small);
  background: var(--surface);
  color: var(--ink);
}

.page-home main > section:not(.hero) {
  padding: 58px 0 72px;
  background: var(--bg);
}

.page-home .sec-head {
  margin-bottom: 8px;
}

.page-home .sec-head h2 {
  font-size: 26px;
  line-height: 1.3;
}

.page-home .lead {
  max-width: 700px;
  margin-bottom: 22px;
  color: var(--sub);
  font-size: 15px;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.chip {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  padding: 8px 15px;
  border: 1px solid var(--line);
  border-radius: var(--radius-small);
  background: var(--surface);
  color: var(--sub);
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: color 160ms ease, background-color 160ms ease, border-color 160ms ease, transform 120ms ease;
}

.chip:hover {
  border-color: var(--muted);
  color: var(--ink);
}

.chip.on,
.chip[aria-pressed="true"] {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--surface);
}

.page-home .chips {
  align-items: center;
  gap: 4px 28px;
  margin-bottom: 22px;
}

.page-home .chips .chip {
  min-height: 44px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--muted);
  box-shadow: none;
  font-size: 14px;
  font-weight: 700;
  opacity: 1;
  transition: color 160ms ease;
}

.page-home .chips .chip:hover {
  border: 0;
  background: transparent;
  color: var(--ink);
}

.page-home .chips .chip.on,
.page-home .chips .chip[aria-pressed="true"] {
  border: 0;
  background: transparent;
  color: var(--point);
  box-shadow: none;
  font-weight: 900;
  transform: none;
}

.grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 30px 14px;
  align-items: start;
}

.card {
  display: flex;
  min-width: 0;
  flex-direction: column;
  overflow: visible;
  margin: -6px;
  padding: 6px;
  border: 0;
  border-radius: calc(var(--radius-small) + 4px);
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  text-align: left;
  transition: background-color 160ms ease;
}

.card:hover,
.card:focus-visible {
  background: var(--soft);
  box-shadow: none;
  transform: none;
}

.thumb {
  position: relative;
  display: flex;
  aspect-ratio: 9 / 16;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-radius: var(--radius-small);
  background: var(--soft);
  color: var(--sub);
}

.thumb-fallback {
  display: flex;
  flex-direction: column;
  gap: 5px;
  align-items: center;
  padding: 12px;
  font-size: 13px;
  font-weight: 700;
  text-align: center;
}

.thumb-fallback b {
  font-size: 15px;
  font-weight: 900;
  letter-spacing: -0.03em;
}

.thumb-fallback small {
  color: var(--sub);
  font-size: 12px;
  font-weight: 700;
}

.thumb-img {
  position: absolute;
  z-index: 1;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.card-body {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 10px 0 2px;
  text-align: left;
}

.card .catline,
.card .card-region {
  color: var(--point);
  font-size: 12px;
  font-weight: 800;
  line-height: 1.3;
}

.card .card-region {
  margin-left: 8px;
  color: var(--sub);
  font-weight: 600;
}

.card h3 {
  display: -webkit-box;
  margin-top: 5px;
  overflow: hidden;
  font-size: 15px;
  font-weight: 800;
  line-height: 1.34;
  letter-spacing: -0.025em;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.card .win {
  display: flex;
  min-width: 0;
  align-items: baseline;
  gap: 6px;
  margin-top: 7px;
  color: var(--sub);
  font-size: 13px;
  line-height: 1.4;
  text-align: left;
}

.card .win-label {
  flex: 0 0 auto;
  color: var(--point);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.02em;
  line-height: inherit;
}

.card .win b {
  display: -webkit-box;
  min-width: 0;
  overflow: hidden;
  color: var(--ink);
  font-weight: 700;
  line-height: inherit;
  white-space: normal;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.card .win-pending .win-label,
.card .win-pending b {
  color: var(--sub);
}

.card .foot {
  display: flex;
  align-items: baseline;
  justify-content: flex-start;
  gap: 6px;
  margin-top: 6px;
  color: var(--sub);
  font-size: 12px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  line-height: 1.45;
  text-align: left;
}

.card .foot span {
  display: inline;
}

.card .foot .metric-divider {
  color: var(--muted);
  font-weight: 400;
}

.more {
  margin-top: 30px;
  text-align: center;
}

.more a,
.more button {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  padding: 0 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius-small);
  background: var(--surface);
  color: var(--ink);
  font-size: 14px;
  font-weight: 800;
  cursor: pointer;
  transition: border-color 160ms ease, background-color 160ms ease, transform 120ms ease;
}

.more a:hover,
.more button:hover {
  border-color: var(--ink);
  background: var(--soft);
}

.page-home .more a {
  border: 0;
  background: #4545da;
  color: #f7f7fb;
}

.page-home .more a:hover {
  border: 0;
  background: #3838c3;
  color: #f7f7fb;
}

.empty {
  padding: 46px 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--sub);
  font-size: 15px;
  text-align: center;
}

.empty b {
  color: var(--ink);
}

.loading-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 30px 14px;
  padding: 24px 0 48px;
}

.loading-card {
  border: 0;
  border-radius: 0;
  background: transparent;
}

.loading-card::before {
  display: block;
  aspect-ratio: 9 / 16;
  border-radius: var(--radius-small);
  background: var(--soft);
  content: "";
}

.loading-card::after {
  display: block;
  width: 82%;
  height: 40px;
  margin-top: 10px;
  border-radius: 4px;
  background: var(--soft);
  content: "";
}

/* Catalog */
.page-all {
  background: var(--bg);
}

.page-all .catalog-head {
  padding-top: 42px;
  padding-bottom: 24px;
}

.catalog-toolbar {
  display: flex;
  align-items: flex-end;
  gap: 24px;
  margin-top: 28px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.catalog-toolbar .chips {
  flex: 1 1 auto;
  gap: 4px 24px;
  margin: 0;
}

.catalog-toolbar .chips .chip {
  min-height: 44px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--muted);
  box-shadow: none;
  font-size: 14px;
  font-weight: 700;
}

.catalog-toolbar .chips .chip:hover {
  border: 0;
  background: transparent;
  color: var(--ink);
}

.catalog-toolbar .chips .chip.on,
.catalog-toolbar .chips .chip[aria-pressed="true"] {
  border: 0;
  background: transparent;
  color: var(--point);
  box-shadow: none;
  font-weight: 900;
}

.catalog-toolbar .searchbar {
  display: flex;
  flex: 0 1 380px;
  gap: 0;
  margin: 0 0 0 auto;
}

.catalog-toolbar .searchbar input {
  min-width: 0;
  padding: 0 14px;
}

.catalog-toolbar .searchbar .btn {
  padding-inline: 20px;
}

.catalog-status {
  min-height: 22px;
  margin-top: 12px;
  color: var(--sub);
  font-size: 13px;
}

.page-all #body {
  padding-bottom: 36px;
}

.page-all .category-section {
  padding: 30px 0 8px;
}

.section-title-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 14px;
}

.section-title-row h2 {
  margin: 0;
  font-size: 22px;
  line-height: 1.35;
}

.section-title-row small {
  color: var(--sub);
  font-size: 13px;
  font-weight: 700;
}

.category-link {
  min-height: 44px;
  padding: 0 4px;
  border: 0;
  background: transparent;
  color: var(--point);
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
  text-decoration: none;
}

/* Board */
.page-board {
  display: flex;
  min-height: 100dvh;
  flex-direction: column;
  background: var(--bg);
}

.board-main {
  width: 100%;
  max-width: 1128px;
  flex: 1;
  padding-top: 38px;
  padding-bottom: 44px;
}

.page-board footer {
  margin-top: auto;
}

.board-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 26px;
}

.board-heading > div {
  min-width: 0;
}

.page-board .hint {
  max-width: 720px;
  margin: 8px 0 0;
  color: var(--sub);
  font-size: 15px;
  line-height: 1.65;
}

.board-heading .btn {
  flex: 0 0 auto;
  padding-inline: 18px;
}

.page-board .writebox,
.page-board .board-panel {
  scroll-margin-top: 96px;
}

.page-board .writebox {
  max-width: 820px;
  margin-bottom: 34px;
  padding: 24px 0 30px;
  border: 0;
  border-top: 1px solid var(--line);
  border-radius: 0;
  background: transparent;
}

.writebox-head {
  margin-bottom: 22px;
}

.writebox-head h2 {
  margin: 0;
  font-size: 20px;
  line-height: 1.4;
}

.writebox-head p {
  margin: 5px 0 0;
  color: var(--sub);
  font-size: 14px;
}

.request-field {
  margin-bottom: 18px;
}

.request-field-primary {
  max-width: 680px;
}

.request-field input,
.criteria-group input,
.cform input,
.board-search input {
  padding: 0 13px;
}

.field-label span[aria-hidden="true"] {
  color: var(--danger);
}

.field-optional {
  margin-left: 4px;
  color: var(--sub);
  font-size: 12px;
  font-weight: 600;
}

.field-help {
  margin: 6px 0 0;
  color: var(--sub);
  font-size: 12px;
  line-height: 1.55;
}

.criteria-group {
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

.criteria-group legend {
  color: var(--ink);
  font-size: 13px;
  font-weight: 800;
}

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

.criteria-grid label {
  min-width: 0;
}

.criteria-grid label > span {
  display: block;
  margin-bottom: 6px;
  color: var(--sub);
  font-size: 12px;
  font-weight: 700;
}

.write-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 24px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.write-actions .tip {
  margin: 0;
  color: var(--sub);
  font-size: 13px;
}

.write-actions .btn {
  flex: 0 0 auto;
  padding-inline: 20px;
}

.form-status {
  min-height: 20px;
  margin: 8px 0 0;
  color: var(--danger);
  font-size: 12px;
  line-height: 1.5;
}

.board-panel {
  border-top: 2px solid var(--ink);
  border-bottom: 1px solid var(--line);
  background: var(--surface);
}

.board-tools {
  display: flex;
  min-height: 62px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 0 14px;
  border-bottom: 1px solid var(--line);
}

.board-tabs {
  display: inline-flex;
  align-self: stretch;
  gap: 22px;
}

.board-tabs button {
  position: relative;
  min-width: 44px;
  min-height: 44px;
  padding: 0 2px;
  border: 0;
  background: transparent;
  color: var(--sub);
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
}

.board-tabs button::after {
  position: absolute;
  right: 0;
  bottom: -1px;
  left: 0;
  height: 2px;
  background: transparent;
  content: "";
}

.board-tabs button[aria-pressed="true"] {
  color: var(--ink);
  font-weight: 850;
}

.board-tabs button[aria-pressed="true"]::after {
  background: var(--point);
}

.board-search {
  width: min(260px, 34vw);
}

.board-search input {
  min-height: 44px;
  font-size: 13px;
}

.board-result {
  min-height: 38px;
  padding: 10px 14px 8px;
  border-bottom: 1px solid var(--line);
  color: var(--sub);
  font-size: 12px;
}

.board {
  border-top: 0;
}

.bhead,
.row-main {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr) 124px 96px 64px;
  gap: 14px;
  align-items: center;
}

.bhead {
  min-height: 40px;
  padding: 0 14px;
  border-bottom: 1px solid var(--line);
  background: var(--soft);
  color: var(--sub);
  font-size: 12px;
  font-weight: 800;
}

.post {
  border-bottom: 1px solid var(--line);
}

.post:last-child {
  border-bottom: 0;
}

.row-main {
  width: 100%;
  min-height: 52px;
  padding: 8px 14px;
  border: 0;
  background: var(--surface);
  color: var(--ink);
  text-align: left;
  cursor: pointer;
  transition: background-color 160ms ease;
}

.row-main:hover,
.row-main[aria-expanded="true"] {
  background: var(--soft);
}

.c-no,
.c-date,
.c-like {
  text-align: center;
}

.c-no,
.c-author,
.c-date {
  color: var(--sub);
  font-size: 12px;
}

.c-title,
.c-author {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.c-title {
  font-size: 14px;
  font-weight: 700;
}

.c-title .cnt {
  margin-left: 6px;
  color: var(--point);
  font-size: 12px;
  font-weight: 800;
}

.c-title .pick {
  display: inline;
  margin-right: 8px;
  padding: 0;
  border-radius: 0;
  background: transparent;
  color: var(--point);
  font-size: 12px;
  font-weight: 800;
}

.c-like {
  color: var(--ink);
  font-size: 13px;
  font-weight: 800;
}

.detail {
  display: none;
}

.post.open .detail {
  display: block;
}

.page-board .post .detail {
  padding: 24px 28px 28px;
  border-top: 1px solid var(--line);
  background: var(--surface);
}

.post.open > .row-main .pick,
.post.open > .row-main .cnt {
  display: none;
}

.detail .phead {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 18px;
}

.detail .phead .t {
  margin: 3px 0 0;
  font-size: 18px;
  font-weight: 850;
  line-height: 1.4;
}

.request-status {
  color: var(--point);
  font-size: 12px;
  font-weight: 800;
}

.request-context {
  display: grid;
  grid-template-columns: minmax(200px, .7fr) minmax(0, 1.3fr);
  gap: 24px;
  margin-bottom: 24px;
  padding: 16px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.request-source,
.request-criteria {
  min-width: 0;
}

.request-source > span,
.request-criteria > span {
  display: block;
  margin-bottom: 7px;
  color: var(--sub);
  font-size: 12px;
  font-weight: 800;
}

.request-source a {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  max-width: 100%;
  color: var(--point);
  font-size: 14px;
  font-weight: 750;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.request-criteria ol {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px 18px;
  margin: 0;
  padding-left: 20px;
}

.request-criteria li {
  padding-left: 2px;
  font-size: 14px;
}

.likebtn {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  padding: 0 4px;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--point);
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
  transition: color 160ms ease, transform 120ms ease;
}

.likebtn:hover {
  border-color: transparent;
  background: transparent;
  color: var(--point-hover);
}

.likebtn:disabled {
  border-color: transparent;
  color: var(--muted);
  background: transparent;
  cursor: default;
}

.recommendations {
  margin-top: 20px;
}

.recommend-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 9px;
  border-bottom: 1px solid var(--line);
}

.recommend-head h3 {
  margin: 0;
  font-size: 15px;
  line-height: 1.4;
}

.recommend-head span {
  color: var(--sub);
  font-size: 12px;
}

.recommend-list {
  background: transparent;
}

.cmt {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  margin: 0;
  padding: 14px 0;
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  background: transparent;
}

.cmt-content {
  min-width: 0;
}

.cmt .pname {
  display: block;
  font-size: 14px;
  font-weight: 800;
}

.cmt .pname a {
  color: var(--point);
}

.cmt-side {
  display: inline-flex;
  align-items: center;
  gap: 14px;
}

.cmt .who {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 1px;
  color: var(--sub);
  font-size: 12px;
}

.cmt .reason {
  margin-top: 5px;
  color: var(--sub);
  font-size: 13px;
}

.recommend-empty {
  margin: 0;
  padding: 24px 0;
  color: var(--sub);
  font-size: 13px;
  text-align: center;
}

.cform {
  margin-top: 28px;
  padding: 24px 0 0;
  border: 0;
  border-top: 1px solid var(--line);
  border-radius: 0;
  background: transparent;
}

.cform .hd {
  margin-bottom: 16px;
  font-size: 15px;
  font-weight: 850;
}

.cform .row {
  display: block;
  margin-bottom: 12px;
}

.resolve-st {
  min-height: 20px;
  margin: -3px 0 9px;
  color: var(--sub);
  font-size: 12px;
}

.resolve-st.ok {
  color: var(--point);
  font-weight: 700;
}

.cform-actions {
  display: flex;
  min-height: 44px;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.cform-actions .form-status {
  margin: 0;
}

.cform-actions .btn {
  flex: 0 0 auto;
  padding-inline: 18px;
}

.page-board .empty {
  min-height: 180px;
  padding: 64px 20px;
  color: var(--sub);
  font-size: 14px;
  text-align: center;
}

/* Community board */
.community-main {
  width: 100%;
  max-width: 1128px;
  flex: 1;
  padding-top: 34px;
  padding-bottom: 56px;
}

.community-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 24px;
}

.community-heading > div:first-child {
  min-width: 0;
}

.community-heading .hint {
  max-width: 680px;
}

.community-actions {
  display: inline-grid;
  grid-template-columns: repeat(2, max-content);
  gap: 8px;
  flex: 0 0 auto;
}

.community-action {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  padding: 0 16px;
  border: 1px solid var(--ink);
  border-radius: var(--radius-small);
  background: var(--ink);
  color: var(--surface);
  font-size: 14px;
  font-weight: 800;
  white-space: nowrap;
  transition: background-color 160ms ease, border-color 160ms ease, transform 120ms ease;
}

.community-action:hover {
  border-color: #30303a;
  background: #30303a;
}

.community-action[aria-current="page"] {
  border-color: var(--point);
  background: var(--point);
}

.community-action:active,
.request-text-action:active,
.discussion-item button:active,
.candidate-item button:active {
  transform: translateY(1px);
}

.compose-view {
  max-width: 820px;
  min-height: 520px;
  padding: 18px 0 32px;
  border-top: 2px solid var(--ink);
}

.community-back-link,
.request-back {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  color: var(--sub);
  font-size: 13px;
  font-weight: 750;
}

.community-back-link:hover,
.request-back:hover {
  color: var(--ink);
  /* deslop-ignore-next-line 09: 링크의 호버 affordance */
  text-decoration: underline;
  text-underline-offset: 4px;
}

.compose-heading {
  margin: 16px 0 26px;
}

.compose-heading h2 {
  margin: 0;
  font-size: 24px;
  line-height: 1.3;
  letter-spacing: -0.03em;
}

.compose-heading p {
  margin: 7px 0 0;
  color: var(--sub);
  font-size: 14px;
}

.community-form {
  max-width: 760px;
}

.community-form input,
.community-form select,
.community-form textarea,
.reply-form textarea {
  width: 100%;
  border: 1px solid #d2d2dc;
  border-radius: var(--radius-small);
  background: var(--surface);
  color: var(--ink);
}

.community-form input,
.community-form select {
  min-height: 46px;
  padding: 0 13px;
}

.community-form textarea,
.reply-form textarea {
  display: block;
  padding: 12px 13px;
  line-height: 1.65;
  resize: vertical;
}

.community-form input::placeholder,
.community-form textarea::placeholder,
.reply-form textarea::placeholder {
  color: #767684;
}

.community-form input:focus,
.community-form select:focus,
.community-form textarea:focus,
.reply-form textarea:focus {
  border-color: var(--point);
  outline: 3px solid rgba(69, 69, 218, 0.18);
  outline-offset: 1px;
}

.community-board {
  overflow: hidden;
}

.community-board .row-main {
  text-decoration: none;
}

.community-board .row-main:hover {
  background: #f4f4f8;
}

.community-board .c-title {
  display: flex;
  align-items: baseline;
  gap: 7px;
}

.thread-status {
  flex: 0 0 auto;
  color: var(--sub);
  font-size: 12px;
  font-weight: 800;
}

.thread-status[data-state="selected"] {
  color: var(--point);
}

.thread-title {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
}

.thread-title::after {
  margin-left: 7px;
  color: var(--muted);
  content: "›";
  font-size: 16px;
  font-weight: 500;
}

.thread-replies {
  flex: 0 0 auto;
  color: var(--point);
  font-size: 12px;
  font-weight: 800;
}

.thread-candidates {
  flex: 0 0 auto;
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
}

/* Community request detail */
.page-request {
  display: flex;
  min-height: 100dvh;
  flex-direction: column;
  background: var(--bg);
}

.page-request > footer {
  margin-top: auto;
}

.request-main {
  width: 100%;
  max-width: 1128px;
  flex: 1;
  padding-top: 18px;
  padding-bottom: 60px;
}

.request-loading,
.request-error {
  min-height: 420px;
  padding: 80px 0;
  color: var(--sub);
  font-size: 15px;
}

.request-error h1 {
  margin: 0;
  color: var(--ink);
  font-size: 24px;
  line-height: 1.35;
}

.request-error p {
  margin: 8px 0 22px;
}

.request-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 292px;
  column-gap: 44px;
  row-gap: 0;
  align-items: start;
}

.request-article {
  grid-column: 1;
  grid-row: 1;
  min-width: 0;
  border-top: 2px solid var(--ink);
  border-bottom: 1px solid var(--line);
  background: var(--surface);
}

.request-article-header {
  border-bottom: 1px solid var(--line);
}

.request-title-line {
  display: flex;
  align-items: baseline;
  gap: 10px;
  padding: 16px 18px;
  background: var(--soft);
}

.request-article-status {
  flex: 0 0 auto;
  color: var(--point);
  font-size: 12px;
  font-weight: 850;
}

.request-title-line h1 {
  min-width: 0;
  margin: 0;
  font-size: 22px;
  font-weight: 850;
  line-height: 1.35;
  letter-spacing: -0.03em;
}

.request-meta {
  display: flex;
  min-height: 46px;
  align-items: center;
  gap: 0;
  padding: 0 18px;
  color: var(--sub);
  font-size: 12px;
}

.request-meta > * {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
}

.request-meta > * + * {
  margin-left: 12px;
  padding-left: 12px;
  border-left: 1px solid var(--line);
}

.request-meta strong {
  color: var(--ink);
  font-size: 13px;
}

.request-post-content {
  min-height: 190px;
  padding: 30px 18px 36px;
}

.request-copy {
  max-width: 760px;
  color: var(--ink);
  font-size: 16px;
  line-height: 1.75;
  white-space: pre-wrap;
}

.request-reference,
.request-criteria-block {
  margin-top: 30px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.request-reference {
  display: grid;
  grid-template-columns: 90px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
}

.request-reference span,
.request-criteria-block h2 {
  margin: 0;
  color: var(--sub);
  font-size: 13px;
  font-weight: 800;
}

.request-reference a {
  overflow: hidden;
  color: var(--point);
  font-size: 14px;
  font-weight: 750;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.request-reference a:hover {
  /* deslop-ignore-next-line 09: 외부 링크의 호버 affordance */
  text-decoration: underline;
  text-underline-offset: 4px;
}

.request-criteria-block ol {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px 28px;
  margin: 12px 0 0;
  padding-left: 22px;
}

.request-criteria-block li {
  padding-left: 2px;
  font-size: 14px;
}

.request-article-actions {
  display: flex;
  min-height: 58px;
  align-items: center;
  gap: 18px;
  padding: 0 18px;
  border-top: 1px solid var(--line);
}

.request-text-action,
.discussion-item button,
.candidate-item button {
  min-width: 44px;
  min-height: 44px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--sub);
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
  transition: color 160ms ease, transform 120ms ease;
}

.request-text-action:hover,
.discussion-item button:hover,
.candidate-item button:hover {
  color: var(--point);
}

.request-text-action:disabled,
.discussion-item button:disabled,
.candidate-item button:disabled {
  color: var(--muted);
  cursor: default;
}

.request-article-actions .form-status {
  min-height: 0;
  margin: 0 0 0 auto;
}

.discussion {
  grid-column: 1;
  grid-row: 2;
  margin-top: 34px;
  border-top: 2px solid var(--ink);
}

.discussion-head {
  display: flex;
  min-height: 54px;
  align-items: center;
  border-bottom: 1px solid var(--line);
}

.discussion-head h2 {
  margin: 0;
  font-size: 17px;
  line-height: 1.4;
}

.discussion-head h2 span {
  color: var(--point);
  font-variant-numeric: tabular-nums;
}

.discussion-item {
  padding: 17px 2px 18px;
  border-bottom: 1px solid var(--line);
}

.discussion-item header {
  display: flex;
  min-height: 28px;
  align-items: center;
  gap: 10px;
}

.discussion-item header strong {
  font-size: 14px;
}

.discussion-item header time {
  color: var(--muted);
  font-size: 12px;
}

.discussion-item header button {
  margin-left: auto;
}

.discussion-item p {
  margin: 7px 0 0;
  color: var(--ink);
  font-size: 15px;
  line-height: 1.65;
  white-space: pre-wrap;
}

.discussion-empty,
.candidate-empty {
  margin: 0;
  padding: 34px 2px;
  color: var(--sub);
  font-size: 13px;
}

.login-gate {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius-small);
  background: var(--surface);
}

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border: 1px solid #d2d2dc;
  margin-right: 8px;
}

.reply-mod {
  background: transparent;
  border: none;
  color: var(--sub);
  font-size: 12px;
  cursor: pointer;
  padding: 2px 4px;
}

.reply-mod:hover {
  color: var(--ink);
  text-decoration: underline;
}

.vote {
  display: inline-flex;
  gap: 4px;
}

.vote button,
.reply-like {
  background: transparent;
  border: 1px solid #d2d2dc;
  border-radius: 5px;
  padding: 1px 6px;
  font-size: 11px;
  cursor: pointer;
  color: var(--sub);
}

.vote button:disabled,
.reply-like:disabled {
  cursor: default;
  opacity: 0.65;
}

.reply-like.voted {
  border-color: var(--point);
  color: var(--point);
}

.vote .vote-up.voted {
  border-color: var(--point);
  color: var(--point);
}

.vote .vote-down.voted {
  border-color: #d64545;
  color: #d64545;
}

.request-edit-form {
  margin-top: 20px;
}

.login-gate p {
  margin: 0;
  color: var(--sub);
  font-size: 14px;
}

.compose-switch {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 28px;
}

.compose-switch label {
  font-size: 14px;
  font-weight: 850;
}

.compose-switch select {
  flex: 1;
  max-width: 220px;
  min-height: 46px;
  padding: 0 13px;
  border: 1px solid #d2d2dc;
  border-radius: var(--radius-small);
  background: var(--surface);
  color: var(--ink);
  font: inherit;
}

.compose-switch + .reply-form,
.compose-switch + .reply-form + .reply-form {
  margin-top: 16px;
}

.reply-form input {
  width: 100%;
  min-height: 46px;
  padding: 0 13px;
  border: 1px solid #d2d2dc;
  border-radius: var(--radius-small);
  background: var(--surface);
  color: var(--ink);
}

.reply-form input:focus,
.compose-switch select:focus {
  border-color: var(--point);
  outline: 3px solid rgba(69, 69, 218, 0.18);
  outline-offset: 1px;
}

.reply-form input::placeholder {
  color: #767684;
}

.reply-form {
  margin-top: 24px;
}

.reply-form-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 8px;
}

.reply-form-head label {
  font-size: 14px;
  font-weight: 850;
}

.reply-form-head span {
  color: var(--sub);
  font-size: 12px;
}

.reply-form-actions {
  display: flex;
  min-height: 54px;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.reply-form-actions .form-status {
  margin: 0;
}

.reply-form-actions .btn {
  flex: 0 0 auto;
  padding-inline: 18px;
}

.candidate-rail {
  position: sticky;
  top: 88px;
  grid-column: 2;
  grid-row: 1 / span 2;
  min-width: 0;
  padding-left: 24px;
  border-left: 1px solid var(--line);
}

.candidate-rail-head {
  display: flex;
  min-height: 48px;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  border-bottom: 1px solid var(--line);
}

.candidate-rail-head h2 {
  margin: 0;
  font-size: 15px;
  line-height: 1.4;
}

.candidate-rail-head h2 span {
  color: var(--point);
  font-variant-numeric: tabular-nums;
}

.candidate-rail-head a {
  display: inline-flex;
  min-width: 44px;
  min-height: 44px;
  align-items: center;
  color: var(--point);
  font-size: 13px;
  font-weight: 800;
}

.candidate-rail-head a:hover {
  /* deslop-ignore-next-line 09: 후보 추가 링크의 호버 affordance */
  text-decoration: underline;
  text-underline-offset: 4px;
}

.candidate-item {
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}

.candidate-item h3 {
  margin: 0;
  font-size: 14px;
  line-height: 1.5;
}

.candidate-item h3 a {
  color: var(--point);
}

.candidate-item h3 a:hover {
  /* deslop-ignore-next-line 09: 제품 링크의 호버 affordance */
  text-decoration: underline;
  text-underline-offset: 3px;
}

.candidate-item p {
  margin: 5px 0 0;
  color: var(--sub);
  font-size: 13px;
  line-height: 1.6;
}

.candidate-item footer {
  display: flex;
  min-height: 36px;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 7px 0 0;
  padding: 0;
  border: 0;
  color: var(--muted);
  font-size: 11px;
}

/* Detail */
.page-detail {
  background: var(--bg);
}

.detail-main {
  width: min(100%, 1180px);
  max-width: 1180px;
  padding-top: 30px;
  padding-bottom: 44px;
}

.page-detail .detail {
  display: block;
  margin: 0;
  padding: 0;
  overflow: visible;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.detail-overview {
  display: grid;
  grid-template-columns: minmax(280px, 360px) minmax(0, 1fr);
  gap: 48px;
  align-items: start;
  padding: 36px 0 44px;
  border-bottom: 1px solid var(--line);
  scroll-margin-top: 134px;
}

.detail-media,
.decision-panel {
  min-width: 0;
}

.detail-media {
  scroll-margin-top: 134px;
}

.page-detail .embed {
  display: flex;
  width: 100%;
  max-height: 480px;
  aspect-ratio: 4 / 5;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-radius: var(--radius-small);
  background: var(--point-soft);
  color: var(--sub);
  font-size: 14px;
}

.page-detail .embed iframe,
.page-detail .video-poster {
  width: 100%;
  height: 100%;
  border: 0;
}

.page-detail .embed.is-empty {
  min-height: 300px;
  aspect-ratio: 4 / 3;
}

.page-detail .media-record {
  display: flex;
  flex-direction: column;
  gap: 6px;
  align-items: center;
  text-align: center;
}

.page-detail .media-record b {
  color: var(--point);
  font-size: 17px;
  font-weight: 900;
  letter-spacing: -0.03em;
}

.page-detail .media-record span {
  color: var(--sub);
  font-size: 13px;
  font-weight: 700;
}

.page-detail .video-poster {
  position: relative;
  display: block;
  overflow: hidden;
  background: #24242d;
  color: #f7f7fb;
  cursor: pointer;
}

.page-detail .video-poster img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.page-detail .video-poster span {
  position: absolute;
  right: 16px;
  bottom: 16px;
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  border-radius: var(--radius-small);
  background: var(--point);
  color: #f7f7fb;
  font-size: 14px;
  font-weight: 850;
}

.page-detail .video-poster:hover span {
  background: var(--point-hover);
}

.page-detail .catline {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
  color: var(--sub);
  font-size: 13px;
  font-weight: 800;
}

.page-detail .catline span + span {
  padding-left: 8px;
  border-left: 1px solid var(--line);
  color: var(--sub);
}

.decision-panel h1 {
  margin: 0;
  font-size: clamp(30px, 3vw, 38px);
  font-weight: 900;
  line-height: 1.28;
  letter-spacing: -0.045em;
}

.detail-deck {
  max-width: 720px;
  margin: 14px 0 0;
  color: var(--sub);
  font-size: 15px;
  line-height: 1.65;
}

.detail-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 28px;
  margin: 22px 0 0;
}

.detail-facts div {
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.detail-facts dt,
.detail-facts dd {
  margin: 0;
}

.detail-facts dt {
  color: var(--sub);
  font-size: 12px;
  font-weight: 700;
}

.detail-facts dd {
  color: var(--ink);
  font-size: 15px;
  font-weight: 850;
  font-variant-numeric: tabular-nums;
}

.decision-result {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 4px 16px;
  margin-top: 28px;
  padding: 20px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.decision-result > span {
  color: var(--sub);
  font-size: 12px;
  font-weight: 750;
}

.decision-result > b {
  color: var(--ink);
  font-size: 13px;
  font-weight: 900;
}

.decision-result > strong {
  grid-column: 1 / -1;
  font-size: 20px;
  line-height: 1.4;
  letter-spacing: -0.03em;
}

.decision-result > p {
  grid-column: 1 / -1;
  max-width: 720px;
  margin: 4px 0 0;
  color: var(--sub);
  font-size: 13px;
  line-height: 1.6;
}

.price-record {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}

.price-record > div {
  display: grid;
  gap: 2px;
}

.price-record span {
  color: var(--sub);
  font-size: 12px;
  font-weight: 750;
}

.price-record strong {
  color: var(--danger);
  font-size: 28px;
  font-weight: 900;
  line-height: 1.25;
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
}

.price-record strong.is-empty {
  color: var(--sub);
  font-size: 14px;
  font-weight: 700;
}

.price-record small {
  color: var(--sub);
  font-size: 11px;
}

.place-link {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  margin-top: 12px;
  color: var(--point);
  font-size: 13px;
  font-weight: 800;
}

.record-note {
  margin: 12px 0 0;
  color: var(--sub);
  font-size: 12px;
}

.detail-tabs {
  position: sticky;
  top: 64px;
  z-index: 5;
  display: flex;
  align-items: stretch;
  gap: 28px;
  min-height: 58px;
  padding: 0;
  overflow-x: auto;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--surface);
  scrollbar-width: none;
}

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

.detail-tabs a {
  position: relative;
  display: inline-flex;
  min-height: 56px;
  align-items: center;
  flex: 0 0 auto;
  color: var(--sub);
  font-size: 14px;
  font-weight: 750;
}

.detail-tabs a[aria-current="location"] {
  color: var(--ink);
  font-weight: 850;
}

.detail-tabs a[aria-current="location"]::after {
  position: absolute;
  right: 0;
  bottom: -1px;
  left: 0;
  height: 2px;
  background: var(--point);
  content: "";
}

.detail-tabs a:hover {
  color: var(--ink);
}

.detail-section {
  padding: 32px 0 38px;
  scroll-margin-top: 134px;
}

.detail-section-head {
  margin-bottom: 20px;
}

.detail-section-head h2 {
  margin: 0;
  font-size: 22px;
  line-height: 1.35;
  letter-spacing: -0.03em;
}

.detail-section-head p {
  max-width: 760px;
  margin: 7px 0 0;
  color: var(--sub);
  font-size: 13px;
  line-height: 1.6;
}

.page-detail .tblwrap {
  margin-top: 0;
  overflow-x: auto;
  border-top: 1px solid var(--line);
  background: var(--surface);
  -webkit-overflow-scrolling: touch;
}

.rank-tbl {
  width: 100%;
  min-width: 760px;
  margin: 0;
  overflow: visible;
  border-collapse: collapse;
  border-radius: 0;
  background: var(--surface);
}

.rank-tbl th {
  height: 44px;
  padding: 0 14px;
  border-bottom: 1px solid var(--line);
  background: var(--soft);
  color: var(--sub);
  font-size: 12px;
  font-weight: 800;
  text-align: left;
}

.rank-tbl td {
  padding: 17px 14px;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
  vertical-align: middle;
}

.rank-tbl tr:last-child td {
  border-bottom: 0;
}

.rk {
  width: 72px;
  color: var(--sub);
  font-size: 14px;
  font-variant-numeric: tabular-nums;
  font-weight: 900;
}

.rk.first {
  color: var(--ink);
}

.pname {
  font-size: 15px;
  font-weight: 850;
}

.review {
  max-width: 620px;
  margin-top: 5px;
  color: var(--sub);
  font-size: 13px;
  line-height: 1.6;
}

.price {
  min-width: 150px;
  font-weight: 850;
  white-space: nowrap;
}

.price strong {
  display: block;
  color: var(--danger);
  font-size: 17px;
  font-variant-numeric: tabular-nums;
}

.price > span {
  display: block;
  margin-top: 2px;
  color: var(--sub);
  font-size: 11px;
  font-weight: 600;
}

.price .price-empty {
  margin-top: 0;
  font-size: 13px;
  font-weight: 700;
}

.page-detail .buy {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  color: var(--point);
  font-size: 12px;
  font-weight: 800;
  white-space: nowrap;
  transition: background-color 160ms ease, transform 120ms ease;
}

.page-detail .buy:hover {
  border-color: var(--point);
  background: var(--point-soft);
}

.page-detail .buy-primary {
  border-color: var(--point);
  background: var(--point);
  color: #f7f7fb;
}

.page-detail .buy-primary:hover {
  border-color: var(--point-hover);
  background: var(--point-hover);
}

.page-detail .buy.off {
  border-color: var(--line);
  background: var(--soft);
  color: var(--sub);
}

.page-detail .more {
  margin-top: 14px;
  text-align: center;
}

.page-detail .more button,
.page-detail .more a {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  padding: 0 14px;
  border: 0;
  background: transparent;
  color: var(--point);
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
}

.detail-origin {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 20px;
  padding: 20px 0 24px;
  border-top: 1px solid var(--line);
  background: transparent;
}

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

.detail-origin span {
  color: var(--sub);
  font-size: 12px;
  text-align: right;
}

.comparison-empty {
  min-height: 180px;
  padding: 64px 20px;
  color: var(--sub);
  text-align: center;
}

.detail-loading {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 48px;
  min-height: 620px;
  padding: 36px 0;
}

.detail-loading::before,
.detail-loading::after {
  content: "";
  border-radius: var(--radius-small);
  background: var(--soft);
}

/* Privacy */
.page-privacy {
  background: var(--bg);
}

.privacy-main {
  max-width: 820px;
  padding-top: 46px;
  padding-bottom: 64px;
}

.privacy-main h1 {
  margin: 0;
  font-size: clamp(28px, 3vw, 36px);
  line-height: 1.3;
  letter-spacing: -0.04em;
}

.privacy-main .updated {
  margin: 8px 0 30px;
  color: var(--sub);
  font-size: 13px;
}

.privacy-main h2 {
  margin: 34px 0 9px;
  font-size: 19px;
  line-height: 1.45;
}

.privacy-main p,
.privacy-main li {
  font-size: 16px;
  line-height: 1.7;
}

.privacy-main ul {
  padding-left: 20px;
}

.privacy-main table {
  width: 100%;
  margin: 12px 0;
  border-collapse: separate;
  border-spacing: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-small);
  font-size: 14px;
}

.privacy-main th,
.privacy-main td {
  padding: 11px 12px;
  border: 0;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.privacy-main th {
  background: var(--soft);
  font-weight: 800;
}

.privacy-main tr:last-child td {
  border-bottom: 0;
}

/* Footer */
footer {
  margin-top: 0;
  padding: 34px 0 44px;
  border-top: 1px solid var(--line);
  background: var(--bg);
  color: var(--sub);
  font-size: 13px;
}

.safeline {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin-bottom: 20px;
  padding: 0;
  border-radius: 0;
  background: transparent;
  color: var(--sub);
}

.safeline b {
  flex: 0 0 auto;
  color: var(--ink);
}

.affiliate {
  max-width: 960px;
}

.footer-meta {
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  gap: 18px;
  min-height: 44px;
  margin-top: 13px;
  color: var(--muted);
  font-size: 12px;
}

.footer-meta span {
  flex: 0 0 auto;
}

.footer-meta a {
  display: inline-flex;
  flex: 0 0 auto;
  min-height: 44px;
  margin-left: auto;
  align-items: center;
  color: var(--sub);
  /* deslop-ignore-next-line 09 */
  text-decoration: underline;
  text-underline-offset: 3px;
}

@media (max-width: 680px) {
  .footer-meta {
    flex-wrap: wrap;
    gap: 4px 14px;
  }

  .footer-meta a {
    width: 100%;
    margin-left: 0;
    justify-content: flex-end;
  }
}

.copyright {
  margin-top: 13px;
  color: var(--sub);
}

@media (prefers-color-scheme: dark) {
  :root {
    --ink: #f2f2f6;
    --sub: #ababba;
    --muted: #8d8d9c;
    --line: #33333d;
    --bg: #15151a;
    --surface: #1d1d23;
    --soft: #24242c;
    --point: #8b8bff;
    --point-hover: #a0a0ff;
    --point-soft: #292948;
    --danger: #ff8a80;
    --shadow: 0 14px 38px rgba(0, 0, 0, 0.28);
    --header-bg: rgba(21, 21, 26, 0.9);
  }

  .nav-link.nav-cta,
  .btn,
  .buy {
    color: #15151a;
  }

  .c-title .pick {
    color: var(--point);
  }

  .nav-link.nav-cta:hover,
  .nav-link.nav-cta[aria-current="page"] {
    color: #15151a;
  }

  .chip.on,
  .chip[aria-pressed="true"] {
    border-color: #f2f2f6;
    background: #f2f2f6;
    color: #15151a;
  }

  .page-home main > section:not(.hero) {
    background: var(--bg);
  }
}

@media (max-width: 1100px) {
  .grid,
  .loading-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
}

@media (max-width: 880px) {
  .grid,
  .loading-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .catalog-toolbar {
    align-items: stretch;
    flex-direction: column-reverse;
  }

  .catalog-toolbar .searchbar {
    width: 100%;
    flex-basis: auto;
  }

  .detail-overview {
    grid-template-columns: minmax(230px, 290px) minmax(0, 1fr);
    gap: 32px;
    padding: 28px 0 36px;
  }

  .bhead,
  .row-main {
    grid-template-columns: 52px minmax(0, 1fr) 96px 60px;
  }

  .bhead .c-date,
  .row-main .c-date {
    display: none;
  }
}

@media (max-width: 680px) {
  .wrap {
    padding-inline: 16px;
  }

  .site-header .wrap {
    padding-inline: 16px;
  }

  body.dbgl-nav-open {
    overflow: hidden;
  }

  .site-header .bar {
    display: flex;
    min-height: 64px;
    gap: 12px;
    padding-block: 0;
  }

  .site-header .bar > .logo {
    font-size: 18px;
  }

  .mobile-menu-toggle {
    display: inline-flex;
    margin-left: auto;
  }

  .site-nav-panel {
    position: fixed;
    inset: 0;
    z-index: 120;
    display: flex;
    min-height: 100dvh;
    padding: 0 20px max(24px, env(safe-area-inset-bottom));
    flex-direction: column;
    overflow-y: auto;
    overscroll-behavior: contain;
    background: var(--surface);
    visibility: hidden;
    pointer-events: none;
    transform: translateX(100%);
    transition: transform 240ms cubic-bezier(0.2, 0.8, 0.2, 1), visibility 0s linear 240ms;
  }

  .site-nav-panel[data-open="true"] {
    visibility: visible;
    pointer-events: auto;
    transform: translateX(0);
    transition-delay: 0s;
  }

  .mobile-nav-head {
    display: flex;
    min-height: 64px;
    align-items: center;
    justify-content: space-between;
    flex: 0 0 auto;
    border-bottom: 1px solid var(--line);
  }

  .mobile-nav-head .logo {
    font-size: 18px;
  }

  .mobile-menu-close {
    display: inline-flex;
  }

  .site-nav-panel .site-nav-center {
    position: static;
    display: flex;
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    transform: none;
  }

  .site-nav-panel .site-nav-center .nav-link {
    min-height: 68px;
    justify-content: flex-start;
    padding: 0;
    border-bottom: 1px solid var(--line);
    border-radius: 0;
    color: var(--ink);
    font-size: 24px;
    font-weight: 800;
    letter-spacing: -0.035em;
  }

  .site-nav-panel .site-nav-center .nav-link:hover {
    background: transparent;
    color: var(--point);
  }

  .site-nav-panel .site-nav-center .nav-link[aria-current] {
    color: var(--point);
  }

  .site-nav-panel .site-nav-right {
    display: flex;
    width: 100%;
    margin: auto 0 0;
    padding-top: 24px;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }

  .site-nav-panel #authslot {
    display: flex;
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }

  .site-nav-panel #authslot .dbgl-login {
    width: 100%;
    min-height: 52px;
    justify-content: flex-start;
    padding: 0;
    border-bottom: 1px solid var(--line);
    border-radius: 0;
    color: var(--ink);
    font-size: 16px;
  }

  .site-nav-panel #authslot .dbgl-member-nav,
  .site-nav-panel #authslot .dbgl-profile {
    width: 100%;
  }

  .site-nav-panel #authslot .dbgl-profile-trigger {
    width: 100%;
    min-height: 54px;
    justify-content: flex-start;
    padding: 0;
    border-radius: 0;
    background: transparent;
    font-size: 16px;
  }

  .site-nav-panel #authslot .dbgl-profile-name {
    max-width: none;
  }

  .site-nav-panel #authslot .dbgl-profile-menu {
    position: static;
    width: 100%;
    padding: 8px 0 0;
    border: 0;
    border-top: 1px solid var(--line);
    border-radius: 0;
    background: transparent;
    box-shadow: none;
  }

  .site-nav-panel #authslot .dbgl-profile-meta,
  .site-nav-panel #authslot .dbgl-profile-edit {
    padding-inline: 0;
  }

  .site-nav-panel #authslot .dbgl-menu-edit,
  .site-nav-panel #authslot .dbgl-menu-signout {
    padding-inline: 0;
  }

  .site-nav-panel .site-nav-right > .nav-cta {
    width: 100%;
    min-height: 52px;
    margin-top: 16px;
    padding-inline: 20px;
    font-size: 15px;
  }

  .nav-link {
    min-height: 44px;
    padding-inline: 10px;
    font-size: 13px;
  }

  .page-home .hero {
    height: auto;
    min-height: 590px;
  }

  .page-home .hero h1 {
    font-size: 33px;
    line-height: 1.3;
  }

  .page-home .stats {
    gap: 22px;
    margin-top: 24px;
  }

  .page-home .stat b {
    font-size: 32px;
  }

  .page-home .stat span {
    font-size: 12px;
  }

  .page-home .searchwrap {
    margin-top: 30px;
  }

  .page-home .searchbar {
    align-items: stretch;
    padding: 6px;
  }

  .page-home .searchbar input {
    min-height: 50px;
    padding-left: 2px;
    font-size: 14px;
  }

  .page-home .search-icon {
    margin-left: 11px;
  }

  .page-home .hero-actions {
    align-items: stretch;
  }

  .page-home .hero-action-primary {
    width: 100%;
  }

  .page-home > section:not(.hero) {
    padding: 42px 0 54px;
  }

  .grid,
  .loading-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .catalog-toolbar {
    margin-top: 22px;
    padding: 0;
  }

  .catalog-toolbar .searchbar {
    flex-direction: row;
  }

  .page-all .catalog-head,
  .board-main {
    padding-top: 30px;
  }

  .board-heading {
    align-items: flex-start;
  }

  .board-heading .btn {
    min-width: 120px;
  }

  .board-panel {
    margin-inline: -16px;
  }

  .board-tools {
    align-items: stretch;
    flex-direction: column;
    gap: 0;
    padding: 0 16px 14px;
  }

  .board-tabs {
    width: 100%;
    min-height: 50px;
    justify-content: flex-start;
  }

  .board-search {
    width: 100%;
  }

  .board-result {
    padding-inline: 16px;
  }

  .bhead,
  .row-main {
    grid-template-columns: minmax(0, 1fr) 52px;
  }

  .bhead .c-no,
  .bhead .c-author,
  .bhead .c-date,
  .row-main .c-no,
  .row-main .c-author,
  .row-main .c-date {
    display: none;
  }

  .row-main {
    min-height: 64px;
    padding-inline: 16px;
  }

  .page-board .post .detail {
    padding: 18px 16px 24px;
  }

  .request-context {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .request-criteria ol {
    grid-template-columns: 1fr;
  }

  .detail .phead {
    align-items: flex-start;
    flex-direction: column;
  }

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

  .write-actions {
    align-items: stretch;
    flex-direction: column;
    gap: 12px;
  }

  .write-actions .btn {
    width: 100%;
  }

  .cmt {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 12px;
  }

  .cmt-side {
    align-items: flex-end;
    flex-direction: column;
    justify-content: center;
    gap: 4px;
  }

  .cmt .who {
    align-items: flex-end;
  }

  .cform-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .cform-actions .btn {
    width: 100%;
  }

  .page-board .writebox,
  .page-board .board-panel {
    scroll-margin-top: 132px;
  }

  .page-detail .detail-main {
    padding-top: 18px;
  }

  .page-detail .detail {
    padding: 0;
  }

  .detail-overview {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 18px 0 26px;
  }

  .page-detail .embed {
    width: 100%;
    max-height: none;
    aspect-ratio: 16 / 9;
    margin-inline: auto;
  }

  .decision-panel h1 {
    font-size: 28px;
  }

  .price-record {
    align-items: stretch;
    flex-direction: column;
    gap: 14px;
  }

  .page-detail .buy-primary {
    width: 100%;
  }

  .detail-tabs {
    top: 114px;
    gap: 22px;
    padding-inline: 0;
  }

  .detail-section {
    padding: 26px 0 30px;
    scroll-margin-top: 184px;
  }

  .detail-overview,
  .detail-media {
    scroll-margin-top: 184px;
  }

  .detail-origin {
    align-items: flex-start;
    flex-direction: column;
    gap: 5px;
    padding: 18px 0;
  }

  .detail-origin span {
    text-align: left;
  }

  .detail-loading {
    grid-template-columns: 1fr;
    min-height: 620px;
    padding: 18px 0;
  }

  .rank-tbl th,
  .rank-tbl td {
    padding: 11px 9px;
  }

  .page-detail .tblwrap {
    overflow: visible;
  }

  .rank-tbl {
    display: block;
    min-width: 0;
  }

  .rank-tbl thead {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    overflow: hidden;
    border: 0;
    margin: -1px;
    clip: rect(0 0 0 0);
    white-space: nowrap;
  }

  .rank-tbl tbody {
    display: block;
  }

  .rank-tbl tbody[hidden] {
    display: none;
  }

  .rank-tbl tr {
    display: grid;
    grid-template-areas:
      "rank product product"
      "rank price action";
    grid-template-columns: 46px minmax(0, 1fr) auto;
    gap: 12px 8px;
    align-items: center;
    padding: 16px 0;
    border-bottom: 1px solid var(--line);
  }

  .rank-tbl tbody:last-of-type tr:last-child {
    border-bottom: 0;
  }

  .rank-tbl td {
    min-width: 0;
    padding: 0;
    border-bottom: 0;
  }

  .rank-tbl .rk {
    grid-area: rank;
    width: auto;
    padding-left: 9px;
  }

  .rank-tbl td:nth-child(2) {
    grid-area: product;
    padding-right: 9px;
  }

  .rank-tbl .price {
    grid-area: price;
  }

  .rank-tbl td:nth-child(4) {
    grid-area: action;
    padding-right: 9px;
  }

  .review {
    max-width: 520px;
  }

  .privacy-main {
    padding-top: 34px;
  }

  .privacy-main table {
    display: block;
    overflow-x: auto;
  }

  .safeline {
    flex-direction: column;
    gap: 4px;
  }
}

@media (max-width: 900px) {
  .request-layout {
    grid-template-columns: 1fr;
    row-gap: 34px;
  }

  .request-article {
    grid-column: 1;
    grid-row: 1;
  }

  .candidate-rail {
    position: static;
    grid-column: 1;
    grid-row: 2;
    padding-top: 10px;
    padding-left: 0;
    border-top: 2px solid var(--ink);
    border-left: 0;
  }

  .discussion {
    grid-column: 1;
    grid-row: 3;
    margin-top: 0;
  }
}

@media (max-width: 680px) {
  .community-main {
    padding-top: 26px;
    padding-bottom: 44px;
  }

  .community-heading {
    align-items: stretch;
    flex-direction: column;
    gap: 18px;
    margin-bottom: 20px;
  }

  .community-actions {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 100%;
  }

  .community-action {
    width: 100%;
    padding-inline: 10px;
  }

  .compose-view {
    min-height: 460px;
    padding-bottom: 12px;
  }

  .compose-heading {
    margin-top: 12px;
  }

  .compose-heading h2 {
    font-size: 22px;
  }

  .community-board .c-title {
    gap: 6px;
  }

  .community-board .thread-candidates {
    display: none;
  }

  .community-board .thread-status,
  .community-board .thread-replies {
    font-size: 11px;
  }

  .request-main {
    padding-top: 10px;
    padding-bottom: 48px;
  }

  .request-back {
    margin-bottom: 2px;
  }

  .request-title-line {
    align-items: flex-start;
    flex-direction: column;
    gap: 5px;
    padding: 14px 16px;
  }

  .request-title-line h1 {
    font-size: 20px;
  }

  .request-meta {
    min-height: 0;
    flex-wrap: wrap;
    row-gap: 2px;
    padding: 10px 16px;
  }

  .request-meta > * + * {
    margin-left: 10px;
    padding-left: 10px;
  }

  .request-post-content {
    min-height: 160px;
    padding: 24px 16px 30px;
  }

  .request-copy {
    line-height: 1.7;
  }

  .request-reference {
    grid-template-columns: 1fr;
    gap: 5px;
  }

  .request-criteria-block ol {
    grid-template-columns: 1fr;
    gap: 7px;
  }

  .request-article-actions {
    flex-wrap: wrap;
    gap: 14px;
    padding-inline: 16px;
  }

  .request-article-actions .form-status {
    width: 100%;
    margin: -8px 0 12px;
  }

  .discussion {
    margin-top: 0;
  }

  .discussion-item {
    padding-block: 15px;
  }

  .reply-form-actions {
    align-items: stretch;
    flex-direction: column;
    gap: 8px;
    padding-top: 10px;
  }

  .reply-form-actions .btn {
    width: 100%;
  }

  .candidate-rail {
    padding-top: 4px;
  }
}

@media (max-width: 430px) {
  .page-home .hero h1 {
    font-size: 30px;
  }

  .page-home .stats {
    justify-content: space-between;
    gap: 10px;
  }

  .page-home .stat b {
    font-size: 28px;
  }

  .board-heading {
    align-items: stretch;
    flex-direction: column;
    gap: 16px;
  }

  .board-heading .btn {
    width: 100%;
  }

}

@media (max-width: 520px) {
  .grid,
  .loading-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-home .sb-blob {
    will-change: auto;
  }

  .site-nav-panel {
    transition-duration: 0.01ms;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
