/* Simple-feed mockup (branch chisme-simple-feed, html.simple): one clean scrolling feed like Facebook, in the app's own
   themed colours (Día de Muertos now: night sky #01063B → #3E1160, marigold #FF6000, magenta #F70784, turquoise #19C3D9;
   no yellow but the candle #FCB901). Navigation = the bottom tabs + ☰ (News, Sports, Events, Weather, ChismeTV, Photos).
   No filter pills over the feed, no extra banners; one card shape and spacing everywhere. */
/* clutter off: the pill rows, the feed intro, the greeting banner, the swipe hint, the stand-alone donate cards */
html.simple .mq-chips,html.simple #mix-hi,html.simple #muertos-banner,html.simple .greet,html.simple .swipe-hint,
html.simple #donate-chisme,html.simple #donate-mid,html.simple .donate-every,html.simple aside.donate{display:none!important}
/* one feed, one card shape: each post is a single themed card (the feed's own outer card goes away) */
html.simple #mix.card{background:transparent!important;border:0!important;box-shadow:none!important;padding:0}
html.simple #mix .sec-head h2,html.simple #mix .stamp{color:#f3e8ff}
html.simple:not([data-season="muertos"]):not([data-theme="dark"]) #mix .sec-head h2,html.simple:not([data-season="muertos"]):not([data-theme="dark"]) #mix .stamp{color:var(--ink)}
html.simple #mix-list{display:flex;flex-direction:column;gap:12px}
html.simple .mix-item{margin:0;padding:12px 14px;border-radius:14px;background:var(--card);border:1px solid var(--line)}
html.simple[data-season="muertos"] .mix-item{border-top:3px solid var(--coco-marigold,#FF6000);box-shadow:0 3px 0 rgba(247,7,132,.45),0 6px 14px rgba(1,6,59,.4)}
html.simple .mix-item .story,html.simple .mix-item article,html.simple[data-season][data-theme] .mix-item .story,html.simple[data-season][data-theme] .mix-item article{
  border:0!important;box-shadow:none!important;padding:0!important;margin:0!important;background:transparent!important}
html.simple .mix-item h3{font-size:1.02rem;line-height:1.3}
html.simple .from-chisme{aspect-ratio:auto;max-width:none;margin:0}
html.simple #mq-gallery,html.simple #pl-gallery{margin-top:18px}
/* the ChismeTV row: Facebook Reels style, vertical 9:16 thumbnails scrolling sideways, on a themed card */
.tv-row{display:none}
html.simple .tv-row{display:block;background:var(--card);color:var(--ink);border:1px solid var(--line);border-radius:14px;padding:12px 0 14px}
html.simple[data-season="muertos"] .tv-row{background:linear-gradient(180deg,#3E1160,#01063B);color:#fff;border:1px solid #4b2a80;border-top:3px solid #F70784}
html.simple .tv-row[hidden]{display:none}
.tv-row-h{display:flex;align-items:center;justify-content:space-between;padding:0 14px 10px}
.tv-row-t{margin:0;font-size:1.02rem;font-weight:900;color:inherit}
.tv-row-all{background:none;border:0;color:var(--link);font-weight:800;font-size:.92rem;min-height:44px;padding:0 4px;cursor:pointer}
html.simple[data-season="muertos"] .tv-row-all{color:#19C3D9}
.tv-strip{display:flex;gap:8px;overflow-x:auto;scroll-snap-type:x mandatory;padding:0 14px;scrollbar-width:none;overscroll-behavior-x:contain}
.tv-strip::-webkit-scrollbar{display:none}
.tv-clip{position:relative;flex:none;width:112px;aspect-ratio:9/16;border:2px solid #F70784;padding:0;border-radius:12px;overflow:hidden;scroll-snap-align:start;
  background:linear-gradient(180deg,#3E1160,#01063B);cursor:pointer}
.tv-clip img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.tv-clip::after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,transparent 50%,rgba(1,6,59,.85))}
.tv-play{position:absolute;top:8px;left:8px;z-index:1;width:26px;height:26px;border-radius:50%;background:#01063B;color:#fff;font-size:.7rem;display:flex;align-items:center;justify-content:center}
.tv-by{position:absolute;left:8px;right:8px;bottom:8px;z-index:1;color:#fff;font-size:.72rem;font-weight:800;line-height:1.2;text-align:left;text-shadow:0 1px 2px #000;
  overflow-wrap:anywhere;word-break:break-word;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden}   /* long one-word names (Davidsbeenhere) wrap to 2 lines instead of running off the clip */
/* Softer posts: warm off-white cards with dark purple text in light mode; dark purple cards with light text in dark mode
   (data-theme="dark" follows the app's setting, and "system" follows prefers-color-scheme). The night sky stays. */
html.simple:not([data-theme="dark"]){--sf-card:#FAF6F0;--sf-ink:#2A0F45;--sf-muted:#5B4470;--sf-line:#E6DCEB;--sf-link:#5b1a9e}
/* v49.25.1 (Goonie): in the Día de Muertos season the off-white was too bright on the night sky, so light-mode posts go a soft
   night-sky purple with light text. Scoped to data-season="muertos": after Nov 3 / THEME_OVERRIDE=off the off-white returns. */
html.simple[data-season="muertos"]:not([data-theme="dark"]){--sf-card:#2E1D52;--sf-ink:#F6EEFF;--sf-muted:#D4C2EC;--sf-line:#4A3375;--sf-link:#7FE3EE}
html.simple[data-theme="dark"]{--sf-card:#1E0F33;--sf-ink:#F3E8FF;--sf-muted:#CDB8E6;--sf-line:#3B2560;--sf-link:#7FE3EE}
html.simple .mix-item,html.simple[data-season][data-theme] .mix-item,html.simple .sx-compose,html.simple[data-season][data-theme] .sx-compose{background:var(--sf-card)!important;color:var(--sf-ink)!important;border-color:var(--sf-line)!important}
html.simple .mix-item :is(h3,h3 a,h4,h4 a),html.simple .mix-item p:not([class*="price"]),html.simple .sx-compose .sx-q{color:var(--sf-ink)}
html.simple .mix-item :is(.meta,.sum,.small,.hint,.ev-src,.blurb),html.simple .mix-item .meta *{color:var(--sf-muted)!important}
html.simple .mix-item a:not([class]),html.simple .mix-item h3 a{color:var(--sf-ink)!important}
html.simple .mix-item .mix-tag{background:color-mix(in srgb,var(--sf-ink) 10%,var(--sf-card))!important;color:var(--sf-ink)!important}
/* Día de Muertos header: Goonie's art (papel picado, the moon over the Alamo + Tower of the Americas, marigolds, candles,
   sugar skulls) as the top bar, the Chisme bubble over the moon. A taller bar on phones (app.js measures it into --tabs-h).
   The art's moon/candle gold lives in the picture only (no gold in the CSS). */
@media (max-width:1023px){
  html.simple[data-season="muertos"] .fbtop,html.simple[data-season="muertos"][data-theme="dark"] .fbtop{
    background:#140a3a url(/static/season/header-muertos-800.webp) center 58%/cover no-repeat}
  @media (min-width:600px){ html.simple[data-season="muertos"] .fbtop{background-image:url(/static/season/header-muertos-1280.webp)} }
  html.simple[data-season="muertos"] .fbtop::before{content:"";position:absolute;inset:0;pointer-events:none;
    background:linear-gradient(90deg,rgba(20,10,58,.55),transparent 22%,transparent 78%,rgba(20,10,58,.55)),linear-gradient(180deg,transparent 60%,rgba(20,10,58,.7))}
  html.simple[data-season="muertos"] .fbtop-in{position:relative;height:clamp(96px,30vw,150px)}
  html.simple[data-season="muertos"] .fbtop .fb-sky,html.simple[data-season="muertos"] .fbtop .fb-confetti,
  html.simple[data-season="muertos"] .fbtop .mq-deco,html.simple[data-season="muertos"] .fbtop .skyline{display:none!important}
  html.simple[data-season="muertos"] .fbtop .fb-menu,html.simple[data-season="muertos"][data-theme="dark"] .fbtop .fb-menu{
    background:rgba(20,10,58,.82);color:#fff;box-shadow:inset 0 0 0 2px #1FC8E0}
  html.simple[data-season="muertos"] .fbtop .brand-bubble{filter:drop-shadow(0 3px 6px rgba(20,10,58,.85))}
  html.simple[data-season="muertos"] .fb-safe{background:#140a3a}
}
/* accents matched to the art: deep indigo night, hot magenta, turquoise, marigold */
html.simple[data-season="muertos"]{--coco-night:#140a3a;--coco-purple:#3b1478;--coco-magenta:#F0168C;--coco-turq:#1FC8E0;--coco-marigold:#FF7A1A}
html.simple[data-season="muertos"] .mix-item{border-top-color:#FF7A1A;box-shadow:0 3px 0 rgba(240,22,140,.5),0 6px 14px rgba(20,10,58,.45)}
html.simple[data-season="muertos"] .tv-row{background:linear-gradient(180deg,#3b1478,#140a3a);border-top-color:#F0168C}
html.simple[data-season="muertos"] .tv-clip{border-color:#F0168C}
html.simple[data-season="muertos"] .tv-row-all{color:#1FC8E0}
/* Stable photo frames, including a branded fallback when a publisher has no image. */
html.simple .feed-media{aspect-ratio:16/9;width:100%;overflow:hidden;border-radius:10px;margin:10px 0;background:#01063B}
html.simple .feed-media img{display:block;width:100%;height:100%;object-fit:cover}
html.simple .feed-media img.feed-fallback-art{object-fit:cover;object-position:center}
html.simple .feed-placeholder{height:100%;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;
  background:radial-gradient(ellipse at top left,#3E1160,transparent 65%),linear-gradient(135deg,#01063B,#3E1160);color:#fff;
  box-shadow:inset 4px 0 #FF6000,inset -4px 0 #F70784;border-bottom:4px solid #19C3D9;box-sizing:border-box}
html.simple .feed-placeholder strong{font-size:clamp(1.8rem,7vw,3rem);font-weight:900;color:#fff}
html.simple .feed-placeholder span{color:#fff;font-weight:700}
html.simple .feed-share,html.simple .sx .feed-share{min-height:44px;padding:8px 18px;margin-top:10px;border:2px solid #19C3D9;border-radius:9px;background:#01063B;color:#fff;font-weight:700;cursor:pointer}
html.simple .sx .react .feed-share{margin:0;padding:6px 10px;min-height:40px;border-radius:999px;white-space:nowrap;align-self:center}
html.simple .feed-share:focus-visible{outline:3px solid var(--sf-link);outline-offset:3px}

/* v49.27.1 type scale (phones) */
@media (max-width:1023px){
  html.simple .mix-item h3{font-size:var(--t-lg);line-height:1.25}
  .tv-row-t{font-size:var(--t-md)}
  .tv-row-all{font-size:var(--t-sm)}
  .tv-play{font-size:var(--t-xs)}
  .tv-by{font-size:var(--t-xs)}
  html.simple .feed-placeholder strong{font-size:var(--t-xl)}
  html.simple .mix-item .sum{font-size:var(--t-md);font-weight:400;line-height:var(--lh-body);overflow-wrap:anywhere}
  html.simple .mix-item p{font-size:var(--t-md);font-weight:400;line-height:var(--lh-body);overflow-wrap:anywhere}
  html.simple .mix-item>*{min-width:0;overflow-wrap:anywhere}
}
/* Fiesta revert (49.29.3): out of the Día de Muertos season the simple feed's few unscoped night-sky pieces use the app icon's
   Fiesta colours (black chrome, turquoise #00C9CD, pink #FF1A7F, orange #FF6A0B); white text on black stays AA. */
html.simple:not([data-season="muertos"]) .feed-media{background:#111}
html.simple:not([data-season="muertos"]) .feed-placeholder{background:linear-gradient(135deg,#111,#2a2a2a);box-shadow:inset 4px 0 #FF6A0B,inset -4px 0 #FF1A7F;border-bottom:4px solid #00C9CD}
html.simple:not([data-season="muertos"]) .feed-share,html.simple:not([data-season="muertos"]) .sx .feed-share{background:#111;border-color:#00C9CD;color:#fff}
html.simple:not([data-season="muertos"]) .tv-clip{border-color:#FF1A7F;background:linear-gradient(180deg,#2a2a2a,#111)}
html.simple:not([data-season="muertos"]) .tv-clip::after{background:linear-gradient(180deg,transparent 50%,rgba(0,0,0,.85))}
html.simple:not([data-season="muertos"]) .tv-play{background:#111}
html.simple .feed-media{position:relative}
html.simple .feed-art-credit{display:block;padding:3px 8px;font-size:11px;line-height:1.3;color:#fff;background:rgba(0,0,0,.55);white-space:normal;overflow-wrap:anywhere}
html.simple .feed-art-credit a{color:#fff;text-decoration:underline}
html.simple .feed-media.has-credit{aspect-ratio:auto;flex-shrink:0;height:auto;min-height:0}
html.simple .feed-media.has-credit img{aspect-ratio:16/9;height:auto}
