/* Сообщество: отметки топа и конкурсов, «Хочу разбор», 18+, тема недели, статистика автора. */
.app-sidebar .side-nav > a + a { margin-top: 2px; }
.contest-directory-hero.portal-section-hero { grid-template-columns: 82px minmax(0, 1fr); align-items: center; }
.contest-directory-hero p { max-width: 70ch; margin: 12px 0 0; line-height: 1.65; }
.contest-directory-hero .contest-directory-intro { color: var(--muted-new); font-size: 14px; }
.contest-directory-index { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.contest-directory-index a { display: inline-flex; align-items: center; gap: 10px; min-height: 38px; padding: 6px 12px; border: 1px solid var(--line-new); border-radius: 10px; background: var(--panel); color: var(--ink); font-size: 13px; font-weight: 600; text-decoration: none; }
.contest-directory-index a:is(:hover, :focus-visible) { border-color: var(--violet); }
.contest-directory-index b { min-width: 22px; padding: 1px 6px; border-radius: 7px; background: var(--violet-soft); text-align: center; }
.contest-directory-content { display: grid; gap: 30px; min-width: 0; }
.contest-directory-section { min-width: 0; scroll-margin-top: calc(var(--header-height) + 18px); }
.contest-directory-secondary { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.contest-directory-cards { display: grid; gap: 14px; margin: 0; padding: 0; list-style: none; }
.contest-directory-cards > li { min-width: 0; }
.contest-catalogue-card { display: grid; gap: 18px; padding: 24px; height: 100%; box-sizing: border-box; }
.contest-catalogue-card.is-active { border-color: color-mix(in srgb, var(--violet) 26%, var(--line-new)); }
.contest-card-status { display: flex; align-items: center; justify-content: space-between; gap: 12px; width: 100%; }
.contest-card-status > svg { flex: none; width: 24px; height: 24px; color: var(--muted-new); }
.contest-phase { display: inline-flex; align-items: center; gap: 7px; padding: 5px 10px; border-radius: 8px; background: var(--violet-soft); color: var(--ink); font-size: 12px; font-weight: 700; }
.contest-phase::before { content: ""; width: 6px; height: 6px; flex: none; border-radius: 50%; background: var(--violet); }
.contest-catalogue-card h3 { margin: 0; font-size: 27px; line-height: 1.25; }
.contest-catalogue-card h3 a { color: var(--ink); text-decoration: none; }
.contest-catalogue-card h3 a:is(:hover, :focus-visible) { color: var(--violet); }
.contest-card-description { margin: 0; color: var(--text); line-height: 1.65; font-size: 14px; }
.contest-card-facts { display: flex; flex-wrap: wrap; gap: 16px 28px; margin: 0; padding-top: 16px; border-top: 1px solid var(--line-new); width: 100%; }
.contest-card-facts dt { color: var(--muted-new); font-size: 12px; }
.contest-card-facts dd { margin: 4px 0 0; color: var(--ink); font-size: 14px; font-weight: 600; }
.contest-card-link { display: inline-flex; align-items: center; gap: 10px; align-self: end; font-size: 14px; font-weight: 700; text-decoration: none; }
.contest-directory-empty { display: flex; align-items: flex-start; gap: 14px; padding: 22px; }
.contest-empty-icon { display: grid; place-items: center; flex: none; width: 38px; height: 38px; border-radius: 12px; background: var(--violet-soft); color: var(--muted-new); }
.contest-empty-icon svg { width: 20px; height: 20px; }
.contest-directory-empty h3 { margin: 0 0 8px; color: var(--ink); font-size: 18px; line-height: 1.4; }
.contest-directory-empty p { margin: 0; color: var(--muted-new); font-size: 14px; line-height: 1.6; }
.community-related { display: grid; gap: 14px; padding: 22px; }
.community-related-links { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.community-related-links > a { display: flex; align-items: center; gap: 12px; min-width: 0; padding: 16px; border: 1px solid var(--line-new); border-radius: 12px; color: var(--ink); text-decoration: none; }
.community-related-links > a:is(:hover, :focus-visible) { border-color: var(--violet); background: var(--violet-soft); }
.community-related-icon { display: grid; place-items: center; flex: none; width: 36px; height: 36px; border-radius: 10px; background: var(--violet-soft); color: var(--ink); }
.community-related-icon svg { width: 19px; height: 19px; }
.community-related-links strong { display: block; font-size: 15px; line-height: 1.4; }
.community-related-links small { display: block; margin-top: 4px; font-size: 12px; color: var(--muted-new); line-height: 1.4; }
.community-related-arrow { margin-left: auto; color: var(--muted-new); }
@media (max-width: 760px) {
    .contest-directory-secondary, .community-related-links { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 600px) {
    .contest-directory-hero.portal-section-hero { grid-template-columns: minmax(0, 1fr); }
    .contest-catalogue-card, .community-related { padding: 20px; }
    .contest-catalogue-card h3 { font-size: 24px; }
    .contest-card-facts { gap: 14px 20px; }
}
.community-event-hero.portal-section-hero { grid-template-columns: 82px minmax(0, 1fr); align-items: center; }
.community-page > .community-hero.portal-section-hero { grid-template-columns: 82px minmax(0, 1fr); }
.community-participation { border-top: 1px solid var(--line-new); padding-top: 16px; }
.community-participation > summary { display: flex; align-items: baseline; flex-wrap: wrap; gap: 6px 16px; padding: 6px 0; color: var(--ink); list-style: none; }
.community-participation > summary::-webkit-details-marker { display: none; }
.community-participation > summary::before { content: "+"; color: var(--violet); font-weight: 700; font-size: 20px; line-height: 1; }
.community-participation[open] > summary::before { content: "-"; }
.community-rules-hint { margin-left: auto; font-weight: 400; font-size: 13px; color: var(--muted-new); }
.community-rules-body { margin-top: 16px; }
.community-rules-body .theme-week-howto.is-compact { padding: 0; }
.community-section-heading, .theme-week-archive > .theme-week-section-heading { position: relative; padding: 0 3px 17px; margin-bottom: 18px; }
.community-section-heading::after, .theme-week-archive > .theme-week-section-heading::after { position: absolute; right: 3px; bottom: 0; left: 3px; height: 2px; border-radius: 999px; background: linear-gradient(90deg, var(--violet) 0 78px, color-mix(in srgb, var(--violet) 17%, var(--line-new)) 78px 100%); content: ""; }
.community-section-heading h2, .community-join .community-section-heading h2, .theme-week-archive > .theme-week-section-heading h2 { margin: 5px 0 0; color: var(--ink); font-family: Georgia, serif; font-size: 29px; font-weight: 500; letter-spacing: -.025em; line-height: 1.3; }
.community-section-heading p { margin: 10px 0 0; color: var(--muted-new); font-size: 14px; line-height: 1.6; }
.theme-week-archive > .theme-week-section-heading > p { margin: 10px 0 0; }
.community-entries > .community-section-heading { margin-bottom: 0; }
.community-join .community-join-form { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 10px 12px; align-items: end; }
.community-join-form label { grid-column: 1 / -1; color: var(--ink); font-weight: 600; font-size: 14px; }
.community-join .community-join-form select { width: 100%; min-width: 0; min-height: 44px; }
.community-join-form .button { min-height: 44px; }
@media (max-width: 600px) {
    .community-event-hero.portal-section-hero { grid-template-columns: minmax(0, 1fr); }
    .community-page > .community-hero.portal-section-hero { grid-template-columns: minmax(0, 1fr); }
    .community-rules-hint { margin-left: 26px; flex-basis: 100%; }
    .community-join .community-join-form { grid-template-columns: minmax(0, 1fr); }
    .community-section-heading, .theme-week-archive > .theme-week-section-heading { padding: 0 2px 14px; }
    .community-section-heading h2, .community-join .community-section-heading h2, .theme-week-archive > .theme-week-section-heading h2 { font-size: 24px; }
}
.theme-week-hero.portal-section-hero { grid-template-columns: 82px minmax(0, 1fr); }
.theme-week-hero p { margin: 10px 0 0; max-width: 68ch; line-height: 1.65; }
.theme-week-hero .theme-week-intro-note { color: var(--muted-new); font-size: 14px; }
.theme-week-current, .theme-week-howto { padding: 24px; }
.theme-week-current { border-color: color-mix(in srgb, var(--violet) 25%, var(--line-new)); }
.theme-week-current-heading { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 8px 16px; }
.theme-week-current h2 { margin: 12px 0; font-size: 26px; line-height: 1.25; }
.theme-week-current h2 a, .theme-week-cards h3 a { color: var(--ink); text-decoration: none; }
.theme-week-current h2 a:hover, .theme-week-cards h3 a:hover { color: var(--violet); }
.theme-week-current .community-text { margin-bottom: 18px; line-height: 1.65; }
.theme-week-period { color: var(--muted-new); font-size: 13px; }
.theme-week-section-heading h2 { margin: 8px 0 12px; font-size: 22px; line-height: 1.3; }
.theme-week-section-heading > p { margin: 0 0 18px; color: var(--muted-new); line-height: 1.6; }
.theme-week-steps { list-style: none; counter-reset: theme-step; display: grid; gap: 20px; padding: 0; margin: 22px 0; }
.theme-week-steps li { counter-increment: theme-step; position: relative; padding-left: 48px; min-width: 0; }
.theme-week-steps li::before {
    content: counter(theme-step); position: absolute; top: 0; left: 0; width: 32px; height: 32px;
    display: grid; place-items: center; border-radius: 10px; background: var(--violet-soft);
    color: var(--violet-dark); font-size: 14px; font-weight: 700;
}
.theme-week-steps strong { display: block; color: var(--ink); font-size: 16px; line-height: 1.5; }
.theme-week-steps p { margin: 5px 0 0; color: var(--text); font-size: 14px; line-height: 1.65; }
.theme-week-note { margin: 0; padding: 14px 16px; border-radius: 12px; background: var(--violet-soft); color: var(--ink); font-size: 14px; line-height: 1.6; }
.theme-week-limits { margin: 12px 0 0; color: var(--muted-new); font-size: 13px; }
.theme-week-archive { min-width: 0; }
.theme-week-cards.community-cards { grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); }
.theme-week-cards.community-cards li { gap: 12px; padding: 22px; align-content: start; }
.theme-week-cards h3 { margin: 0; font-size: 20px; line-height: 1.3; }
.theme-week-cards p { color: var(--text); line-height: 1.6; }
.theme-week-read { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 700; }
.theme-week-cards .theme-week-card { background: linear-gradient(140deg, color-mix(in srgb, var(--violet-soft) 18%, var(--panel)), var(--panel) 80%); }
.theme-week-cards .theme-week-card.is-current { border-color: color-mix(in srgb, var(--violet) 38%, var(--line-new)); background: linear-gradient(135deg, color-mix(in srgb, var(--violet-soft) 75%, var(--panel)), var(--panel) 85%); box-shadow: 0 8px 24px color-mix(in srgb, var(--violet) 7%, transparent); }
.theme-week-card .theme-week-period { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; }
.theme-week-status { padding: 5px 9px; border-radius: 7px; background: var(--paper); color: var(--muted-new); font-size: 11px; font-weight: 600; line-height: 1.4; }
.is-current .theme-week-status { background: var(--violet); color: #fff; }
.theme-week-card-dates { font-size: 12px; }
.theme-week-cards .theme-week-read { justify-self: start; min-height: 38px; padding: 7px 13px; border: 1px solid var(--line-new); border-radius: 10px; background: var(--panel); color: var(--ink); text-decoration: none; box-sizing: border-box; }
.theme-week-cards .is-current .theme-week-read { border-color: var(--violet); background: var(--violet); color: #fff; }
.theme-week-cards .theme-week-read:is(:hover, :focus-visible) { border-color: var(--violet); box-shadow: 0 0 0 3px var(--violet-soft); }
#theme-join { scroll-margin-top: calc(var(--header-height) + 20px); }
@media (max-width: 600px) {
    .theme-week-hero.portal-section-hero { grid-template-columns: minmax(0, 1fr); }
    .theme-week-current, .theme-week-howto { padding: 20px; }
    .theme-week-current h2 { font-size: 23px; }
    .theme-week-steps li { padding-left: 42px; }
}
body.theme-dark .theme-week-steps li::before { color: var(--ink); }
.award-badge { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border: 1px solid var(--line-new); border-radius: 999px; background: var(--panel-soft); color: var(--text); font-size: 13px; font-weight: 700; line-height: 1.3; text-decoration: none; }
a.award-badge:hover { border-color: var(--violet); color: var(--violet); }
.award-badge::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--violet); flex: none; }
.award-top_week::before { background: var(--green); }
.award-top_month::before { background: var(--amber); }
.award-contest::before { background: var(--coral); }
.poem-awards { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0; }
.poem-awards-card { margin: 0 0 10px; }
.poem-awards-card .award-badge { font-size: 12px; padding: 3px 9px; }
.profile-awards { margin-top: 16px; }
.profile-awards-summary { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 8px; }
.profile-awards-list summary { cursor: pointer; color: var(--muted-new); font-size: 14px; }
.profile-own-stats { margin: 12px 0 0; font-size: 14px; }
.profile-header .profile-stat-month { --award-accent: var(--amber); }
.profile-header .profile-stat-week { --award-accent: var(--green); }
.profile-header .profile-stat-contest { --award-accent: var(--coral); }
.profile-header .profile-stat-month, .profile-header .profile-stat-week, .profile-header .profile-stat-contest { background: color-mix(in srgb, var(--award-accent) 8%, var(--panel)); border-color: color-mix(in srgb, var(--award-accent) 22%, var(--line-new)); }
.profile-header .profile-stat-month .profile-stat-icon-wrap, .profile-header .profile-stat-week .profile-stat-icon-wrap, .profile-header .profile-stat-contest .profile-stat-icon-wrap { color: var(--award-accent); }
[data-profile-navigation] { margin-top: 18px; }
[data-profile-navigation][aria-busy="true"] { opacity: .65; }
.profile-empty { padding: 24px; }
.profile-empty h2 { margin: 0 0 8px; font-size: 20px; }
.privacy-options .profile-adult-option { padding: 14px; border: 1px solid color-mix(in srgb, var(--amber) 35%, var(--line-new)); border-radius: 14px; background: color-mix(in srgb, var(--amber) 7%, var(--panel)); }
.privacy-options .profile-adult-option label { border-color: color-mix(in srgb, var(--amber) 24%, var(--line-new)); background: var(--panel); }
.profile-adult-label { display: flex; align-items: center; gap: 10px; min-width: 0; }
.profile-adult-mark { display: inline-flex; flex: none; align-items: center; justify-content: center; min-width: 44px; min-height: 34px; padding: 0 8px; border: 1px solid color-mix(in srgb, var(--amber) 35%, var(--line-new)); border-radius: 9px; background: color-mix(in srgb, var(--amber) 12%, var(--panel)); color: var(--amber); font-size: 16px; font-weight: 800; }
.privacy-options .profile-adult-option > .muted { display: block; margin: 9px 4px 0; }
.my-poems-stats-link { display: inline-block; margin-top: 10px; font-size: 14px; }

.wants-review-box { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 16px; margin: 14px 0; padding: 12px 16px; border: 1px dashed var(--line-new); border-radius: 12px; background: var(--panel); font-size: 15px; }
.wants-review-box.is-on { border-style: solid; border-color: var(--violet); background: var(--violet-soft); }
.poem-review-request { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; margin: 14px 0; padding: 0; border: 0; background: none; }
.poem-review-request-badge { display: inline-flex; align-items: center; gap: 7px; min-height: 32px; padding: 5px 11px; border: 1px solid var(--line-new); border-radius: 999px; background: var(--violet-soft); color: var(--violet-dark); font-size: 13px; font-weight: 600; line-height: 1.35; text-decoration: none; }
.poem-review-request-badge svg { flex: none; width: 16px; height: 16px; }
.poem-review-request-badge:is(:hover, :focus-visible) { border-color: var(--violet); text-decoration: underline; text-underline-offset: 3px; }
form.poem-review-request .poem-review-request-cancel { width: auto; min-height: 32px; padding: 4px 2px; border: 0; border-radius: 4px; background: none; box-shadow: none; color: var(--muted-new); font: inherit; font-size: 13px; font-weight: 400; cursor: pointer; }
form.poem-review-request .poem-review-request-cancel:is(:hover, :focus-visible) { color: var(--violet-dark); text-decoration: underline; text-underline-offset: 3px; }
.poem-review-request-badge:focus-visible, .poem-review-request-cancel:focus-visible { outline: 2px solid var(--violet); outline-offset: 3px; }
body.theme-dark .poem-review-request-badge { color: #c5b5ff; }
.wants-review-mark { position: relative; display: inline-flex; align-items: center; gap: 5px; color: var(--violet); font-weight: 700; text-decoration: none; }
.wants-review-icon { display: inline-flex; align-items: center; justify-content: center; flex: none; width: 18px; height: 18px; border: 1px solid currentColor; border-radius: 50%; background: var(--violet-soft); font-size: 12px; font-weight: 800; line-height: 1; }
.wants-review-tooltip { position: absolute; bottom: calc(100% + 8px); left: 0; z-index: 30; display: none; width: 260px; max-width: 60vw; padding: 10px 12px; border: 1px solid var(--line-new); border-radius: 10px; background: var(--ink); color: var(--panel); box-shadow: 0 8px 24px rgba(22, 16, 37, .2); font-size: 13px; font-weight: 400; line-height: 1.45; text-align: left; white-space: normal; }
.wants-review-mark:hover .wants-review-tooltip, .wants-review-mark:focus .wants-review-tooltip { display: block; }
.wants-review-mark:focus-visible { outline: 2px solid var(--violet); outline-offset: 4px; border-radius: 4px; }
.review-template-row { margin: 6px 0 0; font-size: 14px; }
.link-button { padding: 0; border: 0; background: none; color: var(--violet); font: inherit; font-weight: 600; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }

.adult-gate { margin: 20px 0; padding: 24px; text-align: center; }
.adult-gate h2 { margin: 0 0 10px; }
.adult-gate-form { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin: 16px 0 10px; }
.poem-card-adult-note { margin: 0; padding: 14px 16px; border-radius: 12px; background: var(--panel-soft); color: var(--text); font-size: 15px; }
.poem-card-adult-note p { margin: 0; }
.poem-card-adult-form { margin: 12px 0; }
.poem-card-adult-form .button { max-width: 100%; white-space: normal; }
.poem-card-adult-note .poem-card-adult-help { font-size: 13px; line-height: 1.5; }

.community-page { display: grid; gap: 18px; }
.community-page > h2 { margin: 6px 0 0; }
.community-hero { padding: 24px; }
.community-hero h1 { margin: 6px 0 10px; }
.community-hero p { margin: 0 0 8px; max-width: 70ch; }
.community-note { padding: 10px 14px; border-radius: 10px; background: var(--panel-soft); }
.community-dates { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 12px; margin: 16px 0 0; }
.community-dates div { padding: 10px 12px; border: 1px solid var(--line-new); border-radius: 10px; }
.community-dates dt { color: var(--muted-new); font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.community-dates dd { margin: 4px 0 0; font-weight: 700; }
.community-rules { margin-top: 14px; }
.community-rules summary { cursor: pointer; font-weight: 700; }
.community-join, .community-vote-info, .community-mine { padding: 20px 24px; }
.community-join h2, .community-vote-info h2, .community-mine h2 { margin: 0 0 10px; font-size: 20px; }
.community-join-form { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.community-join-form select { min-width: min(100%, 320px); padding: 10px 12px; border: 1px solid var(--line-new); border-radius: 10px; background: var(--panel); color: var(--text); font: inherit; }
.community-entries { display: grid; gap: 16px; }
.community-entries > h2 { margin: 0; }
.community-entry { display: grid; gap: 8px; }
.community-entry-result { margin: 0; display: flex; align-items: center; gap: 10px; }
.community-entry-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.community-entry-actions .button.is-voted { background: var(--green); border-color: var(--green); }
.community-entry-withdraw { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; margin: 0; padding: 4px 0 8px; }
.community-entry-withdraw-button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 42px; padding: 9px 14px; border: 1px solid var(--line-new); border-radius: 12px; background: var(--panel); color: var(--muted-new); font: inherit; font-size: 13px; font-weight: 600; line-height: 1.4; cursor: pointer; text-decoration: none; }
.community-entry-withdraw-button svg { flex: none; width: 18px; height: 18px; }
.community-entry-withdraw-button:is(:hover, :focus-visible) { border-color: var(--violet); background: var(--violet-soft); color: var(--violet); }
.community-entry-withdraw-button:focus-visible { outline: 2px solid var(--violet); outline-offset: 3px; }
.community-entry-withdraw-note { color: var(--muted-new); font-size: 12px; line-height: 1.5; }
@media (max-width: 600px) {
    .community-entry-withdraw-button { min-height: 44px; }
}
.community-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 14px; margin: 0; padding: 0; list-style: none; }
.community-cards li { display: grid; gap: 6px; padding: 16px 18px; }
.community-cards p { margin: 0; font-size: 14px; }
.community-empty { padding: 20px; color: var(--muted-new); }
.community-plain-list { display: grid; gap: 8px; margin: 0; padding-left: 20px; }
ul.community-plain-list { padding-left: 0; list-style: none; }
.community-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin: 10px 0; }
.community-tabs a { padding: 6px 14px; border: 1px solid var(--line-new); border-radius: 999px; color: var(--text); font-weight: 700; text-decoration: none; }
.community-tabs a.is-active { border-color: var(--violet); background: var(--violet); color: #fff; }

.home-community { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 14px; margin: 0 0 22px; }
.home-community-item { padding: 18px 20px; border: 1px solid var(--line-new); border-radius: 16px; background: var(--panel); }
.home-community-item h2 { margin: 4px 0 6px; font-size: 22px; }
.home-community-item h2 a { color: var(--ink); text-decoration: none; }
.home-community-item p { margin: 0 0 6px; font-size: 15px; }

.author-stats section.card { min-width: 0; padding: 20px 24px; }
.author-stats details, .author-stats-table-scroll { min-width: 0; overflow-x: auto; }
.author-stats section.card h2 { margin: 0 0 12px; font-size: 20px; }
.author-stats-tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 12px; margin: 0; padding: 0; list-style: none; }
.author-stats-tiles li { display: grid; gap: 4px; padding: 16px 18px; }
.author-stats-tiles span { color: var(--muted-new); font-size: 13px; }
.author-stats-tiles strong { color: var(--ink); font-size: 30px; line-height: 1.1; }
.author-stats-tiles small { color: var(--muted-new); font-size: 12px; }
.author-stats-chart { display: flex; align-items: flex-end; gap: 2px; height: 180px; padding-top: 12px; border-bottom: 1px solid var(--line-new); }
.author-stats-bar { position: relative; flex: 1 1 0; min-width: 0; height: 100%; display: flex; align-items: flex-end; }
.author-stats-bar i { display: block; width: 100%; min-height: 1px; border-radius: 3px 3px 0 0; background: var(--violet); }
.author-stats-bar:hover i { background: var(--violet-dark); }
.author-stats-chart-wrap { position: relative; min-width: 0; }
.author-stats [data-stats-days="90"] .author-stats-chart { gap: 1px; }
.author-stats-chart-help { margin: 0 0 10px; }
.author-stats-chart[data-stats-chart] { cursor: crosshair; }
.author-stats-chart[data-stats-chart]:focus-visible { outline: 2px solid var(--violet); outline-offset: 4px; }
.author-stats-bar.is-selected { background: var(--violet-soft); }
.author-stats-bar.is-selected::after { position: absolute; inset: 0 auto 0 50%; border-left: 1px dashed var(--violet); content: ""; pointer-events: none; }
.author-stats-tooltip { position: absolute; z-index: 3; top: 8px; width: max-content; max-width: min(260px, calc(100% - 16px)); margin: 0; padding: 10px 12px; border: 1px solid var(--line-new); border-radius: 10px; background: var(--ink); color: var(--panel); box-shadow: 0 6px 18px rgba(22, 16, 37, .18); font-size: 13px; font-weight: 750; line-height: 1.5; overflow-wrap: anywhere; pointer-events: none; }
.author-stats-tooltip[hidden] { display: none; }
.author-stats-bar b { position: absolute; left: 50%; bottom: -9px; width: 5px; height: 5px; margin-left: -2.5px; border-radius: 50%; background: var(--green); }
.author-stats-legend { display: flex; justify-content: space-between; gap: 10px; margin: 12px 0; font-size: 12px; }
.author-stats-table { width: 100%; border-collapse: collapse; font-size: 15px; }
.author-stats-table th, .author-stats-table td { padding: 8px 10px; border-bottom: 1px solid var(--line-new); text-align: left; }
.author-stats-table th { color: var(--muted-new); font-size: 12px; letter-spacing: .06em; text-transform: uppercase; }
.author-stats-share { display: inline-block; width: 90px; height: 8px; margin-right: 6px; border-radius: 4px; background: var(--panel-soft); vertical-align: middle; overflow: hidden; }
.author-stats-share i { display: block; height: 100%; background: var(--violet); }
.author-stats-columns { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 18px; }

.review-seo { display: grid; gap: 10px; margin: 14px 0; padding: 12px 14px; border: 1px solid var(--line-new); border-radius: 10px; }
.review-seo label { display: grid; gap: 4px; }
.review-seo input, .review-seo textarea { width: 100%; }
.community-reviewer-form { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; }

.author-stats section[id] { scroll-margin-top: calc(var(--header-height) + 18px); }


[data-stats-results] { display: grid; min-width: 0; grid-template-columns: minmax(0, 1fr); gap: 18px; }
[data-stats-results][aria-busy="true"] { opacity: .65; }
.author-stats-bar i { min-height: 0; }
.author-stats-follow-bar { gap: 1px; }
.author-stats-follow-bar .is-follow { background: var(--green); }
.author-stats-follow-bar .is-unfollow { background: var(--red); }
.stats-follow-label { color: var(--green); }
.stats-unfollow-label { color: var(--red); }
