.feed-page{background:var(--paper)}
.feed-header{gap:20px}
.feed-header__back{margin-left:auto;color:#444;font-size:12px;font-weight:700;text-decoration:none;white-space:nowrap}
.feed-header__back:hover{color:#202120;text-decoration:underline;text-decoration-color:#8dac2f;text-underline-offset:3px}
.feed-main{max-width:1280px;margin:0 auto;padding:clamp(22px,4vw,44px) clamp(16px,4vw,40px) 80px}
.feed-hero{padding-bottom:18px;border-bottom:1px solid var(--line)}
.feed-hero h1{margin:6px 0 10px;font-size:clamp(28px,4vw,44px);letter-spacing:-1.5px;line-height:1.08}
.feed-hero__hint{max-width:620px;margin:0;color:#666;font-size:13px;line-height:1.7}
.feed-filters{display:flex;gap:8px;margin-top:18px;flex-wrap:wrap}
.feed-filters button{padding:8px 13px;border:1px solid var(--line);border-radius:999px;background:#fff;color:#4b4b45;font-size:11px;font-weight:700;cursor:pointer}
.feed-filters button.is-active{border-color:#202120;background:#202120;color:#fff}
.feed-filters button:hover{border-color:#8dac2f}
.feed-toolbar{display:flex;justify-content:space-between;align-items:baseline;gap:12px;margin:18px 0 16px;flex-wrap:wrap}
.feed-toolbar span:first-child{font:11px 'DM Mono',monospace;color:#555;letter-spacing:.04em}
.feed-toolbar__note{color:#8a8a80;font-size:10px}
.feed-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(280px,1fr));gap:18px}
.feed-card{display:flex;flex-direction:column;border:1px solid var(--line);border-radius:14px;background:#fff;overflow:hidden}
.feed-card__media{position:relative;display:block;width:100%;aspect-ratio:1/1;padding:0;border:0;background:#e9e8e2;cursor:zoom-in}
.feed-card__media img{width:100%;height:100%;object-fit:cover;display:block}
.feed-card__media span{position:absolute;right:10px;bottom:10px;padding:4px 9px;border-radius:999px;background:#202120cc;color:#fff;font:10px 'DM Mono',monospace}
.feed-card__body{display:flex;flex-direction:column;gap:8px;padding:13px 14px 14px}
.feed-card__head{display:flex;align-items:center;justify-content:space-between;gap:10px}
.feed-code{display:inline-flex;align-items:center;gap:6px;padding:5px 10px;border:1px solid #202120;border-radius:6px;background:#fff;color:#202120;font:11px 'DM Mono',monospace;font-weight:700;cursor:copy}
.feed-code:hover{border-color:#8dac2f;background:#f6fbe3}
.feed-price{font-size:15px;font-weight:800;letter-spacing:-.3px}
.feed-price--ask{color:#8a8a80;font-size:11px;font-weight:700}
.feed-card__title{margin:0;color:#202120;font-size:14px;line-height:1.4;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.feed-card__text{margin:0;color:#75756c;font-size:11px;line-height:1.6;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.feed-card__tags{display:flex;gap:6px;flex-wrap:wrap;color:#9a9a90;font:9px 'DM Mono',monospace}
.feed-card__actions{display:flex;gap:8px;margin-top:4px}
.feed-card__actions button{flex:1;padding:10px 12px;border:1px solid #202120;border-radius:7px;background:#fff;color:#202120;font-size:11px;font-weight:700;cursor:pointer}
.feed-card__actions button:hover{background:#d9f45b;border-color:#d9f45b}
.feed-card__actions button[data-feed-buy]{background:#202120;color:#fff}
.feed-card__actions button[data-feed-buy]:hover{background:#789522;border-color:#789522}
.feed-more{display:flex;justify-content:center;margin-top:26px}
.feed-more button{padding:13px 26px;border:1px solid #202120;border-radius:9px;background:#fff;color:#202120;font-size:12px;font-weight:700;cursor:pointer}
.feed-more button:hover{background:#202120;color:#fff}
.feed-more button[hidden]{display:none}
.feed-empty{padding:46px 0;color:#8a8a80;font-size:13px;text-align:center}
.feed-dialog{width:min(880px,94vw);max-height:92vh;padding:0;border:1px solid var(--line);border-radius:18px;background:#fff;overflow:auto}
.feed-dialog::backdrop{background:#202120aa}
.feed-dialog__close{position:absolute;right:12px;top:12px;z-index:3;width:34px;height:34px;border:0;border-radius:50%;background:#202120dd;color:#fff;font-size:18px;line-height:1;cursor:pointer}
.feed-dialog--guide{width:min(520px,94vw)}
.feed-detail{display:grid;gap:0}
.feed-detail__stage{position:relative;background:#20231f}
.feed-detail__stage img{display:block;width:100%;max-height:62vh;object-fit:contain}
.feed-detail__stage button{position:absolute;top:50%;transform:translateY(-50%);width:40px;height:40px;border:0;border-radius:50%;background:#151715cc;color:#fff;font-size:18px;cursor:pointer}
.feed-detail__stage button[data-slide-prev]{left:12px}
.feed-detail__stage button[data-slide-next]{right:12px}
.feed-detail__stage span{position:absolute;right:14px;bottom:12px;padding:4px 10px;border-radius:999px;background:#151715cc;color:#fff;font:10px 'DM Mono',monospace}
.feed-detail__thumbs{display:flex;gap:6px;padding:10px 14px 0;overflow-x:auto}
.feed-detail__thumbs button{flex:0 0 auto;width:52px;height:52px;padding:0;border:2px solid transparent;border-radius:6px;background:#eee;overflow:hidden;cursor:pointer}
.feed-detail__thumbs img{width:100%;height:100%;object-fit:cover}
.feed-detail__thumbs button.is-active{border-color:#202120}
.feed-detail__body{display:grid;gap:14px;padding:16px 20px 22px}
.feed-detail__head{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}
.feed-detail__head .feed-code{font-size:13px;padding:7px 12px}
.feed-detail__head b{font-size:20px;letter-spacing:-.5px}
.feed-detail__size{padding:8px 12px;border-radius:8px;background:#f6f5ef;color:#555;font-size:11px}
.feed-detail__text{margin:0;color:#4b4b45;font-size:13px;line-height:1.8;white-space:pre-wrap}
.feed-detail__actions{display:flex;gap:10px;flex-wrap:wrap}
.feed-detail__actions button{flex:1;min-width:150px;padding:13px 16px;border-radius:9px;font-size:12px;font-weight:700;cursor:pointer;border:1px solid #202120;background:#fff;color:#202120}
.feed-detail__actions button[data-feed-buy]{border-color:#202120;background:#202120;color:#fff}
.feed-detail__actions button:hover{opacity:.88}
.feed-guide__body{display:grid;gap:14px;padding:22px}
.feed-guide__body h3{margin:0;font-size:16px}
.feed-guide__steps{margin:0;padding-left:18px;color:#555;font-size:12px;line-height:1.9}
.feed-guide__code{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px;border:1px dashed #8dac2f;border-radius:10px;background:#f6fbe3}
.feed-guide__code b{font:14px 'DM Mono',monospace}
.feed-guide__actions{display:flex;gap:10px;flex-wrap:wrap}
.feed-guide__actions button,.feed-guide__actions a{flex:1;min-width:140px;padding:12px 14px;border-radius:9px;font-size:12px;font-weight:700;text-align:center;text-decoration:none;cursor:pointer}
.feed-guide__actions button{border:1px solid #202120;background:#fff;color:#202120}
.feed-guide__actions a{border:1px solid #202120;background:#202120;color:#fff}
@media(max-width:640px){
  .feed-header{height:auto;padding:12px 16px;gap:10px;flex-wrap:wrap}
  .feed-header__back{order:3;margin-left:0}
  .feed-search{order:4;flex:1 0 100%;height:40px}
  .feed-grid{grid-template-columns:repeat(auto-fill,minmax(46%,1fr));gap:12px}
  .feed-card__body{padding:10px 11px 12px}
  .feed-card__actions button{font-size:10px;padding:9px 8px}
  .feed-hero h1{font-size:26px}
  .feed-detail__stage img{max-height:46vh}
}
