:root {
  --paper: #fbf7f3;
  --paper-soft: rgba(255, 252, 249, 0.76);
  --paper-strong: rgba(255, 255, 255, 0.88);
  --ink: #4d4744;
  --muted: #8d817c;
  --line: rgba(92, 79, 72, 0.13);
  --rose: #cf8885;
  --rose-dark: #a86562;
  --rose-soft: rgba(207, 136, 133, 0.16);
  --shadow: 0 22px 70px rgba(102, 82, 72, 0.13);
  --shadow-soft: 0 14px 36px rgba(102, 82, 72, 0.09);
  --font-serif: "Cormorant Garamond", Georgia, serif;
  --font-sans: "Nunito Sans", system-ui, -apple-system, sans-serif;
  --hero-progress: 0;
  --content-lift: 0px;
  --hero-content-overlap: clamp(10rem, 25vh, 20rem);
  --countdown-scroll: 0;
  --countdown-opacity: 1;
  --countdown-scale: 1;
  --countdown-y: 0px;
  --countdown-copy-opacity: 1;
  --countdown-copy-scale: 1;
  --countdown-copy-y: 0px;
  --compact-countdown-opacity: 0;
  --compact-countdown-scale: 0.92;
  --compact-countdown-y: -14px;
  --scroll-cue-opacity: 1;
  --scroll-cue-y: 0px;
}

@media (max-height: 780px) {
  :root {
    --hero-content-overlap: clamp(7rem, 17vh, 9rem);
  }
}

@font-face {
  font-family: "Butler Light";
  src: url("./assets/Butler_Light.otf") format("opentype");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Montserrat Thin Local";
  src: url("./assets/Montserrat-Thin.otf") format("opentype");
  font-weight: 100;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Montserrat ExtraLight Local";
  src: url("./assets/Montserrat-ExtraLight-2.otf") format("opentype");
  font-weight: 200;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Montserrat Light Local";
  src: url("./assets/Montserrat-Light.otf") format("opentype");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

:root {
  --font-butler-light: "Butler Light", var(--font-serif);
  --font-montserrat-thin: "Montserrat Thin Local", var(--font-sans);
  --font-montserrat-extralight: "Montserrat ExtraLight Local", var(--font-sans);
  --font-montserrat-light: "Montserrat Light Local", var(--font-sans);
}

.comment__body,
.activity-card__snippet {
  font-family: var(--font-montserrat-extralight) !important;
  font-weight: 200 !important;
}

.comment__body {
  color: rgba(59, 53, 50, 0.94) !important;
  font-size: 0.94rem !important;
}

.comment__header {
  margin-bottom: 0.42rem !important;
}

.comment__body {
  margin-bottom: 0.68rem !important;
}

.comment__actions {
  margin-top: 0.52rem !important;
}

.comment-branch {
  position: relative;
  display: block;
}

.comment-branch .comment {
  margin-left: 0 !important;
}

.comment__replies {
  display: grid;
  gap: 0.8rem;
  margin-top: 0.8rem;
  padding-left: clamp(0.5rem, 1.6vw, 1.36rem);
  border-left: 1px solid rgba(207, 136, 133, 0.2);
}

.comment__replies .comment__replies {
  margin-top: 0.7rem;
  padding-left: clamp(0.4rem, 1.2vw, 1rem);
}

.comment__header {
  gap: 0.55rem;
}

.comment-collapse {
  margin-left: auto;
  padding: 0.26rem 0.55rem !important;
  border: 1px solid rgba(207, 136, 133, 0.18) !important;
  border-radius: 999px !important;
  background: rgba(255, 255, 255, 0.42) !important;
  color: rgba(168, 101, 98, 0.72) !important;
  font-size: 0.72rem !important;
}

.comment-collapse:hover,
.comment-collapse:focus-visible {
  background: rgba(207, 136, 133, 0.12) !important;
  color: var(--rose-dark) !important;
}

.comment__user,
.comment__user--link,
.activity-card__name {
  font-family: var(--font-montserrat-light) !important;
  font-weight: 300 !important;
}

.comment__user--admin::after {
  content: "Admin";
  margin-left: 0.45rem;
  padding: 0.12rem 0.42rem;
  border-radius: 999px;
  background: rgba(207, 136, 133, 0.14);
  color: var(--rose-dark);
  font: 600 0.62rem/1 var(--font-sans);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  vertical-align: middle;
}

.comment-action,
.comment-action .icon,
.comment-action .count {
  font-family: var(--font-montserrat-light) !important;
  font-weight: 300 !important;
}

.comment-form label,
.comment-form .btn,
.contact-form .btn {
  font-family: var(--font-montserrat-light) !important;
  font-weight: 300 !important;
}

.comment-form input,
.comment-form textarea,
.comment-form input::placeholder,
.comment-form textarea::placeholder {
  font-family: var(--font-montserrat-extralight) !important;
  font-weight: 200 !important;
}

/* Butler Light display font for selected hero and section texts */
.hero h2,
.hero__open-time,
.hero__scroll-text,
.section--activity #activityTitle,
.section--thread #threadTitle,
.section--archive #archiveTitle {
  font-family: var(--font-butler-light) !important;
  font-weight: 300 !important;
}

.info-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: grid;
  place-items: center;
  padding: 1.4rem;
  background: rgba(248, 242, 238, 0.34);
  backdrop-filter: blur(15px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.32s ease, visibility 0.32s ease;
}

.info-modal-overlay[hidden] {
  display: none !important;
}

.info-modal-overlay.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.info-modal {
  position: relative;
  width: min(640px, 100%);
  max-height: min(78vh, 720px);
  overflow: auto;
  padding: clamp(2rem, 5vw, 3.1rem);
  border: 1px solid rgba(93, 82, 76, 0.14);
  border-radius: 2rem;
  background: rgba(255, 252, 249, 0.74);
  box-shadow: 0 2rem 6rem rgba(87, 69, 61, 0.18);
  color: rgba(77, 71, 68, 0.78);
  opacity: 0;
  transform: translateY(14px) scale(0.985);
  transition: transform 0.32s ease, opacity 0.32s ease;
}

.info-modal-overlay.is-open .info-modal {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.info-modal h2 {
  margin: 0 2rem 1.25rem;
  color: #4d4744;
  font-family: var(--font-butler-light);
  font-size: clamp(2rem, 5vw, 3.1rem);
  font-weight: 300;
  line-height: 1;
  text-align: center;
}

.info-modal p,
.info-modal li {
  color: rgba(77, 71, 68, 0.76);
  font-family: var(--font-butler-light);
  font-size: clamp(1rem, 2vw, 1.14rem);
  font-weight: 300;
  line-height: 1.58;
}

.info-modal p {
  margin: 0 0 1rem;
}

.info-modal ol {
  margin: 0;
  padding-left: 1.35rem;
}

.info-modal li + li {
  margin-top: 0.65rem;
}

.info-modal__close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 2.15rem;
  height: 2.15rem;
  border: 1px solid rgba(207, 136, 133, 0.22);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.5);
  color: rgba(77, 71, 68, 0.62);
  font-family: var(--font-sans);
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.info-modal__close:hover,
.info-modal__close:focus-visible {
  background: rgba(207, 136, 133, 0.16);
  color: var(--rose-dark);
  transform: scale(1.04);
}

.contact-card {
  margin-top: 1.35rem;
  padding-top: 1.15rem;
  border-top: 1px solid rgba(92, 79, 72, 0.1);
}

.contact-form {
  display: grid;
  gap: 0.68rem;
  margin-top: 0.8rem;
}

.contact-form label {
  color: rgba(77, 71, 68, 0.72);
  font-family: var(--font-montserrat-light);
  font-size: 0.86rem;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid rgba(96, 77, 68, 0.16);
  border-radius: 0.9rem;
  padding: 0.72rem 0.85rem;
  background: rgba(255, 255, 255, 0.54);
  background-clip: padding-box;
  color: rgba(77, 71, 68, 0.86);
  font-family: var(--font-montserrat-light);
  outline: none;
}

.contact-form textarea {
  resize: vertical;
  min-height: 6rem;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: rgba(207, 136, 133, 0.36);
  box-shadow:
    inset 0 0 0 2px rgba(207, 136, 133, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.68);
}

/* Compact horizontal latest activity row */
.section--activity {
  width: min(1020px, calc(100% - 2.8rem));
  padding: clamp(1.1rem, 2vw, 1.6rem);
  font-size: 0.9rem;
}

.section--activity #activityTitle {
  font-size: clamp(1.7rem, 3vw, 2.35rem);
  margin-bottom: 0.45rem;
}

.section--activity #activityTitle + p {
  font-size: 0.95rem;
  margin-bottom: 1rem;
}

.section--activity #activityList,
.section--activity .activity-feed,
.section--activity .activity-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.85rem;
  align-items: stretch;
}

.section--activity #activityList > *,
.section--activity .activity-feed > *,
.section--activity .activity-grid > * {
  min-width: 0;
  padding: 0.95rem 1rem;
  border-left: 2px solid rgba(207, 136, 133, 0.42);
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.46);
  box-shadow: 0 0.8rem 2rem rgba(109, 82, 72, 0.07);
}

.section--activity #activityList h3,
.section--activity #activityList strong,
.section--activity .activity-feed h3,
.section--activity .activity-feed strong {
  font-size: 0.98rem;
}

.section--activity #activityList p,
.section--activity .activity-feed p {
  display: -webkit-box;
  margin: 0.45rem 0 0.65rem;
  overflow: hidden;
  color: rgba(77, 71, 68, 0.7);
  font-size: 0.86rem;
  line-height: 1.35;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.section--activity #activityList time,
.section--activity #activityList .activity-time,
.section--activity #activityList .activity-date,
.section--activity .activity-feed time,
.section--activity .activity-feed .activity-time,
.section--activity .activity-feed .activity-date {
  display: block;
  margin: 0.35rem 0 0.6rem;
  color: rgba(77, 71, 68, 0.56);
  font-size: 0.74rem;
  line-height: 1.25;
  white-space: normal;
}

.section--activity #activityList button,
.section--activity #activityList a,
.section--activity .activity-feed button,
.section--activity .activity-feed a {
  width: fit-content;
  min-height: 0;
  padding: 0.48rem 0.78rem;
  border-radius: 999px;
  font-size: 0.76rem;
}

@media (max-width: 760px) {
  .section--activity {
    width: min(100% - 1.2rem, 1020px);
  }

  .section--activity #activityList,
  .section--activity .activity-feed,
  .section--activity .activity-grid {
    grid-template-columns: 1fr;
  }
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  min-height: 100vh;
  color: var(--ink);
  font-family: var(--font-sans);
  background: var(--paper) url("./assets/pearl-water-bg.png") center top / cover fixed no-repeat;
  overflow-x: hidden;
  scroll-behavior: smooth;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(255, 252, 249, 0.08), rgba(255, 247, 242, 0.42)),
    radial-gradient(circle at 50% 10%, rgba(255, 255, 255, 0.42), transparent 32%);
}

.aurora,
.grain {
  display: none;
}

.site-nav {
  position: absolute;
  top: 1.35rem;
  left: 1.5rem;
  right: 1.5rem;
  z-index: 6;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 2rem;
  color: var(--ink);
  font-size: 0.9rem;
  font-weight: 600;
}

.site-nav a {
  color: rgba(77, 71, 68, 0.66);
  text-decoration: none;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--rose-dark);
}

.site-nav button {
  border: 0;
  background: transparent;
  color: var(--rose-dark);
  font-size: 1.25rem;
  cursor: pointer;
}

.site-nav .nav-modal-trigger {
  padding: 0;
  color: rgba(77, 71, 68, 0.66);
  font: inherit;
  font-weight: 600;
}

.site-nav .nav-modal-trigger:hover,
.site-nav .nav-modal-trigger:focus-visible {
  color: var(--rose-dark);
}

.hero-shell {
  position: sticky;
  top: 0;
  z-index: 3;
  min-height: 0;
  display: grid;
  align-items: center;
  padding: 1.4rem;
  margin-bottom: 1.4rem;
  height: calc(100vh - (46vh * var(--hero-progress)));
  transition: height 0.22s ease;
}

.hero {
  position: relative;
  width: min(1200px, 100%);
  margin: 0 auto;
  min-height: 74vh;
  display: grid;
  grid-template-rows: auto 1fr;
  opacity: calc(1 - var(--hero-progress));
  transform: translateY(calc(-38px * var(--hero-progress))) scale(calc(1 - (0.035 * var(--hero-progress))));
  transform-origin: center top;
  transition: opacity 0.22s ease, transform 0.22s ease;
  will-change: opacity, transform;
}

.hero-shell.is-hero-collapsed,
.hero-shell.is-hero-collapsed .hero {
  pointer-events: none;
}

.brand {
  display: flex;
  align-items: center;
  margin-top: -6.2rem;
  margin-left: -4rem;
  justify-self: start;
}

.brand-logo {
  width: 11.66rem;
  height: auto;
  display: block;
  opacity: 0.92;
  mix-blend-mode: multiply;
}

.hero__inner {
  align-self: center;
  text-align: center;
  margin-top: 6rem;
  transform: scale(calc(1 - (0.06 * var(--hero-progress))));
  opacity: calc(1 - (0.12 * var(--hero-progress)));
  transform-origin: center top;
  transition: transform 0.24s ease, opacity 0.24s ease;
}

.hero h2 {
  margin: 0 0 1.45rem;
  color: #4e4845;
  font-family: var(--font-serif);
  font-size: 1.98rem;
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: 0;
}

.hero h2,
.hero__countdown {
  position: relative;
  top: 1rem;
}

.hero__countdown {
  margin: 0 auto;
}

.countdown-grid {
  display: inline-grid;
  grid-template-columns: auto auto auto auto auto auto auto;
  align-items: start;
  gap: 1.32rem;
  color: var(--rose);
  font-family: var(--font-serif);
}

.countdown-unit {
  display: grid;
  justify-items: center;
  min-width: 7.9rem;
}

.countdown-unit strong {
  display: block;
  font-size: 8.8rem;
  font-weight: 500;
  line-height: 0.92;
  letter-spacing: 0;
}

.countdown-unit small {
  margin-top: 0.66rem;
  color: var(--rose-dark);
  font-family: var(--font-sans);
  font-size: 0.9rem;
  font-weight: 400;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.countdown-divider {
  color: rgba(207, 136, 133, 0.72);
  font-size: 7rem;
  line-height: 0.95;
  transform: translateY(0.1rem);
}

.hero__open-time {
  margin: 3.99rem 0 0;
  color: #4d4744;
  font-family: var(--font-serif);
  font-size: 1.72rem;
  font-weight: 700;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.hero__scroll-cue {
  width: 2.38rem;
  height: 2.38rem;
  margin: 1.44rem auto 0.45rem;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 999px;
  background: rgba(207, 136, 133, 0.14);
  color: var(--rose);
  font-size: 1.29rem;
  cursor: pointer;
  animation: float 1.4s ease-in-out infinite alternate;
}

.hero__scroll-cue:hover,
.hero__scroll-cue:focus-visible {
  background: rgba(207, 136, 133, 0.22);
  outline: none;
}

.hero__scroll-text {
  margin: 1.75rem 0 0;
  color: rgba(77, 71, 68, 0.56);
  font-size: 1rem;
  font-weight: 600;
}

.hero__open-time,
.hero__scroll-cue,
.hero__scroll-text {
  position: relative;
  top: 1rem;
}

.hero-shell.is-countdown-collapsed .hero__countdown,
.hero-shell.is-countdown-collapsed .hero__open-time {
  opacity: 0 !important;
  visibility: hidden;
  pointer-events: none;
}

.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;
}

.floating-tools {
  position: fixed;
  top: 1rem;
  right: 1rem;
  z-index: 8;
}

.thread-search {
  position: relative;
  width: 8.6rem;
}

.thread-search input {
  width: 100%;
  height: 2rem;
  border: 1px solid rgba(96, 77, 68, 0.16);
  border-radius: 999px;
  padding: 0.25rem 2.2rem 0.25rem 0.75rem;
  background: rgba(255, 255, 255, 0.46);
  color: rgba(77, 71, 68, 0.78);
  font-size: 0.9rem;
  font-weight: 600;
  box-shadow: 0 8px 20px rgba(102, 82, 72, 0.06);
  backdrop-filter: blur(10px);
  transition: background 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.thread-search input::-webkit-search-cancel-button {
  display: none;
  -webkit-appearance: none;
  appearance: none;
}

.thread-search input::placeholder {
  color: rgba(77, 71, 68, 0.62);
  opacity: 1;
}

.thread-search input:focus {
  background: rgba(255, 255, 255, 0.82);
  border-color: rgba(207, 136, 133, 0.32);
  box-shadow: 0 10px 24px rgba(102, 82, 72, 0.09);
}

.thread-search:focus-within {
  width: 10rem;
}

.thread-search input:focus,
.thread-search input:hover {
  color: var(--rose-dark);
}

.thread-search__clear {
  position: absolute;
  top: 50%;
  right: 0.72rem;
  width: 1.25rem;
  height: 1.25rem;
  display: grid;
  place-items: center;
  transform: translateY(-50%);
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--rose-dark) !important;
  cursor: pointer;
  font-size: 1.55rem;
  line-height: 1;
}

.thread-search__clear[hidden] {
  display: none !important;
}

.compact-countdown {
  display: none !important;
  min-width: 12rem;
  padding: 0.72rem 1.15rem;
  justify-items: center;
  gap: 0.18rem;
  border-radius: 999px;
  border: 1px solid rgba(92, 79, 72, 0.18);
  background: rgba(255, 255, 255, 0.72);
  color: var(--ink);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(14px);
  opacity: 0;
  transform: translateY(-8px) scale(0.95);
  pointer-events: none;
}

.compact-countdown__label {
  display: block;
  margin-bottom: -0.05rem;
  color: var(--rose-dark);
  font-family: var(--font-butler-light);
  font-size: 0.78rem;
  font-weight: 300;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.compact-countdown__time {
  color: #4d4744;
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 700;
  line-height: 1;
}

.compact-countdown__sub {
  display: block;
  margin-top: 0.18rem;
  color: var(--muted);
  font-family: var(--font-butler-light);
  font-size: 0.84rem;
  font-weight: 300;
}

.content-shell {
  position: relative;
  z-index: 2;
  width: min(1240px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 0 0 4rem;
  display: grid;
  gap: 1.4rem;
}

.section {
  width: 100%;
  margin: 0 auto;
  padding: 1.35rem;
  border: 1px solid rgba(92, 79, 72, 0.1);
  border-radius: 0.9rem;
  background: var(--paper-soft);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(18px);
  position: relative;
  overflow: hidden;
}

.section--activity {
  padding: 1.15rem 1.35rem;
}

.section__header h2 {
  margin: 0;
  color: #514a46;
  font-family: var(--font-serif);
  font-size: 1.7rem;
  font-weight: 700;
  line-height: 1.1;
}

.section p {
  margin: 0.35rem 0 0;
  color: var(--muted);
}

.activity-grid {
  margin-top: 1rem;
  display: grid;
  gap: 0.9rem;
  grid-template-columns: repeat(3, 1fr);
}

.activity-card {
  min-height: 4rem;
  padding: 0.35rem 0 0.35rem 1rem;
  display: grid;
  gap: 0.2rem;
  border-left: 2px solid rgba(207, 136, 133, 0.44);
  background: transparent;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.activity-card:hover {
  transform: translateY(-1px);
}

.activity-card__top {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
}

.activity-card__name {
  color: #4f4844;
  font-size: 0.95rem;
  font-weight: 900;
}

.activity-card__time {
  color: var(--muted);
  font-size: 0.78rem;
  white-space: nowrap;
}

.activity-card__snippet {
  margin: 0;
  color: #6b625e;
  font-size: 0.86rem;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.activity-card__jump {
  justify-self: start;
  padding: 0;
  color: var(--rose-dark);
  background: transparent;
  border: 0;
  box-shadow: none;
  font-size: 0.82rem;
}

.comment-form {
  width: min(100%, 46rem);
  margin: 1.1rem auto 0;
  display: grid;
  gap: 0.65rem;
}

input,
textarea,
button {
  font: inherit;
}

input,
textarea {
  width: 100%;
  border: 1px solid rgba(92, 79, 72, 0.12);
  border-radius: 0.65rem;
  background: rgba(255, 255, 255, 0.72);
  background-clip: padding-box;
  color: var(--ink);
  padding: 0.78rem 0.9rem;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7);
}

input::placeholder,
textarea::placeholder {
  color: rgba(77, 71, 68, 0.48);
}

label {
  color: #5a524e;
  font-size: 0.9rem;
  font-weight: 900;
}

input:focus-visible,
textarea:focus-visible {
  outline: none;
  border-color: rgba(207, 136, 133, 0.38);
  box-shadow:
    inset 0 0 0 2px rgba(207, 136, 133, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.72);
}

button:focus-visible {
  outline: 2px solid rgba(207, 136, 133, 0.42);
  outline-offset: 2px;
}

.btn {
  border: 0;
  border-radius: 999px;
  padding: 0.62rem 1.15rem;
  cursor: pointer;
  font-weight: 900;
}

.btn--primary {
  width: fit-content;
  color: #fffaf8;
  background: linear-gradient(135deg, #d89a96, #c77b78);
  box-shadow: 0 12px 24px rgba(199, 123, 120, 0.18);
}

.btn--secondary {
  width: fit-content;
  color: var(--rose-dark);
  background: rgba(207, 136, 133, 0.11);
  border: 1px solid rgba(207, 136, 133, 0.22);
}

.form-error {
  margin: 0;
  color: var(--rose-dark);
  font-size: 0.9rem;
}

.comment-thread {
  width: min(100%, 46rem);
  margin-top: 1rem;
  margin-inline: auto;
  display: grid;
  gap: 0.85rem;
}

.section--thread .section__header {
  width: min(100%, 46rem);
  margin-inline: auto;
}

.comment {
  position: relative;
  scroll-margin-top: 7rem;
  padding: 1rem;
  border: 1px solid rgba(92, 79, 72, 0.08);
  border-radius: 0.8rem;
  background: rgba(255, 255, 255, 0.58);
  box-shadow: 0 12px 34px rgba(102, 82, 72, 0.07);
}

.comment::before {
  content: "";
  position: absolute;
  left: -1rem;
  top: 0;
  width: 1px;
  height: 100%;
  background: linear-gradient(180deg, transparent, rgba(207, 136, 133, 0.35), transparent);
}

.comment--level-0::before {
  display: none;
}

.comment--search-hit {
  border-color: rgba(207, 136, 133, 0.44);
  box-shadow: 0 0 0 1px rgba(207, 136, 133, 0.08), var(--shadow-soft);
}

.comment__header {
  display: flex;
  justify-content: space-between;
  gap: 0.8rem;
}

.comment__user {
  color: #4f4844;
  font-weight: 900;
}

.comment__user--link {
  color: #c66e6b;
  text-decoration: none;
}

.comment__user--link:hover,
.comment__user--link:focus-visible {
  color: #a85e5a;
  text-decoration: underline;
}

.comment__time {
  color: var(--muted);
  font-size: 0.82rem;
  white-space: nowrap;
}

.comment__body {
  max-width: 64ch;
  margin: 0.8rem 0 0.65rem;
  color: #5b5350;
  line-height: 1.55;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

.comment__actions {
  display: flex;
  gap: 0.65rem;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: flex-start;
  width: 100%;
}

.comment-action[data-action="reply"] {
  order: 1;
}

.comment-action[data-action="like"] {
  order: 2;
  margin-left: auto;
}

.comment-action {
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 0.24rem 0.5rem 0.24rem 0.3rem;
  background: transparent;
  color: rgba(151, 86, 83, 0.82);
  display: inline-flex;
  align-items: center;
  gap: 0.36rem;
  cursor: pointer;
  font-weight: 300;
  transition: color 0.22s ease, background 0.22s ease, border-color 0.22s ease, transform 0.22s ease;
  appearance: none;
  -webkit-appearance: none;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}

.comment-action .icon {
  width: 1.68rem;
  height: 1.68rem;
  border: 0;
  border-radius: 0;
  display: inline-grid;
  place-items: center;
  background: transparent;
  color: inherit;
  font-size: 1rem;
  font-family: inherit;
  line-height: 1;
  box-shadow: none;
  transform: translateY(-0.02rem);
  transition: filter 0.22s ease, transform 0.22s ease;
}

.comment-action .icon img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  pointer-events: none;
}

.comment-action .reply-icon {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  flex: 0 0 auto;
}

.comment-collapse .icon {
  width: 1.05rem;
  height: 1.05rem;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  color: inherit;
  font-size: inherit;
}

.comment-action:hover,
.comment-action:focus-visible {
  color: #a86562;
  background: rgba(207, 136, 133, 0.055);
  border-color: rgba(207, 136, 133, 0.14);
  transform: translateY(-1px);
}

.comment-action[data-action="like"]:hover,
.comment-action[data-action="like"]:focus-visible,
.comment-action[data-action="like"][data-active="true"]:hover,
.comment-action[data-action="like"][data-active="true"]:focus-visible {
  color: rgba(151, 86, 83, 0.82);
  background: transparent;
  border-color: transparent;
  transform: none;
}

.comment-action:hover .icon,
.comment-action:focus-visible .icon {
  filter: brightness(1.03) saturate(1.04);
  transform: translateY(-0.08rem) scale(1.03);
}

.comment-action[data-active="true"] {
  color: #9f5c59;
  background: rgba(207, 136, 133, 0.1);
  border-color: rgba(207, 136, 133, 0.2);
}

.comment-action[data-active="true"]:not([data-action="like"]) .icon {
  filter: drop-shadow(0 0.34rem 0.62rem rgba(148, 93, 89, 0.16));
}

.comment-action[data-action="like"][data-active="true"] {
  background: transparent;
  border-color: transparent;
  color: inherit;
}

.comment-action[data-action="like"] {
  transition: color 0.22s ease, background 0.22s ease, border-color 0.22s ease;
}

.comment-action[data-action="like"] .icon {
  transition: filter 0.22s ease;
}

.comment__replies {
  margin-top: 0.75rem;
  padding-left: 1rem;
  display: grid;
  gap: 0.75rem;
  border-left: 1px solid rgba(207, 136, 133, 0.18);
  overflow: hidden;
  transform-origin: top;
  opacity: 1;
  transform: translateY(0);
  will-change: max-height, opacity, transform;
  transition:
    max-height 0.42s cubic-bezier(0.2, 0.78, 0.24, 1),
    opacity 0.3s ease,
    transform 0.42s cubic-bezier(0.2, 0.78, 0.24, 1);
}

.comment__replies--flat {
  margin-left: 0 !important;
  padding-left: 0 !important;
  border-left: 0 !important;
}

.comment__replies--flat .comment__replies {
  margin-left: 0 !important;
  padding-left: 0 !important;
  border-left: 0 !important;
}

.comment__replies--flat > .comment,
.comment__replies--flat .comment {
  width: 100% !important;
  max-width: 100% !important;
}

.comment__replies--flat > .comment::before,
.comment__replies--flat .comment::before {
  display: none !important;
}

.comment__replies.is-collapsing {
  opacity: 0;
  transform: translateY(-0.25rem);
}

.comment--highlight {
  animation: pulse 1.1s ease;
}

.comment--new {
  animation: fadeInUp 0.52s cubic-bezier(0.2, 0.78, 0.24, 1);
}

.comment-load-more {
  position: relative;
  display: grid;
  justify-items: center;
  gap: 0.55rem;
  margin: 0.35rem 0;
  padding: 1.15rem 1rem 0.95rem;
  overflow: hidden;
  border: 1px solid rgba(207, 136, 133, 0.14);
  border-radius: 0.8rem;
  background:
    linear-gradient(180deg, rgba(255, 252, 249, 0.08), rgba(255, 252, 249, 0.82)),
    rgba(255, 255, 255, 0.44);
  color: rgba(92, 79, 72, 0.58);
  text-align: center;
  animation: fadeInUp 0.42s ease both;
}

.comment-load-more::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 1.8rem;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(207, 136, 133, 0.12), transparent);
}

.comment-load-more span {
  position: relative;
  z-index: 1;
  font-size: 0.82rem;
}

.comment-load-more__button {
  position: relative;
  z-index: 1;
  width: fit-content;
  border: 1px solid rgba(207, 136, 133, 0.22);
  border-radius: 999px;
  padding: 0.58rem 0.9rem;
  background: rgba(255, 252, 249, 0.82);
  color: rgba(151, 86, 83, 0.86);
  cursor: pointer;
  box-shadow: 0 0.7rem 1.6rem rgba(102, 82, 72, 0.07);
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.comment-load-more__button:hover,
.comment-load-more__button:focus-visible {
  transform: translateY(-1px);
  border-color: rgba(207, 136, 133, 0.34);
  background: rgba(255, 252, 249, 0.96);
}

.comment-load-more--ready .comment-load-more__button {
  box-shadow: 0 0.82rem 1.8rem rgba(207, 136, 133, 0.13);
}

.comment-load-more--replies {
  margin: 0.1rem 0 0;
  padding: 0.8rem 0.75rem;
  border-radius: 0.7rem;
  box-shadow: none;
}

.archive-list {
  margin-top: 1rem;
  display: grid;
  gap: 0.65rem;
}

.archive-item {
  padding: 0.8rem;
  display: flex;
  justify-content: space-between;
  gap: 0.8rem;
  border-radius: 0.65rem;
  background: rgba(255, 255, 255, 0.46);
  border: 1px solid rgba(92, 79, 72, 0.08);
}

.archive-item__title {
  margin: 0;
  color: #4f4844;
  min-width: 0;
  display: inline-flex;
  align-items: baseline;
  gap: 0.3rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  font-family: var(--font-montserrat-light) !important;
  font-weight: 300;
  line-height: 1.2;
  max-width: min(65vw, 26rem);
}

.archive-item__meta {
  margin: 0;
  color: var(--muted);
  white-space: nowrap;
  font-size: 0.9rem;
}

.archive-item__date {
  flex: 0 0 auto;
  font-family: inherit;
  font-size: inherit;
  line-height: 1.2;
  color: inherit;
  font-weight: inherit;
}

.archive-item--clickable {
  cursor: pointer;
  transition: background 0.18s ease, border-color 0.18s ease, transform 0.18s ease;
}

.archive-item--clickable:hover,
.archive-item--clickable:focus-visible,
.archive-item--active {
  border-color: rgba(207, 136, 133, 0.26);
  background: rgba(255, 255, 255, 0.72);
  transform: translateY(-1px);
  outline: none;
}

.thread-mode-switch {
  margin-top: 0.8rem;
  padding: 0.55rem 0.9rem;
  border: 1px solid rgba(207, 136, 133, 0.26);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.48);
  color: var(--rose-dark);
  font: 700 0.8rem/1 var(--font-sans);
  cursor: pointer;
  transition: background 0.18s ease, transform 0.18s ease;
}

.thread-mode-switch:hover,
.thread-mode-switch:focus-visible {
  background: rgba(207, 136, 133, 0.12);
  transform: translateY(-1px);
}

.thread-count {
  margin-top: 0.55rem !important;
  color: rgba(77, 71, 68, 0.55) !important;
  font: 600 0.92rem/1.3 var(--font-sans);
}

.visitor-count {
  display: inline-flex;
  align-items: center;
  gap: 0.42rem;
  margin-top: 0.3rem !important;
  color: rgba(168, 101, 98, 0.72) !important;
  font: 600 0.88rem/1.3 var(--font-sans);
}

.visitor-count__dot {
  width: 0.48rem;
  height: 0.48rem;
  border-radius: 999px;
  background: var(--rose);
  box-shadow: 0 0 0 0 rgba(207, 136, 133, 0.34);
  animation: onlinePulse 1.8s ease-in-out infinite;
}

@keyframes onlinePulse {
  0% {
    box-shadow: 0 0 0 0 rgba(207, 136, 133, 0.34);
  }

  70% {
    box-shadow: 0 0 0 0.42rem rgba(207, 136, 133, 0);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(207, 136, 133, 0);
  }
}

.section--activity.activity-refresh {
  animation: activityFade 0.65s ease;
}

@media (max-width: 900px) {
  .site-nav {
    left: 1rem;
    right: 1rem;
    gap: 0.85rem;
    font-size: 0.78rem;
  }

  .site-nav a,
  .thread-search {
    display: flex;
  }

  .thread-search {
    width: min(9.5rem, 30vw);
  }

  .hero {
    min-height: 78vh;
  }

  .countdown-grid {
    gap: 0.6rem;
  }

  .countdown-unit {
    min-width: 4.62rem;
  }

  .countdown-unit strong {
    font-size: 4.07rem;
  }

  .countdown-divider {
    font-size: 3.3rem;
  }

  .activity-grid {
    grid-template-columns: 1fr;
  }
}

/* Final like button override: no glow/drop-shadow on liked or hover state. */
.comment-action[data-action="like"] .icon,
.comment-action[data-action="like"][data-active="true"] .icon,
.comment-action[data-action="like"]:hover .icon,
.comment-action[data-action="like"]:focus-visible .icon {
  filter: none !important;
  transform: none !important;
  box-shadow: none !important;
}

@media (max-width: 760px) {
  .floating-tools {
    right: 0.7rem;
  }

  .compact-countdown {
    min-width: 9.5rem;
    padding: 0.62rem 0.85rem;
  }

  .compact-countdown__label {
    font-size: 0.64rem;
  }

  .compact-countdown__time {
    font-size: 1.05rem;
  }

  .compact-countdown__sub {
    font-size: 0.72rem;
  }

  .hero-shell {
    padding: 1rem;
  }

  .brand-logo {
    width: 12rem;
  }

  .hero h2 {
    font-size: 1.7rem;
  }

  .countdown-grid {
    grid-template-columns: auto auto auto auto auto auto auto;
    gap: 0.32rem;
  }

  .countdown-unit {
    min-width: 3.1rem;
  }

  .countdown-unit strong {
    font-size: 2.75rem;
  }

  .countdown-unit small {
    font-size: 0.55rem;
  }

  .countdown-divider {
    font-size: 2.2rem;
  }

  .hero__open-time {
    font-size: 1.45rem;
  }

  .content-shell {
    width: min(100% - 1rem, 1240px);
  }

  .section {
    padding: 1rem;
  }

  .archive-item {
    flex-direction: column;
    align-items: flex-start;
  }

  .comment__header {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    text-align: left;
  }
}

@media (hover: none) and (pointer: coarse) {
  .btn:hover,
  .comment-action:hover {
    transform: none;
  }
}

@keyframes float {
  from {
    transform: translateY(0);
    opacity: 0.72;
  }
  to {
    transform: translateY(5px);
    opacity: 1;
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 rgba(207, 136, 133, 0.48);
  }
  60% {
    box-shadow: 0 0 0 14px rgba(207, 136, 133, 0);
  }
  100% {
    box-shadow: 0 0 0 transparent;
  }
}

@keyframes activityFade {
  0% {
    opacity: 0.45;
    transform: translateY(6px);
    border-color: rgba(207, 136, 133, 0.32);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
    border-color: rgba(92, 79, 72, 0.1);
  }
}

/* Final override: latest activity as three compact cards */
.section--activity {
  width: min(1020px, calc(100% - 2.8rem)) !important;
  padding: clamp(1rem, 2vw, 1.45rem) !important;
}

.section--activity #activityTitle {
  margin-bottom: 0.35rem !important;
  font-size: 1.7rem !important;
}

.section--activity #activityTitle + p {
  margin-bottom: 1rem !important;
  color: rgba(77, 71, 68, 0.55) !important;
  font: 600 0.92rem/1.3 var(--font-sans) !important;
}

.section--thread #threadTitle {
  font-size: clamp(1.65rem, 3vw, 2.25rem) !important;
}

#threadTitle {
  display: inline-flex;
  align-items: baseline;
  gap: 0.25rem;
  white-space: nowrap;
  max-width: 100%;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
}

.thread-title-date {
  flex: 0 0 auto;
}

#activityList {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 0.8rem !important;
  align-items: stretch !important;
}

#activityList > * {
  display: grid !important;
  grid-template-rows: auto 1fr auto !important;
  min-width: 0 !important;
  padding: 0.9rem 0.95rem !important;
  border-left: 2px solid rgba(207, 136, 133, 0.44) !important;
  border-radius: 1rem !important;
  background: rgba(255, 255, 255, 0.54) !important;
  box-shadow: 0 0.8rem 2rem rgba(109, 82, 72, 0.07) !important;
}

#activityList > * > * {
  min-width: 0 !important;
}

#activityList strong,
#activityList h3,
#activityList h4 {
  font-size: 0.98rem !important;
  line-height: 1.15 !important;
}

#activityList p {
  display: -webkit-box !important;
  margin: 0.42rem 0 0.62rem !important;
  overflow: hidden !important;
  color: rgba(77, 71, 68, 0.72) !important;
  font-size: 0.86rem !important;
  line-height: 1.35 !important;
  -webkit-box-orient: vertical !important;
  -webkit-line-clamp: 2 !important;
}

#activityList time,
#activityList .activity-time,
#activityList .activity-date,
#activityList [datetime] {
  margin: 0.25rem 0 0.55rem !important;
  color: rgba(77, 71, 68, 0.56) !important;
  font-size: 0.72rem !important;
  line-height: 1.25 !important;
  white-space: normal !important;
}

#activityList button,
#activityList a {
  width: fit-content !important;
  min-height: 0 !important;
  padding: 0.45rem 0.72rem !important;
  border-radius: 999px !important;
  font-size: 0.75rem !important;
}

@media (max-width: 760px) {
  #activityList {
    grid-template-columns: 1fr !important;
  }
}

/* Final override: make the main countdown visibly larger */
.hero__countdown.countdown-grid {
  gap: 1.09rem !important;
}

.hero__countdown .countdown-unit {
  min-width: 6.5rem !important;
}

.hero__countdown .countdown-unit strong {
  font-size: 5.78rem !important;
}

.hero__countdown .countdown-unit small {
  margin-top: 0.54rem !important;
  font-size: 0.86rem !important;
}

.hero__countdown .countdown-divider {
  font-size: 4.59rem !important;
}

/* Final mobile/browser stability pass */
@media (max-width: 760px) {
  .site-nav {
    top: 0.65rem !important;
    left: 0.55rem !important;
    right: 0.55rem !important;
    gap: 0.45rem !important;
    flex-wrap: wrap !important;
    justify-content: flex-end !important;
    font-size: 0.68rem !important;
  }

  .site-nav .nav-modal-trigger,
  .site-nav a {
    min-height: 32px;
  }

  .thread-search {
    width: 7.4rem !important;
  }

  .thread-search:focus-within {
    width: 8.2rem !important;
  }

  .thread-search input {
    height: 1.9rem !important;
    font-size: 0.78rem !important;
  }

  .brand {
    margin-top: -4.7rem !important;
    margin-left: -2.2rem !important;
  }

  .brand-logo {
    width: 8.6rem !important;
  }

  .hero__countdown.countdown-grid {
    gap: 0.36rem !important;
  }

  .hero__countdown .countdown-unit {
    min-width: 3.55rem !important;
  }

  .hero__countdown .countdown-unit strong {
    font-size: 3.35rem !important;
  }

  .hero__countdown .countdown-unit small {
    font-size: 0.78rem !important;
  }

  .hero__countdown .countdown-divider {
    font-size: 2.7rem !important;
  }

  .content-shell {
    width: min(100% - 0.75rem, 1240px) !important;
  }

  .section {
    padding: 1rem !important;
    border-radius: 1rem !important;
  }

  .comment-thread,
  .comment__replies {
    gap: 0.7rem !important;
  }

  .comment {
    padding: 0.95rem !important;
    border-radius: 1rem !important;
  }

  .comment__header {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    flex-wrap: nowrap !important;
    min-width: 0 !important;
    width: 100% !important;
  }

  .comment__user {
    min-width: 0 !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
  }

  .comment-collapse {
    margin-left: auto !important;
    flex-shrink: 0 !important;
  }

  .comment__actions {
    gap: 0.65rem !important;
  }

  .comment-action {
    min-height: 36px !important;
  }

  .comment-action[data-action="reply"] .icon {
    display: inline-grid !important;
    width: 1.68rem !important;
    height: 1.68rem !important;
    min-width: 1.68rem !important;
    min-height: 1.68rem !important;
    padding: 0 !important;
  }

  .comment-action[data-action="reply"] .icon img {
    width: 100% !important;
    height: 100% !important;
    display: block !important;
    flex: 0 0 auto !important;
    object-fit: contain !important;
  }

  .comment__replies {
    padding-left: 0.45rem !important;
  }

  .comment-form {
    gap: 0.75rem !important;
  }
}

@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .section,
  .compact-countdown,
  .info-modal,
  .login-card,
  .panel,
  .stat-card,
  .admin-header {
    background: rgba(255, 252, 249, 0.94) !important;
  }
}

/* Parchment etik tab */
.parchment-widget {
  position: fixed;
  right: clamp(-2.7rem, -2vw, -1.1rem);
  bottom: clamp(-2.6rem, -1.9vw, -1rem);
  z-index: 9;
  width: clamp(10rem, 20vw, 18rem);
  height: clamp(7rem, 14vw, 13rem);
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  isolation: isolate;
  opacity: calc(1 - var(--hero-progress));
  transform: translate3d(0, calc(-56px * var(--hero-progress)), 0) scale(calc(1 - (0.04 * var(--hero-progress))));
  transform-origin: right bottom;
  transition:
    width 0.82s cubic-bezier(0.17, 0.84, 0.24, 1),
    height 0.82s cubic-bezier(0.17, 0.84, 0.24, 1),
    right 0.82s cubic-bezier(0.17, 0.84, 0.24, 1),
    bottom 0.82s cubic-bezier(0.17, 0.84, 0.24, 1),
    opacity 0.34s ease,
    transform 0.34s ease;
  will-change: transform, opacity, width, height;
}

.hero-shell.is-hero-collapsed .parchment-widget {
  pointer-events: none;
}

.parchment-widget:focus-visible {
  outline: 2px solid rgba(207, 136, 133, 0.55);
  outline-offset: 0.35rem;
  border-radius: 1.5rem;
}

.parchment-widget__tab,
.parchment-widget__roll {
  position: absolute;
  right: 0;
  bottom: 0;
  display: block;
}

.parchment-widget__tab {
  width: 100%;
  transform-origin: right bottom;
  transition:
    opacity 0.24s ease,
    filter 0.36s ease,
    transform 0.42s cubic-bezier(0.18, 0.86, 0.3, 1.18);
}

.parchment-widget__tab img,
.parchment-widget__roll img {
  display: block;
  width: 100%;
  height: auto;
  user-select: none;
  -webkit-user-drag: none;
}

.parchment-widget__tab img {
  filter:
    drop-shadow(-0.4rem 0.6rem 0.65rem rgba(83, 65, 50, 0.16))
    drop-shadow(-0.1rem 0.18rem 0.12rem rgba(83, 65, 50, 0.16));
}

.parchment-widget::before {
  content: "";
  position: absolute;
  right: -2.5rem;
  bottom: -2.5rem;
  width: 150%;
  height: 150%;
  background: linear-gradient(105deg, transparent 30%, rgba(255, 255, 255, 0.78) 48%, transparent 64%);
  mix-blend-mode: screen;
  opacity: 0;
  transform: translateX(-135%) rotate(10deg);
  pointer-events: none;
  z-index: 3;
}

.parchment-widget:hover .parchment-widget__tab,
.parchment-widget:focus-visible .parchment-widget__tab {
  filter: brightness(1.04) saturate(1.03);
  transform: translate3d(-0.55rem, -0.55rem, 0) rotate(-1.25deg) scale(1.055);
}

.parchment-widget:hover::before,
.parchment-widget:focus-visible::before {
  animation: parchmentShine 0.86s ease;
}

.parchment-widget__roll {
  width: min(47vw, 46rem);
  right: clamp(0.6rem, 1.6vw, 1.4rem);
  bottom: clamp(-0.5rem, -0.2vw, -0.1rem);
  opacity: 0;
  pointer-events: none;
  clip-path: inset(78% 0 0 74% round 1.6rem);
  transform: perspective(950px) rotateX(64deg) rotateZ(-2.4deg) scale(0.18) translate3d(34%, 28%, 0);
  transform-origin: 96% 96%;
  transition:
    opacity 0.24s ease 0.08s,
    clip-path 0.9s cubic-bezier(0.16, 0.92, 0.2, 1),
    transform 0.9s cubic-bezier(0.16, 0.92, 0.2, 1);
}

.parchment-widget__roll img {
  filter:
    drop-shadow(-0.75rem 0.85rem 0.75rem rgba(79, 62, 49, 0.18))
    drop-shadow(-0.12rem 0.18rem 0.16rem rgba(79, 62, 49, 0.16));
}

.parchment-widget__roll::after {
  content: "";
  position: absolute;
  inset: 4% 2% 7%;
  background: linear-gradient(105deg, transparent 34%, rgba(255, 255, 255, 0.34) 50%, transparent 66%);
  opacity: 0;
  transform: translateX(-80%);
  pointer-events: none;
}

.parchment-widget.is-open {
  right: clamp(0.75rem, 2.4vw, 2.5rem);
  bottom: clamp(-0.85rem, 0.8vw, 0.55rem);
  width: min(49vw, 48rem);
  height: min(24vw, 20rem);
}

.parchment-widget.is-open .parchment-widget__tab {
  opacity: 0;
  transform: translate3d(1.4rem, 1rem, 0) rotate(3deg) scale(0.72);
  pointer-events: none;
}

.parchment-widget.is-open .parchment-widget__roll {
  opacity: 1;
  clip-path: inset(0 0 0 0 round 0.45rem);
  transform: perspective(950px) rotateX(0deg) rotateZ(-1.35deg) scale(1) translate3d(0, 0, 0);
  animation: parchmentSettle 1.08s cubic-bezier(0.16, 0.92, 0.2, 1) both;
}

.parchment-widget.is-open .parchment-widget__roll::after {
  animation: parchmentRollGleam 1.05s ease 0.18s;
}

@keyframes parchmentShine {
  0% {
    opacity: 0;
    transform: translateX(-135%) rotate(10deg);
  }

  28% {
    opacity: 0.62;
  }

  100% {
    opacity: 0;
    transform: translateX(45%) rotate(10deg);
  }
}

@keyframes parchmentRollGleam {
  0% {
    opacity: 0;
    transform: translateX(-82%);
  }

  35% {
    opacity: 0.45;
  }

  100% {
    opacity: 0;
    transform: translateX(72%);
  }
}

@keyframes parchmentSettle {
  0% {
    filter: brightness(1.06);
  }

  72% {
    filter: brightness(1.01);
  }

  100% {
    filter: brightness(1);
  }
}

@media (max-width: 760px) {
  .parchment-widget {
    right: -3.7rem;
    bottom: -2.5rem;
    width: 10.4rem;
    height: 8.2rem;
  }

  .parchment-widget.is-open {
    right: 0.15rem;
    bottom: 0.2rem;
    width: min(86vw, 27rem);
    height: 14rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .parchment-widget,
  .parchment-widget::before,
  .parchment-widget__tab,
  .parchment-widget__roll,
  .parchment-widget__roll::after,
  .comment--new,
  .comment-load-more,
  .comment-load-more__button {
    animation: none !important;
    transition-duration: 0.01ms !important;
  }
}

/* Parchment etik tab v2: uses only the uploaded etik image */
.parchment-widget {
  right: clamp(-2.6rem, -1.8vw, -0.95rem);
  bottom: clamp(-2.25rem, -1.5vw, -0.75rem);
  width: clamp(8.4rem, 14vw, 12.4rem);
  height: clamp(6.5rem, 10vw, 9.4rem);
  perspective: 1100px;
}

.parchment-widget__tab {
  width: 100%;
  height: 100%;
  overflow: hidden;
  border-radius: 58% 36% 24% 48%;
  clip-path: polygon(34% 100%, 100% 100%, 100% 4%, 74% 10%, 58% 24%, 44% 39%, 28% 51%, 12% 70%);
  transform: rotate(-10deg) skew(-7deg, 4deg) scale(1);
  filter:
    drop-shadow(-0.38rem 0.58rem 0.55rem rgba(83, 65, 50, 0.18))
    drop-shadow(-0.1rem 0.16rem 0.12rem rgba(83, 65, 50, 0.16));
}

.parchment-widget__tab img {
  position: absolute;
  right: -0.85rem;
  bottom: -0.6rem;
  width: clamp(25rem, 50vw, 44rem);
  max-width: none;
  filter: contrast(1.02) saturate(0.96);
}

.parchment-widget__tab::before,
.parchment-widget__tab::after {
  content: "";
  position: absolute;
  inset: -12%;
  pointer-events: none;
  z-index: 2;
}

.parchment-widget__tab::before {
  background:
    linear-gradient(122deg, transparent 22%, rgba(116, 88, 61, 0.13) 23%, transparent 31%),
    linear-gradient(42deg, transparent 37%, rgba(255, 255, 255, 0.4) 39%, transparent 45%),
    radial-gradient(circle at 34% 73%, rgba(82, 57, 36, 0.22), transparent 18%),
    radial-gradient(circle at 72% 34%, rgba(255, 255, 255, 0.32), transparent 22%);
  mix-blend-mode: multiply;
  opacity: 0.52;
}

.parchment-widget__tab::after {
  background: linear-gradient(105deg, transparent 31%, rgba(255, 255, 255, 0.72) 48%, transparent 62%);
  mix-blend-mode: screen;
  opacity: 0;
  transform: translateX(-110%) rotate(6deg);
}

.parchment-widget:hover .parchment-widget__tab,
.parchment-widget:focus-visible .parchment-widget__tab {
  transform: translate3d(-0.55rem, -0.58rem, 0) rotate(-13deg) skew(-6deg, 3deg) scale(1.08);
  filter:
    brightness(1.05)
    drop-shadow(-0.56rem 0.72rem 0.65rem rgba(83, 65, 50, 0.2))
    drop-shadow(-0.1rem 0.16rem 0.12rem rgba(83, 65, 50, 0.16));
}

.parchment-widget:hover .parchment-widget__tab::after,
.parchment-widget:focus-visible .parchment-widget__tab::after {
  animation: parchmentCornerGleam 0.86s ease;
}

.parchment-widget::before {
  display: none;
}

.parchment-widget__roll {
  width: min(47vw, 46rem);
  right: clamp(0.45rem, 1.5vw, 1.35rem);
  bottom: clamp(-0.5rem, -0.2vw, -0.1rem);
  opacity: 0;
  clip-path: polygon(80% 76%, 100% 66%, 98% 100%, 69% 96%, 72% 84%);
  border-radius: 44% 31% 42% 35%;
  transform:
    perspective(1100px)
    translate3d(31%, 31%, 0)
    rotateX(72deg)
    rotateY(-28deg)
    rotateZ(19deg)
    scale(0.16);
  filter: contrast(1.08) brightness(0.98) saturate(0.92);
  transform-origin: 92% 88%;
  transition:
    opacity 0.18s ease 0.04s,
    clip-path 0.95s cubic-bezier(0.16, 0.92, 0.2, 1),
    border-radius 0.95s cubic-bezier(0.16, 0.92, 0.2, 1),
    filter 0.95s ease,
    transform 0.95s cubic-bezier(0.16, 0.92, 0.2, 1);
}

.parchment-widget__roll::before,
.parchment-widget__roll::after {
  content: "";
  position: absolute;
  inset: 4% 1.5% 6%;
  pointer-events: none;
  opacity: 0;
}

.parchment-widget__roll::before {
  background:
    linear-gradient(93deg, transparent 13%, rgba(91, 67, 47, 0.13) 14%, transparent 18%),
    linear-gradient(116deg, transparent 41%, rgba(91, 67, 47, 0.11) 42%, transparent 46%),
    linear-gradient(69deg, transparent 61%, rgba(255, 255, 255, 0.28) 62%, transparent 66%),
    radial-gradient(circle at 84% 72%, rgba(77, 55, 36, 0.2), transparent 16%);
  mix-blend-mode: multiply;
}

.parchment-widget__roll::after {
  background: linear-gradient(105deg, transparent 34%, rgba(255, 255, 255, 0.36) 50%, transparent 66%);
  transform: translateX(-80%);
}

.parchment-widget.is-open {
  right: clamp(0.75rem, 2.4vw, 2.5rem);
  bottom: clamp(-0.85rem, 0.8vw, 0.55rem);
  width: min(49vw, 48rem);
  height: min(24vw, 20rem);
}

.parchment-widget.is-open .parchment-widget__tab {
  opacity: 0;
  transform: translate3d(1.2rem, 1rem, 0) rotate(18deg) skew(-12deg, 8deg) scale(0.18);
}

.parchment-widget.is-open .parchment-widget__roll {
  opacity: 1;
  clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
  border-radius: 0.35rem;
  transform:
    perspective(1100px)
    translate3d(0, 0, 0)
    rotateX(0deg)
    rotateY(0deg)
    rotateZ(-1.35deg)
    scale(1);
  filter: contrast(1) brightness(1) saturate(1);
  animation: parchmentUncrumple 1.08s cubic-bezier(0.16, 0.92, 0.2, 1) both;
}

.parchment-widget.is-open .parchment-widget__roll::before {
  animation: parchmentCreases 1.05s ease both;
}

.parchment-widget.is-open .parchment-widget__roll::after {
  animation: parchmentRollGleam 1.05s ease 0.18s;
}

@keyframes parchmentCornerGleam {
  0% {
    opacity: 0;
    transform: translateX(-110%) rotate(6deg);
  }

  30% {
    opacity: 0.72;
  }

  100% {
    opacity: 0;
    transform: translateX(42%) rotate(6deg);
  }
}

@keyframes parchmentUncrumple {
  0% {
    clip-path: polygon(80% 76%, 100% 66%, 98% 100%, 69% 96%, 72% 84%);
    border-radius: 44% 31% 42% 35%;
    transform: perspective(1100px) translate3d(31%, 31%, 0) rotateX(72deg) rotateY(-28deg) rotateZ(19deg) scale(0.16);
    filter: contrast(1.12) brightness(0.96) saturate(0.9);
  }

  24% {
    clip-path: polygon(53% 40%, 100% 24%, 94% 100%, 31% 91%, 11% 63%);
    border-radius: 30% 24% 28% 31%;
    transform: perspective(1100px) translate3d(18%, 20%, 0) rotateX(48deg) rotateY(-18deg) rotateZ(10deg) scale(0.38);
    filter: contrast(1.1) brightness(0.98) saturate(0.94);
  }

  48% {
    clip-path: polygon(14% 10%, 100% 0, 91% 100%, 7% 91%, 0 34%);
    border-radius: 16% 10% 12% 14%;
    transform: perspective(1100px) translate3d(7%, 9%, 0) rotateX(22deg) rotateY(-8deg) rotateZ(3deg) scale(0.72);
  }

  73% {
    clip-path: polygon(0 0, 100% 0, 100% 98%, 0 100%);
    border-radius: 1rem;
    transform: perspective(1100px) translate3d(-0.8%, -0.5%, 0) rotateX(-3deg) rotateY(2deg) rotateZ(-2deg) scale(1.025);
  }

  100% {
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
    border-radius: 0.35rem;
    transform: perspective(1100px) translate3d(0, 0, 0) rotateX(0deg) rotateY(0deg) rotateZ(-1.35deg) scale(1);
    filter: contrast(1) brightness(1) saturate(1);
  }
}

@keyframes parchmentCreases {
  0%, 12% {
    opacity: 0.55;
  }

  58% {
    opacity: 0.32;
  }

  100% {
    opacity: 0;
  }
}

@media (max-width: 760px) {
  .parchment-widget {
    right: -2.7rem;
    bottom: -2.2rem;
    width: 8.8rem;
    height: 7rem;
  }

  .parchment-widget__tab img {
    width: 26rem;
  }

  .parchment-widget.is-open {
    right: 0.15rem;
    bottom: 0.2rem;
    width: min(86vw, 27rem);
    height: 14rem;
  }
}

/* Parchment etik tab v3: fan-fold reveal */
.parchment-widget {
  right: clamp(-2.45rem, -1.65vw, -0.9rem) !important;
  bottom: clamp(-2.15rem, -1.35vw, -0.7rem) !important;
  width: clamp(8rem, 13.2vw, 11.8rem) !important;
  height: clamp(6.1rem, 9.4vw, 8.8rem) !important;
  perspective: 1400px !important;
  transform-style: preserve-3d;
}

.parchment-widget__tab {
  width: 100% !important;
  height: 100% !important;
  overflow: hidden !important;
  border-radius: 42% 22% 18% 54% !important;
  clip-path: polygon(43% 100%, 100% 100%, 100% 13%, 88% 9%, 77% 16%, 68% 30%, 56% 42%, 42% 54%, 21% 73%) !important;
  transform: rotate(-8deg) skew(-5deg, 3deg) scale(1) !important;
  transform-origin: right bottom !important;
}

.parchment-widget__tab img {
  right: -0.7rem !important;
  bottom: -0.35rem !important;
  width: clamp(23rem, 46vw, 40rem) !important;
}

.parchment-widget:hover .parchment-widget__tab,
.parchment-widget:focus-visible .parchment-widget__tab {
  transform: translate3d(-0.55rem, -0.5rem, 0) rotate(-11deg) skew(-4deg, 2deg) scale(1.07) !important;
}

.parchment-widget__roll {
  width: min(46vw, 44rem) !important;
  right: clamp(0.85rem, 2vw, 2rem) !important;
  bottom: clamp(-0.95rem, -0.25vw, -0.15rem) !important;
  opacity: 0 !important;
  border-radius: 0.4rem !important;
  clip-path: polygon(94% 91%, 100% 72%, 100% 100%, 76% 100%) !important;
  transform:
    perspective(1400px)
    translate3d(33%, 27%, 0)
    rotateX(18deg)
    rotateY(-34deg)
    rotateZ(-46deg)
    scale(0.16) !important;
  transform-origin: 96% 94% !important;
  filter: contrast(1.04) brightness(0.99) saturate(0.98) !important;
  transition:
    opacity 0.18s ease,
    clip-path 0.78s cubic-bezier(0.18, 0.9, 0.2, 1),
    transform 0.78s cubic-bezier(0.18, 0.9, 0.2, 1),
    filter 0.78s ease !important;
}

.parchment-widget__roll::before {
  content: "" !important;
  position: absolute !important;
  inset: 0 !important;
  opacity: 0 !important;
  pointer-events: none !important;
  background:
    conic-gradient(from 222deg at 96% 94%, transparent 0deg, rgba(91, 67, 47, 0.20) 3deg, transparent 6deg, transparent 13deg, rgba(91, 67, 47, 0.15) 16deg, transparent 19deg, transparent 28deg, rgba(255, 255, 255, 0.28) 32deg, transparent 36deg, transparent 48deg, rgba(91, 67, 47, 0.11) 52deg, transparent 56deg, transparent 74deg),
    radial-gradient(circle at 96% 94%, rgba(82, 58, 38, 0.18), transparent 26%);
  mix-blend-mode: multiply !important;
  z-index: 2 !important;
}

.parchment-widget__roll::after {
  content: "" !important;
  position: absolute !important;
  inset: 3% 1.5% 8% !important;
  pointer-events: none !important;
  opacity: 0 !important;
  background: linear-gradient(104deg, transparent 34%, rgba(255, 255, 255, 0.45) 50%, transparent 64%) !important;
  transform: translateX(-75%) !important;
  z-index: 3 !important;
}

.parchment-widget.is-open {
  right: clamp(0.65rem, 2.15vw, 2.25rem) !important;
  bottom: clamp(-1.05rem, 0.65vw, 0.35rem) !important;
  width: min(48vw, 46rem) !important;
  height: min(23vw, 19rem) !important;
}

.parchment-widget.is-open .parchment-widget__tab {
  opacity: 0 !important;
  transform: translate3d(1.25rem, 0.8rem, 0) rotate(-42deg) skew(-7deg, 5deg) scale(0.22) !important;
}

.parchment-widget.is-open .parchment-widget__roll {
  opacity: 1 !important;
  clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%) !important;
  transform:
    perspective(1400px)
    translate3d(0, 0, 0)
    rotateX(0deg)
    rotateY(0deg)
    rotateZ(-3.8deg)
    scale(1) !important;
  animation: parchmentFanOpen 0.96s cubic-bezier(0.16, 0.92, 0.18, 1) both !important;
}

.parchment-widget.is-open .parchment-widget__roll::before {
  animation: parchmentFanCreases 0.96s ease both !important;
}

.parchment-widget.is-open .parchment-widget__roll::after {
  animation: parchmentFanGleam 1.05s ease 0.14s both !important;
}

@keyframes parchmentFanOpen {
  0% {
    clip-path: polygon(94% 91%, 100% 72%, 100% 100%, 76% 100%);
    transform: perspective(1400px) translate3d(33%, 27%, 0) rotateX(18deg) rotateY(-34deg) rotateZ(-46deg) scale(0.16);
    filter: contrast(1.08) brightness(0.98) saturate(0.95);
  }

  18% {
    clip-path: polygon(73% 67%, 100% 32%, 100% 100%, 43% 100%);
    transform: perspective(1400px) translate3d(22%, 18%, 0) rotateX(12deg) rotateY(-24deg) rotateZ(-32deg) scale(0.34);
  }

  38% {
    clip-path: polygon(37% 31%, 100% 7%, 100% 100%, 12% 100%);
    transform: perspective(1400px) translate3d(12%, 9%, 0) rotateX(7deg) rotateY(-15deg) rotateZ(-18deg) scale(0.62);
  }

  62% {
    clip-path: polygon(2% 0, 100% 0, 100% 100%, 0 100%);
    transform: perspective(1400px) translate3d(-0.7%, -0.4%, 0) rotateX(-2deg) rotateY(3deg) rotateZ(-6.4deg) scale(1.035);
  }

  82% {
    transform: perspective(1400px) translate3d(0.25%, 0.1%, 0) rotateX(0deg) rotateY(-1deg) rotateZ(-2.9deg) scale(0.995);
  }

  100% {
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
    transform: perspective(1400px) translate3d(0, 0, 0) rotateX(0deg) rotateY(0deg) rotateZ(-3.8deg) scale(1);
    filter: contrast(1) brightness(1) saturate(1);
  }
}

@keyframes parchmentFanCreases {
  0% {
    opacity: 0.58;
  }

  58% {
    opacity: 0.42;
  }

  100% {
    opacity: 0;
  }
}

@keyframes parchmentFanGleam {
  0% {
    opacity: 0;
    transform: translateX(-75%);
  }

  42% {
    opacity: 0.42;
  }

  100% {
    opacity: 0;
    transform: translateX(78%);
  }
}

@media (max-width: 760px) {
  .parchment-widget {
    right: -2.45rem !important;
    bottom: -2.05rem !important;
    width: 8.2rem !important;
    height: 6.6rem !important;
  }

  .parchment-widget__tab img {
    width: 24rem !important;
  }

  .parchment-widget.is-open {
    right: 0.05rem !important;
    bottom: 0.1rem !important;
    width: min(88vw, 27rem) !important;
    height: 13.4rem !important;
  }
}

/* Parchment etik tab v4: simple natural corner-to-full grow */
.parchment-widget {
  right: -2.1rem !important;
  bottom: -1.85rem !important;
  width: clamp(7.8rem, 12vw, 11.2rem) !important;
  height: clamp(5.8rem, 8.4vw, 8rem) !important;
  perspective: none !important;
  transform-style: flat !important;
}

.parchment-widget__tab {
  width: 100% !important;
  height: 100% !important;
  overflow: hidden !important;
  border-radius: 0 !important;
  clip-path: polygon(48% 100%, 100% 100%, 100% 8%, 91% 13%, 81% 22%, 72% 33%, 61% 43%, 49% 52%, 35% 65%, 20% 82%) !important;
  transform: rotate(1.8deg) scale(1) !important;
  transform-origin: right bottom !important;
  filter:
    drop-shadow(-0.3rem 0.5rem 0.55rem rgba(83, 65, 50, 0.16))
    drop-shadow(-0.08rem 0.12rem 0.1rem rgba(83, 65, 50, 0.13)) !important;
}

.parchment-widget__tab img {
  position: absolute !important;
  right: -0.25rem !important;
  bottom: -0.18rem !important;
  width: clamp(24rem, 44vw, 40rem) !important;
  max-width: none !important;
}

.parchment-widget__tab::before {
  background:
    linear-gradient(135deg, transparent 49%, rgba(87, 62, 40, 0.11) 50%, transparent 54%),
    radial-gradient(circle at 82% 72%, rgba(83, 61, 42, 0.16), transparent 24%) !important;
  opacity: 0.34 !important;
}

.parchment-widget__tab::after {
  background: linear-gradient(108deg, transparent 34%, rgba(255, 255, 255, 0.68) 50%, transparent 65%) !important;
}

.parchment-widget:hover .parchment-widget__tab,
.parchment-widget:focus-visible .parchment-widget__tab {
  transform: translate3d(-0.32rem, -0.32rem, 0) rotate(1.3deg) scale(1.045) !important;
  filter:
    brightness(1.035)
    drop-shadow(-0.42rem 0.6rem 0.58rem rgba(83, 65, 50, 0.18)) !important;
}

.parchment-widget__roll {
  width: min(46vw, 45rem) !important;
  right: clamp(1.2rem, 2.1vw, 2.3rem) !important;
  bottom: clamp(-0.95rem, -0.35vw, -0.15rem) !important;
  opacity: 0 !important;
  clip-path: none !important;
  border-radius: 0 !important;
  transform:
    translate3d(39%, 31%, 0)
    rotate(2.4deg)
    scale(0.12) !important;
  transform-origin: 96% 94% !important;
  filter: brightness(0.99) saturate(0.98) !important;
  transition:
    opacity 0.18s ease,
    transform 0.86s cubic-bezier(0.16, 0.88, 0.18, 1),
    filter 0.86s ease !important;
}

.parchment-widget__roll::before {
  display: none !important;
}

.parchment-widget__roll::after {
  content: "" !important;
  display: block !important;
  position: absolute !important;
  inset: 3% 2% 9% !important;
  pointer-events: none !important;
  opacity: 0 !important;
  background: linear-gradient(104deg, transparent 35%, rgba(255, 255, 255, 0.34) 49%, transparent 63%) !important;
  transform: translateX(-85%) !important;
  z-index: 3 !important;
}

.parchment-widget.is-open {
  right: clamp(0.95rem, 1.9vw, 2rem) !important;
  bottom: clamp(-0.9rem, -0.15vw, -0.15rem) !important;
  width: min(47vw, 46rem) !important;
  height: min(23vw, 19rem) !important;
}

.parchment-widget.is-open .parchment-widget__tab {
  opacity: 0 !important;
  transform: translate3d(1rem, 0.72rem, 0) rotate(2deg) scale(0.28) !important;
  transition-duration: 0.22s !important;
}

.parchment-widget.is-open .parchment-widget__roll {
  opacity: 1 !important;
  clip-path: none !important;
  transform:
    translate3d(0, 0, 0)
    rotate(2.4deg)
    scale(1) !important;
  animation: parchmentGrowNatural 0.92s cubic-bezier(0.16, 0.88, 0.18, 1) both !important;
}

.parchment-widget.is-open .parchment-widget__roll::after {
  animation: parchmentGrowGleam 0.92s ease 0.13s both !important;
}

@keyframes parchmentGrowNatural {
  0% {
    opacity: 0.72;
    transform: translate3d(39%, 31%, 0) rotate(2.4deg) scale(0.12);
    filter: brightness(0.98) saturate(0.96);
  }

  28% {
    opacity: 1;
    transform: translate3d(26%, 21%, 0) rotate(2.4deg) scale(0.34);
  }

  55% {
    transform: translate3d(11%, 8%, 0) rotate(2.4deg) scale(0.69);
  }

  78% {
    transform: translate3d(-0.8%, -0.45%, 0) rotate(2.4deg) scale(1.035);
  }

  90% {
    transform: translate3d(0.22%, 0.12%, 0) rotate(2.4deg) scale(0.992);
  }

  100% {
    opacity: 1;
    transform: translate3d(0, 0, 0) rotate(2.4deg) scale(1);
    filter: brightness(1) saturate(1);
  }
}

@keyframes parchmentGrowGleam {
  0% {
    opacity: 0;
    transform: translateX(-85%);
  }

  40% {
    opacity: 0.33;
  }

  100% {
    opacity: 0;
    transform: translateX(75%);
  }
}

@media (max-width: 760px) {
  .parchment-widget {
    right: -2rem !important;
    bottom: -1.7rem !important;
    width: 7.9rem !important;
    height: 6rem !important;
  }

  .parchment-widget__tab img {
    width: 24rem !important;
  }

  .parchment-widget.is-open {
    right: 0.15rem !important;
    bottom: -0.25rem !important;
    width: min(88vw, 27rem) !important;
    height: 13.4rem !important;
  }
}

/* Parchment corner opacity fix */
.parchment-widget__tab {
  opacity: 1 !important;
  background: transparent !important;
  mix-blend-mode: normal !important;
}

.parchment-widget__tab img {
  opacity: 1 !important;
  mix-blend-mode: normal !important;
  filter: contrast(1.02) saturate(0.98) !important;
}

.parchment-widget__tab::before,
.parchment-widget__tab::after {
  display: none !important;
}

.parchment-widget:not(.is-open) .parchment-widget__tab {
  opacity: 1 !important;
}

.parchment-widget:not(.is-open) .parchment-widget__roll {
  opacity: 0 !important;
}

/* Etik tab v5: real image corner peeking out, then falling forward */
.parchment-widget {
  right: clamp(-1.65rem, -1.1vw, -0.75rem) !important;
  bottom: clamp(-1.15rem, -0.7vw, -0.45rem) !important;
  width: clamp(7.8rem, 12.8vw, 12.2rem) !important;
  height: clamp(4.7rem, 7.8vw, 7.4rem) !important;
  perspective: 1200px !important;
  transform-style: preserve-3d !important;
}

.parchment-widget__tab {
  width: 100% !important;
  height: 100% !important;
  overflow: visible !important;
  clip-path: none !important;
  border-radius: 0 !important;
  opacity: 1 !important;
  transform: translate3d(0, 0, 0) rotate(-2deg) scale(1) !important;
  transform-origin: right bottom !important;
  filter:
    drop-shadow(-0.28rem 0.42rem 0.46rem rgba(80, 60, 43, 0.18))
    drop-shadow(-0.06rem 0.1rem 0.08rem rgba(80, 60, 43, 0.12)) !important;
}

.parchment-widget__tab img {
  position: static !important;
  width: 100% !important;
  max-width: none !important;
  height: auto !important;
  opacity: 1 !important;
  mix-blend-mode: normal !important;
  filter: none !important;
}

.parchment-widget__tab::before {
  display: block !important;
  content: "" !important;
  position: absolute !important;
  inset: 5% 3% 8% 0 !important;
  background: linear-gradient(105deg, transparent 34%, rgba(255, 255, 255, 0.68) 50%, transparent 66%) !important;
  opacity: 0 !important;
  mix-blend-mode: screen !important;
  transform: translateX(-75%) !important;
  pointer-events: none !important;
  z-index: 2 !important;
}

.parchment-widget__tab::after {
  display: none !important;
}

.parchment-widget:hover .parchment-widget__tab,
.parchment-widget:focus-visible .parchment-widget__tab {
  transform: translate3d(-0.36rem, -0.32rem, 0) rotate(-2.8deg) scale(1.05) !important;
  filter:
    brightness(1.04)
    drop-shadow(-0.42rem 0.54rem 0.5rem rgba(80, 60, 43, 0.2)) !important;
}

.parchment-widget:hover .parchment-widget__tab::before,
.parchment-widget:focus-visible .parchment-widget__tab::before {
  animation: etikCornerShine 0.78s ease !important;
}

.parchment-widget__roll {
  width: min(46vw, 45rem) !important;
  right: clamp(1.3rem, 2.15vw, 2.35rem) !important;
  bottom: clamp(-0.85rem, -0.25vw, -0.1rem) !important;
  opacity: 0 !important;
  clip-path: none !important;
  border-radius: 0 !important;
  transform-origin: 94% 92% !important;
  transform:
    perspective(1200px)
    translate3d(34%, 28%, 0)
    rotateX(-74deg)
    rotateY(10deg)
    rotateZ(7deg)
    scale(0.18) !important;
  filter: brightness(0.99) saturate(0.98) !important;
  transition:
    opacity 0.14s ease,
    transform 0.88s cubic-bezier(0.15, 0.86, 0.2, 1),
    filter 0.88s ease !important;
}

.parchment-widget__roll::before {
  display: block !important;
  content: "" !important;
  position: absolute !important;
  inset: 3% 2% 8% !important;
  pointer-events: none !important;
  opacity: 0 !important;
  background: linear-gradient(98deg, transparent 35%, rgba(255, 255, 255, 0.34) 49%, transparent 63%) !important;
  transform: translateX(-85%) !important;
  mix-blend-mode: screen !important;
  z-index: 2 !important;
}

.parchment-widget__roll::after {
  display: none !important;
}

.parchment-widget.is-open {
  right: clamp(0.7rem, 1.95vw, 2.15rem) !important;
  bottom: clamp(-0.95rem, -0.15vw, -0.05rem) !important;
  width: min(47vw, 46rem) !important;
  height: min(23vw, 19rem) !important;
}

.parchment-widget.is-open .parchment-widget__tab {
  opacity: 0 !important;
  transform: translate3d(0.9rem, 0.5rem, 0) rotate(-2deg) scale(0.65) !important;
  transition-duration: 0.16s !important;
}

.parchment-widget.is-open .parchment-widget__roll {
  opacity: 1 !important;
  transform:
    perspective(1200px)
    translate3d(0, 0, 0)
    rotateX(0deg)
    rotateY(0deg)
    rotateZ(2.4deg)
    scale(1) !important;
  animation: etikFallForward 0.9s cubic-bezier(0.15, 0.86, 0.2, 1) both !important;
}

.parchment-widget.is-open .parchment-widget__roll::before {
  animation: etikFallGleam 0.86s ease 0.08s both !important;
}

@keyframes etikCornerShine {
  0% {
    opacity: 0;
    transform: translateX(-80%);
  }

  38% {
    opacity: 0.62;
  }

  100% {
    opacity: 0;
    transform: translateX(72%);
  }
}

@keyframes etikFallForward {
  0% {
    opacity: 0.86;
    transform: perspective(1200px) translate3d(34%, 28%, 0) rotateX(-74deg) rotateY(10deg) rotateZ(7deg) scale(0.18);
  }

  30% {
    opacity: 1;
    transform: perspective(1200px) translate3d(22%, 18%, 0) rotateX(-46deg) rotateY(7deg) rotateZ(5deg) scale(0.42);
  }

  58% {
    transform: perspective(1200px) translate3d(8%, 6%, 0) rotateX(-15deg) rotateY(2deg) rotateZ(3deg) scale(0.78);
  }

  78% {
    transform: perspective(1200px) translate3d(-0.7%, -0.45%, 0) rotateX(5deg) rotateY(-1deg) rotateZ(2.4deg) scale(1.035);
  }

  91% {
    transform: perspective(1200px) translate3d(0.18%, 0.08%, 0) rotateX(-1.5deg) rotateY(0deg) rotateZ(2.4deg) scale(0.995);
  }

  100% {
    opacity: 1;
    transform: perspective(1200px) translate3d(0, 0, 0) rotateX(0deg) rotateY(0deg) rotateZ(2.4deg) scale(1);
  }
}

@keyframes etikFallGleam {
  0% {
    opacity: 0;
    transform: translateX(-85%);
  }

  42% {
    opacity: 0.34;
  }

  100% {
    opacity: 0;
    transform: translateX(75%);
  }
}

@media (max-width: 760px) {
  .parchment-widget {
    right: -1.55rem !important;
    bottom: -1rem !important;
    width: 7.6rem !important;
    height: 4.8rem !important;
  }

  .parchment-widget.is-open {
    right: 0.1rem !important;
    bottom: -0.2rem !important;
    width: min(88vw, 27rem) !important;
    height: 13.4rem !important;
  }
}

/* Etik placement fix: keep opened image below existing hero text */
.parchment-widget {
  right: -1.45rem !important;
  bottom: -0.95rem !important;
  width: clamp(7rem, 11.4vw, 10.6rem) !important;
  height: clamp(4.2rem, 6.8vw, 6.5rem) !important;
}

.parchment-widget.is-open {
  right: clamp(0.35rem, 1.2vw, 1.25rem) !important;
  bottom: clamp(-1.65rem, -1vw, -0.85rem) !important;
  width: min(43vw, 42rem) !important;
  height: min(19vw, 16rem) !important;
}

.parchment-widget__roll {
  width: min(42vw, 41rem) !important;
  right: clamp(0.2rem, 1vw, 1rem) !important;
  bottom: clamp(-1.6rem, -1vw, -0.8rem) !important;
  transform-origin: 96% 94% !important;
  transform:
    perspective(1200px)
    translate3d(34%, 29%, 0)
    rotateX(-72deg)
    rotateY(10deg)
    rotateZ(5deg)
    scale(0.18) !important;
}

.parchment-widget.is-open .parchment-widget__roll {
  transform:
    perspective(1200px)
    translate3d(0, 0, 0)
    rotateX(0deg)
    rotateY(0deg)
    rotateZ(2.4deg)
    scale(1) !important;
  animation: etikFallForwardLow 0.9s cubic-bezier(0.15, 0.86, 0.2, 1) both !important;
}

@keyframes etikFallForwardLow {
  0% {
    opacity: 0.86;
    transform: perspective(1200px) translate3d(34%, 29%, 0) rotateX(-72deg) rotateY(10deg) rotateZ(5deg) scale(0.18);
  }

  30% {
    opacity: 1;
    transform: perspective(1200px) translate3d(22%, 19%, 0) rotateX(-45deg) rotateY(7deg) rotateZ(4deg) scale(0.42);
  }

  58% {
    transform: perspective(1200px) translate3d(8%, 7%, 0) rotateX(-14deg) rotateY(2deg) rotateZ(3deg) scale(0.78);
  }

  78% {
    transform: perspective(1200px) translate3d(-0.55%, -0.32%, 0) rotateX(4deg) rotateY(-1deg) rotateZ(2.4deg) scale(1.03);
  }

  91% {
    transform: perspective(1200px) translate3d(0.16%, 0.07%, 0) rotateX(-1.2deg) rotateY(0deg) rotateZ(2.4deg) scale(0.995);
  }

  100% {
    opacity: 1;
    transform: perspective(1200px) translate3d(0, 0, 0) rotateX(0deg) rotateY(0deg) rotateZ(2.4deg) scale(1);
  }
}

@media (max-width: 760px) {
  .parchment-widget {
    right: -1.25rem !important;
    bottom: -0.85rem !important;
    width: 7.1rem !important;
    height: 4.35rem !important;
  }

  .parchment-widget.is-open {
    right: 0.05rem !important;
    bottom: -0.75rem !important;
    width: min(82vw, 24rem) !important;
    height: 11.8rem !important;
  }

  .parchment-widget__roll {
    width: min(82vw, 24rem) !important;
    bottom: -0.7rem !important;
  }
}

/* Etik v6: whole image peeks from screen edge, then falls forward */
.parchment-widget {
  right: 0 !important;
  bottom: 0 !important;
  width: min(43vw, 42rem) !important;
  height: min(18vw, 15rem) !important;
  overflow: visible !important;
  perspective: 1200px !important;
}

.parchment-widget__tab {
  display: none !important;
}

.parchment-widget__roll {
  display: block !important;
  width: min(43vw, 42rem) !important;
  right: clamp(-39vw, -31rem, -19rem) !important;
  bottom: clamp(-8.6rem, -8vw, -5.1rem) !important;
  opacity: 1 !important;
  clip-path: none !important;
  border-radius: 0 !important;
  pointer-events: auto !important;
  transform-origin: 92% 90% !important;
  transform:
    perspective(1200px)
    translate3d(0, 0, 0)
    rotateX(0deg)
    rotateY(0deg)
    rotateZ(2.6deg)
    scale(1) !important;
  filter:
    drop-shadow(-0.28rem 0.42rem 0.44rem rgba(80, 60, 43, 0.16))
    brightness(1) !important;
  transition:
    right 0.86s cubic-bezier(0.15, 0.86, 0.2, 1),
    bottom 0.86s cubic-bezier(0.15, 0.86, 0.2, 1),
    transform 0.86s cubic-bezier(0.15, 0.86, 0.2, 1),
    filter 0.28s ease !important;
}

.parchment-widget__roll img {
  width: 100% !important;
  height: auto !important;
  display: block !important;
  opacity: 1 !important;
  mix-blend-mode: normal !important;
}

.parchment-widget__roll::before {
  content: "" !important;
  display: block !important;
  position: absolute !important;
  inset: 3% 2% 8% !important;
  pointer-events: none !important;
  opacity: 0 !important;
  background: linear-gradient(104deg, transparent 35%, rgba(255, 255, 255, 0.42) 49%, transparent 63%) !important;
  transform: translateX(-82%) !important;
  mix-blend-mode: screen !important;
  z-index: 2 !important;
}

.parchment-widget__roll::after {
  display: none !important;
}

.parchment-widget:hover .parchment-widget__roll,
.parchment-widget:focus-visible .parchment-widget__roll {
  right: clamp(-38vw, -30rem, -18.35rem) !important;
  bottom: clamp(-8.3rem, -7.7vw, -4.85rem) !important;
  transform:
    perspective(1200px)
    translate3d(-0.35rem, -0.28rem, 0)
    rotateX(0deg)
    rotateY(0deg)
    rotateZ(2.2deg)
    scale(1.018) !important;
  filter:
    drop-shadow(-0.38rem 0.52rem 0.5rem rgba(80, 60, 43, 0.18))
    brightness(1.035) !important;
}

.parchment-widget:hover .parchment-widget__roll::before,
.parchment-widget:focus-visible .parchment-widget__roll::before {
  animation: wholeEtikPeekShine 0.78s ease !important;
}

.parchment-widget.is-open {
  right: clamp(0.35rem, 1.2vw, 1.25rem) !important;
  bottom: clamp(-1.55rem, -0.85vw, -0.75rem) !important;
  width: min(43vw, 42rem) !important;
  height: min(19vw, 16rem) !important;
}

.parchment-widget.is-open .parchment-widget__roll {
  right: clamp(0.2rem, 1vw, 1rem) !important;
  bottom: clamp(-1.45rem, -0.8vw, -0.65rem) !important;
  transform:
    perspective(1200px)
    translate3d(0, 0, 0)
    rotateX(0deg)
    rotateY(0deg)
    rotateZ(2.4deg)
    scale(1) !important;
  animation: wholeEtikFallIn 0.88s cubic-bezier(0.15, 0.86, 0.2, 1) both !important;
}

.parchment-widget.is-open .parchment-widget__roll::before {
  animation: wholeEtikOpenGleam 0.86s ease 0.08s both !important;
}

@keyframes wholeEtikPeekShine {
  0% {
    opacity: 0;
    transform: translateX(-82%);
  }

  38% {
    opacity: 0.54;
  }

  100% {
    opacity: 0;
    transform: translateX(72%);
  }
}

@keyframes wholeEtikFallIn {
  0% {
    right: clamp(-39vw, -31rem, -19rem);
    bottom: clamp(-8.6rem, -8vw, -5.1rem);
    transform: perspective(1200px) translate3d(0, 0, 0) rotateX(-62deg) rotateY(8deg) rotateZ(8deg) scale(0.86);
  }

  46% {
    transform: perspective(1200px) translate3d(-0.8rem, -0.55rem, 0) rotateX(-19deg) rotateY(3deg) rotateZ(4deg) scale(0.96);
  }

  74% {
    transform: perspective(1200px) translate3d(0.25rem, 0.1rem, 0) rotateX(5deg) rotateY(-1deg) rotateZ(2.4deg) scale(1.025);
  }

  91% {
    transform: perspective(1200px) translate3d(-0.08rem, -0.04rem, 0) rotateX(-1.2deg) rotateY(0deg) rotateZ(2.4deg) scale(0.996);
  }

  100% {
    right: clamp(0.2rem, 1vw, 1rem);
    bottom: clamp(-1.45rem, -0.8vw, -0.65rem);
    transform: perspective(1200px) translate3d(0, 0, 0) rotateX(0deg) rotateY(0deg) rotateZ(2.4deg) scale(1);
  }
}

@keyframes wholeEtikOpenGleam {
  0% {
    opacity: 0;
    transform: translateX(-82%);
  }

  40% {
    opacity: 0.34;
  }

  100% {
    opacity: 0;
    transform: translateX(74%);
  }
}

@media (max-width: 760px) {
  .parchment-widget {
    width: min(82vw, 24rem) !important;
    height: 11.8rem !important;
  }

  .parchment-widget__roll {
    width: min(82vw, 24rem) !important;
    right: -19rem !important;
    bottom: -5.2rem !important;
  }

  .parchment-widget:hover .parchment-widget__roll,
  .parchment-widget:focus-visible .parchment-widget__roll {
    right: -18.5rem !important;
    bottom: -5rem !important;
  }

  .parchment-widget.is-open,
  .parchment-widget.is-open .parchment-widget__roll {
    right: 0.05rem !important;
    bottom: -0.7rem !important;
    width: min(82vw, 24rem) !important;
  }
}

/* Etik v7: whole image peeks higher from the side, falls down/in like a soft tree */
.parchment-widget {
  right: 0 !important;
  bottom: 0 !important;
  width: min(41vw, 40rem) !important;
  height: min(18vw, 16rem) !important;
  overflow: visible !important;
  perspective: 1400px !important;
  transform-style: preserve-3d !important;
}

.parchment-widget__tab {
  display: none !important;
}

.parchment-widget__roll {
  display: block !important;
  width: min(41vw, 40rem) !important;
  right: clamp(-37rem, -38vw, -19rem) !important;
  bottom: clamp(5.4rem, 12vh, 9rem) !important;
  opacity: 1 !important;
  clip-path: none !important;
  border-radius: 0 !important;
  pointer-events: auto !important;
  transform-origin: 96% 55% !important;
  transform:
    perspective(1400px)
    rotateX(0deg)
    rotateY(-13deg)
    rotateZ(-4deg)
    scale(0.88) !important;
  filter:
    drop-shadow(-0.65rem 0.78rem 0.62rem rgba(74, 56, 40, 0.16))
    drop-shadow(-0.16rem 0.2rem 0.12rem rgba(74, 56, 40, 0.12))
    brightness(1) !important;
  transition:
    right 0.94s cubic-bezier(0.14, 0.88, 0.2, 1),
    bottom 0.94s cubic-bezier(0.14, 0.88, 0.2, 1),
    transform 0.94s cubic-bezier(0.14, 0.88, 0.2, 1),
    filter 0.24s ease !important;
}

.parchment-widget__roll img {
  width: 100% !important;
  height: auto !important;
  display: block !important;
  opacity: 1 !important;
  mix-blend-mode: normal !important;
}

.parchment-widget__roll::before {
  content: "" !important;
  display: block !important;
  position: absolute !important;
  inset: 2% 2% 9% !important;
  pointer-events: none !important;
  opacity: 0 !important;
  background: linear-gradient(104deg, transparent 35%, rgba(255, 255, 255, 0.42) 49%, transparent 63%) !important;
  transform: translateX(-82%) !important;
  mix-blend-mode: screen !important;
  z-index: 2 !important;
}

.parchment-widget__roll::after {
  display: none !important;
}

.parchment-widget:hover .parchment-widget__roll,
.parchment-widget:focus-visible .parchment-widget__roll {
  right: clamp(-36.4rem, -37.4vw, -18.4rem) !important;
  bottom: clamp(5.7rem, 12.5vh, 9.4rem) !important;
  transform:
    perspective(1400px)
    translate3d(-0.38rem, -0.22rem, 0)
    rotateX(0deg)
    rotateY(-11deg)
    rotateZ(-4.4deg)
    scale(0.91) !important;
  filter:
    drop-shadow(-0.78rem 0.9rem 0.72rem rgba(74, 56, 40, 0.18))
    brightness(1.035) !important;
}

.parchment-widget:hover .parchment-widget__roll::before,
.parchment-widget:focus-visible .parchment-widget__roll::before {
  animation: etikSideShine 0.78s ease !important;
}

.parchment-widget.is-open {
  right: clamp(0.35rem, 1.15vw, 1.2rem) !important;
  bottom: clamp(0.45rem, 1.9vh, 1.25rem) !important;
  width: min(41vw, 40rem) !important;
  height: min(18vw, 16rem) !important;
}

.parchment-widget.is-open .parchment-widget__roll {
  right: clamp(0.15rem, 0.9vw, 0.95rem) !important;
  bottom: clamp(0.25rem, 1.45vh, 0.95rem) !important;
  transform:
    perspective(1400px)
    translate3d(0, 0, 0)
    rotateX(0deg)
    rotateY(0deg)
    rotateZ(2.4deg)
    scale(1) !important;
  animation: etikTreeFallIn 0.94s cubic-bezier(0.14, 0.88, 0.2, 1) both !important;
}

.parchment-widget.is-open .parchment-widget__roll::before {
  animation: etikOpenGleamSoft 0.86s ease 0.1s both !important;
}

.parchment-widget.is-closing .parchment-widget__roll {
  animation: etikTreeFallOut 0.86s cubic-bezier(0.2, 0.02, 0.22, 1) both !important;
}

@keyframes etikSideShine {
  0% {
    opacity: 0;
    transform: translateX(-82%);
  }

  38% {
    opacity: 0.5;
  }

  100% {
    opacity: 0;
    transform: translateX(74%);
  }
}

@keyframes etikTreeFallIn {
  0% {
    right: clamp(-37rem, -38vw, -19rem);
    bottom: clamp(5.4rem, 12vh, 9rem);
    transform: perspective(1400px) translate3d(0, 0, 0) rotateX(0deg) rotateY(-13deg) rotateZ(-4deg) scale(0.88);
  }

  28% {
    transform: perspective(1400px) translate3d(-0.25rem, 0.7rem, 0) rotateX(-10deg) rotateY(-8deg) rotateZ(-12deg) scale(0.94);
  }

  56% {
    transform: perspective(1400px) translate3d(-0.45rem, 1.1rem, 0) rotateX(-5deg) rotateY(-3deg) rotateZ(-3deg) scale(1.055);
  }

  78% {
    transform: perspective(1400px) translate3d(0.16rem, -0.08rem, 0) rotateX(3deg) rotateY(1deg) rotateZ(3.4deg) scale(1.025);
  }

  91% {
    transform: perspective(1400px) translate3d(-0.05rem, 0.03rem, 0) rotateX(-1deg) rotateY(0deg) rotateZ(2.1deg) scale(0.996);
  }

  100% {
    right: clamp(0.15rem, 0.9vw, 0.95rem);
    bottom: clamp(0.25rem, 1.45vh, 0.95rem);
    transform: perspective(1400px) translate3d(0, 0, 0) rotateX(0deg) rotateY(0deg) rotateZ(2.4deg) scale(1);
  }
}

@keyframes etikTreeFallOut {
  0% {
    right: clamp(0.15rem, 0.9vw, 0.95rem);
    bottom: clamp(0.25rem, 1.45vh, 0.95rem);
    transform: perspective(1400px) translate3d(0, 0, 0) rotateX(0deg) rotateY(0deg) rotateZ(2.4deg) scale(1);
  }

  26% {
    transform: perspective(1400px) translate3d(0.3rem, -0.35rem, 0) rotateX(3deg) rotateY(1deg) rotateZ(6deg) scale(1.035);
  }

  58% {
    transform: perspective(1400px) translate3d(0.1rem, -0.7rem, 0) rotateX(-4deg) rotateY(-5deg) rotateZ(-10deg) scale(0.94);
  }

  100% {
    right: clamp(-37rem, -38vw, -19rem);
    bottom: clamp(5.4rem, 12vh, 9rem);
    transform: perspective(1400px) translate3d(0, 0, 0) rotateX(0deg) rotateY(-13deg) rotateZ(-4deg) scale(0.88);
  }
}

@keyframes etikOpenGleamSoft {
  0% {
    opacity: 0;
    transform: translateX(-82%);
  }

  38% {
    opacity: 0.32;
  }

  100% {
    opacity: 0;
    transform: translateX(74%);
  }
}

@media (max-width: 760px) {
  .parchment-widget,
  .parchment-widget.is-open {
    width: min(80vw, 23rem) !important;
    height: 11rem !important;
  }

  .parchment-widget__roll {
    width: min(80vw, 23rem) !important;
    right: -18.2rem !important;
    bottom: 4.7rem !important;
  }

  .parchment-widget:hover .parchment-widget__roll,
  .parchment-widget:focus-visible .parchment-widget__roll {
    right: -17.8rem !important;
    bottom: 4.95rem !important;
  }

  .parchment-widget.is-open .parchment-widget__roll {
    right: 0.05rem !important;
    bottom: 0.35rem !important;
  }
}

/* Etik v8: whole image, only a small corner peeks in */
.parchment-widget {
  right: 0 !important;
  bottom: clamp(2.6rem, 9vh, 6.5rem) !important;
  width: min(42vw, 41rem) !important;
  height: min(19vw, 16.5rem) !important;
  overflow: visible !important;
  perspective: 1400px !important;
  transform-style: preserve-3d !important;
}

.parchment-widget__tab {
  display: none !important;
}

.parchment-widget__roll {
  display: block !important;
  width: min(42vw, 41rem) !important;
  right: 0 !important;
  bottom: 0 !important;
  opacity: 1 !important;
  clip-path: none !important;
  border-radius: 0 !important;
  pointer-events: auto !important;
  transform-origin: 92% 86% !important;
  transform:
    perspective(1400px)
    translate3d(84%, 34%, 0)
    rotateX(0deg)
    rotateY(-8deg)
    rotateZ(2.8deg)
    scale(0.9) !important;
  filter:
    drop-shadow(-0.5rem 0.64rem 0.56rem rgba(74, 56, 40, 0.16))
    drop-shadow(-0.12rem 0.16rem 0.1rem rgba(74, 56, 40, 0.12))
    brightness(1) !important;
  transition:
    transform 0.9s cubic-bezier(0.14, 0.88, 0.2, 1),
    filter 0.24s ease !important;
}

.parchment-widget__roll img {
  width: 100% !important;
  height: auto !important;
  display: block !important;
  opacity: 1 !important;
  mix-blend-mode: normal !important;
}

.parchment-widget__roll::before {
  content: "" !important;
  display: block !important;
  position: absolute !important;
  inset: 2% 2% 9% !important;
  pointer-events: none !important;
  opacity: 0 !important;
  background: linear-gradient(104deg, transparent 35%, rgba(255, 255, 255, 0.44) 49%, transparent 63%) !important;
  transform: translateX(-82%) !important;
  mix-blend-mode: screen !important;
  z-index: 2 !important;
}

.parchment-widget__roll::after {
  display: none !important;
}

.parchment-widget:hover .parchment-widget__roll,
.parchment-widget:focus-visible .parchment-widget__roll {
  transform:
    perspective(1400px)
    translate3d(78%, 29%, 0)
    rotateX(0deg)
    rotateY(-5deg)
    rotateZ(2.3deg)
    scale(0.93) !important;
  filter:
    drop-shadow(-0.7rem 0.78rem 0.68rem rgba(74, 56, 40, 0.18))
    brightness(1.04) !important;
}

.parchment-widget:hover .parchment-widget__roll::before,
.parchment-widget:focus-visible .parchment-widget__roll::before {
  animation: etikCornerPeekShine 0.78s ease !important;
}

.parchment-widget.is-open {
  right: clamp(0.35rem, 1.15vw, 1.2rem) !important;
  bottom: clamp(0.25rem, 1.25vh, 0.85rem) !important;
  width: min(42vw, 41rem) !important;
  height: min(19vw, 16.5rem) !important;
}

.parchment-widget.is-open .parchment-widget__roll {
  right: 0 !important;
  bottom: 0 !important;
  transform:
    perspective(1400px)
    translate3d(0, 0, 0)
    rotateX(0deg)
    rotateY(0deg)
    rotateZ(2.4deg)
    scale(1) !important;
  animation: etikCornerFallIn 0.92s cubic-bezier(0.14, 0.88, 0.2, 1) both !important;
}

.parchment-widget.is-open .parchment-widget__roll::before {
  animation: etikCornerOpenGleam 0.86s ease 0.1s both !important;
}

.parchment-widget.is-closing .parchment-widget__roll {
  animation: etikCornerFallOut 0.86s cubic-bezier(0.2, 0.02, 0.22, 1) both !important;
}

@keyframes etikCornerPeekShine {
  0% {
    opacity: 0;
    transform: translateX(-82%);
  }

  38% {
    opacity: 0.52;
  }

  100% {
    opacity: 0;
    transform: translateX(74%);
  }
}

@keyframes etikCornerFallIn {
  0% {
    transform: perspective(1400px) translate3d(84%, 34%, 0) rotateX(0deg) rotateY(-8deg) rotateZ(2.8deg) scale(0.9);
  }

  24% {
    transform: perspective(1400px) translate3d(62%, 24%, 0) rotateX(-8deg) rotateY(-6deg) rotateZ(-5deg) scale(0.94);
  }

  54% {
    transform: perspective(1400px) translate3d(18%, 9%, 0) rotateX(-4deg) rotateY(-2deg) rotateZ(-1deg) scale(1.055);
  }

  77% {
    transform: perspective(1400px) translate3d(-0.65%, -0.35%, 0) rotateX(3deg) rotateY(1deg) rotateZ(3.2deg) scale(1.026);
  }

  91% {
    transform: perspective(1400px) translate3d(0.15%, 0.08%, 0) rotateX(-1deg) rotateY(0deg) rotateZ(2.2deg) scale(0.996);
  }

  100% {
    transform: perspective(1400px) translate3d(0, 4.2rem, 0) rotateX(0deg) rotateY(0deg) rotateZ(2.4deg) scale(1);
  }
}

@keyframes etikCornerFallOut {
  0% {
    transform: perspective(1400px) translate3d(0, 0, 0) rotateX(0deg) rotateY(0deg) rotateZ(2.4deg) scale(1);
  }

  25% {
    transform: perspective(1400px) translate3d(6%, -2%, 0) rotateX(2deg) rotateY(1deg) rotateZ(6deg) scale(1.03);
  }

  58% {
    transform: perspective(1400px) translate3d(56%, 21%, 0) rotateX(-5deg) rotateY(-6deg) rotateZ(-5deg) scale(0.94);
  }

  100% {
    transform: perspective(1400px) translate3d(84%, 34%, 0) rotateX(0deg) rotateY(-8deg) rotateZ(2.8deg) scale(0.9);
  }
}

@keyframes etikCornerOpenGleam {
  0% {
    opacity: 0;
    transform: translateX(-82%);
  }

  38% {
    opacity: 0.32;
  }

  100% {
    opacity: 0;
    transform: translateX(74%);
  }
}

@media (max-width: 760px) {
  .parchment-widget,
  .parchment-widget.is-open {
    width: min(80vw, 23rem) !important;
    height: 11rem !important;
  }

  .parchment-widget {
    bottom: 4.2rem !important;
  }

  .parchment-widget__roll {
    width: min(80vw, 23rem) !important;
    transform: perspective(1400px) translate3d(83%, 34%, 0) rotateX(0deg) rotateY(-8deg) rotateZ(2.8deg) scale(0.9) !important;
  }

  .parchment-widget:hover .parchment-widget__roll,
  .parchment-widget:focus-visible .parchment-widget__roll {
    transform: perspective(1400px) translate3d(77%, 29%, 0) rotateX(0deg) rotateY(-5deg) rotateZ(2.3deg) scale(0.93) !important;
  }

  .parchment-widget.is-open {
    bottom: 0.35rem !important;
  }

  .parchment-widget.is-open .parchment-widget__roll {
    transform: perspective(1400px) translate3d(0, 0, 0) rotateX(0deg) rotateY(0deg) rotateZ(2.4deg) scale(1) !important;
  }
}

/* Stable logo position: anchor to viewport/hero edge instead of centered hero width */
.brand {
  position: fixed !important;
  top: clamp(0.65rem, 1.2vw, 1rem) !important;
  left: clamp(2rem, 4.3vw, 5.2rem) !important;
  z-index: 7 !important;
  margin: 0 !important;
  transform: translate3d(0, calc(-30px * var(--hero-progress)), 0) scale(calc(1 - (0.035 * var(--hero-progress)))) !important;
  transform-origin: left top !important;
  opacity: calc(1 - var(--hero-progress)) !important;
  pointer-events: none !important;
}

.brand-logo {
  width: clamp(5.8rem, 7.2vw, 7.2rem) !important;
}

@media (max-width: 760px) {
  .brand {
    top: 0.7rem !important;
    left: 1.15rem !important;
  }

  .brand-logo {
    width: 5.6rem !important;
  }
}

/* Etik v9: make the peeking whole-image corner actually visible */
.parchment-widget {
  right: 0 !important;
  bottom: clamp(2.2rem, 7vh, 5.2rem) !important;
  width: min(42vw, 41rem) !important;
  height: min(19vw, 16.5rem) !important;
  opacity: calc(1 - var(--hero-progress)) !important;
  visibility: visible !important;
}

.parchment-widget__roll {
  right: 0 !important;
  bottom: 0 !important;
  opacity: 1 !important;
  visibility: visible !important;
  width: min(42vw, 41rem) !important;
  transform:
    perspective(1400px)
    translate3d(77%, 29%, 0)
    rotateX(0deg)
    rotateY(-7deg)
    rotateZ(15deg)
    scale(0.9) !important;
}

.parchment-widget:hover .parchment-widget__roll,
.parchment-widget:focus-visible .parchment-widget__roll {
  transform:
    perspective(1400px)
    translate3d(57%, 19%, 0)
    rotateX(0deg)
    rotateY(-5deg)
    rotateZ(2.2deg)
    scale(0.93) !important;
}

.parchment-widget.is-open .parchment-widget__roll {
  transform:
    perspective(1400px)
    translate3d(0, 0, 0)
    rotateX(0deg)
    rotateY(0deg)
    rotateZ(2.4deg)
    scale(1) !important;
  animation: etikVisibleCornerFallIn 1.24s cubic-bezier(0.16, 0.86, 0.18, 1) both !important;
}

.parchment-widget.is-closing .parchment-widget__roll {
  animation: etikVisibleCornerFallOut 0.92s cubic-bezier(0.2, 0.02, 0.22, 1) both !important;
}

@keyframes etikVisibleCornerFallIn {
  0% {
    transform: perspective(1400px) translate3d(72.4%, 24%, 0) rotateX(0deg) rotateY(-7deg) rotateZ(15deg) scale(0.9);
  }

  18% {
    transform: perspective(1400px) translate3d(58%, 15%, 0) rotateX(-1deg) rotateY(-6deg) rotateZ(12deg) scale(0.925);
  }

  42% {
    transform: perspective(1400px) translate3d(32%, 6%, 0) rotateX(-2.5deg) rotateY(-3deg) rotateZ(7deg) scale(0.98);
  }

  68% {
    transform: perspective(1400px) translate3d(8%, 2.6rem, 0) rotateX(1.2deg) rotateY(-0.8deg) rotateZ(3.6deg) scale(1.018);
  }

  86% {
    transform: perspective(1400px) translate3d(var(--etik-settle-x, 4.2rem), var(--etik-settle-y, 3.35rem), 0) rotateX(-0.4deg) rotateY(0deg) rotateZ(2deg) scale(0.997);
  }

  100% {
    transform: perspective(1400px) translate3d(var(--etik-open-x, 4rem), var(--etik-open-y, 3rem), 0) rotateX(0deg) rotateY(0deg) rotateZ(2.4deg) scale(1);
  }
}

@keyframes etikVisibleCornerFallOut {
  0% {
    transform: perspective(1400px) translate3d(var(--etik-open-x, 4rem), var(--etik-open-y, 3rem), 0) rotateX(0deg) rotateY(0deg) rotateZ(2.4deg) scale(1);
  }

  25% {
    transform: perspective(1400px) translate3d(5%, -2%, 0) rotateX(2deg) rotateY(1deg) rotateZ(6deg) scale(1.03);
  }

  58% {
    transform: perspective(1400px) translate3d(44%, 16%, 0) rotateX(-5deg) rotateY(-5deg) rotateZ(-4deg) scale(0.94);
  }

  100% {
    transform: perspective(1400px) translate3d(72.4%, 24%, 0) rotateX(0deg) rotateY(-7deg) rotateZ(15deg) scale(0.9);
  }
}

@media (max-width: 760px) {
  .parchment-widget__roll {
    transform: perspective(1400px) translate3d(63%, 24%, 0) rotateX(0deg) rotateY(-7deg) rotateZ(2.5deg) scale(0.9) !important;
  }

  .parchment-widget:hover .parchment-widget__roll,
  .parchment-widget:focus-visible .parchment-widget__roll {
    transform: perspective(1400px) translate3d(56%, 19%, 0) rotateX(0deg) rotateY(-5deg) rotateZ(2.2deg) scale(0.93) !important;
  }
}

/* Logo restore/fix: keep original hero flow, correct horizontal drift without fixed positioning */
.brand {
  position: relative !important;
  top: auto !important;
  left: auto !important;
  z-index: 4 !important;
  display: flex !important;
  align-items: center !important;
  justify-self: start !important;
  margin-top: -6.2rem !important;
  margin-left: calc(-4rem - max(0px, (100vw - 1200px) / 2)) !important;
  transform: none !important;
  transform-origin: left top !important;
  opacity: 0.92 !important;
  pointer-events: none !important;
}

.brand-logo {
  width: 11.66rem !important;
  height: auto !important;
  display: block !important;
  opacity: 0.92 !important;
  mix-blend-mode: multiply !important;
}

@media (max-width: 1220px) {
  .brand {
    margin-left: -4rem !important;
  }
}

@media (max-width: 760px) {
  .brand {
    margin-top: -5.25rem !important;
    margin-left: -1.15rem !important;
  }

  .brand-logo {
    width: 8.8rem !important;
  }
}

/* Final logo lock: stable viewport corner position without moving hero layout */
.hero::before {
  content: "";
  display: block;
  grid-row: 1;
  grid-column: 1;
  width: 11.66rem;
  height: 7.75rem;
  pointer-events: none;
}

.brand {
  position: fixed !important;
  top: 1.9rem !important;
  left: 2rem !important;
  z-index: 7 !important;
  display: flex !important;
  align-items: center !important;
  justify-self: auto !important;
  margin: 0 !important;
  transform: translate3d(0, calc(-30px * var(--hero-progress)), 0) scale(calc(1 - (0.035 * var(--hero-progress)))) !important;
  transform-origin: left top !important;
  opacity: calc(0.92 * (1 - var(--hero-progress))) !important;
  pointer-events: none !important;
}

.brand-logo {
  width: 11.66rem !important;
  height: auto !important;
  display: block !important;
  opacity: 0.92 !important;
  mix-blend-mode: multiply !important;
}

@media (max-width: 760px) {
  .hero::before {
    width: 8.8rem;
    height: 6.8rem;
  }

  .brand {
    top: 1.25rem !important;
    left: 1.15rem !important;
  }

  .brand-logo {
    width: 8.8rem !important;
  }
}

/* Logo vertical correction: keep locked position but move it back up */
.brand {
  top: 0.45rem !important;
  left: 2rem !important;
}

@media (max-width: 760px) {
  .brand {
    top: 0.35rem !important;
    left: 1.15rem !important;
  }
}

/* Logo final: same visual placement, locked sidled, no nav/layout side effects */
.hero::before {
  content: none !important;
  display: none !important;
}

.site-nav {
  position: absolute !important;
  top: 1.35rem !important;
  left: 1.5rem !important;
  right: 1.5rem !important;
  z-index: 6 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: flex-end !important;
  flex-wrap: nowrap !important;
  gap: clamp(0.85rem, 1.8vw, 2rem) !important;
}

.site-nav a,
.site-nav .nav-modal-trigger,
.thread-search {
  flex: 0 0 auto !important;
}

.brand {
  position: absolute !important;
  top: 0.95rem !important;
  left: 2.15rem !important;
  z-index: 7 !important;
  display: flex !important;
  align-items: center !important;
  justify-self: auto !important;
  margin: 0 !important;
  transform: translate3d(0, calc(-30px * var(--hero-progress)), 0) scale(calc(1 - (0.035 * var(--hero-progress)))) !important;
  transform-origin: left top !important;
  opacity: calc(0.92 * (1 - var(--hero-progress))) !important;
  pointer-events: none !important;
}

.brand-logo {
  width: 11.66rem !important;
  height: auto !important;
  display: block !important;
  opacity: 0.92 !important;
  mix-blend-mode: multiply !important;
}

@media (max-width: 900px) {
  .site-nav {
    gap: 0.85rem !important;
  }

  .thread-search {
    width: 7.3rem !important;
  }
}

@media (max-width: 760px) {
  .brand {
    top: 0.75rem !important;
    left: 1.15rem !important;
  }

  .brand-logo {
    width: 8.8rem !important;
  }

  .site-nav {
    top: 1.15rem !important;
    left: 1rem !important;
    right: 1rem !important;
    gap: 0.72rem !important;
  }

  .site-nav a,
  .site-nav .nav-modal-trigger {
    font-size: 0.78rem !important;
  }

  .thread-search {
    width: 6.9rem !important;
  }
}

/* Place logo top-left with the same edge distance as the search control */
.hero-shell .brand {
  position: fixed !important;
  top: 0.38rem !important;
  left: -1.2rem !important;
  right: auto !important;
  z-index: 9 !important;
  margin: 0 !important;
  transform: translate3d(0, calc(-30px * var(--hero-progress)), 0) scale(calc(1 - (0.035 * var(--hero-progress)))) !important;
  transform-origin: left top !important;
  opacity: calc(0.92 * (1 - var(--brand-progress, var(--hero-progress)))) !important;
  pointer-events: none !important;
}

.hero-shell .brand-logo {
  width: 11.66rem !important;
  height: auto !important;
  display: block !important;
}

@media (max-width: 760px) {
  .hero-shell .brand {
    top: 0.33rem !important;
    left: -1.2rem !important;
  }

  .hero-shell .brand-logo {
    width: 8.8rem !important;
  }
}

/* Sticker recovery for Etik i natten: ensure the right-side corner is always visible */
.hero-shell .parchment-widget {
  --etik-open-x: 4rem;
  --etik-open-y: 3rem;
  --etik-settle-x: 4.2rem;
  --etik-settle-y: 3.35rem;
  position: fixed !important;
  right: 0 !important;
  left: auto !important;
  top: auto !important;
  bottom: calc(clamp(2.2rem, 7vh, 5.2rem) - 0.75rem) !important;
  width: min(44vw, 43.5rem) !important;
  height: min(20vw, 17.5rem) !important;
  opacity: calc(1 - var(--hero-progress)) !important;
  visibility: visible !important;
  pointer-events: auto !important;
  z-index: 85 !important;
  transform: translate3d(0, calc(-56px * var(--hero-progress)), 0) scale(calc(1 - (0.04 * var(--hero-progress)))) !important;
  transform-origin: right bottom !important;
}

.hero-shell.is-hero-collapsed .parchment-widget {
  pointer-events: none !important;
}

.hero-shell.is-parchment-hidden .parchment-widget,
.hero-shell.is-parchment-hidden .parchment-widget__roll,
.hero-shell.is-parchment-hidden .etik-display {
  pointer-events: none !important;
}

.hero-shell .parchment-widget__roll,
.hero-shell .parchment-widget:not(.is-open) .parchment-widget__roll {
  position: absolute !important;
  inset: auto 0 0 auto !important;
  width: 100% !important;
  height: 100% !important;
  container-type: inline-size !important;
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;
  transform:
    perspective(1400px)
    translate3d(72.4%, 24%, 0)
    rotateX(0deg)
    rotateY(-7deg)
    rotateZ(15deg)
    scale(0.9) !important;
}

.hero-shell .parchment-widget__roll img {
  width: 100% !important;
  height: 100% !important;
  object-fit: contain !important;
  display: block !important;
  pointer-events: none !important;
}

.etik-display {
  position: absolute;
  left: 17%;
  right: 17%;
  top: 36%;
  bottom: 9%;
  z-index: 3;
  display: grid;
  place-items: center;
  gap: 0.42rem;
  overflow: hidden;
  padding: 0.15rem 0.35rem;
  color: #8f504d;
  font-family: var(--font-montserrat-light);
  text-align: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.22s ease;
}

.parchment-widget.is-open .etik-display {
  opacity: 1;
  pointer-events: auto;
}

.etik-display[hidden] {
  display: none !important;
}

.etik-display__line,
.etik-display__question {
  max-width: 100%;
  max-height: 100%;
  margin: 0;
  overflow: hidden;
  color: inherit;
  font-size: clamp(0.8rem, 4.1cqw, 1.95rem);
  font-weight: 300;
  line-height: 1.13;
  overflow-wrap: anywhere;
  white-space: pre-line;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.etik-display__question {
  font-size: clamp(0.72rem, 3.1cqw, 1.38rem);
  -webkit-line-clamp: 2;
}

.etik-display__options {
  width: min(100%, 26rem);
  max-height: 68%;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(0.16rem, 0.74cqw, 0.38rem);
  overflow: hidden;
}

.etik-display__option {
  position: relative;
  min-width: 0;
  overflow: hidden;
  border: 1px solid rgba(143, 80, 77, 0.22);
  border-radius: 999px;
  min-height: 0;
  padding: clamp(0.13rem, 0.5cqw, 0.26rem) clamp(0.34rem, 1.02cqw, 0.62rem);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.7), rgba(255, 246, 239, 0.48));
  color: #8f504d;
  font-family: var(--font-montserrat-light);
  font-size: clamp(0.48rem, 1.42cqw, 0.7rem);
  font-weight: 300;
  line-height: 1.05;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.22rem;
  cursor: pointer;
  box-shadow: 0 0.24rem 0.65rem rgba(102, 82, 72, 0.07);
  transform: translateZ(0);
  transition:
    border-color 0.2s ease,
    background 0.2s ease,
    box-shadow 0.2s ease,
    transform 0.2s cubic-bezier(0.16, 0.9, 0.24, 1);
}

.etik-display__option-fill {
  position: absolute;
  inset: 0;
  width: var(--poll-share, 0%);
  border-radius: inherit;
  background:
    linear-gradient(90deg, rgba(202, 119, 118, 0.26), rgba(225, 177, 155, 0.32));
  opacity: 0;
  transform: scaleX(0);
  transform-origin: left center;
  transition: opacity 0.25s ease, width 0.38s ease;
}

.etik-display__option-fill::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, transparent 12%, rgba(255, 255, 255, 0.5) 48%, transparent 76%);
  opacity: 0;
  transform: translateX(-80%);
}

.etik-display.is-results-visible .etik-display__option-fill {
  opacity: 1;
  animation: etikPollFill 0.72s cubic-bezier(0.16, 0.9, 0.22, 1) both;
}

.etik-display.is-results-visible .etik-display__option-fill::after {
  animation: etikPollGleam 0.9s ease 0.18s both;
}

.etik-display__option-label {
  position: relative;
  z-index: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.etik-display__option-stat {
  position: relative;
  z-index: 1;
  flex: 0 0 4.2ch;
  min-width: 4.2ch;
  overflow: visible;
  font-weight: 300;
  text-align: right;
  text-overflow: clip;
  white-space: nowrap;
  opacity: 0;
  transform: translateX(0.18rem);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.etik-display.is-results-visible .etik-display__option-stat {
  opacity: 0.88;
  transform: translateX(0);
}

.etik-display__option[aria-pressed="true"] {
  border-color: rgba(143, 80, 77, 0.42);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.82), rgba(255, 240, 235, 0.6));
  box-shadow:
    0 0.28rem 0.9rem rgba(143, 80, 77, 0.13),
    inset 0 0 0 1px rgba(143, 80, 77, 0.16);
}

.etik-display__option:hover,
.etik-display__option:focus-visible {
  transform: translateY(-1px);
  border-color: rgba(143, 80, 77, 0.34);
  outline: none;
}

.etik-display__summary {
  margin: 0;
  color: rgba(143, 80, 77, 0.72);
  font-size: clamp(0.55rem, 1.45cqw, 0.76rem);
  line-height: 1;
}

@keyframes etikPollFill {
  from { transform: scaleX(0); }
  to { transform: scaleX(1); }
}

@keyframes etikPollGleam {
  0% {
    opacity: 0;
    transform: translateX(-80%);
  }
  35% {
    opacity: 0.7;
  }
  100% {
    opacity: 0;
    transform: translateX(120%);
  }
}

.hero-shell .parchment-widget.is-open .parchment-widget__roll {
  transform:
    perspective(1400px)
    translate3d(var(--etik-open-x), var(--etik-open-y), 0)
    rotateX(0deg)
    rotateY(0deg)
    rotateZ(2.4deg)
    scale(1) !important;
  filter:
    drop-shadow(-0.7rem 0.78rem 0.68rem rgba(74, 56, 40, 0.18))
    brightness(1.04)
    saturate(1.02) !important;
}

.hero-shell .parchment-widget.is-closing .parchment-widget__roll {
  animation: etikVisibleCornerFallOut 0.86s cubic-bezier(0.2, 0.02, 0.22, 1) both !important;
}

.hero-shell .parchment-widget:not(.is-open):not(.is-closing):hover .parchment-widget__roll,
.hero-shell .parchment-widget:not(.is-open):not(.is-closing):focus-visible .parchment-widget__roll {
  transform:
    perspective(1400px)
    translate3d(70.6%, 22.5%, 0)
    rotateX(0deg)
    rotateY(-5.5deg)
    rotateZ(13deg)
    scale(0.92) !important;
}

.hero-shell .parchment-widget__roll::before {
  background:
    radial-gradient(circle at 18% 24%, rgba(255, 255, 255, 0.95) 0 0.11rem, transparent 0.16rem),
    radial-gradient(circle at 34% 18%, rgba(255, 236, 188, 0.9) 0 0.09rem, transparent 0.14rem),
    radial-gradient(circle at 51% 32%, rgba(255, 255, 255, 0.86) 0 0.1rem, transparent 0.15rem),
    radial-gradient(circle at 66% 23%, rgba(255, 239, 198, 0.85) 0 0.08rem, transparent 0.13rem),
    radial-gradient(circle at 78% 38%, rgba(255, 255, 255, 0.8) 0 0.1rem, transparent 0.16rem);
  filter: drop-shadow(0 0 0.38rem rgba(255, 232, 178, 0.65));
  mix-blend-mode: screen;
}

.hero-shell .parchment-widget:not(.is-open):not(.is-closing):hover .parchment-widget__roll::before,
.hero-shell .parchment-widget:not(.is-open):not(.is-closing):focus-visible .parchment-widget__roll::before {
  animation: etikPeekSparkle 0.95s ease both !important;
}

@keyframes etikPeekSparkle {
  0% {
    opacity: 0;
    transform: translate3d(10%, 3%, 0) rotate(2deg) scale(0.92);
  }

  24% {
    opacity: 0.82;
  }

  58% {
    opacity: 0.58;
  }

  100% {
    opacity: 0;
    transform: translate3d(-12%, -2%, 0) rotate(-1deg) scale(1.05);
  }
}

@media (max-width: 980px) {
  .hero-shell .parchment-widget {
    width: clamp(29.5rem, 65vw, 40rem) !important;
    height: clamp(12.7rem, 27.8vw, 17.2rem) !important;
    bottom: calc(clamp(2rem, 6vh, 4.4rem) - 0.55rem) !important;
  }
}

@media (max-width: 560px) {
  .hero-shell .parchment-widget {
    --etik-open-x: 2.3rem;
    --etik-open-y: 2.35rem;
    --etik-settle-x: 2.55rem;
    --etik-settle-y: 2.65rem;
    width: clamp(21.8rem, 97vw, 33.8rem) !important;
    height: clamp(9.35rem, 41.6vw, 14.55rem) !important;
    bottom: 3.15rem !important;
  }
}

/* Final nav row guard: allow responsive positioning, but never split menu items across rows */
.site-nav {
  align-items: center !important;
  flex-wrap: nowrap !important;
  white-space: nowrap !important;
}

.site-nav a,
.site-nav .nav-modal-trigger,
.site-nav .thread-search {
  flex: 0 0 auto !important;
  white-space: nowrap !important;
}

.site-nav a,
.site-nav .nav-modal-trigger {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-height: 2rem !important;
  line-height: 1 !important;
}

.site-nav .thread-search {
  align-self: center !important;
}

@media (max-width: 900px) {
  .site-nav {
    align-items: center !important;
  }

  .site-nav a,
  .site-nav .nav-modal-trigger {
    height: 2rem !important;
    min-height: 2rem !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    line-height: 1 !important;
  }

  .site-nav .thread-search {
    height: 2rem !important;
    display: flex !important;
    align-items: center !important;
  }

  .site-nav .thread-search input {
    height: 2rem !important;
  }
}

/* Final Etik pointer guard: when faded by scroll, no layer may catch hover/click */
.hero-shell.is-parchment-hidden .parchment-widget,
.hero-shell.is-parchment-hidden .parchment-widget .parchment-widget__roll,
.hero-shell.is-parchment-hidden .parchment-widget:not(.is-open) .parchment-widget__roll,
.hero-shell.is-parchment-hidden .parchment-widget .etik-display {
  pointer-events: none !important;
}

.etik-display__options {
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: clamp(0.18rem, 0.65vw, 0.42rem) !important;
}

.etik-display__option {
  min-width: 0 !important;
  padding: clamp(0.22rem, 0.52vw, 0.4rem) clamp(0.38rem, 0.88vw, 0.68rem) !important;
  white-space: nowrap !important;
}

.etik-display__option span {
  min-width: 0 !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
}

.etik-display__option strong {
  flex: 0 0 auto !important;
  margin-left: 0.28rem !important;
}

/* Smoothness pass: scroll-driven layers should not chase old transition frames */
.hero-shell,
.hero,
.hero__inner,
.hero-shell .brand,
.hero-shell .parchment-widget,
.compact-countdown {
  backface-visibility: hidden;
  transform-style: preserve-3d;
}

.hero-shell,
.hero,
.hero__inner {
  transition: none !important;
}

.hero-shell .parchment-widget {
  transition: opacity 0.18s ease, visibility 0.18s ease !important;
}

.hero-shell.is-parchment-hidden .parchment-widget {
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
}

/* Scroll stability pass: never resize the hero while the user scrolls.
   The old height shrink caused scroll feedback/judder around the countdown. */
.hero-shell {
  position: relative !important;
  top: auto !important;
  height: 100vh !important;
  min-height: 100vh !important;
  transition: none !important;
}

@supports (height: 100svh) {
  .hero-shell {
    height: 100svh !important;
    min-height: 100svh !important;
  }
}

body {
  background-attachment: scroll !important;
}

/* Background restore: keep the pearl image composed to the viewport without
   using body background-attachment: fixed, which caused scroll jank earlier. */
html {
  background: var(--paper);
}

body {
  background: var(--paper) !important;
}

body::after {
  display: none !important;
  content: none !important;
}

body::before {
  z-index: 1;
}

.site-nav,
.compact-countdown,
.hero-shell,
.page-section {
  position: relative;
  z-index: 2;
}

.hero-shell {
  z-index: 5 !important;
}

.content-shell {
  margin-top: calc(0px - var(--hero-content-overlap) - var(--content-lift, 0px)) !important;
}

/* Bottom-scroll fix: no fixed body pseudo-layer, no endless visual tail.
   Use a normal document background sized by width so it does not over-zoom. */
body {
  background:
    var(--paper)
    url("./assets/pearl-water-bg.png")
    center top / 100% auto
    repeat-y !important;
}

/* Modal/top-layer repair: these must never participate in document flow.
   If modal overlays become relative blocks, the page gets a fake bottom and
   Regler/Om oss stop behaving like popups. */
.info-modal-overlay {
  position: fixed !important;
  inset: 0 !important;
  z-index: 80 !important;
}

.info-modal-overlay:not(.is-open) {
  pointer-events: none !important;
}

.info-modal-overlay.is-open {
  pointer-events: auto !important;
}

/* Final mobile activity layout: prevent latest activity cards from overlapping. */
@media (max-width: 900px) {
  .section--activity {
    width: min(100% - 0.5rem, 1020px) !important;
    padding: 0.58rem !important;
    border-radius: 0.9rem !important;
  }

  .section--activity #activityTitle {
    font-size: clamp(1.15rem, 6vw, 1.45rem) !important;
  }

  .section--activity #activityTitle + p {
    font-size: 0.68rem !important;
    margin-bottom: 0.48rem !important;
  }

  #activityList,
  .section--activity #activityList,
  .section--activity .activity-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 0.32rem !important;
  }

  #activityList > *,
  .section--activity #activityList > * {
    min-width: 0 !important;
    padding: 0.42rem 0.38rem !important;
    border-left-width: 1px !important;
    border-radius: 0.58rem !important;
    grid-template-rows: auto auto auto !important;
  }

  .activity-card__top {
    display: block !important;
  }

  #activityList .activity-card__name {
    display: block !important;
    min-width: 0 !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
    font-size: 0.62rem !important;
    line-height: 1.08 !important;
  }

  .activity-card__time {
    display: block !important;
    max-width: 100% !important;
    margin-top: 0.15rem !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
    font-size: 0.46rem !important;
    line-height: 1.1 !important;
  }

  #activityList .activity-card__snippet {
    margin-top: 0.28rem !important;
    font-size: 0.6rem !important;
    line-height: 1.2 !important;
    -webkit-line-clamp: 1 !important;
  }

  #activityList .activity-card__jump,
  #activityList button.activity-card__jump,
  #activityList .activity-card__jump.btn.btn--secondary {
    margin-top: 0.24rem !important;
    padding: 0.27rem 0.42rem !important;
    font-size: 0.56rem !important;
    line-height: 1.16 !important;
    min-height: 0 !important;
    height: auto !important;
    border-width: 1px !important;
    border-radius: 999px !important;
    white-space: nowrap !important;
    box-shadow: none !important;
  }
}

/* Mobile interaction polish (iPhone): avoid click glow on comment actions and make Etik tab motion cleaner. */
@media (max-width: 760px) {
  .comment-action,
  .comment-action:focus-visible,
  .comment-action:hover,
  .comment-action:active,
  .comment-action:focus {
    -webkit-tap-highlight-color: transparent;
    -webkit-touch-callout: none;
    box-shadow: none !important;
    outline: none;
  }

  .comment-action:hover,
  .comment-action:active,
  .comment-action:focus-visible,
  .comment-action:focus,
  .comment-action[data-action="reply"]:hover,
  .comment-action[data-action="reply"]:active,
  .comment-action[data-action="reply"]:focus-visible,
  .comment-action[data-action="reply"]:focus,
  .comment-action[data-action="like"]:hover,
  .comment-action[data-action="like"]:active,
  .comment-action[data-action="like"]:focus-visible,
  .comment-action[data-action="like"]:focus {
    background: transparent !important;
    border-color: transparent !important;
    transform: none !important;
  }

  .comment-action:active .icon,
  .comment-action:active .icon img,
  .comment-action:active .reply-icon {
    box-shadow: none !important;
    filter: none !important;
    transform: none !important;
  }

  .hero-shell .parchment-widget__roll {
    transition: transform 0.86s cubic-bezier(0.15, 0.86, 0.2, 1), filter 0.24s ease !important;
    will-change: transform;
  }

  .hero-shell .parchment-widget.is-open .parchment-widget__roll {
    transition: transform 0.92s cubic-bezier(0.15, 0.86, 0.2, 1), filter 0.24s ease !important;
    animation: none !important;
    transform:
      perspective(1400px)
      translate3d(var(--etik-open-x), var(--etik-open-y), 0)
      rotateX(0deg)
      rotateY(0deg)
      rotateZ(2.4deg)
      scale(1) !important;
  }

  .hero-shell .parchment-widget.is-closing .parchment-widget__roll {
    animation: none !important;
    transform:
      perspective(1400px)
      translate3d(72.4%, 24%, 0)
      rotateX(0deg)
      rotateY(-7deg)
      rotateZ(15deg)
      scale(0.9) !important;
    filter: none !important;
  }

  .hero-shell .parchment-widget:not(.is-open):not(.is-closing):hover .parchment-widget__roll,
  .hero-shell .parchment-widget:not(.is-open):not(.is-closing):focus-visible .parchment-widget__roll {
    transform:
      perspective(1400px)
      translate3d(72.4%, 24%, 0)
      rotateX(0deg)
      rotateY(-7deg)
      rotateZ(15deg)
      scale(0.9) !important;
  }

  .hero-shell .parchment-widget:not(.is-open):not(.is-closing):hover .parchment-widget__roll::before,
  .hero-shell .parchment-widget:not(.is-open):not(.is-closing):focus-visible .parchment-widget__roll::before {
    animation: none !important;
  }
}

/* Final guard: keep comment reply/like controls from inheriting image or form sizing. */
.comment__actions .comment-action,
.comment__actions button.comment-action,
.comment-action[data-action="reply"],
.comment-action[data-action="like"] {
  width: auto !important;
  max-width: max-content !important;
  min-width: 0 !important;
  min-height: 0 !important;
  height: auto !important;
  flex: 0 0 auto !important;
  align-self: center !important;
  padding: 0.24rem 0.5rem 0.24rem 0.3rem !important;
  font-size: 0.82rem !important;
  line-height: 1 !important;
}

.comment-action .icon,
.comment-action[data-action="reply"] .icon,
.comment-action[data-action="like"] .icon {
  width: 1.68rem !important;
  height: 1.68rem !important;
  min-width: 1.68rem !important;
  min-height: 1.68rem !important;
  max-width: 1.68rem !important;
  max-height: 1.68rem !important;
  flex: 0 0 1.68rem !important;
  overflow: hidden !important;
}

.comment-action .icon img,
.comment-action .reply-icon,
.comment-action[data-action="reply"] .icon img,
.comment-action[data-action="like"] .icon img {
  width: 100% !important;
  height: 100% !important;
  min-width: 0 !important;
  min-height: 0 !important;
  max-width: 100% !important;
  max-height: 100% !important;
  display: block !important;
  object-fit: contain !important;
}

.comment-collapse,
button.comment-collapse {
  width: fit-content !important;
  max-width: 100% !important;
  min-width: 0 !important;
  min-height: 0 !important;
  height: auto !important;
  margin: 0.45rem 0 0 !important;
  padding: 0.26rem 0.58rem !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 0 !important;
  flex: 0 0 auto !important;
  align-self: flex-start !important;
  font-size: 0.72rem !important;
  line-height: 1.1 !important;
  white-space: nowrap !important;
  overflow: hidden !important;
}

.comment-collapse .icon,
.comment-collapse img {
  display: none !important;
  width: 0 !important;
  height: 0 !important;
  max-width: 0 !important;
  max-height: 0 !important;
}

/* Clock scroll repair: keep the compact clock fixed to the viewport and
   bring it in when the large hero countdown has folded away. */
.hero-shell {
  backface-visibility: visible !important;
  transform-style: flat !important;
}

.floating-tools {
  position: fixed !important;
  top: 1rem !important;
  right: 1rem !important;
  z-index: 90 !important;
  transform: none !important;
  pointer-events: none !important;
}

.compact-countdown {
  opacity: 0 !important;
  visibility: hidden !important;
  transform: translate3d(0, -8px, 0) scale(0.95) !important;
  pointer-events: none !important;
  transition: opacity 0.18s ease, visibility 0.18s ease, transform 0.18s ease !important;
}

.hero-shell.is-countdown-collapsed .floating-tools {
  pointer-events: auto !important;
}

.hero-shell.is-countdown-collapsed .compact-countdown {
  opacity: 1 !important;
  visibility: visible !important;
  transform: translate3d(0, 0, 0) scale(1) !important;
  pointer-events: auto !important;
}

.hero-shell.is-countdown-collapsed .hero__scroll-cue,
.hero-shell.is-countdown-collapsed .hero__scroll-text {
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
}

@media (max-width: 760px) {
  .floating-tools {
    top: 0.7rem !important;
    right: 0.7rem !important;
  }
}

/* Clock scroll interpolation: the large countdown follows scroll position
   continuously instead of blinking away at a class threshold. */
.hero__countdown.countdown-grid {
  opacity: var(--countdown-opacity) !important;
  visibility: visible !important;
  transform: translate3d(0, var(--countdown-y), 0) scale(var(--countdown-scale)) !important;
  transform-origin: center top !important;
  pointer-events: none !important;
  transition: none !important;
  will-change: opacity, transform;
}

.hero__open-time {
  opacity: var(--countdown-copy-opacity) !important;
  visibility: visible !important;
  transform: translate3d(0, var(--countdown-copy-y), 0) scale(var(--countdown-copy-scale)) !important;
  transform-origin: center top !important;
  pointer-events: none !important;
  transition: none !important;
  will-change: opacity, transform;
}

.hero-shell.is-countdown-collapsed .hero__countdown,
.hero-shell.is-countdown-collapsed .hero__open-time {
  opacity: var(--countdown-opacity) !important;
  visibility: visible !important;
}

.hero__scroll-cue,
.hero__scroll-text {
  opacity: var(--scroll-cue-opacity) !important;
  transform: translate3d(0, var(--scroll-cue-y), 0) !important;
  transition: none !important;
}

.hero__scroll-cue {
  animation: none !important;
}

.hero-shell.is-countdown-collapsed .hero__scroll-cue,
.hero-shell.is-countdown-collapsed .hero__scroll-text {
  opacity: var(--scroll-cue-opacity) !important;
  visibility: visible !important;
}

.compact-countdown {
  opacity: var(--compact-countdown-opacity) !important;
  visibility: visible !important;
  transform: translate3d(0, var(--compact-countdown-y), 0) scale(var(--compact-countdown-scale)) !important;
  pointer-events: none !important;
  transition: none !important;
  will-change: opacity, transform;
}

.hero-shell.is-countdown-collapsed .compact-countdown {
  opacity: var(--compact-countdown-opacity) !important;
  visibility: visible !important;
  background: #fff !important;
  border-color: rgba(92, 79, 72, 0.22) !important;
  box-shadow: 0 18px 46px rgba(102, 82, 72, 0.14) !important;
  transform: translate3d(0, var(--compact-countdown-y), 0) scale(var(--compact-countdown-scale)) !important;
  pointer-events: auto !important;
}

/* Etik interaction repair: keep the sign animated after the late scroll
   stability overrides, and make closing states non-interactive. */
.hero-shell .parchment-widget {
  transition:
    opacity 0.18s ease,
    visibility 0.18s ease,
    transform 0.24s ease,
    width 0.24s ease,
    height 0.24s ease,
    right 0.24s ease,
    bottom 0.24s ease !important;
}

.hero-shell .parchment-widget__roll {
  transition:
    opacity 0.18s ease,
    transform 0.86s cubic-bezier(0.15, 0.86, 0.2, 1),
    filter 0.24s ease !important;
  will-change: opacity, transform;
}

.hero-shell:not(.is-parchment-hidden) .parchment-widget.is-open {
  visibility: visible !important;
  pointer-events: auto !important;
}

.hero-shell .parchment-widget.is-closing,
.hero-shell .parchment-widget.is-closing .etik-display {
  pointer-events: none !important;
}

.hero-shell .parchment-widget.is-closing .etik-display {
  opacity: 0 !important;
}

/* Runtime performance pass */
.section,
.comment,
.activity-card,
.archive-item,
.info-modal {
  contain: layout paint style;
}

.comment,
.activity-card {
  content-visibility: auto;
}

.comment {
  contain-intrinsic-size: auto 12rem;
}

.activity-card {
  contain-intrinsic-size: auto 8rem;
}

.section,
.site-nav,
.compact-countdown,
.info-modal {
  -webkit-backdrop-filter: none !important;
  backdrop-filter: none !important;
}

.comment-action .icon,
.comment-action[data-active="true"]:not([data-action="like"]) .icon,
.comment-action:hover .icon,
.comment-action:focus-visible .icon {
  filter: none !important;
}

/* Etik i natten modal rebuild */
:root {
  --etik-launcher-opacity: 1;
  --etik-launcher-scale: 1;
  --etik-launcher-y: 0px;
}

.etik-launcher {
  position: fixed;
  right: clamp(1.55rem, 4.2vw, 3.15rem);
  bottom: clamp(1rem, 3vw, 2rem);
  z-index: 58;
  width: clamp(4.4rem, 7.6vw, 6.3rem);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: transparent;
  cursor: pointer;
  opacity: var(--etik-launcher-opacity);
  transform: translate3d(0, var(--etik-launcher-y), 0) scale(var(--etik-launcher-scale));
  transform-origin: center;
  transition: opacity 0.2s ease, visibility 0.2s ease, filter 0.24s ease, background 0.22s ease;
  will-change: opacity, transform;
}

.etik-launcher::before {
  display: none;
  content: none;
}

.etik-launcher img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  filter:
    drop-shadow(0 1.15rem 1.25rem rgba(78, 55, 45, 0.34))
    drop-shadow(0 0 1.45rem rgba(207, 136, 133, 0.44))
    drop-shadow(0 0 3.3rem rgba(255, 255, 255, 0.82));
  pointer-events: none;
  transition: filter 0.2s ease, transform 0.2s cubic-bezier(0.16, 0.9, 0.24, 1);
}

.etik-launcher:hover,
.etik-launcher:focus-visible {
  filter: brightness(1.03) saturate(1.04);
}

.etik-launcher:active,
.etik-launcher[aria-expanded="true"] {
  background: rgba(207, 136, 133, 0.14);
}

.etik-launcher:active img,
.etik-launcher[aria-expanded="true"] img {
  filter:
    sepia(0.22)
    saturate(1.24)
    hue-rotate(312deg)
    brightness(1.03)
    drop-shadow(0 1.15rem 1.25rem rgba(78, 55, 45, 0.3))
    drop-shadow(0 0 1.55rem rgba(207, 136, 133, 0.56))
    drop-shadow(0 0 3.3rem rgba(255, 255, 255, 0.82));
  transform: scale(0.985);
}

.etik-launcher:focus-visible {
  outline: none;
}

body.is-etik-launcher-hidden .etik-launcher {
  pointer-events: none;
  visibility: hidden;
}

.etik-psst-cue {
  --etik-psst-width: clamp(4.35rem, 9.1vw, 7.65rem);
  --etik-psst-arrow-x-from-right: 47%;
  --etik-psst-arrow-y-from-bottom: 13%;
  --etik-icon-width: clamp(4.4rem, 7.6vw, 6.3rem);
  --etik-icon-right: clamp(1.55rem, 4.2vw, 3.15rem);
  --etik-icon-bottom: clamp(1rem, 3vw, 2rem);
  position: fixed;
  right: calc(var(--etik-icon-right) + (var(--etik-icon-width) * 0.5) - (var(--etik-psst-width) * 0.47) + 0.72rem);
  bottom: calc(var(--etik-icon-bottom) + var(--etik-icon-width) - (var(--etik-psst-width) * 0.13) + 0.55rem);
  z-index: 57;
  width: var(--etik-psst-width);
  height: auto;
  display: block;
  opacity: 0;
  pointer-events: none;
  transform: translate3d(0, 0, 0);
  transform-origin: calc(100% - var(--etik-psst-arrow-x-from-right)) calc(100% - var(--etik-psst-arrow-y-from-bottom));
  transition: opacity 0.22s ease;
  will-change: opacity, transform;
}

.etik-psst-cue__image {
  width: 100%;
  height: auto;
  display: block;
  opacity: 0;
  transform: translate3d(0, 2.2rem, 0) scale(0.2) rotate(-3deg);
  transform-origin: calc(100% - var(--etik-psst-arrow-x-from-right)) calc(100% - var(--etik-psst-arrow-y-from-bottom));
  filter: drop-shadow(0 0.9rem 1.55rem rgba(82, 64, 58, 0.18));
  will-change: opacity, transform;
}

.etik-psst-cue[hidden] {
  display: none !important;
}

.etik-psst-cue.is-visible {
  opacity: var(--etik-launcher-opacity, 1);
  animation: etikPsstFloat 4.8s cubic-bezier(0.45, 0, 0.55, 1) 0.95s infinite;
}

.etik-psst-cue.is-visible .etik-psst-cue__image {
  animation: etikPsstPop 0.92s cubic-bezier(0.18, 0.9, 0.2, 1) both;
}

.etik-psst-cue.is-hiding {
  opacity: var(--etik-launcher-opacity, 1);
  animation: none;
}

.etik-psst-cue.is-hiding .etik-psst-cue__image {
  animation: etikPsstHide 0.72s cubic-bezier(0.34, 0, 0.18, 1) both;
}

body.is-etik-launcher-hidden .etik-psst-cue {
  opacity: 0 !important;
  visibility: hidden;
}

@keyframes etikPsstPop {
  0% {
    opacity: 0;
    transform: translate3d(0, 2.2rem, 0) scale(0.2) rotate(-3deg);
  }
  48% {
    opacity: 1;
    transform: translate3d(-0.1rem, -0.12rem, 0) scale(1.035) rotate(0.55deg);
  }
  72% {
    opacity: 1;
    transform: translate3d(0.04rem, 0.04rem, 0) scale(0.985) rotate(-0.25deg);
  }
  100% {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1) rotate(0deg);
  }
}

@keyframes etikPsstFloat {
  0% {
    transform: translate3d(0, 0.16rem, 0);
  }
  50% {
    transform: translate3d(0, -0.72rem, 0);
  }
  100% {
    transform: translate3d(0, 0.16rem, 0);
  }
}

@keyframes etikPsstHide {
  0% {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1) rotate(0deg);
  }
  38% {
    opacity: 1;
    transform: translate3d(0.36rem, 0.28rem, 0) scale(0.96) rotate(-0.5deg);
  }
  100% {
    opacity: 0;
    transform: translate3d(0, 2.2rem, 0) scale(0.2) rotate(-3deg);
  }
}

.etik-modal-overlay {
  z-index: 100;
  padding: clamp(1rem, 3vw, 2.3rem);
  background: rgba(255, 255, 255, 0.003) !important;
  -webkit-backdrop-filter: blur(3.5px) saturate(1.01) brightness(1.002) !important;
  backdrop-filter: blur(3.5px) saturate(1.01) brightness(1.002) !important;
  transition: opacity 0.18s ease, visibility 0.18s ease !important;
}

.etik-modal-overlay.is-closing {
  opacity: 0;
  visibility: visible;
  pointer-events: none;
}

.etik-modal {
  position: relative;
  width: min(94vw, 1120px);
  max-height: min(90vh, 720px);
  display: grid;
  place-items: center;
  opacity: 0;
  transform: translate3d(0, 0.8rem, 0) scale(0.96);
  transition: opacity 0.18s ease, transform 0.2s cubic-bezier(0.16, 0.86, 0.22, 1);
}

.etik-modal-overlay.is-open .etik-modal {
  opacity: 1;
  transform: translate3d(0, 0, 0) scale(1);
}

.etik-modal__close {
  position: absolute;
  top: clamp(-0.78rem, -0.86cqw, -0.58rem);
  right: 2.25%;
  z-index: 6;
  width: clamp(2.35rem, 4vw, 3rem);
  height: clamp(2.35rem, 4vw, 3rem);
  display: grid;
  place-items: center;
  border: 1px solid rgba(168, 101, 98, 0.2);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.58);
  color: rgba(119, 83, 78, 0.82);
  box-shadow: 0 0.9rem 2rem rgba(102, 82, 72, 0.16);
  cursor: pointer;
  font-family: var(--font-sans);
  font-size: clamp(1.35rem, 3vw, 1.85rem);
  font-weight: 300;
  line-height: 1;
}

.etik-modal__close:hover,
.etik-modal__close:focus-visible {
  background: rgba(255, 255, 255, 0.78);
  color: var(--rose-dark);
  outline: none;
}

.etik-modal__paper {
  position: relative;
  width: 100%;
  aspect-ratio: 1687 / 932;
  max-height: min(80vh, 620px);
  container-type: inline-size;
  transition: filter 0.2s ease;
  filter:
    drop-shadow(0 2.45rem 5.6rem rgba(74, 54, 48, 0.3))
    drop-shadow(0 0.75rem 1.45rem rgba(151, 96, 89, 0.18))
    drop-shadow(0 -0.25rem 1.8rem rgba(255, 255, 255, 0.36));
}

.etik-modal__paper > img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  pointer-events: none;
  user-select: none;
}

.etik-modal__paper .etik-display {
  --etik-fit-scale: 1;
  left: 12.5%;
  right: 12.5%;
  top: 34.5%;
  bottom: 9.5%;
  display: grid;
  grid-template-rows: auto auto auto;
  align-content: center;
  justify-items: center;
  justify-content: center;
  gap: calc(clamp(0.42rem, 1.15cqw, 0.9rem) * var(--etik-fit-scale));
  padding: calc(clamp(0.25rem, 0.9cqw, 0.75rem) * var(--etik-fit-scale));
  opacity: 0;
  pointer-events: none;
}

.etik-modal-overlay.is-open .etik-display {
  opacity: 1;
  pointer-events: auto;
}

.etik-modal__paper .etik-display__line,
.etik-modal__paper .etik-display__question {
  display: block;
  font-size: calc(clamp(0.95rem, 3.05cqw, 2.12rem) * var(--etik-fit-scale));
  line-height: 1.12;
  -webkit-line-clamp: unset;
}

.etik-modal__paper .etik-display__question {
  font-size: calc(clamp(0.84rem, 2.25cqw, 1.58rem) * var(--etik-fit-scale));
  -webkit-line-clamp: unset;
}

.etik-modal__paper .etik-display__options {
  width: min(100%, 36rem);
  max-height: none;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: calc(clamp(0.42rem, 0.98cqw, 0.78rem) * var(--etik-fit-scale)) !important;
  margin-top: calc(clamp(0.85rem, 1.8cqw, 1.35rem) * var(--etik-fit-scale));
}

.etik-modal__paper .etik-display__options--count-2 {
  width: min(100%, 32rem);
}

.etik-modal__paper .etik-display__options--count-3 {
  width: min(100%, 44rem);
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
}

.etik-modal__paper .etik-display__options--count-4 {
  width: min(100%, 38rem);
}

.etik-modal__paper .etik-display__option {
  min-height: calc(clamp(1.7rem, 3.35cqw, 2.55rem) * var(--etik-fit-scale));
  padding: calc(clamp(0.34rem, 0.78cqw, 0.58rem) * var(--etik-fit-scale)) calc(clamp(1.05rem, 2cqw, 1.55rem) * var(--etik-fit-scale)) !important;
  font-size: calc(clamp(0.78rem, 1.24cqw, 1.05rem) * var(--etik-fit-scale));
  display: grid;
  place-items: center;
  justify-content: center;
  text-align: center;
  white-space: normal !important;
}

.etik-modal__paper .etik-display__option-label {
  width: min(100%, calc(100% - 4.8ch));
  display: block;
  justify-self: center;
  text-align: center;
  text-overflow: clip !important;
  white-space: normal !important;
}

.etik-modal__paper .etik-display__option-stat {
  position: absolute;
  top: 50%;
  right: calc(clamp(0.5rem, 1.1cqw, 0.78rem) * var(--etik-fit-scale));
  flex: 0 0 4.4ch !important;
  min-width: 4.4ch !important;
  overflow: visible !important;
  text-overflow: clip !important;
  white-space: nowrap !important;
  transform: translateY(-50%) translateX(0.18rem);
}

.etik-modal__paper.etik-modal__paper .etik-display.is-results-visible .etik-display__option-stat {
  transform: translateY(-50%) translateX(0);
}

.etik-modal__paper .etik-display__summary {
  font-size: calc(clamp(0.7rem, 1.25cqw, 1rem) * var(--etik-fit-scale));
}

@media (max-width: 760px) {
  .etik-launcher {
    width: clamp(3.95rem, 15.8vw, 4.95rem);
    right: 1.18rem;
    bottom: calc(var(--hero-content-overlap) + 0.8rem);
  }

  .etik-psst-cue {
    --etik-psst-width: clamp(4.25rem, 21vw, 6.15rem);
    --etik-icon-width: clamp(3.95rem, 15.8vw, 4.95rem);
    --etik-icon-right: 1.18rem;
    --etik-icon-bottom: calc(var(--hero-content-overlap) + 0.8rem);
  }

  .etik-modal {
    width: min(96vw, 760px);
  }

  .etik-modal__paper {
    height: auto;
    min-height: 0;
    aspect-ratio: 1687 / 932;
  }

  .etik-modal__paper > img {
    object-fit: contain;
  }

  .etik-modal__paper .etik-display {
    left: 10.5%;
    right: 10.5%;
    top: 37%;
    bottom: 7.5%;
    gap: calc(0.18rem * var(--etik-fit-scale));
    padding: calc(0.08rem * var(--etik-fit-scale)) calc(0.24rem * var(--etik-fit-scale));
  }

  .etik-modal__paper .etik-display__line,
  .etik-modal__paper .etik-display__question {
    font-size: calc(clamp(0.68rem, 3.7vw, 1.05rem) * var(--etik-fit-scale));
    -webkit-line-clamp: unset;
  }

  .etik-modal__paper .etik-display__question {
    font-size: calc(clamp(0.56rem, 3.05vw, 0.82rem) * var(--etik-fit-scale));
    -webkit-line-clamp: unset;
  }

  .etik-modal__paper .etik-display__options {
    grid-template-columns: 1fr !important;
    width: min(100%, 18rem);
    gap: calc(0.22rem * var(--etik-fit-scale)) !important;
    margin-top: calc(0.5rem * var(--etik-fit-scale));
  }

  .etik-modal__paper .etik-display__option {
    min-height: calc(clamp(1.08rem, 5.25vw, 1.45rem) * var(--etik-fit-scale));
    padding: calc(0.16rem * var(--etik-fit-scale)) calc(0.84rem * var(--etik-fit-scale)) !important;
    font-size: calc(clamp(0.58rem, 2.65vw, 0.76rem) * var(--etik-fit-scale));
  }

  .etik-modal__paper .etik-display__summary {
    font-size: calc(clamp(0.46rem, 2.15vw, 0.58rem) * var(--etik-fit-scale));
  }
}

/* Background seam repair: keep the pearl image as one viewport-covering
   layer so no tiled image edge can appear near the bottom of the page. */
body {
  position: relative;
  background: var(--paper) !important;
  isolation: isolate;
}

body::after {
  content: "" !important;
  display: block !important;
  position: fixed !important;
  inset: -2px !important;
  z-index: 0 !important;
  pointer-events: none !important;
  background: url("./assets/pearl-water-bg.png") center center / cover no-repeat !important;
  transform: translateZ(0);
}

body::before {
  z-index: 1 !important;
}

/* Public thread layout polish: keep the three main cards aligned while giving
   comments more reading room and stopping deep replies from becoming tiny. */
:root {
  --public-card-width: min(1020px, calc(100% - 2.8rem));
  --public-thread-column: min(100%, 58rem);
}

.section--activity,
.section--thread,
.section--archive {
  width: var(--public-card-width) !important;
  max-width: var(--public-card-width) !important;
}

.section--thread .section__header,
.comment-thread,
.comment-form {
  width: var(--public-thread-column) !important;
  max-width: 58rem !important;
  margin-inline: auto !important;
}

.comment__body {
  max-width: 72ch !important;
}

.comment {
  --comment-card-pad: 1rem;
}

.comment__header {
  align-items: flex-start !important;
}

.comment__meta {
  margin-left: auto;
  display: grid;
  justify-items: start;
  gap: 0.3rem;
  text-align: left;
}

.comment__meta .comment__time {
  justify-self: start;
}

.comment__meta .comment-collapse,
.comment__meta button.comment-collapse {
  margin: 0 !important;
  padding: 0.22rem 0.62rem !important;
  font-size: 0.74rem !important;
  line-height: 1.1 !important;
}

.comment--level-4 > .comment__replies {
  margin-left: calc(-1 * var(--comment-card-pad, 1rem)) !important;
  margin-right: calc(-1 * var(--comment-card-pad, 1rem)) !important;
  padding-left: 0 !important;
  border-left: 0 !important;
}

.comment--level-4 > .comment__replies > .comment {
  width: 100% !important;
}

.comment--level-4 > .comment__replies > .comment::before {
  display: none !important;
}

.comment--level-4 .comment__replies,
.comment--level-4 .comment__replies .comment__replies {
  margin-top: 0.75rem;
  margin-left: 0 !important;
  margin-right: 0 !important;
  padding-left: 0 !important;
  border-left: 0 !important;
}

.comment--level-4 .comment__replies > .comment,
.comment--level-4 .comment__replies .comment {
  width: 100% !important;
  max-width: 100% !important;
}

.comment--level-4 .comment__replies > .comment::before,
.comment--level-4 .comment__replies .comment::before {
  display: none !important;
}

@media (max-width: 760px) {
  :root {
    --public-card-width: min(1020px, calc(100% - 0.75rem));
    --public-thread-column: 100%;
  }

  .comment__meta {
    min-width: max-content;
  }

  .comment {
    --comment-card-pad: 0.95rem;
  }
}

/* Restore scroll-driven logo movement for the fixed ÖS image. */
.brand-logo {
  opacity: var(--brand-logo-opacity, 0.92) !important;
  transform: translate3d(0, var(--brand-logo-y, 0px), 0) scale(var(--brand-logo-scale, 1)) !important;
  transform-origin: left top;
}

/* Restore inline reply composer and tactile icon effects. */
.inline-reply-form {
  display: grid;
  gap: 0.62rem;
  margin: 0.72rem 0 0;
  padding: 0.9rem;
  border: 1px solid rgba(207, 136, 133, 0.18);
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.45);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.58), 0 0.85rem 2.2rem rgba(109, 82, 72, 0.08);
  animation: inlineReplyFold 0.28s cubic-bezier(0.2, 0.82, 0.22, 1) both;
  transform-origin: top center;
}

.inline-reply-form textarea {
  min-height: 5.8rem;
  resize: vertical;
}

.inline-reply-form__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  align-items: center;
}

.inline-reply-form__actions .btn {
  font-size: 0.86rem !important;
  font-weight: 400 !important;
  padding: 0.52rem 0.95rem !important;
}

/* Softer reveal for inline replies and show/hide reply threads. */
.inline-reply-form {
  animation: inlineReplySoftReveal 0.42s cubic-bezier(0.18, 0.88, 0.2, 1) both !important;
  transform-origin: top center;
}

.comment__replies {
  animation: repliesSoftReveal 0.42s cubic-bezier(0.18, 0.88, 0.2, 1) both;
  transform-origin: top center;
  gap: 0.95rem !important;
  margin-top: 1rem !important;
  padding-left: 1.05rem !important;
  border-left: 2px solid rgba(159, 47, 42, 0.16) !important;
  position: relative;
}

.comment__replies::before {
  content: "";
  position: absolute;
  left: -2px;
  top: 0.3rem;
  bottom: 0.3rem;
  width: 2px;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(159, 47, 42, 0.2), rgba(207, 136, 133, 0.06));
}

.comment__replies > .comment {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.82), rgba(255, 250, 247, 0.66)) !important;
  border-left: 1px solid rgba(159, 47, 42, 0.12) !important;
}

.comment__replies > .comment + .comment {
  margin-top: 0.42rem !important;
  position: relative;
}

.comment__replies > .comment + .comment::after {
  content: "";
  position: absolute;
  left: 0.45rem;
  right: 0.45rem;
  top: -0.52rem;
  height: 2px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(159, 47, 42, 0.22),
    rgba(207, 136, 133, 0.32),
    rgba(159, 47, 42, 0.18),
    transparent
  );
  border-radius: 999px;
  opacity: 0.92;
}

/* Keep reply/like controls exactly the same size in clicked/active states. */
.comment-action[data-action="reply"],
.comment-action[data-action="reply"]:hover,
.comment-action[data-action="reply"]:focus-visible,
.comment-action[data-action="reply"]:active,
.comment-action[data-action="reply"][data-active="true"],
.comment-action[data-action="like"],
.comment-action[data-action="like"]:hover,
.comment-action[data-action="like"]:focus-visible,
.comment-action[data-action="like"]:active,
.comment-action[data-action="like"][data-active="true"] {
  transform: none !important;
}

.comment-action[data-action="reply"] .icon,
.comment-action[data-action="reply"]:hover .icon,
.comment-action[data-action="reply"]:focus-visible .icon,
.comment-action[data-action="reply"]:active .icon,
.comment-action[data-action="reply"][data-active="true"] .icon,
.comment-action[data-action="like"] .icon,
.comment-action[data-action="like"]:hover .icon,
.comment-action[data-action="like"]:focus-visible .icon,
.comment-action[data-action="like"]:active .icon,
.comment-action[data-action="like"][data-active="true"] .icon {
  transform: none !important;
}

.comment-action[data-action="reply"] .icon img,
.comment-action[data-action="reply"]:hover .icon img,
.comment-action[data-action="reply"]:focus-visible .icon img,
.comment-action[data-action="reply"]:active .icon img,
.comment-action[data-action="reply"][data-active="true"] .icon img,
.comment-action[data-action="like"] .icon img,
.comment-action[data-action="like"]:hover .icon img,
.comment-action[data-action="like"]:focus-visible .icon img,
.comment-action[data-action="like"]:active .icon img,
.comment-action[data-action="like"][data-active="true"] .icon img {
  transform: none !important;
  animation: none !important;
}

/* Deep replies: after level five, keep cards the same size and stack normally. */
.comment--level-4 .comment,
.comment--level-4 .comment__replies > .comment,
.comment--level-4 .comment__replies .comment {
  width: 100% !important;
  max-width: 100% !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  transform: none !important;
}

.comment--level-4 .comment__replies,
.comment--level-4 .comment__replies .comment__replies {
  margin-left: 0 !important;
  margin-right: 0 !important;
  padding-left: 0.95rem !important;
}

.comment--level-4 .comment__body,
.comment--level-4 .comment__user,
.comment--level-4 .comment__time,
.comment--level-4 .comment-action {
  font-size: inherit !important;
}

.comment-collapse {
  transition:
    background-color 0.28s ease,
    border-color 0.28s ease,
    color 0.28s ease,
    opacity 0.28s ease,
    filter 0.28s ease !important;
}

.comment__meta .comment-collapse,
.comment__meta button.comment-collapse {
  margin-left: auto !important;
  align-self: center !important;
}

@keyframes inlineReplySoftReveal {
  from {
    opacity: 0;
    filter: blur(2px);
    transform: translateY(-0.28rem) scaleY(0.96);
  }
  to {
    opacity: 1;
    filter: blur(0);
    transform: translateY(0) scaleY(1);
  }
}

@keyframes repliesSoftReveal {
  from {
    opacity: 0;
    filter: blur(1.5px);
    transform: translateY(-0.22rem);
  }
  to {
    opacity: 1;
    filter: blur(0);
    transform: translateY(0);
  }
}

.comment-action {
  overflow: visible !important;
  min-width: 4.25rem !important;
  min-height: 2.45rem !important;
  padding: 0.36rem 0.62rem !important;
  transition:
    transform 0.2s cubic-bezier(0.2, 0.88, 0.24, 1),
    color 0.2s ease,
    background 0.2s ease,
    border-color 0.2s ease !important;
}

.comment-action .icon,
.comment-action .icon img {
  overflow: visible !important;
  transition:
    transform 0.24s cubic-bezier(0.18, 0.9, 0.2, 1),
    opacity 0.2s ease,
    filter 0.2s ease !important;
}

.comment-action .icon {
  width: 1.95rem !important;
  height: 1.95rem !important;
  min-width: 1.95rem !important;
  display: inline-grid !important;
  place-items: center !important;
}

.comment-action .icon img {
  width: 1.58rem !important;
  height: 1.58rem !important;
  object-fit: contain !important;
  max-width: none !important;
  max-height: none !important;
}

/* Brighten comment and latest-activity cards while keeping the existing style. */
.comment {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(255, 253, 250, 0.78)) !important;
  border-color: rgba(255, 255, 255, 0.76) !important;
  box-shadow:
    0 1rem 2.8rem rgba(109, 82, 72, 0.055),
    inset 0 1px 0 rgba(255, 255, 255, 0.92) !important;
}

.activity-card,
.section--activity #activityList > * {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.78), rgba(255, 252, 249, 0.62)) !important;
  border-color: rgba(255, 255, 255, 0.62) !important;
  box-shadow:
    0 0.9rem 2.2rem rgba(109, 82, 72, 0.06),
    inset 0 1px 0 rgba(255, 255, 255, 0.82) !important;
}

/* Hard guard: reply/like images must never be clipped during click/pop states. */
.comment,
.comment__actions,
.comment__actions .comment-action,
.comment-action .icon,
.comment-action .icon img {
  overflow: visible !important;
}

.comment__actions {
  position: relative;
  z-index: 2;
  margin-top: 0.95rem !important;
  margin-bottom: -0.34rem !important;
  padding: 0.08rem 0.28rem 0.08rem !important;
}

.comment-action[data-action="reply"],
.comment-action[data-action="like"] {
  position: relative;
  z-index: 1;
  min-width: 5.1rem !important;
  min-height: 3rem !important;
  padding: 0.42rem 0.82rem !important;
  isolation: isolate;
}

.comment-action[data-action="reply"]:hover,
.comment-action[data-action="reply"]:focus-visible,
.comment-action[data-action="reply"]:active,
.comment-action[data-action="like"]:hover,
.comment-action[data-action="like"]:focus-visible,
.comment-action[data-action="like"]:active {
  z-index: 5;
}

.comment-action[data-action="reply"] .icon,
.comment-action[data-action="like"] .icon {
  width: 2.35rem !important;
  height: 2.35rem !important;
  min-width: 2.35rem !important;
  border-radius: 0 !important;
}

.comment-action[data-action="reply"] .icon img,
.comment-action[data-action="like"] .icon img {
  width: auto !important;
  height: 1.92rem !important;
  max-width: 2.2rem !important;
  max-height: none !important;
  object-fit: contain !important;
  object-position: center !important;
  transform-origin: center center !important;
}

.comment-action[data-action="reply"]:active .icon img,
.comment-action[data-action="like"]:active .icon img,
.comment-action[data-action="reply"][data-active="true"] .icon img,
.comment-action[data-action="like"][data-active="true"] .icon img {
  transform: scale(1.08) !important;
}

/* Absolute final guard: never scale the bitmap itself.
   The click effect lives on the button/icon shell so the artwork cannot be cut off. */
.comment-action[data-action="reply"] .icon img,
.comment-action[data-action="like"] .icon img,
.comment-action[data-action="reply"]:hover .icon img,
.comment-action[data-action="reply"]:focus-visible .icon img,
.comment-action[data-action="reply"]:active .icon img,
.comment-action[data-action="reply"][data-active="true"] .icon img,
.comment-action[data-action="like"]:hover .icon img,
.comment-action[data-action="like"]:focus-visible .icon img,
.comment-action[data-action="like"]:active .icon img,
.comment-action[data-action="like"][data-active="true"] .icon img {
  width: auto !important;
  height: 1.54rem !important;
  max-width: 1.9rem !important;
  max-height: 1.9rem !important;
  transform: none !important;
  animation: none !important;
  object-fit: contain !important;
}

.comment-action[data-action="reply"] .icon,
.comment-action[data-action="like"] .icon {
  width: 2.8rem !important;
  height: 2.8rem !important;
  min-width: 2.8rem !important;
  padding: 0.28rem !important;
  overflow: visible !important;
  transform-origin: center center !important;
}

.comment-action[data-action="reply"]:hover .icon,
.comment-action[data-action="reply"]:focus-visible .icon,
.comment-action[data-action="like"]:hover .icon,
.comment-action[data-action="like"]:focus-visible .icon {
  transform: scale(1.08) rotate(-2deg) !important;
}

.comment-action[data-action="reply"]:active .icon,
.comment-action[data-action="like"]:active .icon,
.comment-action[data-action="reply"][data-active="true"] .icon,
.comment-action[data-action="like"][data-active="true"] .icon {
  transform: scale(1.04) !important;
}

/* Size reset: keep the user's original compact reply/like image size.
   No click state may enlarge the artwork; effects use color/opacity only. */
.comment-action[data-action="reply"],
.comment-action[data-action="like"] {
  min-width: 0 !important;
  min-height: 0 !important;
  padding: 0.24rem 0.48rem !important;
  overflow: visible !important;
}

.comment-action[data-action="reply"] .icon,
.comment-action[data-action="like"] .icon {
  width: 1.75rem !important;
  height: 1.75rem !important;
  min-width: 1.75rem !important;
  padding: 0 !important;
  overflow: visible !important;
  transform: none !important;
}

.comment-action[data-action="reply"] .icon img,
.comment-action[data-action="like"] .icon img,
.comment-action[data-action="reply"]:hover .icon img,
.comment-action[data-action="reply"]:focus-visible .icon img,
.comment-action[data-action="reply"]:active .icon img,
.comment-action[data-action="reply"][data-active="true"] .icon img,
.comment-action[data-action="like"]:hover .icon img,
.comment-action[data-action="like"]:focus-visible .icon img,
.comment-action[data-action="like"]:active .icon img,
.comment-action[data-action="like"][data-active="true"] .icon img {
  width: 1.45rem !important;
  height: 1.45rem !important;
  max-width: 1.45rem !important;
  max-height: 1.45rem !important;
  transform: none !important;
  animation: none !important;
  object-fit: contain !important;
}

.comment-action[data-action="reply"]:hover .icon,
.comment-action[data-action="reply"]:focus-visible .icon,
.comment-action[data-action="reply"]:active .icon,
.comment-action[data-action="reply"][data-active="true"] .icon,
.comment-action[data-action="like"]:hover .icon,
.comment-action[data-action="like"]:focus-visible .icon,
.comment-action[data-action="like"]:active .icon,
.comment-action[data-action="like"][data-active="true"] .icon {
  transform: none !important;
  filter: saturate(1.08) brightness(1.04);
}

.comment-action[data-action="reply"]:hover,
.comment-action[data-action="reply"]:focus-visible,
.comment-action[data-action="like"]:hover,
.comment-action[data-action="like"]:focus-visible {
  transform: translateY(-1px) !important;
}

.comment-action[data-action="reply"]:active,
.comment-action[data-action="like"]:active {
  transform: translateY(0) !important;
}

.comment-action[data-action="reply"] {
  padding: 0.34rem 0.66rem !important;
  font-size: 1.12em !important;
}

.comment-action[data-action="like"] {
  border: 1px solid rgba(207, 136, 133, 0) !important;
  border-radius: 999px !important;
  background: rgba(255, 255, 255, 0) !important;
  transition:
    background-color 0.28s ease,
    border-color 0.28s ease,
    color 0.28s ease,
    filter 0.28s ease,
    opacity 0.28s ease !important;
}

.comment-action[data-action="like"]:hover,
.comment-action[data-action="like"]:focus-visible,
.comment-action[data-action="like"][data-active="true"] {
  border-color: rgba(207, 136, 133, 0.26) !important;
  background: rgba(255, 255, 255, 0.34) !important;
}

button,
.btn,
.comment-action,
.admin-tab,
.activity-card__jump,
.comment-collapse,
.thread-mode-switch,
.archive-item--clickable,
.etik-display__option {
  transition:
    background-color 0.28s ease,
    border-color 0.28s ease,
    color 0.28s ease,
    opacity 0.28s ease,
    filter 0.28s ease !important;
}

.comment-action[data-action="reply"] .icon {
  width: 2.12rem !important;
  height: 2.12rem !important;
  min-width: 2.12rem !important;
}

.comment-action[data-action="reply"] .icon img,
.comment-action[data-action="reply"]:hover .icon img,
.comment-action[data-action="reply"]:focus-visible .icon img,
.comment-action[data-action="reply"]:active .icon img,
.comment-action[data-action="reply"][data-active="true"] .icon img {
  width: 1.58rem !important;
  height: 1.76rem !important;
  max-width: 1.76rem !important;
  max-height: 1.76rem !important;
}

.comment__user--admin::after {
  position: relative;
  top: -0.08rem;
}

.comment__user--link {
  color: #9f2f2a !important;
  text-decoration: none !important;
  border-bottom: 0 !important;
}

.comment__user--link:hover,
.comment__user--link:focus-visible {
  color: #7d211d !important;
  border-bottom: 0 !important;
}

.comment {
  padding-bottom: 0.62rem !important;
}

.comment-action:hover,
.comment-action:focus-visible {
  transform: translateY(-1px) scale(1.035) !important;
}

.comment-action:active {
  transform: translateY(0) scale(0.96) !important;
}

.comment-action:hover .icon,
.comment-action:focus-visible .icon,
.comment-action:hover .icon img,
.comment-action:focus-visible .icon img {
  transform: scale(1.14) rotate(-3deg) !important;
}

.comment-action[data-action="reply"][data-active="true"] .icon img,
.comment-action[data-action="like"][data-active="true"] .icon img {
  transform: scale(1.1) !important;
  animation: commentIconPop 0.38s cubic-bezier(0.2, 0.9, 0.22, 1) both;
}

@keyframes inlineReplyFold {
  from {
    opacity: 0;
    transform: translateY(-0.35rem) scaleY(0.92);
  }
  to {
    opacity: 1;
    transform: translateY(0) scaleY(1);
  }
}

@keyframes commentIconPop {
  0% {
    transform: scale(0.82);
  }
  58% {
    transform: scale(1.18);
  }
  100% {
    transform: scale(1.06);
  }
}

/* Final interaction reset: no lift-up hover anywhere.
   Keep the older soft ring/tint feeling instead. */
button:hover,
button:focus-visible,
.btn:hover,
.btn:focus-visible,
.comment-action:hover,
.comment-action:focus-visible,
.comment-action:active,
.comment-action[data-action="reply"]:hover,
.comment-action[data-action="reply"]:focus-visible,
.comment-action[data-action="reply"]:active,
.comment-action[data-action="like"]:hover,
.comment-action[data-action="like"]:focus-visible,
.comment-action[data-action="like"]:active,
.comment-load-more__button:hover,
.comment-load-more__button:focus-visible,
.activity-card:hover,
.activity-card__jump:hover,
.activity-card__jump:focus-visible,
.archive-item--clickable:hover,
.archive-item--clickable:focus-visible,
.thread-mode-switch:hover,
.thread-mode-switch:focus-visible,
.etik-display__option:hover,
.etik-display__option:focus-visible {
  transform: none !important;
}

button:hover,
button:focus-visible,
.btn:hover,
.btn:focus-visible,
.comment-action:hover,
.comment-action:focus-visible,
.comment-load-more__button:hover,
.comment-load-more__button:focus-visible,
.activity-card__jump:hover,
.activity-card__jump:focus-visible,
.archive-item--clickable:hover,
.archive-item--clickable:focus-visible,
.thread-mode-switch:hover,
.thread-mode-switch:focus-visible,
.etik-display__option:hover,
.etik-display__option:focus-visible {
  box-shadow: none !important;
  filter: saturate(1.04) brightness(1.02);
}

.comment-action:hover .icon,
.comment-action:focus-visible .icon,
.comment-action:active .icon,
.comment-action:hover .icon img,
.comment-action:focus-visible .icon img,
.comment-action:active .icon img {
  transform: none !important;
  animation: none !important;
  filter: saturate(1.08) brightness(1.04);
}

.hero__scroll-cue:hover,
.hero__scroll-cue:focus-visible,
.etik-launcher:hover,
.etik-launcher:focus-visible,
.etik-modal__close:hover,
.etik-modal__close:focus-visible,
.info-modal__close:hover,
.info-modal__close:focus-visible {
  transform: none !important;
}

/* Final reply-depth and separator fix.
   After the fifth visible level, replies stop nesting visually and just stack. */
.comment--level-4 > .comment__replies,
.comment--level-4 .comment__replies,
.comment__replies--flat,
.comment__replies--flat .comment__replies {
  margin-left: 0 !important;
  margin-right: 0 !important;
  padding-left: 0 !important;
  border-left: 0 !important;
  gap: 0.72rem !important;
}

.comment--level-4 > .comment__replies::before,
.comment--level-4 .comment__replies::before,
.comment__replies--flat::before,
.comment__replies--flat .comment__replies::before {
  display: none !important;
}

.comment--level-4 > .comment__replies > .comment,
.comment--level-4 .comment__replies > .comment,
.comment__replies--flat > .comment,
.comment__replies--flat .comment {
  width: 100% !important;
  max-width: 100% !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  transform: none !important;
}

.comment__replies > .comment + .comment::after,
.comment__replies--flat > .comment + .comment::after {
  display: none !important;
}

.comment__replies > .comment + .comment,
.comment__replies--flat > .comment + .comment {
  margin-top: 0.78rem !important;
  padding-top: 0.88rem !important;
  border-top: 1px solid rgba(207, 136, 133, 0.34) !important;
}

.comment__replies--flat > .comment + .comment,
.comment__replies--flat .comment__replies > .comment + .comment {
  border-top-color: rgba(207, 136, 133, 0.3) !important;
}

/* Final flat reply list: no staircase, no repeated nested controls. */
#commentThread > .comment > .comment__replies.comment__replies--flat {
  margin-left: 0 !important;
  margin-right: 0 !important;
  padding-left: 0 !important;
  border-left: 0 !important;
  gap: 0 !important;
}

#commentThread > .comment > .comment__replies.comment__replies--flat::before,
#commentThread > .comment > .comment__replies.comment__replies--flat .comment::before,
#commentThread > .comment > .comment__replies.comment__replies--flat .comment__replies,
#commentThread > .comment > .comment__replies.comment__replies--flat .comment__replies::before,
#commentThread > .comment > .comment__replies.comment__replies--flat .comment__replies::after {
  display: none !important;
}

#commentThread > .comment > .comment__replies.comment__replies--flat > .comment {
  width: 100% !important;
  max-width: 100% !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  transform: none !important;
}

#commentThread > .comment > .comment__replies.comment__replies--flat > .comment + .comment {
  margin-top: 0.86rem !important;
  padding-top: 0.9rem !important;
  border-top: 1px solid rgba(207, 136, 133, 0.36) !important;
}

#commentThread > .comment > .comment__replies.comment__replies--flat > .comment + .comment::after {
  display: none !important;
}

/* Reply list refinement: first reply has a subtle left indent, replies stay compact. */
#commentThread > .comment > .comment__replies.comment__replies--flat > .comment:first-child {
  margin-left: 0.72rem !important;
  width: calc(100% - 0.72rem) !important;
}

#commentThread > .comment > .comment__replies.comment__replies--flat > .comment + .comment {
  margin-top: 0 !important;
  padding-top: 0.58rem !important;
  border-top: 1px solid rgba(207, 136, 133, 0.34) !important;
}

/* Slightly clearer first-reply indent so the answered relationship is visible. */
#commentThread > .comment > .comment__replies.comment__replies--flat > .comment:first-child {
  margin-left: 1.15rem !important;
  width: calc(100% - 1.15rem) !important;
}

/* Stronger first-reply indent. */
#commentThread > .comment > .comment__replies.comment__replies--flat > .comment:first-child {
  margin-left: 1.75rem !important;
  width: calc(100% - 1.75rem) !important;
}

/* Correct reply alignment: replies should align with the comment they answer, not indent further. */
#commentThread > .comment > .comment__replies.comment__replies--flat > .comment,
#commentThread > .comment > .comment__replies.comment__replies--flat > .comment:first-child {
  margin-left: 0 !important;
  width: 100% !important;
  max-width: 100% !important;
}

/* Threaded replies: each reply appears under the exact comment/reply it answers.
   Sibling replies share the same indent, so a group never becomes a sideways staircase. */
.comment__replies--threaded {
  --reply-line-indent: clamp(1.05rem, 2vw, 1.55rem);
  display: grid !important;
  gap: 0 !important;
  margin-top: 0.46rem !important;
  margin-left: 0 !important;
  padding-left: var(--reply-line-indent) !important;
  border-left: 1px solid rgba(207, 136, 133, 0.42) !important;
  overflow: visible !important;
}

.comment__replies--threaded::before,
.comment__replies--threaded::after,
.comment__replies--threaded > .comment::before {
  display: none !important;
}

.comment__replies--threaded > .comment {
  width: 100% !important;
  max-width: 100% !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  transform: none !important;
}

.comment__replies--threaded > .comment + .comment {
  margin-top: 0 !important;
  padding-top: 0.58rem !important;
  border-top: 1px solid rgba(207, 136, 133, 0.34) !important;
}

.comment__replies--threaded > .comment {
  padding-top: 0.58rem !important;
  border-top: 1px solid rgba(207, 136, 133, 0.3) !important;
}

.comment__replies--threaded > .comment:first-child {
  border-top-color: rgba(207, 136, 133, 0.24) !important;
}

/* Inline reply buttons: soft hover glow/fade without moving the layout. */
.inline-reply-form .btn {
  transition:
    background-color 0.24s ease,
    border-color 0.24s ease,
    color 0.24s ease,
    box-shadow 0.28s ease,
    opacity 0.24s ease !important;
  transform: none !important;
}

.inline-reply-form .btn--primary:hover,
.inline-reply-form .btn--primary:focus-visible {
  background: linear-gradient(135deg, #dca6a3, #c9827f) !important;
  box-shadow:
    0 0 0 1px rgba(207, 136, 133, 0.24),
    0 0 18px rgba(207, 136, 133, 0.3) !important;
  opacity: 0.96;
  transform: none !important;
}

.inline-reply-form .btn--secondary:hover,
.inline-reply-form .btn--secondary:focus-visible {
  color: #9f5d59 !important;
  background: rgba(207, 136, 133, 0.16) !important;
  border-color: rgba(207, 136, 133, 0.32) !important;
  box-shadow:
    0 0 0 1px rgba(207, 136, 133, 0.16),
    0 0 16px rgba(207, 136, 133, 0.2) !important;
  opacity: 0.96;
  transform: none !important;
}

/* Small horizontal reply anchors: shows which parent line each reply belongs to. */
.comment__replies--threaded > .comment::after {
  content: "" !important;
  position: absolute !important;
  left: calc(-1 * clamp(1.05rem, 2vw, 1.55rem)) !important;
  top: 1.72rem !important;
  display: block !important;
  width: clamp(0.52rem, 1.05vw, 0.82rem) !important;
  height: 1px !important;
  border-radius: 999px !important;
  background: linear-gradient(90deg, rgba(207, 136, 133, 0.46), rgba(207, 136, 133, 0.2)) !important;
  pointer-events: none !important;
}

.comment__replies--threaded .comment__replies--threaded > .comment::after {
  left: calc(-1 * clamp(0.95rem, 1.7vw, 1.28rem)) !important;
  width: clamp(0.46rem, 0.9vw, 0.68rem) !important;
}

@media (max-width: 640px) {
  .comment__replies--threaded > .comment::after {
    left: -0.82rem !important;
    width: 0.5rem !important;
  }

  .comment__replies--threaded .comment__replies--threaded > .comment::after {
    left: -0.72rem !important;
    width: 0.44rem !important;
  }
}

.comment__replies--threaded .comment__replies--threaded {
  --reply-line-indent: clamp(0.95rem, 1.7vw, 1.28rem);
  margin-top: 0.42rem !important;
  padding-left: var(--reply-line-indent) !important;
}

@media (max-width: 640px) {
  .comment__replies--threaded {
    --reply-line-indent: 0.82rem;
    padding-left: var(--reply-line-indent) !important;
  }

  .comment__replies--threaded .comment__replies--threaded {
    --reply-line-indent: 0.72rem;
    padding-left: var(--reply-line-indent) !important;
  }
}

/* Lock the right-side column: nesting may only change the left edge.
   Date, show/hide reply and like controls keep the same distance from the right edge. */
.comment > .comment__replies--threaded {
  width: calc(100% + var(--comment-card-pad, 1rem)) !important;
  max-width: calc(100% + var(--comment-card-pad, 1rem)) !important;
  margin-right: calc(-1 * var(--comment-card-pad, 1rem)) !important;
}

.comment__meta {
  justify-items: end !important;
  text-align: right !important;
}

.comment__meta .comment__time {
  justify-self: end !important;
}

.comment__meta .comment-collapse,
.comment__meta button.comment-collapse {
  justify-self: end !important;
}

/* Final date consistency: every comment/reply date must look identical at every depth. */
.comment .comment__time,
.comment--level-0 .comment__time,
.comment--level-1 .comment__time,
.comment--level-2 .comment__time,
.comment--level-3 .comment__time,
.comment--level-4 .comment__time {
  font-family: inherit !important;
  font-size: clamp(1rem, 1.28vw, 1.12rem) !important;
  font-weight: 400 !important;
  line-height: 1.2 !important;
  letter-spacing: 0 !important;
  color: rgba(96, 86, 82, 0.76) !important;
  white-space: nowrap !important;
}

/* Final visible reply ticks: small horizontal markers from the parent line into each reply. */
.comment__replies--threaded > .comment::after {
  display: none !important;
}

.comment__replies--threaded > .comment::before {
  content: "" !important;
  position: absolute !important;
  left: calc(-1 * clamp(1.05rem, 2vw, 1.55rem) - 1px) !important;
  top: 2.05rem !important;
  display: block !important;
  width: clamp(0.7rem, 1.15vw, 1rem) !important;
  height: 2px !important;
  border-radius: 999px !important;
  background: linear-gradient(90deg, rgba(211, 112, 108, 0.62), rgba(211, 112, 108, 0.28)) !important;
  box-shadow: 0 0 8px rgba(211, 112, 108, 0.12) !important;
  pointer-events: none !important;
  z-index: 4 !important;
}

.comment__replies--threaded .comment__replies--threaded > .comment::before {
  left: calc(-1 * clamp(0.95rem, 1.7vw, 1.28rem) - 1px) !important;
  width: clamp(0.62rem, 0.98vw, 0.86rem) !important;
}

@media (max-width: 640px) {
  .comment .comment__time,
  .comment--level-0 .comment__time,
  .comment--level-1 .comment__time,
  .comment--level-2 .comment__time,
  .comment--level-3 .comment__time,
  .comment--level-4 .comment__time {
    font-size: 0.95rem !important;
  }

  .comment__replies--threaded > .comment::before {
    left: -0.83rem !important;
    width: 0.62rem !important;
  }

  .comment__replies--threaded .comment__replies--threaded > .comment::before {
    left: -0.73rem !important;
    width: 0.54rem !important;
  }
}

/* Correction: dates/times should use the smaller original comment timestamp style. */
.comment .comment__time,
.comment--level-0 .comment__time,
.comment--level-1 .comment__time,
.comment--level-2 .comment__time,
.comment--level-3 .comment__time,
.comment--level-4 .comment__time {
  font-family: inherit !important;
  font-size: 0.82rem !important;
  font-weight: 400 !important;
  line-height: 1.2 !important;
  letter-spacing: 0 !important;
  color: var(--muted) !important;
  white-space: nowrap !important;
}

/* Real reply ticks: visible horizontal markers from the parent line to each reply card. */
.comment__reply-tick {
  position: absolute !important;
  left: calc(-1 * var(--reply-line-indent, 1.2rem) - 1px) !important;
  top: 50% !important;
  display: block !important;
  width: var(--reply-line-indent, 1.2rem) !important;
  height: 1px !important;
  border-radius: 999px !important;
  background: rgba(207, 136, 133, 0.42) !important;
  box-shadow: none !important;
  pointer-events: none !important;
  transform: translateY(-50%) !important;
  z-index: 20 !important;
}

.comment__replies--threaded .comment__replies--threaded > .comment > .comment__reply-tick {
  left: calc(-1 * var(--reply-line-indent, 1rem) - 1px) !important;
  width: var(--reply-line-indent, 1rem) !important;
}

@media (max-width: 640px) {
  .comment .comment__time,
  .comment--level-0 .comment__time,
  .comment--level-1 .comment__time,
  .comment--level-2 .comment__time,
  .comment--level-3 .comment__time,
  .comment--level-4 .comment__time {
    font-size: 0.82rem !important;
  }

  .comment__reply-tick {
    left: calc(-1 * var(--reply-line-indent, 0.82rem) - 1px) !important;
    width: var(--reply-line-indent, 0.82rem) !important;
  }

  .comment__replies--threaded .comment__replies--threaded > .comment > .comment__reply-tick {
    left: calc(-1 * var(--reply-line-indent, 0.72rem) - 1px) !important;
    width: var(--reply-line-indent, 0.72rem) !important;
  }
}

/* CSS fallback reply markers: same thin tone as the vertical reply lines. */
#commentThread .comment__replies--threaded > .comment {
  background-image: inherit !important;
  background-repeat: inherit !important;
  background-size: inherit !important;
  background-position: inherit !important;
}

#commentThread .comment__replies--threaded > .comment > .comment__header,
#commentThread .comment__replies--threaded > .comment > .comment__body,
#commentThread .comment__replies--threaded > .comment > .comment__actions,
#commentThread .comment__replies--threaded > .comment > .inline-reply-form,
#commentThread .comment__replies--threaded > .comment > .comment__replies {
  position: relative !important;
  z-index: 2 !important;
}

#commentThread .comment__replies--threaded > .comment > .comment__reply-tick {
  position: absolute !important;
  left: calc(-1 * var(--reply-line-indent, 1.2rem) - 1px) !important;
  top: 50% !important;
  display: block !important;
  width: var(--reply-line-indent, 1.2rem) !important;
  height: 1px !important;
  border-radius: 999px !important;
  background: rgba(207, 136, 133, 0.42) !important;
  opacity: 1 !important;
  visibility: visible !important;
  transform: translateY(-50%) !important;
  z-index: 30 !important;
}

/* Final polish: visible thin reply connectors, smaller dates, and breathing room below actions. */
#commentThread .comment__replies--threaded {
  border-left-color: rgba(207, 136, 133, 0.5) !important;
}

#commentThread .comment__replies--threaded > .comment > .comment__reply-tick {
  left: calc(-1 * var(--reply-line-indent, 1.2rem) - 1px) !important;
  top: 50% !important;
  display: block !important;
  width: var(--reply-line-indent, 1.2rem) !important;
  height: 1px !important;
  background: rgba(207, 136, 133, 0.58) !important;
  box-shadow: none !important;
  opacity: 1 !important;
  visibility: visible !important;
  z-index: 40 !important;
}

#commentThread .comment .comment__time,
#commentThread .comment--level-0 .comment__time,
#commentThread .comment--level-1 .comment__time,
#commentThread .comment--level-2 .comment__time,
#commentThread .comment--level-3 .comment__time,
#commentThread .comment--level-4 .comment__time {
  font-size: 0.74rem !important;
  line-height: 1.16 !important;
}

#commentThread .comment {
  padding-bottom: 1.22rem !important;
}

#commentThread .comment__actions {
  margin-bottom: 0.42rem !important;
  padding-bottom: 0.28rem !important;
}

/* Thread clarity reset: no horizontal ticks. Replies are followed by the vertical thread line. */
#commentThread .comment__reply-tick,
#commentThread .comment__replies--threaded > .comment::before,
#commentThread .comment__replies--threaded > .comment::after {
  content: none !important;
  display: none !important;
}

#commentThread .comment__replies--threaded {
  --reply-line-indent: clamp(1.35rem, 2.2vw, 1.85rem);
  position: relative !important;
  display: grid !important;
  gap: 0.72rem !important;
  margin-top: 0.8rem !important;
  margin-left: 0 !important;
  padding-left: var(--reply-line-indent) !important;
  border-left: 0 !important;
  overflow: visible !important;
}

#commentThread .comment__replies--threaded::before {
  content: "" !important;
  position: absolute !important;
  display: block !important;
  left: 0 !important;
  top: 0.25rem !important;
  bottom: 0.35rem !important;
  width: 1px !important;
  border-radius: 999px !important;
  background: rgba(207, 136, 133, 0.62) !important;
  pointer-events: none !important;
}

#commentThread .comment__replies--threaded .comment__replies--threaded {
  --reply-line-indent: clamp(1.15rem, 1.8vw, 1.55rem);
  margin-top: 0.68rem !important;
}

#commentThread .comment__replies--threaded > .comment {
  position: relative !important;
  width: 100% !important;
  max-width: 100% !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  transform: none !important;
}

#commentThread .comment > .comment__replies--threaded {
  width: calc(100% + var(--comment-card-pad, 1rem)) !important;
  max-width: calc(100% + var(--comment-card-pad, 1rem)) !important;
  margin-right: calc(-1 * var(--comment-card-pad, 1rem)) !important;
}

/* Inline reply composer mirrors the main comment form: name, website and message every time. */
.inline-reply-form__title {
  margin: 0 !important;
  color: rgba(79, 72, 68, 0.92) !important;
  font-size: 0.9rem !important;
  font-weight: 500 !important;
}

.inline-reply-form__fields {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 0.62rem !important;
}

.inline-reply-form__field {
  display: grid !important;
  gap: 0.28rem !important;
}

.inline-reply-form__field--message {
  grid-column: 1 / -1 !important;
}

.inline-reply-form__field label {
  color: rgba(79, 72, 68, 0.72) !important;
  font-size: 0.72rem !important;
  font-weight: 500 !important;
}

.inline-reply-form input,
.inline-reply-form textarea {
  width: 100% !important;
  box-sizing: border-box !important;
  border: 1px solid rgba(207, 136, 133, 0.22) !important;
  border-radius: 0.78rem !important;
  background: rgba(255, 255, 255, 0.66) !important;
  color: rgba(59, 53, 50, 0.94) !important;
  font: inherit !important;
  font-size: 0.86rem !important;
  padding: 0.58rem 0.68rem !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.72) !important;
}

.inline-reply-form textarea {
  min-height: 5.35rem !important;
}

.inline-reply-form__helper {
  margin: -0.1rem 0 0 !important;
  color: rgba(96, 86, 82, 0.62) !important;
  font-size: 0.72rem !important;
  line-height: 1.35 !important;
}

@media (max-width: 640px) {
  #commentThread .comment__replies--threaded {
    --reply-line-indent: 1rem;
    gap: 0.64rem !important;
  }

  #commentThread .comment__replies--threaded .comment__replies--threaded {
    --reply-line-indent: 0.86rem;
  }

  .inline-reply-form__fields {
    grid-template-columns: 1fr !important;
  }
}

/* Kill old horizontal connector attempts with higher specificity. */
#commentThread .comment__replies--threaded > .comment > .comment__reply-tick,
#commentThread .comment__replies--threaded .comment__replies--threaded > .comment > .comment__reply-tick {
  content: none !important;
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
  width: 0 !important;
  height: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

/* Reddit-like reply tree: clear vertical rails and compact +/- collapse controls. */
#commentThread .comment {
  padding-bottom: 0.96rem !important;
}

#commentThread .comment__actions {
  margin-bottom: 0.12rem !important;
  padding-bottom: 0.08rem !important;
}

#commentThread .comment--has-replies {
  padding-left: 2.35rem !important;
}

#commentThread .comment-collapse,
#commentThread .comment__meta .comment-collapse,
#commentThread .comment__meta button.comment-collapse {
  position: absolute !important;
  left: 0.72rem !important;
  top: 0.82rem !important;
  z-index: 5 !important;
  display: inline-grid !important;
  place-items: center !important;
  width: 1.18rem !important;
  height: 1.18rem !important;
  min-width: 1.18rem !important;
  min-height: 1.18rem !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 1px solid rgba(207, 136, 133, 0.34) !important;
  border-radius: 999px !important;
  background: rgba(255, 250, 248, 0.86) !important;
  color: rgba(151, 86, 83, 0.88) !important;
  box-shadow: 0 0 0 2px rgba(255, 250, 248, 0.68) !important;
  font-family: inherit !important;
  font-size: 0.9rem !important;
  font-weight: 500 !important;
  line-height: 1 !important;
  text-align: center !important;
  transform: none !important;
}

#commentThread .comment-collapse:hover,
#commentThread .comment-collapse:focus-visible {
  background: rgba(250, 236, 234, 0.95) !important;
  border-color: rgba(207, 136, 133, 0.52) !important;
  color: rgba(128, 69, 66, 0.94) !important;
  box-shadow: 0 0 0 2px rgba(255, 250, 248, 0.78), 0 0 10px rgba(207, 136, 133, 0.16) !important;
  transform: none !important;
}

#commentThread .comment__replies--threaded {
  --reply-line-indent: clamp(1.18rem, 1.75vw, 1.55rem);
  gap: 0.48rem !important;
  margin-top: 0.52rem !important;
  padding-left: var(--reply-line-indent) !important;
}

#commentThread .comment__replies--threaded .comment__replies--threaded {
  --reply-line-indent: clamp(1.05rem, 1.45vw, 1.32rem);
  margin-top: 0.46rem !important;
}

#commentThread .comment__replies--threaded::before {
  left: 0.12rem !important;
  top: -0.08rem !important;
  bottom: 0.24rem !important;
  width: 2px !important;
  border-radius: 999px !important;
  background: linear-gradient(
    180deg,
    rgba(207, 136, 133, 0.2),
    rgba(207, 136, 133, 0.72) 1.2rem,
    rgba(207, 136, 133, 0.58) calc(100% - 1.2rem),
    rgba(207, 136, 133, 0.16)
  ) !important;
}

#commentThread .comment__replies--threaded > .comment {
  border-left: 0 !important;
}

#commentThread .comment__replies--threaded > .comment + .comment {
  margin-top: 0.22rem !important;
  padding-top: 0.72rem !important;
  border-top: 1px solid rgba(207, 136, 133, 0.18) !important;
}

#commentThread .comment--collapsed > .comment__replies--threaded {
  display: none !important;
}

/* Reply form fields must stack like the main comment form. */
.inline-reply-form__fields {
  grid-template-columns: 1fr !important;
  gap: 0.56rem !important;
}

.inline-reply-form__field--message {
  grid-column: auto !important;
}

@media (max-width: 640px) {
  #commentThread .comment--has-replies {
    padding-left: 2rem !important;
  }

  #commentThread .comment-collapse,
  #commentThread .comment__meta .comment-collapse,
  #commentThread .comment__meta button.comment-collapse {
    left: 0.58rem !important;
    top: 0.78rem !important;
  }

  #commentThread .comment__replies--threaded {
    --reply-line-indent: 0.98rem;
    gap: 0.42rem !important;
  }

  #commentThread .comment__replies--threaded .comment__replies--threaded {
    --reply-line-indent: 0.82rem;
  }
}

/* Reddit-style branch tree: collapse control and branch rail live with the children, not in the header. */
#commentThread .comment--has-replies {
  padding-left: 1rem !important;
}

#commentThread .comment__children {
  --tree-rail-x: 0.72rem;
  --tree-indent: clamp(1.95rem, 3vw, 2.55rem);
  position: relative !important;
  margin-top: 0.48rem !important;
  padding-left: var(--tree-indent) !important;
  min-height: 1.35rem !important;
}

#commentThread .comment__children::before {
  content: "" !important;
  position: absolute !important;
  display: block !important;
  left: var(--tree-rail-x) !important;
  top: 0.66rem !important;
  bottom: 0.64rem !important;
  width: 1px !important;
  border-radius: 999px !important;
  background: rgba(207, 136, 133, 0.5) !important;
  pointer-events: none !important;
}

#commentThread .comment__children > .comment-collapse--tree {
  position: absolute !important;
  left: calc(var(--tree-rail-x) - 0.57rem) !important;
  top: 0.1rem !important;
  z-index: 8 !important;
  display: inline-grid !important;
  place-items: center !important;
  width: 1.14rem !important;
  height: 1.14rem !important;
  min-width: 1.14rem !important;
  min-height: 1.14rem !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 1px solid rgba(207, 136, 133, 0.5) !important;
  border-radius: 999px !important;
  background: rgba(255, 252, 250, 0.96) !important;
  color: rgba(111, 78, 73, 0.92) !important;
  box-shadow: 0 0 0 3px rgba(255, 252, 250, 0.86) !important;
  font-family: inherit !important;
  font-size: 0.92rem !important;
  font-weight: 500 !important;
  line-height: 1 !important;
  text-align: center !important;
  transform: none !important;
}

#commentThread .comment__children > .comment-collapse--tree:hover,
#commentThread .comment__children > .comment-collapse--tree:focus-visible {
  background: rgba(250, 238, 236, 0.98) !important;
  border-color: rgba(207, 136, 133, 0.72) !important;
  color: rgba(128, 69, 66, 0.98) !important;
  box-shadow: 0 0 0 3px rgba(255, 252, 250, 0.9), 0 0 12px rgba(207, 136, 133, 0.16) !important;
  transform: none !important;
}

#commentThread .comment__children > .comment__replies--threaded {
  position: relative !important;
  display: grid !important;
  gap: 0.54rem !important;
  margin: 0.28rem 0 0 !important;
  padding-left: 0 !important;
  border-left: 0 !important;
  overflow: visible !important;
}

#commentThread .comment__children > .comment__replies--threaded::before {
  content: none !important;
  display: none !important;
}

#commentThread .comment__children > .comment__replies--threaded > .comment {
  position: relative !important;
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 !important;
  transform: none !important;
}

#commentThread .comment__children > .comment__replies--threaded > .comment::before {
  content: "" !important;
  position: absolute !important;
  display: block !important;
  left: calc(-1 * (var(--tree-indent) - var(--tree-rail-x))) !important;
  top: 1.18rem !important;
  width: calc(var(--tree-indent) - var(--tree-rail-x)) !important;
  height: 1px !important;
  border-radius: 999px !important;
  background: rgba(207, 136, 133, 0.5) !important;
  pointer-events: none !important;
  z-index: 1 !important;
}

#commentThread .comment__children > .comment__replies--threaded > .comment::after {
  content: "" !important;
  position: absolute !important;
  display: block !important;
  left: calc(-1 * (var(--tree-indent) - var(--tree-rail-x))) !important;
  top: 1.18rem !important;
  width: 0.55rem !important;
  height: 0.55rem !important;
  border-left: 1px solid rgba(207, 136, 133, 0.5) !important;
  border-bottom: 1px solid rgba(207, 136, 133, 0.5) !important;
  border-bottom-left-radius: 0.55rem !important;
  background: transparent !important;
  pointer-events: none !important;
  transform: translateY(-0.54rem) !important;
  z-index: 1 !important;
}

#commentThread .comment__children > .comment__replies--threaded > .comment + .comment {
  margin-top: 0.08rem !important;
  padding-top: 0.5rem !important;
  border-top: 1px solid rgba(207, 136, 133, 0.12) !important;
}

#commentThread .comment--collapsed > .comment__children {
  padding-bottom: 0.08rem !important;
}

#commentThread .comment--collapsed > .comment__children::before {
  bottom: 0.7rem !important;
}

@media (max-width: 640px) {
  #commentThread .comment__children {
    --tree-rail-x: 0.55rem;
    --tree-indent: 1.55rem;
  }

  #commentThread .comment__children > .comment-collapse--tree {
    left: calc(var(--tree-rail-x) - 0.52rem) !important;
    width: 1.04rem !important;
    height: 1.04rem !important;
    min-width: 1.04rem !important;
    min-height: 1.04rem !important;
  }
}

/* Stronger Reddit branch pass: make the branch corridor wide and visibly curved. */
#commentThread .comment__children {
  --tree-rail-x: 0.82rem;
  --tree-indent: clamp(2.55rem, 4vw, 3.45rem);
  padding-left: var(--tree-indent) !important;
}

#commentThread .comment__children::before {
  left: var(--tree-rail-x) !important;
  top: 0.62rem !important;
  bottom: 0.74rem !important;
  width: 2px !important;
  background: rgba(207, 136, 133, 0.58) !important;
}

#commentThread .comment__children > .comment-collapse--tree {
  left: calc(var(--tree-rail-x) - 0.57rem) !important;
  top: 0.14rem !important;
}

#commentThread .comment__children > .comment__replies--threaded {
  margin-top: 0.36rem !important;
}

#commentThread .comment__children > .comment__replies--threaded > .comment::before {
  content: none !important;
  display: none !important;
}

#commentThread .comment__children > .comment__replies--threaded > .comment::after {
  content: "" !important;
  position: absolute !important;
  display: block !important;
  left: calc(-1 * (var(--tree-indent) - var(--tree-rail-x))) !important;
  top: 0.18rem !important;
  width: calc(var(--tree-indent) - var(--tree-rail-x) + 0.18rem) !important;
  height: 1.52rem !important;
  border-left: 2px solid rgba(207, 136, 133, 0.58) !important;
  border-bottom: 2px solid rgba(207, 136, 133, 0.58) !important;
  border-bottom-left-radius: 1.05rem !important;
  background: transparent !important;
  pointer-events: none !important;
  transform: translateY(-0.8rem) !important;
  z-index: 4 !important;
}

#commentThread .comment__children .comment__children {
  --tree-rail-x: 0.72rem;
  --tree-indent: clamp(2.15rem, 3.2vw, 2.8rem);
}

@media (max-width: 640px) {
  #commentThread .comment__children {
    --tree-rail-x: 0.62rem;
    --tree-indent: 2rem;
  }

  #commentThread .comment__children .comment__children {
    --tree-rail-x: 0.56rem;
    --tree-indent: 1.68rem;
  }
}

/* Real branch elbows: draw visible Reddit-like curved branches as actual elements. */
#commentThread .comment__children > .comment__replies--threaded > .comment::before,
#commentThread .comment__children > .comment__replies--threaded > .comment::after {
  content: none !important;
  display: none !important;
}

#commentThread .comment__children > .comment__replies--threaded > .comment > .comment__branch-elbow {
  position: absolute !important;
  left: calc(-1 * (var(--tree-indent) - var(--tree-rail-x))) !important;
  top: -0.55rem !important;
  display: block !important;
  width: calc(var(--tree-indent) - var(--tree-rail-x) + 0.12rem) !important;
  height: 2rem !important;
  border-left: 2px solid rgba(207, 136, 133, 0.66) !important;
  border-bottom: 2px solid rgba(207, 136, 133, 0.66) !important;
  border-bottom-left-radius: 1.2rem !important;
  background: transparent !important;
  pointer-events: none !important;
  z-index: 8 !important;
}

#commentThread .comment__children .comment__children > .comment__replies--threaded > .comment > .comment__branch-elbow {
  border-left-color: rgba(207, 136, 133, 0.58) !important;
  border-bottom-color: rgba(207, 136, 133, 0.58) !important;
}

#commentThread .comment__children > .comment__replies--threaded > .comment > .comment__header,
#commentThread .comment__children > .comment__replies--threaded > .comment > .comment__body,
#commentThread .comment__children > .comment__replies--threaded > .comment > .comment__actions,
#commentThread .comment__children > .comment__replies--threaded > .comment > .inline-reply-form,
#commentThread .comment__children > .comment__replies--threaded > .comment > .comment__children {
  position: relative !important;
  z-index: 9 !important;
}

/* Final branch authority: only the real elbow element draws branches. */
#commentThread .comment__children > .comment__replies--threaded > .comment::before,
#commentThread .comment__children > .comment__replies--threaded > .comment::after {
  content: none !important;
  display: none !important;
  width: 0 !important;
  height: 0 !important;
  border: 0 !important;
  background: transparent !important;
}

#commentThread .comment__children {
  --tree-rail-x: 0.82rem;
  --tree-indent: clamp(2.75rem, 4.4vw, 3.65rem);
}

#commentThread .comment__children::before {
  width: 2px !important;
  background: rgba(207, 136, 133, 0.68) !important;
}

#commentThread .comment__children > .comment__replies--threaded > .comment > .comment__branch-elbow {
  position: absolute !important;
  left: calc(-1 * (var(--tree-indent) - var(--tree-rail-x))) !important;
  top: -0.42rem !important;
  display: block !important;
  width: calc(var(--tree-indent) - var(--tree-rail-x) - 0.08rem) !important;
  height: 1.55rem !important;
  border-left: 2px solid rgba(207, 136, 133, 0.78) !important;
  border-bottom: 2px solid rgba(207, 136, 133, 0.78) !important;
  border-bottom-left-radius: 1rem !important;
  background: transparent !important;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.58) !important;
  pointer-events: none !important;
  z-index: 30 !important;
}

#commentThread .comment__children .comment__children {
  --tree-rail-x: 0.72rem;
  --tree-indent: clamp(2.3rem, 3.6vw, 3rem);
}

@media (max-width: 640px) {
  #commentThread .comment__children {
    --tree-rail-x: 0.62rem;
    --tree-indent: 2.15rem;
  }

  #commentThread .comment__children .comment__children {
    --tree-rail-x: 0.56rem;
    --tree-indent: 1.82rem;
  }
}

/* Reddit-style elbow branches: each reply curves from the vertical rail into its card. */
#commentThread .comment__children > .comment__replies--threaded > .comment::before {
  content: none !important;
  display: none !important;
}

#commentThread .comment__children > .comment__replies--threaded > .comment::after {
  content: "" !important;
  position: absolute !important;
  display: block !important;
  left: calc(-1 * (var(--tree-indent) - var(--tree-rail-x))) !important;
  top: -0.1rem !important;
  width: calc(var(--tree-indent) - var(--tree-rail-x) + 0.08rem) !important;
  height: 1.32rem !important;
  border-left: 1px solid rgba(207, 136, 133, 0.5) !important;
  border-bottom: 1px solid rgba(207, 136, 133, 0.5) !important;
  border-bottom-left-radius: 0.82rem !important;
  background: transparent !important;
  pointer-events: none !important;
  transform: none !important;
  z-index: 1 !important;
}

#commentThread .comment__children > .comment__replies--threaded > .comment > .comment__header,
#commentThread .comment__children > .comment__replies--threaded > .comment > .comment__body,
#commentThread .comment__children > .comment__replies--threaded > .comment > .comment__actions,
#commentThread .comment__children > .comment__replies--threaded > .comment > .inline-reply-form,
#commentThread .comment__children > .comment__replies--threaded > .comment > .comment__children {
  position: relative !important;
  z-index: 2 !important;
}

/* Absolute final branch override: old pseudo elbows stay off; real DOM elbow owns the tree. */
#commentThread .comment__children > .comment__replies--threaded > .comment::before,
#commentThread .comment__children > .comment__replies--threaded > .comment::after {
  content: none !important;
  display: none !important;
  width: 0 !important;
  height: 0 !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

#commentThread .comment__children > .comment__replies--threaded > .comment > .comment__branch-elbow {
  position: absolute !important;
  left: calc(-1 * (var(--tree-indent) - var(--tree-rail-x))) !important;
  top: -0.42rem !important;
  display: block !important;
  width: calc(var(--tree-indent) - var(--tree-rail-x) - 0.08rem) !important;
  height: 1.55rem !important;
  border-left: 2px solid rgba(207, 136, 133, 0.78) !important;
  border-bottom: 2px solid rgba(207, 136, 133, 0.78) !important;
  border-bottom-left-radius: 1rem !important;
  background: transparent !important;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.58) !important;
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: none !important;
  z-index: 40 !important;
}

/* SVG Reddit branch override: visible curved branch from rail into every reply card. */
#commentThread .comment,
#commentThread .comment__children,
#commentThread .comment__replies--threaded {
  overflow: visible !important;
}

#commentThread .comment__children > .comment__replies--threaded > .comment::before,
#commentThread .comment__children > .comment__replies--threaded > .comment::after {
  content: none !important;
  display: none !important;
  width: 0 !important;
  height: 0 !important;
  border: 0 !important;
  background: transparent !important;
}

#commentThread .comment__children {
  --tree-rail-x: 0.82rem;
  --tree-indent: clamp(3rem, 4.9vw, 3.95rem);
}

#commentThread .comment__children::before {
  left: var(--tree-rail-x) !important;
  width: 2px !important;
  background: rgba(207, 136, 133, 0.72) !important;
}

#commentThread .comment__children > .comment__replies--threaded > .comment > .comment__branch-elbow {
  position: absolute !important;
  left: calc(-1 * (var(--tree-indent) - var(--tree-rail-x))) !important;
  top: -0.72rem !important;
  display: block !important;
  width: calc(var(--tree-indent) - var(--tree-rail-x) + 0.18rem) !important;
  height: 2.55rem !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: none !important;
  z-index: 90 !important;
}

#commentThread .comment__branch-svg {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  overflow: visible !important;
}

#commentThread .comment__branch-svg path {
  fill: none !important;
  stroke: rgba(207, 136, 133, 0.86) !important;
  stroke-width: 3 !important;
  stroke-linecap: round !important;
  stroke-linejoin: round !important;
  vector-effect: non-scaling-stroke !important;
}

#commentThread .comment__children .comment__children {
  --tree-rail-x: 0.72rem;
  --tree-indent: clamp(2.55rem, 4vw, 3.25rem);
}

@media (max-width: 640px) {
  #commentThread .comment__children {
    --tree-rail-x: 0.62rem;
    --tree-indent: 2.35rem;
  }

  #commentThread .comment__children .comment__children {
    --tree-rail-x: 0.56rem;
    --tree-indent: 2rem;
  }
}

/* Wide visible Reddit branch corridor: make the bend readable, not just technically present. */
#commentThread .comment__children {
  --tree-rail-x: 0.9rem;
  --tree-indent: clamp(4.35rem, 6.2vw, 5.25rem);
  padding-left: var(--tree-indent) !important;
}

#commentThread .comment__children::before {
  left: var(--tree-rail-x) !important;
  width: 2px !important;
  background: rgba(188, 116, 112, 0.72) !important;
}

#commentThread .comment__children > .comment-collapse--tree {
  left: calc(var(--tree-rail-x) - 0.57rem) !important;
}

#commentThread .comment__children > .comment__replies--threaded > .comment > .comment__branch-elbow {
  left: calc(-1 * (var(--tree-indent) - var(--tree-rail-x))) !important;
  top: -0.9rem !important;
  width: calc(var(--tree-indent) - var(--tree-rail-x) + 0.12rem) !important;
  height: 3.2rem !important;
  z-index: 120 !important;
}

#commentThread .comment__branch-svg path {
  stroke: rgba(188, 116, 112, 0.92) !important;
  stroke-width: 3.25 !important;
  filter: drop-shadow(0 1px 0 rgba(255, 255, 255, 0.65)) !important;
}

#commentThread .comment__children .comment__children {
  --tree-rail-x: 0.78rem;
  --tree-indent: clamp(3.45rem, 5vw, 4.25rem);
}

@media (max-width: 640px) {
  #commentThread .comment__children {
    --tree-rail-x: 0.62rem;
    --tree-indent: 2.7rem;
  }

  #commentThread .comment__children .comment__children {
    --tree-rail-x: 0.55rem;
    --tree-indent: 2.35rem;
  }

  #commentThread .comment__branch-svg path {
    stroke-width: 2.75 !important;
  }
}

/* Concrete branch lines: real DOM stems/arms so the branch is unmistakably visible. */
#commentThread .comment__branch-svg {
  display: none !important;
}

#commentThread .comment__children > .comment__replies--threaded > .comment > .comment__branch-elbow {
  left: calc(-1 * (var(--tree-indent) - var(--tree-rail-x))) !important;
  top: -0.35rem !important;
  width: calc(var(--tree-indent) - var(--tree-rail-x) + 0.08rem) !important;
  height: 2.4rem !important;
  z-index: 180 !important;
}

#commentThread .comment__branch-stem,
#commentThread .comment__branch-arm {
  position: absolute !important;
  display: block !important;
  background: rgba(172, 92, 88, 0.86) !important;
  pointer-events: none !important;
  opacity: 1 !important;
  visibility: visible !important;
  z-index: 181 !important;
}

#commentThread .comment__branch-stem {
  left: 0 !important;
  top: 0 !important;
  width: 2px !important;
  height: 1.34rem !important;
  border-radius: 999px !important;
}

#commentThread .comment__branch-arm {
  left: 0 !important;
  top: 1.28rem !important;
  width: 100% !important;
  height: 2px !important;
  border-radius: 999px !important;
}

#commentThread .comment__branch-arm::before {
  content: "" !important;
  position: absolute !important;
  left: 0 !important;
  top: -0.58rem !important;
  display: block !important;
  width: 0.7rem !important;
  height: 0.7rem !important;
  border-left: 2px solid rgba(172, 92, 88, 0.86) !important;
  border-bottom: 2px solid rgba(172, 92, 88, 0.86) !important;
  border-bottom-left-radius: 0.7rem !important;
  background: transparent !important;
}

#commentThread .comment__children::before {
  background: rgba(172, 92, 88, 0.68) !important;
}

/* Make tree branches visually unmistakable in the pale comment cards. */
#commentThread .comment__children::before {
  width: 3px !important;
  background: rgba(126, 68, 65, 0.72) !important;
}

#commentThread .comment__branch-stem,
#commentThread .comment__branch-arm {
  background: rgba(126, 68, 65, 0.86) !important;
}

#commentThread .comment__branch-stem {
  width: 3px !important;
  height: 1.45rem !important;
}

#commentThread .comment__branch-arm {
  top: 1.38rem !important;
  height: 3px !important;
  width: calc(100% + 0.18rem) !important;
}

#commentThread .comment__branch-arm::before {
  border-left: 3px solid rgba(126, 68, 65, 0.86) !important;
  border-bottom: 3px solid rgba(126, 68, 65, 0.86) !important;
}

/* Allow Reddit-style branches to render outside comment cards. */
#commentThread .comment,
#commentThread .comment--level-0,
#commentThread .comment--level-1,
#commentThread .comment--level-2,
#commentThread .comment--level-3,
#commentThread .comment--level-4,
.section--thread {
  contain: none !important;
  overflow: visible !important;
}

/* Wrapper-based Reddit tree: branch is outside the reply card, so it cannot be clipped by the card. */
#commentThread .comment__children > .comment__replies--threaded > .comment__reply-branch-row {
  position: relative !important;
  overflow: visible !important;
  contain: none !important;
  width: 100% !important;
}

#commentThread .comment__children > .comment__replies--threaded > .comment__reply-branch-row > .comment {
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 !important;
  contain: none !important;
  overflow: visible !important;
}

#commentThread .comment__children > .comment__replies--threaded > .comment__reply-branch-row + .comment__reply-branch-row {
  margin-top: 0.08rem !important;
  padding-top: 0.5rem !important;
  border-top: 1px solid rgba(207, 136, 133, 0.12) !important;
}

#commentThread .comment__children > .comment__replies--threaded > .comment__reply-branch-row > .comment__branch-elbow {
  position: absolute !important;
  left: calc(-1 * (var(--tree-indent) - var(--tree-rail-x))) !important;
  top: -0.35rem !important;
  display: block !important;
  width: calc(var(--tree-indent) - var(--tree-rail-x) + 0.18rem) !important;
  height: 2.4rem !important;
  border: 0 !important;
  background: transparent !important;
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: none !important;
  z-index: 260 !important;
}

#commentThread .comment__reply-branch-row > .comment__branch-elbow > .comment__branch-stem,
#commentThread .comment__reply-branch-row > .comment__branch-elbow > .comment__branch-arm {
  position: absolute !important;
  display: block !important;
  background: rgba(126, 68, 65, 0.9) !important;
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: none !important;
  z-index: 261 !important;
}

#commentThread .comment__reply-branch-row > .comment__branch-elbow > .comment__branch-stem {
  left: 0 !important;
  top: 0 !important;
  width: 3px !important;
  height: 1.45rem !important;
  border-radius: 999px !important;
}

#commentThread .comment__reply-branch-row > .comment__branch-elbow > .comment__branch-arm {
  left: 0 !important;
  top: 1.38rem !important;
  width: 100% !important;
  height: 3px !important;
  border-radius: 999px !important;
}

#commentThread .comment__reply-branch-row > .comment__branch-elbow > .comment__branch-arm::before {
  content: "" !important;
  position: absolute !important;
  left: 0 !important;
  top: -0.58rem !important;
  display: block !important;
  width: 0.7rem !important;
  height: 0.7rem !important;
  border-left: 3px solid rgba(126, 68, 65, 0.9) !important;
  border-bottom: 3px solid rgba(126, 68, 65, 0.9) !important;
  border-bottom-left-radius: 0.7rem !important;
  background: transparent !important;
}

/* Softer Reddit tree refinement: thinner rose lines and branch arms lower on reply cards. */
#commentThread .comment__children::before {
  width: 1.5px !important;
  background: rgba(207, 136, 133, 0.58) !important;
}

#commentThread .comment__children > .comment-collapse--tree {
  z-index: 340 !important;
  box-shadow: 0 0 0 4px rgba(255, 252, 250, 0.92) !important;
}

#commentThread .comment__children > .comment__replies--threaded > .comment__reply-branch-row > .comment__branch-elbow {
  top: 0 !important;
  height: 100% !important;
  z-index: 260 !important;
}

#commentThread .comment__reply-branch-row > .comment__branch-elbow > .comment__branch-stem,
#commentThread .comment__reply-branch-row > .comment__branch-elbow > .comment__branch-arm {
  background: rgba(207, 136, 133, 0.62) !important;
  z-index: 261 !important;
}

#commentThread .comment__reply-branch-row > .comment__branch-elbow > .comment__branch-stem {
  width: 2px !important;
  height: 43% !important;
}

#commentThread .comment__reply-branch-row > .comment__branch-elbow > .comment__branch-arm {
  top: 43% !important;
  height: 2px !important;
  width: calc(100% + 0.08rem) !important;
}

#commentThread .comment__reply-branch-row > .comment__branch-elbow > .comment__branch-arm::before {
  top: -0.5rem !important;
  width: 0.62rem !important;
  height: 0.62rem !important;
  border-left: 2px solid rgba(207, 136, 133, 0.62) !important;
  border-bottom: 2px solid rgba(207, 136, 133, 0.62) !important;
  border-bottom-left-radius: 0.62rem !important;
}

#commentThread .comment__children .comment__children::before,
#commentThread .comment__children .comment__reply-branch-row > .comment__branch-elbow > .comment__branch-stem,
#commentThread .comment__children .comment__reply-branch-row > .comment__branch-elbow > .comment__branch-arm {
  background: rgba(207, 136, 133, 0.54) !important;
}

#commentThread .comment__children .comment__reply-branch-row > .comment__branch-elbow > .comment__branch-arm::before {
  border-left-color: rgba(207, 136, 133, 0.54) !important;
  border-bottom-color: rgba(207, 136, 133, 0.54) !important;
}

/* Final slim connected branch: one SVG path owns the L-curve and horizontal arm. */
#commentThread .comment__reply-branch-row > .comment__branch-elbow > .comment__branch-stem,
#commentThread .comment__reply-branch-row > .comment__branch-elbow > .comment__branch-arm,
#commentThread .comment__reply-branch-row > .comment__branch-elbow > .comment__branch-arm::before {
  display: none !important;
  content: none !important;
}

#commentThread .comment__children::before {
  width: 1.25px !important;
  background: rgba(207, 136, 133, 0.5) !important;
}

#commentThread .comment__children > .comment__replies--threaded > .comment__reply-branch-row > .comment__branch-elbow {
  top: 0 !important;
  height: 100% !important;
  z-index: 260 !important;
}

#commentThread .comment__branch-svg {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  overflow: visible !important;
}

#commentThread .comment__branch-svg path {
  fill: none !important;
  stroke: rgba(207, 136, 133, 0.56) !important;
  stroke-width: 1.35px !important;
  stroke-linecap: round !important;
  stroke-linejoin: round !important;
  vector-effect: non-scaling-stroke !important;
  filter: none !important;
}

/* Stop the vertical reply rail after the final branch. */
#commentThread .comment__children:has(> .comment__replies--threaded > .comment__reply-branch-row:last-child) > .comment__replies--threaded > .comment__reply-branch-row:last-child::after {
  content: "" !important;
  position: absolute !important;
  left: calc(-1 * (var(--tree-indent) - var(--tree-rail-x)) - 0.12rem) !important;
  top: calc(43% + 0.12rem) !important;
  bottom: -0.4rem !important;
  display: block !important;
  width: 0.7rem !important;
  background: rgba(255, 255, 255, 0.88) !important;
  border-radius: 999px !important;
  pointer-events: none !important;
  z-index: 240 !important;
}

/* Final quarter-circle tree line: same slim rose stroke for rail and branch. */
#commentThread {
  --tree-line-width: 1.35px;
  --tree-line-color: rgba(207, 136, 133, 0.56);
}

#commentThread .comment__children::before {
  width: var(--tree-line-width) !important;
  background: var(--tree-line-color) !important;
}

#commentThread .comment__branch-svg {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  overflow: visible !important;
}

#commentThread .comment__branch-svg path {
  fill: none !important;
  stroke: var(--tree-line-color) !important;
  stroke-width: var(--tree-line-width) !important;
  stroke-linecap: round !important;
  stroke-linejoin: round !important;
  vector-effect: non-scaling-stroke !important;
  filter: none !important;
}

#commentThread .comment__reply-branch-row > .comment__branch-elbow > .comment__branch-stem,
#commentThread .comment__reply-branch-row > .comment__branch-elbow > .comment__branch-arm,
#commentThread .comment__reply-branch-row > .comment__branch-elbow > .comment__branch-arm::before {
  display: none !important;
  content: none !important;
  width: 0 !important;
  height: 0 !important;
  border: 0 !important;
  background: transparent !important;
}

/* Fixed quarter-circle branches: never stretch with reply height; align arm with author name. */
#commentThread {
  --tree-line-width: 1.35px;
  --tree-line-color: rgba(207, 136, 133, 0.56);
}

#commentThread .comment__children::before {
  width: var(--tree-line-width) !important;
  background: var(--tree-line-color) !important;
}

#commentThread .comment__children > .comment__replies--threaded > .comment__reply-branch-row > .comment__branch-elbow {
  top: 0 !important;
  height: 1.75rem !important;
  min-height: 1.75rem !important;
  max-height: 1.75rem !important;
  z-index: 260 !important;
}

#commentThread .comment__branch-svg {
  display: block !important;
  width: 100% !important;
  height: 1.75rem !important;
  min-height: 1.75rem !important;
  max-height: 1.75rem !important;
  overflow: visible !important;
}

#commentThread .comment__branch-svg path {
  fill: none !important;
  stroke: var(--tree-line-color) !important;
  stroke-width: var(--tree-line-width) !important;
  stroke-linecap: round !important;
  stroke-linejoin: round !important;
  vector-effect: non-scaling-stroke !important;
  filter: none !important;
}

#commentThread .comment__reply-branch-row > .comment__branch-elbow > .comment__branch-stem,
#commentThread .comment__reply-branch-row > .comment__branch-elbow > .comment__branch-arm,
#commentThread .comment__reply-branch-row > .comment__branch-elbow > .comment__branch-arm::before {
  display: none !important;
  content: none !important;
  width: 0 !important;
  height: 0 !important;
  border: 0 !important;
  background: transparent !important;
}

#commentThread .comment__children:has(> .comment__replies--threaded > .comment__reply-branch-row:last-child) > .comment__replies--threaded > .comment__reply-branch-row:last-child::after {
  top: 1.32rem !important;
}

/* Restore right-aligned show/hide reply control; no +/- symbol on the tree rail. */
#commentThread .comment__children > .comment-collapse--tree {
  display: none !important;
}

#commentThread .comment__meta {
  margin-left: auto !important;
  display: grid !important;
  justify-items: end !important;
  gap: 0.32rem !important;
  text-align: right !important;
}

#commentThread .comment__meta .comment-collapse,
#commentThread .comment__meta button.comment-collapse {
  position: static !important;
  left: auto !important;
  top: auto !important;
  z-index: auto !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: auto !important;
  height: auto !important;
  min-width: 0 !important;
  min-height: 0 !important;
  margin: 0 !important;
  padding: 0.22rem 0.62rem !important;
  border: 1px solid rgba(207, 136, 133, 0.24) !important;
  border-radius: 999px !important;
  background: rgba(255, 250, 248, 0.62) !important;
  color: rgba(151, 86, 83, 0.82) !important;
  box-shadow: none !important;
  font-family: inherit !important;
  font-size: 0.74rem !important;
  font-weight: 400 !important;
  line-height: 1.1 !important;
  text-align: center !important;
  transform: none !important;
}

#commentThread .comment__meta .comment-collapse:hover,
#commentThread .comment__meta .comment-collapse:focus-visible {
  background: rgba(250, 236, 234, 0.82) !important;
  border-color: rgba(207, 136, 133, 0.36) !important;
  color: rgba(128, 69, 66, 0.92) !important;
  box-shadow: none !important;
  transform: none !important;
}

/* Homogeneous reply tree: rail and branch are one slim rose system, and rails stop at the last reply. */
#commentThread {
  --tree-line-width: 1.35px;
  --tree-line-color: rgba(207, 136, 133, 0.56);
  --tree-branch-y: 1.08rem;
}

#commentThread .comment__children::before {
  content: none !important;
  display: none !important;
}

#commentThread .comment__reply-branch-row {
  --branch-gap: calc(var(--tree-indent) - var(--tree-rail-x));
  position: relative !important;
  overflow: visible !important;
  contain: none !important;
}

#commentThread .comment__reply-branch-row::before {
  content: "" !important;
  position: absolute !important;
  left: calc(-1 * var(--branch-gap) + 0.12rem) !important;
  top: -0.55rem !important;
  bottom: -0.62rem !important;
  display: block !important;
  width: var(--tree-line-width) !important;
  background: var(--tree-line-color) !important;
  border-radius: 999px !important;
  pointer-events: none !important;
  z-index: 230 !important;
}

#commentThread .comment__reply-branch-row:last-child::before {
  bottom: auto !important;
  height: calc(var(--tree-branch-y) + 0.16rem) !important;
}

#commentThread .comment__children > .comment__replies--threaded > .comment__reply-branch-row > .comment__branch-elbow {
  left: calc(-1 * var(--branch-gap) + 0.12rem) !important;
  top: 0 !important;
  display: block !important;
  width: calc(var(--branch-gap) + 0.1rem) !important;
  height: 1.75rem !important;
  min-height: 1.75rem !important;
  max-height: 1.75rem !important;
  border: 0 !important;
  background: transparent !important;
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: none !important;
  z-index: 260 !important;
}

#commentThread .comment__branch-svg {
  display: block !important;
  width: 100% !important;
  height: 1.75rem !important;
  overflow: visible !important;
}

#commentThread .comment__branch-svg path {
  fill: none !important;
  stroke: var(--tree-line-color) !important;
  stroke-width: var(--tree-line-width) !important;
  stroke-linecap: round !important;
  stroke-linejoin: round !important;
  vector-effect: non-scaling-stroke !important;
  filter: none !important;
}

#commentThread .comment__reply-branch-row > .comment__branch-elbow > .comment__branch-stem,
#commentThread .comment__reply-branch-row > .comment__branch-elbow > .comment__branch-arm,
#commentThread .comment__reply-branch-row > .comment__branch-elbow > .comment__branch-arm::before,
#commentThread .comment__children:has(> .comment__replies--threaded > .comment__reply-branch-row:last-child) > .comment__replies--threaded > .comment__reply-branch-row:last-child::after {
  content: none !important;
  display: none !important;
  width: 0 !important;
  height: 0 !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

/* No horizontal separator between reply cards; keep only the tree branches. */
#commentThread .comment__children > .comment__replies--threaded > .comment__reply-branch-row + .comment__reply-branch-row,
#commentThread .comment__replies--threaded > .comment + .comment,
#commentThread .comment__replies > .comment + .comment,
#commentThread .comment__replies--flat > .comment + .comment {
  border-top: 0 !important;
  box-shadow: none !important;
}

#commentThread .comment__children > .comment__replies--threaded > .comment__reply-branch-row + .comment__reply-branch-row::before,
#commentThread .comment__children > .comment__replies--threaded > .comment__reply-branch-row + .comment__reply-branch-row::after,
#commentThread .comment__replies > .comment + .comment::after,
#commentThread .comment__replies--flat > .comment + .comment::after {
  border-top: 0 !important;
  box-shadow: none !important;
}

/* Single-path tree branches: no overlapping rails, no shade changes, identical curvature per reply. */
#commentThread {
  --tree-line-width: 1.45px;
  --tree-line-color: rgba(207, 136, 133, 0.58);
}

#commentThread .comment__children::before,
#commentThread .comment__reply-branch-row::before,
#commentThread .comment__reply-branch-row::after {
  content: none !important;
  display: none !important;
  width: 0 !important;
  height: 0 !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

#commentThread .comment__children > .comment__replies--threaded > .comment__reply-branch-row > .comment__branch-elbow {
  left: calc(-1 * var(--branch-gap)) !important;
  top: -0.7rem !important;
  width: calc(var(--branch-gap) + 0.12rem) !important;
  height: calc(100% + 0.7rem) !important;
  min-height: 5.2rem !important;
  max-height: none !important;
  z-index: 260 !important;
}

#commentThread .comment__branch-svg {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  min-height: 5.2rem !important;
  overflow: visible !important;
}

#commentThread .comment__branch-svg path {
  fill: none !important;
  stroke: var(--tree-line-color) !important;
  stroke-width: var(--tree-line-width) !important;
  stroke-linecap: round !important;
  stroke-linejoin: round !important;
  vector-effect: non-scaling-stroke !important;
  filter: none !important;
  opacity: 1 !important;
}

#commentThread .comment__reply-branch-row:last-child > .comment__branch-elbow {
  height: 3.1rem !important;
  min-height: 3.1rem !important;
}

/* True CSS quarter-circle branch: fixed radius, same slim rose stroke everywhere. */
#commentThread {
  --tree-line-width: 1.25px;
  --tree-line-color: rgba(207, 136, 133, 0.54);
  --tree-curve-size: 1.08rem;
}

#commentThread .comment__children::before,
#commentThread .comment__reply-branch-row::before,
#commentThread .comment__reply-branch-row::after {
  content: none !important;
  display: none !important;
  width: 0 !important;
  height: 0 !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

#commentThread .comment__children > .comment__replies--threaded > .comment__reply-branch-row > .comment__branch-elbow {
  position: absolute !important;
  left: calc(-1 * var(--branch-gap)) !important;
  top: 0.08rem !important;
  display: block !important;
  width: calc(var(--branch-gap) + 0.08rem) !important;
  height: var(--tree-curve-size) !important;
  min-height: var(--tree-curve-size) !important;
  max-height: var(--tree-curve-size) !important;
  border: 0 !important;
  border-left: var(--tree-line-width) solid var(--tree-line-color) !important;
  border-bottom: var(--tree-line-width) solid var(--tree-line-color) !important;
  border-bottom-left-radius: var(--tree-curve-size) !important;
  background: transparent !important;
  box-shadow: none !important;
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: none !important;
  z-index: 260 !important;
}

#commentThread .comment__branch-svg,
#commentThread .comment__branch-svg path,
#commentThread .comment__reply-branch-row > .comment__branch-elbow > .comment__branch-stem,
#commentThread .comment__reply-branch-row > .comment__branch-elbow > .comment__branch-arm,
#commentThread .comment__reply-branch-row > .comment__branch-elbow > .comment__branch-arm::before {
  content: none !important;
  display: none !important;
  width: 0 !important;
  height: 0 !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

/* Final homogeneous reply tree: one slim rose stroke, connected quarter-circle branches. */
#commentThread {
  --reply-tree-line-width: 1px;
  --reply-tree-line-color: rgba(207, 136, 133, 0.56);
  --reply-tree-curve-size: 1.15rem;
  --reply-tree-branch-top: 1.05rem;
}

#commentThread .comment__children::before {
  content: none !important;
  display: none !important;
}

#commentThread .comment__children > .comment__replies--threaded > .comment__reply-branch-row {
  position: relative !important;
}

#commentThread .comment__children > .comment__replies--threaded > .comment__reply-branch-row::before,
#commentThread .comment__children > .comment__replies--threaded > .comment__reply-branch-row::after {
  content: "" !important;
  position: absolute !important;
  left: calc(-1 * var(--branch-gap)) !important;
  display: block !important;
  width: 0 !important;
  height: auto !important;
  border: 0 !important;
  border-left: var(--reply-tree-line-width) solid var(--reply-tree-line-color) !important;
  background: transparent !important;
  box-shadow: none !important;
  opacity: 1 !important;
  pointer-events: none !important;
  z-index: 250 !important;
}

#commentThread .comment__children > .comment__replies--threaded > .comment__reply-branch-row::before {
  top: 0 !important;
  bottom: calc(100% - var(--reply-tree-branch-top)) !important;
}

#commentThread .comment__children > .comment__replies--threaded > .comment__reply-branch-row::after {
  top: calc(var(--reply-tree-branch-top) + var(--reply-tree-curve-size)) !important;
  bottom: 0 !important;
}

#commentThread .comment__children > .comment__replies--threaded > .comment__reply-branch-row:last-child::after {
  content: none !important;
  display: none !important;
}

#commentThread .comment__children > .comment__replies--threaded > .comment__reply-branch-row > .comment__branch-elbow {
  position: absolute !important;
  left: calc(-1 * var(--branch-gap)) !important;
  top: var(--reply-tree-branch-top) !important;
  display: block !important;
  width: calc(var(--branch-gap) + 0.32rem) !important;
  height: var(--reply-tree-curve-size) !important;
  min-height: var(--reply-tree-curve-size) !important;
  max-height: var(--reply-tree-curve-size) !important;
  box-sizing: border-box !important;
  border: 0 !important;
  border-left: var(--reply-tree-line-width) solid var(--reply-tree-line-color) !important;
  border-bottom: var(--reply-tree-line-width) solid var(--reply-tree-line-color) !important;
  border-bottom-left-radius: var(--reply-tree-curve-size) !important;
  background: transparent !important;
  box-shadow: none !important;
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: none !important;
  z-index: 260 !important;
}

#commentThread .comment__branch-svg,
#commentThread .comment__branch-svg path,
#commentThread .comment__reply-branch-row > .comment__branch-elbow > .comment__branch-stem,
#commentThread .comment__reply-branch-row > .comment__branch-elbow > .comment__branch-arm,
#commentThread .comment__reply-branch-row > .comment__branch-elbow > .comment__branch-arm::before {
  content: none !important;
  display: none !important;
  width: 0 !important;
  height: 0 !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

/* Final answer tree renderer: one clean Reddit-like rose rail with identical quarter turns. */
#commentThread {
  --reply-tree-line-width: 1px;
  --reply-tree-line-color: rgba(207, 136, 133, 0.64);
  --reply-tree-radius: 1.28rem;
  --reply-tree-turn-top: 0.35rem;
}

#commentThread .comment__children::before,
#commentThread .comment__children > .comment__replies--threaded::before,
#commentThread .comment__children > .comment__replies--threaded::after,
#commentThread .comment__children > .comment__replies--threaded > .comment::before,
#commentThread .comment__children > .comment__replies--threaded > .comment::after {
  content: none !important;
  display: none !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

#commentThread .comment__reply-branch-row {
  --branch-gap: calc(var(--tree-indent, 2.7rem) - var(--tree-rail-x, 0.62rem));
  position: relative !important;
}

#commentThread .comment__children > .comment__replies--threaded > .comment__reply-branch-row::before,
#commentThread .comment__children > .comment__replies--threaded > .comment__reply-branch-row::after {
  content: "" !important;
  position: absolute !important;
  left: calc(-1 * var(--branch-gap)) !important;
  width: 0 !important;
  border: 0 !important;
  border-left: var(--reply-tree-line-width) solid var(--reply-tree-line-color) !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  opacity: 1 !important;
  pointer-events: none !important;
  z-index: 12 !important;
}

#commentThread .comment__children > .comment__replies--threaded > .comment__reply-branch-row::before {
  top: 0 !important;
  height: var(--reply-tree-turn-top) !important;
  bottom: auto !important;
}

#commentThread .comment__children > .comment__replies--threaded > .comment__reply-branch-row::after {
  top: calc(var(--reply-tree-turn-top) + var(--reply-tree-radius)) !important;
  bottom: 0 !important;
  height: auto !important;
}

#commentThread .comment__children > .comment__replies--threaded > .comment__reply-branch-row:last-child::after {
  content: none !important;
  display: none !important;
}

#commentThread .comment__children > .comment__replies--threaded > .comment__reply-branch-row > .comment__branch-elbow {
  position: absolute !important;
  left: calc(-1 * var(--branch-gap)) !important;
  top: var(--reply-tree-turn-top) !important;
  display: block !important;
  width: calc(var(--branch-gap) + 0.55rem) !important;
  height: var(--reply-tree-radius) !important;
  min-height: var(--reply-tree-radius) !important;
  max-height: var(--reply-tree-radius) !important;
  box-sizing: border-box !important;
  border: 0 !important;
  border-left: var(--reply-tree-line-width) solid var(--reply-tree-line-color) !important;
  border-bottom: var(--reply-tree-line-width) solid var(--reply-tree-line-color) !important;
  border-bottom-left-radius: var(--reply-tree-radius) !important;
  background: transparent !important;
  box-shadow: none !important;
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: none !important;
  z-index: 13 !important;
}

#commentThread .comment__branch-elbow::before,
#commentThread .comment__branch-elbow::after,
#commentThread .comment__branch-svg,
#commentThread .comment__branch-svg path,
#commentThread .comment__branch-stem,
#commentThread .comment__branch-arm,
#commentThread .comment__branch-arm::before,
#commentThread .comment__branch-arm::after {
  content: none !important;
  display: none !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

/* Straight reply tree fallback: crisp connected 90-degree branches, no rounded corners. */
#commentThread {
  --reply-tree-line-width: 1px;
  --reply-tree-line-color: rgba(207, 136, 133, 0.64);
  --reply-tree-radius: 18px;
  --reply-tree-turn-top: 6px;
}

#commentThread .comment__reply-branch-row {
  --branch-gap: calc(var(--tree-indent, 2.7rem) - var(--tree-rail-x, 0.62rem));
  position: relative !important;
}

#commentThread .comment__children::before,
#commentThread .comment__children > .comment__replies--threaded::before,
#commentThread .comment__children > .comment__replies--threaded::after,
#commentThread .comment__children > .comment__replies--threaded > .comment::before,
#commentThread .comment__children > .comment__replies--threaded > .comment::after {
  content: none !important;
  display: none !important;
}

#commentThread .comment__children > .comment__replies--threaded > .comment__reply-branch-row::before,
#commentThread .comment__children > .comment__replies--threaded > .comment__reply-branch-row::after {
  content: "" !important;
  position: absolute !important;
  left: calc(-1 * var(--branch-gap)) !important;
  width: 0 !important;
  border: 0 !important;
  border-left: var(--reply-tree-line-width) solid var(--reply-tree-line-color) !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  opacity: 1 !important;
  pointer-events: none !important;
  z-index: 12 !important;
}

#commentThread .comment__children > .comment__replies--threaded > .comment__reply-branch-row::before {
  top: 0 !important;
  height: var(--reply-tree-turn-top) !important;
  bottom: auto !important;
}

#commentThread .comment__children > .comment__replies--threaded > .comment__reply-branch-row::after {
  top: calc(var(--reply-tree-turn-top) + var(--reply-tree-radius)) !important;
  bottom: 0 !important;
  height: auto !important;
}

#commentThread .comment__children > .comment__replies--threaded > .comment__reply-branch-row:last-child::after {
  content: none !important;
  display: none !important;
}

#commentThread .comment__children > .comment__replies--threaded > .comment__reply-branch-row > .comment__branch-elbow {
  position: absolute !important;
  left: calc(-1 * var(--branch-gap)) !important;
  top: var(--reply-tree-turn-top) !important;
  display: block !important;
  width: calc(var(--branch-gap) + 0.55rem) !important;
  height: var(--reply-tree-radius) !important;
  min-height: var(--reply-tree-radius) !important;
  max-height: var(--reply-tree-radius) !important;
  box-sizing: border-box !important;
  border: 0 !important;
  border-left: var(--reply-tree-line-width) solid var(--reply-tree-line-color) !important;
  border-bottom: var(--reply-tree-line-width) solid var(--reply-tree-line-color) !important;
  border-radius: 0 !important;
  border-bottom-left-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: none !important;
  z-index: 13 !important;
}

/* Connected straight reply tree: one uninterrupted vertical rail plus horizontal arms. */
#commentThread {
  --reply-tree-line-width: 1px;
  --reply-tree-line-color: rgba(207, 136, 133, 0.66);
  --reply-tree-joint-y: 1.42rem;
}

#commentThread .comment__children::before,
#commentThread .comment__children > .comment__replies--threaded::before,
#commentThread .comment__children > .comment__replies--threaded::after,
#commentThread .comment__children > .comment__replies--threaded > .comment::before,
#commentThread .comment__children > .comment__replies--threaded > .comment::after,
#commentThread .comment__children > .comment__replies--threaded > .comment__reply-branch-row::after {
  content: none !important;
  display: none !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

#commentThread .comment__children > .comment__replies--threaded > .comment__reply-branch-row {
  --branch-gap: calc(var(--tree-indent, 2.7rem) - var(--tree-rail-x, 0.62rem));
  position: relative !important;
  margin-top: 0 !important;
}

#commentThread .comment__children > .comment__replies--threaded > .comment__reply-branch-row::before {
  content: "" !important;
  position: absolute !important;
  left: calc(-1 * var(--branch-gap)) !important;
  top: 0 !important;
  bottom: 0 !important;
  width: 0 !important;
  height: auto !important;
  display: block !important;
  border: 0 !important;
  border-left: var(--reply-tree-line-width) solid var(--reply-tree-line-color) !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  opacity: 1 !important;
  pointer-events: none !important;
  z-index: 12 !important;
}

#commentThread .comment__children > .comment__replies--threaded > .comment__reply-branch-row:last-child::before {
  bottom: auto !important;
  height: var(--reply-tree-joint-y) !important;
}

#commentThread .comment__children > .comment__replies--threaded > .comment__reply-branch-row > .comment__branch-elbow {
  position: absolute !important;
  left: calc(-1 * var(--branch-gap)) !important;
  top: var(--reply-tree-joint-y) !important;
  display: block !important;
  width: calc(var(--branch-gap) + 0.55rem) !important;
  height: 0 !important;
  min-height: 0 !important;
  max-height: 0 !important;
  box-sizing: border-box !important;
  border: 0 !important;
  border-top: var(--reply-tree-line-width) solid var(--reply-tree-line-color) !important;
  border-radius: 0 !important;
  border-bottom-left-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: none !important;
  z-index: 13 !important;
}

/* Reply tree alignment: horizontal arm stops at the card edge and meets the name midline. */
#commentThread {
  --reply-tree-joint-y: 1.62rem;
}

#commentThread .comment__children > .comment__replies--threaded > .comment__reply-branch-row > .comment__branch-elbow {
  top: var(--reply-tree-joint-y) !important;
  width: var(--branch-gap) !important;
}

#commentThread .comment__children > .comment__replies--threaded > .comment__reply-branch-row:last-child::before {
  height: var(--reply-tree-joint-y) !important;
}

/* Unified reply tree: remove rail breaks between reply rows. */
#commentThread .comment__children > .comment__replies--threaded {
  gap: 0 !important;
  row-gap: 0 !important;
}

#commentThread .comment__children > .comment__replies--threaded > .comment__reply-branch-row,
#commentThread .comment__children > .comment__replies--threaded > .comment__reply-branch-row + .comment__reply-branch-row {
  margin-top: 0 !important;
  padding-top: 0 !important;
}

#commentThread .comment__children > .comment__replies--threaded > .comment__reply-branch-row::before {
  top: 0 !important;
  bottom: 0 !important;
  height: auto !important;
}

#commentThread .comment__children > .comment__replies--threaded > .comment__reply-branch-row:last-child::before {
  top: 0 !important;
  bottom: auto !important;
  height: var(--reply-tree-joint-y) !important;
}

#commentThread .comment__children > .comment__replies--threaded > .comment__reply-branch-row > .comment {
  margin-top: 0 !important;
}

/* Half-outline on comment and reply cards: same slim rose stroke as the reply tree, fading at the open right edge. */
#commentThread {
  --comment-card-outline-width: var(--reply-tree-line-width, 1px);
  --comment-card-outline-color: var(--reply-tree-line-color, rgba(207, 136, 133, 0.66));
}

#commentThread .comment {
  position: relative !important;
}

#commentThread .comment::after {
  content: "" !important;
  position: absolute !important;
  inset: 0 !important;
  display: block !important;
  border: 0 !important;
  border-radius: inherit !important;
  pointer-events: none !important;
  z-index: 6 !important;
  opacity: 1 !important;
  background:
    linear-gradient(to right, var(--comment-card-outline-color) 0%, var(--comment-card-outline-color) 70%, rgba(207, 136, 133, 0) 98%) top left / 100% var(--comment-card-outline-width) no-repeat,
    linear-gradient(to right, var(--comment-card-outline-color) 0%, var(--comment-card-outline-color) 70%, rgba(207, 136, 133, 0) 98%) bottom left / 100% var(--comment-card-outline-width) no-repeat,
    linear-gradient(to bottom, var(--comment-card-outline-color), var(--comment-card-outline-color)) top left / var(--comment-card-outline-width) 100% no-repeat !important;
  box-shadow: none !important;
}

/* Card outline fade corrected: fade into the card/background, not white. */
#commentThread .comment::after {
  background:
    linear-gradient(to right, var(--comment-card-outline-color) 0%, var(--comment-card-outline-color) 70%, transparent 98%) top left / 100% var(--comment-card-outline-width) no-repeat,
    linear-gradient(to right, var(--comment-card-outline-color) 0%, var(--comment-card-outline-color) 70%, transparent 98%) bottom left / 100% var(--comment-card-outline-width) no-repeat,
    linear-gradient(to bottom, var(--comment-card-outline-color), var(--comment-card-outline-color)) top left / var(--comment-card-outline-width) 100% no-repeat !important;
}

/* Rounded half-outline refinement: earlier fade and true rounded-corner clipping. */
#commentThread .comment {
  overflow: hidden !important;
}

#commentThread .comment::after {
  background:
    linear-gradient(to right, var(--comment-card-outline-color) 0%, var(--comment-card-outline-color) 34%, transparent 72%) top left / 100% var(--comment-card-outline-width) no-repeat,
    linear-gradient(to right, var(--comment-card-outline-color) 0%, var(--comment-card-outline-color) 34%, transparent 72%) bottom left / 100% var(--comment-card-outline-width) no-repeat,
    linear-gradient(to bottom, var(--comment-card-outline-color), var(--comment-card-outline-color)) top left / var(--comment-card-outline-width) 100% no-repeat !important;
  border-radius: inherit !important;
  clip-path: inset(0 round inherit) !important;
}

/* Remove experimental half-outline from comment and reply cards. */
#commentThread .comment {
  overflow: visible !important;
}

#commentThread .comment::after {
  content: none !important;
  display: none !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}

/* Subtle tree fades: soften horizontal arms near card/name edge and the first upward rail start. */
#commentThread {
  --reply-tree-fade-length: 0.72rem;
}

#commentThread .comment__children > .comment__replies--threaded > .comment__reply-branch-row > .comment__branch-elbow {
  height: var(--reply-tree-line-width) !important;
  min-height: var(--reply-tree-line-width) !important;
  max-height: var(--reply-tree-line-width) !important;
  border: 0 !important;
  background: linear-gradient(
    to right,
    var(--reply-tree-line-color) 0%,
    var(--reply-tree-line-color) calc(100% - var(--reply-tree-fade-length)),
    transparent 100%
  ) !important;
}

#commentThread .comment__children > .comment__replies--threaded > .comment__reply-branch-row:first-child::before {
  border-left: 0 !important;
  width: var(--reply-tree-line-width) !important;
  background: linear-gradient(
    to bottom,
    transparent 0,
    var(--reply-tree-line-color) 0.55rem,
    var(--reply-tree-line-color) 100%
  ) !important;
}

/* Slightly stronger tree fades. */
#commentThread {
  --reply-tree-fade-length: 1.12rem;
}

#commentThread .comment__children > .comment__replies--threaded > .comment__reply-branch-row:first-child::before {
  background: linear-gradient(
    to bottom,
    transparent 0,
    rgba(207, 136, 133, 0.24) 0.38rem,
    var(--reply-tree-line-color) 0.9rem,
    var(--reply-tree-line-color) 100%
  ) !important;
}

/* More pronounced tree fades. */
#commentThread {
  --reply-tree-fade-length: 1.65rem;
}

#commentThread .comment__children > .comment__replies--threaded > .comment__reply-branch-row:first-child::before {
  background: linear-gradient(
    to bottom,
    transparent 0,
    rgba(207, 136, 133, 0.18) 0.5rem,
    rgba(207, 136, 133, 0.46) 1rem,
    var(--reply-tree-line-color) 1.45rem,
    var(--reply-tree-line-color) 100%
  ) !important;
}

/* Softer reply-tree tone. */
#commentThread {
  --reply-tree-line-color: rgba(196, 145, 142, 0.48);
}

#commentThread .comment__children > .comment__replies--threaded > .comment__reply-branch-row:first-child::before {
  background: linear-gradient(
    to bottom,
    transparent 0,
    rgba(196, 145, 142, 0.12) 0.5rem,
    rgba(196, 145, 142, 0.32) 1rem,
    var(--reply-tree-line-color) 1.45rem,
    var(--reply-tree-line-color) 100%
  ) !important;
}

/* Align reply button icon with the vertical reply tree rail. */
#commentThread .comment__reply-branch-row {
  --tree-rail-x: 1.37rem;
}

#commentThread .comment > .comment__actions > .comment-action:first-child {
  position: relative !important;
  left: -0.32rem !important;
}

/* Keep nested reply cards right-aligned: indentation may grow on the left, never by shrinking the right edge. */
#commentThread .comment__reply-branch-row > .comment > .comment__children {
  margin-right: -1rem !important;
}

#commentThread .comment__reply-branch-row > .comment > .comment__children > .comment__replies--threaded {
  width: auto !important;
  max-width: none !important;
}

/* Equalize the empty space below Svara/Gilla on every comment card. */
#commentThread .comment {
  padding-bottom: 1.12rem !important;
}

#commentThread .comment > .comment__actions {
  margin-bottom: 0 !important;
  padding-bottom: 0 !important;
}

#commentThread .comment.comment--collapsed > .comment__children {
  display: none !important;
  height: 0 !important;
  min-height: 0 !important;
  max-height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: hidden !important;
}

#commentThread .comment.comment--collapsed > .comment__children > .comment__replies,
#commentThread .comment.comment--collapsed > .comment__children::before {
  content: none !important;
  display: none !important;
}

/* Collapsed reply cards should end like normal cards; no reserved ghost space under actions. */
#commentThread .comment.comment--has-replies.comment--collapsed {
  min-height: 0 !important;
  padding-bottom: 1.12rem !important;
}

#commentThread .comment.comment--has-replies.comment--collapsed > .comment__actions {
  margin-bottom: 0 !important;
  padding-bottom: 0 !important;
}

#commentThread .comment.comment--has-replies.comment--collapsed > .comment__children,
#commentThread .comment.comment--has-replies.comment--collapsed > .comment__children > * {
  display: none !important;
  height: 0 !important;
  min-height: 0 !important;
  max-height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  overflow: hidden !important;
}

#commentThread .comment.comment--has-replies.comment--collapsed > .comment__children::before,
#commentThread .comment.comment--has-replies.comment--collapsed > .comment__children::after {
  content: none !important;
  display: none !important;
}

/* Responsive containment: comments and forms must stay inside the thread card. */
.section--thread,
#commentThread,
#commentThread *,
.comment-form,
.inline-reply-form,
.inline-reply-form *,
#commentThread input,
#commentThread textarea,
#commentThread button {
  box-sizing: border-box !important;
}

#commentThread {
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  overflow-x: clip !important;
}

#commentThread > .comment,
#commentThread .comment,
#commentThread .comment__children,
#commentThread .comment__replies,
#commentThread .comment__replies--threaded,
#commentThread .comment__reply-branch-row {
  min-width: 0 !important;
  max-width: 100% !important;
}

#commentThread > .comment {
  width: 100% !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
}

#commentThread .comment__reply-branch-row > .comment {
  max-width: 100% !important;
}

.comment-form,
.inline-reply-form,
.comment-form input,
.comment-form textarea,
.inline-reply-form input,
.inline-reply-form textarea {
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
}

@media (max-width: 760px) {
  #commentThread {
    overflow-x: hidden !important;
  }

  #commentThread .comment__children {
    --tree-indent: clamp(1.35rem, 5vw, 1.85rem) !important;
    --tree-rail-x: clamp(0.78rem, 3vw, 1.05rem) !important;
    padding-left: var(--tree-indent) !important;
    margin-right: 0 !important;
    width: auto !important;
    max-width: 100% !important;
  }

  #commentThread .comment__children .comment__children {
    --tree-indent: clamp(1.05rem, 4vw, 1.45rem) !important;
    padding-left: var(--tree-indent) !important;
    margin-right: 0 !important;
  }

  #commentThread .comment__reply-branch-row > .comment > .comment__children {
    margin-right: 0 !important;
  }

  #commentThread .comment__reply-branch-row,
  #commentThread .comment__reply-branch-row > .comment {
    width: 100% !important;
    max-width: 100% !important;
  }
}

/* Smooth reply/collapse experience without scroll jumps. */
#commentThread .inline-reply-form {
  transform-origin: top center !important;
  animation: inline-reply-soft-open 360ms cubic-bezier(0.22, 0.74, 0.28, 1) both !important;
  will-change: opacity, transform !important;
}

#commentThread .comment__children > .comment__replies--threaded {
  transform-origin: top center !important;
  animation: reply-thread-soft-open 420ms cubic-bezier(0.22, 0.74, 0.28, 1) both !important;
  will-change: opacity, transform !important;
}

#commentThread .comment-action,
#commentThread .comment-collapse,
#commentThread .inline-reply-form button {
  transition:
    color 240ms ease,
    border-color 240ms ease,
    background-color 240ms ease,
    opacity 240ms ease,
    filter 240ms ease !important;
}

@keyframes inline-reply-soft-open {
  from {
    opacity: 0;
    transform: translateY(-0.42rem) scaleY(0.985);
    filter: blur(2px);
  }
  55% {
    opacity: 0.86;
    filter: blur(0.6px);
  }
  to {
    opacity: 1;
    transform: translateY(0) scaleY(1);
    filter: blur(0);
  }
}

@keyframes reply-thread-soft-open {
  from {
    opacity: 0;
    transform: translateY(-0.34rem);
    filter: blur(1.5px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  #commentThread .inline-reply-form,
  #commentThread .comment__children > .comment__replies--threaded {
    animation: none !important;
    transform: none !important;
    filter: none !important;
  }
}

/* Prevent browser scroll anchoring from fighting reply/show-hide animations. */
#commentThread,
#commentThread .comment,
#commentThread .comment__children,
#commentThread .comment__replies,
#commentThread .comment__reply-branch-row,
#commentThread .inline-reply-form {
  overflow-anchor: none !important;
}

/* Linked commenter names: underline only on hover/focus. */
#commentThread .comment__user[href],
#commentThread a.comment__user {
  text-decoration: none !important;
}

#commentThread .comment__user[href]:hover,
#commentThread .comment__user[href]:focus-visible,
#commentThread a.comment__user:hover,
#commentThread a.comment__user:focus-visible {
  text-decoration: underline !important;
  text-decoration-thickness: 0.08em !important;
  text-underline-offset: 0.16em !important;
}

/* Shorter comment/reply fields on wider screens; keep mobile fields full-width. */
.comment-form__fields,
.inline-reply-form__fields {
  width: min(58%, 42rem) !important;
  max-width: min(58%, 42rem) !important;
  min-width: 18rem !important;
  margin-left: 0 !important;
  margin-right: auto !important;
}

.comment-form input,
.comment-form textarea,
.inline-reply-form input,
.inline-reply-form textarea {
  width: 100% !important;
  max-width: 100% !important;
}

@media (max-width: 760px) {
  .comment-form__fields,
  .inline-reply-form__fields {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
  }
}

/* Revert shorter field experiment: comment and reply fields use full available width again. */
.comment-form__fields,
.inline-reply-form__fields {
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
}

/* Fast, stable comment interactions: no heavy blur/transform, no blinking cards while scrolling. */
#commentThread,
#commentThread * {
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

#commentThread .comment,
#commentThread .comment__header,
#commentThread .comment__body,
#commentThread .comment__actions,
#commentThread .comment__children,
#commentThread .comment__replies,
#commentThread .comment__reply-branch-row {
  opacity: 1 !important;
  filter: none !important;
  backface-visibility: visible !important;
  content-visibility: visible !important;
}

#commentThread .comment {
  animation: none !important;
  transform: none !important;
  contain: none !important;
}

#commentThread .inline-reply-form {
  animation: reply-form-fast-fade 170ms ease-out both !important;
  transform: none !important;
  filter: none !important;
  will-change: opacity !important;
}

#commentThread .comment__children > .comment__replies--threaded {
  animation: reply-thread-fast-fade 150ms ease-out both !important;
  transform: none !important;
  filter: none !important;
  will-change: opacity !important;
}

#commentThread .comment-action,
#commentThread .comment-collapse,
#commentThread .inline-reply-form button,
#commentThread .comment-form button {
  transition:
    color 150ms ease,
    border-color 150ms ease,
    background-color 150ms ease,
    opacity 150ms ease !important;
  transform: none !important;
  filter: none !important;
}

@keyframes reply-form-fast-fade {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes reply-thread-fast-fade {
  from { opacity: 0.18; }
  to { opacity: 1; }
}

@media (prefers-reduced-motion: reduce) {
  #commentThread .inline-reply-form,
  #commentThread .comment__children > .comment__replies--threaded {
    animation: none !important;
  }
}

/* Remove ghost tree rails from older nested-tree rules; keep only the active row rail + arm. */
#commentThread .comment__children::before,
#commentThread .comment__children::after,
#commentThread .comment__replies::before,
#commentThread .comment__replies::after,
#commentThread .comment__replies--threaded::before,
#commentThread .comment__replies--threaded::after,
#commentThread .comment::before,
#commentThread .comment::after {
  content: none !important;
  display: none !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

#commentThread .comment__children > .comment__replies--threaded > .comment__reply-branch-row::before {
  content: "" !important;
  display: block !important;
}

#commentThread .comment__children > .comment__replies--threaded > .comment__reply-branch-row > .comment__branch-elbow {
  display: block !important;
}

/* Nudge Svara/Gilla action row slightly lower on every comment/reply card. */
#commentThread .comment > .comment__actions {
  margin-top: 1.15rem !important;
}

/* One more small downward nudge for Svara/Gilla. */
#commentThread .comment > .comment__actions {
  margin-top: 1.38rem !important;
}

/* Stronger downward placement for Svara/Gilla action row. */
#commentThread .comment > .comment__body + .comment__actions,
#commentThread .comment > .comment__actions {
  margin-top: 1.85rem !important;
  padding-top: 0 !important;
}

/* Correct action spacing: no extra space above Svara/Gilla, less empty space below them. */
#commentThread .comment > .comment__body + .comment__actions,
#commentThread .comment > .comment__actions {
  margin-top: 0.72rem !important;
  margin-bottom: 0 !important;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}

#commentThread .comment,
#commentThread .comment.comment--has-replies.comment--collapsed {
  padding-bottom: 0.58rem !important;
}

/* Publish buttons: soft glow hover like the other controls, no blinking/flicker. */
.comment-form button[type="submit"],
.inline-reply-form button[type="submit"] {
  animation: none !important;
  opacity: 1 !important;
  transition:
    color 180ms ease,
    border-color 180ms ease,
    background-color 180ms ease,
    box-shadow 180ms ease !important;
}

.comment-form button[type="submit"]:hover,
.comment-form button[type="submit"]:focus-visible,
.inline-reply-form button[type="submit"]:hover,
.inline-reply-form button[type="submit"]:focus-visible {
  opacity: 1 !important;
  transform: none !important;
  filter: none !important;
  background: rgba(255, 248, 246, 0.92) !important;
  border-color: rgba(207, 136, 133, 0.36) !important;
  box-shadow: 0 0 0 4px rgba(207, 136, 133, 0.13) !important;
}

/* Stabilize Psst pop: match pop end-state with float start to remove the tiny jump. */
.etik-psst-cue.is-visible {
  animation: etikPsstFloatStable 4.8s cubic-bezier(0.45, 0, 0.55, 1) 0.95s infinite !important;
}

.etik-psst-cue.is-visible .etik-psst-cue__image {
  animation: etikPsstPopStable 0.78s cubic-bezier(0.2, 0.82, 0.24, 1) both !important;
}

@keyframes etikPsstPopStable {
  0% {
    opacity: 0;
    transform: translate3d(0, 1.65rem, 0) scale(0.62) rotate(-1.2deg);
  }
  58% {
    opacity: 1;
    transform: translate3d(0, -0.06rem, 0) scale(1.018) rotate(0.18deg);
  }
  82% {
    opacity: 1;
    transform: translate3d(0, 0.08rem, 0) scale(0.997) rotate(0deg);
  }
  100% {
    opacity: 1;
    transform: translate3d(0, 0.16rem, 0) scale(1) rotate(0deg);
  }
}

@keyframes etikPsstFloatStable {
  0% {
    transform: translate3d(0, 0.16rem, 0);
  }
  50% {
    transform: translate3d(0, -0.58rem, 0);
  }
  100% {
    transform: translate3d(0, 0.16rem, 0);
  }
}

/* Unified transparent modal backdrop for Regler, Om oss and Etik i natten. */
.info-modal-overlay,
.etik-modal-overlay {
  background: rgba(255, 255, 255, 0.004) !important;
  -webkit-backdrop-filter: blur(0) saturate(1) brightness(1) !important;
  backdrop-filter: blur(0) saturate(1) brightness(1) !important;
  opacity: 0 !important;
  visibility: hidden !important;
  transition:
    opacity 280ms ease,
    visibility 280ms ease,
    -webkit-backdrop-filter 340ms ease,
    backdrop-filter 340ms ease !important;
}

.info-modal-overlay.is-open,
.etik-modal-overlay.is-open {
  background: rgba(255, 255, 255, 0.004) !important;
  -webkit-backdrop-filter: blur(5.5px) saturate(1.025) brightness(1.004) !important;
  backdrop-filter: blur(5.5px) saturate(1.025) brightness(1.004) !important;
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;
}

.info-modal-overlay.is-closing,
.etik-modal-overlay.is-closing {
  background: rgba(255, 255, 255, 0.004) !important;
  -webkit-backdrop-filter: blur(0) saturate(1) brightness(1) !important;
  backdrop-filter: blur(0) saturate(1) brightness(1) !important;
  opacity: 0 !important;
  visibility: visible !important;
  pointer-events: none !important;
}

.info-modal-overlay.is-open .info-modal,
.etik-modal-overlay.is-open .etik-modal {
  transition:
    opacity 260ms ease,
    transform 300ms cubic-bezier(0.18, 0.82, 0.22, 1) !important;
}

.info-modal-overlay.is-closing .info-modal,
.etik-modal-overlay.is-closing .etik-modal {
  opacity: 0 !important;
  transform: translate3d(0, 0.45rem, 0) scale(0.985) !important;
  transition:
    opacity 220ms ease,
    transform 260ms cubic-bezier(0.2, 0, 0.22, 1) !important;
}

/* Make only Regler/Om oss modal cards less transparent; keep Etik modal unchanged. */
.info-modal-overlay:not(.etik-modal-overlay) .info-modal {
  background: rgba(255, 252, 249, 0.91) !important;
  border-color: rgba(93, 82, 76, 0.16) !important;
  box-shadow: 0 2rem 6rem rgba(87, 69, 61, 0.2) !important;
}

/* Soft glow for the small scroll-down arrow under the date. */
.hero__scroll-cue {
  transition:
    color 180ms ease,
    border-color 180ms ease,
    background-color 180ms ease,
    box-shadow 180ms ease,
    text-shadow 180ms ease !important;
}

.hero__scroll-cue:hover,
.hero__scroll-cue:focus-visible {
  transform: translate3d(0, var(--scroll-cue-y, 0px), 0) !important;
  background: rgba(255, 248, 246, 0.76) !important;
  border-color: rgba(207, 136, 133, 0.34) !important;
  box-shadow: 0 0 0 5px rgba(207, 136, 133, 0.14), 0 0.75rem 1.7rem rgba(143, 92, 88, 0.12) !important;
  text-shadow: 0 0 0.65rem rgba(207, 136, 133, 0.42) !important;
}

/* Regler/Om oss modal cards: even more solid for readability. */
.info-modal-overlay:not(.etik-modal-overlay) .info-modal {
  background: rgba(255, 252, 249, 0.97) !important;
  border-color: rgba(93, 82, 76, 0.18) !important;
  box-shadow: 0 2rem 6rem rgba(87, 69, 61, 0.22) !important;
}

/* Expandable archived threads under Tidigare spår. */
.archive-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
  padding: 0.8rem;
  border: 1px solid rgba(92, 79, 72, 0.08);
  border-radius: 0.65rem;
  background: rgba(255, 255, 255, 0.46);
  color: #4f4844;
  cursor: pointer;
  text-align: left;
  transition: background-color 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease !important;
}

.archive-btn span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-family: var(--font-montserrat-light) !important;
  font-weight: 300;
}

.archive-btn small {
  flex: 0 0 auto;
  color: var(--muted);
  font-size: 0.88rem;
}

.archive-btn:hover,
.archive-btn:focus-visible,
.archive-btn--active {
  border-color: rgba(207, 136, 133, 0.26);
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 0 0 4px rgba(207, 136, 133, 0.08) !important;
  outline: none;
}

.archive-thread-panel {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
  margin: -0.22rem 0 0.75rem;
  padding: clamp(0.82rem, 2.5vw, 1.2rem);
  border: 1px solid rgba(207, 136, 133, 0.13);
  border-radius: 1.35rem;
  background: rgba(255, 252, 249, 0.46);
  overflow: hidden;
  animation: reply-thread-fast-fade 160ms ease-out both;
}

.archive-thread-panel__header {
  display: grid;
  gap: 0.24rem;
  margin-bottom: 0.8rem;
}

.archive-thread-panel__header h3 {
  margin: 0;
  color: #4f4844;
  font-family: var(--font-butler-light) !important;
  font-size: clamp(1.35rem, 3vw, 2rem);
  font-weight: 300;
}

.archive-thread-panel__header p {
  margin: 0;
  color: rgba(77, 71, 68, 0.62);
  font-size: 0.86rem;
}

.archive-thread-comments {
  --reply-tree-line-width: 1px;
  --reply-tree-line-color: rgba(196, 145, 142, 0.48);
  --reply-tree-joint-y: 1.62rem;
  --reply-tree-fade-length: 1.65rem;
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  overflow-x: clip !important;
}

.archive-thread-comments,
.archive-thread-comments * {
  box-sizing: border-box !important;
}

.archive-thread-comments .comment,
.archive-thread-comments .comment__children,
.archive-thread-comments .comment__replies,
.archive-thread-comments .comment__replies--threaded,
.archive-thread-comments .comment__reply-branch-row {
  min-width: 0 !important;
  max-width: 100% !important;
  opacity: 1 !important;
  filter: none !important;
  content-visibility: visible !important;
}

.archive-thread-comments > .comment {
  width: 100% !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
}

.archive-thread-comments .comment__children {
  --tree-indent: clamp(1.35rem, 5vw, 2.35rem) !important;
  --tree-rail-x: clamp(0.78rem, 3vw, 1.37rem) !important;
  position: relative !important;
  padding-left: var(--tree-indent) !important;
  margin-top: 0.48rem !important;
  margin-right: 0 !important;
  width: auto !important;
  max-width: 100% !important;
}

.archive-thread-comments .comment__children .comment__children {
  --tree-indent: clamp(1.05rem, 4vw, 1.45rem) !important;
}

.archive-thread-comments .comment__children::before,
.archive-thread-comments .comment__children::after,
.archive-thread-comments .comment__replies::before,
.archive-thread-comments .comment__replies::after,
.archive-thread-comments .comment::before,
.archive-thread-comments .comment::after {
  content: none !important;
  display: none !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

.archive-thread-comments .comment__children > .comment__replies--threaded {
  display: grid !important;
  gap: 0 !important;
  row-gap: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  animation: reply-thread-fast-fade 150ms ease-out both !important;
}

.archive-thread-comments .comment__children > .comment__replies--threaded > .comment__reply-branch-row {
  --branch-gap: calc(var(--tree-indent, 2.7rem) - var(--tree-rail-x, 0.62rem));
  position: relative !important;
  margin-top: 0 !important;
  padding-top: 0 !important;
  width: 100% !important;
  max-width: 100% !important;
}

.archive-thread-comments .comment__children > .comment__replies--threaded > .comment__reply-branch-row::before {
  content: "" !important;
  position: absolute !important;
  left: calc(-1 * var(--branch-gap)) !important;
  top: 0 !important;
  bottom: 0 !important;
  width: var(--reply-tree-line-width) !important;
  height: auto !important;
  display: block !important;
  border: 0 !important;
  border-left: var(--reply-tree-line-width) solid var(--reply-tree-line-color) !important;
  background: transparent !important;
  pointer-events: none !important;
}

.archive-thread-comments .comment__children > .comment__replies--threaded > .comment__reply-branch-row:first-child::before {
  border-left: 0 !important;
  background: linear-gradient(to bottom, transparent 0, rgba(196, 145, 142, 0.12) 0.5rem, rgba(196, 145, 142, 0.32) 1rem, var(--reply-tree-line-color) 1.45rem, var(--reply-tree-line-color) 100%) !important;
}

.archive-thread-comments .comment__children > .comment__replies--threaded > .comment__reply-branch-row:last-child::before {
  bottom: auto !important;
  height: var(--reply-tree-joint-y) !important;
}

.archive-thread-comments .comment__children > .comment__replies--threaded > .comment__reply-branch-row > .comment__branch-elbow {
  position: absolute !important;
  left: calc(-1 * var(--branch-gap)) !important;
  top: var(--reply-tree-joint-y) !important;
  display: block !important;
  width: var(--branch-gap) !important;
  height: var(--reply-tree-line-width) !important;
  min-height: var(--reply-tree-line-width) !important;
  max-height: var(--reply-tree-line-width) !important;
  border: 0 !important;
  background: linear-gradient(to right, var(--reply-tree-line-color) 0%, var(--reply-tree-line-color) calc(100% - var(--reply-tree-fade-length)), transparent 100%) !important;
  pointer-events: none !important;
}

.archive-thread-comments .comment__reply-branch-row > .comment > .comment__children {
  margin-right: 0 !important;
}

.archive-thread-comments .comment > .comment__body + .comment__actions,
.archive-thread-comments .comment > .comment__actions {
  margin-top: 0.72rem !important;
  margin-bottom: 0 !important;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}

.archive-thread-comments .comment,
.archive-thread-comments .comment.comment--has-replies.comment--collapsed {
  padding-bottom: 0.58rem !important;
}

.archive-thread-comments .comment.comment--has-replies.comment--collapsed > .comment__children,
.archive-thread-comments .comment.comment--has-replies.comment--collapsed > .comment__children > * {
  display: none !important;
  height: 0 !important;
  min-height: 0 !important;
  max-height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  overflow: hidden !important;
}

@media (max-width: 760px) {
  .archive-thread-panel {
    padding: 0.72rem;
  }

  .archive-thread-comments {
    overflow-x: hidden !important;
  }
}

/* Final publish button hover: consistent soft glow, no blink, no lift. */
.comment-form button[type="submit"],
.inline-reply-form button[type="button"].btn--primary,
.inline-reply-form button[type="submit"] {
  animation: none !important;
  transform: none !important;
  filter: none !important;
  opacity: 1 !important;
  transition:
    color 180ms ease,
    border-color 180ms ease,
    background-color 180ms ease,
    box-shadow 180ms ease !important;
}

.comment-form button[type="submit"]:hover,
.comment-form button[type="submit"]:focus-visible,
.inline-reply-form button[type="button"].btn--primary:hover,
.inline-reply-form button[type="button"].btn--primary:focus-visible,
.inline-reply-form button[type="submit"]:hover,
.inline-reply-form button[type="submit"]:focus-visible {
  animation: none !important;
  transform: none !important;
  filter: none !important;
  opacity: 1 !important;
  background: rgba(255, 248, 246, 0.92) !important;
  border-color: rgba(207, 136, 133, 0.36) !important;
  box-shadow: 0 0 0 4px rgba(207, 136, 133, 0.13) !important;
}

/* Final primary publish buttons: keep the filled rose style on hover, add only soft glow. */
#commentForm button[type="submit"].btn--primary,
.comment-form button[type="submit"].btn--primary,
.inline-reply-form button[type="button"].btn--primary,
.inline-reply-form button[type="submit"].btn--primary {
  color: #fffaf8 !important;
  background: linear-gradient(135deg, #d89a96, #c77b78) !important;
  border-color: transparent !important;
  box-shadow:
    0 12px 24px rgba(199, 123, 120, 0.16),
    0 0 0 rgba(207, 136, 133, 0) !important;
  animation: none !important;
  transform: none !important;
  filter: none !important;
  opacity: 1 !important;
  transition:
    box-shadow 220ms ease,
    color 180ms ease,
    opacity 180ms ease !important;
}

#commentForm button[type="submit"].btn--primary:hover,
#commentForm button[type="submit"].btn--primary:focus-visible,
.comment-form button[type="submit"].btn--primary:hover,
.comment-form button[type="submit"].btn--primary:focus-visible,
.inline-reply-form button[type="button"].btn--primary:hover,
.inline-reply-form button[type="button"].btn--primary:focus-visible,
.inline-reply-form button[type="submit"].btn--primary:hover,
.inline-reply-form button[type="submit"].btn--primary:focus-visible {
  color: #fffaf8 !important;
  background: linear-gradient(135deg, #d89a96, #c77b78) !important;
  border-color: transparent !important;
  box-shadow:
    0 12px 24px rgba(199, 123, 120, 0.16),
    0 0 16px rgba(207, 136, 133, 0.22),
    0 0 30px rgba(207, 136, 133, 0.1) !important;
  animation: none !important;
  transform: none !important;
  filter: none !important;
  outline: none !important;
  opacity: 1 !important;
}

.form-error .blocked-comment-title {
  display: block;
  font-weight: 700;
}

.form-error .blocked-comment-detail,
.form-success .blocked-comment-detail {
  display: block;
  margin-top: 0.25rem;
  font-weight: 400;
}

.form-success .blocked-comment-title {
  display: block;
  font-weight: 700;
}

/* Final archived thread hover: same soft fade/glow family as publish buttons. */
.archive-btn {
  transform: none !important;
  filter: none !important;
  transition:
    background-color 220ms ease,
    border-color 220ms ease,
    box-shadow 220ms ease,
    color 180ms ease !important;
}

.archive-btn:hover,
.archive-btn:focus-visible {
  border-color: rgba(207, 136, 133, 0.18) !important;
  background: rgba(255, 255, 255, 0.56) !important;
  box-shadow:
    0 10px 22px rgba(199, 123, 120, 0.07),
    0 0 16px rgba(207, 136, 133, 0.16),
    0 0 30px rgba(207, 136, 133, 0.07) !important;
  outline: none !important;
  transform: none !important;
  filter: none !important;
}

.archive-btn--active {
  border-color: rgba(207, 136, 133, 0.22) !important;
  background: rgba(255, 255, 255, 0.64) !important;
  box-shadow:
    0 10px 22px rgba(199, 123, 120, 0.06),
    0 0 14px rgba(207, 136, 133, 0.12) !important;
  transform: none !important;
  filter: none !important;
}

/* Final archived-thread tree: match the main comment tree exactly. */
.archive-thread-comments {
  --reply-tree-line-width: 1px;
  --reply-tree-line-color: rgba(196, 145, 142, 0.48);
  --reply-tree-joint-y: 1.62rem;
  --reply-tree-fade-length: 1.65rem;
  overflow-x: hidden !important;
}

.archive-thread-comments .comment,
.archive-thread-comments .comment__children,
.archive-thread-comments .comment__replies,
.archive-thread-comments .comment__replies--threaded,
.archive-thread-comments .comment__reply-branch-row {
  box-sizing: border-box !important;
}

.archive-thread-comments .comment__children::before,
.archive-thread-comments .comment__children::after,
.archive-thread-comments .comment__replies::before,
.archive-thread-comments .comment__replies::after,
.archive-thread-comments .comment::before,
.archive-thread-comments .comment::after {
  content: none !important;
  display: none !important;
}

.archive-thread-comments .comment__reply-branch-row {
  --tree-rail-x: 1.37rem;
  position: relative !important;
  display: block !important;
  margin: 0 !important;
  padding-left: calc(var(--branch-gap) + 0.9rem) !important;
}

.archive-thread-comments .comment__children > .comment__replies--threaded {
  position: relative !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 0 !important;
  margin: 0.45rem 0 0 0 !important;
  padding: 0 !important;
}

.archive-thread-comments .comment__children > .comment__replies--threaded > .comment__reply-branch-row::before {
  content: "" !important;
  position: absolute !important;
  left: var(--tree-rail-x) !important;
  top: 0 !important;
  bottom: 0 !important;
  display: block !important;
  width: var(--reply-tree-line-width) !important;
  border: 0 !important;
  background: var(--reply-tree-line-color) !important;
  pointer-events: none !important;
}

.archive-thread-comments .comment__children > .comment__replies--threaded > .comment__reply-branch-row:first-child::before {
  background: linear-gradient(
    to bottom,
    transparent 0,
    rgba(196, 145, 142, 0.12) 0.5rem,
    rgba(196, 145, 142, 0.32) 1rem,
    var(--reply-tree-line-color) 1.45rem,
    var(--reply-tree-line-color) 100%
  ) !important;
}

.archive-thread-comments .comment__children > .comment__replies--threaded > .comment__reply-branch-row:last-child::before {
  bottom: auto !important;
  height: var(--reply-tree-joint-y) !important;
}

.archive-thread-comments .comment__children > .comment__replies--threaded > .comment__reply-branch-row > .comment__branch-elbow {
  position: absolute !important;
  left: var(--tree-rail-x) !important;
  top: var(--reply-tree-joint-y) !important;
  display: block !important;
  width: var(--branch-gap) !important;
  height: var(--reply-tree-line-width) !important;
  min-height: var(--reply-tree-line-width) !important;
  max-height: var(--reply-tree-line-width) !important;
  border: 0 !important;
  background: linear-gradient(
    to right,
    var(--reply-tree-line-color) 0%,
    var(--reply-tree-line-color) calc(100% - var(--reply-tree-fade-length)),
    transparent 100%
  ) !important;
  pointer-events: none !important;
}

.archive-thread-comments .comment > .comment__actions > .comment-action:first-child {
  position: relative !important;
  left: -0.32rem !important;
}

.archive-thread-comments .comment__reply-branch-row > .comment {
  width: 100% !important;
  max-width: 100% !important;
  margin-right: 0 !important;
}

.archive-thread-comments .comment__reply-branch-row > .comment > .comment__children {
  margin-right: -1rem !important;
}

@media (max-width: 760px) {
  .archive-thread-comments .comment__reply-branch-row {
    padding-left: min(calc(var(--branch-gap) + 0.9rem), 3rem) !important;
  }

  .archive-thread-comments .comment__reply-branch-row > .comment > .comment__children {
    margin-right: 0 !important;
  }
}

.blocked-comment-about-link {
  appearance: none;
  border: 0;
  padding: 0;
  margin: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
}

.blocked-comment-about-link:hover,
.blocked-comment-about-link:focus-visible {
  text-decoration: underline;
  text-underline-offset: 0.14em;
}

.site-footer {
  display: block;
  position: relative;
  z-index: 3;
  clear: both;
  max-width: min(92vw, 980px);
  margin: clamp(2.5rem, 5vw, 4rem) auto 2.25rem;
  padding: 0 1.5rem;
  text-align: center;
  color: rgba(77, 71, 68, 0.72);
  font-size: clamp(0.72rem, 0.9vw, 0.84rem);
  line-height: 1.7;
}

.site-footer p {
  margin: 0;
}

.site-footer__links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.15rem 0.55rem;
}

.site-footer button,
.privacy-about-link {
  appearance: none;
  border: 0;
  padding: 0;
  margin: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  cursor: pointer;
  text-decoration: none;
}

.site-footer button:hover,
.site-footer button:focus-visible,
.privacy-about-link:hover,
.privacy-about-link:focus-visible {
  color: var(--rose-dark);
  text-decoration: underline;
  text-underline-offset: 0.14em;
}

.info-modal--rules .rules-copy ol {
  margin-bottom: 0;
}

#threadSection > .section__header {
  padding-left: 0;
}

/* Hard reset for archived reply tree: one vertical rail + one horizontal arm, no duplicate lines. */
.archive-thread-comments {
  --archive-tree-line: rgba(196, 145, 142, 0.48);
  --archive-tree-width: 1px;
  --archive-tree-rail-x: 1.4rem;
  --archive-tree-indent: 3.25rem;
  --archive-tree-joint-y: 1.62rem;
  --archive-tree-fade: 1.65rem;
}

.archive-thread-comments .comment::before,
.archive-thread-comments .comment::after,
.archive-thread-comments .comment__children::before,
.archive-thread-comments .comment__children::after,
.archive-thread-comments .comment__replies::before,
.archive-thread-comments .comment__replies::after,
.archive-thread-comments .comment__replies--threaded::before,
.archive-thread-comments .comment__replies--threaded::after {
  content: none !important;
  display: none !important;
  border: 0 !important;
  background: none !important;
  box-shadow: none !important;
}

.archive-thread-comments .comment__children > .comment__replies--threaded {
  position: relative !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 0 !important;
  margin: 0.45rem 0 0 0 !important;
  padding: 0 !important;
  overflow: visible !important;
}

.archive-thread-comments .comment__children > .comment__replies--threaded > .comment__reply-branch-row {
  position: relative !important;
  display: block !important;
  margin: 0 !important;
  padding: 0 0 0 var(--archive-tree-indent) !important;
  overflow: visible !important;
}

.archive-thread-comments .comment__children > .comment__replies--threaded > .comment__reply-branch-row::before {
  content: "" !important;
  position: absolute !important;
  left: var(--archive-tree-rail-x) !important;
  top: 0 !important;
  bottom: 0 !important;
  display: block !important;
  width: var(--archive-tree-width) !important;
  height: auto !important;
  border: 0 !important;
  background: var(--archive-tree-line) !important;
  box-shadow: none !important;
  opacity: 1 !important;
  pointer-events: none !important;
  z-index: 0 !important;
}

.archive-thread-comments .comment__children > .comment__replies--threaded > .comment__reply-branch-row:first-child::before {
  background: linear-gradient(
    to bottom,
    transparent 0,
    rgba(196, 145, 142, 0.12) 0.5rem,
    rgba(196, 145, 142, 0.32) 1rem,
    var(--archive-tree-line) 1.45rem,
    var(--archive-tree-line) 100%
  ) !important;
}

.archive-thread-comments .comment__children > .comment__replies--threaded > .comment__reply-branch-row:last-child::before {
  bottom: auto !important;
  height: var(--archive-tree-joint-y) !important;
}

.archive-thread-comments .comment__children > .comment__replies--threaded > .comment__reply-branch-row > .comment__branch-elbow {
  position: absolute !important;
  left: var(--archive-tree-rail-x) !important;
  top: var(--archive-tree-joint-y) !important;
  display: block !important;
  width: calc(var(--archive-tree-indent) - var(--archive-tree-rail-x)) !important;
  height: var(--archive-tree-width) !important;
  min-height: var(--archive-tree-width) !important;
  max-height: var(--archive-tree-width) !important;
  border: 0 !important;
  background: linear-gradient(
    to right,
    var(--archive-tree-line) 0%,
    var(--archive-tree-line) calc(100% - var(--archive-tree-fade)),
    transparent 100%
  ) !important;
  box-shadow: none !important;
  opacity: 1 !important;
  pointer-events: none !important;
  z-index: 1 !important;
}

.archive-thread-comments .comment__children > .comment__replies--threaded > .comment__reply-branch-row > .comment {
  position: relative !important;
  z-index: 2 !important;
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 !important;
}

.archive-thread-comments .comment__children > .comment__replies--threaded > .comment__reply-branch-row > .comment > .comment__children {
  width: calc(100% + var(--archive-tree-indent)) !important;
  max-width: none !important;
  margin-right: calc(-1 * var(--archive-tree-indent)) !important;
  overflow: visible !important;
}

.archive-thread-comments .comment__children > .comment__replies--threaded > .comment__reply-branch-row > .comment > .comment__children > .comment__replies--threaded {
  width: 100% !important;
  max-width: none !important;
}

@media (max-width: 760px) {
  .archive-thread-comments {
    --archive-tree-rail-x: 1.05rem;
    --archive-tree-indent: 2.65rem;
    --archive-tree-fade: 1.05rem;
  }
}

/* Final archive tree branch arms: use the same coordinates as the main thread tree. */
.archive-thread-comments .comment__reply-branch-row {
  --tree-rail-x: 1.37rem !important;
  --branch-gap: calc(var(--tree-indent, 2.7rem) - var(--tree-rail-x, 0.62rem)) !important;
}

.archive-thread-comments .comment__children > .comment__replies--threaded > .comment__reply-branch-row::before {
  left: calc(-1 * var(--branch-gap)) !important;
  z-index: 0 !important;
}

.archive-thread-comments .comment__children > .comment__replies--threaded > .comment__reply-branch-row > .comment__branch-elbow {
  left: calc(-1 * var(--branch-gap)) !important;
  width: var(--branch-gap) !important;
  z-index: 1 !important;
  opacity: 1 !important;
}

.archive-thread-comments .comment__reply-branch-row > .comment {
  position: relative !important;
  z-index: 2 !important;
}

/* Canonical archive tree, placed last to beat all older archive overrides. */
.archive-thread-comments {
  --archive-tree-line: rgba(196, 145, 142, 0.48) !important;
  --archive-tree-width: 1px !important;
  --archive-tree-rail-x: 1.05rem !important;
  --archive-tree-indent: 2.65rem !important;
  --archive-tree-joint-y: 1.62rem !important;
  --archive-tree-fade: 1.05rem !important;
}

.archive-thread-comments .comment::before,
.archive-thread-comments .comment::after,
.archive-thread-comments .comment__children::before,
.archive-thread-comments .comment__children::after,
.archive-thread-comments .comment__replies::before,
.archive-thread-comments .comment__replies::after,
.archive-thread-comments .comment__replies--threaded::before,
.archive-thread-comments .comment__replies--threaded::after,
.archive-thread-comments .comment__reply-branch-row::after {
  content: none !important;
  display: none !important;
  background: none !important;
  border: 0 !important;
  box-shadow: none !important;
}

.archive-thread-comments .comment__children > .comment__replies--threaded {
  position: relative !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 0 !important;
  margin: 0.45rem 0 0 0 !important;
  padding: 0 !important;
  overflow: visible !important;
}

.archive-thread-comments .comment__children > .comment__replies--threaded > .comment__reply-branch-row {
  position: relative !important;
  display: block !important;
  margin: 0 !important;
  padding: 0 0 0 var(--archive-tree-indent) !important;
  overflow: visible !important;
}

.archive-thread-comments .comment__children > .comment__replies--threaded > .comment__reply-branch-row::before {
  content: "" !important;
  position: absolute !important;
  left: var(--archive-tree-rail-x) !important;
  top: 0 !important;
  bottom: 0 !important;
  display: block !important;
  width: var(--archive-tree-width) !important;
  height: auto !important;
  border: 0 !important;
  background: var(--archive-tree-line) !important;
  box-shadow: none !important;
  opacity: 1 !important;
  pointer-events: none !important;
  z-index: 0 !important;
}

.archive-thread-comments .comment__children > .comment__replies--threaded > .comment__reply-branch-row:first-child::before {
  background: linear-gradient(
    to bottom,
    transparent 0,
    rgba(196, 145, 142, 0.12) 0.5rem,
    rgba(196, 145, 142, 0.32) 1rem,
    var(--archive-tree-line) 1.45rem,
    var(--archive-tree-line) 100%
  ) !important;
}

.archive-thread-comments .comment__children > .comment__replies--threaded > .comment__reply-branch-row:last-child::before {
  bottom: auto !important;
  height: var(--archive-tree-joint-y) !important;
}

.archive-thread-comments .comment__children > .comment__replies--threaded > .comment__reply-branch-row > .comment__branch-elbow {
  position: absolute !important;
  left: var(--archive-tree-rail-x) !important;
  top: var(--archive-tree-joint-y) !important;
  display: block !important;
  width: calc(var(--archive-tree-indent) - var(--archive-tree-rail-x)) !important;
  height: var(--archive-tree-width) !important;
  min-height: var(--archive-tree-width) !important;
  max-height: var(--archive-tree-width) !important;
  border: 0 !important;
  background: linear-gradient(
    to right,
    var(--archive-tree-line) 0%,
    var(--archive-tree-line) calc(100% - var(--archive-tree-fade)),
    transparent 100%
  ) !important;
  box-shadow: none !important;
  opacity: 1 !important;
  pointer-events: none !important;
  z-index: 1 !important;
}

.archive-thread-comments .comment__children > .comment__replies--threaded > .comment__reply-branch-row > .comment {
  position: relative !important;
  z-index: 2 !important;
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 !important;
}

/* GENERATED archive tree mirrors main comment tree: start */
.archive-thread-comments {
  overflow-x: hidden !important;
}
/* Final flat reply list: no staircase, no repeated nested controls. */
.archive-thread-comments > .comment > .comment__replies.comment__replies--flat {
  margin-left: 0 !important;
  margin-right: 0 !important;
  padding-left: 0 !important;
  border-left: 0 !important;
  gap: 0 !important;
}

.archive-thread-comments > .comment > .comment__replies.comment__replies--flat::before,
.archive-thread-comments > .comment > .comment__replies.comment__replies--flat .comment::before,
.archive-thread-comments > .comment > .comment__replies.comment__replies--flat .comment__replies,
.archive-thread-comments > .comment > .comment__replies.comment__replies--flat .comment__replies::before,
.archive-thread-comments > .comment > .comment__replies.comment__replies--flat .comment__replies::after {
  display: none !important;
}

.archive-thread-comments > .comment > .comment__replies.comment__replies--flat > .comment {
  width: 100% !important;
  max-width: 100% !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  transform: none !important;
}

.archive-thread-comments > .comment > .comment__replies.comment__replies--flat > .comment + .comment {
  margin-top: 0.86rem !important;
  padding-top: 0.9rem !important;
  border-top: 1px solid rgba(207, 136, 133, 0.36) !important;
}

.archive-thread-comments > .comment > .comment__replies.comment__replies--flat > .comment + .comment::after {
  display: none !important;
}

/* Reply list refinement: first reply has a subtle left indent, replies stay compact. */
.archive-thread-comments > .comment > .comment__replies.comment__replies--flat > .comment:first-child {
  margin-left: 0.72rem !important;
  width: calc(100% - 0.72rem) !important;
}

.archive-thread-comments > .comment > .comment__replies.comment__replies--flat > .comment + .comment {
  margin-top: 0 !important;
  padding-top: 0.58rem !important;
  border-top: 1px solid rgba(207, 136, 133, 0.34) !important;
}

/* Slightly clearer first-reply indent so the answered relationship is visible. */
.archive-thread-comments > .comment > .comment__replies.comment__replies--flat > .comment:first-child {
  margin-left: 1.15rem !important;
  width: calc(100% - 1.15rem) !important;
}

/* Stronger first-reply indent. */
.archive-thread-comments > .comment > .comment__replies.comment__replies--flat > .comment:first-child {
  margin-left: 1.75rem !important;
  width: calc(100% - 1.75rem) !important;
}

/* Correct reply alignment: replies should align with the comment they answer, not indent further. */
.archive-thread-comments > .comment > .comment__replies.comment__replies--flat > .comment,
.archive-thread-comments > .comment > .comment__replies.comment__replies--flat > .comment:first-child {
  margin-left: 0 !important;
  width: 100% !important;
  max-width: 100% !important;
}

/* CSS fallback reply markers: same thin tone as the vertical reply lines. */
.archive-thread-comments .comment__replies--threaded > .comment {
  background-image: inherit !important;
  background-repeat: inherit !important;
  background-size: inherit !important;
  background-position: inherit !important;
}

.archive-thread-comments .comment__replies--threaded > .comment > .comment__header,
.archive-thread-comments .comment__replies--threaded > .comment > .comment__body,
.archive-thread-comments .comment__replies--threaded > .comment > .comment__actions,
.archive-thread-comments .comment__replies--threaded > .comment > .inline-reply-form,
.archive-thread-comments .comment__replies--threaded > .comment > .comment__replies {
  position: relative !important;
  z-index: 2 !important;
}

.archive-thread-comments .comment__replies--threaded > .comment > .comment__reply-tick {
  position: absolute !important;
  left: calc(-1 * var(--reply-line-indent, 1.2rem) - 1px) !important;
  top: 50% !important;
  display: block !important;
  width: var(--reply-line-indent, 1.2rem) !important;
  height: 1px !important;
  border-radius: 999px !important;
  background: rgba(207, 136, 133, 0.42) !important;
  opacity: 1 !important;
  visibility: visible !important;
  transform: translateY(-50%) !important;
  z-index: 30 !important;
}

/* Final polish: visible thin reply connectors, smaller dates, and breathing room below actions. */
.archive-thread-comments .comment__replies--threaded {
  border-left-color: rgba(207, 136, 133, 0.5) !important;
}

.archive-thread-comments .comment__replies--threaded > .comment > .comment__reply-tick {
  left: calc(-1 * var(--reply-line-indent, 1.2rem) - 1px) !important;
  top: 50% !important;
  display: block !important;
  width: var(--reply-line-indent, 1.2rem) !important;
  height: 1px !important;
  background: rgba(207, 136, 133, 0.58) !important;
  box-shadow: none !important;
  opacity: 1 !important;
  visibility: visible !important;
  z-index: 40 !important;
}

.archive-thread-comments .comment .comment__time,
.archive-thread-comments .comment--level-0 .comment__time,
.archive-thread-comments .comment--level-1 .comment__time,
.archive-thread-comments .comment--level-2 .comment__time,
.archive-thread-comments .comment--level-3 .comment__time,
.archive-thread-comments .comment--level-4 .comment__time {
  font-size: 0.74rem !important;
  line-height: 1.16 !important;
}

.archive-thread-comments .comment {
  padding-bottom: 1.22rem !important;
}

.archive-thread-comments .comment__actions {
  margin-bottom: 0.42rem !important;
  padding-bottom: 0.28rem !important;
}

/* Thread clarity reset: no horizontal ticks. Replies are followed by the vertical thread line. */
.archive-thread-comments .comment__reply-tick,
.archive-thread-comments .comment__replies--threaded > .comment::before,
.archive-thread-comments .comment__replies--threaded > .comment::after {
  content: none !important;
  display: none !important;
}

.archive-thread-comments .comment__replies--threaded {
  --reply-line-indent: clamp(1.35rem, 2.2vw, 1.85rem);
  position: relative !important;
  display: grid !important;
  gap: 0.72rem !important;
  margin-top: 0.8rem !important;
  margin-left: 0 !important;
  padding-left: var(--reply-line-indent) !important;
  border-left: 0 !important;
  overflow: visible !important;
}

.archive-thread-comments .comment__replies--threaded::before {
  content: "" !important;
  position: absolute !important;
  display: block !important;
  left: 0 !important;
  top: 0.25rem !important;
  bottom: 0.35rem !important;
  width: 1px !important;
  border-radius: 999px !important;
  background: rgba(207, 136, 133, 0.62) !important;
  pointer-events: none !important;
}

.archive-thread-comments .comment__replies--threaded .comment__replies--threaded {
  --reply-line-indent: clamp(1.15rem, 1.8vw, 1.55rem);
  margin-top: 0.68rem !important;
}

.archive-thread-comments .comment__replies--threaded > .comment {
  position: relative !important;
  width: 100% !important;
  max-width: 100% !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  transform: none !important;
}

.archive-thread-comments .comment > .comment__replies--threaded {
  width: calc(100% + var(--comment-card-pad, 1rem)) !important;
  max-width: calc(100% + var(--comment-card-pad, 1rem)) !important;
  margin-right: calc(-1 * var(--comment-card-pad, 1rem)) !important;
}

.archive-thread-comments .comment__replies--threaded {
    --reply-line-indent: 1rem;
    gap: 0.64rem !important;
  }

.archive-thread-comments .comment__replies--threaded .comment__replies--threaded {
    --reply-line-indent: 0.86rem;
  }

/* Kill old horizontal connector attempts with higher specificity. */
.archive-thread-comments .comment__replies--threaded > .comment > .comment__reply-tick,
.archive-thread-comments .comment__replies--threaded .comment__replies--threaded > .comment > .comment__reply-tick {
  content: none !important;
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
  width: 0 !important;
  height: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

/* Reddit-like reply tree: clear vertical rails and compact +/- collapse controls. */
.archive-thread-comments .comment {
  padding-bottom: 0.96rem !important;
}

.archive-thread-comments .comment__actions {
  margin-bottom: 0.12rem !important;
  padding-bottom: 0.08rem !important;
}

.archive-thread-comments .comment--has-replies {
  padding-left: 2.35rem !important;
}

.archive-thread-comments .comment-collapse,
.archive-thread-comments .comment__meta .comment-collapse,
.archive-thread-comments .comment__meta button.comment-collapse {
  position: absolute !important;
  left: 0.72rem !important;
  top: 0.82rem !important;
  z-index: 5 !important;
  display: inline-grid !important;
  place-items: center !important;
  width: 1.18rem !important;
  height: 1.18rem !important;
  min-width: 1.18rem !important;
  min-height: 1.18rem !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 1px solid rgba(207, 136, 133, 0.34) !important;
  border-radius: 999px !important;
  background: rgba(255, 250, 248, 0.86) !important;
  color: rgba(151, 86, 83, 0.88) !important;
  box-shadow: 0 0 0 2px rgba(255, 250, 248, 0.68) !important;
  font-family: inherit !important;
  font-size: 0.9rem !important;
  font-weight: 500 !important;
  line-height: 1 !important;
  text-align: center !important;
  transform: none !important;
}

.archive-thread-comments .comment-collapse:hover,
.archive-thread-comments .comment-collapse:focus-visible {
  background: rgba(250, 236, 234, 0.95) !important;
  border-color: rgba(207, 136, 133, 0.52) !important;
  color: rgba(128, 69, 66, 0.94) !important;
  box-shadow: 0 0 0 2px rgba(255, 250, 248, 0.78), 0 0 10px rgba(207, 136, 133, 0.16) !important;
  transform: none !important;
}

.archive-thread-comments .comment__replies--threaded {
  --reply-line-indent: clamp(1.18rem, 1.75vw, 1.55rem);
  gap: 0.48rem !important;
  margin-top: 0.52rem !important;
  padding-left: var(--reply-line-indent) !important;
}

.archive-thread-comments .comment__replies--threaded .comment__replies--threaded {
  --reply-line-indent: clamp(1.05rem, 1.45vw, 1.32rem);
  margin-top: 0.46rem !important;
}

.archive-thread-comments .comment__replies--threaded::before {
  left: 0.12rem !important;
  top: -0.08rem !important;
  bottom: 0.24rem !important;
  width: 2px !important;
  border-radius: 999px !important;
  background: linear-gradient(
    180deg,
    rgba(207, 136, 133, 0.2),
    rgba(207, 136, 133, 0.72) 1.2rem,
    rgba(207, 136, 133, 0.58) calc(100% - 1.2rem),
    rgba(207, 136, 133, 0.16)
  ) !important;
}

.archive-thread-comments .comment__replies--threaded > .comment {
  border-left: 0 !important;
}

.archive-thread-comments .comment__replies--threaded > .comment + .comment {
  margin-top: 0.22rem !important;
  padding-top: 0.72rem !important;
  border-top: 1px solid rgba(207, 136, 133, 0.18) !important;
}

.archive-thread-comments .comment--collapsed > .comment__replies--threaded {
  display: none !important;
}

.archive-thread-comments .comment--has-replies {
    padding-left: 2rem !important;
  }

.archive-thread-comments .comment-collapse,
  .archive-thread-comments .comment__meta .comment-collapse,
  .archive-thread-comments .comment__meta button.comment-collapse {
    left: 0.58rem !important;
    top: 0.78rem !important;
  }

.archive-thread-comments .comment__replies--threaded {
    --reply-line-indent: 0.98rem;
    gap: 0.42rem !important;
  }

.archive-thread-comments .comment__replies--threaded .comment__replies--threaded {
    --reply-line-indent: 0.82rem;
  }

/* Reddit-style branch tree: collapse control and branch rail live with the children, not in the header. */
.archive-thread-comments .comment--has-replies {
  padding-left: 1rem !important;
}

.archive-thread-comments .comment__children {
  --tree-rail-x: 0.72rem;
  --tree-indent: clamp(1.95rem, 3vw, 2.55rem);
  position: relative !important;
  margin-top: 0.48rem !important;
  padding-left: var(--tree-indent) !important;
  min-height: 1.35rem !important;
}

.archive-thread-comments .comment__children::before {
  content: "" !important;
  position: absolute !important;
  display: block !important;
  left: var(--tree-rail-x) !important;
  top: 0.66rem !important;
  bottom: 0.64rem !important;
  width: 1px !important;
  border-radius: 999px !important;
  background: rgba(207, 136, 133, 0.5) !important;
  pointer-events: none !important;
}

.archive-thread-comments .comment__children > .comment-collapse--tree {
  position: absolute !important;
  left: calc(var(--tree-rail-x) - 0.57rem) !important;
  top: 0.1rem !important;
  z-index: 8 !important;
  display: inline-grid !important;
  place-items: center !important;
  width: 1.14rem !important;
  height: 1.14rem !important;
  min-width: 1.14rem !important;
  min-height: 1.14rem !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 1px solid rgba(207, 136, 133, 0.5) !important;
  border-radius: 999px !important;
  background: rgba(255, 252, 250, 0.96) !important;
  color: rgba(111, 78, 73, 0.92) !important;
  box-shadow: 0 0 0 3px rgba(255, 252, 250, 0.86) !important;
  font-family: inherit !important;
  font-size: 0.92rem !important;
  font-weight: 500 !important;
  line-height: 1 !important;
  text-align: center !important;
  transform: none !important;
}

.archive-thread-comments .comment__children > .comment-collapse--tree:hover,
.archive-thread-comments .comment__children > .comment-collapse--tree:focus-visible {
  background: rgba(250, 238, 236, 0.98) !important;
  border-color: rgba(207, 136, 133, 0.72) !important;
  color: rgba(128, 69, 66, 0.98) !important;
  box-shadow: 0 0 0 3px rgba(255, 252, 250, 0.9), 0 0 12px rgba(207, 136, 133, 0.16) !important;
  transform: none !important;
}

.archive-thread-comments .comment__children > .comment__replies--threaded {
  position: relative !important;
  display: grid !important;
  gap: 0.54rem !important;
  margin: 0.28rem 0 0 !important;
  padding-left: 0 !important;
  border-left: 0 !important;
  overflow: visible !important;
}

.archive-thread-comments .comment__children > .comment__replies--threaded::before {
  content: none !important;
  display: none !important;
}

.archive-thread-comments .comment__children > .comment__replies--threaded > .comment {
  position: relative !important;
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 !important;
  transform: none !important;
}

.archive-thread-comments .comment__children > .comment__replies--threaded > .comment::before {
  content: "" !important;
  position: absolute !important;
  display: block !important;
  left: calc(-1 * (var(--tree-indent) - var(--tree-rail-x))) !important;
  top: 1.18rem !important;
  width: calc(var(--tree-indent) - var(--tree-rail-x)) !important;
  height: 1px !important;
  border-radius: 999px !important;
  background: rgba(207, 136, 133, 0.5) !important;
  pointer-events: none !important;
  z-index: 1 !important;
}

.archive-thread-comments .comment__children > .comment__replies--threaded > .comment::after {
  content: "" !important;
  position: absolute !important;
  display: block !important;
  left: calc(-1 * (var(--tree-indent) - var(--tree-rail-x))) !important;
  top: 1.18rem !important;
  width: 0.55rem !important;
  height: 0.55rem !important;
  border-left: 1px solid rgba(207, 136, 133, 0.5) !important;
  border-bottom: 1px solid rgba(207, 136, 133, 0.5) !important;
  border-bottom-left-radius: 0.55rem !important;
  background: transparent !important;
  pointer-events: none !important;
  transform: translateY(-0.54rem) !important;
  z-index: 1 !important;
}

.archive-thread-comments .comment__children > .comment__replies--threaded > .comment + .comment {
  margin-top: 0.08rem !important;
  padding-top: 0.5rem !important;
  border-top: 1px solid rgba(207, 136, 133, 0.12) !important;
}

.archive-thread-comments .comment--collapsed > .comment__children {
  padding-bottom: 0.08rem !important;
}

.archive-thread-comments .comment--collapsed > .comment__children::before {
  bottom: 0.7rem !important;
}

.archive-thread-comments .comment__children {
    --tree-rail-x: 0.55rem;
    --tree-indent: 1.55rem;
  }

.archive-thread-comments .comment__children > .comment-collapse--tree {
    left: calc(var(--tree-rail-x) - 0.52rem) !important;
    width: 1.04rem !important;
    height: 1.04rem !important;
    min-width: 1.04rem !important;
    min-height: 1.04rem !important;
  }

/* Stronger Reddit branch pass: make the branch corridor wide and visibly curved. */
.archive-thread-comments .comment__children {
  --tree-rail-x: 0.82rem;
  --tree-indent: clamp(2.55rem, 4vw, 3.45rem);
  padding-left: var(--tree-indent) !important;
}

.archive-thread-comments .comment__children::before {
  left: var(--tree-rail-x) !important;
  top: 0.62rem !important;
  bottom: 0.74rem !important;
  width: 2px !important;
  background: rgba(207, 136, 133, 0.58) !important;
}

.archive-thread-comments .comment__children > .comment-collapse--tree {
  left: calc(var(--tree-rail-x) - 0.57rem) !important;
  top: 0.14rem !important;
}

.archive-thread-comments .comment__children > .comment__replies--threaded {
  margin-top: 0.36rem !important;
}

.archive-thread-comments .comment__children > .comment__replies--threaded > .comment::before {
  content: none !important;
  display: none !important;
}

.archive-thread-comments .comment__children > .comment__replies--threaded > .comment::after {
  content: "" !important;
  position: absolute !important;
  display: block !important;
  left: calc(-1 * (var(--tree-indent) - var(--tree-rail-x))) !important;
  top: 0.18rem !important;
  width: calc(var(--tree-indent) - var(--tree-rail-x) + 0.18rem) !important;
  height: 1.52rem !important;
  border-left: 2px solid rgba(207, 136, 133, 0.58) !important;
  border-bottom: 2px solid rgba(207, 136, 133, 0.58) !important;
  border-bottom-left-radius: 1.05rem !important;
  background: transparent !important;
  pointer-events: none !important;
  transform: translateY(-0.8rem) !important;
  z-index: 4 !important;
}

.archive-thread-comments .comment__children .comment__children {
  --tree-rail-x: 0.72rem;
  --tree-indent: clamp(2.15rem, 3.2vw, 2.8rem);
}

.archive-thread-comments .comment__children {
    --tree-rail-x: 0.62rem;
    --tree-indent: 2rem;
  }

.archive-thread-comments .comment__children .comment__children {
    --tree-rail-x: 0.56rem;
    --tree-indent: 1.68rem;
  }

/* Real branch elbows: draw visible Reddit-like curved branches as actual elements. */
.archive-thread-comments .comment__children > .comment__replies--threaded > .comment::before,
.archive-thread-comments .comment__children > .comment__replies--threaded > .comment::after {
  content: none !important;
  display: none !important;
}

.archive-thread-comments .comment__children > .comment__replies--threaded > .comment > .comment__branch-elbow {
  position: absolute !important;
  left: calc(-1 * (var(--tree-indent) - var(--tree-rail-x))) !important;
  top: -0.55rem !important;
  display: block !important;
  width: calc(var(--tree-indent) - var(--tree-rail-x) + 0.12rem) !important;
  height: 2rem !important;
  border-left: 2px solid rgba(207, 136, 133, 0.66) !important;
  border-bottom: 2px solid rgba(207, 136, 133, 0.66) !important;
  border-bottom-left-radius: 1.2rem !important;
  background: transparent !important;
  pointer-events: none !important;
  z-index: 8 !important;
}

.archive-thread-comments .comment__children .comment__children > .comment__replies--threaded > .comment > .comment__branch-elbow {
  border-left-color: rgba(207, 136, 133, 0.58) !important;
  border-bottom-color: rgba(207, 136, 133, 0.58) !important;
}

.archive-thread-comments .comment__children > .comment__replies--threaded > .comment > .comment__header,
.archive-thread-comments .comment__children > .comment__replies--threaded > .comment > .comment__body,
.archive-thread-comments .comment__children > .comment__replies--threaded > .comment > .comment__actions,
.archive-thread-comments .comment__children > .comment__replies--threaded > .comment > .inline-reply-form,
.archive-thread-comments .comment__children > .comment__replies--threaded > .comment > .comment__children {
  position: relative !important;
  z-index: 9 !important;
}

/* Final branch authority: only the real elbow element draws branches. */
.archive-thread-comments .comment__children > .comment__replies--threaded > .comment::before,
.archive-thread-comments .comment__children > .comment__replies--threaded > .comment::after {
  content: none !important;
  display: none !important;
  width: 0 !important;
  height: 0 !important;
  border: 0 !important;
  background: transparent !important;
}

.archive-thread-comments .comment__children {
  --tree-rail-x: 0.82rem;
  --tree-indent: clamp(2.75rem, 4.4vw, 3.65rem);
}

.archive-thread-comments .comment__children::before {
  width: 2px !important;
  background: rgba(207, 136, 133, 0.68) !important;
}

.archive-thread-comments .comment__children > .comment__replies--threaded > .comment > .comment__branch-elbow {
  position: absolute !important;
  left: calc(-1 * (var(--tree-indent) - var(--tree-rail-x))) !important;
  top: -0.42rem !important;
  display: block !important;
  width: calc(var(--tree-indent) - var(--tree-rail-x) - 0.08rem) !important;
  height: 1.55rem !important;
  border-left: 2px solid rgba(207, 136, 133, 0.78) !important;
  border-bottom: 2px solid rgba(207, 136, 133, 0.78) !important;
  border-bottom-left-radius: 1rem !important;
  background: transparent !important;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.58) !important;
  pointer-events: none !important;
  z-index: 30 !important;
}

.archive-thread-comments .comment__children .comment__children {
  --tree-rail-x: 0.72rem;
  --tree-indent: clamp(2.3rem, 3.6vw, 3rem);
}

.archive-thread-comments .comment__children {
    --tree-rail-x: 0.62rem;
    --tree-indent: 2.15rem;
  }

.archive-thread-comments .comment__children .comment__children {
    --tree-rail-x: 0.56rem;
    --tree-indent: 1.82rem;
  }

/* Reddit-style elbow branches: each reply curves from the vertical rail into its card. */
.archive-thread-comments .comment__children > .comment__replies--threaded > .comment::before {
  content: none !important;
  display: none !important;
}

.archive-thread-comments .comment__children > .comment__replies--threaded > .comment::after {
  content: "" !important;
  position: absolute !important;
  display: block !important;
  left: calc(-1 * (var(--tree-indent) - var(--tree-rail-x))) !important;
  top: -0.1rem !important;
  width: calc(var(--tree-indent) - var(--tree-rail-x) + 0.08rem) !important;
  height: 1.32rem !important;
  border-left: 1px solid rgba(207, 136, 133, 0.5) !important;
  border-bottom: 1px solid rgba(207, 136, 133, 0.5) !important;
  border-bottom-left-radius: 0.82rem !important;
  background: transparent !important;
  pointer-events: none !important;
  transform: none !important;
  z-index: 1 !important;
}

.archive-thread-comments .comment__children > .comment__replies--threaded > .comment > .comment__header,
.archive-thread-comments .comment__children > .comment__replies--threaded > .comment > .comment__body,
.archive-thread-comments .comment__children > .comment__replies--threaded > .comment > .comment__actions,
.archive-thread-comments .comment__children > .comment__replies--threaded > .comment > .inline-reply-form,
.archive-thread-comments .comment__children > .comment__replies--threaded > .comment > .comment__children {
  position: relative !important;
  z-index: 2 !important;
}

/* Absolute final branch override: old pseudo elbows stay off; real DOM elbow owns the tree. */
.archive-thread-comments .comment__children > .comment__replies--threaded > .comment::before,
.archive-thread-comments .comment__children > .comment__replies--threaded > .comment::after {
  content: none !important;
  display: none !important;
  width: 0 !important;
  height: 0 !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

.archive-thread-comments .comment__children > .comment__replies--threaded > .comment > .comment__branch-elbow {
  position: absolute !important;
  left: calc(-1 * (var(--tree-indent) - var(--tree-rail-x))) !important;
  top: -0.42rem !important;
  display: block !important;
  width: calc(var(--tree-indent) - var(--tree-rail-x) - 0.08rem) !important;
  height: 1.55rem !important;
  border-left: 2px solid rgba(207, 136, 133, 0.78) !important;
  border-bottom: 2px solid rgba(207, 136, 133, 0.78) !important;
  border-bottom-left-radius: 1rem !important;
  background: transparent !important;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.58) !important;
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: none !important;
  z-index: 40 !important;
}

/* SVG Reddit branch override: visible curved branch from rail into every reply card. */
.archive-thread-comments .comment,
.archive-thread-comments .comment__children,
.archive-thread-comments .comment__replies--threaded {
  overflow: visible !important;
}

.archive-thread-comments .comment__children > .comment__replies--threaded > .comment::before,
.archive-thread-comments .comment__children > .comment__replies--threaded > .comment::after {
  content: none !important;
  display: none !important;
  width: 0 !important;
  height: 0 !important;
  border: 0 !important;
  background: transparent !important;
}

.archive-thread-comments .comment__children {
  --tree-rail-x: 0.82rem;
  --tree-indent: clamp(3rem, 4.9vw, 3.95rem);
}

.archive-thread-comments .comment__children::before {
  left: var(--tree-rail-x) !important;
  width: 2px !important;
  background: rgba(207, 136, 133, 0.72) !important;
}

.archive-thread-comments .comment__children > .comment__replies--threaded > .comment > .comment__branch-elbow {
  position: absolute !important;
  left: calc(-1 * (var(--tree-indent) - var(--tree-rail-x))) !important;
  top: -0.72rem !important;
  display: block !important;
  width: calc(var(--tree-indent) - var(--tree-rail-x) + 0.18rem) !important;
  height: 2.55rem !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: none !important;
  z-index: 90 !important;
}

.archive-thread-comments .comment__branch-svg {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  overflow: visible !important;
}

.archive-thread-comments .comment__branch-svg path {
  fill: none !important;
  stroke: rgba(207, 136, 133, 0.86) !important;
  stroke-width: 3 !important;
  stroke-linecap: round !important;
  stroke-linejoin: round !important;
  vector-effect: non-scaling-stroke !important;
}

.archive-thread-comments .comment__children .comment__children {
  --tree-rail-x: 0.72rem;
  --tree-indent: clamp(2.55rem, 4vw, 3.25rem);
}

.archive-thread-comments .comment__children {
    --tree-rail-x: 0.62rem;
    --tree-indent: 2.35rem;
  }

.archive-thread-comments .comment__children .comment__children {
    --tree-rail-x: 0.56rem;
    --tree-indent: 2rem;
  }

/* Wide visible Reddit branch corridor: make the bend readable, not just technically present. */
.archive-thread-comments .comment__children {
  --tree-rail-x: 0.9rem;
  --tree-indent: clamp(4.35rem, 6.2vw, 5.25rem);
  padding-left: var(--tree-indent) !important;
}

.archive-thread-comments .comment__children::before {
  left: var(--tree-rail-x) !important;
  width: 2px !important;
  background: rgba(188, 116, 112, 0.72) !important;
}

.archive-thread-comments .comment__children > .comment-collapse--tree {
  left: calc(var(--tree-rail-x) - 0.57rem) !important;
}

.archive-thread-comments .comment__children > .comment__replies--threaded > .comment > .comment__branch-elbow {
  left: calc(-1 * (var(--tree-indent) - var(--tree-rail-x))) !important;
  top: -0.9rem !important;
  width: calc(var(--tree-indent) - var(--tree-rail-x) + 0.12rem) !important;
  height: 3.2rem !important;
  z-index: 120 !important;
}

.archive-thread-comments .comment__branch-svg path {
  stroke: rgba(188, 116, 112, 0.92) !important;
  stroke-width: 3.25 !important;
  filter: drop-shadow(0 1px 0 rgba(255, 255, 255, 0.65)) !important;
}

.archive-thread-comments .comment__children .comment__children {
  --tree-rail-x: 0.78rem;
  --tree-indent: clamp(3.45rem, 5vw, 4.25rem);
}

.archive-thread-comments .comment__children {
    --tree-rail-x: 0.62rem;
    --tree-indent: 2.7rem;
  }

.archive-thread-comments .comment__children .comment__children {
    --tree-rail-x: 0.55rem;
    --tree-indent: 2.35rem;
  }

.archive-thread-comments .comment__branch-svg path {
    stroke-width: 2.75 !important;
  }

/* Concrete branch lines: real DOM stems/arms so the branch is unmistakably visible. */
.archive-thread-comments .comment__branch-svg {
  display: none !important;
}

.archive-thread-comments .comment__children > .comment__replies--threaded > .comment > .comment__branch-elbow {
  left: calc(-1 * (var(--tree-indent) - var(--tree-rail-x))) !important;
  top: -0.35rem !important;
  width: calc(var(--tree-indent) - var(--tree-rail-x) + 0.08rem) !important;
  height: 2.4rem !important;
  z-index: 180 !important;
}

.archive-thread-comments .comment__branch-stem,
.archive-thread-comments .comment__branch-arm {
  position: absolute !important;
  display: block !important;
  background: rgba(172, 92, 88, 0.86) !important;
  pointer-events: none !important;
  opacity: 1 !important;
  visibility: visible !important;
  z-index: 181 !important;
}

.archive-thread-comments .comment__branch-stem {
  left: 0 !important;
  top: 0 !important;
  width: 2px !important;
  height: 1.34rem !important;
  border-radius: 999px !important;
}

.archive-thread-comments .comment__branch-arm {
  left: 0 !important;
  top: 1.28rem !important;
  width: 100% !important;
  height: 2px !important;
  border-radius: 999px !important;
}

.archive-thread-comments .comment__branch-arm::before {
  content: "" !important;
  position: absolute !important;
  left: 0 !important;
  top: -0.58rem !important;
  display: block !important;
  width: 0.7rem !important;
  height: 0.7rem !important;
  border-left: 2px solid rgba(172, 92, 88, 0.86) !important;
  border-bottom: 2px solid rgba(172, 92, 88, 0.86) !important;
  border-bottom-left-radius: 0.7rem !important;
  background: transparent !important;
}

.archive-thread-comments .comment__children::before {
  background: rgba(172, 92, 88, 0.68) !important;
}

/* Make tree branches visually unmistakable in the pale comment cards. */
.archive-thread-comments .comment__children::before {
  width: 3px !important;
  background: rgba(126, 68, 65, 0.72) !important;
}

.archive-thread-comments .comment__branch-stem,
.archive-thread-comments .comment__branch-arm {
  background: rgba(126, 68, 65, 0.86) !important;
}

.archive-thread-comments .comment__branch-stem {
  width: 3px !important;
  height: 1.45rem !important;
}

.archive-thread-comments .comment__branch-arm {
  top: 1.38rem !important;
  height: 3px !important;
  width: calc(100% + 0.18rem) !important;
}

.archive-thread-comments .comment__branch-arm::before {
  border-left: 3px solid rgba(126, 68, 65, 0.86) !important;
  border-bottom: 3px solid rgba(126, 68, 65, 0.86) !important;
}

/* Allow Reddit-style branches to render outside comment cards. */
.archive-thread-comments .comment,
.archive-thread-comments .comment--level-0,
.archive-thread-comments .comment--level-1,
.archive-thread-comments .comment--level-2,
.archive-thread-comments .comment--level-3,
.archive-thread-comments .comment--level-4,
.section--thread {
  contain: none !important;
  overflow: visible !important;
}

/* Wrapper-based Reddit tree: branch is outside the reply card, so it cannot be clipped by the card. */
.archive-thread-comments .comment__children > .comment__replies--threaded > .comment__reply-branch-row {
  position: relative !important;
  overflow: visible !important;
  contain: none !important;
  width: 100% !important;
}

.archive-thread-comments .comment__children > .comment__replies--threaded > .comment__reply-branch-row > .comment {
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 !important;
  contain: none !important;
  overflow: visible !important;
}

.archive-thread-comments .comment__children > .comment__replies--threaded > .comment__reply-branch-row + .comment__reply-branch-row {
  margin-top: 0.08rem !important;
  padding-top: 0.5rem !important;
  border-top: 1px solid rgba(207, 136, 133, 0.12) !important;
}

.archive-thread-comments .comment__children > .comment__replies--threaded > .comment__reply-branch-row > .comment__branch-elbow {
  position: absolute !important;
  left: calc(-1 * (var(--tree-indent) - var(--tree-rail-x))) !important;
  top: -0.35rem !important;
  display: block !important;
  width: calc(var(--tree-indent) - var(--tree-rail-x) + 0.18rem) !important;
  height: 2.4rem !important;
  border: 0 !important;
  background: transparent !important;
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: none !important;
  z-index: 260 !important;
}

.archive-thread-comments .comment__reply-branch-row > .comment__branch-elbow > .comment__branch-stem,
.archive-thread-comments .comment__reply-branch-row > .comment__branch-elbow > .comment__branch-arm {
  position: absolute !important;
  display: block !important;
  background: rgba(126, 68, 65, 0.9) !important;
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: none !important;
  z-index: 261 !important;
}

.archive-thread-comments .comment__reply-branch-row > .comment__branch-elbow > .comment__branch-stem {
  left: 0 !important;
  top: 0 !important;
  width: 3px !important;
  height: 1.45rem !important;
  border-radius: 999px !important;
}

.archive-thread-comments .comment__reply-branch-row > .comment__branch-elbow > .comment__branch-arm {
  left: 0 !important;
  top: 1.38rem !important;
  width: 100% !important;
  height: 3px !important;
  border-radius: 999px !important;
}

.archive-thread-comments .comment__reply-branch-row > .comment__branch-elbow > .comment__branch-arm::before {
  content: "" !important;
  position: absolute !important;
  left: 0 !important;
  top: -0.58rem !important;
  display: block !important;
  width: 0.7rem !important;
  height: 0.7rem !important;
  border-left: 3px solid rgba(126, 68, 65, 0.9) !important;
  border-bottom: 3px solid rgba(126, 68, 65, 0.9) !important;
  border-bottom-left-radius: 0.7rem !important;
  background: transparent !important;
}

/* Softer Reddit tree refinement: thinner rose lines and branch arms lower on reply cards. */
.archive-thread-comments .comment__children::before {
  width: 1.5px !important;
  background: rgba(207, 136, 133, 0.58) !important;
}

.archive-thread-comments .comment__children > .comment-collapse--tree {
  z-index: 340 !important;
  box-shadow: 0 0 0 4px rgba(255, 252, 250, 0.92) !important;
}

.archive-thread-comments .comment__children > .comment__replies--threaded > .comment__reply-branch-row > .comment__branch-elbow {
  top: 0 !important;
  height: 100% !important;
  z-index: 260 !important;
}

.archive-thread-comments .comment__reply-branch-row > .comment__branch-elbow > .comment__branch-stem,
.archive-thread-comments .comment__reply-branch-row > .comment__branch-elbow > .comment__branch-arm {
  background: rgba(207, 136, 133, 0.62) !important;
  z-index: 261 !important;
}

.archive-thread-comments .comment__reply-branch-row > .comment__branch-elbow > .comment__branch-stem {
  width: 2px !important;
  height: 43% !important;
}

.archive-thread-comments .comment__reply-branch-row > .comment__branch-elbow > .comment__branch-arm {
  top: 43% !important;
  height: 2px !important;
  width: calc(100% + 0.08rem) !important;
}

.archive-thread-comments .comment__reply-branch-row > .comment__branch-elbow > .comment__branch-arm::before {
  top: -0.5rem !important;
  width: 0.62rem !important;
  height: 0.62rem !important;
  border-left: 2px solid rgba(207, 136, 133, 0.62) !important;
  border-bottom: 2px solid rgba(207, 136, 133, 0.62) !important;
  border-bottom-left-radius: 0.62rem !important;
}

.archive-thread-comments .comment__children .comment__children::before,
.archive-thread-comments .comment__children .comment__reply-branch-row > .comment__branch-elbow > .comment__branch-stem,
.archive-thread-comments .comment__children .comment__reply-branch-row > .comment__branch-elbow > .comment__branch-arm {
  background: rgba(207, 136, 133, 0.54) !important;
}

.archive-thread-comments .comment__children .comment__reply-branch-row > .comment__branch-elbow > .comment__branch-arm::before {
  border-left-color: rgba(207, 136, 133, 0.54) !important;
  border-bottom-color: rgba(207, 136, 133, 0.54) !important;
}

/* Final slim connected branch: one SVG path owns the L-curve and horizontal arm. */
.archive-thread-comments .comment__reply-branch-row > .comment__branch-elbow > .comment__branch-stem,
.archive-thread-comments .comment__reply-branch-row > .comment__branch-elbow > .comment__branch-arm,
.archive-thread-comments .comment__reply-branch-row > .comment__branch-elbow > .comment__branch-arm::before {
  display: none !important;
  content: none !important;
}

.archive-thread-comments .comment__children::before {
  width: 1.25px !important;
  background: rgba(207, 136, 133, 0.5) !important;
}

.archive-thread-comments .comment__children > .comment__replies--threaded > .comment__reply-branch-row > .comment__branch-elbow {
  top: 0 !important;
  height: 100% !important;
  z-index: 260 !important;
}

.archive-thread-comments .comment__branch-svg {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  overflow: visible !important;
}

.archive-thread-comments .comment__branch-svg path {
  fill: none !important;
  stroke: rgba(207, 136, 133, 0.56) !important;
  stroke-width: 1.35px !important;
  stroke-linecap: round !important;
  stroke-linejoin: round !important;
  vector-effect: non-scaling-stroke !important;
  filter: none !important;
}

/* Stop the vertical reply rail after the final branch. */
.archive-thread-comments .comment__children:has(> .comment__replies--threaded > .comment__reply-branch-row:last-child) > .comment__replies--threaded > .comment__reply-branch-row:last-child::after {
  content: "" !important;
  position: absolute !important;
  left: calc(-1 * (var(--tree-indent) - var(--tree-rail-x)) - 0.12rem) !important;
  top: calc(43% + 0.12rem) !important;
  bottom: -0.4rem !important;
  display: block !important;
  width: 0.7rem !important;
  background: rgba(255, 255, 255, 0.88) !important;
  border-radius: 999px !important;
  pointer-events: none !important;
  z-index: 240 !important;
}

/* Final quarter-circle tree line: same slim rose stroke for rail and branch. */
.archive-thread-comments {
  --tree-line-width: 1.35px;
  --tree-line-color: rgba(207, 136, 133, 0.56);
}

.archive-thread-comments .comment__children::before {
  width: var(--tree-line-width) !important;
  background: var(--tree-line-color) !important;
}

.archive-thread-comments .comment__branch-svg {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  overflow: visible !important;
}

.archive-thread-comments .comment__branch-svg path {
  fill: none !important;
  stroke: var(--tree-line-color) !important;
  stroke-width: var(--tree-line-width) !important;
  stroke-linecap: round !important;
  stroke-linejoin: round !important;
  vector-effect: non-scaling-stroke !important;
  filter: none !important;
}

.archive-thread-comments .comment__reply-branch-row > .comment__branch-elbow > .comment__branch-stem,
.archive-thread-comments .comment__reply-branch-row > .comment__branch-elbow > .comment__branch-arm,
.archive-thread-comments .comment__reply-branch-row > .comment__branch-elbow > .comment__branch-arm::before {
  display: none !important;
  content: none !important;
  width: 0 !important;
  height: 0 !important;
  border: 0 !important;
  background: transparent !important;
}

/* Fixed quarter-circle branches: never stretch with reply height; align arm with author name. */
.archive-thread-comments {
  --tree-line-width: 1.35px;
  --tree-line-color: rgba(207, 136, 133, 0.56);
}

.archive-thread-comments .comment__children::before {
  width: var(--tree-line-width) !important;
  background: var(--tree-line-color) !important;
}

.archive-thread-comments .comment__children > .comment__replies--threaded > .comment__reply-branch-row > .comment__branch-elbow {
  top: 0 !important;
  height: 1.75rem !important;
  min-height: 1.75rem !important;
  max-height: 1.75rem !important;
  z-index: 260 !important;
}

.archive-thread-comments .comment__branch-svg {
  display: block !important;
  width: 100% !important;
  height: 1.75rem !important;
  min-height: 1.75rem !important;
  max-height: 1.75rem !important;
  overflow: visible !important;
}

.archive-thread-comments .comment__branch-svg path {
  fill: none !important;
  stroke: var(--tree-line-color) !important;
  stroke-width: var(--tree-line-width) !important;
  stroke-linecap: round !important;
  stroke-linejoin: round !important;
  vector-effect: non-scaling-stroke !important;
  filter: none !important;
}

.archive-thread-comments .comment__reply-branch-row > .comment__branch-elbow > .comment__branch-stem,
.archive-thread-comments .comment__reply-branch-row > .comment__branch-elbow > .comment__branch-arm,
.archive-thread-comments .comment__reply-branch-row > .comment__branch-elbow > .comment__branch-arm::before {
  display: none !important;
  content: none !important;
  width: 0 !important;
  height: 0 !important;
  border: 0 !important;
  background: transparent !important;
}

.archive-thread-comments .comment__children:has(> .comment__replies--threaded > .comment__reply-branch-row:last-child) > .comment__replies--threaded > .comment__reply-branch-row:last-child::after {
  top: 1.32rem !important;
}

/* Restore right-aligned show/hide reply control; no +/- symbol on the tree rail. */
.archive-thread-comments .comment__children > .comment-collapse--tree {
  display: none !important;
}

.archive-thread-comments .comment__meta {
  margin-left: auto !important;
  display: grid !important;
  justify-items: end !important;
  gap: 0.32rem !important;
  text-align: right !important;
}

.archive-thread-comments .comment__meta .comment-collapse,
.archive-thread-comments .comment__meta button.comment-collapse {
  position: static !important;
  left: auto !important;
  top: auto !important;
  z-index: auto !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: auto !important;
  height: auto !important;
  min-width: 0 !important;
  min-height: 0 !important;
  margin: 0 !important;
  padding: 0.22rem 0.62rem !important;
  border: 1px solid rgba(207, 136, 133, 0.24) !important;
  border-radius: 999px !important;
  background: rgba(255, 250, 248, 0.62) !important;
  color: rgba(151, 86, 83, 0.82) !important;
  box-shadow: none !important;
  font-family: inherit !important;
  font-size: 0.74rem !important;
  font-weight: 400 !important;
  line-height: 1.1 !important;
  text-align: center !important;
  transform: none !important;
}

.archive-thread-comments .comment__meta .comment-collapse:hover,
.archive-thread-comments .comment__meta .comment-collapse:focus-visible {
  background: rgba(250, 236, 234, 0.82) !important;
  border-color: rgba(207, 136, 133, 0.36) !important;
  color: rgba(128, 69, 66, 0.92) !important;
  box-shadow: none !important;
  transform: none !important;
}

/* Homogeneous reply tree: rail and branch are one slim rose system, and rails stop at the last reply. */
.archive-thread-comments {
  --tree-line-width: 1.35px;
  --tree-line-color: rgba(207, 136, 133, 0.56);
  --tree-branch-y: 1.08rem;
}

.archive-thread-comments .comment__children::before {
  content: none !important;
  display: none !important;
}

.archive-thread-comments .comment__reply-branch-row {
  --branch-gap: calc(var(--tree-indent) - var(--tree-rail-x));
  position: relative !important;
  overflow: visible !important;
  contain: none !important;
}

.archive-thread-comments .comment__reply-branch-row::before {
  content: "" !important;
  position: absolute !important;
  left: calc(-1 * var(--branch-gap) + 0.12rem) !important;
  top: -0.55rem !important;
  bottom: -0.62rem !important;
  display: block !important;
  width: var(--tree-line-width) !important;
  background: var(--tree-line-color) !important;
  border-radius: 999px !important;
  pointer-events: none !important;
  z-index: 230 !important;
}

.archive-thread-comments .comment__reply-branch-row:last-child::before {
  bottom: auto !important;
  height: calc(var(--tree-branch-y) + 0.16rem) !important;
}

.archive-thread-comments .comment__children > .comment__replies--threaded > .comment__reply-branch-row > .comment__branch-elbow {
  left: calc(-1 * var(--branch-gap) + 0.12rem) !important;
  top: 0 !important;
  display: block !important;
  width: calc(var(--branch-gap) + 0.1rem) !important;
  height: 1.75rem !important;
  min-height: 1.75rem !important;
  max-height: 1.75rem !important;
  border: 0 !important;
  background: transparent !important;
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: none !important;
  z-index: 260 !important;
}

.archive-thread-comments .comment__branch-svg {
  display: block !important;
  width: 100% !important;
  height: 1.75rem !important;
  overflow: visible !important;
}

.archive-thread-comments .comment__branch-svg path {
  fill: none !important;
  stroke: var(--tree-line-color) !important;
  stroke-width: var(--tree-line-width) !important;
  stroke-linecap: round !important;
  stroke-linejoin: round !important;
  vector-effect: non-scaling-stroke !important;
  filter: none !important;
}

.archive-thread-comments .comment__reply-branch-row > .comment__branch-elbow > .comment__branch-stem,
.archive-thread-comments .comment__reply-branch-row > .comment__branch-elbow > .comment__branch-arm,
.archive-thread-comments .comment__reply-branch-row > .comment__branch-elbow > .comment__branch-arm::before,
.archive-thread-comments .comment__children:has(> .comment__replies--threaded > .comment__reply-branch-row:last-child) > .comment__replies--threaded > .comment__reply-branch-row:last-child::after {
  content: none !important;
  display: none !important;
  width: 0 !important;
  height: 0 !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

/* No horizontal separator between reply cards; keep only the tree branches. */
.archive-thread-comments .comment__children > .comment__replies--threaded > .comment__reply-branch-row + .comment__reply-branch-row,
.archive-thread-comments .comment__replies--threaded > .comment + .comment,
.archive-thread-comments .comment__replies > .comment + .comment,
.archive-thread-comments .comment__replies--flat > .comment + .comment {
  border-top: 0 !important;
  box-shadow: none !important;
}

.archive-thread-comments .comment__children > .comment__replies--threaded > .comment__reply-branch-row + .comment__reply-branch-row::before,
.archive-thread-comments .comment__children > .comment__replies--threaded > .comment__reply-branch-row + .comment__reply-branch-row::after,
.archive-thread-comments .comment__replies > .comment + .comment::after,
.archive-thread-comments .comment__replies--flat > .comment + .comment::after {
  border-top: 0 !important;
  box-shadow: none !important;
}

/* Single-path tree branches: no overlapping rails, no shade changes, identical curvature per reply. */
.archive-thread-comments {
  --tree-line-width: 1.45px;
  --tree-line-color: rgba(207, 136, 133, 0.58);
}

.archive-thread-comments .comment__children::before,
.archive-thread-comments .comment__reply-branch-row::before,
.archive-thread-comments .comment__reply-branch-row::after {
  content: none !important;
  display: none !important;
  width: 0 !important;
  height: 0 !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

.archive-thread-comments .comment__children > .comment__replies--threaded > .comment__reply-branch-row > .comment__branch-elbow {
  left: calc(-1 * var(--branch-gap)) !important;
  top: -0.7rem !important;
  width: calc(var(--branch-gap) + 0.12rem) !important;
  height: calc(100% + 0.7rem) !important;
  min-height: 5.2rem !important;
  max-height: none !important;
  z-index: 260 !important;
}

.archive-thread-comments .comment__branch-svg {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  min-height: 5.2rem !important;
  overflow: visible !important;
}

.archive-thread-comments .comment__branch-svg path {
  fill: none !important;
  stroke: var(--tree-line-color) !important;
  stroke-width: var(--tree-line-width) !important;
  stroke-linecap: round !important;
  stroke-linejoin: round !important;
  vector-effect: non-scaling-stroke !important;
  filter: none !important;
  opacity: 1 !important;
}

.archive-thread-comments .comment__reply-branch-row:last-child > .comment__branch-elbow {
  height: 3.1rem !important;
  min-height: 3.1rem !important;
}

/* True CSS quarter-circle branch: fixed radius, same slim rose stroke everywhere. */
.archive-thread-comments {
  --tree-line-width: 1.25px;
  --tree-line-color: rgba(207, 136, 133, 0.54);
  --tree-curve-size: 1.08rem;
}

.archive-thread-comments .comment__children::before,
.archive-thread-comments .comment__reply-branch-row::before,
.archive-thread-comments .comment__reply-branch-row::after {
  content: none !important;
  display: none !important;
  width: 0 !important;
  height: 0 !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

.archive-thread-comments .comment__children > .comment__replies--threaded > .comment__reply-branch-row > .comment__branch-elbow {
  position: absolute !important;
  left: calc(-1 * var(--branch-gap)) !important;
  top: 0.08rem !important;
  display: block !important;
  width: calc(var(--branch-gap) + 0.08rem) !important;
  height: var(--tree-curve-size) !important;
  min-height: var(--tree-curve-size) !important;
  max-height: var(--tree-curve-size) !important;
  border: 0 !important;
  border-left: var(--tree-line-width) solid var(--tree-line-color) !important;
  border-bottom: var(--tree-line-width) solid var(--tree-line-color) !important;
  border-bottom-left-radius: var(--tree-curve-size) !important;
  background: transparent !important;
  box-shadow: none !important;
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: none !important;
  z-index: 260 !important;
}

.archive-thread-comments .comment__branch-svg,
.archive-thread-comments .comment__branch-svg path,
.archive-thread-comments .comment__reply-branch-row > .comment__branch-elbow > .comment__branch-stem,
.archive-thread-comments .comment__reply-branch-row > .comment__branch-elbow > .comment__branch-arm,
.archive-thread-comments .comment__reply-branch-row > .comment__branch-elbow > .comment__branch-arm::before {
  content: none !important;
  display: none !important;
  width: 0 !important;
  height: 0 !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

/* Final homogeneous reply tree: one slim rose stroke, connected quarter-circle branches. */
.archive-thread-comments {
  --reply-tree-line-width: 1px;
  --reply-tree-line-color: rgba(207, 136, 133, 0.56);
  --reply-tree-curve-size: 1.15rem;
  --reply-tree-branch-top: 1.05rem;
}

.archive-thread-comments .comment__children::before {
  content: none !important;
  display: none !important;
}

.archive-thread-comments .comment__children > .comment__replies--threaded > .comment__reply-branch-row {
  position: relative !important;
}

.archive-thread-comments .comment__children > .comment__replies--threaded > .comment__reply-branch-row::before,
.archive-thread-comments .comment__children > .comment__replies--threaded > .comment__reply-branch-row::after {
  content: "" !important;
  position: absolute !important;
  left: calc(-1 * var(--branch-gap)) !important;
  display: block !important;
  width: 0 !important;
  height: auto !important;
  border: 0 !important;
  border-left: var(--reply-tree-line-width) solid var(--reply-tree-line-color) !important;
  background: transparent !important;
  box-shadow: none !important;
  opacity: 1 !important;
  pointer-events: none !important;
  z-index: 250 !important;
}

.archive-thread-comments .comment__children > .comment__replies--threaded > .comment__reply-branch-row::before {
  top: 0 !important;
  bottom: calc(100% - var(--reply-tree-branch-top)) !important;
}

.archive-thread-comments .comment__children > .comment__replies--threaded > .comment__reply-branch-row::after {
  top: calc(var(--reply-tree-branch-top) + var(--reply-tree-curve-size)) !important;
  bottom: 0 !important;
}

.archive-thread-comments .comment__children > .comment__replies--threaded > .comment__reply-branch-row:last-child::after {
  content: none !important;
  display: none !important;
}

.archive-thread-comments .comment__children > .comment__replies--threaded > .comment__reply-branch-row > .comment__branch-elbow {
  position: absolute !important;
  left: calc(-1 * var(--branch-gap)) !important;
  top: var(--reply-tree-branch-top) !important;
  display: block !important;
  width: calc(var(--branch-gap) + 0.32rem) !important;
  height: var(--reply-tree-curve-size) !important;
  min-height: var(--reply-tree-curve-size) !important;
  max-height: var(--reply-tree-curve-size) !important;
  box-sizing: border-box !important;
  border: 0 !important;
  border-left: var(--reply-tree-line-width) solid var(--reply-tree-line-color) !important;
  border-bottom: var(--reply-tree-line-width) solid var(--reply-tree-line-color) !important;
  border-bottom-left-radius: var(--reply-tree-curve-size) !important;
  background: transparent !important;
  box-shadow: none !important;
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: none !important;
  z-index: 260 !important;
}

.archive-thread-comments .comment__branch-svg,
.archive-thread-comments .comment__branch-svg path,
.archive-thread-comments .comment__reply-branch-row > .comment__branch-elbow > .comment__branch-stem,
.archive-thread-comments .comment__reply-branch-row > .comment__branch-elbow > .comment__branch-arm,
.archive-thread-comments .comment__reply-branch-row > .comment__branch-elbow > .comment__branch-arm::before {
  content: none !important;
  display: none !important;
  width: 0 !important;
  height: 0 !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

/* Final answer tree renderer: one clean Reddit-like rose rail with identical quarter turns. */
.archive-thread-comments {
  --reply-tree-line-width: 1px;
  --reply-tree-line-color: rgba(207, 136, 133, 0.64);
  --reply-tree-radius: 1.28rem;
  --reply-tree-turn-top: 0.35rem;
}

.archive-thread-comments .comment__children::before,
.archive-thread-comments .comment__children > .comment__replies--threaded::before,
.archive-thread-comments .comment__children > .comment__replies--threaded::after,
.archive-thread-comments .comment__children > .comment__replies--threaded > .comment::before,
.archive-thread-comments .comment__children > .comment__replies--threaded > .comment::after {
  content: none !important;
  display: none !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

.archive-thread-comments .comment__reply-branch-row {
  --branch-gap: calc(var(--tree-indent, 2.7rem) - var(--tree-rail-x, 0.62rem));
  position: relative !important;
}

.archive-thread-comments .comment__children > .comment__replies--threaded > .comment__reply-branch-row::before,
.archive-thread-comments .comment__children > .comment__replies--threaded > .comment__reply-branch-row::after {
  content: "" !important;
  position: absolute !important;
  left: calc(-1 * var(--branch-gap)) !important;
  width: 0 !important;
  border: 0 !important;
  border-left: var(--reply-tree-line-width) solid var(--reply-tree-line-color) !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  opacity: 1 !important;
  pointer-events: none !important;
  z-index: 12 !important;
}

.archive-thread-comments .comment__children > .comment__replies--threaded > .comment__reply-branch-row::before {
  top: 0 !important;
  height: var(--reply-tree-turn-top) !important;
  bottom: auto !important;
}

.archive-thread-comments .comment__children > .comment__replies--threaded > .comment__reply-branch-row::after {
  top: calc(var(--reply-tree-turn-top) + var(--reply-tree-radius)) !important;
  bottom: 0 !important;
  height: auto !important;
}

.archive-thread-comments .comment__children > .comment__replies--threaded > .comment__reply-branch-row:last-child::after {
  content: none !important;
  display: none !important;
}

.archive-thread-comments .comment__children > .comment__replies--threaded > .comment__reply-branch-row > .comment__branch-elbow {
  position: absolute !important;
  left: calc(-1 * var(--branch-gap)) !important;
  top: var(--reply-tree-turn-top) !important;
  display: block !important;
  width: calc(var(--branch-gap) + 0.55rem) !important;
  height: var(--reply-tree-radius) !important;
  min-height: var(--reply-tree-radius) !important;
  max-height: var(--reply-tree-radius) !important;
  box-sizing: border-box !important;
  border: 0 !important;
  border-left: var(--reply-tree-line-width) solid var(--reply-tree-line-color) !important;
  border-bottom: var(--reply-tree-line-width) solid var(--reply-tree-line-color) !important;
  border-bottom-left-radius: var(--reply-tree-radius) !important;
  background: transparent !important;
  box-shadow: none !important;
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: none !important;
  z-index: 13 !important;
}

.archive-thread-comments .comment__branch-elbow::before,
.archive-thread-comments .comment__branch-elbow::after,
.archive-thread-comments .comment__branch-svg,
.archive-thread-comments .comment__branch-svg path,
.archive-thread-comments .comment__branch-stem,
.archive-thread-comments .comment__branch-arm,
.archive-thread-comments .comment__branch-arm::before,
.archive-thread-comments .comment__branch-arm::after {
  content: none !important;
  display: none !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

/* Straight reply tree fallback: crisp connected 90-degree branches, no rounded corners. */
.archive-thread-comments {
  --reply-tree-line-width: 1px;
  --reply-tree-line-color: rgba(207, 136, 133, 0.64);
  --reply-tree-radius: 18px;
  --reply-tree-turn-top: 6px;
}

.archive-thread-comments .comment__reply-branch-row {
  --branch-gap: calc(var(--tree-indent, 2.7rem) - var(--tree-rail-x, 0.62rem));
  position: relative !important;
}

.archive-thread-comments .comment__children::before,
.archive-thread-comments .comment__children > .comment__replies--threaded::before,
.archive-thread-comments .comment__children > .comment__replies--threaded::after,
.archive-thread-comments .comment__children > .comment__replies--threaded > .comment::before,
.archive-thread-comments .comment__children > .comment__replies--threaded > .comment::after {
  content: none !important;
  display: none !important;
}

.archive-thread-comments .comment__children > .comment__replies--threaded > .comment__reply-branch-row::before,
.archive-thread-comments .comment__children > .comment__replies--threaded > .comment__reply-branch-row::after {
  content: "" !important;
  position: absolute !important;
  left: calc(-1 * var(--branch-gap)) !important;
  width: 0 !important;
  border: 0 !important;
  border-left: var(--reply-tree-line-width) solid var(--reply-tree-line-color) !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  opacity: 1 !important;
  pointer-events: none !important;
  z-index: 12 !important;
}

.archive-thread-comments .comment__children > .comment__replies--threaded > .comment__reply-branch-row::before {
  top: 0 !important;
  height: var(--reply-tree-turn-top) !important;
  bottom: auto !important;
}

.archive-thread-comments .comment__children > .comment__replies--threaded > .comment__reply-branch-row::after {
  top: calc(var(--reply-tree-turn-top) + var(--reply-tree-radius)) !important;
  bottom: 0 !important;
  height: auto !important;
}

.archive-thread-comments .comment__children > .comment__replies--threaded > .comment__reply-branch-row:last-child::after {
  content: none !important;
  display: none !important;
}

.archive-thread-comments .comment__children > .comment__replies--threaded > .comment__reply-branch-row > .comment__branch-elbow {
  position: absolute !important;
  left: calc(-1 * var(--branch-gap)) !important;
  top: var(--reply-tree-turn-top) !important;
  display: block !important;
  width: calc(var(--branch-gap) + 0.55rem) !important;
  height: var(--reply-tree-radius) !important;
  min-height: var(--reply-tree-radius) !important;
  max-height: var(--reply-tree-radius) !important;
  box-sizing: border-box !important;
  border: 0 !important;
  border-left: var(--reply-tree-line-width) solid var(--reply-tree-line-color) !important;
  border-bottom: var(--reply-tree-line-width) solid var(--reply-tree-line-color) !important;
  border-radius: 0 !important;
  border-bottom-left-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: none !important;
  z-index: 13 !important;
}

/* Connected straight reply tree: one uninterrupted vertical rail plus horizontal arms. */
.archive-thread-comments {
  --reply-tree-line-width: 1px;
  --reply-tree-line-color: rgba(207, 136, 133, 0.66);
  --reply-tree-joint-y: 1.42rem;
}

.archive-thread-comments .comment__children::before,
.archive-thread-comments .comment__children > .comment__replies--threaded::before,
.archive-thread-comments .comment__children > .comment__replies--threaded::after,
.archive-thread-comments .comment__children > .comment__replies--threaded > .comment::before,
.archive-thread-comments .comment__children > .comment__replies--threaded > .comment::after,
.archive-thread-comments .comment__children > .comment__replies--threaded > .comment__reply-branch-row::after {
  content: none !important;
  display: none !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

.archive-thread-comments .comment__children > .comment__replies--threaded > .comment__reply-branch-row {
  --branch-gap: calc(var(--tree-indent, 2.7rem) - var(--tree-rail-x, 0.62rem));
  position: relative !important;
  margin-top: 0 !important;
}

.archive-thread-comments .comment__children > .comment__replies--threaded > .comment__reply-branch-row::before {
  content: "" !important;
  position: absolute !important;
  left: calc(-1 * var(--branch-gap)) !important;
  top: 0 !important;
  bottom: 0 !important;
  width: 0 !important;
  height: auto !important;
  display: block !important;
  border: 0 !important;
  border-left: var(--reply-tree-line-width) solid var(--reply-tree-line-color) !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  opacity: 1 !important;
  pointer-events: none !important;
  z-index: 12 !important;
}

.archive-thread-comments .comment__children > .comment__replies--threaded > .comment__reply-branch-row:last-child::before {
  bottom: auto !important;
  height: var(--reply-tree-joint-y) !important;
}

.archive-thread-comments .comment__children > .comment__replies--threaded > .comment__reply-branch-row > .comment__branch-elbow {
  position: absolute !important;
  left: calc(-1 * var(--branch-gap)) !important;
  top: var(--reply-tree-joint-y) !important;
  display: block !important;
  width: calc(var(--branch-gap) + 0.55rem) !important;
  height: 0 !important;
  min-height: 0 !important;
  max-height: 0 !important;
  box-sizing: border-box !important;
  border: 0 !important;
  border-top: var(--reply-tree-line-width) solid var(--reply-tree-line-color) !important;
  border-radius: 0 !important;
  border-bottom-left-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: none !important;
  z-index: 13 !important;
}

/* Reply tree alignment: horizontal arm stops at the card edge and meets the name midline. */
.archive-thread-comments {
  --reply-tree-joint-y: 1.62rem;
}

.archive-thread-comments .comment__children > .comment__replies--threaded > .comment__reply-branch-row > .comment__branch-elbow {
  top: var(--reply-tree-joint-y) !important;
  width: var(--branch-gap) !important;
}

.archive-thread-comments .comment__children > .comment__replies--threaded > .comment__reply-branch-row:last-child::before {
  height: var(--reply-tree-joint-y) !important;
}

/* Unified reply tree: remove rail breaks between reply rows. */
.archive-thread-comments .comment__children > .comment__replies--threaded {
  gap: 0 !important;
  row-gap: 0 !important;
}

.archive-thread-comments .comment__children > .comment__replies--threaded > .comment__reply-branch-row,
.archive-thread-comments .comment__children > .comment__replies--threaded > .comment__reply-branch-row + .comment__reply-branch-row {
  margin-top: 0 !important;
  padding-top: 0 !important;
}

.archive-thread-comments .comment__children > .comment__replies--threaded > .comment__reply-branch-row::before {
  top: 0 !important;
  bottom: 0 !important;
  height: auto !important;
}

.archive-thread-comments .comment__children > .comment__replies--threaded > .comment__reply-branch-row:last-child::before {
  top: 0 !important;
  bottom: auto !important;
  height: var(--reply-tree-joint-y) !important;
}

.archive-thread-comments .comment__children > .comment__replies--threaded > .comment__reply-branch-row > .comment {
  margin-top: 0 !important;
}

/* Half-outline on comment and reply cards: same slim rose stroke as the reply tree, fading at the open right edge. */
.archive-thread-comments {
  --comment-card-outline-width: var(--reply-tree-line-width, 1px);
  --comment-card-outline-color: var(--reply-tree-line-color, rgba(207, 136, 133, 0.66));
}

.archive-thread-comments .comment {
  position: relative !important;
}

.archive-thread-comments .comment::after {
  content: "" !important;
  position: absolute !important;
  inset: 0 !important;
  display: block !important;
  border: 0 !important;
  border-radius: inherit !important;
  pointer-events: none !important;
  z-index: 6 !important;
  opacity: 1 !important;
  background:
    linear-gradient(to right, var(--comment-card-outline-color) 0%, var(--comment-card-outline-color) 70%, rgba(207, 136, 133, 0) 98%) top left / 100% var(--comment-card-outline-width) no-repeat,
    linear-gradient(to right, var(--comment-card-outline-color) 0%, var(--comment-card-outline-color) 70%, rgba(207, 136, 133, 0) 98%) bottom left / 100% var(--comment-card-outline-width) no-repeat,
    linear-gradient(to bottom, var(--comment-card-outline-color), var(--comment-card-outline-color)) top left / var(--comment-card-outline-width) 100% no-repeat !important;
  box-shadow: none !important;
}

/* Card outline fade corrected: fade into the card/background, not white. */
.archive-thread-comments .comment::after {
  background:
    linear-gradient(to right, var(--comment-card-outline-color) 0%, var(--comment-card-outline-color) 70%, transparent 98%) top left / 100% var(--comment-card-outline-width) no-repeat,
    linear-gradient(to right, var(--comment-card-outline-color) 0%, var(--comment-card-outline-color) 70%, transparent 98%) bottom left / 100% var(--comment-card-outline-width) no-repeat,
    linear-gradient(to bottom, var(--comment-card-outline-color), var(--comment-card-outline-color)) top left / var(--comment-card-outline-width) 100% no-repeat !important;
}

/* Rounded half-outline refinement: earlier fade and true rounded-corner clipping. */
.archive-thread-comments .comment {
  overflow: hidden !important;
}

.archive-thread-comments .comment::after {
  background:
    linear-gradient(to right, var(--comment-card-outline-color) 0%, var(--comment-card-outline-color) 34%, transparent 72%) top left / 100% var(--comment-card-outline-width) no-repeat,
    linear-gradient(to right, var(--comment-card-outline-color) 0%, var(--comment-card-outline-color) 34%, transparent 72%) bottom left / 100% var(--comment-card-outline-width) no-repeat,
    linear-gradient(to bottom, var(--comment-card-outline-color), var(--comment-card-outline-color)) top left / var(--comment-card-outline-width) 100% no-repeat !important;
  border-radius: inherit !important;
  clip-path: inset(0 round inherit) !important;
}

/* Remove experimental half-outline from comment and reply cards. */
.archive-thread-comments .comment {
  overflow: visible !important;
}

.archive-thread-comments .comment::after {
  content: none !important;
  display: none !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}

/* Subtle tree fades: soften horizontal arms near card/name edge and the first upward rail start. */
.archive-thread-comments {
  --reply-tree-fade-length: 0.72rem;
}

.archive-thread-comments .comment__children > .comment__replies--threaded > .comment__reply-branch-row > .comment__branch-elbow {
  height: var(--reply-tree-line-width) !important;
  min-height: var(--reply-tree-line-width) !important;
  max-height: var(--reply-tree-line-width) !important;
  border: 0 !important;
  background: linear-gradient(
    to right,
    var(--reply-tree-line-color) 0%,
    var(--reply-tree-line-color) calc(100% - var(--reply-tree-fade-length)),
    transparent 100%
  ) !important;
}

.archive-thread-comments .comment__children > .comment__replies--threaded > .comment__reply-branch-row:first-child::before {
  border-left: 0 !important;
  width: var(--reply-tree-line-width) !important;
  background: linear-gradient(
    to bottom,
    transparent 0,
    var(--reply-tree-line-color) 0.55rem,
    var(--reply-tree-line-color) 100%
  ) !important;
}

/* Slightly stronger tree fades. */
.archive-thread-comments {
  --reply-tree-fade-length: 1.12rem;
}

.archive-thread-comments .comment__children > .comment__replies--threaded > .comment__reply-branch-row:first-child::before {
  background: linear-gradient(
    to bottom,
    transparent 0,
    rgba(207, 136, 133, 0.24) 0.38rem,
    var(--reply-tree-line-color) 0.9rem,
    var(--reply-tree-line-color) 100%
  ) !important;
}

/* More pronounced tree fades. */
.archive-thread-comments {
  --reply-tree-fade-length: 1.65rem;
}

.archive-thread-comments .comment__children > .comment__replies--threaded > .comment__reply-branch-row:first-child::before {
  background: linear-gradient(
    to bottom,
    transparent 0,
    rgba(207, 136, 133, 0.18) 0.5rem,
    rgba(207, 136, 133, 0.46) 1rem,
    var(--reply-tree-line-color) 1.45rem,
    var(--reply-tree-line-color) 100%
  ) !important;
}

/* Softer reply-tree tone. */
.archive-thread-comments {
  --reply-tree-line-color: rgba(196, 145, 142, 0.48);
}

.archive-thread-comments .comment__children > .comment__replies--threaded > .comment__reply-branch-row:first-child::before {
  background: linear-gradient(
    to bottom,
    transparent 0,
    rgba(196, 145, 142, 0.12) 0.5rem,
    rgba(196, 145, 142, 0.32) 1rem,
    var(--reply-tree-line-color) 1.45rem,
    var(--reply-tree-line-color) 100%
  ) !important;
}

/* Align reply button icon with the vertical reply tree rail. */
.archive-thread-comments .comment__reply-branch-row {
  --tree-rail-x: 1.37rem;
}

.archive-thread-comments .comment > .comment__actions > .comment-action:first-child {
  position: relative !important;
  left: -0.32rem !important;
}

/* Keep nested reply cards right-aligned: indentation may grow on the left, never by shrinking the right edge. */
.archive-thread-comments .comment__reply-branch-row > .comment > .comment__children {
  margin-right: -1rem !important;
}

.archive-thread-comments .comment__reply-branch-row > .comment > .comment__children > .comment__replies--threaded {
  width: auto !important;
  max-width: none !important;
}

/* Equalize the empty space below Svara/Gilla on every comment card. */
.archive-thread-comments .comment {
  padding-bottom: 1.12rem !important;
}

.archive-thread-comments .comment > .comment__actions {
  margin-bottom: 0 !important;
  padding-bottom: 0 !important;
}

.archive-thread-comments .comment.comment--collapsed > .comment__children {
  display: none !important;
  height: 0 !important;
  min-height: 0 !important;
  max-height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: hidden !important;
}

.archive-thread-comments .comment.comment--collapsed > .comment__children > .comment__replies,
.archive-thread-comments .comment.comment--collapsed > .comment__children::before {
  content: none !important;
  display: none !important;
}

/* Collapsed reply cards should end like normal cards; no reserved ghost space under actions. */
.archive-thread-comments .comment.comment--has-replies.comment--collapsed {
  min-height: 0 !important;
  padding-bottom: 1.12rem !important;
}

.archive-thread-comments .comment.comment--has-replies.comment--collapsed > .comment__actions {
  margin-bottom: 0 !important;
  padding-bottom: 0 !important;
}

.archive-thread-comments .comment.comment--has-replies.comment--collapsed > .comment__children,
.archive-thread-comments .comment.comment--has-replies.comment--collapsed > .comment__children > * {
  display: none !important;
  height: 0 !important;
  min-height: 0 !important;
  max-height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  overflow: hidden !important;
}

.archive-thread-comments .comment.comment--has-replies.comment--collapsed > .comment__children::before,
.archive-thread-comments .comment.comment--has-replies.comment--collapsed > .comment__children::after {
  content: none !important;
  display: none !important;
}

/* Responsive containment: comments and forms must stay inside the thread card. */
.section--thread,
.archive-thread-comments,
.archive-thread-comments *,
.comment-form,
.inline-reply-form,
.inline-reply-form *,
.archive-thread-comments input,
.archive-thread-comments textarea,
.archive-thread-comments button {
  box-sizing: border-box !important;
}

.archive-thread-comments {
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  overflow-x: clip !important;
}

.archive-thread-comments > .comment,
.archive-thread-comments .comment,
.archive-thread-comments .comment__children,
.archive-thread-comments .comment__replies,
.archive-thread-comments .comment__replies--threaded,
.archive-thread-comments .comment__reply-branch-row {
  min-width: 0 !important;
  max-width: 100% !important;
}

.archive-thread-comments > .comment {
  width: 100% !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
}

.archive-thread-comments .comment__reply-branch-row > .comment {
  max-width: 100% !important;
}

.archive-thread-comments {
    overflow-x: hidden !important;
  }

.archive-thread-comments .comment__children {
    --tree-indent: clamp(1.35rem, 5vw, 1.85rem) !important;
    --tree-rail-x: clamp(0.78rem, 3vw, 1.05rem) !important;
    padding-left: var(--tree-indent) !important;
    margin-right: 0 !important;
    width: auto !important;
    max-width: 100% !important;
  }

.archive-thread-comments .comment__children .comment__children {
    --tree-indent: clamp(1.05rem, 4vw, 1.45rem) !important;
    padding-left: var(--tree-indent) !important;
    margin-right: 0 !important;
  }

.archive-thread-comments .comment__reply-branch-row > .comment > .comment__children {
    margin-right: 0 !important;
  }

.archive-thread-comments .comment__reply-branch-row,
  .archive-thread-comments .comment__reply-branch-row > .comment {
    width: 100% !important;
    max-width: 100% !important;
  }

/* Smooth reply/collapse experience without scroll jumps. */
.archive-thread-comments .inline-reply-form {
  transform-origin: top center !important;
  animation: inline-reply-soft-open 360ms cubic-bezier(0.22, 0.74, 0.28, 1) both !important;
  will-change: opacity, transform !important;
}

.archive-thread-comments .comment__children > .comment__replies--threaded {
  transform-origin: top center !important;
  animation: reply-thread-soft-open 420ms cubic-bezier(0.22, 0.74, 0.28, 1) both !important;
  will-change: opacity, transform !important;
}

.archive-thread-comments .comment-action,
.archive-thread-comments .comment-collapse,
.archive-thread-comments .inline-reply-form button {
  transition:
    color 240ms ease,
    border-color 240ms ease,
    background-color 240ms ease,
    opacity 240ms ease,
    filter 240ms ease !important;
}

.archive-thread-comments .inline-reply-form,
  .archive-thread-comments .comment__children > .comment__replies--threaded {
    animation: none !important;
    transform: none !important;
    filter: none !important;
  }

/* Prevent browser scroll anchoring from fighting reply/show-hide animations. */
.archive-thread-comments,
.archive-thread-comments .comment,
.archive-thread-comments .comment__children,
.archive-thread-comments .comment__replies,
.archive-thread-comments .comment__reply-branch-row,
.archive-thread-comments .inline-reply-form {
  overflow-anchor: none !important;
}

/* Linked commenter names: underline only on hover/focus. */
.archive-thread-comments .comment__user[href],
.archive-thread-comments a.comment__user {
  text-decoration: none !important;
}

.archive-thread-comments .comment__user[href]:hover,
.archive-thread-comments .comment__user[href]:focus-visible,
.archive-thread-comments a.comment__user:hover,
.archive-thread-comments a.comment__user:focus-visible {
  text-decoration: underline !important;
  text-decoration-thickness: 0.08em !important;
  text-underline-offset: 0.16em !important;
}

/* Fast, stable comment interactions: no heavy blur/transform, no blinking cards while scrolling. */
.archive-thread-comments,
.archive-thread-comments * {
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

.archive-thread-comments .comment,
.archive-thread-comments .comment__header,
.archive-thread-comments .comment__body,
.archive-thread-comments .comment__actions,
.archive-thread-comments .comment__children,
.archive-thread-comments .comment__replies,
.archive-thread-comments .comment__reply-branch-row {
  opacity: 1 !important;
  filter: none !important;
  backface-visibility: visible !important;
  content-visibility: visible !important;
}

.archive-thread-comments .comment {
  animation: none !important;
  transform: none !important;
  contain: none !important;
}

.archive-thread-comments .inline-reply-form {
  animation: reply-form-fast-fade 170ms ease-out both !important;
  transform: none !important;
  filter: none !important;
  will-change: opacity !important;
}

.archive-thread-comments .comment__children > .comment__replies--threaded {
  animation: reply-thread-fast-fade 150ms ease-out both !important;
  transform: none !important;
  filter: none !important;
  will-change: opacity !important;
}

.archive-thread-comments .comment-action,
.archive-thread-comments .comment-collapse,
.archive-thread-comments .inline-reply-form button,
.archive-thread-comments .comment-form button {
  transition:
    color 150ms ease,
    border-color 150ms ease,
    background-color 150ms ease,
    opacity 150ms ease !important;
  transform: none !important;
  filter: none !important;
}

.archive-thread-comments .inline-reply-form,
  .archive-thread-comments .comment__children > .comment__replies--threaded {
    animation: none !important;
  }

/* Remove ghost tree rails from older nested-tree rules; keep only the active row rail + arm. */
.archive-thread-comments .comment__children::before,
.archive-thread-comments .comment__children::after,
.archive-thread-comments .comment__replies::before,
.archive-thread-comments .comment__replies::after,
.archive-thread-comments .comment__replies--threaded::before,
.archive-thread-comments .comment__replies--threaded::after,
.archive-thread-comments .comment::before,
.archive-thread-comments .comment::after {
  content: none !important;
  display: none !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

.archive-thread-comments .comment__children > .comment__replies--threaded > .comment__reply-branch-row::before {
  content: "" !important;
  display: block !important;
}

.archive-thread-comments .comment__children > .comment__replies--threaded > .comment__reply-branch-row > .comment__branch-elbow {
  display: block !important;
}

/* Nudge Svara/Gilla action row slightly lower on every comment/reply card. */
.archive-thread-comments .comment > .comment__actions {
  margin-top: 1.15rem !important;
}

/* One more small downward nudge for Svara/Gilla. */
.archive-thread-comments .comment > .comment__actions {
  margin-top: 1.38rem !important;
}

/* Stronger downward placement for Svara/Gilla action row. */
.archive-thread-comments .comment > .comment__body + .comment__actions,
.archive-thread-comments .comment > .comment__actions {
  margin-top: 1.85rem !important;
  padding-top: 0 !important;
}

/* Correct action spacing: no extra space above Svara/Gilla, less empty space below them. */
.archive-thread-comments .comment > .comment__body + .comment__actions,
.archive-thread-comments .comment > .comment__actions {
  margin-top: 0.72rem !important;
  margin-bottom: 0 !important;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}

.archive-thread-comments .comment,
.archive-thread-comments .comment.comment--has-replies.comment--collapsed {
  padding-bottom: 0.58rem !important;
}
.archive-thread-comments .comment__reply-branch-row::after,
.archive-thread-comments .comment__children::before,
.archive-thread-comments .comment__children::after,
.archive-thread-comments .comment__replies::before,
.archive-thread-comments .comment__replies::after,
.archive-thread-comments .comment__replies--threaded::before,
.archive-thread-comments .comment__replies--threaded::after,
.archive-thread-comments .comment::before,
.archive-thread-comments .comment::after {
  content: none !important;
  display: none !important;
  background: none !important;
  border: 0 !important;
  box-shadow: none !important;
}
/* GENERATED archive tree mirrors main comment tree: end */

/* Keep the mirrored main/archive tree branches visible in narrow layouts too. */
#commentThread .comment__reply-branch-row,
.archive-thread-comments .comment__reply-branch-row {
  --branch-gap: max(1.22rem, calc(var(--tree-indent, 2.7rem) - var(--tree-rail-x, 0.62rem))) !important;
}

.archive-thread-comments .comment > .comment__children {
  display: block !important;
  max-height: 4200px !important;
  opacity: 1 !important;
  overflow: visible !important;
  transition:
    opacity 180ms ease,
    max-height 220ms ease !important;
}

.archive-thread-comments .comment.comment--collapsed > .comment__children {
  display: block !important;
  max-height: 0 !important;
  opacity: 0 !important;
  overflow: hidden !important;
  pointer-events: none !important;
}

.archive-thread-comments .comment.comment--has-replies.comment--collapsed > .comment__children {
  display: block !important;
  height: auto !important;
  min-height: 0 !important;
  max-height: 0 !important;
  opacity: 0 !important;
  overflow: hidden !important;
  padding: 0 !important;
  pointer-events: none !important;
}

.archive-thread-comments .comment.comment--has-replies.comment--collapsed > .comment__children > * {
  display: block !important;
}

/* Let comment text use the full available card width instead of a narrow character column. */
#commentThread .comment__body,
.archive-thread-comments .comment__body,
.comment__body {
  width: 100% !important;
  max-width: none !important;
  box-sizing: border-box !important;
}

.search-modal {
  width: min(820px, 100%) !important;
}

.search-modal__form {
  margin: 0 0 1.2rem;
}

.search-modal__form input {
  width: 100%;
  border: 1px solid rgba(207, 136, 133, 0.2);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.62);
  color: rgba(77, 71, 68, 0.82);
  font-family: var(--font-montserrat-light);
  font-size: 1rem;
  padding: 0.85rem 1.1rem;
  outline: none;
  transition: border-color 180ms ease, box-shadow 180ms ease, background-color 180ms ease;
}

.search-modal__form input:focus {
  border-color: rgba(207, 136, 133, 0.36);
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 0 18px rgba(207, 136, 133, 0.15);
}

.search-modal__results {
  display: grid;
  gap: 0.65rem;
}

.search-modal__summary {
  margin: 0 0 0.2rem !important;
  font-family: var(--font-montserrat-light) !important;
  font-size: 0.95rem !important;
  color: rgba(77, 71, 68, 0.62) !important;
}

.search-result {
  display: grid;
  gap: 0.38rem;
  width: 100%;
  border: 1px solid rgba(207, 136, 133, 0.14);
  border-radius: 1.15rem;
  background: rgba(255, 255, 255, 0.52);
  color: rgba(77, 71, 68, 0.78);
  cursor: pointer;
  padding: 0.9rem 1rem;
  text-align: left;
  transition: background-color 200ms ease, border-color 200ms ease, box-shadow 220ms ease;
}

.search-result:hover,
.search-result:focus-visible {
  border-color: rgba(207, 136, 133, 0.24);
  background: rgba(255, 255, 255, 0.68);
  box-shadow: 0 0 16px rgba(207, 136, 133, 0.13);
  outline: none;
}

.search-result__top {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  font-family: var(--font-montserrat-light);
}

.search-result__top strong {
  color: rgba(77, 71, 68, 0.88);
  font-weight: 400;
}

.search-result__top time,
.search-result__thread {
  color: rgba(77, 71, 68, 0.52);
  font-family: var(--font-montserrat-light);
  font-size: 0.82rem;
}

.search-result__snippet {
  color: rgba(77, 71, 68, 0.74);
  font-family: var(--font-montserrat-extralight);
  font-size: 0.96rem;
  line-height: 1.45;
}

.comment--search-hit {
  box-shadow:
    0 0 0 1px rgba(207, 136, 133, 0.18),
    0 0 26px rgba(207, 136, 133, 0.16) !important;
  transition: box-shadow 260ms ease !important;
}

@media (max-width: 760px) {
  .search-result__top {
    display: grid;
    gap: 0.2rem;
  }
}

/* Archive containment: keep archived comments/replies inside the archive panel. */
.archive-thread-panel,
.archive-thread-comments {
  max-width: 100% !important;
  overflow-x: hidden !important;
}

.archive-thread-comments,
.archive-thread-comments * {
  box-sizing: border-box !important;
  min-width: 0 !important;
}

.archive-thread-comments .comment,
.archive-thread-comments .comment--level-0,
.archive-thread-comments .comment--level-1,
.archive-thread-comments .comment--level-2,
.archive-thread-comments .comment--level-3,
.archive-thread-comments .comment--level-4 {
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  overflow: hidden !important;
}

.archive-thread-comments .comment__children,
.archive-thread-comments .comment__replies,
.archive-thread-comments .comment__replies--threaded {
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  margin-right: 0 !important;
  overflow: visible !important;
}

.archive-thread-comments .comment > .comment__children {
  width: calc(100% + var(--branch-gap, 1.22rem)) !important;
  max-width: none !important;
  margin-left: calc(-1 * var(--branch-gap, 1.22rem)) !important;
  margin-right: 0 !important;
  padding-left: 0 !important;
}

.archive-thread-comments .comment__reply-branch-row {
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  margin-right: 0 !important;
  padding-right: 0 !important;
  overflow: visible !important;
}

.archive-thread-comments .comment__reply-branch-row > .comment,
.archive-thread-comments .comment__reply-branch-row > .comment > .comment__children,
.archive-thread-comments .comment__reply-branch-row > .comment > .comment__children > .comment__replies--threaded {
  width: 100% !important;
  min-width: 0 !important;
  margin-right: 0 !important;
}

.archive-thread-comments .comment__reply-branch-row > .comment > .comment__children {
  width: calc(100% + var(--branch-gap, 1.22rem)) !important;
  max-width: none !important;
  margin-left: calc(-1 * var(--branch-gap, 1.22rem)) !important;
}

.archive-thread-comments .comment__header,
.archive-thread-comments .comment__meta,
.archive-thread-comments .comment__body,
.archive-thread-comments .comment__actions {
  max-width: 100% !important;
  min-width: 0 !important;
  overflow: hidden !important;
}

.archive-thread-comments .comment__body {
  overflow-wrap: anywhere !important;
  word-break: normal !important;
}

.archive-thread-comments .comment__actions {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 0.72rem !important;
  width: 100% !important;
}

.archive-thread-comments .comment-action {
  flex: 0 1 auto !important;
  min-width: 0 !important;
}

.archive-thread-comments .comment-action[data-action="like"] {
  margin-left: auto !important;
}

.archive-thread-comments .comment__time {
  max-width: 100% !important;
  overflow: hidden !important;
  text-overflow: clip !important;
}

.archive-thread-comments .comment__reply-branch-row > .comment.comment--level-4 {
  margin-left: -1.2rem !important;
}

.archive-thread-comments .comment__children > .comment__replies--threaded > .comment__reply-branch-row > .comment.comment--level-4 {
  transform: translateX(-1.2rem) !important;
}

/* Archive tree geometry restore: keep archived comments contained without changing the tree layout. */
.archive-thread-comments {
  max-width: 100% !important;
  overflow-x: clip !important;
}

.archive-thread-comments .comment,
.archive-thread-comments .comment--level-0,
.archive-thread-comments .comment--level-1,
.archive-thread-comments .comment--level-2,
.archive-thread-comments .comment--level-3,
.archive-thread-comments .comment--level-4,
.archive-thread-comments .comment__reply-branch-row > .comment,
.archive-thread-comments .comment__children > .comment__replies--threaded > .comment__reply-branch-row > .comment.comment--level-4 {
  width: auto !important;
  max-width: 100% !important;
  min-width: 0 !important;
  overflow: visible !important;
  transform: none !important;
}

.archive-thread-comments .comment > .comment__children,
.archive-thread-comments .comment__reply-branch-row > .comment > .comment__children,
.archive-thread-comments .comment__reply-branch-row > .comment > .comment__children > .comment__replies--threaded {
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  padding-left: 0 !important;
  overflow: visible !important;
}

.archive-thread-comments .comment__reply-branch-row {
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  margin-right: 0 !important;
  overflow: visible !important;
}

.archive-thread-comments .comment__reply-branch-row::before,
.archive-thread-comments .comment__reply-branch-row::after,
.archive-thread-comments .comment__children::before,
.archive-thread-comments .comment__children::after,
.archive-thread-comments .comment__replies--threaded::before,
.archive-thread-comments .comment__replies--threaded::after {
  box-sizing: border-box !important;
}

.archive-thread-comments .comment__body,
.archive-thread-comments .comment__header,
.archive-thread-comments .comment__meta,
.archive-thread-comments .comment__actions {
  min-width: 0 !important;
  max-width: 100% !important;
}

.archive-thread-comments .comment__body {
  overflow-wrap: anywhere !important;
}

/* Archive list and panel containment: prevent the archive controls from pushing comment trees sideways. */
.section--archive,
.section--archive * {
  box-sizing: border-box !important;
  min-width: 0 !important;
}

.archive-list,
.archive-btn,
.archive-thread-panel,
.archive-thread-panel .comment-thread {
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
}

.archive-btn {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 0.8rem !important;
  overflow: hidden !important;
}

.archive-btn > *,
.archive-btn span {
  min-width: 0 !important;
  overflow-wrap: anywhere !important;
}

.archive-thread-panel {
  overflow-x: clip !important;
}

/* Final archive tree fix: stable branch grid, contained cards, and no endless right-stair nesting. */
.archive-thread-comments {
  --archive-tree-indent: clamp(1.05rem, 2.5vw, 1.55rem) !important;
  --archive-tree-rail-x: 0.34rem !important;
  --archive-branch-gap: calc(var(--archive-tree-indent) - var(--archive-tree-rail-x)) !important;
  max-width: 100% !important;
  overflow-x: clip !important;
}

.archive-thread-comments .comment {
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  overflow: visible !important;
  transform: none !important;
}

.archive-thread-comments .comment__children {
  --tree-indent: var(--archive-tree-indent) !important;
  --tree-rail-x: var(--archive-tree-rail-x) !important;
  --branch-gap: var(--archive-branch-gap) !important;
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  padding-left: var(--archive-tree-indent) !important;
  overflow: visible !important;
}

.archive-thread-comments .comment__children > .comment__replies--threaded {
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  margin: 0.28rem 0 0 !important;
  padding: 0 !important;
  display: grid !important;
  gap: 0.54rem !important;
  overflow: visible !important;
}

.archive-thread-comments .comment__reply-branch-row {
  --branch-gap: var(--archive-branch-gap) !important;
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  display: grid !important;
  grid-template-columns: var(--archive-branch-gap) minmax(0, 1fr) !important;
  align-items: stretch !important;
  overflow: visible !important;
}

.archive-thread-comments .comment__reply-branch-row > .comment__branch-elbow {
  grid-column: 1 !important;
  width: var(--archive-branch-gap) !important;
  min-width: var(--archive-branch-gap) !important;
  max-width: var(--archive-branch-gap) !important;
}

.archive-thread-comments .comment__reply-branch-row > .comment {
  grid-column: 2 !important;
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  margin: 0 !important;
  transform: none !important;
}

.archive-thread-comments .comment--level-4 .comment__children {
  --archive-tree-indent: 0rem !important;
  --archive-tree-rail-x: 0rem !important;
  --archive-branch-gap: 0rem !important;
  padding-left: 0 !important;
}

.archive-thread-comments .comment--level-4 .comment__reply-branch-row {
  grid-template-columns: 0 minmax(0, 1fr) !important;
}

.archive-thread-comments .comment--level-4 .comment__reply-branch-row > .comment__branch-elbow {
  width: 0 !important;
  min-width: 0 !important;
  max-width: 0 !important;
  opacity: 0 !important;
}

.archive-thread-comments .comment__header,
.archive-thread-comments .comment__body,
.archive-thread-comments .comment__actions {
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
}

/* Archive tree visual correction: preserve width and stop clipping actions/text. */
.archive-thread-comments {
  --archive-tree-indent: clamp(0.72rem, 1.8vw, 1.18rem) !important;
  --archive-tree-rail-x: 0.24rem !important;
  --archive-branch-gap: calc(var(--archive-tree-indent) - var(--archive-tree-rail-x)) !important;
}

.archive-thread-comments .comment__children {
  padding-left: var(--archive-tree-indent) !important;
}

.archive-thread-comments .comment--level-3 .comment__children,
.archive-thread-comments .comment--level-4 .comment__children {
  --archive-tree-indent: 0rem !important;
  --archive-tree-rail-x: 0rem !important;
  --archive-branch-gap: 0rem !important;
  padding-left: 0 !important;
}

.archive-thread-comments .comment--level-3 .comment__reply-branch-row,
.archive-thread-comments .comment--level-4 .comment__reply-branch-row {
  grid-template-columns: 0 minmax(0, 1fr) !important;
}

.archive-thread-comments .comment--level-3 .comment__reply-branch-row > .comment__branch-elbow,
.archive-thread-comments .comment--level-4 .comment__reply-branch-row > .comment__branch-elbow {
  width: 0 !important;
  min-width: 0 !important;
  max-width: 0 !important;
  opacity: 0 !important;
}

.archive-thread-comments .comment__header,
.archive-thread-comments .comment__body,
.archive-thread-comments .comment__actions,
.archive-thread-comments .comment__meta {
  overflow: visible !important;
  text-overflow: clip !important;
}

.archive-thread-comments .comment-action {
  min-width: max-content !important;
  flex-shrink: 0 !important;
}

.archive-thread-comments .comment__actions {
  gap: 0.45rem !important;
}

/* Archive tree mobile/readability correction: after two reply levels, keep replies stacked at full card width. */
.archive-thread-comments .comment--level-2 .comment__children,
.archive-thread-comments .comment--level-3 .comment__children,
.archive-thread-comments .comment--level-4 .comment__children {
  --archive-tree-indent: 0rem !important;
  --archive-tree-rail-x: 0rem !important;
  --archive-branch-gap: 0rem !important;
  padding-left: 0 !important;
}

.archive-thread-comments .comment--level-2 .comment__reply-branch-row,
.archive-thread-comments .comment--level-3 .comment__reply-branch-row,
.archive-thread-comments .comment--level-4 .comment__reply-branch-row {
  grid-template-columns: 0 minmax(0, 1fr) !important;
}

.archive-thread-comments .comment--level-2 .comment__reply-branch-row > .comment__branch-elbow,
.archive-thread-comments .comment--level-3 .comment__reply-branch-row > .comment__branch-elbow,
.archive-thread-comments .comment--level-4 .comment__reply-branch-row > .comment__branch-elbow {
  width: 0 !important;
  min-width: 0 !important;
  max-width: 0 !important;
  opacity: 0 !important;
}

/* Archive comment headers should wrap instead of clipping names/dates in narrow archived trees. */
.archive-thread-comments .comment__header {
  flex-wrap: wrap !important;
  align-items: flex-start !important;
  row-gap: 0.18rem !important;
  overflow: visible !important;
}

.archive-thread-comments .comment__user {
  min-width: 0 !important;
  max-width: 100% !important;
  overflow: visible !important;
  text-overflow: clip !important;
  white-space: normal !important;
}

.archive-thread-comments .comment__meta {
  flex: 0 1 auto !important;
  min-width: 0 !important;
  max-width: 100% !important;
  overflow: visible !important;
}

/* Etik i natten poll labels: prevent option text from being squeezed into single-letter columns. */
.etik-modal__paper .etik-display__option-label,
.etik-display__option-label {
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  display: block !important;
  justify-self: stretch !important;
  text-align: center !important;
  white-space: normal !important;
  overflow: visible !important;
  text-overflow: clip !important;
  overflow-wrap: normal !important;
  word-break: normal !important;
  hyphens: none !important;
}

.etik-modal__paper .etik-display__option,
.etik-display__option {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) !important;
  justify-items: stretch !important;
  align-items: center !important;
  text-align: center !important;
  overflow: visible !important;
}

/* Restore latest activity sizing: desktop keeps three cards, narrow screens use readable full-width cards again. */
.section--activity {
  padding: clamp(1rem, 2vw, 1.45rem) !important;
}

#activityList,
.section--activity #activityList,
.section--activity .activity-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 0.8rem !important;
}

#activityList > *,
.section--activity #activityList > * {
  padding: 0.9rem 0.95rem !important;
  border-left-width: 2px !important;
  border-radius: 1rem !important;
}

.activity-card__top {
  display: flex !important;
  justify-content: space-between !important;
  gap: 0.75rem !important;
}

#activityList .activity-card__name {
  font-size: 0.95rem !important;
  line-height: 1.15 !important;
}

.activity-card__time {
  font-size: 0.72rem !important;
  line-height: 1.25 !important;
  white-space: normal !important;
}

#activityList .activity-card__snippet {
  margin: 0.42rem 0 0.62rem !important;
  font-size: 0.86rem !important;
  line-height: 1.35 !important;
  -webkit-line-clamp: 2 !important;
}

#activityList .activity-card__jump,
#activityList button.activity-card__jump {
  margin-top: 0 !important;
  padding: 0.45rem 0.72rem !important;
  font-size: 0.75rem !important;
  line-height: 1.16 !important;
}

@media (max-width: 760px) {
  .section--activity {
    width: min(100% - 1.2rem, 1020px) !important;
    padding: 1.05rem 1.1rem !important;
    border-radius: 1.1rem !important;
  }

  .section--activity #activityTitle {
    font-size: clamp(1.55rem, 7vw, 1.9rem) !important;
  }

  .section--activity #activityTitle + p {
    font-size: 0.9rem !important;
    margin-bottom: 0.9rem !important;
  }

  #activityList,
  .section--activity #activityList,
  .section--activity .activity-grid {
    grid-template-columns: 1fr !important;
    gap: 0.72rem !important;
  }

  #activityList > *,
  .section--activity #activityList > * {
    padding: 0.9rem 0.95rem !important;
    border-left-width: 2px !important;
    border-radius: 1rem !important;
  }

  .activity-card__top {
    display: flex !important;
  }

  #activityList .activity-card__name {
    font-size: 0.95rem !important;
    white-space: normal !important;
  }

  .activity-card__time {
    margin-top: 0 !important;
    font-size: 0.72rem !important;
  }

  #activityList .activity-card__snippet {
    font-size: 0.86rem !important;
    line-height: 1.35 !important;
    -webkit-line-clamp: 2 !important;
  }

  #activityList .activity-card__jump,
  #activityList button.activity-card__jump {
    padding: 0.45rem 0.72rem !important;
    font-size: 0.75rem !important;
  }
}
/* Final width tuning: latest activity should read as a smaller card than the main thread card. */
.section--activity {
  width: min(940px, calc(100% - 5.6rem)) !important;
  margin-right: auto !important;
  margin-left: auto !important;
}

@media (max-width: 760px) {
  .section--activity {
    width: min(100% - 1.2rem, 940px) !important;
  }
}

/* Final width tuning: latest activity should read as a smaller card than the main thread card. */
.section--activity {
  width: min(940px, calc(100% - 5.6rem)) !important;
  margin-right: auto !important;
  margin-left: auto !important;
}

@media (max-width: 760px) {
  .section--activity {
    width: min(100% - 1.2rem, 940px) !important;
  }
}

/* Final archive tree parity: archived threads use the same connected reply tree model as the active thread. */
.archive-thread-comments {
  --reply-tree-line-width: 1px !important;
  --reply-tree-line-color: rgba(196, 145, 142, 0.48) !important;
  --reply-tree-joint-y: 1.62rem !important;
  --reply-tree-fade-length: 1.65rem !important;
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  overflow-x: clip !important;
}

.archive-thread-comments,
.archive-thread-comments * {
  box-sizing: border-box !important;
}

.archive-thread-comments .comment,
.archive-thread-comments .comment--level-0,
.archive-thread-comments .comment--level-1,
.archive-thread-comments .comment--level-2,
.archive-thread-comments .comment--level-3,
.archive-thread-comments .comment--level-4 {
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  overflow: visible !important;
  transform: none !important;
  contain: none !important;
}

.archive-thread-comments .comment__children,
.archive-thread-comments .comment--level-2 .comment__children,
.archive-thread-comments .comment--level-3 .comment__children,
.archive-thread-comments .comment--level-4 .comment__children {
  --tree-rail-x: 0.62rem !important;
  --tree-indent: clamp(4.35rem, 6.2vw, 5.25rem) !important;
  position: relative !important;
  display: block !important;
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  margin: 0.48rem 0 0 !important;
  padding-left: var(--tree-indent) !important;
  overflow: visible !important;
  opacity: 1 !important;
  pointer-events: auto !important;
}

.archive-thread-comments .comment__children .comment__children,
.archive-thread-comments .comment--level-2 .comment__children .comment__children,
.archive-thread-comments .comment--level-3 .comment__children .comment__children,
.archive-thread-comments .comment--level-4 .comment__children .comment__children {
  --tree-rail-x: 0.55rem !important;
  --tree-indent: clamp(3.45rem, 5vw, 4.25rem) !important;
}

.archive-thread-comments .comment__children > .comment__replies--threaded,
.archive-thread-comments .comment--level-2 .comment__children > .comment__replies--threaded,
.archive-thread-comments .comment--level-3 .comment__children > .comment__replies--threaded,
.archive-thread-comments .comment--level-4 .comment__children > .comment__replies--threaded {
  position: relative !important;
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) !important;
  gap: 0 !important;
  row-gap: 0 !important;
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  overflow: visible !important;
  animation: none !important;
  transform: none !important;
  filter: none !important;
}

.archive-thread-comments .comment__reply-branch-row,
.archive-thread-comments .comment--level-2 .comment__reply-branch-row,
.archive-thread-comments .comment--level-3 .comment__reply-branch-row,
.archive-thread-comments .comment--level-4 .comment__reply-branch-row {
  --tree-rail-x: 1.37rem !important;
  --branch-gap: max(1.22rem, calc(var(--tree-indent, 2.7rem) - var(--tree-rail-x, 0.62rem))) !important;
  position: relative !important;
  display: block !important;
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: visible !important;
  contain: none !important;
}

.archive-thread-comments .comment__reply-branch-row > .comment,
.archive-thread-comments .comment--level-2 .comment__reply-branch-row > .comment,
.archive-thread-comments .comment--level-3 .comment__reply-branch-row > .comment,
.archive-thread-comments .comment--level-4 .comment__reply-branch-row > .comment {
  display: block !important;
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  margin: 0 !important;
  transform: none !important;
}

.archive-thread-comments .comment__children::before,
.archive-thread-comments .comment__children::after,
.archive-thread-comments .comment__replies::before,
.archive-thread-comments .comment__replies::after,
.archive-thread-comments .comment__replies--threaded::before,
.archive-thread-comments .comment__replies--threaded::after,
.archive-thread-comments .comment::before,
.archive-thread-comments .comment::after,
.archive-thread-comments .comment__children > .comment__replies--threaded > .comment::before,
.archive-thread-comments .comment__children > .comment__replies--threaded > .comment::after,
.archive-thread-comments .comment__children > .comment__replies--threaded > .comment__reply-branch-row::after {
  content: none !important;
  display: none !important;
  width: 0 !important;
  height: 0 !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

.archive-thread-comments .comment__children > .comment__replies--threaded > .comment__reply-branch-row::before {
  content: "" !important;
  position: absolute !important;
  left: calc(-1 * var(--branch-gap)) !important;
  top: 0 !important;
  bottom: 0 !important;
  width: 0 !important;
  height: auto !important;
  display: block !important;
  border: 0 !important;
  border-left: var(--reply-tree-line-width) solid var(--reply-tree-line-color) !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  opacity: 1 !important;
  pointer-events: none !important;
  z-index: 12 !important;
}

.archive-thread-comments .comment__children > .comment__replies--threaded > .comment__reply-branch-row:first-child::before {
  border-left: 0 !important;
  width: var(--reply-tree-line-width) !important;
  background: linear-gradient(
    to bottom,
    transparent 0,
    rgba(196, 145, 142, 0.12) 0.5rem,
    rgba(196, 145, 142, 0.32) 1rem,
    var(--reply-tree-line-color) 1.45rem,
    var(--reply-tree-line-color) 100%
  ) !important;
}

.archive-thread-comments .comment__children > .comment__replies--threaded > .comment__reply-branch-row:last-child::before {
  top: 0 !important;
  bottom: auto !important;
  height: var(--reply-tree-joint-y) !important;
}

.archive-thread-comments .comment__children > .comment__replies--threaded > .comment__reply-branch-row > .comment__branch-elbow,
.archive-thread-comments .comment--level-2 .comment__reply-branch-row > .comment__branch-elbow,
.archive-thread-comments .comment--level-3 .comment__reply-branch-row > .comment__branch-elbow,
.archive-thread-comments .comment--level-4 .comment__reply-branch-row > .comment__branch-elbow {
  position: absolute !important;
  left: calc(-1 * var(--branch-gap)) !important;
  top: var(--reply-tree-joint-y) !important;
  display: block !important;
  width: var(--branch-gap) !important;
  min-width: 0 !important;
  max-width: none !important;
  height: var(--reply-tree-line-width) !important;
  min-height: var(--reply-tree-line-width) !important;
  max-height: var(--reply-tree-line-width) !important;
  box-sizing: border-box !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: linear-gradient(
    to right,
    var(--reply-tree-line-color) 0%,
    var(--reply-tree-line-color) calc(100% - var(--reply-tree-fade-length)),
    transparent 100%
  ) !important;
  box-shadow: none !important;
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: none !important;
  z-index: 13 !important;
}

.archive-thread-comments .comment__branch-elbow::before,
.archive-thread-comments .comment__branch-elbow::after,
.archive-thread-comments .comment__branch-svg,
.archive-thread-comments .comment__branch-svg path,
.archive-thread-comments .comment__branch-stem,
.archive-thread-comments .comment__branch-arm,
.archive-thread-comments .comment__branch-arm::before,
.archive-thread-comments .comment__branch-arm::after {
  content: none !important;
  display: none !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

.archive-thread-comments .comment__reply-branch-row > .comment > .comment__children,
.archive-thread-comments .comment__reply-branch-row > .comment > .comment__children > .comment__replies--threaded {
  width: auto !important;
  max-width: none !important;
  margin-right: -1rem !important;
}

.archive-thread-comments .comment.comment--collapsed > .comment__children,
.archive-thread-comments .comment.comment--has-replies.comment--collapsed > .comment__children {
  display: none !important;
  height: 0 !important;
  min-height: 0 !important;
  max-height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  opacity: 0 !important;
  overflow: hidden !important;
  pointer-events: none !important;
}

.archive-thread-comments .comment__header,
.archive-thread-comments .comment__meta,
.archive-thread-comments .comment__body,
.archive-thread-comments .comment__actions {
  min-width: 0 !important;
  max-width: 100% !important;
  overflow: visible !important;
}

.archive-thread-comments .comment__body {
  width: 100% !important;
  max-width: none !important;
  overflow-wrap: anywhere !important;
}

@media (max-width: 760px) {
  .archive-thread-comments {
    overflow-x: hidden !important;
  }

  .archive-thread-comments .comment__children,
  .archive-thread-comments .comment--level-2 .comment__children,
  .archive-thread-comments .comment--level-3 .comment__children,
  .archive-thread-comments .comment--level-4 .comment__children {
    --tree-indent: clamp(1.35rem, 5vw, 1.85rem) !important;
    --tree-rail-x: clamp(0.78rem, 3vw, 1.05rem) !important;
    padding-left: var(--tree-indent) !important;
    margin-right: 0 !important;
    width: auto !important;
    max-width: 100% !important;
  }

  .archive-thread-comments .comment__children .comment__children,
  .archive-thread-comments .comment--level-2 .comment__children .comment__children,
  .archive-thread-comments .comment--level-3 .comment__children .comment__children,
  .archive-thread-comments .comment--level-4 .comment__children .comment__children {
    --tree-indent: clamp(1.05rem, 4vw, 1.45rem) !important;
    padding-left: var(--tree-indent) !important;
    margin-right: 0 !important;
  }

  .archive-thread-comments .comment__reply-branch-row > .comment > .comment__children,
  .archive-thread-comments .comment__reply-branch-row > .comment > .comment__children > .comment__replies--threaded {
    margin-right: 0 !important;
    max-width: 100% !important;
  }
}

/* Final responsive activity layout: keep latest-activity cards beside each other and shrink them instead of stacking. */
.section--activity #activityList,
.section--activity .activity-grid,
#activityList {
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  align-items: stretch !important;
}

.section--activity #activityList > *,
#activityList > * {
  min-width: 0 !important;
  overflow: hidden !important;
}

@media (max-width: 760px) {
  .section--activity {
    width: min(100% - 1rem, 940px) !important;
    padding: 0.9rem !important;
  }

  .section--activity #activityList,
  .section--activity .activity-grid,
  #activityList {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: clamp(0.34rem, 1.7vw, 0.62rem) !important;
  }

  .section--activity #activityList > *,
  #activityList > * {
    padding: clamp(0.58rem, 2vw, 0.82rem) !important;
    border-radius: 0.86rem !important;
  }

  .activity-card__top {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 0.18rem !important;
  }

  #activityList .activity-card__name {
    font-size: clamp(0.7rem, 2.9vw, 0.9rem) !important;
    line-height: 1.1 !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
  }

  .activity-card__time {
    font-size: clamp(0.58rem, 2.25vw, 0.7rem) !important;
    line-height: 1.15 !important;
    white-space: normal !important;
  }

  #activityList .activity-card__snippet {
    margin: 0.35rem 0 0.48rem !important;
    font-size: clamp(0.68rem, 2.7vw, 0.82rem) !important;
    line-height: 1.26 !important;
    -webkit-line-clamp: 2 !important;
  }

  #activityList .activity-card__jump,
  #activityList button.activity-card__jump {
    padding: 0.32rem 0.5rem !important;
    font-size: clamp(0.62rem, 2.45vw, 0.74rem) !important;
  }
}

@media (max-width: 430px) {
  .section--activity {
    width: min(100% - 0.7rem, 940px) !important;
    padding: 0.72rem !important;
  }

  .section--activity #activityList,
  .section--activity .activity-grid,
  #activityList {
    gap: 0.28rem !important;
  }

  .section--activity #activityList > *,
  #activityList > * {
    padding: 0.5rem 0.42rem !important;
  }
}

/* Final archive-only override: remove reply tree visuals from archived threads without touching the active thread. */
.archive-thread-comments .comment__reply-branch-row,
.archive-thread-comments .comment--level-2 .comment__reply-branch-row,
.archive-thread-comments .comment--level-3 .comment__reply-branch-row,
.archive-thread-comments .comment--level-4 .comment__reply-branch-row {
  display: block !important;
  width: 100% !important;
  max-width: 100% !important;
  margin: 0.72rem 0 0 !important;
  padding: 0 !important;
  overflow: visible !important;
}

.archive-thread-comments .comment__children,
.archive-thread-comments .comment--level-2 .comment__children,
.archive-thread-comments .comment--level-3 .comment__children,
.archive-thread-comments .comment--level-4 .comment__children,
.archive-thread-comments .comment__children .comment__children {
  display: block !important;
  width: 100% !important;
  max-width: 100% !important;
  margin: 0.72rem 0 0 !important;
  padding-left: 0 !important;
  overflow: visible !important;
}

.archive-thread-comments .comment__children > .comment__replies--threaded,
.archive-thread-comments .comment--level-2 .comment__children > .comment__replies--threaded,
.archive-thread-comments .comment--level-3 .comment__children > .comment__replies--threaded,
.archive-thread-comments .comment--level-4 .comment__children > .comment__replies--threaded {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) !important;
  gap: 0.72rem !important;
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
}

.archive-thread-comments .comment__reply-branch-row > .comment,
.archive-thread-comments .comment--level-2 .comment__reply-branch-row > .comment,
.archive-thread-comments .comment--level-3 .comment__reply-branch-row > .comment,
.archive-thread-comments .comment--level-4 .comment__reply-branch-row > .comment {
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 !important;
  transform: none !important;
}

.archive-thread-comments .comment__branch-elbow,
.archive-thread-comments .comment__branch-elbow::before,
.archive-thread-comments .comment__branch-elbow::after,
.archive-thread-comments .comment__branch-svg,
.archive-thread-comments .comment__branch-svg path,
.archive-thread-comments .comment__branch-stem,
.archive-thread-comments .comment__branch-arm,
.archive-thread-comments .comment__branch-arm::before,
.archive-thread-comments .comment__branch-arm::after,
.archive-thread-comments .comment__children::before,
.archive-thread-comments .comment__children::after,
.archive-thread-comments .comment__replies::before,
.archive-thread-comments .comment__replies::after,
.archive-thread-comments .comment__replies--threaded::before,
.archive-thread-comments .comment__replies--threaded::after,
.archive-thread-comments .comment__reply-branch-row::before,
.archive-thread-comments .comment__reply-branch-row::after {
  content: none !important;
  display: none !important;
  width: 0 !important;
  height: 0 !important;
  min-width: 0 !important;
  min-height: 0 !important;
  max-width: 0 !important;
  max-height: 0 !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  opacity: 0 !important;
}

.archive-thread-comments .comment.comment--collapsed > .comment__children,
.archive-thread-comments .comment.comment--has-replies.comment--collapsed > .comment__children {
  display: none !important;
  height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: hidden !important;
}

/* Final Etik i natten polish: lift the text area one line and make only this popup snappier/softer. */
.etik-modal__paper .etik-display {
  top: 31.2% !important;
  bottom: 12.8% !important;
  transition: opacity 150ms ease 35ms !important;
}

.etik-modal-overlay {
  transition:
    opacity 170ms ease,
    visibility 170ms ease,
    -webkit-backdrop-filter 190ms cubic-bezier(0.2, 0.72, 0.22, 1),
    backdrop-filter 190ms cubic-bezier(0.2, 0.72, 0.22, 1) !important;
}

.etik-modal-overlay .etik-modal {
  transform: translate3d(0, 0.35rem, 0) scale(0.986) !important;
  transition:
    opacity 150ms ease,
    transform 190ms cubic-bezier(0.18, 0.86, 0.22, 1) !important;
}

.etik-modal-overlay.is-open .etik-modal {
  opacity: 1 !important;
  transform: translate3d(0, 0, 0) scale(1) !important;
}

.etik-modal-overlay.is-closing .etik-modal {
  opacity: 0 !important;
  transform: translate3d(0, 0.26rem, 0) scale(0.992) !important;
  transition:
    opacity 120ms ease,
    transform 165ms cubic-bezier(0.22, 0, 0.22, 1) !important;
}

.etik-modal-overlay.is-closing .etik-display {
  opacity: 0 !important;
  transition: opacity 105ms ease !important;
}

/* Etik close button placement: slightly lower and further left on the artwork. */
.etik-modal__close {
  top: clamp(0.35rem, 1.05cqw, 0.92rem) !important;
  right: 5.75% !important;
}

/* Absolute final archive cleanup: no tree/tick/separator lines may remain in archived threads. */
.archive-thread-comments .comment__reply-tick,
.archive-thread-comments .comment-collapse--tree,
.archive-thread-comments .comment__branch-elbow,
.archive-thread-comments .comment__branch-elbow *,
.archive-thread-comments .comment__branch-svg,
.archive-thread-comments .comment__branch-svg *,
.archive-thread-comments .comment__branch-stem,
.archive-thread-comments .comment__branch-arm,
.archive-thread-comments .comment__branch-arm::before,
.archive-thread-comments .comment__branch-arm::after {
  content: none !important;
  display: none !important;
  visibility: hidden !important;
  width: 0 !important;
  height: 0 !important;
  min-width: 0 !important;
  min-height: 0 !important;
  max-width: 0 !important;
  max-height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  opacity: 0 !important;
}

.archive-thread-comments .comment__children,
.archive-thread-comments .comment__replies,
.archive-thread-comments .comment__replies--threaded,
.archive-thread-comments .comment__reply-branch-row {
  border-left: 0 !important;
  border-top: 0 !important;
  background-image: none !important;
  box-shadow: none !important;
}

.archive-thread-comments .comment__reply-branch-row::before,
.archive-thread-comments .comment__reply-branch-row::after,
.archive-thread-comments .comment__children::before,
.archive-thread-comments .comment__children::after,
.archive-thread-comments .comment__replies::before,
.archive-thread-comments .comment__replies::after,
.archive-thread-comments .comment__replies--threaded::before,
.archive-thread-comments .comment__replies--threaded::after,
.archive-thread-comments .comment::before,
.archive-thread-comments .comment::after {
  content: none !important;
  display: none !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  opacity: 0 !important;
}

.archive-thread-comments .comment__reply-branch-row > .comment {
  border-top: 0 !important;
}

/* Final latest-activity heading sizing: shrink the title text together with the three cards. */
.section--activity #activityTitle {
  font-size: clamp(2rem, 3.55vw, 3.05rem) !important;
  line-height: 0.98 !important;
  margin-bottom: clamp(0.32rem, 0.75vw, 0.58rem) !important;
}

.section--activity #activityTitle + p {
  font-size: clamp(0.86rem, 1.35vw, 1.05rem) !important;
  line-height: 1.22 !important;
  margin-bottom: clamp(0.9rem, 1.7vw, 1.35rem) !important;
}

@media (max-width: 760px) {
  .section--activity #activityTitle {
    font-size: clamp(1.18rem, 4.8vw, 1.9rem) !important;
  }

  .section--activity #activityTitle + p {
    font-size: clamp(0.62rem, 2.75vw, 0.82rem) !important;
    margin-bottom: clamp(0.58rem, 2vw, 0.9rem) !important;
  }
}

@media (max-width: 430px) {
  .section--activity #activityTitle {
    font-size: clamp(0.96rem, 5.2vw, 1.24rem) !important;
  }

  .section--activity #activityTitle + p {
    font-size: clamp(0.52rem, 2.9vw, 0.66rem) !important;
  }
}

/* Final fluid latest-activity card scale: the whole block shrinks smoothly with the viewport. */
.section--activity {
  width: min(calc(100% - clamp(1.2rem, 8vw, 9rem)), clamp(38rem, 72vw, 58rem)) !important;
  padding: clamp(0.72rem, 1.9vw, 1.72rem) !important;
  border-radius: clamp(0.95rem, 2vw, 1.62rem) !important;
}

.section--activity #activityTitle {
  font-size: clamp(0.98rem, 2.45vw, 2.02rem) !important;
  margin-bottom: clamp(0.12rem, 0.34vw, 0.24rem) !important;
}

.section--activity #activityTitle + p {
  font-size: clamp(0.5rem, 0.88vw, 0.78rem) !important;
  margin-bottom: clamp(0.34rem, 0.78vw, 0.62rem) !important;
}

.section--activity #activityList,
.section--activity .activity-grid,
#activityList {
  gap: clamp(0.22rem, 1.2vw, 0.78rem) !important;
}

.section--activity #activityList > *,
#activityList > * {
  padding: clamp(0.58rem, 1.58vw, 1.22rem) !important;
  border-radius: clamp(0.82rem, 1.65vw, 1.38rem) !important;
}

@media (max-width: 760px) {
  .section--activity {
    width: min(calc(100% - 0.72rem), 940px) !important;
    padding: clamp(0.54rem, 2.4vw, 0.9rem) !important;
  }

  .section--activity #activityTitle {
    font-size: clamp(0.95rem, 4.6vw, 1.58rem) !important;
  }

  .section--activity #activityTitle + p {
    font-size: clamp(0.5rem, 2.55vw, 0.72rem) !important;
  }
}

@media (max-width: 430px) {
  .section--activity {
    width: min(calc(100% - 0.48rem), 940px) !important;
    padding: clamp(0.42rem, 2.2vw, 0.66rem) !important;
  }

  .section--activity #activityTitle {
    font-size: clamp(0.82rem, 5vw, 1.08rem) !important;
  }

  .section--activity #activityTitle + p {
    font-size: clamp(0.44rem, 2.8vw, 0.58rem) !important;
    margin-bottom: 0.48rem !important;
  }
}

/* Final monotonic latest-activity scale: prevent breakpoint jumps while resizing the window. */
.section--activity {
  width: min(calc(100% - clamp(0.9rem, 6vw, 7rem)), clamp(34rem, 68vw, 54rem)) !important;
  padding: clamp(0.5rem, 1.65vw, 1.42rem) !important;
  border-radius: clamp(0.82rem, 1.7vw, 1.42rem) !important;
}

.section--activity #activityTitle {
  font-size: clamp(0.92rem, 2.15vw, 1.88rem) !important;
  line-height: 0.98 !important;
  margin-bottom: clamp(0.1rem, 0.28vw, 0.22rem) !important;
}

.section--activity #activityTitle + p {
  font-size: clamp(0.48rem, 0.78vw, 0.72rem) !important;
  line-height: 1.18 !important;
  margin-bottom: clamp(0.3rem, 0.7vw, 0.56rem) !important;
}

.section--activity #activityList,
.section--activity .activity-grid,
#activityList {
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: clamp(0.2rem, 1vw, 0.72rem) !important;
}

.section--activity #activityList > *,
#activityList > * {
  min-width: 0 !important;
  padding: clamp(0.54rem, 1.32vw, 1.12rem) !important;
  border-radius: clamp(0.78rem, 1.42vw, 1.24rem) !important;
}

@media (max-width: 760px) {
  .section--activity {
    width: calc(100vw - 0.18rem) !important;
    max-width: none !important;
    margin-left: calc(50% - 50vw + 0.09rem) !important;
    margin-right: calc(50% - 50vw + 0.09rem) !important;
    padding: clamp(0.42rem, 1.65vw, 0.78rem) !important;
    box-sizing: border-box !important;
  }

  .section--activity #activityTitle {
    font-size: clamp(1.42rem, 4.75vw, 2.02rem) !important;
  }

  .section--activity #activityTitle + p {
    font-size: clamp(0.78rem, 2.72vw, 1rem) !important;
  }
}

@media (max-width: 430px) {
  .section--activity {
    width: calc(100vw - 0.12rem) !important;
    max-width: none !important;
    margin-left: calc(50% - 50vw + 0.06rem) !important;
    margin-right: calc(50% - 50vw + 0.06rem) !important;
    padding: clamp(0.34rem, 1.5vw, 0.58rem) !important;
    box-sizing: border-box !important;
  }

  .section--activity #activityTitle {
    font-size: clamp(1.44rem, 6vw, 1.82rem) !important;
  }

  .section--activity #activityTitle + p {
    font-size: clamp(0.84rem, 3.65vw, 1.04rem) !important;
  }
}

/* Absolute final no-jump latest activity sizing: one continuous curve, no breakpoint width jumps. */
.section--activity {
  width: min(calc(100vw - clamp(0.25rem, 4vw, 7.5rem)), 56rem) !important;
  max-width: none !important;
  margin-left: auto !important;
  margin-right: auto !important;
  box-sizing: border-box !important;
  padding: clamp(0.48rem, 1.55vw, 1.36rem) !important;
  border-radius: clamp(0.82rem, 1.55vw, 1.38rem) !important;
}

.section--activity #activityTitle {
  font-size: clamp(1.44rem, 2.35vw, 2.08rem) !important;
  line-height: 0.98 !important;
  margin-bottom: clamp(0.1rem, 0.28vw, 0.22rem) !important;
}

.section--activity #activityTitle + p {
  font-size: clamp(0.82rem, 1.05vw, 0.98rem) !important;
  line-height: 1.18 !important;
  margin-bottom: clamp(0.28rem, 0.72vw, 0.58rem) !important;
}

.section--activity #activityList,
.section--activity .activity-grid,
#activityList {
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: clamp(0.18rem, 0.95vw, 0.72rem) !important;
}

.section--activity #activityList > *,
#activityList > * {
  min-width: 0 !important;
  padding: clamp(0.5rem, 1.18vw, 1.08rem) !important;
  border-radius: clamp(0.78rem, 1.35vw, 1.22rem) !important;
}

/* Absolute final continuous latest-activity width: no cap switch, no media switch, no resize jump. */
.section--activity {
  width: calc(100vw - clamp(0.45rem, calc(58vw - 14rem), 62rem)) !important;
  max-width: none !important;
  min-width: 0 !important;
  margin-left: auto !important;
  margin-right: auto !important;
  left: auto !important;
  right: auto !important;
  transform: none !important;
  box-sizing: border-box !important;
  padding-top: clamp(0.78rem, 2.05vw, 1.8rem) !important;
  padding-bottom: clamp(0.68rem, 1.85vw, 1.62rem) !important;
  padding-left: clamp(0.78rem, 2.05vw, 1.8rem) !important;
  padding-right: clamp(0.78rem, 2.05vw, 1.8rem) !important;
}

.section--activity #activityList .activity-card__snippet,
#activityList .activity-card__snippet {
  font-size: clamp(0.58rem, 0.9vw, 0.82rem) !important;
  line-height: 1.22 !important;
}

.section--activity #activityList .activity-card__name,
#activityList .activity-card__name {
  font-size: clamp(0.64rem, 0.98vw, 0.9rem) !important;
  line-height: 1.08 !important;
}

.section--activity #activityList .activity-card__time,
#activityList .activity-card__time {
  font-size: clamp(0.54rem, 0.82vw, 0.74rem) !important;
  line-height: 1.12 !important;
}

.section--activity #activityList .activity-card__top,
#activityList .activity-card__top {
  margin-bottom: clamp(0.08rem, 0.22vw, 0.16rem) !important;
}

.section--activity #activityList .activity-card__snippet,
#activityList .activity-card__snippet {
  margin-top: clamp(0.08rem, 0.22vw, 0.16rem) !important;
  margin-bottom: clamp(0.3rem, 0.7vw, 0.52rem) !important;
}

.section--activity #activityList > *,
#activityList > * {
  display: grid !important;
  grid-template-rows: auto minmax(0, 1fr) auto !important;
  align-content: stretch !important;
}

.section--activity #activityList .activity-card__top,
#activityList .activity-card__top {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) max-content !important;
  align-items: baseline !important;
  gap: 0 !important;
  margin-bottom: 0 !important;
}

.section--activity #activityList .activity-card__time,
#activityList .activity-card__time {
  white-space: nowrap !important;
  justify-self: end !important;
}

.section--activity #activityList .activity-card__name,
#activityList .activity-card__name {
  min-width: 0 !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
}

.section--activity #activityList .activity-card__snippet,
#activityList .activity-card__snippet {
  align-self: start !important;
  margin-top: -0.22rem !important;
  margin-bottom: clamp(0.18rem, 0.44vw, 0.34rem) !important;
}

.section--activity #activityList .activity-card__jump,
#activityList .activity-card__jump,
#activityList button.activity-card__jump {
  align-self: end !important;
  justify-self: start !important;
  margin-left: 0 !important;
  margin-top: 0 !important;
  font-size: clamp(0.54rem, 0.82vw, 0.72rem) !important;
  line-height: 1.1 !important;
  padding: clamp(0.18rem, 0.34vw, 0.28rem) 0 !important;
  text-align: left !important;
}

/* Normal comment field reset: remove all reply tree visuals/functionality everywhere. */
.comment-thread .comment,
.comment-thread .comment--level-0,
.comment-thread .comment--level-1,
.comment-thread .comment--level-2,
.comment-thread .comment--level-3,
.comment-thread .comment--level-4,
#commentThread .comment,
.archive-thread-comments .comment {
  width: 100% !important;
  max-width: 100% !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  transform: none !important;
}

.comment-thread .comment__children,
.comment-thread .comment__replies,
.comment-thread .comment__replies--threaded,
#commentThread .comment__children,
#commentThread .comment__replies,
#commentThread .comment__replies--threaded,
.archive-thread-comments .comment__children,
.archive-thread-comments .comment__replies,
.archive-thread-comments .comment__replies--threaded {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) !important;
  width: 100% !important;
  max-width: 100% !important;
  margin: 0.72rem 0 0 !important;
  padding: 0 !important;
  gap: 0.72rem !important;
  border: 0 !important;
  background: transparent !important;
  background-image: none !important;
  box-shadow: none !important;
}

.comment-thread .comment__reply-branch-row,
#commentThread .comment__reply-branch-row,
.archive-thread-comments .comment__reply-branch-row {
  display: block !important;
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

.comment-thread .comment__reply-branch-row > .comment,
#commentThread .comment__reply-branch-row > .comment,
.archive-thread-comments .comment__reply-branch-row > .comment {
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 !important;
  transform: none !important;
}

.comment-thread .comment__branch-elbow,
.comment-thread .comment__branch-elbow *,
.comment-thread .comment__branch-svg,
.comment-thread .comment__branch-svg *,
.comment-thread .comment__branch-stem,
.comment-thread .comment__branch-arm,
.comment-thread .comment__reply-tick,
.comment-thread .comment-collapse--tree,
#commentThread .comment__branch-elbow,
#commentThread .comment__branch-elbow *,
#commentThread .comment__branch-svg,
#commentThread .comment__branch-svg *,
#commentThread .comment__branch-stem,
#commentThread .comment__branch-arm,
#commentThread .comment__reply-tick,
#commentThread .comment-collapse--tree,
.archive-thread-comments .comment__branch-elbow,
.archive-thread-comments .comment__branch-elbow *,
.archive-thread-comments .comment__branch-svg,
.archive-thread-comments .comment__branch-svg *,
.archive-thread-comments .comment__branch-stem,
.archive-thread-comments .comment__branch-arm,
.archive-thread-comments .comment__reply-tick,
.archive-thread-comments .comment-collapse--tree {
  content: none !important;
  display: none !important;
  visibility: hidden !important;
  width: 0 !important;
  height: 0 !important;
  min-width: 0 !important;
  min-height: 0 !important;
  max-width: 0 !important;
  max-height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  opacity: 0 !important;
}

.comment-thread .comment__children::before,
.comment-thread .comment__children::after,
.comment-thread .comment__replies::before,
.comment-thread .comment__replies::after,
.comment-thread .comment__replies--threaded::before,
.comment-thread .comment__replies--threaded::after,
.comment-thread .comment__reply-branch-row::before,
.comment-thread .comment__reply-branch-row::after,
.comment-thread .comment::before,
.comment-thread .comment::after,
#commentThread .comment__children::before,
#commentThread .comment__children::after,
#commentThread .comment__replies::before,
#commentThread .comment__replies::after,
#commentThread .comment__replies--threaded::before,
#commentThread .comment__replies--threaded::after,
#commentThread .comment__reply-branch-row::before,
#commentThread .comment__reply-branch-row::after,
#commentThread .comment::before,
#commentThread .comment::after,
.archive-thread-comments .comment__children::before,
.archive-thread-comments .comment__children::after,
.archive-thread-comments .comment__replies::before,
.archive-thread-comments .comment__replies::after,
.archive-thread-comments .comment__replies--threaded::before,
.archive-thread-comments .comment__replies--threaded::after,
.archive-thread-comments .comment__reply-branch-row::before,
.archive-thread-comments .comment__reply-branch-row::after,
.archive-thread-comments .comment::before,
.archive-thread-comments .comment::after {
  content: none !important;
  display: none !important;
  border: 0 !important;
  background: transparent !important;
  background-image: none !important;
  box-shadow: none !important;
  opacity: 0 !important;
}

.comment-thread .comment > .comment__header,
.comment-thread .comment > .comment__body,
.comment-thread .comment > .comment__actions,
.comment-thread .comment > .inline-reply-form,
.comment-thread .comment > .comment__children,
#commentThread .comment > .comment__header,
#commentThread .comment > .comment__body,
#commentThread .comment > .comment__actions,
#commentThread .comment > .inline-reply-form,
#commentThread .comment > .comment__children,
.archive-thread-comments .comment > .comment__header,
.archive-thread-comments .comment > .comment__body,
.archive-thread-comments .comment > .comment__actions,
.archive-thread-comments .comment > .inline-reply-form,
.archive-thread-comments .comment > .comment__children {
  margin-left: 0 !important;
  padding-left: 0 !important;
}

/* Final comment card tone: brighter, softer white cards without changing layout. */
.comment-thread .comment,
#commentThread .comment,
.archive-thread-comments .comment {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(255, 253, 251, 0.9)) !important;
  border-color: rgba(255, 255, 255, 0.78) !important;
  box-shadow:
    0 1.15rem 3rem rgba(118, 92, 82, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.9) !important;
}

/* Inline reply form clipping fix: keep reply boxes fully inside normal comment cards. */
.comment-thread .comment > .inline-reply-form,
#commentThread .comment > .inline-reply-form,
.archive-thread-comments .comment > .inline-reply-form {
  width: 100% !important;
  max-width: 100% !important;
  margin: clamp(0.72rem, 1.4vw, 1rem) 0 0 !important;
  padding: clamp(0.72rem, 1.55vw, 1.15rem) !important;
  box-sizing: border-box !important;
  overflow: visible !important;
  transform: none !important;
  left: auto !important;
  right: auto !important;
}

.comment-thread .comment,
#commentThread .comment,
.archive-thread-comments .comment {
  overflow: visible !important;
}

.comment-thread .inline-reply-form input,
.comment-thread .inline-reply-form textarea,
#commentThread .inline-reply-form input,
#commentThread .inline-reply-form textarea,
.archive-thread-comments .inline-reply-form input,
.archive-thread-comments .inline-reply-form textarea {
  width: 100% !important;
  max-width: 100% !important;
  box-sizing: border-box !important;
}

/* Final comment card edge fade: soften the white tone toward all sides, not only top/bottom. */
.comment-thread .comment,
#commentThread .comment,
.archive-thread-comments .comment {
  background:
    radial-gradient(120% 105% at 50% 45%, rgba(255, 255, 255, 0.985) 0%, rgba(255, 255, 255, 0.965) 46%, rgba(255, 251, 248, 0.9) 74%, rgba(255, 247, 243, 0.72) 100%),
    linear-gradient(90deg, rgba(255, 247, 243, 0.72), rgba(255, 255, 255, 0.96) 16%, rgba(255, 255, 255, 0.96) 84%, rgba(255, 247, 243, 0.72)) !important;
  box-shadow:
    0 1.1rem 3.1rem rgba(118, 92, 82, 0.07),
    0 0 2.4rem rgba(255, 255, 255, 0.34),
    inset 0 1px 0 rgba(255, 255, 255, 0.92) !important;
}

.inline-reply-form {
  background:
    radial-gradient(118% 105% at 50% 45%, rgba(255, 255, 255, 0.985) 0%, rgba(255, 255, 255, 0.955) 48%, rgba(255, 248, 245, 0.84) 100%) !important;
}

/* Final publish glow: soft fading hover on both main publish and inline reply publish buttons. */
#commentForm button[type="submit"].btn--primary,
.comment-form button[type="submit"].btn--primary,
.inline-reply-form .btn--primary,
.inline-reply-form button[type="button"].btn--primary,
.inline-reply-form button[type="submit"].btn--primary {
  transition:
    box-shadow 260ms ease,
    filter 260ms ease,
    background-color 260ms ease,
    color 220ms ease !important;
  box-shadow:
    0 0.68rem 1.55rem rgba(168, 101, 98, 0.16),
    0 0 0 rgba(207, 136, 133, 0) !important;
  transform: none !important;
  animation: none !important;
}

#commentForm button[type="submit"].btn--primary:hover,
#commentForm button[type="submit"].btn--primary:focus-visible,
.comment-form button[type="submit"].btn--primary:hover,
.comment-form button[type="submit"].btn--primary:focus-visible,
.inline-reply-form .btn--primary:hover,
.inline-reply-form .btn--primary:focus-visible,
.inline-reply-form button[type="button"].btn--primary:hover,
.inline-reply-form button[type="button"].btn--primary:focus-visible,
.inline-reply-form button[type="submit"].btn--primary:hover,
.inline-reply-form button[type="submit"].btn--primary:focus-visible {
  box-shadow:
    0 0.82rem 1.8rem rgba(168, 101, 98, 0.2),
    0 0 1.15rem rgba(207, 136, 133, 0.28),
    0 0 2.15rem rgba(207, 136, 133, 0.14) !important;
  filter: saturate(1.035) brightness(1.015) !important;
  transform: none !important;
  animation: none !important;
}

/* Final comment side glow fix: allow the soft card tone/shadow to breathe left and right inside the main thread card. */
.section:has(#commentThread),
.section:has(.comment-form),
.comment-thread,
#commentThread,
.archive-thread-comments,
.comment-thread .comment__children,
.comment-thread .comment__replies,
#commentThread .comment__children,
#commentThread .comment__replies {
  overflow: visible !important;
}

.comment-thread .comment,
#commentThread .comment,
.archive-thread-comments .comment {
  position: relative !important;
  box-shadow:
    -1.25rem 0 2.35rem rgba(118, 92, 82, 0.045),
    1.25rem 0 2.35rem rgba(118, 92, 82, 0.045),
    0 1.15rem 3.1rem rgba(118, 92, 82, 0.07),
    0 0 2.35rem rgba(255, 255, 255, 0.36),
    inset 0 1px 0 rgba(255, 255, 255, 0.92) !important;
}

.comment-thread .inline-reply-form,
#commentThread .inline-reply-form,
.archive-thread-comments .inline-reply-form {
  box-shadow:
    -1.05rem 0 2rem rgba(118, 92, 82, 0.035),
    1.05rem 0 2rem rgba(118, 92, 82, 0.035),
    0 0.95rem 2.45rem rgba(118, 92, 82, 0.055),
    inset 0 1px 0 rgba(255, 255, 255, 0.88) !important;
}

/* Normal reply separator: thin rose divider between stacked replies/cards, faded at both ends. */
.comment-thread .comment__replies > .comment + .comment,
#commentThread .comment__replies > .comment + .comment,
.archive-thread-comments .comment__replies > .comment + .comment {
  position: relative !important;
}

.comment-thread .comment__replies > .comment + .comment::before,
#commentThread .comment__replies > .comment + .comment::before,
.archive-thread-comments .comment__replies > .comment + .comment::before {
  content: "" !important;
  display: block !important;
  position: absolute !important;
  left: clamp(1.2rem, 4vw, 4rem) !important;
  right: clamp(1.2rem, 4vw, 4rem) !important;
  top: calc(-0.36rem - 1px) !important;
  height: 1px !important;
  border: 0 !important;
  opacity: 1 !important;
  background: linear-gradient(90deg, transparent, rgba(207, 136, 133, 0.42) 18%, rgba(207, 136, 133, 0.42) 82%, transparent) !important;
  box-shadow: 0 0 0.7rem rgba(207, 136, 133, 0.08) !important;
  pointer-events: none !important;
}

/* Final visible sibling-reply separator: only between replies that share the same parent comment. */
.comment-thread .comment > .comment__children > .comment__replies > .comment + .comment::before,
#commentThread .comment > .comment__children > .comment__replies > .comment + .comment::before,
.archive-thread-comments .comment > .comment__children > .comment__replies > .comment + .comment::before {
  content: "" !important;
  display: block !important;
  position: absolute !important;
  left: clamp(1rem, 3.5vw, 3.5rem) !important;
  right: clamp(1rem, 3.5vw, 3.5rem) !important;
  top: calc(-0.36rem - 1px) !important;
  height: 1px !important;
  z-index: 4 !important;
  border: 0 !important;
  opacity: 1 !important;
  background: linear-gradient(90deg, transparent 0%, rgba(207, 136, 133, 0.62) 20%, rgba(207, 136, 133, 0.62) 80%, transparent 100%) !important;
  box-shadow: 0 0 0.55rem rgba(207, 136, 133, 0.16) !important;
  pointer-events: none !important;
}

/* Truly final adjacent replies separator: match normal reply containers after tree removal. */
.comment-thread .comment__replies > .comment + .comment,
#commentThread .comment__replies > .comment + .comment,
.archive-thread-comments .comment__replies > .comment + .comment {
  position: relative !important;
}

.comment-thread .comment__replies > .comment + .comment::before,
#commentThread .comment__replies > .comment + .comment::before,
.archive-thread-comments .comment__replies > .comment + .comment::before {
  content: "" !important;
  display: block !important;
  position: absolute !important;
  left: clamp(1.35rem, 5vw, 5.5rem) !important;
  right: clamp(1.35rem, 5vw, 5.5rem) !important;
  top: -0.36rem !important;
  height: 1px !important;
  z-index: 20 !important;
  opacity: 1 !important;
  border: 0 !important;
  background: linear-gradient(90deg, transparent 0%, rgba(196, 111, 108, 0.72) 18%, rgba(196, 111, 108, 0.72) 82%, transparent 100%) !important;
  box-shadow: 0 0 0.55rem rgba(196, 111, 108, 0.18) !important;
  pointer-events: none !important;
}

/* Final Etik poll sizing: buttons fit their labels on desktop and scale down cleanly on narrow screens. */
.etik-modal__paper .etik-display__options,
.etik-modal__paper .etik-display__options--count-2,
.etik-modal__paper .etik-display__options--count-3,
.etik-modal__paper .etik-display__options--count-4 {
  width: min(92%, 44rem) !important;
  max-width: 44rem !important;
  grid-template-columns: repeat(2, minmax(clamp(8.8rem, 22cqw, 18rem), 1fr)) !important;
  gap: clamp(0.48rem, 1.08cqw, 0.88rem) !important;
  align-items: stretch !important;
  justify-content: center !important;
}

.etik-modal__paper .etik-display__option,
.etik-display__option {
  width: 100% !important;
  min-width: 0 !important;
  min-height: clamp(2.35rem, 4.15cqw, 3.42rem) !important;
  padding: clamp(0.42rem, 0.92cqw, 0.72rem) clamp(0.9rem, 1.82cqw, 1.42rem) !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: clamp(0.28rem, 0.6cqw, 0.48rem) !important;
  box-sizing: border-box !important;
  overflow: hidden !important;
}

.etik-modal__paper .etik-display__option-label,
.etik-display__option-label {
  min-width: 0 !important;
  max-width: 100% !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  text-align: center !important;
  font-size: clamp(0.82rem, 1.34cqw, 1.12rem) !important;
  line-height: 1.08 !important;
  letter-spacing: 0.015em !important;
}

.etik-modal__paper .etik-display__option-stat,
.etik-display__option-stat {
  font-size: clamp(0.58rem, 0.9cqw, 0.76rem) !important;
  line-height: 1 !important;
  white-space: nowrap !important;
}

@media (max-width: 760px) {
  .etik-modal__paper .etik-display__options,
  .etik-modal__paper .etik-display__options--count-2,
  .etik-modal__paper .etik-display__options--count-3,
  .etik-modal__paper .etik-display__options--count-4 {
    width: min(94%, 20rem) !important;
    max-width: 20rem !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: clamp(0.22rem, 1.45vw, 0.42rem) !important;
    margin-top: clamp(0.36rem, 2.1vw, 0.7rem) !important;
  }

  .etik-modal__paper .etik-display__option,
  .etik-display__option {
    min-height: clamp(1.45rem, 6.2vw, 2.05rem) !important;
    padding: clamp(0.22rem, 1.25vw, 0.38rem) clamp(0.46rem, 2.35vw, 0.72rem) !important;
    border-radius: clamp(0.56rem, 2.7vw, 0.9rem) !important;
  }

  .etik-modal__paper .etik-display__option-label,
  .etik-display__option-label {
    font-size: clamp(0.58rem, 2.65vw, 0.8rem) !important;
  }

  .etik-modal__paper .etik-display__option-stat,
  .etik-display__option-stat {
    font-size: clamp(0.42rem, 1.9vw, 0.58rem) !important;
  }
}

/* Etik poll hard width fix: prevent the options grid from shrink-wrapping its buttons. */
.etik-modal__paper .etik-display > .etik-display__options.etik-display__options {
  width: 92% !important;
  inline-size: 92% !important;
  max-width: 44rem !important;
  justify-self: center !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
}

@media (max-width: 760px) {
  .etik-modal__paper .etik-display > .etik-display__options.etik-display__options {
    width: 94% !important;
    inline-size: 94% !important;
    max-width: 20rem !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

/* Etik poll parent width fix: prevent the display grid itself from shrink-wrapping the poll options. */
.etik-modal__paper .etik-display {
  grid-template-columns: minmax(0, 1fr) !important;
  justify-content: stretch !important;
  justify-items: center !important;
}

.etik-modal__paper .etik-display__question,
.etik-modal__paper .etik-display__line {
  max-width: 100% !important;
}

/* Real visible separator between adjacent replies under the same parent comment. */
.comment-thread .comment__replies > .comment + .comment::before,
#commentThread .comment__replies > .comment + .comment::before,
.archive-thread-comments .comment__replies > .comment + .comment::before {
  content: none !important;
  display: none !important;
}

.comment-thread .comment__replies > .comment-reply-separator,
#commentThread .comment__replies > .comment-reply-separator,
.archive-thread-comments .comment__replies > .comment-reply-separator {
  display: block !important;
  width: calc(100% - clamp(2rem, 8vw, 8rem)) !important;
  height: 1px !important;
  margin: clamp(0.46rem, 1vw, 0.72rem) auto !important;
  padding: 0 !important;
  border: 0 !important;
  background: linear-gradient(90deg, transparent 0%, rgba(196, 111, 108, 0.68) 18%, rgba(196, 111, 108, 0.68) 82%, transparent 100%) !important;
  box-shadow: 0 0 0.7rem rgba(196, 111, 108, 0.14) !important;
  opacity: 1 !important;
  pointer-events: none !important;
}

/* Final Etik close lock: keep the close button anchored to the artwork across desktop/mobile. */
.etik-modal__paper .etik-modal__close,
.etik-modal__close {
  top: 2.15% !important;
  right: 4.65% !important;
  width: clamp(2.05rem, 3.65cqw, 2.72rem) !important;
  height: clamp(2.05rem, 3.65cqw, 2.72rem) !important;
  transform: none !important;
  transform-origin: center !important;
}

@media (max-width: 760px) {
  .etik-modal__paper .etik-modal__close,
  .etik-modal__close {
    top: 2.15% !important;
    right: 4.65% !important;
    width: clamp(1.62rem, 6.2cqw, 2.08rem) !important;
    height: clamp(1.62rem, 6.2cqw, 2.08rem) !important;
  }
}

/* Etik poll compact mobile: smaller buttons/text in the smallest and mobile layouts while still fitting labels. */
@media (max-width: 760px) {
  .etik-modal__paper .etik-display > .etik-display__options.etik-display__options {
    width: 88% !important;
    inline-size: 88% !important;
    max-width: 17rem !important;
    gap: clamp(0.16rem, 1.05vw, 0.32rem) !important;
  }

  .etik-modal__paper .etik-display__option,
  .etik-display__option {
    min-height: clamp(1.18rem, 4.8vw, 1.66rem) !important;
    padding: clamp(0.14rem, 0.82vw, 0.26rem) clamp(0.34rem, 1.75vw, 0.56rem) !important;
    border-radius: clamp(0.48rem, 2.1vw, 0.72rem) !important;
  }

  .etik-modal__paper .etik-display__option-label,
  .etik-display__option-label {
    font-size: clamp(0.48rem, 2.15vw, 0.68rem) !important;
    line-height: 1.04 !important;
  }

  .etik-modal__paper .etik-display__option-stat,
  .etik-display__option-stat {
    font-size: clamp(0.34rem, 1.55vw, 0.48rem) !important;
  }
}

@media (max-width: 430px) {
  .etik-modal__paper .etik-display > .etik-display__options.etik-display__options {
    width: 84% !important;
    inline-size: 84% !important;
    max-width: 14.4rem !important;
    gap: clamp(0.12rem, 0.9vw, 0.24rem) !important;
  }

  .etik-modal__paper .etik-display__option,
  .etik-display__option {
    min-height: clamp(1.02rem, 4.25vw, 1.42rem) !important;
    padding: clamp(0.12rem, 0.68vw, 0.22rem) clamp(0.28rem, 1.45vw, 0.46rem) !important;
  }

  .etik-modal__paper .etik-display__option-label,
  .etik-display__option-label {
    font-size: clamp(0.42rem, 1.95vw, 0.58rem) !important;
  }
}

/* Final adjacent reply separator tuning: keep reply cards visually together, only a soft line between them. */
.comment-thread .comment__replies,
#commentThread .comment__replies,
.archive-thread-comments .comment__replies {
  gap: 0 !important;
}

.comment-thread .comment__replies > .comment-reply-separator,
#commentThread .comment__replies > .comment-reply-separator,
.archive-thread-comments .comment__replies > .comment-reply-separator {
  width: calc(100% - clamp(2.8rem, 10vw, 12rem)) !important;
  height: 1px !important;
  margin: 0 auto !important;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(226, 177, 174, 0) 16%,
    rgba(226, 177, 174, 0.26) 34%,
    rgba(226, 177, 174, 0.38) 50%,
    rgba(226, 177, 174, 0.26) 66%,
    rgba(226, 177, 174, 0) 84%,
    transparent 100%
  ) !important;
  box-shadow: none !important;
}

.comment-thread .comment__replies > .comment-reply-separator + .comment,
#commentThread .comment__replies > .comment-reply-separator + .comment,
.archive-thread-comments .comment__replies > .comment-reply-separator + .comment {
  margin-top: 0 !important;
}

/* Final corner element recovery: keep ÖS, Etik and Psst anchored back in their intended corners. */
.hero-shell .brand,
.brand {
  left: clamp(-1.35rem, -1.4vw, -0.55rem) !important;
  right: auto !important;
}

.etik-launcher {
  right: clamp(3.85rem, 7.4vw, 6.35rem) !important;
  bottom: clamp(2.25rem, 4.7vw, 4.35rem) !important;
}

.etik-psst-cue {
  --etik-icon-right: clamp(3.85rem, 7.4vw, 6.35rem) !important;
  --etik-icon-bottom: clamp(2.25rem, 4.7vw, 4.35rem) !important;
  right: calc(var(--etik-icon-right) + (var(--etik-icon-width) * 0.5) - (var(--etik-psst-width) * 0.47) + 0.72rem) !important;
  bottom: calc(var(--etik-icon-bottom) + var(--etik-icon-width) - (var(--etik-psst-width) * 0.13) + 0.55rem) !important;
}

@media (max-width: 760px) {
  .hero-shell .brand,
  .brand {
    left: clamp(-2.35rem, -5.7vw, -1.45rem) !important;
    right: auto !important;
  }

  .hero-shell .brand-logo,
  .brand-logo {
    width: clamp(6.85rem, 27vw, 8.05rem) !important;
  }

  .etik-launcher {
    right: 1.42rem !important;
    bottom: calc(var(--hero-content-overlap) - 0.55rem) !important;
  }

  .etik-psst-cue {
    --etik-icon-right: 1.42rem !important;
    --etik-icon-bottom: calc(var(--hero-content-overlap) - 0.55rem) !important;
    right: calc(var(--etik-icon-right) + (var(--etik-icon-width) * 0.5) - (var(--etik-psst-width) * 0.47) + 0.72rem) !important;
    bottom: calc(var(--etik-icon-bottom) + var(--etik-icon-width) - (var(--etik-psst-width) * 0.13) + 0.55rem) !important;
  }
}

/* Final mobile search containment: keep both the top search and modal search inside the viewport. */
.thread-search,
.thread-search input,
.search-modal,
.search-modal *,
.search-modal__form,
.search-modal__form input,
.search-modal__results,
.search-result {
  box-sizing: border-box !important;
  min-width: 0 !important;
}

#searchModal .search-modal {
  width: min(820px, calc(100vw - 2rem)) !important;
  max-width: calc(100vw - 2rem) !important;
  overflow-x: hidden !important;
}

#searchModal .search-modal__form,
#searchModal .search-modal__form input,
#searchModal .search-modal__results,
#searchModal .search-result {
  width: 100% !important;
  max-width: 100% !important;
}

#searchModal .search-result {
  overflow-wrap: anywhere !important;
}

@media (max-width: 760px) {
  .site-nav .thread-search,
  .thread-search {
    width: min(100%, 12.5rem) !important;
    max-width: calc(100vw - 1.4rem) !important;
  }

  .thread-search input {
    width: 100% !important;
    max-width: 100% !important;
  }

  #searchModal {
    padding: clamp(0.7rem, 3.6vw, 1rem) !important;
    place-items: center !important;
  }

  #searchModal .search-modal {
    width: calc(100vw - clamp(1.4rem, 7vw, 2.15rem)) !important;
    max-width: calc(100vw - clamp(1.4rem, 7vw, 2.15rem)) !important;
    padding: clamp(1.35rem, 5.2vw, 1.9rem) clamp(0.95rem, 4.8vw, 1.35rem) !important;
    border-radius: clamp(1.25rem, 5vw, 1.75rem) !important;
  }

  #searchModal .search-modal h2 {
    margin: 0 2.25rem 0.9rem 0 !important;
    font-size: clamp(1.65rem, 7.4vw, 2.25rem) !important;
    line-height: 1.02 !important;
  }

  #searchModal .search-modal__form {
    margin-bottom: 0.95rem !important;
  }

  #searchModal .search-modal__form input {
    font-size: clamp(0.86rem, 3.85vw, 1rem) !important;
    padding: 0.74rem 0.9rem !important;
  }

  #searchModal .search-result {
    padding: 0.78rem 0.82rem !important;
    border-radius: 1rem !important;
  }
}

@media (max-width: 430px) {
  #searchModal .search-modal {
    width: calc(100vw - 1rem) !important;
    max-width: calc(100vw - 1rem) !important;
    padding-inline: 0.82rem !important;
  }

  #searchModal .search-modal__form input {
    padding-inline: 0.82rem !important;
  }
}

/* Final top-right search fit: keep the header search compact and safely inside small viewports. */
@media (max-width: 760px) {
  .site-nav {
    max-width: calc(100vw - 1.5rem) !important;
    overflow: visible !important;
  }

  .site-nav .thread-search,
  .thread-search {
    flex: 0 1 clamp(7.1rem, 34vw, 10.5rem) !important;
    width: clamp(7.1rem, 34vw, 10.5rem) !important;
    max-width: calc(100vw - 8.9rem) !important;
  }

  .thread-search input {
    width: 100% !important;
    max-width: 100% !important;
    font-size: clamp(0.72rem, 3.15vw, 0.82rem) !important;
    padding-inline: 0.76rem 1.7rem !important;
  }
}

@media (max-width: 430px) {
  .site-nav .thread-search,
  .thread-search {
    flex-basis: clamp(6.35rem, 31vw, 8.35rem) !important;
    width: clamp(6.35rem, 31vw, 8.35rem) !important;
    max-width: calc(100vw - 9.2rem) !important;
  }
}

/* Final header search guard: prevent the top-right search from expanding/clipping in narrow and mid-width windows. */
@media (max-width: 1100px) {
  .site-nav {
    right: clamp(2.25rem, 4.6vw, 3.4rem) !important;
    left: clamp(0.7rem, 2vw, 1.5rem) !important;
    max-width: calc(100vw - clamp(3rem, 6.8vw, 4.9rem)) !important;
    gap: clamp(0.52rem, 1.7vw, 0.85rem) !important;
    justify-content: flex-end !important;
  }

  .site-nav .thread-search,
  .thread-search,
  .thread-search:focus-within {
    flex: 0 1 clamp(5.75rem, 13.4vw, 8.1rem) !important;
    width: clamp(5.75rem, 13.4vw, 8.1rem) !important;
    max-width: clamp(5.75rem, 13.4vw, 8.1rem) !important;
  }

  .thread-search input {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    padding-inline: clamp(0.58rem, 1.8vw, 0.75rem) clamp(1.45rem, 3.2vw, 1.75rem) !important;
  }
}

@media (max-width: 430px) {
  .site-nav {
    right: 1.9rem !important;
    left: 0.7rem !important;
    gap: 0.5rem !important;
    max-width: calc(100vw - 2.6rem) !important;
  }

  .site-nav .thread-search,
  .thread-search,
  .thread-search:focus-within {
    flex-basis: clamp(4.9rem, 26vw, 6.7rem) !important;
    width: clamp(4.9rem, 26vw, 6.7rem) !important;
    max-width: clamp(4.9rem, 26vw, 6.7rem) !important;
  }

  .thread-search input {
    font-size: clamp(0.68rem, 3vw, 0.76rem) !important;
    padding-inline: 0.58rem 1.28rem !important;
  }
}

/* Restore header search after zoom false alarm: keep the old top-right search proportions. */
.site-nav .thread-search,
.thread-search {
  flex: 0 0 auto !important;
  width: 8.6rem !important;
  max-width: 8.6rem !important;
}

.thread-search:focus-within {
  width: 10rem !important;
  max-width: 10rem !important;
  flex-basis: 10rem !important;
}

.thread-search input {
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  height: 2rem !important;
  font-size: 0.9rem !important;
  padding: 0.25rem 2.2rem 0.25rem 0.75rem !important;
}

@media (max-width: 900px) {
  .site-nav {
    left: 1rem !important;
    right: 1rem !important;
    gap: 0.85rem !important;
    justify-content: flex-end !important;
  }

  .site-nav .thread-search,
  .thread-search {
    width: min(9.5rem, 30vw) !important;
    max-width: min(9.5rem, 30vw) !important;
    flex-basis: min(9.5rem, 30vw) !important;
  }

  .thread-search:focus-within {
    width: min(10rem, 34vw) !important;
    max-width: min(10rem, 34vw) !important;
    flex-basis: min(10rem, 34vw) !important;
  }
}

@media (max-width: 760px) {
  .site-nav {
    left: 1rem !important;
    right: 1rem !important;
    gap: 0.72rem !important;
    max-width: calc(100vw - 2rem) !important;
    justify-content: flex-end !important;
  }

  .site-nav .thread-search,
  .thread-search {
    width: 6.9rem !important;
    max-width: 6.9rem !important;
    flex-basis: 6.9rem !important;
  }

.thread-search:focus-within {
  width: min(8.2rem, 36vw) !important;
  max-width: min(8.2rem, 36vw) !important;
  flex-basis: min(8.2rem, 36vw) !important;
  }
}

/* Lock Etik launcher feel: remove the pink click flash while keeping current position and hover softness. */
.etik-launcher:active,
.etik-launcher[aria-expanded="true"] {
  background: transparent !important;
  box-shadow: none !important;
}

.etik-launcher:active img,
.etik-launcher[aria-expanded="true"] img {
  filter:
    drop-shadow(0 1.15rem 1.25rem rgba(78, 55, 45, 0.34))
    drop-shadow(0 0 1.45rem rgba(207, 136, 133, 0.44))
    drop-shadow(0 0 3.3rem rgba(255, 255, 255, 0.82)) !important;
  transform: none !important;
}

/* iPhone Safari first-paint fix: fade Etik in only after the image is decoded. */
.etik-launcher,
.etik-launcher img {
  background: transparent !important;
}

.etik-launcher img {
  border-radius: 999px !important;
  clip-path: none !important;
  -webkit-clip-path: none !important;
  -webkit-mask-image: none !important;
  mask-image: none !important;
}

.etik-launcher:not(.is-image-ready) img {
  opacity: 0 !important;
}

.etik-launcher.is-image-ready img {
  opacity: 1 !important;
  transition: opacity 180ms ease, filter 0.2s ease, transform 0.2s cubic-bezier(0.16, 0.9, 0.24, 1) !important;
}

/* Thread insight card: inserted between the active thread and archive without touching finished upper sections. */
.section--thread-insights {
  width: var(--public-card-width) !important;
  max-width: var(--public-card-width) !important;
  display: grid !important;
  grid-template-columns: minmax(0, 0.84fr) minmax(0, 1.16fr) !important;
  gap: clamp(0.8rem, 2vw, 1.25rem) !important;
  padding: clamp(1rem, 2.2vw, 1.35rem) !important;
  overflow: visible !important;
}

.thread-insight-card {
  display: grid;
  align-content: start;
  gap: clamp(0.58rem, 1.3vw, 0.85rem);
  min-width: 0;
  min-height: clamp(8rem, 16vw, 11rem);
  padding: clamp(1rem, 2.2vw, 1.35rem);
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: clamp(1.15rem, 2.2vw, 1.55rem);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(255, 252, 250, 0.76));
  box-shadow:
    0 1.15rem 3rem rgba(118, 92, 82, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.92);
  color: rgba(77, 71, 68, 0.78);
}

.thread-insight-card--active {
  position: relative;
  overflow: hidden;
}

.thread-insight-card--active > * {
  position: relative;
  z-index: 1;
}

.thread-insight-card--active::after {
  content: "";
  position: absolute;
  z-index: 0;
  pointer-events: none;
  top: clamp(-0.25rem, -0.35vw, 0.25rem);
  right: clamp(-0.55rem, -0.85vw, -0.25rem);
  width: clamp(5.9rem, 10.2vw, 8.5rem);
  aspect-ratio: 485 / 611;
  background: url("./assets/fest.png?v=20260609-fest-mobile-right-v1") center / contain no-repeat;
  opacity: 0.86;
}

@media (max-width: 760px) {
  .thread-insight-card--active::after {
    top: clamp(0.05rem, 0.7vw, 0.35rem);
    right: clamp(-0.45rem, -1.8vw, -0.15rem);
    width: clamp(5.2rem, 27vw, 7.4rem);
    opacity: 0.82;
  }
}

button.thread-insight-card {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.72);
  cursor: pointer;
  text-align: left;
  transition: border-color 220ms ease, background-color 220ms ease, box-shadow 260ms ease;
}

button.thread-insight-card:hover,
button.thread-insight-card:focus-visible {
  border-color: rgba(207, 136, 133, 0.24);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(255, 252, 250, 0.82));
  box-shadow:
    0 1.15rem 3rem rgba(118, 92, 82, 0.08),
    0 0 1.25rem rgba(207, 136, 133, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.94);
  outline: none;
}

button.thread-insight-card:disabled {
  cursor: default;
}

button.thread-insight-card:disabled:hover {
  border-color: rgba(255, 255, 255, 0.72);
  box-shadow:
    0 1.15rem 3rem rgba(118, 92, 82, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.92);
}

.thread-insight-card h2 {
  margin: 0;
  color: #514a46;
  font-family: var(--font-butler-light);
  font-size: 1.7rem;
  font-weight: 300;
  line-height: 1.04;
}

.thread-active-users {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.38rem;
  color: rgba(77, 71, 68, 0.68);
  font-family: var(--font-montserrat-light);
  font-size: clamp(0.82rem, 1.25vw, 0.98rem);
  line-height: 1.35;
}

.top-liked-comment__meta {
  width: fit-content;
  max-width: 100%;
  padding: 0.28rem 0.7rem;
  border: 1px solid rgba(207, 136, 133, 0.18);
  border-radius: 999px;
  background: rgba(207, 136, 133, 0.08);
  color: rgba(151, 86, 83, 0.82);
  font-family: var(--font-montserrat-light);
  font-size: clamp(0.72rem, 1.05vw, 0.84rem);
  line-height: 1.15;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.thread-insight-card--liked p {
  display: -webkit-box;
  margin: 0;
  overflow: hidden;
  color: rgba(77, 71, 68, 0.7);
  font-family: var(--font-montserrat-light);
  font-size: clamp(0.9rem, 1.35vw, 1.04rem);
  line-height: 1.45;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

@media (max-width: 760px) {
  .section--thread-insights {
    width: var(--public-card-width) !important;
    max-width: var(--public-card-width) !important;
    grid-template-columns: 1fr !important;
    transform: translateX(clamp(-0.15rem, calc((100vw - 430px) * 0.06), 0rem)) !important;
  }
}

/* Align the thread header text with the comment card content start. */
.section--thread .section__header {
  box-sizing: border-box !important;
  padding-left: clamp(1.85rem, 3vw, 2.35rem) !important;
  padding-right: clamp(1.85rem, 3vw, 2.35rem) !important;
}

@media (min-width: 761px) {
  .section--thread .section__header {
    width: 100% !important;
    max-width: none !important;
    padding-left: 1.1rem !important;
    padding-right: 1.1rem !important;
  }
}

@media (max-width: 760px) {
  .section--thread .section__header {
    padding-left: clamp(1rem, 2.1vw, 1.42rem) !important;
    padding-right: clamp(1rem, 2.1vw, 1.42rem) !important;
  }
}

/* Mobile main-card centering: move the three public cards and their contents together. */
@media (max-width: 760px) {
  .section--activity,
  .section--thread,
  .section--archive {
    transform: translateX(clamp(-0.15rem, calc((100vw - 430px) * 0.06), 0rem)) !important;
  }

  .section--activity {
    width: min(calc(100vw - clamp(2.15rem, 8.8vw, 4.45rem)), 43rem) !important;
    max-width: min(calc(100vw - clamp(2.15rem, 8.8vw, 4.45rem)), 43rem) !important;
    padding: clamp(0.78rem, 2.35vw, 1.25rem) !important;
  }

  .section--activity #activityTitle {
    font-size: clamp(1.72rem, 5.6vw, 2.55rem) !important;
  }

  .section--activity #activityTitle + p {
    font-size: clamp(0.86rem, 2.7vw, 1.08rem) !important;
  }

  .section--activity #activityList,
  .section--activity .activity-grid,
  #activityList {
    gap: clamp(0.38rem, 1.65vw, 0.78rem) !important;
  }

  .section--activity #activityList > *,
  #activityList > * {
    padding: clamp(0.62rem, 1.85vw, 0.95rem) !important;
  }

  .section--activity #activityList .activity-card__name,
  #activityList .activity-card__name {
    font-size: clamp(0.68rem, 2.15vw, 0.88rem) !important;
  }

  .section--activity #activityList .activity-card__time,
  #activityList .activity-card__time,
  .section--activity #activityList .activity-card__snippet,
  #activityList .activity-card__snippet,
  .section--activity #activityList .activity-card__jump,
  #activityList .activity-card__jump {
    font-size: clamp(0.58rem, 1.85vw, 0.76rem) !important;
  }
}

/* Rules popup language-police quiz: isolated to the Regler popup only. */
.info-modal--rules {
  min-height: 0;
  padding-bottom: clamp(1rem, 2.4vw, 1.45rem);
}

.rules-copy,
.rules-quiz,
.rules-quiz__stage {
  transition: opacity 240ms ease, transform 280ms cubic-bezier(0.18, 0.82, 0.22, 1);
}

.rules-copy {
  opacity: 1;
  transform: translateY(0);
}

.rules-copy.is-fading {
  opacity: 0;
  transform: translateY(-0.35rem);
}

.rules-quiz {
  opacity: 0;
  transform: translateY(0.35rem);
}

.rules-quiz.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.rules-quiz__stage {
  display: grid;
  gap: clamp(0.8rem, 2vw, 1.05rem);
  opacity: 0;
  transform: translateY(0.45rem);
}

.rules-quiz__stage.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.rules-quiz h2 {
  margin: 0 1.5rem 0.7rem;
  color: #4d4744;
  font-family: var(--font-butler-light);
  font-size: clamp(1.75rem, 4vw, 2.55rem);
  font-weight: 300;
  line-height: 1.08;
  text-align: center;
}

.rules-quiz p {
  margin: 0;
  color: rgba(77, 71, 68, 0.78);
  font-family: var(--font-butler-light);
  font-size: clamp(1.08rem, 2.25vw, 1.26rem);
  font-weight: 300;
  line-height: 1.54;
  text-align: center;
}

.rules-quiz__count {
  color: rgba(171, 93, 88, 0.78) !important;
  font-family: var(--font-montserrat-light) !important;
  font-size: clamp(0.78rem, 1.6vw, 0.92rem) !important;
  line-height: 1.2 !important;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.rules-quiz-link {
  appearance: none;
  border: 0;
  padding: 0;
  background: transparent;
  color: rgba(151, 75, 70, 0.92);
  font: inherit;
  text-decoration: underline;
  text-decoration-thickness: 0.06em;
  text-underline-offset: 0.14em;
  cursor: pointer;
}

.rules-quiz-link:hover,
.rules-quiz-link:focus-visible {
  color: rgba(129, 58, 55, 0.98);
  outline: none;
}

.rules-quiz__start,
.rules-quiz__option {
  appearance: none;
  border: 1px solid rgba(207, 136, 133, 0.28);
  background: rgba(255, 255, 255, 0.62);
  color: rgba(112, 67, 64, 0.9);
  font-family: var(--font-montserrat-light);
  cursor: pointer;
  transition: border-color 210ms ease, background-color 210ms ease, box-shadow 260ms ease, color 210ms ease;
}

.rules-quiz__start {
  justify-self: center;
  margin-top: 0.35rem;
  padding: 0.78rem 1.25rem;
  border-radius: 999px;
  font-size: clamp(0.92rem, 1.7vw, 1.02rem);
}

.rules-quiz__options {
  display: grid;
  gap: 0.58rem;
  margin-top: 0.25rem;
}

.rules-quiz__option {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 0.72rem;
  width: 100%;
  padding: 0.82rem 0.95rem;
  border-radius: 1.1rem;
  font-size: clamp(0.95rem, 1.8vw, 1.08rem);
  line-height: 1.28;
  text-align: left;
}

.rules-quiz__option span {
  color: rgba(176, 98, 92, 0.86);
  font-family: var(--font-montserrat-light);
}

.rules-quiz__start:hover,
.rules-quiz__start:focus-visible,
.rules-quiz__option:hover,
.rules-quiz__option:focus-visible {
  border-color: rgba(207, 136, 133, 0.44);
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 0 1.1rem rgba(207, 136, 133, 0.13);
  color: rgba(94, 53, 51, 0.94);
  outline: none;
}

@media (max-width: 640px) {
  .info-modal--rules {
    min-height: 0;
  }

  .rules-quiz h2 {
    margin-left: 0.4rem;
    margin-right: 0.4rem;
  }

  .rules-quiz p {
    text-align: left;
  }

  .rules-quiz__stage {
    gap: 0.72rem;
  }

  .rules-quiz__option {
    padding: 0.74rem 0.82rem;
  }
}


/* Rules quiz spacing polish. */
.rules-quiz__stage h2 + p,
.rules-quiz__stage h2 + .rules-quiz__options {
  margin-top: clamp(0.55rem, 1.6vw, 1rem);
}

.rules-quiz__count + h2 {
  margin-top: clamp(0.35rem, 1.1vw, 0.7rem);
}

.rules-quiz__stage h2 {
  margin-bottom: clamp(0.85rem, 2vw, 1.25rem);
}

.rules-quiz__retry {
  appearance: none;
  justify-self: center;
  margin-top: clamp(0.7rem, 1.8vw, 1.1rem);
  padding: 0.78rem 1.2rem;
  border: 1px solid rgba(207, 136, 133, 0.28);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.62);
  color: rgba(112, 67, 64, 0.9);
  font-family: var(--font-montserrat-light);
  font-size: clamp(0.9rem, 1.65vw, 1rem);
  line-height: 1.12;
  cursor: pointer;
  transition: border-color 210ms ease, background-color 210ms ease, box-shadow 260ms ease, color 210ms ease;
}

.rules-quiz__retry:hover,
.rules-quiz__retry:focus-visible {
  border-color: rgba(207, 136, 133, 0.44);
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 0 1.1rem rgba(207, 136, 133, 0.13);
  color: rgba(94, 53, 51, 0.94);
  outline: none;
}

/* Align the current thread heading with the comment cards only. */
#threadSection > .section__header {
  padding-left: 0 !important;
}

/* Production mobile scroll guard: keep iOS/Safari from revealing a blank canvas below the page, while keeping pull-to-refresh available. */
html {
  min-height: 100%;
  background: var(--paper) url("./assets/pearl-water-bg.png") center top / cover fixed no-repeat;
  overscroll-behavior-x: none;
}

body {
  min-height: 100dvh;
  overscroll-behavior-x: none;
}

body.is-modal-open {
  position: fixed;
  width: 100%;
  left: 0;
  right: 0;
  overflow: hidden !important;
  touch-action: none;
}

body.is-modal-open .info-modal,
body.is-modal-open .info-modal * {
  touch-action: auto;
}

/* Etik modal polish only: same look, slightly faster and smoother fade/open/close. */
.etik-modal-overlay {
  transition:
    opacity 0.2s cubic-bezier(0.22, 1, 0.36, 1),
    visibility 0.2s linear,
    backdrop-filter 0.2s cubic-bezier(0.22, 1, 0.36, 1),
    -webkit-backdrop-filter 0.2s cubic-bezier(0.22, 1, 0.36, 1) !important;
}

.etik-modal-overlay .etik-modal {
  transition:
    opacity 0.2s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.2s cubic-bezier(0.22, 1, 0.36, 1),
    filter 0.2s cubic-bezier(0.22, 1, 0.36, 1) !important;
}

/* Final Etik-only transition override: keep the same visual state, just make the card fade feel lighter. */
.etik-modal-overlay.etik-modal-overlay .etik-modal.etik-modal {
  transition:
    transform 0.2s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 0.2s cubic-bezier(0.22, 1, 0.36, 1),
    filter 0.2s cubic-bezier(0.22, 1, 0.36, 1) !important;
}
