/* Events and Premium page styles. Light theme, reuses tg-card and tg-btn
   from the site styles. tge- prefix throughout. */

.tge-lede { font-size: 16px; line-height: 1.6; color: var(--tg-ink-mute, #555); margin: 0 0 28px; max-width: 62ch; }
.tge-section { margin: 0 0 28px; }
.tge-section > h2 { font-family: var(--tg-font-display, sans-serif); font-size: 22px; color: var(--tg-ink, #111); margin: 0 0 6px; }
.tge-section > p { font-size: 14px; line-height: 1.6; color: var(--tg-ink-mute, #555); margin: 0 0 16px; max-width: 62ch; }

.tge-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 14px; }
.tge-card { display: block; background: var(--tg-bg, #fff); border: 1px solid var(--tg-rule, #e3e3e3); border-radius: 14px; padding: 16px; box-shadow: var(--tg-shadow-1, 0 1px 3px rgba(0,0,0,.06)); color: inherit; text-decoration: none; }
a.tge-card:hover { border-color: var(--tg-purple, #7A3CFF); }
.tge-card-art { width: 56px; height: 56px; border-radius: 10px; object-fit: contain; background: #f2f0fa; margin: 0 0 10px; }
.tge-card-mono { width: 56px; height: 56px; border-radius: 10px; background: #7A3CFF; color: #ffffff; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 22px; margin: 0 0 10px; }
.tge-card-name { font-weight: 600; font-size: 15px; color: var(--tg-ink, #111); margin: 0 0 6px; overflow-wrap: anywhere; }
.tge-card-meta { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.tge-pill { display: inline-block; font-size: 12px; font-weight: 600; padding: 2px 8px; border-radius: 999px; background: #ece8ff; color: #3d1a99; }
.tge-pill-free { background: #e2f5e3; color: #14532d; }
.tge-pill-soon { background: #fef3c7; color: #713f12; }
.tge-pill-owned { background: #e2f5e3; color: #14532d; }
.tge-meta-text { font-size: 12.5px; color: var(--tg-ink-mute, #666); }
.tge-empty { font-size: 14px; color: var(--tg-ink-mute, #666); }
.tge-price { font-size: 18px; font-weight: 700; color: var(--tg-ink, #111); margin: 0 0 8px; }
.tge-blurb { font-size: 14px; line-height: 1.55; color: var(--tg-ink-mute, #555); margin: 0 0 12px; }
.tge-error { color: #c81e1e; font-size: 13px; min-height: 18px; margin: 8px 0 0; }
.tge-buy { min-height: 44px; }
.tge-owned-note { font-size: 14px; font-weight: 600; color: #14532d; margin: 0; }
.tge-purchase-row { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--tg-rule, #eee); }
.tge-purchase-row:last-child { border-bottom: 0; }
.tge-purchase-name { font-weight: 600; font-size: 14px; color: var(--tg-ink, #111); }
.tge-purchase-state { font-size: 12.5px; color: var(--tg-ink-mute, #666); margin-left: auto; text-align: right; }

@media (max-width: 480px) {
  .tge-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .tge-card { padding: 12px; }
  .tge-purchase-state { margin-left: 0; text-align: left; width: 100%; }
}
