:root {
  --ink: #253c35;
  --text: #27332e;
  --muted: #7a817b;
  --bg: #f7f8f4;
  --line: #e2e6de;
  --soft: #edf0e8;
  --lime: #ddebba;
  --white: #fff;
  --serif: Georgia, "Songti SC", "STSong", serif;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family:
    Inter,
    -apple-system,
    BlinkMacSystemFont,
    "PingFang SC",
    "Microsoft YaHei",
    sans-serif;
  font-size: 14px;
  line-height: 1.6;
}
button,
input,
select,
textarea {
  font: inherit;
}
button,
a,
input,
select,
textarea {
  outline-offset: 4px;
}
button,
a {
  -webkit-tap-highlight-color: transparent;
}
button {
  cursor: pointer;
}
button {
  border: 0;
  background: none;
  color: inherit;
}
a {
  color: inherit;
  text-decoration: none;
}
header {
  height: 84px;
  background: rgba(255, 255, 255, 0.94);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 max(5vw, 24px);
  border-bottom: 1px solid var(--line);
  gap: 30px;
}
.brand {
  font-size: 26px;
  font-weight: 650;
  letter-spacing: 2px;
  display: flex;
  align-items: center;
  gap: 12px;
  white-space: nowrap;
}
.brand:before {
  content: "✳";
  font-size: 36px;
  font-weight: 400;
  color: var(--ink);
}
.brand span {
  font-size: 10px;
  letter-spacing: 2.7px;
  border-left: 1px solid #a9b2a6;
  padding: 4px 0 4px 13px;
}
nav {
  display: flex;
  gap: 32px;
  align-items: center;
  height: 100%;
}
nav a {
  color: #747d75;
  position: relative;
  padding: 29px 0;
  font-size: 14px;
}
nav a.active {
  color: var(--ink);
  font-weight: 600;
}
nav a.active:after {
  content: "";
  position: absolute;
  bottom: 19px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--ink);
}
.header-right {
  display: flex;
  align-items: center;
  gap: 20px;
}
.btn {
  border-radius: 7px;
  padding: 11px 19px;
  border: 1px solid var(--line);
  background: white;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  line-height: 1.4;
  font-size: 13px;
  font-weight: 550;
}
.btn.primary {
  background: var(--ink);
  color: white;
  border-color: var(--ink);
}
.btn.light {
  background: var(--lime);
  border-color: var(--lime);
  color: var(--ink);
}
.btn:hover {
  filter: brightness(0.96);
  transform: translateY(-1px);
}
.btn.small {
  padding: 7px 12px;
}
.btn:disabled {
  opacity: 0.5;
  cursor: wait;
}
.icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.icon svg {
  width: 19px;
  height: 19px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.hero {
  max-width: 1440px;
  margin: auto;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  padding: 58px 5vw 42px;
  gap: 50px;
  align-items: center;
}
.eyebrow {
  font-size: 10px;
  letter-spacing: 2.8px;
  color: #697b6a;
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
}
.eyebrow:before {
  content: "";
  width: 25px;
  height: 1px;
  background: #8d9a7a;
}
.hero h1 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(37px, 3.7vw, 56px);
  line-height: 1.4;
  letter-spacing: 2px;
  margin: 18px 0;
}
.hero h1 em {
  font-style: normal;
  position: relative;
  white-space: nowrap;
}
.hero h1 em:after {
  content: "";
  height: 10px;
  position: absolute;
  left: 0;
  right: 0;
  bottom: 3px;
  background: #d8e4bd;
  z-index: -1;
}
.hero p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.9;
  max-width: 420px;
  margin: 12px 0 25px;
}
.hero-actions {
  display: flex;
  gap: 12px;
  align-items: center;
}
.hero-art {
  height: 245px;
  position: relative;
  border-radius: 12px;
  background: #e9ede2;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-art:before {
  content: "";
  position: absolute;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  border: 1px solid #c3cdb7;
  right: -40px;
  top: -110px;
}
.hero-art:after {
  content: "THE NEXT\A GREAT STORY";
  white-space: pre;
  position: absolute;
  bottom: 25px;
  left: 24px;
  font: 12px/1.5 var(--serif);
  letter-spacing: 2px;
  color: #75836d;
}
.photo-stack {
  position: absolute;
  right: 25px;
  top: 30px;
  width: 120px;
  height: 165px;
  background: white;
  padding: 5px 5px 20px;
  transform: rotate(9deg);
  box-shadow: 0 14px 25px #263e3520;
}
.photo-stack img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.7);
}
.photo-stack.back {
  right: 122px;
  top: 31px;
  transform: rotate(-8deg);
}
.hero-circle {
  position: absolute;
  left: 27px;
  top: 27px;
  width: 70px;
  height: 70px;
  border-radius: 50%;
  border: 1px solid #a4b295;
  display: flex;
  align-items: center;
  justify-content: center;
  font: 43px var(--serif);
  color: #6c805e;
}
.art-caption {
  position: absolute;
  right: 18px;
  bottom: 14px;
  font-size: 10px;
  color: #75816d;
}
.source-note {
  max-width: 1296px;
  margin: 0 auto 24px;
  padding: 11px 16px;
  background: #f0f2e9;
  border: 1px solid #e1e6d6;
  border-radius: 7px;
  font-size: 12px;
  color: #79816c;
  display: flex;
  gap: 10px;
  align-items: center;
}
.source-note .dot {
  width: 6px;
  height: 6px;
  flex: none;
  background: #97a879;
  border-radius: 50%;
}
.container {
  max-width: 1440px;
  margin: auto;
  padding: 0 5vw 50px;
}
.source-wrap {
  max-width: 1440px;
  margin: auto;
  padding: 0 5vw;
}
.searchbar {
  display: flex;
  gap: 12px;
  margin: 0 0 25px;
}
.search-box {
  position: relative;
  flex: 1;
}
.search-box .icon {
  position: absolute;
  left: 17px;
  top: 15px;
  color: #8a9486;
}
.search-box input {
  background: white;
  border: 1px solid var(--line);
  height: 50px;
  width: 100%;
  padding: 12px 45px;
  border-radius: 7px;
}
.searchbar > .btn {
  min-width: 110px;
}
.browse-layout {
  display: grid;
  grid-template-columns: 205px 1fr;
  gap: 32px;
}
.filters {
  padding: 0 24px 0 0;
  border-right: 1px solid var(--line);
}
.filter-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 600;
  margin-bottom: 20px;
}
.text-btn {
  font-size: 12px;
  color: #758574;
  padding: 0;
}
.filter-section {
  padding: 0 0 22px;
  margin-bottom: 20px;
  border-bottom: 1px solid var(--line);
}
.filter-section h3 {
  font-size: 12px;
  margin: 0 0 12px;
  color: #939a8f;
  font-weight: 500;
}
.category-list {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.category-list button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  text-align: left;
  padding: 9px 11px;
  border-radius: 5px;
  color: #727d71;
}
.category-list button.active {
  background: #e6eddd;
  color: #37543c;
  font-weight: 600;
}
.category-list button span {
  font-size: 11px;
  font-weight: 400;
}
.filters select {
  width: 100%;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 5px;
  padding: 9px;
  color: #586351;
}
.chip-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.chip {
  font-size: 11px;
  border-radius: 4px;
  background: #fff;
  border: 1px solid var(--line);
  padding: 5px 9px;
  color: #7f887a;
  white-space: nowrap;
}
.chip.active {
  border-color: #6d855d;
  background: #ebf0e1;
  color: #3d5c32;
}
.results-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 18px;
}
.results-title {
  font-size: 19px;
  font-weight: 600;
  display: flex;
  gap: 12px;
  align-items: center;
}
.results-title small {
  font-size: 11px;
  color: #8a9383;
  font-weight: 400;
}
.sort {
  border: 0;
  background: transparent;
  color: #808b79;
  font-size: 12px;
}
.grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}
.talent-card {
  background: white;
  border: 1px solid #e4e8e0;
  border-radius: 9px;
  overflow: hidden;
  transition:
    transform 0.2s,
    box-shadow 0.2s;
}
.talent-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 35px #203b3210;
}
.portrait {
  width: 100%;
  aspect-ratio: 4/4.3;
  position: relative;
  background: #e1e7da;
  display: block;
  text-align: left;
  padding: 0;
  overflow: hidden;
}
.portrait > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  filter: saturate(0.75);
  transition: transform 0.5s;
}
.portrait:hover > img {
  transform: scale(1.04);
}
.portrait .initial {
  font: 70px var(--serif);
  color: #a8b59b;
  display: flex;
  height: 100%;
  align-items: center;
  justify-content: center;
}
.portrait .category-badge {
  position: absolute;
  left: 12px;
  top: 12px;
  color: #3a493b;
  background: #fffffff0;
  border-radius: 4px;
  padding: 4px 9px;
  font-size: 10px;
}
.sample-label {
  position: absolute;
  bottom: 12px;
  left: 12px;
  font-size: 9px;
  color: white;
  background: #263e3570;
  padding: 2px 7px;
  border-radius: 3px;
}
.card-image {
  position: relative;
}
.save-btn {
  position: absolute;
  right: 12px;
  top: 12px;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: #ffffffdc;
  display: grid;
  place-items: center;
  z-index: 1;
}
.save-btn.saved {
  background: var(--lime);
}
.save-btn.saved svg {
  fill: #405a3a;
}
.card-body {
  padding: 17px 16px 14px;
}
.card-title {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.card-title h3 {
  margin: 0;
  font-size: 18px;
  font-weight: 600;
  letter-spacing: 1px;
}
.card-title .city {
  font-size: 11px;
  color: #8b9484;
  display: flex;
  gap: 4px;
  align-items: center;
}
.card-title .icon svg {
  width: 12px;
  height: 12px;
}
.attributes {
  font-size: 11px;
  color: #8b9386;
  margin: 7px 0 12px;
  display: flex;
  gap: 9px;
}
.attributes span + span {
  border-left: 1px solid #e1e6dc;
  padding-left: 9px;
}
.tags {
  display: flex;
  gap: 5px;
  flex-wrap: wrap;
}
.tag {
  font-size: 10px;
  background: #f1f4eb;
  color: #7d8b6c;
  border-radius: 3px;
  padding: 3px 7px;
}
.card-bottom {
  border-top: 1px solid #eef0ea;
  margin-top: 15px;
  padding-top: 12px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 11px;
  color: #8a9283;
}
.price {
  color: #3c5140;
  font-weight: 600;
  font-size: 15px;
}
.price small {
  font-weight: 400;
  font-size: 10px;
  color: #9aa08f;
  margin-left: 2px;
}
.card-bottom button {
  font-size: 11px;
  color: #53694b;
  display: flex;
  gap: 5px;
  align-items: center;
}
.card-bottom .icon svg {
  width: 13px;
}
.join-banner {
  margin-top: 40px;
  border-radius: 9px;
  background: #eaf0df;
  padding: 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.join-banner h3 {
  font: 24px var(--serif);
  margin: 0 0 8px;
}
.join-banner p {
  font-size: 12px;
  color: #7f8d71;
  margin: 0;
}
footer {
  border-top: 1px solid var(--line);
  padding: 35px 5vw;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #9a9f94;
  font-size: 11px;
  background: #f2f4ed;
}
footer .brand {
  font-size: 20px;
  color: #677360;
}
footer .brand:before {
  font-size: 26px;
}
footer .brand span {
  font-size: 8px;
}
.loading,
.empty {
  padding: 70px 20px;
  text-align: center;
  color: #8b9683;
  grid-column: 1/-1;
}
.empty .icon svg {
  width: 40px;
  height: 40px;
}
.empty h3 {
  font-weight: 500;
  color: var(--ink);
}
.empty p {
  font-size: 13px;
}
.page-heading {
  padding: 43px 0 26px;
  display: flex;
  align-items: end;
  justify-content: space-between;
}
.page-heading h1 {
  font: 34px var(--serif);
  margin: 7px 0;
}
.page-heading p {
  color: var(--muted);
  font-size: 13px;
}
.panel {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 28px;
}
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: #172a235c;
  backdrop-filter: blur(4px);
  z-index: 20;
  overflow: auto;
  padding: 35px 20px;
  display: flex;
  justify-content: center;
  align-items: flex-start;
}
.modal {
  width: 100%;
  max-width: 740px;
  background: var(--bg);
  border-radius: 14px;
  position: relative;
  box-shadow: 0 24px 100px #13241c40;
  padding: 32px;
  max-height: calc(100dvh - 70px);
  overflow: auto;
}
.modal.wide {
  max-width: 1000px;
}
.modal.compact {
  max-width: 450px;
}
.close {
  position: absolute;
  top: 15px;
  right: 15px;
  z-index: 2;
  width: 32px;
  height: 32px;
  background: #ffffffda;
  border-radius: 50%;
  display: grid;
  place-items: center;
}
.modal h2 {
  font: 28px var(--serif);
  margin: 0 0 12px;
}
.modal-sub {
  color: var(--muted);
  font-size: 12px;
  margin: 0 0 22px;
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 17px;
}
.field {
  display: flex;
  flex-direction: column;
  gap: 7px;
  text-align: left;
  font-size: 12px;
  color: #687460;
}
.field.full {
  grid-column: 1/-1;
}
.field input,
.field select,
.field textarea,
.message-input {
  padding: 11px 12px;
  border: 1px solid #dfe5d7;
  border-radius: 5px;
  width: 100%;
  background: white;
  color: #35462e;
  min-width: 0;
}
.field textarea {
  resize: vertical;
  min-height: 100px;
}
.field input:focus,
.field textarea:focus {
  border-color: #7a9465;
  outline: 1px solid #7a9465;
}
.field small {
  font-size: 10px;
  color: #919b85;
}
.form-actions {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-top: 22px;
}
.form-actions > .btn {
  flex: 1;
}
.error {
  background: #f9e9e3;
  color: #a05239;
  border-radius: 5px;
  padding: 9px 12px;
  font-size: 12px;
  margin: 10px 0;
}
.error:empty {
  display: none;
}
.notice {
  background: #eef2e7;
  color: #7d8b6b;
  font-size: 12px;
  padding: 12px 15px;
  border-radius: 6px;
  margin: 15px 0;
}
.tabs {
  display: flex;
  border-bottom: 1px solid var(--line);
  gap: 26px;
  margin-bottom: 25px;
}
.tabs button {
  padding: 10px 0 13px;
  color: #88937c;
}
.tabs button.active {
  border-bottom: 2px solid var(--ink);
  color: var(--ink);
}
.profile-hero {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 32px;
}
.profile-photo {
  height: 390px;
  border-radius: 9px;
  overflow: hidden;
  background: #dfe7d7;
  position: relative;
}
.profile-photo > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.profile-info {
  padding-top: 12px;
}
.profile-info h2 {
  font: 34px var(--serif);
  margin: 10px 0;
}
.profile-info .bio {
  font-size: 13px;
  color: #7c8972;
  line-height: 1.9;
}
.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 17px 0;
  margin: 20px 0;
}
.stats div {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.stats small {
  color: #8c9781;
  font-size: 10px;
}
.stats strong {
  font-weight: 500;
}
.section-title {
  font-size: 16px;
  font-weight: 550;
  margin: 28px 0 14px;
}
.works-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.work-item {
  margin: 0;
}
.work-item img,
.work-item video {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  border-radius: 6px;
  background: #e5ebdf;
}
.work-item figcaption {
  font-size: 12px;
  margin-top: 7px;
  color: #738565;
}
.profile-layout {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 22px;
}
.side-note {
  background: #e9efdf;
  padding: 30px;
  border-radius: 10px;
  height: fit-content;
}
.side-note h3 {
  font: 25px var(--serif);
  margin: 0 0 15px;
}
.steps {
  padding: 0;
  list-style: none;
  counter-reset: steps;
}
.steps li {
  counter-increment: steps;
  display: flex;
  gap: 14px;
  margin: 25px 0;
  color: #7b896d;
  font-size: 12px;
}
.steps li:before {
  content: "0" counter(steps);
  font: 22px var(--serif);
  color: #67824f;
}
.steps strong {
  display: block;
  color: #425c34;
  font-size: 14px;
  margin-bottom: 5px;
}
.uploads {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin: 10px 0;
}
.uploads figure {
  width: 100px;
  margin: 0;
  position: relative;
}
.uploads img,
.uploads video {
  width: 100px;
  height: 100px;
  object-fit: cover;
  border-radius: 5px;
}
.uploads figcaption {
  font-size: 10px;
  overflow-wrap: anywhere;
}
.uploads button {
  position: absolute;
  right: 2px;
  top: 2px;
  background: white;
  border-radius: 50%;
  width: 23px;
  height: 23px;
}
.checkline {
  display: flex;
  align-items: start;
  gap: 8px;
  font-size: 12px;
  color: #7a896a;
  margin-top: 20px;
}
.checkline input {
  margin-top: 4px;
}
.request-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.request-row {
  display: grid;
  grid-template-columns: 60px 1fr auto;
  gap: 18px;
  align-items: center;
  padding: 22px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 8px;
  text-align: left;
  width: 100%;
}
.request-row img {
  width: 60px;
  height: 70px;
  object-fit: cover;
  border-radius: 5px;
}
.request-row h3 {
  font-size: 15px;
  margin: 0 0 7px;
}
.request-row p {
  font-size: 12px;
  color: #8d977f;
  margin: 0;
}
.status {
  padding: 5px 9px;
  border-radius: 4px;
  background: #edf2e4;
  color: #72865a;
  font-size: 11px;
  white-space: nowrap;
}
.status[data-status="已完成"],
.status[data-status="published"] {
  background: #dfeddf;
  color: #4f7554;
}
.status[data-status="已取消"],
.status[data-status="rejected"] {
  background: #f5e9e4;
  color: #a47b67;
}
.status[data-status="已报价"] {
  background: #f3eddc;
  color: #938053;
}
.details {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  font-size: 12px;
  margin: 20px 0;
}
.details div {
  padding: 10px;
  background: #edf1e7;
  border-radius: 5px;
}
.details small {
  display: block;
  color: #8d9b7d;
  margin-bottom: 5px;
}
.message-list {
  max-height: 250px;
  overflow: auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 10px 0;
}
.message {
  padding: 12px 15px;
  background: #e9efe0;
  border-radius: 7px;
  font-size: 13px;
  white-space: pre-wrap;
}
.message small {
  display: block;
  color: #82916f;
  font-size: 10px;
  margin-bottom: 5px;
}
.message.own {
  background: #dfe9d3;
  margin-left: 35px;
}
.message-compose {
  display: flex;
  gap: 10px;
  margin-top: 15px;
}
.message-input {
  min-height: 50px;
  resize: vertical;
}
.admin-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
}
.admin-card {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}
.admin-card h3 {
  margin: 0 0 10px;
}
.admin-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 15px;
}
.admin-stat {
  display: flex;
  gap: 20px;
  margin: 10px 0 25px;
}
.admin-stat > div {
  flex: 1;
  background: #eaf0e0;
  padding: 18px;
  border-radius: 8px;
  font-size: 12px;
  color: #7d8e6b;
}
.admin-stat strong {
  display: block;
  font: 30px var(--serif);
  color: #465f36;
}
.pill-tabs {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 25px;
}
.pill-tabs button {
  padding: 8px 14px;
  border: 1px solid var(--line);
  border-radius: 6px;
  font-size: 12px;
}
.pill-tabs button.active {
  background: var(--ink);
  color: white;
}
#toast {
  position: fixed;
  bottom: 30px;
  left: 50%;
  transform: translate(-50%, 20px);
  z-index: 40;
  padding: 12px 24px;
  background: #253f34;
  color: #fff;
  border-radius: 8px;
  box-shadow: 0 5px 25px #132b2330;
  opacity: 0;
  transition: 0.2s;
  pointer-events: none;
  max-width: 90vw;
  font-size: 13px;
}
#toast.show {
  opacity: 1;
  transform: translate(-50%, 0);
}
.join-intro {
  max-width: 720px;
  padding: 65px 0 40px;
}
.join-intro h1 {
  font: 46px/1.4 var(--serif);
  margin: 20px 0;
}
.join-intro p {
  color: #849176;
  line-height: 1.9;
}
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin: 30px 0;
}
.feature-grid .panel {
  background: #eff3e7;
}
.feature-grid h3 {
  font-weight: 500;
}
.feature-grid p {
  color: #8b977f;
  font-size: 12px;
}
.preline {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.footer-note {
  font-size: 11px;
  color: #919c84;
  margin: 20px 0;
}
.file-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
}
.file-label input {
  max-width: 100%;
  font-size: 12px;
}
.quota {
  color: #8b9880;
  font-size: 11px;
}
@media (min-width: 1500px) {
  .hero {
    padding-top: 65px;
    padding-bottom: 50px;
  }
  .hero-art {
    height: 270px;
  }
  .portrait {
    aspect-ratio: 4/4.6;
  }
}
@media (max-width: 1100px) {
  nav {
    gap: 18px;
  }
  .header-right {
    gap: 8px;
  }
  .browse-layout {
    grid-template-columns: 170px 1fr;
    gap: 22px;
  }
  .grid {
    gap: 14px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .hero {
    gap: 25px;
  }
  .photo-stack {
    width: 100px;
    height: 150px;
  }
  .photo-stack.back {
    right: 98px;
  }
  .hero-circle {
    left: 20px;
    width: 55px;
    height: 55px;
    font-size: 30px;
  }
  .hero-art:after {
    font-size: 10px;
  }
  .profile-layout {
    grid-template-columns: 1fr;
  }
  .profile-hero {
    grid-template-columns: 240px 1fr;
  }
  .profile-photo {
    height: 340px;
  }
  .brand span {
    display: none;
  }
  .admin-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 700px) {
  header {
    height: auto;
    min-height: 72px;
    padding: 14px 5vw;
    gap: 12px;
    flex-wrap: wrap;
  }
  .brand {
    font-size: 23px;
  }
  .brand:before {
    font-size: 28px;
  }
  .header-right {
    margin-left: auto;
  }
  .header-right .btn {
    padding: 8px 10px;
  }
  .header-right .text-btn {
    max-width: 75px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  nav {
    order: 3;
    width: 100%;
    justify-content: space-between;
    gap: 10px;
  }
  nav a {
    font-size: 12px;
    padding: 8px 0;
  }
  nav a.active:after {
    bottom: 0;
  }
  .hero {
    grid-template-columns: 1fr;
    padding-top: 34px;
    padding-bottom: 25px;
    gap: 25px;
  }
  .hero h1 {
    font-size: 32px;
  }
  .hero-art {
    display: none;
  }
  .hero p {
    font-size: 12px;
  }
  .browse-layout {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .filters {
    border: 0;
    padding: 0;
  }
  .filter-heading {
    margin-bottom: 12px;
  }
  .category-list {
    flex-direction: row;
    flex-wrap: wrap;
  }
  .category-list button {
    gap: 12px;
  }
  .filter-section {
    margin: 0 0 12px;
    padding: 0 0 12px;
  }
  .filter-section:nth-child(n + 3) {
    display: none;
  }
  .filters.expanded .filter-section {
    display: block;
  }
  .filter-section h3 {
    display: none;
  }
  .filters.expanded .filter-section h3 {
    display: block;
  }
  .results-title {
    font-size: 16px;
  }
  .results-title small {
    font-size: 10px;
  }
  .sort {
    max-width: 90px;
  }
  .grid {
    gap: 12px;
  }
  .card-body {
    padding: 12px 10px;
  }
  .card-title h3 {
    font-size: 16px;
  }
  .card-title .city {
    font-size: 9px;
  }
  .attributes {
    font-size: 9px;
    gap: 5px;
  }
  .attributes span + span {
    padding-left: 5px;
  }
  .tags {
    gap: 4px;
  }
  .tag {
    font-size: 9px;
    padding: 2px 5px;
  }
  .price {
    font-size: 13px;
  }
  .card-bottom {
    display: flex;
    align-items: start;
    gap: 4px;
    flex-wrap: wrap;
  }
  .card-bottom button {
    font-size: 10px;
  }
  .portrait {
    aspect-ratio: 4/5;
  }
  .searchbar {
    margin-bottom: 20px;
    gap: 8px;
  }
  .searchbar > .btn {
    min-width: 60px;
    padding: 10px;
  }
  .search-box input {
    font-size: 12px;
  }
  .source-note {
    font-size: 10px;
    align-items: start;
  }
  .join-banner {
    padding: 24px 20px;
    gap: 18px;
    align-items: start;
    flex-direction: column;
  }
  .join-banner h3 {
    font-size: 22px;
  }
  footer {
    flex-wrap: wrap;
    gap: 16px;
  }
  footer > span:last-child {
    display: none;
  }
  .modal-backdrop {
    padding: 12px;
  }
  .modal {
    padding: 25px 20px;
    max-height: calc(100dvh - 24px);
    border-radius: 10px;
  }
  .profile-hero {
    grid-template-columns: 1fr;
    gap: 15px;
  }
  .profile-photo {
    height: 320px;
    max-width: 100%;
  }
  .profile-info {
    padding: 0;
  }
  .profile-info h2 {
    font-size: 30px;
  }
  .form-grid {
    grid-template-columns: 1fr;
  }
  .field.full {
    grid-column: auto;
  }
  .works-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .page-heading {
    padding-top: 28px;
  }
  .page-heading h1 {
    font-size: 28px;
  }
  .request-row {
    grid-template-columns: 45px 1fr;
    gap: 12px;
    padding: 15px;
  }
  .request-row img {
    width: 45px;
    height: 60px;
  }
  .request-row > .status {
    grid-column: 2;
    width: max-content;
  }
  .admin-grid {
    grid-template-columns: 1fr;
  }
  .feature-grid {
    grid-template-columns: 1fr;
  }
  .join-intro h1 {
    font-size: 36px;
  }
  .panel {
    padding: 20px;
  }
  .admin-stat {
    gap: 8px;
  }
  .admin-stat > div {
    padding: 12px;
  }
  .header-right .btn .icon {
    display: none;
  }
  .details {
    grid-template-columns: 1fr;
  }
  .message-compose {
    flex-direction: column;
  }
  .pill-tabs {
    gap: 5px;
  }
  .pill-tabs button {
    padding: 7px 9px;
  }
}
@media (prefers-reduced-motion: reduce) {
  * {
    transition: none !important;
    scroll-behavior: auto !important;
  }
}

.source-details{border:1px solid var(--line);border-radius:7px;padding:14px 16px;margin:15px 0;font-size:13px}.source-details summary{cursor:pointer;color:var(--ink);font-weight:550}.source-details p{color:#718066;line-height:1.9}.source-details li{overflow-wrap:anywhere;font-size:11px;color:var(--muted)}.profile-photo .initial{display:flex;align-items:center;justify-content:center;height:100%;font:90px var(--serif);color:#a8b59b}
