/* Bento Grid — deployed page styles.
 * Faithful port of the editor's `.bento-*` block in src/pages/NewEditor/NewEditor.css.
 * KEEP IN SYNC with that file. Differences here are deploy-root adaptations only:
 * the live page is the viewport (the editor renders inside a device frame), so the
 * root grows with content, the page scrolls naturally, and the background is fixed.
 * VERSION: 1.0
 */

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body { background: #eceef2; }

.bento-root {
  position: relative;
  width: 100%;
  min-height: 100vh;
  isolation: isolate;
  color: #16181d;
  background: #eceef2;
  font-family: 'Manrope', 'Inter', system-ui, sans-serif;
}
/* contact blocks (blocks/contactBlocks.css) inherit the Bento look. Bento keeps
   no root custom properties (its tokens are literals in the .bento-* rules), so
   the map is spelled out: ink = the root colour, muted = #6b7280 (empty-sub /
   media caption), bg = the white tile surface, bg-strong = #f3f4f6 (chip /
   avatar / gallery fill, the subscribe input tint), border = the subscribe
   input hairline (12% ink), accent = #111827 (subscribe button / stat accent,
   dark so the button ink is white), radius = the 20px tile corner so a card
   meets its tile edge to edge, field radius = the 10px subscribe input /
   button corner, fonts = Manrope everywhere (no display face). The pill set
   copies the simple link tile (.bento-simple): white, ink text, 20px corners,
   its 1px hairline as an inset shadow because the shared pill has border: 0. */
.bento-root {
  --bc-ink: #16181d;
  --bc-muted: #6b7280;
  --bc-bg: #ffffff;
  --bc-bg-strong: #f3f4f6;
  --bc-border: rgba(17, 24, 39, 0.12);
  --bc-accent: #111827;
  --bc-accent-ink: #ffffff;
  --bc-radius: 20px;
  --bc-field-radius: 10px;
  --bc-display: 'Manrope', 'Inter', system-ui, sans-serif;
  --bc-body: 'Manrope', 'Inter', system-ui, sans-serif;
  --bc-pill-bg: #ffffff;
  --bc-pill-ink: #16181d;
  --bc-pill-radius: 20px;
  --bc-pill-font: 'Manrope', 'Inter', system-ui, sans-serif;
  --bc-pill-shadow: inset 0 0 0 1px rgba(17, 24, 39, 0.07);
}
/* Fixed so the background fills the screen while the page scrolls (desktop full-bleed). */
.bento-bg-layer { position: fixed; inset: 0; z-index: 0; pointer-events: none; }
video.bento-bg-layer, img.bento-bg-layer { width: 100%; height: 100%; object-fit: cover; }
.bento-scroll {
  position: relative;
  z-index: 2;
  width: 100%;
  min-height: 100vh;
  padding: 24px 16px 36px;
}
@media (min-width: 600px) {
  .bento-scroll { padding: 44px 16px 56px; }
}

.bento-empty-prompt { display: grid; place-items: center; padding: 64px 24px; text-align: center; }
.bento-empty-title { font-size: 17px; font-weight: 800; letter-spacing: -0.01em; color: #16181d; }
.bento-empty-sub { margin-top: 6px; font-size: 13px; font-weight: 500; color: #6b7280; }

/* The grid — full-width 2-col on mobile; centered ~560px column on desktop. */
.bento-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-auto-rows: minmax(92px, auto);
  grid-auto-flow: row dense;
  gap: 12px;
  max-width: 560px;
  margin-inline: auto;
}

/* Tile base + size footprints */
.bento-tile {
  position: relative;
  border-radius: 20px;
  background: #ffffff;
  border: 1px solid rgba(17, 24, 39, 0.07);
  box-shadow: 0 1px 2px rgba(17, 24, 39, 0.04), 0 8px 18px rgba(17, 24, 39, 0.05);
  overflow: hidden;
  transition: transform 0.14s ease, box-shadow 0.14s ease;
  min-width: 0;
}
.bento-tile.is-sm   { grid-column: span 1; }
.bento-tile.is-wide { grid-column: span 2; }
.bento-tile.is-tall { grid-column: span 1; grid-row: span 2; }
.bento-tile.is-lg   { grid-column: span 2; grid-row: span 2; }
/* Live links: the tile itself is the anchor. */
a.bento-tile { display: block; text-decoration: none; color: inherit; cursor: pointer; }
a.bento-tile:hover { transform: translateY(-2px); box-shadow: 0 2px 4px rgba(17, 24, 39, 0.05), 0 14px 26px rgba(17, 24, 39, 0.09); }

.bento-tile-label {
  font-size: 10px; font-weight: 700; letter-spacing: 0.08em;
  text-transform: uppercase; color: color-mix(in srgb, var(--bento-on, #16181d) 45%, transparent);
}

/* Identity tile */
.bento-identity { display: flex; align-items: center; gap: 14px; padding: 16px; background: var(--bento-surface, #ffffff); }
.bento-avatar {
  flex-shrink: 0; width: 60px; height: 60px; border-radius: 50%;
  display: grid; place-items: center; font-size: 24px; font-weight: 800;
  color: #9ca3af; background: #f3f4f6; border: 2px solid rgba(0, 0, 0, 0.06); overflow: hidden;
}
.bento-avatar.is-image { background: #ffffff; color: transparent; }
.bento-avatar-img { width: 100%; height: 100%; object-fit: cover; display: block; }
.bento-avatar-placeholder { width: 46%; height: 46%; color: #9ca3af; }
.bento-identity-text { min-width: 0; }
.bento-name { display: inline-flex; align-items: center; gap: 5px; letter-spacing: -0.02em; line-height: 1.15; color: var(--bento-on, #16181d); }
.bento-handle { margin-top: 2px; color: color-mix(in srgb, var(--bento-on, #16181d) 60%, transparent); }
.bento-bio { margin-top: 6px; line-height: 1.45; color: color-mix(in srgb, var(--bento-on, #16181d) 72%, transparent); white-space: pre-wrap; }
.bento-verified-badge { width: 0.9em; height: 0.9em; flex: none; vertical-align: middle; }

/* Status + location tiles */
.bento-status, .bento-location { display: flex; flex-wrap: wrap; align-items: center; gap: 7px; padding: 14px; align-content: flex-start; background: var(--bento-surface, #ffffff); }
.bento-status .bento-tile-label, .bento-location .bento-tile-label { flex-basis: 100%; order: 3; margin-top: auto; }
.bento-status-text, .bento-location-text { font-weight: 700; font-size: 13px; color: var(--bento-on, #16181d); min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bento-status-dot { width: 9px; height: 9px; border-radius: 50%; flex-shrink: 0; background: #22c55e; animation: bento-pulse 2s infinite ease-in-out; }
.bento-pill-icon { width: 14px; height: 14px; flex-shrink: 0; opacity: 0.7; }
@keyframes bento-pulse { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: 0.65; transform: scale(1.12); } }

/* Socials tile */
.bento-socials { display: flex; flex-direction: column; gap: 10px; padding: 14px; background: var(--bento-surface, #ffffff); }
.bento-socials-row { display: flex; flex-wrap: wrap; gap: 9px; }
.bento-social {
  width: 36px; height: 36px; border-radius: 11px;
  display: grid; place-items: center; background: #f3f4f6; color: #16181d;
  font-size: 11px; font-weight: 700; text-decoration: none;
  transition: transform 0.12s;
}
a.bento-social { cursor: pointer; }
a.bento-social:hover { transform: translateY(-1px); }
.bento-social.is-disabled { opacity: 0.55; }
.bento-social-icon { width: 18px; height: 18px; object-fit: contain; pointer-events: none; }
.bento-socials-row.is-mono .bento-social { background: #16181d; color: #fff; }
.bento-socials-row.is-mono .bento-social-icon { filter: brightness(0) invert(1); }
/* icon-only drops the tile fill behind each icon; badge keeps the base chip. */
.bento-socials-row.is-icon-only .bento-social { background: transparent; }

/* Link tiles — the inner block paints the surface; the tile provides shadow + clip */
.bento-link-tile { background: transparent; border: none; }
.bento-link-tile > * { width: 100%; height: 100%; box-sizing: border-box; border-radius: inherit; }

/* simple */
.bento-simple {
  display: flex; flex-direction: column; justify-content: space-between; gap: 10px; padding: 14px;
  background: var(--bento-link-bg, #ffffff); color: var(--bento-link-text, #16181d);
  border: 1px solid var(--bento-link-border, rgba(17, 24, 39, 0.07));
}
.bento-simple-top { display: flex; align-items: center; justify-content: space-between; }
.bento-simple-icon { display: inline-flex; width: 30px; height: 30px; border-radius: 9px; background: rgba(127, 127, 127, 0.14); align-items: center; justify-content: center; }
.bento-simple-icon img { width: 18px; height: 18px; object-fit: contain; }
.bento-arrow { width: 16px; height: 16px; opacity: 0.4; margin-left: auto; }
.bento-simple-title { font-weight: 700; font-size: 14px; line-height: 1.25; letter-spacing: -0.01em; }

/* featured */
.bento-featured { position: relative; display: flex; flex-direction: column; justify-content: flex-end; padding: 14px; background: var(--bento-card-bg, #16181d); color: var(--bento-card-title, #ffffff); border: 1px solid var(--bento-card-border, transparent); overflow: hidden; min-height: 150px; }
.bento-featured-image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.bento-featured.has-image::after { content: ''; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(0,0,0,0) 35%, rgba(0,0,0,0.55) 100%); }
.bento-featured-icon { position: absolute; top: 12px; left: 12px; z-index: 2; display: inline-flex; width: 32px; height: 32px; border-radius: 10px; background: rgba(255,255,255,0.18); backdrop-filter: blur(6px); align-items: center; justify-content: center; color: #fff; }
.bento-featured-icon img { width: 18px; height: 18px; object-fit: contain; }
.bento-featured-text { position: relative; z-index: 2; }
.bento-featured-title { font-weight: 800; font-size: 16px; line-height: 1.2; letter-spacing: -0.01em; color: var(--bento-card-title, #ffffff); }
.bento-featured-subtitle { margin-top: 3px; font-size: 12px; line-height: 1.35; color: var(--bento-card-subtitle, rgba(255,255,255,0.85)); }

/* gallery */
.bento-gallery { display: flex; flex-direction: column; gap: 10px; padding: 14px; height: 100%; background: var(--bento-gallery-bg, #ffffff); color: var(--bento-gallery-text, #16181d); border: 1px solid var(--bento-gallery-border, rgba(17,24,39,0.07)); }
.bento-gallery-title { flex-shrink: 0; font-weight: 700; font-size: 13px; letter-spacing: -0.01em; }
.bento-gallery-grid { display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: repeat(2, 1fr); gap: 8px; flex: 1 1 auto; min-height: 0; }
.bento-gallery-tile { position: relative; border-radius: 12px; overflow: hidden; background: #f3f4f6; min-height: 0; }
.bento-gallery-tile img { width: 100%; height: 100%; object-fit: cover; display: block; }
.bento-gallery-empty { width: 100%; height: 100%; background: repeating-linear-gradient(45deg, #f3f4f6, #f3f4f6 8px, #eceef2 8px, #eceef2 16px); }

/* media — sizes to the embed's natural height (no dead space below the player);
   the tile size controls width. The iframe gets height/aspect inline from the
   client (applyMediaFrameSize), so we must NOT force the content to fill the tile. */
.bento-media { display: flex; flex-direction: column; background: var(--bento-media-bg, #ffffff); border: 1px solid var(--bento-media-border, rgba(17,24,39,0.07)); overflow: hidden; }
.bento-media-frame { width: 100%; border: 0; display: block; background: #000; }
.bento-media-placeholder { min-height: 200px; display: grid; place-items: center; width: 100%; color: #fff; font-weight: 700; font-size: 13px; background: #16181d; }
.bento-media-text { padding: 12px 14px; }
.bento-media-title { font-weight: 700; font-size: 14px; color: var(--bento-media-title, #16181d); letter-spacing: -0.01em; }
.bento-media-caption { margin-top: 2px; font-size: 12px; color: var(--bento-media-caption, #6b7280); }
.bento-link-tile.bento-type-media { align-self: start; }
.bento-link-tile.bento-type-media.is-tall, .bento-link-tile.bento-type-media.is-lg { grid-row: auto; }
.bento-link-tile.bento-type-media > * { height: auto; }

/* gallery fills a size-defined box so all four sizes read distinctly. */
.bento-link-tile.bento-type-gallery.is-sm, .bento-link-tile.bento-type-gallery.is-wide { height: 200px; }
.bento-link-tile.bento-type-gallery.is-tall, .bento-link-tile.bento-type-gallery.is-lg { height: 408px; }

/* header / text / divider (full-width bands) */
.bento-header { display: flex; align-items: center; padding: 8px 6px 2px; font-weight: 800; color: #16181d; }
.bento-text { padding: 14px; line-height: 1.5; color: #374151; white-space: pre-wrap; }
.bento-divider { display: flex; align-items: center; padding: 6px 14px; color: var(--bento-divider-color, #9ca3af); }
.bento-divider hr { flex: 1; border: none; border-top: 2px solid var(--bento-divider-color, #d1d5db); margin: 0; }
.bento-divider-chars span { letter-spacing: 0.3em; }
.bento-link-tile:has(.bento-header), .bento-link-tile:has(.bento-divider) { box-shadow: none; }

/* Photo */
.bento-image-tile { background: #f3f4f6; }
.bento-image-tile img { width: 100%; height: 100%; object-fit: cover; display: block; }
.bento-image-empty { width: 100%; height: 100%; background: repeating-linear-gradient(45deg, #f3f4f6, #f3f4f6 8px, #eceef2 8px, #eceef2 16px); }

/* Note */
.bento-note { display: flex; flex-direction: column; gap: 8px; justify-content: flex-start; padding: 14px; background: var(--bento-note-bg, #fde68a); color: var(--bento-note-on, #16181d); }
.bento-note-emoji { font-size: 22px; line-height: 1; }
.bento-note-text { font-size: 14px; font-weight: 600; line-height: 1.35; }

/* Quote */
.bento-quote { position: relative; display: flex; flex-direction: column; justify-content: center; gap: 8px; padding: 16px; background: var(--bento-surface, #ffffff); }
.bento-quote-mark { font-family: Georgia, 'Times New Roman', serif; font-size: 44px; line-height: 0.6; color: color-mix(in srgb, var(--bento-on, #16181d) 18%, transparent); }
.bento-quote-text { font-size: 15px; font-weight: 600; line-height: 1.4; color: var(--bento-on, #16181d); }
.bento-quote-author { font-size: 12px; font-weight: 600; color: color-mix(in srgb, var(--bento-on, #16181d) 58%, transparent); }

/* Stat */
.bento-stat { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; gap: 2px; padding: 14px; background: var(--bento-surface, #ffffff); }
.bento-stat-value { font-size: 30px; font-weight: 800; letter-spacing: -0.02em; line-height: 1; color: var(--bento-accent, #111827); }
.bento-stat-label { font-size: 13px; font-weight: 700; color: var(--bento-on, #16181d); }
.bento-stat-sub { font-size: 11px; font-weight: 600; color: color-mix(in srgb, var(--bento-on, #16181d) 58%, transparent); }

/* Clock */
.bento-clock { display: flex; flex-direction: column; justify-content: center; gap: 2px; padding: 14px; background: var(--bento-surface, #ffffff); }
.bento-clock-time { font-size: 28px; font-weight: 800; letter-spacing: -0.02em; line-height: 1; color: var(--bento-accent, #111827); font-variant-numeric: tabular-nums; }
.bento-clock-ampm { font-size: 12px; font-weight: 700; margin-left: 4px; color: color-mix(in srgb, var(--bento-on, #16181d) 50%, transparent); }
.bento-clock-date { font-size: 12px; font-weight: 600; color: color-mix(in srgb, var(--bento-on, #16181d) 58%, transparent); }
.bento-clock .bento-tile-label { margin-top: 6px; }

/* Countdown */
.bento-countdown { display: flex; flex-direction: column; justify-content: center; gap: 10px; padding: 14px; background: var(--bento-surface, #ffffff); }
.bento-cd-title { font-size: 13px; font-weight: 700; color: var(--bento-on, #16181d); }
.bento-cd-grid { display: flex; gap: 8px; }
.bento-cd-cell { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 8px 4px; border-radius: 12px; background: color-mix(in srgb, var(--bento-on, #111827) 7%, transparent); }
.bento-cd-num { font-size: 20px; font-weight: 800; color: var(--bento-accent, #111827); font-variant-numeric: tabular-nums; }
.bento-cd-lbl { font-size: 9px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; color: color-mix(in srgb, var(--bento-on, #16181d) 52%, transparent); }
.bento-cd-empty { font-size: 12px; color: color-mix(in srgb, var(--bento-on, #16181d) 52%, transparent); }

/* Product */
.bento-product { display: flex; flex-direction: column; background: var(--bento-surface, #ffffff); }
.bento-product-media { position: relative; flex: 1; min-height: 96px; background: #f3f4f6; overflow: hidden; }
.bento-product-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.bento-product-media .bento-image-empty { position: absolute; inset: 0; }
.bento-product-badge { position: absolute; top: 8px; left: 8px; background: #16181d; color: #fff; font-size: 10px; font-weight: 700; padding: 3px 7px; border-radius: 999px; }
.bento-product-info { display: flex; flex-direction: column; gap: 6px; padding: 12px; }
.bento-product-title { font-size: 14px; font-weight: 700; color: var(--bento-on, #16181d); }
.bento-product-row { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.bento-product-price { font-size: 14px; font-weight: 800; color: var(--bento-on, #16181d); }
.bento-product-buy { font-size: 12px; font-weight: 700; color: #fff; background: var(--bento-accent, #16181d); padding: 6px 12px; border-radius: 999px; white-space: nowrap; }

/* Subscribe */
.bento-subscribe { display: flex; flex-direction: column; justify-content: center; gap: 8px; padding: 14px; background: var(--bento-surface, #ffffff); }
.bento-subscribe-title { font-size: 15px; font-weight: 800; color: var(--bento-on, #16181d); }
.bento-subscribe-sub { font-size: 12px; color: color-mix(in srgb, var(--bento-on, #16181d) 58%, transparent); line-height: 1.35; }
.bento-subscribe-form { display: flex; gap: 6px; margin-top: 2px; }
.bento-subscribe-input { flex: 1; min-width: 0; font-size: 12px; color: color-mix(in srgb, var(--bento-on, #16181d) 55%, transparent); background: color-mix(in srgb, var(--bento-on, #16181d) 6%, transparent); border: 1px solid color-mix(in srgb, var(--bento-on, #16181d) 12%, transparent); border-radius: 10px; padding: 8px 10px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bento-subscribe-btn { font-size: 12px; font-weight: 700; color: #fff; background: var(--bento-accent, #111827); border-radius: 10px; padding: 8px 12px; white-space: nowrap; }

/* Location / map */
.bento-map { position: relative; display: flex; align-items: flex-end; padding: 12px; color: #16181d; background: linear-gradient(135deg, #e8eef5, #dfe7ee); overflow: hidden; }
.bento-map::before { content: ''; position: absolute; inset: 0; background-image: linear-gradient(rgba(17, 24, 39, 0.06) 1px, transparent 1px), linear-gradient(90deg, rgba(17, 24, 39, 0.06) 1px, transparent 1px); background-size: 22px 22px; }
.bento-map.has-image::before { display: none; }
.bento-map-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.bento-map-pin { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -60%); width: 26px; height: 26px; color: #ef4444; filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.25)); }
.bento-map-pin svg { width: 100%; height: 100%; }
.bento-map-place { position: relative; z-index: 1; font-size: 12px; font-weight: 700; color: #16181d; background: rgba(255, 255, 255, 0.92); backdrop-filter: blur(4px); padding: 5px 9px; border-radius: 999px; box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12); }

/* Quick links */
.bento-quicklinks { display: flex; flex-direction: column; gap: 10px; padding: 14px; background: var(--bento-surface, #ffffff); }
.bento-quicklinks-title { font-size: 13px; font-weight: 700; color: var(--bento-on, #16181d); }
.bento-quicklinks-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.bento-quicklink { display: flex; align-items: center; gap: 8px; padding: 9px 10px; border-radius: 12px; background: color-mix(in srgb, var(--bento-on, #16181d) 6%, transparent); font-size: 12px; font-weight: 600; color: var(--bento-on, #16181d); min-width: 0; text-decoration: none; }
a.bento-quicklink { cursor: pointer; }
.bento-quicklink-icon { display: inline-flex; width: 18px; height: 18px; align-items: center; justify-content: center; flex-shrink: 0; }
.bento-quicklink-icon img { width: 16px; height: 16px; object-fit: contain; }
.bento-quicklink-label { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* Emoji */
.bento-emoji { display: grid; place-items: center; background: var(--bento-emoji-bg, #eef2ff); }
.bento-emoji-glyph { font-size: 44px; line-height: 1; }

/* Footer */
.bento-footer { margin-top: 18px; text-align: center; }
.bento-footer-content { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 500; color: rgba(17, 24, 39, 0.45); }
.bento-footer-brand { font-weight: 700; color: rgba(17, 24, 39, 0.68); text-decoration: none; }

/* ---- Contact blocks: .bento-contact is the single child of a full-width
   .bento-link-tile (transparent, clipped, shadowed, 92px min row), so it fills
   the tile and the stylings that paint their own surface (card / split /
   toggle / unlock-card, the locked pill in every state) become the tile. ---- */
.bento-contact { width: 100%; display: flex; flex-direction: column; }
.bento-contact > .bncy-collect, .bento-contact > .bncy-gated { flex: 1 1 auto; display: flex; flex-direction: column; justify-content: center; }
.bento-contact .bncy-g-trigger, .bento-contact .bncy-g-open { flex: 1 1 auto; }
/* row and line carry no surface of their own: the wrapper becomes the white
   tile (bento-subscribe padding) so the tile shadow has something to sit under */
.bento-contact:has(.bncy-collect.is-row), .bento-contact:has(.bncy-collect.is-line) { padding: 14px; background: #ffffff; border: 1px solid rgba(17, 24, 39, 0.07); }
/* Bento CTAs are flat (bento-subscribe-btn / bento-product-buy carry no shadow
   or border), so .bncy-c-btn / .bncy-g-btn need no extra treatment here. */

@media (prefers-reduced-motion: reduce) {
  .bento-status-dot { animation: none !important; }
  a.bento-tile, .bento-social { transition: outline-color 0.12s; }
  a.bento-tile:hover, a.bento-social:hover { transform: none; }
}

/* ============================================================================
   Combined follower counter — themed pill (.ne-fpill via --fp-*) + ALWAYS-DARK
   breakdown sheet (.ne-fsheet-*). The pill lives INSIDE the wide socials tile.
   KEEP IN PARITY with NewEditor.css.
   ============================================================================ */
.ne-fpill { display: flex; align-items: baseline; justify-content: center; gap: 6px; width: fit-content; margin: var(--fp-margin, 10px auto 0); padding: var(--fp-pad, 7px 14px); background: var(--fp-bg, rgba(0,0,0,0.05)); border: var(--fp-border, 1px solid rgba(0,0,0,0.12)); border-radius: var(--fp-radius, 999px); color: var(--fp-text, inherit); font-family: inherit; line-height: 1; cursor: pointer; transition: border-color .15s, transform .12s, background .15s; }
.ne-fpill:hover { border-color: var(--fp-border-hover, rgba(0,0,0,0.28)); }
.ne-fpill:active { transform: scale(0.97); }
.ne-fpill-num { font-size: 15px; font-weight: 800; letter-spacing: -0.01em; }
.ne-fpill-label { font-size: 12px; color: var(--fp-muted, currentColor); opacity: .72; }
.ne-fsheet-overlay { position: fixed; inset: 0; z-index: 9000; display: flex; align-items: flex-end; background: rgba(0,0,0,0.5); -webkit-backdrop-filter: blur(2px); backdrop-filter: blur(2px); }
.ne-fsheet { width: 100%; max-width: 520px; margin: 0 auto; max-height: 80%; overflow-y: auto; background: #161618; color: #f4f4f6; border-radius: 20px 20px 0 0; padding: 10px 18px calc(18px + env(safe-area-inset-bottom)); box-shadow: 0 -16px 44px rgba(0,0,0,0.5); animation: ne-fsheet-up .3s cubic-bezier(.22,.61,.36,1); }
@keyframes ne-fsheet-up { from { transform: translateY(100%); } to { transform: none; } }
.ne-fsheet-grab { width: 38px; height: 4px; border-radius: 999px; background: rgba(255,255,255,0.22); margin: 2px auto 14px; }
.ne-fsheet-total { text-align: center; font-size: 30px; font-weight: 800; letter-spacing: -0.02em; }
.ne-fsheet-sub { text-align: center; font-size: 12.5px; opacity: .6; margin-top: 2px; }
.ne-fsheet-list { display: flex; flex-direction: column; margin-top: 14px; }
.ne-fsheet-row { display: flex; align-items: center; gap: 12px; padding: 11px 2px; border-top: 1px solid rgba(255,255,255,0.08); }
.ne-fsheet-row:first-child { border-top: none; }
.ne-fsheet-ic { width: 28px; height: 28px; flex: none; display: grid; place-items: center; opacity: .85; }
.ne-fsheet-ic img { width: 24px; height: 24px; object-fit: contain; }
.ne-fsheet-name { flex: 1; min-width: 0; font-size: 14.5px; }
.ne-fsheet-count { font-size: 14.5px; font-weight: 700; }
.ne-fsheet-empty { opacity: .6; font-size: 13px; text-align: center; padding: 14px; }
.ne-fsheet-done { width: 100%; margin-top: 16px; min-height: 46px; border: none; border-radius: 12px; background: #ffffff; color: #111111; font-weight: 700; font-size: 14.5px; cursor: pointer; }
@media (prefers-reduced-motion: reduce) { .ne-fsheet { animation: none; } }

/* theme: Bento — rounded chip pill inside the socials tile (adaptive) */
.bento-root {
  --fp-bg: rgba(128,128,128,0.14); --fp-border: 1px solid rgba(128,128,128,0.30);
  --fp-border-hover: rgba(128,128,128,0.5); --fp-radius: 11px;
}


/* ============================================================================
   Social icon 18+ gate — CENTERED popup over the whole page (owner-approved
   mockups, template-prototypes/social-18-gate). Markup is shared across all
   template clients (.bncy-sgate-*); this block skins it for THIS design.
   ========================================================================== */
.bncy-sgate-overlay {
  position: fixed; inset: 0; z-index: 100000;
  display: flex; align-items: center; justify-content: center; padding: 18px;
  background: rgba(9, 10, 11, 0.6);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
}
.bncy-sgate {
  width: 300px; max-width: 94vw;
  font-family: 'Manrope', 'Inter', system-ui, sans-serif;
  animation: bncy-sgate-in 0.18s ease;
  background: #ffffff; border: 1px solid rgba(17, 24, 39, 0.07); border-radius: 20px; box-shadow: 0 1px 2px rgba(17, 24, 39, 0.04), 0 20px 60px rgba(0, 0, 0, 0.25); padding: 22px 20px; max-width: 300px; width: 100%; text-align: center;
}
.bncy-sgate-title { color: #16181d; font-size: 16px; font-weight: 800; letter-spacing: -0.01em; line-height: 1.2; margin-bottom: 6px; }
.bncy-sgate-body { margin-top: 8px; color: #6b7280; font-size: 13px; font-weight: 500; line-height: 1.45; }
.bncy-sgate-btns { display: flex; gap: 9px; justify-content: center; margin-top: 15px; }
.bncy-sgate-btns button { flex: 1 1 0; }
.bncy-sgate-no { flex: 1; background: #ffffff; color: #16181d; border: 1px solid #e5e7eb; border-radius: 10px; padding: 10px 14px; font-family: inherit; font-size: 13px; font-weight: 700; letter-spacing: -0.01em; cursor: pointer; transition: transform 0.12s ease; }
.bncy-sgate-yes { flex: 1; background: #16181d; color: #ffffff; border: none; border-radius: 10px; padding: 10px 14px; font-family: inherit; font-size: 13px; font-weight: 700; letter-spacing: -0.01em; cursor: pointer; transition: transform 0.12s ease; }
@keyframes bncy-sgate-in { from { opacity: 0; transform: scale(0.96); } to { opacity: 1; transform: none; } }
/* FB iOS press-and-hold confirm: on the Facebook in-app browser the Yes /
   Continue control renders as a real anchor ("Hold to open") because only the
   native long-press menu can leave the webview. Tap is suppressed in JS and
   pulses the hint line (.is-holdhint, also used by the inline-styled link-tile
   warning). */
a.bncy-sgate-yes { display: inline-flex; align-items: center; justify-content: center; text-decoration: none; }
.bncy-sgate .is-holdhint { margin-top: 12px; color: #6b7280; font-size: 12px; font-weight: 500; line-height: 1.5; }
.is-holdhint.is-pulse { animation: bncy-holdpulse 0.9s ease; }
@keyframes bncy-holdpulse { 0% { transform: scale(1); } 30% { transform: scale(1.06); } 100% { transform: scale(1); } }
@media (prefers-reduced-motion: reduce) { .bncy-sgate { animation: none; } .is-holdhint.is-pulse { animation: none; } }
