/* ================= OPEN DNA ================= */

.od-app {
  --od-bg: #f6f6fb;
  --od-bg-soft: #eeecf7;
  --od-panel: #ffffff;
  --od-border: #e9e7f3;
  --od-ink: #201d33;
  --od-ink-soft: #8b879c;
  --od-purple: #6d4de6;
  --od-purple-2: #8f6bff;
  --od-blue: #3aa0ff;
  --od-green: #2fae66;
  --od-orange: #e08a3c;
  --od-gray: #9aa0ab;
  --od-active-bg: #efeaff;
  --od-radius: 22px;
  --od-shadow: 0 12px 34px rgba(43, 32, 92, 0.07);

  min-height: 100vh;
  background: var(--od-bg);
  color: var(--od-ink);
  font-family: 'Noto Sans KR', sans-serif;
}

.od-app a, .od-app button, .od-app select { font-family: inherit; color: inherit; }

/* ---------- Top bar ---------- */
.od-topbar {
  display: flex;
  align-items: center;
  gap: 30px;
  padding: 16px 40px;
  background: var(--od-panel);
  border-bottom: 1px solid var(--od-border);
  position: sticky;
  top: 0;
  z-index: 10;
}

.od-back-home {
  display: flex; align-items: center; gap: 6px;
  font-size: 12px; font-weight: 700; color: var(--od-ink-soft);
  text-decoration: none; flex-shrink: 0;
  padding-right: 16px; margin-right: 6px; border-right: 1px solid var(--od-border);
}
.od-back-home svg { width: 13px; height: 13px; }
.od-back-home:hover { color: var(--od-ink); }

.od-logo { display: flex; align-items: center; gap: 9px; text-decoration: none; flex-shrink: 0; }
.od-logo svg.mark { width: 30px; height: 30px; }
.od-logo .name { font-size: 16px; font-weight: 800; letter-spacing: 0.2px; color: var(--od-ink); }

.od-nav { display: flex; gap: 26px; flex-shrink: 0; }
.od-nav a {
  position: relative;
  font-size: 14px; font-weight: 700; color: var(--od-ink-soft);
  text-decoration: none; padding-bottom: 4px; border-bottom: 2px solid transparent;
  transition: color 0.2s;
}
.od-nav a.active { color: var(--od-purple); border-color: var(--od-purple); }
.od-nav a:hover:not(.active) { color: var(--od-ink); }

.od-search {
  flex: 1; max-width: 520px;
  display: flex; align-items: center; gap: 10px;
  background: var(--od-bg); border-radius: 999px; padding: 10px 18px;
  color: var(--od-ink-soft);
}
.od-search svg { width: 15px; height: 15px; flex-shrink: 0; }
.od-search input { border: none; background: none; outline: none; font-size: 13px; flex: 1; color: var(--od-ink); }
.od-search input::placeholder { color: var(--od-ink-soft); }

.od-top-actions { display: flex; align-items: center; gap: 12px; margin-left: auto; flex-shrink: 0; }
.od-icon-btn {
  position: relative; width: 38px; height: 38px; border-radius: 50%;
  background: var(--od-bg); border: none; display: flex; align-items: center; justify-content: center; cursor: pointer;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.od-icon-btn svg { width: 16px; height: 16px; color: var(--od-ink-soft); }
.od-icon-btn:hover { box-shadow: 0 0 14px rgba(143,107,255,0.35); }
.od-icon-btn .dot {
  position: absolute; top: 8px; right: 9px;
  width: 7px; height: 7px; border-radius: 50%;
  background: #ff5470; border: 1.5px solid var(--od-panel);
}
.od-avatar-chip { display: flex; align-items: center; gap: 6px; cursor: pointer; }
.od-avatar-chip .av { width: 32px; height: 32px; border-radius: 50%; background: #6b5541; display: flex; align-items: center; justify-content: center; }
.od-avatar-chip .av svg { width: 18px; height: 18px; }
.od-avatar-chip svg.chev { width: 13px; height: 13px; color: var(--od-ink-soft); }

/* ---------- Dark theme (toggle, shared across OPEN DNA / CREW MATCH / IP
   DETAIL) — html[data-theme="dark"] is set by an inline script in <head>
   from a shared localStorage setting, before first paint. Reuses the same
   variable names as the light defaults above, so every component styled
   with var(--od-*) re-themes automatically; only the handful of spots
   below with genuinely hardcoded colors need their own override. */
html[data-theme="dark"] .od-app {
  --od-bg: #0d0b14;
  --od-bg-soft: #17131f;
  --od-panel: #1a1625;
  --od-border: rgba(255,255,255,0.1);
  --od-ink: #f5f4f7;
  --od-ink-soft: #9c96ab;
  --od-purple: #8f6bff;
  --od-purple-2: #b98cff;
  --od-blue: #4fb0ff;
  --od-green: #3ddc84;
  --od-orange: #ffb454;
  --od-gray: #9c96ab;
  --od-active-bg: rgba(143,107,255,0.18);
  --od-shadow: 0 12px 34px rgba(0, 0, 0, 0.45);
}
html[data-theme="dark"] .od-topbar {
  background: linear-gradient(120deg, #0d0b14, #15111f);
  border-bottom: none;
}
html[data-theme="dark"] .od-topbar::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -1px;
  height: 1px;
  background: linear-gradient(90deg, transparent, #b98cff, #ff9a3c, transparent);
  opacity: 0.55;
}
html[data-theme="dark"] .od-nav a.active { color: #fff; border-color: transparent; }
html[data-theme="dark"] .od-nav a.active::after,
html[data-theme="dark"] .od-nav a:hover::after {
  content: "";
  position: absolute; left: 0; right: 0; bottom: -2px;
  height: 2px; border-radius: 2px;
  background: linear-gradient(90deg, #b98cff, #ff9a3c);
}
html[data-theme="dark"] .od-nav a:hover:not(.active) { color: #fff; }
html[data-theme="dark"] .od-logo svg.mark { filter: drop-shadow(0 0 8px rgba(143,107,255,0.55)); }
html[data-theme="dark"] .od-hero-deco { background: rgba(255,255,255,0.1); }
html[data-theme="dark"] .od-legend-item.seed .od-legend-dot { background: rgba(156,150,171,0.18); }
html[data-theme="dark"] .od-legend-item.rising .od-legend-dot { background: rgba(61,220,132,0.16); }
html[data-theme="dark"] .od-legend-item.joinable .od-legend-dot,
html[data-theme="dark"] .od-legend-item.challenge .od-legend-dot { background: rgba(255,180,84,0.16); }
html[data-theme="dark"] .od-legend-item.official .od-legend-dot { background: rgba(79,176,255,0.16); }
html[data-theme="dark"] .od-info-panel { background: linear-gradient(160deg, rgba(143,107,255,0.16), rgba(143,107,255,0.05)); }

/* ---------- Main ---------- */
.od-main { max-width: 1400px; margin: 0 auto; padding: 0 40px 60px; }

/* Hero */
.od-hero {
  display: flex; align-items: center; justify-content: space-between; gap: 30px;
  padding: 36px 0 30px; flex-wrap: wrap;
}
.od-hero-left { display: flex; gap: 18px; align-items: flex-start; }
.od-hero-icon {
  width: 56px; height: 56px; border-radius: 16px; background: var(--od-active-bg);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.od-hero-icon svg { width: 27px; height: 27px; color: var(--od-purple); }
.od-hero-left h1 { font-size: clamp(30px, 3.6vw, 44px); font-weight: 800; }
.od-hero-left p { color: var(--od-ink-soft); font-size: 14px; margin-top: 6px; }

.od-hero-stats { display: flex; gap: 14px; margin-top: 14px; flex-wrap: wrap; }
.od-hero-stats .stat { font-size: 12.5px; font-weight: 700; color: var(--od-ink-soft); }
.od-hero-stats .stat b { color: var(--od-purple); font-weight: 800; }

.od-hero-cta {
  display: inline-flex; align-items: center; gap: 8px; margin-top: 16px;
  padding: 11px 20px; border-radius: 999px; border: none; cursor: pointer;
  background: linear-gradient(90deg, var(--od-purple), var(--od-purple-2));
  color: #fff; font-size: 13px; font-weight: 800; font-family: inherit;
  box-shadow: 0 12px 26px rgba(109, 77, 230, 0.28);
}
.od-hero-cta svg { width: 15px; height: 15px; }

.od-hero-art { position: relative; width: 320px; height: 180px; flex-shrink: 0; }
.od-hero-sphere {
  position: absolute; right: 10px; top: 0; width: 190px; height: 190px; border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, rgba(255,255,255,0.65), rgba(124,79,255,0.12) 55%, rgba(124,79,255,0.04) 75%);
  border: 1px solid rgba(124,79,255,0.25);
  display: flex; align-items: center; justify-content: center;
}
.od-hero-sphere svg { width: 92px; height: 92px; }
.od-hero-cube {
  position: absolute; left: 6px; bottom: 10px; width: 78px; height: 78px; border-radius: 18px;
  background: linear-gradient(150deg, var(--od-purple), var(--od-purple-2));
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-weight: 800; font-size: 12px; letter-spacing: 0.5px;
  box-shadow: 0 16px 30px rgba(109,77,230,0.35);
  transform: rotate(-6deg);
}
.od-hero-deco { position: absolute; border-radius: 8px; background: rgba(255,255,255,0.8); border: 1px solid var(--od-border); box-shadow: var(--od-shadow); }
.od-hero-deco.d1 { width: 30px; height: 30px; left: 90px; top: 4px; transform: rotate(18deg); }
.od-hero-deco.d2 { width: 22px; height: 22px; right: 0; top: 60px; transform: rotate(-14deg); border-radius: 50%; }
.od-hero-deco.d3 { width: 26px; height: 26px; left: 0; top: 96px; transform: rotate(10deg); }

/* Filter row */
.od-filter-row { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin-bottom: 28px; }
.od-tabs { display: flex; gap: 4px; background: var(--od-panel); border: 1px solid var(--od-border); padding: 5px; border-radius: 999px; box-shadow: var(--od-shadow); }
.od-tab { padding: 9px 16px; border-radius: 999px; font-size: 12.5px; font-weight: 700; color: var(--od-ink-soft); border: none; background: none; cursor: pointer; }
.od-tab.active { background: var(--od-purple); color: #fff; }
.od-tab.disabled { opacity: 0.45; cursor: not-allowed; }
.od-tab.disabled:hover { opacity: 0.6; }

.od-tab-note {
  display: none; align-items: center; gap: 8px;
  font-size: 12px; font-weight: 600; color: var(--od-purple);
  background: var(--od-active-bg); border-radius: 10px;
  padding: 10px 14px; margin: -14px 0 24px; width: fit-content;
}
.od-tab-note.show { display: flex; }

.od-legend { display: flex; align-items: center; gap: 18px; padding-left: 16px; border-left: 1px solid var(--od-border); flex-wrap: wrap; }
.od-legend-item { display: flex; align-items: center; gap: 7px; }
.od-legend-dot { width: 20px; height: 20px; border-radius: 50%; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.od-legend-dot svg { width: 11px; height: 11px; }
.od-legend-item.seed .od-legend-dot { background: #eef0f3; color: var(--od-gray); }
.od-legend-item.rising .od-legend-dot { background: #e6f7ee; color: var(--od-green); }
.od-legend-item.joinable .od-legend-dot { background: #fdf1e4; color: var(--od-orange); }
.od-legend-item.challenge .od-legend-dot { background: #fdf1e4; color: var(--od-orange); }
.od-legend-item.official .od-legend-dot { background: #e7f3ff; color: var(--od-blue); }
.od-legend-item .name { font-size: 11.5px; font-weight: 800; line-height: 1.2; }
.od-legend-item .desc { font-size: 10px; color: var(--od-ink-soft); line-height: 1.2; }

.od-sort { margin-left: auto; position: relative; }
.od-sort select {
  appearance: none; padding: 10px 34px 10px 16px; border-radius: 999px;
  border: 1px solid var(--od-border); background: var(--od-panel);
  font-size: 12.5px; font-weight: 700; cursor: pointer; box-shadow: var(--od-shadow);
}
.od-sort svg { position: absolute; right: 14px; top: 50%; transform: translateY(-50%); width: 12px; height: 12px; color: var(--od-ink-soft); pointer-events: none; }

/* Section head */
.od-section-head { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 18px; flex-wrap: wrap; gap: 10px; }
.od-section-title { display: flex; align-items: center; gap: 10px; }
.od-section-title .ic { width: 34px; height: 34px; border-radius: 10px; background: var(--od-active-bg); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.od-section-title .ic svg { width: 16px; height: 16px; color: var(--od-purple); }
.od-section-title .t { font-size: 16.5px; font-weight: 800; }
.od-section-title .s { font-size: 11.5px; color: var(--od-ink-soft); margin-top: 2px; }
.od-view-more { font-size: 12.5px; font-weight: 700; color: var(--od-ink-soft); text-decoration: none; white-space: nowrap; }

/* Mock selection slot — stands in for an option that isn't wired to a real
   detail page yet, so browsing doesn't imply every card leads somewhere. */
.mock-slot {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 8px; min-height: 100%; padding: 40px 24px;
  border: 1.5px dashed var(--od-border); border-radius: var(--od-radius);
  background: var(--od-bg); color: var(--od-ink-soft); text-align: center;
}
.mock-slot svg { width: 26px; height: 26px; opacity: 0.6; }
.mock-slot .t { font-size: 13px; font-weight: 700; color: var(--od-ink); }
.mock-slot .s { font-size: 11.5px; line-height: 1.5; max-width: 220px; }

.od-empty-state {
  grid-column: 1 / -1;
  text-align: center; padding: 40px 16px; color: var(--od-ink-soft); font-size: 12.5px;
  border: 1px dashed var(--od-border); border-radius: var(--od-radius);
}

/* Cards */
.od-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-bottom: 44px; }
.od-card { background: var(--od-panel); border: 1px solid var(--od-border); border-radius: var(--od-radius); overflow: hidden; box-shadow: var(--od-shadow); display: flex; flex-direction: column; }

.od-card-banner { position: relative; aspect-ratio: 16 / 9; }
.od-stage-badge { position: absolute; top: 12px; right: 12px; padding: 5px 12px; border-radius: 999px; background: #fff; font-size: 10.5px; font-weight: 800; box-shadow: 0 4px 10px rgba(0,0,0,0.18); }
.od-stage-badge.rising { color: var(--od-green); }
.od-stage-badge.joinable { color: var(--od-orange); }
.od-stage-badge.challenge { color: var(--od-orange); }
.od-stage-badge.seed { color: var(--od-gray); }
.od-stage-badge.official { color: var(--od-blue); }

.od-card-avatar {
  position: absolute; left: 16px; bottom: -24px; width: 64px; height: 64px; border-radius: 14px;
  border: 3px solid var(--od-panel); box-shadow: var(--od-shadow);
  display: flex; align-items: center; justify-content: center;
  font-size: 10.5px; font-weight: 800; color: #fff; text-align: center; line-height: 1.25; padding: 4px;
}

.od-card-body { padding: 34px 20px 20px; display: flex; flex-direction: column; flex: 1; }
.od-card-title-row { display: flex; justify-content: space-between; align-items: flex-start; gap: 8px; }
.od-card-title-row h3 { font-size: 17px; font-weight: 800; }
.od-bookmark { color: var(--od-ink-soft); flex-shrink: 0; cursor: pointer; background: none; border: none; padding: 0; }
.od-bookmark svg { width: 18px; height: 18px; }
.od-card-byline { font-size: 11.5px; color: var(--od-ink-soft); margin: 3px 0 8px; }
.od-card-tagline { font-size: 12.5px; color: var(--od-ink); margin-bottom: 12px; line-height: 1.5; }

.od-format-tags { display: flex; gap: 6px; margin-bottom: 16px; flex-wrap: wrap; }
.od-format-tag { font-size: 10.5px; font-weight: 700; padding: 5px 10px; border-radius: 999px; background: var(--od-bg); color: var(--od-ink-soft); }

.od-stat-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 16px; }
.od-stat .label { font-size: 10px; color: var(--od-ink-soft); font-weight: 700; }
.od-stat .value { font-size: 15px; font-weight: 800; color: var(--od-purple); margin: 3px 0 6px; }
.od-stat .bar { height: 4px; border-radius: 3px; background: var(--od-bg-soft); overflow: hidden; }
.od-stat .bar-fill { height: 100%; background: var(--od-purple); border-radius: 3px; }
.od-stat-dna {
  display: block; width: 100%; border: none; background: none; padding: 0; margin: 0;
  font: inherit; text-align: left; cursor: pointer; border-radius: 8px;
}
.od-stat-dna:hover .value, .od-stat-dna:focus-visible .value { text-decoration: underline; }
.od-stat-dna:focus-visible { outline: 2px solid var(--od-purple); outline-offset: 2px; }

/* ---- Read-only IP DNA 현황 popup (opened from a card's DNA stat) ---- */
.od-dna-report-overlay {
  position: fixed; inset: 0; z-index: 200;
  background: rgba(20,16,30,0.5);
  display: flex; align-items: center; justify-content: center; padding: 24px;
}
.od-dna-report-box {
  background: var(--od-panel); border-radius: 16px; padding: 18px;
  max-width: 660px; width: 100%; box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}
.od-dna-report-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.od-dna-report-head .t { font-size: 14px; font-weight: 800; color: var(--od-ink); }
.od-dna-report-head .s { font-size: 11.5px; color: var(--od-ink-soft); margin-top: 2px; }
.od-dna-report-close {
  width: 32px; height: 32px; border-radius: 50%; border: none; background: var(--od-bg);
  color: var(--od-ink-soft); display: flex; align-items: center; justify-content: center; cursor: pointer; flex-shrink: 0;
}
.od-dna-report-close:hover { background: var(--od-border); color: var(--od-ink); }
.od-dna-report-close svg { width: 13px; height: 13px; }

.od-dna-report-body { display: flex; gap: 22px; align-items: flex-start; flex-wrap: wrap; }
.od-dna-tiles { flex: 1 1 360px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.od-dna-tile {
  display: flex; flex-direction: column; align-items: flex-start; gap: 4px;
  padding: 12px 10px; border-radius: 12px; border: 1px solid var(--od-border); background: var(--od-bg);
}
.od-dna-tile-ic { width: 24px; height: 24px; color: var(--od-purple); }
.od-dna-tile-ic svg { width: 100%; height: 100%; }
.od-dna-tile-num { font-size: 10px; font-weight: 800; color: var(--od-ink-soft); }
.od-dna-tile-label { font-size: 10.5px; font-weight: 800; color: var(--od-ink); letter-spacing: 0.2px; }
.od-dna-tile-value { font-size: 19px; font-weight: 800; color: var(--od-purple); }
.od-dna-tile-tip { font-size: 10.5px; color: var(--od-ink-soft); line-height: 1.4; }

.od-dna-score-panel { flex: 0 0 150px; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 10px; margin: 0 auto; }
.od-dna-score-ring {
  width: 128px; height: 128px; border-radius: 50%;
  background: conic-gradient(var(--od-purple) calc(var(--p, 0) * 1%), var(--od-bg-soft) 0);
  display: flex; align-items: center; justify-content: center;
}
.od-dna-score-ring-inner {
  width: 104px; height: 104px; border-radius: 50%; background: var(--od-panel);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
}
.od-dna-score-ring-inner .v { font-size: 24px; font-weight: 800; color: var(--od-purple); }
.od-dna-score-ring-inner .t { font-size: 11px; font-weight: 700; color: var(--od-ink-soft); margin-top: 2px; }
.od-dna-score-hint { font-size: 11px; color: var(--od-ink-soft); line-height: 1.5; }

@media (max-width: 640px) {
  .od-dna-report-body { flex-direction: column; align-items: center; }
  .od-dna-tiles { grid-template-columns: repeat(2, 1fr); }
}

/* ---- 지원하기 modal (crew-match-post.js + ip-detail.js share this) ---- */
.od-apply-modal-overlay {
  position: fixed; inset: 0; z-index: 200;
  background: rgba(20,16,30,0.5);
  display: flex; align-items: center; justify-content: center; padding: 24px;
}
.od-apply-modal-box {
  background: var(--od-panel); border-radius: 16px; padding: 20px;
  max-width: 380px; width: 100%; box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}
.od-apply-modal-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.od-apply-modal-head .t { font-size: 15px; font-weight: 800; color: var(--od-ink); }
.od-apply-modal-head .s { font-size: 11.5px; color: var(--od-ink-soft); margin-top: 3px; }
.od-apply-modal-close {
  width: 30px; height: 30px; border-radius: 50%; border: none; background: var(--od-bg);
  color: var(--od-ink-soft); display: flex; align-items: center; justify-content: center; cursor: pointer; flex-shrink: 0;
}
.od-apply-modal-close:hover { background: var(--od-border); color: var(--od-ink); }
.od-apply-modal-close svg { width: 12px; height: 12px; }
.od-apply-modal-label { display: block; font-size: 12px; font-weight: 700; color: var(--od-ink); margin-bottom: 8px; }
.od-apply-modal-box textarea {
  width: 100%; min-height: 100px; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--od-border);
  background: var(--od-bg); font-size: 13px; color: var(--od-ink); outline: none; font-family: inherit;
  resize: vertical; line-height: 1.55;
}
.od-apply-modal-box textarea:focus { border-color: var(--od-purple); }
.od-apply-modal-hint { font-size: 11px; color: var(--od-ink-soft); margin-top: 6px; }
.od-apply-modal-actions { display: flex; gap: 8px; margin-top: 18px; }
.od-apply-modal-cancel, .od-apply-modal-submit {
  flex: 1; padding: 11px; border-radius: 10px; font-size: 12.5px; font-weight: 700;
  cursor: pointer; border: 1px solid var(--od-border); font-family: inherit;
}
.od-apply-modal-cancel { background: var(--od-bg); color: var(--od-ink); }
.od-apply-modal-submit { background: var(--od-purple); color: #fff; border-color: transparent; }

.od-latest-label { font-size: 11px; font-weight: 800; color: var(--od-ink-soft); margin-bottom: 8px; }
.od-latest-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; margin-bottom: 16px; }
.od-latest-thumb { width: 100%; aspect-ratio: 1 / 1; border-radius: 8px; }
.od-latest-more { display: flex; align-items: center; justify-content: center; font-size: 11px; font-weight: 800; color: var(--od-ink-soft); background: var(--od-bg); }

.od-recruit { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 12px; background: var(--od-active-bg); border-radius: 12px; margin-bottom: 16px; }
.od-recruit-left { display: flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 700; color: var(--od-purple); }
.od-recruit-left svg { width: 13px; height: 13px; }
.od-recruit-right { display: flex; align-items: center; gap: 8px; }
.od-recruit-frac { font-size: 11px; font-weight: 700; color: var(--od-ink-soft); }
.od-avatar-stack { display: flex; }
.od-avatar-stack span { width: 22px; height: 22px; border-radius: 50%; border: 2px solid var(--od-panel); margin-left: -8px; }
.od-avatar-stack span:first-child { margin-left: 0; }

.od-foot-stats { display: flex; justify-content: space-between; margin-bottom: 16px; }
.od-foot-stat { display: flex; flex-direction: column; gap: 3px; }
.od-foot-stat .row { display: flex; align-items: center; gap: 5px; font-weight: 800; color: var(--od-ink); font-size: 13px; }
.od-foot-stat svg { width: 14px; height: 14px; color: var(--od-ink-soft); }
.od-foot-stat .lbl { font-size: 10px; color: var(--od-ink-soft); }

.od-card-actions { display: flex; gap: 8px; margin-top: auto; }
.od-btn-outline { flex: 1; padding: 11px; border-radius: 12px; border: 1.5px solid var(--od-border); background: var(--od-panel); font-size: 12.5px; font-weight: 700; cursor: pointer; text-align: center; }
.od-btn-solid { flex: 1; padding: 11px; border-radius: 12px; border: none; background: var(--od-purple); color: #fff; font-size: 12.5px; font-weight: 700; cursor: pointer; text-align: center; }

/* Bottom section */
.od-bottom { display: grid; grid-template-columns: 1fr 320px; gap: 22px; }
.od-results-panel { background: var(--od-panel); border: 1px solid var(--od-border); border-radius: var(--od-radius); padding: 24px; box-shadow: var(--od-shadow); }
.od-results-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin: 16px 0 16px; }
.od-result-card { position: relative; border-radius: 14px; overflow: hidden; aspect-ratio: 3 / 4; }
.od-result-scrim { position: absolute; inset: 0; background: linear-gradient(180deg, transparent 45%, rgba(0,0,0,0.65)); }
.od-result-label { position: absolute; left: 10px; bottom: 10px; color: #fff; }
.od-result-label .tag { font-size: 10px; font-weight: 800; letter-spacing: 0.3px; }
.od-result-label .by { font-size: 10px; opacity: 0.85; margin-top: 2px; }
.od-result-play { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; }
.od-result-play svg { width: 36px; height: 36px; color: #fff; opacity: 0.92; }

.od-info-panel { background: linear-gradient(160deg, #efeaff, #f8f6ff); border-radius: var(--od-radius); padding: 24px; position: relative; overflow: hidden; }
.od-info-panel h4 { font-size: 15px; font-weight: 800; margin-bottom: 14px; }
.od-info-list { display: flex; flex-direction: column; gap: 10px; margin-bottom: 16px; }
.od-info-item { display: flex; gap: 8px; font-size: 12.5px; line-height: 1.55; color: var(--od-ink); }
.od-info-item svg { width: 15px; height: 15px; color: var(--od-purple); flex-shrink: 0; margin-top: 1px; }
.od-info-more { font-size: 12.5px; font-weight: 700; color: var(--od-purple); text-decoration: none; }
.od-info-deco { position: absolute; right: -10px; bottom: -10px; width: 64px; height: 64px; border-radius: 16px; background: linear-gradient(150deg, var(--od-purple), var(--od-purple-2)); opacity: 0.16; transform: rotate(-12deg); }

/* thumb gradient variants (shared naming with dna-room) */
.thumb-1 { background: linear-gradient(150deg,#232946,#3f3d78 60%,#6b5cc7); }
.thumb-2 { background: linear-gradient(150deg,#6a85c9,#22345c); }
.thumb-3 { background: linear-gradient(150deg,#12203f,#3a63d8 70%,#8fb4ff); }
.thumb-4 { background: linear-gradient(150deg,#e3d7ff,#8f7bd6); }
.thumb-5 { background: linear-gradient(150deg,#d6a25a,#5a3a22); }
.thumb-6 { background: linear-gradient(150deg,#ffd28a,#8f5b2f 65%,#3c2313); }
.thumb-7 { background: linear-gradient(150deg,#2c6b6b,#0e2a3a); }
.thumb-8 { background: linear-gradient(150deg,#40506e,#151c2e); }

/* Responsive */
@media (max-width: 1180px) {
  .od-cards { grid-template-columns: repeat(2, 1fr); }
  .od-bottom { grid-template-columns: 1fr; }
  .od-results-grid { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 900px) {
  .od-topbar { flex-wrap: wrap; gap: 14px; padding: 14px 20px; }
  .od-search { order: 3; max-width: none; flex: 1 1 100%; }
  .od-main { padding: 0 20px 50px; }
  .od-hero { justify-content: center; text-align: center; }
  .od-hero-left { flex-direction: column; align-items: center; }
  .od-legend { border-left: none; padding-left: 0; }
  .od-sort { margin-left: 0; }
}
@media (max-width: 720px) {
  .od-cards { grid-template-columns: 1fr; }
  .od-results-grid { grid-template-columns: repeat(2, 1fr); }
}
