:root{--green:#254f40;--deep:#183e30;--sage:#e9efdf;--paper:#f7f8f2;--ink:#273a31;--muted:#7b877e;--line:#e3e8dc;--orange:#b47b46;--white:#fff;--shadow:0 8px 32px #203d2810;font-family:Inter,"Microsoft YaHei","PingFang SC",system-ui,sans-serif;color:var(--ink);background:var(--paper);font-synthesis:none}
*{box-sizing:border-box}body{margin:0}button,input,select,textarea{font:inherit}button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}a{color:inherit;text-decoration:none}button{cursor:pointer}button:disabled{cursor:wait;opacity:.55}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid #8cad77;outline-offset:3px}button{border:0;background:none;color:inherit}h1,h2,h3,p{margin-top:0}p{line-height:1.7}h1{font-size:29px;letter-spacing:-.8px;margin-bottom:8px}h2{font-size:20px;margin-bottom:12px}h3{font-size:17px;line-height:1.6}small{font-size:12px}.muted{color:var(--muted)}.eyebrow{font-size:11px;letter-spacing:3px;font-weight:600;color:#8aa38b;margin-bottom:15px}.skip{position:fixed;top:-80px;left:20px;z-index:100;background:white;padding:12px}.skip:focus{top:10px}
.sidebar{width:232px;position:fixed;inset:0 auto 0 0;background:#fefefb;border-right:1px solid var(--line);padding:38px 24px;display:flex;flex-direction:column;z-index:10}.brand{display:flex;align-items:center;gap:13px;margin-bottom:52px}.brand>span{font-size:26px;letter-spacing:3px;font-weight:750;color:var(--green)}.brand small{display:block;letter-spacing:0;font-size:10px;color:var(--muted);font-weight:400;margin-top:5px}.sidebar nav{display:grid;gap:12px}.sidebar nav a{display:flex;align-items:center;gap:16px;padding:16px 17px;border-radius:13px;font-size:15px;font-weight:500;color:#718073;transition:background .15s}.sidebar nav a:hover{background:#f2f5ed}.sidebar nav a.active{background:var(--green);color:#fff}.nav-icon{font-size:23px;width:24px;text-align:center;line-height:1}.nav-arrow{margin-left:auto;opacity:.45;font-size:22px}.sidebar-note{margin-top:auto;border-top:1px solid var(--line);padding-top:25px;font-size:12px;color:var(--green)}.sidebar-note p{color:#8b968a;line-height:2;font-size:12px;margin:14px 0 20px}.sidebar-note small{font-size:10px;color:#a7b09f;letter-spacing:2px}.live-dot{display:inline-block;width:6px;height:6px;border-radius:50%;background:#729866;margin-right:5px}.workspace{margin-left:232px}.topbar{height:87px;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;padding:0 42px;background:#fdfdf9}.breadcrumb{font-size:12px;letter-spacing:1px;color:#8a9588}.account-name{display:flex;align-items:center;gap:10px;font-size:13px}.avatar{display:inline-grid;place-items:center;background:var(--sage);color:var(--green);font-weight:600;border-radius:50%;width:36px;height:36px;flex-shrink:0}.avatar.large{width:72px;height:72px;font-size:28px}.avatar .media{width:100%;height:100%;min-height:0;border-radius:50%;aspect-ratio:1}.avatar img{border-radius:50%}main{padding:34px 42px;max-width:1380px;margin:0 auto;min-height:calc(100vh - 155px)}footer{padding:16px 42px 28px;font-size:11px;color:#9ba597;display:flex;justify-content:space-between;max-width:1380px;margin:auto}
.page-heading{display:flex;justify-content:space-between;align-items:center;gap:16px;margin-bottom:26px}.page-heading p{font-size:13px;color:var(--muted);margin:0}.primary,.secondary,.danger,.chip{border-radius:10px;padding:11px 18px;font-size:13px;font-weight:550;display:inline-flex;align-items:center;justify-content:center;gap:8px;line-height:1.5}.primary{background:var(--green);color:white}.primary:hover{background:var(--deep)}.secondary{background:white;border:1px solid var(--line);color:var(--green)}.secondary:hover{background:var(--sage)}.danger{color:#9b4331;background:#fbede6}.text-button{color:var(--green);font-size:13px;padding:6px 0}.text-button:hover{text-decoration:underline}.button-row{display:flex;align-items:center;flex-wrap:wrap;gap:10px}.button-row.end{justify-content:flex-end}.small-button{padding:7px 12px;font-size:12px}.hero{display:flex;position:relative;overflow:hidden;border-radius:20px;background:var(--green);padding:35px 38px;margin-bottom:28px;min-height:215px;align-items:center;color:white}.hero-copy{z-index:1}.hero .eyebrow{color:#b6cbb0;margin-bottom:12px;font-size:10px}.hero h2{font-size:30px;font-weight:550;letter-spacing:1px;margin-bottom:13px}.hero p{font-size:13px;color:#c0d2c3;margin:0;line-height:1.9}.hero-art{position:absolute;width:240px;height:240px;right:35px;top:-8px;border:1px solid #ffffff0c;border-radius:50%;background:radial-gradient(circle,#adc69830,#c3d6b305 67%);display:grid;place-items:center}.hero-art:before{content:"";position:absolute;inset:22px;border:1px solid #ffffff0b;border-radius:50%}.hero-art img{width:160px;height:160px;transform:rotate(-10deg);filter:drop-shadow(0 12px 20px #102e2380)}.hero-tag{position:absolute;right:25px;bottom:21px;font-size:10px;letter-spacing:2px;color:#8ba78d}
.community-layout{display:grid;grid-template-columns:minmax(0,1fr) 260px;gap:26px;align-items:start}.filters{display:flex;flex-wrap:wrap;gap:9px;align-items:center;margin-bottom:22px}.chip{background:#f0f2e9;border:1px solid transparent;padding:8px 15px;font-size:12px;font-weight:400;color:#718170}.chip.active{background:#e1eada;color:var(--green);border-color:#c9d9c1;font-weight:600}.list-toolbar{display:flex;justify-content:space-between;align-items:center;margin-bottom:15px;font-size:12px;color:var(--muted)}.feed{display:grid;gap:18px}.card{background:white;border:1px solid #e5e9df;border-radius:16px;overflow:hidden;box-shadow:0 3px 15px #253b2710;min-width:0}.post-card{padding:22px}.author-row{display:flex;align-items:center;gap:10px;text-align:left;max-width:100%;padding:0}.author-row .author-name{font-size:13px;font-weight:600}.author-row small{display:block;margin-top:4px;font-size:10px;color:var(--muted)}.author-row:hover .author-name{color:#73965d}.card-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:17px;gap:8px}.tag{display:inline-block;font-size:10px;color:#648459;background:#f0f4e8;padding:5px 8px;border-radius:5px;white-space:nowrap}.tag.pending{color:#ab7946;background:#fcf2e5}.post-body{font-size:15px;line-height:1.85;white-space:pre-wrap;overflow-wrap:anywhere;display:block;margin-bottom:16px}.post-preview{display:-webkit-box;-webkit-line-clamp:4;-webkit-box-orient:vertical;overflow:hidden}.media{background:#f0f3eb;border-radius:11px;aspect-ratio:1.6;display:grid;place-items:center;overflow:hidden;min-width:0;color:#829576;font-size:12px}.media img,.media video{width:100%;height:100%;object-fit:cover;display:block}.media video{object-fit:contain;background:#152a20}.media img{transition:transform .25s}.media-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin:15px 0}.media-grid:has(>.media:only-child){grid-template-columns:1fr}.card-footer{border-top:1px solid #f0f2eb;padding-top:15px;margin-top:16px;display:flex;justify-content:space-between;gap:10px;font-size:11px;color:#8d9988}.side-panel{background:#f0f3e7;border-radius:15px;padding:24px;margin-bottom:18px;border:1px solid #e4eadb}.side-panel h3{font-size:14px;margin-bottom:14px;color:var(--green)}.side-panel p{font-size:12px;color:#83917c;margin-bottom:14px;line-height:1.9}.guide-step{display:flex;gap:11px;margin:16px 0;font-size:12px;align-items:center;color:#6d7f63}.guide-step span{font-size:10px;border-radius:50%;background:#e1e8d6;color:#557341;width:23px;height:23px;display:grid;place-items:center}.side-panel .divider{border-top:1px solid #dae3cb;margin:20px 0}.empty{border:1px dashed #d2ddc7;background:#f5f7ef;border-radius:16px;padding:48px 24px;text-align:center;color:var(--muted)}.empty img{width:54px;opacity:.65;margin-bottom:18px}.empty h3{color:var(--green);font-size:18px;margin-bottom:8px}.empty p{font-size:13px;margin-bottom:22px}.loading{padding:70px;text-align:center;color:var(--muted);font-size:14px}.loading:before{content:"";display:block;width:25px;height:25px;margin:0 auto 15px;border:2px solid #dae4d4;border-top-color:var(--green);border-radius:50%;animation:spin .8s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}
.market-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px}.market-card{padding:0}.market-card .media{aspect-ratio:1.45;border-radius:0}.market-card .placeholder{display:grid;place-items:center;background:linear-gradient(135deg,#eef2e4,#e4ecdd);height:100%;min-height:150px}.placeholder img{width:64px;opacity:.25}.market-card .card-info{padding:18px 20px}.market-title{font-size:16px;font-weight:600;line-height:1.6;margin:0 0 10px;overflow-wrap:anywhere;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;min-height:51px}.price{color:var(--orange);font-size:23px;font-weight:650;overflow-wrap:anywhere;letter-spacing:-.5px}.price small{font-size:11px;color:#99a18f;font-weight:400;margin-left:4px}.meta{font-size:11px;color:#8b977f;line-height:1.8;margin:8px 0 14px}.market-card .card-header{padding-top:13px;border-top:1px solid #eef1e8;margin-bottom:0}.market-card:hover .media img{transform:scale(1.02)}.filter-panel{border:1px solid var(--line);border-radius:12px;background:#fff;padding:16px 20px;margin-bottom:23px}.filter-panel summary{font-size:13px;cursor:pointer;color:var(--green)}.filter-form{margin-top:20px;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.filter-form .button-row{align-self:end;grid-column:1/-1}.count{font-weight:600;color:var(--green)}
.stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;margin-bottom:24px}.stat{padding:22px 25px;background:#fff;border:1px solid var(--line);border-radius:14px}.stat small{display:block;color:#8a9783;margin-bottom:12px}.stat strong{font-size:30px;font-weight:600;color:var(--green)}.stat strong span{font-size:11px;font-weight:400;color:var(--muted);margin-left:5px}.turtle-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.turtle-card{padding:20px}.turtle-card h3{margin:0 0 7px;overflow-wrap:anywhere}.turtle-card .meta{margin-bottom:5px}.turtle-card .card-header{margin-bottom:12px}.turtle-card .media{max-height:180px;margin-bottom:17px}.turtle-card input[type=checkbox]{width:17px;height:17px;accent-color:var(--green);margin-right:7px}.turtle-card label{display:flex;align-items:center;font-size:11px;color:var(--muted)}.profile-banner{border-radius:20px;background:var(--green);padding:35px;color:#fff;display:flex;align-items:center;gap:24px;margin-bottom:25px}.profile-banner h2{font-size:26px;margin:0 0 8px}.profile-banner p{color:#b4c7b4;margin:0;font-size:13px}.settings{background:#fff;border:1px solid var(--line);border-radius:16px;overflow:hidden}.settings a,.settings button{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:21px 25px;border-bottom:1px solid #eef1e8;width:100%;font-size:14px;text-align:left}.settings a:last-child,.settings button:last-child{border-bottom:0}.settings a:hover,.settings button:hover{background:#f6f8f1}.settings span{font-size:12px;color:var(--muted)}.settings-layout{display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:24px}.detail{max-width:850px}.detail-article{padding:30px}.detail-title{white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.75;font-size:23px}.detail-article .price{font-size:30px}.snapshot{padding:20px;background:#f1f5e9;border-radius:12px;margin:24px 0;color:var(--green)}.snapshot h3{font-size:14px}.snapshot p{font-size:12px;margin:0}.detail-actions{display:flex;flex-wrap:wrap;gap:10px;margin:20px 0 0}.comments{margin-top:25px;background:white;border:1px solid var(--line);border-radius:16px;padding:25px}.comment{padding:18px 0;border-bottom:1px solid #edf1e6}.comment .comment-body{white-space:pre-wrap;overflow-wrap:anywhere;font-size:14px;margin:10px 0}.comment header{display:flex;justify-content:space-between;align-items:center;font-size:12px;color:var(--muted)}.comment-form{margin-top:22px}.record-list{background:white;border:1px solid var(--line);border-radius:14px;padding:8px 24px;margin:22px 0}.record{padding:18px 0;border-bottom:1px solid #eef1e8}.record:last-child{border:0}.record p{margin:6px 0;font-size:13px;white-space:pre-wrap;overflow-wrap:anywhere}.record small{color:var(--muted)}.private-note{background:#fff7eb;padding:18px 22px;border-radius:12px;font-size:13px;white-space:pre-wrap;overflow-wrap:anywhere;color:#947547}
dialog{border:1px solid #e0e7d8;border-radius:18px;padding:0;width:min(640px,calc(100% - 32px));max-height:88vh;box-shadow:0 30px 120px #0e26194a;color:var(--ink);background:var(--paper)}dialog::backdrop{background:#142b2265;backdrop-filter:blur(4px)}.modal-header{display:flex;align-items:center;justify-content:space-between;padding:23px 28px;border-bottom:1px solid var(--line);background:#fff}.modal-header h2{margin:0;font-size:20px}.close-button{padding:3px 8px;font-size:26px;font-weight:300;color:var(--muted)}.modal-body{padding:25px 28px}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:15px}.form-grid>.full{grid-column:1/-1}.field{display:flex;flex-direction:column;gap:8px;margin-bottom:16px;font-size:12px;color:#6b7f63}input,select,textarea{width:100%;padding:12px 13px;border:1px solid #dce4d4;border-radius:9px;background:#fff;color:var(--ink);font-size:14px;line-height:1.5}input:disabled,select:disabled{background:#edf0e6;color:#829078}textarea{resize:vertical;min-height:90px}input::placeholder,textarea::placeholder{color:#a1ac99}input[type=checkbox]{width:auto;accent-color:var(--green)}.checkbox-label{font-size:12px;display:flex;align-items:center;gap:9px;margin:16px 0;color:#728569}.hint{color:#85937d;font-size:11px;line-height:1.8;margin-bottom:16px}.form-error{font-size:12px;line-height:1.8;color:#ae4e37;background:#fff1e8;border-radius:9px;padding:12px;margin-bottom:16px}.form-error:empty{display:none}.upload-list{display:flex;gap:8px;flex-wrap:wrap;margin:13px 0}.upload-item{border-radius:8px;border:1px solid #dde5d2;background:#f0f4e6;font-size:11px;padding:7px 10px;display:flex;align-items:center;gap:10px}.upload-item button{color:#ad6551;font-size:17px}.upload-status{color:var(--green);font-size:12px;min-height:18px}.toast{position:fixed;bottom:26px;left:calc(50% + 116px);transform:translateX(-50%);max-width:min(600px,85%);padding:14px 24px;background:var(--deep);color:white;border-radius:12px;box-shadow:var(--shadow);z-index:50;font-size:13px;line-height:1.6}.toast.error{background:#93523b}[hidden]{display:none!important}
@media(min-width:1450px){.market-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}@media(max-width:1180px){.community-layout{grid-template-columns:minmax(0,1fr)}.community-layout>.right-column{display:none}.hero-art{right:12px}.settings-layout{grid-template-columns:minmax(0,1fr)}.settings-layout>.right-column{display:none}.sidebar{width:200px;padding:30px 18px}.workspace{margin-left:200px}main{padding:30px}.topbar{padding:0 30px}.toast{left:calc(50% + 100px)}}
@media(max-width:760px){.sidebar{inset:auto 0 0;width:auto;height:74px;padding:0;border-right:0;border-top:1px solid var(--line);background:#fff;display:block}.sidebar>.brand,.sidebar-note{display:none}.sidebar nav{display:flex;gap:0;justify-content:space-around;height:100%}.sidebar nav a{padding:9px 5px 8px;gap:4px;flex-direction:column;border-radius:0;flex:1;font-size:10px;font-weight:500}.sidebar nav a.active{background:#f2f5e9;color:var(--green)}.nav-icon{font-size:22px}.nav-arrow{display:none}.workspace{margin-left:0;padding-bottom:74px}.topbar{height:65px;padding:0 20px;background:#fff}.breadcrumb{font-size:11px}.topbar .secondary{padding:8px 12px;font-size:11px}.account-name{font-size:11px}main{padding:24px 18px;min-height:calc(100vh - 200px)}h1{font-size:24px}.page-heading{margin-bottom:20px}.page-heading p{font-size:11px}.page-heading>.primary{padding:9px 12px;font-size:11px;flex-shrink:0}.hero{min-height:176px;padding:25px 22px;margin-bottom:24px}.hero h2{font-size:23px}.hero p{font-size:11px;max-width:230px}.hero-art{width:150px;height:150px;right:-35px;top:12px;opacity:.55}.hero-art img{width:105px;height:105px}.hero-tag{right:13px;bottom:15px;font-size:8px}.hero .eyebrow{font-size:8px}.post-card{padding:18px}.post-body{font-size:14px}.market-grid{gap:12px}.market-card .card-info{padding:13px}.market-title{font-size:13px;min-height:41px}.price{font-size:19px}.price small{font-size:9px}.market-card .meta{font-size:9px}.market-card .author-row{gap:6px}.market-card .author-name{font-size:10px}.market-card .avatar{width:24px;height:24px;font-size:10px}.market-card .author-row small{font-size:8px}.market-card .tag{font-size:8px;padding:4px}.market-card .placeholder{min-height:100px}.filter-form{grid-template-columns:repeat(2,minmax(0,1fr))}.filter-panel{padding:14px}.stats{gap:9px}.stat{padding:16px 12px}.stat small{font-size:10px}.stat strong{font-size:23px}.turtle-grid{grid-template-columns:1fr}.profile-banner{padding:26px;gap:17px}.profile-banner h2{font-size:22px}.profile-banner p{font-size:11px}.detail-article{padding:21px}.detail-title{font-size:19px}.comments{padding:20px}.modal-header{padding:18px 20px}.modal-body{padding:20px}.form-grid{gap:12px}.field{font-size:11px}input,select,textarea{font-size:13px;padding:11px}.toast{left:50%;bottom:90px;min-width:220px;text-align:center}footer{padding:15px 20px 23px;font-size:9px}.chip{padding:7px 12px}.avatar.large{width:58px;height:58px;font-size:23px}}
.species-input{position:relative}.species-input input{padding-right:44px}.species-toggle{position:absolute;right:1px;top:1px;bottom:1px;width:38px;border-radius:0 8px 8px 0;color:var(--green);font-size:17px}.species-toggle:hover{background:var(--sage)}.species-options{position:fixed;inset:auto;margin:0;height:220px;max-height:220px;padding:4px;border-radius:10px;box-shadow:0 8px 24px #203d2826;overflow-y:auto;overscroll-behavior:contain}.species-options option{padding:7px 10px}.species-options option:checked{background:var(--sage);color:var(--green)}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}

/* 注册表单的验证码输入和强度提示，窄屏下保持可读。 */
.email-code-row { display:flex; align-items:flex-end; gap:12px; }
.email-code-row .field { flex:1; min-width:0; }
.email-code-row button { flex-shrink:0; margin-bottom:14px; }
.password-strength { display:flex; align-items:center; flex-wrap:wrap; gap:8px; font-size:.85rem; margin:8px 0; }
.password-strength meter { width:100px; height:12px; }
.password-strength[data-level="1"] { color:#9b3a2f; }
.password-strength[data-level="2"] { color:#805b12; }
.password-strength[data-level="3"] { color:#256344; }
@media (max-width:400px) { .email-code-row { gap:8px; } .email-code-row button { padding-inline:10px; } }

/* 手机保留照片完整比例，操作按钮优先并排，窄屏时整组换行。 */
@media (max-width:760px) {
  main { padding:20px clamp(12px,4vw,20px); }
  .page-heading { gap:12px; flex-wrap:wrap; align-items:flex-start; }
  .page-heading>div:first-child { flex:1; min-width:90px; }
  .page-heading h1 { font-size:clamp(21px,5.6vw,26px); line-height:1.35; }
  .page-heading p { font-size:12px; line-height:1.65; }
  .page-heading>.button-row { flex:0 0 auto; flex-wrap:nowrap; gap:8px; }
  .page-heading>.button-row>* { white-space:nowrap; padding:10px 12px; font-size:12px; min-height:40px; }
  .post-card { padding:clamp(14px,4vw,20px); }
  .post-body { font-size:clamp(14px,3.8vw,16px); line-height:1.75; }
  .card-header { align-items:flex-start; }
  .author-row { min-width:0; }
  .author-row>span { min-width:0; }
  .author-name { overflow-wrap:anywhere; }
  .media img { object-fit:contain; }
  .avatar .media img { object-fit:cover; }
  .media-grid { gap:8px; }
  .media-grid>.media { aspect-ratio:1; }
  .media-grid>.media:only-child:has(img) { aspect-ratio:auto; }
  .media-grid>.media:only-child img { width:100%; height:auto; max-height:70svh; }
  .market-card .media { aspect-ratio:4/3; }
  .market-card:hover .media img { transform:none; }
  .market-card .card-info { padding:16px; }
  .market-title { font-size:clamp(15px,4vw,17px); min-height:0; line-height:1.6; }
  .market-card .meta { font-size:12px; line-height:1.7; }
  .market-card .author-name { font-size:12px; }
  .market-card .author-row small { font-size:10px; }
  .market-card .tag { font-size:10px; }
  .price { font-size:24px; }
  .price small { font-size:12px; }
  .card-footer { flex-wrap:wrap; font-size:12px; line-height:1.6; }
  .hero p { font-size:12px; }
  .upload-status { overflow-wrap:anywhere; }
}
@media (max-width:480px) {
  .market-grid { grid-template-columns:minmax(0,1fr); gap:16px; }
}
@media (max-width:360px) {
  .page-heading>.button-row { flex-basis:100%; }
  .page-heading>.button-row>* { flex:1; }
}
