/* ORBNET — explore (internships & fresher jobs) */
.x-head { padding-top: 44px; padding-bottom: 8px; }
.x-head h1 { font-size: clamp(2rem, 4.6vw, 3.1rem); font-weight: 800; letter-spacing: -0.03em; }
.x-head .sub { color: var(--muted); margin-top: 10px; }
.x-head .sub b { color: var(--text); font-weight: 600; }

.x-search { margin-top: 24px; display: flex; gap: 8px; align-items: center; background: var(--surface); border: 1px solid var(--line-strong); border-radius: 16px; padding: 6px 6px 6px 18px; max-width: 760px; }
.x-search:focus-within { border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-soft); }
.x-search i { color: var(--dim); }
.x-search input { flex: 1; min-width: 0; height: 44px; background: none; border: 0; outline: none; font-size: 1rem; }
.x-search input::placeholder { color: var(--dim); }
.x-search .clear-q { background: none; border: 0; color: var(--dim); width: 32px; height: 32px; border-radius: 50%; }
.x-search .clear-q:hover { color: var(--text); background: var(--surface-2); }

.x-filters { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-top: 18px; }
.x-filters .select { width: auto; height: 38px; border-radius: 999px; font-size: 0.88rem; padding: 0 38px 0 16px; background-color: transparent; }
.x-filters .select.is-set { border-color: var(--text); color: var(--text); background-color: var(--tint-2); }
.seg { display: inline-flex; padding: 3px; border: 1px solid var(--line-strong); border-radius: 999px; }
.seg button { height: 30px; padding: 0 14px; border-radius: 999px; border: 0; background: none; color: var(--muted); font-size: 0.86rem; font-weight: 500; }
.seg button:hover { color: var(--text); }
.seg button[aria-checked="true"] { background: var(--text); color: var(--bg); }
.x-filters .sep { width: 1px; height: 24px; background: var(--line-strong); }

.x-companies { display: flex; gap: 8px; overflow-x: auto; padding: 18px 0 4px; scrollbar-width: none; mask-image: linear-gradient(90deg, #000 92%, transparent); -webkit-mask-image: linear-gradient(90deg, #000 92%, transparent); }
.x-companies::-webkit-scrollbar { display: none; }
.co-chip { flex-shrink: 0; display: inline-flex; align-items: center; gap: 8px; height: 36px; padding: 0 14px 0 6px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); color: var(--text-2); font-size: 0.85rem; font-weight: 500; transition: all 0.2s; }
.co-chip img { width: 24px; height: 24px; border-radius: 50%; background: #fff; padding: 3px; }
.co-chip:hover { border-color: var(--line-strong); color: var(--text); }
.co-chip[aria-pressed="true"] { border-color: var(--brand); color: var(--text); background: var(--brand-soft); }

.x-body { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 28px; padding-top: 24px; padding-bottom: 40px; align-items: start; }
.x-resultbar { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 14px; min-height: 32px; }
.x-resultbar .count { color: var(--muted); font-size: 0.9rem; margin-right: 6px; }
.x-resultbar .count b { color: var(--text); }
.f-chip { display: inline-flex; align-items: center; gap: 6px; height: 30px; padding: 0 6px 0 12px; border-radius: 999px; background: var(--surface-2); border: 1px solid var(--line-strong); font-size: 0.8rem; color: var(--text); }
.f-chip button { width: 20px; height: 20px; border-radius: 50%; border: 0; background: none; color: var(--muted); display: grid; place-items: center; font-size: 0.7rem; }
.f-chip button:hover { background: var(--surface-3); color: var(--text); }
.clear-all { background: none; border: 0; color: var(--brand-text); font-size: 0.85rem; font-weight: 600; padding: 4px 8px; border-radius: 8px; }
.clear-all:hover { background: var(--brand-soft); }
.x-list { display: grid; gap: 12px; }

.x-side { display: grid; gap: 16px; position: sticky; top: calc(var(--header-h) + 36px); }
.x-side h3 { font-family: var(--font-body); font-size: 0.95rem; font-weight: 600; letter-spacing: -0.01em; margin-bottom: 12px; }
.trend { display: grid; }
.trend button { display: grid; grid-template-columns: 22px 1fr; gap: 10px; text-align: left; padding: 10px 0; border: 0; background: none; border-top: 1px solid var(--line); color: inherit; }
.trend button:first-child { border-top: 0; }
.trend .rank { font-weight: 600; color: var(--brand-text); font-size: 0.85rem; padding-top: 1px; }
.trend strong { display: block; font-size: 0.88rem; font-weight: 500; line-height: 1.35; }
.trend small { color: var(--muted); font-size: 0.78rem; }
.trend button:hover strong { color: var(--brand-text); }
.safe-card { background: linear-gradient(160deg, rgba(76, 195, 138, 0.08), var(--surface) 60%); }
.safe-card p, .promo p { color: var(--muted); font-size: 0.88rem; }
.safe-card a, .promo a.link { color: var(--brand-text); font-weight: 600; font-size: 0.88rem; display: inline-block; margin-top: 10px; }
.promo { background: linear-gradient(160deg, var(--brand-soft), var(--surface) 65%); border-color: var(--brand-line); }

/* Detail sheet */
.d-head { display: grid; grid-template-columns: 56px 1fr auto; gap: 16px; align-items: start; padding: 26px 26px 18px; border-bottom: 1px solid var(--line); }
.d-head .logo-box { width: 56px; height: 56px; border-radius: 14px; }
.d-head .logo-box img { width: 34px; height: 34px; }
.d-head h2 { font-family: var(--font-body); font-size: 1.3rem; font-weight: 700; letter-spacing: -0.02em; line-height: 1.3; }
.d-head .co { color: var(--text-2); margin-top: 4px; }
.d-body { padding: 22px 26px; display: grid; gap: 22px; }
.d-facts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.d-fact { padding: 12px 14px; border-radius: var(--r-sm); background: var(--bg-raise); border: 1px solid var(--line); }
.d-fact span { display: block; font-size: 0.78rem; color: var(--dim); }
.d-fact b { font-weight: 500; font-size: 0.92rem; }
.d-body h3 { font-family: var(--font-body); font-size: 0.95rem; font-weight: 600; margin-bottom: 8px; letter-spacing: -0.01em; }
.d-body p { color: var(--text-2); font-size: 0.93rem; }
.d-source { display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; border-radius: var(--r-sm); background: var(--ok-soft); border: 1px solid var(--ok-soft); font-size: 0.85rem; color: var(--ok); }
.d-source i { margin-top: 3px; }
.d-foot { position: sticky; bottom: 0; display: flex; gap: 10px; padding: 16px 26px 22px; background: linear-gradient(180deg, transparent, var(--surface) 30%); }
.d-foot .btn-primary { flex: 1; }

@media (max-width: 1020px) {
  .x-body { grid-template-columns: 1fr; }
  .x-side { position: static; grid-template-columns: repeat(2, 1fr); }
  .x-side .trend-card { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  .x-head { padding-top: 28px; }
  .x-filters { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin-left: -16px; margin-right: -16px; padding: 0 16px; }
  .x-filters::-webkit-scrollbar { display: none; }
  .x-filters > * { flex-shrink: 0; }
  .x-side { grid-template-columns: 1fr; }
  .d-head { grid-template-columns: 44px 1fr auto; padding: 20px 18px 14px; gap: 12px; }
  .d-head .logo-box { width: 44px; height: 44px; }
  .d-body { padding: 18px; }
  .d-foot { padding: 14px 18px 18px; }
  .d-facts { grid-template-columns: 1fr 1fr; }
}

/* "Prepare with Claude" strip in the detail sheet */
.d-ai { display: flex; gap: 14px; align-items: center; justify-content: space-between; flex-wrap: wrap; padding: 14px 16px; border-radius: var(--r-sm); background: var(--brand-soft); border: 1px solid var(--brand-soft); }
.d-ai-text { display: grid; gap: 4px; flex: 1 1 260px; min-width: 0; }
.d-ai-text b { font-size: 0.92rem; font-weight: 600; color: var(--text); }
.d-ai-text span { font-size: 0.83rem; color: var(--text-2); line-height: 1.5; }
.d-ai-actions { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.d-ai-actions .btn { text-decoration: none; white-space: nowrap; }
.d-ai-link { font-size: 0.83rem; color: var(--brand-text); text-decoration: underline; text-underline-offset: 3px; white-space: nowrap; }
.d-ai-link:hover { color: var(--text); }
