/* g2: sdílené komponenty (app i discover). Jen tokeny z tokens.css. */
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; background: var(--g2-page); color: var(--g2-ink); font-family: var(--g2-font-body); font-size: 17px; line-height: 1.55; min-height: 100vh; }
a { color: inherit; }
::selection { background: var(--g2-accent); color: #fff; }
:focus-visible { outline: 3px solid var(--g2-accent); outline-offset: 2px; }
.g2-display { font-family: var(--g2-font-display); }
.g2-ico { width: 19px; height: 19px; flex: none; }

.g2-topbar { background: var(--g2-surface); border-bottom: 1px solid var(--g2-line); position: sticky; top: 0; z-index: 20; }
.g2-topbar-in { max-width: 1080px; margin: 0 auto; padding: 14px 24px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.g2-brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; font-size: 22px; letter-spacing: -.02em; line-height: 1; text-decoration: none; white-space: nowrap; color: var(--g2-brand); }
.g2-brand img { height: 36px; width: auto; display: block; }
.g2-menu { display: flex; gap: 4px; margin-right: auto; margin-left: 8px; min-width: 0; overflow-x: auto; scrollbar-width: none; }
.g2-menu::-webkit-scrollbar { display: none; }
.g2-menu a { white-space: nowrap; padding: 8px 12px; border-radius: 8px; font-size: 16px; font-weight: 600; text-decoration: none; color: var(--g2-muted); }
.g2-menu a:hover { background: var(--g2-page); color: var(--g2-ink); }
.g2-menu a[aria-current] { color: var(--g2-accent-text); }
.g2-nav-right { display: flex; align-items: center; gap: 8px; }
.g2-lang { position: relative; }
.g2-lang summary { display: flex; align-items: center; gap: 6px; cursor: pointer; list-style: none; border-radius: 8px; padding: 6px 10px; font-size: 15px; font-weight: 600; color: var(--g2-ink); }
.g2-lang summary::-webkit-details-marker { display: none; }
.g2-lang summary:hover { background: var(--g2-page); }
.g2-lang summary svg { width: 20px; height: 20px; flex: none; }
.g2-lang summary .chev { width: 16px; height: 16px; color: var(--g2-muted); }
.g2-lang-menu { position: absolute; right: 0; top: calc(100% + 6px); min-width: 150px; background: var(--g2-surface); border: 1px solid var(--g2-line); border-radius: 12px; padding: 4px; box-shadow: 0 10px 30px -12px rgba(30, 26, 23, .25); }
.g2-lang-menu a { display: block; padding: 9px 12px; border-radius: 8px; font-size: 15px; text-decoration: none; color: var(--g2-muted); }
.g2-lang-menu a:hover { background: var(--g2-page); color: var(--g2-ink); }
.g2-lang-menu a.on { background: var(--g2-page); color: var(--g2-ink); font-weight: 700; }
@media (max-width: 760px) {
    .g2-topbar-in { padding: 12px 16px; gap: 8px; }
    .g2-menu { margin-left: 0; }
    .g2-menu a { padding: 8px 8px; font-size: 15px; }
    .g2-lang summary span { display: none; }
}
.g2-wrap { max-width: 1080px; margin: 0 auto; padding: 24px var(--g2-gap) 96px; }

.g2-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 52px; padding: 0 28px; background: var(--g2-accent); color: #fff; border: 0; border-radius: var(--g2-btn-radius); font: inherit; font-weight: 700; font-size: 18px; text-decoration: none; cursor: pointer; white-space: nowrap; }
.g2-btn.sm { min-height: 40px; padding: 0 18px; font-size: 15px; border-radius: 8px; }
.g2-btn:hover { opacity: .9; }
.g2-btn.ghost { background: var(--g2-surface); color: var(--g2-accent-text); border: 1px solid var(--g2-line); }
.g2-btn.ghost:hover { border-color: var(--g2-accent); opacity: 1; }
.g2-badge { display: inline-block; background: #ece5df; color: var(--g2-muted); border-radius: 999px; padding: 2px 10px; font-size: 12px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.g2-eyebrow { font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--g2-accent-text); }

/* event_hero (jako v2.share / v2.app) */
.g2-hero-band { background: var(--g2-hero); border-bottom: 1px solid var(--g2-line); }
.g2-hero { max-width: 1240px; margin: 0 auto; padding: 40px 24px; display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 36px; align-items: center; }
/* prodejní web: hero stejně široké jako zbytek obsahu (.g2-wrap) */
.g2-discover .g2-hero { max-width: 1080px; padding-left: var(--g2-gap); padding-right: var(--g2-gap); }
@media (max-width: 860px) { .g2-hero { grid-template-columns: 1fr; gap: 24px; padding: 24px 16px; } .g2-hero .g2-hero-pic-col { order: -1; } .g2-hero:not(.is-video) .g2-hero-pic-col { max-width: 420px; } }
.g2-hero-text { min-width: 0; }
.g2-hero-pic-col { min-width: 0; order: 2; }
.g2-pic { position: relative; border-radius: var(--g2-radius); overflow: hidden; background: #f5ece4; border: 1px solid var(--g2-line); aspect-ratio: 1/1; }
.g2-hero.is-video .g2-pic { aspect-ratio: 16/9; }
.g2-pic img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; display: block; }
.g2-pic img.bg { object-fit: cover; filter: blur(24px); transform: scale(1.3); }
.g2-pic.dim img { filter: grayscale(1); opacity: .6; }
.g2-pic.dim img.bg { filter: grayscale(1) blur(24px); }
.g2-pic-btn { position: absolute; inset: 0; width: 100%; height: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; display: block; }
.g2-image-dialog { border: 0; padding: 0; background: transparent; max-width: 94vw; max-height: 94vh; overflow: visible; }
.g2-image-dialog::backdrop { background: rgba(30, 26, 23, .8); }
.g2-image-dialog img { display: block; max-width: 94vw; max-height: 90vh; border-radius: 12px; cursor: zoom-out; }
.g2-state { margin-bottom: 10px; }
.g2-hero h1 { margin: 8px 0 12px; font-weight: 800; font-size: clamp(30px, 4.6vw, 46px); line-height: 1.04; letter-spacing: -.03em; text-wrap: balance; }
.g2-sub { margin: 0 0 20px; color: var(--g2-muted); font-size: 19px; }
.g2-meta { display: flex; flex-direction: column; gap: 8px; margin-bottom: 24px; }
.g2-meta > div { display: flex; gap: 10px; align-items: flex-start; }
.g2-meta .g2-ico { margin-top: 3px; color: var(--g2-accent-text); }
.g2-meta a { text-underline-offset: 3px; }
.g2-place-sub { margin-top: -4px; color: var(--g2-muted); font-size: 15px; align-items: center; }
.g2-place-sub-ic { width: 19px; flex: none; }
.g2-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.g2-note { margin: 12px 0 0; font-size: 14px; color: var(--g2-muted); }
.g2-text-link { margin-left: 14px; font-weight: 600; color: var(--g2-muted); text-decoration: underline; text-underline-offset: 3px; }
.g2-text-link:hover { color: var(--g2-accent-text); }
.g2-ph { display: block; height: 14px; border-radius: 6px; background: rgba(30, 26, 23, .1); max-width: 100%; width: 200px; }
.g2-ph.kind { width: 90px; height: 12px; margin-bottom: 8px; }
.g2-ph.sub-ph { width: 80%; height: 18px; margin: 0 0 20px; }
.g2-errors { background: #fdecea; border: 1px solid #f0b8b1; color: #8a2a1f; border-radius: 10px; padding: 10px 14px; margin-bottom: 14px; font-size: 15px; }
.g2-errors ul { margin: 0; padding-left: 18px; }

/* hero: režim úprav */
.g2-ed { font: inherit; color: var(--g2-ink); background: rgba(255, 255, 255, .7); border: 1px dashed #E0B994; border-radius: 10px; transition: border-color .12s, background .12s; }
.g2-ed:hover { border-color: var(--g2-accent); }
.g2-ed:focus { outline: 0; border: 1px solid var(--g2-accent); background: #fff; box-shadow: 0 0 0 3px rgba(242, 107, 29, .18); }
select.g2-ed-kind { padding: 5px 10px; font-size: 13px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--g2-accent-text); margin-bottom: 6px; }
textarea.g2-ed-name { display: block; width: 100%; resize: none; overflow: hidden; margin: 6px 0 10px; padding: 6px 10px; font-weight: 800; font-size: clamp(28px, 3.4vw, 42px); line-height: 1.1; letter-spacing: -.03em; }
.g2-ed-sub-wrap { position: relative; margin-bottom: 16px; }
textarea.g2-ed-sub { display: block; width: 100%; resize: none; overflow: hidden; padding: 8px 10px; font-size: 18px; line-height: 1.45; }
textarea.g2-ed-sub::placeholder { color: #a8998d; font-style: italic; }
.g2-ed-count { display: block; text-align: right; font-size: 12px; color: var(--g2-muted); height: 16px; margin-top: 2px; }
.g2-dates { align-items: center; flex-wrap: wrap; gap: 8px 14px; }
.g2-dates label { display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; color: var(--g2-muted); }
.g2-dates input { padding: 7px 10px; font-size: 15px; }
.g2-linkbtn { background: none; border: 0; padding: 6px 4px; font: inherit; font-size: 15px; font-weight: 600; color: var(--g2-muted); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.g2-linkbtn:hover { color: var(--g2-accent-text); }
.g2-place-ed { display: flex; align-items: flex-start; gap: 10px; }
.g2-place-ed > .g2-ico { margin-top: 9px; }
.g2-chip { display: inline-flex; align-items: center; gap: 8px; background: var(--g2-surface); border: 1px solid var(--g2-line); border-radius: 999px; padding: 5px 6px 5px 14px; }
.g2-chip[hidden], .g2-ac[hidden], .g2-ac-list[hidden], .g2-linkbtn[hidden] { display: none; }
.g2-chip-x { width: 24px; height: 24px; border: 0; border-radius: 50%; background: var(--g2-page); color: var(--g2-muted); font-size: 17px; line-height: 1; cursor: pointer; }
.g2-chip-x:hover { background: var(--g2-accent); color: #fff; }
.g2-place-details-ed { display: flex; gap: 10px; align-items: center; }
.g2-pd-ic { width: 19px; flex: none; }
.g2-place-details-ed input { flex: 1; max-width: 520px; padding: 8px 12px; font-size: 15px; }
.g2-ac { position: relative; flex: 1; max-width: 420px; }
.g2-ac-input { width: 100%; padding: 8px 12px; font-size: 15px; }
.g2-ac-list { position: absolute; z-index: 30; left: 0; right: 0; top: calc(100% + 4px); margin: 0; padding: 4px; list-style: none; background: var(--g2-surface); border: 1px solid var(--g2-line); border-radius: 12px; box-shadow: 0 10px 30px -12px rgba(30, 26, 23, .3); max-height: 260px; overflow: auto; }
.g2-ac-list li { padding: 8px 10px; border-radius: 8px; cursor: pointer; font-size: 15px; }
.g2-ac-list li small { display: block; color: var(--g2-muted); font-size: 13px; }
.g2-ac-list li:hover, .g2-ac-list li[aria-selected=true] { background: var(--g2-page); }
.g2-ac-list li.none { color: var(--g2-muted); cursor: default; }
.g2-ac-list li.none:hover { background: none; }
.g2-pic-drop { position: absolute; inset: 0; z-index: 2; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; text-align: center; padding: 16px; cursor: pointer; color: var(--g2-ink); font-size: 14px; background: rgba(255, 243, 232, .55); border: 2px dashed #E0B994; border-radius: var(--g2-radius); transition: background .12s, opacity .12s; }
.g2-pic.has .g2-pic-drop { opacity: 0; background: rgba(30, 26, 23, .55); color: #fff; border-color: #fff; }
.g2-pic.has .g2-pic-drop:hover, .g2-pic.has.over .g2-pic-drop { opacity: 1; }
.g2-pic:not(.has) .g2-pic-drop:hover, .g2-pic.over .g2-pic-drop { background: rgba(255, 255, 255, .85); border-color: var(--g2-accent); }
.g2-pic-drop svg { width: 34px; height: 34px; color: var(--g2-accent-text); }
.g2-pic.has .g2-pic-drop svg { color: #fff; }
.g2-rm-img { display: inline-flex; align-items: center; gap: 8px; margin-top: 10px; font-size: 14px; color: var(--g2-muted); cursor: pointer; }
.g2-pic.removed img { display: none; }

/* panely (about, performers, place, organizer) */
.g2-panel { background: var(--g2-surface); border: 1px solid var(--g2-line); border-radius: var(--g2-radius); padding: 28px 32px; margin-bottom: 20px; scroll-margin-top: 84px; }
.g2-panel-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 8px; }
.g2-panel h2 { margin: 0; font-size: 26px; letter-spacing: -.02em; font-weight: 800; }
.g2-pencil { flex: none; width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--g2-line); background: var(--g2-surface); color: var(--g2-muted); display: grid; place-items: center; transition: color .12s, border-color .12s; }
.g2-pencil:hover { color: var(--g2-accent-text); border-color: var(--g2-accent); }
.g2-rich { overflow-wrap: anywhere; }
.g2-rich img { max-width: 100%; height: auto; border-radius: 10px; }
.g2-rich li::marker { color: var(--g2-accent-text); }
/* Formátování textu (popis akce); stejná pravidla platí i v editoru, ať vypadá stejně jako výsledek. */
.g2-rich p, .g2-rte-body .tiptap p { margin: 0 0 1em; }
.g2-rich ul, .g2-rich ol, .g2-rte-body .tiptap ul, .g2-rte-body .tiptap ol { margin: 0 0 1em; padding-left: 1.4em; }
/* Seznamy: položky blízko u sebe (odstavec uvnitř položky nemá vlastní mezeru). */
.g2-rich li, .g2-rte-body .tiptap li { margin: 0; }
.g2-rich li + li, .g2-rte-body .tiptap li + li { margin-top: .2em; }
.g2-rich li > p, .g2-rte-body .tiptap li > p { margin: 0; }
.g2-rich li > ul, .g2-rich li > ol, .g2-rte-body .tiptap li > ul, .g2-rte-body .tiptap li > ol { margin: .2em 0 0; }
/* Nadpisy: pod nadpisem menší mezera než nad ním, na začátku textu žádná mezera nahoře. */
.g2-rich :is(h1, h2, h3, h4, h5, h6), .g2-rte-body .tiptap :is(h3, h4) { margin: 1.4em 0 .35em; line-height: 1.25; }
.g2-rich :is(h1, h2, h3, h4, h5, h6):first-child, .g2-rte-body .tiptap :is(h3, h4):first-child { margin-top: 0; }
/* H3 uprostřed textu odděluje čára (na začátku ne). */
.g2-rich h3:not(:first-child), .g2-rte-body .tiptap h3:not(:first-child) { margin-top: 1.8em; padding-top: 1.4em; border-top: 1px solid var(--g2-line); }
.g2-people { display: flex; flex-direction: column; gap: 28px; }
.g2-person { display: flex; gap: 20px; align-items: flex-start; }
.g2-avatar { width: 96px; height: 96px; border-radius: 50%; object-fit: cover; flex: none; background: var(--g2-page); }
.g2-person-name { margin: 0; font-size: 20px; letter-spacing: -.01em; }
.g2-person-label { color: var(--g2-accent-text); font-weight: 600; margin: 2px 0 8px; }
.g2-person-desc { color: var(--g2-muted); overflow-wrap: anywhere; }
.g2-person-more { display: inline-block; margin-top: 10px; font-weight: 600; text-decoration: none; color: var(--g2-accent-text); }
.g2-person-more:hover { text-decoration: underline; text-underline-offset: 3px; }

/* Lidé: seznam (person_card) a profil */
.g2-list-title { font-size: 36px; letter-spacing: -.03em; margin: 0 0 20px; }
.g2-list-subtitle { font-size: 26px; letter-spacing: -.02em; margin: 44px 0 4px; }
.g2-list-note { margin: 0 0 16px; font-size: 15px; }
.g2-pcards { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 16px; list-style: none; margin: 0; padding: 0; }
.g2-pcards-compact { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 8px; }
.g2-pcard { display: flex; gap: 16px; align-items: flex-start; height: 100%; padding: 18px 20px; background: var(--g2-surface); border: 1px solid var(--g2-line); border-radius: var(--g2-radius); text-decoration: none; color: inherit; }
.g2-pcard:hover { border-color: var(--g2-accent); }
.g2-pcard-pic { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; flex: none; background: var(--g2-page); }
.g2-pcard-initials { display: grid; place-items: center; font-weight: 700; font-size: 20px; color: var(--g2-accent-text); background: var(--g2-page); }
.g2-pcard-body { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.g2-pcard-name { font-weight: 700; font-size: 18px; letter-spacing: -.01em; }
.g2-pcard-label { color: var(--g2-accent-text); font-weight: 600; font-size: 14px; }
.g2-pcard-next { font-size: 15px; color: var(--g2-muted); }
.g2-pcard-sub { font-size: 14px; color: var(--g2-muted); }
.g2-pcard-compact { align-items: center; gap: 12px; padding: 10px 14px; border-radius: calc(var(--g2-radius) * .6); }
.g2-pcard-compact .g2-pcard-pic { width: 40px; height: 40px; font-size: 14px; }
.g2-pcard-compact .g2-pcard-name { font-size: 15px; }
.g2-pcard-compact .g2-pcard-sub { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 13px; }
.g2-profile { display: flex; gap: 24px; align-items: center; margin-bottom: 20px; }
.g2-profile h1 { margin: 0; font-size: clamp(30px, 4.6vw, 44px); line-height: 1.05; letter-spacing: -.03em; }
.g2-profile-pic { width: 120px; height: 120px; }
.g2-profile-bio { max-width: 760px; margin-bottom: 8px; overflow-wrap: anywhere; }
.g2-profile-section { margin-top: 36px; }
.g2-profile-section h2 { margin: 0 0 16px; font-size: 26px; letter-spacing: -.02em; }
@media (max-width: 560px) { .g2-profile { flex-direction: column; align-items: flex-start; gap: 14px; } }
.g2-place-name { margin: 0; font-size: 20px; font-weight: 700; }
.g2-muted { color: var(--g2-muted); }
.g2-contacts { display: flex; flex-wrap: wrap; gap: 6px 24px; margin-top: 8px; }
.g2-contacts a { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; }
.g2-contacts a:hover { color: var(--g2-accent-text); }
.g2-contacts .g2-ico { color: var(--g2-accent-text); }

/* event_card (seznamy) */
.g2-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 20px; list-style: none; margin: 0; padding: 0; }
.g2-card { display: block; background: var(--g2-surface); border: 1px solid var(--g2-line); border-radius: var(--g2-radius); overflow: hidden; text-decoration: none; height: 100%; }
.g2-card:hover { border-color: var(--g2-accent); }
.g2-card-pic { aspect-ratio: 16/9; background: #f5ece4; }
.g2-card-pic img { width: 100%; height: 100%; object-fit: cover; display: block; }
.g2-card-body { padding: 14px 18px 18px; }
.g2-card-body h3 { margin: 4px 0 6px; font-size: 19px; letter-spacing: -.01em; }
.g2-card-body p { margin: 0; color: var(--g2-muted); font-size: 15px; }

.g2-footer { border-top: 1px solid var(--g2-line); padding: 24px var(--g2-gap); text-align: center; color: var(--g2-muted); font-size: 14px; }
.g2-footer a { color: inherit; }

.g2-saved { background: #e8f5e9; border: 1px solid #b9dfbc; color: #1e5b25; border-radius: 10px; padding: 10px 14px; margin-bottom: 16px; font-weight: 600; }

/* panel v úpravách, editor popisu */
.g2-ph-lines { display: flex; flex-direction: column; gap: 10px; }
.g2-edit-box { margin-top: 4px; }
.g2-edit-actions { display: flex; align-items: center; gap: 14px; margin-top: 16px; }
.g2-rte { border: 1px solid var(--g2-line); border-radius: 12px; overflow: hidden; background: var(--g2-surface); }
.g2-rte-bar { display: flex; flex-wrap: wrap; gap: 2px; padding: 6px 8px; background: var(--g2-page); border-bottom: 1px solid var(--g2-line); }
.g2-rte-bar button { min-width: 34px; height: 32px; padding: 0 8px; border: 0; border-radius: 6px; background: none; font: inherit; font-size: 14px; font-weight: 700; color: var(--g2-muted); cursor: pointer; }
.g2-rte-bar button:hover { background: var(--g2-surface); color: var(--g2-ink); }
.g2-rte-bar button.is-active { background: var(--g2-surface); color: var(--g2-accent-text); box-shadow: inset 0 0 0 1px var(--g2-line); }
.g2-rte-bar .sep { width: 1px; background: var(--g2-line); margin: 4px 4px; }
.g2-rte-body .tiptap { outline: 0; padding: 14px 16px; min-height: 260px; max-height: 70vh; overflow: auto; }
.g2-rte-body .tiptap h3 { font-size: 1.25rem; }
.g2-rte-body .tiptap h4 { font-size: 1.1rem; }
.g2-rte-body .tiptap a { color: var(--g2-accent-text); }
.g2-rte-body .tiptap hr { border: 0; border-top: 1px solid var(--g2-line); margin: 1.4em 0; }
.g2-rte-body .tiptap p.is-editor-empty:first-child::before { content: attr(data-placeholder); color: #a8998d; float: left; height: 0; pointer-events: none; }
/* bez JS (nebo bez načteného editoru) zůstává viditelný zdroj HTML; s editorem se schová */
.g2-rte { display: none; }
.g2-edit-box.rte-on .g2-rte { display: block; }
.g2-edit-box.rte-on .g2-rte-source { display: none; }
.g2-rte-source { width: 100%; font: inherit; font-size: 16px; color: var(--g2-ink); background: var(--g2-surface); border: 1px solid var(--g2-line); border-radius: 10px; padding: 9px 12px; resize: vertical; min-height: 200px; }

/* hero videa */
.g2-watch { margin: 0 0 14px; font-size: 16px; }
.g2-watch a { color: var(--g2-accent-text); text-underline-offset: 3px; }
.g2-meta-pair { flex-wrap: wrap; column-gap: 10px; row-gap: 4px; align-items: center; }
.g2-meta-pair .g2-ico + span + .g2-ico { margin-left: 14px; }
.g2-overshade { position: absolute; inset: 0; background: linear-gradient(to top, rgba(20, 15, 10, .72) 0%, rgba(20, 15, 10, .24) 45%, rgba(20, 15, 10, 0) 72%); }
.g2-overbox { position: absolute; left: 22px; right: 22px; bottom: 20px; text-align: left; color: #fff; text-shadow: 0 1px 6px rgba(0, 0, 0, .4); }
.g2-oq { display: block; font-family: var(--g2-font-display); font-size: 72px; font-weight: 800; line-height: .6; height: 34px; color: rgba(255, 255, 255, .7); }
.g2-overtext { display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; font-size: clamp(24px, 2.6vw, 38px); font-weight: 600; line-height: 1.2; }
.g2-previews { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 12px; }
.g2-preview { padding: 0; border: 1px solid var(--g2-line); border-radius: 10px; overflow: hidden; cursor: pointer; width: 132px; background: var(--g2-surface); font: inherit; text-align: left; }
.g2-preview:hover { border-color: var(--g2-accent); }
.g2-pv-thumb { position: relative; display: block; aspect-ratio: 16/9; background: #f5ece4; }
.g2-pv-thumb img { width: 100%; height: 100%; object-fit: contain; display: block; }
.g2-pv-thumb svg { position: absolute; left: 50%; top: 50%; width: 26px; height: 26px; margin: -13px 0 0 -13px; padding: 5px; border-radius: 50%; background: rgba(30, 26, 23, .7); color: #fff; }
.g2-pv-title { display: block; margin: 5px 8px; font-size: 12px; color: var(--g2-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
