@font-face {
  font-family: Inter;
  src: url(/fonts/Inter.woff2) format("woff2");
  font-weight: 100 900;
  font-display: swap;
}
@font-face {
  font-family: Noto;
  src: url(/fonts/NotoSansSC.woff2) format("woff2");
  font-weight: 100 900;
  font-display: swap;
}
@font-face {
  font-family: Smiley;
  src: url(/fonts/SmileySans.woff2) format("woff2");
  font-weight: 400 900;
  font-display: swap;
}
:root {
  color-scheme: light;
  --ink: #20251f;
  --muted: #515a50;
  --line: #d9ddd4;
  --soft: #f5f6f0;
  --signal: #d8f45b;
  --gutter: clamp(18px,5vw,74px);
  --display: Smiley, Inter, Noto, "Microsoft YaHei", sans-serif;
  font-family: Inter, Noto, "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
  color: var(--ink);
  background: #fff;
  line-height: 1.6;
  font-synthesis: none;
}
* { box-sizing: border-box; }
body { margin: 0; min-height: 100vh; display: flex; flex-direction: column; overflow-wrap: anywhere; }
h1,h2,h3,p,dl,dd,fieldset,legend { margin: 0; }
a { color: inherit; text-decoration: none; }
button,input,textarea,select { font: inherit; color: inherit; }
button,select,summary { cursor: pointer; }
button { line-height: 1.25; }
input,select,textarea { min-width: 0; }
input::placeholder, textarea::placeholder { color: #727970; opacity: 1; }
textarea { resize: vertical; }
img,svg { display: block; }
svg { flex-shrink: 0; }
:focus-visible { outline: 3px solid #0071b7; outline-offset: 3px; }
main:focus { outline: none; }
a,button,summary { touch-action: manipulation; }
.frame { width: min(calc(100% - 2 * var(--gutter)), 1256px); margin-inline: auto; }
main.frame { flex: 1 0 auto; }
.sr-only,.skip:not(:focus) { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip:focus { position: absolute; padding: 8px 14px; top: 6px; left: 6px; z-index: 10; background: var(--ink); color: white; }
.mast { border-bottom: 1px solid var(--line); }
.topbar,.header-actions,.brand,.forum-name,.directory-link,.button,.foot-inner,.foot-inner nav,.footer-brand,.back-link,.form-bottom,.list-title,.filters,.tabs,.post-tags,.meta,.author,.reply-meta,.row-side span,.pagination,.searchbox,.account summary,.status { display: flex; align-items: center; }
.topbar { min-height: 70px; gap: 19px; }
.brand,.footer-brand { font-family: var(--display); gap: 9px; white-space: nowrap; }
.brand { font-size: 27px; line-height: 1; }
.brand-divider { height: 23px; width: 1px; background: var(--line); }
.forum-name { font-size: 15px; font-weight: 700; white-space: nowrap; }
.header-actions { gap: 26px; margin-inline-start: auto; }
.directory-link,.back-link { gap: 5px; color: var(--muted); font-size: 14px; }
.directory-link:hover,.back-link:hover,.footer-brand:hover,.foot-inner nav a:hover { color: var(--ink); text-decoration: underline; }
.button,.account summary { border: 1px solid var(--ink); border-radius: 7px; min-height: 42px; width: fit-content; justify-content: center; padding: 9px 17px; gap: 9px; font-size: 14px; font-weight: 650; }
.button-dark { background: var(--ink); color: #fff; }
.button-outline,.account summary { background: #fff; color: var(--ink); }
.button:hover,.filter-submit:hover { transform: translateY(-1px); }
.button:active { transform: translateY(0); }
.account { position: relative; }
.account[open] { z-index: 4; }
.account summary { list-style: none; font-size: 13px; }
.account summary::-webkit-details-marker { display: none; }
.account-menu { position: absolute; right: 0; top: calc(100% + 5px); min-width: 130px; background: white; border: 1px solid var(--line); border-radius: 8px; padding: 6px; box-shadow: 0 5px 18px #20251f15; }
.account-menu a,.account-menu button { border: none; background: transparent; display: block; width: 100%; padding: 8px; text-align: left; font-size: 14px; }
.account-menu a:hover,.account-menu button:hover { background: var(--soft); }
.hero-grid { margin-top: clamp(20px,3vw,42px); display: grid; grid-template-columns: minmax(0, 3.65fr) minmax(205px, 1fr); gap: 13px; }
.hero,.publish-card { min-height: 222px; border-radius: 14px; overflow: hidden; position: relative; }
.hero { background: var(--signal); display: flex; align-items: center; isolation: isolate; }
.hero-copy { padding: clamp(28px,3.4vw,53px); max-width: 70%; z-index: 1; }
.hero h1,.page-title h1,.error-page h1 { font-family: var(--display); font-weight: 550; line-height: 1.12; }
.hero h1 { font-size: clamp(53px,6.4vw,96px); letter-spacing: -.036em; margin-bottom: 14px; }
.hero p { font-size: clamp(14px,1.23vw,18px); font-weight: 560; max-width: 33em; }
.hero-globe { position: absolute; width: 39%; height: 122%; object-fit: contain; right: -2.6%; bottom: -20%; z-index: 0; pointer-events: none; }
.publish-card { background: #272e25; color: #f7f8ef; padding: clamp(23px,2.4vw,38px); display: flex; flex-direction: column; justify-content: space-between; gap: 12px; }
.publish-symbol { display: grid; width: 46px; height: 46px; place-items: center; background: var(--signal); color: var(--ink); border-radius: 50%; }
.publish-card strong { display: block; font-family: var(--display); font-weight: 550; font-size: clamp(29px,3vw,44px); letter-spacing: -.025em; line-height: 1.15; }
.publish-card div span { display: block; margin-top: 6px; font-size: 13px; color: #dae1d2; }
.publish-arrow { position: absolute; bottom: 30px; right: 25px; color: var(--signal); }
.publish-card:hover .publish-arrow { transform: translate(2px,-2px); }
.market { margin: clamp(32px,4vw,62px) 0 clamp(50px,7vw,108px); }
.board-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.list-title { gap: 13px; }
.list-title h2,.facts h2,.account-prompt h2 { font: 550 clamp(25px,2.2vw,32px)/1.23 var(--display); }
.list-title > span { border: 1px solid var(--line); border-radius: 6px; padding: 1px 7px; color: var(--muted); font-size: 12px; font-variant-numeric: tabular-nums; }
.filters { gap: 7px; }
.searchbox { min-width: 0; gap: 8px; border: 1px solid #bcc2b6; border-radius: 6px; padding: 0 10px; }
.searchbox input { border: 0; background: transparent; padding: 7px 0; font-size: 14px; width: clamp(92px,10vw,165px); height: 39px; }
.searchbox:focus-within { outline: 2px solid #0071b7; outline-offset: 1px; }
.searchbox input:focus { outline: none; }
.filters select,.filter-submit { border: 1px solid #bcc2b6; border-radius: 6px; padding: 7px 9px; min-height: 40px; background: #fff; font-size: 14px; }
.filter-submit { background: var(--soft); padding-inline: 13px; font-weight: 650; }
.tabs { gap: 7px; border-bottom: 1px solid var(--line); margin-top: 22px; padding-bottom: 14px; }
.tabs a { border-radius: 30px; font-size: 14px; font-weight: 600; padding: 6px 16px; color: var(--muted); }
.tabs a:hover { background: var(--soft); }
.tabs a[aria-current] { background: var(--ink); color: #fff; }
.empty { display: grid; justify-items: center; align-content: center; min-height: 228px; text-align: center; gap: 8px; }
.empty-icon { padding: 11px; background: var(--soft); border: 1px solid #dcdfd4; border-radius: 13px; color: #525e48; margin-bottom: 3px; }
.empty h3 { font-size: 18px; font-weight: 650; }
.text-link,.text-action,.report summary,.conclude summary { text-decoration: underline; text-underline-offset: 4px; font-size: 14px; }
.text-link,.text-action { color: #3f5633; }
.post-rows { border-bottom: 1px solid var(--line); }
.post-row { display: grid; grid-template-columns: minmax(0,1fr) minmax(110px,18%); gap: 18px; padding: 21px 3px; }
.post-row + .post-row,.reply + .reply,.moderation-row + .moderation-row { border-top: 1px solid var(--line); }
.post-tags,.meta,.author,.reply-meta,.status { flex-wrap: wrap; gap: 8px; }
.type { padding: 2px 8px; font: 650 12px/1.5 Inter,Noto,sans-serif; border-radius: 5px; }
.type-sell { background: #dbeda5; }
.type-buy { background: #c5e1eb; }
.type-service { background: #f6cfc2; }
.status { gap: 5px; font-size: 12px; color: #3e613b; }
.status i { width: 6px; height: 6px; background: currentColor; border-radius: 100%; }
.status.closed { color: #666c65; }
.post-row h3 { margin: 7px 0 3px; font-size: clamp(18px,1.45vw,22px); line-height: 1.4; }
.post-row h3 a:hover { text-decoration: underline; text-underline-offset: 3px; }
.excerpt { color: var(--muted); font-size: 14px; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; }
.meta,.reply-meta,.row-side span { font-size: 12px; color: var(--muted); }
.post-main .meta { margin-top: 9px; }
.author { gap: 5px; }
.author strong { color: var(--ink); font-weight: 620; }
a.author:hover strong { text-decoration: underline; }
.row-side { text-align: right; align-self: center; }
.row-side b { display: block; font-size: 17px; }
.row-side span { justify-content: flex-end; gap: 5px; margin-top: 6px; }
.pagination { justify-content: center; gap: 20px; margin: 24px auto; font-size: 14px; }
.pagination a { border: 1px solid var(--line); border-radius: 6px; padding: 5px 13px; }
.back-link { width: fit-content; min-height: 38px; margin: clamp(16px,2.4vw,35px) 0 18px; }
.detail-layout { display: grid; grid-template-columns: minmax(0,2.4fr) minmax(215px,.8fr); gap: clamp(35px,6vw,110px); margin-bottom: 65px; }
.discussion h1,.page-title h1,.error-page h1 { font-size: clamp(31px,3.8vw,54px); font-weight: 650; line-height: 1.23; }
.discussion h1 { margin: 12px 0 15px; }
.discussion .meta { font-size: 14px; }
.user-text { font-size: 16px; line-height: 1.82; white-space: pre-wrap; }
.user-text a { color: #235987; text-decoration: underline; text-underline-offset: 3px; }
.post-body { margin: 25px 0 20px; }
.facts { background: var(--soft); border-radius: 12px; padding: 24px; align-self: start; }
.facts h2 { font-size: 23px; margin-bottom: 10px; }
.facts dl > div { display: flex; justify-content: space-between; align-items: baseline; gap: 15px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.facts dl > div:last-child { border: 0; }
.facts dt { color: var(--muted); font-size: 13px; }
.facts dd { font-size: 14px; font-weight: 620; text-align: right; }
.conclude { margin-top: 12px; }
.conclude p { margin: 8px 0; font-size: 13px; }
.text-action { cursor: pointer; border: 0; background: transparent; padding: 4px 0; }
.report { margin: 12px 0 0; }
.report summary,.conclude summary { font-size: 13px; color: var(--muted); }
.report form { margin: 8px 0; max-width: 510px; }
.report label { display: block; font-size: 14px; }
.report textarea,.reply-form textarea,.new-form > input,.new-form textarea,.price-field input,.price-field select { display: block; width: 100%; border: 1px solid #aeb6a8; border-radius: 6px; padding: 10px 12px; background: white; }
.report .button { margin-top: 6px; }
.replies { margin-top: 35px; border-top: 1px solid var(--line); padding-top: 23px; }
.reply { padding: 17px 0; }
.reply-meta { justify-content: space-between; }
.reply .user-text { margin-top: 7px; }
.no-reply { padding: 16px 0; font-size: 14px; color: var(--muted); }
.login-prompt { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 16px; border-radius: 9px; background: var(--soft); font-size: 14px; }
.closed-msg { margin: 13px 0; background: var(--soft); padding: 13px 16px; border-radius: 7px; color: var(--muted); }
.reply-form { margin-top: 16px; }
.reply-form label { display: block; font-weight: 650; margin-bottom: 6px; }
.form-bottom { gap: 14px; flex-wrap: wrap; margin-top: 14px; }
.form-status { color: #653619; font-size: 14px; }
.button:disabled,.text-action:disabled { cursor: wait; opacity: .7; }
.narrow { max-width: 740px; margin: 0 auto 55px; }
.page-title { margin-bottom: 24px; }
.new-form { border-top: 1px solid var(--line); padding-top: 16px; }
.new-form fieldset { border: 0; padding: 0; min-width: 0; }
.new-form > label,.new-form legend { display: block; font-weight: 650; margin: 20px 0 6px; }
.new-form legend small { font-size: 12px; font-weight: 450; color: var(--muted); }
.type-field > div,.price-field > div { display: flex; gap: 9px; }
.type-field label { border: 1px solid var(--line); border-radius: 6px; padding: 7px 14px; cursor: pointer; }
.type-field input { accent-color: #28391e; }
.type-field label:has(input:checked) { background: #eef6cc; border-color: #778464; }
.price-field > div { max-width: 440px; }
.price-field select { width: 45%; }
.price-field input { flex: 1; }
.new-form input,.new-form textarea { font-size: 16px; }
.new-form .form-bottom { margin-top: 19px; }
.account-prompt { padding: clamp(24px,5vw,48px); background: var(--soft); border-radius: 13px; }
.prompt-icon { margin-bottom: 19px; }
.account-prompt p { margin: 8px 0 20px; color: var(--muted); }
.moderation-row { display: flex; justify-content: space-between; align-items: flex-start; padding: 17px 0; gap: 15px; }
.moderation-row .user-text { margin: 7px 0; }
.error-page { padding: clamp(55px,8vw,125px) 0; }
.error-code { display: inline-block; font-size: 15px; padding: 2px 8px; background: var(--signal); border-radius: 5px; font-weight: 650; }
.error-page h1 { margin: 12px 0; }
.error-page p { margin-bottom: 15px; color: var(--muted); }
.error-page .button { margin-top: 19px; }
footer { border-top: 1px solid var(--line); }
.foot-inner { min-height: 76px; justify-content: space-between; gap: 18px; flex-wrap: wrap; padding-block: 13px; }
.footer-brand { font-size: 20px; }
.foot-inner nav { gap: 20px; font-size: 13px; color: var(--muted); }
.foot-inner nav a { display: flex; align-items: center; gap: 4px; }
@media(max-width:760px) {
  .hero-grid { grid-template-columns: minmax(0, 2.55fr) minmax(140px,1fr); }
  .hero,.publish-card { min-height: 180px; }
  .hero-copy { padding: 23px; }
  .hero-copy h1 { font-size: 50px; }
  .publish-card { padding: 20px; }
  .publish-arrow { bottom: 20px; right: 16px; }
  .detail-layout { grid-template-columns: 1fr; gap: 25px; }
  .facts { grid-row: 1; padding: 14px 17px; }
  .facts dl { display: flex; flex-wrap: wrap; gap: 5px 20px; }
  .facts dl > div { border: 0; align-items: baseline; padding: 2px 0; gap: 6px; }
  .facts h2 { font-size: 18px; margin-bottom: 5px; }
}
@media(max-width:560px) {
  .topbar { min-height: 57px; gap: 10px; }
  .brand { font-size: 21px; gap: 6px; }
  .brand img { width: 26px; height: 26px; }
  .forum-name,.button.login { font-size: 13px; }
  .button.login { min-height: 36px; padding: 7px 10px; }
  .brand-divider { height: 16px; }
  .directory-link { display: none; }
  .account summary span { max-width: 84px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .hero-grid { grid-template-columns: minmax(0,1fr); gap: 9px; margin-top: 16px; }
  .hero { min-height: 164px; }
  .hero-copy { padding: 23px; max-width: 71%; }
  .hero-copy h1 { font-size: clamp(43px,12vw,60px); margin-bottom: 11px; }
  .hero-copy p { font-size: 13px; }
  .hero-globe { width: 45%; bottom: -21%; right: -6%; }
  .publish-card { min-height: 62px; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 12px; padding: 11px 17px; border-radius: 9px; }
  .publish-symbol { width: 33px; height: 33px; }
  .publish-symbol svg { width: 18px; height: 18px; }
  .publish-card div { display: flex; align-items: center; gap: 9px; }
  .publish-card strong { font-size: 22px; }
  .publish-card div span { margin: 0; font-size: 11px; }
  .publish-arrow { position: static; }
  .publish-arrow svg { width: 20px; height: 20px; }
  .market { margin-top: 29px; }
  .board-head,.filters { width: 100%; }
  .board-head { gap: 13px; }
  .searchbox { flex: 1; }
  .searchbox input { width: 100%; }
  .filters { gap: 5px; }
  .filters select,.filter-submit { padding-inline: 6px; }
  .tabs { margin-top: 12px; gap: 4px; padding-bottom: 9px; }
  .tabs a { padding: 5px 13px; }
  .empty { min-height: 174px; }
  .post-row { gap: 9px; grid-template-columns: minmax(0,1fr) minmax(63px,24%); }
  .row-side b { font-size: 13px; }
  .row-side span { font-size: 11px; }
  .facts { padding: 12px; }
  .foot-inner nav { gap: 12px; font-size: 12px; }
  .footer-brand { font-size: 18px; }
}
@media(prefers-reduced-motion:reduce) {
  *,*::before,*::after { scroll-behavior: auto !important; transition: none !important; }
}
.edit-panel { margin-block: 16px; border-block: 1px solid var(--line); padding-block: 10px; }
.edit-panel summary { width: fit-content; color: var(--muted); font-size: 14px; font-weight: 600; }
.edit-panel .new-form { margin-top: 18px; }
.edit-date { margin-top: 12px; color: var(--muted); font-size: 13px; }
.form-status a { text-decoration: underline; }
.reply[id] { scroll-margin-top: 18px; }
.privacy { max-width: 730px; }
.privacy section + section { margin-top: 22px; }
.privacy h2 { font-size: 20px; margin: 0 0 8px; }
.privacy p + p { margin-top: 8px; }
@media(max-width:380px) {
  .account summary { max-width: 93px; padding-inline: 8px; gap: 5px; }
  .account summary span { min-width: 0; }
}
