:root {
  --bg: #14110f;
  --surface: #1e1916;
  --surface-elevated: #27201c;
  --border: #352c26;
  --text: #f6f0e6;
  --muted: #a99b8d;
  --accent: #e07a3f;
  --accent-soft: rgba(224, 122, 63, 0.16);
  --green: #88be96;
  --serif: Georgia, "Iowan Old Style", "Times New Roman", serif;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--sans); -webkit-font-smoothing: antialiased; }
.shell { max-width: 980px; margin: 0 auto; padding: 24px 16px 88px; }
header.hero { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 16px; padding-bottom: 20px; border-bottom: 1px solid var(--border); margin-bottom: 20px; }
.eyebrow { font-size: 11px; text-transform: uppercase; letter-spacing: 0.12em; color: var(--accent); font-weight: 700; }
header.hero h1 { font-family: var(--serif); font-size: 30px; margin: 4px 0 6px; letter-spacing: -0.02em; }
.push-pill { font-size: 13px; color: var(--muted); }
.hero-actions { display: flex; gap: 8px; flex-wrap: wrap; }
button, .btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; padding: 9px 14px; border-radius: 9px; font-size: 13px; font-weight: 600; border: 1px solid transparent; cursor: pointer; text-decoration: none; transition: opacity 0.15s ease; }
button:hover, .btn:hover { opacity: 0.9; }
.btn-primary { background: var(--accent); color: #171310; }
.btn-ghost { background: var(--surface); color: var(--text); border-color: var(--border); }
nav.tabs { display: flex; gap: 8px; margin-bottom: 22px; overflow-x: auto; padding-bottom: 4px; }
nav.tabs button { background: var(--surface); color: var(--muted); border-color: var(--border); white-space: nowrap; }
nav.tabs button.active { background: var(--accent-soft); color: var(--accent); border-color: var(--accent); }
.badge { background: var(--accent); color: #171310; font-size: 11px; padding: 1px 7px; border-radius: 99px; font-weight: 700; }
.tab-panel { display: none; }
.tab-panel.active { display: block; }
.grid-2 { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 18px; }
@media (max-width: 760px) { .grid-2 { grid-template-columns: 1fr; } }
.card { background: var(--surface); border: 1px solid var(--border); border-radius: 14px; padding: 18px; margin-bottom: 16px; }
.card h2 { font-size: 13px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); margin: 0 0 14px; }
.ticket { background: var(--surface-elevated); border: 1px solid var(--border); border-left: 3px solid var(--accent); border-radius: 11px; padding: 14px; margin-bottom: 12px; }
.media-thumb { display: block; width: 100%; max-height: 230px; object-fit: cover; border-radius: 9px; border: 1px solid var(--border); margin-bottom: 10px; background: #100d0c; }
.ticket-meta { font-size: 11px; text-transform: uppercase; letter-spacing: 0.07em; color: var(--accent); font-weight: 700; }
.ticket-title { font-family: var(--serif); font-size: 19px; margin: 4px 0 2px; }
.ticket-venue { font-size: 13px; color: var(--muted); margin-bottom: 8px; }
.ticket-summary { font-size: 13px; line-height: 1.45; color: #dfd4c6; margin: 0 0 12px; }
.ticket-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.ticket-actions .btn { padding: 6px 10px; font-size: 12px; }
.feed-item { padding: 12px 0; border-bottom: 1px solid var(--border); }
.feed-item:last-child { border-bottom: none; padding-bottom: 0; }
.feed-author { font-weight: 700; font-size: 14px; }
.feed-handle { color: var(--muted); font-weight: 400; font-size: 13px; }
.feed-text { margin: 5px 0 6px; font-size: 14px; line-height: 1.45; color: #e4dacd; }
.inline-link { color: var(--accent); font-size: 12px; text-decoration: none; font-weight: 600; }
.dm-layout { display: grid; grid-template-columns: 290px 1fr; gap: 16px; min-height: 440px; }
@media (max-width: 720px) { .dm-layout { grid-template-columns: 1fr; } }
.thread-list { background: var(--surface); border: 1px solid var(--border); border-radius: 14px; overflow: hidden; }
.thread-row { width: 100%; text-align: left; justify-content: flex-start; align-items: flex-start; padding: 13px 14px; border-radius: 0; background: transparent; color: var(--text); border-bottom: 1px solid var(--border); }
.thread-row.active { background: var(--surface-elevated); }
.avatar { width: 36px; height: 36px; border-radius: 50%; background: var(--accent-soft); color: var(--accent); display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 12px; flex-shrink: 0; }
.thread-snippet { font-size: 12px; color: var(--muted); margin-top: 3px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.chat-pane { background: var(--surface); border: 1px solid var(--border); border-radius: 14px; display: flex; flex-direction: column; padding: 16px; }
.chat-header { display: flex; justify-content: space-between; align-items: center; padding-bottom: 12px; border-bottom: 1px solid var(--border); margin-bottom: 14px; }
.messages-scroll { flex: 1; display: flex; flex-direction: column; gap: 10px; margin-bottom: 14px; max-height: 340px; overflow-y: auto; }
.bubble { max-width: 78%; padding: 10px 13px; border-radius: 12px; font-size: 14px; line-height: 1.4; }
.bubble.them { align-self: flex-start; background: var(--surface-elevated); border: 1px solid var(--border); }
.bubble.me { align-self: flex-end; background: var(--accent); color: #171310; font-weight: 500; }
.bubble-status { font-size: 11px; margin-top: 4px; opacity: 0.78; }
.reply-form { display: flex; gap: 8px; }
input[type="text"], input[type="email"], input[type="password"], input[type="time"], input[type="file"], select, textarea { width: 100%; background: var(--bg); border: 1px solid var(--border); color: var(--text); padding: 9px 11px; border-radius: 9px; font-size: 13px; font-family: var(--sans); }
.form-stack { display: flex; flex-direction: column; gap: 10px; }
.code-box { background: var(--bg); border: 1px solid var(--border); border-radius: 9px; padding: 10px 12px; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 12px; word-break: break-all; color: #e3d5c3; }
.newsletter-frame { width: 100%; height: 680px; border: 1px solid var(--border); border-radius: 12px; background: #f3ede2; }
.toast { position: fixed; bottom: 20px; right: 20px; background: #2b231e; border: 1px solid var(--accent); color: var(--text); padding: 11px 16px; border-radius: 10px; font-size: 13px; display: none; z-index: 50; }
.toast.visible { display: block; }