/* Eden News (askeden.com/news), in Apple's idiom (iOS 26 / Apple News):
   - content on solid grouped cards; glass only on what floats above it (bars, buttons, menus, the tab bar),
     so text never sits on a blur;
   - system colours (grouped background, labels, separators, system blue), SF type sizes: large title 34,
     section title 22, headline 17, footnote 13;
   - a large title that hands over to a compact glass bar on scroll; a floating capsule tab bar on phones. */
:root {
  --bg: #f2f2f7; --card: #fff; --fill: rgba(120, 120, 128, .12); --fill2: rgba(120, 120, 128, .2);
  --label: #000; --label2: rgba(60, 60, 67, .78); --label3: rgba(60, 60, 67, .6); --sep: rgba(60, 60, 67, .2);
  --blue: #007aff; --on-blue: #fff; --green: #248a3d; --green-bg: rgba(52, 199, 89, .14); --orange: #c93400; --orange-bg: rgba(255, 149, 0, .14); --red: #d70015;
  --glass: rgba(255, 255, 255, .62); --glass-strong: rgba(250, 250, 252, .86);
  --glass-blur: blur(30px) saturate(180%);
  --glass-edge: inset 0 1px 0 rgba(255, 255, 255, .85), inset 0 0 0 .5px rgba(255, 255, 255, .5), 0 0 0 .5px rgba(0, 0, 0, .07);
  --float: 0 10px 30px -10px rgba(0, 0, 0, .22);
  --card-shadow: 0 1px 2px rgba(0, 0, 0, .04), 0 4px 16px -8px rgba(0, 0, 0, .08);
  --wash: radial-gradient(70% 380px at 0% 0%, rgba(0, 122, 255, .13), transparent 70%), radial-gradient(60% 340px at 100% 0%, rgba(175, 82, 222, .10), transparent 70%);
  --r: 22px;
  --display: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Helvetica Neue", sans-serif;
  --text: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", sans-serif;
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #000; --card: #1c1c1e; --fill: rgba(118, 118, 128, .24); --fill2: rgba(118, 118, 128, .32);
    --label: #fff; --label2: rgba(235, 235, 245, .78); --label3: rgba(235, 235, 245, .6); --sep: rgba(84, 84, 88, .6);
    --blue: #0a84ff; --on-blue: #fff; --green: #30d158; --green-bg: rgba(48, 209, 88, .16); --orange: #ff9f0a; --orange-bg: rgba(255, 159, 10, .16); --red: #ff453a;
    --glass: rgba(44, 44, 46, .58); --glass-strong: rgba(36, 36, 38, .86);
    --glass-edge: inset 0 1px 0 rgba(255, 255, 255, .14), inset 0 0 0 .5px rgba(255, 255, 255, .08), 0 0 0 .5px rgba(0, 0, 0, .6);
    --float: 0 12px 34px -10px rgba(0, 0, 0, .7);
    --card-shadow: none;
    --wash: radial-gradient(70% 380px at 0% 0%, rgba(10, 132, 255, .22), transparent 70%), radial-gradient(60% 340px at 100% 0%, rgba(191, 90, 242, .16), transparent 70%);
  }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--wash), var(--bg); background-repeat: no-repeat; color: var(--label); font: 17px/1.3 var(--text); letter-spacing: -.01em; -webkit-font-smoothing: antialiased; }
a { color: var(--blue); text-decoration: none; }
button { font: inherit; color: inherit; -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid color-mix(in srgb, var(--blue) 60%, transparent); outline-offset: 2px; border-radius: 10px; }
.wrap { max-width: 1180px; margin: 0 auto; padding: 0 20px; }
.muted { color: var(--label3); }
.small { font-size: 13px; }
.grow { flex: 1; }
[hidden] { display: none !important; }

/* glass: what floats over the content */
.nav, .round, .capsule:not(.capsule-blue), .tab:not([aria-pressed="true"]), .follow, .menu, .dock, .sheet {
  background-color: var(--glass);
  -webkit-backdrop-filter: var(--glass-blur);
  backdrop-filter: var(--glass-blur);
  box-shadow: var(--glass-edge), var(--float);
}

/* the compact bar: hidden under the large title, slides in once it scrolls away */
.nav { position: fixed; top: 0; left: 0; right: 0; z-index: 10; padding-top: env(safe-area-inset-top, 0px); box-shadow: var(--glass-edge); transform: translateY(-100%); opacity: 0; transition: transform .35s cubic-bezier(.32, .72, 0, 1), opacity .2s; }
.nav.show { transform: none; opacity: 1; }
.nav-in { display: flex; align-items: center; gap: 12px; padding-top: 10px; padding-bottom: 10px; }
.brand { display: flex; align-items: center; gap: 9px; color: var(--label); font: 600 17px/1 var(--display); }
.logo { width: 26px; height: 26px; flex: none; filter: drop-shadow(0 1px 2px rgba(0, 0, 0, .18)); }
.orb { width: 24px; height: 24px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #8fdcff, #1677c9 70%); box-shadow: inset 0 1px 1px rgba(255, 255, 255, .6), 0 2px 6px rgba(22, 119, 201, .35); flex: none; }

/* round and capsule buttons */
.round { width: 36px; height: 36px; border: 0; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; color: var(--blue); cursor: pointer; }
.round-lg { width: 44px; height: 44px; }
.capsule { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 44px; padding: 0 18px; border: 0; border-radius: 999px; color: var(--label); font-size: 15px; font-weight: 600; cursor: pointer; white-space: nowrap; }
.capsule-blue { background: var(--blue); color: var(--on-blue); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .3), 0 8px 20px -8px color-mix(in srgb, var(--blue) 70%, transparent); }
.capsule:disabled { opacity: .4; cursor: default; }
.link { border: 0; background: none; color: var(--blue); cursor: pointer; padding: 10px; font-size: 15px; }

/* the large title */
/* below the status bar and any in-app browser's bar (the Google app's draws over the page): the safe area, as
   askeden.com's home page does (owner, 2026-11-17: the top was hidden in the Google app) */
main { padding-top: 18px; padding-bottom: 120px; display: flex; flex-direction: column; gap: 28px; }
/* (main.wrap: .wrap's padding shorthand would win over plain main; .wrap's 0 top is what the page has always shown) */
main.wrap { padding-top: env(safe-area-inset-top, 0px); }
/* the Google app's bar over the page (about 76pt measured on an iPhone, 2026-11-17): room for it on the page, the
   compact bar and the questions sheet; the larger of that and the safe area, so a Google app that does count its bar
   there doesn't get both */
.gsa main.wrap { padding-top: max(80px, env(safe-area-inset-top, 0px)); }
.gsa .nav { padding-top: max(80px, env(safe-area-inset-top, 0px)); }
.gsa .sheet-back { padding-top: max(80px, env(safe-area-inset-top, 0px)); }
.hero { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; padding-top: 22px; }
.eyebrow { margin: 0 0 2px; font: 600 13px/1.2 var(--text); letter-spacing: .02em; text-transform: uppercase; color: var(--label3); }
.hero h1 { margin: 0; font: 700 34px/1.1 var(--display); letter-spacing: .01em; }
.hero-end { display: flex; align-items: center; gap: 10px; }

/* sections: capsules in a scrolling row */
.tabs { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; margin: -6px -20px 0; padding: 6px 20px 10px; }
.tabs::-webkit-scrollbar { display: none; }
.tab { flex: none; border: 0; min-height: 36px; padding: 0 16px; border-radius: 999px; font-size: 15px; font-weight: 500; color: var(--label); cursor: pointer; }
.tab[aria-pressed="true"] { background: var(--label); color: var(--bg); font-weight: 600; }

.notice { margin: 0; padding: 12px 16px; border-radius: 14px; background: var(--orange-bg); color: var(--orange); font-size: 15px; }
.notice-err { background: transparent; color: var(--red); box-shadow: inset 0 0 0 1px var(--red); }

/* section titles: bold, system blue, a chevron */
h2.sec { margin: 0 0 10px; font: 700 22px/1.2 var(--display); letter-spacing: .01em; color: var(--blue); display: flex; align-items: center; gap: 4px; }
h2.sec .sec-go::after { content: ""; width: 9px; height: 9px; border-right: 2.5px solid currentColor; border-top: 2.5px solid currentColor; transform: rotate(45deg) translateY(1px); margin-left: 4px; border-radius: 1px; }
h2.sec .sec-go { display: inline-flex; align-items: center; gap: 4px; margin: -6px -8px; padding: 6px 8px; border: 0; border-radius: 10px; background: none; color: inherit; font: inherit; letter-spacing: inherit; cursor: pointer; -webkit-tap-highlight-color: transparent; }
h2.sec .sec-go:hover { background: var(--fill); }
h2.sec .sec-go:active { opacity: .6; }
h2.sec small { font: 400 15px var(--text); color: var(--label3); margin-left: 8px; }
h2.sec small:empty { display: none; }
#feed { display: flex; flex-direction: column; gap: 34px; }

/* cards: solid, grouped */
.card { background: var(--card); border-radius: var(--r); box-shadow: var(--card-shadow); }
.lead-row { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 20px; }
.lead { flex: 999 1 560px; min-width: 0; overflow: hidden; display: flex; flex-direction: column; }
.banner { aspect-ratio: 16 / 8; max-height: 320px; position: relative; display: flex; align-items: flex-end; padding: 16px; }
.banner img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.banner .credit { position: absolute; right: 14px; bottom: 14px; color: rgba(255, 255, 255, .92); font-size: 11px; text-shadow: 0 1px 2px rgba(0, 0, 0, .3); }
.banner::after { content: ""; position: absolute; inset: 0; background: linear-gradient(115deg, rgba(255, 255, 255, .22), rgba(255, 255, 255, 0) 40%); pointer-events: none; }
.kicker { position: relative; z-index: 1; padding: 6px 12px; border-radius: 999px; font-size: 12px; font-weight: 600; letter-spacing: .02em; color: #fff; background: rgba(255, 255, 255, .2); -webkit-backdrop-filter: blur(16px) saturate(180%); backdrop-filter: blur(16px) saturate(180%); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .45), inset 0 0 0 .5px rgba(255, 255, 255, .3); }
.lead-col { flex: 999 1 560px; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.lead-col .lead { flex: none; }
.featured { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; }
.mid { overflow: hidden; display: flex; flex-direction: column; }
.mid .pic { aspect-ratio: 16 / 9; position: relative; }
.mid .pic img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.mid .pic .credit { position: absolute; right: 10px; bottom: 8px; color: rgba(255, 255, 255, .92); font-size: 10.5px; text-shadow: 0 1px 2px rgba(0, 0, 0, .35); }
.mid .body { padding: 12px 16px 14px; display: flex; flex-direction: column; gap: 6px; }
.lead .body { padding: 16px 20px 18px; display: flex; flex-direction: column; gap: 8px; }
.lead h3 { margin: 0; font: 700 26px/1.15 var(--display); letter-spacing: 0; }

.pub { font-size: 13px; font-weight: 700; letter-spacing: .01em; color: var(--label); display: flex; align-items: center; gap: 6px; }
.pub .dot { width: 8px; height: 8px; border-radius: 50%; }
h3.t { margin: 0; font: 600 17px/1.25 var(--text); letter-spacing: -.02em; }
h3 a, .row a.t { color: var(--label); }
h3 a:hover, .row a.t:hover { color: var(--blue); }
p.sum { margin: 0; font-size: 15px; line-height: 1.35; color: var(--label2); letter-spacing: -.01em; }
.meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; font-size: 13px; color: var(--label3); }
.check { display: inline-flex; align-items: center; gap: 4px; color: var(--green); font-weight: 600; }
.why { font-size: 13px; font-weight: 600; color: var(--blue); }
.heads-up { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; }
.badge-warn { padding: 3px 9px; border-radius: 999px; background: var(--orange-bg); color: var(--orange); font-size: 12px; font-weight: 600; }
.reveal { border: 0; background: none; color: var(--blue); font-size: 15px; padding: 6px 0; cursor: pointer; }

/* grouped lists: rows on one card, inset hairlines, a rounded picture (or topic colour) at the right */
.list { padding: 0 16px; overflow: hidden; }
.row { display: flex; align-items: flex-start; gap: 14px; padding: 14px 0; }
.row + .row { box-shadow: 0 -.5px 0 var(--sep); }
.row .text { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.row .n { width: 22px; flex: none; font: 700 22px/1.15 var(--display); color: var(--label3); }
.thumb { width: 76px; height: 76px; flex: none; border-radius: 14px; position: relative; overflow: hidden; }
.thumb img { width: 100%; height: 100%; object-fit: cover; }
.thumb::after { content: ""; position: absolute; inset: 0; background: linear-gradient(135deg, rgba(255, 255, 255, .28), rgba(255, 255, 255, 0) 55%); }
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(340px, 1fr)); gap: 16px; }
.top { flex: 1 1 320px; min-width: 0; padding-top: 14px; }
.top h2 { margin: 0 16px 2px; }

/* the "⋯" button and its glass menu */
.more { width: 32px; height: 32px; flex: none; border: 0; border-radius: 50%; background: var(--fill); color: var(--label2); display: inline-flex; align-items: center; justify-content: center; cursor: pointer; margin-top: -4px; }
.more:hover { background: var(--fill2); }
.menu { position: fixed; z-index: 30; min-width: 240px; padding: 6px; border-radius: 16px; background-color: var(--glass-strong); display: flex; flex-direction: column; }
.menu button { display: flex; align-items: center; gap: 12px; min-height: 44px; padding: 0 12px; border: 0; border-radius: 10px; background: none; font-size: 16px; text-align: left; cursor: pointer; color: var(--label); }
.menu button:hover, .menu button:focus-visible { background: var(--fill); outline: none; }
.menu button.danger { color: var(--red); }
.menu hr { border: 0; height: .5px; background: var(--sep); margin: 4px 10px; }

/* Following: glass capsules with a count */
.following h2.sec { margin-bottom: 8px; }
.rail { display: flex; gap: 10px; overflow-x: auto; scrollbar-width: none; margin: 0 -20px; padding: 4px 20px 10px; scroll-snap-type: x proximity; scroll-padding: 0 20px; }
.rail::-webkit-scrollbar { display: none; }
.follow { flex: none; scroll-snap-align: start; display: flex; align-items: center; gap: 10px; min-height: 52px; padding: 6px 8px 6px 16px; border: 0; border-radius: 999px; cursor: pointer; text-align: left; color: var(--label); }
.follow .dot { width: 10px; height: 10px; border-radius: 50%; flex: none; }
.follow b { font-size: 15px; font-weight: 600; white-space: nowrap; display: block; }
.follow .k { font-size: 12px; color: var(--label3); display: block; }
.count { min-width: 30px; height: 30px; padding: 0 9px; border-radius: 999px; background: var(--blue); color: var(--on-blue); font-size: 14px; font-weight: 700; display: inline-flex; align-items: center; justify-content: center; }
.count.zero { background: var(--fill); color: var(--label3); }
.follow[aria-pressed="true"] { box-shadow: var(--glass-edge), 0 0 0 2px var(--blue); }
.follow-add { color: var(--blue); padding-right: 18px; }
.follow-add b { color: var(--blue); }

.empty { padding: 28px; text-align: center; color: var(--label3); font-size: 15px; }
.foot { color: var(--label3); font-size: 13px; line-height: 1.4; border-top: .5px solid var(--sep); padding-top: 12px; }
.foot p { margin: 0 0 6px; }

/* the phone's tab bar: a floating capsule */
.dock { display: none; }
@media (max-width: 700px) {
  .dock { position: fixed; z-index: 15; left: 50%; bottom: calc(14px + env(safe-area-inset-bottom)); transform: translateX(-50%); display: flex; gap: 2px; padding: 5px; border-radius: 999px; }
  .dock button { white-space: nowrap; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; min-width: 76px; min-height: 52px; padding: 0 12px; border: 0; border-radius: 999px; background: none; font-size: 10.5px; font-weight: 600; color: var(--label); cursor: pointer; }
  .dock button[aria-pressed="true"] { background: var(--fill); color: var(--blue); }
  .hero-end .capsule { min-height: 36px; padding: 0 14px; font-size: 14px; }
  .lead h3 { font-size: 22px; }
  .grid { grid-template-columns: 1fr; }
  .thumb { width: 64px; height: 64px; border-radius: 12px; }
}

/* the first-open questions: a glass sheet */
.sheet-back { position: fixed; inset: 0; z-index: 40; background: rgba(0, 0, 0, .22); display: flex; align-items: center; justify-content: center; padding: max(16px, env(safe-area-inset-top, 0px)) 16px max(16px, env(safe-area-inset-bottom, 0px)); }
.sheet { width: min(640px, 100%); max-height: 100%; overflow: auto; background-color: var(--glass-strong); border-radius: 30px; padding: 20px 22px 16px; display: flex; flex-direction: column; gap: 8px; }
.sheet h2 { margin: 6px 0 0; font: 700 28px/1.15 var(--display); }
.sheet p { margin: 0; font-size: 15px; }
.sheet-top { display: flex; align-items: center; gap: 12px; }
.steps { display: flex; gap: 6px; flex: 1; }
.steps span { height: 4px; flex: 1; border-radius: 2px; background: var(--fill2); }
.steps span.on { background: var(--blue); }
.sheet-nav { display: flex; align-items: center; gap: 8px; margin-top: 14px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.chip { border: 0; border-radius: 999px; padding: 0 16px; min-height: 40px; background: var(--fill); color: var(--label); font-size: 15px; cursor: pointer; display: inline-flex; align-items: center; gap: 6px; }
.chip[aria-pressed="true"] { background: var(--blue); color: var(--on-blue); font-weight: 600; }
.chip-sub { min-height: 36px; font-size: 14px; padding: 0 14px; }
.chip-x { padding-right: 8px; }
.chip-x b { display: inline-flex; width: 22px; height: 22px; border-radius: 50%; align-items: center; justify-content: center; background: var(--fill2); font-weight: 600; }
.subs { margin: 10px 0 2px; padding: 12px; border-radius: 18px; background: var(--fill); }
.subs p { font-size: 13px; color: var(--label3); }
.field { display: flex; gap: 8px; margin-top: 14px; }
.field input { flex: 1; min-width: 0; font: inherit; font-size: 17px; padding: 0 14px; min-height: 44px; border-radius: 12px; border: 0; background: var(--fill); color: var(--label); }
.choices { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 10px; margin-top: 12px; }
.choice { text-align: left; border: 0; border-radius: 18px; padding: 14px; background: var(--fill); cursor: pointer; display: flex; flex-direction: column; gap: 4px; min-height: 44px; color: var(--label); }
.choice b { font-size: 16px; }
.choice span { font-size: 13px; color: var(--label3); }
.choice[aria-pressed="true"] { box-shadow: inset 0 0 0 2px var(--blue); }
.label { margin: 18px 0 0 !important; font-size: 13px !important; font-weight: 600; color: var(--label3); text-transform: uppercase; letter-spacing: .02em; }

@media (prefers-reduced-motion: reduce) { .nav { transition: none; } }
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .nav, .round, .capsule:not(.capsule-blue), .tab:not([aria-pressed="true"]), .follow, .menu, .dock, .sheet { background-color: var(--card); }
}
@media (prefers-reduced-transparency: reduce) {
  body { background: var(--bg); }
  .nav, .round, .capsule:not(.capsule-blue), .tab:not([aria-pressed="true"]), .follow, .menu, .dock, .sheet { background-color: var(--card); -webkit-backdrop-filter: none; backdrop-filter: none; }
}
