:root{--red:#902438;--red-dark:#6b1728;--ink:#262623;--muted:#777671;--line:#e7e6e0;--paper:#faf9f6;--soft:#f1efea;--rose:#f8edef;--green:#356354;--radius:12px;font-family:Inter,-apple-system,BlinkMacSystemFont,'PingFang SC','Microsoft YaHei',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}button,a{touch-action:manipulation}button{cursor:pointer}a{color:inherit;text-decoration:none}button{color:inherit}button:disabled{opacity:.45;cursor:not-allowed}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid #bd7a88;outline-offset:3px}svg{width:18px;height:18px;stroke-width:1.65;flex-shrink:0}[hidden]{display:none!important}h1,h2,h3,p{margin:0}h1{font-size:38px;letter-spacing:-1.4px;font-weight:650;line-height:1.28}h2{font-size:22px;line-height:1.4;letter-spacing:-.5px}h3{font-size:16px}p{line-height:1.75}small{font-size:12px}.muted{color:var(--muted)}.eyebrow{font-size:11px;font-weight:650;letter-spacing:1.8px;color:var(--red);text-transform:uppercase;display:block;margin-bottom:12px}.button{display:inline-flex;align-items:center;justify-content:center;gap:7px;border:1px solid #dedbd5;border-radius:8px;background:#fff;padding:11px 17px;min-height:42px;font-size:14px;font-weight:550;white-space:nowrap}.button:hover{border-color:var(--red);color:var(--red)}.button.primary{background:var(--red);border-color:var(--red);color:#fff}.button.primary:hover{background:var(--red-dark)}.button.ghost{background:transparent;border-color:transparent}.button.small{min-height:34px;padding:7px 11px;font-size:12px}.text-link{color:var(--red);background:none;border:0;padding:0;font-size:13px;font-weight:600;display:inline-flex;align-items:center;gap:6px}.icon-button{display:inline-flex;align-items:center;justify-content:center;background:#fff;border:1px solid var(--line);width:36px;height:36px;border-radius:50%;padding:0}.avatar{display:inline-grid;place-items:center;width:30px;height:30px;border-radius:50%;background:#ebe8e0;color:#635b4c;font-size:12px;font-weight:600;flex-shrink:0}.field,input.field,select.field,textarea.field{width:100%;min-height:44px;padding:11px 12px;border:1px solid #dedbd5;border-radius:8px;background:#fff;color:var(--ink)}textarea.field{min-height:92px;resize:vertical}.preview-strip{background:#722033;color:#fff;font-size:11px;letter-spacing:.2px}.preview-strip>div{max-width:1240px;padding:7px 0;margin:auto;display:flex;justify-content:space-between;gap:15px}.preview-strip b{font-weight:600;margin-right:10px}.preview-strip button{color:#fff;background:none;border:0;padding:0;font-size:11px;white-space:nowrap}.site-header{background:#fff;border-bottom:1px solid var(--line)}.header-inner{max-width:1240px;height:80px;margin:auto;display:flex;align-items:center;gap:62px}.brand{display:flex;align-items:center}.brand img{display:block;object-fit:contain;width:150px;height:50px}.desktop-nav{display:flex;gap:32px;align-items:center;height:100%;font-size:14px}.desktop-nav a{height:100%;display:flex;align-items:center;position:relative;gap:6px;color:#66655f}.desktop-nav a[aria-current=page]{color:var(--red);font-weight:650}.desktop-nav a[aria-current=page]:after{content:'';position:absolute;bottom:0;left:0;right:0;height:3px;background:var(--red)}.header-actions{margin-left:auto;display:flex;align-items:center;gap:24px}.profile-link{display:flex;align-items:center;gap:8px;font-size:13px}.unread-badge{display:inline-flex;min-width:17px;height:17px;align-items:center;justify-content:center;font-size:10px;font-weight:600;border-radius:20px;background:var(--red);color:#fff;padding:0 5px}.site-main{max-width:1240px;margin:auto;padding:34px 0 60px;min-height:70vh}.page-heading{display:flex;justify-content:space-between;align-items:flex-start;gap:24px;margin-bottom:25px}.page-heading p{color:var(--muted);margin-top:10px;font-size:14px}.home-intro{align-items:center}.campus-select{display:flex;gap:8px;align-items:center;background:#fff;border:1px solid var(--line);padding:7px 12px;border-radius:8px;flex-shrink:0}.campus-select svg{color:var(--red)}.campus-select select{border:0;background:transparent;color:var(--ink);font-size:13px;padding:5px;max-width:150px}.search-bar{display:flex;align-items:center;gap:12px;background:#fff;border:1px solid #d8d5ce;border-radius:10px;padding:8px 9px 8px 18px}.search-bar>svg{color:#8e8a80}.search-bar input{border:0;outline:none;background:transparent;min-width:0;flex:1;padding:8px 0;font-size:14px}.search-bar input:focus-visible{outline:none}.search-bar select{padding:8px 12px;border:0;border-left:1px solid var(--line);background:#fff;font-size:13px;color:#666;max-width:150px}.search-bar button{min-height:38px;padding:8px 22px}.search-hints{display:flex;align-items:center;gap:15px;margin:11px 0 25px;font-size:12px;color:#918c84}.search-hints button{background:none;border:0;padding:0;color:#6f6b62;font-size:12px}.market-tabs{display:flex;align-items:center;gap:25px;border-bottom:1px solid var(--line);margin-bottom:20px}.market-tabs button{background:none;border:0;border-bottom:2px solid transparent;padding:0 1px 15px;font-size:16px;color:#827c74;display:flex;align-items:center;gap:7px;white-space:nowrap}.market-tabs button[aria-pressed=true]{color:var(--red);font-weight:650;border-color:var(--red)}.market-tabs .tab-note{margin-left:auto;font-size:11px;color:#8b857b;padding-bottom:15px}.market-layout{display:grid;grid-template-columns:minmax(0,1fr) 255px;gap:28px;align-items:start}.filter-row{display:flex;align-items:center;gap:7px;flex-wrap:wrap;margin-bottom:23px}.chip{padding:7px 12px;border:1px solid transparent;border-radius:6px;background:transparent;color:#777269;font-size:12px;white-space:nowrap}.chip:hover{background:#eeece7}.chip[aria-pressed=true]{background:#eae7df;color:#302c25;font-weight:600}.feed-top{display:flex;align-items:center;justify-content:space-between;margin-bottom:14px}.feed-top h2{font-size:17px;letter-spacing:0}.feed-top span{font-size:11px;color:#858077}.product-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px 18px}.product-card{min-width:0}.product-photo{position:relative;overflow:hidden;border-radius:9px;background:#ece8e0;aspect-ratio:1.28}.product-photo>a{display:block;height:100%}.product-photo img{width:100%;height:100%;object-fit:cover;transition:transform .2s}.product-photo:hover img{transform:scale(1.035)}.product-photo .icon-button{position:absolute;right:9px;bottom:9px;border:0;width:31px;height:31px;background:#fffffff2}.product-photo .icon-button[aria-pressed=true]{color:var(--red)}.product-photo .icon-button[aria-pressed=true] svg{fill:#f1d6dc}.product-photo .photo-tag{position:absolute;left:10px;top:10px;background:#fffffff2;padding:4px 7px;border-radius:4px;font-size:10px;color:#555046}.photo-tag.free{color:var(--green)}.product-card h3{font-weight:550;font-size:14px;line-height:1.5;margin:11px 0 5px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.price-row{display:flex;align-items:center;justify-content:space-between;gap:7px}.price{font-size:19px;font-weight:650;letter-spacing:-.5px}.price small{font-size:11px;font-weight:500;margin-right:3px;letter-spacing:0}.condition{font-size:10px;color:#8c867c}.item-place{font-size:11px;color:#77736a;margin-top:8px;display:flex;gap:4px;align-items:center}.item-place svg{width:12px;height:12px}.seller-row{display:flex;justify-content:space-between;align-items:center;margin-top:10px;border-top:1px solid var(--line);padding-top:9px;color:#8b857a;font-size:10px}.seller-row span:first-child{display:flex;align-items:center;gap:5px}.seller-row .avatar{width:19px;height:19px;font-size:9px}.market-rail{padding-top:3px}.rail-card{padding:23px 22px;background:#f0ede6;border-radius:10px;margin-bottom:18px}.rail-card h3{font-size:19px;font-weight:600;line-height:1.6;margin:9px 0}.rail-card p{font-size:12px;color:#8a8173}.rail-card .button{margin-top:19px;width:100%;background:#fff}.rail-card .eyebrow{font-size:10px;margin-bottom:7px;color:#8b7560}.rail-help{background:#f4e9e9}.rail-help .eyebrow{color:var(--red)}.rail-help h3{font-size:17px}.rail-brief{display:flex;gap:9px;align-items:flex-start;padding:13px 0;border-top:1px solid #e2d6d7;font-size:12px;line-height:1.7;margin-top:16px}.rail-brief svg{color:var(--red);margin-top:3px}.rail-note{font-size:11px;line-height:1.9;color:#9b9589;padding:0 8px}.section-note{background:#efede6;color:#777063;padding:14px 17px;border-radius:8px;font-size:12px;margin-bottom:22px;line-height:1.8}.research-card{display:grid;grid-template-columns:60px 1fr auto;gap:18px;align-items:center;padding:25px;border:1px solid var(--line);background:#fff;border-radius:10px;margin-bottom:12px}.research-card .research-icon{width:60px;height:60px;background:#efede9;border-radius:8px;display:grid;place-items:center}.research-icon svg{width:28px;height:28px}.research-card h3{margin:5px 0 8px}.research-card p{font-size:12px;color:var(--muted)}.research-card .tag{font-size:10px;color:var(--red)}.empty{padding:45px 20px;background:#fff;border:1px dashed #ded9cf;border-radius:10px;text-align:center;grid-column:1/-1}.empty h3{font-size:18px;margin-bottom:8px}.empty p{color:var(--muted);font-size:13px;margin-bottom:19px}.wanted-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.wanted-card{background:#fff;border:1px solid var(--line);border-radius:10px;padding:24px}.wanted-card .wanted-category{font-size:11px;color:var(--red);display:flex;align-items:center;gap:6px;margin-bottom:14px}.wanted-card h3{font-size:18px;margin-bottom:12px}.wanted-card p{font-size:13px;color:#7f796f;min-height:50px}.wanted-card .wanted-budget{font-size:20px;font-weight:650;margin:18px 0 7px}.wanted-card .wanted-foot{display:flex;justify-content:space-between;align-items:center;border-top:1px solid var(--line);padding-top:16px;margin-top:19px;font-size:11px;color:#8d867c}.wanted-card .wanted-foot button{padding:8px 12px}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px}.form-grid label{display:flex;flex-direction:column;gap:7px;font-size:13px;font-weight:500;min-width:0}.form-grid .full{grid-column:1/-1}.form-hint{font-size:11px;color:var(--muted);line-height:1.7}.form-actions{display:flex;gap:10px;justify-content:flex-end;margin-top:22px}.form-error{color:#a02038;font-size:12px;min-height:20px;margin-top:12px}dialog{padding:0;border:1px solid var(--line);border-radius:14px;max-width:680px;width:calc(100% - 32px);max-height:90dvh;overflow:auto;background:#fff;color:var(--ink);box-shadow:0 24px 100px #1d151333}dialog::backdrop{background:#231d1a70;backdrop-filter:blur(3px)}.dialog-inner{padding:30px}.dialog-heading{display:flex;justify-content:space-between;align-items:flex-start;gap:18px;margin-bottom:23px}.dialog-heading h2{font-size:24px}.dialog-heading p{color:var(--muted);font-size:12px;margin-top:6px}.dialog-heading button{border:0;background:#f1efea;border-radius:50%;width:31px;height:31px;flex-shrink:0;font-size:20px}.publish-choices{display:grid;gap:12px}.publish-choice{display:flex;align-items:center;text-align:left;background:#fff;border:1px solid var(--line);border-radius:10px;padding:19px;gap:16px}.publish-choice:hover{border-color:var(--red);background:#fffafb}.publish-choice>svg{width:25px;height:25px;color:var(--red)}.publish-choice strong{font-size:15px}.publish-choice p{font-size:12px;color:var(--muted);margin-top:4px}.publish-choice>span:last-child{margin-left:auto}.detail-photo{width:100%;max-height:320px;object-fit:cover;border-radius:9px;margin-bottom:20px}.detail-meta{display:flex;align-items:center;justify-content:space-between;margin:15px 0}.detail-meta .price{font-size:28px}.detail-copy{font-size:14px;color:#726c61;margin-bottom:20px}.detail-row{padding:12px 0;border-top:1px solid var(--line);font-size:13px;display:flex;justify-content:space-between;gap:18px}.detail-row span{color:var(--muted)}.detail-actions{display:flex;gap:10px;margin-top:22px}.detail-actions .primary{flex:1}.profile-banner{display:flex;gap:18px;align-items:center;margin-bottom:30px}.profile-banner>.avatar{width:60px;height:60px;font-size:24px}.profile-banner h1{font-size:30px}.profile-banner p{font-size:13px;color:var(--muted);margin-top:7px}.profile-banner .button{margin-left:auto}.profile-tabs{margin-bottom:25px}.mine-actions{display:flex;gap:7px;margin-top:12px}.status-pill{font-size:10px;color:var(--green);background:#eaf1ed;padding:4px 7px;border-radius:4px}.site-footer{max-width:1240px;margin:auto;border-top:1px solid var(--line);padding:25px 0 32px;display:flex;justify-content:space-between;gap:18px;align-items:center;color:#9b958a;font-size:11px}.site-footer>div{display:flex;gap:18px;align-items:center}.site-footer b{font-size:16px;color:#a69b89}.mobile-nav{display:none}.toast{position:fixed;bottom:24px;left:50%;transform:translate(-50%,12px);max-width:calc(100vw - 32px);padding:12px 20px;background:#282522;color:#fff;border-radius:8px;font-size:13px;opacity:0;pointer-events:none;transition:opacity .15s,transform .15s;z-index:5000}.toast.show{opacity:1;transform:translate(-50%,0)}.small-caps{font-size:10px;letter-spacing:1px}.placeholder-photo{height:100%;display:grid;place-items:center;color:#988878;background:#eae5dd}.placeholder-photo svg{width:45px;height:45px}.inline-alert{padding:14px 16px;background:var(--rose);font-size:12px;line-height:1.7;border-radius:8px;margin-bottom:18px}.source-notes{font-size:12px;color:var(--muted);margin-top:20px}
@media(min-width:1450px){.header-inner,.site-main,.site-footer,.preview-strip>div{max-width:1320px}.market-layout{grid-template-columns:minmax(0,1fr) 270px}.product-grid{gap:28px 22px}.product-photo{aspect-ratio:1.3}}
@media(max-width:1300px){.header-inner,.site-main,.site-footer,.preview-strip>div{margin-left:30px;margin-right:30px}.header-inner{gap:42px}.desktop-nav{gap:25px}.market-layout{gap:22px;grid-template-columns:minmax(0,1fr) 230px}.rail-card{padding:21px 19px}}
@media(max-width:1000px){.header-inner{gap:26px}.desktop-nav{gap:20px}.header-actions{gap:15px}.market-layout{grid-template-columns:1fr}.market-rail{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin-top:15px}.rail-note{grid-column:1/-1}.rail-card{margin-bottom:0}.wanted-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.site-footer{align-items:flex-start}.site-footer>div{flex-direction:column;align-items:flex-start;gap:6px}}
@media(max-width:700px){body{padding-bottom:66px}.header-inner,.site-main,.site-footer,.preview-strip>div{margin-left:18px;margin-right:18px}.preview-strip>div{padding:6px 0;font-size:10px}.preview-strip button{font-size:10px}.preview-strip b{margin-right:5px}.header-inner{height:66px;gap:10px}.brand img{width:128px;height:42px}.desktop-nav{display:none}.header-actions{gap:14px}.profile-link{display:none}.header-actions .button{padding:8px 13px;min-height:36px;font-size:13px}.site-main{padding-top:24px;padding-bottom:30px}.page-heading{gap:14px;margin-bottom:22px}h1{font-size:28px;letter-spacing:-.8px}.eyebrow{font-size:9px;letter-spacing:1.5px;margin-bottom:9px}.home-intro{align-items:flex-start;flex-direction:column;gap:17px}.home-intro p{font-size:12px;margin-top:9px}.campus-select{padding:4px 9px;font-size:12px}.campus-select select{font-size:12px}.search-bar{gap:7px;padding:6px 6px 6px 12px}.search-bar input{font-size:16px;width:90px}.search-bar select{max-width:85px;font-size:11px;padding:7px 5px}.search-bar .button{font-size:12px;padding:8px 12px}.search-hints{font-size:10px;gap:14px;margin-bottom:24px}.search-hints button{font-size:11px}.market-tabs{gap:23px}.market-tabs button{font-size:14px;padding-bottom:12px}.market-tabs .tab-note{display:none}.filter-row{gap:3px;margin-bottom:20px}.chip{font-size:11px;padding:7px 9px}.feed-top span{font-size:10px}.product-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:24px 13px}.product-photo{aspect-ratio:1.05}.product-card h3{font-size:13px}.price{font-size:18px}.condition{font-size:9px}.item-place{font-size:10px}.seller-row{font-size:9px}.product-photo .photo-tag{font-size:9px;padding:3px 6px;left:7px;top:7px}.product-photo .icon-button{width:29px;height:29px;right:7px;bottom:7px}.market-rail{gap:12px}.rail-card{padding:18px 15px}.rail-card h3{font-size:16px}.rail-card p{font-size:11px}.rail-card .button{font-size:12px;padding:9px}.rail-brief{font-size:10px}.wanted-grid{grid-template-columns:1fr}.wanted-card{padding:22px}.page-heading>.button{padding:9px 12px;font-size:12px}.research-card{grid-template-columns:42px 1fr;padding:18px;gap:13px}.research-card .research-icon{width:42px;height:42px}.research-card>.button{grid-column:1/-1}.form-grid{grid-template-columns:1fr}.form-grid .full{grid-column:auto}.field,input.field,select.field,textarea.field{font-size:16px}.dialog-inner{padding:22px}.dialog-heading h2{font-size:21px}.site-footer{flex-direction:column;font-size:10px;gap:14px;padding:23px 0 27px}.mobile-nav{display:flex;position:fixed;bottom:0;left:0;right:0;justify-content:space-around;background:#fffffff5;border-top:1px solid var(--line);padding:8px 7px calc(8px + env(safe-area-inset-bottom));z-index:100;backdrop-filter:blur(12px)}.mobile-nav a{position:relative;display:flex;align-items:center;justify-content:center;gap:4px;flex-direction:column;color:#928c82;font-size:10px;min-height:42px;min-width:49px}.mobile-nav a[aria-current=page]{color:var(--red);font-weight:650}.mobile-nav svg{width:21px;height:21px}.mobile-nav .unread-badge{position:absolute;right:0;top:-3px;font-size:9px;min-width:15px;height:15px}.toast{bottom:82px}.profile-banner{flex-wrap:wrap}.profile-banner .button{margin-left:0}.profile-banner h1{font-size:26px}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{scroll-behavior:auto!important;transition:none!important}}

@media(max-width:420px){.profile-tabs{gap:14px;flex-wrap:wrap}.profile-tabs button{font-size:12px}.preview-strip>div>span{max-width:calc(100% - 62px)}}

.catalog-tabs{gap:26px;overflow-x:auto;white-space:nowrap}.catalog-tabs button{flex-shrink:0}.usage-filter{display:flex;align-items:center;gap:7px;flex-wrap:wrap;margin-bottom:16px}.usage-filter>span{font-size:12px;color:var(--muted);margin-right:6px}.usage-filter .chip{font-size:12px;padding:7px 11px}.catalog-note{font-size:11px;color:var(--muted);margin:-5px 0 18px}.original-note{font-size:12px;background:var(--soft);border-radius:8px;padding:10px 12px;line-height:1.6;margin:15px 0}.form-hint.full{grid-column:1/-1;background:var(--soft);padding:10px 12px;border-radius:6px}.product-card .item-place span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.product-card .condition{max-width:50%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}@media(max-width:650px){.catalog-tabs{gap:20px}.usage-filter{gap:5px}.usage-filter>span{width:100%;margin-bottom:3px}.catalog-note{line-height:1.65}.filter-row{flex-wrap:wrap;gap:6px}.filter-row .chip{font-size:11px;padding:7px 9px}}

.currency-filter{display:flex;align-items:center;gap:9px;font-size:12px;color:var(--muted);margin-bottom:15px}.currency-filter select{border:1px solid var(--line);padding:6px 9px;border-radius:6px;background:white;color:var(--ink)}

.missing-school{display:flex;flex-wrap:wrap;gap:10px;align-items:center;padding:11px 14px;background:var(--rose);border-radius:8px;margin:0 0 20px;font-size:12px;line-height:1.6}.missing-school .text-link{font-size:12px}
@media(max-width:700px){.home-intro .eyebrow{display:none}.home-intro{gap:12px;margin-bottom:16px}.home-intro p{margin-top:7px}.search-hints{display:none}.catalog-tabs{margin-top:20px;margin-bottom:14px}.usage-filter{margin-bottom:10px}.usage-filter>span{width:auto;margin:0 3px 0 0}.usage-filter .chip{padding:6px 8px;font-size:11px}.filter-row{flex-wrap:nowrap;overflow-x:auto;margin-bottom:16px}.currency-filter{margin-bottom:10px}.catalog-note{margin-bottom:13px}}
.market-layout>section{min-width:0}.filter-row{max-width:100%}
.shared-state{display:flex;align-items:center;justify-content:space-between;gap:12px;font-size:12px;color:#817c74;padding:10px 0;line-height:1.6}.shared-state .text-link{flex-shrink:0}.member-seller-link .member-avatar{width:24px;height:24px;font-size:12px;flex:0 0 24px}.admin-counts{display:flex;gap:16px;flex-wrap:wrap;padding:12px 0 24px}.admin-counts b{color:#902438}.community-admin section>h3{margin:24px 0 12px}.admin-entry{padding:14px 0;border-top:1px solid #e8e3db}.admin-entry>div{display:flex;justify-content:space-between;gap:20px}.admin-entry strong{font-size:14px;white-space:pre-wrap;overflow-wrap:anywhere}.admin-entry small{white-space:nowrap;color:#817c74}.admin-entry details{font-size:12px;margin-top:10px}.admin-entry form{display:grid;gap:10px;padding:12px;background:#faf8f4}.admin-entry form label{display:grid;gap:6px}.admin-entry form p{color:#902438}
