@import url('/css/account.css');

body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--text-color);
  font-family: var(--font-family);
  --brand-width: min(1400px, 92vw);
  --max-width: var(--brand-width);
  --brand-padding: 2rem 1rem 0;
  --brand-gap: var(--space-6);
  --brand-justify: flex-start;
  --logo-bg: var(--surface-elevated);
  --logo-border: var(--border-accent);
  --logo-shadow: var(--shadow);
  --logo-height: 28px;
  --text-color: var(--text);
  --muted-text: var(--muted);
  --card-color: var(--surface-elevated);
  --surface-border: var(--border-accent);
  --soft-shadow: var(--shadow);
  --button-color: var(--accent-strong);
  --button-text-color: #ffffff;
  --feed-min: 220px;
}

.portal-shell {
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding: 2.5rem 1.25rem 4rem;
  display: grid;
  grid-template-columns: minmax(180px, 210px) minmax(0, 1fr) minmax(260px, 400px);
  gap: var(--space-4);
  align-items: start;
}

.portal-shell .portal-body {
  padding: 0;
  align-items: stretch;
}

.portal-shell .portal-hero,
.portal-shell .portal-feed,
.portal-shell .portal-links,
.portal-shell .portal-blocks {
  max-width: none;
}

.portal-editor-nav {
  position: sticky;
  top: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
  padding: 1.25rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--panel-border);
  background: var(--panel-bg);
  box-shadow: var(--panel-shadow);
}

.portal-editor-nav__header {
  display: grid;
  gap: 0.35rem;
}

.portal-editor-nav__kicker {
  text-transform: uppercase;
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  color: var(--muted-text);
}

.portal-editor-nav__meta {
  color: var(--muted-text);
  font-size: var(--text-sm);
}

.portal-editor-nav__role {
  align-self: flex-start;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--muted-text);
  background: var(--ghost-bg);
  border: 1px solid var(--ghost-border, rgba(236, 72, 153, 0.22));
  padding: 0.15rem 0.45rem;
  border-radius: 999px;
}

.portal-switcher {
  position: relative;
}

.portal-editor-nav__switcher-label {
  font-size: var(--text-xs);
  color: var(--muted-text);
}

.portal-switcher__trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-2);
  width: 100%;
  padding: 0.5rem 0.65rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--panel-border);
  background: var(--surface-elevated);
  color: var(--text);
  font: inherit;
  font-size: var(--text-sm);
  font-weight: 600;
  cursor: pointer;
  text-align: left;
  transition: border-color 150ms ease;
}

.portal-switcher__trigger:hover {
  border-color: var(--accent-strong);
}

.portal-switcher__trigger svg {
  flex-shrink: 0;
  opacity: 0.5;
  transition: transform 200ms ease;
}

.portal-switcher.is-open .portal-switcher__trigger svg {
  transform: rotate(180deg);
}

.portal-switcher__menu {
  display: none;
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  right: 0;
  background: #1a1a2e;
  border: 1px solid rgba(255, 255, 255, 0.10);
  border-radius: var(--radius-sm);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
  padding: 0.3rem;
  z-index: 100;
  max-height: 200px;
  overflow-y: auto;
  flex-direction: column;
}

.portal-switcher.is-open .portal-switcher__menu {
  display: flex;
  animation: ui-fade-in 150ms ease both;
}

.portal-switcher__item {
  display: block;
  padding: 0.5rem 0.6rem;
  border-radius: var(--radius-xs);
  color: var(--text);
  text-decoration: none;
  font-size: var(--text-sm);
  font-weight: 500;
  transition: background 120ms ease;
}

.portal-switcher__item:hover {
  background: var(--ghost-bg);
}

.portal-editor-nav__links,
.portal-editor-nav__footer {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.portal-editor-nav__group {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.portal-editor-nav__group-title {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--muted-text);
  margin-top: 0.35rem;
}

.portal-editor-nav__link {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.55rem 0.75rem;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  background: transparent;
  color: var(--text-color);
  text-decoration: none;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
  width: 100%;
  justify-content: flex-start;
  text-align: left;
}

.portal-editor-nav__link:hover {
  background: var(--ghost-bg);
  border-color: var(--ghost-border, rgba(236, 72, 153, 0.22));
}

.portal-editor-nav__link.is-active {
  background: var(--accent-gradient-faint);
  border-color: var(--accent-strong);
  color: var(--accent-strong);
}


.portal-body[data-portal-editing="true"] {
  --feed-min: 260px;
}


.portal-body[data-portal-editing="true"].stagger-children > * {
  animation-delay: 0ms;
}

.portal-body[data-portal-editing="true"] > section[id] {
  scroll-margin-top: 140px;
}

.portal-theme-controls,
.portal-analytics-utm,
.portal-audience-settings {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.portal-audience-fields {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  padding: 0.75rem;
  border-radius: var(--radius-md);
  border: 1px dashed var(--panel-border);
  background: var(--ghost-bg);
}

.portal-audience-fields__header h3 {
  margin: 0;
}

.portal-audience-fields__list {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.portal-audience-field {
  border-radius: var(--radius-md);
  border: 1px solid var(--panel-border);
  background: var(--surface);
  padding: 0.85rem;
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.portal-audience-field__row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: var(--space-3);
  align-items: end;
}

.portal-audience-field__row .checkbox {
  margin-top: 1.5rem;
}

.portal-audience-field__options.hidden {
  display: none;
}

.portal-audience-field__actions {
  display: flex;
  justify-content: flex-end;
}

.portal-audience-fields__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  align-items: center;
}

.portal-audience-autoreply,
.portal-audience-campaign {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  padding: 0.95rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--panel-border);
  background: var(--surface-elevated);
}

.portal-audience-campaign__form {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.hidden {
  display: none;
}

.portal-audience-campaign-history,
.portal-audience-campaign-logs {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  padding: 0.95rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--panel-border);
  background: var(--surface-elevated);
}

.portal-audience-campaign-history__header,
.portal-audience-campaign-logs__header {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  justify-content: space-between;
  align-items: center;
}

.portal-audience-campaign-history__list,
.portal-audience-campaign-logs__list {
  display: grid;
  gap: var(--space-3);
}

.campaign-history-card {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-4);
  padding: 0.85rem 1rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--panel-border);
  background: var(--surface);
}

.campaign-history-subject {
  font-weight: 600;
}

.campaign-history-meta,
.campaign-log-meta {
  font-size: var(--text-sm);
  color: var(--muted-text);
}

.campaign-log-row {
  padding: 0.75rem 1rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--panel-border);
  background: var(--surface);
}

.campaign-log-email {
  font-weight: 600;
}

.campaign-log-error {
  margin-top: 0.35rem;
  color: var(--danger-text, #b91c1c);
  font-size: var(--text-sm);
}

.portal-audience-autoreply__header h3 {
  margin: 0;
}

.portal-audience-autoreply__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--space-3);
  align-items: end;
}

.portal-audience-presets {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  align-items: center;
  margin-top: 0.5rem;
}

.portal-audience-presets__label {
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--muted);
  width: 100%;
  margin-bottom: 0.1rem;
}

.portal-audience-presets .btn--sm {
  font-size: var(--text-xs);
  padding: 0.3rem 0.6rem;
  gap: 0.3rem;
}

.portal-analytics-utm {
  margin-top: 1.5rem;
}

.portal-integration {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-6);
  justify-content: space-between;
  align-items: center;
}

.portal-integration__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  align-items: center;
}

.portal-panel-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  align-items: center;
}

.portal-preview {
  position: sticky;
  top: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.portal-preview__controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  margin-top: 0.75rem;
}

.portal-preview__label {
  margin: 0;
}

.portal-preview__device {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--panel-border);
  box-shadow: var(--panel-shadow);
  background: var(--panel-bg);
}

.portal-preview__iframe {
  border: none;
  display: block;
  transform-origin: top left;
  transition: opacity 200ms ease;
}

.portal-preview__iframe.is-refreshing {
  opacity: 0.4;
}

.portal-preview__resolution-selector {
  margin-top: 0.25rem;
}

.portal-preview__resolution-selector select {
  width: 100%;
  font-size: var(--text-sm);
}

@media (max-width: 1024px) {
  .portal-preview__resolution-selector {
    display: none;
  }
}

.portal-body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 1.25rem 4rem;
  background: transparent;
}

.portal-brand--portal {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  grid-template-areas: "logo title nav";
  align-items: center;
  position: relative;
}

.portal-brand--portal .portal-logo {
  grid-area: logo;
  justify-self: start;
}

.portal-brand--portal .portal-nav {
  grid-area: nav;
  justify-self: end;
  margin-left: 0;
}

.portal-header-title {
  grid-area: title;
  justify-self: center;
  text-align: center;
  display: block;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: min(36rem, 60vw);
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.1;
  color: var(--text-color);
  max-width: min(36rem, 60vw);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.portal-header-title:empty {
  display: none;
}

.avatar-trigger--guest {
  padding: 0.35rem 0.6rem;
}

.avatar-trigger--guest .avatar-circle {
  width: 34px;
  height: 34px;
}

.portal-hero {
  width: 100%;
  max-width: var(--max-width);
  text-align: center;
  margin-bottom: 2.5rem;
}

.portal-cover {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto 1.5rem;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--surface-border);
  box-shadow: var(--soft-shadow);
}

.portal-cover__image {
  width: 100%;
  height: clamp(160px, 30vw, 260px);
  object-fit: cover;
  display: block;
}

.portal-avatar {
  width: 96px;
  height: 96px;
  border-radius: var(--radius-lg);
  object-fit: cover;
  border: 3px solid rgba(236, 72, 153, 0.25);
  margin-bottom: 1rem;
  box-shadow: var(--soft-shadow);
}

.portal-avatar--video {
  border-radius: 50%;
}

.portal-hero__title {
  font-size: clamp(2rem, 4vw, 2.75rem);
  margin: 0;
  letter-spacing: -0.02em;
}

.portal-hero__tagline {
  max-width: 40rem;
  margin: 0.75rem auto 0;
  line-height: 1.5;
  color: var(--muted-text);
  font-size: var(--text-base);
}

.feed-grid {
  width: 100%;
  max-width: var(--max-width);
  display: grid;
  gap: var(--space-6);
  grid-template-columns: repeat(auto-fit, minmax(var(--feed-min), 1fr));
}

.portal-feed {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 2rem 1.75rem;
  display: block;
}

.portal-feed .feed-grid {
  max-width: none;
}

.feed-card {
  background: var(--card-color);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-height: 340px;
  box-shadow: var(--soft-shadow);
  border: 1px solid var(--surface-border);
  backdrop-filter: blur(10px);
  position: relative;
}

.media-wrapper {
  position: relative;
  padding-top: 100%;
  overflow: hidden;
  cursor: zoom-in;
}

.media-wrapper img,
.media-wrapper video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.media-wrapper video {
  background: black;
}

.portal-instagram-badge {
  position: absolute;
  right: 0.75rem;
  bottom: 0.75rem;
  width: 34px;
  height: 34px;
  border-radius: 9999px;
  background: var(--accent-gradient);
  border: 1px solid var(--border);
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 12px 24px rgba(236, 72, 153, 0.3);
}

.portal-instagram-badge svg {
  width: 17px;
  height: 17px;
  display: block;
}

.portal-status-badge {
  position: absolute;
  left: 0.75rem;
  bottom: 0.75rem;
  padding: 0.35rem 0.75rem;
  color: #fff;
  border: 1px solid var(--surface-border);
  box-shadow: var(--soft-shadow);
}

.portal-status-badge.portal-status--live {
  background: rgba(4, 120, 87, 0.92);
  border-color: rgba(4, 120, 87, 0.6);
}

.portal-status-badge.portal-status--draft {
  background: rgba(219, 39, 119, 0.9);
  border-color: rgba(190, 24, 93, 0.7);
}

.media-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--text-sm);
  color: var(--muted-text);
  background: rgba(236, 72, 153, 0.08);
}

.card-body {
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  flex: 1;
}

.card-meta {
  display: flex;
  gap: var(--space-2);
  align-items: center;
  font-size: var(--text-sm);
  color: var(--muted-text);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.post-copy-button {
  margin-left: auto;
  padding: 0.25rem;
  line-height: 1;
  min-width: 0;
}

.post-copy-button .material-symbols-rounded::before {
  font-size: 0.9rem;
}

.card-caption {
  font-size: var(--text-base);
  line-height: 1.45;
  flex: 1;
  color: var(--text-color);
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
}

.card-tags {
  display: flex;
  gap: var(--space-2);
  flex-wrap: wrap;
  font-size: var(--text-sm);
  color: var(--muted-text);
}

.card-tags span {
  background: var(--accent-gradient-faint);
  border: 1px solid rgba(236, 72, 153, 0.2);
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
}

.cta-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.5rem;
  background-color: var(--button-color, var(--accent));
  background-image: linear-gradient(135deg, rgba(255, 255, 255, 0.22), rgba(255, 255, 255, 0));
  color: var(--button-text-color, #fff);
  border-radius: var(--radius-sm);
  text-decoration: none;
  font-weight: 600;
  border: 0;
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.cta-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(236, 72, 153, 0.2);
}

.cta-button[disabled],
.cta-button--locked {
  opacity: 0.6;
  cursor: not-allowed;
  pointer-events: none;
  transform: none;
  box-shadow: none;
}

.portal-actions {
  display: flex;
  gap: var(--space-3);
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  margin-top: 1.5rem;
}

.portal-dropdown {
  position: relative;
}

.portal-dropdown__menu {
  position: absolute;
  top: calc(100% + 0.5rem);
  left: 0;
  min-width: 190px;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  background: var(--card-color);
  border: 1px solid var(--surface-border);
  border-radius: 0.85rem;
  padding: 0.35rem;
  box-shadow: var(--soft-shadow);
  z-index: 4;
}

.portal-dropdown__item {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  width: 100%;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  text-align: left;
  padding: 0.5rem 0.75rem;
  border-radius: 0.65rem;
  cursor: pointer;
}

.portal-dropdown__item:hover {
  background: rgba(236, 72, 153, 0.08);
}

.portal-dropdown__item .material-symbols-rounded::before {
  font-size: var(--text-base);
}

.portal-actions-row {
  display: flex;
  gap: 0.35rem;
  align-items: center;
  justify-content: flex-end;
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-md);
  padding: 0.25rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
  z-index: 2;
}

.portal-actions-row .btn {
  padding: 0.3rem;
  line-height: 1;
  min-width: 0;
  color: rgba(255, 255, 255, 0.9);
  background: transparent;
  border-color: transparent;
}

.portal-actions-row .btn:hover {
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
}

.portal-actions-row .material-symbols-rounded::before {
  font-size: var(--text-sm);
}

.portal-links {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto 2rem;
}

.portal-content {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto 2.5rem;
}

.portal-panel-header {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
  align-items: center;
  justify-content: space-between;
}

.portal-body .account-panel {
  margin-bottom: 1.25rem;
}

.portal-body[data-portal-editing="true"] [data-panel-id] {
  display: none;
}

.portal-body[data-portal-editing="true"] [data-panel-id].is-active-page {
  display: block;
}

.portal-panel-header--posts {
  margin-bottom: 1.25rem;
}

.portal-panel-header + .portal-panel-toolbar {
  margin: 0.75rem 0;
}

.portal-panel-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  align-items: center;
  margin: 0.5rem 0;
}

.portal-content-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  width: 100%;
}

.link-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  width: 100%;
}

.link-list--public {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 0.9rem;
}

.link-list--public.link-list--stacked {
  display: flex;
  flex-direction: column;
}

.link-list--public.link-list--grid {
  display: grid;
}

.link-list--public.link-list--spotlight {
  display: grid;
}

.link-list--spotlight .link-card:first-child {
  grid-column: 1 / -1;
  padding: 1.1rem 1.35rem;
  font-size: var(--text-base);
  box-shadow: var(--soft-shadow);
}

.content-list {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  width: 100%;
}

.content-list--public {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 0.9rem;
}

.content-list--public.content-list--stacked {
  display: flex;
  flex-direction: column;
}

.content-list--public.content-list--grid {
  display: grid;
}

.content-list--public.content-list--spotlight {
  display: grid;
}

/* ── Link entrance animations ────────────────────────── */
[data-link-animation="fade-up"] .content-list--public > * {
  animation: link-fade-up 500ms var(--ease-out) both;
}

[data-link-animation="slide-in"] .content-list--public > * {
  animation: link-slide-in 500ms var(--ease-out) both;
}

[data-link-animation="scale"] .content-list--public > * {
  animation: link-scale 400ms var(--ease-out) both;
}

[data-link-animation="bounce"] .content-list--public > * {
  animation: link-bounce 600ms cubic-bezier(0.34, 1.56, 0.64, 1) both;
}

[data-link-animation] .content-list--public > *:nth-child(1) { animation-delay: 0ms; }
[data-link-animation] .content-list--public > *:nth-child(2) { animation-delay: 80ms; }
[data-link-animation] .content-list--public > *:nth-child(3) { animation-delay: 160ms; }
[data-link-animation] .content-list--public > *:nth-child(4) { animation-delay: 240ms; }
[data-link-animation] .content-list--public > *:nth-child(5) { animation-delay: 320ms; }
[data-link-animation] .content-list--public > *:nth-child(6) { animation-delay: 400ms; }
[data-link-animation] .content-list--public > *:nth-child(n+7) { animation-delay: 480ms; }

@keyframes link-fade-up {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes link-slide-in {
  from { opacity: 0; transform: translateX(-20px); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes link-scale {
  from { opacity: 0; transform: scale(0.85); }
  to { opacity: 1; transform: scale(1); }
}

@keyframes link-bounce {
  from { opacity: 0; transform: translateY(24px) scale(0.9); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

@media (prefers-reduced-motion: reduce) {
  [data-link-animation] .content-list--public > * {
    animation: none;
  }
}

.content-list--spotlight .link-card:first-child {
  grid-column: 1 / -1;
  padding: 1.1rem 1.35rem;
  font-size: var(--text-base);
  box-shadow: var(--soft-shadow);
}

.link-card {
  background: var(--card-color);
  border: 1px solid var(--surface-border);
  border-radius: var(--radius-md);
  padding: 0.9rem 1.1rem;
  text-decoration: none;
  color: var(--text-color);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
  box-shadow: var(--soft-shadow);
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.link-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--soft-shadow);
}

.link-card__label {
  font-weight: 600;
}

.link-card__icon {
  font-size: 1.2rem;
  color: var(--muted-text);
}

.link-card--locked {
  cursor: default;
  flex-wrap: wrap;
}

.link-card--locked .link-card__label {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  width: 100%;
}

.link-card__pw-input {
  flex: 1;
  min-width: 120px;
  padding: 0.4rem 0.6rem;
  border: 1px solid var(--input-border);
  border-radius: var(--radius-sm);
  background: var(--input-bg);
  color: var(--text);
  font-size: var(--text-sm);
}

.link-card__pw-unlock {
  padding: 0.4rem 0.8rem;
  border: none;
  border-radius: var(--radius-sm);
  background: var(--accent-strong);
  color: #fff;
  font-weight: 600;
  font-size: var(--text-sm);
  cursor: pointer;
}

.link-badge {
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 0.2rem 0.55rem;
  border-radius: 9999px;
  background: var(--accent-gradient-faint);
  color: var(--accent-strong);
}

.link-item {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  padding: 0.85rem 1rem;
  border: 1px solid var(--surface-border);
  border-radius: var(--radius-md);
  background: var(--surface-elevated);
}

.link-item[draggable="true"],
.block-item[draggable="true"] {
  cursor: grab;
  transition: transform 200ms var(--ease-out, ease),
              opacity 200ms ease,
              box-shadow 200ms ease,
              border-color 200ms ease;
}

.link-item[draggable="true"]:active,
.block-item[draggable="true"]:active {
  cursor: grabbing;
}

.link-item.is-dragging,
.block-item.is-dragging {
  opacity: 0.4;
  transform: scale(0.97);
  cursor: grabbing;
  border-style: dashed;
}

.link-item.is-drag-over,
.block-item.is-drag-over {
  border-color: var(--accent-strong);
  box-shadow: 0 0 0 2px var(--glow-strong, rgba(236, 72, 153, 0.25));
  transform: scale(1.01);
  background: var(--ghost-bg);
}

.link-item.is-disabled {
  opacity: 0.7;
}

.link-item__meta {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  min-width: 220px;
}

.link-item__label {
  font-weight: 600;
  color: var(--text-color);
}

.link-item__url {
  font-size: var(--text-sm);
  color: var(--muted-text);
  word-break: break-all;
}

.link-item__schedule {
  font-size: 0.8rem;
  color: var(--muted-text);
}

.link-item__short {
  display: flex;
  gap: 0.4rem;
  align-items: center;
  font-size: 0.8rem;
  color: var(--muted-text);
  word-break: break-all;
}

.link-item__short code {
  background: var(--surface-dim);
  padding: 0.1rem 0.35rem;
  border-radius: 9999px;
  font-size: var(--text-xs);
}

.link-item__badges {
  display: flex;
  gap: var(--space-2);
}

.link-pill {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.2rem 0.55rem;
  border-radius: 9999px;
  background: var(--accent-gradient-faint);
  color: var(--accent-strong);
}

.link-pill--disabled {
  background: rgba(148, 163, 184, 0.18);
  color: var(--muted-text);
}

.link-pill--scheduled {
  background: var(--info-bg);
  color: var(--info);
}

.link-pill--expired {
  background: var(--danger-bg);
  color: var(--danger);
}

.link-pill--timed {
  background: var(--success-bg);
  color: var(--success);
}

.link-pill--collection {
  background: var(--accent-gradient-soft);
  color: var(--accent-strong);
}

.link-item__actions {
  display: flex;
  flex-wrap: nowrap;
  gap: 0.25rem;
  flex-shrink: 0;
}

@media (max-width: 640px) {
  .link-item,
  .block-item {
    overflow: hidden;
    position: relative;
  }
  .link-item__actions,
  .block-item__actions {
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    transform: translateX(100%);
    transition: transform 200ms ease;
    background: var(--surface-elevated);
    border-left: 1px solid var(--border);
    padding: 0 var(--space-2);
    align-items: center;
    z-index: 2;
  }
  .link-item.is-swiped .link-item__actions,
  .block-item.is-swiped .block-item__actions {
    transform: translateX(0);
  }
  .link-item__meta,
  .block-item__meta {
    min-width: 0;
    transition: transform 200ms ease;
  }
  .link-item.is-swiped .link-item__meta,
  .block-item.is-swiped .block-item__meta {
    transform: translateX(-60px);
  }
}

.content-drag-handle {
  cursor: grab;
  opacity: 0.4;
  transition: opacity 150ms ease, transform 150ms ease;
}

.content-drag-handle:hover {
  opacity: 1;
  transform: scale(1.15);
}

.content-drag-handle:active {
  cursor: grabbing;
}

.portal-links-settings {
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
  margin-bottom: 1.25rem;
}

.portal-links-layout {
  background: var(--surface-dim);
  border: 1px solid var(--surface-border);
  border-radius: var(--radius-md);
  padding: 1rem;
  box-shadow: var(--soft-shadow);
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.portal-links-layout h3 {
  margin: 0;
  font-size: var(--text-base);
}

.layout-picker {
  display: flex;
  gap: var(--space-3);
}

.layout-picker__card {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-2);
  padding: 0.75rem 0.5rem;
  background: var(--surface-elevated);
  border: 2px solid var(--border);
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: border-color 150ms ease, box-shadow 150ms ease;
}

.layout-picker__card:hover {
  border-color: var(--accent-strong);
}

.layout-picker__card.is-selected {
  border-color: var(--accent-strong);
  box-shadow: 0 0 0 2px var(--glow);
}

.layout-picker__preview {
  height: 56px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.layout-picker__label {
  font-size: 0.8rem;
  font-weight: 600;
}

.mini-grid--2x2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3px;
  width: 70%;
}

.collection-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.collection-item {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: var(--space-3);
  padding: 0.75rem 0.9rem;
  border: 1px solid var(--surface-border);
  border-radius: var(--radius-md);
  background: var(--surface-elevated);
}

.collection-item__meta {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  min-width: 200px;
}

.collection-item__label {
  font-weight: 600;
}

.collection-item__desc {
  font-size: var(--text-sm);
  color: var(--muted-text);
}

.collection-item__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.portal-invoice-item__status-controls {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.portal-invoice-item__status-controls select {
  min-width: 92px;
}

.portal-deal-item__stage-controls,
.portal-deal-item__note-controls {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.portal-deal-item__stage-controls select {
  min-width: 110px;
}

.portal-deal-item__note-controls input {
  min-width: 180px;
}

.portal-deal-item__timeline {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.portal-social-job-item__sync-controls {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.portal-social-job-item__error {
  color: var(--danger-text, #b91c1c);
}

.portal-audience-integration-list,
.portal-audience-sync-job-list {
  margin-top: 0.85rem;
}

.portal-audience-integration-item__actions,
.portal-audience-sync-job-item__actions {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.portal-audience-integration-item__error {
  color: var(--danger-text, #b91c1c);
}

.portal-collections-nav {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto 1rem;
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
}

.portal-collections-nav__link {
  text-decoration: none;
  color: var(--text-color);
  background: var(--ghost-bg);
  border: 1px solid var(--ghost-border);
  padding: 0.35rem 0.7rem;
  border-radius: var(--radius-sm);
  font-size: var(--text-sm);
}

.portal-templates-list {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.portal-template-card {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: var(--space-3);
  padding: 0.9rem 1rem;
  border: 1px solid var(--surface-border);
  border-radius: var(--radius-md);
  background: var(--surface-elevated);
  box-shadow: var(--soft-shadow);
}

.portal-template-title {
  font-weight: 600;
}

.portal-template-meta {
  font-size: 0.8rem;
  color: var(--muted-text);
  margin-top: 0.2rem;
}

.portal-template-desc {
  margin: 0.4rem 0 0;
  color: var(--muted-text);
  font-size: 0.9rem;
}

.portal-template-actions {
  display: flex;
  align-items: center;
  gap: var(--space-2);
}

.portal-template-readonly {
  font-size: 0.8rem;
  color: var(--muted-text);
}

.portal-section {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto 2.5rem;
  background: var(--card-color);
  border: 1px solid var(--surface-border);
  border-radius: var(--radius-lg);
  padding: 1.1rem;
  box-shadow: var(--soft-shadow);
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.portal-section__header h3 {
  margin: 0;
  font-size: 1.1rem;
}

.portal-section__note {
  margin: 0.25rem 0 0;
  color: var(--muted-text);
  font-size: 0.9rem;
}

.portal-blocks {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto 2.5rem;
}

.portal-content-panel .portal-panel-header {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
  align-items: center;
  justify-content: space-between;
}

.portal-content-lists {
  display: flex;
  flex-direction: column;
  gap: var(--space-6);
}

.portal-content-group__header h3 {
  margin: 0 0 0.5rem;
  font-size: 1.1rem;
}

.block-list {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  width: 100%;
}

.block-list--public {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: var(--space-4);
}

.block-item {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  padding: 0.85rem 1rem;
  border: 1px solid var(--surface-border);
  border-radius: var(--radius-md);
  background: var(--surface-elevated);
}

.block-item__meta {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  min-width: 220px;
}

.block-item__title {
  font-weight: 600;
  color: var(--text-color);
}

.block-item__type {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted-text);
}

.block-item__detail {
  font-size: var(--text-sm);
  color: var(--muted-text);
}

.block-item__actions {
  display: flex;
  flex-wrap: nowrap;
  gap: 0.25rem;
  flex-shrink: 0;
}

.block-card {
  background: var(--card-color);
  border: 1px solid var(--surface-border);
  border-radius: var(--radius-lg);
  padding: 1.25rem;
  box-shadow: var(--soft-shadow);
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.block-title {
  margin: 0;
  font-size: 1.25rem;
  letter-spacing: -0.02em;
}

.block-body {
  margin: 0;
  line-height: 1.5;
  color: var(--text-color);
}

.block-note,
.block-caption {
  margin: 0;
  font-size: 0.9rem;
  color: var(--muted-text);
}

.block-media {
  width: 100%;
}

.block-media img {
  width: 100%;
  border-radius: var(--radius-md);
  display: block;
  object-fit: cover;
}

.block-media iframe {
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius-md);
  border: 0;
  background: #000;
}

.block-media--podcast iframe {
  aspect-ratio: 16 / 9;
  background: #111;
}

.block-card--gif .block-media {
  position: relative;
}

.block-badge {
  position: absolute;
  top: 0.65rem;
  left: 0.65rem;
  padding: 0.2rem 0.55rem;
  border-radius: 9999px;
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: rgba(15, 23, 42, 0.75);
  color: #fff;
}

.block-social,
.block-messenger {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.social-icon {
  width: 42px;
  height: 42px;
  border-radius: 9999px;
  border: 1px solid var(--surface-border);
  background: var(--ghost-bg);
  color: var(--accent-strong);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

.messenger-button {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.45rem 0.8rem;
  border-radius: 9999px;
  border: 1px solid var(--surface-border);
  background: var(--ghost-bg);
  color: var(--text-color);
  text-decoration: none;
  font-size: var(--text-sm);
}

.block-item-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.block-item-row {
  display: grid;
  grid-template-columns: minmax(90px, 1fr) minmax(150px, 2fr) minmax(120px, 1fr) auto;
  gap: var(--space-2);
  align-items: center;
}

.block-item-row.is-storefront {
  grid-template-columns: minmax(90px, 1fr) minmax(150px, 2fr) minmax(170px, 1.5fr) minmax(170px, 1.5fr) minmax(120px, 1fr) auto;
}

.block-item-row input,
.block-item-row select {
  border-radius: var(--radius-sm);
  border: 1px solid var(--surface-border);
  padding: 0.45rem 0.6rem;
  font: inherit;
  background: var(--surface-elevated);
}

.block-item-row .btn {
  padding: 0.35rem;
}

.storefront-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 0.85rem;
}

.storefront-item {
  border: 1px solid var(--surface-border);
  border-radius: var(--radius-md);
  background: var(--surface-elevated);
  padding: 0.8rem;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.storefront-item__media img {
  width: 100%;
  border-radius: var(--radius-sm);
  display: block;
  object-fit: cover;
}

.storefront-item__content {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.storefront-item__title {
  margin: 0;
  font-size: 0.98rem;
}

.storefront-item__price {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--accent-strong);
}

.storefront-item__description {
  margin: 0;
  font-size: 0.84rem;
  color: var(--muted-text);
}

.storefront-item__disclosure {
  margin: 0;
  font-size: 0.78rem;
  color: var(--muted-text);
  font-style: italic;
}

.storefront-item__cta {
  align-self: flex-start;
}

.block-countdown {
  background: var(--accent-gradient-faint);
  border: 1px solid var(--surface-border);
  border-radius: var(--radius-md);
  padding: 0.75rem 1rem;
}

.block-countdown__timer {
  display: flex;
  justify-content: center;
}

.block-countdown__time {
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  font-variant-numeric: tabular-nums;
}

.block-offer__header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: var(--space-3);
}

.block-offer__price {
  font-size: var(--text-base);
  font-weight: 700;
  padding: 0.35rem 0.7rem;
  border-radius: 9999px;
  background: var(--accent-gradient-faint);
  color: var(--accent-strong);
  border: 1px solid rgba(236, 72, 153, 0.2);
}

.services-cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.services-cta {
  align-self: flex-start;
}

.services-cta--booking {
  background: transparent;
  color: var(--text-color);
  border: 1px solid var(--surface-border);
}

.portal-panel-actions {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
}

.portal-audience {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto 2.5rem;
}

.audience-card {
  background: var(--card-color);
  border: 1px solid var(--surface-border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: var(--soft-shadow);
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.booking-request-card {
  margin-top: 1rem;
  border-style: dashed;
}

.booking-request-card__title {
  margin: 0;
  font-size: var(--text-base);
}

.booking-request-form__submit {
  align-self: flex-start;
}

.booking-request-form__status {
  margin: 0;
}

.audience-form {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.audience-honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.audience-field {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  font-weight: 600;
}

.audience-field span {
  font-size: var(--text-sm);
  color: var(--muted-text);
}

.audience-field input {
  border-radius: var(--radius-sm);
  border: 1px solid var(--surface-border);
  padding: 0.65rem 0.85rem;
  font: inherit;
}

.audience-field select,
.audience-field textarea {
  border-radius: var(--radius-sm);
  border: 1px solid var(--surface-border);
  padding: 0.65rem 0.85rem;
  font: inherit;
  background: var(--surface);
}

.audience-field textarea {
  resize: vertical;
  min-height: 96px;
}

.audience-field__required {
  color: var(--accent-strong);
  font-weight: 700;
  margin-left: 0.2rem;
}

.audience-checkbox {
  display: flex;
  gap: var(--space-2);
  align-items: flex-start;
  font-size: var(--text-sm);
  color: var(--muted-text);
}

.audience-consent {
  display: flex;
  gap: var(--space-2);
  align-items: flex-start;
  font-size: var(--text-sm);
  color: var(--muted-text);
}

.audience-status {
  font-size: 0.9rem;
  color: var(--muted-text);
}

.audience-status.status-success {
  color: var(--success);
}

.audience-status.status-error {
  color: var(--danger);
}

.portal-analytics-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: var(--space-4);
  margin-top: 1rem;
}

.portal-analytics__controls .select {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  font-size: 0.8rem;
  color: var(--muted-text);
}

.portal-analytics__controls {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  align-items: flex-end;
}

.portal-analytics__controls select {
  border-radius: var(--radius-sm);
  border: 1px solid var(--surface-border);
  padding: 0.4rem 0.6rem;
  font: inherit;
}

.portal-short-link {
  display: flex;
  gap: var(--space-2);
  align-items: center;
}

.portal-short-link input {
  flex: 1;
  border-radius: var(--radius-sm);
  border: 1px solid var(--surface-border);
  padding: 0.45rem 0.6rem;
  background: var(--surface-elevated);
  font: inherit;
}

.portal-marketing-grid {
  display: grid;
  gap: var(--space-6);
  grid-template-columns: 1fr;
  margin-top: 1rem;
}

.portal-marketing-card {
  background: var(--surface-elevated);
  border: 1px solid var(--surface-border);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.portal-marketing-card h3 {
  margin: 0;
  font-size: var(--text-base);
}

.portal-utm-helper-grid {
  display: grid;
  gap: var(--space-3);
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
}

.portal-utm-output {
  background: var(--surface-elevated);
  border: 1px solid var(--surface-border);
  border-radius: var(--radius-sm);
  padding: 0.5rem 0.75rem;
  font-size: var(--text-sm);
}

.portal-utm-output code {
  display: block;
  word-break: break-all;
  color: var(--text-color);
}

.portal-distribution-grid {
  display: grid;
  gap: var(--space-6);
  grid-template-columns: 1fr;
  margin-top: 1rem;
}

.portal-distribution-card {
  background: var(--surface-elevated);
  border: 1px solid var(--surface-border);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.portal-identity-row {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  padding: 0.4rem 0.6rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--surface-border);
  background: var(--surface-elevated);
}

.portal-identity-prefix {
  font-size: var(--text-sm);
  color: var(--muted-text);
  white-space: nowrap;
}

.portal-identity-row input {
  border: 0;
  background: transparent;
  font: inherit;
  flex: 1;
  min-width: 0;
}

.portal-qr-preview {
  border-radius: var(--radius-md);
  border: 1px solid var(--surface-border);
  background: var(--surface);
  padding: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 200px;
}

.portal-qr-controls {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: var(--space-3);
  align-items: end;
}

.portal-qr-controls .account-field {
  margin: 0;
}

.portal-qr-preview img {
  width: min(220px, 100%);
  height: auto;
  display: block;
}

.portal-qr-meta {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.portal-qr-url {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  font-size: var(--text-sm);
  color: var(--muted-text);
}

.portal-qr-url code {
  font-size: 0.9rem;
  color: var(--text-color);
}

.portal-team-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.portal-team-member {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  padding: 0.75rem 1rem;
  background: var(--surface-elevated);
  border: 1px solid var(--surface-border);
  border-radius: var(--radius-md);
}

.portal-team-member__meta {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.portal-team-member__role {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--muted-text);
}

.portal-enterprise-controls {
  margin-top: 1rem;
  padding: 1rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--surface-border);
  background: var(--surface-elevated);
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.portal-enterprise-controls h3 {
  margin: 0;
}

.portal-enterprise-controls__grid {
  display: grid;
  gap: var(--space-3);
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.portal-enterprise-controls .account-field {
  margin: 0;
}

.media-kit-page {
  max-width: min(980px, 94vw);
  margin: 2.5rem auto;
  display: grid;
  gap: var(--space-4);
}

.media-kit-hero {
  display: grid;
  gap: 0.85rem;
  overflow: hidden;
}

.media-kit-hero__cover img {
  width: 100%;
  max-height: 220px;
  object-fit: cover;
  border-radius: var(--radius-sm);
}

.media-kit-hero__content {
  display: flex;
  gap: var(--space-4);
  align-items: center;
}

.media-kit-hero__avatar {
  width: 86px;
  height: 86px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(255, 255, 255, 0.35);
}

.media-kit-hero__text h1 {
  margin: 0;
}

.media-kit-hero__text p {
  margin: 0.35rem 0 0;
}

.media-kit-hero__eyebrow {
  margin: 0;
  text-transform: uppercase;
  font-size: var(--text-xs);
  letter-spacing: 0.08em;
  color: var(--muted-text);
}

.media-kit-share {
  margin-top: 0.6rem;
  font-size: 0.9rem;
}

.media-kit-stats {
  display: grid;
  gap: 0.85rem;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
}

.media-kit-stat {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.media-kit-stat__label {
  font-size: 0.8rem;
  color: var(--muted-text);
}

.media-kit-stat__value {
  font-size: clamp(1.1rem, 2.2vw, 1.55rem);
  font-weight: 700;
}

.media-kit-links h2 {
  margin: 0;
}

.media-kit-links ul {
  margin: 0.85rem 0 0;
  padding-left: 1rem;
  display: grid;
  gap: 0.45rem;
}

.media-kit-links__empty {
  color: var(--muted-text);
}

@media (max-width: 768px) {
  .media-kit-hero__content {
    flex-direction: column;
    align-items: flex-start;
  }
}

.portal-body[data-portal-role="viewer"] .portal-panel-actions,
.portal-body[data-portal-role="viewer"] .link-item__actions,
.portal-body[data-portal-role="viewer"] .block-item__actions,
.portal-body[data-portal-role="viewer"] .portal-actions-row,
.portal-body[data-portal-role="viewer"] .portal-team-form {
  display: none;
}

.analytics-card {
  background: var(--surface-elevated);
  border: 1px solid var(--surface-border);
  border-radius: var(--radius-md);
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.analytics-card p {
  margin: 0;
  font-size: var(--text-sm);
  color: var(--muted-text);
}

.analytics-card strong {
  font-size: 1.4rem;
}

.portal-analytics-breakdown {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: var(--space-4);
  margin-top: 1.5rem;
}

.portal-analytics-breakdown h3,
.portal-analytics-list h3 {
  margin: 0 0 0.5rem;
}

.portal-analytics-breakdown ul,
.portal-analytics-list ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  color: var(--muted-text);
  font-size: 0.9rem;
}

.portal-analytics-list {
  margin-top: 1.5rem;
}

.portal-report {
  width: 100%;
  max-width: var(--max-width);
  margin: 2.5rem auto 0;
  text-align: center;
}

.portal-approvals,
.portal-activity {
  margin-top: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.portal-audit-toolbar {
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 0.6rem;
}

.portal-audit-toolbar .account-field {
  margin: 0;
  min-width: 140px;
}

.portal-audit-toolbar .account-field input,
.portal-audit-toolbar .account-field select {
  min-width: 140px;
}

.portal-approval-card,
.portal-activity-row {
  border-radius: var(--radius-md);
  border: 1px solid var(--surface-border);
  background: var(--surface-elevated);
  padding: 0.75rem 1rem;
  display: flex;
  justify-content: space-between;
  gap: var(--space-4);
  align-items: center;
}

.portal-approval-title,
.portal-activity-label {
  font-weight: 600;
}

.portal-approval-meta,
.portal-activity-meta {
  font-size: var(--text-sm);
  color: var(--muted-text);
  margin-top: 0.2rem;
}

.portal-activity-time {
  font-size: 0.8rem;
  color: var(--muted-text);
  white-space: nowrap;
}

.portal-approval-actions {
  display: flex;
  gap: var(--space-2);
}

.age-gate {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  background: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(6px);
}

.age-gate__panel {
  width: min(92vw, 480px);
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: 2rem;
  text-align: center;
  border: 1px solid var(--surface-border);
  box-shadow: var(--soft-shadow);
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.age-gate__eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.7rem;
  color: var(--muted-text);
  margin: 0;
}

.portal-instagram-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: var(--text-sm);
  color: var(--accent-strong);
  text-decoration: underline;
  font-weight: 600;
}

.portal-status {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto 2rem;
}

.portal-status--draft {
  background: var(--accent-gradient-faint);
  color: white;
}

.portal-status--live {
  background: rgba(16, 185, 129, 0.12);
  color: white;
}

.app-modal {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 60;
  --modal-width: min(92vw, 960px);
  --modal-max-width: 92vw;
  --modal-height: auto;
  --modal-max-height: 90vh;
}

.app-modal.hidden {
  display: none;
}

.app-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(5, 10, 20, 0.65);
  backdrop-filter: blur(14px);
}

.app-modal__dialog {
  position: relative;
  z-index: 1;
  width: var(--modal-width);
  max-width: var(--modal-max-width);
  height: var(--modal-height);
  max-height: var(--modal-max-height);
  overflow: auto;
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: 2rem;
  border: 1px solid var(--panel-border);
  box-shadow: var(--shadow);
}

.app-modal__close {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  width: 36px;
  height: 36px;
  border-radius: 9999px;
  border: 1px solid var(--panel-border);
  background: var(--surface-elevated);
  color: var(--text);
  font-size: 1.2rem;
  cursor: pointer;
}

.app-modal__content {
  display: flex;
  flex-direction: column;
  gap: var(--space-6);
}

.portal-media-modal {
  display: flex;
  flex-direction: column;
  gap: var(--space-6);
}

.portal-media-modal__media {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--surface-dim);
  border-radius: var(--radius-md);
  padding: 1rem;
}

.portal-media-modal__media img,
.portal-media-modal__media video {
  max-width: 100%;
  max-height: 70vh;
  border-radius: var(--radius-md);
  display: block;
}

.portal-media-modal__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  justify-content: center;
}

.ad-slot {
  border-radius: var(--radius-md);
  padding: 1.5rem;
  background: var(--surface-elevated);
  border: 1px dashed rgba(236, 72, 153, 0.28);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: var(--text-xs);
  color: var(--muted-text);
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 80px;
}

.portal-footer {
  width: 100%;
  max-width: var(--max-width);
  margin-top: 3rem;
  text-align: center;
  font-size: var(--text-sm);
  color: var(--muted-text);
}

.empty-state {
  grid-column: 1 / -1;
  text-align: center;
  padding: 2.5rem 2rem;
  background: var(--surface-elevated);
  border-radius: var(--radius-lg);
  border: 1px dashed var(--border-accent, var(--surface-border));
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-3);
}

.empty-state__icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: var(--ghost-bg);
  border: 1px solid var(--ghost-border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-strong);
  margin-bottom: 0.25rem;
}

.empty-state__icon .material-symbols-rounded::before {
  font-size: 1.4rem;
}

.empty-state h3 {
  margin: 0;
  font-size: var(--text-lg, 1.15rem);
}

.empty-state p {
  margin: 0;
  color: var(--muted);
  font-size: var(--text-sm, 0.85rem);
  max-width: 28rem;
  line-height: var(--leading-relaxed, 1.65);
}

.empty-state .btn {
  margin-top: 0.5rem;
}

.portal-body[data-template="minimal"] {
  --brand-justify: flex-start;
  --brand-padding: 1.5rem 1rem 0;
}

.portal-body[data-template="minimal"] .portal-hero {
  text-align: left;
}

.portal-body[data-template="minimal"] .portal-cover {
  display: none;
}

.portal-body[data-template="minimal"] .portal-hero__tagline {
  margin-left: 0;
  margin-right: 0;
}

.portal-body[data-template="minimal"]:not([data-portal-editing="true"]) .feed-grid {
  grid-template-columns: 1fr;
}

.portal-body[data-template="editorial"] .portal-cover {
  border-radius: 32px;
  margin-bottom: -2.5rem;
}

.portal-body[data-template="editorial"] .portal-avatar {
  width: 112px;
  height: 112px;
  border-radius: 28px;
  position: relative;
  z-index: 1;
}

.portal-body[data-template="editorial"] .portal-hero {
  text-align: left;
  padding: 0 0.5rem;
}

.portal-body[data-template="spotlight"] .portal-cover {
  border-radius: 36px;
  margin-bottom: -1.75rem;
}

.portal-body[data-template="spotlight"] .portal-avatar {
  width: 124px;
  height: 124px;
  border-radius: 999px;
  border-width: 8px;
}

.portal-body[data-template="spotlight"] .portal-hero {
  text-align: center;
}

.portal-body[data-template="spotlight"]:not([data-portal-editing="true"]) .block-list--public {
  grid-template-columns: 1fr;
}

/* ── Public portal entrance animations ───────────────── */
.portal-body:not([data-portal-editing="true"]) .portal-hero {
  animation: ui-slide-up 600ms var(--ease-out, cubic-bezier(0.22, 1, 0.36, 1)) both;
}

.portal-body:not([data-portal-editing="true"]) .portal-section,
.portal-body:not([data-portal-editing="true"]) .portal-links,
.portal-body:not([data-portal-editing="true"]) .portal-blocks,
.portal-body:not([data-portal-editing="true"]) .portal-feed,
.portal-body:not([data-portal-editing="true"]) .portal-content,
.portal-body:not([data-portal-editing="true"]) .audience-card {
  animation: ui-slide-up 600ms var(--ease-out, cubic-bezier(0.22, 1, 0.36, 1)) both;
  animation-delay: 150ms;
}

.portal-body:not([data-portal-editing="true"]) .feed-card,
.portal-body:not([data-portal-editing="true"]) .link-card,
.portal-body:not([data-portal-editing="true"]) .block-card {
  animation: ui-slide-up 500ms var(--ease-out, cubic-bezier(0.22, 1, 0.36, 1)) both;
}

.portal-body:not([data-portal-editing="true"]) .feed-card:nth-child(1),
.portal-body:not([data-portal-editing="true"]) .link-card:nth-child(1),
.portal-body:not([data-portal-editing="true"]) .block-card:nth-child(1) { animation-delay: 200ms; }
.portal-body:not([data-portal-editing="true"]) .feed-card:nth-child(2),
.portal-body:not([data-portal-editing="true"]) .link-card:nth-child(2),
.portal-body:not([data-portal-editing="true"]) .block-card:nth-child(2) { animation-delay: 280ms; }
.portal-body:not([data-portal-editing="true"]) .feed-card:nth-child(3),
.portal-body:not([data-portal-editing="true"]) .link-card:nth-child(3),
.portal-body:not([data-portal-editing="true"]) .block-card:nth-child(3) { animation-delay: 360ms; }
.portal-body:not([data-portal-editing="true"]) .feed-card:nth-child(4),
.portal-body:not([data-portal-editing="true"]) .link-card:nth-child(4),
.portal-body:not([data-portal-editing="true"]) .block-card:nth-child(4) { animation-delay: 440ms; }
.portal-body:not([data-portal-editing="true"]) .feed-card:nth-child(5),
.portal-body:not([data-portal-editing="true"]) .link-card:nth-child(5),
.portal-body:not([data-portal-editing="true"]) .block-card:nth-child(5) { animation-delay: 520ms; }
.portal-body:not([data-portal-editing="true"]) .feed-card:nth-child(6),
.portal-body:not([data-portal-editing="true"]) .link-card:nth-child(6),
.portal-body:not([data-portal-editing="true"]) .block-card:nth-child(6) { animation-delay: 600ms; }

@media (prefers-reduced-motion: reduce) {
  .portal-body:not([data-portal-editing="true"]) .portal-hero,
  .portal-body:not([data-portal-editing="true"]) .portal-section,
  .portal-body:not([data-portal-editing="true"]) .portal-links,
  .portal-body:not([data-portal-editing="true"]) .portal-blocks,
  .portal-body:not([data-portal-editing="true"]) .portal-feed,
  .portal-body:not([data-portal-editing="true"]) .portal-content,
  .portal-body:not([data-portal-editing="true"]) .audience-card,
  .portal-body:not([data-portal-editing="true"]) .feed-card,
  .portal-body:not([data-portal-editing="true"]) .link-card,
  .portal-body:not([data-portal-editing="true"]) .block-card {
    animation: none;
  }
}

@media (max-width: 1024px) {
  .portal-body:not([data-portal-editing="true"]) .feed-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  .portal-body:not([data-portal-editing="true"]) .feed-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .portal-body:not([data-portal-editing="true"]) .feed-grid {
    grid-template-columns: 1fr;
  }

  .portal-shell {
    grid-template-columns: 1fr;
    padding: 2rem 1rem 3rem;
  }

  .portal-editor-nav,
  .portal-preview {
    position: static;
  }

  .portal-preview {
    order: 3;
  }

  .portal-body {
    --brand-padding: 1.75rem 1.25rem 0;
    --brand-justify: center;
  }

  .portal-body .portal-logo {
    width: 100%;
    justify-content: center;
  }

  .portal-hero__title {
    font-size: 2.1rem;
  }

  .portal-actions {
    width: 100%;
  }

  .portal-actions .btn {
    width: 100%;
  }

  .portal-dropdown {
    width: 100%;
  }

  .portal-dropdown__menu {
    position: static;
    width: 100%;
  }

  .link-item {
    align-items: flex-start;
  }
}

@media (max-width: 768px) {
  .portal-brand--portal {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    row-gap: 0.6rem;
    column-gap: var(--space-3);
    position: static;
  }

  .portal-brand--portal .portal-logo {
    order: 1;
  }

  .portal-brand--portal .portal-nav {
    order: 2;
    width: auto;
    margin-left: auto;
    justify-content: flex-end;
  }

  .portal-header-title {
    order: 3;
    flex-basis: 100%;
    max-width: 100%;
    position: static;
    transform: none;
    width: 100%;
  }
}

@media (min-width: 1280px) {
  .portal-body:not([data-portal-editing="true"]) .feed-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
}

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

.tracking-consent-banner {
  position: fixed;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  z-index: 1200;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
  padding: 0.75rem 0.9rem;
  border-radius: var(--radius-sm);
  background: rgba(15, 23, 42, 0.92);
  color: #fff;
}

.tracking-consent-banner__actions {
  display: flex;
  align-items: center;
  gap: var(--space-2);
}

.portal-preview__footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-2);
  margin-top: 0.75rem;
}

/* ── Preview empty placeholder ────────────────────────── */
.preview-empty {
  text-align: center;
  padding: 3rem 1.5rem;
  color: var(--muted);
  font-size: 0.9rem;
}

/* ── Collapsible sections ────────────────────────────── */
[data-collapsible] > [data-collapsible-toggle] {
  cursor: pointer;
  user-select: none;
}

[data-collapsible] > [data-collapsible-toggle] h3 {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.collapsible-icon {
  font-size: 1.2rem;
  transition: transform 200ms ease;
}

[data-collapsible]:not(.is-collapsed) .collapsible-icon {
  transform: rotate(180deg);
}

[data-collapsible].is-collapsed > :not([data-collapsible-toggle]) {
  display: none;
}

/* ── Drop indicator ──────────────────────────────────── */
.drop-before,
.drop-after {
  position: relative;
}

.drop-before::before {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  top: -4px;
  height: 1px;
  background: var(--accent-strong);
  pointer-events: none;
  z-index: 10;
}

.drop-after::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -4px;
  height: 1px;
  background: var(--accent-strong);
  pointer-events: none;
  z-index: 10;
}

/* ── Inline collection containers ─────────────────────── */
.collection-container {
  background: var(--ghost-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1rem;
  margin-bottom: 1rem;
}

.collection-container.is-drag-over {
  border-color: var(--accent-strong);
  box-shadow: 0 0 0 2px var(--glow);
}

.collection-container__header {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  margin-bottom: 0.75rem;
}

.collection-container__drag-handle {
  cursor: grab;
  color: var(--muted);
  line-height: 1;
}

.collection-container__title {
  margin: 0;
  font-size: var(--text-sm);
  font-weight: 600;
  flex: 1;
  min-width: 0;
  outline: none;
  border-bottom: 1px dashed transparent;
  padding: 2px 4px;
  border-radius: 4px;
}

.collection-container__title:hover:not(.collection-container__title--static) {
  border-bottom-color: var(--muted);
}

.collection-container__title:focus {
  border-bottom-color: var(--accent-strong);
  background: var(--surface-elevated);
}

.collection-container__title--static {
  color: var(--muted);
  cursor: default;
}

.collection-container__items {
  min-height: 2.5rem;
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.collection-container__items:empty::after {
  content: 'Drag items here';
  display: block;
  text-align: center;
  padding: 1rem;
  color: var(--muted);
  font-size: var(--text-sm);
  border: 1px dashed var(--border);
  border-radius: var(--radius-md);
}

/* ── Block picker modal ──────────────────────────────── */
.block-picker {
  padding: 0.5rem;
}

.block-picker h3 {
  margin: 0 0 0.25rem;
  font-size: 1.2rem;
}

.block-picker__category {
  margin-top: 1.5rem;
}

.block-picker__category h4 {
  margin: 0 0 0.75rem;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--muted);
}

.block-picker__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  gap: var(--space-3);
}

.block-picker__card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-2);
  padding: 0.75rem 0.5rem;
  background: var(--surface-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: border-color 150ms ease, box-shadow 150ms ease;
  color: var(--text);
  font: inherit;
}

.block-picker__card:hover {
  border-color: var(--accent-strong);
  box-shadow: 0 0 0 2px var(--glow);
}

.block-picker__card--disabled {
  opacity: 0.35;
  cursor: not-allowed;
  pointer-events: none;
}

.block-picker__preview {
  height: 72px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.block-picker__label {
  font-size: 0.8rem;
  font-weight: 600;
  text-align: center;
}

/* ── Mini previews ───────────────────────────────────── */
.mini-preview {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  width: 100%;
  padding: 6px;
}

.mini-bar {
  display: block;
  width: 60%;
  height: 4px;
  background: var(--muted);
  border-radius: 2px;
  opacity: 0.4;
}

.mini-bar--wide {
  width: 80%;
}

.mini-btn {
  display: block;
  width: 50%;
  height: 8px;
  background: var(--accent-strong);
  border-radius: 4px;
  opacity: 0.6;
}

.mini-rect {
  display: block;
  width: 70%;
  height: 28px;
  background: var(--ghost-bg);
  border-radius: 4px;
  border: 1px solid var(--border);
}

.mini-rect--sm {
  width: 100%;
  height: 20px;
}

.mini-preview--link {
  flex-direction: row;
  justify-content: center;
  gap: 8px;
  background: var(--ghost-bg);
  border-radius: 6px;
  padding: 8px 12px;
}

.mini-arrow {
  color: var(--muted);
  font-size: 0.9rem;
}

.mini-badge {
  font-size: 0.55rem;
  font-weight: 700;
  background: var(--accent-strong);
  color: #fff;
  padding: 1px 4px;
  border-radius: 3px;
}

.mini-play {
  font-size: 1.4rem;
  color: var(--muted);
  opacity: 0.5;
}

.mini-timer {
  font-family: monospace;
  font-size: 0.7rem;
  color: var(--muted);
  letter-spacing: 0.1em;
}

.mini-price {
  font-weight: 700;
  font-size: var(--text-xs);
  color: var(--accent-strong);
  opacity: 0.7;
}

.mini-q {
  font-weight: 800;
  font-size: var(--text-base);
  color: var(--accent-strong);
  opacity: 0.6;
}

.mini-icon {
  font-size: 1.2rem;
  color: var(--muted);
  opacity: 0.5;
}

.mini-heart {
  font-size: 1.2rem;
  color: var(--accent-strong);
  opacity: 0.5;
}

.mini-cal {
  font-size: 1.2rem;
  opacity: 0.5;
}

.mini-wave {
  font-size: 1.2rem;
  color: var(--muted);
  opacity: 0.5;
}

.mini-hr {
  display: block;
  width: 80%;
  height: 1px;
  background: var(--muted);
  opacity: 0.3;
}

.mini-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3px;
  width: 70%;
}

.mini-dot {
  display: block;
  width: 12px;
  height: 12px;
  background: var(--muted);
  border-radius: 50%;
  opacity: 0.4;
}

.mini-icons {
  display: flex;
  gap: 6px;
  justify-content: center;
}

.mini-dual-btn {
  display: flex;
  gap: 4px;
  width: 80%;
}

.mini-dual-btn .mini-btn {
  flex: 1;
}

/* ── Footer block ────────────────────────────────────── */
.portal-footer {
  margin-top: 2rem;
  padding: 1.5rem;
  text-align: center;
  border-top: 1px solid var(--surface-border);
  color: var(--muted-text);
  font-size: var(--text-sm);
}

.rss-feed-items {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.rss-feed-item {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  padding: var(--space-2) var(--space-3);
  border: 1px solid var(--surface-border);
  border-radius: var(--radius-sm);
  background: var(--card-color);
  text-decoration: none;
  color: var(--text);
  transition: border-color 150ms ease;
}

.rss-feed-item:hover {
  border-color: var(--accent-strong);
}

.rss-feed-item strong {
  font-size: var(--text-sm);
}

.rss-feed-item span {
  font-size: var(--text-xs);
  color: var(--muted);
}

.block-card--footer {
  background: transparent;
  border: 1px dashed var(--surface-border);
  text-align: center;
}
