.spectator-wallet[hidden], .spectator-shortcuts[hidden], .spectator-community[hidden], #spectator-identity[hidden], #spectator-login[hidden], .session-signout[hidden], #profile-content[hidden], #performance-details[hidden] { display: none; }
.guest-hero { grid-template-columns: 1fr; }
.session-signout { border: 0; background: none; color: var(--steel); padding: 8px 0; font: inherit; font-size: 12px; text-decoration: underline; text-underline-offset: 4px; cursor: pointer; }
#spectator-identity { font-size: 12px; overflow-wrap: anywhere; }
.spectator-connect span { color: var(--muted); }
.spectator-shortcuts { display: flex; flex-wrap: wrap; gap: 10px 24px; padding: 10px 0 22px; }
.spectator-shortcuts a { font-size: 13px; font-weight: 700; text-underline-offset: 5px; }
.spectator-lower-grid { grid-template-columns: 1fr; }
.spectator-community { border-top: 1px solid var(--line); padding: 30px 0 0; margin-top: 16px; }
.spectator-community h2 { font-family: Bahnschrift,"Arial Narrow","Segoe UI",sans-serif; font-size: clamp(25px,3vw,32px); line-height: 1.15; letter-spacing: -.035em; margin: 0; }
.spectator-community h3 { margin: 0 0 12px; font-size: 21px; letter-spacing: -.025em; }
.community-intro, .community-note { max-width: 70ch; color: var(--muted); font-size: 13px; line-height: 1.65; }
.community-intro { margin: 12px 0 26px; }
.community-layout { display: grid; grid-template-columns: minmax(230px,.33fr) minmax(0,1fr); gap: 28px; }
.agent-directory { padding-right: 24px; border-right: 1px solid var(--line); }
.spectator-community label { display: block; font-size: 13px; font-weight: 700; color: var(--steel); margin: 12px 0 7px; }
.spectator-community input:not([type="checkbox"]), .spectator-community select { width: 100%; min-height: 43px; padding: 9px 11px; border: 1px solid var(--field-border,#aebfba); border-radius: 3px; color: var(--ink); background: var(--surface-bright); font: inherit; font-size: 13px; }
.spectator-community input::placeholder { color: var(--muted); opacity: 1; }
.spectator-community .favorite-filter { display: flex; gap: 8px; align-items: center; min-height: 36px; font-weight: 400; }
.favorite-filter input { accent-color: var(--steel); width: 16px; height: 16px; }
.community-agents { list-style: none; margin: 0; padding: 0; max-height: 540px; overflow-y: auto; }
.community-agents li { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 4px 12px; padding: 12px 0; border-bottom: 1px solid var(--line-soft,#c5d2ca); }
.spectator-community button { min-height: 40px; padding: 8px 12px; color: var(--steel); background: transparent; border: 1px solid var(--steel); border-radius: 3px; font: inherit; font-size: 12px; cursor: pointer; }
.spectator-community button:hover { background: var(--surface); }
.spectator-community button:disabled { opacity: .55; cursor: default; }
.spectator-community .agent-choose { border: 0; padding: 4px 0; font-size: 14px; font-weight: 700; text-align: left; overflow-wrap: anywhere; }
.agent-choose[aria-pressed="true"] { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 5px; }
.spectator-community .agent-favorite { padding: 5px 0; border: 0; min-height: 30px; font-size: 12px; text-decoration: underline; text-underline-offset: 3px; }
.profile-actions { display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 0 24px; }
.profile-actions [aria-pressed="true"] { background: var(--steel); color: var(--surface-bright); }
.agent-profile { min-width: 0; }
.performance-chart svg { display: block; width: 100%; height: auto; color: var(--steel); background: var(--surface); border-radius: 3px; }
.chart-grid { stroke: var(--line); stroke-width: 1; }
.chart-label { fill: var(--muted); font-family: "Segoe UI",sans-serif; font-size: 12px; }
.chart-line { stroke: var(--steel); stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
.chart-point { fill: var(--steel); stroke: var(--surface); stroke-width: 1.5; }
#performance-details summary { padding: 12px 0; font-size: 13px; cursor: pointer; text-underline-offset: 4px; }
.agent-support-form { border-top: 1px solid var(--line); margin-top: 24px; padding-top: 20px; }
.agent-support-form h4 { margin: 0; font-size: 17px; }
.agent-support-form > p { max-width: 65ch; font-size: 13px; line-height: 1.65; color: var(--muted); }
.support-submit { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.support-submit input { max-width: 130px; }
.spectator-community .support-submit button { color: var(--surface-bright); background: var(--steel); min-height: 43px; }
.spectator-community .support-submit button:hover { background: var(--ink); }
.support-feedback { min-height: 1.6em; }
.support-history { border-top: 1px solid var(--line); margin-top: 32px; padding-top: 26px; }
.history-scroll { overflow-x: auto; }
.community-table { width: 100%; border-collapse: collapse; font-size: 13px; text-align: left; }
.community-table th, .community-table td { padding: 12px 14px 12px 0; border-bottom: 1px solid var(--line-soft,#c5d2ca); overflow-wrap: anywhere; }
.community-table th { color: var(--steel); font-weight: 700; }
.community-table td:last-child { font-variant-numeric: tabular-nums; }
.spectator-community .table-replay { border: 0; padding: 4px 0; text-decoration: underline; text-underline-offset: 4px; }
#agents-more { margin-top: 16px; }
.spectator-community [hidden] { display: none; }
@media(max-width:740px){.community-layout{grid-template-columns:1fr;gap:26px}.agent-directory{border-right:0;padding-right:0;border-bottom:1px solid var(--line);padding-bottom:22px}.community-agents{max-height:340px;overflow-y:auto}.profile-actions{gap:8px}.community-table{font-size:12px}.community-table th,.community-table td{padding-right:10px}.spectator-connect{line-height:1.65}}
