.page-wrap-feed{
  width:min(1240px,calc(100% - 32px))!important;
  max-width:min(1240px,calc(100% - 32px))!important;
  margin-inline:auto!important;
  padding-top:0!important;
}
.page-wrap-feed>.feed-page{
  width:100%!important;
  max-width:none!important;
  margin:0 auto!important;
  padding:0 0 72px!important;
  min-height:calc(100vh - 240px)!important;
}
.feed-hero{
  display:flex;
  align-items:center;
  gap:18px;
  margin:0 0 18px;
  padding:22px 24px;
  border:1px solid var(--brd,#e5e7eb);
  border-radius:24px;
  background:var(--surf,#fff);
  box-shadow:0 14px 35px rgba(15,23,42,.06);
}
.feed-hero-icon{
  width:58px;
  height:58px;
  display:grid;
  place-items:center;
  flex:0 0 auto;
  border-radius:18px;
  color:#fff;
  background:linear-gradient(135deg,#f97316,#2563eb);
  font-size:24px;
}
.feed-hero h1{
  margin:0;
  color:var(--txt,#0f172a);
  font-size:clamp(1.8rem,3vw,2.8rem);
  line-height:1.08;
  font-weight:900;
  letter-spacing:0;
}
.feed-hero p{
  margin:7px 0 0;
  color:var(--txt-2,#475569);
  line-height:1.65;
}
.feed-section{
  margin-top:18px;
  padding:22px;
  border:1px solid var(--brd,#e5e7eb);
  border-radius:22px;
  background:var(--surf,#fff);
}
.feed-section-head{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:18px;
  margin-bottom:16px;
}
.feed-section h2{
  margin:0;
  color:var(--txt,#0f172a);
  font-size:1.18rem;
  line-height:1.2;
}
.feed-section-head p{
  max-width:560px;
  margin:0;
  color:var(--txt-2,#64748b);
  font-size:.9rem;
  line-height:1.55;
}
.feed-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:14px;
}
.feed-card{
  display:flex;
  gap:14px;
  min-width:0;
  padding:16px;
  border:1px solid var(--brd,#e5e7eb);
  border-radius:18px;
  background:var(--surf2,#f8fafc);
}
.feed-card-icon{
  width:42px;
  height:42px;
  display:grid;
  place-items:center;
  flex:0 0 auto;
  border-radius:14px;
  background:rgba(249,115,22,.12);
  color:#ea580c;
}
.feed-card-body{
  min-width:0;
  flex:1;
}
.feed-card-top{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:10px;
}
.feed-card h3{
  margin:0;
  color:var(--txt,#0f172a);
  font-size:1rem;
  line-height:1.25;
}
.feed-card-top span{
  flex:0 0 auto;
  padding:4px 8px;
  border-radius:999px;
  background:rgba(37,99,235,.10);
  color:var(--c-primary,#2563eb);
  font-size:.68rem;
  font-weight:850;
}
.feed-card p{
  margin:8px 0 10px;
  color:var(--txt-2,#64748b);
  font-size:.86rem;
  line-height:1.55;
}
.feed-card code{
  display:block;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
  padding:8px 10px;
  border:1px solid var(--brd,#e5e7eb);
  border-radius:10px;
  background:var(--surf,#fff);
  color:var(--txt-2,#475569);
  font-size:.78rem;
}
.feed-card-actions{
  display:flex;
  gap:8px;
  flex-wrap:wrap;
  margin-top:12px;
}
.feed-open,
.feed-copy{
  min-height:34px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:7px;
  padding:8px 12px;
  border-radius:10px;
  font:inherit;
  font-size:.82rem;
  font-weight:850;
  text-decoration:none;
}
.feed-open{
  border:1px solid rgba(37,99,235,.24);
  background:rgba(37,99,235,.10);
  color:var(--c-primary,#2563eb);
}
.feed-copy{
  border:1px solid var(--brd,#e5e7eb);
  background:var(--surf,#fff);
  color:var(--txt,#0f172a);
  cursor:pointer;
}
.feed-copy.is-copied{
  border-color:rgba(16,185,129,.45);
  background:rgba(16,185,129,.12);
  color:#059669;
}
html[data-theme="dark"] .feed-card,
html[data-theme="dark"] .feed-card code,
html[data-theme="dark"] .feed-copy{
  background:rgba(255,255,255,.04);
  border-color:rgba(255,255,255,.10);
}
@media(max-width:820px){
  .feed-grid{grid-template-columns:1fr;}
  .feed-section-head{align-items:flex-start;flex-direction:column;}
}
@media(max-width:760px){
  .page-wrap-feed{width:min(100% - 18px,1240px)!important;}
  .feed-hero{align-items:flex-start;padding:16px;border-radius:20px;}
  .feed-hero-icon{width:48px;height:48px;border-radius:15px;}
  .feed-section{padding:16px;border-radius:20px;}
  .feed-card{padding:14px;}
}
@media(max-width:520px){
  .feed-card{flex-direction:column;}
  .feed-card-actions{display:grid;grid-template-columns:1fr 1fr;}
}
