@font-face {
  font-family: DM Sans;
  src: url("./fonts/sans.woff2") format("woff2");
  font-weight: 100 1000;
  font-display: swap;
}
@font-face {
  font-family: DM Serif Text;
  src: url("./fonts/serif.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}
:root {
  color-scheme: light;
  --paper: #f8f7f3;
  --panel: #fffefa;
  --ink: #242622;
  --muted: #626862;
  --line: #dedfd7;
  --accent: #ab3b24;
  --accent-wash: #f9e9df;
  --serif: "DM Serif Text", Georgia, serif;
  --sans: "DM Sans", Arial, sans-serif;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 15px/1.5 var(--sans);
  -webkit-font-smoothing: antialiased;
}
button,
input {
  font: inherit;
  color: inherit;
}
button,
a,
input {
  -webkit-tap-highlight-color: transparent;
}
button {
  cursor: pointer;
}
button {
  border: 0;
  background: none;
  padding: 0;
}
button:disabled {
  cursor: wait;
}
a {
  color: inherit;
}
button:focus-visible,
a:focus-visible,
input:focus-visible {
  outline: 3px solid #a84c25;
  outline-offset: 4px;
}
button {
  touch-action: manipulation;
}
svg {
  flex-shrink: 0;
  stroke-width: 1.75;
}
h1,
h2,
h3,
p {
  margin: 0;
}
img {
  display: block;
  max-width: 100%;
}
.frame {
  max-width: 1224px;
  margin: 0 auto;
  padding-left: 46px;
  padding-right: 46px;
}
.mast {
  border-bottom: 1px solid var(--line);
  background: rgba(255, 254, 250, 0.96);
}
.mastinner {
  height: 76px;
  display: flex;
  align-items: center;
  gap: 36px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
}
.brand img {
  border-radius: 8px;
}
.brand span {
  font: 400 33px/0.98 var(--serif);
  letter-spacing: -1.8px;
}
.desktop-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: auto;
}
.desktop-nav button {
  display: flex;
  align-items: center;
  gap: 8px;
  border-radius: 7px;
  color: #585c56;
  font-size: 14px;
  font-weight: 650;
  padding: 10px 14px;
}
.desktop-nav button.current {
  background: #eeeee7;
  color: #282b24;
}
.desktop-nav button:hover,
.iconbtn:hover,
.mark:hover {
  background: #eaece4;
}
.tools {
  display: flex;
  align-items: center;
  gap: 3px;
  padding-left: 17px;
  border-left: 1px solid var(--line);
}
.iconbtn,
.mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  height: 38px;
  width: 38px;
  flex-shrink: 0;
  color: #4f554c;
}
.iconbtn:disabled {
  opacity: 0.6;
}
.main {
  min-height: 72vh;
}
.intro {
  padding: 35px 0 24px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
}
.date,
.eyebrow,
.hero-tag,
.category {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}
.date {
  color: var(--accent);
  min-height: 16px;
  margin-bottom: 6px;
}
.intro h1 {
  font: 400 clamp(43px, 4.4vw, 62px)/1.02 var(--serif);
  letter-spacing: -2.9px;
}
.refreshline {
  display: flex;
  align-items: center;
  gap: 3px;
  margin-bottom: 2px;
}
.statusline,
.sortlabel,
.briefnote,
.collection-count {
  font-size: 12px;
  color: var(--muted);
  display: inline-flex;
  align-items: center;
  gap: 7px;
}
.statusline:hover {
  text-decoration: underline;
}
.statusline i,
.sortlabel i,
.eyebrow i,
.hero-tag i,
.category i,
.filters i {
  border-radius: 50%;
  width: 6px;
  height: 6px;
  display: inline-block;
  flex-shrink: 0;
}
.statusline i {
  background: #979a8d;
}
.statusline i.fresh {
  background: #51774d;
}
.overview {
  display: grid;
  grid-template-columns: minmax(0, 1.84fr) minmax(265px, 0.94fr);
  gap: 27px;
  align-items: stretch;
}
.lead {
  border: 1px solid var(--line);
  background: var(--panel);
  overflow: hidden;
  border-radius: 14px;
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.leadimage {
  width: 100%;
  position: relative;
  display: block;
  overflow: hidden;
  background: #202327;
  aspect-ratio: 2.45/1;
}
.photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}
.leadimage:hover .photo,
.thumb:hover .photo {
  transform: scale(1.025);
}
.hero-tag {
  position: absolute;
  left: 17px;
  top: 17px;
  background: #fffaf0;
  color: #2d3029;
  box-shadow: 0 1px 7px #0002;
  border-radius: 4px;
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 5px 8px;
  font-size: 9px;
  letter-spacing: 0.1em;
}
.hero-tag i {
  background: #bb4b32;
}
.leadbody {
  padding: 20px 23px 15px;
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: flex-start;
}
.category {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  letter-spacing: 0.095em;
  font-size: 10px;
  color: var(--topic, #525851);
  font-weight: 800;
}
.category i,
.filters i {
  background: var(--topic);
}
.apple {
  --topic: #635e8a;
}
.ai {
  --topic: #287566;
}
.hardware {
  --topic: #a65924;
}
.it {
  --topic: #486f95;
}
.titlebutton {
  font: inherit;
  letter-spacing: inherit;
  text-align: left;
  line-height: inherit;
}
.titlebutton:hover {
  text-decoration: underline;
  text-decoration-thickness: 1.1px;
  text-underline-offset: 3px;
}
.lead h2 {
  font: 400 clamp(27px, 2.75vw, 40px)/1.055 var(--serif);
  letter-spacing: -1.45px;
  margin: 8px 0;
}
.lead p,
.cardcopy > p {
  font-size: 14px;
  line-height: 1.52;
  color: #50564f;
}
.leadbody > .cardfoot {
  margin-top: auto;
  padding-top: 12px;
}
.cardfoot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  width: 100%;
}
.metadata {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  column-gap: 7px;
  row-gap: 1px;
  font-size: 11px;
  color: var(--muted);
  line-height: 1.45;
}
.metadata > span {
  color: #4a5048;
  font-weight: 700;
}
.metadata i {
  width: 3px;
  height: 3px;
  background: #8c9087;
  border-radius: 50%;
  align-self: center;
}
.metadata time {
  font-variant-numeric: tabular-nums;
}
.actions {
  display: flex;
  align-items: center;
  gap: 2px;
  flex: none;
}
.mark {
  width: 35px;
  height: 35px;
  color: #5f655c;
}
.mark.selected {
  color: var(--accent);
  background: var(--accent-wash);
}
.mark:disabled {
  opacity: 0.52;
}
.brief {
  border-radius: 14px;
  background: #efefe7;
  border: 1px solid #dddfd1;
  padding: 22px 24px 8px;
  display: flex;
  flex-direction: column;
}
.briefheading {
  padding: 0 0 15px;
  border-bottom: 1px solid #d5d7c9;
}
.eyebrow {
  display: flex;
  align-items: center;
  gap: 7px;
  color: #71734f;
  letter-spacing: 0.16em;
}
.eyebrow i {
  background: #82885e;
}
.brief h2,
.sectionhead h2 {
  font: 400 32px/1.15 var(--serif);
  letter-spacing: -1.2px;
}
.brief h2 {
  margin: 5px 0 4px;
}
.briefnote {
  gap: 6px;
  font-size: 12px;
  color: #5c624f;
}
.briefitems {
  display: flex;
  flex: 1;
  flex-direction: column;
}
.briefitem {
  padding: 13px 0 8px;
  border-bottom: 1px solid #d5d7c9;
  flex: 1;
}
.briefitem:last-child {
  border: 0;
}
.briefitem h3 {
  font: 400 21px/1.14 var(--serif);
  letter-spacing: -0.45px;
  margin: 5px 0 3px;
}
.briefitem .mark {
  width: 31px;
  height: 31px;
}
.briefitem .category {
  font-size: 9px;
}
.more {
  margin-top: 37px;
}
.sectionhead {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border-bottom: 1px solid #cdd0c5;
  padding-bottom: 13px;
}
.sortlabel i {
  background: #717a66;
  width: 5px;
  height: 5px;
}
.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin: 15px 0 19px;
}
.filters button,
.quiet,
.loadmore,
.solid {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 30px;
  font-size: 13px;
  font-weight: 650;
}
.filters button {
  border: 1px solid #d9dbd1;
  padding: 6px 13px;
  background: var(--panel);
}
.filters button.on,
.filters button:hover.on {
  background: #2b3028;
  color: white;
  border-color: #2b3028;
}
.filters button:hover {
  background: #ecece3;
}
.filters i {
  width: 6px;
  height: 6px;
}
.stream {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.storycard {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  background: var(--panel);
}
.thumb {
  display: block;
  aspect-ratio: 2.12/1;
  overflow: hidden;
  flex-shrink: 0;
  background: #252823;
}
.cardcopy {
  padding: 16px 17px 11px;
  display: flex;
  align-items: flex-start;
  flex-direction: column;
  flex: 1;
}
.cardcopy h3 {
  font: 400 24px/1.12 var(--serif);
  letter-spacing: -0.75px;
  margin: 7px 0;
}
.cardcopy > p {
  font-size: 13px;
  line-height: 1.52;
}
.cardcopy .cardfoot {
  margin-top: auto;
  padding-top: 13px;
}
.cardcopy .metadata {
  font-size: 10.5px;
}
.loadmore,
.quiet {
  padding: 9px 16px;
  border: 1px solid #cbd0c2;
  background: var(--panel);
}
.quiet:hover,
.loadmore:hover {
  background: #ebede4;
}
.loadmore {
  margin: 24px auto 0;
  display: flex;
}
.foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--muted);
  margin-top: 43px;
  padding-top: 20px;
  padding-bottom: 25px;
  position: relative;
}
.foot:before {
  position: absolute;
  content: "";
  height: 1px;
  top: 0;
  left: 46px;
  right: 46px;
  background: var(--line);
}
.foot > span {
  font: 400 20px var(--serif);
  letter-spacing: -0.7px;
}
.foot button {
  font-size: 12px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.collection-hint {
  font-size: 15px;
  color: #4c544b;
  margin: -30px 0 22px;
}
.collection-hint span {
  font-size: 12px;
  color: var(--muted);
}
.collection-count {
  padding-bottom: 4px;
}
.empty {
  border: 1px dashed #d1d5c8;
  border-radius: 14px;
  text-align: center;
  padding: 45px 18px 40px;
  background: #f3f3ed;
}
.empty > svg {
  color: var(--accent);
  margin: 0 auto 8px;
}
.empty h3 {
  font: 400 27px/1.2 var(--serif);
  letter-spacing: -0.7px;
}
.empty p {
  margin: 7px 0 18px;
  color: var(--muted);
}
.mobile-nav {
  display: none;
}
.modal {
  width: min(610px, calc(100% - 28px));
  max-height: 88dvh;
  border: 1px solid #deded6;
  border-radius: 17px;
  background: var(--panel);
  color: var(--ink);
  padding: 0;
  box-shadow: 0 20px 80px #1d211b30;
  overflow: auto;
  overscroll-behavior: contain;
}
.modal::backdrop {
  background: #1b211c70;
  backdrop-filter: blur(3px);
}
.modalinner {
  padding: 33px 31px 27px;
}
.close {
  position: sticky;
  float: right;
  top: 8px;
  z-index: 1;
  background: #eeeee7;
  margin: -13px -13px 8px 8px;
}
.modalinner > h2 {
  font: 400 36px/1.06 var(--serif);
  letter-spacing: -1.3px;
  margin: 12px 0 14px;
}
.modalinner > p {
  color: #51574f;
  margin: 13px 0 19px;
}
.modalinner .detail-title {
  margin-top: 10px;
}
.modalinner > .bigcopy {
  font-size: 17px;
  color: #343a32;
  line-height: 1.58;
  margin: 20px 0;
}
.solid {
  background: #a83e26;
  color: #fff;
  padding: 10px 16px;
  text-decoration: none;
  min-height: 41px;
}
.solid:hover {
  background: #90321d;
}
.detailactions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}
.actions.text .mark {
  gap: 6px;
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 6px 10px;
  width: auto;
  height: 37px;
  font-size: 12px;
}
.market,
.notice {
  padding: 14px 15px;
  border-radius: 9px;
  background: #efefe7;
}
.market {
  margin: 22px 0;
}
.market h3,
.detailhead {
  display: flex;
  align-items: center;
  gap: 8px;
}
.market p {
  font-size: 14px;
  margin-top: 5px;
  color: #4f554a;
}
.modal h3 {
  font-size: 16px;
  line-height: 1.35;
}
.detailhead {
  margin: 22px 0 10px;
}
.timeline {
  list-style: none;
  margin: 12px 0;
  padding: 0 0 0 14px;
  border-left: 2px solid #d7dbcf;
}
.timeline li {
  margin: 10px 0;
}
.timeline time,
.sources small {
  display: block;
  font-size: 11px;
  color: var(--muted);
}
.timeline a {
  font-size: 14px;
}
.sources a,
.searchhits button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  text-decoration: none;
  width: 100%;
  text-align: left;
  padding: 10px 0;
  border-top: 1px solid var(--line);
}
.sources a:hover b,
.searchhits button:hover b {
  text-decoration: underline;
}
.sources b {
  font-size: 14px;
}
.photocredit {
  font-size: 11px;
  color: var(--muted);
  margin: 17px 0 0;
}
.photocredit a {
  text-decoration: none;
}
.photocredit a:hover {
  text-decoration: underline;
}
.sectionicon {
  display: inline-grid;
  place-items: center;
  background: #f4e7dc;
  color: var(--accent);
  width: 42px;
  height: 42px;
  border-radius: 11px;
}
.rule {
  border-top: 1px solid var(--line);
  margin: 22px 0 17px;
}
.notice {
  font-size: 13px;
}
.muted {
  font-size: 13px;
  color: var(--muted);
}
.feedinfo {
  font-size: 13px;
  margin: 10px 0 20px;
}
.feedinfo > div {
  display: flex;
  justify-content: space-between;
  gap: 9px;
  border-top: 1px solid var(--line);
  padding: 8px 0;
}
.feedinfo dd {
  margin: 0;
  font-weight: 650;
}
.sourcechips {
  margin: 11px 0 16px;
  display: flex;
  gap: 5px;
  flex-wrap: wrap;
}
.sourcechips span {
  background: #eeeee7;
  border-radius: 5px;
  padding: 3px 7px;
  font-size: 12px;
}
.searchbox {
  margin: 17px 0 8px;
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid #b7bcaf;
  border-radius: 9px;
  padding: 10px;
}
.searchbox input {
  width: 100%;
  border: 0;
  background: transparent;
  min-width: 0;
  font-size: 15px;
}
.searchbox:focus-within {
  outline: 2px solid var(--accent);
}
.searchbox input:focus {
  outline: 0;
}
.searchhits b {
  display: block;
  margin: 3px 0;
}
.toast {
  display: none;
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  background: #2e342d;
  color: white;
  align-items: center;
  gap: 8px;
  padding: 10px 17px;
  border-radius: 30px;
  font-size: 13px;
  box-shadow: 0 4px 18px #20251f26;
  max-width: 85vw;
  width: max-content;
}
.toast.show {
  display: flex;
}
.skiplink {
  position: fixed;
  left: 10px;
  top: -70px;
  z-index: 20;
  padding: 8px;
  background: white;
}
.skiplink:focus {
  top: 8px;
}
.spin {
  animation: spin 1s linear infinite;
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
@media (min-width: 1250px) {
  .main {
    padding-top: 3px;
  }
  .leadimage {
    aspect-ratio: 2.45/1;
  }
  .brief {
    padding: 24px 26px 10px;
  }
  .briefitem {
    padding-top: 17px;
  }
}
@media (max-width: 940px) {
  .frame {
    padding-left: 26px;
    padding-right: 26px;
  }
  .mastinner {
    gap: 17px;
  }
  .desktop-nav button {
    padding: 9px 11px;
  }
  .overview {
    grid-template-columns: minmax(0, 1.55fr) minmax(250px, 1fr);
    gap: 17px;
  }
  .brief {
    padding: 17px 18px 6px;
  }
  .briefitem h3 {
    font-size: 20px;
  }
  .leadimage {
    aspect-ratio: 1.8;
  }
  .stream {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .foot:before {
    left: 26px;
    right: 26px;
  }
}
@media (max-width: 680px) {
  body {
    padding-bottom: calc(62px + env(safe-area-inset-bottom));
  }
  .frame {
    padding-left: 17px;
    padding-right: 17px;
  }
  .mastinner {
    height: 58px;
    justify-content: space-between;
  }
  .brand span {
    font-size: 29px;
  }
  .brand img {
    width: 29px;
    height: 29px;
    border-radius: 7px;
  }
  .brand {
    gap: 8px;
  }
  .desktop-nav {
    display: none;
  }
  .tools {
    border: 0;
    padding-left: 0;
    gap: 0;
  }
  .tools .iconbtn {
    height: 42px;
    width: 40px;
  }
  .intro {
    padding: 22px 0 15px;
    align-items: center;
  }
  .intro h1 {
    font-size: 43px;
    letter-spacing: -2px;
  }
  .date {
    font-size: 9px;
    letter-spacing: 0.13em;
    margin-bottom: 4px;
  }
  .refreshline {
    gap: 0;
  }
  .refreshline .statusline {
    display: none;
  }
  .refreshline .iconbtn {
    width: 39px;
    height: 39px;
    background: #edeee7;
  }
  .overview {
    display: flex;
    flex-direction: column;
    gap: 13px;
  }
  .leadimage {
    aspect-ratio: 2.06;
  }
  .lead {
    border-radius: 11px;
  }
  .hero-tag {
    top: 11px;
    left: 11px;
  }
  .leadbody {
    padding: 15px 16px 8px;
  }
  .lead h2 {
    font-size: 30px;
    margin: 6px 0 7px;
    letter-spacing: -1px;
  }
  .lead p {
    font-size: 13px;
  }
  .leadbody > .cardfoot {
    padding-top: 8px;
  }
  .cardfoot .mark {
    width: 38px;
    height: 40px;
  }
  .brief {
    border-radius: 11px;
    padding: 15px 16px 5px;
  }
  .briefheading {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: end;
    column-gap: 4px;
    padding-bottom: 10px;
  }
  .briefheading .eyebrow {
    grid-column: 1 / -1;
    font-size: 9px;
  }
  .brief h2 {
    font-size: 27px;
    margin: 1px 0 0;
  }
  .briefnote {
    font-size: 10px;
    align-self: center;
  }
  .briefitem {
    padding: 9px 0 4px;
  }
  .briefitem h3 {
    font-size: 19px;
    margin: 3px 0;
  }
  .briefitem .mark {
    height: 33px;
    width: 36px;
  }
  .briefitem .category {
    font-size: 9px;
  }
  .more {
    margin-top: 26px;
  }
  .sectionhead h2 {
    font-size: 29px;
  }
  .sortlabel {
    font-size: 10px;
  }
  .sectionhead {
    padding-bottom: 9px;
  }
  .filters {
    gap: 5px;
    margin: 11px 0 13px;
  }
  .filters button {
    font-size: 11px;
    padding: 7px 9px;
    gap: 5px;
    min-height: 34px;
  }
  .stream {
    grid-template-columns: 1fr;
    gap: 11px;
  }
  .storycard {
    display: grid;
    grid-template-columns: 91px minmax(0, 1fr);
    border: 0;
    border-top: 1px solid var(--line);
    border-radius: 0;
    background: transparent;
    padding: 11px 0 0;
    gap: 12px;
    align-items: start;
  }
  .thumb {
    border-radius: 7px;
    aspect-ratio: 1/1.03;
    width: 100%;
  }
  .cardcopy {
    padding: 0;
  }
  .cardcopy h3 {
    font-size: 21px;
    margin: 4px 0 5px;
  }
  .cardcopy > p {
    font-size: 12px;
  }
  .cardcopy .cardfoot {
    padding-top: 4px;
  }
  .cardcopy .metadata {
    font-size: 10px;
  }
  .cardcopy .actions {
    gap: 0;
  }
  .cardcopy .mark {
    width: 32px;
  }
  .collection-hint {
    margin: -18px 0 18px;
  }
  .mobile-nav {
    position: fixed;
    z-index: 5;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    justify-content: space-around;
    border-top: 1px solid var(--line);
    background: rgba(255, 254, 250, 0.97);
    padding: 4px 9px calc(4px + env(safe-area-inset-bottom));
    box-shadow: 0 -3px 15px #30302605;
  }
  .mobile-nav button {
    display: flex;
    align-items: center;
    flex-direction: column;
    justify-content: center;
    width: 30%;
    min-height: 46px;
    gap: 3px;
    font-size: 10px;
    font-weight: 650;
    color: #60655a;
    border-radius: 7px;
  }
  .mobile-nav button.current {
    color: var(--accent);
    background: #f7eae3;
  }
  .mobile-nav button svg {
    width: 18px;
    height: 18px;
  }
  .toast {
    bottom: calc(66px + env(safe-area-inset-bottom));
  }
  .modalinner {
    padding: 26px 20px 20px;
  }
  .modalinner > h2 {
    font-size: 30px;
  }
  .modal {
    max-height: 85dvh;
  }
  .close {
    margin: -10px -8px 6px 6px;
  }
  .foot {
    margin-top: 27px;
    padding-top: 15px;
    padding-bottom: 16px;
  }
  .foot:before {
    left: 17px;
    right: 17px;
  }
  .empty {
    padding: 33px 16px;
  }
  .metadata {
    font-size: 10.5px;
  }
}
@media (max-width: 365px) {
  .frame {
    padding-left: 13px;
    padding-right: 13px;
  }
  .storycard {
    grid-template-columns: 66px minmax(0, 1fr);
  }
  .lead h2 {
    font-size: 26px;
  }
  .intro h1 {
    font-size: 38px;
  }
  .statusline {
    display: none;
  }
  .briefnote {
    font-size: 9px;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *:before,
  *:after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

:root {
  --paper: #fbfaf6;
  --panel: #fffefa;
  --ink: #172621;
  --muted: #555f59;
  --line: #d9ded8;
  --accent: #304cc4;
  --accent-wash: #e9edff;
  --navy: #182841;
  --sand: #fff9ed;
}
body {
  background: var(--paper);
}
a:focus-visible,
button:focus-visible,
input:focus-visible,
summary:focus-visible {
  outline: 3px solid #617bea;
  outline-offset: 4px;
}
.frame {
  max-width: 1320px;
  padding-left: clamp(24px, 4.8vw, 76px);
  padding-right: clamp(24px, 4.8vw, 76px);
}
.mast {
  background: #fffefb;
  border-bottom: 1px solid var(--line);
}
.mastinner {
  height: 73px;
}
.brand img {
  width: 204px;
  height: auto;
  border-radius: 0;
}
.desktop-nav {
  gap: 6px;
}
.desktop-nav button {
  border-radius: 8px;
  color: #45524a;
}
.desktop-nav button.current {
  color: var(--accent);
  background: var(--accent-wash);
}
.iconbtn:hover,
.mark:hover,
.desktop-nav button:hover {
  background: #e8eceb;
}
.iconbtn,
.mark {
  color: #34483f;
}
.mark.selected,
.mobile-nav button.current {
  color: var(--accent);
  background: var(--accent-wash);
}
.edition-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  margin: 35px 0 19px;
}
.dateline,
.small-label,
.cover-kicker {
  font: 720 11px/1.35 var(--sans);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.dateline {
  display: flex;
  align-items: center;
  gap: 9px;
  color: #526159;
}
.dateline:before {
  content: "";
  width: 22px;
  height: 3px;
  background: var(--accent);
  transform: skewX(-24deg);
}
.edition-head h1 {
  font: 400 clamp(45px, 4.9vw, 70px)/1.05 var(--serif);
  letter-spacing: -0.049em;
  margin: 5px 0 0;
}
.mode-switch {
  display: flex;
  align-items: center;
  gap: 3px;
  padding: 4px;
  background: #edeee9;
  border: 1px solid #dde1db;
  border-radius: 12px;
  flex: none;
}
.mode-switch button {
  min-height: 37px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 14px;
  color: #4d5853;
  font-size: 13px;
  font-weight: 700;
}
.mode-switch button[aria-pressed="true"] {
  background: var(--panel);
  color: var(--accent);
  box-shadow: 0 1px 5px #1726211c;
}
.topic-bar {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  scrollbar-width: thin;
  padding: 2px 2px 11px;
  margin: 0 -2px 12px;
  scrollbar-color: #d8dad7 transparent;
  align-items: center;
}
.topic-bar button {
  border: 1px solid var(--line);
  border-radius: 30px;
  display: inline-flex;
  gap: 7px;
  align-items: center;
  white-space: nowrap;
  min-height: 35px;
  padding: 0 13px;
  background: var(--panel);
  font-size: 13px;
  font-weight: 650;
  flex-shrink: 0;
}
.topic-bar button:hover {
  background: #efefe9;
}
.topic-bar button.active {
  background: var(--ink);
  border-color: var(--ink);
  color: white;
}
.category {
  display: inline-flex;
  gap: 7px;
  align-items: center;
  color: #39423d;
  font: 750 10.5px/1.3 var(--sans);
  letter-spacing: 0.09em;
  text-transform: uppercase;
}
.apple {
  --dot: #ab5042;
}
.ai {
  --dot: #6852bb;
}
.hardware {
  --dot: #a06b22;
}
.it {
  --dot: #167a64;
}
.web {
  --dot: #3056bb;
}
.security {
  --dot: #995177;
}
.category i,
.topic-bar i {
  display: inline-block;
  background: var(--dot, #607069);
  width: 7px;
  height: 7px;
  border-radius: 2px;
  transform: rotate(-10deg);
  flex: none;
}
.topic-bar button.active i {
  background: #e8edf4;
}
.cover {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  background: var(--navy);
  color: #fffdf3;
  border-radius: 20px;
  overflow: hidden;
  isolation: isolate;
}
.cover-copy {
  padding: clamp(25px, 3.2vw, 49px);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  background: linear-gradient(132deg, #172b31, #1e304e 78%, #263967);
}
.cover-kicker {
  display: flex;
  align-items: center;
  gap: 10px;
  letter-spacing: 0.12em;
  color: #e3e9f7;
  margin-bottom: 15px;
  font-size: 10px;
}
.cover-index {
  display: block;
  width: 15px;
  height: 14px;
  background: repeating-linear-gradient(
    145deg,
    transparent 0 2px,
    #9fb4ff 2px 4px
  );
  border-radius: 2px;
}
.kicker-rule {
  width: 20px;
  height: 1px;
  background: #8091ac;
}
.cover h2 {
  font: 400 clamp(35px, 3.6vw, 56px)/1.04 var(--serif);
  letter-spacing: -0.036em;
  text-wrap: balance;
}
.cover h2 a,
.pick a,
.edition-card h3 a,
.quick-item h3 a,
.next-story,
.search-hit {
  text-decoration: none;
}
.cover h2 a:hover,
.pick h3 a:hover,
.edition-card h3 a:hover,
.quick-item h3 a:hover,
.next-story:hover strong {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}
.cover-copy > p {
  font-size: clamp(15px, 1.2vw, 18px);
  line-height: 1.51;
  color: #e5eaf1;
  margin: 13px 0 12px;
  max-width: 55ch;
}
.cover-photo {
  position: relative;
  display: block;
  min-width: 0;
  overflow: hidden;
  background: #e1e7df;
}
.cover-photo .photo {
  width: 100%;
  height: 100%;
  position: absolute;
  inset: 0;
  object-fit: cover;
  transition: transform 0.35s;
}
.cover-photo:hover .photo,
.card-image:hover img {
  transform: scale(1.025);
}
.cover-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 20px;
}
.cover-button {
  background: #f8faed;
  color: #1c302a;
  border-radius: 8px;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 10px 16px;
  text-decoration: none;
  font: 750 14px var(--sans);
  min-height: 42px;
}
.cover-button:hover {
  background: #e3ecff;
}
.cover-actions .mark {
  border: 1px solid #7d8aa0;
  color: #f7f7ef;
  width: 42px;
  height: 42px;
}
.cover-actions .mark:hover,
.cover-actions .mark.selected {
  background: #f6f6ef;
  color: var(--navy);
}
.info-line,
.metadata,
.read-duration {
  display: flex;
  align-items: center;
}
.info-line {
  gap: 9px;
  flex-wrap: wrap;
  color: var(--muted);
  font: 500 11.5px/1.45 var(--sans);
}
.metadata {
  flex-wrap: wrap;
  column-gap: 6px;
  row-gap: 2px;
  color: inherit;
  font: inherit;
}
.metadata span {
  color: inherit;
  font-weight: 700;
}
.metadata i {
  width: 3px;
  height: 3px;
  border-radius: 100%;
  background: currentColor;
  opacity: 0.64;
}
.metadata time {
  white-space: normal;
}
.read-duration {
  gap: 4px;
  white-space: nowrap;
}
.cover-meta .info-line,
.cover-meta .metadata,
.cover-meta .metadata span {
  color: #d4dcea;
}
.section-rule {
  display: flex;
  align-items: center;
  gap: 17px;
  margin: 25px 0 12px;
}
.section-rule span {
  flex: 1;
  height: 1px;
  background: var(--line);
}
.section-rule h2 {
  font: 720 13px var(--sans);
  letter-spacing: 0.035em;
}
.pick-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-bottom: 1px solid var(--line);
  padding: 0 0 22px;
}
.pick {
  display: flex;
  align-items: flex-start;
  gap: 3px;
  padding: 4px 16px 4px 21px;
  min-width: 0;
  border-left: 1px solid var(--line);
}
.pick:first-child {
  border: 0;
  padding-left: 0;
}
.pick:last-child {
  padding-right: 0;
}
.pick-copy {
  min-width: 0;
  flex: 1;
}
.pick h3 {
  font: 400 clamp(20px, 1.75vw, 27px)/1.14 var(--serif);
  letter-spacing: -0.02em;
  margin: 6px 0 9px;
}
.pick .mark {
  width: 36px;
  height: 36px;
}
.pick .info-line {
  font-size: 11px;
}
.stories-section {
  margin: 30px 0 16px;
}
.list-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 15px;
}
.list-heading h2 {
  font: 400 clamp(34px, 3vw, 46px)/1.08 var(--serif);
  letter-spacing: -0.035em;
}
.list-heading p,
.collection-note {
  color: var(--muted);
  font-size: 13px;
  margin: 4px 0 0;
}
.collection-note {
  margin: 2px 0 28px;
}
.refresh-controls,
.source-status {
  display: flex;
  align-items: center;
  gap: 6px;
}
.source-status {
  font-size: 11.5px;
  color: #506157;
  min-height: 38px;
}
.source-status i {
  width: 6px;
  height: 6px;
  background: #477d5c;
  border-radius: 100%;
}
.news-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 23px 22px;
}
.edition-card {
  display: flex;
  flex-direction: column;
  border-bottom: 1px solid var(--line);
  min-width: 0;
  padding: 0 0 12px;
}
.card-image {
  position: relative;
  display: block;
  aspect-ratio: 1.88;
  overflow: hidden;
  border-radius: 11px;
  background: #eaede9;
}
.card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s;
}
.item-copy {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.item-top,
.item-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.item-top {
  margin-top: 12px;
}
.item-copy h3 {
  font: 400 clamp(22px, 2.05vw, 30px)/1.13 var(--serif);
  letter-spacing: -0.027em;
  margin: 6px 0 7px;
}
.item-copy > p {
  font-size: 14px;
  line-height: 1.58;
  color: #405049;
  margin: 0 0 9px;
}
.item-foot {
  margin-top: auto;
}
.item-foot .actions {
  gap: 1px;
}
.item-foot .mark {
  width: 32px;
  height: 38px;
}
.loadmore {
  display: flex;
  gap: 7px;
  align-items: center;
  margin: 25px auto 0;
}
.quick-section {
  margin-top: 16px;
}
.quick-list {
  border-top: 2px solid var(--ink);
}
.quick-item {
  border-bottom: 1px solid var(--line);
  padding: 17px 1px 19px;
}
.quick-item .item-copy {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  column-gap: 25px;
}
.quick-item .item-top {
  display: contents;
}
.quick-item .item-top .category {
  grid-column: 1;
}
.quick-item .item-top .actions {
  grid-column: 2;
  grid-row: 1 / span 3;
  align-self: start;
}
.quick-item .item-copy h3,
.quick-item .item-copy > p,
.quick-item .item-foot {
  grid-column: 1;
}
.quick-item .item-copy > p {
  max-width: 92ch;
  font-size: 15px;
}
.sourcechips a {
  border: 1px solid var(--line);
  border-radius: 30px;
  padding: 5px 9px;
  text-decoration: none;
  color: var(--ink);
  font-size: 12px;
}
.sourcechips a:hover {
  text-decoration: underline;
}
.search-hit {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 15px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}
.search-hit:hover b {
  color: var(--accent);
}
.search-hit b {
  display: block;
}
.foot {
  margin-top: 42px;
}
.foot:before {
  left: clamp(24px, 4.8vw, 76px);
  right: clamp(24px, 4.8vw, 76px);
}
.foot a img {
  height: auto;
}
.sectionicon,
.mark.selected {
  color: var(--accent);
  background: var(--accent-wash);
}
.solid {
  background: var(--ink);
  color: var(--panel);
}
.solid:hover {
  background: var(--accent);
}
.controls,
.toast {
  color: var(--panel);
}
.mobile-nav {
  background: #fffefbef;
  backdrop-filter: blur(12px);
}
.reading-page {
  padding-top: 21px;
}
.reading-top,
.article-opening,
.article-picture,
.article-layout,
.next-story {
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
}
.reading-top {
  display: flex;
  align-items: center;
  gap: 17px;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
  padding-bottom: 12px;
}
.backlink,
.jump-sources {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--accent);
  font-weight: 680;
  text-decoration: none;
  font-size: 13px;
  min-height: 36px;
}
.backlink:hover,
.jump-sources:hover {
  text-decoration: underline;
}
.article-opening {
  padding: 28px 0 0;
}
.article-opening h1 {
  max-width: 24ch;
  font: 400 clamp(39px, 4.9vw, 72px)/1.03 var(--serif);
  letter-spacing: -0.039em;
  text-wrap: balance;
}
.standfirst {
  max-width: 75ch;
  font: 450 clamp(17px, 1.65vw, 22px)/1.52 var(--sans);
  margin: 15px 0 18px;
  color: #394940;
}
.byline,
.byline > div,
.reading-time {
  display: flex;
  align-items: center;
  gap: 10px;
}
.byline {
  justify-content: space-between;
  padding: 0 0 16px;
}
.byline b,
.byline small {
  display: block;
}
.byline b {
  font-size: 13px;
}
.byline small,
.reading-time,
.article-picture figcaption {
  color: var(--muted);
  font-size: 11.5px;
}
.reading-time {
  gap: 5px;
}
.article-picture {
  margin-top: 0;
  margin-bottom: 24px;
}
.article-picture > img {
  width: 100%;
  height: auto;
  max-height: 355px;
  aspect-ratio: 3/1;
  object-fit: cover;
  border-radius: 12px;
}
.article-picture figcaption {
  margin-top: 5px;
  text-align: right;
  font-size: 10.5px;
}
.article-picture a {
  text-decoration: none;
}
.article-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(190px, 235px);
  align-items: start;
  gap: clamp(25px, 6vw, 88px);
}
.prose {
  min-width: 0;
}
.prose section {
  scroll-margin-top: 20px;
  margin-bottom: 26px;
}
.prose h2 {
  font: 400 clamp(25px, 2.45vw, 34px)/1.15 var(--serif);
  letter-spacing: -0.02em;
  margin: 0 0 9px;
}
.prose p {
  font: 400 18px/1.7 var(--sans);
  color: #283a31;
  margin: 0 0 13px;
  max-width: 68ch;
}
.prose .region-box {
  padding: 20px 23px;
  background: #eaeee8;
  border-radius: 10px;
}
.region-box > div {
  display: flex;
  align-items: center;
  gap: 9px;
}
.prose .region-box h2,
.article-sidebar h2,
.contents summary {
  font: 720 16px/1.35 var(--sans);
  letter-spacing: -0.015em;
  margin: 0;
}
.prose .region-box p {
  font-size: 15px;
  line-height: 1.55;
  margin: 8px 0 0;
}
.region-box ul {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  list-style: none;
  padding: 0;
  margin: 12px 0 0;
}
.region-box li {
  background: #ffffffa1;
  border-radius: 5px;
  padding: 3px 7px;
  font-size: 11.5px;
}
.history ol {
  list-style: none;
  border-left: 2px solid #a4b5ae;
  margin: 15px 0 0 4px;
  padding: 0 0 0 15px;
}
.history li {
  position: relative;
  margin-bottom: 14px;
}
.history li:before {
  content: "";
  position: absolute;
  top: 5px;
  left: -20px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
}
.history time {
  display: block;
  font-size: 11px;
  color: var(--muted);
}
.history a {
  text-underline-offset: 3px;
}
.article-sources {
  border-top: 1px solid var(--line);
  padding-top: 18px;
}
.sources a:hover b {
  color: var(--accent);
}
.article-sidebar {
  position: sticky;
  top: 20px;
}
.reading-tools {
  padding: 17px 19px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #f3f4ee;
}
.reading-tools .actions {
  margin: 12px 0 0;
  gap: 5px;
  flex-wrap: wrap;
}
.reading-tools .actions.text .mark {
  font-size: 12px;
  padding: 0 9px;
  background: var(--panel);
  border: 1px solid var(--line);
  min-height: 38px;
}
.reading-tools .mark.selected {
  color: var(--accent);
  border-color: var(--accent) !important;
}
.contents {
  margin-top: 16px;
  border-top: 1px solid var(--line);
  padding-top: 13px;
}
.contents summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  font-size: 13px;
}
.contents ol {
  padding: 0 0 0 16px;
  color: var(--muted);
  font-size: 12px;
}
.contents li {
  margin: 5px 0;
}
.contents a {
  text-decoration: none;
}
.contents a:hover {
  text-decoration: underline;
}
.jump-sources {
  font-size: 12px;
}
.next-story {
  border-top: 2px solid var(--accent);
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 19px 0 23px;
  margin-top: 18px;
}
.small-label {
  color: var(--accent);
}
.next-story strong {
  display: block;
  font: 400 clamp(24px, 2.65vw, 38px)/1.15 var(--serif);
  letter-spacing: -0.025em;
  margin-top: 5px;
}
.next-story svg {
  color: var(--accent);
}
.missing {
  padding-block: 55px;
}
.missing h1 {
  font: 400 48px var(--serif);
  margin-top: 35px;
}
.missing p {
  margin: 8px 0 20px;
}
@media (max-width: 920px) {
  .cover-copy {
    padding: 26px;
  }
  .cover h2 {
    font-size: 37px;
  }
  .news-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .pick {
    padding-inline: 12px;
  }
  .pick .mark {
    width: 31px;
  }
  .article-layout {
    gap: 26px;
    grid-template-columns: minmax(0, 1fr) 196px;
  }
  .news-grid .item-foot {
    flex-wrap: wrap;
  }
  .mastinner {
    gap: 14px;
  }
}
@media (max-width: 680px) {
  .frame {
    padding-left: 17px;
    padding-right: 17px;
  }
  .mastinner {
    height: 58px;
  }
  .brand img {
    width: 172px;
    height: auto;
    border-radius: 0;
  }
  .tools .iconbtn {
    width: 43px;
  }
  .edition-head {
    align-items: start;
    flex-direction: column;
    margin: 21px 0 12px;
    gap: 12px;
  }
  .edition-head h1 {
    font-size: 46px;
  }
  .dateline {
    font-size: 9px;
    gap: 7px;
  }
  .dateline:before {
    width: 17px;
    height: 2px;
  }
  .mode-switch {
    width: 100%;
    padding: 3px;
  }
  .mode-switch button {
    flex: 1;
    min-height: 37px;
    font-size: 13px;
  }
  .topic-bar {
    gap: 6px;
    margin: 0 -17px 7px;
    padding: 2px 17px 8px;
    scrollbar-width: none;
  }
  .topic-bar::-webkit-scrollbar {
    display: none;
  }
  .topic-bar button {
    min-height: 35px;
    font-size: 12px;
    padding: 0 11px;
  }
  .cover {
    display: flex;
    flex-direction: column;
    border-radius: 14px;
  }
  .cover-photo {
    order: -1;
    aspect-ratio: 2.48;
    width: 100%;
  }
  .cover-copy {
    padding: 17px 19px 19px;
  }
  .cover-kicker {
    margin-bottom: 8px;
    font-size: 9px;
    gap: 8px;
  }
  .cover h2 {
    font-size: clamp(30px, 7.2vw, 42px);
    line-height: 1.07;
  }
  .cover-copy > p {
    font-size: 14px;
    line-height: 1.46;
    margin: 8px 0;
  }
  .cover-actions {
    margin-top: 11px;
    gap: 7px;
  }
  .cover-button,
  .cover-actions .mark {
    min-height: 41px;
  }
  .cover-actions .mark {
    width: 41px;
    height: 41px;
  }
  .cover-button {
    padding: 8px 13px;
    font-size: 13px;
  }
  .section-rule {
    margin: 20px 0 2px;
  }
  .pick-grid {
    grid-template-columns: 1fr;
    padding: 0 0 2px;
  }
  .pick,
  .pick:first-child,
  .pick:last-child {
    padding: 11px 0 12px;
    border: 0;
    border-bottom: 1px solid var(--line);
  }
  .pick:last-child {
    border-bottom: 0;
  }
  .pick h3 {
    font-size: 21px;
    margin: 3px 0 6px;
  }
  .pick .mark {
    width: 42px;
    height: 42px;
  }
  .pick .category {
    font-size: 9px;
  }
  .stories-section {
    margin-top: 23px;
  }
  .list-heading h2 {
    font-size: 32px;
  }
  .list-heading p {
    font-size: 12px;
  }
  .source-status {
    font-size: 10px;
  }
  .refresh-controls {
    gap: 1px;
  }
  .refresh-controls .iconbtn {
    width: 33px;
  }
  .news-grid {
    grid-template-columns: 1fr;
    gap: 17px;
  }
  .edition-card {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 89px;
    gap: 13px;
    padding-bottom: 15px;
    align-items: start;
  }
  .card-image {
    grid-column: 2;
    grid-row: 1;
    aspect-ratio: 1.06;
    border-radius: 8px;
  }
  .edition-card .item-copy {
    grid-row: 1;
    grid-column: 1;
  }
  .item-top {
    margin: 0;
  }
  .item-copy h3 {
    font-size: 22px;
    margin: 4px 0 6px;
  }
  .item-copy > p {
    font-size: 13px;
    line-height: 1.5;
    margin-bottom: 6px;
  }
  .category {
    font-size: 9.5px;
  }
  .item-foot {
    gap: 2px;
  }
  .info-line,
  .pick .info-line {
    font-size: 10.5px;
    column-gap: 7px;
  }
  .item-foot .mark {
    width: 40px;
    height: 40px;
  }
  .item-foot .actions {
    margin-left: -6px;
  }
  .quick-item {
    padding: 13px 0;
  }
  .quick-item .item-copy {
    grid-template-columns: minmax(0, 1fr);
    display: flex;
    gap: 0;
  }
  .quick-item .item-top {
    display: flex;
    min-height: 40px;
  }
  .quick-item .item-top .mark {
    width: 42px;
    height: 42px;
  }
  .quick-item h3 {
    font-size: 24px;
  }
  .quick-item .item-copy > p {
    font-size: 14px;
  }
  .foot:before {
    left: 17px;
    right: 17px;
  }
  .foot {
    margin-top: 28px;
  }
  .reading-page {
    padding-top: 12px;
  }
  .reading-top {
    padding-bottom: 7px;
    gap: 8px;
  }
  .backlink {
    font-size: 12px;
  }
  .article-opening {
    padding-top: 17px;
  }
  .article-opening h1 {
    font-size: clamp(36px, 8.2vw, 47px);
  }
  .standfirst {
    margin: 11px 0 14px;
    font-size: 17px;
    line-height: 1.51;
  }
  .byline {
    padding-bottom: 11px;
  }
  .byline small,
  .reading-time {
    font-size: 10.5px;
  }
  .article-picture {
    margin-bottom: 14px;
  }
  .article-picture > img {
    aspect-ratio: 2.2;
    max-height: 230px;
    border-radius: 9px;
  }
  .article-layout {
    display: flex;
    flex-direction: column;
    gap: 13px;
  }
  .article-sidebar {
    position: static;
    order: -1;
    width: 100%;
  }
  .reading-tools {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    background: transparent;
    border: 0;
    border-bottom: 1px solid var(--line);
    border-radius: 0;
    padding: 1px 0 11px;
  }
  .reading-tools h2,
  .reading-tools .contents {
    display: none;
  }
  .reading-tools .actions {
    margin: 0;
  }
  .jump-sources {
    margin-left: auto;
    font-size: 11.5px;
  }
  .reading-tools .actions.text .mark {
    min-height: 40px;
  }
  .prose section {
    margin-bottom: 21px;
  }
  .prose p {
    font-size: 17px;
    line-height: 1.65;
  }
  .prose h2 {
    font-size: 26px;
    margin-bottom: 7px;
  }
  .prose .region-box {
    padding: 16px;
  }
  .next-story {
    margin-top: 8px;
  }
  .collection-count {
    font-size: 12px;
  }
}
@media (max-width: 375px) {
  .edition-card {
    grid-template-columns: minmax(0, 1fr) 72px;
    gap: 8px;
  }
  .source-status {
    display: none;
  }
  .jump-sources {
    margin-left: 0;
  }
  .article-opening h1 {
    font-size: 34px;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
  }
}
.discovery-list{max-width:800px;margin:0 auto;display:flex;flex-direction:column;gap:24px}
.discovery-card{background:var(--panel);border:1px solid var(--line);border-radius:16px;overflow:hidden;content-visibility:auto;contain-intrinsic-size:auto 555px;scroll-margin:14px}
.discovery-card .card-image{width:100%;aspect-ratio:2.4;border-radius:0;background:#e6e9e6}
.discovery-card .item-copy{padding:20px 25px 15px}.discovery-card .item-top{margin:0}
.discovery-card h3{font-size:clamp(26px,3vw,42px);max-width:35ch;margin:6px 0 10px;text-wrap:balance}
.discovery-card .item-copy>p{font-size:16px;line-height:1.55}
.discovery-card .item-foot{border-top:1px solid var(--line);padding-top:9px;margin-top:7px;display:flex;gap:10px;flex-wrap:wrap}
.discovery-read{display:inline-flex;align-items:center;gap:6px;color:var(--accent);text-decoration:none;font-weight:750;font-size:13px;margin-left:auto;min-height:40px}
.discovery-card .mark{width:40px;height:40px}.stream-tail{min-height:70px;margin:20px auto 10px;text-align:center;color:var(--muted);font-size:13px}
.stream-tail [role=status]{display:flex;gap:8px;justify-content:center;align-items:center}.stream-tail .quiet{display:inline-flex;align-items:center;gap:7px;margin:5px auto}
.prose .source-credit{font-size:13px;color:var(--muted)}.source-credit a{text-underline-offset:2px}
@media(min-width:900px){.edition-page:has(.discovery-list) .list-heading{max-width:800px;margin:0 auto 15px}.edition-page:has(.discovery-list) .discovery-card{display:grid;grid-template-columns:38% minmax(0,1fr);min-height:300px;contain-intrinsic-size:auto 310px}.discovery-card .card-image{height:100%;aspect-ratio:auto}.discovery-card .item-copy{justify-content:center}.discovery-card h3{font-size:32px}.discovery-card .item-foot{margin-top:auto}}
@media(max-width:680px){.mode-switch button{padding:0 7px;gap:5px;min-height:40px}.discovery-list{gap:15px}.discovery-card{border-radius:12px;contain-intrinsic-size:auto 400px}.discovery-card .card-image{aspect-ratio:1.94}.discovery-card .item-copy{padding:14px 15px 8px}.discovery-card h3{font-size:26px}.discovery-card .item-copy>p{font-size:14px}.discovery-card .item-foot{column-gap:7px;row-gap:1px}.discovery-card .item-foot .info-line{flex-basis:100%}.discovery-read{margin-left:0;margin-right:auto}.discovery-card .item-foot .mark{width:43px;height:43px}}

@font-face {
  font-family: "Space Grotesk";
  src: url("./fonts/space-grotesk.woff2") format("woff2");
  font-weight: 300 700;
  font-display: swap;
}
@font-face {
  font-family: Inter;
  src: url("./fonts/inter.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}
:root {
  color-scheme: light dark;
  --paper: #f3f5fa;
  --panel: #fff;
  --ink: #161e30;
  --muted: #48556c;
  --line: #dbe2ed;
  --accent: #3048b7;
  --action-bg: #3d4dc2;
  --accent-wash: #e9eeff;
  --raised: #f0f3fa;
  --chrome: #f9fbff;
  --page-top: #eaf1ff;
  --glass-fill: #f9fbffdc;
  --glass-rim: #ffffffeb;
  --inset-glow: inset 0 1px 0 var(--glass-rim);
  --side-shadow: 0 12px 34px #283c671c;
  --card-shadow: 0 4px 14px #1c31530b;
  --overlay: #121a306e;
  --danger: #a82f3f;
  --display: "Space Grotesk", Inter, system-ui, sans-serif;
  --sans: -apple-system, BlinkMacSystemFont, Inter, system-ui, sans-serif;
  --serif: var(--display);
  --round-control: 14px;
  --round-panel: 25px;
  --story-gap: clamp(18px, 2.1vw, 26px);
  --story-inset: clamp(18px, 2.2vw, 27px);
  --section-gap: clamp(26px, 2.8vw, 38px);
  --ease-settle: cubic-bezier(.22, .78, .22, 1);
}

@media (prefers-color-scheme: dark) {
  :root {
    --paper: #11141d;
    --panel: #1b202d;
    --ink: #f0f3fb;
    --muted: #bac3d6;
    --line: #373f51;
    --accent: #bdc8ff;
    --action-bg: #4758ce;
    --accent-wash: #2b3763;
    --raised: #242b3d;
    --chrome: #1b2233;
    --page-top: #191f34;
    --glass-fill: #1b2233e5;
    --glass-rim: #ffffff26;
    --side-shadow: 0 14px 32px #05080e62;
    --card-shadow: 0 4px 14px #04060924;
    --overlay: #02040baa;
    --danger: #ff9ba8;
  }
}

body {
  background: linear-gradient(170deg, var(--page-top) 0, var(--paper) 580px);
  color: var(--ink);
}

html { scrollbar-gutter: stable; }
a:focus-visible, button:focus-visible, input:focus-visible, summary:focus-visible {
  outline-color: var(--accent);
}
:where(h1, h2, h3, .prose, .story-copy) {
  overflow-wrap: anywhere;
}
.reader-shell {
  width: min(100%, 1500px);
  margin-inline: auto;
}
.reader-content { min-width: 0; }
.reader-content > .frame {
  width: min(100%, 1120px);
  padding-inline: 0;
}
.reader-content > main:focus { outline: none; }
.reader-mast {
  background: var(--chrome);
  border: 1px solid var(--line);
  box-shadow: var(--inset-glow), var(--card-shadow);
}
.reader-mast .mastinner {
  height: auto;
  min-width: 0;
  gap: 9px;
}
.reader-mast .brand { min-height: 44px; width: fit-content; }
.reader-mast .brand img { width: min(176px, 46vw); min-width: 150px; height: auto; }
.reader-mast .tools { border: 0; padding: 0; }
.reader-mast .tools .iconbtn { position: relative; }
.reader-mast .status-dot {
  position: absolute;
  right: 7px;
  top: 7px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--danger);
}
.reader-mast .iconbtn, .mark { color: var(--muted); }
.reader-mast .iconbtn:hover, .mark:hover { color: var(--accent); background: var(--raised); }
.desktop-nav a, .mobile-nav a {
  display: flex;
  align-items: center;
  border-radius: var(--round-control);
  color: var(--muted);
  text-decoration: none;
  font-size: .875rem;
  font-weight: 620;
  min-height: 44px;
  gap: 10px;
}
.desktop-nav a:hover, .mobile-nav a:hover { color: var(--ink); }
.desktop-nav a:hover { background: var(--raised); }
.desktop-nav a[aria-current], .mobile-nav a[aria-current] {
  color: var(--accent);
  font-weight: 720;
}
.desktop-nav a[aria-current] {
  background: var(--accent-wash);
  box-shadow: var(--inset-glow);
}
.nav-count {
  margin-left: auto;
  min-width: 22px;
  padding: 2px 4px;
  text-align: center;
  border-radius: 7px;
  background: var(--paper);
  font-size: .71rem;
}
[aria-current] > .nav-count { background: var(--panel); }

.edition-intro { margin: 0 0 var(--section-gap); }
.edition-folio .dateline {
  display: inline;
  font: 550 .82rem/1.35 var(--sans);
  letter-spacing: 0;
  color: var(--muted);
  text-transform: none;
}
.edition-folio .dateline::before, .date-small { display: none; }
.edition-title {
  margin: 8px 0 18px;
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  justify-content: space-between;
  gap: 14px 20px;
}
.edition-title h1 {
  display: flex;
  align-items: center;
  min-width: 0;
  gap: clamp(10px, 1.4vw, 16px);
  margin: 0;
  font: 700 clamp(2.125rem, 4vw, 3.375rem)/1.05 var(--display);
  letter-spacing: -.045em;
}
.edition-title h1 .topic-glyph {
  --glyph-size: clamp(36px, 4vw, 48px);
  border-radius: 13px;
}
.edition-title h1 .topic-glyph svg { width: 54%; height: 54%; }
.collection-count {
  color: var(--accent);
  background: var(--accent-wash);
  border-radius: 99px;
  padding: 6px 11px;
  white-space: nowrap;
  font-size: .81rem;
  font-weight: 650;
  margin-bottom: 3px;
}
.reading-modes {
  --position: 0;
  --switch-inset: 4px;
  --switch-gap: 3px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  position: relative;
  isolation: isolate;
  gap: var(--switch-gap);
  padding: var(--switch-inset);
  width: min(100%, 377px);
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--raised);
}
.reading-modes[data-mode="magasin"], .mobile-nav[data-page="later"] { --position: 1; }
.reading-modes[data-mode="kort"], .mobile-nav[data-page="favorite"] { --position: 2; }
.reading-modes::before, .mobile-nav::before {
  content: "";
  pointer-events: none;
  position: absolute;
  inset-block: var(--switch-inset);
  inset-inline-start: var(--switch-inset);
  width: calc((100% - 2 * var(--switch-inset) - 2 * var(--switch-gap)) / 3);
  transform: translateX(calc(var(--position) * (100% + var(--switch-gap))));
}
.reading-modes::before {
  border-radius: 11px;
  background: var(--panel);
  box-shadow: var(--inset-glow), 0 1px 4px #18294624;
}
.reading-mode { position: relative; min-width: 0; }
.reading-mode input { position: absolute; inset: 0; opacity: 0; width: 100%; margin: 0; cursor: pointer; }
.reading-mode > span {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 3px 4px;
  border-radius: 11px;
  min-height: 44px;
  color: var(--muted);
  font-size: .83rem;
  font-weight: 620;
  pointer-events: none;
}
.reading-mode input:checked + span { color: var(--accent); font-weight: 740; }
.reading-mode input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 1px; }

/* The same hue is used for the selector, the badge, and the story surface. */
[data-topic="it"] {
  --topic-fill: #1662bb;
  --topic-light-ink: #154d96;
  --topic-dark-ink: #9bcaff;
  --topic-deep: #15335e;
}
[data-topic="web"] {
  --topic-fill: #7841b6;
  --topic-light-ink: #60288e;
  --topic-dark-ink: #d5b1ff;
  --topic-deep: #3a225a;
}
[data-topic="security"] {
  --topic-fill: #b03b4b;
  --topic-light-ink: #902539;
  --topic-dark-ink: #ffabb4;
  --topic-deep: #522638;
}
[data-topic="apple"] {
  --topic-fill: #505867;
  --topic-light-ink: #3e485b;
  --topic-dark-ink: #c5cedb;
  --topic-deep: #303a4e;
}
[data-topic="ai"] {
  --topic-fill: #137557;
  --topic-light-ink: #0a6348;
  --topic-dark-ink: #8ce4bc;
  --topic-deep: #153d36;
}
[data-topic="hardware"] {
  --topic-fill: #9f560d;
  --topic-light-ink: #824006;
  --topic-dark-ink: #ffbf83;
  --topic-deep: #543723;
}
[data-topic] {
  --topic-rail: var(--topic-fill, var(--action-bg));
  --topic-ink: var(--topic-light-ink, var(--accent));
  --topic-wash: var(--accent-wash);
  --topic-surface: var(--raised);
  --topic-edge: var(--line);
}
@media (prefers-color-scheme: dark) {
  [data-topic] {
    --topic-rail: var(--topic-dark-ink, var(--accent));
    --topic-ink: var(--topic-dark-ink, var(--accent));
  }
}
@supports (color: color-mix(in srgb, blue, white)) {
  [data-topic] {
    --topic-wash: color-mix(in srgb, var(--topic-rail) 14%, var(--panel));
    --topic-surface: color-mix(in srgb, var(--topic-rail) 8%, var(--panel));
    --topic-edge: color-mix(in srgb, var(--topic-rail) 34%, var(--panel));
  }
}

.topic-picker {
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: var(--round-panel);
  background: var(--chrome);
  box-shadow: var(--inset-glow), var(--card-shadow);
}
.topic-picker-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px 12px;
  margin-bottom: 11px;
  padding-inline-start: 4px;
}
.topic-picker-head h2 {
  font: 700 clamp(1.08rem, 1.8vw, 1.28rem)/1.15 var(--display);
  letter-spacing: -.025em;
  margin: 0;
}
.topic-links { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; }
.topic-link {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) 14px;
  align-items: center;
  gap: 7px;
  min-width: 0;
  min-height: 51px;
  padding: 5px 8px;
  border: 1px solid var(--topic-edge);
  border-radius: 14px;
  color: var(--topic-ink);
  background: var(--topic-wash);
  box-shadow: var(--inset-glow);
  font: 680 .83rem/1.14 var(--sans);
  text-decoration: none;
  overflow-wrap: anywhere;
}
.topic-picker-head .topic-link { min-height: 42px; border-radius: 100px; padding-inline: 7px 10px; }
.topic-link:hover, .topic-link[aria-current] { border-color: var(--topic-rail); }
.topic-link[aria-current] { box-shadow: inset 0 0 0 1px var(--topic-rail); }
.topic-selected { opacity: 0; }
.topic-link[aria-current] .topic-selected { opacity: 1; }
.topic-glyph {
  --glyph-size: 28px;
  display: inline-grid;
  place-items: center;
  inline-size: var(--glyph-size);
  block-size: var(--glyph-size);
  flex: 0 0 var(--glyph-size);
  color: #fff;
  background: var(--topic-fill, var(--action-bg));
  border-radius: 9px;
  box-shadow: var(--inset-glow);
}
.topic-glyph svg { width: 60%; height: 60%; stroke-width: 1.95; }
.topic-picker-head .topic-glyph { --glyph-size: 24px; border-radius: 8px; }
.category {
  display: inline-flex;
  vertical-align: middle;
  align-items: center;
  gap: 6px;
  max-width: 100%;
  padding: 3px 9px 3px 3px;
  border: 1px solid var(--topic-edge);
  border-radius: 100px;
  background: var(--topic-wash);
  color: var(--topic-ink);
  font: 730 .79rem/1.15 var(--sans);
  letter-spacing: 0;
  text-transform: none;
  white-space: normal;
  text-align: left;
}
.category .topic-glyph { --glyph-size: 23px; border-radius: 8px; }

.edition-feature { margin-bottom: var(--section-gap); }
.edition-feature > h2, .story-section > h2 {
  margin: 0 0 15px;
  font: 700 clamp(1.4rem, 2.4vw, 1.7rem)/1.13 var(--display);
  letter-spacing: -.025em;
}
.feature-grid { display: grid; gap: var(--story-gap); min-width: 0; }

.linked-story { position: relative; isolation: isolate; }
.story-link { text-decoration: none; }
.story-link::after {
  content: "";
  position: absolute;
  z-index: 1;
  inset: -1px;
  inset-inline-start: -5px;
  border-radius: var(--story-radius, var(--round-panel));
  cursor: pointer;
}
.story-link:focus-visible { outline: none; }
.story-link:focus-visible::after { outline: 2px solid var(--topic-ink); outline-offset: 3px; }
.story-link:active::after { box-shadow: inset 0 0 0 2px var(--topic-rail); }
/* Only the buttons sit above the link. The space between them still opens the story. */
.linked-story .mark { position: relative; z-index: 2; }
@media (hover: hover) and (pointer: fine) {
  .story-link:hover { text-decoration: underline; text-underline-offset: 3px; }
  .story-link:hover::after { box-shadow: inset 0 0 0 1px var(--topic-rail); }
}

.cover {
  --story-radius: calc(var(--round-panel) + 3px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(112px, 32%);
  grid-template-rows: auto auto 1fr;
  grid-template-areas: "title photo" "summary photo" "foot photo";
  column-gap: clamp(14px, 3vw, 33px);
  row-gap: 15px;
  align-items: start;
  background: linear-gradient(140deg, var(--topic-deep, #213557), #121b32 83%);
  color: #f8faff;
  border: 1px solid #ffffff25;
  border-inline-start: 5px solid var(--topic-rail);
  border-radius: var(--story-radius);
  box-shadow: var(--side-shadow);
  overflow: visible;
  margin: 0;
  padding: var(--story-inset);
}
.cover-heading { grid-area: title; min-width: 0; }
.cover-heading h3 {
  font: 700 clamp(1.375rem, 2.55vw, 2.3rem)/1.13 var(--display);
  letter-spacing: -.032em;
  margin-top: 12px;
}
.cover-title {
  display: block;
  color: inherit;
}
.cover .mark:focus-visible { outline-color: #f4f7ff; }
.cover .category {
  color: #f8faff;
  background: #ffffff15;
  border-color: #ffffff41;
}
.cover-summary { grid-area: summary; color: #d5deef; font-size: .95rem; line-height: 1.62; max-width: 56ch; }
.cover-photo {
  grid-area: photo;
  position: relative;
  display: block;
  min-height: 100%;
  width: 100%;
  border-radius: calc(var(--round-panel) - 8px);
  overflow: hidden;
  background: #28334f;
}
.cover-photo .photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; min-height: 0; }
.cover-foot { grid-area: foot; align-self: end; }
.cover .metadata, .cover .metadata span, .cover .read-duration { color: #c9d4eb; }
.cover .mark { color: #e0e9fc; }
.cover .mark:hover, .cover .mark.selected { color: #fff; background: #ffffff2b; }
.magazine .cover-heading h3 { font-size: clamp(1.6rem, 3.6vw, 3.05rem); }
.magazine .cover-photo { min-height: 230px; }

.pick-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--story-gap); padding: 0; border: 0; }
.feature-grid .pick {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 10px;
  border: 1px solid var(--topic-edge);
  border-inline-start: 5px solid var(--topic-rail);
  border-radius: var(--round-panel);
  background: linear-gradient(135deg, var(--topic-wash), var(--panel) 82%);
  box-shadow: var(--card-shadow);
  padding: 16px 14px 16px 18px;
}
.pick .mark { width: 44px; height: 44px; }
.pick .category { font-size: .79rem; }
.pick h3 {
  font: 700 clamp(1.075rem, 1.52vw, 1.25rem)/1.2 var(--display);
  margin: 8px 0 10px;
  letter-spacing: -.015em;
}
.next-story:hover strong { text-decoration: underline; text-underline-offset: 3px; }

.discover-section, .discovery-list, .shelf-list, .quick-list, .news-grid {
  display: grid;
  gap: var(--story-gap);
  border: 0;
  margin: 0;
  max-width: none;
}
.news-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.story-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(138px, 29%);
  grid-template-areas: "head photo" "copy photo";
  gap: 12px clamp(16px, 2.7vw, 28px);
  align-items: start;
  padding: var(--story-inset);
  border: 1px solid var(--topic-edge);
  border-inline-start: 5px solid var(--topic-rail);
  border-radius: var(--round-panel);
  background: linear-gradient(115deg, var(--topic-surface), var(--panel) 68%);
  box-shadow: var(--card-shadow);
  min-width: 0;
}
.story-head { grid-area: head; min-width: 0; }
.story-head .story-title {
  margin-top: 10px;
  font: 700 clamp(1.375rem, 2.6vw, 1.75rem)/1.17 var(--display);
  letter-spacing: -.028em;
}
.story-title .story-open { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
.story-title .story-open svg { align-self: center; flex-shrink: 0; color: var(--topic-ink); }
.story-copy { grid-area: copy; display: grid; gap: 12px; min-width: 0; }
.story-copy > p {
  color: var(--muted);
  font: 400 .96rem/1.62 var(--sans);
  margin: 0;
}
.story-image {
  display: block;
  grid-area: photo;
  min-width: 0;
  height: 100%;
  min-height: 122px;
  position: relative;
  background: var(--topic-wash);
  border-radius: calc(var(--round-panel) - 10px);
  overflow: hidden;
}
.story-image .photo { width: 100%; height: 100%; position: absolute; inset: 0; object-fit: cover; }
.grid-card {
  grid-template-columns: minmax(0, 1fr);
  grid-template-areas: "photo" "head" "copy";
  gap: 12px;
}
.grid-card .story-image { height: auto; min-height: 0; aspect-ratio: 16 / 8.2; }
.quick-card {
  grid-template-columns: minmax(0, 1fr);
  grid-template-areas: "head" "copy";
}
.shelf-card { grid-template-columns: minmax(0, 1fr) minmax(114px, 24%); }
.story-foot, .cover-foot {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
}
.info-line { gap: 4px 8px; color: var(--muted); min-width: 0; overflow-wrap: anywhere; }
.metadata {
  max-width: 100%;
  flex-wrap: wrap;
  gap: 3px 6px;
  color: var(--muted);
  font: 510 .75rem/1.4 var(--sans);
}
.metadata span { color: var(--muted); max-width: min(100%, 32ch); }
.metadata i { margin: 0 1px; width: 3px; height: 3px; background: currentColor; }
.read-duration { display: inline-flex; align-items: center; gap: 3px; white-space: nowrap; color: var(--muted); font-size: .75rem; }
.actions { gap: 4px; flex: none; }
.mark { width: 44px; height: 44px; border-radius: 11px; }
.mark.selected { color: var(--topic-ink, var(--accent)); background: var(--topic-wash, var(--accent-wash)); }
.mark:disabled { opacity: .55; }
.stream-tail {
  display: flex;
  min-height: 78px;
  padding: 10px 0;
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;
  gap: 5px 10px;
  text-align: center;
  color: var(--muted);
  font-size: .87rem;
}
.stream-tail div:empty { display: none; }
.quiet, .loadmore {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  gap: 7px;
  padding: 6px 13px;
  border-radius: var(--round-control);
  border: 1px solid var(--line);
  background: var(--panel);
  color: var(--accent);
  font: 650 .85rem/1.35 var(--sans);
}
.quiet:hover, .loadmore:hover { border-color: var(--accent); background: var(--accent-wash); }
.loadmore { display: flex; margin: 16px auto 0; }
.shelf-status { margin: 0 0 12px; color: var(--muted); font-size: .9rem; }
.empty {
  background: linear-gradient(155deg, var(--chrome), var(--panel));
  border: 1px solid var(--line);
  border-radius: var(--round-panel);
  box-shadow: var(--card-shadow);
  text-align: center;
  padding: clamp(29px, 6vw, 78px) 16px;
}
.empty > svg {
  box-sizing: content-box;
  padding: 11px;
  border-radius: 12px;
  color: var(--accent);
  background: var(--accent-wash);
  margin: 0 0 8px;
}
.empty h2 { margin: 2px 0 0; font: 700 1.55rem/1.18 var(--display); }
.empty p { margin: 7px auto 12px; color: var(--muted); }
.foot {
  justify-content: flex-start;
  margin-top: var(--section-gap);
  min-height: 65px;
  border-top: 1px solid var(--line);
  color: var(--muted);
}
.foot::before { display: none; }
.foot button {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  gap: 7px;
}
.foot button:hover { color: var(--accent); text-decoration: underline; }

.reading-page { padding-top: 0; }
.reading-top { padding: 0 0 14px; border: 0; }
.reading-top .backlink { color: var(--topic-ink); }
.backlink, .jump-sources { min-height: 44px; font-size: .86rem; }
.article-opening {
  padding: clamp(20px, 3.4vw, 39px);
  margin-bottom: var(--section-gap);
  border: 1px solid var(--topic-edge);
  border-inline-start: 5px solid var(--topic-rail);
  border-radius: calc(var(--round-panel) + 2px);
  background: linear-gradient(135deg, var(--topic-wash), var(--panel) 76%);
  box-shadow: var(--card-shadow);
}
.article-opening > .category { margin-bottom: 14px; }
.article-opening h1 {
  font: 700 clamp(2.1rem, 5vw, 4rem)/1.02 var(--display);
  letter-spacing: -.05em;
  text-wrap: balance;
}
.standfirst { color: var(--muted); font-size: clamp(1.06rem, 1.6vw, 1.28rem); line-height: 1.6; margin: 16px 0 21px; }
.byline { gap: 9px 14px; flex-wrap: wrap; padding-bottom: 20px; }
.byline img { border-radius: 7px; }
.article-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 10px;
  align-items: center;
  justify-content: space-between;
  margin: 0;
  border-top: 1px solid var(--topic-edge);
  padding-top: 11px;
}
.article-toolbar .actions { flex-wrap: wrap; gap: 3px; }
.article-toolbar .actions .mark {
  width: auto;
  min-height: 44px;
  border-radius: var(--round-control);
  padding-inline: 10px;
  font-size: .85rem;
}
.article-toolbar .jump-sources { color: var(--topic-ink); padding: 0 6px; }
.article-picture { margin-bottom: var(--section-gap); }
.article-picture > img {
  aspect-ratio: 16 / 6.5;
  max-height: 365px;
  border-radius: var(--round-panel);
  background: var(--panel);
}
.article-layout { gap: clamp(24px, 3vw, 45px); grid-template-columns: minmax(0,1fr) minmax(155px, 206px); }
.prose section { margin-bottom: clamp(30px, 3vw, 39px); }
.prose h2 { font: 700 clamp(1.45rem, 2.5vw, 1.9rem)/1.15 var(--display); margin-bottom: 12px; }
.prose p { color: var(--ink); font-size: clamp(1.0625rem, 1.5vw, 1.1875rem); line-height: 1.7; margin-bottom: 16px; }
.prose a, .article-picture a:hover { color: var(--topic-ink); }
.prose .region-box {
  background: var(--topic-wash);
  border-radius: var(--round-panel);
}
.article-sidebar { top: 20px; }
.article-sidebar .contents {
  margin: 0;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: var(--round-control);
  background: var(--panel);
}
.contents a { display: block; padding-block: 4px; }
.region-box li { color: var(--topic-ink); background: var(--panel); }
.history ol { border-color: var(--topic-edge); }
.history li::before { background: var(--topic-rail); }
.prose .notice { background: var(--raised); }
.sources { display: grid; gap: 10px; }
.sources a {
  min-height: 48px;
  border: 1px solid var(--topic-edge);
  border-radius: var(--round-control);
  padding: 12px 14px;
  overflow-wrap: anywhere;
  background: var(--panel);
}
.sources a:hover { background: var(--topic-surface); }
.sources small { font-size: .78rem; }
.next-story {
  text-decoration: none;
  padding: var(--story-inset);
  border: 1px solid var(--topic-edge);
  border-inline-start: 5px solid var(--topic-rail);
  border-radius: var(--round-panel);
  background: linear-gradient(110deg, var(--topic-wash), var(--panel) 75%);
  box-shadow: var(--card-shadow);
}
.next-story > svg { color: var(--topic-ink); }
.next-story-label { display: flex; align-items: center; flex-wrap: wrap; gap: 7px 10px; color: var(--muted); font-size: .83rem; }
.next-story strong { font: 700 clamp(1.45rem, 2.6vw, 2rem)/1.13 var(--display); }

.reader-modal {
  width: min(560px, calc(100% - 24px));
  max-height: min(85dvh, 740px);
  border: 1px solid var(--line);
  border-radius: calc(var(--round-panel) + 2px);
  background: var(--panel);
  box-shadow: var(--inset-glow), var(--side-shadow);
}
.reader-modal::backdrop { background: var(--overlay); }
.reader-modal .modalinner > p { color: var(--muted); }
.reader-modal .notice { background: var(--raised); }
.reader-modal .sectionicon { background: var(--accent-wash); color: var(--accent); }
.reader-modal .modalinner { padding: 22px 23px; }
.reader-modal .modalinner > h2 {
  font: 700 clamp(1.7rem, 3.5vw, 2.15rem)/1.12 var(--display);
  margin: 2px 46px 16px 0;
}
.reader-modal .close { width: 44px; height: 44px; border-radius: 12px; background: var(--raised); }
.reader-modal .settings-group {
  display: grid;
  border: 1px solid var(--line);
  background: var(--raised);
  border-radius: var(--round-control);
  margin-top: 12px;
  padding: 2px 5px;
}
.settings-row {
  width: 100%;
  min-height: 49px;
  padding: 8px 10px;
  display: grid;
  align-items: center;
  grid-template-columns: 30px minmax(0, 1fr) auto;
  gap: 8px;
  color: var(--ink);
  text-align: left;
  text-decoration: none;
  font-weight: 650;
}
.settings-row + .settings-row { border-top: 1px solid var(--line); }
.settings-row:hover { background: var(--accent-wash); }
.settings-row > svg:first-child {
  width: 30px;
  height: 30px;
  padding: 6px;
  border-radius: 9px;
  color: var(--accent);
  background: var(--accent-wash);
}
.settings-row small { display: block; color: var(--muted); font-weight: 500; margin-top: 2px; }
.refresh-note:not(:empty) { margin: 8px 0 11px; color: var(--muted); font-size: .875rem; }
.reader-modal .detailhead { margin-top: 15px; }
.reader-modal .searchbox {
  min-height: 46px;
  border: 1px solid var(--line);
  border-radius: var(--round-control);
  margin-top: 0;
  background: var(--raised);
}
.reader-modal .searchbox input { min-width: 0; font-size: 1rem; color: var(--ink); }
.reader-modal .searchbox input::placeholder { color: var(--muted); }
.reader-modal .search-hit {
  min-height: 58px;
  margin-top: 9px;
  padding: 10px 12px;
  border: 1px solid var(--topic-edge);
  border-inline-start: 4px solid var(--topic-rail);
  border-radius: var(--round-control);
  background: var(--topic-surface);
}
.reader-modal .search-hit > svg { color: var(--topic-ink); }
.reader-modal .sourcechips a { min-height: 32px; align-items: center; }
.solid, .edition-notice button {
  background: var(--action-bg);
  color: #fff;
  border-radius: var(--round-control);
}
.solid:hover, .edition-notice button:hover { background: #3543ae; }
.skiplink { background: var(--panel); color: var(--ink); }

.edition-notice {
  position: fixed;
  z-index: 9;
  bottom: 20px;
  right: max(16px, calc((100vw - 1450px) / 2));
}
.edition-notice button {
  display: flex;
  min-height: 44px;
  align-items: center;
  gap: 7px;
  padding-inline: 14px;
  color: white;
  box-shadow: var(--side-shadow);
  font-size: .85rem;
  font-weight: 700;
}
.toast {
  background: var(--chrome);
  color: var(--ink);
  border: 1px solid var(--line);
  box-shadow: var(--inset-glow), var(--side-shadow);
  z-index: 12;
  max-width: calc(100vw - 26px);
}
.toast svg { color: var(--accent); }

@media (min-width: 980px) {
  .reader-shell {
    display: grid;
    grid-template-columns: minmax(196px, 220px) minmax(0, 1fr);
    gap: clamp(20px, 3vw, 43px);
    padding: 28px clamp(18px, 3.1vw, 47px) 0;
    align-items: start;
  }
  .reader-mast {
    position: sticky;
    top: 28px;
    border-radius: 27px;
    padding: 13px;
    box-shadow: var(--inset-glow), var(--side-shadow);
  }
  .reader-mast .mastinner { display: grid; justify-items: stretch; }
  .reader-mast .brand { margin: 0 5px 9px; }
  .reader-mast .desktop-nav { display: grid; gap: 3px; margin: 0; }
  .desktop-nav a, .reader-mast .tools .iconbtn { padding-inline: 9px; }
  .reader-mast .tools {
    display: grid;
    gap: 3px;
    padding: 8px 0 0;
    border-top: 1px solid var(--line);
  }
  .reader-mast .tools .iconbtn {
    gap: 9px;
    width: 100%;
    height: auto;
    min-height: 44px;
    justify-content: flex-start;
    text-align: left;
    font-size: .86rem;
    font-weight: 600;
    border-radius: var(--round-control);
  }
  .mobile-nav { display: none; }
}
@media (min-width: 690px) {
  .topic-links { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (min-width: 1210px) {
  .topic-links { grid-template-columns: repeat(6, minmax(0, 1fr)); }
}
@media (min-width: 1160px) {
  .edition-feature:not(.magazine) .feature-grid {
    grid-template-columns: minmax(0, 1.95fr) minmax(230px, 1fr);
  }
  .magazine .pick-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 979px) {
  .reader-shell { padding: max(10px, env(safe-area-inset-top)) 0 calc(81px + env(safe-area-inset-bottom)); }
  .reader-mast {
    width: min(840px, calc(100% - max(22px, 6vw)));
    margin-inline: auto;
    border-radius: 20px;
  }
  .reader-mast .mastinner {
    display: flex;
    min-height: 55px;
    justify-content: space-between;
    padding: 4px max(10px, 2.4vw);
  }
  .reader-mast .desktop-nav, .reader-mast .tools span { display: none; }
  .reader-mast .iconbtn { width: 44px; height: 44px; border-radius: 100px; background: var(--raised); }
  .reader-mast .iconbtn:hover { background: var(--accent-wash); }
  .reader-content { width: min(840px, calc(100% - max(24px, 6vw))); margin: 20px auto 0; }
  .mobile-nav {
    --position: 0;
    --switch-inset: 5px;
    --switch-gap: 3px;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    position: fixed;
    z-index: 10;
    inset: auto 0 calc(8px + env(safe-area-inset-bottom));
    width: min(426px, calc(100% - 22px));
    margin-inline: auto;
    isolation: isolate;
    padding: var(--switch-inset);
    gap: var(--switch-gap);
    border: 1px solid var(--line);
    border-radius: 100px;
    background: var(--chrome);
    box-shadow: var(--inset-glow), var(--side-shadow);
  }
  .mobile-nav::before {
    border-radius: 100px;
    background: var(--accent-wash);
    box-shadow: var(--inset-glow);
  }
  .mobile-nav a {
    position: relative;
    justify-content: center;
    flex-direction: column;
    gap: 2px;
    min-height: 49px;
    padding: 3px 2px;
    border-radius: 100px;
    font-size: .73rem;
    text-align: center;
  }
  .mobile-nav a[aria-current] svg { stroke-width: 2.15; }
  .toast, .edition-notice { bottom: calc(79px + env(safe-area-inset-bottom)); }
}
@media (max-width: 660px) {
  .edition-title { align-items: start; gap: 14px; margin: 6px 0 13px; }
  .date-wide { display: none; }
  .date-small { display: inline; }
  .reading-modes { width: 100%; }
  .reading-mode > span { padding-inline: 3px; gap: 3px; font-size: .78rem; }
  .reading-mode svg { width: 13px; height: 13px; }
  .topic-picker { padding: 10px; border-radius: 20px; }
  .topic-picker-head { margin-bottom: 8px; }
  .topic-links { gap: 7px; }
  .topic-link { min-height: 47px; padding-inline: 5px; gap: 5px; font-size: .78rem; border-radius: 12px; }
  .topic-link .topic-glyph { --glyph-size: 25px; border-radius: 8px; }
  .topic-picker-head .topic-link { min-height: 38px; }
  .cover {
    grid-template-columns: minmax(0, 1fr) 83px;
    grid-template-areas: "title photo" "summary summary" "foot foot";
    row-gap: 13px;
  }
  .cover-photo { aspect-ratio: 1; min-height: 0; align-self: start; }
  .magazine .cover { grid-template-areas: "photo photo" "title title" "summary summary" "foot foot"; }
  .magazine .cover .cover-photo { aspect-ratio: 16 / 8.5; min-height: 0; }
  .cover-summary { font-size: .91rem; }
  .news-grid { grid-template-columns: 1fr; }
  .story-card:not(.grid-card, .quick-card) {
    grid-template-columns: minmax(0, 1fr) minmax(65px, 22%);
    grid-template-areas: "head photo" "copy copy";
  }
  .story-card:not(.grid-card) .story-image { min-height: 0; height: auto; aspect-ratio: 1; }
  .story-copy > p { font-size: .93rem; }
  .story-title .story-open svg { width: 14px; }
  .article-picture > img { aspect-ratio: 16 / 9; }
  .article-layout { grid-template-columns: 1fr; }
  .article-sidebar { position: static; grid-row: 1; }
  .article-toolbar .actions .mark { padding-inline: 7px; }
  .reader-modal .modalinner { padding: 18px 16px; }
}
@media (max-width: 360px) {
  .reading-mode svg { display: none; }
  .reader-mast .brand img { min-width: 138px; }
}

@supports ((backdrop-filter: blur(16px)) or (-webkit-backdrop-filter: blur(16px))) {
  .reader-mast, .mobile-nav {
    background: var(--glass-fill);
    -webkit-backdrop-filter: blur(16px) saturate(1.25);
    backdrop-filter: blur(16px) saturate(1.25);
  }
}
@media (prefers-reduced-transparency: reduce), (prefers-contrast: more) {
  .reader-mast, .mobile-nav, .reader-modal::backdrop {
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }
  .reader-mast, .mobile-nav { background: var(--panel); }
}
@media (prefers-contrast: more) {
  [data-topic] { --topic-edge: var(--topic-rail); }
  .reader-mast, .mobile-nav, .reader-modal, .reading-modes { border-color: var(--muted); }
}
@media (forced-colors: active) {
  .category, .reading-mode input:checked + span, .topic-link[aria-current], .desktop-nav a[aria-current], .mobile-nav a[aria-current], .mark.selected {
    outline: 1px solid ButtonText;
  }
  .story-card, .cover, .feature-grid .pick, .article-opening, .next-story { border-inline-start-color: Highlight; }
  .topic-glyph { border: 1px solid ButtonText; }
  .story-link:focus-visible::after, .cover .mark:focus-visible { outline-color: Highlight; }
}

@media (prefers-reduced-motion: no-preference) {
  .reading-modes::before, .mobile-nav::before {
    transition: transform 260ms var(--ease-settle);
  }
  .reading-mode > span, .desktop-nav a, .mobile-nav a, .topic-link, .iconbtn, .mark, .settings-row,
  .quiet, .loadmore, .solid, .sources a, .search-hit {
    transition: background-color 150ms ease, border-color 150ms ease, color 150ms ease, box-shadow 150ms ease;
  }
  .topic-glyph, .desktop-nav a > svg, .mobile-nav a > svg, .iconbtn > svg:not(.spin), .mark > svg,
  .story-open > svg, .next-story > svg, .cover-photo .photo, .story-image .photo {
    transition: transform 210ms var(--ease-settle);
  }
  .topic-link:active .topic-glyph,
  .desktop-nav a:active > svg,
  .mobile-nav a:active > svg,
  .iconbtn:active > svg:not(.spin),
  .mark:active > svg { transform: scale(.89); }
  .topic-link[aria-current] .topic-selected, .mark.selected svg {
    animation: confirm-choice 220ms var(--ease-settle);
  }
  .story-arrived, .article-opening, .empty {
    animation: reveal-content 250ms var(--ease-settle);
  }
  .reader-modal[open], .web-login {
    animation: raise-surface 210ms var(--ease-settle);
  }
  .reader-modal[open]::backdrop { animation: reveal-content 180ms ease-out; }
  .toast.show, .edition-notice button {
    animation: reveal-content 180ms var(--ease-settle);
  }
}
@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  .story-open:hover > svg, .next-story:hover > svg { transform: translateX(3px); }
  .linked-story:has(.story-link:hover) .photo { transform: scale(1.045); }
}
@keyframes reveal-content { from { opacity: .82; } to { opacity: 1; } }
@keyframes confirm-choice {
  from { transform: scale(.8); }
  64% { transform: scale(1.08); }
  to { transform: scale(1); }
}
@keyframes raise-surface {
  from { opacity: .65; transform: translateY(7px) scale(.988); }
  to { opacity: 1; transform: none; }
}

.web-login {
  box-sizing: border-box;
  width: min(calc(100% - 28px), 455px);
  margin: clamp(30px, 13vh, 140px) auto 3rem;
  padding: clamp(23px, 5vw, 35px);
  border: 1px solid var(--line);
  border-radius: calc(var(--round-panel) + 3px);
  background: var(--panel);
  box-shadow: var(--inset-glow), var(--side-shadow);
  font-family: var(--sans);
}
.web-login img { width: 190px; height: auto; margin-bottom: 26px; }
.web-login h1 {
  margin: 0 0 12px;
  font: 700 clamp(1.9rem, 6vw, 2.6rem)/1.07 var(--display);
  letter-spacing: -.035em;
}
.web-login p { color: var(--muted); line-height: 1.55; margin: 0 0 22px; }
.web-login form { display: grid; gap: 10px; }
.web-login label { font-weight: 650; }
.web-login input {
  min-width: 0;
  width: 100%;
  min-height: 47px;
  border: 1px solid var(--line);
  border-radius: var(--round-control);
  font: inherit;
  font-size: max(1rem, 16px);
  padding: 0 12px;
  background: var(--raised);
  color: var(--ink);
}
.web-login .solid { min-height: 46px; font: 700 1rem var(--sans); margin-top: 5px; }
.web-login p[role="alert"] { font-size: .9rem; color: var(--danger); margin: 0; }
.web-login form small { color: var(--muted); margin: -4px 0 6px; font-size: .88rem; }
.web-login .password-toggle { display: flex; align-items: center; gap: 9px; min-height: 42px; font-weight: 500; }
.web-login .password-toggle[hidden] { display: none; }
.web-login .password-toggle input { width: 18px; height: 18px; min-height: 0; accent-color: var(--accent); }
.web-login .account-back { display: inline-flex; align-items: center; min-height: 44px; margin-top: 10px; color: var(--accent); }
.account-saved { margin: 0; padding: 9px 16px; text-align: center; background: var(--accent-wash); color: var(--ink); }

[data-topic="support"] { --topic-fill:#0c7881; --topic-light-ink:#075c63; --topic-dark-ink:#76dce0; --topic-deep:#0d3e45; }
[data-topic="gaming"] { --topic-fill:#7450ad; --topic-light-ink:#553487; --topic-dark-ink:#c8a7fa; --topic-deep:#3b2954; }
[data-topic="film"] { --topic-fill:#aa4567; --topic-light-ink:#833352; --topic-dark-ink:#f5acc4; --topic-deep:#542a3c; }
[data-topic="ev"] { --topic-fill:#42783a; --topic-light-ink:#315c2b; --topic-dark-ink:#a6da99; --topic-deep:#26422b; }
.ev-preference { display:flex; align-items:center; gap:.65rem; width:fit-content; min-height:44px; margin:.35rem 0 .85rem; cursor:pointer; font:inherit; }
.ev-preference input { width:1.1rem; height:1.1rem; accent-color:#467b3e; }
