/* THE GRAND JAM — member app skeleton styles.
   Deliberately minimal & neutral. A designer will replace this. */

.tgj-app { font-family: system-ui, -apple-system, Segoe UI, Roboto, sans-serif; color: #1c1c1c; max-width: 960px; margin: 0 auto; padding: 0 16px 48px; }
.tgj-app * { box-sizing: border-box; }

/* nav */
.tgj-nav { display: flex; align-items: center; justify-content: space-between; padding: 14px 0; border-bottom: 1px solid #e5e5e5; margin-bottom: 24px; }
.tgj-brand { font-weight: 800; letter-spacing: .06em; text-decoration: none; color: #111; }
.tgj-nav-right { display: flex; align-items: center; gap: 16px; }
.tgj-nav-link { text-decoration: none; color: #333; }
.tgj-nav-link:hover { color: #000; }

/* account menu */
.tgj-menu { position: relative; }
.tgj-menu-btn { background: #f3f3f3; border: 1px solid #ddd; border-radius: 6px; padding: 8px 12px; cursor: pointer; font: inherit; }
.tgj-menu-list { display: none; position: absolute; right: 0; top: 110%; background: #fff; border: 1px solid #ddd; border-radius: 8px; min-width: 170px; box-shadow: 0 6px 24px rgba(0,0,0,.08); overflow: hidden; z-index: 20; }
.tgj-menu.open .tgj-menu-list { display: block; }
.tgj-menu-list a { display: block; padding: 10px 14px; text-decoration: none; color: #222; }
.tgj-menu-list a:hover { background: #f6f6f6; }

/* buttons */
.tgj-btn { display: inline-block; background: #111; color: #fff; border: 1px solid #111; border-radius: 8px; padding: 10px 16px; text-decoration: none; cursor: pointer; font: inherit; }
.tgj-btn:hover { background: #000; }
.tgj-btn-ghost { background: transparent; color: #111; }
.tgj-btn:disabled { opacity: .5; cursor: default; }

/* hero / welcome */
.tgj-hero { text-align: center; padding: 48px 0; }
.tgj-hero h1 { font-size: 2rem; margin: 0 0 12px; }
.tgj-hero-actions { display: flex; gap: 12px; justify-content: center; margin-top: 24px; }
.tgj-welcome h1 { margin: 0 0 4px; }

/* sections + cards */
.tgj-section { margin: 28px 0; }
.tgj-section h2 { font-size: 1.15rem; border-bottom: 2px solid #111; display: inline-block; padding-bottom: 2px; margin: 0 0 14px; }
.tgj-card { display: flex; align-items: center; justify-content: space-between; gap: 12px; border: 1px solid #e7e7e7; border-radius: 8px; padding: 12px 14px; margin-bottom: 8px; }
.tgj-card-main { display: flex; flex-direction: column; gap: 2px; }
.tgj-link { color: #0a58ca; text-decoration: none; }
.tgj-pill { background: #eee; border-radius: 999px; padding: 1px 8px; margin-left: 8px; font-size: .8rem; }
.tgj-muted { color: #777; font-size: .9rem; }

.tgj-like { background: #f7f7f7; border: 1px solid #ddd; border-radius: 6px; padding: 6px 10px; cursor: pointer; font: inherit; white-space: nowrap; }
.tgj-like.on { background: #ffe9ef; border-color: #ffb3c7; }

/* forms */
.tgj-narrow { max-width: 520px; }
.tgj-field { display: block; margin-bottom: 12px; }
.tgj-field span { display: block; font-size: .85rem; color: #555; margin-bottom: 4px; }
.tgj-field input, .tgj-field select { width: 100%; padding: 9px 10px; border: 1px solid #ccc; border-radius: 6px; font: inherit; }
.tgj-form, .tgj-profile { margin-top: 16px; }

.tgj-profile-head { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; }
.tgj-avatar { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; background: #eee; border: 1px solid #ddd; }

/* notices */
.tgj-notice { padding: 10px 12px; border-radius: 6px; margin: 10px 0; background: #f3f3f3; border: 1px solid #e0e0e0; }
.tgj-notice.ok { background: #e8f7ec; border-color: #b6e2c1; color: #1c6b35; }
.tgj-notice.err { background: #fdecea; border-color: #f5c2c0; color: #9b2620; }
.tgj-loading { color: #999; padding: 8px 0; }
