:root {
  --brand-orange:#ff7a00; --brand-tint:#fff3e7; --brand-line:#edba90; --brand-text:#843b00;
  --ink:#17212B; --muted:#626b66; --line:#dce1dc; --paper:#F7F8FA; --white:#fff;
  --accent:#d6501c; --accent-dark:#a8380c; --green:#355345; --shadow:0 16px 50px #16251c16;
}
* {box-sizing:border-box}
html {scroll-behavior:smooth;scroll-padding-top:20px}
body {margin:0;background:#F7F8FA;color:var(--ink);font:16px/1.5 "Segoe UI",Arial,sans-serif}
button,input,select,textarea {font:inherit;color:inherit}
button,a,select {touch-action:manipulation}
button {cursor:pointer}
button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible,[tabindex]:focus-visible {outline:3px solid #2563EB;outline-offset:3px}
a {color:inherit;text-decoration:none}
[hidden]{display:none!important}
.shell {width:min(1320px,calc(100% - 80px));margin-inline:auto}
.site-header {background:#fff;border-bottom:1px solid var(--line)}
.header-inner,.header-actions,.brand,.tabs,.market-head,.footer-inner,.market-tools,.selects {display:flex;align-items:center}
.header-inner {min-height:76px;gap:38px}
.brand {gap:9px;font-size:26px;font-weight:750;letter-spacing:-1.65px}
.brand img {width:37px;height:37px}
.catalog-link,.quiet-btn {font-size:15px;font-weight:600}
.catalog-link {border-left:1px solid var(--line);padding-left:30px}
.header-actions {margin-left:auto;gap:23px}
.quiet-btn,.tab {border:0;background:none}
.button,.finder button,.show-more {display:inline-flex;align-items:center;justify-content:center;border:1px solid transparent;border-radius:7px;padding:10px 17px;min-height:42px;font-weight:650;font-size:15px}
.button-dark {background:#17212B;color:white;gap:6px}
.button-dark:hover {background:#3c4840}
.button-line,.show-more {background:white;border-color:var(--line)}
.button-accent,.finder button {background:var(--brand-orange);color:var(--ink)}
.button:disabled {opacity:.6}
.cover {position:relative;overflow:hidden;border-radius:12px;margin-top:24px;background:#29332c;color:white;min-height:245px;display:flex;align-items:center}
.cover-image {position:absolute;right:0;top:0;width:66%;height:100%;background:url('/assets/category-materials.jpg') 50% 55% / cover no-repeat}
.cover:after {content:"";position:absolute;inset:0;background:linear-gradient(90deg,#222c27 4%,#232d28 33%,#222d27e8 45%,#222d2755 66%,transparent 85%);pointer-events:none}
.cover-copy {position:relative;z-index:1;width:min(590px,75%);padding:26px 36px}
h1,h2,h3,p {margin-top:0}
.cover h1 {font-size:clamp(36px,4.1vw,62px);letter-spacing:-.055em;line-height:1.02;font-weight:650;margin:0 0 23px}
.finder {display:flex;background:white;border-radius:7px;padding:4px;width:100%}
.finder input {border:0;background:transparent;min-width:0;flex:1;color:#28312c;font-size:15px;padding:8px 12px}
.finder button {min-height:38px;padding:6px 17px}
.market {padding:32px 0 65px}
.market-head {align-items:baseline;gap:14px}
.market-head h2 {font-size:clamp(29px,3vw,40px);line-height:1.2;letter-spacing:-.055em;margin:0;font-weight:650}
.market-head span {color:var(--muted);font-size:14px}
.market-tools {justify-content:space-between;flex-wrap:wrap;gap:14px;padding:16px 0 20px}
.tabs {background:#eceedf;border-radius:7px;padding:3px;gap:2px;background:#eceeea}
.tab,.selects select {font-size:14px}
.tab {padding:7px 12px;border-radius:5px;white-space:nowrap}
.tab.active {background:var(--brand-tint);color:var(--brand-text);box-shadow:0 1px 4px #17251e22;font-weight:650}
.selects {gap:8px}
.selects select {max-width:166px;background:#fff;border:1px solid var(--line);border-radius:6px;padding:8px}
.listing-grid {display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:32px 20px}
.listing-card {cursor:pointer;min-width:0;border-bottom:1px solid var(--line);padding-bottom:16px}
.card-art,.detail-art {position:relative;overflow:hidden;background:#e8ebe5;border-radius:8px}
.card-art {aspect-ratio:1.52}
.card-art img,.detail-art img {width:100%;height:100%;object-fit:cover;display:block}
.listing-card:hover h3 {color:#a84019}
.card-save {position:absolute;right:9px;top:9px;width:32px;height:32px;display:grid;place-items:center;border:0;background:#fffffff0;color:var(--ink);border-radius:50%;font:23px/1 Arial}
.card-label {position:absolute;bottom:9px;left:9px;background:#fffffff0;color:#28312c;border-radius:4px;font-size:12px;padding:3px 8px;font-weight:650}
.card-label.request {background:var(--brand-tint);color:var(--brand-text)}
.card-content {padding-top:10px}
.card-category,.card-footer,.sample-tag {font-size:13px;color:var(--muted)}
.card-category {display:flex;justify-content:space-between;gap:4px}
.card-content h3 {line-height:1.25;font-size:19px;letter-spacing:-.026em;font-weight:650;margin:5px 0 7px}
.card-price {font-size:20px;font-weight:700;letter-spacing:-.035em}
.card-price small {font-size:14px;color:var(--muted);font-weight:400;letter-spacing:0}
.card-footer {margin-top:7px}
.no-photo {display:grid;place-items:center;height:100%;color:var(--muted)}
.detail-art {height:240px;margin-bottom:15px}
.detail-art .sample-tag {position:absolute;bottom:8px;right:8px;background:white;padding:2px 8px;border-radius:4px}
.show-more {width:100%;margin-top:28px}
.empty-state {text-align:center;padding:40px}
.footer {border-top:1px solid var(--line);background:white}
.footer-inner {gap:22px;min-height:88px;font-size:14px;color:var(--muted)}
.footer-inner a:last-child {margin-left:auto}
.footer .brand {font-size:20px;color:var(--ink)}
.footer .brand img {width:28px;height:28px}
@media(max-width:1100px){.listing-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.shell{width:calc(100% - 40px)}}
@media(max-width:780px){.listing-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:22px 14px}.catalog-link{display:none}.cover-copy{width:75%;padding:24px}.selects{flex-wrap:wrap}.header-inner{min-height:62px;gap:10px}.header-actions{gap:11px}.brand{font-size:22px}}
@media(max-width:540px){.shell{width:calc(100% - 28px)}.header-inner{flex-wrap:wrap;padding:10px 0}.header-actions{gap:8px}.brand{font-size:19px;gap:5px}.brand img{width:28px;height:28px}.quiet-btn{font-size:13px;padding:4px}.header-actions .button{font-size:13px;padding:6px 9px;min-height:34px}.header-actions .button span{display:none}.cover{min-height:190px;margin-top:14px}.cover-image{width:75%}.cover-copy{width:100%;padding:19px}.cover h1{font-size:35px}.finder input{font-size:14px}.market{padding-top:22px}.market-tools{gap:10px}.tab{padding:6px 9px}.selects{width:100%;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:4px}.selects select{padding:7px 2px;min-width:0;font-size:12px}.listing-grid{gap:18px 10px}.card-content h3{font-size:16px}.card-price{font-size:17px}.card-category,.card-footer,.sample-tag{font-size:12px}.card-category{flex-wrap:wrap}.card-art{aspect-ratio:1.2}.card-save{width:27px;height:27px;top:5px;right:5px}.card-label{font-size:11px;left:5px;bottom:5px}.footer-inner>span{display:none}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}}


.modal-backdrop{position:fixed;inset:0;background:rgba(15,25,19,.68);z-index:50;display:grid;place-items:center;padding:20px}.modal{width:min(580px,100%);max-height:92vh;overflow:auto;background:#fff;border-radius:10px;padding:30px;box-shadow:var(--shadow)}.modal.wide{width:min(840px,100%)}.modal-header{display:flex;justify-content:space-between;gap:15px;align-items:start;margin-bottom:19px}.modal-header h2{font-size:26px;letter-spacing:-.05em;margin:3px 0}.modal-header p{font-size:13px;color:var(--muted);margin:0}.close{background:#f2f4f0;border:0;border-radius:50%;height:32px;width:32px;font-size:20px;flex:none}.field{display:grid;gap:6px;margin-bottom:14px}.field label{font-size:12px;font-weight:800}.field input,.field select,.field textarea{width:100%;border:1px solid #dce2da;border-radius:5px;padding:11px 12px;outline:0;background:#fff;font-size:13px}.field textarea{min-height:100px;resize:vertical}.form-row{display:grid;grid-template-columns:1fr 1fr;gap:12px}.form-error{background:#fff1ee;color:#ac4532;border-radius:5px;padding:10px 12px;font-size:12px;margin-bottom:14px}.form-hint{font-size:11px;color:var(--muted);line-height:1.55}.form-actions{display:flex;gap:9px;flex-wrap:wrap;margin-top:18px}.form-actions .button{flex:1}.text-btn{background:none;border:0;color:var(--accent-dark);font-size:12px;font-weight:800;padding:0;text-decoration:underline}.segment{display:flex;gap:7px;margin:0 0 18px}.segment button{background:#f2f4f0;border:1px solid transparent;border-radius:5px;padding:9px 14px;font-size:12px;font-weight:800}.segment button.active{background:var(--brand-tint);border-color:var(--brand-line);color:var(--brand-text)}.upload-preview,.gallery{display:flex;gap:8px;overflow-x:auto}.upload-preview img{width:75px;height:65px;object-fit:cover;border-radius:5px}.gallery img{width:calc(50% - 4px);height:210px;object-fit:cover;border-radius:6px}.detail-art{height:265px;border-radius:6px;overflow:hidden;position:relative;margin:14px 0}.detail-art img{width:100%;height:100%;object-fit:cover}.detail-title{font-size:25px;line-height:1.3;letter-spacing:-.04em}.detail-metrics{display:flex;gap:10px;flex-wrap:wrap;margin:18px 0}.detail-metrics span{background:var(--paper);border-radius:5px;padding:9px 12px;font-size:11px}.detail-metrics b{display:block;color:var(--ink);font-size:15px}.detail-copy{font-size:13px;color:#56615b;white-space:pre-wrap;line-height:1.7}.author-row{display:flex;align-items:center;gap:11px;border:1px solid var(--line);border-radius:6px;padding:12px;margin:18px 0;cursor:pointer}.avatar{width:42px;height:42px;border-radius:50%;display:grid;place-items:center;background:#d8e4da;color:#355d48;font-weight:800;overflow:hidden;flex:none}.avatar img{width:100%;height:100%;object-fit:cover}.author-row b,.author-row small{display:block}.author-row b{font-size:13px}.author-row small{font-size:11px;color:var(--muted)}.author-row>span:last-child{margin-left:auto}.profile-head{display:flex;align-items:center;gap:15px}.profile-head .avatar{width:65px;height:65px;font-size:22px}.profile-head h2{margin:0}.profile-head p{margin:0;color:var(--muted);font-size:12px}.profile-bio{color:#59645e;font-size:13px;line-height:1.7;margin:20px 0}.profile-list{display:grid;gap:8px;margin:18px 0}.profile-list button{display:flex;justify-content:space-between;gap:12px;text-align:left;background:#f6f7f3;border:0;border-radius:5px;padding:12px;font-size:12px}.profile-list small{color:var(--muted)}.order-row{border-bottom:1px solid var(--line);padding:12px 0;font-size:12px}.order-row b{display:block}.order-row small{color:var(--muted)}.order-row button{margin-top:6px}.toast{position:fixed;bottom:24px;left:50%;transform:translate(-50%,12px);background:var(--ink);color:#fff;padding:11px 18px;border-radius:6px;font-size:12px;opacity:0;pointer-events:none;transition:.2s;z-index:60}.toast.show{opacity:1;transform:translate(-50%,0)}.file-warning{background:#fff3d8;color:#70511d;padding:10px;text-align:center;font-size:12px}

@media(max-width:540px){.form-row{grid-template-columns:1fr}.modal{padding:19px}.gallery img{height:130px}}
.field label,.form-hint,.form-error,.profile-bio,.detail-copy,.order-row,.modal-header p {font-size:14px}.field input,.field select,.field textarea{font-size:16px}.detail-art{aspect-ratio:auto}.modal button:focus-visible{outline-offset:1px}
.cover h1{max-width:610px;text-wrap:balance}.cover-copy{width:min(660px,82%)}.finder{max-width:490px}@media(max-width:540px){.cover-copy{width:100%}}


@media(max-width:640px){.header-inner{flex-wrap:wrap}.header-actions{width:100%;margin:0;flex-wrap:wrap;gap:10px}.header-actions #createBtn{margin-left:auto}.selects{grid-template-columns:repeat(2,minmax(0,1fr))}}
/* City suggestions use the local GeoNames index. */
.city-picker {position:relative;min-width:0}
.city-search {width:10.5rem;max-width:100%;padding:8px 10px;border:1px solid var(--line);border-radius:6px;background:#fff;font-size:14px}
.city-suggestions {position:absolute;z-index:5;top:calc(100% + 5px);left:0;min-width:100%;width:max-content;max-width:min(310px,75vw);max-height:240px;overflow:auto;border:1px solid var(--line);background:#fff;border-radius:9px;box-shadow:var(--shadow);padding:4px}
.city-suggestions button {display:block;text-align:left;min-height:42px;width:100%;background:white;border:0;padding:7px 10px;border-radius:5px;font-size:14px}
.city-suggestions button:hover,.city-suggestions button:focus-visible {background:#edf2ff;outline:none}
.city-suggestions small {display:block;color:var(--muted)}
.member-hero {display:flex;align-items:center;gap:22px;min-height:150px;padding:25px 27px;border-radius:12px;background:linear-gradient(112deg,#17212b 55%,#314054);color:#fff}
.member-hero .avatar {width:88px;height:88px;background:#ffe4cd;color:#74320e;border:3px solid #ffffffb0;box-shadow:0 5px 20px #0003;font-size:27px}
.member-hero h2 {margin:3px 0;font-size:clamp(22px,4vw,37px);line-height:1.15;overflow-wrap:anywhere}
.member-hero p {margin:5px 0 0;color:#d9e3ee}
.member-role {display:inline-block;border-radius:4px;background:var(--brand-orange);color:#17212b;padding:2px 8px;font-size:12px;font-weight:700}
.profile-controls {display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin:14px 0}
.member-stats {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));border:1px solid var(--line);border-radius:9px;margin:15px 0 22px}
.member-stats div {padding:12px 15px;display:grid;gap:2px}
.member-stats div+div {border-left:1px solid var(--line)}
.member-stats strong {font-size:21px}
.member-stats span {font-size:13px;color:var(--muted)}
.member-section {margin-top:21px}
.member-section h3 {margin:0 0 10px}
.member-section .profile-bio {margin:0;white-space:pre-wrap;overflow-wrap:anywhere}
.profile-projects {display:grid;grid-template-columns:repeat(auto-fit,minmax(195px,1fr));gap:10px}
.profile-project {padding:0;text-align:left;border:1px solid var(--line);border-radius:8px;overflow:hidden;background:#fff}
.profile-project:hover {border-color:var(--accent)}
.profile-project-photo {display:block;height:105px;background:var(--paper);overflow:hidden}
.profile-project-photo img {width:100%;height:100%;object-fit:cover}
.profile-project-body {padding:9px 12px;display:grid;gap:2px}
.profile-project-body small {color:var(--muted)}
@media(max-width:540px){.member-hero{padding:16px;gap:12px}.member-hero .avatar{width:62px;height:62px;font-size:20px}.member-stats div{padding:8px}.member-stats span{font-size:12px}.city-search{width:100%}}

.listing-error{border-left:3px solid #c34e27;padding:8px 12px;background:#fff1e8;color:#7a290b;margin:12px 0}.upload-preview>span{display:grid;gap:4px}.upload-preview>span>button{font-size:12px}.upload-preview>span>img{max-width:100px}
.field .listing-photos {min-width:0;max-width:100%;min-height:44px;padding:4px;cursor:pointer}
.listing-photos::file-selector-button {min-height:36px;margin-inline-end:8px;padding:0 10px;border:0;border-radius:4px;background:var(--brand-tint);color:var(--ink);font:inherit;cursor:pointer}
.field #photoStatus {overflow-wrap:anywhere}

@media(max-width:410px){.header-actions #createBtn{flex:1 0 100%;margin-left:0}}
/* Photo-led cover and compact marketplace cards. */
.cover {background:#17212b;min-height:360px;margin-top:22px;border-radius:15px}
.cover-image {width:65%;object-position:50% 48%}
.cover:after {background:linear-gradient(90deg,#17212b 0%,#17212b 34%,#17212bf5 41%,#17212b48 62%,transparent 81%)}
.cover-copy {width:min(620px,65%);padding:34px 40px}
.cover h1 {font-size:clamp(32px,4.05vw,57px);text-wrap:initial;max-width:560px;margin:0 0 14px;line-height:1.06}
.cover-copy>p {color:#dce5ec;margin:0 0 24px}
#createBtn{white-space:nowrap}
#createBtn[aria-busy=true]{cursor:progress}
.listing-grid {gap:20px}
.listing-card {border:1px solid #dce2e8;border-radius:12px;background:#fff;padding:0;overflow:hidden;transition:border-color .18s,box-shadow .18s}
.listing-card:hover,.listing-card:focus-within {border-color:var(--brand-line);box-shadow:0 8px 22px #17212b15}
.listing-card .card-art {aspect-ratio:1.52;border-radius:0;background:#edf0f3}
.listing-card .card-art img {transition:transform .25s ease}
.listing-card:hover .card-art img {transform:scale(1.025)}
.listing-card[data-id="seed-1"] img {object-position:50% 35%}
.listing-card[data-id="seed-2"] img {object-position:50% 52%}
.card-content {padding:11px 12px 14px}
.card-footer {margin-top:5px}
@media(max-width:780px){.cover{min-height:306px}.cover-copy{width:min(540px,75%);padding:24px}}
@media(max-width:540px){.cover{display:grid;min-height:0}.cover-image{position:static;width:100%;height:145px;order:2}.cover:after{display:none}.cover-copy{width:100%;padding:20px 17px}.cover h1{font-size:30px;margin-bottom:9px}.cover-copy>p{margin-bottom:13px;font-size:14px}.listing-grid{gap:12px 9px}.listing-card .card-art{aspect-ratio:1.2}.card-content{padding:9px}.card-category{min-height:18px}}
@media(prefers-reduced-motion:reduce){.listing-card,.listing-card .card-art img{transition:none}}

.brand-meaning {
  margin:0 0 14px;
  border:1px solid var(--line);
  border-radius:10px;
  background:var(--surface);
  color:var(--ink);
}
.brand-meaning summary {
  display:grid;
  grid-template-columns:auto minmax(0,1fr) auto;
  align-items:center;
  gap:11px;
  min-height:56px;
  padding:9px 15px;
  border-radius:inherit;
  list-style:none;
  cursor:pointer;
  font-size:18px;
  font-weight:690;
  line-height:1.3;
}
.brand-meaning summary::-webkit-details-marker {display:none}
.brand-meaning summary:focus-visible {outline-offset:3px}
.brand-meaning summary img {display:block;width:32px;height:32px;border-radius:7px}
.brand-meaning-toggle {
  display:block;
  width:22px;
  height:22px;
  fill:none;
  stroke:currentColor;
  stroke-width:1.8;
  stroke-linecap:round;
  stroke-linejoin:round;
  color:var(--muted);
}
.brand-meaning[open] summary {
  border-radius:9px 9px 0 0;
  background:var(--layer);
}
.brand-meaning[open] .brand-meaning-toggle {transform:rotate(180deg)}
@media(hover:hover) {
  .brand-meaning summary:hover {background:var(--layer)}
}
.brand-meaning:not([open]) > dl {display:none}
.brand-meaning dl {
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  margin:0;
  padding:18px 15px;
  border-top:1px solid var(--line);
}
.brand-meaning dl div {
  display:grid;
  grid-template-columns:auto minmax(0,1fr);
  align-items:start;
  gap:10px;
  padding-inline:14px;
}
.brand-meaning dl div:first-child {padding-inline-start:0}
.brand-meaning dl div:last-child {padding-inline-end:0}
.brand-meaning dl div + div {border-inline-start:1px solid var(--line)}
.brand-meaning dt {
  display:grid;
  place-items:center;
  width:39px;
  height:39px;
  border-radius:7px;
  background:var(--brand-tint);
  color:var(--brand-text);
  font-size:22px;
  font-weight:750;
  line-height:1;
}
.brand-meaning dd {
  margin:0;
  font-size:16px;
  line-height:1.55;
  overflow-wrap:break-word;
}
.brand-meaning dd strong {font-size:18px;font-weight:685}
.brand-meaning dd p {margin:4px 0 0;color:var(--muted)}
@media(max-width:900px) {
  .brand-meaning {margin-bottom:9px}
  .brand-meaning summary {min-height:48px;padding:7px 11px}
  .brand-meaning dl {grid-template-columns:1fr;padding:4px 11px}
  .brand-meaning dl div {padding:12px 0}
  .brand-meaning dl div + div {border-inline-start:0;border-top:1px solid var(--line)}
}

.cover h1{font-size:clamp(46px,6.4vw,88px);font-weight:750}
@media(max-width:620px){.cover h1{font-size:clamp(43px,11vw,63px)}}

/* Brand accents for controls and selected states. */
#createBtn span,
#assistantToggle span {color:var(--brand-orange)}
#createBtn:hover:not(:disabled),
#assistantToggle[aria-expanded="true"] {border-color:var(--brand-orange)}
.catalog-link:hover,
.quiet-btn:hover,
.footer-inner a:last-child:hover {color:var(--brand-text)}
.card-save[aria-pressed="true"] {background:var(--brand-tint);color:var(--brand-text)}
.avatar {background:var(--brand-tint);color:var(--brand-text)}
.author-row:hover,
.profile-project:hover,
.show-more:hover {border-color:var(--brand-line)}
.admin-page .admin-tabs button[aria-current],
#buildAssistant .assistant-tabs button[aria-pressed="true"] {
  background:var(--brand-tint);
  border-color:var(--brand-line);
  color:var(--brand-text)
}
#buildAssistant .assistant-body output:not(:empty) {background:var(--brand-tint)}

@media (max-width:640px) {
  .header-inner {row-gap:8px}
  .header-actions {gap:4px}
  .header-actions .quiet-btn {
    flex:1 1 auto;
    padding:6px 5px;
    min-height:44px;
    font-size:14px;
    border-radius:7px;
    background:#f3f5f7;
  }
  .header-actions #createBtn {
    flex:1 0 100%;
    margin:4px 0 0;
    min-height:44px;
    background:var(--brand-orange);
    color:var(--ink);
    font-size:15px;
  }
  .header-actions #createBtn span {display:inline;color:inherit}
  .finder input {font-size:16px}
  .finder button {min-height:44px;padding-inline:12px}
  .market-head {flex-wrap:wrap;gap:4px 12px}
  .market-tools .tabs {display:grid;grid-template-columns:repeat(4,minmax(0,1fr));width:100%}
  .market-tools .tab {min-height:44px;padding:4px 2px;font-size:clamp(12px,3.4vw,15px)}
  .market-tools .selects {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;width:100%}
  .selects select,.selects .city-search {width:100%;min-width:0;max-width:none;min-height:44px;padding:6px 8px;font-size:16px}
  .listing-card {overflow-wrap:anywhere}
  .listing-card .card-save {width:44px;height:44px;top:5px;right:5px}
  .footer {padding-bottom:calc(52px + env(safe-area-inset-bottom,0px))}
  .modal-backdrop {align-items:end;padding:10px 0 0}
  .modal,.modal.wide {
    width:min(580px,100%);
    max-height:calc(100dvh - max(10px,env(safe-area-inset-top,0px)));
    padding:16px 16px calc(20px + env(safe-area-inset-bottom,0px));
    border-radius:16px 16px 0 0;
    overscroll-behavior:contain;
    overflow-wrap:anywhere;
  }
  .modal .close {width:44px;height:44px}
  .modal .button,.modal .segment button,.modal .text-btn,.modal #profileLogout {min-height:44px}
  .modal .form-row {grid-template-columns:minmax(0,1fr)}
  .modal .field {grid-template-columns:minmax(0,1fr)}
  .modal .field input,.modal .field select,.modal .field textarea {min-height:44px;min-width:0}
  .detail-art {height:auto;aspect-ratio:16/10}
  .detail-metrics {gap:6px}
  .modal .form-actions .button {flex:1 1 auto}
  .profile-projects {grid-template-columns:repeat(auto-fit,minmax(min(170px,100%),1fr))}
  .profile-controls button {flex:1 1 auto}
  .toast {width:max-content;max-width:calc(100% - 24px);bottom:calc(18px + env(safe-area-inset-bottom,0px))}
}
@media (max-width:359px) {
  .listing-grid {grid-template-columns:minmax(0,1fr)}
  .market-tools .selects {grid-template-columns:1fr}
  .finder {flex-wrap:wrap}
  .finder input {flex:1 0 100%}
  .finder button {width:100%}
}

html.modal-open {overflow:hidden;scrollbar-gutter:stable}
.modal:focus {outline:none}
@media (min-width:641px) and (max-width:980px) {
  .header-inner {gap:12px}
  .header-inner .brand {white-space:nowrap}
  .header-inner .catalog-link {padding-left:12px}
  .header-actions {gap:10px;flex-wrap:wrap;justify-content:flex-end}
}

/* Marketplace palette and shared controls */
:root {
  color-scheme:light;
  --ink:#242521;
  --muted:#62655c;
  --surface:#fff;
  --paper:#faf9f6;
  --layer:#f2f1eb;
  --line:#e4e0d6;
  --brand-orange:#f5c544;
  --brand-tint:#fff3cc;
  --brand-line:#d8ae39;
  --brand-text:#594500;
  --accent-dark:#67511a;
  --danger-bg:#fff1e9;
  --danger-text:#8a331e;
  --shadow:0 18px 56px #24252124;
}
:root[data-theme=dark] {
  color-scheme:dark;
  --ink:#f3f2eb;
  --muted:#b8baaf;
  --surface:#232622;
  --paper:#171918;
  --layer:#2e312c;
  --line:#3d4139;
  --brand-tint:#433719;
  --brand-line:#8c732d;
  --brand-text:#ffdc78;
  --accent-dark:#ffdc78;
  --danger-bg:#422c25;
  --danger-text:#ffc7b4;
  --shadow:0 18px 56px #0006;
}
body {background:var(--paper);color:var(--ink);font:16px/1.5 "Segoe UI",Arial,sans-serif}
.shell,.admin-shell {width:min(1216px,calc(100% - 64px))}
.site-header,.footer {background:var(--surface);border-color:var(--line);color:var(--ink)}
.header-inner {min-height:68px;display:flex;gap:22px;justify-content:space-between;padding:10px 0}
.brand {font-size:23px;letter-spacing:-.045em;font-weight:800;white-space:nowrap;color:var(--ink)}
.brand img {width:38px;height:38px;flex:none}
.header-actions {margin:0 0 0 auto;gap:12px;flex-wrap:nowrap}
.header-actions .button {font-size:14px;padding:9px 14px;min-height:42px}
.header-actions .quiet-btn {font-size:14px;padding:8px 3px;white-space:nowrap}
.header-region {min-width:0;display:flex;align-items:center;gap:7px}
.header-region svg,.finder svg {width:19px;height:19px;flex:none;fill:none;stroke:currentColor;stroke-width:1.75}
.header-region select {max-width:200px;min-width:0;background:transparent;border:0;color:var(--ink);padding:8px 4px;font-size:14px;font-weight:650}
.theme-switch {position:relative;flex:none;width:48px;height:28px;border:1px solid var(--line);border-radius:999px;background:var(--layer);padding:0}
.theme-switch span {display:grid;place-items:center;width:20px;height:20px;position:absolute;left:3px;top:3px;border-radius:50%;background:var(--brand-orange);color:#242521;transition:transform .2s}
.theme-switch span::before {content:"";width:7px;height:7px;border:1.5px solid currentColor;border-radius:50%}
.theme-switch[aria-checked=true] span {transform:translateX(20px)}
.theme-switch[aria-checked=true] span::before {background:currentColor;border:0;box-shadow:-3px -1px 0 #f5c544 inset}
.button,.finder button,.show-more {border-radius:8px;font-weight:700}
.button-dark,.button-accent,.finder button {background:var(--brand-orange);color:#262319;border-color:transparent}
.button-dark:hover,.button-accent:hover,.finder button:hover {background:#ffd566;color:#262319}
.button-line,.show-more {background:var(--surface);border-color:var(--line);color:var(--ink)}
.button-line:hover,.show-more:hover {border-color:var(--brand-line)}
.cover {display:block;color:var(--ink);margin:0;padding:38px 0 22px;background:none;border-radius:0;overflow:visible;min-height:0}
.cover::after {content:none}
.cover h1 {font-size:clamp(32px,4.8vw,56px);margin:0 0 22px;max-width:none;letter-spacing:-.055em;font-weight:800;line-height:1.07}
.hero-break {display:none}
.finder {background:var(--surface);border:1px solid var(--line);padding:5px 5px 5px 15px;align-items:center;gap:7px;max-width:760px;flex-wrap:nowrap}
.finder:focus-within {border-color:var(--brand-line)}
.finder svg {color:var(--muted)}
.finder input {flex:1;min-width:0;padding:7px 4px;color:var(--ink);font-size:16px}
.finder input::placeholder {color:var(--muted)}
.finder button {flex:none;width:auto;min-width:87px;min-height:42px}
.category-strip {display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-top:17px}
.category-tile {display:flex;min-width:0;align-items:center;border:1px solid var(--line);background:var(--surface);border-radius:9px;padding:0;text-align:left;overflow:hidden;font-weight:700;color:var(--ink);line-height:1.2}
.category-tile:hover,.category-tile[aria-pressed=true] {border-color:var(--brand-line);background:var(--brand-tint)}
.category-tile img {object-fit:cover;width:81px;height:57px;flex:none;background:var(--layer)}
.category-tile:first-child img {object-position:58% center}
.category-tile span {padding:7px 11px;overflow-wrap:anywhere}
.market {padding:15px 0 42px}
.market-head {gap:12px;align-items:baseline}
.market-head h2 {font-weight:800;font-size:clamp(26px,3vw,34px);letter-spacing:-.045em}
.market-tools {display:flex;gap:12px;padding:13px 0 15px;border-bottom:1px solid var(--line);margin:0 0 18px}
.tabs {background:transparent;padding:0;gap:4px;max-width:100%}
.tab {color:var(--muted);min-height:43px;border-radius:8px;padding:8px 11px;font-weight:600}
.tab.active {color:var(--brand-text);background:var(--brand-tint);box-shadow:none}
.selects {gap:7px;min-width:0}
.selects select,.city-search,.field input,.field select,.field textarea {background:var(--surface);border-color:var(--line);color:var(--ink)}
.selects select,.city-search {min-height:42px;max-width:170px;text-overflow:ellipsis}
#toggleFilters,#applyFilters {display:none}
.listing-grid {grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
.listing-card {border-radius:11px;border-color:var(--line);background:var(--surface);color:var(--ink)}
.listing-card:hover,.listing-card:focus-within {box-shadow:0 4px 16px #27251714}
.listing-card .card-art {aspect-ratio:1.7;background:var(--layer)}
.card-save {top:9px;right:9px;background:var(--surface);color:var(--ink)}
.card-content {padding:13px 14px 15px}
.card-content h3 {font-size:18px;font-weight:750;margin:4px 0 5px;overflow-wrap:anywhere}
.listing-card:hover h3 {color:var(--accent-dark)}
.card-category,.card-footer {font-size:13px;color:var(--muted)}
.card-price {font-size:22px;color:var(--ink)}
.card-price small {font-size:14px;letter-spacing:0}
.card-footer {display:flex;flex-wrap:wrap;gap:2px 7px;margin-top:7px}
.card-footer span + span::before {content:"·";margin-right:7px}
.no-photo {display:flex;flex-direction:column;justify-content:center;align-items:center;gap:7px;height:100%;color:var(--muted);font-size:13px}
.no-photo svg {width:42px;height:42px;fill:none;stroke:currentColor;stroke-width:1.4;stroke-linecap:round;stroke-linejoin:round;opacity:.85}
.empty-state {padding:26px 18px;background:var(--surface);border:1px dashed var(--line);color:var(--ink);border-radius:10px}
.empty-state h3 {margin:0 0 5px}
.empty-state p {margin:0 0 15px;color:var(--muted)}
.empty-state > div {display:flex;justify-content:center;gap:8px;flex-wrap:wrap}
.footer {color:var(--muted)}
.footer .brand {font-size:19px}
.footer .brand img {width:30px;height:30px}
.modal,.member-hero,.author-row,.profile-project,.city-suggestions,.seo-listing {background:var(--surface);color:var(--ink);border-color:var(--line)}
.modal {border-radius:12px}
.modal .close,.segment button,.detail-metrics span,.member-stats>div,.profile-list button,.profile-project-photo,.card-art,.detail-art {background:var(--layer);color:var(--ink)}
.modal h2,.modal h3,.member-hero h2 {color:var(--ink);overflow-wrap:anywhere}
.segment button.active,.member-role {background:var(--brand-tint);color:var(--brand-text)}
.modal-header p,.form-hint,.profile-bio,.detail-copy,.member-section p,.profile-project-body small,.member-hero p,.member-stats span {color:var(--muted)}
.member-section {border-color:var(--line)}
.member-stats {gap:8px}
.field label,.form-hint {font-size:14px}
.field input,.field select,.field textarea {min-width:0;min-height:44px}
.field input:focus-visible,.field select:focus-visible,.field textarea:focus-visible {outline-color:var(--brand-line)}
.city-suggestions button {background:var(--surface);color:var(--ink)}
.city-suggestions button:hover,.city-suggestions button:focus {background:var(--brand-tint);color:var(--brand-text)}
.form-error,.listing-error,.field-error {background:var(--danger-bg);color:var(--danger-text)}
.field-error {font-size:13px;padding:4px 7px;border-radius:4px;margin:0}
.field [aria-invalid=true] {border-color:var(--danger-text)}
.listing-form-block {min-width:0;margin:0 0 16px;padding:12px 0 0;border:0;border-top:1px solid var(--line)}
.listing-form-block legend {padding:0 8px 0 0;font-weight:750}
.author-row {width:100%;text-align:left}
.author-row small {color:var(--muted)}
.gallery,.work-photos {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
.gallery img,.work-photos img {width:100%;height:auto;aspect-ratio:1.5;object-fit:cover;border-radius:7px}
.public-listing {padding-top:28px;display:grid;grid-template-columns:minmax(0,1fr) minmax(240px,.48fr);gap:32px;align-items:start}
.public-listing h1 {font-size:clamp(27px,4vw,43px);line-height:1.12;letter-spacing:-.03em;margin:8px 0 14px;overflow-wrap:anywhere}
.public-listing .seo-listing {border:1px solid var(--line);padding:22px;border-radius:11px}
.public-listing .hero-photo {width:100%;aspect-ratio:1.7;object-fit:cover;background:var(--layer);border-radius:9px;display:block;margin-bottom:8px}
.public-listing .detail-copy {margin:17px 0 0;overflow-wrap:anywhere;font-size:16px}
.public-listing .detail-metrics {margin:12px 0}
.public-listing .button {text-align:center}
.public-listing .author-row {margin:0 0 13px}
.public-listing .author-row .avatar {background:var(--brand-tint);color:var(--brand-text)}
.mobile-profile-actions {display:none}
@media(max-width:1050px) {
  .header-inner {gap:13px}
  .header-actions {gap:8px}
  .header-region select {max-width:155px}
  .category-tile img {width:66px}
}
@media(max-width:880px) {
  .header-secondary {display:none}
  .mobile-profile-actions {display:flex;gap:8px;flex-wrap:wrap;margin:12px 0}
  .market-tools {justify-content:flex-start}
  .public-listing {gap:16px}
}
@media(max-width:740px) {
  .shell,.admin-shell {width:calc(100% - 32px)}
  .header-inner {display:grid;grid-template-columns:minmax(0,1fr) auto;gap:6px 9px}
  .header-inner .brand {grid-column:1;grid-row:1}
  .header-actions {display:contents}
  .header-region {grid-column:1;grid-row:2}
  .header-region select {max-width:100%;min-height:44px}
  .header-auth {grid-column:2;grid-row:1;justify-self:start}
  .header-inner .theme-switch {grid-column:1;grid-row:1;justify-self:end;margin-right:4px}
  .header-inner #adminBtn {display:none}
  .header-inner #createBtn {grid-column:2;grid-row:2;min-height:44px;padding:7px 9px;font-size:13px}
  .header-inner #createBtn span {display:none}
  .header-inner .brand {font-size:20px}
  .header-inner .brand img {width:32px;height:32px}
  .cover {padding:21px 0 17px}
  .cover h1 {margin-bottom:13px}
  .category-strip {grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;margin-top:12px}
  .category-tile {font-size:13px;min-height:44px}
  .category-tile img {width:54px;height:43px}
  .category-tile span {padding:5px 7px}
  .market {padding-top:8px}
  .listing-grid {grid-template-columns:1fr;gap:12px}
  .listing-card .card-art {aspect-ratio:1.7}
  .market-tools {gap:6px 8px;justify-content:space-between;padding:9px 0;margin-bottom:12px}
  .tabs {gap:2px;flex:1 1 auto;min-width:0}
  .tab {font-size:13px;min-height:44px;padding:7px}
  .favorite-tab span {display:none}
  #toggleFilters {display:inline-flex;min-height:44px;padding:7px 8px;font-size:13px}
  #applyFilters {display:inline-flex;grid-column:1/-1;min-height:44px}
  #listingFilters {display:none;order:2;flex-basis:100%;width:100%;padding:7px 0;gap:7px}
  #listingFilters[data-open=true] {display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}
  #listingFilters :is(input,select) {width:100%;font-size:16px;max-width:none;min-height:44px}
  #listingFilters #sortFilter {grid-column:1/-1}
  .public-listing {grid-template-columns:1fr;padding-top:16px}
  .public-listing .seo-listing {padding:15px}
  .theme-switch {min-height:28px}
}
@media(max-width:380px) {
  .shell,.admin-shell {width:calc(100% - 24px)}
  .header-inner {gap:5px}
  .header-inner .theme-switch {width:42px;margin-right:1px}
  .header-inner .theme-switch[aria-checked=true] span {transform:translateX(14px)}
  .header-inner .brand {font-size:18px}
  .header-inner .brand img {width:29px;height:29px}
  .tab {padding-inline:5px;font-size:12px}
  #toggleFilters {padding-inline:6px}
}
@media(prefers-reduced-motion:reduce) {.theme-switch span {transition:none}}
.work-photo {padding:0;border:0;border-radius:7px;overflow:hidden;background:var(--layer)}
.work-photo img {display:block}
.listing-contacts h3 {flex-basis:100%;margin:0}
.listing-contacts a {overflow-wrap:anywhere;min-width:0}

select {color-scheme:inherit}
select option,select optgroup {background-color:var(--surface,#fff);color:var(--ink,#21251f)}
:root[data-theme=dark] select {color-scheme:dark}
:root[data-theme=dark] select option,:root[data-theme=dark] select optgroup {background-color:#222620;color:#f4f2e9}
.author-row {text-align:left;justify-content:flex-start;gap:12px;min-width:0}
.author-row>span:last-child {margin-left:0;min-width:0;overflow-wrap:anywhere}
.author-row b {font-size:15px;line-height:1.35}
.author-row small {font-size:13px;line-height:1.4;margin-top:3px}
.listing-detail-actions,.listing-action-group {display:grid;gap:10px}
.listing-detail-actions {margin-top:16px}
.listing-detail-actions .listing-contacts {margin:0;gap:10px}
.listing-detail-actions [hidden],.listing-action-group:empty {display:none}
.listing-action-group {grid-template-columns:repeat(auto-fit,minmax(min(100%,210px),1fr))}
.listing-detail-actions .button {min-height:44px;text-align:center;white-space:normal}
.listing-report {justify-self:start;min-height:44px}
.listing-state {padding:12px 14px;margin:0;border:1px solid var(--line);border-radius:8px;background:var(--paper);line-height:1.5;color:var(--ink)}
#photoRightsRow[hidden]{display:none}
.photo-credits {max-width:760px;padding-block:28px 50px;line-height:1.65}
.photo-credits section {padding:16px 0;border-top:1px solid var(--line)}
.photo-credits h1,.photo-credits h2 {line-height:1.25;margin:0 0 12px}
.photo-credits p,.photo-credits ul {margin:8px 0;color:var(--muted)}
.photo-credits li+li {margin-top:8px}
.photo-credits a {color:var(--ink);text-decoration:underline;text-underline-offset:.2em}
@media(max-width:520px) {
  .listing-action-group {grid-template-columns:minmax(0,1fr)}
  .listing-detail-actions .listing-contacts .button {flex-basis:100%}
}
.public-header {min-height:64px;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:6px 0}
.public-header-actions {display:flex;align-items:center;gap:12px}
.market {min-height:calc(100vh - 330px)}
#createBtn span {color:inherit}
@media(max-width:740px) {
  .market {min-height:calc(100vh - 395px)}
  .header-actions .header-auth {justify-self:end;background:transparent;padding-inline:8px}
  .header-inner .theme-switch {grid-column:2;justify-self:start;margin-left:3px;margin-right:0}
  .header-inner .header-actions #createBtn {margin:0;color:#262319;font-size:13px}
  .market-tools .tabs {display:flex;width:auto;flex:0 1 auto}
  .market-tools .tab {padding:6px;font-size:13px}
}
@media(max-width:380px) {
  .market-tools .tab {padding:5px;font-size:12px}
}
.theme-switch {height:44px;border:0;background:transparent}
.theme-switch::before {content:"";position:absolute;inset:8px 0;border:1px solid var(--line);border-radius:999px;background:var(--layer)}
.theme-switch span {top:12px;left:4px}
.auth-dialog {width:min(480px,100%);padding:24px}
.auth-dialog .modal-header {margin-bottom:10px}
.auth-dialog .modal-header h2 {font-size:clamp(24px,5vw,29px);letter-spacing:-.03em}
.auth-dialog .segment {margin-bottom:12px;display:grid;grid-template-columns:1fr 1fr}
.auth-dialog .segment button {min-height:44px;font-size:15px}
#authForm .field {margin-bottom:9px}
#authForm .field label {font-size:14px;font-weight:650}
#authForm .field input,#authForm .field select {min-height:44px;font-size:16px;padding:8px 10px}
.auth-hint {margin:-4px 0 2px;color:var(--muted);font-size:14px}
.auth-check {display:flex;min-height:44px;align-items:center;gap:9px;font-size:14px;line-height:1.35;cursor:pointer}
.auth-check input {width:18px;height:18px;flex:none;margin:0;accent-color:var(--brand-orange)}
.auth-extra {margin:1px 0 5px;font-size:14px}
.auth-extra summary {width:fit-content;cursor:pointer;min-height:34px;padding-block:6px;color:var(--muted)}
#authForm .form-error {margin:5px 0 7px;overflow-wrap:anywhere}
#authForm .form-actions {margin-top:8px}
.toast {background:var(--ink);color:var(--paper)}
@media(max-width:740px) {
  .cover h1 {font-size:clamp(29px,8vw,39px);letter-spacing:-.045em}
  .category-tile span {overflow-wrap:normal;hyphens:auto}
  .market-tools .tab {flex:none}
  .market-tools .tabs {flex-wrap:wrap}
  .card-content h3 {font-size:18px;line-height:1.28}
  .card-category,.card-footer,.author-row small {font-size:14px}
  .listing-card :is(.card-content,.card-footer) {overflow-wrap:anywhere}
  .auth-dialog {width:min(480px,100%);max-height:90vh;max-height:calc(100dvh - max(12px,env(safe-area-inset-top,0px)));padding:12px 16px max(15px,env(safe-area-inset-bottom,0px));}
}

/* cyrillic */
@font-face {
  font-family: 'Golos Text';
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
  src: url(/assets/golos-cyrillic.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

/* latin */
@font-face {
  font-family: 'Golos Text';
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
  src: url(/assets/golos-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Catalogue typography, artwork and shared surfaces */
:root {
  --paper:#f7f7f2;
  --ink:#252721;
  --muted:#60645a;
  --layer:#eeefe7;
  --line:#dfe1d6;
  --brand-tint:#fff2c5;
  --shadow:0 18px 56px #22271c22;
}
:root[data-theme=dark] {
  --paper:#171a17;
  --surface:#222622;
  --ink:#f2f3ec;
  --muted:#bfc3b7;
  --line:#3b4238;
  --layer:#2b312a;
  --brand-tint:#3b351f;
}
body {font-family:"Golos Text","Segoe UI",Arial,sans-serif}
.header-inner,.public-header {min-height:70px}
.brand {font-weight:760;letter-spacing:-.055em}
.header-region {color:var(--muted);padding-inline-start:12px;border-inline-start:1px solid var(--line)}
.header-region select {color:var(--ink)}
.header-actions .quiet-btn {font-weight:530}
.header-actions .header-auth {font-weight:650}
.button,.tab,.finder button,.show-more {border-radius:8px}
.button-dark,.button-accent,.finder button {font-weight:650}
.cover {padding-block:23px 12px}
.cover-main {display:grid;grid-template-columns:minmax(0,1.52fr) minmax(0,1fr);overflow:hidden;background:var(--surface);border:1px solid var(--line);border-radius:14px}
.cover-intro {display:flex;flex-direction:column;justify-content:center;padding:clamp(24px,4vw,48px);min-width:0}
.cover h1 {max-width:13.5em;margin:0 0 23px;letter-spacing:-.058em;line-height:1.04;font-weight:730;font-size:clamp(34px,4.2vw,63px);text-wrap:balance}
.cover-visual {min-height:255px;border-inline-start:1px solid var(--line);background:var(--layer) url('/assets/site-hero.jpg') center 58% / cover no-repeat}
.finder {width:100%;gap:9px;background:var(--paper);border-radius:9px;padding-inline-start:12px}
.finder svg {width:20px;height:20px}
.finder input {font-weight:450;min-height:42px}
.finder button {min-height:42px;padding-inline:16px}
.category-strip {gap:10px;margin-top:12px}
.category-tile {gap:0;border-radius:10px;padding:5px 8px 5px 5px;font-weight:620;min-height:62px;line-height:1.22}
.category-tile img {width:68px;height:50px;border-radius:6px}
.category-tile span {padding:5px 9px}
.market {padding-top:8px}
.market-head {gap:11px}
.market-head h2 {font-weight:710;letter-spacing:-.04em}
.market-head span {font-variant-numeric:tabular-nums}
.market-tools {padding-top:11px}
.tabs {gap:3px}
.tab.active {box-shadow:inset 0 -2px var(--brand-line);font-weight:680}
#listingFilters select,#listingFilters input {font-size:14px}
.listing-card {border-radius:12px}
.listing-card .card-art {aspect-ratio:1.8}
.listing-card .card-art img {transition:transform .25s ease}
.listing-card:focus-visible {outline-offset:3px}
.listing-card:hover {border-color:var(--brand-line)}
.listing-card .card-content {padding:14px 15px 16px}
.listing-card .card-category {font-weight:510;line-height:1.3}
.listing-card .card-content h3 {font-weight:670;letter-spacing:-.023em;line-height:1.3;margin:5px 0 7px}
.listing-card .card-price {font-weight:740;letter-spacing:-.04em;font-variant-numeric:tabular-nums}
.listing-card .card-footer {line-height:1.35}
.card-save:focus-visible {outline-offset:2px}
.empty-state {border-style:solid;padding:28px 15px}
.modal-header h2,.member-hero h2,.public-listing h1 {font-weight:720}
.public-listing .seo-listing,.member-hero {border-radius:12px}
@media(max-width:1020px) {
  .cover h1 {font-size:clamp(35px,5vw,54px)}
  .category-tile img {width:53px}
  .category-tile span {padding:5px 6px}
}
@media(max-width:740px) {
  .header-inner {min-height:0}
  .header-region {padding-inline-start:0;border-inline-start:0}
  .cover {padding-block:14px 10px}
  .cover-main {display:block}
  .cover-intro {padding:16px}
  .cover h1 {max-width:12em;margin-bottom:13px;font-size:clamp(29px,7.6vw,39px)}
  .cover-visual {display:none}
  .finder {padding-inline-start:9px;gap:4px}
  .finder svg {width:16px;height:16px}
  .finder button {min-width:63px;padding-inline:10px}
  .finder input {font-size:16px;min-height:44px}
  .category-strip {gap:7px;margin-top:8px}
  .category-tile {min-height:47px;font-size:13px;padding:3px 4px 3px 3px}
  .category-tile img {width:46px;height:38px}
  .category-tile span {padding:3px 5px}
  .market-tools {padding-top:8px}
  #listingFilters select,#listingFilters input {font-size:16px}
  .listing-card .card-art {aspect-ratio:1.65}
  .listing-card .card-content {padding:12px 13px 14px}
  .listing-card .card-content h3 {font-size:18px}
  .listing-card .card-save {width:44px;height:44px}
}
@media(max-width:380px) {
  .cover-intro {padding:13px}
  .category-tile img {width:40px}
  .market-tools .tab {padding-inline:5px}
}
@media(prefers-reduced-motion:reduce) {
  .listing-card .card-art img {transition:none}
}
.cover-break {display:none}
@media(min-width:741px) {
  .cover-intro {padding-block:32px}
  .cover-visual {min-height:242px}
  .listing-card .card-art {aspect-ratio:2}
}
@media(min-width:1160px) {
  .cover-break {display:initial}
  .cover h1 {text-wrap:wrap;font-size:clamp(51px,4vw,57px)}
}
@media(max-width:740px) {
  .tab-full-label {display:none}
  .market-tools .tab {min-width:35px;padding-inline:7px}
  .market-tools .favorite-tab {min-width:40px;font-size:17px}
}
:root {
  --favorite:#a9274d;
  --favorite-paper:#fff0f4;
  --favorite-line:#e6a4b7;
}
:root[data-theme=dark] {
  --favorite:#ff9fba;
  --favorite-paper:#452734;
  --favorite-line:#995975;
}
.icon-definitions {position:absolute;overflow:hidden}
.favorite-icon {display:block;width:21px;height:21px;flex:none;fill:none;stroke:currentColor;stroke-width:1.75;stroke-linecap:round;stroke-linejoin:round;pointer-events:none}
.listing-card .card-save {
  width:40px;height:40px;top:9px;right:9px;padding:0;
  border:1px solid var(--line);border-radius:50%;
  box-shadow:0 1px 5px #14161324;
  transition:background-color .16s,border-color .16s,color .16s,transform .16s;
}
.listing-card .card-save[aria-pressed=true] {background:var(--favorite-paper);border-color:var(--favorite-line);color:var(--favorite)}
.card-save[aria-pressed=true] .favorite-icon,.favorite-tab[aria-pressed=true] .favorite-icon {fill:currentColor}
.card-save:active {transform:scale(.92)}
.favorite-tab {display:inline-flex;align-items:center;justify-content:center;gap:5px}
.favorite-tab .favorite-icon {width:17px;height:17px}
@media(hover:hover) {
  .listing-card .card-save:hover {border-color:var(--favorite-line);color:var(--favorite)}
}
@media(max-width:740px),(pointer:coarse) {
  .listing-card .card-save {width:44px;height:44px;top:8px;right:8px}
  .market-tools .favorite-tab {min-width:44px;min-height:44px}
}
@media(prefers-reduced-motion:reduce) {
  .card-save {transition:none}
  .card-save:active {transform:none}
}
