.qsg-wrap { max-width: 1280px; margin: 0 auto; padding: 24px 16px 48px; box-sizing: border-box; }
.qsg { --qsg-accent: #c8102e; --qsg-ink: #fff; --qsg-bg: #fff; --qsg-text: #111827; --qsg-muted: #6b7280; --qsg-line: #e5e7eb; --qsg-pill: #eef1f7; --qsg-gap: 14px; margin-top: 1.2em; margin-bottom: 1.2em; color: var(--qsg-text); font-family: inherit; line-height: 1.3; } .qsg { width: 100%; max-width: 100%; min-width: 0; } .qsg-w-wide, .qsg-w-full { position: relative; z-index: 1; }
.qsg.qsg-rescue { width: min(1100px, calc(100vw - 40px)); }
.qsg *, .qsg *::before, .qsg *::after { box-sizing: border-box; }
.qsg a, .qsg a:hover, .qsg a:focus { text-decoration: none !important; box-shadow: none; }
.qsg button { font-family: inherit; } .qsg-head { display: flex; align-items: center; gap: 12px; padding-bottom: 12px; border-bottom: 1px solid var(--qsg-line); margin-bottom: 14px; }
.qsg-brand { display: flex; align-items: center; gap: 8px; margin: 0; font-size: 24px; font-weight: 800; letter-spacing: .01em; text-transform: uppercase; color: var(--qsg-text); line-height: 1.1; }
.qsg-share { display: inline-flex; align-items: center; gap: 6px; margin-left: auto; padding: 7px 14px; border: 1px solid var(--qsg-line); border-radius: 999px; background: var(--qsg-bg); color: var(--qsg-text); font-size: 14px; font-weight: 600; cursor: pointer; }
.qsg-brand + .qsg-share { margin-left: 0; }
.qsg-share:hover { border-color: var(--qsg-accent); color: var(--qsg-accent); } .qsg-pillswrap { margin: 0 0 6px; }
.qsg-pills { display: flex; gap: 10px; overflow-x: auto; padding: 2px 1px 8px; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.qsg-pills::-webkit-scrollbar { display: none; }
.qsg-pill { flex: 0 0 auto; padding: 9px 18px; border-radius: 999px; background: var(--qsg-pill); color: var(--qsg-text) !important; font-size: 14px; font-weight: 500; transition: background .15s, color .15s; }
.qsg-pill:hover, .qsg-pill:focus-visible { background: var(--qsg-accent); color: var(--qsg-ink) !important; } .qsg-sec { padding: 22px 0 8px; border-top: 1px solid var(--qsg-line); scroll-margin-top: 80px; }
.qsg-sec:first-of-type { border-top: 0; }
.qsg-sec-head { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; margin-bottom: 14px; }
.qsg-sec-title { margin: 0; font-size: 20px; font-weight: 800; text-transform: uppercase; letter-spacing: .01em; color: var(--qsg-text); line-height: 1.2; }
.qsg-more { font-size: 14px; font-weight: 600; color: var(--qsg-accent) !important; white-space: nowrap; } .qsg-rowwrap { position: relative; }
.qsg-row { display: flex; gap: var(--qsg-gap); overflow-x: auto; scroll-snap-type: x proximity; padding: 2px 1px 14px; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.qsg-row::-webkit-scrollbar { display: none; }
.qsg-row .qsg-card { flex: 0 0 clamp(142px, 13.5vw, 190px); scroll-snap-align: start; }
.qsg-arrow { position: absolute; top: 35%; margin-top: -19px; z-index: 3; width: 38px; height: 38px; border-radius: 50%; border: 0; background: #fff; color: #111; font-size: 18px; line-height: 38px; text-align: center; padding: 0; cursor: pointer; box-shadow: 0 2px 10px rgba(0, 0, 0, .28); }
.qsg-arrow[hidden] { display: none; }
.qsg-prev { left: 10px; } .qsg-next { right: 10px; }
.qsg-arrow:hover { background: var(--qsg-accent); color: var(--qsg-ink); } .qsg-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(clamp(146px, 12vw, 176px), 1fr)); gap: var(--qsg-gap); }
.qsg-fixed .qsg-grid { grid-template-columns: repeat(var(--qsg-cols, 4), minmax(0, 1fr)); }
.qsg-fixed .qsg-row .qsg-card { flex-basis: calc((100% - (var(--qsg-cols, 4) - 1) * var(--qsg-gap)) / var(--qsg-cols, 4)); } .qsg-card { display: flex; flex-direction: column; min-width: 0; background: var(--qsg-bg); border: 1px solid var(--qsg-line); border-radius: 12px; overflow: hidden; transition: box-shadow .2s, transform .2s; }
.qsg-card:hover { box-shadow: 0 8px 24px rgba(0, 0, 0, .12); transform: translateY(-2px); }
.qsg-media { position: relative; display: block; aspect-ratio: 3 / 4; background: #1b1b1f; overflow: hidden; }
.qsg-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.qsg-card:hover .qsg-media img { transform: scale(1.05); }
.qsg-badge { position: absolute; top: 10px; right: 10px; z-index: 2; display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px 6px 10px; border-radius: 999px; background: rgba(60, 60, 60, .78); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); color: #fff; font-size: 15px; font-weight: 700; line-height: 1; }
.qsg-dashes { position: absolute; left: 0; right: 0; bottom: 0; display: flex; gap: 3px; padding: 26px 8px 10px; background: linear-gradient(to top, rgba(0, 0, 0, .55), rgba(0, 0, 0, 0)); }
.qsg-dashes i { flex: 1 1 0; height: 3px; border-radius: 2px; background: rgba(255, 255, 255, .88); }
.qsg-body { display: flex; flex-direction: column; flex: 1; padding: 12px 12px 10px; }
.qsg-name { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.6em; font-size: 14px; font-weight: 700; line-height: 1.3; color: var(--qsg-text) !important; }
.qsg-name:hover { color: var(--qsg-accent) !important; }
.qsg-foot { display: flex; align-items: center; justify-content: space-between; margin-top: 12px; }
.qsg-foot time { font-size: 13px; color: var(--qsg-muted); }
.qsg-sharebtn { display: inline-flex; align-items: center; justify-content: center; width: 32px; height: 32px; padding: 0; border-radius: 50%; border: 1px solid var(--qsg-line); background: var(--qsg-bg); color: var(--qsg-text); cursor: pointer; }
.qsg-sharebtn:hover { border-color: var(--qsg-accent); color: var(--qsg-accent); }
.qsg-flash { position: absolute; right: 0; bottom: 40px; padding: 4px 8px; border-radius: 4px; background: #111; color: #fff; font-size: 12px; white-space: nowrap; } .qsg-pages { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; margin: 22px 0 6px; }
.qsg-pages .page-numbers { min-width: 40px; height: 40px; padding: 0 12px; display: inline-flex; align-items: center; justify-content: center; border-radius: 999px; border: 1px solid var(--qsg-line); color: var(--qsg-text) !important; font-weight: 600; }
.qsg-pages a.page-numbers:hover { border-color: var(--qsg-accent); }
.qsg-pages .page-numbers.current { background: var(--qsg-accent); border-color: var(--qsg-accent); color: var(--qsg-ink) !important; }
.qsg-pages .dots { border-color: transparent; }
.qsg-empty { padding: 30px 0; text-align: center; color: var(--qsg-muted); }
@media (max-width: 560px) {
.qsg { --qsg-gap: 10px; }
.qsg-grid, .qsg-fixed .qsg-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.qsg-brand { font-size: 20px; }
.qsg-name { font-size: 14px; }
.qsg-body { padding: 10px 10px 8px; }
.qsg-badge { top: 8px; right: 8px; padding: 5px 10px 5px 8px; font-size: 13px; }
}
@media (hover: none) { .qsg-arrow { display: none; } }
@media (prefers-reduced-motion: reduce) { .qsg-card, .qsg-media img { transition: none; } .qsg-card:hover, .qsg-card:hover .qsg-media img { transform: none; } }
@media (prefers-color-scheme: dark) {
.qsg { --qsg-bg: #17181c; --qsg-text: #f3f4f6; --qsg-muted: #9ca3af; --qsg-line: #2b2d33; --qsg-pill: #23252b; }
} .qsg-slim { display: flex; justify-content: flex-end; margin-bottom: 12px; }
.qsg-pills { align-items: center; }
.qsg-pills .qsg-share { margin-left: auto; flex: 0 0 auto; }
.qsg-head { margin-bottom: 8px; }
.qsg-sec { padding-top: 16px; }
.qsg-sec-head { margin-bottom: 12px; }
.qsg-body { padding: 12px 12px 10px; }
.qsg-name { min-height: 0; -webkit-line-clamp: 3; }
.qsg-foot { margin-top: auto; padding-top: 10px; }
.qsg-name { margin-bottom: 8px; } .qsg { --qsg-gap: 12px; }
.qsg-body { padding: 10px 10px 8px; }
.qsg-badge { top: 8px; right: 8px; padding: 5px 9px 5px 7px; font-size: 13px; gap: 5px; }
.qsg-dashes { padding: 22px 7px 8px; }
.qsg-sharebtn { width: 28px; height: 28px; }
.qsg-foot time { font-size: 12px; }
.qsg-arrow { top: 32%; } .qsg-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 28px; align-items: start; }
.qsg-main { min-width: 0; }
.qsg-side { position: sticky; top: 16px; display: flex; flex-direction: column; gap: 18px; min-width: 0; }
.qsg-box { padding: 14px 14px 8px; border: 1px solid var(--qsg-line); border-radius: 12px; background: var(--qsg-bg); overflow: hidden; }
.qsg-ad { padding: 14px; text-align: center; }
.qsg-side-title { margin: 0 0 10px; padding-bottom: 8px; border-bottom: 3px solid var(--qsg-accent); font-size: 15px; font-weight: 800; letter-spacing: .02em; text-transform: uppercase; color: var(--qsg-text); line-height: 1.2; }
.qsg-trend { list-style: none; margin: 0; padding: 0; counter-reset: none; }
.qsg-trend li { margin: 0; border-top: 1px solid var(--qsg-line); }
.qsg-trend li:first-child { border-top: 0; }
.qsg-trend a { display: flex; align-items: center; gap: 10px; padding: 10px 0; color: var(--qsg-text) !important; }
.qsg-rank { flex: 0 0 22px; font-size: 22px; font-weight: 800; line-height: 1; color: var(--qsg-accent); text-align: center; }
.qsg-tthumb { position: relative; flex: 0 0 54px; height: 72px; border-radius: 8px; overflow: hidden; background: #1b1b1f; }
.qsg-tthumb img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.qsg-ttext { flex: 1; min-width: 0; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; font-size: 14px; font-weight: 700; line-height: 1.3; }
.qsg-trend a:hover .qsg-ttext { color: var(--qsg-accent); }
.qsg-catlist { list-style: none; margin: 0; padding: 0 0 4px; }
.qsg-catlist li { margin: 0; }
.qsg-catlist a { display: flex; justify-content: space-between; align-items: center; padding: 9px 0; border-top: 1px solid var(--qsg-line); color: var(--qsg-text) !important; font-size: 14px; font-weight: 600; }
.qsg-catlist li:first-child a { border-top: 0; }
.qsg-catlist a:hover { color: var(--qsg-accent) !important; }
.qsg-catlist i { font-style: normal; font-size: 12px; font-weight: 700; min-width: 24px; padding: 2px 8px; border-radius: 999px; background: var(--qsg-pill); text-align: center; }
.qsg-hint { margin: 0 0 14px; padding: 10px 14px; border-left: 4px solid var(--qsg-accent); background: var(--qsg-pill); border-radius: 6px; font-size: 13px; line-height: 1.45; }
@media (max-width: 1000px) {
.qsg-layout { grid-template-columns: minmax(0, 1fr); }
.qsg-side { position: static; }
} .qsg .qsg-sec-title { position: relative; padding-left: 12px; color: var(--qsg-text) !important; }
.qsg .qsg-sec-title::before { content: ""; position: absolute; left: 0; top: 50%; width: 4px; height: 1.05em; margin-top: -.52em; border-radius: 2px; background: var(--qsg-accent); }
.qsg .qsg-more { color: var(--qsg-accent) !important; font-weight: 700; }
.qsg .qsg-more:hover { text-decoration: underline !important; }
.qsg .qsg-brand { color: var(--qsg-text) !important; }
.qsg .qsg-brand svg { color: var(--qsg-accent); }
.qsg .qsg-pill { background: var(--qsg-pill) !important; color: var(--qsg-text) !important; border: 1px solid transparent; font-weight: 600; }
@supports (background: color-mix(in srgb, red, blue)) {
.qsg .qsg-pill { background: color-mix(in srgb, var(--qsg-accent) 11%, #fff) !important; border-color: color-mix(in srgb, var(--qsg-accent) 28%, #fff); }
}
.qsg .qsg-pill:hover, .qsg .qsg-pill:focus-visible, .qsg .qsg-pill.is-on { background: var(--qsg-accent) !important; border-color: var(--qsg-accent); color: var(--qsg-ink) !important; }
.qsg .qsg-share { border-color: var(--qsg-accent); color: var(--qsg-accent) !important; font-weight: 700; }
.qsg .qsg-share:hover { background: var(--qsg-accent); color: var(--qsg-ink) !important; }
.qsg .qsg-name { color: var(--qsg-text) !important; }
.qsg .qsg-name:hover { color: var(--qsg-accent) !important; }
.qsg .qsg-foot time { color: var(--qsg-muted) !important; }
.qsg .qsg-sharebtn { color: var(--qsg-accent); border-color: var(--qsg-line); }
.qsg .qsg-sharebtn:hover { background: var(--qsg-accent); border-color: var(--qsg-accent); color: var(--qsg-ink); }
.qsg .qsg-side-title { color: var(--qsg-text) !important; }
.qsg .qsg-rank { color: var(--qsg-accent) !important; }
.qsg .qsg-ttext { color: var(--qsg-text) !important; }
.qsg .qsg-catlist a { color: var(--qsg-text) !important; }
.qsg .qsg-catlist a:hover { color: var(--qsg-accent) !important; }
.qsg .qsg-catlist i { background: var(--qsg-accent); color: var(--qsg-ink); } .qsg .qsg-pages { gap: 8px; }
.qsg .qsg-pages .page-numbers { min-width: 42px; height: 42px; border: 1px solid var(--qsg-line) !important; border-radius: 999px !important; background: var(--qsg-bg) !important; color: var(--qsg-text) !important; font-size: 15px; font-weight: 700; line-height: 1; text-decoration: none !important; box-shadow: none !important; }
.qsg .qsg-pages a.page-numbers:hover { border-color: var(--qsg-accent) !important; background: var(--qsg-accent) !important; color: var(--qsg-ink) !important; }
.qsg .qsg-pages .page-numbers.current { border-color: var(--qsg-accent) !important; background: var(--qsg-accent) !important; color: var(--qsg-ink) !important; }
.qsg .qsg-pages .page-numbers.dots { border-color: transparent !important; background: transparent !important; }
.qsg .qsg-pages .prev, .qsg .qsg-pages .next { color: var(--qsg-accent) !important; }
.qsg .qsg-pages .prev:hover, .qsg .qsg-pages .next:hover { color: var(--qsg-ink) !important; }
.qsg .qsg-arrow { color: var(--qsg-accent); }
.qsg .qsg-sec-title, .qsg .qsg-side-title, .qsg .qsg-brand { font-weight: 800 !important; text-transform: uppercase !important; letter-spacing: .01em; }
.qsg .qsg-sec-title { font-size: 20px !important; line-height: 1.2 !important; }
.qsg .qsg-side-title { font-size: 15px !important; }
.qsg .qsg-name, .qsg .qsg-ttext { font-weight: 700 !important; }