.wt-team {
  max-width: 960px;
  margin: 0 auto;
  padding: 80px 20px 100px;
  font-family: "Raleway", "Microsoft YaHei", "PingFang SC", sans-serif;
  font-variant-numeric: lining-nums;
  font-feature-settings: "lnum" 1;
  color: #2b2b2b;
}

.wt-team input,
.wt-team button {
  font-variant-numeric: lining-nums;
  font-feature-settings: "lnum" 1;
}

.wt-team-subtitle {
  display: block;
  font-size: 13px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: #a8875a;
  margin-bottom: 12px;
  text-align: center;
}

.wt-team-heading {
  text-align: center;
  font-family: "Lustria", "Microsoft YaHei", serif;
  font-size: 34px;
  margin: 0 0 36px;
  color: #1a1a1a;
}

.wt-team-search {
  display: flex;
  max-width: 640px;
  margin: 0 auto;
  border: 1px solid #1a1a1a;
  background: #fff;
}

.wt-team-search input {
  flex: 1;
  border: 0;
  outline: 0;
  padding: 16px 20px;
  font-size: 16px;
  background: transparent;
  color: #1a1a1a;
  font-family: inherit;
}

.wt-team-search button {
  border: 0;
  padding: 0 32px;
  background: #1a1a1a;
  color: #fff;
  font-size: 14px;
  letter-spacing: 2px;
  cursor: pointer;
  font-family: inherit;
  transition: background .2s;
}

.wt-team-search button:hover { background: #6e1f2a; }

.wt-team-hint {
  text-align: center;
  color: #888;
  font-size: 14px;
  margin: 14px 0 0;
}

.wt-team-status {
  text-align: center;
  color: #666;
  margin: 40px 0 0;
  font-size: 15px;
}

.wt-team-results {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 20px;
  margin-top: 40px;
}

.wt-team-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px;
  border: 1px solid #e5e0d8;
  background: #faf8f5;
  cursor: pointer;
  text-align: left;
  font-family: inherit;
  transition: border-color .2s, box-shadow .2s;
}

.wt-team-card:hover {
  border-color: #a8875a;
  box-shadow: 0 6px 18px rgba(0, 0, 0, .06);
}

.wt-team-avatar {
  flex: none;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: #6e1f2a center / cover no-repeat;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  font-family: "Lustria", "Microsoft YaHei", serif;
}

.wt-team-avatar.wt-large {
  width: 220px;
  height: 220px;
  font-size: 72px;
}

.wt-team-card-name { font-size: 18px; color: #1a1a1a; margin: 0 0 4px; }
.wt-team-card-meta { font-size: 13px; color: #777; margin: 0; }

.wt-team-detail {
  margin-top: 40px;
  border: 1px solid #e5e0d8;
  background: #fff;
  padding: 36px;
}

.wt-team-back {
  border: 0;
  background: none;
  color: #a8875a;
  cursor: pointer;
  padding: 0;
  margin-bottom: 24px;
  font-size: 14px;
  font-family: inherit;
}

.wt-team-detail-head {
  display: flex;
  gap: 32px;
  align-items: center;
  flex-wrap: wrap;
  padding-bottom: 28px;
  border-bottom: 1px solid #eee;
}

.wt-team-detail-head h2 {
  font-family: "Lustria", "Microsoft YaHei", serif;
  font-size: 30px;
  margin: 0 0 6px;
}

.wt-team-detail-head .wt-en { color: #888; font-size: 15px; margin: 0 0 10px; }
.wt-team-detail-head .wt-role { color: #6e1f2a; font-size: 16px; margin: 0; }

.wt-team-fields {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 14px 32px;
  margin: 28px 0;
}

.wt-team-field span { display: block; font-size: 12px; letter-spacing: 1px; color: #999; margin-bottom: 4px; }
.wt-team-field div { font-size: 15px; color: #222; word-break: break-all; }

.wt-team-section-title {
  font-size: 13px;
  letter-spacing: 2px;
  color: #a8875a;
  margin: 28px 0 10px;
}

.wt-team-bio { line-height: 1.8; color: #444; margin: 0; white-space: pre-line; }

.wt-team-docs { list-style: none; margin: 0; padding: 0; }
.wt-team-docs li { padding: 10px 0; border-bottom: 1px dashed #eee; }
.wt-team-docs a { color: #6e1f2a; text-decoration: none; }
.wt-team-docs a:hover { text-decoration: underline; }

@media (max-width: 600px) {
  .wt-team { padding: 50px 16px 70px; }
  .wt-team-heading { font-size: 26px; }
  .wt-team-search button { padding: 0 18px; }
  .wt-team-detail { padding: 22px; }
  .wt-team-avatar.wt-large { width: 160px; height: 160px; font-size: 56px; }
}

.wt-team-admin {
  max-width: 1180px;
}

.wt-admin-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.wt-admin-top .wt-team-subtitle,
.wt-admin-top .wt-team-heading {
  text-align: left;
}

.wt-admin-top .wt-team-heading {
  margin-bottom: 0;
}

.wt-admin-public-link {
  color: #6e1f2a;
  text-decoration: none;
  border-bottom: 1px solid #6e1f2a;
  white-space: nowrap;
}

.wt-admin-intro {
  color: #666;
  margin: 18px 0 28px;
}

.wt-admin-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 18px;
  background: #f6f3ef;
  border: 1px solid #e5e0d8;
}

.wt-admin-toolbar button,
.wt-admin-import,
.wt-admin-form-actions button,
.wt-admin-upload {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  border: 0;
  padding: 0 18px;
  background: #1a1a1a;
  color: #fff;
  font: 600 12px/1 "Raleway", sans-serif;
  letter-spacing: 1px;
  text-transform: uppercase;
  cursor: pointer;
}

.wt-admin-toolbar button:hover,
.wt-admin-import:hover,
.wt-admin-form-actions button:hover,
.wt-admin-upload:hover {
  background: #6e1f2a;
}

.wt-admin-import input,
.wt-admin-upload input {
  display: none;
}

.wt-admin-toolbar .wt-admin-danger-link {
  margin-left: auto;
  background: transparent;
  color: #8b2b2b;
  border: 1px solid #c9aaaa;
}

.wt-admin-status {
  min-height: 24px;
  margin: 14px 0;
  color: #39713d;
}

.wt-admin-status.wt-error {
  color: #a12626;
}

.wt-admin-layout {
  display: grid;
  grid-template-columns: minmax(300px, 0.8fr) minmax(480px, 1.5fr);
  gap: 24px;
  align-items: start;
}

.wt-admin-list-panel,
.wt-admin-editor {
  border: 1px solid #e5e0d8;
  background: #fff;
  padding: 24px;
}

.wt-admin-editor[hidden] {
  display: none;
}

.wt-admin-list-head,
.wt-admin-editor-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.wt-admin-list-head h3,
.wt-admin-editor-head h3 {
  margin: 0;
  font: 400 23px/1.3 "Lustria", serif;
}

.wt-admin-count {
  color: #888;
  font-size: 13px;
}

.wt-admin-filter {
  box-sizing: border-box;
  width: 100%;
  margin: 18px 0 10px;
  border: 1px solid #d8d3cc;
  padding: 11px 13px;
  font: inherit;
}

.wt-admin-list-item {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 12px 0;
  border-bottom: 1px solid #eee;
}

.wt-admin-list-photo {
  flex: none;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: #6e1f2a center / cover no-repeat;
}

.wt-admin-list-photo.wt-no-photo {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 18px;
}

.wt-admin-edit {
  flex: 1;
  min-width: 0;
  border: 0;
  background: none;
  text-align: left;
  cursor: pointer;
  font: inherit;
}

.wt-admin-edit strong,
.wt-admin-edit span {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.wt-admin-edit strong {
  color: #222;
  font-size: 15px;
  margin-bottom: 4px;
}

.wt-admin-edit span {
  color: #888;
  font-size: 12px;
}

.wt-admin-delete,
.wt-admin-remove-photo,
.wt-admin-close {
  border: 0;
  background: none;
  color: #9b3333;
  cursor: pointer;
}

.wt-admin-delete {
  font-size: 12px;
}

.wt-admin-empty {
  color: #888;
  text-align: center;
  padding: 30px 0;
}

.wt-admin-close {
  font-size: 28px;
  line-height: 1;
}

.wt-admin-photo-row {
  display: flex;
  align-items: center;
  gap: 22px;
  margin: 25px 0;
  padding-bottom: 24px;
  border-bottom: 1px solid #eee;
}

.wt-admin-photo-preview {
  flex: none;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 130px;
  height: 130px;
  border-radius: 50%;
  background: #6e1f2a center / cover no-repeat;
  color: #fff;
  font-size: 20px;
}

.wt-admin-remove-photo {
  display: block;
  margin: 10px 0 0;
  padding: 0;
}

.wt-admin-photo-row p {
  color: #888;
  font-size: 12px;
  margin: 10px 0 0;
}

.wt-admin-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.wt-admin-field {
  display: block;
}

.wt-admin-field span {
  display: block;
  margin-bottom: 7px;
  color: #666;
  font-size: 12px;
  letter-spacing: .5px;
  text-transform: uppercase;
}

.wt-admin-field input,
.wt-admin-field textarea {
  box-sizing: border-box;
  width: 100%;
  border: 1px solid #d8d3cc;
  padding: 11px 12px;
  color: #222;
  background: #fff;
  font: 14px/1.5 "Raleway", sans-serif;
}

.wt-admin-field input:focus,
.wt-admin-field textarea:focus,
.wt-admin-filter:focus {
  outline: 1px solid #a8875a;
  border-color: #a8875a;
}

.wt-admin-wide {
  margin-top: 18px;
}

.wt-admin-form-actions {
  display: flex;
  gap: 10px;
  margin-top: 22px;
}

.wt-admin-form-actions .wt-admin-cancel {
  background: #e9e5df;
  color: #333;
}

@media (max-width: 900px) {
  .wt-admin-layout { grid-template-columns: 1fr; }
  .wt-admin-toolbar .wt-admin-danger-link { margin-left: 0; }
}

@media (max-width: 600px) {
  .wt-admin-top { align-items: flex-start; flex-direction: column; }
  .wt-admin-grid { grid-template-columns: 1fr; }
  .wt-admin-photo-row { align-items: flex-start; }
  .wt-admin-photo-preview { width: 100px; height: 100px; }
  .wt-admin-list-panel,
  .wt-admin-editor { padding: 18px; }
}
