/* macOS Torrents — paper, one red, PT Serif on the headlines */

:root {
  --paper: #ffffff;
  --ink: #1a1a1a;
  --rule: #c0392b;
  --rule-deep: #9d2c22;
  --hair: #d4d4d4;
  --mute: #5a5a5a;
  --wash: #f6f6f6;
  --frame: 1120px;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 17px;
  line-height: 1.55;
  overflow-x: clip;
}

img { max-width: 100%; height: auto; }

button, input, textarea { font: inherit; color: inherit; }

a { color: var(--rule-deep); }
a:hover { color: var(--ink); }

:focus { outline: none; }
:focus-visible {
  outline: 2px solid var(--rule);
  outline-offset: 2px;
}

.jump {
  position: absolute;
  left: 10px;
  top: -48px;
  background: #fff;
  color: var(--ink);
  border: 2px solid var(--ink);
  padding: 6px 10px;
  z-index: 60;
  text-decoration: none;
}
.jump:focus { top: 8px; }

h1, h2, h3, .plate-name, .app-title, .glance caption {
  font-family: "PT Serif", Georgia, "Times New Roman", serif;
  font-weight: 700;
  line-height: 1.18;
}

h1 { font-size: clamp(1.8rem, 3vw, 2.6rem); margin: 0 0 10px; }
h2 { font-size: 1.55rem; margin: 0 0 8px; }
h3 { font-size: 1.2rem; margin: 1.2rem 0 .4rem; }

p { margin: 0 0 .85rem; }

@font-face {
  font-family: "PT Serif";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/pt-serif-400.woff2") format("woff2");
}
@font-face {
  font-family: "PT Serif";
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/pt-serif-400i.woff2") format("woff2");
}
@font-face {
  font-family: "PT Serif";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/pt-serif-700.woff2") format("woff2");
}

/* masthead */

.frame {
  width: min(var(--frame), calc(100% - 28px));
  margin: 0 auto;
}

.masthead { background: #fff; }

.edition {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px 16px;
  flex-wrap: wrap;
  font-size: 13px;
  letter-spacing: .01em;
  padding: 7px 0 6px;
  border-top: 3px solid var(--ink);
  border-bottom: 1px solid var(--rule);
}

.edition-note { margin: 0; color: var(--mute); }

.nameplate {
  display: grid;
  grid-template-columns: 44px 1fr 44px;
  align-items: center;
  padding: 12px 0 2px;
}

.plate-mark {
  grid-column: 2;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  text-decoration: none;
}
.plate-mark:hover { color: var(--ink); }

.plate-name {
  font-size: clamp(2rem, 5.6vw, 4.15rem);
  letter-spacing: -0.03em;
  line-height: .92;
}

/* safari: a hair of padding keeps the descender off the red rule */
.motto {
  text-align: center;
  margin: 6px 0 10px;
  padding-bottom: 2px;
  font-size: 13px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #3f3f3f;
}

.burger {
  grid-column: 1;
  width: 40px;
  height: 40px;
  display: none;
  place-items: center;
  background: #fff;
  border: 2px solid var(--ink);
  padding: 0;
  cursor: pointer;
}

.rubrics { border-top: 1px solid var(--ink); border-bottom: 4px solid var(--ink); }
.rubrics-in {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0;
}
.rubrics a {
  color: var(--ink);
  text-decoration: none;
  padding: 8px 11px;
  font-size: 15px;
}
.rubrics a:hover { color: var(--rule-deep); }
.rubrics a.is-on {
  color: var(--rule);
  box-shadow: inset 0 -3px 0 var(--rule);
}

.guestbox { margin-left: auto; }
.guestbox > a {
  color: var(--ink);
  font-weight: 700;
  text-decoration: none;
  border-bottom: 1px solid var(--rule);
}

.signedin {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  position: relative;
  flex-wrap: wrap;
}

.bellhit {
  position: relative;
  width: 36px;
  height: 36px;
  border: 2px solid var(--ink);
  background: #fff;
  padding: 0;
  display: grid;
  place-items: center;
  cursor: pointer;
}
.bellnum {
  position: absolute;
  top: -6px;
  right: -6px;
  min-width: 16px;
  height: 16px;
  padding: 0 3px;
  background: var(--rule);
  color: #fff;
  font-size: 11px;
  line-height: 16px;
  text-align: center;
}

.noteboard {
  position: absolute;
  right: 0;
  top: calc(100% + 8px);
  width: min(320px, 78vw);
  background: #fff;
  border: 2px solid var(--ink);
  z-index: 20;
  padding: 6px 0;
}
.noteboard[hidden] { display: none !important; }

.noteitem, .noteall {
  display: block;
  padding: 8px 12px;
  color: var(--ink);
  text-decoration: none;
  font-size: 14px;
  line-height: 1.35;
}
.noteitem:hover, .noteall:hover { background: var(--wash); }
.notefresh { box-shadow: inset 3px 0 0 var(--rule); }
.noteall {
  border-top: 1px solid var(--hair);
  font-weight: 700;
  color: var(--rule-deep);
}

.personlink {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--ink);
  text-decoration: none;
  font-weight: 700;
  font-size: 14px;
}
.signoff {
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 2px;
  font-size: 14px;
}

.monogram {
  width: 36px;
  height: 36px;
  display: inline-grid;
  place-items: center;
  border: 2px solid var(--ink);
  font-family: "PT Serif", Georgia, serif;
  font-weight: 700;
  font-size: 13px;
  font-style: normal;
  flex: none;
}

/* home */

.deck { padding: 22px 0 6px; }
.sig {
  margin: 0 0 12px;
  font-family: "PT Serif", Georgia, serif;
  font-style: italic;
  color: var(--mute);
}
.deck-copy { max-width: 70ch; }
.deck-copy ul { margin: 0 0 1rem; padding-left: 1.15rem; }

.ticker {
  display: grid;
  grid-template-columns: 9.2rem 1fr;
  gap: 8px 14px;
  align-items: baseline;
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
  padding: 8px 0;
  margin: 8px 0 22px;
}
.ticker h2 { font-size: 1.15rem; margin: 0; }
.ticklist {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 16px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.ticklist a { color: var(--ink); font-weight: 700; text-decoration: none; }
.ticklist a:hover { color: var(--rule-deep); }
.ticklist time { color: var(--mute); font-size: 14px; margin-left: 4px; }

.band { margin: 0 0 28px; }
.band-top {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 8px 14px;
  flex-wrap: wrap;
  border-top: 3px solid var(--ink);
  padding-top: 8px;
  margin-bottom: 12px;
}
.band-top h2 { margin: 0; }
.band-more { font-size: 14px; white-space: nowrap; }

.reel-bar { display: flex; justify-content: flex-end; gap: 6px; }
.nudge {
  width: 34px;
  height: 34px;
  border: 2px solid var(--ink);
  background: #fff;
  display: grid;
  place-items: center;
  cursor: pointer;
  padding: 0;
}
.nudge:hover { background: var(--wash); }

.reel {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 2px 2px 12px;
  overscroll-behavior-x: contain;
}
.reel .app { flex: 0 0 calc((100% - 12px) / 2); scroll-snap-align: start; }

.grid-apps {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

.app {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 5px;
  min-width: 0;
  padding: 12px 12px 10px;
  border: 1px solid var(--ink);
  background: #fff;
  color: var(--ink);
  text-decoration: none;
}
.app:hover { border-color: var(--rule); color: var(--ink); }
.app-face { width: 56px; height: 56px; }
.app-title {
  font-size: 1.05rem;
  font-weight: 700;
  overflow-wrap: anywhere;
  line-height: 1.22;
}
.app-line {
  font-size: 13px;
  color: var(--mute);
  overflow-wrap: anywhere;
  font-family: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
}
.app-foot {
  display: flex;
  width: 100%;
  justify-content: space-between;
  align-items: baseline;
  gap: 8px;
  margin-top: auto;
}
.app-cat { font-size: 13px; color: #3a3a3a; min-width: 0; }
.app-size {
  flex: none;
  border: 1px solid var(--ink);
  padding: 0 6px;
  font-size: 12px;
  letter-spacing: .02em;
  line-height: 1.55;
}
.stamp {
  display: inline-block;
  margin-left: 6px;
  color: var(--rule);
  font-family: system-ui, "Segoe UI", sans-serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  vertical-align: 2px;
}

.desknote {
  border: 2px solid var(--ink);
  padding: 12px 14px 4px;
  margin: 4px 0 28px;
  background: var(--wash);
}
.desknote h2 { font-size: 1.3rem; }
.desknote ol { margin: 0 0 10px; padding-left: 1.2rem; }

/* program */

.crumbs { padding-top: 14px; }
.crumbs ol {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 14px;
}
.crumbs li:not(:last-child)::after {
  content: " / ";
  color: var(--mute);
  padding: 0 2px;
}
.crumbs a { color: var(--ink); }

.proghead {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 12px 14px;
  align-items: start;
  margin: 12px 0;
}
.progicon { width: 64px; height: 64px; border: 2px solid var(--ink); }
.catlink {
  display: inline-block;
  color: var(--rule);
  font-weight: 700;
  text-decoration: none;
  letter-spacing: .04em;
  text-transform: uppercase;
  font-size: 12px;
}
.freshline { margin: 4px 0 0; color: var(--mute); font-size: 14px; }

.actionrow {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 14px;
}
.getfile, .quietbtn, .favbtn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 9px 12px;
  border: 2px solid var(--ink);
  text-decoration: none;
  cursor: pointer;
  font-weight: 700;
  font-size: 15px;
  line-height: 1.2;
}
.getfile { background: var(--rule); color: #fff; }
.getfile:hover { background: var(--rule-deep); color: #fff; }
.getfile img { filter: invert(1); }
.quietbtn, .favbtn { background: #fff; color: var(--ink); }
.quietbtn:hover, .favbtn:hover { background: var(--wash); }
.favbtn.is-on { color: var(--rule-deep); box-shadow: inset 0 -3px 0 var(--rule); }

.facts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(148px, 1fr));
  margin: 0 0 16px;
  border-top: 1px solid var(--ink);
  border-bottom: 3px solid var(--ink);
}
.facts div {
  padding: 8px 10px 9px;
  border-bottom: 1px solid var(--hair);
  min-width: 0;
}
.facts dt {
  font-size: 11px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--mute);
  margin: 0;
}
.facts dd {
  margin: 2px 0 0;
  overflow-wrap: anywhere;
  font-weight: 600;
}

.glance {
  width: min(100%, 44rem);
  border-collapse: collapse;
  margin: 0 0 18px;
  font-size: 15px;
}
.glance caption {
  text-align: left;
  font-size: 1.28rem;
  caption-side: top;
  padding: 0 0 6px;
}
.glance th, .glance td {
  text-align: left;
  vertical-align: top;
  padding: 6px 8px;
  border-bottom: 1px solid #cfcfcf;
}
.glance th { width: 38%; font-weight: 600; }

.shotbox { margin: 0 0 18px; }
.stage { margin: 0 0 8px; }
.stage-open {
  display: block;
  width: 100%;
  padding: 0;
  border: 2px solid var(--ink);
  background: #fff;
  cursor: zoom-in;
}
.stage-open img { display: block; width: 100%; height: auto; }
.stage-cap { font-size: 14px; color: var(--mute); margin-top: 4px; }
.shotgrid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}
.thumb {
  padding: 0;
  border: 2px solid var(--ink);
  background: #fff;
  cursor: pointer;
}
.thumb img { display: block; width: 100%; height: auto; }
.thumb.is-picked { border-color: var(--rule); }

.zoom {
  position: fixed;
  inset: 0;
  z-index: 40;
  background: rgba(26, 26, 26, .88);
  display: grid;
  place-items: center;
  padding: 28px 16px;
}
.zoom[hidden] { display: none !important; }
.zoom img {
  max-width: min(1100px, 100%);
  max-height: 86vh;
  background: #fff;
  border: 2px solid #fff;
}
.zoom-x {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 40px;
  height: 40px;
  border: 2px solid #fff;
  background: var(--ink);
  display: grid;
  place-items: center;
  cursor: pointer;
  padding: 0;
}
.zoom-x img { filter: invert(1); }

.tablist {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  border-bottom: 3px solid var(--ink);
  margin: 8px 0 0;
}
.tablist button {
  background: transparent;
  border: 0;
  border-bottom: 3px solid transparent;
  margin: 0 0 -3px;
  padding: 8px 14px;
  font-family: "PT Serif", Georgia, "Times New Roman", serif;
  font-size: 1.15rem;
  cursor: pointer;
}
.tablist button[aria-selected="true"] { border-bottom-color: var(--rule); }

.writeup { padding: 16px 0 8px; }
.writeup[hidden] { display: none; }

.prose h2 { margin-top: 1.5rem; }
.prose h2:first-child { margin-top: 0; }
.prose p, .prose li { max-width: 68ch; }
.prose ul, .prose ol { padding-left: 1.2rem; margin: 0 0 .9rem; }
.prose table {
  border-collapse: collapse;
  width: min(100%, 68ch);
  margin: 0 0 1rem;
  font-size: 15px;
}
.prose th, .prose td {
  border: 1px solid #bdbdbd;
  padding: 6px 8px;
  text-align: left;
  vertical-align: top;
}
.prose code {
  font-family: ui-monospace, Menlo, Consolas, monospace;
  font-size: .92em;
  background: var(--wash);
  padding: 0 .25em;
}
.prose em { font-family: "PT Serif", Georgia, serif; }

.byline {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 10px;
  align-items: center;
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
  padding: 12px 0;
  margin: 18px 0;
  max-width: 68ch;
}
.byline .monogram { width: 48px; height: 48px; font-size: 16px; }
.byline-name { margin: 0; font-family: "PT Serif", Georgia, serif; font-weight: 700; }
.byline p { margin: 0; font-size: 15px; }

.faqset { margin: 10px 0 20px; max-width: 68ch; }
.qblock { border-bottom: 1px solid var(--ink); padding: 8px 0; }
.qblock summary { cursor: pointer; font-weight: 700; }
.qblock p { margin: 8px 0 4px; }

.thread { margin: 8px 0 20px; }
.thread-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  border-top: 3px solid var(--ink);
  padding-top: 8px;
}
.thread-top h2 {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
}
.sorter { display: flex; gap: 6px; }
.sorter button {
  background: #fff;
  border: 1px solid var(--ink);
  padding: 4px 8px;
  cursor: pointer;
}
.sorter button[aria-pressed="true"] {
  background: var(--ink);
  color: #fff;
}

.composer { margin: 12px 0; max-width: 68ch; }
.composer label { display: block; font-weight: 700; margin-bottom: 4px; }
.composer textarea {
  width: 100%;
  min-height: 120px;
  border: 2px solid var(--ink);
  padding: 8px;
  background: #fff;
  resize: vertical;
}
.hintline { color: var(--mute); font-size: 14px; }
.complain { color: var(--rule-deep); font-weight: 700; }
.trap {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.remark {
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 10px;
  padding: 12px 0;
  border-top: 1px solid var(--hair);
}
.remark-wait { opacity: .58; }
.who-line { font-size: 14px; margin: 0 0 4px; }
.who-line time { color: var(--mute); }
.held {
  display: inline-block;
  margin-left: 6px;
  border: 1px solid var(--rule);
  color: var(--rule-deep);
  font-size: 11px;
  letter-spacing: .04em;
  text-transform: uppercase;
  padding: 0 5px;
  vertical-align: 1px;
}
.toolrow { display: flex; gap: 14px; margin-top: 6px; }
.toolrow button {
  background: none;
  border: 0;
  padding: 0;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  cursor: pointer;
}
.toolrow button.is-on { color: var(--rule-deep); font-weight: 700; }
.replies {
  margin: 8px 0 0 8px;
  padding-left: 10px;
  border-left: 2px solid var(--hair);
}
.vacant { color: var(--mute); font-style: italic; }

.kin { margin-top: 8px; }

/* modals */

.overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 30;
  background: rgba(26, 26, 26, .55);
  overflow: auto;
  padding: 28px 12px;
}
.overlay:target { display: block; }
.sheetbox {
  width: min(38rem, 100%);
  margin: 4vh auto;
  background: #fff;
  color: var(--ink);
  border: 3px solid var(--ink);
  padding: 22px 18px 16px;
  position: relative;
}
.sheetx {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border: 2px solid var(--ink);
  background: #fff;
}
.sheetbox h2 { padding-right: 36px; }
.sheetbox ol { padding-left: 1.2rem; }
.buildgrp { margin-top: 14px; padding-top: 8px; border-top: 1px solid var(--hair); }
.buildgrp h3 { margin: 0 0 6px; }
.mirror {
  display: inline-block;
  margin: 0 8px 8px 0;
  border: 2px solid var(--ink);
  padding: 6px 10px;
  color: var(--ink);
  text-decoration: none;
  font-weight: 700;
}
.mirror:hover { border-color: var(--rule); color: var(--rule-deep); }

/* forms + account + errors */

.narrow {
  width: min(32rem, 100%);
  margin: 0 auto;
  padding: 22px 0 40px;
}
.stack { margin-top: 8px; }
.control { margin: 0 0 12px; }
.control label { display: block; font-weight: 700; margin-bottom: 4px; }
.control input {
  width: 100%;
  border: 2px solid var(--ink);
  background: #fff;
  padding: 8px 10px;
}
.miss { color: var(--rule-deep); font-size: 14px; font-weight: 700; margin: 4px 0 8px; }
.oknote {
  border: 2px solid var(--ink);
  background: var(--wash);
  padding: 8px 10px;
  font-weight: 700;
}
.tickbox { display: flex; gap: 8px; align-items: center; margin: 0 0 12px; }
.askline { margin-top: 12px; }

.profile {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 18px 0 8px;
}
.profile .monogram { width: 64px; height: 64px; font-size: 22px; }
.profile h1 { margin: 0; }
.profile p { margin: 0; color: var(--mute); }

.acctabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  border-bottom: 3px solid var(--ink);
  margin: 8px 0 16px;
}
.acctabs a {
  color: var(--ink);
  text-decoration: none;
  padding: 8px 12px;
  margin-bottom: -3px;
  border-bottom: 3px solid transparent;
  font-family: "PT Serif", Georgia, serif;
  font-size: 1.1rem;
}
.acctabs a.is-on { border-bottom-color: var(--rule); color: var(--rule-deep); }

.inbox { list-style: none; margin: 0; padding: 0; }
.inbox-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  padding: 10px 0;
  border-bottom: 1px solid var(--hair);
}
.inbox-row time { color: var(--mute); font-size: 14px; }
.mine { padding: 12px 0; border-bottom: 1px solid var(--hair); }

.misspage, .faultpage { padding: 28px 0 40px; }
.bignum {
  font-family: "PT Serif", Georgia, serif;
  font-size: clamp(4rem, 12vw, 7rem);
  line-height: .85;
  margin: 0;
  color: var(--rule);
}
.finder {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: flex-end;
  margin: 14px 0;
}
.finder .control { flex: 1 1 220px; margin: 0; }
.catpicks {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  padding: 0;
  margin: 12px 0 0;
}
.catpicks a {
  display: inline-block;
  border: 1px solid var(--ink);
  padding: 4px 8px;
  color: var(--ink);
  text-decoration: none;
}
.catpicks a:hover { border-color: var(--rule); }

.contents {
  border: 1px solid var(--ink);
  padding: 10px 14px;
  margin: 0 0 16px;
  max-width: 68ch;
}
.contents ol { margin: 0; padding-left: 1.2rem; }
.article { max-width: 68ch; padding-bottom: 20px; }

.folionav {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
  margin: 16px 0 8px;
}
.folionav a, .folionav span {
  min-width: 2.1rem;
  text-align: center;
  border: 1px solid var(--ink);
  padding: 4px 8px;
  color: var(--ink);
  text-decoration: none;
}
.folionow {
  background: var(--ink);
  color: #fff !important;
  border-color: var(--ink);
}

.rubric-blurb { max-width: 68ch; }

/* footer + top */

.colophon {
  border-top: 4px solid var(--ink);
  margin-top: 20px;
  padding: 16px 0 28px;
}
.legalnav { display: flex; flex-wrap: wrap; gap: 8px 16px; }
.legalnav a { color: var(--ink); }
.yearline { margin: 8px 0 0; color: var(--mute); font-size: 14px; }

.topbtn {
  position: fixed;
  right: 14px;
  bottom: 14px;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  background: #fff;
  border: 2px solid var(--ink);
  z-index: 12;
  text-decoration: none;
}
.hasjs .topbtn { visibility: hidden; }
.hasjs .topbtn.is-shown { visibility: visible; }

/* menu collapses only after JS is up */
@media (max-width: 720px) {
  .burger { display: grid; }
  .hasjs .rubrics { display: none; }
  .hasjs .rubrics.is-open { display: block; }
  .rubrics-in { flex-direction: column; align-items: stretch; }
  .rubrics a { display: block; width: 100%; }
  .ticker { grid-template-columns: 1fr; }
  .plate-name { letter-spacing: -0.02em; }
  .actionrow .getfile,
  .actionrow .quietbtn,
  .actionrow .favbtn { flex: 1 1 100%; }
}

@media (min-width: 640px) {
  .grid-apps { grid-template-columns: 1fr 1fr; }
}

@media (min-width: 800px) {
  .reel .app { flex-basis: calc((100% - 36px) / 4); }
}
@media (min-width: 960px) {
  .grid-apps { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .deck-copy.split { columns: 2; column-gap: 32px; }
  .deck-copy.split ul, .deck-copy.split p { break-inside: avoid; }
}
@media (min-width: 1100px) {
  .reel .app { flex-basis: calc((100% - 48px) / 5); }
}

@media (min-width: 1200px) {
  .grid-apps { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reel { scroll-snap-type: none; }
}

/* no-js: tab panels stay readable, in order */
html:not(.hasjs) .writeup[hidden] { display: block !important; }

/* сеть: липкая строка «edition» с поиском и входом; состояния, которых нет в макете */
.edition-bar { position: sticky; top: 0; z-index: 25; background: var(--paper); }
.edition { flex-wrap: nowrap; }
.edition-home { display: none; align-items: center; gap: 6px; color: var(--ink); text-decoration: none; font-weight: 700; font-family: "PT Serif", Georgia, serif; white-space: nowrap; }
.edition-home img { border-radius: 3px; }
.edition-find { display: flex; flex: 0 1 280px; min-width: 0; margin-left: auto; }
.edition-find input { flex: 1 1 auto; min-width: 0; border: 1px solid var(--ink); border-right: 0; padding: 5px 8px; font: inherit; font-size: 14px; background: #fff; color: var(--ink); }
.edition-find button { display: inline-flex; align-items: center; justify-content: center; width: 34px; border: 1px solid var(--ink); background: #fff; cursor: pointer; }
.edition .guestbox { margin-left: 0; }
.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
@media (max-width: 720px) {
  .edition-note { display: none; }
  .edition-home { display: inline-flex; }
  .edition-home span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .edition-find { flex: 1 1 auto; }
}
.plate-mark img { border-radius: 4px; }
.app-ph { display: inline-flex; align-items: center; justify-content: center; border: 2px solid var(--ink); font-family: "PT Serif", Georgia, serif; font-weight: 700; text-transform: uppercase; color: var(--rule); }
img.app-face, img.progicon { object-fit: contain; }
.favbtn .fav-on { display: none; }
.favbtn[aria-pressed="true"] { color: var(--rule-deep); box-shadow: inset 0 -3px 0 var(--rule); }
.favbtn[aria-pressed="true"] .fav-on { display: inline; }
.favbtn[aria-pressed="true"] .fav-off { display: none; }
.intel-note { margin-left: 8px; color: var(--mute); }
.install-block { margin-top: 26px; }
.replies:empty { display: none; }
.foliogap { border: 0 !important; }
.dmca-box { margin-top: 26px; }
.dmca-box label > span { display: block; font-weight: 700; margin-bottom: 4px; }
.dmca-box input[type="text"], .dmca-box input[type="email"], .dmca-box input[type="url"], .dmca-box textarea { width: 100%; }
.contents-head { margin: 0; font-weight: 700; }
#ov-get:not([hidden]) { display: block; }
.ov-back { position: fixed; inset: 0; }
#ov-get .sheetbox { z-index: 1; }
.personname { white-space: nowrap; }
@media (max-width: 520px) { .personname { display: none; } }
[id] { scroll-margin-top: 70px; }

/* правки аудита 02.11: обложка вместо букв, вводный текст и «о сайте» по ширине страницы, статья шире, подписи плиток крупнее */
img.app-face.is-cover, img.progicon.is-cover { object-fit: cover; border: 1px solid var(--ink); }
.deck-copy { max-width: none; }
.band.prose p, .band.prose li { max-width: none; }
.rubric-blurb { max-width: none; }
.article { max-width: 80ch; }
.app-line { font-size: 14px; }
.app-cat { font-size: 14px; }
.app-size { font-size: 13px; }
/* программа: главная кнопка скачивания крупнее остальных */
.getfile { padding: 13px 22px; font-size: 17px; }
.getfile img { width: 20px; height: 20px; }
/* рубрика: у плиток не повторять название этой же рубрики */
.page-rubric .app-cat { visibility: hidden; }
/* телефон: название сайта в одну строку, шапка ниже */
@media (max-width: 599px) {
  .plate-name { font-size: 1.75rem; white-space: nowrap; }
  .motto { display: none; }
}
/* правки 02.11 (2): скриншот программы не во всю ширину; лента «Updated this week» без системной полосы — листается стрелками */
.stage { max-width: 900px; }
.stage img { width: auto; max-width: 100%; max-height: 520px; margin: 0 auto; object-fit: contain; display: block; }
.reel { scrollbar-width: none; }
.reel::-webkit-scrollbar { display: none; }
