/* G4 stays within buylist / market surfaces and inherits the site's palette. */
.g4-history,.g4-feed { list-style:none; padding:0; margin:16px 0 24px; }
.g4-history li { padding:20px 0; border-top:1px solid var(--line); min-width:0; }
.g4-shop-head,.g4-stats { display:flex; flex-wrap:wrap; justify-content:space-between; gap:8px 24px; }
.g4-history small,.g4-note,.g4-condition,.g4-feed small { display:block; color:var(--text-2); font-size:14px; line-height:1.65; overflow-wrap:anywhere; }
.g4-shop-head b,.g4-stats,.g4-feed b,.g4-feed time { font-variant-numeric:tabular-nums; }
.g4-spark { display:block; width:100%; max-width:440px; height:80px; color:var(--sky-text,var(--text-1)); margin:8px 0; }
.g4-tag { display:inline-block; padding:2px 8px; margin:6px 6px 4px 0; border:1px solid var(--line); border-radius:6px; font-size:14px; color:var(--text-1); }
.g4-controls { display:flex; gap:8px; margin-top:16px; }
.g4-controls button { min-height:44px; min-width:64px; }
.g4-controls [aria-pressed="true"] { background:var(--tray); color:var(--text-1); border-color:var(--text-2); }
.g4-controls button:focus-visible,.g4-source:focus-visible,.g4-feed a:focus-visible { outline:2px solid var(--sky-text,var(--text-1)); outline-offset:3px; }
.g4-source { display:inline-flex; align-items:center; min-height:44px; text-underline-offset:3px; }
.g4-market { margin:32px 0; min-width:0; }
.g4-market h2 { margin:32px 0 8px; font-size:22px; }
.g4-feed li { display:flex; align-items:baseline; justify-content:space-between; gap:12px 24px; padding:14px 0; border-bottom:1px solid var(--line); }
.g4-feed li > span { min-width:0; flex:1; overflow-wrap:anywhere; }
.g4-feed a { color:var(--text-1); text-decoration:underline; text-underline-offset:3px; }
.g4-feed time,.g4-feed b { white-space:nowrap; }
.g4-best { padding:16px 0; font-size:18px; line-height:1.7; overflow-wrap:anywhere; }
.g4-best small { display:block; color:var(--text-2); font-size:14px; }
@media(max-width:600px) { .g4-feed li { flex-wrap:wrap; gap:4px 12px; } .g4-feed time { flex-basis:100%; font-size:14px; } .g4-feed li > span { flex-basis:65%; } }
