/* Fan Feed uses a compact, shared visual system for feeds and fan profiles. */
.community { --ct-ink: #142b3d; --ct-muted: #576773; --ct-line: #dce3e8; --ct-surface: #fff; --ct-soft: #f2f5f7; --ct-green: #326b28; --ct-radius: 16px; font-family: var(--font-body); font-size: 16px; line-height: 1.5; color: var(--ct-ink); }
.community *, .community *::before, .community *::after { box-sizing: border-box; }
.community [hidden] { display: none !important; }
.community a { color: var(--ct-ink); text-underline-offset: 4px; }
.community button, .community input, .community textarea, .community select { font: inherit; }
.community button { cursor: pointer; }
.community button:disabled { cursor: not-allowed; opacity: .55; }
.community :focus-visible { outline: 3px solid var(--color-focus-ring); outline-offset: 3px; }
.community h1, .community h2, .community h3, .community p { margin: 0; }
.community h1, .community h2, .community h3, .community h4 { font-family: var(--font-body); text-transform: none; letter-spacing: -.025em; font-weight: 750; line-height: 1.25; }
.community-topline { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: .6rem 0 1.4rem; }
.community-wordmark { font-weight: 850; letter-spacing: .1em; font-size: .9rem; text-decoration: none; }
.community-wordmark span { font-weight: 500; letter-spacing: 0; color: var(--ct-muted); }
.community-beta { padding: .35rem .6rem; border: 1px solid var(--ct-line); border-radius: 4px; font-size: .8125rem; font-weight: 800; letter-spacing: .12em; }
.community-hero { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 1.25rem; background: var(--navy-900); color: white; padding: clamp(1.1rem, 2.5vw, 1.65rem); border-radius: 10px; overflow: hidden; border-bottom: 5px solid var(--action-green); }
.community-eyebrow { font-size: .8125rem; font-weight: 650; letter-spacing: .02em; line-height: 1.5; color: var(--ct-muted); }
.community-hero .community-eyebrow { color: #c5d2db; margin-bottom: .55rem; }
.community .community-hero h1 { color: white; font-family: var(--font-display); font-size: clamp(1.8rem, 3.5vw, 2.6rem); line-height: 1.1; letter-spacing: -.025em; font-weight: 900; }
.community-hero h1 em { color: var(--action-green); font-style: normal; }
.community-deck { max-width: 620px; font-size: .85rem; color: #d3dde4; line-height: 1.6; margin-top: .65rem !important; }
.community-hero > .community-hero-actions { margin-top: 0; }
.community-hero > .community-hero-actions .community-btn { min-height: 38px; padding: .55rem .8rem; }
.community-hero-actions { display: flex; gap: .75rem; margin-top: 1.6rem; flex-wrap: wrap; }
.community-btn { display: inline-flex; align-items: center; justify-content: center; gap: .9rem; min-height: 44px; border: 1px solid transparent; border-radius: 10px; padding: .7rem 1rem; font-weight: 650; font-size: .875rem; text-decoration: none !important; line-height: 1.35; }
.community-btn-accent { background: var(--action-green); color: var(--navy-950); }
.community-btn-light { border-color: #718696; background: transparent; color: white; }
.community-btn-dark, .community a.community-btn-dark { background: var(--navy-900); color: white; }
.community-btn-outline { background: white; border-color: #a6b4bc; color: var(--navy-900); }
.community-btn-danger { background: #a43838; color: white; }
.community-notice { padding: .85rem 1rem; background: #e9eef0; border-left: 3px solid var(--pacific-blue); margin: 1.2rem 0; border-radius: 3px; font-size: .83rem; line-height: 1.55; }
.community-notice[data-tone="error"] { border-color: #a43838; background: #fff0ef; }
.community-notice[data-tone="success"] { border-color: #c60c30; background: #edf5e7; }
.community-account-bar { display: flex; align-items: center; justify-content: space-between; gap: 1rem; font-size: .8125rem; padding: 1rem 0; border-bottom: 1px solid var(--ct-line); }
.community-account-bar > div { display: flex; gap: 1rem; flex-wrap: wrap; }
.community-grid { display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: 24px; margin-top: 24px; align-items: start; }
.community-section-heading { display: flex; justify-content: space-between; gap: 1rem; align-items: center; margin-bottom: 1.2rem; }
.community-section-heading h2 { font-size: 1.25rem; line-height: 1.2; letter-spacing: -.025em; margin-top: .2rem; }
.community-section-heading > a { font-size: .8125rem; }
.community-feed-hint { font-size: .8125rem; color: var(--ct-muted); line-height: 1.5; padding: .8rem 0 1.2rem; }
.community-feed { display: flex; flex-direction: column; gap: 20px; min-width: 0; }
.community-card { background: #fff; border: 1px solid var(--ct-line); border-radius: 8px; overflow: hidden; box-shadow: 0 3px 10px #071a2e04; }
.community-card-header { display: flex; align-items: center; gap: 12px; padding: 16px 20px; }
.community-avatar { width: 42px; height: 42px; border-radius: 50%; background: #e6edf0; color: var(--navy-900); display: inline-flex; align-items: center; justify-content: center; font-size: .85rem; font-weight: 800; flex-shrink: 0; overflow: hidden; }
.community-avatar img { width: 100%; height: 100%; object-fit: cover; }
.community-author-meta { min-width: 0; flex: 1; }
.community-author-meta a { font-size: .9375rem; font-weight: 700; text-decoration: none; overflow-wrap: anywhere; }
.community-card time { display: block; font-size: .8125rem; color: var(--ct-muted); margin-top: .15rem; }
.community-kind { font-size: .8125rem; font-weight: 750; padding: .4rem .6rem; background: #eef3f5; border-radius: 4px; line-height: 1.3; text-align: center; max-width: 130px; }
.community-card-photo { width: 100%; max-height: 520px; display: block; object-fit: contain; background: #e6edf0; }
.community-card-body { padding: 4px 20px 20px; }
.community-card-detail { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; margin-bottom: .7rem; }
.community-card-detail h3 { font-size: 1.08rem; letter-spacing: -.01em; overflow-wrap: anywhere; }
.community-card-price { font-weight: 850; font-size: 1.2rem; white-space: nowrap; }
.community-rating { color: #936300; font-size: .86rem; letter-spacing: .06em; margin-bottom: .65rem !important; }
.community-rating small { color: var(--ct-muted); letter-spacing: 0; margin-left: .4rem; }
.community-card-notes { white-space: pre-wrap; overflow-wrap: anywhere; font-size: 1rem; line-height: 1.6; }
.community-card-tags { display: flex; gap: .5rem; flex-wrap: wrap; margin-top: .8rem; font-size: .8125rem; }
.community-card-tags a { color: #225c83; }
.community-post-status { display: inline-block; padding: .35rem .65rem; background: #fff2d6; color: #6c4c0a; font-size: .8125rem; font-weight: 750; margin-bottom: .7rem; border-radius: 4px; }
.community-post-status[data-status="rejected"] { background: #fff0ef; color: #9c3333; }
.community-card-actions { display: flex; align-items: center; flex-wrap: wrap; gap: .5rem; padding: .8rem 1.2rem; border-top: 1px solid #e8edf0; }
.community-card-actions button, .community-card-actions a { font-size: .8125rem; padding: .5rem .6rem; min-height: 35px; border: 0; background: transparent; border-radius: 4px; font-weight: 650; color: var(--ct-muted); text-decoration: none; }
.community-card-actions .community-helpful { margin-right: auto; color: var(--navy-900); border: 1px solid var(--ct-line); }
.community-card-actions .community-helpful[aria-pressed="true"] { color: #225d11; background: #edf5e7; border-color: #a0bf90; }
.community-sidebar-card { background: var(--ct-surface); border: 1px solid var(--ct-line); border-radius: var(--ct-radius); padding: 20px; margin-bottom: 16px; }
.community-sidebar h2 { font-size: 1.2rem; letter-spacing: -.015em; margin-top: .35rem; }
.community-points-card > p { font-size: .8125rem; color: var(--ct-muted); line-height: 1.6; margin-top: .4rem; }
.community-text-btn { border: 0; padding: 0; background: transparent; font-weight: 750; font-size: .8125rem; color: var(--ct-ink); text-decoration: underline; text-underline-offset: 3px; }
.community-points-card { background: #f2f7ee; border-color: #d9e5d3; }
.community-points-card h2 { font-size: 1.65rem; }
.community .community-small { font-size: .8125rem; line-height: 1.6; }
.community-points-card .community-small { border-top: 1px solid #cad9bd; padding-top: .8rem; margin-top: .85rem; }
.community-ground-rules { padding: .8rem .25rem; }
.community-ground-rules h2 { font-size: .85rem; }
.community-ground-rules p { font-size: .8125rem; line-height: 1.7; color: var(--ct-muted); margin: .5rem 0; }
.community-ground-rules a { font-size: .8125rem; font-weight: 750; }
.community-empty { padding: 3.5rem 1.5rem; text-align: center; border: 1px dashed #bfcbd2; border-radius: 8px; background: #fff9; }
.community-empty-symbol { font-size: 2.8rem; color: #5e7889; line-height: 1; }
.community-empty h3 { margin: .85rem 0 .5rem; font-size: 1.3rem; }
.community-empty p { color: var(--ct-muted); font-size: .84rem; line-height: 1.7; max-width: 400px; margin: auto; }
.community-empty .community-btn { margin-top: 1.2rem; }
.community-load-more { display: flex; margin: 1.5rem auto 0; }
.community-profile { background: var(--ct-surface); border: 1px solid var(--ct-line); border-radius: var(--ct-radius); margin-top: 24px; overflow: hidden; }
.community-profile > .community-avatar { width: 80px; height: 80px; font-size: 1.7rem; }
.community-profile h2 { font-size: 1.5rem; overflow-wrap: anywhere; }
.community-profile p { margin-top: .6rem; font-size: 1rem; white-space: pre-wrap; overflow-wrap: anywhere; line-height: 1.6; }
.community-profile-links { display: flex; flex-wrap: wrap; gap: 1rem; font-size: .8125rem; margin-top: .8rem; }
.community-dialog { border: 1px solid var(--ct-line); border-radius: var(--ct-radius); padding: 24px; width: min(600px, calc(100vw - 2rem)); max-height: calc(100dvh - 3rem); overflow-y: auto; color: var(--ct-ink); background: white; box-shadow: 0 25px 80px #071a2e55; }
.community-dialog::backdrop { background: #071a2ebc; backdrop-filter: blur(3px); }
.community-dialog-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; margin-bottom: 1rem; }
.community-dialog-header h2 { font-size: 1.6rem; line-height: 1.2; margin-top: .2rem; }
.community-close { border: 1px solid var(--ct-line); background: white; font-size: 1.5rem; border-radius: 4px; width: 34px; height: 34px; flex-shrink: 0; line-height: 1; }
.community-form-intro { font-size: .8rem; line-height: 1.65; color: var(--ct-muted); margin-bottom: 1.2rem !important; }
.community-dialog label, .community-compose-form label { display: flex; flex-direction: column; font-size: .8rem; font-weight: 750; margin: 1rem 0 0; gap: .4rem; }
.community-dialog input:not([type="checkbox"]):not([type="radio"]):not([type="range"]), .community-dialog textarea, .community-dialog select, .community-compose-form input:not([type="checkbox"]):not([type="radio"]):not([type="range"]), .community-compose-form textarea, .community-compose-form select { display: block; width: 100%; padding: .7rem .8rem; border: 1px solid #aebdc6; border-radius: 5px; font-size: 1rem; background: #fff; color: var(--ct-ink); }
.community-dialog textarea, .community-compose-form textarea { resize: vertical; }
.community-dialog input[type="file"], .community-compose-form input[type="file"] { font-size: .8125rem; }
.community-field-hint { font-size: .8125rem; color: var(--ct-muted); font-weight: 400; line-height: 1.5; }
.community-dialog .community-check, .community-compose-form .community-check { flex-direction: row; align-items: flex-start; gap: .7rem; font-weight: 400; line-height: 1.6; }
.community-check input { margin-top: .2rem; width: 17px; height: 17px; flex-shrink: 0; accent-color: var(--navy-900); }
.community-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.community-form-row > [hidden] + [hidden] { margin: 0; }
.community-form-footer { display: flex; justify-content: flex-end; gap: .7rem; border-top: 1px solid var(--ct-line); padding-top: 1.2rem; margin-top: 1.3rem; }
.community-form-error { color: #922d2d; background: #fff0ef; border-radius: 4px; padding: .7rem; margin-top: 1rem !important; font-size: .8rem; line-height: 1.5; }
.community-upload-preview { width: 100%; max-height: 220px; object-fit: contain; border-radius: 5px; background: #e8edf0; margin-top: .7rem; }
.community-dialog fieldset { border: 1px solid var(--ct-line); border-radius: 5px; margin: 1.4rem 0; padding: .3rem 1rem 1rem; }
.community-dialog legend { padding: 0 .4rem; font-size: .8rem; font-weight: 750; }
.community-tag-results { background: #f0f4f6; border-radius: 4px; font-size: .8125rem; }
.community-tag-results button { background: transparent; border: 0; padding: .7rem; text-align: left; width: 100%; color: var(--ct-ink); }
.community-tag-results button:hover { background: #dee8ef; }
.community-tag-results > p { padding: .7rem; }
.community-selected-tags { display: flex; gap: .4rem; flex-wrap: wrap; margin-top: .5rem; }
.community-selected-tags button { border: 1px solid #b8c9d3; background: #edf3f7; color: var(--ct-ink); font-size: .8125rem; padding: .4rem .6rem; border-radius: 4px; }
.community-share-actions { display: flex; gap: .7rem; flex-wrap: wrap; margin: 1.3rem 0; }
.community-share-dialog p { font-size: .85rem; line-height: 1.65; }
.community-instagram { background: #f1f4f5; border-radius: 5px; padding: 1rem; margin-top: 1.5rem; }
.community-instagram h3 { font-size: .95rem; margin-bottom: .5rem; }
.community-instagram .community-share-actions { margin-bottom: 0; }
.community-profile-account-tools { display: flex; justify-content: space-between; gap: 1rem; padding-top: 1.5rem; }
.community .community-danger { color: #a43838; }
@media (max-width: 1050px) { .community-grid { grid-template-columns: minmax(0,1fr) 245px; gap: 1.3rem; } .community-sidebar-card { padding: 1.1rem; } }
@media (max-width: 760px) { .community-hero { grid-template-columns: 1fr; } .community-grid { grid-template-columns: 1fr; } .community-sidebar { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; } .community-sidebar-card { margin: 0; } .community-account-bar { align-items: flex-start; flex-direction: column; } }
@media (max-width: 480px) { .community-wordmark { font-size: .8125rem; } .community-beta { font-size: .8125rem; } .community-hero { padding: 1.15rem; gap: .9rem; } .community-hero h1 { font-size: 1.9rem !important; } .community-grid { margin-top: 1.8rem; } .community-sidebar { display: block; } .community-sidebar-card { margin-bottom: 1rem; } .community-card-header { padding: .85rem; } .community-card-body { padding: .9rem; } .community-card-actions { padding: .7rem .6rem; } .community-kind { max-width: 95px; font-size: .8125rem; } .community-dialog { padding: 1.25rem; width: calc(100vw - 1rem); } .community-dialog-header h2 { font-size: 1.35rem; } .community-profile { padding: 1.1rem; gap: .85rem; } .community-profile > .community-avatar { width: 52px; height: 52px; } .community-profile h2 { font-size: 1.2rem; } }
/* Dedicated fan profile: private planning stays separate from public contributions. */
.community-profile-hero { padding: 1.8rem 0 1.2rem; border-top: 4px solid var(--action-green); }
.community-profile-hero h1 { font-size: clamp(1.8rem,3.8vw,2.8rem); letter-spacing: -.025em; line-height: 1.15; margin: .35rem 0 .7rem; }
.community-profile-hero > p:last-of-type { font-size: .9rem; color: var(--ct-muted); line-height: 1.6; }
.community-profile-hero .community-hero-actions { margin-top: 1.1rem; }
.community-profile-navigation { margin-top: 1.4rem; }
.community-profile-navigation > p { padding: .8rem 1rem; border-left: 3px solid var(--pacific-blue); background: #eaf0f3; }
.community-profile-tabs { display: flex; gap: 4px; flex-wrap: nowrap; overflow-x: auto; margin-top: 20px; padding: 0; border-bottom: 1px solid var(--ct-line); }
.community-profile-tabs button { flex: 0 0 auto; min-height: 48px; padding: 12px 18px; background: transparent; border: 0; border-bottom: 3px solid transparent; border-radius: 8px 8px 0 0; font-size: .9375rem; color: var(--ct-muted); font-weight: 650; white-space: nowrap; }
.community-profile-tabs button[aria-pressed="true"] { background: #edf2f5; color: var(--ct-ink); border-bottom-color: var(--ct-ink); }
.community-profile-tabs button span { display: block; margin-top: .2rem; font-size: .8125rem; text-transform: uppercase; letter-spacing: .06em; opacity: .75; }
.community-profile-panel { border: 1px solid var(--ct-line); border-radius: var(--ct-radius); background: white; padding: clamp(1.2rem,3vw,2rem); margin-top: 1.5rem; }
.community-profile-panel > h2 { font-size: 1.5rem; margin: .3rem 0 .8rem; letter-spacing: -.02em; }
.community-profile-panel > p:not(.community-eyebrow) { font-size: .85rem; line-height: 1.6; color: var(--ct-muted); max-width: 600px; }
.community-settings-form { max-width: 630px; margin-top: 1.4rem; }
.community-settings-form label { display: flex; flex-direction: column; gap: .45rem; font-size: .8rem; font-weight: 750; margin: 1rem 0; }
.community-settings-form input, .community-settings-form select, .community-settings-form textarea { width: 100%; padding: .75rem .8rem; border: 1px solid #aebdc6; border-radius: 5px; background: white; color: var(--ct-ink); font: inherit; font-size: .85rem; }
.community-settings-form textarea { resize: vertical; }
.community-profile-panel-actions { display: flex; flex-wrap: wrap; gap: .7rem; margin-top: 1.2rem; }
.community-form-feedback { font-size: .8rem; margin-top: 1rem !important; min-height: 1.5em; line-height: 1.6; }
.community-form-feedback[data-tone="error"] { color: #a43838; }
.community-form-feedback[data-tone="success"] { color: #286819; }
.community-account-danger-zone { border-top: 1px solid var(--ct-line); padding-top: 1.5rem; margin-top: 2rem; }
.community-account-danger-zone h3 { font-size: 1rem; }
.community-account-danger-zone p { font-size: .8rem; line-height: 1.6; color: var(--ct-muted); margin: .5rem 0 .9rem; }
.community-player-card { display: flex; gap: 1.1rem; align-items: center; padding: 1.5rem; border: 1px solid var(--ct-line); border-radius: 6px; background: #eef3f5; margin-top: 1.3rem; }
.community-player-number { display: grid; place-items: center; width: 80px; height: 90px; flex-shrink: 0; background: var(--navy-900); color: var(--action-green); font-size: 2rem; font-weight: 900; border-radius: 5px; }
.community-player-card h3 { font-size: 1.5rem; margin: .3rem 0; }
.community-player-card p { font-size: .8rem; line-height: 1.6; }
.community-player-card a { display: inline-block; font-size: .8rem; font-weight: 750; margin-top: .7rem; }
@media(max-width:480px) { .community-profile-tabs button { padding: 12px 16px; } .community-profile-panel > h2 { font-size: 1.5rem; } .community-player-card { padding: 1rem; gap: .8rem; } .community-player-card h3 { font-size: 1.2rem; } .community-player-number { width: 56px; height: 70px; font-size: 1.5rem; } }
.community-welcome-dialog { max-width: 510px; }
.community-welcome-note { margin-top: 1.1rem !important; color: var(--ct-muted); }
.community-welcome-dialog .community-profile-account-tools { border-top: 1px solid var(--ct-line); margin-top: 1.2rem; padding-top: 1rem; }


/* Inline tip composer shares the existing submission form and validation. */
.community-sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.community-composer { min-width: 0; padding: 1rem; margin-bottom: 1.5rem; background: white; border: 1px solid var(--ct-line); border-radius: 8px; }
.community-composer[data-expanded="true"] { border-color: #a6b4bc; }
.community-composer .community-compose-notes { margin: 0; }
.community-composer textarea[name="notes"] { min-height: 52px; line-height: 1.6; padding: .8rem 1rem; background: #f5f7f8; }
.community-composer textarea[name="notes"]::placeholder { color: var(--ct-muted); opacity: 1; }
.community-composer[data-expanded="false"] textarea[name="notes"] { resize: none; }
.community-composer[data-expanded="true"] .community-compose-input-row { margin-top: 1rem; }
.community-composer #community-compose-type label { margin-top: 0; }
.community .community-compose-details { min-width: 0; border: 0; padding: 0; margin: 0; }
.community-compose-details .community-form-intro { margin: 1rem 0 0 !important; }
.community-compose-form input[type="file"] { min-width: 0; }
@media (max-width: 480px) { .community-composer { padding: .85rem; } .community-composer .community-form-row { grid-template-columns: 1fr; gap: 0; } .community-composer .community-form-footer { flex-wrap: wrap; } }

.community .community-type-options { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .65rem; min-width: 0; padding: 0; margin: 0; border: 0; }
.community-compose-form .community-type-option { position: relative; margin: 0; cursor: pointer; }
.community-type-tile { display: flex; flex: 1; flex-direction: column; align-items: center; justify-content: center; gap: .45rem; min-height: 88px; padding: .7rem .35rem; border: 1px solid var(--ct-line); border-radius: 6px; background: #f5f7f8; color: var(--ct-ink); text-align: center; font-size: .8125rem; line-height: 1.3; }
.community-type-tile svg { width: 30px; height: 30px; flex-shrink: 0; }
.community-type-option:hover .community-type-tile { border-color: var(--ct-ink); }
.community-type-option input:checked + .community-type-tile { border-color: var(--ct-ink); background: #eaf0e4; box-shadow: inset 0 0 0 1px var(--ct-ink); }
.community-type-option input:focus-visible + .community-type-tile { outline: 3px solid var(--color-focus-ring); outline-offset: 3px; }
@media (max-width: 480px) { .community .community-type-options { gap: .4rem; } .community-type-tile { font-size: .8125rem; } }

.community-compose-input-row { display: flex; align-items: flex-start; gap: .75rem; }
.community-composer .community-compose-notes { flex: 1; min-width: 0; }
.community-compose-avatar { flex-shrink: 0; padding-top: .25rem; }
.community-compose-avatar .community-avatar { width: 44px; height: 44px; font-size: .95rem; }
.community-author-line { display: flex; align-items: baseline; flex-wrap: wrap; gap: .25rem .5rem; }
.community-author-line > a { min-width: 0; }
.community-author-points { color: var(--ct-muted); font-size: .8125rem; font-weight: 650; white-space: nowrap; }
@media (max-width: 480px) { .community-compose-input-row { gap: .5rem; } .community-compose-avatar .community-avatar { width: 36px; height: 36px; font-size: .85rem; } .community-composer[data-expanded="false"] textarea:not([readonly]) { min-height: 5.9rem; } }

/* Photo and location controls stay within the shared inline/dialog composer. */
.community-post-box { flex: 1; min-width: 0; position: relative; border: 1px solid #aebdc6; border-radius: 7px; background: #f5f7f8; overflow: hidden; }
.community-compose-form .community-post-box .community-compose-notes { margin: 0; }
.community-compose-form .community-post-box textarea[name="notes"] { border: 0; border-radius: 0; background: transparent; padding-bottom: .3rem; }
.community-post-box:focus-within { outline: 2px solid var(--color-focus-ring, #345b82); outline-offset: 2px; }
.community-photo-toolbar { display: flex; align-items: center; justify-content: flex-end; gap: .5rem; min-height: 42px; padding: 0 .4rem .25rem .8rem; }
.community-photo-toolbar > span { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.community-camera-button { display: grid; place-items: center; width: 42px; height: 42px; border: 0; border-radius: 6px; background: transparent; color: var(--ct-ink); cursor: pointer; flex-shrink: 0; }
.community-camera-button:hover { background: #e2e9ec; }
.community-camera-button:focus-visible { outline: 2px solid var(--ct-ink); outline-offset: -2px; }
.community-camera-button svg { width: 25px; height: 25px; }
.community-compose-form input[type="file"][hidden] { display: none; }
.community-photo-help { margin-top: .6rem !important; }
.community-seat-stadium, .community-game-tag { display: block; color: var(--ct-muted); font-size: .8125rem; line-height: 1.55; margin-top: .65rem !important; }
.community-energy-control { padding: .8rem 1rem 1rem; margin-top: 1rem; border: 1px solid var(--ct-line); border-radius: 7px; background: #f5f8f3; }
.community-compose-form .community-energy-control label { flex-direction: row; justify-content: space-between; flex-wrap: wrap; margin: 0 0 .65rem; gap: .35rem; }
.community-energy-control output { font-weight: 650; }
.community-compose-form input[type="range"] { --energy-fill: 50%; appearance: none; -webkit-appearance: none; width: 100%; min-height: 0; height: 12px; margin: 1rem 0; padding: 0; border: 0 !important; border-radius: 99px !important; background: linear-gradient(to right, var(--action-green, #c60c30) var(--energy-fill), #d9e1d6 var(--energy-fill)); cursor: pointer; }
.community-compose-form input[type="range"]::-webkit-slider-thumb { appearance: none; -webkit-appearance: none; width: 26px; height: 26px; border: 3px solid white; border-radius: 50%; background: var(--navy-900); box-shadow: 0 1px 5px #172a3a55; }
.community-compose-form input[type="range"]::-moz-range-thumb { width: 20px; height: 20px; border: 3px solid white; border-radius: 50%; background: var(--navy-900); box-shadow: 0 1px 5px #172a3a55; }
.community-compose-form input[type="range"]:focus-visible { outline: 3px solid var(--color-focus-ring, #345b82); outline-offset: 6px; }
.community-energy-scale { display: flex; justify-content: space-between; gap: 1rem; color: var(--ct-muted); font-size: .8125rem; }
.community-fan-energy { display: flex; align-items: center; flex-wrap: wrap; gap: .65rem; font-size: .8125rem; font-weight: 750; margin: .8rem 0; }
.community-energy-meter { width: 120px; height: 15px; accent-color: var(--action-green, #c60c30); }
.community-energy-meter::-webkit-meter-bar { background: #dce5d7; border: 0; border-radius: 8px; }
.community-energy-meter::-webkit-meter-optimum-value { background: var(--action-green, #c60c30); }
.community-energy-meter::-moz-meter-bar { background: var(--action-green, #c60c30); }
.community-official-bar { display: inline-block; margin: .6rem 0 0 !important; padding: .3rem .5rem; border-radius: 4px; background: #edf3e7; font-size: .8125rem; color: var(--ct-ink); font-weight: 750; }
.community-place-picker { margin-top: .75rem; padding: .75rem; border: 1px solid var(--ct-line); border-radius: 5px; background: #fff; }
.community-place-picker gmp-place-autocomplete { display: block; width: 100%; }
#community-place-search > button, #community-remove-photo { margin-top: .5rem; }
#community-place-feedback { margin-top: .5rem; }
.community-map-link { display: block; font-size: .8125rem; margin-top: .4rem; }
@media(max-width:480px) { .community-form-row { grid-template-columns: 1fr; gap: 0; } .community-energy-control { padding: .8rem; } .community-dialog .community-compose-input-row { min-width: 0; } }
/* Fan Feed: comfortable mobile cards, compact actions, and vertical fan-photo reels. */
#fan-community { max-width: 1120px; margin-inline: auto; }
#fan-community .community-grid { grid-template-columns: minmax(0, 740px) minmax(240px, 1fr); gap: 24px; margin-top: 24px; }
#fan-community[data-view="profile"] .community-grid { grid-template-columns: minmax(0,1fr); max-width: 800px; margin-inline: auto; }
#fan-community[data-view="feed"] .community-feed-area { min-width: 0; }
#fan-community[data-view="feed"] .community-hero { border-radius: 18px; }
.community-feed-tabs { display: flex; gap: 4px; margin: 0 0 20px; overflow-x: auto; padding: 0; border-bottom: 1px solid var(--ct-line); }
.community-feed-tabs button { flex: 0 0 auto; white-space: nowrap; border: 0; border-bottom: 3px solid transparent; border-radius: 8px 8px 0 0; min-height: 48px; padding: 12px 16px; background: transparent; color: var(--ct-muted); font-size: .9375rem; font-weight: 650; }
.community-feed-tabs button[aria-pressed="true"] { background: #edf2f5; color: var(--ct-ink); border-bottom-color: var(--ct-ink); }
.community-card { border-radius: var(--ct-radius); box-shadow: 0 2px 8px #142b3d05; overflow: visible; }
.community-card[data-post-type="discussion"] .community-card-notes { font-size: 1rem; }
.community-card[data-post-type="discussion"] .community-card-body { padding-top: .3rem; }
.community-card[data-post-type="discussion"] .community-card-detail { display: none; }
.community-card-actions { justify-content: flex-end; padding-block: 4px; }
.community-card-actions button { min-height: 40px; }
.community .community-type-options { grid-template-columns: repeat(4,minmax(0,1fr)); }
.community-composer { border-radius: 16px; }
.community-reaction-counts { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 8px 16px; font-size: .8125rem; color: var(--ct-muted); }
.community-reaction-counts > span { display: inline-flex; align-items: center; gap: 5px; }
.community-foam-finger { width: 22px; height: 25px; display: inline-block; flex-shrink: 0; vertical-align: middle; color: currentColor; }
.community-reaction-counts .community-foam-finger { width: 16px; height: 19px; color: var(--navy-900); }
.community-reaction-bar { display: grid; grid-template-columns: minmax(124px,1fr) repeat(2,minmax(0,1fr)); border-top: 1px solid var(--ct-line); gap: 4px; padding: 6px 12px; }
.community-reaction-bar button, .community-reaction-toggle { min-height: 44px; border: 0; background: transparent; color: var(--ct-muted); font-size: .875rem; font-weight: 650; border-radius: 8px; padding: 8px 10px; }
.community-reaction-picker { position: relative; display: flex; align-items: flex-start; min-width: 0; }
.community-reaction-toggle { display: flex; flex: 1; align-items: center; justify-content: center; gap: 7px; cursor: pointer; touch-action: pan-y; user-select: none; -webkit-user-select: none; -webkit-touch-callout: none; }
.community-reaction-bar .community-reaction-menu-toggle { flex: 0 0 44px; min-width: 44px; padding-inline: 8px; }
.community-reaction-toggle[data-reaction="like"], .community-reaction-toggle[data-reaction="helpful"] { background: #edf5e7; color: #28551b; }
.community-reaction-bar button:hover, .community-reaction-toggle:hover { background: #eef2f5; }
.community-reaction-options { position: absolute; z-index: 5; bottom: calc(100% + 6px); left: 0; display: flex; justify-content: center; gap: 4px; width: max-content; max-width: calc(100vw - 48px); padding: 6px; background: #f0f3f5; border: 1px solid var(--ct-line); border-radius: 12px; box-shadow: 0 4px 18px #071a2e24; }
.community-reaction-options button { display: flex; align-items: center; gap: 6px; padding: 6px 10px; }
.community-reaction-options button[aria-pressed="true"] { background: white; color: #28551b; }
.community-reaction-options button[data-press-hover="true"] { background: #dbe9d4; outline: 2px solid #497937; outline-offset: -2px; }
.community-helpful-icon { font-size: 1.4rem; line-height: 1; }
.community-comment-panel { padding: 0 16px 16px; border-top: 1px solid #e8edf0; }
.community-comment-list { display: flex; flex-direction: column; gap: 10px; padding-top: 12px; }
.community-comment { padding: 12px 14px; background: var(--ct-soft); border-radius: 12px; }
.community-comment-heading { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.community-comment-heading > a { font-size: .8125rem; font-weight: 800; text-decoration: none; }
.community-comment-heading time { font-size: .8125rem; color: var(--ct-muted); }
.community-comment-avatar { width: 26px; height: 26px; object-fit: cover; border-radius: 50%; }
.community-comment .community-comment-body { font-size: 1rem; line-height: 1.55; white-space: pre-wrap; overflow-wrap: anywhere; margin-top: 6px; }
.community-comment-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 6px; }
.community-comment-actions button, .community-comment-report button { display: inline-flex; align-items: center; gap: 4px; border: 0; background: transparent; font-size: .8125rem; font-weight: 750; color: var(--ct-muted); min-height: 36px; }
.community-comment-actions button[aria-pressed="true"] { color: #28551b; }
.community-comment-actions .community-foam-finger { width: 15px; height: 18px; }
.community-comment-form, .community-comment-report { margin-top: 14px; }
.community-comment-form label, .community-comment-report label { display: block; font-size: .8125rem; font-weight: 750; }
.community-comment-form textarea, .community-comment-report textarea, .community-player-search input { display: block; width: 100%; border: 1px solid #bcc8d0; border-radius: 12px; background: white; color: var(--ct-ink); font-size: 16px; padding: 10px 12px; margin-top: 6px; resize: vertical; }
.community-comment-form .community-field-hint { margin-block: 6px; }
.community-comment-feedback { margin-top: 8px !important; }
.community-editorial-avatar { background: var(--navy-900); color: white; }
.community-author-meta > strong { font-size: .9375rem; font-weight: 700; }
.community-editorial-title { font-size: 1.375rem; letter-spacing: -.025em; line-height: 1.25; margin-bottom: 10px !important; }
.community-editorial-title a { text-decoration: none; }
.community-game-stats { display: grid; grid-template-columns: repeat(auto-fit,minmax(120px,1fr)); gap: 8px; margin: 16px 0; }
.community-game-stats > div { border: 1px solid #dfe6eb; background: #f5f7f9; padding: 12px 10px; border-radius: 10px; }
.community-game-stats dt { font-size: .8125rem; color: var(--ct-muted); line-height: 1.35; }
.community-game-stats dd { font-weight: 850; font-size: 1.15rem; margin: 5px 0 0; overflow-wrap: anywhere; }
.community .community-injury-status { border-left: 3px solid #bc8120; background: #fff9eb; font-size: .8125rem; line-height: 1.55; padding: 10px 12px; margin-block: 12px; }
.community-read-more { margin-top: 12px; padding: 12px 0; border-block: 1px solid #e8edf0; }
.community-read-more > summary { cursor: pointer; font-size: .82rem; font-weight: 800; }
.community-editorial-reading { max-height: 420px; overflow-y: auto; scrollbar-gutter: stable; }
.community-editorial-reading > p { margin-top: 12px; font-size: 1rem; line-height: 1.75; overflow-wrap: anywhere; white-space: pre-wrap; }
.community-player-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.community-player-chip { display: inline-flex; align-items: center; border: 1px solid var(--ct-line); background: #f5f7f9; border-radius: 18px; overflow: hidden; max-width: 100%; }
.community-player-chip > a { display: inline-block; padding: 7px 2px 7px 12px; text-decoration: none; font-size: .8125rem; font-weight: 750; overflow-wrap: anywhere; }
.community-favorite-player { width: 40px; min-height: 40px; border: 0; background: transparent; color: var(--ct-muted); font-size: 1.3rem !important; flex-shrink: 0; }
.community-favorite-player[aria-pressed="true"] { color: #8b6110; }
.community-article-link { display: inline-block; font-size: .8125rem; font-weight: 750; margin-top: 14px; padding-block: 4px; }
.community-follow-card > p:not(.community-eyebrow) { font-size: .8125rem; line-height: 1.6; margin-block: 10px; color: var(--ct-muted); }
.community-player-search { display: block; font-size: .8125rem; font-weight: 750; }
.community-follow-players { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.community-reel-section { min-width: 0; background: #edf2f5; border: 1px solid var(--ct-line); padding: 14px; border-radius: 16px; }
.community-reel-heading { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 2px 2px 14px; }
.community-reel-heading h3 { font-size: 1rem; }
.community-reel-heading > span { font-size: .8125rem; color: var(--ct-muted); white-space: nowrap; }
.community-reel-scroll { height: min(620px,78svh); min-height: 380px; overflow-y: auto; scroll-snap-type: y proximity; scrollbar-gutter: stable; padding: 2px; }
.community-reel-scroll > .community-card { scroll-snap-align: start; margin-bottom: 14px; }
.community-reel-scroll .community-card-photo { max-height: 310px; object-fit: cover; aspect-ratio: 4 / 3; }
.community-comment-moderation { margin-top: 24px; }
.community-comment-moderation > h3 { margin-block: 12px; }
@media (max-width: 760px) {
  #fan-community .community-grid { grid-template-columns: minmax(0,1fr); }
  .community-reaction-bar { padding-inline: 6px; }
  .community-feed-tabs { gap: 5px; }
  .community-feed-tabs button { font-size: .875rem; padding-inline: 14px; }
  .community-reel-section { padding: 10px; }
  .community-game-stats { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (max-width: 480px) {
  .community .community-type-options { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .community-comment-panel { padding-inline: 10px; }
  .community-reaction-counts { padding-inline: 12px; font-size: .8125rem; }
  .community-editorial-title { font-size: 1.2rem; }
  .community-reel-scroll { min-height: 320px; }
}
@media (prefers-reduced-motion: reduce) { .community-reel-scroll { scroll-snap-type: none; scroll-behavior: auto; } }

/* Seat View keeps the photo at the center of editing and review. */
.community-seat-resume { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 16px; border: 1px solid #c5d0d8; border-radius: 12px; background: #f2f5f8; color: var(--ct-ink); padding: 18px; font-size: .9rem; font-weight: 750; text-align: left; }
.community-seat-workflow { min-width: 0; margin-top: 18px; }
.community-seat-step-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 12px; font-size: .8125rem; font-weight: 800; color: var(--ct-muted); }
.community-seat-step-heading > :last-child { letter-spacing: .12em; font-size: .8125rem; }
.community-seat-upload { display: grid; place-items: center; min-height: 340px; border-radius: 16px; background: radial-gradient(ellipse at 50% 10%, #263d4e, #111d28 75%); color: #fff; padding: 32px 20px; text-align: center; }
.community-seat-upload button { width: 100%; display: flex; align-items: center; flex-direction: column; gap: 16px; border: 1px dashed #738795; border-radius: 12px; background: #ffffff06; color: inherit; padding: 38px 15px; }
.community-seat-upload button:hover { background: #ffffff10; }
.community-seat-upload svg { width: 46px; height: 46px; }
.community-seat-upload strong { font-size: 1.3rem; letter-spacing: -.02em; }
.community-seat-upload button > span { font-size: .82rem; border-radius: 20px; background: #fff; color: #152332; padding: 10px 18px; font-weight: 750; }
.community .community-seat-upload > p { font-size: .8125rem; color: #bccbd7; margin-top: 18px; }
.community-seat-photo-stage { position: relative; isolation: isolate; display: grid; place-items: center; height: clamp(420px, 72vw, 550px); overflow: hidden; background: #101820; border: 1px solid #243746; border-radius: 16px; }
.community-seat-editor-image { width: 100%; height: 100%; min-height: 0; object-fit: contain; }
.community-seat-overlay-tools { position: absolute; z-index: 2; top: 12px; left: 12px; right: 12px; display: grid; grid-template-columns: repeat(5,minmax(0,1fr)); gap: 5px; padding: 5px; border: 1px solid #ffffff35; border-radius: 13px; background: #101820ee; box-shadow: 0 4px 16px #0004; }
.community-seat-overlay-tools button { display: flex; align-items: center; justify-content: center; flex-direction: column; gap: 3px; min-width: 0; min-height: 56px; border: 0; border-radius: 8px; color: #fff; background: transparent; font-size: .8125rem; font-weight: 750; padding: 6px 2px; }
.community-seat-overlay-tools button > svg { width: 23px; height: 23px; flex-shrink: 0; }
.community-seat-overlay-tools button:hover, .community-seat-overlay-tools button[aria-expanded="true"] { background: #fff; color: #122230; }
.community-seat-photo-labels { position: absolute; left: 16px; right: 16px; bottom: 18px; display: flex; flex-wrap: wrap; align-items: flex-start; gap: 6px; pointer-events: none; }
.community-seat-photo-labels > span { display: inline-block; max-width: 100%; padding: 7px 11px; border-radius: 8px; background: #0a152be6; color: #fff; font-size: .8125rem; font-weight: 700; line-height: 1.45; overflow-wrap: anywhere; }
.community-seat-overlay-panel { position: absolute; z-index: 3; left: 12px; right: 12px; bottom: 12px; max-height: calc(100% - 100px); overflow-y: auto; overscroll-behavior: contain; scrollbar-gutter: stable; border: 1px solid #5b6b79; border-radius: 13px; box-shadow: 0 10px 30px #0007; background: #142331fa; color: #fff; padding: 16px; }
.community-seat-panel-heading { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.community-seat-panel-heading h3 { margin: 0; font-size: 1rem; color: #fff; letter-spacing: -.01em; }
.community-seat-panel-heading > button { flex-shrink: 0; min-width: 36px; min-height: 36px; font-size: 1.5rem; line-height: 1; border: 0; border-radius: 50%; background: #ffffff16; color: #fff; }
.community-compose-form .community-seat-overlay-panel label { color: #f5f7fa; margin-top: 10px; font-size: .8125rem; }
.community-seat-overlay-panel .community-field-hint, .community .community-seat-stadium { color: #c4d2de; font-size: .8125rem; margin-top: 10px; }
.community-compose-form .community-seat-overlay-panel input:not([type="range"]), .community-compose-form .community-seat-overlay-panel select { font-size: 16px; min-width: 0; border-radius: 8px; padding: 10px; }
.community-seat-overlay-panel .community-tag-results { margin-top: 5px; max-height: 160px; overflow-y: auto; color: var(--ct-ink); }
.community-seat-overlay-panel .community-selected-tags button { background: #e3edf4; color: #172b3e; }
.community-seat-crop-panel { top: 93px; bottom: 12px; display: flex; flex-direction: column; gap: 8px; padding: 12px; }
#community-seat-crop-canvas { display: block; align-self: center; flex: 1 1 auto; object-fit: contain; width: 100%; height: auto; min-height: 60px; max-height: 225px; background: #080f15; border-radius: 6px; cursor: grab; }
#community-seat-crop-canvas:active { cursor: grabbing; }
#community-seat-crop-canvas:focus-visible { outline: 2px solid #b3e379; outline-offset: 3px; }
.community-seat-crop-controls { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; flex: 0 0 auto; }
.community-compose-form .community-seat-crop-controls label { margin: 0; position: relative; gap: 3px; }
.community-seat-crop-controls output { position: absolute; top: 0; right: 0; color: #ccdda8; font-size: .8125rem; }
.community-compose-form .community-seat-crop-controls input[type="range"] { appearance: auto; accent-color: #9dd674; height: 24px; margin: 7px 0; background: transparent; }
.community-seat-crop-pan, .community-seat-crop-actions { display: flex; justify-content: flex-end; gap: 6px; flex: 0 0 auto; }
.community-seat-crop-pan button, .community-seat-crop-actions button { border: 1px solid #657887; border-radius: 7px; padding: 7px 11px; min-height: 36px; font-size: .8125rem; font-weight: 700; color: #fff; background: #2a3b49; }
.community-seat-crop-pan button { flex: 1; }
.community-seat-crop-pan button:last-child { flex: 1.6; }
.community-seat-crop-actions button:last-child { background: #eef7e5; border-color: #d4e6c4; color: #20341b; }
.community-seat-edit-actions { display: flex; align-items: center; gap: 15px; margin-top: 12px; }
.community-seat-edit-actions .community-btn { margin-left: auto; min-width: 100px; }
.community-seat-edit-actions .community-text-btn { font-size: .8125rem; min-height: 44px; }
.community-seat-edit > .community-field-hint { margin-top: 8px; }
.community-seat-review > img { display: block; width: 100%; max-height: 440px; border-radius: 14px; object-fit: contain; background: #101820; }
.community-seat-review dl { margin: 18px 0; display: grid; gap: 8px; }
.community-seat-review dl > div { display: grid; grid-template-columns: 88px minmax(0,1fr); gap: 10px; font-size: .8rem; line-height: 1.5; }
.community-seat-review dt { color: var(--ct-muted); }
.community-seat-review dd { margin: 0; font-weight: 700; overflow-wrap: anywhere; }
.community-seat-review .community-compose-input-row { margin-top: 0; }
.community-seat-review .community-compose-notes > span { display: block; font-size: .8125rem; padding: 10px 12px 0; }
.community-seat-review .community-compose-notes .community-sr-only { position: static; width: auto; height: auto; clip: auto; overflow: visible; white-space: normal; }
.community-seat-review .community-post-box textarea[name="notes"] { padding-bottom: 12px; }
.community-seat-review > .community-field-hint { margin-top: 12px; line-height: 1.6; }
#community-seat-feedback:empty { display: none; }
#community-seat-feedback { margin-top: 10px; }
@media(max-width:480px) {
  .community-seat-photo-stage { height: 460px; }
  .community-seat-overlay-tools { left: 8px; right: 8px; top: 8px; gap: 2px; }
  .community-seat-overlay-panel { left: 8px; right: 8px; bottom: 8px; padding: 12px; }
  .community-seat-crop-panel { top: 85px; padding: 10px; }
  .community-seat-crop-controls { gap: 10px; }
  .community-seat-crop-pan button { padding-inline: 8px; }
  .community-seat-edit-actions { gap: 10px; }
  .community-seat-edit-actions .community-btn { min-width: 76px; }
}

/* Shared navigation and identity, with private tools kept secondary. */
.lr-paper:has(#fan-community) { background: #f4f6f8; padding: clamp(16px,3vw,32px); }
.lr-paper:has(#fan-community)::before { display: none; }
.community-page-header { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 4px 0 24px; border-bottom: 1px solid var(--ct-line); }
.community-page-header > div:first-child { min-width: 0; }
.community .community-page-header h1 { font-size: clamp(1.625rem,3vw,2rem); margin-top: 4px; line-height: 1.2; }
.community-page-header .community-page-deck { color: var(--ct-muted); font-size: 1rem; line-height: 1.5; max-width: 560px; margin-top: 8px !important; }
.community-home-link { text-decoration: none; }
.community-page-actions { display: flex; align-items: center; gap: 12px; flex: 0 0 auto; }
.community-account-menu { position: relative; z-index: 12; }
.community-account-menu > summary { display: flex; align-items: center; gap: 10px; list-style: none; min-height: 48px; max-width: 250px; padding: 4px 10px 4px 4px; border: 1px solid var(--ct-line); border-radius: 28px; background: #fff; font-size: .875rem; font-weight: 650; cursor: pointer; }
.community-account-menu > summary::-webkit-details-marker, .community-post-menu > summary::-webkit-details-marker { display: none; }
#community-account-avatar { display: flex; flex: 0 0 auto; }
#community-account-avatar .community-avatar { width: 36px; height: 36px; font-size: .875rem; }
#community-account-label { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.community-account-menu[open] > summary { border-color: #9caeba; background: #edf2f5; }
.community-account-menu-panel { position: absolute; top: calc(100% + 8px); right: 0; min-width: 220px; padding: 6px; border: 1px solid var(--ct-line); border-radius: 12px; background: #fff; box-shadow: 0 12px 32px #142b3d24; }
.community-account-menu-panel a, .community-account-menu-panel button { display: flex; align-items: center; width: 100%; min-height: 44px; padding: 10px 12px; border: 0; border-radius: 8px; background: transparent; color: var(--ct-ink); text-align: left; font-size: .9375rem; text-decoration: none; }
.community-account-menu-panel a:hover, .community-account-menu-panel button:hover { background: var(--ct-soft); }
.community-notice { border-radius: 10px; margin: 16px 0; font-size: .875rem; }
.community-profile-cover { display: block; position: relative; width: 100%; height: clamp(140px,22vw,240px); object-fit: cover; overflow: hidden; background: linear-gradient(120deg,#142b3d,#355465); }
.community-profile-cover > img { display: block; width: 100%; height: 100%; object-fit: cover; }
.community-cover-preview { display: block; width: 100%; max-height: 180px; aspect-ratio: 3 / 1; margin-top: 12px; border-radius: 12px; object-fit: cover; background: var(--ct-soft); }
.community-profile-identity { display: flex; align-items: flex-start; gap: 20px; position: relative; padding: 24px; }
.community-profile-identity > .community-avatar { width: 88px; height: 88px; margin-top: -50px; border: 4px solid white; box-shadow: 0 2px 8px #142b3d14; font-size: 2rem; }
.community-profile-identity > div:not(.community-avatar) { min-width: 0; flex: 1; }
.community-profile .community-profile-identity h2 { font-size: clamp(1.375rem,2.5vw,1.75rem); line-height: 1.25; }
.community-profile-stats { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 18px; margin-top: 12px; font-size: .875rem; color: var(--ct-muted); }
.community-profile-stats strong { color: var(--ct-ink); font-weight: 750; }
.community-profile-stats > div { display: flex; align-items: baseline; gap: 5px; }
.community-profile-stats dd { margin: 0; font-weight: 750; color: var(--ct-ink); }
.community-profile-stats dt { margin: 0; font-size: .8125rem; }
.community-profile-links { align-items: center; gap: 8px 16px; margin-top: 16px; font-size: .875rem; }
.community-profile-links .community-btn { min-height: 40px; padding: 8px 14px; }
.community-profile-tabs { scrollbar-width: thin; scrollbar-color: #b8c7d1 transparent; }
.community-tabs button:hover { background: #e9eff3; color: var(--ct-ink); }
.community-private-tools { display: flex; align-items: center; gap: 16px; margin-top: 12px; padding: 4px 12px; border-radius: 12px; background: #eaf0f3; }
.community-private-label { flex: 0 0 auto; font-size: .8125rem; font-weight: 650; color: var(--ct-muted); }
.community-private-tools .community-profile-tabs { flex: 1; min-width: 0; margin: 0; border: 0; gap: 2px; }
.community-private-tools .community-profile-tabs button { min-height: 44px; padding: 9px 12px; border: 0; border-radius: 8px; font-size: .875rem; }
.community-private-tools .community-profile-tabs button[aria-pressed="true"] { background: white; box-shadow: 0 1px 4px #142b3d0c; }
.community-feed-navigation { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; margin-bottom: 20px; }
.community-feed-navigation .community-feed-tabs { min-width: 0; flex: 1; margin: 0; scrollbar-width: thin; }
.community-manage-favorites { display: inline-flex; align-items: center; min-height: 48px; font-size: .8125rem; line-height: 1.4; text-align: right; font-weight: 650; }
.community-sidebar .community-eyebrow { font-weight: 650; }
.community-sidebar h2 { font-size: 1.125rem; }
.community-points-card h2 { font-size: 1.5rem; }
.community-points-details { margin-top: 12px; }
.community-points-details > summary { cursor: pointer; min-height: 32px; font-size: .875rem; font-weight: 650; }
.community-points-details > p { font-size: .875rem; line-height: 1.6; margin-top: 12px; color: var(--ct-muted); }
.community-points-details > .community-small { padding-top: 12px; border-top: 1px solid #d9e5d3; }
.community-favorites-links { display: flex; flex-wrap: wrap; gap: 4px 24px; margin: 12px 0 20px; }
.community-favorites-links a { display: inline-flex; align-items: center; min-height: 44px; font-size: .875rem; }
.community-favorite-players { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.community-favorite-player-tile { position: relative; min-width: 0; border: 1px solid var(--ct-line); border-radius: 12px; background: var(--ct-soft); }
.community-player-profile { display: flex; align-items: center; gap: 14px; min-height: 148px; padding: 20px 52px 20px 16px; color: var(--ct-ink); text-decoration: none; border-radius: inherit; }
.community-player-profile:hover { background: #e6eef2; }
.community-player-profile .community-player-number { width: 56px; height: 64px; font-size: 1.25rem; }
.community-player-details { min-width: 0; }
.community-player-details h3 { margin: 0 0 6px; font-size: 1rem; line-height: 1.35; overflow-wrap: anywhere; }
.community-player-details p { margin: 0; color: var(--ct-muted); font-size: .8125rem; line-height: 1.5; }
.community-player-profile-link { display: block; margin-top: 12px; font-size: .8125rem; font-weight: 650; }
.community-favorite-player-tile > .community-favorite-player { position: absolute; top: 8px; right: 6px; min-width: 44px; min-height: 44px; border-radius: 50%; font-size: 1.25rem; }
.community-favorites-empty { grid-column: 1 / -1; padding: 24px 0; font-size: 1rem; line-height: 1.6; }
.community-favorites-pagination { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 20px; }
.community-favorites-pagination .community-btn { min-height: 44px; }
.community-favorites-pagination p { margin: 0; text-align: center; }
@media (max-width: 640px) { .community-favorite-players { grid-template-columns: minmax(0, 1fr); } .community-player-profile { min-height: 120px; } .community-favorites-pagination { gap: 8px; } .community-favorites-pagination .community-btn { padding-inline: 12px; } }
.community-follow-card > p:not(.community-eyebrow), .community-points-card > p, .community-ground-rules p { font-size: .875rem; line-height: 1.6; }
.community .community-small, .community-field-hint { font-size: .8125rem; }
.community-profile-panel > p:not(.community-eyebrow), .community-form-intro, .community-settings-form input, .community-settings-form select, .community-settings-form textarea { font-size: 1rem; }
.community-settings-form label, .community-dialog label, .community-compose-form label { font-size: .875rem; }
.community-dialog input:not([type="checkbox"]):not([type="radio"]):not([type="range"]), .community-dialog textarea, .community-dialog select, .community-compose-form input:not([type="checkbox"]):not([type="radio"]):not([type="range"]), .community-compose-form textarea, .community-compose-form select { font-size: 16px; border-radius: 10px; }
.community-composer { padding: 16px; margin-bottom: 24px; }
.community-type-tile { min-height: 76px; border-radius: 12px; font-size: .875rem; font-weight: 650; }
.community-type-option input:checked + .community-type-tile { background: #f0f5ed; border-color: #8fa782; box-shadow: inset 0 0 0 1px #8fa782; }
.community-type-tile svg { width: 26px; height: 26px; }
.community-post-box { border-radius: 12px; border-color: #c5d0d8; }

/* One consistent action row and readable, compact conversation previews. */
.community-kind { font-size: .75rem; padding: 5px 8px; border-radius: 6px; color: var(--ct-muted); background: #f0f3f5; }
.community-author-points, .community-card time { font-size: .8125rem; }
.community-card time { line-height: 1.35; }
.community-card-header .community-author-line { gap: 2px 8px; }
.community-post-menu { position: relative; flex: 0 0 auto; margin-left: auto; }
.community-post-menu > summary { display: grid; place-items: center; min-width: 44px; min-height: 44px; padding: 8px; border-radius: 50%; list-style: none; cursor: pointer; color: var(--ct-muted); font-size: 1.375rem; }
.community-post-menu > summary:hover, .community-post-menu[open] > summary { background: var(--ct-soft); }
.community-post-menu > div { position: absolute; z-index: 8; right: 0; top: calc(100% + 4px); min-width: 170px; max-width: calc(100vw - 48px); padding: 6px; background: white; border: 1px solid var(--ct-line); border-radius: 12px; box-shadow: 0 10px 24px #142b3d20; }
.community-post-menu button { display: flex; align-items: center; min-height: 44px; width: 100%; padding: 10px 12px; border: 0; border-radius: 8px; background: transparent; font-size: .875rem; color: var(--ct-ink); text-align: left; }
.community-post-menu button:hover { background: var(--ct-soft); }
.community-post-menu button[data-destructive="true"], .community-post-menu .community-danger { color: #a43838; }
.community-reaction-counts { font-size: .8125rem; padding: 10px 20px; }
.community-comment-count { margin-left: auto; padding: 5px 0; min-height: 32px; border: 0; background: transparent; color: var(--ct-muted); font-size: .8125rem; text-align: right; }
.community-comment-count:hover { text-decoration: underline; text-underline-offset: 3px; }
.community-share-feedback { padding: 8px 20px 12px; overflow-wrap: anywhere; }
.community-share-feedback input { width: 100%; min-height: 44px; border: 1px solid var(--ct-line); border-radius: 8px; padding: 8px 10px; font-size: 16px; }
.community-reaction-bar > button, .community-reaction-toggle { display: inline-flex; align-items: center; justify-content: center; gap: 7px; white-space: nowrap; min-width: 0; }
.community-reaction-bar .community-reaction-toggle { min-width: 44px; }
.community-share-button svg, .community-reaction-bar > button svg { width: 20px; height: 20px; flex-shrink: 0; }
.community-reaction-options { background: white; box-shadow: 0 6px 22px #142b3d26; }
.community-reaction-options button { min-height: 44px; }
.community-comment-panel { padding: 0 20px 20px; }
.community-comment-heading > a { font-size: .875rem; font-weight: 700; }
.community-comment-heading time { font-size: .8125rem; }
.community-comment-preview { padding: 0 20px 16px; }
.community-comment-preview-list { display: flex; flex-direction: column; padding-top: 10px; gap: 8px; }
.community-comment-preview-item { padding: 10px 12px; }
.community-comment-preview-item .community-comment-body { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; font-size: .9375rem; line-height: 1.5; }
.community-comment-preview-item .community-comment-actions { gap: 12px; margin-top: 2px; }
.community-comment-preview-item .community-comment-actions button { min-height: 32px; }
.community-comments-view-all { min-height: 44px; border: 0; padding: 8px 0; background: transparent; color: var(--ct-muted); font-size: .875rem; font-weight: 650; text-align: left; }
.community-comment-origin { display: inline-block; margin-top: 12px; color: var(--ct-muted) !important; font-size: .875rem; font-weight: 650; }
#fan-discussion, .community-card[id] { scroll-margin-top: 120px; }
.community-game-stats { margin: 8px 0 16px; }
.community-game-stats > div { background: #f4f7f9; border-color: #e2e8ec; padding: 12px; }
.community-game-stats dt { font-size: .8125rem; }
.community-game-stats dd { font-size: 1.125rem; }
.community-card[data-post-type="recap"] .community-game-stats > div:first-child { background: #edf2f5; border-color: #cbd6de; }
.community-more-players { min-height: 40px; padding: 7px 12px; border: 1px solid var(--ct-line); border-radius: 20px; background: white; color: var(--ct-muted); font-size: .8125rem; font-weight: 650; }
.community-reel-heading { padding-bottom: 12px; }
.community-reel-heading button, .community-reel-heading a { min-height: 40px; padding: 8px 10px; border: 0; border-radius: 8px; background: transparent; color: var(--ct-ink); font-size: .875rem; font-weight: 650; }
.community-photo-launch { display: block; width: 100%; padding: 0; border: 0; background: transparent; color: inherit; text-align: left; cursor: zoom-in; }
.community-reel-preview { display: grid; grid-template-columns: minmax(0,1fr) 23%; grid-template-rows: 260px auto; width: 100%; gap: 8px; padding: 0; border: 0; border-radius: 12px; background: transparent; color: var(--ct-ink); text-align: left; overflow: hidden; }
.community-reel-preview img { display: block; width: 100%; height: 100%; object-fit: cover; border-radius: 10px; background: #d9e2e8; }
.community-reel-cover:only-of-type { grid-column: 1 / -1; }
.community-reel-peek { opacity: .88; }
.community-reel-caption { grid-column: 1 / -1; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 4px 16px; padding: 4px 2px 2px; }
.community-reel-caption > strong { font-size: 1rem; font-weight: 650; overflow-wrap: anywhere; }
.community-reel-caption > span { color: var(--ct-muted); font-size: .8125rem; }
.community-feed.community-profile-photo-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 12px; }
.community-profile-photo { display: flex; flex-direction: column; width: 100%; min-width: 0; padding: 0; overflow: hidden; border: 1px solid var(--ct-line); border-radius: 12px; background: white; color: var(--ct-ink); text-align: left; }
.community-profile-photo > img { display: block; width: 100%; aspect-ratio: 1; object-fit: cover; background: #e3eaf0; }
.community-profile-photo > span { display: block; padding: 10px 12px; font-size: .875rem; font-weight: 650; line-height: 1.4; overflow-wrap: anywhere; }

/* The photo viewer owns one vertical scroll area; expanded comments grow a slide. */
.community-photo-viewer { position: fixed; inset: 0; width: 100vw; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; border-radius: 0; background: #0c1822; color: white; overflow: hidden; }
.community-photo-viewer[open] { display: flex; flex-direction: column; }
.community-photo-viewer::backdrop { background: #0c1822; }
.community-photo-viewer-header { display: flex; align-items: center; gap: 16px; flex: 0 0 auto; min-height: 68px; padding: max(12px,env(safe-area-inset-top)) max(20px,env(safe-area-inset-right)) 12px max(20px,env(safe-area-inset-left)); border-bottom: 1px solid #ffffff1c; }
.community .community-photo-viewer-title { color: white; font-size: 1.125rem; margin: 0; }
.community-photo-viewer-count { color: #bfccd6; font-size: .875rem; margin-left: auto; white-space: nowrap; }
.community-photo-viewer-close { display: grid; place-items: center; min-width: 60px; height: 44px; padding: 8px 12px; border: 1px solid #ffffff38; border-radius: 10px; background: #ffffff0c; color: white; font-size: .875rem; font-weight: 650; line-height: 1; }
.community-photo-viewer-viewport { flex: 1 1 auto; min-height: 0; overflow-x: hidden; overflow-y: auto; overscroll-behavior: contain; touch-action: pan-y; scroll-snap-type: y proximity; scrollbar-color: #738795 #0c1822; }
.community-photo-viewer-slide { display: flex; align-items: center; justify-content: center; min-height: 100%; width: min(780px,100%); margin-inline: auto; padding: 20px; scroll-snap-align: start; }
.community-photo-viewer-slide > .community-card { width: 100%; min-width: 0; margin: 0; color: var(--ct-ink); box-shadow: none; }
.community-photo-viewer .community-card-photo { max-height: max(240px,calc(100dvh - 320px)); object-fit: contain; aspect-ratio: auto; background: #14232f; }
.community-photo-viewer .community-comment-panel, .community-photo-viewer .community-comment-list, .community-photo-viewer .community-card { max-height: none; overflow: visible; }
.community-photo-viewer-nav { display: flex; align-items: center; justify-content: center; gap: 16px; flex: 0 0 auto; padding: 10px 20px max(10px,env(safe-area-inset-bottom)); border-top: 1px solid #ffffff1c; }
.community-photo-viewer-nav button { min-height: 44px; padding: 9px 16px; border: 1px solid #ffffff38; border-radius: 10px; background: #ffffff0c; color: white; font-size: .875rem; font-weight: 650; }
.community-photo-viewer-hint { color: #bfccd6; font-size: .8125rem; text-align: center; }
.community-photo-viewer-image-status, .community-photo-viewer-image-fallback { padding: 14px 20px; color: var(--ct-muted); font-size: .875rem; }
.community-photo-viewer-card-error { padding: 28px; border: 1px solid #ffffff35; border-radius: var(--ct-radius); color: #e4ebf0; }
.community-photo-viewer :focus-visible { outline-color: #b8df97; }

@media (max-width: 980px) {
  #fan-community .community-grid { grid-template-columns: minmax(0,1fr); }
  .community-sidebar { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 16px; }
  .community-sidebar-card { margin: 0; }
  .community-ground-rules { padding: 16px 4px; }
}
@media (max-width: 600px) {
  .community-page-header { align-items: flex-start; gap: 12px; padding-bottom: 20px; }
  .community-page-header .community-page-deck { font-size: .9375rem; }
  .community-page-actions { padding-top: 4px; }
  .community-account-menu > summary { gap: 5px; max-width: 142px; padding-right: 8px; font-size: .8125rem; }
  .community-page-actions > .community-btn { padding: 9px 12px; white-space: nowrap; font-size: .875rem; }
  .community-profile { padding: 0; }
  .community-profile-cover { height: 150px; }
  .community-profile-identity { gap: 14px; padding: 20px 16px; }
  .community-profile-identity > .community-avatar { width: 72px; height: 72px; margin-top: -44px; font-size: 1.75rem; }
  .community-profile-links { gap: 8px 12px; }
  .community-private-tools { gap: 8px; padding-inline: 8px; }
  .community-private-label { font-size: .75rem; }
  .community-private-tools .community-profile-tabs button { padding-inline: 10px; }
  .community-feed-navigation { display: block; margin-bottom: 16px; }
  .community-manage-favorites { min-height: 40px; }
  .community-sidebar { display: block; }
  .community-sidebar-card { margin-bottom: 16px; }
  .community-card-header { padding: 14px 16px; gap: 10px; }
  .community-card-header:has(.community-post-menu) { display: grid; grid-template-columns: 42px minmax(0,1fr) 44px; column-gap: 10px; row-gap: 6px; }
  .community-card-header:has(.community-post-menu) > .community-avatar { grid-row: 1 / span 2; align-self: start; }
  .community-card-header:has(.community-post-menu) > .community-author-meta { grid-column: 2; grid-row: 1; }
  .community-card-header:has(.community-post-menu) > .community-kind { grid-column: 2; grid-row: 2; justify-self: start; }
  .community-card-header:has(.community-post-menu) > .community-post-menu { grid-column: 3; grid-row: 1 / span 2; align-self: start; }
  .community-card-body { padding: 4px 16px 16px; }
  .community-reaction-counts, .community-comment-panel, .community-comment-preview { padding-inline: 16px; }
  .community-reaction-bar { padding-inline: 6px; gap: 2px; }
  .community-reaction-bar button, .community-reaction-toggle { padding-inline: 6px; font-size: .8125rem; gap: 5px; }
  .community-reaction-bar .community-reaction-toggle { padding-inline: 0; gap: 2px; }
  .community-reaction-bar .community-reaction-menu-toggle { flex-basis: 44px; min-width: 44px; padding-inline: 8px; }
  .community-foam-finger { width: 19px; height: 23px; }
  .community-kind { max-width: 90px; font-size: .75rem; }
  .community-editorial-title { font-size: 1.25rem; }
  .community-reel-preview { grid-template-rows: 220px auto; }
  .community-feed.community-profile-photo-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; }
  .community-post-menu > summary { min-width: 44px; width: 44px; }
  .community-photo-viewer-header { gap: 10px; padding-inline: 16px; }
  .community-photo-viewer-slide { padding: 12px 0; }
  .community-photo-viewer-slide > .community-card { border-radius: 0; border-inline: 0; }
  .community-photo-viewer-nav { gap: 10px; padding-inline: 12px; }
  .community-photo-viewer-nav button { padding-inline: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  .community-photo-viewer-viewport { scroll-snap-type: none; scroll-behavior: auto; }
}
