:root {
  --arrss-bar-base-height: 56px;
  --arrss-bar-side-padding: 14px;
  --arrss-top-offset: var(--arrss-global-top-offset, 0px);
  --arrss-bar-icon-color: #1e1e1e;
  --arrss-bar-surface: #ffffff;
  --arrss-bar-border: #d9dde3;
  --arrss-sheet-surface: #ffffff;
  --arrss-sheet-border: #e6e8ec;
  --arrss-sheet-muted: #6f7783;
  --arrss-sheet-ink: #1f252b;
  --arrss-sheet-verified: #1d9bf0;
  --arrss-visual-bottom-gap: 0px;
}

.arrss-bar,
.arrss-bar *,
.arrss-bar *::before,
.arrss-bar *::after,
.arrss-feed-sheet,
.arrss-feed-sheet *,
.arrss-feed-sheet *::before,
.arrss-feed-sheet *::after,
.arrss-search-sheet,
.arrss-search-sheet *,
.arrss-search-sheet *::before,
.arrss-search-sheet *::after,
.arrss-events-sheet,
.arrss-events-sheet *,
.arrss-events-sheet *::before,
.arrss-events-sheet *::after,
.arrss-profile-sheet,
.arrss-profile-sheet *,
.arrss-profile-sheet *::before,
.arrss-profile-sheet *::after {
  box-sizing: border-box;
}

/* Border inferior 1.5px siempre presente (mobile top-border + desktop bottom-border).
   top: 0 como fallback para que el bar no herede un offset incorrecto si el tema
   lo posiciona con position:fixed y var(--arrss-top-offset). */
.arrss-bar {
  border-bottom: 1.5px solid var(--arrss-bar-border);
  --arrss-top-offset: 0px;
}

.arrss-bar,
.arrss-feed-sheet,
.arrss-search-sheet,
.arrss-events-sheet,
.arrss-profile-sheet {
  display: none !important;
}

/* ── Desktop sheets (full-screen white overlay) ─────────────── */
@media (min-width: 1181px) {
  /* Lock scroll when a sheet is open */
  html.arrss-sheet-open,
  html.arrss-sheet-open body {
    overflow: hidden !important;
  }

  /* Full-screen white panel below navbar — no backdrop */
  .arrss-feed-sheet.is-open,
  .arrss-search-sheet.is-open,
  .arrss-events-sheet.is-open,
  .arrss-profile-sheet.is-open,
  .arrss-user-sheet.is-open {
    display: flex !important;
    flex-direction: column;
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    z-index: 290;
    background: #ffffff;
    border-top: 1px solid #e8ecf0;
    border-radius: 0;
    box-shadow: none;
    overflow-y: auto;
    overflow-x: hidden;
    padding: 0 30%;
    box-sizing: border-box;
  }

  /* Section headings visible on desktop */
  .arrss-section-heading {
    display: flex !important;
  }
}

@media (max-width: 959px), (orientation: portrait) and (max-width: 1400px) {
  :root {
    --arrss-bar-base-height: 56px;
    --arrss-bar-side-padding: 14px;
    --arrss-top-offset: var(--arrss-global-top-offset, 0px);
    --arrss-bar-icon-color: #1e1e1e;
    --arrss-bar-surface: #ffffff;
    --arrss-bar-border: #d9dde3;
    --arrss-sheet-surface: #ffffff;
    --arrss-sheet-border: #e6e8ec;
    --arrss-sheet-muted: #6f7783;
    --arrss-sheet-ink: #1f252b;
    --arrss-sheet-verified: #1d9bf0;
  }

  html.arrss-bar-active {
    scroll-padding-bottom: calc(var(--arrss-bar-base-height) + env(safe-area-inset-bottom) + var(--arrss-visual-bottom-gap));
    background: #ffffff;
  }

  body.arrss-bar-active {
    padding-bottom: calc(var(--arrss-bar-base-height) + env(safe-area-inset-bottom) + var(--arrss-visual-bottom-gap));
    background: #ffffff;
    overflow-x: hidden;
  }

  html.arrss-sheet-open,
  body.arrss-sheet-open {
    overflow: hidden !important;
  }

  .arrss-bar {
    position: fixed !important;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 290;
    display: block !important;
    background: var(--arrss-bar-surface);
    border-top: 1.5px solid var(--arrss-bar-border);
    border-bottom: 0 !important;
    box-shadow: none;
    border-radius: 0;
    transform: translateZ(0);
  }

  .arrss-bar::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: calc(-1 * (env(safe-area-inset-bottom) + var(--arrss-visual-bottom-gap) + 48px));
    height: calc(env(safe-area-inset-bottom) + var(--arrss-visual-bottom-gap) + 48px);
    display: block;
    background: var(--arrss-bar-surface);
    pointer-events: none;
  }

  .arrss-bar.arrss-bar--suspended {
    display: none !important;
  }

  .arrss-section-heading {
    display: none !important;
  }

  .arrss-profile-sheet > .arrss-user-sheet__header {
    display: none !important;
  }

  .arrss-bar__inner {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    align-items: center;
    width: 100%;
    min-height: calc(var(--arrss-bar-base-height) + env(safe-area-inset-bottom));
    padding:
      6px
      max(var(--arrss-bar-side-padding), env(safe-area-inset-left))
      calc(6px + env(safe-area-inset-bottom))
      max(var(--arrss-bar-side-padding), env(safe-area-inset-right));
  }

  .arrss-bar__item {
    appearance: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: calc(var(--arrss-bar-base-height) - 8px);
    padding: 0;
    color: var(--arrss-bar-icon-color);
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    text-decoration: none;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
  }

  .arrss-bar__item:focus {
    outline: none;
  }

  .arrss-bar__item:focus-visible {
    outline: 2px solid rgba(30, 30, 30, 0.18);
    outline-offset: -2px;
  }

  .arrss-bar__item svg {
    display: block;
    width: 22px;
    height: 22px;
    color: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
  }

  .arrss-bar__item--home svg {
    width: 23px;
    height: 23px;
  }

  .arrss-bar__logo-icon {
    display: block;
    width: 23px;
    height: 23px;
    object-fit: cover;
    object-position: center;
  }

  .arrss-bar__item--forum svg {
    width: 22px;
    height: 22px;
  }

  .arrss-bar__item--feed svg {
    width: 22px;
    height: 22px;
  }

  .arrss-bar__avatar {
    display: block;
    width: 23px;
    height: 23px;
    border-radius: 999px;
    object-fit: cover;
    object-position: center;
  }

  .arrss-feed-sheet,
  .arrss-search-sheet {
    top: 0 !important;
  }

}

/* ── Sheet styles (global — mobile + desktop) ──────────────── */
.arrss-feed-sheet {
  position: fixed;
  top: var(--arrss-top-offset);
  right: 0;
  bottom: calc(var(--arrss-bar-base-height) + env(safe-area-inset-bottom));
  left: 0;
  z-index: 281;
  background: var(--arrss-sheet-surface);
  color: var(--arrss-sheet-ink);
  overflow: hidden;
}

.arrss-feed-sheet.is-open {
  display: flex !important;
  flex-direction: column;
}

.arrss-feed-sheet__header {
  display: none;
}

.arrss-feed-sheet__back {
  appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid var(--arrss-sheet-border);
  border-radius: 0;
  background: #fff;
  color: var(--arrss-sheet-ink);
  cursor: pointer;
}

.arrss-feed-sheet__back svg {
  width: 18px;
  height: 18px;
}

.arrss-feed-sheet__heading {
  margin: 0;
  color: var(--arrss-sheet-ink);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.2;
  text-align: center;
}

.arrss-feed-sheet__spacer {
  display: block;
  width: 42px;
  height: 42px;
}

.arrss-feed-sheet__body {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  overflow-x: hidden;
  padding: 0 0 calc(16px + var(--arrss-bar-base-height) + env(safe-area-inset-bottom));
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-x: none;
  touch-action: pan-y;
}

.arrss-feed-sheet__state[hidden] {
  display: none !important;
}

.arrss-feed-sheet__state {
  margin: 0;
  font-size: 13px;
  line-height: 1.5;
  color: var(--arrss-sheet-muted);
}

.arrss-feed-sheet__state.is-empty {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 38vh;
  text-align: center;
  color: #9aa1ab;
  font-size: 14px;
}

.arrss-feed-sheet__results {
  width: 100%;
}

.arrss-feed-sheet__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  width: 100%;
  gap: 0;
  border-top: 1px solid var(--arrss-sheet-border);
  border-left: 1px solid var(--arrss-sheet-border);
}

.arrss-feed-sheet__post {
  display: flex;
  flex-direction: column;
  min-width: 0;
  color: inherit;
  text-decoration: none;
  background: #ffffff;
  border-right: 1px solid var(--arrss-sheet-border);
  border-bottom: 1px solid var(--arrss-sheet-border);
}

.arrss-feed-sheet__post-thumb {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background: #eef1f5;
}

.arrss-feed-sheet__post-thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.arrss-feed-sheet__post-thumb.is-fallback {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px;
  color: var(--arrss-sheet-ink);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.3;
  text-align: center;
}

.arrss-feed-sheet__post-date {
  display: none !important;
}

.arrss-feed-sheet__post-copy {
  display: flex;
  align-items: center;
  min-height: 42px;
  background: #ffffff;
}

.arrss-feed-sheet__post-title {
  margin: 0;
  color: var(--arrss-sheet-ink);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.4;
  padding: 12px 10px;
  text-align: left;
  display: block;
  width: 100%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

@media (min-width: 768px) {
  .arrss-feed-sheet__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.arrss-search-sheet {
  position: fixed;
  top: var(--arrss-top-offset);
  right: 0;
  bottom: calc(var(--arrss-bar-base-height) + env(safe-area-inset-bottom));
  left: 0;
  z-index: 282;
  background: var(--arrss-sheet-surface);
  color: var(--arrss-sheet-ink);
  overflow-y: auto;
  overflow-x: hidden;
  overscroll-behavior-x: none;
  -webkit-overflow-scrolling: touch;
  touch-action: pan-y;
}

.arrss-search-sheet.is-open {
  display: block !important;
}

.arrss-search-sheet__header {
  position: relative;
  top: auto;
  z-index: auto;
  padding: 14px 14px 14px;
  background: #fff;
  border-bottom: 0;
}

.arrss-search-sheet__searchbar {
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  width: 100%;
  min-height: 42px;
  padding: 0 14px;
  background: #ffffff;
  border: 1px solid var(--arrss-sheet-border);
  border-radius: 0;
}

.arrss-search-sheet__search-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--arrss-sheet-muted);
}

.arrss-search-sheet__search-icon svg {
  width: 16px;
  height: 16px;
}

.arrss-search-sheet__input {
  width: 100%;
  min-width: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--arrss-sheet-ink);
  font: inherit;
  font-size: 16px;
  line-height: 1.2;
  outline: none;
}

.arrss-search-sheet__cancel {
  appearance: none;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--arrss-sheet-muted);
  font: inherit;
  font-size: 14px;
  line-height: 1;
  cursor: pointer;
}

.arrss-search-sheet__filters,
.arrss-search-sheet__filter {
  display: none !important;
}

.arrss-search-sheet__filter.is-active {
  color: var(--arrss-sheet-ink);
  border-color: #d4d8df;
  background: #f7f8fa;
}

.arrss-search-sheet__body {
  padding: 8px 0 calc(18px + var(--arrss-bar-base-height) + env(safe-area-inset-bottom));
}

.arrss-search-sheet__state {
  margin: 0;
  padding: 8px 16px 0;
  color: var(--arrss-sheet-muted);
  font-size: 14px;
  line-height: 1.5;
}

.arrss-search-sheet__results {
  padding-top: 6px;
}

.arrss-search-sheet__section + .arrss-search-sheet__section {
  margin-top: 12px;
}

.arrss-search-sheet__section-title {
  display: none !important;
}

.arrss-search-sheet__result {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  padding: 12px 16px;
  color: inherit;
  text-decoration: none;
  background: #fff;
}

.arrss-search-sheet__result + .arrss-search-sheet__result {
  border-top: 1px solid #f0f2f5;
}

.arrss-search-sheet__thumb,
.arrss-search-sheet__avatar,
.arrss-search-sheet__tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  overflow: hidden;
  background: #f4f5f7;
  color: var(--arrss-sheet-ink);
  flex-shrink: 0;
}

.arrss-search-sheet__avatar,
.arrss-search-sheet__tag {
  border-radius: 999px;
}

.arrss-search-sheet__thumb {
  border-radius: 0;
}

.arrss-search-sheet__thumb img,
.arrss-search-sheet__avatar img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.arrss-search-sheet__tag {
  font-size: 20px;
  font-weight: 600;
}

.arrss-search-sheet__copy {
  min-width: 0;
  padding-top: 1px;
}

.arrss-search-sheet__titleline {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  max-width: 100%;
}

.arrss-search-sheet__title {
  display: block;
  color: var(--arrss-sheet-ink);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.3;
  max-width: 100%;
}

.arrss-search-sheet__company {
  display: inline-block;
  padding-top: 1px;
  color: var(--arrss-sheet-muted);
  font-size: 11px;
  font-weight: 400;
  line-height: 1.35;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.arrss-search-sheet__verified {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 16px;
  height: 16px;
  color: var(--arrss-sheet-verified);
  flex-shrink: 0;
}

.arrss-search-sheet__verified svg {
  width: 16px;
  height: 16px;
}

.arrss-search-sheet__subtitle {
  margin: 4px 0 0;
  color: var(--arrss-sheet-muted);
  font-size: 13px;
  line-height: 1.4;
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.arrss-events-sheet {
  position: fixed;
  top: var(--arrss-top-offset);
  right: 0;
  bottom: calc(var(--arrss-bar-base-height) + env(safe-area-inset-bottom));
  left: 0;
  z-index: 283;
  background: var(--arrss-sheet-surface);
  color: var(--arrss-sheet-ink);
  overflow: hidden;
}

.arrss-events-sheet.is-open {
  display: flex !important;
  flex-direction: column;
}

.arrss-events-sheet__header {
  display: none;
}

.arrss-events-sheet__back,
.arrss-events-sheet__compose-toggle {
  appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid var(--arrss-sheet-border);
  border-radius: 0;
  background: #fff;
  color: var(--arrss-sheet-ink);
  cursor: pointer;
}

.arrss-events-sheet__back svg,
.arrss-events-sheet__compose-toggle svg {
  width: 18px;
  height: 18px;
}

.arrss-events-sheet__heading {
  margin: 0;
  color: var(--arrss-sheet-ink);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.2;
  text-align: center;
}

.arrss-events-sheet__spacer {
  display: block;
  width: 42px;
  height: 42px;
}

.arrss-events-sheet__body {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  overflow-x: hidden;
  padding: 0 0 calc(24px + var(--arrss-bar-base-height) + env(safe-area-inset-bottom));
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-x: none;
  touch-action: pan-y;
}

.arrss-events-sheet__utility {
  display: none !important;
}

.arrss-events-sheet__compose {
  margin-bottom: 16px;
  padding: 14px;
  border: 1px solid var(--arrss-sheet-border);
  background: #ffffff;
}

.arrss-events-sheet__form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.arrss-events-sheet__form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.arrss-events-sheet__field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}

.arrss-events-sheet__field--full {
  grid-column: 1 / -1;
}

.arrss-events-sheet__field span {
  color: var(--arrss-sheet-ink);
  font-size: 12px;
  font-weight: 600;
  line-height: 1.35;
}

.arrss-events-sheet__field input,
.arrss-events-sheet__field select,
.arrss-events-sheet__field textarea {
  width: 100%;
  min-width: 0;
  padding: 12px 12px;
  border: 1px solid var(--arrss-sheet-border);
  border-radius: 0;
  background: #ffffff;
  color: var(--arrss-sheet-ink);
  font: inherit;
  font-size: 15px;
  line-height: 1.4;
  outline: none;
  resize: vertical;
}

.arrss-events-sheet__field input[type="file"] {
  padding: 10px 12px;
  background: #f8f9fb;
}

.arrss-events-sheet__field textarea {
  min-height: 88px;
}

.arrss-events-sheet__field input:focus,
.arrss-events-sheet__field select:focus,
.arrss-events-sheet__field textarea:focus {
  border-color: #cfd5dd;
}

.arrss-events-sheet__form-note,
.arrss-events-sheet__form-state,
.arrss-events-sheet__state {
  margin: 0;
  font-size: 13px;
  line-height: 1.5;
}

.arrss-events-sheet__form-note,
.arrss-events-sheet__state {
  color: var(--arrss-sheet-muted);
}

.arrss-events-sheet__state.is-empty {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 38vh;
  text-align: center;
  color: #9aa1ab;
  font-size: 14px;
}

.arrss-events-sheet__form-state.is-error {
  color: #b42318;
}

.arrss-events-sheet__form-state.is-success {
  color: #157347;
}

.arrss-events-sheet__form-actions {
  display: flex;
  gap: 10px;
}

.arrss-events-sheet__primary,
.arrss-events-sheet__secondary,
.arrss-events-sheet__link {
  appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 14px;
  border: 1px solid var(--arrss-sheet-border);
  border-radius: 0;
  background: #ffffff;
  color: var(--arrss-sheet-ink);
  font: inherit;
  font-size: 14px;
  text-decoration: none;
  cursor: pointer;
  flex: 1;
  min-width: 0;
}

.arrss-events-sheet__link.is-edit {
  background: #f7f8fa;
  border-color: #d9dde3;
  color: #1e1e1e;
}

.arrss-events-sheet__primary {
  border-color: #1e1e1e;
  background: #1e1e1e;
  color: #ffffff;
}

.arrss-events-sheet__results {
  width: 100%;
}

.arrss-events-sheet__cards {
  display: grid;
  gap: 14px;
}

.arrss-events-sheet__card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 0 0 1px;
  padding: 0;
  border-top: 0;
  border-left: 0;
  border-right: 0;
  border-bottom: 1px solid var(--arrss-sheet-border);
  background: #ffffff;
  overflow: hidden;
  cursor: pointer;
  border-radius: 0 !important;
}

.arrss-events-sheet__card.is-collapsed {
  aspect-ratio: 16 / 9;
  height: auto;
  gap: 0;
}

.arrss-events-sheet__card.is-collapsed .arrss-events-sheet__poster {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-bottom: 0;
  z-index: 1;
}

.arrss-events-sheet__card.is-collapsed .arrss-events-sheet__card-top {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 2;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.4) 60%, transparent 100%);
  padding: 30px 16px 16px;
  gap: 2px;
}

.arrss-events-sheet__card.is-collapsed .arrss-events-sheet__card-title {
  color: #ffffff;
  font-size: 18px;
  line-height: 1.2;
  -webkit-line-clamp: 2;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.arrss-events-sheet__card.is-collapsed .arrss-events-sheet__category,
.arrss-events-sheet__card.is-collapsed .arrss-events-sheet__card-meta {
  color: rgba(255, 255, 255, 0.9);
  font-size: 10px;
}

.arrss-events-sheet__card.is-collapsed .arrss-events-sheet__card-summary,
.arrss-events-sheet__card.is-collapsed .arrss-events-sheet__facts,
.arrss-events-sheet__card.is-collapsed .arrss-events-sheet__extras,
.arrss-events-sheet__card.is-collapsed .arrss-events-sheet__actions {
  display: none;
}

/* Show only Level and Duration in overlay when collapsed */
.arrss-events-sheet__card.is-collapsed .arrss-events-sheet__facts {
  display: flex;
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 3;
  padding: 0;
  background: transparent;
  gap: 8px;
}

.arrss-events-sheet__card.is-collapsed .arrss-events-sheet__fact {
  background: rgba(255, 255, 255, 0.95);
  padding: 4px 8px;
  border: 1px solid #000;
  flex-direction: row;
  gap: 4px;
}

.arrss-events-sheet__card.is-collapsed .arrss-events-sheet__fact-label {
  display: none;
}

.arrss-events-sheet__card.is-collapsed .arrss-events-sheet__fact-value {
  font-size: 10px;
  font-weight: 800;
  color: #000;
  text-transform: uppercase;
}

.arrss-events-sheet__card.is-collapsed .arrss-events-sheet__fact:nth-child(n+3) {
  display: none;
}

.arrss-events-sheet__poster {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #eef1f5;
  border-bottom: 1px solid var(--arrss-sheet-border);
}

.arrss-events-sheet__poster img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.arrss-events-sheet__card-top {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 16px 16px 0;
}

.arrss-events-sheet__category {
  display: inline-block;
  color: var(--arrss-sheet-muted);
  font-size: 11px;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.arrss-events-sheet__card-meta {
  margin: 0;
  color: var(--arrss-sheet-muted);
  font-size: 12px;
  line-height: 1.45;
}

.arrss-events-sheet__card-title {
  margin: 0;
  color: var(--arrss-sheet-ink);
  font-size: 22px;
  font-weight: 700;
  line-height: 1.15;
}

.arrss-events-sheet__card-summary {
  margin: 0;
  padding: 0 16px;
  color: var(--arrss-sheet-ink);
  font-size: 14px;
  line-height: 1.55;
}

.arrss-events-sheet__facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  padding: 0 16px;
}

.arrss-events-sheet__fact {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
  padding: 10px 12px;
  background: #f7f8fa;
  border: 1px solid var(--arrss-sheet-border);
}

.arrss-events-sheet__fact-label {
  color: var(--arrss-sheet-muted);
  font-size: 11px;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.arrss-events-sheet__fact-value {
  color: var(--arrss-sheet-ink);
  font-size: 14px;
  line-height: 1.45;
  overflow-wrap: anywhere;
}

.arrss-events-sheet__results {
  display: flex;
  flex-direction: column;
  margin: 0 !important;
  padding: 0 !important;
}

.arrss-events-sheet__extras {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 0 16px;
}

.arrss-events-sheet__extra {
  margin: 0;
  color: var(--arrss-sheet-ink);
  font-size: 13px;
  line-height: 1.55;
}

.arrss-events-sheet__extra strong {
  font-weight: 600;
}

.arrss-events-sheet__actions {
  display: flex;
  justify-content: flex-start;
  padding: 0 16px 16px;
}

.arrss-profile-sheet {
  position: fixed;
  top: var(--arrss-top-offset);
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 285;
}

.arrss-profile-sheet.is-open {
  display: block !important;
}

.arrss-profile-sheet__backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(0, 0, 0, 0.12);
  cursor: pointer;
}

.arrss-profile-sheet__panel {
  position: absolute;
  right: 0;
  bottom: calc(var(--arrss-bar-base-height) + env(safe-area-inset-bottom));
  left: 0;
  background: #fff;
  border-top: 1px solid var(--arrss-sheet-border);
  box-shadow: 0 -8px 22px rgba(15, 23, 42, 0.08);
  padding: 16px 16px calc(16px + env(safe-area-inset-bottom));
}

.arrss-profile-sheet__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
}

.arrss-profile-sheet__identity {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.arrss-profile-sheet__avatar-wrap,
.arrss-profile-sheet__avatar,
.arrss-profile-sheet__avatar-fallback {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 999px;
  overflow: hidden;
  background: #f4f5f7;
  color: var(--arrss-sheet-ink);
  flex-shrink: 0;
}

.arrss-profile-sheet__avatar {
  object-fit: cover;
  object-position: center;
}

.arrss-profile-sheet__avatar-fallback svg {
  width: 22px;
  height: 22px;
}

.arrss-profile-sheet__copy {
  min-width: 0;
}

.arrss-profile-sheet__eyebrow {
  margin: 0 0 2px;
  color: var(--arrss-sheet-muted);
  font-size: 12px;
  line-height: 1.2;
}

.arrss-profile-sheet__title {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin: 0;
  color: var(--arrss-sheet-ink);
  font-size: 18px;
  line-height: 1.2;
}

.arrss-profile-sheet__verified {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  color: var(--arrss-sheet-verified);
}

.arrss-profile-sheet__verified svg {
  width: 18px;
  height: 18px;
}

.arrss-profile-sheet__badge {
  margin: 4px 0 0;
  color: var(--arrss-sheet-verified);
  font-size: 13px;
  line-height: 1.3;
}

.arrss-profile-sheet__company {
  margin: 6px 0 0;
  color: var(--arrss-sheet-muted);
  font-size: 11px;
  font-weight: 400;
  line-height: 1.4;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.arrss-profile-sheet__excerpt {
  margin: 6px 0 0;
  color: var(--arrss-sheet-ink);
  font-size: 13px;
  line-height: 1.45;
}

.arrss-profile-sheet__close {
  appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  padding: 0;
  border: 1px solid var(--arrss-sheet-border);
  border-radius: 0;
  background: #fff;
  color: var(--arrss-sheet-ink);
  cursor: pointer;
}

.arrss-profile-sheet__close svg {
  width: 14px;
  height: 14px;
}

.arrss-profile-sheet__links {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-top: 16px;
}

.arrss-profile-sheet__meta-line {
  margin: 6px 0 0;
  color: var(--arrss-sheet-ink);
  font-size: 13px;
  line-height: 1.45;
  word-break: break-word;
}

.arrss-profile-sheet__meta-line strong {
  font-weight: 600;
}

.arrss-profile-sheet__meta-line a {
  color: var(--arrss-sheet-ink);
  text-decoration: none;
  transition: opacity 0.2s;
}

.arrss-profile-sheet__meta-line a:hover {
  opacity: 0.7;
}

.arrss-profile-sheet__link {
  appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 14px;
  border: 1px solid var(--arrss-sheet-border);
  border-radius: 0;
  color: var(--arrss-sheet-ink);
  text-decoration: none;
  background: #fff;
  font-size: 15px;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  width: 100%;
}

.arrss-profile-sheet__link--primary {
  background: #1e1e1e;
  color: #fff;
  border-color: #1e1e1e;
}

.arrss-profile-sheet__link--outline {
  background: transparent;
  border-color: var(--arrss-sheet-ink);
  color: var(--arrss-sheet-ink);
}

.arrss-profile-sheet__link--ghost {
  background: transparent;
  border-color: var(--arrss-sheet-border);
  color: #888;
}

.arrss-user-sheet__own-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 20px 16px;
  border-top: 1px solid var(--arrss-sheet-border);
  margin-top: 4px;
}

.arrss-user-sheet {
  position: fixed;
  top: var(--arrss-top-offset);
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 286;
  background: #ffffff;
  color: var(--arrss-sheet-ink);
  overflow-x: hidden;
  overscroll-behavior-x: none;
}

.arrss-user-sheet.is-open {
  display: flex !important;
  flex-direction: column;
}

.arrss-user-sheet__header {
  position: sticky;
  top: 0;
  z-index: 2;
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) 42px;
  align-items: center;
  gap: 10px;
  padding: max(env(safe-area-inset-top), 12px) 16px 10px;
  background: #ffffff;
  border-bottom: 1px solid var(--arrss-sheet-border);
}

.arrss-user-sheet__back {
  appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid var(--arrss-sheet-border);
  border-radius: 0;
  background: #fff;
  color: var(--arrss-sheet-ink);
  cursor: pointer;
}

.arrss-user-sheet__back svg {
  width: 18px;
  height: 18px;
}

.arrss-user-sheet__heading {
  margin: 0;
  color: var(--arrss-sheet-ink);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.2;
  text-align: center;
}

.arrss-user-sheet__body {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  overflow-x: hidden;
  padding: 0 0 calc(22px + var(--arrss-bar-base-height) + env(safe-area-inset-bottom));
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-x: none;
  touch-action: pan-y;
}

.arrss-user-sheet__profile {
  display: flex;
  flex-direction: column;
  gap: 0;
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
}

.arrss-user-sheet__intro {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 18px 16px 16px;
}

.arrss-user-sheet__hero {
  display: grid;
  grid-template-columns: 88px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
}

.arrss-user-sheet__avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 88px;
  height: 88px;
  overflow: hidden;
  border-radius: 999px;
  background: #f4f5f7;
  color: var(--arrss-sheet-ink);
  font-size: 30px;
  font-weight: 600;
}

.arrss-user-sheet__avatar img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.arrss-user-sheet__copy {
  min-width: 0;
}

.arrss-user-sheet__titleline {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
}

.arrss-user-sheet__name {
  margin: 0;
  color: var(--arrss-sheet-ink);
  font-size: 22px;
  font-weight: 600;
  line-height: 1.15;
}

.arrss-user-sheet__company {
  margin: 3px 0 0;
  color: var(--arrss-sheet-muted);
  font-size: 12px;
  font-weight: 400;
  line-height: 1.35;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.arrss-user-sheet__excerpt {
  margin: 10px 0 0;
  color: var(--arrss-sheet-ink);
  font-size: 14px;
  line-height: 1.55;
}

.arrss-user-sheet__meta {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.arrss-user-sheet__meta-line {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 0;
  color: var(--arrss-sheet-ink);
  font-size: 13px;
  line-height: 1.5;
  word-break: break-word;
}

.arrss-user-sheet__meta-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 16px;
  min-width: 16px;
  height: 16px;
  margin-top: 2px;
  color: var(--arrss-sheet-ink);
}

.arrss-user-sheet__meta-icon svg {
  width: 16px;
  height: 16px;
}

.arrss-user-sheet__meta-value,
.arrss-user-sheet__meta-link {
  display: inline-block;
  min-width: 0;
  color: var(--arrss-sheet-ink);
  font: inherit;
  line-height: inherit;
}

.arrss-user-sheet__meta-link {
  text-decoration: none;
  transition: opacity 0.2s;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.arrss-user-sheet__meta-link:hover {
  opacity: 0.7;
}

.arrss-user-sheet__posts {
  display: flex;
  flex-direction: column;
  gap: 0;
  border-top: 1px solid var(--arrss-sheet-border);
  padding-top: 0;
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
}

.arrss-user-sheet__posts-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  width: 100%;
  border-left: 1px solid var(--arrss-sheet-border);
  border-top: 1px solid var(--arrss-sheet-border);
}

.arrss-user-sheet__post {
  display: flex;
  flex-direction: column;
  align-items: start;
  min-width: 0;
  padding: 0;
  border-right: 1px solid var(--arrss-sheet-border);
  border-bottom: 1px solid var(--arrss-sheet-border);
  color: inherit;
  text-decoration: none;
}

.arrss-user-sheet__post-thumb {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background: #f4f5f7;
  border-radius: 0;
  color: var(--arrss-sheet-ink);
  font-size: 11px;
  line-height: 1.35;
  text-align: center;
  padding: 8px;
}

.arrss-user-sheet__post-thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.arrss-user-sheet__state,
.arrss-user-sheet__empty {
  margin: 0;
  padding: 16px;
  color: var(--arrss-sheet-muted);
  font-size: 14px;
  line-height: 1.5;
}

@media (max-width: 720px) {
  .arrss-events-sheet__form-grid,
  .arrss-events-sheet__facts {
    grid-template-columns: minmax(0, 1fr);
  }

  .arrss-events-sheet__form-actions {
    flex-direction: column;
  }

  .arrss-events-sheet__primary,
  .arrss-events-sheet__secondary {
    width: 100%;
  }
}
