.tv-community { --community-line: #d8e1e6; --community-muted: #566773; }
.community-hero { position: relative; isolation: isolate; overflow: hidden; padding: 120px 0 64px; background: #102b3b; color: #fff; }
.community-hero-art { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
.community-hero-with-art::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, #071c2aeb, #071c2aa0 48%, #071c2a20); }
.tv-community .community-hero h1 { max-width: 800px; font-size: clamp(38px, 5vw, 66px); font-weight: 500; letter-spacing: -.035em; line-height: 1.08; }
.community-channel-label { display: flex; align-items: center; gap: 12px; font-size: 14px; color: #d7e8f1; margin: 0 0 20px; }
.community-channel-label img { flex-shrink: 0; }
.community-intro { font-size: 20px; margin: 24px 0 28px; max-width: 540px; }
.community-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.community-overview { display: grid; grid-template-columns: 1fr 1fr; gap: 88px; align-items: start; }
.tv-community h2 { font-size: clamp(28px, 3vw, 42px); font-weight: 550; line-height: 1.15; letter-spacing: -.025em; }
.tv-community h3 { font-size: 21px; font-weight: 600; line-height: 1.3; }
.community-kicker { margin: 0 0 18px; font-size: 13px; color: var(--community-muted); }
.tv-community .community-body { color: var(--community-muted); font-size: 17px; line-height: 1.7; margin: 22px 0 28px; }
.community-facts article { display: flex; gap: 22px; padding: 26px 0; border-top: 1px solid var(--community-line); }
.community-facts article:first-child { padding-top: 0; border-top: 0; }
.community-facts article > span { color: #617580; font-size: 13px; padding-top: 5px; }
.community-facts p, .community-note p { font-size: 16px; color: var(--community-muted); margin: 10px 0 0; }
.community-note { border-left: 2px solid #9eb6c5; padding: 4px 0 4px 28px; }
.community-note p + p { margin-top: 18px; }
.event-heading { padding: 112px 0 38px; background: #eef3f5; border-bottom: 1px solid var(--community-line); }
.event-heading .tv-back { color: #36566b; margin-bottom: 20px; }
.tv-community .event-heading h1 { color: #102235; font-size: clamp(36px, 4vw, 52px); font-weight: 500; letter-spacing: -.035em; }
.event-heading p { color: var(--community-muted); font-size: 18px; margin-bottom: 0; }
.event-layout { display: grid; grid-template-columns: minmax(0, 760px) minmax(230px, 1fr); gap: 64px; padding-top: 40px; padding-bottom: 72px; align-items: start; }
.event-required { font-size: 13px; color: var(--community-muted); margin: 0 0 32px; }
.event-section { border: 0; padding: 0 0 36px; margin: 0 0 32px; border-bottom: 1px solid var(--community-line); min-width: 0; }
.event-section legend { display: block; width: 100%; padding: 0 0 24px; font-size: 23px; font-weight: 550; color: #102235; letter-spacing: -.02em; }
.event-section legend > span { display: inline-block; margin-right: 15px; color: #67808c; font-size: 13px; font-weight: 400; vertical-align: middle; }
.event-fields { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 22px 20px; }
.event-wide { grid-column: 1 / -1; }
.event-field { min-width: 0; }
.event-field label, .event-upload > label { display: block; color: #203544; font-size: 14px; font-weight: 600; margin: 0 0 9px; }
.event-field input, .event-field textarea { display: block; width: 100%; max-width: 100%; min-height: 46px; border: 1px solid #9db0bb; border-radius: 6px; padding: 11px 12px; color: #172635; background: #fff; font: inherit; font-size: 16px; line-height: 1.4; box-shadow: none; }
.event-field textarea { resize: vertical; }
.event-field input:focus-visible, .event-field textarea:focus-visible, .tv-community button:focus-visible, .tv-community input:focus-visible { outline: 3px solid #2781a9; outline-offset: 3px; }
.event-field input[aria-invalid=true], .event-field textarea[aria-invalid=true] { border-color: #a82f2f; }
.event-hint, .event-field .event-hint { display: block; color: var(--community-muted); font-size: 13px; line-height: 1.6; margin: 0 0 14px; }
.event-field small.event-hint { margin: 8px 0 0; }
.event-upload { border: 1px dashed #98acb9; border-radius: 8px; padding: 24px; background: #f7f9fa; }
.event-upload p { color: var(--community-muted); font-size: 13px; margin: 0 0 18px; }
.event-upload input { width: 100%; font: inherit; font-size: 13px; color: #334d60; }
.event-upload input::file-selector-button { background: #fff; border: 1px solid #8ca5b5; border-radius: 5px; padding: 10px 16px; color: #17374c; font: inherit; margin-right: 14px; cursor: pointer; }
.event-upload + .event-hint { margin-top: 12px; }
#event-files { list-style: none; margin: 0; padding: 0; }
#event-files li { display: flex; align-items: center; gap: 12px; justify-content: space-between; margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--community-line); font-size: 13px; }
#event-files li span { overflow-wrap: anywhere; }
#event-files button { flex-shrink: 0; background: transparent; border: 0; padding: 10px 0 10px 12px; color: #7e2929; font: inherit; text-decoration: underline; cursor: pointer; }
.event-option { display: flex; gap: 13px; align-items: start; padding: 18px 0; cursor: pointer; color: #233b49; font-size: 14px; line-height: 1.6; }
.event-option input { width: 19px; height: 19px; flex: 0 0 19px; margin: 2px 0 0; accent-color: #173b50; }
.event-option strong { display: block; font-size: 15px; font-weight: 600; }
.event-option small { display: block; font-size: 13px; line-height: 1.65; color: var(--community-muted); margin-top: 4px; }
.event-base-placement { border-left: 3px solid #447186; background: #f1f5f7; padding: 18px 22px; margin: 24px 0 6px; font-size: 14px; }
.event-base-placement p { margin: 5px 0 0; font-size: 13px; color: var(--community-muted); }
.event-permissions { margin-top: 20px; }
.event-permissions .event-field { margin-top: 16px; }
.event-production-notes { margin-top: 8px; }
.event-summary { background: #f1f5f7; padding: 28px; border-top: 3px solid #365d73; border-radius: 0 0 8px 8px; position: sticky; top: 100px; }
.tv-community .event-summary h2 { font-size: 23px; font-weight: 550; letter-spacing: -.02em; }
.event-summary dl { margin: 28px 0; }
.event-summary dt { font-size: 12px; color: var(--community-muted); margin: 20px 0 7px; }
.event-summary dd { font-size: 14px; line-height: 1.6; margin: 0; }
.event-summary p:not(.community-kicker), .event-submit p { color: var(--community-muted); font-size: 13px; line-height: 1.65; }
.event-submit .tv-button, .event-success .tv-button { cursor: pointer; font-family: inherit; }
.event-submit .tv-button:disabled { background: #687c8a; cursor: wait; }
.event-submit progress { display: block; width: 100%; height: 12px; margin-top: 20px; accent-color: #28556c; }
[data-error]:not(:empty) { display: block; font-size: 13px; color: #9a2424; margin-top: 8px; line-height: 1.5; }
.event-alert { background: #fff3ef; border: 1px solid #ce8e78; border-radius: 6px; padding: 18px; margin-bottom: 24px; color: #803621; font-size: 15px; line-height: 1.6; }
.event-alert a { color: inherit; text-decoration: underline; }
.event-success { background: #f2f7f4; border-top: 3px solid #4e7860; padding: 30px; }
.event-success p { font-size: 16px; overflow-wrap: anywhere; }
.event-success .community-actions { margin-top: 26px; }
.tv-site .event-secondary { background: transparent; border-color: #a2b7ae; color: #173f2c; }
.event-trap { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.tv-community [hidden] { display: none !important; }
.tv-community-card { border-top: 1px solid #d8e1ea; padding-top: 28px; }
@media (max-width: 950px) {
  .event-layout { grid-template-columns: minmax(0, 1fr); gap: 32px; max-width: 760px; }
  .event-summary { position: static; }
  .community-overview { gap: 36px; }
}
@media (max-width: 650px) {
  .community-hero-with-art::after { background: rgba(7,28,42,.72); }
  .community-hero { padding: 104px 0 46px; }
  .community-overview { grid-template-columns: 1fr; gap: 38px; }
  .community-intro { font-size: 18px; }
  .community-actions .tv-button { min-width: 0; flex: 1 1 auto; }
  .event-heading { padding: 102px 0 30px; }
  .event-heading p { font-size: 16px; }
  .event-layout { padding-top: 28px; }
  .event-fields { grid-template-columns: minmax(0, 1fr); }
  .event-upload { padding: 18px; }
  .event-section legend { font-size: 21px; }
  .event-submit .tv-button { width: 100%; }
  .event-success { padding: 22px; }
}
