/* Advisor life panel (timeline + works). Matches the dark / gold language of the site. */
.advisor-life { position: relative; min-height: 0; overflow-y: auto; padding: 26px 24px 40px; color: #f2ebdf; scrollbar-width: thin; scrollbar-color: rgba(212,175,123,0.35) transparent; }
.al-empty { font-size: 12px; color: rgba(242,235,223,0.45); padding: 20px 0; }
.al-kicker { font-size: 10px; letter-spacing: 0.22em; text-transform: uppercase; color: #cbb07c; }
.al-name { font-family: 'Barlow Condensed', Impact, sans-serif; font-weight: 700; font-size: 30px; line-height: 1; margin-top: 8px; color: #fff8ef; }
.al-meta { font-size: 10px; letter-spacing: 0.08em; color: rgba(242,235,223,0.45); margin-top: 6px; text-transform: uppercase; }
.al-tagline { font-size: 12px; line-height: 1.6; color: rgba(242,235,223,0.7); margin-top: 10px; }
.al-quote { margin: 14px 0 0; padding: 2px 0 2px 12px; border-left: 2px solid #ffcf7a; font-family: Georgia, serif; font-style: italic; font-size: 13px; line-height: 1.6; color: #f6efe2; }
.al-mention { position: sticky; top: -26px; z-index: 3; margin: 18px -24px 0; padding: 10px 24px; background: linear-gradient(180deg, rgba(30,25,17,0.97), rgba(18,16,12,0.94)); border-top: 1px solid rgba(255,207,122,0.35); border-bottom: 1px solid rgba(255,207,122,0.2); font-size: 11px; display: flex; flex-wrap: wrap; gap: 6px 8px; align-items: center; animation: alIn 300ms ease; }
.al-mention[hidden] { display: none; }
.al-mention span { font-size: 9px; letter-spacing: 0.2em; text-transform: uppercase; color: #ffcf7a; margin-right: 2px; }
.al-mention b { font-weight: 500; color: #fff7e8; border: 1px solid rgba(255,207,122,0.4); border-radius: 99px; padding: 2px 9px; }
.al-section { font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase; color: #cbb07c; margin: 26px 0 14px; display: flex; align-items: center; gap: 10px; }
.al-section::after { content: ''; flex: 1; height: 1px; background: rgba(212,175,123,0.2); }
.al-timeline { list-style: none; margin: 0; padding: 0 0 0 18px; position: relative; }
.al-timeline::before { content: ''; position: absolute; left: 4px; top: 6px; bottom: 6px; width: 1px; background: linear-gradient(180deg, rgba(212,175,123,0.6), rgba(212,175,123,0.08)); }
.al-event { position: relative; padding: 6px 10px 12px; margin-left: -10px; border-radius: 10px; transition: background 300ms ease, box-shadow 300ms ease; }
.al-dot { position: absolute; left: -9px; top: 12px; width: 9px; height: 9px; border-radius: 50%; background: #12110e; border: 1px solid #cbb07c; transition: all 300ms ease; }
.al-event.is-turning .al-dot { background: #cbb07c; }
.al-event.is-work .al-dot { border-radius: 2px; transform: rotate(45deg); }
.al-year { font-family: 'Barlow Condensed', Impact, sans-serif; font-size: 15px; font-weight: 600; letter-spacing: 0.02em; color: #ffcf7a; display: flex; align-items: baseline; gap: 8px; }
.al-year em { font-family: inherit; font-style: normal; font-size: 9px; letter-spacing: 0.16em; text-transform: uppercase; color: rgba(242,235,223,0.35); font-weight: 400; }
.al-title { font-size: 13px; font-weight: 600; color: #fff7e8; margin-top: 2px; line-height: 1.4; }
.al-detail { font-size: 11.5px; line-height: 1.6; color: rgba(242,235,223,0.58); margin-top: 3px; }
.al-event.is-hit { background: rgba(255,207,122,0.09); box-shadow: inset 0 0 0 1px rgba(255,207,122,0.4); }
.al-event.is-hit .al-dot { background: #ffcf7a; border-color: #ffcf7a; box-shadow: 0 0 0 5px rgba(255,207,122,0.18), 0 0 16px rgba(255,207,122,0.7); }
.al-event.is-hit .al-detail { color: rgba(246,239,226,0.85); }
.al-works { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.al-work { border: 1px solid rgba(212,175,123,0.16); border-radius: 12px; padding: 10px 12px; background: rgba(255,255,255,0.025); transition: all 300ms ease; }
.al-work-title { font-family: Georgia, serif; font-style: italic; font-size: 13px; color: #fff7e8; }
.al-work-year { font-size: 10px; color: #cbb07c; margin-top: 2px; letter-spacing: 0.04em; }
.al-work-note { font-size: 11px; line-height: 1.55; color: rgba(242,235,223,0.55); margin-top: 4px; }
.al-work.is-hit { border-color: rgba(255,207,122,0.6); background: rgba(255,207,122,0.08); }
.is-pulse { animation: alPulse 1.2s ease; }
@keyframes alPulse { 0% { box-shadow: inset 0 0 0 1px rgba(255,207,122,0.9), 0 0 0 0 rgba(255,207,122,0.4); } 60% { box-shadow: inset 0 0 0 1px rgba(255,207,122,0.5), 0 0 0 10px rgba(255,207,122,0); } }
@keyframes alIn { from { opacity: 0; transform: translateY(-4px); } }

/* 1:1 chat: three columns (portrait · chat · life). */
.person-chat.has-life { grid-template-columns: minmax(220px, 300px) minmax(0, 1fr) minmax(280px, 360px); }
.person-chat .advisor-life { border-left: 1px solid rgba(255,255,255,0.08); background: rgba(255,255,255,0.02); }
.person-message-bubble .al-ref { color: #ffcf7a; border-bottom: 1px dashed rgba(255,207,122,0.5); cursor: pointer; }

/* Card back: talk 1:1 button. */
.card-chat-btn { align-self: flex-start; margin-top: 4px; border: 1px solid var(--poster-color, #1c38ff); background: var(--poster-color, #1c38ff); color: #fff; border-radius: 99px; padding: 8px 14px; font: inherit; font-size: 0.66rem; letter-spacing: 0.12em; text-transform: uppercase; cursor: pointer; position: relative; z-index: 4; pointer-events: auto; }
.card-chat-btn:hover { filter: brightness(1.12); }
.poster-chat-btn { position: absolute; left: 50%; bottom: 14px; transform: translateX(-50%); z-index: 6; border: 1px solid rgba(255,255,255,0.6); background: rgba(10,10,10,0.55); backdrop-filter: blur(6px); color: #fff; border-radius: 99px; padding: 7px 14px; font: inherit; font-size: 0.6rem; letter-spacing: 0.14em; text-transform: uppercase; cursor: pointer; opacity: 0; transition: opacity 200ms ease; white-space: nowrap; }
.card:hover .poster-chat-btn, .card.is-active .poster-chat-btn { opacity: 1; }
/* v10: 1:1 lives on the front only, always visible at the foot of the card */
.poster-chat-btn { opacity: 1; bottom: 14px; left: 16px; transform: none; padding: 6px 14px; line-height: 1.2; font-size: 0.62rem; background: rgba(20,16,12,0.72); border-color: rgba(212,175,123,0.7); color: #f6ead6; }
.poster-chat-btn:hover { background: rgba(212,175,123,0.92); color: #1a140e; }
.card.is-flipped .poster-chat-btn { pointer-events: none; }

/* Roundtable: seat management + life panel. */
.roundtable-view.has-life { grid-template-columns: minmax(0, 1fr) minmax(280px, 360px); column-gap: clamp(18px, 3vw, 40px); padding-right: 0; }
.roundtable-view.has-life > :not(.roundtable-life) { grid-column: 1; }
.roundtable-life { grid-column: 2; grid-row: 1 / -1; min-height: 0; display: grid; grid-template-rows: auto 1fr; border-left: 1px solid rgba(255,255,255,0.08); background: rgba(10,9,7,0.6); margin-top: calc(-1 * max(22px, env(safe-area-inset-top))); margin-bottom: calc(-1 * max(18px, env(safe-area-inset-bottom))); }
.roundtable-life-tabs { display: flex; gap: 6px; padding: 18px 20px 12px; overflow-x: auto; border-bottom: 1px solid rgba(255,255,255,0.06); scrollbar-width: none; }
.roundtable-life-tab { flex: none; border: 1px solid rgba(212,175,123,0.25); background: transparent; color: rgba(242,235,223,0.7); border-radius: 99px; padding: 5px 11px; font: inherit; font-size: 10px; letter-spacing: 0.04em; cursor: pointer; }
.roundtable-life-tab.is-active { background: #d4af7b; border-color: #d4af7b; color: #15130f; }
.roundtable-speaker { position: relative; }
.roundtable-seat-kick { position: absolute; top: -4px; right: 2px; z-index: 3; width: 22px; height: 22px; border-radius: 50%; border: 1px solid rgba(255,255,255,0.25); background: rgba(14,12,10,0.9); color: rgba(255,255,255,0.75); font-size: 12px; line-height: 1; cursor: pointer; opacity: 0; transition: opacity 160ms ease; display: grid; place-items: center; }
.roundtable-speaker:hover .roundtable-seat-kick, .roundtable-seat-kick:focus-visible { opacity: 1; }
.roundtable-seat-kick:hover { border-color: #ff8a7a; color: #ff8a7a; }
.roundtable-speaker-life { border: 0; background: none; padding: 0; cursor: pointer; color: inherit; font: inherit; }
.roundtable-speaker.is-life .roundtable-speaker-name { color: #ffcf7a; }
.roundtable-invite { align-self: center; width: clamp(60px, 8vw, 84px); aspect-ratio: 1; border-radius: 50%; border: 1px dashed rgba(212,175,123,0.55); background: rgba(212,175,123,0.05); color: #d4af7b; font: inherit; font-size: 10px; letter-spacing: 0.1em; cursor: pointer; display: grid; place-items: center; text-transform: uppercase; line-height: 1.3; }
.roundtable-invite b { display: block; font-size: 22px; font-weight: 300; line-height: 1; }
.roundtable-invite:hover { background: rgba(212,175,123,0.14); }
.roundtable-invite[disabled] { opacity: 0.35; cursor: not-allowed; }
.rt-picker[hidden] { display: none; }
.rt-picker { position: fixed; inset: 0; z-index: 60; display: grid; place-items: center; background: rgba(5,4,3,0.7); backdrop-filter: blur(6px); }
.rt-picker-panel { width: min(560px, 92vw); max-height: 76vh; display: grid; grid-template-rows: auto auto 1fr; gap: 12px; padding: 22px; border-radius: 20px; background: #12110e; border: 1px solid rgba(212,175,123,0.3); color: #f2ebdf; }
.rt-picker-head { display: flex; justify-content: space-between; align-items: center; }
.rt-picker-title { font-family: 'Barlow Condensed', Impact, sans-serif; font-size: 26px; font-weight: 700; }
.rt-picker-close { width: 30px; height: 30px; border-radius: 50%; border: 1px solid rgba(212,175,123,0.5); background: none; color: #eee; cursor: pointer; }
.rt-picker-search { width: 100%; padding: 10px 14px; border-radius: 12px; border: 1px solid rgba(255,255,255,0.12); background: rgba(255,255,255,0.05); color: #fff; font: inherit; font-size: 13px; outline: none; }
.rt-picker-search:focus { border-color: rgba(212,175,123,0.6); }
.rt-picker-list { overflow-y: auto; display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 8px; scrollbar-width: thin; }
.rt-pick { display: flex; gap: 10px; align-items: center; text-align: left; padding: 8px; border-radius: 12px; border: 1px solid rgba(255,255,255,0.08); background: rgba(255,255,255,0.03); color: inherit; font: inherit; cursor: pointer; }
.rt-pick:hover { border-color: rgba(212,175,123,0.6); background: rgba(212,175,123,0.08); }
.rt-pick img { width: 36px; height: 36px; border-radius: 50%; object-fit: cover; object-position: top; background: #2a2620; flex: none; }
.rt-pick span { font-size: 12px; line-height: 1.3; }
.rt-pick small { display: block; font-size: 9.5px; color: rgba(242,235,223,0.45); margin-top: 2px; }
.rt-picker-hint { font-size: 11px; color: rgba(242,235,223,0.5); }

@media (max-width: 1100px) {
  .person-chat.has-life { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto minmax(0, 1fr) minmax(0, 34vh); }
  .person-chat.has-life .person-chat-side { display: none; }
  .person-chat .advisor-life { border-left: 0; border-top: 1px solid rgba(255,255,255,0.08); }
  .roundtable-view.has-life { grid-template-columns: minmax(0, 1fr); padding-right: clamp(18px, 4vw, 54px); }
  .roundtable-view.has-life .roundtable-life { display: none; }
}

/* v11: quieter life panel — year | title rows, details only when mentioned or hovered. */
.advisor-life { padding: 30px 26px 48px; }
.al-head { padding-bottom: 22px; border-bottom: 1px solid rgba(212,175,123,0.14); }
.al-name { font-family: Georgia, 'Times New Roman', serif; font-weight: 400; font-size: 24px; line-height: 1.15; margin: 0; color: #f6efe2; letter-spacing: -0.005em; }
.al-meta { font-size: 10px; letter-spacing: 0.14em; color: rgba(242,235,223,0.4); margin-top: 8px; }
.al-quote { margin: 16px 0 0; padding: 0; border: 0; font-family: Georgia, serif; font-style: italic; font-size: 13px; line-height: 1.65; color: rgba(242,235,223,0.62); }
.al-kicker, .al-tagline, .al-dot { display: none; }
.al-section { margin: 26px 0 8px; font-size: 9.5px; letter-spacing: 0.24em; color: rgba(212,175,123,0.7); display: block; }
.al-section::after { display: none; }
.al-timeline { padding: 0; }
.al-timeline::before { display: none; }
.al-event { display: grid; grid-template-columns: 52px 1fr; gap: 14px; align-items: baseline; margin: 0; padding: 10px 0; border-radius: 0; border-top: 1px solid rgba(255,255,255,0.05); background: none; box-shadow: none; transition: color 400ms ease; }
.al-event:first-child { border-top: 0; }
.al-year { display: block; font-family: inherit; font-size: 11px; font-weight: 400; letter-spacing: 0.04em; color: rgba(212,175,123,0.75); font-variant-numeric: tabular-nums; }
.al-title { font-size: 12.5px; font-weight: 400; color: rgba(246,239,226,0.82); margin: 0; line-height: 1.5; }
.al-detail { max-height: 0; overflow: hidden; opacity: 0; margin: 0; font-size: 11.5px; line-height: 1.6; color: rgba(242,235,223,0.5); transition: max-height 500ms ease, opacity 400ms ease, margin 400ms ease; }
.al-event:hover .al-detail, .al-event.is-hit .al-detail { max-height: 120px; opacity: 1; margin-top: 4px; }
.al-event.is-turning .al-title { color: #f6efe2; }
.al-event.is-hit { background: none; box-shadow: none; }
.al-event.is-hit .al-year { color: #ffcf7a; }
.al-event.is-hit .al-title { color: #fff7e8; }
.al-event.is-hit .al-detail { color: rgba(246,239,226,0.72); }
.al-works { display: block; }
.al-work { display: grid; grid-template-columns: 1fr auto; gap: 4px 12px; padding: 9px 0; border: 0; border-top: 1px solid rgba(255,255,255,0.05); border-radius: 0; background: none; }
.al-work:first-child { border-top: 0; }
.al-work-title { font-family: Georgia, serif; font-style: italic; font-size: 12.5px; color: rgba(246,239,226,0.82); }
.al-work-year { font-size: 10.5px; color: rgba(212,175,123,0.6); margin: 0; font-variant-numeric: tabular-nums; }
.al-work-note { grid-column: 1 / -1; max-height: 0; overflow: hidden; opacity: 0; margin: 0; font-size: 11px; color: rgba(242,235,223,0.5); transition: max-height 500ms ease, opacity 400ms ease; }
.al-work:hover .al-work-note, .al-work.is-hit .al-work-note { max-height: 80px; opacity: 1; }
.al-work.is-hit { background: none; border-color: rgba(255,255,255,0.05); }
.al-work.is-hit .al-work-title { color: #ffcf7a; }
.is-pulse { animation: alGlow 1.6s ease; }
@keyframes alGlow { 0% { opacity: 0.4; } 100% { opacity: 1; } }
.al-mention { position: sticky; top: -30px; margin: 0 -26px; padding: 10px 26px; background: rgba(14,12,9,0.94); border: 0; border-bottom: 1px solid rgba(212,175,123,0.12); font-size: 11.5px; color: rgba(246,239,226,0.8); display: block; animation: alIn 500ms ease; }
.al-mention span { font-size: 9px; letter-spacing: 0.22em; text-transform: uppercase; color: rgba(212,175,123,0.8); margin-right: 8px; }
.al-mention i { font-style: normal; color: rgba(212,175,123,0.5); margin: 0 7px; }
.roundtable-life-tabs { gap: 18px; padding: 20px 26px 0; border-bottom: 1px solid rgba(255,255,255,0.06); }
.roundtable-life-tab { border: 0; border-bottom: 1px solid transparent; border-radius: 0; padding: 0 0 10px; background: none; font-size: 11px; color: rgba(242,235,223,0.45); transition: color 300ms ease, border-color 300ms ease; }
.roundtable-life-tab:hover { color: rgba(242,235,223,0.8); }
.roundtable-life-tab.is-active { background: none; color: #f6efe2; border-color: #d4af7b; }

/* v12: one thin line from top to bottom; nothing else. */
.advisor-life { padding: 44px 30px 56px 34px; }
.al-head, .al-mention, .al-section { display: none !important; }
.al-timeline { position: relative; list-style: none; margin: 0; padding: 0 0 0 22px; }
.al-timeline::before { display: block; content: ''; position: absolute; left: 0; top: 6px; bottom: 6px; width: 1px; background: linear-gradient(180deg, rgba(212,175,123,0.45), rgba(212,175,123,0.12)); }
.al-event { display: block; position: relative; padding: 0 0 26px; border: 0; }
.al-event:last-child { padding-bottom: 0; }
.al-event::before { content: ''; position: absolute; left: -24.5px; top: 5px; width: 4px; height: 4px; border-radius: 50%; background: #12100d; box-shadow: 0 0 0 1px rgba(212,175,123,0.55); transition: background 500ms ease, box-shadow 500ms ease; }
.al-year { display: block; font-size: 10.5px; letter-spacing: 0.08em; color: rgba(212,175,123,0.6); }
.al-title { margin-top: 4px; font-size: 12.5px; line-height: 1.55; color: rgba(242,235,223,0.68); transition: color 500ms ease; }
.al-event.is-turning .al-title { color: rgba(242,235,223,0.68); }
.al-detail { font-size: 11.5px; color: rgba(242,235,223,0.42); }
.al-event:hover .al-title { color: rgba(246,239,226,0.9); }
.al-event.is-hit::before { background: #e8c48a; box-shadow: 0 0 0 1px #e8c48a; }
.al-event.is-hit .al-year { color: #e8c48a; }
.al-event.is-hit .al-title { color: #f6efe2; }
.is-pulse { animation: none; }
.al-works { display: block; list-style: none; margin: 40px 0 0 22px; padding: 0; }
.al-work { display: block; padding: 0; border: 0; font-family: Georgia, serif; font-style: italic; font-size: 12px; line-height: 2; color: rgba(242,235,223,0.42); transition: color 500ms ease; }
.al-work.is-hit { color: #e8c48a; }
