/* Self-hosted Roboto; provenance and license: ../fonts/roboto/README.md */
/* cyrillic-ext */
@font-face {
  font-family: 'CommunityCore Roboto';
  font-style: normal;
  font-weight: 400;
  font-stretch: 100%;
  font-display: swap;
  src: url(../fonts/roboto/roboto-v51-400-cyrillic-ext.woff2) format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* cyrillic */
@font-face {
  font-family: 'CommunityCore Roboto';
  font-style: normal;
  font-weight: 400;
  font-stretch: 100%;
  font-display: swap;
  src: url(../fonts/roboto/roboto-v51-400-cyrillic.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* greek-ext */
@font-face {
  font-family: 'CommunityCore Roboto';
  font-style: normal;
  font-weight: 400;
  font-stretch: 100%;
  font-display: swap;
  src: url(../fonts/roboto/roboto-v51-400-greek-ext.woff2) format('woff2');
  unicode-range: U+1F00-1FFF;
}
/* greek */
@font-face {
  font-family: 'CommunityCore Roboto';
  font-style: normal;
  font-weight: 400;
  font-stretch: 100%;
  font-display: swap;
  src: url(../fonts/roboto/roboto-v51-400-greek.woff2) format('woff2');
  unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF;
}
/* math */
@font-face {
  font-family: 'CommunityCore Roboto';
  font-style: normal;
  font-weight: 400;
  font-stretch: 100%;
  font-display: swap;
  src: url(../fonts/roboto/roboto-v51-400-math.woff2) format('woff2');
  unicode-range: U+0302-0303, U+0305, U+0307-0308, U+0310, U+0312, U+0315, U+031A, U+0326-0327, U+032C, U+032F-0330, U+0332-0333, U+0338, U+033A, U+0346, U+034D, U+0391-03A1, U+03A3-03A9, U+03B1-03C9, U+03D1, U+03D5-03D6, U+03F0-03F1, U+03F4-03F5, U+2016-2017, U+2034-2038, U+203C, U+2040, U+2043, U+2047, U+2050, U+2057, U+205F, U+2070-2071, U+2074-208E, U+2090-209C, U+20D0-20DC, U+20E1, U+20E5-20EF, U+2100-2112, U+2114-2115, U+2117-2121, U+2123-214F, U+2190, U+2192, U+2194-21AE, U+21B0-21E5, U+21F1-21F2, U+21F4-2211, U+2213-2214, U+2216-22FF, U+2308-230B, U+2310, U+2319, U+231C-2321, U+2336-237A, U+237C, U+2395, U+239B-23B7, U+23D0, U+23DC-23E1, U+2474-2475, U+25AF, U+25B3, U+25B7, U+25BD, U+25C1, U+25CA, U+25CC, U+25FB, U+266D-266F, U+27C0-27FF, U+2900-2AFF, U+2B0E-2B11, U+2B30-2B4C, U+2BFE, U+3030, U+FF5B, U+FF5D, U+1D400-1D7FF, U+1EE00-1EEFF;
}
/* symbols */
@font-face {
  font-family: 'CommunityCore Roboto';
  font-style: normal;
  font-weight: 400;
  font-stretch: 100%;
  font-display: swap;
  src: url(../fonts/roboto/roboto-v51-400-symbols.woff2) format('woff2');
  unicode-range: U+0001-000C, U+000E-001F, U+007F-009F, U+20DD-20E0, U+20E2-20E4, U+2150-218F, U+2190, U+2192, U+2194-2199, U+21AF, U+21E6-21F0, U+21F3, U+2218-2219, U+2299, U+22C4-22C6, U+2300-243F, U+2440-244A, U+2460-24FF, U+25A0-27BF, U+2800-28FF, U+2921-2922, U+2981, U+29BF, U+29EB, U+2B00-2BFF, U+4DC0-4DFF, U+FFF9-FFFB, U+10140-1018E, U+10190-1019C, U+101A0, U+101D0-101FD, U+102E0-102FB, U+10E60-10E7E, U+1D2C0-1D2D3, U+1D2E0-1D37F, U+1F000-1F0FF, U+1F100-1F1AD, U+1F1E6-1F1FF, U+1F30D-1F30F, U+1F315, U+1F31C, U+1F31E, U+1F320-1F32C, U+1F336, U+1F378, U+1F37D, U+1F382, U+1F393-1F39F, U+1F3A7-1F3A8, U+1F3AC-1F3AF, U+1F3C2, U+1F3C4-1F3C6, U+1F3CA-1F3CE, U+1F3D4-1F3E0, U+1F3ED, U+1F3F1-1F3F3, U+1F3F5-1F3F7, U+1F408, U+1F415, U+1F41F, U+1F426, U+1F43F, U+1F441-1F442, U+1F444, U+1F446-1F449, U+1F44C-1F44E, U+1F453, U+1F46A, U+1F47D, U+1F4A3, U+1F4B0, U+1F4B3, U+1F4B9, U+1F4BB, U+1F4BF, U+1F4C8-1F4CB, U+1F4D6, U+1F4DA, U+1F4DF, U+1F4E3-1F4E6, U+1F4EA-1F4ED, U+1F4F7, U+1F4F9-1F4FB, U+1F4FD-1F4FE, U+1F503, U+1F507-1F50B, U+1F50D, U+1F512-1F513, U+1F53E-1F54A, U+1F54F-1F5FA, U+1F610, U+1F650-1F67F, U+1F687, U+1F68D, U+1F691, U+1F694, U+1F698, U+1F6AD, U+1F6B2, U+1F6B9-1F6BA, U+1F6BC, U+1F6C6-1F6CF, U+1F6D3-1F6D7, U+1F6E0-1F6EA, U+1F6F0-1F6F3, U+1F6F7-1F6FC, U+1F700-1F7FF, U+1F800-1F80B, U+1F810-1F847, U+1F850-1F859, U+1F860-1F887, U+1F890-1F8AD, U+1F8B0-1F8BB, U+1F8C0-1F8C1, U+1F900-1F90B, U+1F93B, U+1F946, U+1F984, U+1F996, U+1F9E9, U+1FA00-1FA6F, U+1FA70-1FA7C, U+1FA80-1FA89, U+1FA8F-1FAC6, U+1FACE-1FADC, U+1FADF-1FAE9, U+1FAF0-1FAF8, U+1FB00-1FBFF;
}
/* vietnamese */
@font-face {
  font-family: 'CommunityCore Roboto';
  font-style: normal;
  font-weight: 400;
  font-stretch: 100%;
  font-display: swap;
  src: url(../fonts/roboto/roboto-v51-400-vietnamese.woff2) format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
  font-family: 'CommunityCore Roboto';
  font-style: normal;
  font-weight: 400;
  font-stretch: 100%;
  font-display: swap;
  src: url(../fonts/roboto/roboto-v51-400-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'CommunityCore Roboto';
  font-style: normal;
  font-weight: 400;
  font-stretch: 100%;
  font-display: swap;
  src: url(../fonts/roboto/roboto-v51-400-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

.thematic-crystal { width: 24px; height: 24px; flex: 0 0 24px; vertical-align: middle; }
.forum-thematic-marker { display: inline-flex; align-items: center; }

html {
  font-size: 16px;
  scrollbar-gutter: stable;
}

@supports (scrollbar-gutter: stable) {
  body.modal-open {
    /* The root already reserves the gutter; avoid Bootstrap's second compensation. */
    padding-right: 0 !important;
  }
}

@supports not (scrollbar-gutter: stable) {
  html {
    overflow-y: scroll;
  }
}

@media (min-width: 768px) {
  .forum-post-card-content .forum-post-body {
    /* Increase the original 0.875rem desktop post body by exactly 10%. */
    font-size: .9625rem;
    line-height: 1.5;
  }
}

@media (max-width: 767.98px) {
  .navbar {
    /* Preserve the original 17.5px mobile brand size with the larger root. */
    --bs-navbar-brand-font-size: 1.09375rem;
  }

  .forum-post-card-content .forum-post-body {
    font-size: 1rem;
    line-height: 1.3125;
  }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
  position: relative;
  min-height: 100%;
}

body {
  margin-bottom: 60px;
}

.navbar .nav-link.active,
.navbar .navbar-brand.active {
  color: #6f1d2a;
  font-weight: 700;
  text-shadow: 0 1px 8px rgba(111, 29, 42, 0.14);
}

.navbar .nav-link.active {
  box-shadow: inset 0 -2px 0 #6f1d2a;
}

.shell-identity {
  padding: 0.5rem;
}

.navbar [data-reading-mode-toggle][hidden] { display: none !important; }

/* Continue open menu navigation without a close/open animation on either device. */
.shell-restoring-navigation #global-navigation {
  transform: none !important;
  visibility: visible !important;
  transition: none !important;
}
.shell-restoring-navigation .offcanvas-backdrop { transition: none !important; }
.breadcrumb {
  margin-bottom: 1rem;
}

.forum-reading-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 1rem;
  margin-bottom: 1rem;
}

.forum-reading-control {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0;
}

.forum-reading-filter-state,
.forum-topic-author-marker {
  color: var(--bs-secondary-color);
  font-size: 0.875rem;
}

.forum-topic-author-marker {
  padding: 0.125rem 0.375rem;
  border-radius: 999px;
  background-color: var(--bs-secondary-bg);
}

.forum-post {
  padding: 0;
  margin-bottom: 0.75rem;
  background-color: #fff;
  border: 1px solid var(--bs-border-color);
  border-radius: 0.375rem;
}

.forum-post-metadata {
  display: flex;
  gap: 0.75rem;
  align-items: baseline;
  margin-bottom: 0.5rem;
  color: var(--bs-secondary-color);
  font-size: 0.875rem;
}

.forum-post-author {
  color: var(--bs-body-color);
  font-weight: 600;
}

.forum-post-body {
  margin: 0;
  white-space: pre-wrap;
  font-family: 'CommunityCore Roboto', Roboto, Arial, sans-serif;
}

.forum-moderation-control {
  margin-top: 0.75rem;
}

.forum-moderation-control summary {
  display: inline-block;
  cursor: pointer;
  color: var(--bs-danger-text-emphasis);
}

.forum-moderation-close-hint,
.forum-removed-post-message,
.forum-removed-post-reason,
.forum-removed-post-attribution {
  margin: 0.5rem 0 0;
}

.forum-moderation-close-hint {
  color: var(--bs-secondary-color);
  font-size: 0.875rem;
}

.forum-removed-post-message {
  font-weight: 600;
}

.forum-reply-composer textarea {
  display: block;
  width: 100%;
  min-height: 9rem;
  margin-bottom: 0.5rem;
}

.forum-reply-composer button {
  display: block;
}

.form-floating > .form-control-plaintext::placeholder, .form-floating > .form-control::placeholder {
  color: var(--bs-secondary-color);
  text-align: end;
}

.form-floating > .form-control-plaintext:focus::placeholder, .form-floating > .form-control:focus::placeholder {
  text-align: start;
}
/* Keep the page heading available to assistive technology when the mobile bar
   already displays the same section name. Desktop headings remain unchanged. */
@media (max-width: 991.98px) {
  .mobile-section-heading { position: absolute !important; width: 1px !important; height: 1px !important; padding: 0 !important; margin: -1px !important; overflow: hidden !important; clip: rect(0, 0, 0, 0) !important; white-space: nowrap !important; border: 0 !important; }
}
/* Menu settings retain one card color; the check mark communicates state. */
.shell-menu-checkbox { margin-inline-start: auto; flex: 0 0 1.25rem; width: 1.25rem; height: 1.25rem; border: 2px solid #57636d; border-radius: .2rem; position: relative; }
.shell-menu-toggle[aria-checked="true"] .shell-menu-checkbox::after { content: ""; position: absolute; width: .4rem; height: .7rem; border: solid #26313d; border-width: 0 2px 2px 0; transform: rotate(45deg); left: .3rem; top: .05rem; }
.forum-post-restricted .forum-post-numbers > a:first-child,
.forum-post-restricted .forum-post-title,
.post-report-table td.post-report-restricted, .post-report-restricted a { color: #657888; }
.forum-post-restricted > .forum-post-card-heading .forum-disclosure-arrow { opacity: .42; }
.post-report-filters { display: flex; flex-wrap: wrap; gap: .65rem; align-items: end; }
.post-report-filters label { flex: 1 1 9rem; min-width: 0; }
.post-report-table { font-size: .95rem; }
.post-report-table td { overflow-wrap: anywhere; }
.post-report-table td:nth-child(2) { min-width: 9rem; }
.post-report-table td:first-child, .post-report-date { white-space: nowrap; }
[data-report-paging][hidden] { display: none !important; }
.post-statistics { display: inline-flex; flex-wrap: wrap; align-items: center; gap: .15rem; vertical-align: middle; }
.post-statistic { display: inline-flex; align-items: center; justify-content: center; gap: .2rem; min-height: 30px; padding: .15rem .25rem; border: 1px solid transparent; border-radius: .4rem; background: transparent; color: #667078; font: inherit; cursor: pointer; font-variant-numeric: tabular-nums; }
.post-statistic svg { width: 19px; height: 19px; flex: 0 0 19px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.post-statistic:hover:not(:disabled) { background: #fff; border-color: #b8c3cb; }
.post-statistic:focus-visible { outline: 2px solid #0d6efd; outline-offset: 1px; }
.post-reaction[aria-pressed="true"] { color: #0866c6; font-weight: 600; }
.forum-post-comments .post-statistic { text-decoration: none; }
.reader-reaction { color: #0866c6; }
.reader-reaction[data-reaction="3"] { color: #d92e50; }
.reader-reaction svg { fill: currentColor; }
.post-reaction[data-post-reaction="3"][aria-pressed="true"] { color: #d92e50; }
.post-reaction[aria-pressed="true"] svg { fill: currentColor; stroke: currentColor; }
.post-statistic:disabled { cursor: default; }
.post-statistics-error { flex-basis: 100%; font-size: .85em; color: #a12635; }
@media (max-width: 575.98px) { .post-statistic { min-height: 34px; padding-inline: .3rem; } }

/* One footer naturally follows the collapsing publication body. */
.forum-post-statistics-bar { display: flex; flex-wrap: wrap; align-items: center; gap: .15rem; padding: 0 .6rem; border-top: 1px solid #dedede; background: #f6f6f6; font-size: .875rem; }
.forum-post-statistics-bar .post-statistics { display: contents; }
.post-report-symbol svg { width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.post-report-count { min-width: 32px; min-height: 32px; font: inherit; }
.post-report-people-list { padding-left: 1.25rem; overflow-wrap: anywhere; }
.post-report-people-list li { padding-block: .4rem; }
[data-report-view][hidden], [data-report-people][hidden] { display: none !important; }

.forum-post-statistics-bar > time { margin-inline-start: auto; white-space: nowrap; font-size: .875em; color: #667078; }
/* Guest testing: compact forms and a readable, softly framed guestbook. */
.guest-panel { max-width: 48rem; margin: 1.5rem auto; padding: clamp(1.2rem, 4vw, 2.4rem); border: 1px solid #d9e3dc; border-radius: 1.1rem; background: linear-gradient(135deg, #f4f8f3, #fff 65%); box-shadow: 0 .3rem 1.3rem #20332608; }
.guest-eyebrow { color: #526b55; font-size: .8rem; font-weight: 700; letter-spacing: .1em; margin-bottom: .65rem; }
.guest-panel h1 { font-size: clamp(1.5rem, 4vw, 2rem); }
.guest-quota-note { background: #edf2ee; border-radius: .6rem; padding: .8rem 1rem; font-size: .9rem; }
.guest-book textarea { min-height: 12rem; resize: vertical; }
.guest-management .guest-panel { max-width: none; }
.guest-management .table-responsive { position: relative; }
.guest-reset { border-color: #dcabb0; background: #fff9f9; }
.guest-table { min-width: 53rem; }
.guest-table th, .guest-table td { padding: .8rem .6rem; }
.guest-actions, .guest-actions form { display: flex; align-items: flex-end; gap: .4rem; }
.guest-actions { flex-wrap: wrap; }
.guest-days { width: 4.4rem; }
.guest-duration label { display: block; font-size: .8rem; margin-bottom: .2rem; white-space: nowrap; }
.text-limit-feedback { margin: .25rem 0 .8rem; font-size: .875rem; line-height: 1.45; }
.text-limit-count { display: block; color: #59616a; }
.text-limit-count.is-limit { color: #925b0b; font-weight: 600; }
.text-limit-count.is-over { color: #b42318; font-weight: 600; }
.text-limit-warning { margin-top: .4rem; padding: .6rem .75rem; border: 1px solid #e2c480; border-radius: .4rem; background: #fff8e7; color: #543e12; }
.text-limit-warning p { margin: 0; }
.text-limit-actions { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: .5rem; }
