/* 打标样品库 */
.jg .screen-reader-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.jg-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 32px; }
.jg-tabs button { font: inherit; font-size: 15px; font-weight: 600; min-height: 42px; padding: 8px 18px; border-radius: 999px; border: 1px solid var(--line, #e5e5ea); background: #fff; color: var(--ink-2, #4b4b50); cursor: pointer; transition: background .15s, color .15s, border-color .15s; }
.jg-tabs button span { font-weight: 500; color: var(--muted, #86868b); margin-inline-start: 4px; }
.jg-tabs button:hover { border-color: #c8c8cd; color: var(--ink, #111); }
.jg-tabs button.is-on { background: var(--ink, #111); border-color: var(--ink, #111); color: #fff; }
.jg-tabs button.is-on span { color: rgba(255, 255, 255, .6); }
.jg-desc { margin-top: 14px; color: var(--ink-2, #4b4b50); font-size: 15px; max-width: 860px; }
.jg-grid { list-style: none; margin: 24px 0 0; padding: 0; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; }
@media (max-width: 1280px) { .jg-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); } }
@media (max-width: 1024px) { .jg-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 760px) { .jg-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; } }
@media (max-width: 460px) { .jg-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.jg-item[hidden] { display: none; }
.jg-tile { all: unset; box-sizing: border-box; position: relative; display: block; width: 100%; aspect-ratio: 3 / 4; border-radius: 14px; overflow: hidden; background: var(--soft, #f5f5f7); cursor: pointer; }
.jg-tile:focus-visible { outline: 3px solid var(--blue, #2f6fdb); outline-offset: 2px; }
.jg-tile img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .35s ease; }
.jg-tile:hover img { transform: scale(1.05); }
.jg-tile::after { content: ""; position: absolute; inset: 45% 0 0; background: linear-gradient(to bottom, transparent, rgba(0, 0, 0, .62)); pointer-events: none; }
.jg-play { position: absolute; top: 50%; left: 50%; width: 44px; height: 44px; margin: -22px 0 0 -22px; border-radius: 50%; background: rgba(255, 255, 255, .92); color: #111; display: flex; align-items: center; justify-content: center; box-shadow: 0 6px 18px rgba(0, 0, 0, .25); transition: transform .2s; z-index: 1; }
.jg-play svg { margin-left: 2px; }
.jg-tile:hover .jg-play { transform: scale(1.1); }
.jg-dur { position: absolute; top: 8px; inset-inline-end: 8px; font-size: 11px; font-weight: 600; color: #fff; background: rgba(0, 0, 0, .55); padding: 2px 7px; border-radius: 999px; z-index: 1; }
.jg-cap { position: absolute; left: 10px; right: 10px; bottom: 10px; color: #fff; font-size: 13px; font-weight: 600; line-height: 1.3; z-index: 1; }
.jg-cap em { display: block; font-style: normal; font-size: 11px; font-weight: 500; opacity: .8; margin-bottom: 1px; }
.jg-morewrap { text-align: center; margin-top: 28px; }
.jg-more { font: inherit; font-size: 15px; font-weight: 600; min-height: 44px; padding: 10px 28px; border-radius: 999px; border: 1px solid var(--line, #e5e5ea); background: #fff; color: var(--ink, #111); cursor: pointer; }
.jg-more:hover { border-color: #b9b9c0; }
.jg-more[hidden] { display: none; }

/* 对比面板里的一排 */
.jg-strip { margin-top: 28px; }
.jg-strip__head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.jg-strip__head h4 { font-size: 17px; font-weight: 700; margin: 0; }
.jg-strip__head a { font-size: 14px; font-weight: 600; color: var(--blue, #2f6fdb); text-decoration: none; }
.jg-grid--strip { margin-top: 12px; }
@media (max-width: 760px) { .jg-grid--strip { grid-template-columns: repeat(3, minmax(0, 1fr)); } .jg-grid--strip .jg-item:nth-child(n+7) { display: none; } }

/* 灯箱 */
.jg-lb { width: min(1100px, calc(100vw - 24px)); max-height: calc(100vh - 24px); border: 0; padding: 48px 56px 20px; border-radius: 22px; background: #0d0d0f; color: #fff; overflow: hidden; }
.jg-lb::backdrop { background: rgba(0, 0, 0, .78); }
.jg-lb__stage { display: flex; align-items: center; justify-content: center; height: min(72vh, 760px); }
.jg-lb__stage video, .jg-lb__stage img { max-width: 100%; max-height: 100%; border-radius: 12px; background: #000; display: block; }
.jg-lb__cap { text-align: center; margin: 14px 0 0; font-size: 15px; font-weight: 600; }
.jg-lb__cap em { font-style: normal; font-weight: 500; opacity: .65; margin-inline-end: 8px; }
.jg-lb__cta { text-align: center; margin: 12px 0 0; }
.jg-lb__cta .b-btn { background: var(--blue, #2f6fdb) !important; color: #fff !important; }
.jg-lb__x { position: absolute; top: 10px; inset-inline-end: 12px; width: 38px; height: 38px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .12); color: #fff; font-size: 24px; line-height: 1; cursor: pointer; }
.jg-lb__nav { position: absolute; top: 50%; margin-top: -26px; width: 44px; height: 52px; border: 0; border-radius: 12px; background: rgba(255, 255, 255, .1); color: #fff; font-size: 30px; line-height: 1; cursor: pointer; }
.jg-lb__nav:hover, .jg-lb__x:hover { background: rgba(255, 255, 255, .22); }
.jg-lb__prev { left: 8px; } .jg-lb__next { right: 8px; }
[dir="rtl"] .jg-lb__prev { left: auto; right: 8px; } [dir="rtl"] .jg-lb__next { right: auto; left: 8px; }
@media (max-width: 640px) { .jg-lb { padding: 44px 8px 14px; } .jg-lb__nav { top: auto; bottom: 14px; margin: 0; } .jg-lb__stage { height: 66vh; } }
