:root {
  --bg: #f2f2f5;
  --card: #fff;
  --text: #222;
  --muted: #666;
  --line: #eee;
  --teal: #00bebd;
  --teal-dark: #00a6a6;
  --orange: #fc6c20;
  --nav: #1e1e1e;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  line-height: 1.65;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input {
  font: inherit;
}

.site-nav {
  background: #fff;
  border-bottom: 1px solid var(--line);
}

.site-nav-inner {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 22px;
  height: 58px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: 18px;
  color: var(--nav);
  white-space: nowrap;
}

.logo i {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: var(--teal);
  color: #fff;
  display: grid;
  place-items: center;
  font-style: normal;
  font-size: 14px;
}

.nav-links {
  display: flex;
  gap: 18px;
  font-size: 14px;
  color: #444;
}

.nav-extra {
  margin-left: auto;
  display: flex;
  gap: 14px;
  font-size: 13px;
  color: #666;
  white-space: nowrap;
}

.city {
  color: #333;
}

.wrap {
  width: min(1180px, calc(100% - 32px));
  margin: 16px auto 88px;
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 16px;
  align-items: start;
}

.card {
  background: var(--card);
  border-radius: 8px;
  padding: 24px;
}

.crumb {
  font-size: 12px;
  color: #999;
  margin-bottom: 16px;
}

.job-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: flex-start;
}

.job-head h1 {
  margin: 0;
  font-size: 24px;
  font-weight: 500;
}

.star {
  border: 1px solid var(--line);
  background: #fff;
  padding: 6px 12px;
  border-radius: 4px;
  cursor: pointer;
  color: #666;
}

.star.on {
  color: var(--orange);
  border-color: #ffd2b8;
}

.salary {
  color: var(--orange);
  font-size: 22px;
  margin: 8px 0 10px;
}

.meta {
  color: #555;
  font-size: 14px;
}

.meta span + span::before {
  content: "  |  ";
  color: #ddd;
}

.tags,
.welfare {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 14px 0 0;
}

.tags span,
.welfare span {
  background: #f8f8f8;
  color: #666;
  font-size: 12px;
  padding: 4px 8px;
  border-radius: 4px;
}

.welfare span {
  background: #f0fbfb;
  color: #1a9b9a;
}

.card h2 {
  font-size: 16px;
  font-weight: 500;
  margin: 28px 0 12px;
  padding-left: 8px;
  border-left: 3px solid var(--teal);
}

.card h2:first-of-type {
  margin-top: 8px;
}

.card ul {
  margin: 0;
  padding-left: 1.2em;
  color: #444;
}

.card li {
  margin: 0 0 6px;
}

.boss {
  display: flex;
  gap: 12px;
  align-items: center;
}

.boss .avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #1a1a1a;
  color: #c4a574;
  display: grid;
  place-items: center;
  font-size: 18px;
  position: relative;
}

.boss .avatar::after {
  content: "";
  position: absolute;
  right: 1px;
  bottom: 1px;
  width: 10px;
  height: 10px;
  background: #c8c8c8;
  border: 2px solid #fff;
  border-radius: 50%;
}

.boss strong {
  display: block;
  font-size: 15px;
}

.boss em {
  font-style: normal;
  color: var(--muted);
  font-size: 12px;
}

.badge {
  display: inline-block;
  margin-left: 6px;
  font-size: 11px;
  color: var(--teal);
  border: 1px solid var(--teal);
  padding: 0 4px;
  border-radius: 2px;
  vertical-align: 1px;
}

.side .row {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  color: #666;
  margin-top: 10px;
}

.map {
  display: block;
  width: 100%;
  height: 220px;
  margin-top: 12px;
  border-radius: 6px;
  object-fit: cover;
  object-position: 54% 40%;
}

.addr {
  margin: 10px 0 0;
  color: #444;
  font-size: 13px;
}

.company {
  display: flex;
  gap: 12px;
  align-items: center;
  margin: -8px;
  padding: 8px;
  border-radius: 8px;
  transition: background 0.15s ease;
}

.company:hover {
  background: var(--bg);
}

.company::after {
  content: "›";
  margin-left: auto;
  padding-left: 8px;
  color: var(--muted);
  font-size: 22px;
  line-height: 1;
}

.company img {
  width: 52px;
  height: 52px;
  object-fit: contain;
  background: transparent;
  border-radius: 8px;
}

.company strong {
  display: block;
  font-size: 15px;
  font-weight: 500;
}

.company em {
  display: block;
  font-style: normal;
  color: var(--muted);
  font-size: 12px;
}

.info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 12px;
  font-size: 13px;
  color: #555;
  margin-top: 12px;
}

.info-grid b {
  color: #999;
  font-weight: 400;
  display: block;
  font-size: 12px;
}

.similar a {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 0;
  border-top: 1px solid var(--line);
  font-size: 14px;
}

.similar a:first-child {
  border-top: 0;
}

.similar span {
  color: var(--orange);
  white-space: nowrap;
}

.safe {
  background: #fff8e8;
  color: #8a6d3b;
  font-size: 12px;
  padding: 10px 12px;
  border-radius: 6px;
  margin-top: 16px;
}

.dock {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  background: #fff;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: center;
  gap: 12px;
  padding: 10px 16px;
}

.dock-inner {
  width: min(1180px, 100%);
  display: flex;
  gap: 12px;
}

.dock .star {
  min-width: 88px;
}

.cta {
  flex: 1;
  background: var(--teal);
  color: #fff;
  border: 0;
  border-radius: 4px;
  padding: 12px;
  cursor: pointer;
  font-size: 16px;
}

.cta:hover {
  background: var(--teal-dark);
}

.cta.dead,
.cta.dead:hover {
  background: #d8d8d8;
  color: #888;
  cursor: not-allowed;
}

.side .cta {
  width: 100%;
  margin-top: 16px;
}

.expired {
  background: #fff1f0;
  color: #a8071a;
  padding: 10px 12px;
  border-radius: 4px;
  margin-bottom: 14px;
  font-size: 14px;
}

.tag-dead {
  display: inline-block;
  margin-left: 8px;
  font-size: 12px;
  font-weight: 400;
  color: #fff;
  background: #bfbfbf;
  padding: 2px 7px;
  vertical-align: middle;
}

.photos {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-top: 12px;
}

.photos figure {
  margin: 0;
}

.photos img {
  display: block;
  width: 100%;
  height: 148px;
  object-fit: cover;
  border-radius: 4px;
  background: #ececec;
}

.photos figcaption {
  margin-top: 6px;
  color: #888;
  font-size: 12px;
}

.review {
  padding: 16px 0;
  border-top: 1px solid var(--line);
  font-size: 14px;
}

.review:first-of-type {
  border-top: 0;
}

.review header {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 8px;
  font-size: 13px;
}

.review header span {
  color: #999;
}

.review p {
  margin: 0 0 8px;
  color: #444;
}

.review a {
  color: var(--teal);
}

.review-reply {
  margin-top: 10px;
  padding: 10px 12px;
  background: #f7f7f7;
  border-radius: 6px;
}

.review-reply strong {
  font-size: 12px;
  color: var(--teal);
}

.review-reply p {
  margin: 6px 0 0;
}

.jobs-mini a {
  display: flex;
  justify-content: space-between;
  padding: 14px 0;
  border-top: 1px solid var(--line);
}

.jobs-mini a:first-child {
  border-top: 0;
}

.jobs-mini span {
  color: var(--orange);
}

.chat {
  position: fixed;
  right: 24px;
  bottom: 78px;
  width: min(360px, calc(100% - 24px));
  height: 460px;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.18);
  display: none;
  flex-direction: column;
  overflow: hidden;
  z-index: 20;
}

.chat.open {
  display: flex;
}

.chat-hd {
  background: var(--teal);
  color: #fff;
  padding: 12px 14px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.chat-hd button {
  background: transparent;
  border: 0;
  color: #fff;
  cursor: pointer;
  font-size: 18px;
}

.chat-bd {
  flex: 1;
  padding: 14px;
  background: #f7f7f7;
  overflow: auto;
}

.bubble {
  background: #fff;
  padding: 10px 12px;
  border-radius: 8px;
  font-size: 13px;
  max-width: 90%;
}

.chat-ft {
  border-top: 1px solid var(--line);
  padding: 8px;
}

.chat-ft .tools {
  display: flex;
  gap: 8px;
  margin-bottom: 8px;
}

.chat-ft .tools button {
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 4px;
  padding: 4px 8px;
  font-size: 12px;
  cursor: pointer;
}

.chat-ft form {
  display: flex;
  gap: 8px;
}

.chat-ft input {
  flex: 1;
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 8px;
}

.chat-ft form button {
  background: var(--teal);
  color: #fff;
  border: 0;
  border-radius: 4px;
  padding: 0 12px;
  cursor: pointer;
}

.foot {
  text-align: center;
  color: #bbb;
  font-size: 12px;
  padding: 0 16px 96px;
}

.foot a {
  color: #bbb;
  margin: 0 6px;
}

.company-hero {
  display: flex;
  gap: 16px;
  align-items: center;
}

.company-hero img {
  width: 72px;
  height: 72px;
  object-fit: contain;
  background: transparent;
  border-radius: 10px;
}

@media (max-width: 860px) {
  .wrap {
    grid-template-columns: 1fr;
  }

  .nav-links,
  .nav-extra span:not(.city) {
    display: none;
  }
}
