/* The reader page, to the UX team's Figma design (file HZrdJ32PeO6wZJe7h37qFD,
 * 22 Sep 2026). Every colour below is a variable read from that file, light
 * and dark; every measure is taken from its 1x export (1 px = 1 px at the
 * 954 px portrait frame). Nothing here is a guess: when a value is changed,
 * it is changed against the design. */

@font-face {
  font-family: "LVMH";
  src: url("/static/fonts/LVMH-SemiBold.otf") format("opentype");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "LVMH";
  src: url("/static/fonts/LVMH-Regular.otf") format("opentype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  /* text */
  --text-default: #141414;
  --text-subtle: #727277;
  --text-accent: #576ddd;
  /* surfaces */
  --background-default: #ffffff;
  --background-subtle: #fdffff;
  --background-sheet: #fdffff;
  --layer-default: #131921;
  --grouped: #f0f0f0; /* the sidebar's system grouped background */
  /* accent */
  --tint: #576ddd;
  --tint-subtle: #8897e5;
  --button-accent: #576ddd;
  --button-accent-subtle: #c9d2ff;
  --stroke-accent: #576ddd;
  --stroke-inverted: #e6e6e9;
  --icon-default: #141414;
  --icon-accent: #576ddd;
  --labels-primary: #000000;
  --labels-secondary: rgba(60, 60, 67, 0.6);
  --labels-tertiary: rgba(60, 60, 67, 0.3);
  --fills-secondary: rgba(120, 120, 128, 0.16);
  --shadow-1: rgba(0, 0, 0, 0.06);
  --shadow-2: rgba(0, 0, 0, 0.15);
  --glass: rgba(255, 255, 255, 0.72);
  --gradient-0: rgba(255, 255, 255, 0);
  --gradient-70: rgba(255, 255, 255, 0.7);
  --gradient-100: #ffffff;
  --bubble: #f2f2f7;
  /* type */
  --sf:
    -apple-system, BlinkMacSystemFont, "SF Pro", "SF Pro Text",
    "Helvetica Neue", Helvetica, Arial, sans-serif;
  --serif: "LVMH", "Bodoni 72", "Didot", Georgia, serif;
  /* frame */
  --gutter: 32px;
  --content: 890px;
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --text-default: #e6e6e9;
    --text-subtle: #9c9c9c;
    --text-accent: #c9d2ff;
    --background-default: #131921;
    --background-subtle: #1a2634;
    --background-sheet: #1a2634;
    --layer-default: #e6e6e9;
    --grouped: #1a2634;
    --tint: #8897e5;
    --tint-subtle: #576ddd;
    --button-accent: #92a3f7;
    --button-accent-subtle: #576ddd;
    --stroke-accent: #92a3f7;
    --stroke-inverted: #2a3441;
    --icon-default: #e6e6e9;
    --icon-accent: #92a3f7;
    --labels-primary: #ffffff;
    --labels-secondary: rgba(235, 235, 245, 0.6);
    --labels-tertiary: rgba(235, 235, 245, 0.3);
    --fills-secondary: rgba(120, 120, 128, 0.32);
    --shadow-1: rgba(255, 255, 255, 0.06);
    --shadow-2: rgba(255, 255, 255, 0.15);
    --glass: rgba(19, 25, 33, 0.72);
    --gradient-0: rgba(19, 25, 33, 0);
    --gradient-70: rgba(19, 25, 33, 0.7);
    --gradient-100: #131921;
    --bubble: #1a2634;
  }
}
:root[data-theme="dark"] {
  --text-default: #e6e6e9;
  --text-subtle: #9c9c9c;
  --text-accent: #c9d2ff;
  --background-default: #131921;
  --background-subtle: #1a2634;
  --background-sheet: #1a2634;
  --layer-default: #e6e6e9;
  --grouped: #1a2634;
  --tint: #8897e5;
  --tint-subtle: #576ddd;
  --button-accent: #92a3f7;
  --button-accent-subtle: #576ddd;
  --stroke-accent: #92a3f7;
  --stroke-inverted: #2a3441;
  --icon-default: #e6e6e9;
  --icon-accent: #92a3f7;
  --labels-primary: #ffffff;
  --labels-secondary: rgba(235, 235, 245, 0.6);
  --labels-tertiary: rgba(235, 235, 245, 0.3);
  --fills-secondary: rgba(120, 120, 128, 0.32);
  --shadow-1: rgba(255, 255, 255, 0.06);
  --shadow-2: rgba(255, 255, 255, 0.15);
  --glass: rgba(19, 25, 33, 0.72);
  --gradient-0: rgba(19, 25, 33, 0);
  --gradient-70: rgba(19, 25, 33, 0.7);
  --gradient-100: #131921;
  --bubble: #1a2634;
}

* {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
}
body {
  margin: 0;
  background: var(--background-default);
  color: var(--text-default);
  font-family: var(--sf);
  font-size: 17px;
  line-height: 22px;
  letter-spacing: -0.43px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body.locked {
  overflow: hidden;
}
a {
  color: var(--text-accent);
}
button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
}
img {
  display: block;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}
svg.ic {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  display: block;
}

/* ── the top bar: 54 px, frosted, three 44 px round buttons ─────────────── */
.topbar {
  position: sticky;
  top: 0;
  z-index: 30;
  height: 54px;
  padding: 5px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
/* 19 November 2026 (UI review) : the blur stopped at the bar's bottom edge,
 * so a line of text scrolling under it was cut by a sharp horizontal line.
 * The frosted layer sits behind the buttons, runs a little below the bar and
 * fades out with a mask : the text dissolves, the buttons stay sharp. */
.topbar::before {
  content: "";
  position: absolute;
  inset: 0 0 -28px;
  z-index: -1;
  pointer-events: none;
  background: linear-gradient(
    var(--gradient-100),
    var(--gradient-70) 55%,
    var(--gradient-0)
  );
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  -webkit-mask-image: linear-gradient(to bottom, #000 40%, transparent);
  mask-image: linear-gradient(to bottom, #000 40%, transparent);
}
.topbar .right {
  display: flex;
  gap: 12px;
}
.rbtn {
  width: 44px;
  height: 44px;
  border-radius: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--icon-default);
  background: var(--glass);
  box-shadow:
    0 0 0 0.5px var(--stroke-inverted),
    0 8px 15px var(--shadow-1);
}
.rbtn.accent {
  background: var(--button-accent);
  color: #fff;
  box-shadow: none;
}
.rbtn.plain {
  background: transparent;
  box-shadow: none;
}
.rbtn:active {
  opacity: 0.6;
}

/* the network banner, a glass pill under the bar (606 × 68 in the design) */
.toast {
  position: fixed;
  left: 50%;
  top: 45px;
  transform: translateX(-50%);
  z-index: 40;
  width: min(606px, calc(100vw - 64px));
  min-height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 12px 12px 24px;
  border-radius: 34px;
  background: var(--glass);
  -webkit-backdrop-filter: blur(30px);
  backdrop-filter: blur(30px);
  box-shadow:
    0 0 0 0.5px var(--stroke-inverted),
    0 10px 30px var(--shadow-2);
  font-weight: 590;
  font-size: 17px;
  line-height: 22px;
  color: var(--text-default);
}
.toast[hidden] {
  display: none;
}

/* ── the frame ─────────────────────────────────────────────────────────── */
.wrap {
  max-width: calc(var(--content) + 2 * var(--gutter));
  margin: 0 auto;
  padding: 44px var(--gutter) 128px;
}
.hello {
  text-align: center;
  margin: 0;
}
.hello h1 {
  margin: 0;
  font-size: 36px;
  line-height: 43px;
  font-weight: 700;
  letter-spacing: 0.37px;
}
.hello p {
  margin: 2px 0 0;
  font-size: 20px;
  line-height: 24px;
  color: var(--text-subtle);
  letter-spacing: -0.45px;
}
.hello p::first-letter {
  text-transform: uppercase;
}

/* ── « À la une ce matin » ─────────────────────────────────────────────── */
.unes {
  margin-top: 64px;
}
.unes .lbl {
  font-size: 20px;
  line-height: 24px;
  font-weight: 590;
  letter-spacing: -0.45px;
  color: var(--text-subtle);
  margin: 0;
}
.unes .lbl.lvmh {
  color: var(--text-accent);
}
/* 19 November 2026 (UI review) : a scrolling box cuts what passes its
   edge, and the rail left two pixels round the cards — their shadow (2 px
   down, 12 px blur) was cut. The rail leaves the shadow its room ; the
   negative margins keep every card exactly where it stood. */
.rail {
  margin: -4px -16px -12px;
  display: flex;
  gap: 8px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: 16px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding: 14px 16px;
}
.rail::-webkit-scrollbar {
  display: none;
}
/* SIX FRONTS (6 November 2026) : five filled a wide screen's row exactly and
 * the sixth began at its edge, unseen. An arrow shows on the side where a
 * front is hidden, on a screen driven by a mouse ; a touch screen scrolls by
 * hand. */
.rail-box {
  position: relative;
}
/* 19 November 2026 (UI review) : centred on the cards' whole height (the
 * box holds the rail and the arrows only), not at a fixed 150 px */
.rail-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  line-height: 1;
  color: var(--text-default);
  cursor: pointer;
  background: var(--background-subtle);
  box-shadow:
    0 2px 12px var(--shadow-1),
    0 0 0 0.5px var(--stroke-inverted);
}
.rail-arrow.prev {
  left: -12px;
}
.rail-arrow.next {
  right: -12px;
}
.rail-arrow[hidden],
.dots[hidden] {
  display: none;
}
@media (hover: none), (pointer: coarse) {
  .rail-arrow {
    display: none;
  }
}
.une {
  flex: 0 0 291px;
  width: 291px;
  scroll-snap-align: start;
  background: var(--background-subtle);
  border-radius: 16px;
  padding: 16px 16px 20px;
  box-shadow:
    0 2px 12px var(--shadow-1),
    0 0 0 0.5px var(--stroke-inverted);
  position: relative;
  text-align: left;
  color: inherit;
  display: flex;
  flex-direction: column;
}
.une.lvmh {
  box-shadow:
    0 0 0 2px var(--stroke-accent),
    0 2px 12px var(--shadow-1);
  background: color-mix(
    in srgb,
    var(--button-accent-subtle) 22%,
    var(--background-subtle)
  );
}
.une .cover {
  width: 259px;
  height: 356px;
  object-fit: cover;
  object-position: top;
  border-radius: 4px;
  background: var(--fills-secondary);
  box-shadow: 0 1px 4px var(--shadow-2);
}
.une .issue {
  margin: 12px 0 0;
  font-size: 13px;
  line-height: 16px;
  letter-spacing: -0.08px;
  color: var(--text-subtle);
}
.une .issue + .cap {
  margin-top: 4px;
}
.une .cap {
  margin: 16px 0 0;
  font-size: 17px;
  line-height: 22px;
  font-weight: 400;
  letter-spacing: -0.43px;
}
.une .cap b {
  font-weight: 510;
}
.une .also {
  margin: 6px 0 0;
  font-size: 15px;
  line-height: 20px;
  letter-spacing: -0.23px;
  color: var(--text-subtle);
}
.une .also .sep {
  padding: 0 6px;
}
.une .also .hit {
  color: var(--text-accent);
  font-weight: 590;
}
/* pinned to the card's bottom, at the same place on every card (19 November
   2026, UI review) */
.une .all {
  display: block;
  margin: auto 0 0;
  padding-top: 8px;
  font-size: 15px;
  line-height: 20px;
  letter-spacing: -0.23px;
  color: var(--text-accent);
}
.une .chip {
  position: absolute;
  top: 8px;
  right: 8px;
  height: 35px;
  padding: 0 16px;
  border-radius: 18px;
  background: var(--button-accent);
  color: #fff;
  font-size: 15px;
  line-height: 35px;
  font-weight: 590;
  letter-spacing: -0.23px;
  max-width: calc(100% - 16px);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.dots {
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 0;
}
/* 19 November 2026 (UI review) : the pager has no background — the dots
 * alone, a little apart, as the design draws them */
.dots .pill {
  height: 24px;
  padding: 0;
  display: flex;
  gap: 10px;
  align-items: center;
  background: none;
}
.dots i {
  display: block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--labels-tertiary);
}
.dots i.on {
  background: var(--tint);
}

/* ── sections and cards ────────────────────────────────────────────────── */
.section {
  margin-top: 64px;
}
.section h2 {
  margin: 0;
  text-align: center;
  font-size: 36px;
  line-height: 43px;
  font-weight: 700;
  letter-spacing: 0.37px;
}
.section .n {
  margin: 4px 0 0;
  text-align: center;
  font-size: 20px;
  line-height: 24px;
  color: var(--text-subtle);
  letter-spacing: -0.45px;
}
.cards {
  margin-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.card {
  position: relative;
  background: var(--background-subtle);
  border-radius: 8px;
  padding: 32px;
  box-shadow:
    0 2px 12px var(--shadow-1),
    0 0 0 0.5px var(--stroke-inverted);
}
/* his group on the card (5 November) : an outlined tag ; under the title,
   beside the sources (19 November 2026, UI review) — in the bottom right
   corner it lay over « Articles » on an upright iPad */
.card .meta {
  margin: 8px 0 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 16px;
}
.card .tie {
  display: inline-block;
  height: 22px;
  padding: 0 8px;
  border-radius: 4px;
  border: 1px solid var(--stroke-accent);
  color: var(--text-accent);
  font-size: 12px;
  line-height: 20px;
  letter-spacing: -0.1px;
  white-space: nowrap;
}
/* the selector under the sector's count : a row of outlined pills, one per
   group and one for the world ; a group without a card is turned off */
.jump {
  margin-top: 48px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
}
.jump-btn {
  height: 36px;
  padding: 0 16px;
  border-radius: 18px;
  border: 1px solid var(--stroke-accent);
  background: transparent;
  color: var(--text-accent);
  font-size: 15px;
  line-height: 34px;
  letter-spacing: -0.2px;
  white-space: nowrap;
  cursor: pointer;
}
/* Safari on a touch screen keeps :hover on the last thing tapped : the
 * tint shows only where a pointer really hovers (7 November 2026). */
@media (hover: hover) {
  .jump-btn:hover:not(:disabled) {
    background: var(--button-accent-subtle);
  }
}
.jump-btn:disabled {
  border-color: var(--stroke-inverted);
  color: var(--text-subtle);
  opacity: 0.55;
  cursor: default;
}
/* the three groups of the sector column, in his order : anchors only */
.group + .group {
  margin-top: 16px;
}
.group,
.section {
  scroll-margin-top: 72px;
}
.card h3 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 600;
  font-size: 32px;
  line-height: 1;
  letter-spacing: 0.38px;
  color: var(--text-default);
}
.card .src {
  margin: 0;
  font-size: 12px;
  line-height: 16px;
  font-weight: 510;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  color: var(--text-default);
}
.card .edday {
  display: inline-block;
  margin: 8px 0 0;
  font-size: 13px;
  line-height: 16px;
  letter-spacing: -0.08px;
  color: var(--text-accent);
  text-decoration: none;
}
.card .body {
  margin-top: 32px;
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.card .pic {
  flex: 0 0 160px;
  width: 160px;
  height: 128px;
  object-fit: cover;
  border-radius: 4px;
  background: var(--fills-secondary);
}
.card .recit {
  margin: 0;
  flex: 1;
  font-size: 18px;
  line-height: 21.5px;
  font-weight: 300;
  letter-spacing: -0.4px;
}
.card .recit a {
  color: var(--text-accent);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.card .blk {
  margin-top: 32px;
}
.card .blk h4 {
  margin: 0;
  font-size: 13px;
  line-height: 16px;
  font-weight: 590;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}
.card .blk .txt {
  margin: 8px 0 0;
  padding-left: 17px;
  border-left: 2px solid var(--tint-subtle);
  font-size: 14px;
  line-height: 20px;
  letter-spacing: -0.15px;
}
.card .blk .txt a {
  color: var(--text-accent);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.card .foot {
  margin-top: 32px;
  display: flex;
  justify-content: center;
  gap: 96px;
}
.card .foot button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--text-accent);
  font-size: 17px;
  line-height: 22px;
  letter-spacing: -0.43px;
}
.card .foot button svg {
  width: 20px;
  height: 20px;
}
.card[data-kept="false"] {
  display: none;
}

/* the floating « Discuter avec MaIA » pill: 238 × 48, 32 px from the bottom */
.maia {
  position: fixed;
  left: 50%;
  bottom: 32px;
  transform: translateX(-50%);
  z-index: 25;
  height: 48px;
  padding: 0 16px 0 16px;
  border-radius: 24px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: var(--button-accent);
  color: #fff;
  font-size: 17px;
  line-height: 22px;
  font-weight: 590;
  letter-spacing: -0.43px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
  /* 19 November 2026 : centred from the middle of the screen, the pill had
   * only the right half for itself — on a phone its words broke on two
   * lines and its icon was squeezed ; it takes its own width */
  width: max-content;
}
.maia svg {
  width: 36px;
  height: 36px;
  /* 19 November 2026 : never squeezed by a narrow pill (30 × 36 on a phone) */
  flex: none;
}

/* ── overlays share a dim ──────────────────────────────────────────────── */
.dim {
  position: fixed;
  inset: 0;
  z-index: 50;
  background: rgba(0, 0, 0, 0.35);
  display: none;
}
.dim.on {
  display: block;
}

/* the Une sheet: 728 wide, radius 24 */
.sheet {
  position: fixed;
  z-index: 60;
  left: 50%;
  top: 135px;
  transform: translateX(-50%);
  width: min(728px, calc(100vw - 32px));
  max-height: calc(100vh - 150px);
  background: var(--background-sheet);
  border-radius: 24px;
  overflow: auto;
  display: none;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
}
.sheet.on {
  display: block;
}
.sheet .grab {
  width: 58px;
  height: 4px;
  border-radius: 2px;
  background: var(--labels-tertiary);
  margin: 8px auto 0;
}
/* 19 November 2026 (UI review) : the header stays at the top of the sheet
   while the front and its titles scroll under it */
.sheet .head {
  position: sticky;
  top: 0;
  z-index: 2;
  background: var(--background-sheet);
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 16px;
}
.sheet .head .ttl {
  font-size: 17px;
  line-height: 22px;
  font-weight: 590;
  letter-spacing: -0.43px;
  text-align: center;
  flex: 1;
}
.sheet .front {
  width: 496px;
  max-width: calc(100% - 48px);
  margin: 24px auto 0;
  border-radius: 4px;
  box-shadow: 0 2px 16px var(--shadow-2);
}
.sheet .lead {
  margin: 42px 70px 0;
  font-size: 34px;
  line-height: 41px;
  letter-spacing: 0.4px;
}
.sheet .lead .serif {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 44px;
}
.sheet .also {
  margin: 28px 70px 0;
  font-size: 17px;
  line-height: 22px;
  font-weight: 590;
}
.sheet .chips {
  margin: 8px 70px 32px;
  font-size: 16px;
  line-height: 25px;
  font-weight: 510;
  letter-spacing: -0.23px;
}
.sheet .chips .sep {
  color: var(--text-subtle);
  padding: 0 8px;
}
.sheet .chips a,
.sheet .chips span.s {
  color: inherit;
  text-decoration: none;
}
.sheet .chips .hit {
  color: var(--text-accent);
  font-weight: 700;
}
.sheet .issue {
  margin: 10px 70px 0;
  font-size: 15px;
  line-height: 20px;
  color: var(--text-subtle);
}
/* 19 November 2026 (UI review) : « Également à la une » in regular — the
   group's titles told apart by their colour, no longer by their weight */
.sheet .also-list {
  margin: 8px 70px 32px;
  padding-left: 22px;
  font-size: 16px;
  line-height: 25px;
  font-weight: 400;
  letter-spacing: -0.23px;
}
.sheet .also-list li {
  margin: 2px 0;
}
.sheet .also-list a,
.sheet .also-list span.s {
  color: inherit;
  text-decoration: none;
}
.sheet .also-list .hit {
  color: var(--text-accent);
  font-weight: 400;
}
/* the sidebar: 320 wide, grouped background */
.side {
  position: fixed;
  z-index: 60;
  top: 0;
  left: 0;
  bottom: 0;
  width: 320px;
  background: var(--grouped);
  transform: translateX(-100%);
  transition: transform 0.25s ease;
  padding: 16px 8px;
  overflow: auto;
}
.side.on {
  transform: none;
}
.side .x {
  position: absolute;
  top: 20px;
  right: 16px;
}
.side .search {
  margin: 58px 8px 0;
  height: 44px;
  border-radius: 10px;
  background: var(--fills-secondary);
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 12px;
  color: var(--text-subtle);
}
.side .search input {
  flex: 1;
  border: 0;
  background: none;
  font: inherit;
  color: var(--text-default);
  outline: none;
  min-width: 0;
}
.side .month {
  margin: 24px 0 0;
  padding: 10px 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--text-subtle);
  font-size: 17px;
  line-height: 22px;
  cursor: pointer;
}
.side .month svg {
  width: 18px;
  height: 18px;
  transition: transform 0.2s;
}
.side .month.closed svg {
  transform: rotate(-90deg);
}
.side .month.closed + .days {
  display: none;
}
.side .days {
  display: flex;
  flex-direction: column;
}
.side .days a {
  display: block;
  height: 44px;
  line-height: 44px;
  padding: 0 16px;
  color: var(--text-default);
  text-decoration: none;
  font-size: 17px;
  border-radius: 8px;
}
.side .days a.on {
  background: var(--fills-secondary);
}

/* the jump menu, radius 20 : as wide as its longest entry, each on one line
 * (6 November 2026 : two entries wrapped and ran into each other) */
.menu {
  position: fixed;
  z-index: 60;
  top: 70px;
  right: 68px;
  min-width: 215px;
  padding: 8px 0;
  border-radius: 20px;
  display: none;
  background: var(--glass);
  -webkit-backdrop-filter: blur(30px);
  backdrop-filter: blur(30px);
  box-shadow:
    0 0 0 0.5px var(--stroke-inverted),
    0 10px 30px var(--shadow-2);
}
.menu.on {
  display: block;
}
.menu button {
  width: 100%;
  min-height: 44px;
  padding: 12px 20px;
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 17px;
  line-height: 20px;
  text-align: left;
}
.menu button svg {
  width: 20px;
  height: 20px;
}

/* the search field: 243 × 44, radius 14 */
.sfield {
  position: fixed;
  z-index: 60;
  top: 70px;
  right: 16px;
  width: 243px;
  height: 44px;
  border-radius: 14px;
  display: none;
  align-items: center;
  gap: 8px;
  padding: 0 12px;
  background: var(--glass);
  -webkit-backdrop-filter: blur(30px);
  backdrop-filter: blur(30px);
  box-shadow:
    0 0 0 0.5px var(--stroke-inverted),
    0 8px 15px var(--shadow-1);
}
.sfield.on {
  display: flex;
}
.sfield input {
  flex: 1;
  min-width: 0;
  border: 0;
  background: none;
  font: inherit;
  color: var(--text-default);
  outline: none;
}
.sfield svg {
  color: var(--text-subtle);
  width: 18px;
  height: 18px;
}

/* results */
.results .rhead {
  margin: 0 0 16px;
  font-size: 22px;
  line-height: 28px;
  font-weight: 590;
  letter-spacing: -0.26px;
}
.results .rhead span {
  color: var(--text-subtle);
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0;
  margin-left: 8px;
}
.results .rhead span::before {
  content: "·";
  margin-right: 8px;
}

/* the sources popover: 804 × 468, radius 38 */
.pop {
  position: fixed;
  z-index: 60;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: min(804px, calc(100vw - 32px));
  max-height: min(560px, calc(100vh - 32px));
  border-radius: 38px;
  display: none;
  flex-direction: column;
  background: var(--glass);
  -webkit-backdrop-filter: blur(50px);
  backdrop-filter: blur(50px);
  box-shadow:
    0 0 0 0.5px var(--stroke-inverted),
    0 10px 50px rgba(0, 0, 0, 0.3);
}
.pop.on {
  display: flex;
}
.pop .head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 24px 24px 0;
}
.pop .head .t {
  font-size: 20px;
  line-height: 24px;
  font-weight: 590;
  letter-spacing: 0.38px;
}
.pop .head .t span {
  font-size: 12px;
  font-weight: 510;
  letter-spacing: 0;
  color: var(--text-subtle);
  margin-left: 8px;
}
.pop .head .t span::before {
  content: "・";
  color: var(--text-default);
  margin-right: 8px;
}
.pop .grid {
  padding: 8px 8px 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 10px;
  overflow: auto;
}
.pop .item {
  display: flex;
  gap: 16px;
  padding: 16px;
  align-items: stretch;
  border-top: 1px solid var(--stroke-inverted);
  /* 19 November 2026 : a cell may be narrower than its longest outlet name
     (cut with « … ») — without it a long name widened its column past the
     panel's edge */
  min-width: 0;
}
.pop .item:nth-child(-n + 2) {
  border-top: 0;
}
.pop .thumb {
  flex: 0 0 64px;
  width: 64px;
  height: 86px;
  border-radius: 4px;
  border: 0.5px solid rgba(0, 0, 0, 0.15);
  box-shadow: 0 2px 16px var(--shadow-2);
  object-fit: cover;
  background: var(--background-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--serif);
  font-size: 28px;
  color: var(--text-subtle);
}
.pop .mid {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.pop .when {
  font-size: 12px;
  line-height: 18px;
  letter-spacing: -0.08px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.pop .ttl {
  font-size: 16px;
  line-height: 20px;
  font-weight: 510;
  letter-spacing: -0.23px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.pop .who {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  font-size: 16px;
  line-height: 18px;
  letter-spacing: -0.08px;
}
.pop .who a {
  color: var(--tint);
  display: inline-flex;
}
/* 19 November 2026 (UI review) : the outlet on one line, cut if it must be,
   the link kept at its right ; the title a link to the article */
.pop .who .outlet {
  flex: 1;
  min-width: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.pop a.ttl {
  color: inherit;
  text-decoration: none;
}
.pop .dots {
  flex: 0 0 44px;
}

/* the chat overlay: 890 wide, radius 10 */
.chat {
  position: fixed;
  z-index: 60;
  left: 50%;
  top: 88px;
  transform: translateX(-50%);
  width: min(890px, calc(100vw - 64px));
  height: min(625px, calc(100vh - 120px));
  border-radius: 10px;
  display: none;
  flex-direction: column;
  background: var(--background-default);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
  overflow: hidden;
}
.chat.on {
  display: flex;
}
.chat .head {
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 12px 0 16px;
  border-bottom: 1px solid var(--stroke-inverted);
}
.chat .head .t {
  font-size: 15px;
  line-height: 20px;
  font-weight: 590;
  letter-spacing: -0.23px;
}
.chat .log {
  flex: 1;
  overflow: auto;
  padding: 24px 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.chat .greet {
  margin: 0;
  font-size: 17px;
  line-height: 22px;
}
.chat .subj {
  display: flex;
  align-items: center;
  gap: 12px;
}
.chat .subj img {
  width: 96px;
  height: 56px;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 0 0 2px var(--stroke-accent);
}
.chat .subj b {
  font-size: 15px;
  line-height: 20px;
  font-weight: 700;
  letter-spacing: -0.23px;
}
.chat .you {
  align-self: flex-end;
  max-width: 80%;
  padding: 8px 12px;
  border-radius: 16px;
  background: var(--bubble);
  font-size: 17px;
  line-height: 22px;
}
.chat .you.held {
  opacity: 0.55;
}
.chat .ans {
  align-self: flex-start;
  max-width: 92%;
  font-size: 17px;
  line-height: 22px;
}
/* one point per line (30 October): the service writes a list as lines, and
   the bubble ran them into one paragraph of dashes */
.chat .ans > span {
  white-space: pre-line;
}
.chat .ans a.cite {
  color: var(--text-accent);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.chat .ans a.cite.sup {
  font-size: 11px;
  line-height: 1;
  vertical-align: super;
  margin-left: 2px;
  text-decoration: none;
}
.chat .ans .src {
  margin-top: 6px;
  font-size: 13px;
  line-height: 18px;
  color: var(--text-subtle);
}
.chat .ans .gs {
  display: block;
  width: 100%;
  height: 72px;
  margin-top: 6px;
  border: 0;
}
.chat .wait {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--text-subtle);
  font-size: 12px;
  line-height: 15px;
}
.chat .wait .retry {
  padding: 4px 10px;
  border: 1px solid currentcolor;
  border-radius: 12px;
  background: transparent;
  color: inherit;
  font: inherit;
  font-size: 12px;
}
.chat .wait .d {
  display: flex;
  gap: 4px;
}
.chat .wait .d i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--tint);
  opacity: 0.35;
  animation: blink 1.2s infinite;
}
.chat .wait .d i:nth-child(2) {
  animation-delay: 0.2s;
}
.chat .wait .d i:nth-child(3) {
  animation-delay: 0.4s;
}
@keyframes blink {
  0%,
  100% {
    opacity: 0.35;
  }
  50% {
    opacity: 1;
  }
}
.chat .fu {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.chat .fu button {
  padding: 6px 12px;
  border-radius: 16px;
  background: var(--fills-secondary);
  font-size: 15px;
  line-height: 20px;
}
.chat form {
  height: 60px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 12px 0 16px;
  border-top: 2px solid var(--tint-subtle);
}
.chat form input {
  flex: 1;
  min-width: 0;
  border: 0;
  background: none;
  font: inherit;
  font-size: 17px;
  color: var(--text-default);
  outline: none;
}
.chat form input::placeholder {
  color: var(--text-default);
  opacity: 0.85;
}
.chat form .rbtn.accent svg {
  width: 22px;
  height: 22px;
}

/* ── landscape and wider screens: the 1378 px frame of the design ───────── */
@media (min-width: 1100px) {
  .wrap {
    max-width: none;
    padding-left: 32px;
    padding-right: 32px;
  }
  .hello,
  .section,
  .results {
    max-width: 1094px;
    margin-left: auto;
    margin-right: auto;
  }
  .unes {
    max-width: 1576px; /* six fronts of 256 px and their five gaps */
    margin-left: auto;
    margin-right: auto;
  }
  .une {
    flex-basis: 256px;
    width: 256px;
  }
  .une .cover {
    width: 224px;
    height: 308px;
  }
  .toast {
    top: 45px;
  }
}
@media (max-width: 600px) {
  :root {
    --gutter: 16px;
  }
  .card {
    padding: 20px;
  }
  .card h3 {
    font-size: 26px;
  }
  .card .body {
    flex-direction: column;
  }
  .card .pic {
    width: 100%;
    height: auto;
    aspect-ratio: 5 / 4;
    flex-basis: auto;
  }
  .card .foot {
    gap: 24px;
    flex-wrap: wrap;
  }
  .hello h1,
  .section h2 {
    font-size: 30px;
    line-height: 36px;
  }
  .sheet .lead,
  .sheet .also,
  .sheet .chips,
  .sheet .issue,
  .sheet .also-list {
    margin-left: 24px;
    margin-right: 24px;
  }
  .pop .grid {
    grid-template-columns: 1fr;
  }
  .menu {
    right: 16px;
  }
}
/* THE IPAD (6 November 2026) : a touch screen at least 700 px wide and
 * 500 px high, upright or on its side. Safari's address, tab and favourites
 * bars take height from the page : an iPad mini on its side keeps about
 * 634 px (7 November) ; a phone on its side is under 450 px high. What a
 * finger taps is 44 px high, as Apple asks. A computer and a phone keep their
 * page.
 * 20 November 2026, his request : the « Discuter avec MaIA » button is the
 * computer's on an iPad too — the pill with its logo and its words, centred
 * at the bottom (from 6 November it was a round button in the corner, because
 * the pill sat over two fronts' « Tous les sujets » when an iPad Pro opened
 * the page on its side ; measured again, still so until the page scrolls,
 * and his choice is the computer's pill). */
@media (hover: none) and (pointer: coarse) and (min-width: 700px) and (min-height: 500px) {
  .card .foot button {
    min-height: 44px;
    padding: 0 8px;
  }
  .jump-btn {
    height: 44px;
    line-height: 42px;
  }
}
@media print {
  .topbar,
  .maia,
  .toast,
  .dim,
  .sheet,
  .side,
  .menu,
  .sfield,
  .pop,
  .chat {
    display: none !important;
  }
  .card {
    break-inside: avoid;
    box-shadow: none;
    border: 1px solid #ddd;
  }
}
