/* paper.css: the newspaper layer (Nov 14 2026). Loaded after app.css and every tab's css, so
   it restyles the whole app without touching a tab. A look (looks.css) only sets the tokens at
   the top; everything below reads them. Glass is for controls only: the page stays paper. */

html:root[data-look] {
  color-scheme: light;
  /* Broadsheet is the default; looks.css overrides these */
  --paper: #F1ECE1; --paper-2: #E5DDCC; --ink: #1A1714; --ink-2: #48423A; --ink-3: #7A7266;
  --rule: #CBC1AE; --rule-2: #1A1714; --rule-w: 1px; --accent: #A3271F; --accent-ink: #FFFFFF;
  --f-head: "Fraunces", Georgia, serif; --f-body: "Newsreader", Georgia, serif;
  --f-ui: "Libre Franklin", -apple-system, "Helvetica Neue", Arial, sans-serif; --f-mark: "Fraunces", Georgia, serif;
  --mark-w: 800; --mark-style: normal; --mark-size: 50px; --mark-ls: -.025em; --mark-tt: none; --mark-color: var(--ink); --mark-bg: transparent;
  --head-w: 600; --head-style: normal; --head-ls: -.012em; --head-tt: none; --head-scale: 1;
  --img-filter: grayscale(1) contrast(1.22) brightness(1.05); --img-blend: multiply; --halftone: .5;
  --grain: .35;
  --glass: rgba(244, 239, 229, .74); --glass-line: rgba(255, 255, 255, .7); --glass-edge: rgba(26, 23, 20, .12);
  --glass-on: rgba(26, 23, 20, .9); --glass-on-ink: #F4EFE5; --glass-shadow: 0 8px 30px rgba(40, 30, 15, .16), 0 1px 2px rgba(40, 30, 15, .1);
  --box: rgba(255, 255, 255, .28);
  /* the old Porch tokens, pointed at paper so every tab's css follows */
  --cream: var(--paper); --cream-2: var(--paper-2); --card: var(--paper); --maple: var(--accent); --maple-2: var(--accent);
  --maple-ink: var(--accent-ink); --moss: var(--ink); --moss-2: var(--ink-2); --moss-ink: var(--paper); --sun: var(--accent);
  --red: var(--accent); --thumb-bg: var(--paper-2); --shadow: none; --shadow-up: none; --r: 2px;
  --serif: var(--f-body); --sans: var(--f-ui); --rsans: var(--f-ui);
  --bar-h: 64px;
}

body::before {
  content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none; opacity: var(--grain);
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0.35  0 0 0 0 0.3  0 0 0 0 0.22  0 0 0 .25 0'/></filter><rect width='160' height='160' filter='url(%23n)'/></svg>");
}
body {
  background-color: var(--paper);
  color: var(--ink);
  font: 16px/1.45 var(--f-body);
  padding-bottom: calc(var(--bar-h) + 30px + env(safe-area-inset-bottom, 0px));
}

/* ------------------------------------------------------------ glass: the only non-paper thing */
.glass, .gbtn, .pillbar .chips, .bar, .lookbox, .lookbtn {
  background: var(--glass);
  -webkit-backdrop-filter: blur(22px) saturate(170%);
  backdrop-filter: blur(22px) saturate(170%);
  border: 1px solid var(--glass-edge);
  box-shadow: inset 0 1px 0 var(--glass-line), var(--glass-shadow);
}
.gbtn { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 999px; color: var(--ink); flex: none; }
.gbtn svg { width: 18px; height: 18px; }
.gbtn.back { font: 400 28px/1 var(--f-head); padding-bottom: 3px; }

/* ------------------------------------------------------------ the mast */
.mast { padding: calc(10px + env(safe-area-inset-top, 0px)) var(--gutter) 0; }
.mast-top { display: grid; grid-template-columns: 40px 1fr 40px; align-items: center; gap: 8px; }
.mast-top > span:empty { width: 40px; }
.wordmark {
  margin: 0; text-align: center; color: var(--mark-color); background: var(--mark-bg);
  font-family: var(--f-mark); font-weight: var(--mark-w); font-style: var(--mark-style); font-size: var(--mark-size);
  line-height: 1; letter-spacing: var(--mark-ls); text-transform: var(--mark-tt);
  font-variation-settings: "opsz" 144, "SOFT" 0, "WONK" 0;
}
.edition {
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: baseline; gap: 8px;
  margin-top: 8px; padding: 5px 0 4px; border-top: calc(var(--rule-w) * 2.5) solid var(--rule-2); border-bottom: var(--rule-w) solid var(--rule-2);
  font: 600 10.5px/1.2 var(--f-ui); letter-spacing: .12em; text-transform: uppercase; color: var(--ink);
}
.edition .ed-date { font: italic 500 13px/1.2 var(--f-body); letter-spacing: 0; text-transform: none; white-space: nowrap; }
.edition > :last-child { text-align: right; }
.dateline { display: block; margin: 6px 0 0; text-align: center; font: italic 400 13px/1.3 var(--f-body); color: var(--ink-2); }
.dateline .date { display: none; }
.dateline .wx { color: var(--ink-2); white-space: normal; }
.dateline small { display: inline; font: inherit; color: inherit; }
.dateline small::before { content: " · "; }

/* a section front: the small line, then the section's name, like a paper's inside page */
.secline { display: flex; justify-content: center; gap: 10px; font: 600 10.5px/1 var(--f-ui); letter-spacing: .14em; text-transform: uppercase; color: var(--ink-2); white-space: nowrap; overflow: hidden; }
.secline b { color: var(--accent); font-weight: 700; }
.section-title {
  margin: 10px 0 0; padding-bottom: 6px; border-bottom: calc(var(--rule-w) * 2.5) solid var(--rule-2);
  font-family: var(--f-head); font-weight: var(--head-w); font-style: var(--head-style); text-transform: var(--head-tt);
  font-size: calc(44px * var(--head-scale)); line-height: 1; letter-spacing: -.02em; color: var(--ink);
  font-variation-settings: "opsz" 144;
}
.section-title small { float: right; margin-top: 22px; font: 600 10.5px/1 var(--f-ui); letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); font-style: normal; }
/* a page below a section */
.mast.sub .mast-top { grid-template-columns: 40px 1fr 40px; }
.page-title {
  margin: 12px 0 0; padding-bottom: 8px; border-bottom: var(--rule-w) solid var(--rule-2);
  font-family: var(--f-head); font-weight: var(--head-w); font-style: var(--head-style); text-transform: var(--head-tt);
  font-size: calc(30px * var(--head-scale)); line-height: 1.06; letter-spacing: -.015em; color: var(--ink);
  font-variation-settings: "opsz" 96;
}
.mast-sub { margin: 7px 0 0; font: italic 400 14px/1.4 var(--f-body); color: var(--ink-2); }
.mast-sub .checked { font: inherit; }

/* scope and views: small caps on a hairline, not pills */
.controls { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 8px; padding-bottom: 7px; border-bottom: var(--rule-w) solid var(--rule); }
.sw { display: flex; gap: 0; margin: 0; padding: 0; background: none; border-radius: 0; font: 600 11px/1 var(--f-ui); letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); }
.sw a { flex: none; padding: 6px 9px 5px; border-radius: 0; }
.sw a:first-child { padding-left: 0; }
.sw a + a { border-left: var(--rule-w) solid var(--rule); }
.sw .on { background: none; color: var(--accent); box-shadow: none; text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1.5px; }
.views { display: flex; gap: 2px; padding: 0; background: none; border-radius: 0; color: var(--ink-3); }
.views button { width: 30px; height: 26px; border-radius: 0; }
.views button svg { width: 16px; height: 16px; }
.views button.on { background: none; color: var(--ink); box-shadow: none; }

/* the stories: halftone portraits in a thin ink ring */
.stories { margin-top: 10px; gap: 10px; }
.story { width: 64px; }
.story .ring { width: 60px; height: 60px; padding: 2px; background: none; border: 1.5px solid var(--ink); }
.story .ring img { border: 0; filter: var(--img-filter); mix-blend-mode: var(--img-blend); }
.story .ring:empty::before { border: 0; background: var(--paper-2); font: 600 22px/1 var(--f-head); color: var(--ink); }
.story small { font: 600 9.5px/1.2 var(--f-ui); letter-spacing: .06em; text-transform: uppercase; color: var(--ink-2); }

/* ------------------------------------------------------------ the floating pill bar: sections */
.pillbar { position: sticky; top: calc(6px + env(safe-area-inset-top, 0px)); z-index: 40; padding: 8px var(--gutter) 2px; pointer-events: none; }
.pillbar .chips { pointer-events: auto; margin: 0; padding: 5px; gap: 2px; border-radius: 999px; }
.pillbar .chips.wrap { flex-wrap: nowrap; overflow-x: auto; }
.chip { padding: 8px 12px; border-radius: 999px; background: none; box-shadow: none; color: var(--ink); font: 600 13px/1 var(--f-ui); letter-spacing: 0; }
.chip.on { background: var(--glass-on); color: var(--glass-on-ink); }
.chip b { background: var(--accent); color: var(--accent-ink); font: 700 10px/1 var(--f-ui); min-width: 16px; height: 16px; }
#main > .chips, .page .chips, .sec .chips { margin-top: 8px; }
#main > .chips .chip, .people-decks .chip { border: var(--rule-w) solid var(--rule); }

/* ------------------------------------------------------------ the floating tab bar */
.bar {
  left: 12px; right: 12px; bottom: calc(10px + env(safe-area-inset-bottom, 0px));
  padding: 6px; border-radius: 999px; gap: 2px; justify-content: space-between;
}
.bar a { flex: 1; min-width: 0; gap: 2px; padding: 7px 2px 6px; border-radius: 999px; color: var(--ink-2); }
.bar a svg { width: 22px; height: 22px; }
.bar a span { font: 600 9.5px/1 var(--f-ui); letter-spacing: -.01em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }
.bar a.on { background: var(--glass-on); color: var(--glass-on-ink); }
.bar a.on svg { stroke-width: 2.1; }
.bar .badge { top: 2px; left: calc(50% + 7px); background: var(--accent); color: var(--accent-ink); font: 700 10px/17px var(--f-ui); }

/* ------------------------------------------------------------ type on every card */
.hed {
  font-family: var(--f-head); font-weight: var(--head-w); font-style: var(--head-style); text-transform: var(--head-tt);
  letter-spacing: var(--head-ls); font-variation-settings: "opsz" 48; color: var(--ink);
}
.line { font: 400 14.5px/1.42 var(--f-body); color: var(--ink-2); }
.meta, .kicker {
  font: 700 10.5px/1.2 var(--f-ui); letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3);
}
.meta .feed { color: var(--accent); }
.meta time { font: 500 10.5px/1.2 var(--f-ui); letter-spacing: .06em; text-transform: uppercase; }
.meta time::before { content: "/ "; color: var(--ink-3); }
.kicker { color: var(--accent); }

/* the kicker line goes above the headline, the way a paper sets it */
.card { display: flex; flex-direction: column; padding: 16px 0; border-bottom: var(--rule-w) solid var(--rule); }
.card > .meta { order: -2; margin: 0 0 7px; }
.card > .kicker { order: -3; margin-bottom: 5px; }
.card > .meta .save { order: 9; }
.card .txt { display: flex; flex-direction: column; }
.card .txt > .meta { order: -2; margin: 0 0 6px; }
.card .txt > .kicker { order: -3; }

/* pictures: screened as halftones, the paper's tone shows through */
.pic, .tile, .lthumb, .hero-pic { position: relative; background: var(--paper-2); }
.pic img, .tile img, .lthumb img, .hero-pic img { filter: var(--img-filter); mix-blend-mode: var(--img-blend); }
.pic::after, .hero-pic::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: var(--halftone);
  background-image: radial-gradient(circle, rgba(0, 0, 0, .55) .7px, transparent 1.15px);
  background-size: 3px 3px; mix-blend-mode: multiply;
}
.pic.vid::after { opacity: 1; background: none; }

/* the lead: kicker, a big headline, the standfirst, then the plate */
.card.lead { padding: 14px 0 18px; border-bottom: calc(var(--rule-w) * 2.5) solid var(--rule-2); }
.card.lead > .plain { order: 3; margin-top: 14px; }
.card.lead .hed { margin: 0; font-size: calc(36px * var(--head-scale)); line-height: 1.02; font-weight: var(--head-w); letter-spacing: -.022em; font-variation-settings: "opsz" 144; }
.card.lead > .line { order: 2; margin-top: 10px; font-size: 17px; line-height: 1.38; color: var(--ink-2); }
.card.lead .pic.wide { aspect-ratio: 3 / 2; }
.card.lead .doors { order: 4; }
.stamp {
  position: absolute; right: 12px; bottom: 14px; z-index: 2; transform: rotate(-6deg);
  padding: 5px 9px 4px; border: 2px solid var(--accent); color: var(--accent); background: rgba(255, 255, 255, .55);
  font: 700 12px/1.05 var(--f-ui); letter-spacing: .08em; text-transform: uppercase; text-align: center; mix-blend-mode: multiply;
}
.stamp small { display: block; font: 600 7.5px/1 var(--f-ui); letter-spacing: .2em; margin-bottom: 2px; }

/* a photo card, full width */
.card.photo > .plain { order: 3; margin-top: 12px; }
.card.photo .hed { margin: 0; font-size: calc(23px * var(--head-scale)); line-height: 1.1; }
.card.photo > .line { order: 2; margin-top: 6px; }

/* pairs: two columns with a column rule */
.pair { border-bottom: var(--rule-w) solid var(--rule); }
.pair .pcard { padding: 14px 0 14px; }
.pair .pcard + .pcard { margin-left: 13px; padding-left: 13px; border-left: var(--rule-w) solid var(--rule); }
.pcard .plain { order: 1; }
.pcard > .meta { order: 0; margin: 0 0 6px; }
.pcard .hed { order: 2; margin-top: 8px; font-size: calc(18px * var(--head-scale)); line-height: 1.14; -webkit-line-clamp: 4; }
.pcard .line { order: 3; font-size: 13.5px; }
.pcard .pic.sq { aspect-ratio: 4 / 3; }
.ptile { border-radius: 0; aspect-ratio: auto; min-height: 120px; padding: 12px; background: var(--ink) !important; color: var(--paper); border-top: 4px solid var(--accent); }
.ptile .hed { font-family: var(--f-head); font-weight: var(--head-w); font-size: 19px; line-height: 1.12; color: var(--paper); }

/* rows: the index, headline first, a small plate to the right */
.card.row { flex-direction: row-reverse; gap: 12px; }
.card.row .pic.thumb { width: 74px; height: 74px; }
.card.row .pic.thumb.sm { width: 62px; height: 62px; }
.card.compact { padding: 12px 0; }
.card.compact .hed { font-size: calc(18px * var(--head-scale)); line-height: 1.16; }
.card.compact .line { font-size: 13.5px; }

/* ------------------------------------------------------------ boxed notices: anything you do */
.card.porch, .card.ev, .card.tonight, .card.game {
  margin: 14px 0; padding: 14px 14px 14px; border: calc(var(--rule-w) * 1.5) solid var(--rule-2); border-radius: 0;
  background: var(--box); box-shadow: none;
}
.card.ev { flex-direction: row; gap: 12px; }
.card.ev .pic.thumb, .card.porch .pic.thumb, .card.porch .pic.wide { border-radius: 0; }
.card.porch .hed, .card.ev .hed, .card.tonight .hed { font-family: var(--f-head); font-weight: var(--head-w); font-style: var(--head-style); text-transform: var(--head-tt); font-size: calc(20px * var(--head-scale)); line-height: 1.15; letter-spacing: var(--head-ls); }
.card.porch .kicker, .card.tonight .kicker { font: 700 10.5px/1.2 var(--f-ui); letter-spacing: .14em; text-transform: uppercase; color: var(--accent); }
.card.tonight .kicker { padding-bottom: 8px; margin-bottom: 4px; border-bottom: var(--rule-w) solid var(--rule); }
.card.tonight .tn-time { font: 700 12px/1.4 var(--f-ui); letter-spacing: .04em; color: var(--accent); }
.card.tonight h3.hed { font-size: 17px; }
.card.tonight .tn-row { border-top-color: var(--rule); }
/* the invite and the maple notices print reversed, ink ground, paper type */
.card.invite, .card.porch.maple {
  background: var(--ink); color: var(--paper); border: 0; border-top: 5px solid var(--accent);
}
.card.invite .hed, .card.porch.maple .hed { color: var(--paper); font-family: var(--f-head); font-weight: var(--head-w); font-size: calc(28px * var(--head-scale)); line-height: 1.05; }
.card.invite .kicker, .card.invite .line, .card.invite .meta, .card.invite .meta .feed,
.card.porch.maple .kicker, .card.porch.maple .line, .card.porch.maple .meta, .card.porch.maple .meta .feed { color: rgba(255, 255, 255, .78); }
.card.invite .lines li, .card.porch.maple .lines li { background: none; border: 1px solid rgba(255, 255, 255, .4); border-radius: 0; color: var(--paper); font: 600 11.5px/1 var(--f-ui); }
.card.invite .door, .card.porch.maple .door { background: var(--paper); color: var(--ink); }
.card.invite .door.going, .card.porch.maple .door.going { background: var(--accent); color: var(--accent-ink); }
/* the tinted notices keep a rule of their colour instead of a gradient */
.card.porch.dusk, .card.porch.sun, .card.porch.moss { background: var(--box); color: var(--ink); border-left: 6px solid var(--accent); }
.card.porch.dusk .line, .card.porch.sun .line, .card.porch.moss .line, .card.porch.dusk .meta, .card.porch.sun .meta, .card.porch.moss .meta { color: var(--ink-2); }
.card.porch.dusk .meta .feed, .card.porch.sun .meta .feed, .card.porch.moss .meta .feed, .card.porch.moss .kicker { color: var(--accent); }
.card.porch.dusk .hed, .card.porch.sun .hed, .card.porch.moss .hed { color: var(--ink); }

/* doors: small-caps buttons with a rule round them */
.doors { gap: 6px; margin-top: 12px; font: 700 10.5px/1 var(--f-ui); letter-spacing: .1em; text-transform: uppercase; }
.door { padding: 9px 11px 8px; border: var(--rule-w) solid var(--ink); border-radius: 0; background: none; color: var(--ink); }
.door.going { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.door.going.on { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }
.doorline { font: 700 10px/1 var(--f-ui); letter-spacing: .1em; }
.tile-doors a, .card.tonight .tile-doors a, .pcard .tile-doors a { border-radius: 0; border: var(--rule-w) solid var(--ink); background: none; color: var(--ink); }
.card.tonight .tile-doors .going, .pcard .tile-doors .going { background: var(--ink); color: var(--paper); }
.card.tonight .tile-doors .going.on, .pcard .tile-doors .going.on { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
/* doors on Grid tiles sit on a picture or an ink tile, so they print light */
.tile .tile-doors a { border-color: rgba(255, 255, 255, .8); color: #fff; background: rgba(0, 0, 0, .28); }
.tile .tile-doors .going { background: #fff; color: #111; border-color: #fff; }
.tile.txt .tile-doors a { border-color: var(--paper); color: var(--paper); background: none; }
.tile.txt .tile-doors .going { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.tile .tile-doors .going.on, .tile.txt .tile-doors .going.on { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.opt { border-radius: 0; border: var(--rule-w) solid var(--ink); background: none; font: 600 13px/1 var(--f-ui); }
.opt.right { background: var(--ink); color: var(--paper); }
.opt.wrong { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }

/* ------------------------------------------------------------ grid and list */
.gridlist { gap: 1px; background: var(--rule-2); border: var(--rule-w) solid var(--rule-2); }
.tile.txt, .tile.txt[class*="c-"] { background: var(--ink) !important; border-top: 4px solid var(--accent); }
.tile.txt .hed { font-family: var(--f-head); color: var(--paper); }
.tile .hed { font-family: var(--f-head); font-weight: var(--head-w); text-transform: var(--head-tt); }
.tile-txt { background: linear-gradient(to bottom, rgba(0, 0, 0, 0), rgba(0, 0, 0, .55) 45%, rgba(0, 0, 0, .8)); }
.tile-foot .feed { font: 700 9px/1 var(--f-ui); letter-spacing: .12em; }
.lrow { padding: 11px 0; border-bottom: var(--rule-w) solid var(--rule); }
.lrow .hed { font-family: var(--f-head); font-weight: var(--head-w); font-size: calc(16.5px * var(--head-scale)); line-height: 1.2; }
.lthumb { width: 52px; height: 52px; }

/* ------------------------------------------------------------ sections inside a tab, numbered like pages */
#main { counter-reset: pg; }
.sec { margin-top: 22px; counter-increment: pg; }
.sec-h {
  margin: 0 var(--gutter) 2px; padding-top: 7px; border-top: calc(var(--rule-w) * 2.5) solid var(--rule-2);
  font: 700 11px/1.1 var(--f-ui); letter-spacing: .16em; text-transform: uppercase; color: var(--ink);
  display: flex; align-items: baseline; gap: 10px;
}
.sec-h .full { margin-left: auto; font: 700 10.5px/1 var(--f-ui); letter-spacing: .12em; text-transform: uppercase; color: var(--accent); white-space: nowrap; }
.sec.has-full .sec-h::after { margin-left: 0; }
.full { font: 700 10.5px/1 var(--f-ui); letter-spacing: .12em; text-transform: uppercase; color: var(--accent); white-space: nowrap; }
.sec-h::after { content: "p. " counter(pg); margin-left: auto; font: italic 500 12px/1 var(--f-body); letter-spacing: 0; text-transform: none; color: var(--ink-3); }
.sec-h small { font: italic 400 12.5px/1 var(--f-body); letter-spacing: 0; text-transform: none; color: var(--ink-3); }
.divider { font: 700 10.5px/1 var(--f-ui); letter-spacing: .16em; color: var(--ink); padding-top: 22px; }
.divider::before, .divider::after { border-top: calc(var(--rule-w) * 3) double var(--rule-2); }
.empty { font: italic 400 15px/1.45 var(--f-body); color: var(--ink-3); }

/* the end of the edition */
.end { margin: 26px var(--gutter) 0; padding: 22px 6px 20px; background: none; border: 0; border-top: calc(var(--rule-w) * 3) double var(--rule-2); border-bottom: calc(var(--rule-w) * 3) double var(--rule-2); border-radius: 0; box-shadow: none; }
.end .hed { font-family: var(--f-head); font-weight: var(--head-w); font-style: var(--head-style); font-size: 26px; }
.worth { font: 600 13px/1 var(--f-ui); }
.wb { border-radius: 0; border: var(--rule-w) solid var(--ink); background: none; font: 700 11px/1 var(--f-ui); letter-spacing: .1em; text-transform: uppercase; }
.wb.on { background: var(--ink); color: var(--paper); }

/* ------------------------------------------------------------ pieces: pills, buttons, facts, fields */
.pill, .btn, .follow, .lines li, .card.place .attrs span {
  border-radius: 0; background: none; border: var(--rule-w) solid var(--rule-2); color: var(--ink);
  font: 700 10.5px/1 var(--f-ui); letter-spacing: .1em; text-transform: uppercase;
}
.pill { padding: 9px 11px 8px; }
.pill.on, .btn.moss, .card.place .attrs .on, .follow.on { background: var(--ink); color: var(--paper); }
.btn { padding: 11px 14px 10px; }
.btn.primary, .follow { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.facts { background: none; box-shadow: none; border-radius: 0; padding: 0; border-top: calc(var(--rule-w) * 2.5) solid var(--rule-2); border-bottom: var(--rule-w) solid var(--rule-2); }
.fact { font: 400 15px/1.4 var(--f-body); }
.fact b { font: 700 10.5px/1.6 var(--f-ui); letter-spacing: .1em; text-transform: uppercase; }
.checked { font: italic 400 12px/1 var(--f-body); color: var(--ink-3); }
.field input, .field select, .field textarea, .searchbar input { border-radius: 0; box-shadow: none; background: var(--box); border: var(--rule-w) solid var(--rule-2); font: 400 16px/1.3 var(--f-body); }
.searchbar input { border-radius: 999px; }
.field span { font: 700 10.5px/1 var(--f-ui); letter-spacing: .12em; }
.toggle { font: 400 16px/1.3 var(--f-body); }
.toggle input { background: var(--paper-2); }
.toggle input:checked { background: var(--ink); }
.page .hero-pic { margin-left: 0; margin-right: 0; }
.sclose { border-radius: 999px; background: var(--glass); }
.save { color: var(--ink-3); }
.save.on { color: var(--accent); }
.open { color: var(--ink); font-weight: 700; }
.soon { color: var(--accent); }
.card.place .hed { font-family: var(--f-head); font-weight: var(--head-w); }

/* ------------------------------------------------------------ the look switcher (lab only) */
.lookbtn { position: fixed; right: 14px; bottom: calc(var(--bar-h) + 26px + env(safe-area-inset-bottom, 0px)); z-index: 60; padding: 9px 13px; border-radius: 999px; font: 700 10px/1 var(--f-ui); letter-spacing: .16em; text-transform: uppercase; color: var(--ink); }
.lookbox { position: fixed; right: 12px; bottom: calc(var(--bar-h) + 66px + env(safe-area-inset-bottom, 0px)); z-index: 61; width: 210px; padding: 8px; border-radius: 18px; }
.lookbox[hidden] { display: none; }
.lookbox a { display: block; padding: 9px 12px; border-radius: 12px; font: 600 14px/1.2 var(--f-ui); color: var(--ink); }
.lookbox a small { display: block; font: 400 11.5px/1.3 var(--f-ui); color: var(--ink-3); margin-top: 2px; }
.lookbox a.on { background: var(--glass-on); color: var(--glass-on-ink); }
.lookbox a.on small { color: var(--glass-on-ink); opacity: .7; }
.shot .lookbtn, .shot .lookbox { display: none; }

@media (max-width: 360px) { html:root[data-look] { --mark-size: 42px; } .card.lead .hed { font-size: 31px; } }

/* shell asks from the News builder (Nov 14) */
/* a boxed notice keeps its top rule even when it follows another card (app.css drops it) */
:is(.card.porch, .card.ev, .card.tonight, .card.game):not(.invite):not(.maple) { border-top: calc(var(--rule-w) * 1.5) solid var(--rule-2); }
/* Grid: a headline over a picture prints white */
.tile.img .tile-txt .hed, .tile.img .tile-txt .line { color: #fff; }
/* shell ask from the Meetup builder: Grid rules sit on each tile, so an odd last cell is paper, not ink */
.gridlist { gap: 0; background: none; border: 0; border-top: var(--rule-w) solid var(--rule-2); border-left: var(--rule-w) solid var(--rule-2); }
.gridlist .tile { border-right: var(--rule-w) solid var(--rule-2); border-bottom: var(--rule-w) solid var(--rule-2); }
/* shell ask from the Food & Shops builder: text on an ink tile prints in the paper colour */
.tile.txt .line, .tile.txt .tile-foot .feed { color: var(--paper); opacity: .78; }
/* from the sweep (Nov 14): switches are square in every look; the browser's audio bar sits flat and grey on the page */
.toggle input, .toggle input::after { border-radius: 0; }
audio { width: 100%; height: 36px; border-radius: 0; filter: grayscale(1) contrast(1.05); }
